@eclass/ui-kit 1.46.4 → 1.46.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
(function(de,O){typeof exports=="object"&&typeof module!="undefined"?O(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],O):(de=typeof globalThis!="undefined"?globalThis:de||self,O(de["@eclass/ui-kit"]={},de.React))})(this,function(de,O){"use strict";function v8(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}function m8(e){if(e&&e.__esModule)return e;var t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});return e&&Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var w=m8(O),Dr=v8(O);function g8(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function y8(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var b8=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(y8(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=g8(i);try{o.insertRule(n,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e}(),rt="-ms-",Ml="-moz-",le="-webkit-",Th="comm",$c="rule",Dc="decl",x8="@import",Mh="@keyframes",C8="@layer",w8=Math.abs,Fl=String.fromCharCode,S8=Object.assign;function k8(e,t){return qe(e,0)^45?(((t<<2^qe(e,0))<<2^qe(e,1))<<2^qe(e,2))<<2^qe(e,3):0}function Fh(e){return e.trim()}function E8(e,t){return(e=t.exec(e))?e[0]:e}function se(e,t,r){return e.replace(t,r)}function Hc(e,t){return e.indexOf(t)}function qe(e,t){return e.charCodeAt(t)|0}function So(e,t,r){return e.slice(t,r)}function ir(e){return e.length}function zc(e){return e.length}function Al(e,t){return t.push(e),e}function P8(e,t){return e.map(t).join("")}var Ol=1,pi=1,Ah=0,pt=0,He=0,hi="";function Ll(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:Ol,column:pi,length:a,return:""}}function ko(e,t){return S8(Ll("",null,null,"",null,null,0),e,{length:-e.length},t)}function _8(){return He}function T8(){return He=pt>0?qe(hi,--pt):0,pi--,He===10&&(pi=1,Ol--),He}function wt(){return He=pt<Ah?qe(hi,pt++):0,pi++,He===10&&(pi=1,Ol++),He}function or(){return qe(hi,pt)}function Bl(){return pt}function Eo(e,t){return So(hi,e,t)}function Po(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 Oh(e){return Ol=pi=1,Ah=ir(hi=e),pt=0,[]}function Lh(e){return hi="",e}function Vl(e){return Fh(Eo(pt-1,Nc(e===91?e+2:e===40?e+1:e)))}function M8(e){for(;(He=or())&&He<33;)wt();return Po(e)>2||Po(He)>3?"":" "}function F8(e,t){for(;--t&&wt()&&!(He<48||He>102||He>57&&He<65||He>70&&He<97););return Eo(e,Bl()+(t<6&&or()==32&&wt()==32))}function Nc(e){for(;wt();)switch(He){case e:return pt;case 34:case 39:e!==34&&e!==39&&Nc(He);break;case 40:e===41&&Nc(e);break;case 92:wt();break}return pt}function A8(e,t){for(;wt()&&e+He!==47+10;)if(e+He===42+42&&or()===47)break;return"/*"+Eo(t,pt-1)+"*"+Fl(e===47?e:wt())}function O8(e){for(;!Po(or());)wt();return Eo(e,pt)}function L8(e){return Lh(Rl("",null,null,null,[""],e=Oh(e),0,[0],e))}function Rl(e,t,r,n,i,o,a,l,s){for(var u=0,c=0,f=a,d=0,h=0,m=0,y=1,v=1,g=1,b=0,x="",C=i,k=o,E=n,P=x;v;)switch(m=b,b=wt()){case 40:if(m!=108&&qe(P,f-1)==58){Hc(P+=se(Vl(b),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:P+=Vl(b);break;case 9:case 10:case 13:case 32:P+=M8(m);break;case 92:P+=F8(Bl()-1,7);continue;case 47:switch(or()){case 42:case 47:Al(B8(A8(wt(),Bl()),t,r),s);break;default:P+="/"}break;case 123*y:l[u++]=ir(P)*g;case 125*y:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+c:g==-1&&(P=se(P,/\f/g,"")),h>0&&ir(P)-f&&Al(h>32?Vh(P+";",n,r,f-1):Vh(se(P," ","")+";",n,r,f-2),s);break;case 59:P+=";";default:if(Al(E=Bh(P,t,r,u,c,i,l,x,C=[],k=[],f),o),b===123)if(c===0)Rl(P,t,E,E,C,o,f,l,k);else switch(d===99&&qe(P,3)===110?100:d){case 100:case 108:case 109:case 115:Rl(e,E,E,n&&Al(Bh(e,E,E,0,0,i,l,x,i,C=[],f),k),i,k,f,l,n?C:k);break;default:Rl(P,E,E,E,[""],k,0,l,k)}}u=c=h=0,y=g=1,x=P="",f=a;break;case 58:f=1+ir(P),h=m;default:if(y<1){if(b==123)--y;else if(b==125&&y++==0&&T8()==125)continue}switch(P+=Fl(b),b*y){case 38:g=c>0?1:(P+="\f",-1);break;case 44:l[u++]=(ir(P)-1)*g,g=1;break;case 64:or()===45&&(P+=Vl(wt())),d=or(),c=f=ir(x=P+=O8(Bl())),b++;break;case 45:m===45&&ir(P)==2&&(y=0)}}return o}function Bh(e,t,r,n,i,o,a,l,s,u,c){for(var f=i-1,d=i===0?o:[""],h=zc(d),m=0,y=0,v=0;m<n;++m)for(var g=0,b=So(e,f+1,f=w8(y=a[m])),x=e;g<h;++g)(x=Fh(y>0?d[g]+" "+b:se(b,/&\f/g,d[g])))&&(s[v++]=x);return Ll(e,t,r,i===0?$c:l,s,u,c)}function B8(e,t,r){return Ll(e,t,r,Th,Fl(_8()),So(e,2,-2),0)}function Vh(e,t,r,n){return Ll(e,t,r,Dc,So(e,0,n),So(e,n+1,-1),n)}function vi(e,t){for(var r="",n=zc(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function V8(e,t,r,n){switch(e.type){case C8:if(e.children.length)break;case x8:case Dc:return e.return=e.return||e.value;case Th:return"";case Mh:return e.return=e.value+"{"+vi(e.children,n)+"}";case $c:e.value=e.props.join(",")}return ir(r=vi(e.children,n))?e.return=e.value+"{"+r+"}":""}function R8(e){var t=zc(e);return function(r,n,i,o){for(var a="",l=0;l<t;l++)a+=e[l](r,n,i,o)||"";return a}}function I8(e){return function(t){t.root||(t=t.return)&&e(t)}}function Rh(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var $8=function(t,r,n){for(var i=0,o=0;i=o,o=or(),i===38&&o===12&&(r[n]=1),!Po(o);)wt();return Eo(t,pt)},D8=function(t,r){var n=-1,i=44;do switch(Po(i)){case 0:i===38&&or()===12&&(r[n]=1),t[n]+=$8(pt-1,r,n);break;case 2:t[n]+=Vl(i);break;case 4:if(i===44){t[++n]=or()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Fl(i)}while(i=wt());return t},H8=function(t,r){return Lh(D8(Oh(t),r))},Ih=new WeakMap,z8=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Ih.get(n))&&!i){Ih.set(t,!0);for(var o=[],a=H8(r,o),l=n.props,s=0,u=0;s<a.length;s++)for(var c=0;c<l.length;c++,u++)t.props[u]=o[s]?a[s].replace(/&\f/g,l[c]):l[c]+" "+a[s]}}},N8=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function $h(e,t){switch(k8(e,t)){case 5103:return le+"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 le+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return le+e+Ml+e+rt+e+e;case 6828:case 4268:return le+e+rt+e+e;case 6165:return le+e+rt+"flex-"+e+e;case 5187:return le+e+se(e,/(\w+).+(:[^]+)/,le+"box-$1$2"+rt+"flex-$1$2")+e;case 5443:return le+e+rt+"flex-item-"+se(e,/flex-|-self/,"")+e;case 4675:return le+e+rt+"flex-line-pack"+se(e,/align-content|flex-|-self/,"")+e;case 5548:return le+e+rt+se(e,"shrink","negative")+e;case 5292:return le+e+rt+se(e,"basis","preferred-size")+e;case 6060:return le+"box-"+se(e,"-grow","")+le+e+rt+se(e,"grow","positive")+e;case 4554:return le+se(e,/([^-])(transform)/g,"$1"+le+"$2")+e;case 6187:return se(se(se(e,/(zoom-|grab)/,le+"$1"),/(image-set)/,le+"$1"),e,"")+e;case 5495:case 3959:return se(e,/(image-set\([^]*)/,le+"$1$`$1");case 4968:return se(se(e,/(.+:)(flex-)?(.*)/,le+"box-pack:$3"+rt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+le+e+e;case 4095:case 3583:case 4068:case 2532:return se(e,/(.+)-inline(.+)/,le+"$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(ir(e)-1-t>6)switch(qe(e,t+1)){case 109:if(qe(e,t+4)!==45)break;case 102:return se(e,/(.+:)(.+)-([^]+)/,"$1"+le+"$2-$3$1"+Ml+(qe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Hc(e,"stretch")?$h(se(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(qe(e,t+1)!==115)break;case 6444:switch(qe(e,ir(e)-3-(~Hc(e,"!important")&&10))){case 107:return se(e,":",":"+le)+e;case 101:return se(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+le+(qe(e,14)===45?"inline-":"")+"box$3$1"+le+"$2$3$1"+rt+"$2box$3")+e}break;case 5936:switch(qe(e,t+11)){case 114:return le+e+rt+se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return le+e+rt+se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return le+e+rt+se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return le+e+rt+e+e}return e}var j8=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Dc:t.return=$h(t.value,t.length);break;case Mh:return vi([ko(t,{value:se(t.value,"@","@"+le)})],i);case $c:if(t.length)return P8(t.props,function(o){switch(E8(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return vi([ko(t,{props:[se(o,/:(read-\w+)/,":"+Ml+"$1")]})],i);case"::placeholder":return vi([ko(t,{props:[se(o,/:(plac\w+)/,":"+le+"input-$1")]}),ko(t,{props:[se(o,/:(plac\w+)/,":"+Ml+"$1")]}),ko(t,{props:[se(o,/:(plac\w+)/,rt+"input-$1")]})],i)}return""})}},W8=[j8],U8=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(y){var v=y.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=t.stylisPlugins||W8,o={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(y){for(var v=y.getAttribute("data-emotion").split(" "),g=1;g<v.length;g++)o[v[g]]=!0;l.push(y)});var s,u=[z8,N8];{var c,f=[V8,I8(function(y){c.insert(y)})],d=R8(u.concat(i,f)),h=function(v){return vi(L8(v),d)};s=function(v,g,b,x){c=b,h(v?v+"{"+g.styles+"}":g.styles),x&&(m.inserted[g.name]=!0)}}var m={key:r,sheet:new b8({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:s};return m.sheet.hydrate(l),m};function Mn(){return Mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Mn.apply(this,arguments)}var Dh=function(t){var r=new WeakMap;return function(n){if(r.has(n))return r.get(n);var i=t(n);return r.set(n,i),i}},Il=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Hh={exports:{}},fe={};/** @license React v16.13.1
|
|
1
|
+
(function(de,O){typeof exports=="object"&&typeof module!="undefined"?O(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],O):(de=typeof globalThis!="undefined"?globalThis:de||self,O(de["@eclass/ui-kit"]={},de.React))})(this,function(de,O){"use strict";function vx(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}function mx(e){if(e&&e.__esModule)return e;var t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});return e&&Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var w=mx(O),Dr=vx(O);function gx(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function yx(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var bx=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(yx(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=gx(i);try{o.insertRule(n,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e}(),rt="-ms-",Ml="-moz-",le="-webkit-",Th="comm",$c="rule",Dc="decl",xx="@import",Mh="@keyframes",Cx="@layer",wx=Math.abs,Fl=String.fromCharCode,Sx=Object.assign;function kx(e,t){return qe(e,0)^45?(((t<<2^qe(e,0))<<2^qe(e,1))<<2^qe(e,2))<<2^qe(e,3):0}function Fh(e){return e.trim()}function Ex(e,t){return(e=t.exec(e))?e[0]:e}function se(e,t,r){return e.replace(t,r)}function Hc(e,t){return e.indexOf(t)}function qe(e,t){return e.charCodeAt(t)|0}function So(e,t,r){return e.slice(t,r)}function ir(e){return e.length}function zc(e){return e.length}function Al(e,t){return t.push(e),e}function Px(e,t){return e.map(t).join("")}var Ol=1,pi=1,Ah=0,pt=0,He=0,hi="";function Ll(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:Ol,column:pi,length:a,return:""}}function ko(e,t){return Sx(Ll("",null,null,"",null,null,0),e,{length:-e.length},t)}function _x(){return He}function Tx(){return He=pt>0?qe(hi,--pt):0,pi--,He===10&&(pi=1,Ol--),He}function wt(){return He=pt<Ah?qe(hi,pt++):0,pi++,He===10&&(pi=1,Ol++),He}function or(){return qe(hi,pt)}function Bl(){return pt}function Eo(e,t){return So(hi,e,t)}function Po(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 Oh(e){return Ol=pi=1,Ah=ir(hi=e),pt=0,[]}function Lh(e){return hi="",e}function Vl(e){return Fh(Eo(pt-1,Nc(e===91?e+2:e===40?e+1:e)))}function Mx(e){for(;(He=or())&&He<33;)wt();return Po(e)>2||Po(He)>3?"":" "}function Fx(e,t){for(;--t&&wt()&&!(He<48||He>102||He>57&&He<65||He>70&&He<97););return Eo(e,Bl()+(t<6&&or()==32&&wt()==32))}function Nc(e){for(;wt();)switch(He){case e:return pt;case 34:case 39:e!==34&&e!==39&&Nc(He);break;case 40:e===41&&Nc(e);break;case 92:wt();break}return pt}function Ax(e,t){for(;wt()&&e+He!==47+10;)if(e+He===42+42&&or()===47)break;return"/*"+Eo(t,pt-1)+"*"+Fl(e===47?e:wt())}function Ox(e){for(;!Po(or());)wt();return Eo(e,pt)}function Lx(e){return Lh(Rl("",null,null,null,[""],e=Oh(e),0,[0],e))}function Rl(e,t,r,n,i,o,a,l,s){for(var u=0,c=0,f=a,d=0,h=0,m=0,y=1,v=1,g=1,b=0,x="",C=i,k=o,E=n,P=x;v;)switch(m=b,b=wt()){case 40:if(m!=108&&qe(P,f-1)==58){Hc(P+=se(Vl(b),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:P+=Vl(b);break;case 9:case 10:case 13:case 32:P+=Mx(m);break;case 92:P+=Fx(Bl()-1,7);continue;case 47:switch(or()){case 42:case 47:Al(Bx(Ax(wt(),Bl()),t,r),s);break;default:P+="/"}break;case 123*y:l[u++]=ir(P)*g;case 125*y:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+c:g==-1&&(P=se(P,/\f/g,"")),h>0&&ir(P)-f&&Al(h>32?Vh(P+";",n,r,f-1):Vh(se(P," ","")+";",n,r,f-2),s);break;case 59:P+=";";default:if(Al(E=Bh(P,t,r,u,c,i,l,x,C=[],k=[],f),o),b===123)if(c===0)Rl(P,t,E,E,C,o,f,l,k);else switch(d===99&&qe(P,3)===110?100:d){case 100:case 108:case 109:case 115:Rl(e,E,E,n&&Al(Bh(e,E,E,0,0,i,l,x,i,C=[],f),k),i,k,f,l,n?C:k);break;default:Rl(P,E,E,E,[""],k,0,l,k)}}u=c=h=0,y=g=1,x=P="",f=a;break;case 58:f=1+ir(P),h=m;default:if(y<1){if(b==123)--y;else if(b==125&&y++==0&&Tx()==125)continue}switch(P+=Fl(b),b*y){case 38:g=c>0?1:(P+="\f",-1);break;case 44:l[u++]=(ir(P)-1)*g,g=1;break;case 64:or()===45&&(P+=Vl(wt())),d=or(),c=f=ir(x=P+=Ox(Bl())),b++;break;case 45:m===45&&ir(P)==2&&(y=0)}}return o}function Bh(e,t,r,n,i,o,a,l,s,u,c){for(var f=i-1,d=i===0?o:[""],h=zc(d),m=0,y=0,v=0;m<n;++m)for(var g=0,b=So(e,f+1,f=wx(y=a[m])),x=e;g<h;++g)(x=Fh(y>0?d[g]+" "+b:se(b,/&\f/g,d[g])))&&(s[v++]=x);return Ll(e,t,r,i===0?$c:l,s,u,c)}function Bx(e,t,r){return Ll(e,t,r,Th,Fl(_x()),So(e,2,-2),0)}function Vh(e,t,r,n){return Ll(e,t,r,Dc,So(e,0,n),So(e,n+1,-1),n)}function vi(e,t){for(var r="",n=zc(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Vx(e,t,r,n){switch(e.type){case Cx:if(e.children.length)break;case xx:case Dc:return e.return=e.return||e.value;case Th:return"";case Mh:return e.return=e.value+"{"+vi(e.children,n)+"}";case $c:e.value=e.props.join(",")}return ir(r=vi(e.children,n))?e.return=e.value+"{"+r+"}":""}function Rx(e){var t=zc(e);return function(r,n,i,o){for(var a="",l=0;l<t;l++)a+=e[l](r,n,i,o)||"";return a}}function Ix(e){return function(t){t.root||(t=t.return)&&e(t)}}function Rh(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var $x=function(t,r,n){for(var i=0,o=0;i=o,o=or(),i===38&&o===12&&(r[n]=1),!Po(o);)wt();return Eo(t,pt)},Dx=function(t,r){var n=-1,i=44;do switch(Po(i)){case 0:i===38&&or()===12&&(r[n]=1),t[n]+=$x(pt-1,r,n);break;case 2:t[n]+=Vl(i);break;case 4:if(i===44){t[++n]=or()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Fl(i)}while(i=wt());return t},Hx=function(t,r){return Lh(Dx(Oh(t),r))},Ih=new WeakMap,zx=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Ih.get(n))&&!i){Ih.set(t,!0);for(var o=[],a=Hx(r,o),l=n.props,s=0,u=0;s<a.length;s++)for(var c=0;c<l.length;c++,u++)t.props[u]=o[s]?a[s].replace(/&\f/g,l[c]):l[c]+" "+a[s]}}},Nx=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function $h(e,t){switch(kx(e,t)){case 5103:return le+"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 le+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return le+e+Ml+e+rt+e+e;case 6828:case 4268:return le+e+rt+e+e;case 6165:return le+e+rt+"flex-"+e+e;case 5187:return le+e+se(e,/(\w+).+(:[^]+)/,le+"box-$1$2"+rt+"flex-$1$2")+e;case 5443:return le+e+rt+"flex-item-"+se(e,/flex-|-self/,"")+e;case 4675:return le+e+rt+"flex-line-pack"+se(e,/align-content|flex-|-self/,"")+e;case 5548:return le+e+rt+se(e,"shrink","negative")+e;case 5292:return le+e+rt+se(e,"basis","preferred-size")+e;case 6060:return le+"box-"+se(e,"-grow","")+le+e+rt+se(e,"grow","positive")+e;case 4554:return le+se(e,/([^-])(transform)/g,"$1"+le+"$2")+e;case 6187:return se(se(se(e,/(zoom-|grab)/,le+"$1"),/(image-set)/,le+"$1"),e,"")+e;case 5495:case 3959:return se(e,/(image-set\([^]*)/,le+"$1$`$1");case 4968:return se(se(e,/(.+:)(flex-)?(.*)/,le+"box-pack:$3"+rt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+le+e+e;case 4095:case 3583:case 4068:case 2532:return se(e,/(.+)-inline(.+)/,le+"$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(ir(e)-1-t>6)switch(qe(e,t+1)){case 109:if(qe(e,t+4)!==45)break;case 102:return se(e,/(.+:)(.+)-([^]+)/,"$1"+le+"$2-$3$1"+Ml+(qe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Hc(e,"stretch")?$h(se(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(qe(e,t+1)!==115)break;case 6444:switch(qe(e,ir(e)-3-(~Hc(e,"!important")&&10))){case 107:return se(e,":",":"+le)+e;case 101:return se(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+le+(qe(e,14)===45?"inline-":"")+"box$3$1"+le+"$2$3$1"+rt+"$2box$3")+e}break;case 5936:switch(qe(e,t+11)){case 114:return le+e+rt+se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return le+e+rt+se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return le+e+rt+se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return le+e+rt+e+e}return e}var jx=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Dc:t.return=$h(t.value,t.length);break;case Mh:return vi([ko(t,{value:se(t.value,"@","@"+le)})],i);case $c:if(t.length)return Px(t.props,function(o){switch(Ex(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return vi([ko(t,{props:[se(o,/:(read-\w+)/,":"+Ml+"$1")]})],i);case"::placeholder":return vi([ko(t,{props:[se(o,/:(plac\w+)/,":"+le+"input-$1")]}),ko(t,{props:[se(o,/:(plac\w+)/,":"+Ml+"$1")]}),ko(t,{props:[se(o,/:(plac\w+)/,rt+"input-$1")]})],i)}return""})}},Wx=[jx],Ux=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(y){var v=y.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=t.stylisPlugins||Wx,o={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(y){for(var v=y.getAttribute("data-emotion").split(" "),g=1;g<v.length;g++)o[v[g]]=!0;l.push(y)});var s,u=[zx,Nx];{var c,f=[Vx,Ix(function(y){c.insert(y)})],d=Rx(u.concat(i,f)),h=function(v){return vi(Lx(v),d)};s=function(v,g,b,x){c=b,h(v?v+"{"+g.styles+"}":g.styles),x&&(m.inserted[g.name]=!0)}}var m={key:r,sheet:new bx({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:s};return m.sheet.hydrate(l),m};function Mn(){return Mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Mn.apply(this,arguments)}var Dh=function(t){var r=new WeakMap;return function(n){if(r.has(n))return r.get(n);var i=t(n);return r.set(n,i),i}},Il=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Hh={exports:{}},fe={};/** @license React v16.13.1
|
|
2
2
|
* react-is.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var Ue=typeof Symbol=="function"&&Symbol.for,jc=Ue?Symbol.for("react.element"):60103,Wc=Ue?Symbol.for("react.portal"):60106,$l=Ue?Symbol.for("react.fragment"):60107,Dl=Ue?Symbol.for("react.strict_mode"):60108,Hl=Ue?Symbol.for("react.profiler"):60114,zl=Ue?Symbol.for("react.provider"):60109,Nl=Ue?Symbol.for("react.context"):60110,Uc=Ue?Symbol.for("react.async_mode"):60111,jl=Ue?Symbol.for("react.concurrent_mode"):60111,Wl=Ue?Symbol.for("react.forward_ref"):60112,Ul=Ue?Symbol.for("react.suspense"):60113,
|
|
8
|
+
*/var Ue=typeof Symbol=="function"&&Symbol.for,jc=Ue?Symbol.for("react.element"):60103,Wc=Ue?Symbol.for("react.portal"):60106,$l=Ue?Symbol.for("react.fragment"):60107,Dl=Ue?Symbol.for("react.strict_mode"):60108,Hl=Ue?Symbol.for("react.profiler"):60114,zl=Ue?Symbol.for("react.provider"):60109,Nl=Ue?Symbol.for("react.context"):60110,Uc=Ue?Symbol.for("react.async_mode"):60111,jl=Ue?Symbol.for("react.concurrent_mode"):60111,Wl=Ue?Symbol.for("react.forward_ref"):60112,Ul=Ue?Symbol.for("react.suspense"):60113,Zx=Ue?Symbol.for("react.suspense_list"):60120,Zl=Ue?Symbol.for("react.memo"):60115,Gl=Ue?Symbol.for("react.lazy"):60116,Gx=Ue?Symbol.for("react.block"):60121,qx=Ue?Symbol.for("react.fundamental"):60117,Yx=Ue?Symbol.for("react.responder"):60118,Xx=Ue?Symbol.for("react.scope"):60119;function St(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case jc:switch(e=e.type,e){case Uc:case jl:case $l:case Hl:case Dl:case Ul:return e;default:switch(e=e&&e.$$typeof,e){case Nl:case Wl:case Gl:case Zl:case zl:return e;default:return t}}case Wc:return t}}}function zh(e){return St(e)===jl}fe.AsyncMode=Uc,fe.ConcurrentMode=jl,fe.ContextConsumer=Nl,fe.ContextProvider=zl,fe.Element=jc,fe.ForwardRef=Wl,fe.Fragment=$l,fe.Lazy=Gl,fe.Memo=Zl,fe.Portal=Wc,fe.Profiler=Hl,fe.StrictMode=Dl,fe.Suspense=Ul,fe.isAsyncMode=function(e){return zh(e)||St(e)===Uc},fe.isConcurrentMode=zh,fe.isContextConsumer=function(e){return St(e)===Nl},fe.isContextProvider=function(e){return St(e)===zl},fe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===jc},fe.isForwardRef=function(e){return St(e)===Wl},fe.isFragment=function(e){return St(e)===$l},fe.isLazy=function(e){return St(e)===Gl},fe.isMemo=function(e){return St(e)===Zl},fe.isPortal=function(e){return St(e)===Wc},fe.isProfiler=function(e){return St(e)===Hl},fe.isStrictMode=function(e){return St(e)===Dl},fe.isSuspense=function(e){return St(e)===Ul},fe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===$l||e===jl||e===Hl||e===Dl||e===Ul||e===Zx||typeof e=="object"&&e!==null&&(e.$$typeof===Gl||e.$$typeof===Zl||e.$$typeof===zl||e.$$typeof===Nl||e.$$typeof===Wl||e.$$typeof===qx||e.$$typeof===Yx||e.$$typeof===Xx||e.$$typeof===Gx)},fe.typeOf=St,Hh.exports=fe;var Nh=Hh.exports,Kx={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Qx={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},jh={};jh[Nh.ForwardRef]=Kx,jh[Nh.Memo]=Qx;var Jx=!0;function e8(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var Wh=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||Jx===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Uh=function(t,r,n){Wh(t,r,n);var i=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var o=r;do t.insert(r===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function t8(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var r8={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},n8=/[A-Z]|^ms/g,i8=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Zh=function(t){return t.charCodeAt(1)===45},Gh=function(t){return t!=null&&typeof t!="boolean"},Zc=Rh(function(e){return Zh(e)?e:e.replace(n8,"-$&").toLowerCase()}),qh=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(i8,function(n,i,o){return ar={name:i,styles:o,next:ar},i})}return r8[t]!==1&&!Zh(t)&&typeof r=="number"&&r!==0?r+"px":r},JD="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function _o(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return ar={name:r.name,styles:r.styles,next:ar},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)ar={name:n.name,styles:n.styles,next:ar},n=n.next;var i=r.styles+";";return i}return o8(e,t,r)}case"function":{if(e!==void 0){var o=ar,a=r(e);return ar=o,_o(e,t,a)}break}}if(t==null)return r;var l=t[r];return l!==void 0?l:r}function o8(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=_o(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=o+"{"+t[a]+"}":Gh(a)&&(n+=Zc(o)+":"+qh(o,a)+";");else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)Gh(a[l])&&(n+=Zc(o)+":"+qh(o,a[l])+";");else{var s=_o(e,t,a);switch(o){case"animation":case"animationName":{n+=Zc(o)+":"+s+";";break}default:n+=o+"{"+s+"}"}}}return n}var Yh=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ar,Gc=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,o="";ar=void 0;var a=t[0];a==null||a.raw===void 0?(i=!1,o+=_o(n,r,a)):o+=a[0];for(var l=1;l<t.length;l++)o+=_o(n,r,t[l]),i&&(o+=a[l]);Yh.lastIndex=0;for(var s="",u;(u=Yh.exec(o))!==null;)s+="-"+u[1];var c=t8(o)+s;return{name:c,styles:o,next:ar}},Xh=O.createContext(typeof HTMLElement!="undefined"?Ux({key:"css"}):null);Xh.Provider;var Kh=function(t){return O.forwardRef(function(r,n){var i=O.useContext(Xh);return t(r,i,n)})},To=O.createContext({}),a8=function(t,r){if(typeof r=="function"){var n=r(t);return n}return Mn({},t,r)},l8=Dh(function(e){return Dh(function(t){return a8(e,t)})}),s8=function(t){var r=O.useContext(To);return t.theme!==r&&(r=l8(r)(t.theme)),O.createElement(To.Provider,{value:r},t.children)},Qh=w["useInsertionEffect"]?w["useInsertionEffect"]:O.useLayoutEffect,qc=Kh(function(e,t){var r=e.styles,n=Gc([r],void 0,O.useContext(To)),i=O.useRef();return Qh(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,s=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),s!==null&&(l=!0,s.setAttribute("data-emotion",o),a.hydrate([s])),i.current=[a,l],function(){a.flush()}},[t]),Qh(function(){var o=i.current,a=o[0],l=o[1];if(l){o[1]=!1;return}if(n.next!==void 0&&Uh(t,n.next,!0),a.tags.length){var s=a.tags[a.tags.length-1].nextElementSibling;a.before=s,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});function u8(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Gc(t)}var mi=function(){var t=u8.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},c8=function(){return w.createElement(qc,{styles:`
|
|
9
9
|
html {
|
|
10
10
|
line-height: 1.5;
|
|
11
11
|
-webkit-text-size-adjust: 100%;
|
|
@@ -281,12 +281,12 @@
|
|
|
281
281
|
select::-ms-expand {
|
|
282
282
|
display: none;
|
|
283
283
|
}
|
|
284
|
-
`})},dx=cx,Yc={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",i=800,o=16,a=9007199254740991,l="[object Arguments]",s="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",f="[object Date]",d="[object Error]",h="[object Function]",m="[object GeneratorFunction]",y="[object Map]",v="[object Number]",g="[object Null]",b="[object Object]",x="[object Proxy]",C="[object RegExp]",k="[object Set]",E="[object String]",P="[object Undefined]",F="[object WeakMap]",M="[object ArrayBuffer]",I="[object DataView]",G="[object Float32Array]",U="[object Float64Array]",Z="[object Int8Array]",X="[object Int16Array]",K="[object Int32Array]",ne="[object Uint8Array]",ie="[object Uint8ClampedArray]",Ve="[object Uint16Array]",be="[object Uint32Array]",Re=/[\\^$.*+?()[\]{}|]/g,L=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,R={};R[G]=R[U]=R[Z]=R[X]=R[K]=R[ne]=R[ie]=R[Ve]=R[be]=!0,R[l]=R[s]=R[M]=R[c]=R[I]=R[f]=R[d]=R[h]=R[y]=R[v]=R[b]=R[C]=R[k]=R[E]=R[F]=!1;var $=typeof Il=="object"&&Il&&Il.Object===Object&&Il,H=typeof self=="object"&&self&&self.Object===Object&&self,te=$||H||Function("return this")(),ve=t&&!t.nodeType&&t,xe=ve&&!0&&e&&!e.nodeType&&e,We=xe&&xe.exports===ve,li=We&&$.process,_n=function(){try{var S=xe&&xe.require&&xe.require("util").types;return S||li&&li.binding&&li.binding("util")}catch{}}(),Ee=_n&&_n.isTypedArray;function st(S,T,A){switch(A.length){case 0:return S.call(T);case 1:return S.call(T,A[0]);case 2:return S.call(T,A[0],A[1]);case 3:return S.call(T,A[0],A[1],A[2])}return S.apply(T,A)}function Wt(S,T){for(var A=-1,q=Array(S);++A<S;)q[A]=T(A);return q}function vh(S){return function(T){return S(T)}}function Mc(S,T){return S==null?void 0:S[T]}function Fc(S,T){return function(A){return S(T(A))}}var mh=Array.prototype,gh=Function.prototype,Ut=Object.prototype,Tn=te["__core-js_shared__"],si=gh.toString,Zt=Ut.hasOwnProperty,xo=function(){var S=/[^.]+$/.exec(Tn&&Tn.keys&&Tn.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""}(),El=Ut.toString,Ac=si.call(Object),Oc=RegExp("^"+si.call(Zt).replace(Re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ui=We?te.Buffer:void 0,Q4=te.Symbol,J4=te.Uint8Array,e8=ui?ui.allocUnsafe:void 0,t8=Fc(Object.getPrototypeOf,Object),r8=Object.create,Y$=Ut.propertyIsEnumerable,X$=mh.splice,ci=Q4?Q4.toStringTag:void 0,Lc=function(){try{var S=xh(Object,"defineProperty");return S({},"",{}),S}catch{}}(),K$=ui?ui.isBuffer:void 0,n8=Math.max,Q$=Date.now,i8=xh(te,"Map"),Pl=xh(Object,"create"),J$=function(){function S(){}return function(T){if(!fi(T))return{};if(r8)return r8(T);S.prototype=T;var A=new S;return S.prototype=void 0,A}}();function di(S){var T=-1,A=S==null?0:S.length;for(this.clear();++T<A;){var q=S[T];this.set(q[0],q[1])}}function eD(){this.__data__=Pl?Pl(null):{},this.size=0}function tD(S){var T=this.has(S)&&delete this.__data__[S];return this.size-=T?1:0,T}function rD(S){var T=this.__data__;if(Pl){var A=T[S];return A===n?void 0:A}return Zt.call(T,S)?T[S]:void 0}function nD(S){var T=this.__data__;return Pl?T[S]!==void 0:Zt.call(T,S)}function iD(S,T){var A=this.__data__;return this.size+=this.has(S)?0:1,A[S]=Pl&&T===void 0?n:T,this}di.prototype.clear=eD,di.prototype.delete=tD,di.prototype.get=rD,di.prototype.has=nD,di.prototype.set=iD;function $r(S){var T=-1,A=S==null?0:S.length;for(this.clear();++T<A;){var q=S[T];this.set(q[0],q[1])}}function oD(){this.__data__=[],this.size=0}function aD(S){var T=this.__data__,A=Bc(T,S);if(A<0)return!1;var q=T.length-1;return A==q?T.pop():X$.call(T,A,1),--this.size,!0}function lD(S){var T=this.__data__,A=Bc(T,S);return A<0?void 0:T[A][1]}function sD(S){return Bc(this.__data__,S)>-1}function uD(S,T){var A=this.__data__,q=Bc(A,S);return q<0?(++this.size,A.push([S,T])):A[q][1]=T,this}$r.prototype.clear=oD,$r.prototype.delete=aD,$r.prototype.get=lD,$r.prototype.has=sD,$r.prototype.set=uD;function Co(S){var T=-1,A=S==null?0:S.length;for(this.clear();++T<A;){var q=S[T];this.set(q[0],q[1])}}function cD(){this.size=0,this.__data__={hash:new di,map:new(i8||$r),string:new di}}function dD(S){var T=Rc(this,S).delete(S);return this.size-=T?1:0,T}function fD(S){return Rc(this,S).get(S)}function pD(S){return Rc(this,S).has(S)}function hD(S,T){var A=Rc(this,S),q=A.size;return A.set(S,T),this.size+=A.size==q?0:1,this}Co.prototype.clear=cD,Co.prototype.delete=dD,Co.prototype.get=fD,Co.prototype.has=pD,Co.prototype.set=hD;function wo(S){var T=this.__data__=new $r(S);this.size=T.size}function vD(){this.__data__=new $r,this.size=0}function mD(S){var T=this.__data__,A=T.delete(S);return this.size=T.size,A}function gD(S){return this.__data__.get(S)}function yD(S){return this.__data__.has(S)}function bD(S,T){var A=this.__data__;if(A instanceof $r){var q=A.__data__;if(!i8||q.length<r-1)return q.push([S,T]),this.size=++A.size,this;A=this.__data__=new Co(q)}return A.set(S,T),this.size=A.size,this}wo.prototype.clear=vD,wo.prototype.delete=mD,wo.prototype.get=gD,wo.prototype.has=yD,wo.prototype.set=bD;function xD(S,T){var A=Sh(S),q=!A&&wh(S),ae=!A&&!q&&u8(S),me=!A&&!q&&!ae&&d8(S),Te=A||q||ae||me,oe=Te?Wt(S.length,String):[],Me=oe.length;for(var Gt in S)(T||Zt.call(S,Gt))&&!(Te&&(Gt=="length"||ae&&(Gt=="offset"||Gt=="parent")||me&&(Gt=="buffer"||Gt=="byteLength"||Gt=="byteOffset")||l8(Gt,Me)))&&oe.push(Gt);return oe}function yh(S,T,A){(A!==void 0&&!Ic(S[T],A)||A===void 0&&!(T in S))&&bh(S,T,A)}function CD(S,T,A){var q=S[T];(!(Zt.call(S,T)&&Ic(q,A))||A===void 0&&!(T in S))&&bh(S,T,A)}function Bc(S,T){for(var A=S.length;A--;)if(Ic(S[A][0],T))return A;return-1}function bh(S,T,A){T=="__proto__"&&Lc?Lc(S,T,{configurable:!0,enumerable:!0,value:A,writable:!0}):S[T]=A}var wD=VD();function Vc(S){return S==null?S===void 0?P:g:ci&&ci in Object(S)?RD(S):ND(S)}function o8(S){return _l(S)&&Vc(S)==l}function SD(S){if(!fi(S)||HD(S))return!1;var T=Eh(S)?Oc:L;return T.test(ZD(S))}function kD(S){return _l(S)&&c8(S.length)&&!!R[Vc(S)]}function ED(S){if(!fi(S))return zD(S);var T=s8(S),A=[];for(var q in S)q=="constructor"&&(T||!Zt.call(S,q))||A.push(q);return A}function a8(S,T,A,q,ae){S!==T&&wD(T,function(me,Te){if(ae||(ae=new wo),fi(me))PD(S,T,Te,A,a8,q,ae);else{var oe=q?q(Ch(S,Te),me,Te+"",S,T,ae):void 0;oe===void 0&&(oe=me),yh(S,Te,oe)}},f8)}function PD(S,T,A,q,ae,me,Te){var oe=Ch(S,A),Me=Ch(T,A),Gt=Te.get(Me);if(Gt){yh(S,A,Gt);return}var Ft=me?me(oe,Me,A+"",S,T,Te):void 0,Tl=Ft===void 0;if(Tl){var Ph=Sh(Me),_h=!Ph&&u8(Me),h8=!Ph&&!_h&&d8(Me);Ft=Me,Ph||_h||h8?Sh(oe)?Ft=oe:GD(oe)?Ft=OD(oe):_h?(Tl=!1,Ft=MD(Me,!0)):h8?(Tl=!1,Ft=AD(Me,!0)):Ft=[]:qD(Me)||wh(Me)?(Ft=oe,wh(oe)?Ft=YD(oe):(!fi(oe)||Eh(oe))&&(Ft=ID(Me))):Tl=!1}Tl&&(Te.set(Me,Ft),ae(Ft,Me,q,me,Te),Te.delete(Me)),yh(S,A,Ft)}function _D(S,T){return WD(jD(S,T,p8),S+"")}var TD=Lc?function(S,T){return Lc(S,"toString",{configurable:!0,enumerable:!1,value:KD(T),writable:!0})}:p8;function MD(S,T){if(T)return S.slice();var A=S.length,q=e8?e8(A):new S.constructor(A);return S.copy(q),q}function FD(S){var T=new S.constructor(S.byteLength);return new J4(T).set(new J4(S)),T}function AD(S,T){var A=T?FD(S.buffer):S.buffer;return new S.constructor(A,S.byteOffset,S.length)}function OD(S,T){var A=-1,q=S.length;for(T||(T=Array(q));++A<q;)T[A]=S[A];return T}function LD(S,T,A,q){var ae=!A;A||(A={});for(var me=-1,Te=T.length;++me<Te;){var oe=T[me],Me=q?q(A[oe],S[oe],oe,A,S):void 0;Me===void 0&&(Me=S[oe]),ae?bh(A,oe,Me):CD(A,oe,Me)}return A}function BD(S){return _D(function(T,A){var q=-1,ae=A.length,me=ae>1?A[ae-1]:void 0,Te=ae>2?A[2]:void 0;for(me=S.length>3&&typeof me=="function"?(ae--,me):void 0,Te&&$D(A[0],A[1],Te)&&(me=ae<3?void 0:me,ae=1),T=Object(T);++q<ae;){var oe=A[q];oe&&S(T,oe,q,me)}return T})}function VD(S){return function(T,A,q){for(var ae=-1,me=Object(T),Te=q(T),oe=Te.length;oe--;){var Me=Te[S?oe:++ae];if(A(me[Me],Me,me)===!1)break}return T}}function Rc(S,T){var A=S.__data__;return DD(T)?A[typeof T=="string"?"string":"hash"]:A.map}function xh(S,T){var A=Mc(S,T);return SD(A)?A:void 0}function RD(S){var T=Zt.call(S,ci),A=S[ci];try{S[ci]=void 0;var q=!0}catch{}var ae=El.call(S);return q&&(T?S[ci]=A:delete S[ci]),ae}function ID(S){return typeof S.constructor=="function"&&!s8(S)?J$(t8(S)):{}}function l8(S,T){var A=typeof S;return T=T==null?a:T,!!T&&(A=="number"||A!="symbol"&&D.test(S))&&S>-1&&S%1==0&&S<T}function $D(S,T,A){if(!fi(A))return!1;var q=typeof T;return(q=="number"?kh(A)&&l8(T,A.length):q=="string"&&T in A)?Ic(A[T],S):!1}function DD(S){var T=typeof S;return T=="string"||T=="number"||T=="symbol"||T=="boolean"?S!=="__proto__":S===null}function HD(S){return!!xo&&xo in S}function s8(S){var T=S&&S.constructor,A=typeof T=="function"&&T.prototype||Ut;return S===A}function zD(S){var T=[];if(S!=null)for(var A in Object(S))T.push(A);return T}function ND(S){return El.call(S)}function jD(S,T,A){return T=n8(T===void 0?S.length-1:T,0),function(){for(var q=arguments,ae=-1,me=n8(q.length-T,0),Te=Array(me);++ae<me;)Te[ae]=q[T+ae];ae=-1;for(var oe=Array(T+1);++ae<T;)oe[ae]=q[ae];return oe[T]=A(Te),st(S,this,oe)}}function Ch(S,T){if(!(T==="constructor"&&typeof S[T]=="function")&&T!="__proto__")return S[T]}var WD=UD(TD);function UD(S){var T=0,A=0;return function(){var q=Q$(),ae=o-(q-A);if(A=q,ae>0){if(++T>=i)return arguments[0]}else T=0;return S.apply(void 0,arguments)}}function ZD(S){if(S!=null){try{return si.call(S)}catch{}try{return S+""}catch{}}return""}function Ic(S,T){return S===T||S!==S&&T!==T}var wh=o8(function(){return arguments}())?o8:function(S){return _l(S)&&Zt.call(S,"callee")&&!Y$.call(S,"callee")},Sh=Array.isArray;function kh(S){return S!=null&&c8(S.length)&&!Eh(S)}function GD(S){return _l(S)&&kh(S)}var u8=K$||QD;function Eh(S){if(!fi(S))return!1;var T=Vc(S);return T==h||T==m||T==u||T==x}function c8(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=a}function fi(S){var T=typeof S;return S!=null&&(T=="object"||T=="function")}function _l(S){return S!=null&&typeof S=="object"}function qD(S){if(!_l(S)||Vc(S)!=b)return!1;var T=t8(S);if(T===null)return!0;var A=Zt.call(T,"constructor")&&T.constructor;return typeof A=="function"&&A instanceof A&&si.call(A)==Ac}var d8=Ee?vh(Ee):kD;function YD(S){return LD(S,f8(S))}function f8(S){return kh(S)?xD(S,!0):ED(S)}var XD=BD(function(S,T,A,q){a8(S,T,A,q)});function KD(S){return function(){return S}}function p8(S){return S}function QD(){return!1}e.exports=XD})(Yc,Yc.exports);var At=Yc.exports;function fx(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Fn(e){return typeof e=="number"}function Xc(e){return Array.isArray(e)}function Hr(e){return typeof e=="function"}function px(e){return typeof e=="undefined"||e===void 0}function ht(e){var t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Xc(e)}function hx(e){return ht(e)&&Object.keys(e).length===0}function ql(e){return Object.prototype.toString.call(e)==="[object String]"}function Jh(e){return/^var\(--.+\)$/.test(e)}var xr=!1;function Yl(e,t){var r={};return Object.keys(e).forEach(function(n){t.includes(n)||(r[n]=e[n])}),r}function ev(e,t){var r={};return t.forEach(function(n){n in e&&(r[n]=e[n])}),r}function vx(e,t,r,n){var i=typeof t=="string"?t.split("."):[t];for(n=0;n<i.length&&e;n+=1)e=e[i[n]];return e===void 0?r:e}var mx=function(t){var r=new WeakMap,n=function(o,a,l,s){if(typeof o=="undefined")return t(o,a,l);r.has(o)||r.set(o,new Map);var u=r.get(o);if(u.has(a))return u.get(a);var c=t(o,a,l,s);return u.set(a,c),c};return n},Xl=mx(vx);function tv(e,t){var r={};return Object.keys(e).forEach(function(n){var i=e[n],o=t(i,n,e);o&&(r[n]=i)}),r}var Kc=function(t){return tv(t,function(r){return r!=null})},Qc=function(t){return Object.keys(t)},Kl=function(t){return t.reduce(function(r,n){var i=n[0],o=n[1];return r[i]=o,r},{})},gx=function(t,r,n){var i,o;return(i=(o=t.__cssMap[r+"."+n])==null?void 0:o.varRef)!=null?i:n};function yx(e){var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}function Ql(e){if(e==null)return e;var t=yx(e),r=t.unitless;return r||Fn(e)?e+"px":e}var rv=function(t,r){return parseInt(t[1],10)>parseInt(r[1],10)?1:-1},Jc=function(t){return Kl(Object.entries(t).sort(rv))};function nv(e){var t=Jc(e);return Object.assign(Object.values(t),t)}function bx(e){var t=Object.keys(Jc(e));return new Set(t)}function xx(e){var t;if(!e)return e;e=(t=Ql(e))!=null?t:e;var r=e.endsWith("px")?-1:-.0635;return Fn(e)?""+(e+r):e.replace(/([0-9]+\.?[0-9]*)/,function(n){return""+(parseFloat(n)+r)})}function Jl(e,t){var r=["@media screen"];return e&&r.push("and","(min-width: "+Ql(e)+")"),t&&r.push("and","(max-width: "+Ql(t)+")"),r.join(" ")}function Cx(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";var r=nv(e),n=Object.entries(e).sort(rv).map(function(a,l,s){var u,c=a[0],f=a[1],d=(u=s[l+1])!=null?u:[],h=d[1];return h=parseFloat(h)>0?xx(h):void 0,{breakpoint:c,minW:f,maxW:h,maxWQuery:Jl(null,h),minWQuery:Jl(f),minMaxQuery:Jl(f,h)}}),i=bx(e),o=Array.from(i.values());return{keys:i,normalized:r,isResponsive:function(l){var s=Object.keys(l);return s.length>0&&s.every(function(u){return i.has(u)})},asObject:Jc(e),asArray:nv(e),details:n,media:[null].concat(r.map(function(a){return Jl(a)}).slice(1)),toArrayValue:function(l){if(!ht(l))throw new Error("toArrayValue: value must be an object");for(var s=o.map(function(u){var c;return(c=l[u])!=null?c:null});fx(s)===null;)s.pop();return s},toObjectValue:function(l){if(!Array.isArray(l))throw new Error("toObjectValue: value must be an array");return l.reduce(function(s,u,c){var f=o[c];return f!=null&&u!=null&&(s[f]=u),s},{})}}}function iv(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function ed(e){var t;if(!iv(e))return!1;var r=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof r.HTMLElement}function ov(e){var t;return iv(e)&&(t=e.ownerDocument)!=null?t:document}function wx(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var zr=wx(),av=function(t){return t?"":void 0},ze=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.filter(Boolean).join(" ")},Sx=function(t){return t.hasAttribute("tabindex")};function kx(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function Ex(e){return ed(e)&&e.tagName.toLowerCase()==="input"&&"select"in e}function Px(e){var t=ed(e)?ov(e):document;return t.activeElement===e}function lv(e){return e.parentElement&&lv(e.parentElement)?!0:e.hidden}function _x(e){var t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function Tx(e){if(!ed(e)||lv(e)||kx(e))return!1;var t=e.localName,r=["input","select","textarea","button"];if(r.indexOf(t)>=0)return!0;var n={a:function(){return e.hasAttribute("href")},audio:function(){return e.hasAttribute("controls")},video:function(){return e.hasAttribute("controls")}};return t in n?n[t]():_x(e)?!0:Sx(e)}var Mx=["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],Fx=Mx.join();function Ax(e){var t=Array.from(e.querySelectorAll(Fx));return t.unshift(e),t.filter(Tx).filter(function(r){return window.getComputedStyle(r).display!=="none"})}function sv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ox(e,t){if(!!e){if(typeof e=="string")return sv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return sv(e,t)}}function Lx(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=Ox(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
285
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ot(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Hr(e)?e.apply(void 0,r):e}function qt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){t.some(function(o){return o==null||o(i),i==null?void 0:i.defaultPrevented})}}function
|
|
284
|
+
`})},d8=c8,Yc={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",i=800,o=16,a=9007199254740991,l="[object Arguments]",s="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",f="[object Date]",d="[object Error]",h="[object Function]",m="[object GeneratorFunction]",y="[object Map]",v="[object Number]",g="[object Null]",b="[object Object]",x="[object Proxy]",C="[object RegExp]",k="[object Set]",E="[object String]",P="[object Undefined]",F="[object WeakMap]",M="[object ArrayBuffer]",I="[object DataView]",G="[object Float32Array]",U="[object Float64Array]",Z="[object Int8Array]",X="[object Int16Array]",K="[object Int32Array]",ne="[object Uint8Array]",ie="[object Uint8ClampedArray]",Ve="[object Uint16Array]",be="[object Uint32Array]",Re=/[\\^$.*+?()[\]{}|]/g,L=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,R={};R[G]=R[U]=R[Z]=R[X]=R[K]=R[ne]=R[ie]=R[Ve]=R[be]=!0,R[l]=R[s]=R[M]=R[c]=R[I]=R[f]=R[d]=R[h]=R[y]=R[v]=R[b]=R[C]=R[k]=R[E]=R[F]=!1;var $=typeof Il=="object"&&Il&&Il.Object===Object&&Il,H=typeof self=="object"&&self&&self.Object===Object&&self,te=$||H||Function("return this")(),ve=t&&!t.nodeType&&t,xe=ve&&!0&&e&&!e.nodeType&&e,We=xe&&xe.exports===ve,li=We&&$.process,_n=function(){try{var S=xe&&xe.require&&xe.require("util").types;return S||li&&li.binding&&li.binding("util")}catch{}}(),Ee=_n&&_n.isTypedArray;function st(S,T,A){switch(A.length){case 0:return S.call(T);case 1:return S.call(T,A[0]);case 2:return S.call(T,A[0],A[1]);case 3:return S.call(T,A[0],A[1],A[2])}return S.apply(T,A)}function Wt(S,T){for(var A=-1,q=Array(S);++A<S;)q[A]=T(A);return q}function vh(S){return function(T){return S(T)}}function Mc(S,T){return S==null?void 0:S[T]}function Fc(S,T){return function(A){return S(T(A))}}var mh=Array.prototype,gh=Function.prototype,Ut=Object.prototype,Tn=te["__core-js_shared__"],si=gh.toString,Zt=Ut.hasOwnProperty,xo=function(){var S=/[^.]+$/.exec(Tn&&Tn.keys&&Tn.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""}(),El=Ut.toString,Ac=si.call(Object),Oc=RegExp("^"+si.call(Zt).replace(Re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ui=We?te.Buffer:void 0,Q4=te.Symbol,J4=te.Uint8Array,ex=ui?ui.allocUnsafe:void 0,tx=Fc(Object.getPrototypeOf,Object),rx=Object.create,Y$=Ut.propertyIsEnumerable,X$=mh.splice,ci=Q4?Q4.toStringTag:void 0,Lc=function(){try{var S=xh(Object,"defineProperty");return S({},"",{}),S}catch{}}(),K$=ui?ui.isBuffer:void 0,nx=Math.max,Q$=Date.now,ix=xh(te,"Map"),Pl=xh(Object,"create"),J$=function(){function S(){}return function(T){if(!fi(T))return{};if(rx)return rx(T);S.prototype=T;var A=new S;return S.prototype=void 0,A}}();function di(S){var T=-1,A=S==null?0:S.length;for(this.clear();++T<A;){var q=S[T];this.set(q[0],q[1])}}function eD(){this.__data__=Pl?Pl(null):{},this.size=0}function tD(S){var T=this.has(S)&&delete this.__data__[S];return this.size-=T?1:0,T}function rD(S){var T=this.__data__;if(Pl){var A=T[S];return A===n?void 0:A}return Zt.call(T,S)?T[S]:void 0}function nD(S){var T=this.__data__;return Pl?T[S]!==void 0:Zt.call(T,S)}function iD(S,T){var A=this.__data__;return this.size+=this.has(S)?0:1,A[S]=Pl&&T===void 0?n:T,this}di.prototype.clear=eD,di.prototype.delete=tD,di.prototype.get=rD,di.prototype.has=nD,di.prototype.set=iD;function $r(S){var T=-1,A=S==null?0:S.length;for(this.clear();++T<A;){var q=S[T];this.set(q[0],q[1])}}function oD(){this.__data__=[],this.size=0}function aD(S){var T=this.__data__,A=Bc(T,S);if(A<0)return!1;var q=T.length-1;return A==q?T.pop():X$.call(T,A,1),--this.size,!0}function lD(S){var T=this.__data__,A=Bc(T,S);return A<0?void 0:T[A][1]}function sD(S){return Bc(this.__data__,S)>-1}function uD(S,T){var A=this.__data__,q=Bc(A,S);return q<0?(++this.size,A.push([S,T])):A[q][1]=T,this}$r.prototype.clear=oD,$r.prototype.delete=aD,$r.prototype.get=lD,$r.prototype.has=sD,$r.prototype.set=uD;function Co(S){var T=-1,A=S==null?0:S.length;for(this.clear();++T<A;){var q=S[T];this.set(q[0],q[1])}}function cD(){this.size=0,this.__data__={hash:new di,map:new(ix||$r),string:new di}}function dD(S){var T=Rc(this,S).delete(S);return this.size-=T?1:0,T}function fD(S){return Rc(this,S).get(S)}function pD(S){return Rc(this,S).has(S)}function hD(S,T){var A=Rc(this,S),q=A.size;return A.set(S,T),this.size+=A.size==q?0:1,this}Co.prototype.clear=cD,Co.prototype.delete=dD,Co.prototype.get=fD,Co.prototype.has=pD,Co.prototype.set=hD;function wo(S){var T=this.__data__=new $r(S);this.size=T.size}function vD(){this.__data__=new $r,this.size=0}function mD(S){var T=this.__data__,A=T.delete(S);return this.size=T.size,A}function gD(S){return this.__data__.get(S)}function yD(S){return this.__data__.has(S)}function bD(S,T){var A=this.__data__;if(A instanceof $r){var q=A.__data__;if(!ix||q.length<r-1)return q.push([S,T]),this.size=++A.size,this;A=this.__data__=new Co(q)}return A.set(S,T),this.size=A.size,this}wo.prototype.clear=vD,wo.prototype.delete=mD,wo.prototype.get=gD,wo.prototype.has=yD,wo.prototype.set=bD;function xD(S,T){var A=Sh(S),q=!A&&wh(S),ae=!A&&!q&&ux(S),me=!A&&!q&&!ae&&dx(S),Te=A||q||ae||me,oe=Te?Wt(S.length,String):[],Me=oe.length;for(var Gt in S)(T||Zt.call(S,Gt))&&!(Te&&(Gt=="length"||ae&&(Gt=="offset"||Gt=="parent")||me&&(Gt=="buffer"||Gt=="byteLength"||Gt=="byteOffset")||lx(Gt,Me)))&&oe.push(Gt);return oe}function yh(S,T,A){(A!==void 0&&!Ic(S[T],A)||A===void 0&&!(T in S))&&bh(S,T,A)}function CD(S,T,A){var q=S[T];(!(Zt.call(S,T)&&Ic(q,A))||A===void 0&&!(T in S))&&bh(S,T,A)}function Bc(S,T){for(var A=S.length;A--;)if(Ic(S[A][0],T))return A;return-1}function bh(S,T,A){T=="__proto__"&&Lc?Lc(S,T,{configurable:!0,enumerable:!0,value:A,writable:!0}):S[T]=A}var wD=VD();function Vc(S){return S==null?S===void 0?P:g:ci&&ci in Object(S)?RD(S):ND(S)}function ox(S){return _l(S)&&Vc(S)==l}function SD(S){if(!fi(S)||HD(S))return!1;var T=Eh(S)?Oc:L;return T.test(ZD(S))}function kD(S){return _l(S)&&cx(S.length)&&!!R[Vc(S)]}function ED(S){if(!fi(S))return zD(S);var T=sx(S),A=[];for(var q in S)q=="constructor"&&(T||!Zt.call(S,q))||A.push(q);return A}function ax(S,T,A,q,ae){S!==T&&wD(T,function(me,Te){if(ae||(ae=new wo),fi(me))PD(S,T,Te,A,ax,q,ae);else{var oe=q?q(Ch(S,Te),me,Te+"",S,T,ae):void 0;oe===void 0&&(oe=me),yh(S,Te,oe)}},fx)}function PD(S,T,A,q,ae,me,Te){var oe=Ch(S,A),Me=Ch(T,A),Gt=Te.get(Me);if(Gt){yh(S,A,Gt);return}var Ft=me?me(oe,Me,A+"",S,T,Te):void 0,Tl=Ft===void 0;if(Tl){var Ph=Sh(Me),_h=!Ph&&ux(Me),hx=!Ph&&!_h&&dx(Me);Ft=Me,Ph||_h||hx?Sh(oe)?Ft=oe:GD(oe)?Ft=OD(oe):_h?(Tl=!1,Ft=MD(Me,!0)):hx?(Tl=!1,Ft=AD(Me,!0)):Ft=[]:qD(Me)||wh(Me)?(Ft=oe,wh(oe)?Ft=YD(oe):(!fi(oe)||Eh(oe))&&(Ft=ID(Me))):Tl=!1}Tl&&(Te.set(Me,Ft),ae(Ft,Me,q,me,Te),Te.delete(Me)),yh(S,A,Ft)}function _D(S,T){return WD(jD(S,T,px),S+"")}var TD=Lc?function(S,T){return Lc(S,"toString",{configurable:!0,enumerable:!1,value:KD(T),writable:!0})}:px;function MD(S,T){if(T)return S.slice();var A=S.length,q=ex?ex(A):new S.constructor(A);return S.copy(q),q}function FD(S){var T=new S.constructor(S.byteLength);return new J4(T).set(new J4(S)),T}function AD(S,T){var A=T?FD(S.buffer):S.buffer;return new S.constructor(A,S.byteOffset,S.length)}function OD(S,T){var A=-1,q=S.length;for(T||(T=Array(q));++A<q;)T[A]=S[A];return T}function LD(S,T,A,q){var ae=!A;A||(A={});for(var me=-1,Te=T.length;++me<Te;){var oe=T[me],Me=q?q(A[oe],S[oe],oe,A,S):void 0;Me===void 0&&(Me=S[oe]),ae?bh(A,oe,Me):CD(A,oe,Me)}return A}function BD(S){return _D(function(T,A){var q=-1,ae=A.length,me=ae>1?A[ae-1]:void 0,Te=ae>2?A[2]:void 0;for(me=S.length>3&&typeof me=="function"?(ae--,me):void 0,Te&&$D(A[0],A[1],Te)&&(me=ae<3?void 0:me,ae=1),T=Object(T);++q<ae;){var oe=A[q];oe&&S(T,oe,q,me)}return T})}function VD(S){return function(T,A,q){for(var ae=-1,me=Object(T),Te=q(T),oe=Te.length;oe--;){var Me=Te[S?oe:++ae];if(A(me[Me],Me,me)===!1)break}return T}}function Rc(S,T){var A=S.__data__;return DD(T)?A[typeof T=="string"?"string":"hash"]:A.map}function xh(S,T){var A=Mc(S,T);return SD(A)?A:void 0}function RD(S){var T=Zt.call(S,ci),A=S[ci];try{S[ci]=void 0;var q=!0}catch{}var ae=El.call(S);return q&&(T?S[ci]=A:delete S[ci]),ae}function ID(S){return typeof S.constructor=="function"&&!sx(S)?J$(tx(S)):{}}function lx(S,T){var A=typeof S;return T=T==null?a:T,!!T&&(A=="number"||A!="symbol"&&D.test(S))&&S>-1&&S%1==0&&S<T}function $D(S,T,A){if(!fi(A))return!1;var q=typeof T;return(q=="number"?kh(A)&&lx(T,A.length):q=="string"&&T in A)?Ic(A[T],S):!1}function DD(S){var T=typeof S;return T=="string"||T=="number"||T=="symbol"||T=="boolean"?S!=="__proto__":S===null}function HD(S){return!!xo&&xo in S}function sx(S){var T=S&&S.constructor,A=typeof T=="function"&&T.prototype||Ut;return S===A}function zD(S){var T=[];if(S!=null)for(var A in Object(S))T.push(A);return T}function ND(S){return El.call(S)}function jD(S,T,A){return T=nx(T===void 0?S.length-1:T,0),function(){for(var q=arguments,ae=-1,me=nx(q.length-T,0),Te=Array(me);++ae<me;)Te[ae]=q[T+ae];ae=-1;for(var oe=Array(T+1);++ae<T;)oe[ae]=q[ae];return oe[T]=A(Te),st(S,this,oe)}}function Ch(S,T){if(!(T==="constructor"&&typeof S[T]=="function")&&T!="__proto__")return S[T]}var WD=UD(TD);function UD(S){var T=0,A=0;return function(){var q=Q$(),ae=o-(q-A);if(A=q,ae>0){if(++T>=i)return arguments[0]}else T=0;return S.apply(void 0,arguments)}}function ZD(S){if(S!=null){try{return si.call(S)}catch{}try{return S+""}catch{}}return""}function Ic(S,T){return S===T||S!==S&&T!==T}var wh=ox(function(){return arguments}())?ox:function(S){return _l(S)&&Zt.call(S,"callee")&&!Y$.call(S,"callee")},Sh=Array.isArray;function kh(S){return S!=null&&cx(S.length)&&!Eh(S)}function GD(S){return _l(S)&&kh(S)}var ux=K$||QD;function Eh(S){if(!fi(S))return!1;var T=Vc(S);return T==h||T==m||T==u||T==x}function cx(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=a}function fi(S){var T=typeof S;return S!=null&&(T=="object"||T=="function")}function _l(S){return S!=null&&typeof S=="object"}function qD(S){if(!_l(S)||Vc(S)!=b)return!1;var T=tx(S);if(T===null)return!0;var A=Zt.call(T,"constructor")&&T.constructor;return typeof A=="function"&&A instanceof A&&si.call(A)==Ac}var dx=Ee?vh(Ee):kD;function YD(S){return LD(S,fx(S))}function fx(S){return kh(S)?xD(S,!0):ED(S)}var XD=BD(function(S,T,A,q){ax(S,T,A,q)});function KD(S){return function(){return S}}function px(S){return S}function QD(){return!1}e.exports=XD})(Yc,Yc.exports);var At=Yc.exports;function f8(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Fn(e){return typeof e=="number"}function Xc(e){return Array.isArray(e)}function Hr(e){return typeof e=="function"}function p8(e){return typeof e=="undefined"||e===void 0}function ht(e){var t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Xc(e)}function h8(e){return ht(e)&&Object.keys(e).length===0}function ql(e){return Object.prototype.toString.call(e)==="[object String]"}function Jh(e){return/^var\(--.+\)$/.test(e)}var xr=!1;function Yl(e,t){var r={};return Object.keys(e).forEach(function(n){t.includes(n)||(r[n]=e[n])}),r}function ev(e,t){var r={};return t.forEach(function(n){n in e&&(r[n]=e[n])}),r}function v8(e,t,r,n){var i=typeof t=="string"?t.split("."):[t];for(n=0;n<i.length&&e;n+=1)e=e[i[n]];return e===void 0?r:e}var m8=function(t){var r=new WeakMap,n=function(o,a,l,s){if(typeof o=="undefined")return t(o,a,l);r.has(o)||r.set(o,new Map);var u=r.get(o);if(u.has(a))return u.get(a);var c=t(o,a,l,s);return u.set(a,c),c};return n},Xl=m8(v8);function tv(e,t){var r={};return Object.keys(e).forEach(function(n){var i=e[n],o=t(i,n,e);o&&(r[n]=i)}),r}var Kc=function(t){return tv(t,function(r){return r!=null})},Qc=function(t){return Object.keys(t)},Kl=function(t){return t.reduce(function(r,n){var i=n[0],o=n[1];return r[i]=o,r},{})},g8=function(t,r,n){var i,o;return(i=(o=t.__cssMap[r+"."+n])==null?void 0:o.varRef)!=null?i:n};function y8(e){var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}function Ql(e){if(e==null)return e;var t=y8(e),r=t.unitless;return r||Fn(e)?e+"px":e}var rv=function(t,r){return parseInt(t[1],10)>parseInt(r[1],10)?1:-1},Jc=function(t){return Kl(Object.entries(t).sort(rv))};function nv(e){var t=Jc(e);return Object.assign(Object.values(t),t)}function b8(e){var t=Object.keys(Jc(e));return new Set(t)}function x8(e){var t;if(!e)return e;e=(t=Ql(e))!=null?t:e;var r=e.endsWith("px")?-1:-.0635;return Fn(e)?""+(e+r):e.replace(/([0-9]+\.?[0-9]*)/,function(n){return""+(parseFloat(n)+r)})}function Jl(e,t){var r=["@media screen"];return e&&r.push("and","(min-width: "+Ql(e)+")"),t&&r.push("and","(max-width: "+Ql(t)+")"),r.join(" ")}function C8(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";var r=nv(e),n=Object.entries(e).sort(rv).map(function(a,l,s){var u,c=a[0],f=a[1],d=(u=s[l+1])!=null?u:[],h=d[1];return h=parseFloat(h)>0?x8(h):void 0,{breakpoint:c,minW:f,maxW:h,maxWQuery:Jl(null,h),minWQuery:Jl(f),minMaxQuery:Jl(f,h)}}),i=b8(e),o=Array.from(i.values());return{keys:i,normalized:r,isResponsive:function(l){var s=Object.keys(l);return s.length>0&&s.every(function(u){return i.has(u)})},asObject:Jc(e),asArray:nv(e),details:n,media:[null].concat(r.map(function(a){return Jl(a)}).slice(1)),toArrayValue:function(l){if(!ht(l))throw new Error("toArrayValue: value must be an object");for(var s=o.map(function(u){var c;return(c=l[u])!=null?c:null});f8(s)===null;)s.pop();return s},toObjectValue:function(l){if(!Array.isArray(l))throw new Error("toObjectValue: value must be an array");return l.reduce(function(s,u,c){var f=o[c];return f!=null&&u!=null&&(s[f]=u),s},{})}}}function iv(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function ed(e){var t;if(!iv(e))return!1;var r=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof r.HTMLElement}function ov(e){var t;return iv(e)&&(t=e.ownerDocument)!=null?t:document}function w8(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var zr=w8(),av=function(t){return t?"":void 0},ze=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.filter(Boolean).join(" ")},S8=function(t){return t.hasAttribute("tabindex")};function k8(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function E8(e){return ed(e)&&e.tagName.toLowerCase()==="input"&&"select"in e}function P8(e){var t=ed(e)?ov(e):document;return t.activeElement===e}function lv(e){return e.parentElement&&lv(e.parentElement)?!0:e.hidden}function _8(e){var t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function T8(e){if(!ed(e)||lv(e)||k8(e))return!1;var t=e.localName,r=["input","select","textarea","button"];if(r.indexOf(t)>=0)return!0;var n={a:function(){return e.hasAttribute("href")},audio:function(){return e.hasAttribute("controls")},video:function(){return e.hasAttribute("controls")}};return t in n?n[t]():_8(e)?!0:S8(e)}var M8=["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],F8=M8.join();function A8(e){var t=Array.from(e.querySelectorAll(F8));return t.unshift(e),t.filter(T8).filter(function(r){return window.getComputedStyle(r).display!=="none"})}function sv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function O8(e,t){if(!!e){if(typeof e=="string")return sv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return sv(e,t)}}function L8(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=O8(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
285
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ot(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Hr(e)?e.apply(void 0,r):e}function qt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){t.some(function(o){return o==null||o(i),i==null?void 0:i.defaultPrevented})}}function B8(e){var t;return function(){if(e){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];t=e.apply(this,i),e=null}return t}}var Mo=function(){},uv=B8(function(e){return function(){var t=e.condition,r=e.message;t&&xr&&console.warn(r)}}),V8=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return function(i){return r.reduce(function(o,a){return a(o)},i)}};function R8(e,t){t===void 0&&(t={});var r=t,n=r.isActive,i=n===void 0?P8:n,o=r.nextTick,a=r.preventScroll,l=a===void 0?!0:a,s=r.selectTextIfInput,u=s===void 0?!0:s;if(!e||i(e))return-1;function c(){if(!e){uv({condition:!0,message:"[chakra-ui]: can't call focus() on `null` or `undefined` element"});return}if(I8())e.focus({preventScroll:l});else if(e.focus(),l){var f=$8(e);D8(f)}E8(e)&&u&&e.select()}return o?requestAnimationFrame(c):(c(),-1)}var es=null;function I8(){if(es==null){es=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return es=!0,!0}})}catch{}}return es}function $8(e){for(var t,r=ov(e),n=(t=r.defaultView)!=null?t:window,i=e.parentNode,o=[],a=r.scrollingElement||r.documentElement;i instanceof n.HTMLElement&&i!==a;)(i.offsetHeight<i.scrollHeight||i.offsetWidth<i.scrollWidth)&&o.push({element:i,scrollTop:i.scrollTop,scrollLeft:i.scrollLeft}),i=i.parentNode;return a instanceof n.HTMLElement&&o.push({element:a,scrollTop:a.scrollTop,scrollLeft:a.scrollLeft}),o}function D8(e){for(var t=L8(e),r;!(r=t()).done;){var n=r.value,i=n.element,o=n.scrollTop,a=n.scrollLeft;i.scrollTop=o,i.scrollLeft=a}}function td(e,t){return t===void 0&&(t=1/0),!ht(e)&&!Array.isArray(e)||!t?e:Object.entries(e).reduce(function(r,n){var i=n[0],o=n[1];return ht(o)||Xc(o)?Object.entries(td(o,t-1)).forEach(function(a){var l=a[0],s=a[1];r[i+"."+l]=s}):r[i]=o,r},{})}function H8(e,t,r){return(e-t)*100/(r-t)}Object.freeze(["base","sm","md","lg","xl","2xl"]);function cv(e,t){return Xc(e)?e.map(function(r){return r===null?null:t(r)}):ht(e)?Qc(e).reduce(function(r,n){return r[n]=t(e[n]),r},{}):e!=null?t(e):null}function z8(e,t){if(e!=null){if(Hr(e)){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function Fo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){t.forEach(function(i){return z8(i,n)})}}function An(e){e===void 0&&(e={});var t=e,r=t.strict,n=r===void 0?!0:r,i=t.errorMessage,o=i===void 0?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":i,a=t.name,l=w.createContext(void 0);l.displayName=a;function s(){var u=w.useContext(l);if(!u&&n){var c=new Error(o);throw c.name="ContextError",Error.captureStackTrace==null||Error.captureStackTrace(c,s),c}return u}return[l.Provider,s,l]}function dv(e){return w.Children.toArray(e).filter(function(t){return w.isValidElement(t)})}var Ao=zr?w.useLayoutEffect:w.useEffect;function rd(e,t){t===void 0&&(t=[]);var r=w.useRef(e);return Ao(function(){r.current=e}),w.useCallback(function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r.current==null?void 0:r.current.apply(r,i)},t)}function fv(e,t,r,n){var i=rd(t);return w.useEffect(function(){var o,a=(o=Ot(r))!=null?o:document;if(!!t)return a.addEventListener(e,i,n),function(){a.removeEventListener(e,i,n)}},[e,r,n,i,t]),function(){var o,a=(o=Ot(r))!=null?o:document;a.removeEventListener(e,i,n)}}function N8(e,t){var r=e!==void 0,n=r&&typeof e!="undefined"?e:t;return[r,n]}function ts(){return ts=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ts.apply(this,arguments)}var j8={current:1},pv=w.createContext(j8),W8=w.memo(function(e){var t=e.children;return w.createElement(pv.Provider,{value:{current:1}},t)}),U8=function(t){return t.current++};function nd(e,t){var r=w.useContext(pv),n=w.useState(r.current),i=n[0],o=n[1];return w.useEffect(function(){o(U8(r))},[r]),w.useMemo(function(){return e||[t,i].filter(Boolean).join("-")},[e,t,i])}function Z8(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=nd(e);return w.useMemo(function(){return r.map(function(o){return o+"-"+i})},[i,r])}function hv(e){e===void 0&&(e={});var t=e,r=t.onClose,n=t.onOpen,i=t.isOpen,o=t.id,a=rd(n),l=rd(r),s=w.useState(e.defaultIsOpen||!1),u=s[0],c=s[1],f=N8(i,u),d=f[0],h=f[1],m=nd(o,"disclosure"),y=w.useCallback(function(){d||c(!1),l==null||l()},[d,l]),v=w.useCallback(function(){d||c(!0),a==null||a()},[d,a]),g=w.useCallback(function(){var b=h?y:v;b()},[h,v,y]);return{isOpen:!!h,onOpen:v,onClose:y,onToggle:g,isControlled:d,getButtonProps:function(x){return x===void 0&&(x={}),ts({},x,{"aria-expanded":"true","aria-controls":m,onClick:qt(x.onClick,g)})},getDisclosureProps:function(x){return x===void 0&&(x={}),ts({},x,{hidden:!h,id:m})}}}function G8(e,t){return t===void 0&&(t=[]),w.useEffect(function(){return function(){return e()}},t)}function vv(){var e=w.useRef(!1),t=w.useState(0),r=t[0],n=t[1];return G8(function(){e.current=!0}),w.useCallback(function(){e.current||n(r+1)},[r])}function q8(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function Y8(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return w.useMemo(function(){return t.every(function(n){return n==null})?null:function(n){t.forEach(function(i){i&&q8(i,n)})}},t)}var id={exports:{}},Lt={};/*
|
|
286
286
|
object-assign
|
|
287
287
|
(c) Sindre Sorhus
|
|
288
288
|
@license MIT
|
|
289
|
-
*/var mv=Object.getOwnPropertySymbols,
|
|
289
|
+
*/var mv=Object.getOwnPropertySymbols,X8=Object.prototype.hasOwnProperty,K8=Object.prototype.propertyIsEnumerable;function Q8(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function J8(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(o){return t[o]});if(n.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var eC=J8()?Object.assign:function(e,t){for(var r,n=Q8(e),i,o=1;o<arguments.length;o++){r=Object(arguments[o]);for(var a in r)X8.call(r,a)&&(n[a]=r[a]);if(mv){i=mv(r);for(var l=0;l<i.length;l++)K8.call(r,i[l])&&(n[i[l]]=r[i[l]])}}return n},gv={exports:{}},yv={};/** @license React v0.20.2
|
|
290
290
|
* scheduler.production.min.js
|
|
291
291
|
*
|
|
292
292
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -316,7 +316,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
316
316
|
* This source code is licensed under the MIT license found in the
|
|
317
317
|
* LICENSE file in the root directory of this source tree.
|
|
318
318
|
*/var ow=Dr.default,cg=60103;if(_a.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var dg=Symbol.for;cg=dg("react.element"),_a.Fragment=dg("react.fragment")}var aw=ow.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,lw=Object.prototype.hasOwnProperty,sw={key:!0,ref:!0,__self:!0,__source:!0};function fg(e,t,r){var n,i={},o=null,a=null;r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(n in t)lw.call(t,n)&&!sw.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)i[n]===void 0&&(i[n]=t[n]);return{$$typeof:cg,type:e,key:o,ref:a,props:i,_owner:aw.current}}_a.jsx=fg,_a.jsxs=fg,au.exports=_a;const p=au.exports.jsx,z=au.exports.jsxs,Ui=au.exports.Fragment;var uw={body:{classList:{add:function(){},remove:function(){}}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}}},pg=uw,Zi=function(){},cw={document:pg,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:Zi,removeEventListener:Zi,getComputedStyle:function(){return{getPropertyValue:function(){return""}}},matchMedia:function(){return{matches:!1,addListener:Zi,removeListener:Zi}},requestAnimationFrame:function(t){return typeof setTimeout=="undefined"?(t(),null):setTimeout(t,0)},cancelAnimationFrame:function(t){typeof setTimeout!="undefined"&&clearTimeout(t)},setTimeout:function(){return 0},clearTimeout:Zi,setInterval:function(){return 0},clearInterval:Zi},dw=cw,fw={window:dw,document:pg},hg=zr?{window,document}:fw,vg=O.createContext(hg);function mg(){return O.useContext(vg)}function pw(e){var t=e.children,r=e.environment,n=O.useState(null),i=n[0],o=n[1],a=O.useMemo(function(){var s,u=i==null?void 0:i.ownerDocument,c=i==null?void 0:i.ownerDocument.defaultView,f=u?{document:u,window:c}:void 0,d=(s=r!=null?r:f)!=null?s:hg;return d},[i,r]),l=!i&&!r;return z(vg.Provider,{value:a,children:[t,l&&p("span",{ref:function(u){u&&o(u)}})]})}var lu={light:"chakra-ui-light",dark:"chakra-ui-dark"},hw={classList:{add:Mo,remove:Mo}},vw=function(t){return zr?t.body:hw};function mw(e,t){var r=vw(t);r.classList.add(e?lu.dark:lu.light),r.classList.remove(e?lu.light:lu.dark)}function gw(e){var t=window.matchMedia==null?void 0:window.matchMedia(e);if(!!t)return!!t.media===t.matches}var gg={light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};function yw(e){var t,r=(t=gw(gg.dark))!=null?t:e==="dark";return r?"dark":"light"}function bw(e){if(!("matchMedia"in window))return Mo;var t=window.matchMedia(gg.dark),r=function(){e(t.matches?"dark":"light",!0)};return t.addEventListener("change",r),function(){t.removeEventListener("change",r)}}var yg={get:function(){return document.documentElement.style.getPropertyValue("--chakra-ui-color-mode")||document.documentElement.dataset.theme},set:function(t){zr&&(document.documentElement.style.setProperty("--chakra-ui-color-mode",t),document.documentElement.setAttribute("data-theme",t))}},bg=function(){return typeof Storage!="undefined"},xg="chakra-ui-color-mode",xw={get:function(t){if(!bg())return t;try{var r=localStorage.getItem(xg);return r!=null?r:t}catch{return t}},set:function(t){if(!!bg())try{localStorage.setItem(xg,t)}catch{}},type:"localStorage"},Cg=w.createContext({}),wg=function(){var t=w.useContext(Cg);if(t===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return t};function Cw(e){var t=e.value,r=e.children,n=e.options,i=n.useSystemColorMode,o=n.initialColorMode,a=e.colorModeManager,l=a===void 0?xw:a,s=o==="dark"?"dark":"light",u=w.useState(l.type==="cookie"?l.get(s):s),c=u[0],f=u[1],d=mg(),h=d.document;w.useEffect(function(){if(zr&&l.type==="localStorage"){var g=yw(s);if(i)return f(g);var b=yg.get(),x=l.get();return f(b||x||(o==="system"?g:s))}},[l,i,s,o]),w.useEffect(function(){var g=c==="dark";mw(g,h),yg.set(g?"dark":"light")},[c,h]);var m=w.useCallback(function(g,b){if(b===void 0&&(b=!1),!b)l.set(g);else if(l.get()&&!i)return;f(g)},[l,i]),y=w.useCallback(function(){m(c==="light"?"dark":"light")},[c,m]);w.useEffect(function(){var g=i||o==="system",b;return g&&(b=bw(m)),function(){b&&g&&b()}},[m,i,o]);var v=w.useMemo(function(){return{colorMode:t!=null?t:c,toggleColorMode:t?Mo:y,setColorMode:t?Mo:m}},[c,m,y,t]);return w.createElement(Cg.Provider,{value:v},r)}function Ta(){return Ta=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ta.apply(this,arguments)}var ww=function(t,r){return function(n){var i=String(r),o=t?t+"."+i:i;return ht(n.__cssMap)&&o in n.__cssMap?n.__cssMap[o].varRef:r}};function Ma(e){var t=e.scale,r=e.transform,n=e.compose,i=function(a,l){var s,u=ww(t,a)(l),c=(s=r==null?void 0:r(u,l))!=null?s:u;return n&&(c=n(c,l)),c};return i}function Kt(e,t){return function(r){var n={property:r,scale:e};return n.transform=Ma({scale:e,transform:t}),n}}var Sw=function(t){var r=t.rtl,n=t.ltr;return function(i){return i.direction==="rtl"?r:n}};function kw(e){var t=e.property,r=e.scale,n=e.transform;return{scale:r,property:Sw(t),transform:r?Ma({scale:r,compose:n}):n}}var s0,u0,Sg=["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))"];function Ew(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))"].concat(Sg).join(" ")}function Pw(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)"].concat(Sg).join(" ")}var _w={"--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(" ")},Tw={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,/*!*/ /*!*/)"};function Mw(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(", ")}}var Fw={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},kg="& > :not(style) ~ :not(style)",Aw=(s0={},s0[kg]={marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"},s0),Ow=(u0={},u0[kg]={marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"},u0);function su(e,t){return su=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},su(e,t)}function Lw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&su(e,t)}function c0(){c0=function(i,o){return new r(i,void 0,o)};var e=RegExp.prototype,t=new WeakMap;function r(i,o,a){var l=new RegExp(i,o);return t.set(l,a||t.get(i)),su(l,r.prototype)}Lw(r,RegExp),r.prototype.exec=function(i){var o=e.exec.call(this,i);return o&&(o.groups=n(o,this)),o},r.prototype[Symbol.replace]=function(i,o){if(typeof o=="string"){var a=t.get(this);return e[Symbol.replace].call(this,i,o.replace(/\$<([^>]+)>/g,function(s,u){return"$"+a[u]}))}else if(typeof o=="function"){var l=this;return e[Symbol.replace].call(this,i,function(){var s=arguments;return typeof s[s.length-1]!="object"&&(s=[].slice.call(s),s.push(n(s,l))),o.apply(this,s)})}else return e[Symbol.replace].call(this,i,o)};function n(i,o){var a=t.get(o);return Object.keys(a).reduce(function(l,s){return l[s]=i[a[s]],l},Object.create(null))}return c0.apply(this,arguments)}var d0={"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"},Bw=new Set(Object.values(d0)),Eg=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Vw=function(t){return t.trim()};function Rw(e,t){var r,n;if(e==null||Eg.has(e))return e;var i=c0(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}),o=(r=(n=i.exec(e))==null?void 0:n.groups)!=null?r:{},a=o.type,l=o.values;if(!a||!l)return e;var s=a.includes("-gradient")?a:a+"-gradient",u=l.split(",").map(Vw).filter(Boolean),c=u[0],f=u.slice(1);if((f==null?void 0:f.length)===0)return e;var d=c in d0?d0[c]:c;f.unshift(d);var h=f.map(function(m){if(Bw.has(m))return m;var y=m.indexOf(" "),v=y!==-1?[m.substr(0,y),m.substr(y+1)]:[m],g=v[0],b=v[1],x=Pg(b)?b:b&&b.split(" "),C="colors."+g,k=C in t.__cssMap?t.__cssMap[C].varRef:g;return x?[k].concat(Array.isArray(x)?x:[x]).join(" "):k});return s+"("+h.join(", ")+")"}var Pg=function(t){return ql(t)&&t.includes("(")&&t.includes(")")},Iw=function(t,r){return Rw(t,r!=null?r:{})},$w=function(t){var r=parseFloat(t.toString()),n=t.toString().replace(String(r),"");return{unitless:!n,value:r,unit:n}},pr=function(t){return function(r){return t+"("+r+")"}},pe={filter:function(t){return t!=="auto"?t:_w},backdropFilter:function(t){return t!=="auto"?t:Tw},ring:function(t){return Mw(pe.px(t))},bgClip:function(t){return t==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t}},transform:function(t){return t==="auto"?Ew():t==="auto-gpu"?Pw():t},px:function(t){if(t==null)return t;var r=$w(t),n=r.unitless;return n||Fn(t)?t+"px":t},fraction:function(t){return!Fn(t)||t>1?t:t*100+"%"},float:function(t,r){var n={left:"right",right:"left"};return r.direction==="rtl"?n[t]:t},degree:function(t){if(Jh(t)||t==null)return t;var r=ql(t)&&!t.endsWith("deg");return Fn(t)||r?t+"deg":t},gradient:Iw,blur:pr("blur"),opacity:pr("opacity"),brightness:pr("brightness"),contrast:pr("contrast"),dropShadow:pr("drop-shadow"),grayscale:pr("grayscale"),hueRotate:pr("hue-rotate"),invert:pr("invert"),saturate:pr("saturate"),sepia:pr("sepia"),bgImage:function(t){if(t==null)return t;var r=Pg(t)||Eg.has(t);return r?t:"url("+t+")"},outline:function(t){var r=String(t)==="0"||String(t)==="none";return t!==null&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:t}},flexDirection:function(t){var r,n=(r=Fw[t])!=null?r:{},i=n.space,o=n.divide,a={flexDirection:t};return i&&(a[i]=1),o&&(a[o]=1),a}},_={borderWidths:Kt("borderWidths"),borderStyles:Kt("borderStyles"),colors:Kt("colors"),borders:Kt("borders"),radii:Kt("radii",pe.px),space:Kt("space",pe.px),spaceT:Kt("space",pe.px),degreeT:function(t){return{property:t,transform:pe.degree}},prop:function(t,r,n){return Ta({property:t,scale:r},r&&{transform:Ma({scale:r,transform:n})})},propT:function(t,r){return{property:t,transform:r}},sizes:Kt("sizes",pe.px),sizesT:Kt("sizes",pe.fraction),shadows:Kt("shadows"),logical:kw,blur:Kt("blur",pe.blur)},uu={background:_.colors("background"),backgroundColor:_.colors("backgroundColor"),backgroundImage:_.propT("backgroundImage",pe.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:pe.bgClip},bgSize:_.prop("backgroundSize"),bgPosition:_.prop("backgroundPosition"),bg:_.colors("background"),bgColor:_.colors("backgroundColor"),bgPos:_.prop("backgroundPosition"),bgRepeat:_.prop("backgroundRepeat"),bgAttachment:_.prop("backgroundAttachment"),bgGradient:_.propT("backgroundImage",pe.gradient),bgClip:{transform:pe.bgClip}};Object.assign(uu,{bgImage:uu.backgroundImage,bgImg:uu.backgroundImage});var ue={border:_.borders("border"),borderWidth:_.borderWidths("borderWidth"),borderStyle:_.borderStyles("borderStyle"),borderColor:_.colors("borderColor"),borderRadius:_.radii("borderRadius"),borderTop:_.borders("borderTop"),borderBlockStart:_.borders("borderBlockStart"),borderTopLeftRadius:_.radii("borderTopLeftRadius"),borderStartStartRadius:_.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:_.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:_.radii("borderTopRightRadius"),borderStartEndRadius:_.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:_.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:_.borders("borderRight"),borderInlineEnd:_.borders("borderInlineEnd"),borderBottom:_.borders("borderBottom"),borderBlockEnd:_.borders("borderBlockEnd"),borderBottomLeftRadius:_.radii("borderBottomLeftRadius"),borderBottomRightRadius:_.radii("borderBottomRightRadius"),borderLeft:_.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:_.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:_.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:_.borders(["borderLeft","borderRight"]),borderInline:_.borders("borderInline"),borderY:_.borders(["borderTop","borderBottom"]),borderBlock:_.borders("borderBlock"),borderTopWidth:_.borderWidths("borderTopWidth"),borderBlockStartWidth:_.borderWidths("borderBlockStartWidth"),borderTopColor:_.colors("borderTopColor"),borderBlockStartColor:_.colors("borderBlockStartColor"),borderTopStyle:_.borderStyles("borderTopStyle"),borderBlockStartStyle:_.borderStyles("borderBlockStartStyle"),borderBottomWidth:_.borderWidths("borderBottomWidth"),borderBlockEndWidth:_.borderWidths("borderBlockEndWidth"),borderBottomColor:_.colors("borderBottomColor"),borderBlockEndColor:_.colors("borderBlockEndColor"),borderBottomStyle:_.borderStyles("borderBottomStyle"),borderBlockEndStyle:_.borderStyles("borderBlockEndStyle"),borderLeftWidth:_.borderWidths("borderLeftWidth"),borderInlineStartWidth:_.borderWidths("borderInlineStartWidth"),borderLeftColor:_.colors("borderLeftColor"),borderInlineStartColor:_.colors("borderInlineStartColor"),borderLeftStyle:_.borderStyles("borderLeftStyle"),borderInlineStartStyle:_.borderStyles("borderInlineStartStyle"),borderRightWidth:_.borderWidths("borderRightWidth"),borderInlineEndWidth:_.borderWidths("borderInlineEndWidth"),borderRightColor:_.colors("borderRightColor"),borderInlineEndColor:_.colors("borderInlineEndColor"),borderRightStyle:_.borderStyles("borderRightStyle"),borderInlineEndStyle:_.borderStyles("borderInlineEndStyle"),borderTopRadius:_.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:_.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:_.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:_.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(ue,{rounded:ue.borderRadius,roundedTop:ue.borderTopRadius,roundedTopLeft:ue.borderTopLeftRadius,roundedTopRight:ue.borderTopRightRadius,roundedTopStart:ue.borderStartStartRadius,roundedTopEnd:ue.borderStartEndRadius,roundedBottom:ue.borderBottomRadius,roundedBottomLeft:ue.borderBottomLeftRadius,roundedBottomRight:ue.borderBottomRightRadius,roundedBottomStart:ue.borderEndStartRadius,roundedBottomEnd:ue.borderEndEndRadius,roundedLeft:ue.borderLeftRadius,roundedRight:ue.borderRightRadius,roundedStart:ue.borderInlineStartRadius,roundedEnd:ue.borderInlineEndRadius,borderStart:ue.borderInlineStart,borderEnd:ue.borderInlineEnd,borderTopStartRadius:ue.borderStartStartRadius,borderTopEndRadius:ue.borderStartEndRadius,borderBottomStartRadius:ue.borderEndStartRadius,borderBottomEndRadius:ue.borderEndEndRadius,borderStartRadius:ue.borderInlineStartRadius,borderEndRadius:ue.borderInlineEndRadius,borderStartWidth:ue.borderInlineStartWidth,borderEndWidth:ue.borderInlineEndWidth,borderStartColor:ue.borderInlineStartColor,borderEndColor:ue.borderInlineEndColor,borderStartStyle:ue.borderInlineStartStyle,borderEndStyle:ue.borderInlineEndStyle});var Dw={color:_.colors("color"),textColor:_.colors("color"),fill:_.colors("fill"),stroke:_.colors("stroke")},f0={boxShadow:_.shadows("boxShadow"),mixBlendMode:!0,blendMode:_.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:_.prop("backgroundBlendMode"),opacity:!0};Object.assign(f0,{shadow:f0.boxShadow});var Hw={filter:{transform:pe.filter},blur:_.blur("--chakra-blur"),brightness:_.propT("--chakra-brightness",pe.brightness),contrast:_.propT("--chakra-contrast",pe.contrast),hueRotate:_.degreeT("--chakra-hue-rotate"),invert:_.propT("--chakra-invert",pe.invert),saturate:_.propT("--chakra-saturate",pe.saturate),dropShadow:_.propT("--chakra-drop-shadow",pe.dropShadow),backdropFilter:{transform:pe.backdropFilter},backdropBlur:_.blur("--chakra-backdrop-blur"),backdropBrightness:_.propT("--chakra-backdrop-brightness",pe.brightness),backdropContrast:_.propT("--chakra-backdrop-contrast",pe.contrast),backdropHueRotate:_.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:_.propT("--chakra-backdrop-invert",pe.invert),backdropSaturate:_.propT("--chakra-backdrop-saturate",pe.saturate)},cu={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:pe.flexDirection},experimental_spaceX:{static:Aw,transform:Ma({scale:"space",transform:function(t){return t!==null?{"--chakra-space-x":t}:null}})},experimental_spaceY:{static:Ow,transform:Ma({scale:"space",transform:function(t){return t!=null?{"--chakra-space-y":t}:null}})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:_.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:_.space("gap"),rowGap:_.space("rowGap"),columnGap:_.space("columnGap")};Object.assign(cu,{flexDir:cu.flexDirection});var _g={gridGap:_.space("gridGap"),gridColumnGap:_.space("gridColumnGap"),gridRowGap:_.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},zw={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:pe.outline},outlineOffset:!0,outlineColor:_.colors("outlineColor")},Dt={width:_.sizesT("width"),inlineSize:_.sizesT("inlineSize"),height:_.sizes("height"),blockSize:_.sizes("blockSize"),boxSize:_.sizes(["width","height"]),minWidth:_.sizes("minWidth"),minInlineSize:_.sizes("minInlineSize"),minHeight:_.sizes("minHeight"),minBlockSize:_.sizes("minBlockSize"),maxWidth:_.sizes("maxWidth"),maxInlineSize:_.sizes("maxInlineSize"),maxHeight:_.sizes("maxHeight"),maxBlockSize:_.sizes("maxBlockSize"),d:_.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:_.propT("float",pe.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Dt,{w:Dt.width,h:Dt.height,minW:Dt.minWidth,maxW:Dt.maxWidth,minH:Dt.minHeight,maxH:Dt.maxHeight,overscroll:Dt.overscrollBehavior,overscrollX:Dt.overscrollBehaviorX,overscrollY:Dt.overscrollBehaviorY});var Nw={listStyleType:!0,listStylePosition:!0,listStylePos:_.prop("listStylePosition"),listStyleImage:!0,listStyleImg:_.prop("listStyleImage")},jw={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Ww={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},p0=function(t,r,n){var i={},o=Xl(t,r,{});for(var a in o){var l=a in n&&n[a]!=null;l||(i[a]=o[a])}return i},Uw={srOnly:{transform:function(t){return t===!0?jw:t==="focusable"?Ww:{}}},layerStyle:{processResult:!0,transform:function(t,r,n){return p0(r,"layerStyles."+t,n)}},textStyle:{processResult:!0,transform:function(t,r,n){return p0(r,"textStyles."+t,n)}},apply:{processResult:!0,transform:function(t,r,n){return p0(r,t,n)}}},Fa={position:!0,pos:_.prop("position"),zIndex:_.prop("zIndex","zIndices"),inset:_.spaceT("inset"),insetX:_.spaceT(["left","right"]),insetInline:_.spaceT("insetInline"),insetY:_.spaceT(["top","bottom"]),insetBlock:_.spaceT("insetBlock"),top:_.spaceT("top"),insetBlockStart:_.spaceT("insetBlockStart"),bottom:_.spaceT("bottom"),insetBlockEnd:_.spaceT("insetBlockEnd"),left:_.spaceT("left"),insetInlineStart:_.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:_.spaceT("right"),insetInlineEnd:_.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Fa,{insetStart:Fa.insetInlineStart,insetEnd:Fa.insetInlineEnd});var Zw={ring:{transform:pe.ring},ringColor:_.colors("--chakra-ring-color"),ringOffset:_.prop("--chakra-ring-offset-width"),ringOffsetColor:_.colors("--chakra-ring-offset-color"),ringInset:_.prop("--chakra-ring-inset")},Se={margin:_.spaceT("margin"),marginTop:_.spaceT("marginTop"),marginBlockStart:_.spaceT("marginBlockStart"),marginRight:_.spaceT("marginRight"),marginInlineEnd:_.spaceT("marginInlineEnd"),marginBottom:_.spaceT("marginBottom"),marginBlockEnd:_.spaceT("marginBlockEnd"),marginLeft:_.spaceT("marginLeft"),marginInlineStart:_.spaceT("marginInlineStart"),marginX:_.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:_.spaceT("marginInline"),marginY:_.spaceT(["marginTop","marginBottom"]),marginBlock:_.spaceT("marginBlock"),padding:_.space("padding"),paddingTop:_.space("paddingTop"),paddingBlockStart:_.space("paddingBlockStart"),paddingRight:_.space("paddingRight"),paddingBottom:_.space("paddingBottom"),paddingBlockEnd:_.space("paddingBlockEnd"),paddingLeft:_.space("paddingLeft"),paddingInlineStart:_.space("paddingInlineStart"),paddingInlineEnd:_.space("paddingInlineEnd"),paddingX:_.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:_.space("paddingInline"),paddingY:_.space(["paddingTop","paddingBottom"]),paddingBlock:_.space("paddingBlock")};Object.assign(Se,{m:Se.margin,mt:Se.marginTop,mr:Se.marginRight,me:Se.marginInlineEnd,marginEnd:Se.marginInlineEnd,mb:Se.marginBottom,ml:Se.marginLeft,ms:Se.marginInlineStart,marginStart:Se.marginInlineStart,mx:Se.marginX,my:Se.marginY,p:Se.padding,pt:Se.paddingTop,py:Se.paddingY,px:Se.paddingX,pb:Se.paddingBottom,pl:Se.paddingLeft,ps:Se.paddingInlineStart,paddingStart:Se.paddingInlineStart,pr:Se.paddingRight,pe:Se.paddingInlineEnd,paddingEnd:Se.paddingInlineEnd});var Gw={textDecorationColor:_.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:_.shadows("textShadow")},qw={clipPath:!0,transform:_.propT("transform",pe.transform),transformOrigin:!0,translateX:_.spaceT("--chakra-translate-x"),translateY:_.spaceT("--chakra-translate-y"),skewX:_.degreeT("--chakra-skew-x"),skewY:_.degreeT("--chakra-skew-y"),scaleX:_.prop("--chakra-scale-x"),scaleY:_.prop("--chakra-scale-y"),scale:_.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:_.degreeT("--chakra-rotate")},Yw={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:_.prop("transitionDuration","transition.duration"),transitionProperty:_.prop("transitionProperty","transition.property"),transitionTimingFunction:_.prop("transitionTimingFunction","transition.easing")},Xw={fontFamily:_.prop("fontFamily","fonts"),fontSize:_.prop("fontSize","fontSizes",pe.px),fontWeight:_.prop("fontWeight","fontWeights"),lineHeight:_.prop("lineHeight","lineHeights"),letterSpacing:_.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"},isTruncated:{transform:function(t){if(t===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}},Kw={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:_.spaceT("scrollMargin"),scrollMarginTop:_.spaceT("scrollMarginTop"),scrollMarginBottom:_.spaceT("scrollMarginBottom"),scrollMarginLeft:_.spaceT("scrollMarginLeft"),scrollMarginRight:_.spaceT("scrollMarginRight"),scrollMarginX:_.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:_.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:_.spaceT("scrollPadding"),scrollPaddingTop:_.spaceT("scrollPaddingTop"),scrollPaddingBottom:_.spaceT("scrollPaddingBottom"),scrollPaddingLeft:_.spaceT("scrollPaddingLeft"),scrollPaddingRight:_.spaceT("scrollPaddingRight"),scrollPaddingX:_.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:_.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function Tg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Qw(e,t){if(!!e){if(typeof e=="string")return Tg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Tg(e,t)}}function Jw(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=Qw(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
319
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Qe={hover:function(t,r){return t+":hover "+r+", "+t+"[data-hover] "+r},focus:function(t,r){return t+":focus "+r+", "+t+"[data-focus] "+r},focusVisible:function(t,r){return t+":focus-visible "+r},focusWithin:function(t,r){return t+":focus-within "+r},active:function(t,r){return t+":active "+r+", "+t+"[data-active] "+r},disabled:function(t,r){return t+":disabled "+r+", "+t+"[data-disabled] "+r},invalid:function(t,r){return t+":invalid "+r+", "+t+"[data-invalid] "+r},checked:function(t,r){return t+":checked "+r+", "+t+"[data-checked] "+r},indeterminate:function(t,r){return t+":indeterminate "+r+", "+t+"[aria-checked=mixed] "+r+", "+t+"[data-indeterminate] "+r},readOnly:function(t,r){return t+":read-only "+r+", "+t+"[readonly] "+r+", "+t+"[data-read-only] "+r},expanded:function(t,r){return t+":read-only "+r+", "+t+"[aria-expanded=true] "+r+", "+t+"[data-expanded] "+r},placeholderShown:function(t,r){return t+":placeholder-shown "+r}},un=function(t){return Mg(function(r){return t(r,"&")},"[role=group]","[data-group]",".group")},_r=function(t){return Mg(function(r){return t(r,"~ &")},"[data-peer]",".peer")},Mg=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(t).join(", ")},Aa={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible",_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",_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:un(Qe.hover),_peerHover:_r(Qe.hover),_groupFocus:un(Qe.focus),_peerFocus:_r(Qe.focus),_groupFocusVisible:un(Qe.focusVisible),_peerFocusVisible:_r(Qe.focusVisible),_groupActive:un(Qe.active),_peerActive:_r(Qe.active),_groupDisabled:un(Qe.disabled),_peerDisabled:_r(Qe.disabled),_groupInvalid:un(Qe.invalid),_peerInvalid:_r(Qe.invalid),_groupChecked:un(Qe.checked),_peerChecked:_r(Qe.checked),_groupFocusWithin:un(Qe.focusWithin),_peerFocusWithin:_r(Qe.focusWithin),_peerPlaceholderShown:_r(Qe.placeholderShown),_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]"},eS=Qc(Aa),h0=At({},uu,ue,Dw,cu,Dt,Hw,Zw,zw,_g,Uw,Fa,f0,Se,Kw,Xw,Gw,qw,Nw,Yw);Object.assign({},Se,Dt,cu,_g,Fa);var tS=[].concat(Qc(h0),eS),rS=Ta({},h0,Aa),nS=function(t){return t in rS},iS=function(t){return function(r){if(!r.__breakpoints)return t;var n=r.__breakpoints,i=n.isResponsive,o=n.toArrayValue,a=n.media,l={};for(var s in t){var u=Ot(t[s],r);if(u!=null){if(u=ht(u)&&i(u)?o(u):u,!Array.isArray(u)){l[s]=u;continue}for(var c=u.slice(0,a.length).length,f=0;f<c;f+=1){var d=a==null?void 0:a[f];if(!d){l[s]=u[f];continue}l[d]=l[d]||{},u[f]!=null&&(l[d][s]=u[f])}}}return l}},oS=function(t,r){return t.startsWith("--")&&ql(r)&&!Jh(r)},aS=function(t,r){var n,i;if(r==null)return r;var o=function(f){var d,h;return(d=t.__cssMap)==null||(h=d[f])==null?void 0:h.varRef},a=function(f){var d;return(d=o(f))!=null?d:f},l=r.split(",").map(function(c){return c.trim()}),s=l[0],u=l[1];return r=(n=(i=o(s))!=null?i:a(u))!=null?n:a(r),r};function lS(e){var t=e.configs,r=t===void 0?{}:t,n=e.pseudos,i=n===void 0?{}:n,o=e.theme,a=function l(s,u){u===void 0&&(u=!1);var c=Ot(s,o),f=iS(c)(o),d={};for(var h in f){var m,y,v,g,b,x=f[h],C=Ot(x,o);h in i&&(h=i[h]),oS(h,C)&&(C=aS(o,C));var k=r[h];if(k===!0&&(k={property:h}),ht(C)){var E;d[h]=(E=d[h])!=null?E:{},d[h]=At({},d[h],l(C,!0));continue}var P=(m=(y=k)==null||y.transform==null?void 0:y.transform(C,o,c))!=null?m:C;P=(v=k)!=null&&v.processResult?l(P,!0):P;var F=Ot((g=k)==null?void 0:g.property,o);if(!u&&(b=k)!=null&&b.static){var M=Ot(k.static,o);d=At({},d,M)}if(F&&Array.isArray(F)){for(var I=Jw(F),G;!(G=I()).done;){var U=G.value;d[U]=P}continue}if(F){F==="&"&&ht(P)?d=At({},d,P):d[F]=P;continue}if(ht(P)){d=At({},d,P);continue}d[h]=P}return d};return a}var Fg=function(t){return function(r){var n=lS({theme:r,pseudos:Aa,configs:h0});return n(t)}};function Ag(e){return ht(e)&&e.reference?e.reference:String(e)}var du=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(Ag).join(" "+t+" ").replace(/calc/g,"")},Og=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+du.apply(void 0,["+"].concat(r))+")"},Lg=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+du.apply(void 0,["-"].concat(r))+")"},v0=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+du.apply(void 0,["*"].concat(r))+")"},Bg=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+du.apply(void 0,["/"].concat(r))+")"},Vg=function(t){var r=Ag(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:v0(r,-1)},Zn=Object.assign(function(e){return{add:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Zn(Og.apply(void 0,[e].concat(n)))},subtract:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Zn(Lg.apply(void 0,[e].concat(n)))},multiply:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Zn(v0.apply(void 0,[e].concat(n)))},divide:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Zn(Bg.apply(void 0,[e].concat(n)))},negate:function(){return Zn(Vg(e))},toString:function(){return e.toString()}}},{add:Og,subtract:Lg,multiply:v0,divide:Bg,negate:Vg});function sS(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function Rg(e){var t=sS(e.toString());if(t.includes("\\."))return e;var r=!Number.isInteger(parseFloat(e.toString()));return r?t.replace(".","\\."):e}function uS(e,t){return t===void 0&&(t=""),[t,Rg(e)].filter(Boolean).join("-")}function cS(e,t){return"var("+Rg(e)+(t?", "+t:"")+")"}function dS(e,t){return t===void 0&&(t=""),"--"+uS(e,t)}function fS(e,t,r){var n=dS(e,r);return{variable:n,reference:cS(n,t)}}function Ig(e,t){return fS(String(e).replace(/\./g,"-"),void 0,t)}function pS(e,t){for(var r={},n={},i=function(){var u=a[o],c=u[0],f=u[1],d=f.isSemantic,h=f.value,m=Ig(c,t==null?void 0:t.cssVarPrefix),y=m.variable,v=m.reference;if(!d){if(c.startsWith("space")){var g=c.split("."),b=g[0],x=g.slice(1),C=b+".-"+x.join("."),k=Zn.negate(h),E=Zn.negate(v);n[C]={value:k,var:y,varRef:E}}return r[y]=h,n[c]={value:h,var:y,varRef:v},"continue"}var P=function(I){var G=String(c).split(".")[0],U=[G,I].join("."),Z=e[U];if(!Z)return I;var X=Ig(U,t==null?void 0:t.cssVarPrefix),K=X.reference;return K},F=ht(h)?h:{default:h};r=At(r,Object.entries(F).reduce(function(M,I){var G,U,Z=I[0],X=I[1],K=P(X);if(Z==="default")return M[y]=K,M;var ne=(G=Aa==null?void 0:Aa[Z])!=null?G:Z;return M[ne]=(U={},U[y]=K,U),M},{})),n[c]={value:v,var:y,varRef:v}},o=0,a=Object.entries(e);o<a.length;o++)var l=i();return{cssVars:r,cssMap:n}}function hS(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var vS=["__cssMap","__cssVars","__breakpoints"],mS=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function gS(e){var t=mS;return ev(e,t)}function yS(e){return e.semanticTokens}function bS(e){e.__cssMap,e.__cssVars,e.__breakpoints;var t=hS(e,vS);return t}function xS(e){var t,r,n=e.tokens,i=e.semanticTokens,o=Object.entries((t=td(n))!=null?t:{}).map(function(l){var s=l[0],u=l[1],c={isSemantic:!1,value:u};return[s,c]}),a=Object.entries((r=td(i,1))!=null?r:{}).map(function(l){var s=l[0],u=l[1],c={isSemantic:!0,value:u};return[s,c]});return Kl([].concat(o,a))}function CS(e){var t,r=bS(e),n=gS(r),i=yS(r),o=xS({tokens:n,semanticTokens:i}),a=(t=r.config)==null?void 0:t.cssVarPrefix,l=pS(o,{cssVarPrefix:a}),s=l.cssMap,u=l.cssVars,c={"--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"};return Object.assign(r,{__cssVars:Ta({},c,u),__cssMap:s,__breakpoints:Cx(r.breakpoints)}),r}var wS=typeof Element!="undefined",SS=typeof Map=="function",kS=typeof Set=="function",ES=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function fu(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!fu(e[n],t[n]))return!1;return!0}var o;if(SS&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;for(o=e.entries();!(n=o.next()).done;)if(!fu(n.value[1],t.get(n.value[0])))return!1;return!0}if(kS&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(ES&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;if(wS&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((i[n]==="_owner"||i[n]==="__v"||i[n]==="__o")&&e.$$typeof)&&!fu(e[i[n]],t[i[n]]))return!1;return!0}return e!==e&&t!==t}var PS=function(t,r){try{return fu(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}},_S=/^((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|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,TS=Rh(function(e){return _S.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),MS=TS,FS=function(t){return t!=="theme"},$g=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?MS:FS},Dg=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},AS=w["useInsertionEffect"]?w["useInsertionEffect"]:function(t){t()};function OS(e){AS(e)}var LS=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Wh(r,n,i),OS(function(){return Uh(r,n,i)}),null},BS=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,a;r!==void 0&&(o=r.label,a=r.target);var l=Dg(t,r,n),s=l||$g(i),u=!s("as");return function(){var c=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)f.push.apply(f,c);else{f.push(c[0][0]);for(var d=c.length,h=1;h<d;h++)f.push(c[h],c[0][h])}var m=Kh(function(y,v,g){var b=u&&y.as||i,x="",C=[],k=y;if(y.theme==null){k={};for(var E in y)k[E]=y[E];k.theme=O.useContext(To)}typeof y.className=="string"?x=ex(v.registered,C,y.className):y.className!=null&&(x=y.className+" ");var P=Gc(f.concat(C),v.registered,k);x+=v.key+"-"+P.name,a!==void 0&&(x+=" "+a);var F=u&&l===void 0?$g(b):s,M={};for(var I in y)u&&I==="as"||F(I)&&(M[I]=y[I]);return M.className=x,M.ref=g,O.createElement(O.Fragment,null,O.createElement(LS,{cache:v,serialized:P,isStringTag:typeof b=="string"}),O.createElement(b,M))});return m.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=i,m.__emotion_styles=f,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+a}}),m.withComponent=function(y,v){return e(y,Mn({},r,v,{shouldForwardProp:Dg(m,v,!0)})).apply(void 0,f)},m}},VS=["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"],m0=BS.bind();VS.forEach(function(e){m0[e]=m0(e)});function g0(){return g0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g0.apply(this,arguments)}var RS=function(t){var r=t.cssVarsRoot,n=t.theme,i=t.children,o=w.useMemo(function(){return CS(n)},[n]);return w.createElement(sx,{theme:o},w.createElement(IS,{root:r}),i)},IS=function(t){var r=t.root,n=r===void 0?":host, :root":r,i=[n,"[data-theme]"].join(",");return w.createElement(qc,{styles:function(a){var l;return l={},l[i]=a.__cssVars,l}})};function Hg(){var e=w.useContext(To);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var zg=An({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),$S=zg[0],Gn=zg[1],DS=function(){var t=wg(),r=t.colorMode;return w.createElement(qc,{styles:function(i){var o=Xl(i,"styles.global"),a=Ot(o,{theme:i,colorMode:r});if(!!a){var l=Fg(a)(i);return l}}})};function cn(e){return Yl(e,["styleConfig","size","variant","colorScheme"])}function HS(){var e=wg(),t=Hg();return g0({},e,{theme:t})}function y0(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var zS=new Set([].concat(tS,["textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"])),NS=new Set(["htmlWidth","htmlHeight","htmlSize"]),jS=function(t){return NS.has(t)||!zS.has(t)},WS=["theme","css","__css","sx"],US=["baseStyle"],ZS=function(t){var r=t.baseStyle;return function(n){n.theme;var i=n.css,o=n.__css,a=n.sx,l=y0(n,WS),s=tv(l,function(d,h){return nS(h)}),u=Ot(r,n),c=Object.assign({},o,u,Kc(s),a),f=Fg(c)(n.theme);return i?[f,i]:f}};function b0(e,t){var r=t!=null?t:{},n=r.baseStyle,i=y0(r,US);i.shouldForwardProp||(i.shouldForwardProp=jS);var o=ZS({baseStyle:n});return m0(e,i)(o)}function Fe(e){return w.forwardRef(e)}var GS=["styleConfig"];function dn(e,t,r){var n;t===void 0&&(t={}),r===void 0&&(r={});var i=t,o=i.styleConfig,a=y0(i,GS),l=HS(),s=l.theme,u=l.colorMode,c=Xl(s,"components."+e),f=o||c,d=At({theme:s,colorMode:u},(n=f==null?void 0:f.defaultProps)!=null?n:{},Kc(Yl(a,["children"]))),h=O.useRef({});if(f){var m,y,v,g,b,x,C=Ot((m=f.baseStyle)!=null?m:{},d),k=Ot((y=(v=f.variants)==null?void 0:v[d.variant])!=null?y:{},d),E=Ot((g=(b=f.sizes)==null?void 0:b[d.size])!=null?g:{},d),P=At({},C,E,k);(x=r)!=null&&x.isMultiPart&&f.parts&&f.parts.forEach(function(M){var I;P[M]=(I=P[M])!=null?I:{}});var F=PS(h.current,P);F||(h.current=P)}return h.current}function Ng(e,t){return dn(e,t,{isMultiPart:!0})}function qS(){var e=new Map;return new Proxy(b0,{apply:function(r,n,i){return b0.apply(void 0,i)},get:function(r,n){return e.has(n)||e.set(n,b0(n)),e.get(n)}})}var re=qS(),YS=function(t){var r=t.children,n=t.colorModeManager,i=t.portalZIndex,o=t.resetCSS,a=o===void 0?!0:o,l=t.theme,s=l===void 0?{}:l,u=t.environment,c=t.cssVarsRoot,f=w.createElement(pw,{environment:u},r);return w.createElement(Wx,null,w.createElement(RS,{theme:s,cssVarsRoot:c},w.createElement(Cw,{colorModeManager:n,options:s.config},a&&w.createElement(dx,null),w.createElement(DS,null),i?w.createElement(K9,{zIndex:i},f):f)))},jg={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"};function $e(){return $e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$e.apply(this,arguments)}var XS={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"},KS={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Wg=$e({},jg,XS,{container:KS});function Je(e,t){QS(e)&&(e="100%");var r=JS(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function pu(e){return Math.min(1,Math.max(0,e))}function QS(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function JS(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Ug(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function hu(e){return e<=1?"".concat(Number(e)*100,"%"):e}function qn(e){return e.length===1?"0"+e:String(e)}function e7(e,t,r){return{r:Je(e,255)*255,g:Je(t,255)*255,b:Je(r,255)*255}}function Zg(e,t,r){e=Je(e,255),t=Je(t,255),r=Je(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o=0,a=0,l=(n+i)/2;if(n===i)a=0,o=0;else{var s=n-i;switch(a=l>.5?s/(2-n-i):s/(n+i),n){case e:o=(t-r)/s+(t<r?6:0);break;case t:o=(r-e)/s+2;break;case r:o=(e-t)/s+4;break}o/=6}return{h:o,s:a,l}}function x0(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function t7(e,t,r){var n,i,o;if(e=Je(e,360),t=Je(t,100),r=Je(r,100),t===0)i=r,o=r,n=r;else{var a=r<.5?r*(1+t):r+t-r*t,l=2*r-a;n=x0(l,a,e+1/3),i=x0(l,a,e),o=x0(l,a,e-1/3)}return{r:n*255,g:i*255,b:o*255}}function Gg(e,t,r){e=Je(e,255),t=Je(t,255),r=Je(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o=0,a=n,l=n-i,s=n===0?0:l/n;if(n===i)o=0;else{switch(n){case e:o=(t-r)/l+(t<r?6:0);break;case t:o=(r-e)/l+2;break;case r:o=(e-t)/l+4;break}o/=6}return{h:o,s,v:a}}function r7(e,t,r){e=Je(e,360)*6,t=Je(t,100),r=Je(r,100);var n=Math.floor(e),i=e-n,o=r*(1-t),a=r*(1-i*t),l=r*(1-(1-i)*t),s=n%6,u=[r,a,o,o,l,r][s],c=[l,r,r,a,o,o][s],f=[o,o,l,r,r,a][s];return{r:u*255,g:c*255,b:f*255}}function qg(e,t,r,n){var i=[qn(Math.round(e).toString(16)),qn(Math.round(t).toString(16)),qn(Math.round(r).toString(16))];return n&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function n7(e,t,r,n,i){var o=[qn(Math.round(e).toString(16)),qn(Math.round(t).toString(16)),qn(Math.round(r).toString(16)),qn(i7(n))];return i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function i7(e){return Math.round(parseFloat(e)*255).toString(16)}function Yg(e){return Pt(e)/255}function Pt(e){return parseInt(e,16)}function o7(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var C0={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function a7(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,o=null,a=!1,l=!1;return typeof e=="string"&&(e=u7(e)),typeof e=="object"&&(Tr(e.r)&&Tr(e.g)&&Tr(e.b)?(t=e7(e.r,e.g,e.b),a=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Tr(e.h)&&Tr(e.s)&&Tr(e.v)?(n=hu(e.s),i=hu(e.v),t=r7(e.h,n,i),a=!0,l="hsv"):Tr(e.h)&&Tr(e.s)&&Tr(e.l)&&(n=hu(e.s),o=hu(e.l),t=t7(e.h,n,o),a=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=Ug(r),{ok:a,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var l7="[-\\+]?\\d+%?",s7="[-\\+]?\\d*\\.\\d+%?",fn="(?:".concat(s7,")|(?:").concat(l7,")"),w0="[\\s|\\(]+(".concat(fn,")[,|\\s]+(").concat(fn,")[,|\\s]+(").concat(fn,")\\s*\\)?"),S0="[\\s|\\(]+(".concat(fn,")[,|\\s]+(").concat(fn,")[,|\\s]+(").concat(fn,")[,|\\s]+(").concat(fn,")\\s*\\)?"),Qt={CSS_UNIT:new RegExp(fn),rgb:new RegExp("rgb"+w0),rgba:new RegExp("rgba"+S0),hsl:new RegExp("hsl"+w0),hsla:new RegExp("hsla"+S0),hsv:new RegExp("hsv"+w0),hsva:new RegExp("hsva"+S0),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function u7(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(C0[e])e=C0[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=Qt.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=Qt.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=Qt.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=Qt.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=Qt.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=Qt.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=Qt.hex8.exec(e),r?{r:Pt(r[1]),g:Pt(r[2]),b:Pt(r[3]),a:Yg(r[4]),format:t?"name":"hex8"}:(r=Qt.hex6.exec(e),r?{r:Pt(r[1]),g:Pt(r[2]),b:Pt(r[3]),format:t?"name":"hex"}:(r=Qt.hex4.exec(e),r?{r:Pt(r[1]+r[1]),g:Pt(r[2]+r[2]),b:Pt(r[3]+r[3]),a:Yg(r[4]+r[4]),format:t?"name":"hex8"}:(r=Qt.hex3.exec(e),r?{r:Pt(r[1]+r[1]),g:Pt(r[2]+r[2]),b:Pt(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function Tr(e){return Boolean(Qt.CSS_UNIT.exec(String(e)))}var Oa=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=o7(t)),this.originalInput=t;var i=a7(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:i.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,i,o=t.r/255,a=t.g/255,l=t.b/255;return o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),l<=.03928?i=l/12.92:i=Math.pow((l+.055)/1.055,2.4),.2126*r+.7152*n+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Ug(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=Gg(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=Gg(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsva(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Zg(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Zg(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsla(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),qg(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),n7(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(n,")"):"rgba(".concat(t,", ").concat(r,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(Je(r,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(Je(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+qg(this.r,this.g,this.b,!1),r=0,n=Object.entries(C0);r<n.length;r++){var i=n[r],o=i[0],a=i[1];if(t===a)return o}return!1},e.prototype.toString=function(t){var r=Boolean(t);t=t!=null?t:this.format;var n=!1,i=this.a<1&&this.a>=0,o=!r&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=pu(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=pu(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=pu(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=pu(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),i=new e(t).toRgb(),o=r/100,a={r:(i.r-n.r)*o+n.r,g:(i.g-n.g)*o+n.g,b:(i.b-n.b)*o+n.b,a:(i.a-n.a)*o+n.a};return new e(a)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),i=360/r,o=[this];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,o.push(new e(n));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,i=r.s,o=r.v,a=[],l=1/t;t--;)a.push(new e({h:n,s:i,v:o})),o=(o+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),i=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/i,g:(r.g*r.a+n.g*n.a*(1-r.a))/i,b:(r.b*r.a+n.b*n.a*(1-r.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,i=[this],o=360/t,a=1;a<t;a++)i.push(new e({h:(n+a*o)%360,s:r.s,l:r.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function Xg(e){if(e===void 0&&(e={}),e.count!==void 0&&e.count!==null){var t=e.count,r=[];for(e.count=void 0;t>r.length;)e.count=null,e.seed&&(e.seed+=1),r.push(Xg(e));return e.count=t,r}var n=c7(e.hue,e.seed),i=d7(n,e),o=f7(n,i,e),a={h:n,s:i,v:o};return e.alpha!==void 0&&(a.a=e.alpha),new Oa(a)}function c7(e,t){var r=h7(e),n=vu(r,t);return n<0&&(n=360+n),n}function d7(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return vu([0,100],t.seed);var r=Kg(e).saturationRange,n=r[0],i=r[1];switch(t.luminosity){case"bright":n=55;break;case"dark":n=i-10;break;case"light":i=55;break}return vu([n,i],t.seed)}function f7(e,t,r){var n=p7(e,t),i=100;switch(r.luminosity){case"dark":i=n+20;break;case"light":n=(i+n)/2;break;case"random":n=0,i=100;break}return vu([n,i],r.seed)}function p7(e,t){for(var r=Kg(e).lowerBounds,n=0;n<r.length-1;n++){var i=r[n][0],o=r[n][1],a=r[n+1][0],l=r[n+1][1];if(t>=i&&t<=a){var s=(l-o)/(a-i),u=o-s*i;return s*t+u}}return 0}function h7(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var r=Jg.find(function(a){return a.name===e});if(r){var n=Qg(r);if(n.hueRange)return n.hueRange}var i=new Oa(e);if(i.isValid){var o=i.toHsv().h;return[o,o]}}return[0,360]}function Kg(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=Jg;t<r.length;t++){var n=r[t],i=Qg(n);if(i.hueRange&&e>=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function vu(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var r=e[1]||1,n=e[0]||0;t=(t*9301+49297)%233280;var i=t/233280;return Math.floor(n+i*(r-n))}function Qg(e){var t=e.lowerBounds[0][0],r=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],i=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,r],brightnessRange:[n,i]}}var Jg=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],je=function(t,r,n){var i=Xl(t,"colors."+r,r),o=new Oa(i),a=o.isValid;return a?i:n},v7=function(t){return function(r){var n=je(r,t),i=new Oa(n).isDark();return i?"dark":"light"}},m7=function(t){return function(r){return v7(t)(r)==="dark"}},Gi=function(t,r){return function(n){var i=je(n,t);return new Oa(i).setAlpha(r).toRgbString()}};function ey(e,t){return e===void 0&&(e="1rem"),t===void 0&&(t="rgba(255, 255, 255, 0.15)"),{backgroundImage:`linear-gradient(
|
|
319
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Qe={hover:function(t,r){return t+":hover "+r+", "+t+"[data-hover] "+r},focus:function(t,r){return t+":focus "+r+", "+t+"[data-focus] "+r},focusVisible:function(t,r){return t+":focus-visible "+r},focusWithin:function(t,r){return t+":focus-within "+r},active:function(t,r){return t+":active "+r+", "+t+"[data-active] "+r},disabled:function(t,r){return t+":disabled "+r+", "+t+"[data-disabled] "+r},invalid:function(t,r){return t+":invalid "+r+", "+t+"[data-invalid] "+r},checked:function(t,r){return t+":checked "+r+", "+t+"[data-checked] "+r},indeterminate:function(t,r){return t+":indeterminate "+r+", "+t+"[aria-checked=mixed] "+r+", "+t+"[data-indeterminate] "+r},readOnly:function(t,r){return t+":read-only "+r+", "+t+"[readonly] "+r+", "+t+"[data-read-only] "+r},expanded:function(t,r){return t+":read-only "+r+", "+t+"[aria-expanded=true] "+r+", "+t+"[data-expanded] "+r},placeholderShown:function(t,r){return t+":placeholder-shown "+r}},un=function(t){return Mg(function(r){return t(r,"&")},"[role=group]","[data-group]",".group")},_r=function(t){return Mg(function(r){return t(r,"~ &")},"[data-peer]",".peer")},Mg=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(t).join(", ")},Aa={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible",_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",_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:un(Qe.hover),_peerHover:_r(Qe.hover),_groupFocus:un(Qe.focus),_peerFocus:_r(Qe.focus),_groupFocusVisible:un(Qe.focusVisible),_peerFocusVisible:_r(Qe.focusVisible),_groupActive:un(Qe.active),_peerActive:_r(Qe.active),_groupDisabled:un(Qe.disabled),_peerDisabled:_r(Qe.disabled),_groupInvalid:un(Qe.invalid),_peerInvalid:_r(Qe.invalid),_groupChecked:un(Qe.checked),_peerChecked:_r(Qe.checked),_groupFocusWithin:un(Qe.focusWithin),_peerFocusWithin:_r(Qe.focusWithin),_peerPlaceholderShown:_r(Qe.placeholderShown),_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]"},eS=Qc(Aa),h0=At({},uu,ue,Dw,cu,Dt,Hw,Zw,zw,_g,Uw,Fa,f0,Se,Kw,Xw,Gw,qw,Nw,Yw);Object.assign({},Se,Dt,cu,_g,Fa);var tS=[].concat(Qc(h0),eS),rS=Ta({},h0,Aa),nS=function(t){return t in rS},iS=function(t){return function(r){if(!r.__breakpoints)return t;var n=r.__breakpoints,i=n.isResponsive,o=n.toArrayValue,a=n.media,l={};for(var s in t){var u=Ot(t[s],r);if(u!=null){if(u=ht(u)&&i(u)?o(u):u,!Array.isArray(u)){l[s]=u;continue}for(var c=u.slice(0,a.length).length,f=0;f<c;f+=1){var d=a==null?void 0:a[f];if(!d){l[s]=u[f];continue}l[d]=l[d]||{},u[f]!=null&&(l[d][s]=u[f])}}}return l}},oS=function(t,r){return t.startsWith("--")&&ql(r)&&!Jh(r)},aS=function(t,r){var n,i;if(r==null)return r;var o=function(f){var d,h;return(d=t.__cssMap)==null||(h=d[f])==null?void 0:h.varRef},a=function(f){var d;return(d=o(f))!=null?d:f},l=r.split(",").map(function(c){return c.trim()}),s=l[0],u=l[1];return r=(n=(i=o(s))!=null?i:a(u))!=null?n:a(r),r};function lS(e){var t=e.configs,r=t===void 0?{}:t,n=e.pseudos,i=n===void 0?{}:n,o=e.theme,a=function l(s,u){u===void 0&&(u=!1);var c=Ot(s,o),f=iS(c)(o),d={};for(var h in f){var m,y,v,g,b,x=f[h],C=Ot(x,o);h in i&&(h=i[h]),oS(h,C)&&(C=aS(o,C));var k=r[h];if(k===!0&&(k={property:h}),ht(C)){var E;d[h]=(E=d[h])!=null?E:{},d[h]=At({},d[h],l(C,!0));continue}var P=(m=(y=k)==null||y.transform==null?void 0:y.transform(C,o,c))!=null?m:C;P=(v=k)!=null&&v.processResult?l(P,!0):P;var F=Ot((g=k)==null?void 0:g.property,o);if(!u&&(b=k)!=null&&b.static){var M=Ot(k.static,o);d=At({},d,M)}if(F&&Array.isArray(F)){for(var I=Jw(F),G;!(G=I()).done;){var U=G.value;d[U]=P}continue}if(F){F==="&"&&ht(P)?d=At({},d,P):d[F]=P;continue}if(ht(P)){d=At({},d,P);continue}d[h]=P}return d};return a}var Fg=function(t){return function(r){var n=lS({theme:r,pseudos:Aa,configs:h0});return n(t)}};function Ag(e){return ht(e)&&e.reference?e.reference:String(e)}var du=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(Ag).join(" "+t+" ").replace(/calc/g,"")},Og=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+du.apply(void 0,["+"].concat(r))+")"},Lg=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+du.apply(void 0,["-"].concat(r))+")"},v0=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+du.apply(void 0,["*"].concat(r))+")"},Bg=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+du.apply(void 0,["/"].concat(r))+")"},Vg=function(t){var r=Ag(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:v0(r,-1)},Zn=Object.assign(function(e){return{add:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Zn(Og.apply(void 0,[e].concat(n)))},subtract:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Zn(Lg.apply(void 0,[e].concat(n)))},multiply:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Zn(v0.apply(void 0,[e].concat(n)))},divide:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Zn(Bg.apply(void 0,[e].concat(n)))},negate:function(){return Zn(Vg(e))},toString:function(){return e.toString()}}},{add:Og,subtract:Lg,multiply:v0,divide:Bg,negate:Vg});function sS(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function Rg(e){var t=sS(e.toString());if(t.includes("\\."))return e;var r=!Number.isInteger(parseFloat(e.toString()));return r?t.replace(".","\\."):e}function uS(e,t){return t===void 0&&(t=""),[t,Rg(e)].filter(Boolean).join("-")}function cS(e,t){return"var("+Rg(e)+(t?", "+t:"")+")"}function dS(e,t){return t===void 0&&(t=""),"--"+uS(e,t)}function fS(e,t,r){var n=dS(e,r);return{variable:n,reference:cS(n,t)}}function Ig(e,t){return fS(String(e).replace(/\./g,"-"),void 0,t)}function pS(e,t){for(var r={},n={},i=function(){var u=a[o],c=u[0],f=u[1],d=f.isSemantic,h=f.value,m=Ig(c,t==null?void 0:t.cssVarPrefix),y=m.variable,v=m.reference;if(!d){if(c.startsWith("space")){var g=c.split("."),b=g[0],x=g.slice(1),C=b+".-"+x.join("."),k=Zn.negate(h),E=Zn.negate(v);n[C]={value:k,var:y,varRef:E}}return r[y]=h,n[c]={value:h,var:y,varRef:v},"continue"}var P=function(I){var G=String(c).split(".")[0],U=[G,I].join("."),Z=e[U];if(!Z)return I;var X=Ig(U,t==null?void 0:t.cssVarPrefix),K=X.reference;return K},F=ht(h)?h:{default:h};r=At(r,Object.entries(F).reduce(function(M,I){var G,U,Z=I[0],X=I[1],K=P(X);if(Z==="default")return M[y]=K,M;var ne=(G=Aa==null?void 0:Aa[Z])!=null?G:Z;return M[ne]=(U={},U[y]=K,U),M},{})),n[c]={value:v,var:y,varRef:v}},o=0,a=Object.entries(e);o<a.length;o++)var l=i();return{cssVars:r,cssMap:n}}function hS(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var vS=["__cssMap","__cssVars","__breakpoints"],mS=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function gS(e){var t=mS;return ev(e,t)}function yS(e){return e.semanticTokens}function bS(e){e.__cssMap,e.__cssVars,e.__breakpoints;var t=hS(e,vS);return t}function xS(e){var t,r,n=e.tokens,i=e.semanticTokens,o=Object.entries((t=td(n))!=null?t:{}).map(function(l){var s=l[0],u=l[1],c={isSemantic:!1,value:u};return[s,c]}),a=Object.entries((r=td(i,1))!=null?r:{}).map(function(l){var s=l[0],u=l[1],c={isSemantic:!0,value:u};return[s,c]});return Kl([].concat(o,a))}function CS(e){var t,r=bS(e),n=gS(r),i=yS(r),o=xS({tokens:n,semanticTokens:i}),a=(t=r.config)==null?void 0:t.cssVarPrefix,l=pS(o,{cssVarPrefix:a}),s=l.cssMap,u=l.cssVars,c={"--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"};return Object.assign(r,{__cssVars:Ta({},c,u),__cssMap:s,__breakpoints:C8(r.breakpoints)}),r}var wS=typeof Element!="undefined",SS=typeof Map=="function",kS=typeof Set=="function",ES=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function fu(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!fu(e[n],t[n]))return!1;return!0}var o;if(SS&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;for(o=e.entries();!(n=o.next()).done;)if(!fu(n.value[1],t.get(n.value[0])))return!1;return!0}if(kS&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(ES&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;if(wS&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((i[n]==="_owner"||i[n]==="__v"||i[n]==="__o")&&e.$$typeof)&&!fu(e[i[n]],t[i[n]]))return!1;return!0}return e!==e&&t!==t}var PS=function(t,r){try{return fu(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}},_S=/^((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|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,TS=Rh(function(e){return _S.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),MS=TS,FS=function(t){return t!=="theme"},$g=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?MS:FS},Dg=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},AS=w["useInsertionEffect"]?w["useInsertionEffect"]:function(t){t()};function OS(e){AS(e)}var LS=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Wh(r,n,i),OS(function(){return Uh(r,n,i)}),null},BS=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,a;r!==void 0&&(o=r.label,a=r.target);var l=Dg(t,r,n),s=l||$g(i),u=!s("as");return function(){var c=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)f.push.apply(f,c);else{f.push(c[0][0]);for(var d=c.length,h=1;h<d;h++)f.push(c[h],c[0][h])}var m=Kh(function(y,v,g){var b=u&&y.as||i,x="",C=[],k=y;if(y.theme==null){k={};for(var E in y)k[E]=y[E];k.theme=O.useContext(To)}typeof y.className=="string"?x=e8(v.registered,C,y.className):y.className!=null&&(x=y.className+" ");var P=Gc(f.concat(C),v.registered,k);x+=v.key+"-"+P.name,a!==void 0&&(x+=" "+a);var F=u&&l===void 0?$g(b):s,M={};for(var I in y)u&&I==="as"||F(I)&&(M[I]=y[I]);return M.className=x,M.ref=g,O.createElement(O.Fragment,null,O.createElement(LS,{cache:v,serialized:P,isStringTag:typeof b=="string"}),O.createElement(b,M))});return m.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=i,m.__emotion_styles=f,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+a}}),m.withComponent=function(y,v){return e(y,Mn({},r,v,{shouldForwardProp:Dg(m,v,!0)})).apply(void 0,f)},m}},VS=["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"],m0=BS.bind();VS.forEach(function(e){m0[e]=m0(e)});function g0(){return g0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g0.apply(this,arguments)}var RS=function(t){var r=t.cssVarsRoot,n=t.theme,i=t.children,o=w.useMemo(function(){return CS(n)},[n]);return w.createElement(s8,{theme:o},w.createElement(IS,{root:r}),i)},IS=function(t){var r=t.root,n=r===void 0?":host, :root":r,i=[n,"[data-theme]"].join(",");return w.createElement(qc,{styles:function(a){var l;return l={},l[i]=a.__cssVars,l}})};function Hg(){var e=w.useContext(To);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var zg=An({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),$S=zg[0],Gn=zg[1],DS=function(){var t=wg(),r=t.colorMode;return w.createElement(qc,{styles:function(i){var o=Xl(i,"styles.global"),a=Ot(o,{theme:i,colorMode:r});if(!!a){var l=Fg(a)(i);return l}}})};function cn(e){return Yl(e,["styleConfig","size","variant","colorScheme"])}function HS(){var e=wg(),t=Hg();return g0({},e,{theme:t})}function y0(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var zS=new Set([].concat(tS,["textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"])),NS=new Set(["htmlWidth","htmlHeight","htmlSize"]),jS=function(t){return NS.has(t)||!zS.has(t)},WS=["theme","css","__css","sx"],US=["baseStyle"],ZS=function(t){var r=t.baseStyle;return function(n){n.theme;var i=n.css,o=n.__css,a=n.sx,l=y0(n,WS),s=tv(l,function(d,h){return nS(h)}),u=Ot(r,n),c=Object.assign({},o,u,Kc(s),a),f=Fg(c)(n.theme);return i?[f,i]:f}};function b0(e,t){var r=t!=null?t:{},n=r.baseStyle,i=y0(r,US);i.shouldForwardProp||(i.shouldForwardProp=jS);var o=ZS({baseStyle:n});return m0(e,i)(o)}function Fe(e){return w.forwardRef(e)}var GS=["styleConfig"];function dn(e,t,r){var n;t===void 0&&(t={}),r===void 0&&(r={});var i=t,o=i.styleConfig,a=y0(i,GS),l=HS(),s=l.theme,u=l.colorMode,c=Xl(s,"components."+e),f=o||c,d=At({theme:s,colorMode:u},(n=f==null?void 0:f.defaultProps)!=null?n:{},Kc(Yl(a,["children"]))),h=O.useRef({});if(f){var m,y,v,g,b,x,C=Ot((m=f.baseStyle)!=null?m:{},d),k=Ot((y=(v=f.variants)==null?void 0:v[d.variant])!=null?y:{},d),E=Ot((g=(b=f.sizes)==null?void 0:b[d.size])!=null?g:{},d),P=At({},C,E,k);(x=r)!=null&&x.isMultiPart&&f.parts&&f.parts.forEach(function(M){var I;P[M]=(I=P[M])!=null?I:{}});var F=PS(h.current,P);F||(h.current=P)}return h.current}function Ng(e,t){return dn(e,t,{isMultiPart:!0})}function qS(){var e=new Map;return new Proxy(b0,{apply:function(r,n,i){return b0.apply(void 0,i)},get:function(r,n){return e.has(n)||e.set(n,b0(n)),e.get(n)}})}var re=qS(),YS=function(t){var r=t.children,n=t.colorModeManager,i=t.portalZIndex,o=t.resetCSS,a=o===void 0?!0:o,l=t.theme,s=l===void 0?{}:l,u=t.environment,c=t.cssVarsRoot,f=w.createElement(pw,{environment:u},r);return w.createElement(W8,null,w.createElement(RS,{theme:s,cssVarsRoot:c},w.createElement(Cw,{colorModeManager:n,options:s.config},a&&w.createElement(d8,null),w.createElement(DS,null),i?w.createElement(K9,{zIndex:i},f):f)))},jg={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"};function $e(){return $e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$e.apply(this,arguments)}var XS={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"},KS={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Wg=$e({},jg,XS,{container:KS});function Je(e,t){QS(e)&&(e="100%");var r=JS(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function pu(e){return Math.min(1,Math.max(0,e))}function QS(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function JS(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Ug(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function hu(e){return e<=1?"".concat(Number(e)*100,"%"):e}function qn(e){return e.length===1?"0"+e:String(e)}function e7(e,t,r){return{r:Je(e,255)*255,g:Je(t,255)*255,b:Je(r,255)*255}}function Zg(e,t,r){e=Je(e,255),t=Je(t,255),r=Je(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o=0,a=0,l=(n+i)/2;if(n===i)a=0,o=0;else{var s=n-i;switch(a=l>.5?s/(2-n-i):s/(n+i),n){case e:o=(t-r)/s+(t<r?6:0);break;case t:o=(r-e)/s+2;break;case r:o=(e-t)/s+4;break}o/=6}return{h:o,s:a,l}}function x0(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function t7(e,t,r){var n,i,o;if(e=Je(e,360),t=Je(t,100),r=Je(r,100),t===0)i=r,o=r,n=r;else{var a=r<.5?r*(1+t):r+t-r*t,l=2*r-a;n=x0(l,a,e+1/3),i=x0(l,a,e),o=x0(l,a,e-1/3)}return{r:n*255,g:i*255,b:o*255}}function Gg(e,t,r){e=Je(e,255),t=Je(t,255),r=Je(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o=0,a=n,l=n-i,s=n===0?0:l/n;if(n===i)o=0;else{switch(n){case e:o=(t-r)/l+(t<r?6:0);break;case t:o=(r-e)/l+2;break;case r:o=(e-t)/l+4;break}o/=6}return{h:o,s,v:a}}function r7(e,t,r){e=Je(e,360)*6,t=Je(t,100),r=Je(r,100);var n=Math.floor(e),i=e-n,o=r*(1-t),a=r*(1-i*t),l=r*(1-(1-i)*t),s=n%6,u=[r,a,o,o,l,r][s],c=[l,r,r,a,o,o][s],f=[o,o,l,r,r,a][s];return{r:u*255,g:c*255,b:f*255}}function qg(e,t,r,n){var i=[qn(Math.round(e).toString(16)),qn(Math.round(t).toString(16)),qn(Math.round(r).toString(16))];return n&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function n7(e,t,r,n,i){var o=[qn(Math.round(e).toString(16)),qn(Math.round(t).toString(16)),qn(Math.round(r).toString(16)),qn(i7(n))];return i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function i7(e){return Math.round(parseFloat(e)*255).toString(16)}function Yg(e){return Pt(e)/255}function Pt(e){return parseInt(e,16)}function o7(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var C0={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function a7(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,o=null,a=!1,l=!1;return typeof e=="string"&&(e=u7(e)),typeof e=="object"&&(Tr(e.r)&&Tr(e.g)&&Tr(e.b)?(t=e7(e.r,e.g,e.b),a=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Tr(e.h)&&Tr(e.s)&&Tr(e.v)?(n=hu(e.s),i=hu(e.v),t=r7(e.h,n,i),a=!0,l="hsv"):Tr(e.h)&&Tr(e.s)&&Tr(e.l)&&(n=hu(e.s),o=hu(e.l),t=t7(e.h,n,o),a=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=Ug(r),{ok:a,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var l7="[-\\+]?\\d+%?",s7="[-\\+]?\\d*\\.\\d+%?",fn="(?:".concat(s7,")|(?:").concat(l7,")"),w0="[\\s|\\(]+(".concat(fn,")[,|\\s]+(").concat(fn,")[,|\\s]+(").concat(fn,")\\s*\\)?"),S0="[\\s|\\(]+(".concat(fn,")[,|\\s]+(").concat(fn,")[,|\\s]+(").concat(fn,")[,|\\s]+(").concat(fn,")\\s*\\)?"),Qt={CSS_UNIT:new RegExp(fn),rgb:new RegExp("rgb"+w0),rgba:new RegExp("rgba"+S0),hsl:new RegExp("hsl"+w0),hsla:new RegExp("hsla"+S0),hsv:new RegExp("hsv"+w0),hsva:new RegExp("hsva"+S0),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function u7(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(C0[e])e=C0[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=Qt.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=Qt.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=Qt.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=Qt.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=Qt.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=Qt.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=Qt.hex8.exec(e),r?{r:Pt(r[1]),g:Pt(r[2]),b:Pt(r[3]),a:Yg(r[4]),format:t?"name":"hex8"}:(r=Qt.hex6.exec(e),r?{r:Pt(r[1]),g:Pt(r[2]),b:Pt(r[3]),format:t?"name":"hex"}:(r=Qt.hex4.exec(e),r?{r:Pt(r[1]+r[1]),g:Pt(r[2]+r[2]),b:Pt(r[3]+r[3]),a:Yg(r[4]+r[4]),format:t?"name":"hex8"}:(r=Qt.hex3.exec(e),r?{r:Pt(r[1]+r[1]),g:Pt(r[2]+r[2]),b:Pt(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function Tr(e){return Boolean(Qt.CSS_UNIT.exec(String(e)))}var Oa=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=o7(t)),this.originalInput=t;var i=a7(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:i.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,i,o=t.r/255,a=t.g/255,l=t.b/255;return o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),l<=.03928?i=l/12.92:i=Math.pow((l+.055)/1.055,2.4),.2126*r+.7152*n+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Ug(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=Gg(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=Gg(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsva(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Zg(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Zg(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsla(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),qg(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),n7(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(n,")"):"rgba(".concat(t,", ").concat(r,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(Je(r,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(Je(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+qg(this.r,this.g,this.b,!1),r=0,n=Object.entries(C0);r<n.length;r++){var i=n[r],o=i[0],a=i[1];if(t===a)return o}return!1},e.prototype.toString=function(t){var r=Boolean(t);t=t!=null?t:this.format;var n=!1,i=this.a<1&&this.a>=0,o=!r&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=pu(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=pu(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=pu(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=pu(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),i=new e(t).toRgb(),o=r/100,a={r:(i.r-n.r)*o+n.r,g:(i.g-n.g)*o+n.g,b:(i.b-n.b)*o+n.b,a:(i.a-n.a)*o+n.a};return new e(a)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),i=360/r,o=[this];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,o.push(new e(n));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,i=r.s,o=r.v,a=[],l=1/t;t--;)a.push(new e({h:n,s:i,v:o})),o=(o+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),i=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/i,g:(r.g*r.a+n.g*n.a*(1-r.a))/i,b:(r.b*r.a+n.b*n.a*(1-r.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,i=[this],o=360/t,a=1;a<t;a++)i.push(new e({h:(n+a*o)%360,s:r.s,l:r.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function Xg(e){if(e===void 0&&(e={}),e.count!==void 0&&e.count!==null){var t=e.count,r=[];for(e.count=void 0;t>r.length;)e.count=null,e.seed&&(e.seed+=1),r.push(Xg(e));return e.count=t,r}var n=c7(e.hue,e.seed),i=d7(n,e),o=f7(n,i,e),a={h:n,s:i,v:o};return e.alpha!==void 0&&(a.a=e.alpha),new Oa(a)}function c7(e,t){var r=h7(e),n=vu(r,t);return n<0&&(n=360+n),n}function d7(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return vu([0,100],t.seed);var r=Kg(e).saturationRange,n=r[0],i=r[1];switch(t.luminosity){case"bright":n=55;break;case"dark":n=i-10;break;case"light":i=55;break}return vu([n,i],t.seed)}function f7(e,t,r){var n=p7(e,t),i=100;switch(r.luminosity){case"dark":i=n+20;break;case"light":n=(i+n)/2;break;case"random":n=0,i=100;break}return vu([n,i],r.seed)}function p7(e,t){for(var r=Kg(e).lowerBounds,n=0;n<r.length-1;n++){var i=r[n][0],o=r[n][1],a=r[n+1][0],l=r[n+1][1];if(t>=i&&t<=a){var s=(l-o)/(a-i),u=o-s*i;return s*t+u}}return 0}function h7(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var r=Jg.find(function(a){return a.name===e});if(r){var n=Qg(r);if(n.hueRange)return n.hueRange}var i=new Oa(e);if(i.isValid){var o=i.toHsv().h;return[o,o]}}return[0,360]}function Kg(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=Jg;t<r.length;t++){var n=r[t],i=Qg(n);if(i.hueRange&&e>=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function vu(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var r=e[1]||1,n=e[0]||0;t=(t*9301+49297)%233280;var i=t/233280;return Math.floor(n+i*(r-n))}function Qg(e){var t=e.lowerBounds[0][0],r=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],i=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,r],brightnessRange:[n,i]}}var Jg=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],je=function(t,r,n){var i=Xl(t,"colors."+r,r),o=new Oa(i),a=o.isValid;return a?i:n},v7=function(t){return function(r){var n=je(r,t),i=new Oa(n).isDark();return i?"dark":"light"}},m7=function(t){return function(r){return v7(t)(r)==="dark"}},Gi=function(t,r){return function(n){var i=je(n,t);return new Oa(i).setAlpha(r).toRgbString()}};function ey(e,t){return e===void 0&&(e="1rem"),t===void 0&&(t="rgba(255, 255, 255, 0.15)"),{backgroundImage:`linear-gradient(
|
|
320
320
|
45deg,
|
|
321
321
|
`+t+` 25%,
|
|
322
322
|
transparent 25%,
|
|
@@ -325,12 +325,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
325
325
|
`+t+` 75%,
|
|
326
326
|
transparent 75%,
|
|
327
327
|
transparent
|
|
328
|
-
)`,backgroundSize:e+" "+e}}function g7(e){var t=Xg().toHexString();return!e||hx(e)?t:e.string&&e.colors?b7(e.string,e.colors):e.string&&!e.colors?y7(e.string):e.colors&&!e.string?x7(e.colors):t}function y7(e){var t=0;if(e.length===0)return t.toString();for(var r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t=t&t;for(var n="#",i=0;i<3;i+=1){var o=t>>i*8&255;n+=("00"+o.toString(16)).substr(-2)}return n}function b7(e,t){var r=0;if(e.length===0)return t[0];for(var n=0;n<e.length;n+=1)r=e.charCodeAt(n)+((r<<5)-r),r=r&r;return r=(r%t.length+t.length)%t.length,t[r]}function x7(e){return e[Math.floor(Math.random()*e.length)]}function B(e,t){return function(r){return r.colorMode==="dark"?t:e}}function La(e){var t=e.orientation,r=e.vertical,n=e.horizontal;return t?t==="vertical"?r:n:{}}function k0(){return k0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},k0.apply(this,arguments)}var C7=function(t){return uv({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),k0({base:"0em"},t)};function ty(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w7(e,t,r){return t&&ty(e.prototype,t),r&&ty(e,r),e}var S7=function(){function e(t){var r=this;this.map={},this.called=!1,this.assert=function(){if(!r.called){r.called=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")},this.parts=function(){r.assert();for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];for(var a=0,l=i;a<l.length;a++){var s=l[a];r.map[s]=r.toPart(s)}return r},this.extend=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];for(var a=0,l=i;a<l.length;a++){var s=l[a];s in r.map||(r.map[s]=r.toPart(s))}return r},this.toPart=function(n){var i=["container","root"].includes(n!=null?n:"")?[r.name]:[r.name,n],o=i.filter(Boolean).join("__"),a="chakra-"+o,l={className:a,selector:"."+a,toString:function(){return n}};return l},this.__type={}}return w7(e,[{key:"selectors",get:function(){var r=Kl(Object.entries(this.map).map(function(n){var i=n[0],o=n[1];return[i,o.selector]}));return r}},{key:"classNames",get:function(){var r=Kl(Object.entries(this.map).map(function(n){var i=n[0],o=n[1];return[i,o.className]}));return r}},{key:"keys",get:function(){return Object.keys(this.map)}}]),e}();function he(e){return new S7(e)}function ry(e){return ht(e)&&e.reference?e.reference:String(e)}var mu=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(ry).join(" "+t+" ").replace(/calc/g,"")},ny=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+mu.apply(void 0,["+"].concat(r))+")"},iy=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+mu.apply(void 0,["-"].concat(r))+")"},E0=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+mu.apply(void 0,["*"].concat(r))+")"},oy=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+mu.apply(void 0,["/"].concat(r))+")"},ay=function(t){var r=ry(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:E0(r,-1)},Mr=Object.assign(function(e){return{add:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Mr(ny.apply(void 0,[e].concat(n)))},subtract:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Mr(iy.apply(void 0,[e].concat(n)))},multiply:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Mr(E0.apply(void 0,[e].concat(n)))},divide:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Mr(oy.apply(void 0,[e].concat(n)))},negate:function(){return Mr(ay(e))},toString:function(){return e.toString()}}},{add:ny,subtract:iy,multiply:E0,divide:oy,negate:ay});function k7(e){return!Number.isInteger(parseFloat(e.toString()))}function E7(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function ly(e){var t=E7(e.toString());return t.includes("\\.")?e:k7(e)?t.replace(".","\\."):e}function P7(e,t){return t===void 0&&(t=""),[t,ly(e)].filter(Boolean).join("-")}function _7(e,t){return"var("+ly(e)+(t?", "+t:"")+")"}function T7(e,t){return t===void 0&&(t=""),"--"+P7(e,t)}function _t(e,t){var r=T7(e,t==null?void 0:t.prefix);return{variable:r,reference:_7(r,M7(t==null?void 0:t.fallback))}}function M7(e){return typeof e=="string"?e:e==null?void 0:e.reference}var F7=he("accordion").parts("root","container","button","panel").extend("icon"),A7=he("alert").parts("title","description","container").extend("icon"),O7=he("avatar").parts("label","badge","container").extend("excessLabel","group"),L7=he("breadcrumb").parts("link","item","container").extend("separator");he("button").parts();var B7=he("checkbox").parts("control","icon","container").extend("label");he("progress").parts("track","filledTrack").extend("label");var V7=he("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),R7=he("editable").parts("preview","input","textarea"),I7=he("form").parts("container","requiredIndicator","helperText"),$7=he("formError").parts("text","icon"),D7=he("input").parts("addon","field","element"),H7=he("list").parts("container","item","icon"),z7=he("menu").parts("button","list","item").extend("groupTitle","command","divider"),N7=he("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),j7=he("numberinput").parts("root","field","stepperGroup","stepper");he("pininput").parts("field");var W7=he("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),U7=he("progress").parts("label","filledTrack","track"),Z7=he("radio").parts("container","control","label"),G7=he("select").parts("field","icon"),q7=he("slider").parts("container","track","thumb","filledTrack"),Y7=he("stat").parts("container","label","helpText","number","icon"),X7=he("switch").parts("container","track","thumb"),K7=he("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Q7=he("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),J7=he("tag").parts("container","label","closeButton"),sy={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:{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"}},e6={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},t6={transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},r6={pt:2,px:4,pb:5},n6={fontSize:"1.25em"},i6={root:{},container:e6,button:t6,panel:r6,icon:n6},o6={parts:F7.keys,baseStyle:i6},a6={container:{px:4,py:3},title:{fontWeight:"bold",lineHeight:6,marginEnd:2},description:{lineHeight:6},icon:{flexShrink:0,marginEnd:3,w:5,h:6}};function P0(e){var t=e.theme,r=e.colorScheme,n=je(t,r+".100",r),i=Gi(r+".200",.16)(t);return B(n,i)(e)}var l6=function(t){var r=t.colorScheme;return{container:{bg:P0(t)},icon:{color:B(r+".500",r+".200")(t)}}},s6=function(t){var r=t.colorScheme;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:B(r+".500",r+".200")(t),bg:P0(t)},icon:{color:B(r+".500",r+".200")(t)}}},u6=function(t){var r=t.colorScheme;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:B(r+".500",r+".200")(t),bg:P0(t)},icon:{color:B(r+".500",r+".200")(t)}}},c6=function(t){var r=t.colorScheme;return{container:{bg:B(r+".500",r+".200")(t),color:B("white","gray.900")(t)}}},d6={subtle:l6,"left-accent":s6,"top-accent":u6,solid:c6},f6={variant:"subtle",colorScheme:"blue"},p6={parts:A7.keys,baseStyle:a6,variants:d6,defaultProps:f6},h6=function(t){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:B("white","gray.800")(t)}},v6=function(t){return{bg:B("gray.200","whiteAlpha.400")(t)}},m6=function(t){var r=t.name,n=t.theme,i=r?g7({string:r}):"gray.400",o=m7(i)(n),a="white";o||(a="gray.800");var l=B("white","gray.800")(t);return{bg:i,color:a,borderColor:l,verticalAlign:"top"}},g6=function(t){return{badge:h6(t),excessLabel:v6(t),container:m6(t)}};function pn(e){var t=Wg[e];return{container:{width:e,height:e,fontSize:"calc("+(t!=null?t:e)+" / 2.5)"},excessLabel:{width:e,height:e},label:{fontSize:"calc("+(t!=null?t:e)+" / 2.5)",lineHeight:e!=="100%"?t!=null?t:e:void 0}}}var y6={"2xs":pn("4"),xs:pn("6"),sm:pn("8"),md:pn("12"),lg:pn("16"),xl:pn("24"),"2xl":pn("32"),full:pn("100%")},b6={size:"md"},x6={parts:O7.keys,baseStyle:g6,sizes:y6,defaultProps:b6},C6={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},w6=function(t){var r=t.colorScheme,n=t.theme,i=Gi(r+".500",.6)(n);return{bg:B(r+".500",i)(t),color:B("white","whiteAlpha.800")(t)}},S6=function(t){var r=t.colorScheme,n=t.theme,i=Gi(r+".200",.16)(n);return{bg:B(r+".100",i)(t),color:B(r+".800",r+".200")(t)}},k6=function(t){var r=t.colorScheme,n=t.theme,i=Gi(r+".200",.8)(n),o=je(n,r+".500"),a=B(o,i)(t);return{color:a,boxShadow:"inset 0 0 0px 1px "+a}},E6={solid:w6,subtle:S6,outline:k6},P6={variant:"subtle",colorScheme:"gray"},qi={baseStyle:C6,variants:E6,defaultProps:P6},_6={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},T6={link:_6},M6={parts:L7.keys,baseStyle:T6},F6={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},uy=function(t){var r=t.colorScheme,n=t.theme;if(r==="gray")return{color:B("inherit","whiteAlpha.900")(t),_hover:{bg:B("gray.100","whiteAlpha.200")(t)},_active:{bg:B("gray.200","whiteAlpha.300")(t)}};var i=Gi(r+".200",.12)(n),o=Gi(r+".200",.24)(n);return{color:B(r+".600",r+".200")(t),bg:"transparent",_hover:{bg:B(r+".50",i)(t)},_active:{bg:B(r+".100",o)(t)}}},A6=function(t){var r=t.colorScheme,n=B("gray.200","whiteAlpha.300")(t);return $e({border:"1px solid",borderColor:r==="gray"?n:"currentColor"},uy(t))},O6={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},L6=function(t){var r,n=t.colorScheme;if(n==="gray"){var i=B("gray.100","whiteAlpha.200")(t);return{bg:i,_hover:{bg:B("gray.200","whiteAlpha.300")(t),_disabled:{bg:i}},_active:{bg:B("gray.300","whiteAlpha.400")(t)}}}var o=(r=O6[n])!=null?r:{},a=o.bg,l=a===void 0?n+".500":a,s=o.color,u=s===void 0?"white":s,c=o.hoverBg,f=c===void 0?n+".600":c,d=o.activeBg,h=d===void 0?n+".700":d,m=B(l,n+".200")(t);return{bg:m,color:B(u,"gray.800")(t),_hover:{bg:B(f,n+".300")(t),_disabled:{bg:m}},_active:{bg:B(h,n+".400")(t)}}},B6=function(t){var r=t.colorScheme;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:B(r+".500",r+".200")(t),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:B(r+".700",r+".500")(t)}}},V6={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0},R6={ghost:uy,outline:A6,solid:L6,link:B6,unstyled:V6},I6={lg:{h:12,minW:12,fontSize:"lg",px:6},md:{h:10,minW:10,fontSize:"md",px:4},sm:{h:8,minW:8,fontSize:"sm",px:3},xs:{h:6,minW:6,fontSize:"xs",px:2}},$6={variant:"solid",size:"md",colorScheme:"gray"},D6={baseStyle:F6,variants:R6,sizes:I6,defaultProps:$6},H6=function(t){var r=t.colorScheme;return{w:"100%",transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:B(r+".500",r+".200")(t),borderColor:B(r+".500",r+".200")(t),color:B("white","gray.900")(t),_hover:{bg:B(r+".600",r+".300")(t),borderColor:B(r+".600",r+".300")(t)},_disabled:{borderColor:B("gray.200","transparent")(t),bg:B("gray.200","whiteAlpha.300")(t),color:B("gray.500","whiteAlpha.500")(t)}},_indeterminate:{bg:B(r+".500",r+".200")(t),borderColor:B(r+".500",r+".200")(t),color:B("white","gray.900")(t)},_disabled:{bg:B("gray.100","whiteAlpha.100")(t),borderColor:B("gray.100","transparent")(t)},_focus:{boxShadow:"outline"},_invalid:{borderColor:B("red.500","red.300")(t)}}},z6={_disabled:{cursor:"not-allowed"}},N6={userSelect:"none",_disabled:{opacity:.4}},j6={transitionProperty:"transform",transitionDuration:"normal"},W6=function(t){return{icon:j6,container:z6,control:H6(t),label:N6}},U6={sm:{control:{h:3,w:3},label:{fontSize:"sm"},icon:{fontSize:"0.45rem"}},md:{control:{w:4,h:4},label:{fontSize:"md"},icon:{fontSize:"0.625rem"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"},icon:{fontSize:"0.625rem"}}},Z6={size:"md",colorScheme:"blue"},gu={parts:B7.keys,baseStyle:W6,sizes:U6,defaultProps:Z6},yu,bu,xu,Ba=_t("close-button-size"),G6=function(t){var r=B("blackAlpha.100","whiteAlpha.100")(t),n=B("blackAlpha.200","whiteAlpha.200")(t);return{w:[Ba.reference],h:[Ba.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:r},_active:{bg:n},_focus:{boxShadow:"outline"}}},q6={lg:(yu={},yu[Ba.variable]="40px",yu.fontSize="16px",yu),md:(bu={},bu[Ba.variable]="32px",bu.fontSize="12px",bu),sm:(xu={},xu[Ba.variable]="24px",xu.fontSize="10px",xu)},Y6={size:"md"},X6={baseStyle:G6,sizes:q6,defaultProps:Y6},K6=qi.variants,Q6=qi.defaultProps,J6={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},ek={baseStyle:J6,variants:K6,defaultProps:Q6},tk={w:"100%",mx:"auto",maxW:"60ch",px:"1rem"},rk={baseStyle:tk},nk={opacity:.6,borderColor:"inherit"},ik={borderStyle:"solid"},ok={borderStyle:"dashed"},ak={solid:ik,dashed:ok},lk={variant:"solid"},sk={baseStyle:nk,variants:ak,defaultProps:lk};function Yi(e){return e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var uk={bg:"blackAlpha.600",zIndex:"overlay"},ck={display:"flex",zIndex:"modal",justifyContent:"center"},dk=function(t){var r=t.isFullHeight;return $e({},r&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:B("white","gray.700")(t),color:"inherit",boxShadow:B("lg","dark-lg")(t)})},fk={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},pk={position:"absolute",top:2,insetEnd:3},hk={px:6,py:2,flex:1,overflow:"auto"},vk={px:6,py:4},mk=function(t){return{overlay:uk,dialogContainer:ck,dialog:dk(t),header:fk,closeButton:pk,body:hk,footer:vk}},gk={xs:Yi("xs"),sm:Yi("md"),md:Yi("lg"),lg:Yi("2xl"),xl:Yi("4xl"),full:Yi("full")},yk={size:"xs"},bk={parts:V7.keys,baseStyle:mk,sizes:gk,defaultProps:yk},xk={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},Ck={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},wk={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},Sk={preview:xk,input:Ck,textarea:wk},kk={parts:R7.keys,baseStyle:Sk},Ek=function(t){return{marginStart:1,color:B("red.500","red.300")(t)}},Pk=function(t){return{mt:2,color:B("gray.500","whiteAlpha.600")(t),lineHeight:"normal",fontSize:"sm"}},_k=function(t){return{container:{width:"100%",position:"relative"},requiredIndicator:Ek(t),helperText:Pk(t)}},Tk={parts:I7.keys,baseStyle:_k},Mk=function(t){return{color:B("red.500","red.300")(t),mt:2,fontSize:"sm",lineHeight:"normal"}},Fk=function(t){return{marginEnd:"0.5em",color:B("red.500","red.300")(t)}},Ak=function(t){return{text:Mk(t),icon:Fk(t)}},Ok={parts:$7.keys,baseStyle:Ak},Lk={fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},Bk={baseStyle:Lk},Vk={fontFamily:"heading",fontWeight:"bold"},Rk={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},Ik={size:"xl"},$k={baseStyle:Vk,sizes:Rk,defaultProps:Ik},Dk={field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},hn={lg:{fontSize:"lg",px:4,h:12,borderRadius:"md"},md:{fontSize:"md",px:4,h:10,borderRadius:"md"},sm:{fontSize:"sm",px:3,h:8,borderRadius:"sm"},xs:{fontSize:"xs",px:2,h:6,borderRadius:"sm"}},Hk={lg:{field:hn.lg,addon:hn.lg},md:{field:hn.md,addon:hn.md},sm:{field:hn.sm,addon:hn.sm},xs:{field:hn.xs,addon:hn.xs}};function _0(e){var t=e.focusBorderColor,r=e.errorBorderColor;return{focusBorderColor:t||B("blue.500","blue.300")(e),errorBorderColor:r||B("red.500","red.300")(e)}}var zk=function(t){var r=t.theme,n=_0(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:B("gray.300","whiteAlpha.400")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:je(r,o),boxShadow:"0 0 0 1px "+je(r,o)},_focus:{zIndex:1,borderColor:je(r,i),boxShadow:"0 0 0 1px "+je(r,i)}},addon:{border:"1px solid",borderColor:B("inherit","whiteAlpha.50")(t),bg:B("gray.100","whiteAlpha.300")(t)}}},Nk=function(t){var r=t.theme,n=_0(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{border:"2px solid",borderColor:"transparent",bg:B("gray.100","whiteAlpha.50")(t),_hover:{bg:B("gray.200","whiteAlpha.100")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:je(r,o)},_focus:{bg:"transparent",borderColor:je(r,i)}},addon:{border:"2px solid",borderColor:"transparent",bg:B("gray.100","whiteAlpha.50")(t)}}},jk=function(t){var r=t.theme,n=_0(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:je(r,o),boxShadow:"0px 1px 0px 0px "+je(r,o)},_focus:{borderColor:je(r,i),boxShadow:"0px 1px 0px 0px "+je(r,i)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},Wk={field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}},Uk={outline:zk,filled:Nk,flushed:jk,unstyled:Wk},Zk={size:"md",variant:"outline"},_e={parts:D7.keys,baseStyle:Dk,sizes:Hk,variants:Uk,defaultProps:Zk},Gk=function(t){return{bg:B("gray.100","whiteAlpha")(t),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},qk={baseStyle:Gk},Yk={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},Xk={baseStyle:Yk},Kk={marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"},Qk={container:{},item:{},icon:Kk},Jk={parts:H7.keys,baseStyle:Qk},eE=function(t){return{bg:B("#fff","gray.700")(t),boxShadow:B("sm","dark-lg")(t),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}},tE=function(t){return{py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:B("gray.100","whiteAlpha.100")(t)},_active:{bg:B("gray.200","whiteAlpha.200")(t)},_expanded:{bg:B("gray.100","whiteAlpha.100")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},rE={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},nE={opacity:.6},iE={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},oE={transitionProperty:"common",transitionDuration:"normal"},aE=function(t){return{button:oE,list:eE(t),item:tE(t),groupTitle:rE,command:nE,divider:iE}},lE={parts:z7.keys,baseStyle:aE},sE={bg:"blackAlpha.600",zIndex:"modal"},uE=function(t){var r=t.isCentered,n=t.scrollBehavior;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:r?"center":"flex-start",overflow:n==="inside"?"hidden":"auto"}},cE=function(t){var r=t.scrollBehavior;return{borderRadius:"md",bg:B("white","gray.700")(t),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:r==="inside"?"calc(100% - 7.5rem)":void 0,boxShadow:B("lg","dark-lg")(t)}},dE={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},fE={position:"absolute",top:2,insetEnd:3},pE=function(t){var r=t.scrollBehavior;return{px:6,py:2,flex:1,overflow:r==="inside"?"auto":void 0}},hE={px:6,py:4},vE=function(t){return{overlay:sE,dialogContainer:uE(t),dialog:cE(t),header:dE,closeButton:fE,body:pE(t),footer:hE}};function Jt(e){return e==="full"?{dialog:{maxW:"100vw",minH:"100vh","@supports(min-height: -webkit-fill-available)":{minH:"-webkit-fill-available"},my:0}}:{dialog:{maxW:e}}}var mE={xs:Jt("xs"),sm:Jt("sm"),md:Jt("md"),lg:Jt("lg"),xl:Jt("xl"),"2xl":Jt("2xl"),"3xl":Jt("3xl"),"4xl":Jt("4xl"),"5xl":Jt("5xl"),"6xl":Jt("6xl"),full:Jt("full")},gE={size:"md"},yE={parts:N7.keys,baseStyle:vE,sizes:mE,defaultProps:gE},Cu,cy,dy,bE=_e.variants,xE=_e.defaultProps,T0=_t("number-input-stepper-width"),fy=_t("number-input-input-padding"),CE=Mr(T0).add("0.5rem").toString(),wE=(Cu={},Cu[T0.variable]="24px",Cu[fy.variable]=CE,Cu),SE=(cy=(dy=_e.baseStyle)==null?void 0:dy.field)!=null?cy:{},kE={width:[T0.reference]},EE=function(t){return{borderStart:"1px solid",borderStartColor:B("inherit","whiteAlpha.300")(t),color:B("inherit","whiteAlpha.800")(t),_active:{bg:B("gray.200","whiteAlpha.300")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},PE=function(t){return{root:wE,field:SE,stepperGroup:kE,stepper:EE(t)}};function wu(e){var t,r,n=_e.sizes[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},o=(t=(r=n.field)==null?void 0:r.fontSize)!=null?t:"md",a=sy.fontSizes[o.toString()];return{field:$e({},n.field,{paddingInlineEnd:fy.reference,verticalAlign:"top"}),stepper:{fontSize:Mr(a).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}}}var _E={xs:wu("xs"),sm:wu("sm"),md:wu("md"),lg:wu("lg")},TE={parts:j7.keys,baseStyle:PE,sizes:_E,variants:bE,defaultProps:xE},py,ME=$e({},_e.baseStyle.field,{textAlign:"center"}),FE={lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},AE={outline:function(t){var r;return(r=_e.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=_e.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=_e.variants.filled(t).field)!=null?r:{}},unstyled:(py=_e.variants.unstyled.field)!=null?py:{}},OE=_e.defaultProps,LE={baseStyle:ME,sizes:FE,variants:AE,defaultProps:OE},M0=_t("popper-bg"),BE=_t("popper-arrow-bg"),VE=_t("popper-arrow-shadow-color"),RE={zIndex:10},IE=function(t){var r,n=B("white","gray.700")(t),i=B("gray.200","whiteAlpha.300")(t);return r={},r[M0.variable]="colors."+n,r.bg=M0.reference,r[BE.variable]=M0.reference,r[VE.variable]="colors."+i,r.width="xs",r.border="1px solid",r.borderColor="inherit",r.borderRadius="md",r.boxShadow="sm",r.zIndex="inherit",r._focus={outline:0,boxShadow:"outline"},r},$E={px:3,py:2,borderBottomWidth:"1px"},DE={px:3,py:2},HE={px:3,py:2,borderTopWidth:"1px"},zE={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},NE=function(t){return{popper:RE,content:IE(t),header:$E,body:DE,footer:HE,arrow:{},closeButton:zE}},jE={parts:W7.keys,baseStyle:NE};function WE(e){var t=e.colorScheme,r=e.theme,n=e.isIndeterminate,i=e.hasStripe,o=B(ey(),ey("1rem","rgba(0,0,0,0.1)"))(e),a=B(t+".500",t+".200")(e),l=`linear-gradient(
|
|
328
|
+
)`,backgroundSize:e+" "+e}}function g7(e){var t=Xg().toHexString();return!e||h8(e)?t:e.string&&e.colors?b7(e.string,e.colors):e.string&&!e.colors?y7(e.string):e.colors&&!e.string?x7(e.colors):t}function y7(e){var t=0;if(e.length===0)return t.toString();for(var r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t=t&t;for(var n="#",i=0;i<3;i+=1){var o=t>>i*8&255;n+=("00"+o.toString(16)).substr(-2)}return n}function b7(e,t){var r=0;if(e.length===0)return t[0];for(var n=0;n<e.length;n+=1)r=e.charCodeAt(n)+((r<<5)-r),r=r&r;return r=(r%t.length+t.length)%t.length,t[r]}function x7(e){return e[Math.floor(Math.random()*e.length)]}function B(e,t){return function(r){return r.colorMode==="dark"?t:e}}function La(e){var t=e.orientation,r=e.vertical,n=e.horizontal;return t?t==="vertical"?r:n:{}}function k0(){return k0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},k0.apply(this,arguments)}var C7=function(t){return uv({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),k0({base:"0em"},t)};function ty(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w7(e,t,r){return t&&ty(e.prototype,t),r&&ty(e,r),e}var S7=function(){function e(t){var r=this;this.map={},this.called=!1,this.assert=function(){if(!r.called){r.called=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")},this.parts=function(){r.assert();for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];for(var a=0,l=i;a<l.length;a++){var s=l[a];r.map[s]=r.toPart(s)}return r},this.extend=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];for(var a=0,l=i;a<l.length;a++){var s=l[a];s in r.map||(r.map[s]=r.toPart(s))}return r},this.toPart=function(n){var i=["container","root"].includes(n!=null?n:"")?[r.name]:[r.name,n],o=i.filter(Boolean).join("__"),a="chakra-"+o,l={className:a,selector:"."+a,toString:function(){return n}};return l},this.__type={}}return w7(e,[{key:"selectors",get:function(){var r=Kl(Object.entries(this.map).map(function(n){var i=n[0],o=n[1];return[i,o.selector]}));return r}},{key:"classNames",get:function(){var r=Kl(Object.entries(this.map).map(function(n){var i=n[0],o=n[1];return[i,o.className]}));return r}},{key:"keys",get:function(){return Object.keys(this.map)}}]),e}();function he(e){return new S7(e)}function ry(e){return ht(e)&&e.reference?e.reference:String(e)}var mu=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(ry).join(" "+t+" ").replace(/calc/g,"")},ny=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+mu.apply(void 0,["+"].concat(r))+")"},iy=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+mu.apply(void 0,["-"].concat(r))+")"},E0=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+mu.apply(void 0,["*"].concat(r))+")"},oy=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+mu.apply(void 0,["/"].concat(r))+")"},ay=function(t){var r=ry(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:E0(r,-1)},Mr=Object.assign(function(e){return{add:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Mr(ny.apply(void 0,[e].concat(n)))},subtract:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Mr(iy.apply(void 0,[e].concat(n)))},multiply:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Mr(E0.apply(void 0,[e].concat(n)))},divide:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Mr(oy.apply(void 0,[e].concat(n)))},negate:function(){return Mr(ay(e))},toString:function(){return e.toString()}}},{add:ny,subtract:iy,multiply:E0,divide:oy,negate:ay});function k7(e){return!Number.isInteger(parseFloat(e.toString()))}function E7(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function ly(e){var t=E7(e.toString());return t.includes("\\.")?e:k7(e)?t.replace(".","\\."):e}function P7(e,t){return t===void 0&&(t=""),[t,ly(e)].filter(Boolean).join("-")}function _7(e,t){return"var("+ly(e)+(t?", "+t:"")+")"}function T7(e,t){return t===void 0&&(t=""),"--"+P7(e,t)}function _t(e,t){var r=T7(e,t==null?void 0:t.prefix);return{variable:r,reference:_7(r,M7(t==null?void 0:t.fallback))}}function M7(e){return typeof e=="string"?e:e==null?void 0:e.reference}var F7=he("accordion").parts("root","container","button","panel").extend("icon"),A7=he("alert").parts("title","description","container").extend("icon"),O7=he("avatar").parts("label","badge","container").extend("excessLabel","group"),L7=he("breadcrumb").parts("link","item","container").extend("separator");he("button").parts();var B7=he("checkbox").parts("control","icon","container").extend("label");he("progress").parts("track","filledTrack").extend("label");var V7=he("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),R7=he("editable").parts("preview","input","textarea"),I7=he("form").parts("container","requiredIndicator","helperText"),$7=he("formError").parts("text","icon"),D7=he("input").parts("addon","field","element"),H7=he("list").parts("container","item","icon"),z7=he("menu").parts("button","list","item").extend("groupTitle","command","divider"),N7=he("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),j7=he("numberinput").parts("root","field","stepperGroup","stepper");he("pininput").parts("field");var W7=he("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),U7=he("progress").parts("label","filledTrack","track"),Z7=he("radio").parts("container","control","label"),G7=he("select").parts("field","icon"),q7=he("slider").parts("container","track","thumb","filledTrack"),Y7=he("stat").parts("container","label","helpText","number","icon"),X7=he("switch").parts("container","track","thumb"),K7=he("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Q7=he("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),J7=he("tag").parts("container","label","closeButton"),sy={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:{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"}},e6={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},t6={transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},r6={pt:2,px:4,pb:5},n6={fontSize:"1.25em"},i6={root:{},container:e6,button:t6,panel:r6,icon:n6},o6={parts:F7.keys,baseStyle:i6},a6={container:{px:4,py:3},title:{fontWeight:"bold",lineHeight:6,marginEnd:2},description:{lineHeight:6},icon:{flexShrink:0,marginEnd:3,w:5,h:6}};function P0(e){var t=e.theme,r=e.colorScheme,n=je(t,r+".100",r),i=Gi(r+".200",.16)(t);return B(n,i)(e)}var l6=function(t){var r=t.colorScheme;return{container:{bg:P0(t)},icon:{color:B(r+".500",r+".200")(t)}}},s6=function(t){var r=t.colorScheme;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:B(r+".500",r+".200")(t),bg:P0(t)},icon:{color:B(r+".500",r+".200")(t)}}},u6=function(t){var r=t.colorScheme;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:B(r+".500",r+".200")(t),bg:P0(t)},icon:{color:B(r+".500",r+".200")(t)}}},c6=function(t){var r=t.colorScheme;return{container:{bg:B(r+".500",r+".200")(t),color:B("white","gray.900")(t)}}},d6={subtle:l6,"left-accent":s6,"top-accent":u6,solid:c6},f6={variant:"subtle",colorScheme:"blue"},p6={parts:A7.keys,baseStyle:a6,variants:d6,defaultProps:f6},h6=function(t){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:B("white","gray.800")(t)}},v6=function(t){return{bg:B("gray.200","whiteAlpha.400")(t)}},m6=function(t){var r=t.name,n=t.theme,i=r?g7({string:r}):"gray.400",o=m7(i)(n),a="white";o||(a="gray.800");var l=B("white","gray.800")(t);return{bg:i,color:a,borderColor:l,verticalAlign:"top"}},g6=function(t){return{badge:h6(t),excessLabel:v6(t),container:m6(t)}};function pn(e){var t=Wg[e];return{container:{width:e,height:e,fontSize:"calc("+(t!=null?t:e)+" / 2.5)"},excessLabel:{width:e,height:e},label:{fontSize:"calc("+(t!=null?t:e)+" / 2.5)",lineHeight:e!=="100%"?t!=null?t:e:void 0}}}var y6={"2xs":pn("4"),xs:pn("6"),sm:pn("8"),md:pn("12"),lg:pn("16"),xl:pn("24"),"2xl":pn("32"),full:pn("100%")},b6={size:"md"},x6={parts:O7.keys,baseStyle:g6,sizes:y6,defaultProps:b6},C6={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},w6=function(t){var r=t.colorScheme,n=t.theme,i=Gi(r+".500",.6)(n);return{bg:B(r+".500",i)(t),color:B("white","whiteAlpha.800")(t)}},S6=function(t){var r=t.colorScheme,n=t.theme,i=Gi(r+".200",.16)(n);return{bg:B(r+".100",i)(t),color:B(r+".800",r+".200")(t)}},k6=function(t){var r=t.colorScheme,n=t.theme,i=Gi(r+".200",.8)(n),o=je(n,r+".500"),a=B(o,i)(t);return{color:a,boxShadow:"inset 0 0 0px 1px "+a}},E6={solid:w6,subtle:S6,outline:k6},P6={variant:"subtle",colorScheme:"gray"},qi={baseStyle:C6,variants:E6,defaultProps:P6},_6={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},T6={link:_6},M6={parts:L7.keys,baseStyle:T6},F6={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},uy=function(t){var r=t.colorScheme,n=t.theme;if(r==="gray")return{color:B("inherit","whiteAlpha.900")(t),_hover:{bg:B("gray.100","whiteAlpha.200")(t)},_active:{bg:B("gray.200","whiteAlpha.300")(t)}};var i=Gi(r+".200",.12)(n),o=Gi(r+".200",.24)(n);return{color:B(r+".600",r+".200")(t),bg:"transparent",_hover:{bg:B(r+".50",i)(t)},_active:{bg:B(r+".100",o)(t)}}},A6=function(t){var r=t.colorScheme,n=B("gray.200","whiteAlpha.300")(t);return $e({border:"1px solid",borderColor:r==="gray"?n:"currentColor"},uy(t))},O6={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},L6=function(t){var r,n=t.colorScheme;if(n==="gray"){var i=B("gray.100","whiteAlpha.200")(t);return{bg:i,_hover:{bg:B("gray.200","whiteAlpha.300")(t),_disabled:{bg:i}},_active:{bg:B("gray.300","whiteAlpha.400")(t)}}}var o=(r=O6[n])!=null?r:{},a=o.bg,l=a===void 0?n+".500":a,s=o.color,u=s===void 0?"white":s,c=o.hoverBg,f=c===void 0?n+".600":c,d=o.activeBg,h=d===void 0?n+".700":d,m=B(l,n+".200")(t);return{bg:m,color:B(u,"gray.800")(t),_hover:{bg:B(f,n+".300")(t),_disabled:{bg:m}},_active:{bg:B(h,n+".400")(t)}}},B6=function(t){var r=t.colorScheme;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:B(r+".500",r+".200")(t),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:B(r+".700",r+".500")(t)}}},V6={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0},R6={ghost:uy,outline:A6,solid:L6,link:B6,unstyled:V6},I6={lg:{h:12,minW:12,fontSize:"lg",px:6},md:{h:10,minW:10,fontSize:"md",px:4},sm:{h:8,minW:8,fontSize:"sm",px:3},xs:{h:6,minW:6,fontSize:"xs",px:2}},$6={variant:"solid",size:"md",colorScheme:"gray"},D6={baseStyle:F6,variants:R6,sizes:I6,defaultProps:$6},H6=function(t){var r=t.colorScheme;return{w:"100%",transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:B(r+".500",r+".200")(t),borderColor:B(r+".500",r+".200")(t),color:B("white","gray.900")(t),_hover:{bg:B(r+".600",r+".300")(t),borderColor:B(r+".600",r+".300")(t)},_disabled:{borderColor:B("gray.200","transparent")(t),bg:B("gray.200","whiteAlpha.300")(t),color:B("gray.500","whiteAlpha.500")(t)}},_indeterminate:{bg:B(r+".500",r+".200")(t),borderColor:B(r+".500",r+".200")(t),color:B("white","gray.900")(t)},_disabled:{bg:B("gray.100","whiteAlpha.100")(t),borderColor:B("gray.100","transparent")(t)},_focus:{boxShadow:"outline"},_invalid:{borderColor:B("red.500","red.300")(t)}}},z6={_disabled:{cursor:"not-allowed"}},N6={userSelect:"none",_disabled:{opacity:.4}},j6={transitionProperty:"transform",transitionDuration:"normal"},W6=function(t){return{icon:j6,container:z6,control:H6(t),label:N6}},U6={sm:{control:{h:3,w:3},label:{fontSize:"sm"},icon:{fontSize:"0.45rem"}},md:{control:{w:4,h:4},label:{fontSize:"md"},icon:{fontSize:"0.625rem"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"},icon:{fontSize:"0.625rem"}}},Z6={size:"md",colorScheme:"blue"},gu={parts:B7.keys,baseStyle:W6,sizes:U6,defaultProps:Z6},yu,bu,xu,Ba=_t("close-button-size"),G6=function(t){var r=B("blackAlpha.100","whiteAlpha.100")(t),n=B("blackAlpha.200","whiteAlpha.200")(t);return{w:[Ba.reference],h:[Ba.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:r},_active:{bg:n},_focus:{boxShadow:"outline"}}},q6={lg:(yu={},yu[Ba.variable]="40px",yu.fontSize="16px",yu),md:(bu={},bu[Ba.variable]="32px",bu.fontSize="12px",bu),sm:(xu={},xu[Ba.variable]="24px",xu.fontSize="10px",xu)},Y6={size:"md"},X6={baseStyle:G6,sizes:q6,defaultProps:Y6},K6=qi.variants,Q6=qi.defaultProps,J6={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},ek={baseStyle:J6,variants:K6,defaultProps:Q6},tk={w:"100%",mx:"auto",maxW:"60ch",px:"1rem"},rk={baseStyle:tk},nk={opacity:.6,borderColor:"inherit"},ik={borderStyle:"solid"},ok={borderStyle:"dashed"},ak={solid:ik,dashed:ok},lk={variant:"solid"},sk={baseStyle:nk,variants:ak,defaultProps:lk};function Yi(e){return e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var uk={bg:"blackAlpha.600",zIndex:"overlay"},ck={display:"flex",zIndex:"modal",justifyContent:"center"},dk=function(t){var r=t.isFullHeight;return $e({},r&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:B("white","gray.700")(t),color:"inherit",boxShadow:B("lg","dark-lg")(t)})},fk={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},pk={position:"absolute",top:2,insetEnd:3},hk={px:6,py:2,flex:1,overflow:"auto"},vk={px:6,py:4},mk=function(t){return{overlay:uk,dialogContainer:ck,dialog:dk(t),header:fk,closeButton:pk,body:hk,footer:vk}},gk={xs:Yi("xs"),sm:Yi("md"),md:Yi("lg"),lg:Yi("2xl"),xl:Yi("4xl"),full:Yi("full")},yk={size:"xs"},bk={parts:V7.keys,baseStyle:mk,sizes:gk,defaultProps:yk},xk={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},Ck={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},wk={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},Sk={preview:xk,input:Ck,textarea:wk},kk={parts:R7.keys,baseStyle:Sk},Ek=function(t){return{marginStart:1,color:B("red.500","red.300")(t)}},Pk=function(t){return{mt:2,color:B("gray.500","whiteAlpha.600")(t),lineHeight:"normal",fontSize:"sm"}},_k=function(t){return{container:{width:"100%",position:"relative"},requiredIndicator:Ek(t),helperText:Pk(t)}},Tk={parts:I7.keys,baseStyle:_k},Mk=function(t){return{color:B("red.500","red.300")(t),mt:2,fontSize:"sm",lineHeight:"normal"}},Fk=function(t){return{marginEnd:"0.5em",color:B("red.500","red.300")(t)}},Ak=function(t){return{text:Mk(t),icon:Fk(t)}},Ok={parts:$7.keys,baseStyle:Ak},Lk={fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},Bk={baseStyle:Lk},Vk={fontFamily:"heading",fontWeight:"bold"},Rk={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},Ik={size:"xl"},$k={baseStyle:Vk,sizes:Rk,defaultProps:Ik},Dk={field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},hn={lg:{fontSize:"lg",px:4,h:12,borderRadius:"md"},md:{fontSize:"md",px:4,h:10,borderRadius:"md"},sm:{fontSize:"sm",px:3,h:8,borderRadius:"sm"},xs:{fontSize:"xs",px:2,h:6,borderRadius:"sm"}},Hk={lg:{field:hn.lg,addon:hn.lg},md:{field:hn.md,addon:hn.md},sm:{field:hn.sm,addon:hn.sm},xs:{field:hn.xs,addon:hn.xs}};function _0(e){var t=e.focusBorderColor,r=e.errorBorderColor;return{focusBorderColor:t||B("blue.500","blue.300")(e),errorBorderColor:r||B("red.500","red.300")(e)}}var zk=function(t){var r=t.theme,n=_0(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:B("gray.300","whiteAlpha.400")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:je(r,o),boxShadow:"0 0 0 1px "+je(r,o)},_focus:{zIndex:1,borderColor:je(r,i),boxShadow:"0 0 0 1px "+je(r,i)}},addon:{border:"1px solid",borderColor:B("inherit","whiteAlpha.50")(t),bg:B("gray.100","whiteAlpha.300")(t)}}},Nk=function(t){var r=t.theme,n=_0(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{border:"2px solid",borderColor:"transparent",bg:B("gray.100","whiteAlpha.50")(t),_hover:{bg:B("gray.200","whiteAlpha.100")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:je(r,o)},_focus:{bg:"transparent",borderColor:je(r,i)}},addon:{border:"2px solid",borderColor:"transparent",bg:B("gray.100","whiteAlpha.50")(t)}}},jk=function(t){var r=t.theme,n=_0(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:je(r,o),boxShadow:"0px 1px 0px 0px "+je(r,o)},_focus:{borderColor:je(r,i),boxShadow:"0px 1px 0px 0px "+je(r,i)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},Wk={field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}},Uk={outline:zk,filled:Nk,flushed:jk,unstyled:Wk},Zk={size:"md",variant:"outline"},_e={parts:D7.keys,baseStyle:Dk,sizes:Hk,variants:Uk,defaultProps:Zk},Gk=function(t){return{bg:B("gray.100","whiteAlpha")(t),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},qk={baseStyle:Gk},Yk={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},Xk={baseStyle:Yk},Kk={marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"},Qk={container:{},item:{},icon:Kk},Jk={parts:H7.keys,baseStyle:Qk},eE=function(t){return{bg:B("#fff","gray.700")(t),boxShadow:B("sm","dark-lg")(t),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}},tE=function(t){return{py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:B("gray.100","whiteAlpha.100")(t)},_active:{bg:B("gray.200","whiteAlpha.200")(t)},_expanded:{bg:B("gray.100","whiteAlpha.100")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},rE={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},nE={opacity:.6},iE={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},oE={transitionProperty:"common",transitionDuration:"normal"},aE=function(t){return{button:oE,list:eE(t),item:tE(t),groupTitle:rE,command:nE,divider:iE}},lE={parts:z7.keys,baseStyle:aE},sE={bg:"blackAlpha.600",zIndex:"modal"},uE=function(t){var r=t.isCentered,n=t.scrollBehavior;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:r?"center":"flex-start",overflow:n==="inside"?"hidden":"auto"}},cE=function(t){var r=t.scrollBehavior;return{borderRadius:"md",bg:B("white","gray.700")(t),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:r==="inside"?"calc(100% - 7.5rem)":void 0,boxShadow:B("lg","dark-lg")(t)}},dE={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},fE={position:"absolute",top:2,insetEnd:3},pE=function(t){var r=t.scrollBehavior;return{px:6,py:2,flex:1,overflow:r==="inside"?"auto":void 0}},hE={px:6,py:4},vE=function(t){return{overlay:sE,dialogContainer:uE(t),dialog:cE(t),header:dE,closeButton:fE,body:pE(t),footer:hE}};function Jt(e){return e==="full"?{dialog:{maxW:"100vw",minH:"100vh","@supports(min-height: -webkit-fill-available)":{minH:"-webkit-fill-available"},my:0}}:{dialog:{maxW:e}}}var mE={xs:Jt("xs"),sm:Jt("sm"),md:Jt("md"),lg:Jt("lg"),xl:Jt("xl"),"2xl":Jt("2xl"),"3xl":Jt("3xl"),"4xl":Jt("4xl"),"5xl":Jt("5xl"),"6xl":Jt("6xl"),full:Jt("full")},gE={size:"md"},yE={parts:N7.keys,baseStyle:vE,sizes:mE,defaultProps:gE},Cu,cy,dy,bE=_e.variants,xE=_e.defaultProps,T0=_t("number-input-stepper-width"),fy=_t("number-input-input-padding"),CE=Mr(T0).add("0.5rem").toString(),wE=(Cu={},Cu[T0.variable]="24px",Cu[fy.variable]=CE,Cu),SE=(cy=(dy=_e.baseStyle)==null?void 0:dy.field)!=null?cy:{},kE={width:[T0.reference]},EE=function(t){return{borderStart:"1px solid",borderStartColor:B("inherit","whiteAlpha.300")(t),color:B("inherit","whiteAlpha.800")(t),_active:{bg:B("gray.200","whiteAlpha.300")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},PE=function(t){return{root:wE,field:SE,stepperGroup:kE,stepper:EE(t)}};function wu(e){var t,r,n=_e.sizes[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},o=(t=(r=n.field)==null?void 0:r.fontSize)!=null?t:"md",a=sy.fontSizes[o.toString()];return{field:$e({},n.field,{paddingInlineEnd:fy.reference,verticalAlign:"top"}),stepper:{fontSize:Mr(a).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}}}var _E={xs:wu("xs"),sm:wu("sm"),md:wu("md"),lg:wu("lg")},TE={parts:j7.keys,baseStyle:PE,sizes:_E,variants:bE,defaultProps:xE},py,ME=$e({},_e.baseStyle.field,{textAlign:"center"}),FE={lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},AE={outline:function(t){var r;return(r=_e.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=_e.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=_e.variants.filled(t).field)!=null?r:{}},unstyled:(py=_e.variants.unstyled.field)!=null?py:{}},OE=_e.defaultProps,LE={baseStyle:ME,sizes:FE,variants:AE,defaultProps:OE},M0=_t("popper-bg"),BE=_t("popper-arrow-bg"),VE=_t("popper-arrow-shadow-color"),RE={zIndex:10},IE=function(t){var r,n=B("white","gray.700")(t),i=B("gray.200","whiteAlpha.300")(t);return r={},r[M0.variable]="colors."+n,r.bg=M0.reference,r[BE.variable]=M0.reference,r[VE.variable]="colors."+i,r.width="xs",r.border="1px solid",r.borderColor="inherit",r.borderRadius="md",r.boxShadow="sm",r.zIndex="inherit",r._focus={outline:0,boxShadow:"outline"},r},$E={px:3,py:2,borderBottomWidth:"1px"},DE={px:3,py:2},HE={px:3,py:2,borderTopWidth:"1px"},zE={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},NE=function(t){return{popper:RE,content:IE(t),header:$E,body:DE,footer:HE,arrow:{},closeButton:zE}},jE={parts:W7.keys,baseStyle:NE};function WE(e){var t=e.colorScheme,r=e.theme,n=e.isIndeterminate,i=e.hasStripe,o=B(ey(),ey("1rem","rgba(0,0,0,0.1)"))(e),a=B(t+".500",t+".200")(e),l=`linear-gradient(
|
|
329
329
|
to right,
|
|
330
330
|
transparent 0%,
|
|
331
331
|
`+je(r,a)+` 50%,
|
|
332
332
|
transparent 100%
|
|
333
|
-
)`,s=!n&&i;return $e({},s&&o,n?{bgImage:l}:{bgColor:a})}var UE={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},ZE=function(t){return{bg:B("gray.100","whiteAlpha.300")(t)}},GE=function(t){return $e({transitionProperty:"common",transitionDuration:"slow"},WE(t))},qE=function(t){return{label:UE,filledTrack:GE(t),track:ZE(t)}},YE={xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},XE={size:"md",colorScheme:"blue"},KE={parts:U7.keys,sizes:YE,baseStyle:qE,defaultProps:XE},QE=function(t){var r=gu.baseStyle(t),n=r.control,i=n===void 0?{}:n;return $e({},i,{borderRadius:"full",_checked:$e({},i._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},JE=function(t){return{label:gu.baseStyle(t).label,container:gu.baseStyle(t).container,control:QE(t)}},eP={md:{control:{w:4,h:4},label:{fontSize:"md"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"}},sm:{control:{width:3,height:3},label:{fontSize:"sm"}}},tP={size:"md",colorScheme:"blue"},rP={parts:Z7.keys,baseStyle:JE,sizes:eP,defaultProps:tP},nP=function(t){return $e({},_e.baseStyle.field,{bg:B("white","gray.700")(t),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:B("white","gray.700")(t)}})},iP={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},oP=function(t){return{field:nP(t),icon:iP}},Su={paddingInlineEnd:"2rem"},aP=At({},_e.sizes,{lg:{field:Su},md:{field:Su},sm:{field:Su},xs:{field:Su,icon:{insetEnd:"0.25rem"}}}),lP={parts:G7.keys,baseStyle:oP,sizes:aP,variants:_e.variants,defaultProps:_e.defaultProps},sP=function(t,r){return mi({from:{borderColor:t,background:t},to:{borderColor:r,background:r}})},uP=function(t){var r=B("gray.100","gray.800")(t),n=B("gray.400","gray.600")(t),i=t.startColor,o=i===void 0?r:i,a=t.endColor,l=a===void 0?n:a,s=t.speed,u=t.theme,c=je(u,o),f=je(u,l);return{opacity:.7,borderRadius:"2px",borderColor:c,background:f,animation:s+"s linear infinite alternate "+sP(c,f)}},cP={baseStyle:uP},dP=function(t){return{borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:B("white","gray.700")(t)}}},fP={baseStyle:dP};function pP(e){return La({orientation:e.orientation,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)"}}})}var hP=function(t){var r=t.orientation;return $e({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},La({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}}))},vP=function(t){return{overflow:"hidden",borderRadius:"sm",bg:B("gray.200","whiteAlpha.200")(t),_disabled:{bg:B("gray.300","whiteAlpha.300")(t)}}},mP=function(t){return $e({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",_focus:{boxShadow:"outline"},_disabled:{bg:"gray.300"}},pP(t))},gP=function(t){var r=t.colorScheme;return{width:"inherit",height:"inherit",bg:B(r+".500",r+".200")(t)}},yP=function(t){return{container:hP(t),track:vP(t),thumb:mP(t),filledTrack:gP(t)}},bP=function(t){return{thumb:{w:"16px",h:"16px"},track:La({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},xP=function(t){return{thumb:{w:"14px",h:"14px"},track:La({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},CP=function(t){return{thumb:{w:"10px",h:"10px"},track:La({orientation:t.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}},wP={lg:bP,md:xP,sm:CP},SP={size:"md",colorScheme:"blue"},kP={parts:q7.keys,sizes:wP,baseStyle:yP,defaultProps:SP},F0,A0,O0,L0,B0,Yn=_t("spinner-size"),EP={width:[Yn.reference],height:[Yn.reference]},PP={xs:(F0={},F0[Yn.variable]="0.75rem",F0),sm:(A0={},A0[Yn.variable]="1rem",A0),md:(O0={},O0[Yn.variable]="1.5rem",O0),lg:(L0={},L0[Yn.variable]="2rem",L0),xl:(B0={},B0[Yn.variable]="3rem",B0)},_P={size:"md"},TP={baseStyle:EP,sizes:PP,defaultProps:_P},MP={fontWeight:"medium"},FP={opacity:.8,marginBottom:2},AP={verticalAlign:"baseline",fontWeight:"semibold"},OP={marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"},LP={container:{},label:MP,helpText:FP,number:AP,icon:OP},BP={md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},VP={size:"md"},RP={parts:Y7.keys,baseStyle:LP,sizes:BP,defaultProps:VP},ku,Eu,Pu,Va=_t("switch-track-width"),Xn=_t("switch-track-height"),V0=_t("switch-track-diff"),IP=Mr.subtract(Va,Xn),R0=_t("switch-thumb-x"),$P=function(t){var r=t.colorScheme;return{borderRadius:"full",p:"2px",width:[Va.reference],height:[Xn.reference],transitionProperty:"common",transitionDuration:"fast",bg:B("gray.300","whiteAlpha.400")(t),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:B(r+".500",r+".200")(t)}}},DP={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Xn.reference],height:[Xn.reference],_checked:{transform:"translateX("+R0.reference+")"}},HP=function(t){var r,n;return{container:(n={},n[V0.variable]=IP,n[R0.variable]=V0.reference,n._rtl=(r={},r[R0.variable]=Mr(V0).negate().toString(),r),n),track:$P(t),thumb:DP}},zP={sm:{container:(ku={},ku[Va.variable]="1.375rem",ku[Xn.variable]="0.75rem",ku)},md:{container:(Eu={},Eu[Va.variable]="1.875rem",Eu[Xn.variable]="1rem",Eu)},lg:{container:(Pu={},Pu[Va.variable]="2.875rem",Pu[Xn.variable]="1.5rem",Pu)}},NP={size:"md",colorScheme:"blue"},jP={parts:X7.keys,baseStyle:HP,sizes:zP,defaultProps:NP},WP={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"}},_u={"&[data-is-numeric=true]":{textAlign:"end"}},UP=function(t){var r=t.colorScheme;return{th:$e({color:B("gray.600","gray.400")(t),borderBottom:"1px",borderColor:B(r+".100",r+".700")(t)},_u),td:$e({borderBottom:"1px",borderColor:B(r+".100",r+".700")(t)},_u),caption:{color:B("gray.600","gray.100")(t)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},ZP=function(t){var r=t.colorScheme;return{th:$e({color:B("gray.600","gray.400")(t),borderBottom:"1px",borderColor:B(r+".100",r+".700")(t)},_u),td:$e({borderBottom:"1px",borderColor:B(r+".100",r+".700")(t)},_u),caption:{color:B("gray.600","gray.100")(t)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:B(r+".100",r+".700")(t)},td:{background:B(r+".100",r+".700")(t)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},GP={simple:UP,striped:ZP,unstyled:{}},qP={sm:{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:{th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}},lg:{th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}}},YP={variant:"simple",size:"md",colorScheme:"gray"},XP={parts:K7.keys,baseStyle:WP,variants:GP,sizes:qP,defaultProps:YP},KP=function(t){var r=t.orientation;return{display:r==="vertical"?"flex":"block"}},QP=function(t){var r=t.isFitted;return{flex:r?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},JP=function(t){var r=t.align,n=r===void 0?"start":r,i=t.orientation,o={end:"flex-end",center:"center",start:"flex-start"};return{justifyContent:o[n],flexDirection:i==="vertical"?"column":"row"}},e_={p:4},t_=function(t){return{root:KP(t),tab:QP(t),tablist:JP(t),tabpanel:e_}},r_={sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},n_=function(t){var r,n,i=t.colorScheme,o=t.orientation,a=o==="vertical",l=o==="vertical"?"borderStart":"borderBottom",s=a?"marginStart":"marginBottom";return{tablist:(r={},r[l]="2px solid",r.borderColor="inherit",r),tab:(n={},n[l]="2px solid",n.borderColor="transparent",n[s]="-2px",n._selected={color:B(i+".600",i+".300")(t),borderColor:"currentColor"},n._active={bg:B("gray.200","whiteAlpha.300")(t)},n._disabled={opacity:.4,cursor:"not-allowed"},n)}},i_=function(t){var r=t.colorScheme;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:B(r+".600",r+".300")(t),borderColor:"inherit",borderBottomColor:B("white","gray.800")(t)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},o_=function(t){var r=t.colorScheme;return{tab:{border:"1px solid",borderColor:"inherit",bg:B("gray.50","whiteAlpha.50")(t),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:B("#fff","gray.800")(t),color:B(r+".600",r+".300")(t),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},a_=function(t){var r=t.colorScheme,n=t.theme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:je(n,r+".700"),bg:je(n,r+".100")}}}},l_=function(t){var r=t.colorScheme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:B("gray.600","inherit")(t),_selected:{color:B("#fff","gray.800")(t),bg:B(r+".600",r+".300")(t)}}}},s_={},u_={line:n_,enclosed:i_,"enclosed-colored":o_,"soft-rounded":a_,"solid-rounded":l_,unstyled:s_},c_={size:"md",variant:"line",colorScheme:"blue"},d_={parts:Q7.keys,baseStyle:t_,sizes:r_,variants:u_,defaultProps:c_},f_={fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},p_={lineHeight:1.2,overflow:"visible"},h_={fontSize:"18px",w:"1.25rem",h:"1.25rem",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"0.375rem",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focus:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},v_={container:f_,label:p_,closeButton:h_},m_={sm:{container:{minH:"1.25rem",minW:"1.25rem",fontSize:"xs",px:2,borderRadius:"md"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}},md:{container:{minH:"1.5rem",minW:"1.5rem",fontSize:"sm",borderRadius:"md",px:2}},lg:{container:{minH:8,minW:8,fontSize:"md",borderRadius:"md",px:3}}},g_={subtle:function(t){return{container:qi.variants.subtle(t)}},solid:function(t){return{container:qi.variants.solid(t)}},outline:function(t){return{container:qi.variants.outline(t)}}},y_={size:"md",variant:"subtle",colorScheme:"gray"},b_={parts:J7.keys,variants:g_,baseStyle:v_,sizes:m_,defaultProps:y_},hy,vy,my,gy,yy,x_=$e({},_e.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),C_={outline:function(t){var r;return(r=_e.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=_e.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=_e.variants.filled(t).field)!=null?r:{}},unstyled:(hy=_e.variants.unstyled.field)!=null?hy:{}},w_={xs:(vy=_e.sizes.xs.field)!=null?vy:{},sm:(my=_e.sizes.sm.field)!=null?my:{},md:(gy=_e.sizes.md.field)!=null?gy:{},lg:(yy=_e.sizes.lg.field)!=null?yy:{}},S_={size:"md",variant:"outline"},k_={baseStyle:x_,sizes:w_,variants:C_,defaultProps:S_},I0=_t("tooltip-bg"),E_=_t("popper-arrow-bg"),P_=function(t){var r,n=B("gray.700","gray.300")(t);return r={},r[I0.variable]="colors."+n,r.px="8px",r.py="2px",r.bg=[I0.reference],r[E_.variable]=[I0.reference],r.color=B("whiteAlpha.900","gray.900")(t),r.borderRadius="sm",r.fontWeight="medium",r.fontSize="sm",r.boxShadow="md",r.maxW="320px",r.zIndex="tooltip",r},__={baseStyle:P_},T_=Object.freeze({__proto__:null,Accordion:o6,Alert:p6,Avatar:x6,Badge:qi,Breadcrumb:M6,Button:D6,Checkbox:gu,CloseButton:X6,Code:ek,Container:rk,Divider:sk,Drawer:bk,Editable:kk,Form:Tk,FormError:Ok,FormLabel:Bk,Heading:$k,Input:_e,Kbd:qk,Link:Xk,List:Jk,Menu:lE,Modal:yE,NumberInput:TE,PinInput:LE,Popover:jE,Progress:KE,Radio:rP,Select:lP,Skeleton:cP,SkipLink:fP,Slider:kP,Spinner:TP,Stat:RP,Switch:jP,Table:XP,Tabs:d_,Tag:b_,Textarea:k_,Tooltip:__}),M_={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},F_=C7({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),A_={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"}},O_={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},L_={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"},B_={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"},V_={"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)"},R_={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},I_={property:B_,easing:V_,duration:R_},$_={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},D_={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},H_=$e({breakpoints:F_,zIndices:$_,radii:O_,blur:D_,colors:A_},sy,{sizes:Wg,shadows:L_,space:jg,borders:M_,transition:I_}),z_={global:function(t){return{body:{fontFamily:"body",color:B("gray.800","whiteAlpha.900")(t),bg:B("white","gray.800")(t),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:B("gray.400","whiteAlpha.400")(t)},"*, *::before, &::after":{borderColor:B("gray.200","whiteAlpha.300")(t),wordWrap:"break-word"}}}},N_=z_,j_=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function W_(e){return ht(e)?j_.every(function(t){return Object.prototype.hasOwnProperty.call(e,t)}):!1}var U_="ltr",Z_={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},by=$e({direction:U_},H_,{components:T_,styles:N_,config:Z_});function Ra(){return Ra=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ra.apply(this,arguments)}function G_(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var q_=["as","viewBox","color","focusable","children","className","__css"],xy={path:w.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},w.createElement("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"}),w.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),w.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},De=Fe(function(e,t){var r=e.as,n=e.viewBox,i=e.color,o=i===void 0?"currentColor":i,a=e.focusable,l=a===void 0?!1:a,s=e.children,u=e.className,c=e.__css,f=G_(e,q_),d=ze("chakra-icon",u),h=Ra({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o},c),m={ref:t,focusable:l,className:d,__css:h},y=n!=null?n:xy.viewBox;if(r&&typeof r!="string")return w.createElement(re.svg,Ra({as:r},m,f));var v=s!=null?s:xy.path;return w.createElement(re.svg,Ra({verticalAlign:"middle",viewBox:y},m,f),v)}),$0=function(e,t){return $0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},$0(e,t)};function Cy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");$0(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var N=function(){return N=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},N.apply(this,arguments)};function Tt(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Y_(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Le(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o}function er(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Fr=function(e){return{isEnabled:function(t){return e.some(function(r){return!!t[r]})}}},Ia={measureLayout:Fr(["layout","layoutId","drag"]),animation:Fr(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Fr(["exit"]),drag:Fr(["drag","dragControls"]),focus:Fr(["whileFocus"]),hover:Fr(["whileHover","onHoverStart","onHoverEnd"]),tap:Fr(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Fr(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Fr(["whileInView","onViewportEnter","onViewportLeave"])};function X_(e){for(var t in e)e[t]!==null&&(t==="projectionNodeConstructor"?Ia.projectionNodeConstructor=e[t]:Ia[t].Component=e[t])}var K_=function(){},Tu=function(){},wy=O.createContext({strict:!1}),Sy=Object.keys(Ia),Q_=Sy.length;function J_(e,t,r){var n=[];if(O.useContext(wy),!t)return null;for(var i=0;i<Q_;i++){var o=Sy[i],a=Ia[o],l=a.isEnabled,s=a.Component;l(e)&&s&&n.push(w.createElement(s,N({key:o},e,{visualElement:t})))}return n}var D0=O.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Mu=O.createContext({});function eT(){return O.useContext(Mu).visualElement}var $a=O.createContext(null),Da=typeof window!="undefined",Fu=Da?O.useLayoutEffect:O.useEffect,H0={current:null},ky=!1;function tT(){if(ky=!0,typeof window!="undefined")if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return H0.current=e.matches};e.addListener(t),t()}else H0.current=!1}function rT(){!ky&&tT();var e=Le(O.useState(H0.current),1),t=e[0];return t}function nT(){var e=rT(),t=O.useContext(D0).reducedMotion;return t==="never"?!1:t==="always"?!0:e}function iT(e,t,r,n){var i=O.useContext(wy),o=eT(),a=O.useContext($a),l=nT(),s=O.useRef(void 0);n||(n=i.renderer),!s.current&&n&&(s.current=n(e,{visualState:t,parent:o,props:r,presenceId:a==null?void 0:a.id,blockInitialAnimation:(a==null?void 0:a.initial)===!1,shouldReduceMotion:l}));var u=s.current;return Fu(function(){u==null||u.syncRender()}),O.useEffect(function(){var c;(c=u==null?void 0:u.animationState)===null||c===void 0||c.animateChanges()}),Fu(function(){return function(){return u==null?void 0:u.notifyUnmount()}},[]),u}function Xi(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function oT(e,t,r){return O.useCallback(function(n){var i;n&&((i=e.mount)===null||i===void 0||i.call(e,n)),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):Xi(r)&&(r.current=n))},[t])}function Ey(e){return Array.isArray(e)}function tr(e){return typeof e=="string"||Ey(e)}function aT(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.get()}),t}function lT(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.getVelocity()}),t}function Py(e,t,r,n,i){var o;return n===void 0&&(n={}),i===void 0&&(i={}),typeof t=="function"&&(t=t(r!=null?r:e.custom,n,i)),typeof t=="string"&&(t=(o=e.variants)===null||o===void 0?void 0:o[t]),typeof t=="function"&&(t=t(r!=null?r:e.custom,n,i)),t}function Au(e,t,r){var n=e.getProps();return Py(n,t,r!=null?r:n.custom,aT(e),lT(e))}function Ou(e){var t;return typeof((t=e.animate)===null||t===void 0?void 0:t.start)=="function"||tr(e.initial)||tr(e.animate)||tr(e.whileHover)||tr(e.whileDrag)||tr(e.whileTap)||tr(e.whileFocus)||tr(e.exit)}function _y(e){return Boolean(Ou(e)||e.variants)}function sT(e,t){if(Ou(e)){var r=e.initial,n=e.animate;return{initial:r===!1||tr(r)?r:void 0,animate:tr(n)?n:void 0}}return e.inherit!==!1?t:{}}function uT(e){var t=sT(e,O.useContext(Mu)),r=t.initial,n=t.animate;return O.useMemo(function(){return{initial:r,animate:n}},[Ty(r),Ty(n)])}function Ty(e){return Array.isArray(e)?e.join(" "):e}function Ha(e){var t=O.useRef(null);return t.current===null&&(t.current=e()),t.current}const My=1/60*1e3,cT=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),Fy=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(cT()),My);function dT(e){let t=[],r=[],n=0,i=!1,o=!1;const a=new WeakSet,l={schedule:(s,u=!1,c=!1)=>{const f=c&&i,d=f?t:r;return u&&a.add(s),d.indexOf(s)===-1&&(d.push(s),f&&i&&(n=t.length)),s},cancel:s=>{const u=r.indexOf(s);u!==-1&&r.splice(u,1),a.delete(s)},process:s=>{if(i){o=!0;return}if(i=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let u=0;u<n;u++){const c=t[u];c(s),a.has(c)&&(l.schedule(c),e())}i=!1,o&&(o=!1,l.process(s))}};return l}const fT=40;let z0=!0,za=!1,N0=!1;const Ki={delta:0,timestamp:0},Na=["read","update","preRender","render","postRender"],Lu=Na.reduce((e,t)=>(e[t]=dT(()=>za=!0),e),{}),hr=Na.reduce((e,t)=>{const r=Lu[t];return e[t]=(n,i=!1,o=!1)=>(za||hT(),r.schedule(n,i,o)),e},{}),ja=Na.reduce((e,t)=>(e[t]=Lu[t].cancel,e),{}),j0=Na.reduce((e,t)=>(e[t]=()=>Lu[t].process(Ki),e),{}),pT=e=>Lu[e].process(Ki),Ay=e=>{za=!1,Ki.delta=z0?My:Math.max(Math.min(e-Ki.timestamp,fT),1),Ki.timestamp=e,N0=!0,Na.forEach(pT),N0=!1,za&&(z0=!1,Fy(Ay))},hT=()=>{za=!0,z0=!0,N0||Fy(Ay)},W0=()=>Ki,Bu=(e,t,r)=>Math.min(Math.max(r,e),t),U0=.001,vT=.01,Oy=10,mT=.05,gT=1;function yT({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,o;K_(e<=Oy*1e3);let a=1-t;a=Bu(mT,gT,a),e=Bu(vT,Oy,e/1e3),a<1?(i=u=>{const c=u*a,f=c*e,d=c-r,h=Z0(u,a),m=Math.exp(-f);return U0-d/h*m},o=u=>{const f=u*a*e,d=f*r+r,h=Math.pow(a,2)*Math.pow(u,2)*e,m=Math.exp(-f),y=Z0(Math.pow(u,2),a);return(-i(u)+U0>0?-1:1)*((d-h)*m)/y}):(i=u=>{const c=Math.exp(-u*e),f=(u-r)*e+1;return-U0+c*f},o=u=>{const c=Math.exp(-u*e),f=(r-u)*(e*e);return c*f});const l=5/e,s=xT(i,o,l);if(e=e*1e3,isNaN(s))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(s,2)*n;return{stiffness:u,damping:a*2*Math.sqrt(n*u),duration:e}}}const bT=12;function xT(e,t,r){let n=r;for(let i=1;i<bT;i++)n=n-e(n)/t(n);return n}function Z0(e,t){return e*Math.sqrt(1-t*t)}const CT=["duration","bounce"],wT=["stiffness","damping","mass"];function Ly(e,t){return t.some(r=>e[r]!==void 0)}function ST(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Ly(e,wT)&&Ly(e,CT)){const r=yT(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function G0(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:i}=e,o=Tt(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:l,damping:s,mass:u,velocity:c,duration:f,isResolvedFromDuration:d}=ST(o),h=By,m=By;function y(){const v=c?-(c/1e3):0,g=r-t,b=s/(2*Math.sqrt(l*u)),x=Math.sqrt(l/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(r-t)/100,.4)),b<1){const C=Z0(x,b);h=k=>{const E=Math.exp(-b*x*k);return r-E*((v+b*x*g)/C*Math.sin(C*k)+g*Math.cos(C*k))},m=k=>{const E=Math.exp(-b*x*k);return b*x*E*(Math.sin(C*k)*(v+b*x*g)/C+g*Math.cos(C*k))-E*(Math.cos(C*k)*(v+b*x*g)-C*g*Math.sin(C*k))}}else if(b===1)h=C=>r-Math.exp(-x*C)*(g+(v+x*g)*C);else{const C=x*Math.sqrt(b*b-1);h=k=>{const E=Math.exp(-b*x*k),P=Math.min(C*k,300);return r-E*((v+b*x*g)*Math.sinh(P)+C*g*Math.cosh(P))/C}}}return y(),{next:v=>{const g=h(v);if(d)a.done=v>=f;else{const b=m(v)*1e3,x=Math.abs(b)<=n,C=Math.abs(r-g)<=i;a.done=x&&C}return a.value=a.done?r:g,a},flipTarget:()=>{c=-c,[t,r]=[r,t],y()}}}G0.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const By=e=>0,Wa=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},Be=(e,t,r)=>-r*e+r*t+e,Vy=(e,t)=>r=>Math.max(Math.min(r,t),e),Ua=e=>e%1?Number(e.toFixed(5)):e,Za=/(-)?([\d]*\.?[\d])+/g,q0=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,kT=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Ga(e){return typeof e=="string"}const Kn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},qa=Object.assign(Object.assign({},Kn),{transform:Vy(0,1)}),Vu=Object.assign(Object.assign({},Kn),{default:1}),Ya=e=>({test:t=>Ga(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),vn=Ya("deg"),vr=Ya("%"),Q=Ya("px"),ET=Ya("vh"),PT=Ya("vw"),Ry=Object.assign(Object.assign({},vr),{parse:e=>vr.parse(e)/100,transform:e=>vr.transform(e*100)}),Y0=(e,t)=>r=>Boolean(Ga(r)&&kT.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Iy=(e,t,r)=>n=>{if(!Ga(n))return n;const[i,o,a,l]=n.match(Za);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(a),alpha:l!==void 0?parseFloat(l):1}},Qn={test:Y0("hsl","hue"),parse:Iy("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+vr.transform(Ua(t))+", "+vr.transform(Ua(r))+", "+Ua(qa.transform(n))+")"},_T=Vy(0,255),X0=Object.assign(Object.assign({},Kn),{transform:e=>Math.round(_T(e))}),mn={test:Y0("rgb","red"),parse:Iy("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+X0.transform(e)+", "+X0.transform(t)+", "+X0.transform(r)+", "+Ua(qa.transform(n))+")"};function TT(e){let t="",r="",n="",i="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),i=e.substr(4,1),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}}const K0={test:Y0("#"),parse:TT,transform:mn.transform},dt={test:e=>mn.test(e)||K0.test(e)||Qn.test(e),parse:e=>mn.test(e)?mn.parse(e):Qn.test(e)?Qn.parse(e):K0.parse(e),transform:e=>Ga(e)?e:e.hasOwnProperty("red")?mn.transform(e):Qn.transform(e)},$y="${c}",Dy="${n}";function MT(e){var t,r,n,i;return isNaN(e)&&Ga(e)&&((r=(t=e.match(Za))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((i=(n=e.match(q0))===null||n===void 0?void 0:n.length)!==null&&i!==void 0?i:0)>0}function Hy(e){typeof e=="number"&&(e=`${e}`);const t=[];let r=0;const n=e.match(q0);n&&(r=n.length,e=e.replace(q0,$y),t.push(...n.map(dt.parse)));const i=e.match(Za);return i&&(e=e.replace(Za,Dy),t.push(...i.map(Kn.parse))),{values:t,numColors:r,tokenised:e}}function zy(e){return Hy(e).values}function Ny(e){const{values:t,numColors:r,tokenised:n}=Hy(e),i=t.length;return o=>{let a=n;for(let l=0;l<i;l++)a=a.replace(l<r?$y:Dy,l<r?dt.transform(o[l]):Ua(o[l]));return a}}const FT=e=>typeof e=="number"?0:e;function AT(e){const t=zy(e);return Ny(e)(t.map(FT))}const Ar={test:MT,parse:zy,createTransformer:Ny,getAnimatableNone:AT},OT=new Set(["brightness","contrast","saturate","opacity"]);function LT(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(Za)||[];if(!n)return e;const i=r.replace(n,"");let o=OT.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+i+")"}const BT=/([a-z-]*)\(.*?\)/g,Q0=Object.assign(Object.assign({},Ar),{getAnimatableNone:e=>{const t=e.match(BT);return t?t.map(LT).join(" "):e}});function J0(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function jy({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let i=0,o=0,a=0;if(!t)i=o=a=r;else{const l=r<.5?r*(1+t):r+t-r*t,s=2*r-l;i=J0(s,l,e+1/3),o=J0(s,l,e),a=J0(s,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:n}}const VT=(e,t,r)=>{const n=e*e,i=t*t;return Math.sqrt(Math.max(0,r*(i-n)+n))},RT=[K0,mn,Qn],Wy=e=>RT.find(t=>t.test(e)),Uy=(e,t)=>{let r=Wy(e),n=Wy(t),i=r.parse(e),o=n.parse(t);r===Qn&&(i=jy(i),r=mn),n===Qn&&(o=jy(o),n=mn);const a=Object.assign({},i);return l=>{for(const s in a)s!=="alpha"&&(a[s]=VT(i[s],o[s],l));return a.alpha=Be(i.alpha,o.alpha,l),r.transform(a)}},e1=e=>typeof e=="number",IT=(e,t)=>r=>t(e(r)),Ru=(...e)=>e.reduce(IT);function Zy(e,t){return e1(e)?r=>Be(e,t,r):dt.test(e)?Uy(e,t):Yy(e,t)}const Gy=(e,t)=>{const r=[...e],n=r.length,i=e.map((o,a)=>Zy(o,t[a]));return o=>{for(let a=0;a<n;a++)r[a]=i[a](o);return r}},$T=(e,t)=>{const r=Object.assign(Object.assign({},e),t),n={};for(const i in r)e[i]!==void 0&&t[i]!==void 0&&(n[i]=Zy(e[i],t[i]));return i=>{for(const o in n)r[o]=n[o](i);return r}};function qy(e){const t=Ar.parse(e),r=t.length;let n=0,i=0,o=0;for(let a=0;a<r;a++)n||typeof t[a]=="number"?n++:t[a].hue!==void 0?o++:i++;return{parsed:t,numNumbers:n,numRGB:i,numHSL:o}}const Yy=(e,t)=>{const r=Ar.createTransformer(t),n=qy(e),i=qy(t);return n.numHSL===i.numHSL&&n.numRGB===i.numRGB&&n.numNumbers>=i.numNumbers?Ru(Gy(n.parsed,i.parsed),r):a=>`${a>0?t:e}`},DT=(e,t)=>r=>Be(e,t,r);function HT(e){if(typeof e=="number")return DT;if(typeof e=="string")return dt.test(e)?Uy:Yy;if(Array.isArray(e))return Gy;if(typeof e=="object")return $T}function zT(e,t,r){const n=[],i=r||HT(e[0]),o=e.length-1;for(let a=0;a<o;a++){let l=i(e[a],e[a+1]);if(t){const s=Array.isArray(t)?t[a]:t;l=Ru(s,l)}n.push(l)}return n}function NT([e,t],[r]){return n=>r(Wa(e,t,n))}function jT(e,t){const r=e.length,n=r-1;return i=>{let o=0,a=!1;if(i<=e[0]?a=!0:i>=e[n]&&(o=n-1,a=!0),!a){let s=1;for(;s<r&&!(e[s]>i||s===n);s++);o=s-1}const l=Wa(e[o],e[o+1],i);return t[o](l)}}function Xy(e,t,{clamp:r=!0,ease:n,mixer:i}={}){const o=e.length;Tu(o===t.length),Tu(!n||!Array.isArray(n)||n.length===o-1),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=zT(t,n,i),l=o===2?NT(e,a):jT(e,a);return r?s=>l(Bu(e[0],e[o-1],s)):l}const Iu=e=>t=>1-e(1-t),t1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,WT=e=>t=>Math.pow(t,e),Ky=e=>t=>t*t*((e+1)*t-e),UT=e=>{const t=Ky(e);return r=>(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))},Qy=1.525,ZT=4/11,GT=8/11,qT=9/10,r1=e=>e,n1=WT(2),YT=Iu(n1),Jy=t1(n1),e3=e=>1-Math.sin(Math.acos(e)),i1=Iu(e3),XT=t1(i1),o1=Ky(Qy),KT=Iu(o1),QT=t1(o1),JT=UT(Qy),eM=4356/361,tM=35442/1805,rM=16061/1805,$u=e=>{if(e===1||e===0)return e;const t=e*e;return e<ZT?7.5625*t:e<GT?9.075*t-9.9*e+3.4:e<qT?eM*t-tM*e+rM:10.8*e*e-20.52*e+10.72},nM=Iu($u),iM=e=>e<.5?.5*(1-$u(1-e*2)):.5*$u(e*2-1)+.5;function oM(e,t){return e.map(()=>t||Jy).splice(0,e.length-1)}function aM(e){const t=e.length;return e.map((r,n)=>n!==0?n/(t-1):0)}function lM(e,t){return e.map(r=>r*t)}function Du({from:e=0,to:t=1,ease:r,offset:n,duration:i=300}){const o={done:!1,value:e},a=Array.isArray(t)?t:[e,t],l=lM(n&&n.length===a.length?n:aM(a),i);function s(){return Xy(l,a,{ease:Array.isArray(r)?r:oM(a,r)})}let u=s();return{next:c=>(o.value=u(c),o.done=c>=i,o),flipTarget:()=>{a.reverse(),u=s()}}}function sM({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:i=.5,modifyTarget:o}){const a={done:!1,value:t};let l=r*e;const s=t+l,u=o===void 0?s:o(s);return u!==s&&(l=u-t),{next:c=>{const f=-l*Math.exp(-c/n);return a.done=!(f>i||f<-i),a.value=a.done?u:u+f,a},flipTarget:()=>{}}}const t3={keyframes:Du,spring:G0,decay:sM};function uM(e){if(Array.isArray(e.to))return Du;if(t3[e.type])return t3[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Du:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?G0:Du}const r3=1/60*1e3,cM=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),n3=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(cM()),r3);function dM(e){let t=[],r=[],n=0,i=!1,o=!1;const a=new WeakSet,l={schedule:(s,u=!1,c=!1)=>{const f=c&&i,d=f?t:r;return u&&a.add(s),d.indexOf(s)===-1&&(d.push(s),f&&i&&(n=t.length)),s},cancel:s=>{const u=r.indexOf(s);u!==-1&&r.splice(u,1),a.delete(s)},process:s=>{if(i){o=!0;return}if(i=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let u=0;u<n;u++){const c=t[u];c(s),a.has(c)&&(l.schedule(c),e())}i=!1,o&&(o=!1,l.process(s))}};return l}const fM=40;let a1=!0,Xa=!1,l1=!1;const Qi={delta:0,timestamp:0},Ka=["read","update","preRender","render","postRender"],Hu=Ka.reduce((e,t)=>(e[t]=dM(()=>Xa=!0),e),{}),pM=Ka.reduce((e,t)=>{const r=Hu[t];return e[t]=(n,i=!1,o=!1)=>(Xa||mM(),r.schedule(n,i,o)),e},{}),hM=Ka.reduce((e,t)=>(e[t]=Hu[t].cancel,e),{});Ka.reduce((e,t)=>(e[t]=()=>Hu[t].process(Qi),e),{});const vM=e=>Hu[e].process(Qi),i3=e=>{Xa=!1,Qi.delta=a1?r3:Math.max(Math.min(e-Qi.timestamp,fM),1),Qi.timestamp=e,l1=!0,Ka.forEach(vM),l1=!1,Xa&&(a1=!1,n3(i3))},mM=()=>{Xa=!0,a1=!0,l1||n3(i3)},gM=()=>Qi;function o3(e,t,r=0){return e-t-r}function yM(e,t,r=0,n=!0){return n?o3(t+-e,t,r):t-(e-t)+r}function bM(e,t,r,n){return n?e>=t+r:e<=-r}const xM=e=>{const t=({delta:r})=>e(r);return{start:()=>pM.update(t,!0),stop:()=>hM.update(t)}};function a3(e){var t,r,{from:n,autoplay:i=!0,driver:o=xM,elapsed:a=0,repeat:l=0,repeatType:s="loop",repeatDelay:u=0,onPlay:c,onStop:f,onComplete:d,onRepeat:h,onUpdate:m}=e,y=Tt(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:v}=y,g,b=0,x=y.duration,C,k=!1,E=!0,P;const F=uM(y);!((r=(t=F).needsInterpolation)===null||r===void 0)&&r.call(t,n,v)&&(P=Xy([0,100],[n,v],{clamp:!1}),n=0,v=100);const M=F(Object.assign(Object.assign({},y),{from:n,to:v}));function I(){b++,s==="reverse"?(E=b%2===0,a=yM(a,x,u,E)):(a=o3(a,x,u),s==="mirror"&&M.flipTarget()),k=!1,h&&h()}function G(){g.stop(),d&&d()}function U(X){if(E||(X=-X),a+=X,!k){const K=M.next(Math.max(0,a));C=K.value,P&&(C=P(C)),k=E?K.done:a<=0}m==null||m(C),k&&(b===0&&(x!=null||(x=a)),b<l?bM(a,x,u,E)&&I():G())}function Z(){c==null||c(),g=o(U),g.start()}return i&&Z(),{stop:()=>{f==null||f(),g.stop()}}}function l3(e,t){return t?e*(1e3/t):0}function CM({from:e=0,velocity:t=0,min:r,max:n,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:l=10,restDelta:s=1,modifyTarget:u,driver:c,onUpdate:f,onComplete:d,onStop:h}){let m;function y(x){return r!==void 0&&x<r||n!==void 0&&x>n}function v(x){return r===void 0?n:n===void 0||Math.abs(r-x)<Math.abs(n-x)?r:n}function g(x){m==null||m.stop(),m=a3(Object.assign(Object.assign({},x),{driver:c,onUpdate:C=>{var k;f==null||f(C),(k=x.onUpdate)===null||k===void 0||k.call(x,C)},onComplete:d,onStop:h}))}function b(x){g(Object.assign({type:"spring",stiffness:a,damping:l,restDelta:s},x))}if(y(e))b({from:e,velocity:t,to:v(e)});else{let x=i*t+e;typeof u!="undefined"&&(x=u(x));const C=v(x),k=C===r?-1:1;let E,P;const F=M=>{E=P,P=M,t=l3(M-E,gM().delta),(k===1&&M>C||k===-1&&M<C)&&b({from:M,to:C,velocity:t})};g({type:"decay",from:e,velocity:t,timeConstant:o,power:i,restDelta:s,modifyTarget:u,onUpdate:y(x)?F:void 0})}return{stop:()=>m==null?void 0:m.stop()}}const s1=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),s3=e=>s1(e)&&e.hasOwnProperty("z"),zu=(e,t)=>Math.abs(e-t);function u3(e,t){if(e1(e)&&e1(t))return zu(e,t);if(s1(e)&&s1(t)){const r=zu(e.x,t.x),n=zu(e.y,t.y),i=s3(e)&&s3(t)?zu(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(i,2))}}const c3=(e,t)=>1-3*t+3*e,d3=(e,t)=>3*t-6*e,f3=e=>3*e,Nu=(e,t,r)=>((c3(t,r)*e+d3(t,r))*e+f3(t))*e,p3=(e,t,r)=>3*c3(t,r)*e*e+2*d3(t,r)*e+f3(t),wM=1e-7,SM=10;function kM(e,t,r,n,i){let o,a,l=0;do a=t+(r-t)/2,o=Nu(a,n,i)-e,o>0?r=a:t=a;while(Math.abs(o)>wM&&++l<SM);return a}const EM=8,PM=.001;function _M(e,t,r,n){for(let i=0;i<EM;++i){const o=p3(t,r,n);if(o===0)return t;t-=(Nu(t,r,n)-e)/o}return t}const ju=11,Wu=1/(ju-1);function TM(e,t,r,n){if(e===t&&r===n)return r1;const i=new Float32Array(ju);for(let a=0;a<ju;++a)i[a]=Nu(a*Wu,e,r);function o(a){let l=0,s=1;const u=ju-1;for(;s!==u&&i[s]<=a;++s)l+=Wu;--s;const c=(a-i[s])/(i[s+1]-i[s]),f=l+c*Wu,d=p3(f,e,r);return d>=PM?_M(a,f,e,r):d===0?f:kM(a,l,l+Wu,e,r)}return a=>a===0||a===1?a:Nu(o(a),t,n)}function u1(e,t){e.indexOf(t)===-1&&e.push(t)}function c1(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var Qa=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var r=this;return u1(this.subscriptions,t),function(){return c1(r.subscriptions,t)}},e.prototype.notify=function(t,r,n){var i=this.subscriptions.length;if(!!i)if(i===1)this.subscriptions[0](t,r,n);else for(var o=0;o<i;o++){var a=this.subscriptions[o];a&&a(t,r,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),MM=function(e){return!isNaN(parseFloat(e))},FM=function(){function e(t){var r=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Qa,this.velocityUpdateSubscribers=new Qa,this.renderSubscribers=new Qa,this.canTrackVelocity=!1,this.updateAndNotify=function(n,i){i===void 0&&(i=!0),r.prev=r.current,r.current=n;var o=W0(),a=o.delta,l=o.timestamp;r.lastUpdated!==l&&(r.timeDelta=a,r.lastUpdated=l,hr.postRender(r.scheduleVelocityCheck)),r.prev!==r.current&&r.updateSubscribers.notify(r.current),r.velocityUpdateSubscribers.getSize()&&r.velocityUpdateSubscribers.notify(r.getVelocity()),i&&r.renderSubscribers.notify(r.current)},this.scheduleVelocityCheck=function(){return hr.postRender(r.velocityCheck)},this.velocityCheck=function(n){var i=n.timestamp;i!==r.lastUpdated&&(r.prev=r.current,r.velocityUpdateSubscribers.notify(r.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=MM(this.current)}return e.prototype.onChange=function(t){return this.updateSubscribers.add(t)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},e.prototype.attach=function(t){this.passiveEffect=t},e.prototype.set=function(t,r){r===void 0&&(r=!0),!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?l3(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(t){var r=this;return this.stop(),new Promise(function(n){r.hasAnimated=!0,r.stopAnimation=t(n)}).then(function(){return r.clearAnimation()})},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function Ji(e){return new FM(e)}var Or=function(e){return Boolean(e!==null&&typeof e=="object"&&e.getVelocity)},Uu=function(e){return e*1e3},AM={linear:r1,easeIn:n1,easeInOut:Jy,easeOut:YT,circIn:e3,circInOut:XT,circOut:i1,backIn:o1,backInOut:QT,backOut:KT,anticipate:JT,bounceIn:nM,bounceInOut:iM,bounceOut:$u},h3=function(e){if(Array.isArray(e)){Tu(e.length===4);var t=Le(e,4),r=t[0],n=t[1],i=t[2],o=t[3];return TM(r,n,i,o)}else if(typeof e=="string")return AM[e];return e},OM=function(e){return Array.isArray(e)&&typeof e[0]!="number"},v3=function(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Ar.test(t)&&!t.startsWith("url("))},Ja=function(e){return Array.isArray(e)},Jn=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Zu=function(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}},d1=function(){return{type:"keyframes",ease:"linear",duration:.3}},LM=function(e){return{type:"keyframes",duration:.8,values:e}},m3={x:Jn,y:Jn,z:Jn,rotate:Jn,rotateX:Jn,rotateY:Jn,rotateZ:Jn,scaleX:Zu,scaleY:Zu,scale:Zu,opacity:d1,backgroundColor:d1,color:d1,default:Zu},BM=function(e,t){var r;return Ja(t)?r=LM:r=m3[e]||m3.default,N({to:t},r(t))},g3=N(N({},Kn),{transform:Math.round}),y3={borderWidth:Q,borderTopWidth:Q,borderRightWidth:Q,borderBottomWidth:Q,borderLeftWidth:Q,borderRadius:Q,radius:Q,borderTopLeftRadius:Q,borderTopRightRadius:Q,borderBottomRightRadius:Q,borderBottomLeftRadius:Q,width:Q,maxWidth:Q,height:Q,maxHeight:Q,size:Q,top:Q,right:Q,bottom:Q,left:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,rotate:vn,rotateX:vn,rotateY:vn,rotateZ:vn,scale:Vu,scaleX:Vu,scaleY:Vu,scaleZ:Vu,skew:vn,skewX:vn,skewY:vn,distance:Q,translateX:Q,translateY:Q,translateZ:Q,x:Q,y:Q,z:Q,perspective:Q,transformPerspective:Q,opacity:qa,originX:Ry,originY:Ry,originZ:Q,zIndex:g3,fillOpacity:qa,strokeOpacity:qa,numOctaves:g3},VM=N(N({},y3),{color:dt,backgroundColor:dt,outlineColor:dt,fill:dt,stroke:dt,borderColor:dt,borderTopColor:dt,borderRightColor:dt,borderBottomColor:dt,borderLeftColor:dt,filter:Q0,WebkitFilter:Q0}),f1=function(e){return VM[e]};function p1(e,t){var r,n=f1(e);return n!==Q0&&(n=Ar),(r=n.getAnimatableNone)===null||r===void 0?void 0:r.call(n,t)}var RM={current:!1},IM=function(e){return Boolean(e&&typeof e=="object"&&e.mix&&e.toValue)},b3=function(e){return Ja(e)?e[e.length-1]||0:e};function $M(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=Tt(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}function DM(e){var t=e.ease,r=e.times,n=e.yoyo,i=e.flip,o=e.loop,a=Tt(e,["ease","times","yoyo","flip","loop"]),l=N({},a);return r&&(l.offset=r),a.duration&&(l.duration=Uu(a.duration)),a.repeatDelay&&(l.repeatDelay=Uu(a.repeatDelay)),t&&(l.ease=OM(t)?t.map(h3):h3(t)),a.type==="tween"&&(l.type="keyframes"),(n||o||i)&&(n?l.repeatType="reverse":o?l.repeatType="loop":i&&(l.repeatType="mirror"),l.repeat=o||n||i||a.repeat),a.type!=="spring"&&(l.type="keyframes"),l}function HM(e,t){var r,n,i=h1(e,t)||{};return(n=(r=i.delay)!==null&&r!==void 0?r:e.delay)!==null&&n!==void 0?n:0}function zM(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=er([],Le(e.to),!1),e.to[0]=e.from),e}function NM(e,t,r){var n;return Array.isArray(t.to)&&((n=e.duration)!==null&&n!==void 0||(e.duration=.8)),zM(t),$M(e)||(e=N(N({},e),BM(r,t.to))),N(N({},t),DM(e))}function jM(e,t,r,n,i){var o,a=h1(n,e),l=(o=a.from)!==null&&o!==void 0?o:t.get(),s=v3(e,r);l==="none"&&s&&typeof r=="string"?l=p1(e,r):x3(l)&&typeof r=="string"?l=C3(r):!Array.isArray(r)&&x3(r)&&typeof l=="string"&&(r=C3(l));var u=v3(e,l);function c(){var d={from:l,to:r,velocity:t.getVelocity(),onComplete:i,onUpdate:function(h){return t.set(h)}};return a.type==="inertia"||a.type==="decay"?CM(N(N({},d),a)):a3(N(N({},NM(a,d,e)),{onUpdate:function(h){var m;d.onUpdate(h),(m=a.onUpdate)===null||m===void 0||m.call(a,h)},onComplete:function(){var h;d.onComplete(),(h=a.onComplete)===null||h===void 0||h.call(a)}}))}function f(){var d,h,m=b3(r);return t.set(m),i(),(d=a==null?void 0:a.onUpdate)===null||d===void 0||d.call(a,m),(h=a==null?void 0:a.onComplete)===null||h===void 0||h.call(a),{stop:function(){}}}return!u||!s||a.type===!1?f:c}function x3(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function C3(e){return typeof e=="number"?0:p1("",e)}function h1(e,t){return e[t]||e.default||e}function v1(e,t,r,n){return n===void 0&&(n={}),RM.current&&(n={type:!1}),t.start(function(i){var o,a,l=jM(e,t,r,n,i),s=HM(n,e),u=function(){return a=l()};return s?o=window.setTimeout(u,Uu(s)):u(),function(){clearTimeout(o),a==null||a.stop()}})}function WM(e,t,r){r===void 0&&(r={});var n=Or(e)?e:Ji(e);return v1("",n,t,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}var w3=["TopLeft","TopRight","BottomLeft","BottomRight"],UM=w3.length,S3=function(e){return typeof e=="string"?parseFloat(e):e},k3=function(e){return typeof e=="number"||Q.test(e)};function ZM(e,t,r,n,i,o){var a,l,s,u;i?(e.opacity=Be(0,(a=r.opacity)!==null&&a!==void 0?a:1,GM(n)),e.opacityExit=Be((l=t.opacity)!==null&&l!==void 0?l:1,0,qM(n))):o&&(e.opacity=Be((s=t.opacity)!==null&&s!==void 0?s:1,(u=r.opacity)!==null&&u!==void 0?u:1,n));for(var c=0;c<UM;c++){var f="border".concat(w3[c],"Radius"),d=E3(t,f),h=E3(r,f);if(!(d===void 0&&h===void 0)){d||(d=0),h||(h=0);var m=d===0||h===0||k3(d)===k3(h);m?(e[f]=Math.max(Be(S3(d),S3(h),n),0),(vr.test(h)||vr.test(d))&&(e[f]+="%")):e[f]=h}}(t.rotate||r.rotate)&&(e.rotate=Be(t.rotate||0,r.rotate||0,n))}function E3(e,t){var r;return(r=e[t])!==null&&r!==void 0?r:e.borderRadius}var GM=P3(0,.5,i1),qM=P3(.5,.95,r1);function P3(e,t,r){return function(n){return n<e?0:n>t?1:r(Wa(e,t,n))}}function _3(e,t){e.min=t.min,e.max=t.max}function mr(e,t){_3(e.x,t.x),_3(e.y,t.y)}function m1(e){return e===void 0||e===1}function T3(e){var t=e.scale,r=e.scaleX,n=e.scaleY;return!m1(t)||!m1(r)||!m1(n)}function gn(e){return T3(e)||M3(e.x)||M3(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function M3(e){return e&&e!=="0%"}function Gu(e,t,r){var n=e-r,i=t*n;return r+i}function F3(e,t,r,n,i){return i!==void 0&&(e=Gu(e,i,n)),Gu(e,r,n)+t}function g1(e,t,r,n,i){t===void 0&&(t=0),r===void 0&&(r=1),e.min=F3(e.min,t,r,n,i),e.max=F3(e.max,t,r,n,i)}function A3(e,t){var r=t.x,n=t.y;g1(e.x,r.translate,r.scale,r.originPoint),g1(e.y,n.translate,n.scale,n.originPoint)}function YM(e,t,r,n){var i,o;n===void 0&&(n=!1);var a=r.length;if(!!a){t.x=t.y=1;for(var l,s,u=0;u<a;u++)l=r[u],s=l.projectionDelta,((o=(i=l.instance)===null||i===void 0?void 0:i.style)===null||o===void 0?void 0:o.display)!=="contents"&&(n&&l.options.layoutScroll&&l.scroll&&l!==l.root&&to(e,{x:-l.scroll.x,y:-l.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,A3(e,s)),n&&gn(l.latestValues)&&to(e,l.latestValues))}}function eo(e,t){e.min=e.min+t,e.max=e.max+t}function O3(e,t,r){var n=Le(r,3),i=n[0],o=n[1],a=n[2],l=t[a]!==void 0?t[a]:.5,s=Be(e.min,e.max,l);g1(e,t[i],t[o],s,t.scale)}var XM=["x","scaleX","originX"],KM=["y","scaleY","originY"];function to(e,t){O3(e.x,t,XM),O3(e.y,t,KM)}function Lr(e){return e.max-e.min}function L3(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=.01),u3(e,t)<r}function B3(e,t,r,n){n===void 0&&(n=.5),e.origin=n,e.originPoint=Be(t.min,t.max,e.origin),e.scale=Lr(r)/Lr(t),(L3(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Be(r.min,r.max,e.origin)-e.originPoint,(L3(e.translate)||isNaN(e.translate))&&(e.translate=0)}function el(e,t,r,n){B3(e.x,t.x,r.x,n==null?void 0:n.originX),B3(e.y,t.y,r.y,n==null?void 0:n.originY)}function V3(e,t,r){e.min=r.min+t.min,e.max=e.min+Lr(t)}function QM(e,t,r){V3(e.x,t.x,r.x),V3(e.y,t.y,r.y)}function R3(e,t,r){e.min=t.min-r.min,e.max=e.min+Lr(t)}function tl(e,t,r){R3(e.x,t.x,r.x),R3(e.y,t.y,r.y)}function I3(e,t,r,n,i){return e-=t,e=Gu(e,1/r,n),i!==void 0&&(e=Gu(e,1/i,n)),e}function JM(e,t,r,n,i,o,a){if(t===void 0&&(t=0),r===void 0&&(r=1),n===void 0&&(n=.5),o===void 0&&(o=e),a===void 0&&(a=e),vr.test(t)){t=parseFloat(t);var l=Be(a.min,a.max,t/100);t=l-a.min}if(typeof t=="number"){var s=Be(o.min,o.max,n);e===o&&(s-=t),e.min=I3(e.min,t,r,s,i),e.max=I3(e.max,t,r,s,i)}}function $3(e,t,r,n,i){var o=Le(r,3),a=o[0],l=o[1],s=o[2];JM(e,t[a],t[l],t[s],t.scale,n,i)}var eF=["x","scaleX","originX"],tF=["y","scaleY","originY"];function D3(e,t,r,n){$3(e.x,t,eF,r==null?void 0:r.x,n==null?void 0:n.x),$3(e.y,t,tF,r==null?void 0:r.y,n==null?void 0:n.y)}var H3=function(){return{translate:0,scale:1,origin:0,originPoint:0}},rl=function(){return{x:H3(),y:H3()}},z3=function(){return{min:0,max:0}},lt=function(){return{x:z3(),y:z3()}};function N3(e){return e.translate===0&&e.scale===1}function j3(e){return N3(e.x)&&N3(e.y)}function W3(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var rF=function(){function e(){this.members=[]}return e.prototype.add=function(t){u1(this.members,t),t.scheduleRender()},e.prototype.remove=function(t){if(c1(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var r=this.members[this.members.length-1];r&&this.promote(r)}},e.prototype.relegate=function(t){var r=this.members.findIndex(function(a){return t===a});if(r===0)return!1;for(var n,i=r;i>=0;i--){var o=this.members[i];if(o.isPresent!==!1){n=o;break}}return n?(this.promote(n),!0):!1},e.prototype.promote=function(t,r){var n,i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,r&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues,t.snapshot.isShared=!0),!((n=t.root)===null||n===void 0)&&n.isUpdating&&(t.isLayoutDirty=!0);var o=t.options.crossfade;o===!1&&i.hide()}},e.prototype.exitAnimationComplete=function(){this.members.forEach(function(t){var r,n,i,o,a;(n=(r=t.options).onExitComplete)===null||n===void 0||n.call(r),(a=(i=t.resumingFrom)===null||i===void 0?void 0:(o=i.options).onExitComplete)===null||a===void 0||a.call(o)})},e.prototype.scheduleRender=function(){this.members.forEach(function(t){t.instance&&t.scheduleRender(!1)})},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),qu={};function nF(e){Object.assign(qu,e)}var iF="translate3d(0px, 0px, 0) scale(1, 1)";function U3(e,t,r){var n=e.x.translate/t.x,i=e.y.translate/t.y,o="translate3d(".concat(n,"px, ").concat(i,"px, 0) ");if(r){var a=r.rotate,l=r.rotateX,s=r.rotateY;a&&(o+="rotate(".concat(a,"deg) ")),l&&(o+="rotateX(".concat(l,"deg) ")),s&&(o+="rotateY(".concat(s,"deg) "))}return o+="scale(".concat(e.x.scale,", ").concat(e.y.scale,")"),o===iF?"none":o}function gr(e){return[e("x"),e("y")]}var y1=["","X","Y","Z"],oF=["translate","scale","rotate","skew"],nl=["transformPerspective","x","y","z"];oF.forEach(function(e){return y1.forEach(function(t){return nl.push(e+t)})});function aF(e,t){return nl.indexOf(e)-nl.indexOf(t)}var lF=new Set(nl);function il(e){return lF.has(e)}var sF=new Set(["originX","originY","originZ"]);function Z3(e){return sF.has(e)}var uF=function(e,t){return e.depth-t.depth},cF=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(t){u1(this.children,t),this.isDirty=!0},e.prototype.remove=function(t){c1(this.children,t),this.isDirty=!0},e.prototype.forEach=function(t){this.isDirty&&this.children.sort(uF),this.isDirty=!1,this.children.forEach(t)},e}();function Yu(e){var t=Or(e)?e.get():e;return IM(t)?t.toValue():t}var G3=1e3,ol={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function q3(e){var t=e.attachResizeListener,r=e.defaultParent,n=e.measureScroll,i=e.resetTransform;return function(){function o(a,l,s){var u=this;l===void 0&&(l={}),s===void 0&&(s=r==null?void 0:r()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){u.isUpdating&&(u.isUpdating=!1,u.clearAllSnapshots())},this.updateProjection=function(){u.nodes.forEach(mF),u.nodes.forEach(gF)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=a,this.latestValues=l,this.root=s?s.root||s:this,this.path=s?er(er([],Le(s.path),!1),[s],!1):[],this.parent=s,this.depth=s?s.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(var c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new cF)}return o.prototype.addEventListener=function(a,l){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Qa),this.eventHandlers.get(a).add(l)},o.prototype.notifyListeners=function(a){for(var l=[],s=1;s<arguments.length;s++)l[s-1]=arguments[s];var u=this.eventHandlers.get(a);u==null||u.notify.apply(u,er([],Le(l),!1))},o.prototype.hasListeners=function(a){return this.eventHandlers.has(a)},o.prototype.registerPotentialNode=function(a,l){this.potentialNodes.set(a,l)},o.prototype.mount=function(a,l){var s=this,u;if(l===void 0&&(l=!1),!this.instance){this.isSVG=a instanceof SVGElement&&a.tagName!=="svg",this.instance=a;var c=this.options,f=c.layoutId,d=c.layout,h=c.visualElement;if(h&&!h.getInstance()&&h.mount(a),this.root.nodes.add(this),(u=this.parent)===null||u===void 0||u.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),l&&(d||f)&&(this.isLayoutDirty=!0),t){var m,y=function(){return s.root.updateBlockedByResize=!1};t(a,function(){s.root.updateBlockedByResize=!0,clearTimeout(m),m=window.setTimeout(y,250),ol.hasAnimatedSinceResize&&(ol.hasAnimatedSinceResize=!1,s.nodes.forEach(vF))})}f&&this.root.registerSharedNode(f,this),this.options.animate!==!1&&h&&(f||d)&&this.addEventListener("didUpdate",function(v){var g,b,x,C,k,E=v.delta,P=v.hasLayoutChanged,F=v.hasRelativeTargetChanged,M=v.layout;if(s.isTreeAnimationBlocked()){s.target=void 0,s.relativeTarget=void 0;return}var I=(b=(g=s.options.transition)!==null&&g!==void 0?g:h.getDefaultTransition())!==null&&b!==void 0?b:wF,G=h.getProps().onLayoutAnimationComplete,U=!s.targetLayout||!W3(s.targetLayout,M)||F,Z=!P&&F;if(((x=s.resumeFrom)===null||x===void 0?void 0:x.instance)||Z||P&&(U||!s.currentAnimation)){s.resumeFrom&&(s.resumingFrom=s.resumeFrom,s.resumingFrom.resumingFrom=void 0),s.setAnimationOrigin(E,Z);var X=N(N({},h1(I,"layout")),{onComplete:G});h.shouldReduceMotion&&(X.delay=0,X.type=!1),s.startAnimation(X)}else!P&&s.animationProgress===0&&s.finishAnimation(),s.isLead()&&((k=(C=s.options).onExitComplete)===null||k===void 0||k.call(C));s.targetLayout=M})}},o.prototype.unmount=function(){var a,l;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(a=this.getStack())===null||a===void 0||a.remove(this),(l=this.parent)===null||l===void 0||l.children.delete(this),this.instance=void 0,ja.preRender(this.updateProjection)},o.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},o.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},o.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},o.prototype.isTreeAnimationBlocked=function(){var a;return this.isAnimationBlocked||((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimationBlocked())||!1},o.prototype.startUpdate=function(){var a;this.isUpdateBlocked()||(this.isUpdating=!0,(a=this.nodes)===null||a===void 0||a.forEach(yF))},o.prototype.willUpdate=function(a){var l,s,u;if(a===void 0&&(a=!0),this.root.isUpdateBlocked()){(s=(l=this.options).onExitComplete)===null||s===void 0||s.call(l);return}if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var c=0;c<this.path.length;c++){var f=this.path[c];f.shouldResetTransform=!0,f.updateScroll()}var d=this.options,h=d.layoutId,m=d.layout;if(!(h===void 0&&!m)){var y=(u=this.options.visualElement)===null||u===void 0?void 0:u.getProps().transformTemplate;this.prevTransformTemplateValue=y==null?void 0:y(this.latestValues,""),this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}}},o.prototype.didUpdate=function(){var a=this.isUpdateBlocked();if(a){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Y3);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(SF),this.potentialNodes.clear()),this.nodes.forEach(hF),this.nodes.forEach(dF),this.nodes.forEach(fF),this.clearAllSnapshots(),j0.update(),j0.preRender(),j0.render())},o.prototype.clearAllSnapshots=function(){this.nodes.forEach(pF),this.sharedNodes.forEach(bF)},o.prototype.scheduleUpdateProjection=function(){hr.preRender(this.updateProjection,!1,!0)},o.prototype.scheduleCheckAfterUnmount=function(){var a=this;hr.postRender(function(){a.isLayoutDirty?a.root.didUpdate():a.root.checkUpdateFailed()})},o.prototype.updateSnapshot=function(){if(!(this.snapshot||!this.instance)){var a=this.measure(),l=this.removeTransform(this.removeElementScroll(a));J3(l),this.snapshot={measured:a,layout:l,latestValues:{}}}},o.prototype.updateLayout=function(){var a;if(!!this.instance&&(this.updateScroll(),!(!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))){if(this.resumeFrom&&!this.resumeFrom.instance)for(var l=0;l<this.path.length;l++){var s=this.path[l];s.updateScroll()}var u=this.measure();J3(u);var c=this.layout;this.layout={measured:u,actual:this.removeElementScroll(u)},this.layoutCorrected=lt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),(a=this.options.visualElement)===null||a===void 0||a.notifyLayoutMeasure(this.layout.actual,c==null?void 0:c.actual)}},o.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.scroll=n(this.instance))},o.prototype.resetTransform=function(){var a;if(!!i){var l=this.isLayoutDirty||this.shouldResetTransform,s=this.projectionDelta&&!j3(this.projectionDelta),u=(a=this.options.visualElement)===null||a===void 0?void 0:a.getProps().transformTemplate,c=u==null?void 0:u(this.latestValues,""),f=c!==this.prevTransformTemplateValue;l&&(s||gn(this.latestValues)||f)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}},o.prototype.measure=function(){var a=this.options.visualElement;if(!a)return lt();var l=a.measureViewportBox(),s=this.root.scroll;return s&&(eo(l.x,s.x),eo(l.y,s.y)),l},o.prototype.removeElementScroll=function(a){var l=lt();mr(l,a);for(var s=0;s<this.path.length;s++){var u=this.path[s],c=u.scroll,f=u.options;u!==this.root&&c&&f.layoutScroll&&(eo(l.x,c.x),eo(l.y,c.y))}return l},o.prototype.applyTransform=function(a,l){l===void 0&&(l=!1);var s=lt();mr(s,a);for(var u=0;u<this.path.length;u++){var c=this.path[u];!l&&c.options.layoutScroll&&c.scroll&&c!==c.root&&to(s,{x:-c.scroll.x,y:-c.scroll.y}),gn(c.latestValues)&&to(s,c.latestValues)}return gn(this.latestValues)&&to(s,this.latestValues),s},o.prototype.removeTransform=function(a){var l,s=lt();mr(s,a);for(var u=0;u<this.path.length;u++){var c=this.path[u];if(!!c.instance&&!!gn(c.latestValues)){T3(c.latestValues)&&c.updateSnapshot();var f=lt(),d=c.measure();mr(f,d),D3(s,c.latestValues,(l=c.snapshot)===null||l===void 0?void 0:l.layout,f)}}return gn(this.latestValues)&&D3(s,this.latestValues),s},o.prototype.setTargetDelta=function(a){this.targetDelta=a,this.root.scheduleUpdateProjection()},o.prototype.setOptions=function(a){var l;this.options=N(N(N({},this.options),a),{crossfade:(l=a.crossfade)!==null&&l!==void 0?l:!0})},o.prototype.clearMeasurements=function(){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},o.prototype.resolveTargetDelta=function(){var a,l=this.options,s=l.layout,u=l.layoutId;!this.layout||!(s||u)||(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=lt(),this.relativeTargetOrigin=lt(),tl(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),mr(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=lt(),this.targetWithTransforms=lt()),this.relativeTarget&&this.relativeTargetOrigin&&((a=this.relativeParent)===null||a===void 0?void 0:a.target)?QM(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):mr(this.target,this.layout.actual),A3(this.target,this.targetDelta)):mr(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=lt(),this.relativeTargetOrigin=lt(),tl(this.relativeTargetOrigin,this.target,this.relativeParent.target),mr(this.relativeTarget,this.relativeTargetOrigin)))))},o.prototype.getClosestProjectingParent=function(){if(!(!this.parent||gn(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},o.prototype.calcProjection=function(){var a,l=this.options,s=l.layout,u=l.layoutId;if(this.isTreeAnimating=Boolean(((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!(!this.layout||!(s||u))){var c=this.getLead();mr(this.layoutCorrected,this.layout.actual),YM(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==c);var f=c.target;if(!!f){this.projectionDelta||(this.projectionDelta=rl(),this.projectionDeltaWithTransform=rl());var d=this.treeScale.x,h=this.treeScale.y,m=this.projectionTransform;el(this.projectionDelta,this.layoutCorrected,f,this.latestValues),this.projectionTransform=U3(this.projectionDelta,this.treeScale),(this.projectionTransform!==m||this.treeScale.x!==d||this.treeScale.y!==h)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",f))}}},o.prototype.hide=function(){this.isVisible=!1},o.prototype.show=function(){this.isVisible=!0},o.prototype.scheduleRender=function(a){var l,s,u;a===void 0&&(a=!0),(s=(l=this.options).scheduleRender)===null||s===void 0||s.call(l),a&&((u=this.getStack())===null||u===void 0||u.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},o.prototype.setAnimationOrigin=function(a,l){var s=this,u;l===void 0&&(l=!1);var c=this.snapshot,f=(c==null?void 0:c.latestValues)||{},d=N({},this.latestValues),h=rl();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!l;var m=lt(),y=c==null?void 0:c.isShared,v=(((u=this.getStack())===null||u===void 0?void 0:u.members.length)||0)<=1,g=Boolean(y&&!v&&this.options.crossfade===!0&&!this.path.some(CF));this.animationProgress=0,this.mixTargetDelta=function(b){var x,C=b/1e3;X3(h.x,a.x,C),X3(h.y,a.y,C),s.setTargetDelta(h),s.relativeTarget&&s.relativeTargetOrigin&&s.layout&&((x=s.relativeParent)===null||x===void 0?void 0:x.layout)&&(tl(m,s.layout.actual,s.relativeParent.layout.actual),xF(s.relativeTarget,s.relativeTargetOrigin,m,C)),y&&(s.animationValues=d,ZM(d,f,s.latestValues,C,g,v)),s.root.scheduleUpdateProjection(),s.scheduleRender(),s.animationProgress=C},this.mixTargetDelta(0)},o.prototype.startAnimation=function(a){var l=this,s,u;(s=this.currentAnimation)===null||s===void 0||s.stop(),this.resumingFrom&&((u=this.resumingFrom.currentAnimation)===null||u===void 0||u.stop()),this.pendingAnimation&&(ja.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=hr.update(function(){ol.hasAnimatedSinceResize=!0,l.currentAnimation=WM(0,G3,N(N({},a),{onUpdate:function(c){var f;l.mixTargetDelta(c),(f=a.onUpdate)===null||f===void 0||f.call(a,c)},onComplete:function(){var c;(c=a.onComplete)===null||c===void 0||c.call(a),l.completeAnimation()}})),l.resumingFrom&&(l.resumingFrom.currentAnimation=l.currentAnimation),l.pendingAnimation=void 0})},o.prototype.completeAnimation=function(){var a;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(a=this.getStack())===null||a===void 0||a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},o.prototype.finishAnimation=function(){var a;this.currentAnimation&&((a=this.mixTargetDelta)===null||a===void 0||a.call(this,G3),this.currentAnimation.stop()),this.completeAnimation()},o.prototype.applyTransformsToTarget=function(){var a=this.getLead(),l=a.targetWithTransforms,s=a.target,u=a.layout,c=a.latestValues;!l||!s||!u||(mr(l,s),to(l,c),el(this.projectionDeltaWithTransform,this.layoutCorrected,l,c))},o.prototype.registerSharedNode=function(a,l){var s,u,c;this.sharedNodes.has(a)||this.sharedNodes.set(a,new rF);var f=this.sharedNodes.get(a);f.add(l),l.promote({transition:(s=l.options.initialPromotionConfig)===null||s===void 0?void 0:s.transition,preserveFollowOpacity:(c=(u=l.options.initialPromotionConfig)===null||u===void 0?void 0:u.shouldPreserveFollowOpacity)===null||c===void 0?void 0:c.call(u,l)})},o.prototype.isLead=function(){var a=this.getStack();return a?a.lead===this:!0},o.prototype.getLead=function(){var a,l=this.options.layoutId;return l?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this},o.prototype.getPrevLead=function(){var a,l=this.options.layoutId;return l?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0},o.prototype.getStack=function(){var a=this.options.layoutId;if(a)return this.root.sharedNodes.get(a)},o.prototype.promote=function(a){var l=a===void 0?{}:a,s=l.needsReset,u=l.transition,c=l.preserveFollowOpacity,f=this.getStack();f&&f.promote(this,c),s&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})},o.prototype.relegate=function(){var a=this.getStack();return a?a.relegate(this):!1},o.prototype.resetRotation=function(){var a=this.options.visualElement;if(!!a){for(var l=!1,s={},u=0;u<y1.length;u++){var c=y1[u],f="rotate"+c;!a.getStaticValue(f)||(l=!0,s[f]=a.getStaticValue(f),a.setStaticValue(f,0))}if(!!l){a==null||a.syncRender();for(var f in s)a.setStaticValue(f,s[f]);a.scheduleRender()}}},o.prototype.getProjectionStyles=function(a){var l,s,u,c,f,d;a===void 0&&(a={});var h={};if(!this.instance||this.isSVG)return h;if(this.isVisible)h.visibility="";else return{visibility:"hidden"};var m=(l=this.options.visualElement)===null||l===void 0?void 0:l.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,h.opacity="",h.pointerEvents=Yu(a.pointerEvents)||"",h.transform=m?m(this.latestValues,""):"none",h;var y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){var v={};return this.options.layoutId&&(v.opacity=(s=this.latestValues.opacity)!==null&&s!==void 0?s:1,v.pointerEvents=Yu(a.pointerEvents)||""),this.hasProjected&&!gn(this.latestValues)&&(v.transform=m?m({},""):"none",this.hasProjected=!1),v}var g=y.animationValues||y.latestValues;this.applyTransformsToTarget(),h.transform=U3(this.projectionDeltaWithTransform,this.treeScale,g),m&&(h.transform=m(g,h.transform));var b=this.projectionDelta,x=b.x,C=b.y;h.transformOrigin="".concat(x.origin*100,"% ").concat(C.origin*100,"% 0"),y.animationValues?h.opacity=y===this?(c=(u=g.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:h.opacity=y===this?(f=g.opacity)!==null&&f!==void 0?f:"":(d=g.opacityExit)!==null&&d!==void 0?d:0;for(var k in qu)if(g[k]!==void 0){var E=qu[k],P=E.correct,F=E.applyTo,M=P(g[k],y);if(F)for(var I=F.length,G=0;G<I;G++)h[F[G]]=M;else h[k]=M}return this.options.layoutId&&(h.pointerEvents=y===this?Yu(a.pointerEvents)||"":"none"),h},o.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},o.prototype.resetTree=function(){this.root.nodes.forEach(function(a){var l;return(l=a.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(Y3),this.root.sharedNodes.clear()},o}()}function dF(e){e.updateLayout()}function fF(e){var t,r,n,i,o=(r=(t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)!==null&&r!==void 0?r:e.snapshot;if(e.isLead()&&e.layout&&o&&e.hasListeners("didUpdate")){var a=e.layout,l=a.actual,s=a.measured;e.options.animationType==="size"?gr(function(b){var x=o.isShared?o.measured[b]:o.layout[b],C=Lr(x);x.min=l[b].min,x.max=x.min+C}):e.options.animationType==="position"&&gr(function(b){var x=o.isShared?o.measured[b]:o.layout[b],C=Lr(l[b]);x.max=x.min+C});var u=rl();el(u,l,o.layout);var c=rl();o.isShared?el(c,e.applyTransform(s,!0),o.measured):el(c,l,o.layout);var f=!j3(u),d=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var h=e.relativeParent,m=h.snapshot,y=h.layout;if(m&&y){var v=lt();tl(v,o.layout,m.layout);var g=lt();tl(g,l,y.actual),W3(v,g)||(d=!0)}}e.notifyListeners("didUpdate",{layout:l,snapshot:o,delta:c,layoutDelta:u,hasLayoutChanged:f,hasRelativeTargetChanged:d})}else e.isLead()&&((i=(n=e.options).onExitComplete)===null||i===void 0||i.call(n));e.options.transition=void 0}function pF(e){e.clearSnapshot()}function Y3(e){e.clearMeasurements()}function hF(e){var t=e.options.visualElement;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function vF(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function mF(e){e.resolveTargetDelta()}function gF(e){e.calcProjection()}function yF(e){e.resetRotation()}function bF(e){e.removeLeadSnapshot()}function X3(e,t,r){e.translate=Be(t.translate,0,r),e.scale=Be(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function K3(e,t,r,n){e.min=Be(t.min,r.min,n),e.max=Be(t.max,r.max,n)}function xF(e,t,r,n){K3(e.x,t.x,r.x,n),K3(e.y,t.y,r.y,n)}function CF(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var wF={duration:.45,ease:[.4,0,.1,1]};function SF(e,t){for(var r=e.root,n=e.path.length-1;n>=0;n--)if(Boolean(e.path[n].instance)){r=e.path[n];break}var i=r&&r!==e.root?r.instance:document,o=i.querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function Q3(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function J3(e){Q3(e.x),Q3(e.y)}var kF=1;function EF(){return Ha(function(){if(ol.hasEverUpdated)return kF++})}var b1=O.createContext({}),eb=O.createContext({});function PF(e,t,r,n){var i,o=t.layoutId,a=t.layout,l=t.drag,s=t.dragConstraints,u=t.layoutScroll,c=O.useContext(eb);!n||!r||(r==null?void 0:r.projection)||(r.projection=new n(e,r.getLatestValues(),(i=r.parent)===null||i===void 0?void 0:i.projection),r.projection.setOptions({layoutId:o,layout:a,alwaysMeasureLayout:Boolean(l)||s&&Xi(s),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:typeof a=="string"?a:"both",initialPromotionConfig:c,layoutScroll:u}))}var _F=function(e){Cy(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var r=this.props,n=r.visualElement,i=r.props;n&&n.setProps(i)},t.prototype.render=function(){return this.props.children},t}(Dr.default.Component);function TF(e){var t=e.preloadedFeatures,r=e.createVisualElement,n=e.projectionNodeConstructor,i=e.useRender,o=e.useVisualState,a=e.Component;t&&X_(t);function l(s,u){var c=MF(s);s=N(N({},s),{layoutId:c});var f=O.useContext(D0),d=null,h=uT(s),m=f.isStatic?void 0:EF(),y=o(s,f.isStatic);return!f.isStatic&&Da&&(h.visualElement=iT(a,y,N(N({},f),s),r),PF(m,s,h.visualElement,n||Ia.projectionNodeConstructor),d=J_(s,h.visualElement)),w.createElement(_F,{visualElement:h.visualElement,props:N(N({},f),s)},d,w.createElement(Mu.Provider,{value:h},i(a,s,m,oT(y,h.visualElement,u),y,f.isStatic,h.visualElement)))}return O.forwardRef(l)}function MF(e){var t,r=e.layoutId,n=(t=O.useContext(b1))===null||t===void 0?void 0:t.id;return n&&r!==void 0?n+"-"+r:r}function FF(e){function t(n,i){return i===void 0&&(i={}),TF(e(n,i))}if(typeof Proxy=="undefined")return t;var r=new Map;return new Proxy(t,{get:function(n,i){return r.has(i)||r.set(i,t(i)),r.get(i)}})}var AF=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function x1(e){return typeof e!="string"||e.includes("-")?!1:!!(AF.indexOf(e)>-1||/[A-Z]/.test(e))}function tb(e,t){var r=t.layout,n=t.layoutId;return il(e)||Z3(e)||(r||n!==void 0)&&(!!qu[e]||e==="opacity")}var OF={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function LF(e,t,r,n){var i=e.transform,o=e.transformKeys,a=t.enableHardwareAcceleration,l=a===void 0?!0:a,s=t.allowTransformNone,u=s===void 0?!0:s,c="";o.sort(aF);for(var f=!1,d=o.length,h=0;h<d;h++){var m=o[h];c+="".concat(OF[m]||m,"(").concat(i[m],") "),m==="z"&&(f=!0)}return!f&&l?c+="translateZ(0)":c=c.trim(),n?c=n(i,r?"":c):u&&r&&(c="none"),c}function BF(e){var t=e.originX,r=t===void 0?"50%":t,n=e.originY,i=n===void 0?"50%":n,o=e.originZ,a=o===void 0?0:o;return"".concat(r," ").concat(i," ").concat(a)}function rb(e){return e.startsWith("--")}var VF=function(e,t){return t&&typeof e=="number"?t.transform(e):e};function C1(e,t,r,n){var i,o=e.style,a=e.vars,l=e.transform,s=e.transformKeys,u=e.transformOrigin;s.length=0;var c=!1,f=!1,d=!0;for(var h in t){var m=t[h];if(rb(h)){a[h]=m;continue}var y=y3[h],v=VF(m,y);if(il(h)){if(c=!0,l[h]=v,s.push(h),!d)continue;m!==((i=y.default)!==null&&i!==void 0?i:0)&&(d=!1)}else Z3(h)?(u[h]=v,f=!0):o[h]=v}c?o.transform=LF(e,r,d,n):n?o.transform=n({},""):!t.transform&&o.transform&&(o.transform="none"),f&&(o.transformOrigin=BF(u))}var w1=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function nb(e,t,r){for(var n in t)!Or(t[n])&&!tb(n,r)&&(e[n]=t[n])}function RF(e,t,r){var n=e.transformTemplate;return O.useMemo(function(){var i=w1();C1(i,t,{enableHardwareAcceleration:!r},n);var o=i.vars,a=i.style;return N(N({},o),a)},[t])}function IF(e,t,r){var n=e.style||{},i={};return nb(i,n,e),Object.assign(i,RF(e,t,r)),e.transformValues&&(i=e.transformValues(i)),i}function $F(e,t,r){var n={},i=IF(e,t,r);return Boolean(e.drag)&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":"pan-".concat(e.drag==="x"?"y":"x")),n.style=i,n}var DF=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function Xu(e){return DF.has(e)}var ib=function(e){return!Xu(e)};function HF(e){!e||(ib=function(t){return t.startsWith("on")?!Xu(t):e(t)})}try{HF(require("@emotion/is-prop-valid").default)}catch{}function zF(e,t,r){var n={};for(var i in e)(ib(i)||r===!0&&Xu(i)||!t&&!Xu(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}function ob(e,t,r){return typeof e=="string"?e:Q.transform(t+r*e)}function NF(e,t,r){var n=ob(t,e.x,e.width),i=ob(r,e.y,e.height);return"".concat(n," ").concat(i)}var jF={offset:"stroke-dashoffset",array:"stroke-dasharray"},WF={offset:"strokeDashoffset",array:"strokeDasharray"};function UF(e,t,r,n,i){r===void 0&&(r=1),n===void 0&&(n=0),i===void 0&&(i=!0),e.pathLength=1;var o=i?jF:WF;e[o.offset]=Q.transform(-n);var a=Q.transform(t),l=Q.transform(r);e[o.array]="".concat(a," ").concat(l)}function S1(e,t,r,n){var i=t.attrX,o=t.attrY,a=t.originX,l=t.originY,s=t.pathLength,u=t.pathSpacing,c=u===void 0?1:u,f=t.pathOffset,d=f===void 0?0:f,h=Tt(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);C1(e,h,r,n),e.attrs=e.style,e.style={};var m=e.attrs,y=e.style,v=e.dimensions;m.transform&&(v&&(y.transform=m.transform),delete m.transform),v&&(a!==void 0||l!==void 0||y.transform)&&(y.transformOrigin=NF(v,a!==void 0?a:.5,l!==void 0?l:.5)),i!==void 0&&(m.x=i),o!==void 0&&(m.y=o),s!==void 0&&UF(m,s,c,d,!1)}var ab=function(){return N(N({},w1()),{attrs:{}})};function ZF(e,t){var r=O.useMemo(function(){var i=ab();return S1(i,t,{enableHardwareAcceleration:!1},e.transformTemplate),N(N({},i.attrs),{style:N({},i.style)})},[t]);if(e.style){var n={};nb(n,e.style,e),r.style=N(N({},n),r.style)}return r}function GF(e){e===void 0&&(e=!1);var t=function(r,n,i,o,a,l){var s=a.latestValues,u=x1(r)?ZF:$F,c=u(n,s,l),f=zF(n,typeof r=="string",e),d=N(N(N({},f),c),{ref:o});return i&&(d["data-projection-id"]=i),O.createElement(r,d)};return t}var qF=/([a-z])([A-Z])/g,YF="$1-$2",lb=function(e){return e.replace(qF,YF).toLowerCase()};function sb(e,t,r,n){var i=t.style,o=t.vars;Object.assign(e.style,i,n&&n.getProjectionStyles(r));for(var a in o)e.style.setProperty(a,o[a])}var ub=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function cb(e,t){sb(e,t);for(var r in t.attrs)e.setAttribute(ub.has(r)?r:lb(r),t.attrs[r])}function k1(e){var t=e.style,r={};for(var n in t)(Or(t[n])||tb(n,e))&&(r[n]=t[n]);return r}function db(e){var t=k1(e);for(var r in e)if(Or(e[r])){var n=r==="x"||r==="y"?"attr"+r.toUpperCase():r;t[n]=e[r]}return t}function E1(e){return typeof e=="object"&&typeof e.start=="function"}function fb(e,t,r,n){var i=e.scrapeMotionValuesFromProps,o=e.createRenderState,a=e.onMount,l={latestValues:XF(t,r,n,i),renderState:o()};return a&&(l.mount=function(s){return a(t,s,l)}),l}var pb=function(e){return function(t,r){var n=O.useContext(Mu),i=O.useContext($a);return r?fb(e,t,n,i):Ha(function(){return fb(e,t,n,i)})}};function XF(e,t,r,n){var i={},o=(r==null?void 0:r.initial)===!1,a=n(e);for(var l in a)i[l]=Yu(a[l]);var s=e.initial,u=e.animate,c=Ou(e),f=_y(e);t&&f&&!c&&e.inherit!==!1&&(s!=null||(s=t.initial),u!=null||(u=t.animate));var d=o||s===!1,h=d?u:s;if(h&&typeof h!="boolean"&&!E1(h)){var m=Array.isArray(h)?h:[h];m.forEach(function(y){var v=Py(e,y);if(!!v){var g=v.transitionEnd;v.transition;var b=Tt(v,["transitionEnd","transition"]);for(var x in b){var C=b[x];if(Array.isArray(C)){var k=d?C.length-1:0;C=C[k]}C!==null&&(i[x]=C)}for(var x in g)i[x]=g[x]}})}return i}var KF={useVisualState:pb({scrapeMotionValuesFromProps:db,createRenderState:ab,onMount:function(e,t,r){var n=r.renderState,i=r.latestValues;try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}S1(n,i,{enableHardwareAcceleration:!1},e.transformTemplate),cb(t,n)}})},QF={useVisualState:pb({scrapeMotionValuesFromProps:k1,createRenderState:w1})};function JF(e,t,r,n,i){var o=t.forwardMotionProps,a=o===void 0?!1:o,l=x1(e)?KF:QF;return N(N({},l),{preloadedFeatures:r,useRender:GF(a),createVisualElement:n,projectionNodeConstructor:i,Component:e})}var ye;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(ye||(ye={}));function P1(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}function _1(e,t,r,n){O.useEffect(function(){var i=e.current;if(r&&i)return P1(i,t,r,n)},[e,t,r,n])}function eA(e){var t=e.whileFocus,r=e.visualElement,n=function(){var o;(o=r.animationState)===null||o===void 0||o.setActive(ye.Focus,!0)},i=function(){var o;(o=r.animationState)===null||o===void 0||o.setActive(ye.Focus,!1)};_1(r,"focus",t?n:void 0),_1(r,"blur",t?i:void 0)}function hb(e){return typeof PointerEvent!="undefined"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function vb(e){var t=!!e.touches;return t}function tA(e){return function(t){var r=t instanceof MouseEvent,n=!r||r&&t.button===0;n&&e(t)}}var rA={pageX:0,pageY:0};function nA(e,t){t===void 0&&(t="page");var r=e.touches[0]||e.changedTouches[0],n=r||rA;return{x:n[t+"X"],y:n[t+"Y"]}}function iA(e,t){return t===void 0&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function T1(e,t){return t===void 0&&(t="page"),{point:vb(e)?nA(e,t):iA(e,t)}}var mb=function(e,t){t===void 0&&(t=!1);var r=function(n){return e(n,T1(n))};return t?tA(r):r},oA=function(){return Da&&window.onpointerdown===null},aA=function(){return Da&&window.ontouchstart===null},lA=function(){return Da&&window.onmousedown===null},sA={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},uA={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function gb(e){return oA()?e:aA()?uA[e]:lA()?sA[e]:e}function ro(e,t,r,n){return P1(e,gb(t),mb(r,t==="pointerdown"),n)}function Ku(e,t,r,n){return _1(e,gb(t),r&&mb(r,t==="pointerdown"),n)}function yb(e){var t=null;return function(){var r=function(){t=null};return t===null?(t=e,r):!1}}var bb=yb("dragHorizontal"),xb=yb("dragVertical");function Cb(e){var t=!1;if(e==="y")t=xb();else if(e==="x")t=bb();else{var r=bb(),n=xb();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function wb(){var e=Cb(!0);return e?(e(),!1):!0}function Sb(e,t,r){return function(n,i){var o;!hb(n)||wb()||((o=e.animationState)===null||o===void 0||o.setActive(ye.Hover,t),r==null||r(n,i))}}function cA(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,i=e.visualElement;Ku(i,"pointerenter",t||n?Sb(i,!0,t):void 0),Ku(i,"pointerleave",r||n?Sb(i,!1,r):void 0)}var kb=function(e,t){return t?e===t?!0:kb(e,t.parentElement):!1};function M1(e){return O.useEffect(function(){return function(){return e()}},[])}function dA(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,i=e.whileTap,o=e.visualElement,a=t||r||n||i,l=O.useRef(!1),s=O.useRef(null);function u(){var m;(m=s.current)===null||m===void 0||m.call(s),s.current=null}function c(){var m;return u(),l.current=!1,(m=o.animationState)===null||m===void 0||m.setActive(ye.Tap,!1),!wb()}function f(m,y){!c()||(kb(o.getInstance(),m.target)?t==null||t(m,y):n==null||n(m,y))}function d(m,y){!c()||n==null||n(m,y)}function h(m,y){var v;u(),!l.current&&(l.current=!0,s.current=Ru(ro(window,"pointerup",f),ro(window,"pointercancel",d)),(v=o.animationState)===null||v===void 0||v.setActive(ye.Tap,!0),r==null||r(m,y))}Ku(o,"pointerdown",a?h:void 0),M1(u)}var F1=new WeakMap,A1=new WeakMap,fA=function(e){var t;(t=F1.get(e.target))===null||t===void 0||t(e)},pA=function(e){e.forEach(fA)};function hA(e){var t=e.root,r=Tt(e,["root"]),n=t||document;A1.has(n)||A1.set(n,{});var i=A1.get(n),o=JSON.stringify(r);return i[o]||(i[o]=new IntersectionObserver(pA,N({root:t},r))),i[o]}function vA(e,t,r){var n=hA(t);return F1.set(e,r),n.observe(e),function(){F1.delete(e),n.unobserve(e)}}function mA(e){var t=e.visualElement,r=e.whileInView,n=e.onViewportEnter,i=e.onViewportLeave,o=e.viewport,a=o===void 0?{}:o,l=O.useRef({hasEnteredView:!1,isInView:!1}),s=Boolean(r||n||i);a.once&&l.current.hasEnteredView&&(s=!1);var u=typeof IntersectionObserver=="undefined"?bA:yA;u(s,l.current,t,a)}var gA={some:0,all:1};function yA(e,t,r,n){var i=n.root,o=n.margin,a=n.amount,l=a===void 0?"some":a,s=n.once;O.useEffect(function(){if(!!e){var u={root:i==null?void 0:i.current,rootMargin:o,threshold:typeof l=="number"?l:gA[l]},c=function(f){var d,h=f.isIntersecting;if(t.isInView!==h&&(t.isInView=h,!(s&&!h&&t.hasEnteredView))){h&&(t.hasEnteredView=!0),(d=r.animationState)===null||d===void 0||d.setActive(ye.InView,h);var m=r.getProps(),y=h?m.onViewportEnter:m.onViewportLeave;y==null||y(f)}};return vA(r.getInstance(),u,c)}},[e,i,o,l])}function bA(e,t,r,n){var i=n.fallback,o=i===void 0?!0:i;O.useEffect(function(){!e||!o||requestAnimationFrame(function(){var a;t.hasEnteredView=!0;var l=r.getProps().onViewportEnter;l==null||l(null),(a=r.animationState)===null||a===void 0||a.setActive(ye.InView,!0)})},[e])}var yn=function(e){return function(t){return e(t),null}},xA={inView:yn(mA),tap:yn(dA),focus:yn(eA),hover:yn(cA)},CA=0,wA=function(){return CA++},Eb=function(){return Ha(wA)};function O1(){var e=O.useContext($a);if(e===null)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,i=Eb();O.useEffect(function(){return n(i)},[]);var o=function(){return r==null?void 0:r(i)};return!t&&r?[!1,o]:[!0]}function Pb(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}var SA=function(e){return/^\-?\d*\.?\d+$/.test(e)},kA=function(e){return/^0[^.\s]+$/.test(e)},_b=function(e){return function(t){return t.test(e)}},EA={test:function(e){return e==="auto"},parse:function(e){return e}},Tb=[Kn,Q,vr,vn,PT,ET,EA],al=function(e){return Tb.find(_b(e))},PA=er(er([],Le(Tb),!1),[dt,Ar],!1),_A=function(e){return PA.find(_b(e))};function TA(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Ji(r))}function MA(e,t){var r=Au(e,t),n=r?e.makeTargetAnimatable(r,!1):{},i=n.transitionEnd,o=i===void 0?{}:i;n.transition;var a=Tt(n,["transitionEnd","transition"]);a=N(N({},a),o);for(var l in a){var s=b3(a[l]);TA(e,l,s)}}function FA(e,t,r){var n,i,o,a,l=Object.keys(t).filter(function(h){return!e.hasValue(h)}),s=l.length;if(!!s)for(var u=0;u<s;u++){var c=l[u],f=t[c],d=null;Array.isArray(f)&&(d=f[0]),d===null&&(d=(i=(n=r[c])!==null&&n!==void 0?n:e.readValue(c))!==null&&i!==void 0?i:t[c]),d!=null&&(typeof d=="string"&&(SA(d)||kA(d))?d=parseFloat(d):!_A(d)&&Ar.test(f)&&(d=p1(c,f)),e.addValue(c,Ji(d)),(o=(a=r)[c])!==null&&o!==void 0||(a[c]=d),e.setBaseTarget(c,d))}}function AA(e,t){if(!!t){var r=t[e]||t.default||t;return r.from}}function OA(e,t,r){var n,i,o={};for(var a in e)o[a]=(n=AA(a,t))!==null&&n!==void 0?n:(i=r.getValue(a))===null||i===void 0?void 0:i.get();return o}function LA(e,t,r){r===void 0&&(r={}),e.notifyAnimationStart(t);var n;if(Array.isArray(t)){var i=t.map(function(a){return L1(e,a,r)});n=Promise.all(i)}else if(typeof t=="string")n=L1(e,t,r);else{var o=typeof t=="function"?Au(e,t,r.custom):t;n=Mb(e,o,r)}return n.then(function(){return e.notifyAnimationComplete(t)})}function L1(e,t,r){var n;r===void 0&&(r={});var i=Au(e,t,r.custom),o=(i||{}).transition,a=o===void 0?e.getDefaultTransition()||{}:o;r.transitionOverride&&(a=r.transitionOverride);var l=i?function(){return Mb(e,i,r)}:function(){return Promise.resolve()},s=!((n=e.variantChildren)===null||n===void 0)&&n.size?function(h){h===void 0&&(h=0);var m=a.delayChildren,y=m===void 0?0:m,v=a.staggerChildren,g=a.staggerDirection;return BA(e,t,y+h,v,g,r)}:function(){return Promise.resolve()},u=a.when;if(u){var c=Le(u==="beforeChildren"?[l,s]:[s,l],2),f=c[0],d=c[1];return f().then(d)}else return Promise.all([l(),s(r.delay)])}function Mb(e,t,r){var n,i=r===void 0?{}:r,o=i.delay,a=o===void 0?0:o,l=i.transitionOverride,s=i.type,u=e.makeTargetAnimatable(t),c=u.transition,f=c===void 0?e.getDefaultTransition():c,d=u.transitionEnd,h=Tt(u,["transition","transitionEnd"]);l&&(f=l);var m=[],y=s&&((n=e.animationState)===null||n===void 0?void 0:n.getState()[s]);for(var v in h){var g=e.getValue(v),b=h[v];if(!(!g||b===void 0||y&&RA(y,v))){var x=N({delay:a},f);e.shouldReduceMotion&&il(v)&&(x=N(N({},x),{type:!1,delay:0}));var C=v1(v,g,b,x);m.push(C)}}return Promise.all(m).then(function(){d&&MA(e,d)})}function BA(e,t,r,n,i,o){r===void 0&&(r=0),n===void 0&&(n=0),i===void 0&&(i=1);var a=[],l=(e.variantChildren.size-1)*n,s=i===1?function(u){return u===void 0&&(u=0),u*n}:function(u){return u===void 0&&(u=0),l-u*n};return Array.from(e.variantChildren).sort(VA).forEach(function(u,c){a.push(L1(u,t,N(N({},o),{delay:r+s(c)})).then(function(){return u.notifyAnimationComplete(t)}))}),Promise.all(a)}function VA(e,t){return e.sortNodePosition(t)}function RA(e,t){var r=e.protectedKeys,n=e.needsAnimating,i=r.hasOwnProperty(t)&&n[t]!==!0;return n[t]=!1,i}var B1=[ye.Animate,ye.InView,ye.Focus,ye.Hover,ye.Tap,ye.Drag,ye.Exit],IA=er([],Le(B1),!1).reverse(),$A=B1.length;function DA(e){return function(t){return Promise.all(t.map(function(r){var n=r.animation,i=r.options;return LA(e,n,i)}))}}function HA(e){var t=DA(e),r=NA(),n={},i=!0,o=function(c,f){var d=Au(e,f);if(d){d.transition;var h=d.transitionEnd,m=Tt(d,["transition","transitionEnd"]);c=N(N(N({},c),m),h)}return c};function a(c){return n[c]!==void 0}function l(c){t=c(e)}function s(c,f){for(var d,h=e.getProps(),m=e.getVariantContext(!0)||{},y=[],v=new Set,g={},b=1/0,x=function(P){var F=IA[P],M=r[F],I=(d=h[F])!==null&&d!==void 0?d:m[F],G=tr(I),U=F===f?M.isActive:null;U===!1&&(b=P);var Z=I===m[F]&&I!==h[F]&&G;if(Z&&i&&e.manuallyAnimateOnMount&&(Z=!1),M.protectedKeys=N({},g),!M.isActive&&U===null||!I&&!M.prevProp||E1(I)||typeof I=="boolean")return"continue";var X=zA(M.prevProp,I),K=X||F===f&&M.isActive&&!Z&&G||P>b&&G,ne=Array.isArray(I)?I:[I],ie=ne.reduce(o,{});U===!1&&(ie={});var Ve=M.prevResolvedValues,be=Ve===void 0?{}:Ve,Re=N(N({},be),ie),L=function(H){K=!0,v.delete(H),M.needsAnimating[H]=!0};for(var D in Re){var R=ie[D],$=be[D];g.hasOwnProperty(D)||(R!==$?Ja(R)&&Ja($)?!Pb(R,$)||X?L(D):M.protectedKeys[D]=!0:R!==void 0?L(D):v.add(D):R!==void 0&&v.has(D)?L(D):M.protectedKeys[D]=!0)}M.prevProp=I,M.prevResolvedValues=ie,M.isActive&&(g=N(N({},g),ie)),i&&e.blockInitialAnimation&&(K=!1),K&&!Z&&y.push.apply(y,er([],Le(ne.map(function(H){return{animation:H,options:N({type:F},c)}})),!1))},C=0;C<$A;C++)x(C);if(n=N({},g),v.size){var k={};v.forEach(function(P){var F=e.getBaseTarget(P);F!==void 0&&(k[P]=F)}),y.push({animation:k})}var E=Boolean(y.length);return i&&h.initial===!1&&!e.manuallyAnimateOnMount&&(E=!1),i=!1,E?t(y):Promise.resolve()}function u(c,f,d){var h;if(r[c].isActive===f)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(function(v){var g;return(g=v.animationState)===null||g===void 0?void 0:g.setActive(c,f)}),r[c].isActive=f;var m=s(d,c);for(var y in r)r[y].protectedKeys={};return m}return{isAnimated:a,animateChanges:s,setActive:u,setAnimateFunction:l,getState:function(){return r}}}function zA(e,t){return typeof t=="string"?t!==e:Ey(t)?!Pb(t,e):!1}function ei(e){return e===void 0&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function NA(){var e;return e={},e[ye.Animate]=ei(!0),e[ye.InView]=ei(),e[ye.Hover]=ei(),e[ye.Tap]=ei(),e[ye.Drag]=ei(),e[ye.Focus]=ei(),e[ye.Exit]=ei(),e}var jA={animation:yn(function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=HA(t)),E1(r)&&O.useEffect(function(){return r.subscribe(t)},[r])}),exit:yn(function(e){var t=e.custom,r=e.visualElement,n=Le(O1(),2),i=n[0],o=n[1],a=O.useContext($a);O.useEffect(function(){var l,s;r.isPresent=i;var u=(l=r.animationState)===null||l===void 0?void 0:l.setActive(ye.Exit,!i,{custom:(s=a==null?void 0:a.custom)!==null&&s!==void 0?s:t});!i&&(u==null||u.then(o))},[i])})},Fb=function(){function e(t,r,n){var i=this,o=n===void 0?{}:n,a=o.transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(!!(i.lastMoveEvent&&i.lastMoveEventInfo)){var d=R1(i.lastMoveEventInfo,i.history),h=i.startEvent!==null,m=u3(d.offset,{x:0,y:0})>=3;if(!(!h&&!m)){var y=d.point,v=W0().timestamp;i.history.push(N(N({},y),{timestamp:v}));var g=i.handlers,b=g.onStart,x=g.onMove;h||(b&&b(i.lastMoveEvent,d),i.startEvent=i.lastMoveEvent),x&&x(i.lastMoveEvent,d)}}},this.handlePointerMove=function(d,h){if(i.lastMoveEvent=d,i.lastMoveEventInfo=V1(h,i.transformPagePoint),hb(d)&&d.buttons===0){i.handlePointerUp(d,h);return}hr.update(i.updatePoint,!0)},this.handlePointerUp=function(d,h){i.end();var m=i.handlers,y=m.onEnd,v=m.onSessionEnd,g=R1(V1(h,i.transformPagePoint),i.history);i.startEvent&&y&&y(d,g),v&&v(d,g)},!(vb(t)&&t.touches.length>1)){this.handlers=r,this.transformPagePoint=a;var l=T1(t),s=V1(l,this.transformPagePoint),u=s.point,c=W0().timestamp;this.history=[N(N({},u),{timestamp:c})];var f=r.onSessionStart;f&&f(t,R1(s,this.history)),this.removeListeners=Ru(ro(window,"pointermove",this.handlePointerMove),ro(window,"pointerup",this.handlePointerUp),ro(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),ja.update(this.updatePoint)},e}();function V1(e,t){return t?{point:t(e.point)}:e}function Ab(e,t){return{x:e.x-t.x,y:e.y-t.y}}function R1(e,t){var r=e.point;return{point:r,delta:Ab(r,Ob(t)),offset:Ab(r,WA(t)),velocity:UA(t,.1)}}function WA(e){return e[0]}function Ob(e){return e[e.length-1]}function UA(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,i=Ob(e);r>=0&&(n=e[r],!(i.timestamp-n.timestamp>Uu(t)));)r--;if(!n)return{x:0,y:0};var o=(i.timestamp-n.timestamp)/1e3;if(o===0)return{x:0,y:0};var a={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function ZA(e,t,r){var n=t.min,i=t.max;return n!==void 0&&e<n?e=r?Be(n,e,r.min):Math.max(e,n):i!==void 0&&e>i&&(e=r?Be(i,e,r.max):Math.min(e,i)),e}function Lb(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function GA(e,t){var r=t.top,n=t.left,i=t.bottom,o=t.right;return{x:Lb(e.x,n,o),y:Lb(e.y,r,i)}}function Bb(e,t){var r,n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=Le([i,n],2),n=r[0],i=r[1]),{min:n,max:i}}function qA(e,t){return{x:Bb(e.x,t.x),y:Bb(e.y,t.y)}}function YA(e,t){var r=.5,n=Lr(e),i=Lr(t);return i>n?r=Wa(t.min,t.max-n,e.min):n>i&&(r=Wa(e.min,e.max-i,t.min)),Bu(0,1,r)}function XA(e,t){var r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var I1=.35;function KA(e){return e===void 0&&(e=I1),e===!1?e=0:e===!0&&(e=I1),{x:Vb(e,"left","right"),y:Vb(e,"top","bottom")}}function Vb(e,t,r){return{min:Rb(e,t),max:Rb(e,r)}}function Rb(e,t){var r;return typeof e=="number"?e:(r=e[t])!==null&&r!==void 0?r:0}function Ib(e){var t=e.top,r=e.left,n=e.right,i=e.bottom;return{x:{min:r,max:n},y:{min:t,max:i}}}function QA(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}function JA(e,t){if(!t)return e;var r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function $b(e,t){return Ib(JA(e.getBoundingClientRect(),t))}function eO(e,t,r){var n=$b(e,r),i=t.scroll;return i&&(eo(n.x,i.x),eo(n.y,i.y)),n}var tO=new WeakMap,rO=function(){function e(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=lt(),this.visualElement=t}return e.prototype.start=function(t,r){var n=this,i=r===void 0?{}:r,o=i.snapToCursor,a=o===void 0?!1:o;if(this.visualElement.isPresent!==!1){var l=function(f){n.stopAnimation(),a&&n.snapToCursor(T1(f,"page").point)},s=function(f,d){var h,m=n.getProps(),y=m.drag,v=m.dragPropagation,g=m.onDragStart;y&&!v&&(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=Cb(y),!n.openGlobalLock)||(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),gr(function(b){var x,C,k=n.getAxisMotionValue(b).get()||0;if(vr.test(k)){var E=(C=(x=n.visualElement.projection)===null||x===void 0?void 0:x.layout)===null||C===void 0?void 0:C.actual[b];if(E){var P=Lr(E);k=P*(parseFloat(k)/100)}}n.originPoint[b]=k}),g==null||g(f,d),(h=n.visualElement.animationState)===null||h===void 0||h.setActive(ye.Drag,!0))},u=function(f,d){var h=n.getProps(),m=h.dragPropagation,y=h.dragDirectionLock,v=h.onDirectionLock,g=h.onDrag;if(!(!m&&!n.openGlobalLock)){var b=d.offset;if(y&&n.currentDirection===null){n.currentDirection=nO(b),n.currentDirection!==null&&(v==null||v(n.currentDirection));return}n.updateAxis("x",d.point,b),n.updateAxis("y",d.point,b),n.visualElement.syncRender(),g==null||g(f,d)}},c=function(f,d){return n.stop(f,d)};this.panSession=new Fb(t,{onSessionStart:l,onStart:s,onMove:u,onSessionEnd:c},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(t,r){var n=this.isDragging;if(this.cancel(),!!n){var i=r.velocity;this.startAnimation(i);var o=this.getProps().onDragEnd;o==null||o(t,r)}},e.prototype.cancel=function(){var t,r;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;var n=this.getProps().dragPropagation;!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(r=this.visualElement.animationState)===null||r===void 0||r.setActive(ye.Drag,!1)},e.prototype.updateAxis=function(t,r,n){var i=this.getProps().drag;if(!(!n||!Qu(t,i,this.currentDirection))){var o=this.getAxisMotionValue(t),a=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(a=ZA(a,this.constraints[t],this.elastic[t])),o.set(a)}},e.prototype.resolveConstraints=function(){var t=this,r=this.getProps(),n=r.dragConstraints,i=r.dragElastic,o=(this.visualElement.projection||{}).layout,a=this.constraints;n&&Xi(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=GA(o.actual,n):this.constraints=!1,this.elastic=KA(i),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&gr(function(l){t.getAxisMotionValue(l)&&(t.constraints[l]=XA(o.actual[l],t.constraints[l]))})},e.prototype.resolveRefConstraints=function(){var t=this.getProps(),r=t.dragConstraints,n=t.onMeasureDragConstraints;if(!r||!Xi(r))return!1;var i=r.current,o=this.visualElement.projection;if(!o||!o.layout)return!1;var a=eO(i,o.root,this.visualElement.getTransformPagePoint()),l=qA(o.layout.actual,a);if(n){var s=n(QA(l));this.hasMutatedConstraints=!!s,s&&(l=Ib(s))}return l},e.prototype.startAnimation=function(t){var r=this,n=this.getProps(),i=n.drag,o=n.dragMomentum,a=n.dragElastic,l=n.dragTransition,s=n.dragSnapToOrigin,u=n.onDragTransitionEnd,c=this.constraints||{},f=gr(function(d){var h;if(!!Qu(d,i,r.currentDirection)){var m=(h=c==null?void 0:c[d])!==null&&h!==void 0?h:{};s&&(m={min:0,max:0});var y=a?200:1e6,v=a?40:1e7,g=N(N({type:"inertia",velocity:o?t[d]:0,bounceStiffness:y,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10},l),m);return r.startAxisValueAnimation(d,g)}});return Promise.all(f).then(u)},e.prototype.startAxisValueAnimation=function(t,r){var n=this.getAxisMotionValue(t);return v1(t,n,0,r)},e.prototype.stopAnimation=function(){var t=this;gr(function(r){return t.getAxisMotionValue(r).stop()})},e.prototype.getAxisMotionValue=function(t){var r,n,i="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[i];return o||this.visualElement.getValue(t,(n=(r=this.visualElement.getProps().initial)===null||r===void 0?void 0:r[t])!==null&&n!==void 0?n:0)},e.prototype.snapToCursor=function(t){var r=this;gr(function(n){var i=r.getProps().drag;if(!!Qu(n,i,r.currentDirection)){var o=r.visualElement.projection,a=r.getAxisMotionValue(n);if(o&&o.layout){var l=o.layout.actual[n],s=l.min,u=l.max;a.set(t[n]-Be(s,u,.5))}}})},e.prototype.scalePositionWithinConstraints=function(){var t=this,r,n=this.getProps(),i=n.drag,o=n.dragConstraints,a=this.visualElement.projection;if(!(!Xi(o)||!a||!this.constraints)){this.stopAnimation();var l={x:0,y:0};gr(function(u){var c=t.getAxisMotionValue(u);if(c){var f=c.get();l[u]=YA({min:f,max:f},t.constraints[u])}});var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",(r=a.root)===null||r===void 0||r.updateScroll(),a.updateLayout(),this.resolveConstraints(),gr(function(u){if(!!Qu(u,i,null)){var c=t.getAxisMotionValue(u),f=t.constraints[u],d=f.min,h=f.max;c.set(Be(d,h,l[u]))}})}},e.prototype.addListeners=function(){var t=this,r;tO.set(this.visualElement,this);var n=this.visualElement.getInstance(),i=ro(n,"pointerdown",function(u){var c=t.getProps(),f=c.drag,d=c.dragListener,h=d===void 0?!0:d;f&&h&&t.start(u)}),o=function(){var u=t.getProps().dragConstraints;Xi(u)&&(t.constraints=t.resolveRefConstraints())},a=this.visualElement.projection,l=a.addEventListener("measure",o);a&&!a.layout&&((r=a.root)===null||r===void 0||r.updateScroll(),a.updateLayout()),o();var s=P1(window,"resize",function(){t.scalePositionWithinConstraints()});return a.addEventListener("didUpdate",function(u){var c=u.delta,f=u.hasLayoutChanged;t.isDragging&&f&&(gr(function(d){var h=t.getAxisMotionValue(d);!h||(t.originPoint[d]+=c[d].translate,h.set(h.get()+c[d].translate))}),t.visualElement.syncRender())}),function(){s(),i(),l()}},e.prototype.getProps=function(){var t=this.visualElement.getProps(),r=t.drag,n=r===void 0?!1:r,i=t.dragDirectionLock,o=i===void 0?!1:i,a=t.dragPropagation,l=a===void 0?!1:a,s=t.dragConstraints,u=s===void 0?!1:s,c=t.dragElastic,f=c===void 0?I1:c,d=t.dragMomentum,h=d===void 0?!0:d;return N(N({},t),{drag:n,dragDirectionLock:o,dragPropagation:l,dragConstraints:u,dragElastic:f,dragMomentum:h})},e}();function Qu(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function nO(e,t){t===void 0&&(t=10);var r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}function iO(e){var t=e.dragControls,r=e.visualElement,n=Ha(function(){return new rO(r)});O.useEffect(function(){return t&&t.subscribe(n)},[n,t]),O.useEffect(function(){return n.addListeners()},[n])}function oO(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,i=e.onPanSessionStart,o=e.visualElement,a=t||r||n||i,l=O.useRef(null),s=O.useContext(D0).transformPagePoint,u={onSessionStart:i,onStart:r,onMove:t,onEnd:function(f,d){l.current=null,n&&n(f,d)}};O.useEffect(function(){l.current!==null&&l.current.updateHandlers(u)});function c(f){l.current=new Fb(f,u,{transformPagePoint:s})}Ku(o,"pointerdown",a&&c),M1(function(){return l.current&&l.current.end()})}var aO={pan:yn(oO),drag:yn(iO)},Ju=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function lO(){var e=Ju.map(function(){return new Qa}),t={},r={clearAllListeners:function(){return e.forEach(function(n){return n.clear()})},updatePropListeners:function(n){Ju.forEach(function(i){var o,a="on"+i,l=n[a];(o=t[i])===null||o===void 0||o.call(t),l&&(t[i]=r[a](l))})}};return e.forEach(function(n,i){r["on"+Ju[i]]=function(o){return n.add(o)},r["notify"+Ju[i]]=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];return n.notify.apply(n,er([],Le(o),!1))}}),r}function sO(e,t,r){var n;for(var i in t){var o=t[i],a=r[i];if(Or(o))e.addValue(i,o);else if(Or(a))e.addValue(i,Ji(o));else if(a!==o)if(e.hasValue(i)){var l=e.getValue(i);!l.hasAnimated&&l.set(o)}else e.addValue(i,Ji((n=e.getStaticValue(i))!==null&&n!==void 0?n:o))}for(var i in r)t[i]===void 0&&e.removeValue(i);return t}var Db=function(e){var t=e.treeType,r=t===void 0?"":t,n=e.build,i=e.getBaseTarget,o=e.makeTargetAnimatable,a=e.measureViewportBox,l=e.render,s=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,f=e.scrapeMotionValuesFromProps;return function(d,h){var m=d.parent,y=d.props,v=d.presenceId,g=d.blockInitialAnimation,b=d.visualState,x=d.shouldReduceMotion;h===void 0&&(h={});var C=!1,k=b.latestValues,E=b.renderState,P,F=lO(),M=new Map,I=new Map,G={},U=N({},k),Z;function X(){!P||!C||(K(),l(P,E,y.style,R.projection))}function K(){n(R,E,k,h,y)}function ne(){F.notifyUpdate(k)}function ie($,H){var te=H.onChange(function(xe){k[$]=xe,y.onUpdate&&hr.update(ne,!1,!0)}),ve=H.onRenderRequest(R.scheduleRender);I.set($,function(){te(),ve()})}var Ve=f(y);for(var be in Ve){var Re=Ve[be];k[be]!==void 0&&Or(Re)&&Re.set(k[be],!1)}var L=Ou(y),D=_y(y),R=N(N({treeType:r,current:null,depth:m?m.depth+1:0,parent:m,children:new Set,presenceId:v,shouldReduceMotion:x,variantChildren:D?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(m==null?void 0:m.isMounted()),blockInitialAnimation:g,isMounted:function(){return Boolean(P)},mount:function($){C=!0,P=R.current=$,R.projection&&R.projection.mount($),D&&m&&!L&&(Z=m==null?void 0:m.addVariantChild(R)),M.forEach(function(H,te){return ie(te,H)}),m==null||m.children.add(R),R.setProps(y)},unmount:function(){var $;($=R.projection)===null||$===void 0||$.unmount(),ja.update(ne),ja.render(X),I.forEach(function(H){return H()}),Z==null||Z(),m==null||m.children.delete(R),F.clearAllListeners(),P=void 0,C=!1},addVariantChild:function($){var H,te=R.getClosestVariantNode();if(te)return(H=te.variantChildren)===null||H===void 0||H.add($),function(){return te.variantChildren.delete($)}},sortNodePosition:function($){return!c||r!==$.treeType?0:c(R.getInstance(),$.getInstance())},getClosestVariantNode:function(){return D?R:m==null?void 0:m.getClosestVariantNode()},getLayoutId:function(){return y.layoutId},getInstance:function(){return P},getStaticValue:function($){return k[$]},setStaticValue:function($,H){return k[$]=H},getLatestValues:function(){return k},setVisibility:function($){R.isVisible!==$&&(R.isVisible=$,R.scheduleRender())},makeTargetAnimatable:function($,H){return H===void 0&&(H=!0),o(R,$,y,H)},measureViewportBox:function(){return a(P,y)},addValue:function($,H){R.hasValue($)&&R.removeValue($),M.set($,H),k[$]=H.get(),ie($,H)},removeValue:function($){var H;M.delete($),(H=I.get($))===null||H===void 0||H(),I.delete($),delete k[$],u($,E)},hasValue:function($){return M.has($)},getValue:function($,H){var te=M.get($);return te===void 0&&H!==void 0&&(te=Ji(H),R.addValue($,te)),te},forEachValue:function($){return M.forEach($)},readValue:function($){var H;return(H=k[$])!==null&&H!==void 0?H:s(P,$,h)},setBaseTarget:function($,H){U[$]=H},getBaseTarget:function($){if(i){var H=i(y,$);if(H!==void 0&&!Or(H))return H}return U[$]}},F),{build:function(){return K(),E},scheduleRender:function(){hr.render(X,!1,!0)},syncRender:X,setProps:function($){($.transformTemplate||y.transformTemplate)&&R.scheduleRender(),y=$,F.updatePropListeners($),G=sO(R,f(y),G)},getProps:function(){return y},getVariant:function($){var H;return(H=y.variants)===null||H===void 0?void 0:H[$]},getDefaultTransition:function(){return y.transition},getTransformPagePoint:function(){return y.transformPagePoint},getVariantContext:function($){if($===void 0&&($=!1),$)return m==null?void 0:m.getVariantContext();if(!L){var H=(m==null?void 0:m.getVariantContext())||{};return y.initial!==void 0&&(H.initial=y.initial),H}for(var te={},ve=0;ve<uO;ve++){var xe=Hb[ve],We=y[xe];(tr(We)||We===!1)&&(te[xe]=We)}return te}});return R}},Hb=er(["initial"],Le(B1),!1),uO=Hb.length;function $1(e){return typeof e=="string"&&e.startsWith("var(--")}var zb=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function cO(e){var t=zb.exec(e);if(!t)return[,];var r=Le(t,3),n=r[1],i=r[2];return[n,i]}function D1(e,t,r){var n=Le(cO(e),2),i=n[0],o=n[1];if(!!i){var a=window.getComputedStyle(t).getPropertyValue(i);return a?a.trim():$1(o)?D1(o,t):o}}function dO(e,t,r){var n,i=Tt(t,[]),o=e.getInstance();if(!(o instanceof Element))return{target:i,transitionEnd:r};r&&(r=N({},r)),e.forEachValue(function(u){var c=u.get();if(!!$1(c)){var f=D1(c,o);f&&u.set(f)}});for(var a in i){var l=i[a];if(!!$1(l)){var s=D1(l,o);!s||(i[a]=s,r&&((n=r[a])!==null&&n!==void 0||(r[a]=l)))}}return{target:i,transitionEnd:r}}var fO=new Set(["width","height","top","left","right","bottom","x","y"]),Nb=function(e){return fO.has(e)},pO=function(e){return Object.keys(e).some(Nb)},jb=function(e,t){e.set(t,!1),e.set(t)},Wb=function(e){return e===Kn||e===Q},Ub;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(Ub||(Ub={}));var Zb=function(e,t){return parseFloat(e.split(", ")[t])},Gb=function(e,t){return function(r,n){var i=n.transform;if(i==="none"||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return Zb(o[1],t);var a=i.match(/^matrix\((.+)\)$/);return a?Zb(a[1],e):0}},hO=new Set(["x","y","z"]),vO=nl.filter(function(e){return!hO.has(e)});function mO(e){var t=[];return vO.forEach(function(r){var n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.syncRender(),t}var qb={width:function(e,t){var r=e.x,n=t.paddingLeft,i=n===void 0?"0":n,o=t.paddingRight,a=o===void 0?"0":o;return r.max-r.min-parseFloat(i)-parseFloat(a)},height:function(e,t){var r=e.y,n=t.paddingTop,i=n===void 0?"0":n,o=t.paddingBottom,a=o===void 0?"0":o;return r.max-r.min-parseFloat(i)-parseFloat(a)},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:Gb(4,13),y:Gb(5,14)},gO=function(e,t,r){var n=t.measureViewportBox(),i=t.getInstance(),o=getComputedStyle(i),a=o.display,l={};a==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(function(u){l[u]=qb[u](n,o)}),t.syncRender();var s=t.measureViewportBox();return r.forEach(function(u){var c=t.getValue(u);jb(c,l[u]),e[u]=qb[u](s,o)}),e},yO=function(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n={}),t=N({},t),n=N({},n);var i=Object.keys(t).filter(Nb),o=[],a=!1,l=[];if(i.forEach(function(u){var c=e.getValue(u);if(!!e.hasValue(u)){var f=r[u],d=al(f),h=t[u],m;if(Ja(h)){var y=h.length,v=h[0]===null?1:0;f=h[v],d=al(f);for(var g=v;g<y;g++)m?Tu(al(h[g])===m):m=al(h[g])}else m=al(h);if(d!==m)if(Wb(d)&&Wb(m)){var b=c.get();typeof b=="string"&&c.set(parseFloat(b)),typeof h=="string"?t[u]=parseFloat(h):Array.isArray(h)&&m===Q&&(t[u]=h.map(parseFloat))}else(d==null?void 0:d.transform)&&(m==null?void 0:m.transform)&&(f===0||h===0)?f===0?c.set(m.transform(f)):t[u]=d.transform(h):(a||(o=mO(e),a=!0),l.push(u),n[u]=n[u]!==void 0?n[u]:t[u],jb(c,h))}}),l.length){var s=gO(t,e,l);return o.length&&o.forEach(function(u){var c=Le(u,2),f=c[0],d=c[1];e.getValue(f).set(d)}),e.syncRender(),{target:s,transitionEnd:n}}else return{target:t,transitionEnd:n}};function bO(e,t,r,n){return pO(t)?yO(e,t,r,n):{target:t,transitionEnd:n}}var xO=function(e,t,r,n){var i=dO(e,t,n);return t=i.target,n=i.transitionEnd,bO(e,t,r,n)};function CO(e){return window.getComputedStyle(e)}var Yb={treeType:"dom",readValueFromInstance:function(e,t){if(il(t)){var r=f1(t);return r&&r.default||0}else{var n=CO(e);return(rb(t)?n.getPropertyValue(t):n[t])||0}},sortNodePosition:function(e,t){return e.compareDocumentPosition(t)&2?1:-1},getBaseTarget:function(e,t){var r;return(r=e.style)===null||r===void 0?void 0:r[t]},measureViewportBox:function(e,t){var r=t.transformPagePoint;return $b(e,r)},resetTransform:function(e,t,r){var n=r.transformTemplate;t.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var r=t.vars,n=t.style;delete r[e],delete n[e]},makeTargetAnimatable:function(e,t,r,n){var i=r.transformValues;n===void 0&&(n=!0);var o=t.transition,a=t.transitionEnd,l=Tt(t,["transition","transitionEnd"]),s=OA(l,o||{},e);if(i&&(a&&(a=i(a)),l&&(l=i(l)),s&&(s=i(s))),n){FA(e,l,s);var u=xO(e,l,s,a);a=u.transitionEnd,l=u.target}return N({transition:o,transitionEnd:a},l)},scrapeMotionValuesFromProps:k1,build:function(e,t,r,n,i){e.isVisible!==void 0&&(t.style.visibility=e.isVisible?"visible":"hidden"),C1(t,r,n,i.transformTemplate)},render:sb},wO=Db(Yb),SO=Db(N(N({},Yb),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return il(t)?((r=f1(t))===null||r===void 0?void 0:r.default)||0:(t=ub.has(t)?t:lb(t),e.getAttribute(t))},scrapeMotionValuesFromProps:db,build:function(e,t,r,n,i){S1(t,r,n,i.transformTemplate)},render:cb})),kO=function(e,t){return x1(e)?SO(t,{enableHardwareAcceleration:!1}):wO(t,{enableHardwareAcceleration:!0})};function Xb(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var ll={correct:function(e,t){if(!t.target)return e;if(typeof e=="string")if(Q.test(e))e=parseFloat(e);else return e;var r=Xb(e,t.target.x),n=Xb(e,t.target.y);return"".concat(r,"% ").concat(n,"%")}},Kb="_$css",EO={correct:function(e,t){var r=t.treeScale,n=t.projectionDelta,i=e,o=e.includes("var("),a=[];o&&(e=e.replace(zb,function(y){return a.push(y),Kb}));var l=Ar.parse(e);if(l.length>5)return i;var s=Ar.createTransformer(e),u=typeof l[0]!="number"?1:0,c=n.x.scale*r.x,f=n.y.scale*r.y;l[0+u]/=c,l[1+u]/=f;var d=Be(c,f,.5);typeof l[2+u]=="number"&&(l[2+u]/=d),typeof l[3+u]=="number"&&(l[3+u]/=d);var h=s(l);if(o){var m=0;h=h.replace(Kb,function(){var y=a[m];return m++,y})}return h}},PO=function(e){Cy(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){var r=this,n=this.props,i=n.visualElement,o=n.layoutGroup,a=n.switchLayoutGroup,l=n.layoutId,s=i.projection;nF(TO),s&&(o!=null&&o.group&&o.group.add(s),(a==null?void 0:a.register)&&l&&a.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",function(){r.safeToRemove()}),s.setOptions(N(N({},s.options),{onExitComplete:function(){return r.safeToRemove()}}))),ol.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(r){var n=this,i=this.props,o=i.layoutDependency,a=i.visualElement,l=i.drag,s=i.isPresent,u=a.projection;return u&&(u.isPresent=s,l||r.layoutDependency!==o||o===void 0?u.willUpdate():this.safeToRemove(),r.isPresent!==s&&(s?u.promote():u.relegate()||hr.postRender(function(){var c;!((c=u.getStack())===null||c===void 0)&&c.members.length||n.safeToRemove()}))),null},t.prototype.componentDidUpdate=function(){var r=this.props.visualElement.projection;r&&(r.root.didUpdate(),!r.currentAnimation&&r.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var r=this.props,n=r.visualElement,i=r.layoutGroup,o=r.switchLayoutGroup,a=n.projection;a&&(a.scheduleCheckAfterUnmount(),i!=null&&i.group&&i.group.remove(a),o!=null&&o.deregister&&o.deregister(a))},t.prototype.safeToRemove=function(){var r=this.props.safeToRemove;r==null||r()},t.prototype.render=function(){return null},t}(Dr.default.Component);function _O(e){var t=Le(O1(),2),r=t[0],n=t[1],i=O.useContext(b1);return p(PO,{...N({},e,{layoutGroup:i,switchLayoutGroup:O.useContext(eb),isPresent:r,safeToRemove:n})})}var TO={borderRadius:N(N({},ll),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ll,borderTopRightRadius:ll,borderBottomLeftRadius:ll,borderBottomRightRadius:ll,boxShadow:EO},MO={measureLayout:_O},FO=q3({attachResizeListener:function(e,t){return e.addEventListener("resize",t,{passive:!0}),function(){return e.removeEventListener("resize",t)}},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}}}),H1={current:void 0},AO=q3({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!H1.current){var e=new FO(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),H1.current=e}return H1.current},resetTransform:function(e,t){e.style.transform=t!=null?t:"none"}}),OO=N(N(N(N({},jA),xA),aO),MO),ec=FF(function(e,t){return JF(e,t,OO,kO,AO)});function Qb(){var e=O.useRef(!1);return Fu(function(){return e.current=!0,function(){e.current=!1}},[]),e}function LO(){var e=Qb(),t=Le(O.useState(0),2),r=t[0],n=t[1],i=O.useCallback(function(){e.current&&n(r+1)},[r]),o=O.useCallback(function(){return hr.postRender(i)},[i]);return[o,r]}var z1=function(e){var t=e.children,r=e.initial,n=e.isPresent,i=e.onExitComplete,o=e.custom,a=e.presenceAffectsLayout,l=Ha(BO),s=Eb(),u=O.useMemo(function(){return{id:s,initial:r,isPresent:n,custom:o,onExitComplete:function(c){var f,d;l.set(c,!0);try{for(var h=Y_(l.values()),m=h.next();!m.done;m=h.next()){var y=m.value;if(!y)return}}catch(v){f={error:v}}finally{try{m&&!m.done&&(d=h.return)&&d.call(h)}finally{if(f)throw f.error}}i==null||i()},register:function(c){return l.set(c,!1),function(){return l.delete(c)}}}},a?void 0:[n]);return O.useMemo(function(){l.forEach(function(c,f){return l.set(f,!1)})},[n]),w.useEffect(function(){!n&&!l.size&&(i==null||i())},[n]),w.createElement($a.Provider,{value:u},t)};function BO(){return new Map}var no=function(e){return e.key||""};function VO(e,t){e.forEach(function(r){var n=no(r);t.set(n,r)})}function RO(e){var t=[];return O.Children.forEach(e,function(r){O.isValidElement(r)&&t.push(r)}),t}var N1=function(e){var t=e.children,r=e.custom,n=e.initial,i=n===void 0?!0:n,o=e.onExitComplete,a=e.exitBeforeEnter,l=e.presenceAffectsLayout,s=l===void 0?!0:l,u=Le(LO(),1),c=u[0],f=O.useContext(b1).forceRender;f&&(c=f);var d=Qb(),h=RO(t),m=h,y=new Set,v=O.useRef(m),g=O.useRef(new Map).current,b=O.useRef(!0);if(Fu(function(){b.current=!1,VO(h,g),v.current=m}),M1(function(){b.current=!0,g.clear(),y.clear()}),b.current)return w.createElement(w.Fragment,null,m.map(function(F){return w.createElement(z1,{key:no(F),isPresent:!0,initial:i?void 0:!1,presenceAffectsLayout:s},F)}));m=er([],Le(m),!1);for(var x=v.current.map(no),C=h.map(no),k=x.length,E=0;E<k;E++){var P=x[E];C.indexOf(P)===-1&&y.add(P)}return a&&y.size&&(m=[]),y.forEach(function(F){if(C.indexOf(F)===-1){var M=g.get(F);if(!!M){var I=x.indexOf(F),G=function(){g.delete(F),y.delete(F);var U=v.current.findIndex(function(Z){return Z.key===F});if(v.current.splice(U,1),!y.size){if(v.current=h,d.current===!1)return;c(),o&&o()}};m.splice(I,0,w.createElement(z1,{key:no(M),isPresent:!1,onExitComplete:G,custom:r,presenceAffectsLayout:s},M))}}}),m=m.map(function(F){var M=F.key;return y.has(M)?F:w.createElement(z1,{key:no(F),isPresent:!0,presenceAffectsLayout:s},F)}),w.createElement(w.Fragment,null,y.size?m:m.map(function(F){return O.cloneElement(F)}))};function IO(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Ht(){return Ht=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ht.apply(this,arguments)}var j1={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},sl={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function W1(e){var t,r=(t=e==null?void 0:e.direction)!=null?t:"right";switch(r){case"right":return sl.slideRight;case"left":return sl.slideLeft;case"bottom":return sl.slideDown;case"top":return sl.slideUp;default:return sl.slideRight}}var ti={enter:{duration:.2,ease:j1.easeOut},exit:{duration:.1,ease:j1.easeIn}},Br={enter:function(t,r){return Ht({},t,{delay:Fn(r)?r:r==null?void 0:r.enter})},exit:function(t,r){return Ht({},t,{delay:Fn(r)?r:r==null?void 0:r.exit})}},$O={enter:function(t){var r,n=t===void 0?{}:t,i=n.transition,o=n.transitionEnd,a=n.delay;return{opacity:1,transition:(r=i==null?void 0:i.enter)!=null?r:Br.enter(ti.enter,a),transitionEnd:o==null?void 0:o.enter}},exit:function(t){var r,n=t===void 0?{}:t,i=n.transition,o=n.transitionEnd,a=n.delay;return{opacity:0,transition:(r=i==null?void 0:i.exit)!=null?r:Br.exit(ti.exit,a),transitionEnd:o==null?void 0:o.exit}}},DO={initial:"exit",animate:"enter",exit:"exit",variants:$O},HO={exit:function(t){var r,n=t.reverse,i=t.initialScale,o=t.transition,a=t.transitionEnd,l=t.delay;return Ht({opacity:0},n?{scale:i,transitionEnd:a==null?void 0:a.exit}:{transitionEnd:Ht({scale:i},a==null?void 0:a.exit)},{transition:(r=o==null?void 0:o.exit)!=null?r:Br.exit(ti.exit,l)})},enter:function(t){var r,n=t.transitionEnd,i=t.transition,o=t.delay;return{opacity:1,scale:1,transition:(r=i==null?void 0:i.enter)!=null?r:Br.enter(ti.enter,o),transitionEnd:n==null?void 0:n.enter}}},zO={initial:"exit",animate:"enter",exit:"exit",variants:HO},NO=["direction","style","unmountOnExit","in","className","transition","transitionEnd","delay"],Jb={exit:{duration:.15,ease:j1.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},jO={exit:function(t){var r,n=t.direction,i=t.transition,o=t.transitionEnd,a=t.delay,l=W1({direction:n}),s=l.exit;return Ht({},s,{transition:(r=i==null?void 0:i.exit)!=null?r:Br.exit(Jb.exit,a),transitionEnd:o==null?void 0:o.exit})},enter:function(t){var r,n=t.direction,i=t.transitionEnd,o=t.transition,a=t.delay,l=W1({direction:n}),s=l.enter;return Ht({},s,{transition:(r=o==null?void 0:o.enter)!=null?r:Br.enter(Jb.enter,a),transitionEnd:i==null?void 0:i.enter})}},WO=w.forwardRef(function(e,t){var r=e.direction,n=r===void 0?"right":r,i=e.style,o=e.unmountOnExit,a=e.in,l=e.className,s=e.transition,u=e.transitionEnd,c=e.delay,f=IO(e,NO),d=W1({direction:n}),h=Object.assign({position:"fixed"},d.position,i),m=o?a&&o:!0,y=a||o?"enter":"exit",v={transitionEnd:u,transition:s,direction:n,delay:c};return w.createElement(N1,{custom:v},m&&w.createElement(ec.div,Ht({},f,{ref:t,initial:"exit",className:ze("chakra-slide",l),animate:y,exit:"exit",custom:v,variants:jO,style:h})))}),UO={initial:function(t){var r,n=t.offsetX,i=t.offsetY,o=t.transition,a=t.transitionEnd,l=t.delay;return{opacity:0,x:n,y:i,transition:(r=o==null?void 0:o.exit)!=null?r:Br.exit(ti.exit,l),transitionEnd:a==null?void 0:a.exit}},enter:function(t){var r,n=t.transition,i=t.transitionEnd,o=t.delay;return{opacity:1,x:0,y:0,transition:(r=n==null?void 0:n.enter)!=null?r:Br.enter(ti.enter,o),transitionEnd:i==null?void 0:i.enter}},exit:function(t){var r,n=t.offsetY,i=t.offsetX,o=t.transition,a=t.transitionEnd,l=t.reverse,s=t.delay,u={x:i,y:n};return Ht({opacity:0,transition:(r=o==null?void 0:o.exit)!=null?r:Br.exit(ti.exit,s)},l?Ht({},u,{transitionEnd:a==null?void 0:a.exit}):{transitionEnd:Ht({},u,a==null?void 0:a.exit)})}},e5={initial:"initial",animate:"enter",exit:"exit",variants:UO};function ri(){return ri=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ri.apply(this,arguments)}function t5(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function ZO(e){var t=e.loading,r=e.src,n=e.srcSet,i=e.onLoad,o=e.onError,a=e.crossOrigin,l=e.sizes,s=e.ignoreFallback,u=O.useState("pending"),c=u[0],f=u[1];O.useEffect(function(){f(r?"loading":"pending")},[r]);var d=O.useRef(),h=O.useCallback(function(){if(!!r){m();var y=new Image;y.src=r,a&&(y.crossOrigin=a),n&&(y.srcset=n),l&&(y.sizes=l),t&&(y.loading=t),y.onload=function(v){m(),f("loaded"),i==null||i(v)},y.onerror=function(v){m(),f("failed"),o==null||o(v)},d.current=y}},[r,a,n,l,i,o,t]),m=function(){d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return Ao(function(){if(!s)return c==="loading"&&h(),function(){m()}},[c,h,s]),s?"loaded":c}var GO=["htmlWidth","htmlHeight","alt"],qO=["fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],r5=w.forwardRef(function(e,t){var r=e.htmlWidth,n=e.htmlHeight,i=e.alt,o=t5(e,GO);return w.createElement("img",ri({width:r,height:n,ref:t,alt:i},o))}),YO=Fe(function(e,t){var r=e.fallbackSrc,n=e.fallback,i=e.src,o=e.srcSet,a=e.align,l=e.fit,s=e.loading,u=e.ignoreFallback,c=e.crossOrigin,f=t5(e,qO),d=s!=null||u||r===void 0&&n===void 0,h=ZO(ri({},e,{ignoreFallback:d})),m=ri({ref:t,objectFit:l,objectPosition:a},d?f:Yl(f,["onError","onLoad"]));return h!=="loaded"?n||w.createElement(re.img,ri({as:r5,className:"chakra-image__placeholder",src:r},m)):w.createElement(re.img,ri({as:r5,src:i,srcSet:o,crossOrigin:c,loading:s,className:"chakra-image"},m))}),n5={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},i5=re("span",{baseStyle:n5});re("input",{baseStyle:n5});function tc(){return tc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tc.apply(this,arguments)}function XO(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var KO=["label","thickness","speed","emptyColor","className"],QO=mi({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),JO=Fe(function(e,t){var r=dn("Spinner",e),n=cn(e),i=n.label,o=i===void 0?"Loading...":i,a=n.thickness,l=a===void 0?"2px":a,s=n.speed,u=s===void 0?"0.45s":s,c=n.emptyColor,f=c===void 0?"transparent":c,d=n.className,h=XO(n,KO),m=ze("chakra-spinner",d),y=tc({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:l,borderBottomColor:f,borderLeftColor:f,animation:QO+" "+u+" linear infinite"},r);return w.createElement(re.div,tc({ref:t,__css:y,className:m},h),o&&w.createElement(i5,null,o))});function U1(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function bn(){return bn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bn.apply(this,arguments)}var eL=An({strict:!1,name:"ButtonGroupContext"}),tL=eL[1],rL=["label","placement","spacing","children","className","__css"],o5=function(t){var r=t.label,n=t.placement,i=t.spacing,o=i===void 0?"0.5rem":i,a=t.children,l=a===void 0?w.createElement(JO,{color:"currentColor",width:"1em",height:"1em"}):a,s=t.className,u=t.__css,c=U1(t,rL),f=ze("chakra-button__spinner",s),d=n==="start"?"marginEnd":"marginStart",h=w.useMemo(function(){var m;return bn((m={display:"flex",alignItems:"center",position:r?"relative":"absolute"},m[d]=r?o:0,m.fontSize="1em",m.lineHeight="normal",m),u)},[u,r,d,o]);return w.createElement(re.div,bn({className:f},c,{__css:h}),l)},nL=["children","className"],a5=function(t){var r=t.children,n=t.className,i=U1(t,nL),o=w.isValidElement(r)?w.cloneElement(r,{"aria-hidden":!0,focusable:!1}):r,a=ze("chakra-button__icon",n);return w.createElement(re.span,bn({display:"inline-flex",alignSelf:"center",flexShrink:0},i,{className:a}),o)};function iL(e){var t=w.useState(!e),r=t[0],n=t[1],i=w.useCallback(function(a){!a||n(a.tagName==="BUTTON")},[]),o=r?"button":void 0;return{ref:i,type:o}}var oL=["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"],Z1=Fe(function(e,t){var r=tL(),n=dn("Button",bn({},r,e)),i=cn(e),o=i.isDisabled,a=o===void 0?r==null?void 0:r.isDisabled:o,l=i.isLoading,s=i.isActive,u=i.isFullWidth,c=i.children,f=i.leftIcon,d=i.rightIcon,h=i.loadingText,m=i.iconSpacing,y=m===void 0?"0.5rem":m,v=i.type,g=i.spinner,b=i.spinnerPlacement,x=b===void 0?"start":b,C=i.className,k=i.as,E=U1(i,oL),P=w.useMemo(function(){var U,Z=At({},(U=n==null?void 0:n._focus)!=null?U:{},{zIndex:1});return bn({display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",width:u?"100%":"auto"},n,!!r&&{_focus:Z})},[n,r,u]),F=iL(k),M=F.ref,I=F.type,G={rightIcon:d,leftIcon:f,iconSpacing:y,children:c};return w.createElement(re.button,bn({disabled:a||l,ref:Yx(t,M),as:k,type:v!=null?v:I,"data-active":av(s),"data-loading":av(l),__css:P,className:ze("chakra-button",C)},E),l&&x==="start"&&w.createElement(o5,{className:"chakra-button__spinner--start",label:h,placement:"start",spacing:y},g),l?h||w.createElement(re.span,{opacity:0},w.createElement(l5,G)):w.createElement(l5,G),l&&x==="end"&&w.createElement(o5,{className:"chakra-button__spinner--end",label:h,placement:"end",spacing:y},g))});function l5(e){var t=e.leftIcon,r=e.rightIcon,n=e.children,i=e.iconSpacing;return w.createElement(w.Fragment,null,t&&w.createElement(a5,{marginEnd:i},t),n,r&&w.createElement(a5,{marginStart:i},r))}function aL(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function ul(){return ul=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ul.apply(this,arguments)}var lL=["children","isDisabled","__css"],sL=function(t){return w.createElement(De,ul({focusable:"false","aria-hidden":!0},t),w.createElement("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"}))},uL=Fe(function(e,t){var r=dn("CloseButton",e),n=cn(e),i=n.children,o=n.isDisabled,a=n.__css,l=aL(n,lL),s={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return w.createElement(re.button,ul({type:"button","aria-label":"Close",ref:t,disabled:o,__css:ul({},s,r,a)},l),i||w.createElement(sL,{width:"1em",height:"1em"}))});function ft(){return ft=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ft.apply(this,arguments)}function xn(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var ee=re("div"),s5=re("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}}),cL=["direction","align","justify","wrap","basis","grow","shrink"],cl=Fe(function(e,t){var r=e.direction,n=e.align,i=e.justify,o=e.wrap,a=e.basis,l=e.grow,s=e.shrink,u=xn(e,cL),c={display:"flex",flexDirection:r,alignItems:n,justifyContent:i,flexWrap:o,flexBasis:a,flexGrow:l,flexShrink:s};return w.createElement(re.div,ft({ref:t,__css:c},u))}),dL=["className"],fL=Fe(function(e,t){var r=dn("Heading",e),n=cn(e);n.className;var i=xn(n,dL);return w.createElement(re.h2,ft({ref:t,className:ze("chakra-heading",e.className)},i,{__css:r}))}),pL=["className","isExternal"],rc=Fe(function(e,t){var r=dn("Link",e),n=cn(e),i=n.className,o=n.isExternal,a=xn(n,pL);return w.createElement(re.a,ft({target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:t,className:ze("chakra-link",i)},a,{__css:r}))}),hL=["children","styleType","stylePosition","spacing"],u5=An({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in a `<*List />` "}),vL=u5[0],mL=u5[1],gL=Fe(function(e,t){var r,n=Ng("List",e),i=cn(e),o=i.children,a=i.styleType,l=a===void 0?"none":a,s=i.stylePosition,u=i.spacing,c=xn(i,hL),f=dv(o),d="& > *:not(style) ~ *:not(style)",h=u?(r={},r[d]={mt:u},r):{};return w.createElement(vL,{value:n},w.createElement(re.ul,ft({ref:t,listStyleType:l,listStylePosition:s,role:"list",__css:ft({},n.container,h)},c),f))}),yL=Fe(function(e,t){var r=mL();return w.createElement(re.li,ft({ref:t},e,{__css:r.item}))});re("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});var G1="& > *:not(style) ~ *:not(style)";function bL(e){var t,r=e.spacing,n=e.direction,i={column:{marginTop:r,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:r},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:r,marginStart:0},"row-reverse":{marginTop:0,marginEnd:r,marginBottom:0,marginStart:0}};return t={flexDirection:n},t[G1]=cv(n,function(o){return i[o]}),t}function xL(e){var t=e.spacing,r=e.direction,n={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{"&":cv(r,function(i){return n[i]})}}var CL=["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"],wL=function(t){return w.createElement(re.div,ft({className:"chakra-stack__item"},t,{__css:ft({display:"inline-block",flex:"0 0 auto",minWidth:0},t.__css)}))},c5=Fe(function(e,t){var r,n=e.isInline,i=e.direction,o=e.align,a=e.justify,l=e.spacing,s=l===void 0?"0.5rem":l,u=e.wrap,c=e.children,f=e.divider,d=e.className,h=e.shouldWrapChildren,m=xn(e,CL),y=n?"row":i!=null?i:"column",v=w.useMemo(function(){return bL({direction:y,spacing:s})},[y,s]),g=w.useMemo(function(){return xL({spacing:s,direction:y})},[s,y]),b=!!f,x=!h&&!b,C=dv(c),k=x?C:C.map(function(P,F){var M=typeof P.key!="undefined"?P.key:F,I=F+1===C.length,G=w.createElement(wL,{key:M},P),U=h?G:P;if(!b)return U;var Z=w.cloneElement(f,{__css:g}),X=I?null:Z;return w.createElement(w.Fragment,{key:M},U,X)}),E=ze("chakra-stack",d);return w.createElement(re.div,ft({ref:t,display:"flex",alignItems:o,justifyContent:a,flexDirection:v.flexDirection,flexWrap:u,className:E,__css:b?{}:(r={},r[G1]=v[G1],r)},m),k)}),SL=Fe(function(e,t){return w.createElement(c5,ft({align:"center"},e,{direction:"row",ref:t}))}),kL=["className","align","decoration","casing"],et=Fe(function(e,t){var r=dn("Text",e),n=cn(e);n.className,n.align,n.decoration,n.casing;var i=xn(n,kL),o=Kc({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return w.createElement(re.p,ft({ref:t,className:ze("chakra-text",e.className)},o,i,{__css:r}))}),EL=["isExternal","target","rel","className"],PL=["className"],d5=Fe(function(e,t){var r=e.isExternal,n=e.target,i=e.rel,o=e.className,a=xn(e,EL);return w.createElement(re.a,ft({},a,{ref:t,className:ze("chakra-linkbox__overlay",o),rel:r?"noopener noreferrer":i,target:r?"_blank":n,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:1,width:"100%",height:"100%"}}}))}),_L=Fe(function(e,t){var r=e.className,n=xn(e,PL);return w.createElement(re.div,ft({ref:t,position:"relative"},n,{className:ze("chakra-linkbox",r),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title], button":{position:"relative",zIndex:1}}}))}),TL=zr?w.useLayoutEffect:w.useEffect;function f5(e){var t=mg(),r=Array.isArray(e)?e:[e],n=zr&&"matchMedia"in t.window,i=w.useState(r.map(function(l){return n?!!t.window.matchMedia(l).matches:!1})),o=i[0],a=i[1];return TL(function(){if(!!n){var l=r.map(function(u){return t.window.matchMedia(u)}),s=l.map(function(u,c){var f=function(h){var m=l.findIndex(function(y){return y.media===h.media});a(function(y){var v=y.map(function(g){return g});return v[m]=h.matches,v})};return typeof l[c].addEventListener=="function"?l[c].addEventListener("change",f):l[c].addListener(f),f});return function(){l.forEach(function(u,c){typeof l[c].removeEventListener=="function"?l[c].removeEventListener("change",s[c]):l[c].removeListener(s[c])})}}},[]),o}var bt="top",zt="bottom",Nt="right",xt="left",q1="auto",dl=[bt,zt,Nt,xt],io="start",fl="end",ML="clippingParents",p5="viewport",pl="popper",FL="reference",h5=dl.reduce(function(e,t){return e.concat([t+"-"+io,t+"-"+fl])},[]),v5=[].concat(dl,[q1]).reduce(function(e,t){return e.concat([t,t+"-"+io,t+"-"+fl])},[]),AL="beforeRead",OL="read",LL="afterRead",BL="beforeMain",VL="main",RL="afterMain",IL="beforeWrite",$L="write",DL="afterWrite",HL=[AL,OL,LL,BL,VL,RL,IL,$L,DL];function yr(e){return e?(e.nodeName||"").toLowerCase():null}function Mt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ni(e){var t=Mt(e).Element;return e instanceof t||e instanceof Element}function jt(e){var t=Mt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Y1(e){if(typeof ShadowRoot=="undefined")return!1;var t=Mt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function zL(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},o=t.elements[r];!jt(o)||!yr(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(a){var l=i[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function NL(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],o=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),l=a.reduce(function(s,u){return s[u]="",s},{});!jt(i)||!yr(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(s){i.removeAttribute(s)}))})}}var jL={name:"applyStyles",enabled:!0,phase:"write",fn:zL,effect:NL,requires:["computeStyles"]};function br(e){return e.split("-")[0]}var ii=Math.max,nc=Math.min,oo=Math.round;function X1(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function m5(){return!/^((?!chrome|android).)*safari/i.test(X1())}function ao(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,o=1;t&&jt(e)&&(i=e.offsetWidth>0&&oo(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&oo(n.height)/e.offsetHeight||1);var a=ni(e)?Mt(e):window,l=a.visualViewport,s=!m5()&&r,u=(n.left+(s&&l?l.offsetLeft:0))/i,c=(n.top+(s&&l?l.offsetTop:0))/o,f=n.width/i,d=n.height/o;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function K1(e){var t=ao(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function g5(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Y1(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Vr(e){return Mt(e).getComputedStyle(e)}function WL(e){return["table","td","th"].indexOf(yr(e))>=0}function Cn(e){return((ni(e)?e.ownerDocument:e.document)||window.document).documentElement}function ic(e){return yr(e)==="html"?e:e.assignedSlot||e.parentNode||(Y1(e)?e.host:null)||Cn(e)}function y5(e){return!jt(e)||Vr(e).position==="fixed"?null:e.offsetParent}function UL(e){var t=/firefox/i.test(X1()),r=/Trident/i.test(X1());if(r&&jt(e)){var n=Vr(e);if(n.position==="fixed")return null}var i=ic(e);for(Y1(i)&&(i=i.host);jt(i)&&["html","body"].indexOf(yr(i))<0;){var o=Vr(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function hl(e){for(var t=Mt(e),r=y5(e);r&&WL(r)&&Vr(r).position==="static";)r=y5(r);return r&&(yr(r)==="html"||yr(r)==="body"&&Vr(r).position==="static")?t:r||UL(e)||t}function Q1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function vl(e,t,r){return ii(e,nc(t,r))}function ZL(e,t,r){var n=vl(e,t,r);return n>r?r:n}function b5(){return{top:0,right:0,bottom:0,left:0}}function x5(e){return Object.assign({},b5(),e)}function C5(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var GL=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,x5(typeof t!="number"?t:C5(t,dl))};function qL(e){var t,r=e.state,n=e.name,i=e.options,o=r.elements.arrow,a=r.modifiersData.popperOffsets,l=br(r.placement),s=Q1(l),u=[xt,Nt].indexOf(l)>=0,c=u?"height":"width";if(!(!o||!a)){var f=GL(i.padding,r),d=K1(o),h=s==="y"?bt:xt,m=s==="y"?zt:Nt,y=r.rects.reference[c]+r.rects.reference[s]-a[s]-r.rects.popper[c],v=a[s]-r.rects.reference[s],g=hl(o),b=g?s==="y"?g.clientHeight||0:g.clientWidth||0:0,x=y/2-v/2,C=f[h],k=b-d[c]-f[m],E=b/2-d[c]/2+x,P=vl(C,E,k),F=s;r.modifiersData[n]=(t={},t[F]=P,t.centerOffset=P-E,t)}}function YL(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!g5(t.elements.popper,i)||(t.elements.arrow=i))}var XL={name:"arrow",enabled:!0,phase:"main",fn:qL,effect:YL,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function lo(e){return e.split("-")[1]}var KL={top:"auto",right:"auto",bottom:"auto",left:"auto"};function QL(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:oo(r*i)/i||0,y:oo(n*i)/i||0}}function w5(e){var t,r=e.popper,n=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=a.x,h=d===void 0?0:d,m=a.y,y=m===void 0?0:m,v=typeof c=="function"?c({x:h,y}):{x:h,y};h=v.x,y=v.y;var g=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),x=xt,C=bt,k=window;if(u){var E=hl(r),P="clientHeight",F="clientWidth";if(E===Mt(r)&&(E=Cn(r),Vr(E).position!=="static"&&l==="absolute"&&(P="scrollHeight",F="scrollWidth")),E=E,i===bt||(i===xt||i===Nt)&&o===fl){C=zt;var M=f&&E===k&&k.visualViewport?k.visualViewport.height:E[P];y-=M-n.height,y*=s?1:-1}if(i===xt||(i===bt||i===zt)&&o===fl){x=Nt;var I=f&&E===k&&k.visualViewport?k.visualViewport.width:E[F];h-=I-n.width,h*=s?1:-1}}var G=Object.assign({position:l},u&&KL),U=c===!0?QL({x:h,y},Mt(r)):{x:h,y};if(h=U.x,y=U.y,s){var Z;return Object.assign({},G,(Z={},Z[C]=b?"0":"",Z[x]=g?"0":"",Z.transform=(k.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",Z))}return Object.assign({},G,(t={},t[C]=b?y+"px":"",t[x]=g?h+"px":"",t.transform="",t))}function JL(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,o=r.adaptive,a=o===void 0?!0:o,l=r.roundOffsets,s=l===void 0?!0:l,u={placement:br(t.placement),variation:lo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,w5(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,w5(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var eB={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:JL,data:{}},oc={passive:!0};function tB(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=i===void 0?!0:i,a=n.resize,l=a===void 0?!0:a,s=Mt(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",r.update,oc)}),l&&s.addEventListener("resize",r.update,oc),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",r.update,oc)}),l&&s.removeEventListener("resize",r.update,oc)}}var rB={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:tB,data:{}},nB={left:"right",right:"left",bottom:"top",top:"bottom"};function ac(e){return e.replace(/left|right|bottom|top/g,function(t){return nB[t]})}var iB={start:"end",end:"start"};function S5(e){return e.replace(/start|end/g,function(t){return iB[t]})}function J1(e){var t=Mt(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function ep(e){return ao(Cn(e)).left+J1(e).scrollLeft}function oB(e,t){var r=Mt(e),n=Cn(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,l=0,s=0;if(i){o=i.width,a=i.height;var u=m5();(u||!u&&t==="fixed")&&(l=i.offsetLeft,s=i.offsetTop)}return{width:o,height:a,x:l+ep(e),y:s}}function aB(e){var t,r=Cn(e),n=J1(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=ii(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=ii(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-n.scrollLeft+ep(e),s=-n.scrollTop;return Vr(i||r).direction==="rtl"&&(l+=ii(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:l,y:s}}function tp(e){var t=Vr(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function k5(e){return["html","body","#document"].indexOf(yr(e))>=0?e.ownerDocument.body:jt(e)&&tp(e)?e:k5(ic(e))}function ml(e,t){var r;t===void 0&&(t=[]);var n=k5(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),o=Mt(n),a=i?[o].concat(o.visualViewport||[],tp(n)?n:[]):n,l=t.concat(a);return i?l:l.concat(ml(ic(a)))}function rp(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function lB(e,t){var r=ao(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function E5(e,t,r){return t===p5?rp(oB(e,r)):ni(t)?lB(t,r):rp(aB(Cn(e)))}function sB(e){var t=ml(ic(e)),r=["absolute","fixed"].indexOf(Vr(e).position)>=0,n=r&&jt(e)?hl(e):e;return ni(n)?t.filter(function(i){return ni(i)&&g5(i,n)&&yr(i)!=="body"}):[]}function uB(e,t,r,n){var i=t==="clippingParents"?sB(e):[].concat(t),o=[].concat(i,[r]),a=o[0],l=o.reduce(function(s,u){var c=E5(e,u,n);return s.top=ii(c.top,s.top),s.right=nc(c.right,s.right),s.bottom=nc(c.bottom,s.bottom),s.left=ii(c.left,s.left),s},E5(e,a,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function P5(e){var t=e.reference,r=e.element,n=e.placement,i=n?br(n):null,o=n?lo(n):null,a=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,s;switch(i){case bt:s={x:a,y:t.y-r.height};break;case zt:s={x:a,y:t.y+t.height};break;case Nt:s={x:t.x+t.width,y:l};break;case xt:s={x:t.x-r.width,y:l};break;default:s={x:t.x,y:t.y}}var u=i?Q1(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case io:s[u]=s[u]-(t[c]/2-r[c]/2);break;case fl:s[u]=s[u]+(t[c]/2-r[c]/2);break}}return s}function gl(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,o=r.strategy,a=o===void 0?e.strategy:o,l=r.boundary,s=l===void 0?ML:l,u=r.rootBoundary,c=u===void 0?p5:u,f=r.elementContext,d=f===void 0?pl:f,h=r.altBoundary,m=h===void 0?!1:h,y=r.padding,v=y===void 0?0:y,g=x5(typeof v!="number"?v:C5(v,dl)),b=d===pl?FL:pl,x=e.rects.popper,C=e.elements[m?b:d],k=uB(ni(C)?C:C.contextElement||Cn(e.elements.popper),s,c,a),E=ao(e.elements.reference),P=P5({reference:E,element:x,strategy:"absolute",placement:i}),F=rp(Object.assign({},x,P)),M=d===pl?F:E,I={top:k.top-M.top+g.top,bottom:M.bottom-k.bottom+g.bottom,left:k.left-M.left+g.left,right:M.right-k.right+g.right},G=e.modifiersData.offset;if(d===pl&&G){var U=G[i];Object.keys(I).forEach(function(Z){var X=[Nt,zt].indexOf(Z)>=0?1:-1,K=[bt,zt].indexOf(Z)>=0?"y":"x";I[Z]+=U[K]*X})}return I}function cB(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,l=r.flipVariations,s=r.allowedAutoPlacements,u=s===void 0?v5:s,c=lo(n),f=c?l?h5:h5.filter(function(m){return lo(m)===c}):dl,d=f.filter(function(m){return u.indexOf(m)>=0});d.length===0&&(d=f);var h=d.reduce(function(m,y){return m[y]=gl(e,{placement:y,boundary:i,rootBoundary:o,padding:a})[br(y)],m},{});return Object.keys(h).sort(function(m,y){return h[m]-h[y]})}function dB(e){if(br(e)===q1)return[];var t=ac(e);return[S5(e),t,S5(t)]}function fB(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,l=a===void 0?!0:a,s=r.fallbackPlacements,u=r.padding,c=r.boundary,f=r.rootBoundary,d=r.altBoundary,h=r.flipVariations,m=h===void 0?!0:h,y=r.allowedAutoPlacements,v=t.options.placement,g=br(v),b=g===v,x=s||(b||!m?[ac(v)]:dB(v)),C=[v].concat(x).reduce(function($,H){return $.concat(br(H)===q1?cB(t,{placement:H,boundary:c,rootBoundary:f,padding:u,flipVariations:m,allowedAutoPlacements:y}):H)},[]),k=t.rects.reference,E=t.rects.popper,P=new Map,F=!0,M=C[0],I=0;I<C.length;I++){var G=C[I],U=br(G),Z=lo(G)===io,X=[bt,zt].indexOf(U)>=0,K=X?"width":"height",ne=gl(t,{placement:G,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),ie=X?Z?Nt:xt:Z?zt:bt;k[K]>E[K]&&(ie=ac(ie));var Ve=ac(ie),be=[];if(o&&be.push(ne[U]<=0),l&&be.push(ne[ie]<=0,ne[Ve]<=0),be.every(function($){return $})){M=G,F=!1;break}P.set(G,be)}if(F)for(var Re=m?3:1,L=function(H){var te=C.find(function(ve){var xe=P.get(ve);if(xe)return xe.slice(0,H).every(function(We){return We})});if(te)return M=te,"break"},D=Re;D>0;D--){var R=L(D);if(R==="break")break}t.placement!==M&&(t.modifiersData[n]._skip=!0,t.placement=M,t.reset=!0)}}var pB={name:"flip",enabled:!0,phase:"main",fn:fB,requiresIfExists:["offset"],data:{_skip:!1}};function _5(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function T5(e){return[bt,Nt,zt,xt].some(function(t){return e[t]>=0})}function hB(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=gl(t,{elementContext:"reference"}),l=gl(t,{altBoundary:!0}),s=_5(a,n),u=_5(l,i,o),c=T5(s),f=T5(u);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}var vB={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hB};function mB(e,t,r){var n=br(e),i=[xt,bt].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=o[0],l=o[1];return a=a||0,l=(l||0)*i,[xt,Nt].indexOf(n)>=0?{x:l,y:a}:{x:a,y:l}}function gB(e){var t=e.state,r=e.options,n=e.name,i=r.offset,o=i===void 0?[0,0]:i,a=v5.reduce(function(c,f){return c[f]=mB(f,t.rects,o),c},{}),l=a[t.placement],s=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=a}var yB={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:gB};function bB(e){var t=e.state,r=e.name;t.modifiersData[r]=P5({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var xB={name:"popperOffsets",enabled:!0,phase:"read",fn:bB,data:{}};function CB(e){return e==="x"?"y":"x"}function wB(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,l=a===void 0?!1:a,s=r.boundary,u=r.rootBoundary,c=r.altBoundary,f=r.padding,d=r.tether,h=d===void 0?!0:d,m=r.tetherOffset,y=m===void 0?0:m,v=gl(t,{boundary:s,rootBoundary:u,padding:f,altBoundary:c}),g=br(t.placement),b=lo(t.placement),x=!b,C=Q1(g),k=CB(C),E=t.modifiersData.popperOffsets,P=t.rects.reference,F=t.rects.popper,M=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,I=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),G=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,U={x:0,y:0};if(!!E){if(o){var Z,X=C==="y"?bt:xt,K=C==="y"?zt:Nt,ne=C==="y"?"height":"width",ie=E[C],Ve=ie+v[X],be=ie-v[K],Re=h?-F[ne]/2:0,L=b===io?P[ne]:F[ne],D=b===io?-F[ne]:-P[ne],R=t.elements.arrow,$=h&&R?K1(R):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:b5(),te=H[X],ve=H[K],xe=vl(0,P[ne],$[ne]),We=x?P[ne]/2-Re-xe-te-I.mainAxis:L-xe-te-I.mainAxis,li=x?-P[ne]/2+Re+xe+ve+I.mainAxis:D+xe+ve+I.mainAxis,_n=t.elements.arrow&&hl(t.elements.arrow),Ee=_n?C==="y"?_n.clientTop||0:_n.clientLeft||0:0,st=(Z=G==null?void 0:G[C])!=null?Z:0,Wt=ie+We-st-Ee,vh=ie+li-st,Mc=vl(h?nc(Ve,Wt):Ve,ie,h?ii(be,vh):be);E[C]=Mc,U[C]=Mc-ie}if(l){var Fc,mh=C==="x"?bt:xt,gh=C==="x"?zt:Nt,Ut=E[k],Tn=k==="y"?"height":"width",si=Ut+v[mh],Zt=Ut-v[gh],xo=[bt,xt].indexOf(g)!==-1,El=(Fc=G==null?void 0:G[k])!=null?Fc:0,Ac=xo?si:Ut-P[Tn]-F[Tn]-El+I.altAxis,Oc=xo?Ut+P[Tn]+F[Tn]-El-I.altAxis:Zt,ui=h&&xo?ZL(Ac,Ut,Oc):vl(h?Ac:si,Ut,h?Oc:Zt);E[k]=ui,U[k]=ui-Ut}t.modifiersData[n]=U}}var SB={name:"preventOverflow",enabled:!0,phase:"main",fn:wB,requiresIfExists:["offset"]};function kB(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function EB(e){return e===Mt(e)||!jt(e)?J1(e):kB(e)}function PB(e){var t=e.getBoundingClientRect(),r=oo(t.width)/e.offsetWidth||1,n=oo(t.height)/e.offsetHeight||1;return r!==1||n!==1}function _B(e,t,r){r===void 0&&(r=!1);var n=jt(t),i=jt(t)&&PB(t),o=Cn(t),a=ao(e,i,r),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((yr(t)!=="body"||tp(o))&&(l=EB(t)),jt(t)?(s=ao(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=ep(o))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function TB(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function i(o){r.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!r.has(l)){var s=t.get(l);s&&i(s)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||i(o)}),n}function MB(e){var t=TB(e);return HL.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function FB(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function AB(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var M5={placement:"bottom",modifiers:[],strategy:"absolute"};function F5(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function OB(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,o=i===void 0?M5:i;return function(l,s,u){u===void 0&&(u=o);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},M5,o),modifiersData:{},elements:{reference:l,popper:s},attributes:{},styles:{}},f=[],d=!1,h={state:c,setOptions:function(g){var b=typeof g=="function"?g(c.options):g;y(),c.options=Object.assign({},o,c.options,b),c.scrollParents={reference:ni(l)?ml(l):l.contextElement?ml(l.contextElement):[],popper:ml(s)};var x=MB(AB([].concat(n,c.options.modifiers)));return c.orderedModifiers=x.filter(function(C){return C.enabled}),m(),h.update()},forceUpdate:function(){if(!d){var g=c.elements,b=g.reference,x=g.popper;if(!!F5(b,x)){c.rects={reference:_B(b,hl(x),c.options.strategy==="fixed"),popper:K1(x)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(I){return c.modifiersData[I.name]=Object.assign({},I.data)});for(var C=0;C<c.orderedModifiers.length;C++){if(c.reset===!0){c.reset=!1,C=-1;continue}var k=c.orderedModifiers[C],E=k.fn,P=k.options,F=P===void 0?{}:P,M=k.name;typeof E=="function"&&(c=E({state:c,options:F,name:M,instance:h})||c)}}}},update:FB(function(){return new Promise(function(v){h.forceUpdate(),v(c)})}),destroy:function(){y(),d=!0}};if(!F5(l,s))return h;h.setOptions(u).then(function(v){!d&&u.onFirstUpdate&&u.onFirstUpdate(v)});function m(){c.orderedModifiers.forEach(function(v){var g=v.name,b=v.options,x=b===void 0?{}:b,C=v.effect;if(typeof C=="function"){var k=C({state:c,name:g,instance:h,options:x}),E=function(){};f.push(k||E)}})}function y(){f.forEach(function(v){return v()}),f=[]}return h}}var LB=[rB,xB,eB,jL,yB,pB,SB,XL,vB],BB=OB({defaultModifiers:LB});function VB(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function rr(){return rr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rr.apply(this,arguments)}var so=function(t,r){return{var:t,varRef:r?"var("+t+", "+r+")":"var("+t+")"}},tt={arrowShadowColor:so("--popper-arrow-shadow-color"),arrowSize:so("--popper-arrow-size","8px"),arrowSizeHalf:so("--popper-arrow-size-half"),arrowBg:so("--popper-arrow-bg"),transformOrigin:so("--popper-transform-origin"),arrowOffset:so("--popper-arrow-offset")};function RB(e){if(e.includes("top"))return"1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 1px 0 var(--popper-arrow-shadow-color)"}var IB={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"},$B=function(t){return IB[t]},A5={scroll:!0,resize:!0};function DB(e){var t;return typeof e=="object"?t={enabled:!0,options:rr({},A5,e)}:t={enabled:e,options:A5},t}var HB={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var r=t.state;r.styles.popper.width=r.rects.reference.width+"px"},effect:function(t){var r=t.state;return function(){var n=r.elements.reference;r.elements.popper.style.width=n.offsetWidth+"px"}}},zB={name:"transformOrigin",enabled:!0,phase:"write",fn:function(t){var r=t.state;O5(r)},effect:function(t){var r=t.state;return function(){O5(r)}}},O5=function(t){t.elements.popper.style.setProperty(tt.transformOrigin.var,$B(t.placement))},NB={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:function(t){var r=t.state;jB(r)}},jB=function(t){var r;if(!!t.placement){var n=WB(t.placement);if((r=t.elements)!=null&&r.arrow&&n){var i,o;Object.assign(t.elements.arrow.style,(i={},i[n.property]=n.value,i.width=tt.arrowSize.varRef,i.height=tt.arrowSize.varRef,i.zIndex=-1,i));var a=(o={},o[tt.arrowSizeHalf.var]="calc("+tt.arrowSize.varRef+" / 2)",o[tt.arrowOffset.var]="calc("+tt.arrowSizeHalf.varRef+" * -1)",o);for(var l in a)t.elements.arrow.style.setProperty(l,a[l])}}},WB=function(t){if(t.startsWith("top"))return{property:"bottom",value:tt.arrowOffset.varRef};if(t.startsWith("bottom"))return{property:"top",value:tt.arrowOffset.varRef};if(t.startsWith("left"))return{property:"right",value:tt.arrowOffset.varRef};if(t.startsWith("right"))return{property:"left",value:tt.arrowOffset.varRef}},UB={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:function(t){var r=t.state;L5(r)},effect:function(t){var r=t.state;return function(){L5(r)}}},L5=function(t){if(!!t.elements.arrow){var r=t.elements.arrow.querySelector("[data-popper-arrow-inner]");!r||Object.assign(r.style,{transform:"rotate(45deg)",background:tt.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:RB(t.placement)})}},ZB={"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"}},GB={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function qB(e,t){var r,n;t===void 0&&(t="ltr");var i=((r=ZB[e])==null?void 0:r[t])||e;return t==="ltr"?i:(n=GB[e])!=null?n:i}var YB=["size","shadowColor","bg","style"];function XB(e){e===void 0&&(e={});var t=e,r=t.enabled,n=r===void 0?!0:r,i=t.modifiers,o=t.placement,a=o===void 0?"bottom":o,l=t.strategy,s=l===void 0?"absolute":l,u=t.arrowPadding,c=u===void 0?8:u,f=t.eventListeners,d=f===void 0?!0:f,h=t.offset,m=t.gutter,y=m===void 0?8:m,v=t.flip,g=v===void 0?!0:v,b=t.boundary,x=b===void 0?"clippingParents":b,C=t.preventOverflow,k=C===void 0?!0:C,E=t.matchWidth,P=t.direction,F=P===void 0?"ltr":P,M=O.useRef(null),I=O.useRef(null),G=O.useRef(null),U=qB(a,F),Z=O.useRef(function(){}),X=O.useCallback(function(){!n||!M.current||!I.current||(Z.current==null||Z.current(),G.current=BB(M.current,I.current,{placement:U,modifiers:[UB,NB,zB,rr({},HB,{enabled:!!E}),rr({name:"eventListeners"},DB(d)),{name:"arrow",options:{padding:c}},{name:"offset",options:{offset:h!=null?h:[0,y]}},{name:"flip",enabled:!!g,options:{padding:8}},{name:"preventOverflow",enabled:!!k,options:{boundary:x}}].concat(i!=null?i:[]),strategy:s}),G.current.forceUpdate(),Z.current=G.current.destroy)},[U,n,i,E,d,c,h,y,g,k,x,s]);O.useEffect(function(){return function(){if(!M.current&&!I.current){var L;(L=G.current)==null||L.destroy(),G.current=null}}},[]);var K=O.useCallback(function(L){M.current=L,X()},[X]),ne=O.useCallback(function(L,D){return L===void 0&&(L={}),D===void 0&&(D=null),rr({},L,{ref:Fo(K,D)})},[K]),ie=O.useCallback(function(L){I.current=L,X()},[X]),Ve=O.useCallback(function(L,D){return L===void 0&&(L={}),D===void 0&&(D=null),rr({},L,{ref:Fo(ie,D),style:rr({},L.style,{position:s,minWidth:"max-content",inset:"0 auto auto 0"})})},[s,ie]),be=O.useCallback(function(L,D){L===void 0&&(L={}),D===void 0&&(D=null);var R=L;R.size,R.shadowColor,R.bg,R.style;var $=VB(R,YB);return rr({},$,{ref:D,"data-popper-arrow":"",style:KB(L)})},[]),Re=O.useCallback(function(L,D){return L===void 0&&(L={}),D===void 0&&(D=null),rr({},L,{ref:D,"data-popper-arrow-inner":""})},[]);return{update:function(){var D;(D=G.current)==null||D.update()},forceUpdate:function(){var D;(D=G.current)==null||D.forceUpdate()},transformOrigin:tt.transformOrigin.varRef,referenceRef:K,popperRef:ie,getPopperProps:Ve,getArrowProps:be,getArrowInnerProps:Re,getReferenceProps:ne}}function KB(e){var t=e.size,r=e.shadowColor,n=e.bg,i=e.style,o=rr({},i,{position:"absolute"});return t&&(o["--popper-arrow-size"]=t),r&&(o["--popper-arrow-shadow-color"]=r),n&&(o["--popper-arrow-bg"]=n),o}function QB(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var B5={exports:{}},JB="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",eV=JB,tV=eV;function V5(){}function R5(){}R5.resetWarningCache=V5;var rV=function(){function e(n,i,o,a,l,s){if(s!==tV){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:R5,resetWarningCache:V5};return r.PropTypes=r,r};B5.exports=rV();var lc=B5.exports,np="data-focus-lock",I5="data-focus-lock-disabled",nV="data-no-focus-lock",iV="data-autofocus-inside";function ip(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function oV(e,t){var r=O.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=t,r.facade}var $5=new WeakMap;function D5(e,t){var r=oV(t||null,function(n){return e.forEach(function(i){return ip(i,n)})});return w.useLayoutEffect(function(){var n=$5.get(r);if(n){var i=new Set(n),o=new Set(e),a=r.current;i.forEach(function(l){o.has(l)||ip(l,null)}),o.forEach(function(l){i.has(l)||ip(l,a)})}$5.set(r,e)},[e]),r}var op={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};function H5(e){return e}function z5(e,t){t===void 0&&(t=H5);var r=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(o){var a=t(o,n);return r.push(a),function(){r=r.filter(function(l){return l!==a})}},assignSyncMedium:function(o){for(n=!0;r.length;){var a=r;r=[],a.forEach(o)}r={push:function(l){return o(l)},filter:function(){return r}}},assignMedium:function(o){n=!0;var a=[];if(r.length){var l=r;r=[],l.forEach(o),a=r}var s=function(){var c=a;a=[],c.forEach(o)},u=function(){return Promise.resolve().then(s)};u(),r={push:function(c){a.push(c),u()},filter:function(c){return a=a.filter(c),r}}}};return i}function ap(e,t){return t===void 0&&(t=H5),z5(e,t)}function N5(e){e===void 0&&(e={});var t=z5(null);return t.options=N({async:!0,ssr:!1},e),t}var j5=function(e){var t=e.sideCar,r=Tt(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return w.createElement(n,N({},r))};j5.isSideCarExport=!0;function aV(e,t){return e.useMedium(t),j5}var W5=ap({},function(e){var t=e.target,r=e.currentTarget;return{target:t,currentTarget:r}}),U5=ap(),lV=ap(),sV=N5({async:!0}),uV=[],lp=w.forwardRef(function(t,r){var n,i=w.useState(),o=i[0],a=i[1],l=w.useRef(),s=w.useRef(!1),u=w.useRef(null),c=t.children,f=t.disabled,d=t.noFocusGuards,h=t.persistentFocus,m=t.crossFrame,y=t.autoFocus;t.allowTextSelection;var v=t.group,g=t.className,b=t.whiteList,x=t.shards,C=x===void 0?uV:x,k=t.as,E=k===void 0?"div":k,P=t.lockProps,F=P===void 0?{}:P,M=t.sideCar,I=t.returnFocus,G=t.onActivation,U=t.onDeactivation,Z=w.useState({}),X=Z[0],K=w.useCallback(function(){u.current=u.current||document&&document.activeElement,l.current&&G&&G(l.current),s.current=!0},[G]),ne=w.useCallback(function(){s.current=!1,U&&U(l.current)},[U]),ie=w.useCallback(function(H){var te=u.current;if(Boolean(I)&&te&&te.focus){var ve=typeof I=="object"?I:void 0;u.current=null,H?Promise.resolve().then(function(){return te.focus(ve)}):te.focus(ve)}},[I]),Ve=w.useCallback(function(H){s.current&&W5.useMedium(H)},[]),be=U5.useMedium,Re=w.useCallback(function(H){l.current!==H&&(l.current=H,a(H))},[]),L=Mn((n={},n[I5]=f&&"disabled",n[np]=v,n),F),D=d!==!0,R=D&&d!=="tail",$=D5([r,Re]);return w.createElement(w.Fragment,null,D&&[w.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:f?-1:0,style:op}),w.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:f?-1:1,style:op})],!f&&w.createElement(M,{id:X,sideCar:sV,observed:o,disabled:f,persistentFocus:h,crossFrame:m,autoFocus:y,whiteList:b,shards:C,onActivation:K,onDeactivation:ne,returnFocus:ie}),w.createElement(E,Mn({ref:$},L,{className:g,onBlur:be,onFocus:Ve}),c),R&&w.createElement("div",{"data-focus-guard":!0,tabIndex:f?-1:0,style:op}))});lp.propTypes={},lp.defaultProps={children:void 0,disabled:!1,returnFocus:!1,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var Z5=lp;function sp(e,t){return sp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},sp(e,t)}function cV(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,sp(e,t)}function yl(e){return yl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yl(e)}function dV(e,t){if(yl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(yl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fV(e){var t=dV(e,"string");return yl(t)=="symbol"?t:String(t)}function pV(e,t,r){return t=fV(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hV(e,t){function r(n){return n.displayName||n.name||"Component"}return function(i){var o=[],a;function l(){a=e(o.map(function(u){return u.props})),t(a)}var s=function(u){cV(c,u);function c(){return u.apply(this,arguments)||this}c.peek=function(){return a};var f=c.prototype;return f.componentDidMount=function(){o.push(this),l()},f.componentDidUpdate=function(){l()},f.componentWillUnmount=function(){var h=o.indexOf(this);o.splice(h,1),l()},f.render=function(){return p(i,{...this.props})},c}(O.PureComponent);return pV(s,"displayName","SideEffect("+r(i)+")"),s}}var wn=function(e){for(var t=Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t},up=function(e){return Array.isArray(e)?e:[e]},vV=function(e){for(var t=new Set,r=e.length,n=0;n<r;n+=1)for(var i=n+1;i<r;i+=1){var o=e[n].compareDocumentPosition(e[i]);(o&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(a,l){return!t.has(l)})},G5=function(e){return e.parentNode?G5(e.parentNode):e},cp=function(e){var t=up(e);return t.filter(Boolean).reduce(function(r,n){var i=n.getAttribute(np);return r.push.apply(r,i?vV(wn(G5(n).querySelectorAll("["+np+'="'+i+'"]:not(['+I5+'="disabled"])'))):[n]),r},[])},mV=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!t||!t.getPropertyValue?!1:t.getPropertyValue("display")==="none"||t.getPropertyValue("visibility")==="hidden"},gV=function(e,t){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!mV(e)&&t(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode)},q5=function(e,t){var r=e.get(t);if(r!==void 0)return r;var n=gV(t,q5.bind(void 0,e));return e.set(t,n),n},yV=function(e){return!((e.tagName==="INPUT"||e.tagName==="BUTTON")&&(e.type==="hidden"||e.disabled))},dp=function(e){return Boolean(e&&e.dataset&&e.dataset.focusGuard)},sc=function(e){return!dp(e)},bV=function(e){return Boolean(e)},xV=function(e,t){var r=e.tabIndex-t.tabIndex,n=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return r||n},Y5=function(e,t,r){return wn(e).map(function(n,i){return{node:n,index:i,tabIndex:r&&n.tabIndex===-1?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}}).filter(function(n){return!t||n.tabIndex>=0}).sort(xV)},CV=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],fp=CV.join(","),wV=fp+", [data-focus-guard]",pp=function(e,t){return e.reduce(function(r,n){return r.concat(wn(n.querySelectorAll(t?wV:fp)),n.parentNode?wn(n.parentNode.querySelectorAll(fp)).filter(function(i){return i===n}):[])},[])},SV=function(e){var t=e.querySelectorAll("["+iV+"]");return wn(t).map(function(r){return pp([r])}).reduce(function(r,n){return r.concat(n)},[])},hp=function(e,t){return wn(e).filter(function(r){return q5(t,r)}).filter(function(r){return yV(r)})},vp=function(e,t,r){return Y5(hp(pp(e,r),t),!0,r)},X5=function(e,t){return Y5(hp(pp(e),t),!1)},kV=function(e,t){return hp(SV(e),t)},mp=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&mp(e.parentNode,t),t},gp=function(e,t){for(var r=mp(e),n=mp(t),i=0;i<r.length;i+=1){var o=r[i];if(n.indexOf(o)>=0)return o}return!1},K5=function(e,t,r){var n=up(e),i=up(t),o=n[0],a=!1;return i.filter(Boolean).forEach(function(l){a=gp(a||l,l)||a,r.filter(Boolean).forEach(function(s){var u=gp(o,s);u&&(!a||u.contains(a)?a=u:a=gp(u,a))})}),a},EV=function(e,t){return e.reduce(function(r,n){return r.concat(kV(n,t))},[])},PV=function(e){var t=cp(e).filter(sc),r=K5(e,e,t),n=new Map,i=vp([r],n,!0),o=vp(t,n).filter(function(a){var l=a.node;return sc(l)}).map(function(a){var l=a.node;return l});return i.map(function(a){var l=a.node,s=a.index;return{node:l,index:s,lockItem:o.indexOf(l)>=0,guard:dp(l)}})},_V=function(e){return e===document.activeElement},TV=function(e){return Boolean(wn(e.querySelectorAll("iframe")).some(function(t){return _V(t)}))},Q5=function(e){var t=document&&document.activeElement;return!t||t.dataset&&t.dataset.focusGuard?!1:cp(e).reduce(function(r,n){return r||n.contains(t)||TV(n)},!1)},MV=function(){return document&&wn(document.querySelectorAll("["+nV+"]")).some(function(e){return e.contains(document.activeElement)})},J5=function(e){return e.tagName==="INPUT"&&e.type==="radio"},FV=function(e,t){return t.filter(J5).filter(function(r){return r.name===e.name}).filter(function(r){return r.checked})[0]||e},yp=function(e,t){return J5(e)&&e.name?FV(e,t):e},AV=function(e){var t=new Set;return e.forEach(function(r){return t.add(yp(r,e))}),e.filter(function(r){return t.has(r)})},e4=function(e){return e[0]&&e.length>1?yp(e[0],e):e[0]},t4=function(e,t){return e.length>1?e.indexOf(yp(e[t],e)):t},r4="NEW_FOCUS",OV=function(e,t,r,n){var i=e.length,o=e[0],a=e[i-1],l=dp(r);if(!(e.indexOf(r)>=0)){var s=t.indexOf(r),u=n?t.indexOf(n):s,c=n?e.indexOf(n):-1,f=s-u,d=t.indexOf(o),h=t.indexOf(a),m=AV(t),y=m.indexOf(r)-(n?m.indexOf(n):s),v=t4(e,0),g=t4(e,i-1);if(s===-1||c===-1)return r4;if(!f&&c>=0)return c;if(s<=d&&l&&Math.abs(f)>1)return g;if(s>=h&&l&&Math.abs(f)>1)return v;if(f&&Math.abs(y)>1)return c;if(s<=d)return g;if(s>h)return v;if(f)return Math.abs(f)>1?c:(i+c+f)%i}},LV=function(e){return function(t){return t.autofocus||t.dataset&&!!t.dataset.autofocus||e.indexOf(t)>=0}},BV=function(e,t){var r=new Map;return t.forEach(function(n){return r.set(n.node,n)}),e.map(function(n){return r.get(n)}).filter(bV)},VV=function(e,t){var r=document&&document.activeElement,n=cp(e).filter(sc),i=K5(r||e,e,n),o=new Map,a=X5(n,o),l=vp(n,o).filter(function(h){var m=h.node;return sc(m)});if(!(!l[0]&&(l=a,!l[0]))){var s=X5([i],o).map(function(h){var m=h.node;return m}),u=BV(s,l),c=u.map(function(h){var m=h.node;return m}),f=OV(c,s,r,t);if(f===r4){var d=a.map(function(h){var m=h.node;return m}).filter(LV(EV(n,o)));return{node:d&&d.length?e4(d):e4(c)}}return f===void 0?f:u[f]}},RV=function(e){e.focus(),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},bp=0,xp=!1,IV=function(e,t){var r=VV(e,t);if(!xp&&r){if(bp>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),xp=!0,setTimeout(function(){xp=!1},1);return}bp++,RV(r.node),bp--}},n4=IV;function i4(e){var t=window,r=t.setImmediate;typeof r!="undefined"?r(e):setTimeout(e,1)}var $V=function(){return document&&document.activeElement===document.body},DV=function(){return $V()||MV()},uo=null,co=null,fo=null,bl=!1,HV=function(){return!0},zV=function(t){return(uo.whiteList||HV)(t)},NV=function(t,r){fo={observerNode:t,portaledElement:r}},jV=function(t){return fo&&fo.portaledElement===t};function o4(e,t,r,n){var i=null,o=e;do{var a=n[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else if(a.lockItem){if(o!==e)return;i=null}else break}while((o+=r)!==t);i&&(i.node.tabIndex=0)}var WV=function(t){return t&&"current"in t?t.current:t},UV=function(t){return t?Boolean(bl):bl==="meanwhile"},uc=function(){var t=!1;if(uo){var r=uo,n=r.observed,i=r.persistentFocus,o=r.autoFocus,a=r.shards,l=r.crossFrame,s=n||fo&&fo.portaledElement,u=document&&document.activeElement;if(s){var c=[s].concat(a.map(WV).filter(Boolean));if((!u||zV(u))&&(i||UV(l)||!DV()||!co&&o)&&(s&&!(Q5(c)||jV(u))&&(document&&!co&&u&&!o?(u.blur&&u.blur(),document.body.focus()):(t=n4(c,co),fo={})),bl=!1,co=document&&document.activeElement),document){var f=document&&document.activeElement,d=PV(c),h=d.map(function(m){var y=m.node;return y}).indexOf(f);h>-1&&(d.filter(function(m){var y=m.guard,v=m.node;return y&&v.dataset.focusAutoGuard}).forEach(function(m){var y=m.node;return y.removeAttribute("tabIndex")}),o4(h,d.length,1,d),o4(h,-1,-1,d))}}}return t},a4=function(t){uc()&&t&&(t.stopPropagation(),t.preventDefault())},Cp=function(){return i4(uc)},ZV=function(t){var r=t.target,n=t.currentTarget;n.contains(r)||NV(n,r)},GV=function(){return null},l4=function(){bl="just",setTimeout(function(){bl="meanwhile"},0)},qV=function(){document.addEventListener("focusin",a4,!0),document.addEventListener("focusout",Cp),window.addEventListener("blur",l4)},YV=function(){document.removeEventListener("focusin",a4,!0),document.removeEventListener("focusout",Cp),window.removeEventListener("blur",l4)};function XV(e){return e.filter(function(t){var r=t.disabled;return!r})}function KV(e){var t=e.slice(-1)[0];t&&!uo&&qV();var r=uo,n=r&&t&&t.id===r.id;uo=t,r&&!n&&(r.onDeactivation(),e.filter(function(i){var o=i.id;return o===r.id}).length||r.returnFocus(!t)),t?(co=null,(!n||r.observed!==t.observed)&&t.onActivation(),uc(),i4(uc)):(YV(),co=null)}W5.assignSyncMedium(ZV),U5.assignMedium(Cp),lV.assignMedium(function(e){return e({moveFocusInside:n4,focusInside:Q5})});var QV=hV(XV,KV)(GV),s4=w.forwardRef(function(t,r){return w.createElement(Z5,Mn({sideCar:QV,ref:r},t))}),u4=Z5.propTypes||{};u4.sideCar,QB(u4,["sideCar"]),s4.propTypes={};var JV=s4,eR=function(t){var r=t.initialFocusRef,n=t.finalFocusRef,i=t.contentRef,o=t.restoreFocus,a=t.children,l=t.isDisabled,s=t.autoFocus,u=t.persistentFocus,c=t.lockFocusAcrossFrames,f=w.useCallback(function(){if(r!=null&&r.current)r.current.focus();else if(i!=null&&i.current){var m=Ax(i.current);m.length===0&&Rx(i.current,{nextTick:!0})}},[r,i]),d=w.useCallback(function(){var m;n==null||(m=n.current)==null||m.focus()},[n]),h=o&&!n;return w.createElement(JV,{crossFrame:c,persistentFocus:u,autoFocus:s,disabled:l,onActivation:f,onDeactivation:d,returnFocus:h},a)};/*! *****************************************************************************
|
|
333
|
+
)`,s=!n&&i;return $e({},s&&o,n?{bgImage:l}:{bgColor:a})}var UE={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},ZE=function(t){return{bg:B("gray.100","whiteAlpha.300")(t)}},GE=function(t){return $e({transitionProperty:"common",transitionDuration:"slow"},WE(t))},qE=function(t){return{label:UE,filledTrack:GE(t),track:ZE(t)}},YE={xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},XE={size:"md",colorScheme:"blue"},KE={parts:U7.keys,sizes:YE,baseStyle:qE,defaultProps:XE},QE=function(t){var r=gu.baseStyle(t),n=r.control,i=n===void 0?{}:n;return $e({},i,{borderRadius:"full",_checked:$e({},i._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},JE=function(t){return{label:gu.baseStyle(t).label,container:gu.baseStyle(t).container,control:QE(t)}},eP={md:{control:{w:4,h:4},label:{fontSize:"md"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"}},sm:{control:{width:3,height:3},label:{fontSize:"sm"}}},tP={size:"md",colorScheme:"blue"},rP={parts:Z7.keys,baseStyle:JE,sizes:eP,defaultProps:tP},nP=function(t){return $e({},_e.baseStyle.field,{bg:B("white","gray.700")(t),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:B("white","gray.700")(t)}})},iP={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},oP=function(t){return{field:nP(t),icon:iP}},Su={paddingInlineEnd:"2rem"},aP=At({},_e.sizes,{lg:{field:Su},md:{field:Su},sm:{field:Su},xs:{field:Su,icon:{insetEnd:"0.25rem"}}}),lP={parts:G7.keys,baseStyle:oP,sizes:aP,variants:_e.variants,defaultProps:_e.defaultProps},sP=function(t,r){return mi({from:{borderColor:t,background:t},to:{borderColor:r,background:r}})},uP=function(t){var r=B("gray.100","gray.800")(t),n=B("gray.400","gray.600")(t),i=t.startColor,o=i===void 0?r:i,a=t.endColor,l=a===void 0?n:a,s=t.speed,u=t.theme,c=je(u,o),f=je(u,l);return{opacity:.7,borderRadius:"2px",borderColor:c,background:f,animation:s+"s linear infinite alternate "+sP(c,f)}},cP={baseStyle:uP},dP=function(t){return{borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:B("white","gray.700")(t)}}},fP={baseStyle:dP};function pP(e){return La({orientation:e.orientation,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)"}}})}var hP=function(t){var r=t.orientation;return $e({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},La({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}}))},vP=function(t){return{overflow:"hidden",borderRadius:"sm",bg:B("gray.200","whiteAlpha.200")(t),_disabled:{bg:B("gray.300","whiteAlpha.300")(t)}}},mP=function(t){return $e({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",_focus:{boxShadow:"outline"},_disabled:{bg:"gray.300"}},pP(t))},gP=function(t){var r=t.colorScheme;return{width:"inherit",height:"inherit",bg:B(r+".500",r+".200")(t)}},yP=function(t){return{container:hP(t),track:vP(t),thumb:mP(t),filledTrack:gP(t)}},bP=function(t){return{thumb:{w:"16px",h:"16px"},track:La({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},xP=function(t){return{thumb:{w:"14px",h:"14px"},track:La({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},CP=function(t){return{thumb:{w:"10px",h:"10px"},track:La({orientation:t.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}},wP={lg:bP,md:xP,sm:CP},SP={size:"md",colorScheme:"blue"},kP={parts:q7.keys,sizes:wP,baseStyle:yP,defaultProps:SP},F0,A0,O0,L0,B0,Yn=_t("spinner-size"),EP={width:[Yn.reference],height:[Yn.reference]},PP={xs:(F0={},F0[Yn.variable]="0.75rem",F0),sm:(A0={},A0[Yn.variable]="1rem",A0),md:(O0={},O0[Yn.variable]="1.5rem",O0),lg:(L0={},L0[Yn.variable]="2rem",L0),xl:(B0={},B0[Yn.variable]="3rem",B0)},_P={size:"md"},TP={baseStyle:EP,sizes:PP,defaultProps:_P},MP={fontWeight:"medium"},FP={opacity:.8,marginBottom:2},AP={verticalAlign:"baseline",fontWeight:"semibold"},OP={marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"},LP={container:{},label:MP,helpText:FP,number:AP,icon:OP},BP={md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},VP={size:"md"},RP={parts:Y7.keys,baseStyle:LP,sizes:BP,defaultProps:VP},ku,Eu,Pu,Va=_t("switch-track-width"),Xn=_t("switch-track-height"),V0=_t("switch-track-diff"),IP=Mr.subtract(Va,Xn),R0=_t("switch-thumb-x"),$P=function(t){var r=t.colorScheme;return{borderRadius:"full",p:"2px",width:[Va.reference],height:[Xn.reference],transitionProperty:"common",transitionDuration:"fast",bg:B("gray.300","whiteAlpha.400")(t),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:B(r+".500",r+".200")(t)}}},DP={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Xn.reference],height:[Xn.reference],_checked:{transform:"translateX("+R0.reference+")"}},HP=function(t){var r,n;return{container:(n={},n[V0.variable]=IP,n[R0.variable]=V0.reference,n._rtl=(r={},r[R0.variable]=Mr(V0).negate().toString(),r),n),track:$P(t),thumb:DP}},zP={sm:{container:(ku={},ku[Va.variable]="1.375rem",ku[Xn.variable]="0.75rem",ku)},md:{container:(Eu={},Eu[Va.variable]="1.875rem",Eu[Xn.variable]="1rem",Eu)},lg:{container:(Pu={},Pu[Va.variable]="2.875rem",Pu[Xn.variable]="1.5rem",Pu)}},NP={size:"md",colorScheme:"blue"},jP={parts:X7.keys,baseStyle:HP,sizes:zP,defaultProps:NP},WP={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"}},_u={"&[data-is-numeric=true]":{textAlign:"end"}},UP=function(t){var r=t.colorScheme;return{th:$e({color:B("gray.600","gray.400")(t),borderBottom:"1px",borderColor:B(r+".100",r+".700")(t)},_u),td:$e({borderBottom:"1px",borderColor:B(r+".100",r+".700")(t)},_u),caption:{color:B("gray.600","gray.100")(t)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},ZP=function(t){var r=t.colorScheme;return{th:$e({color:B("gray.600","gray.400")(t),borderBottom:"1px",borderColor:B(r+".100",r+".700")(t)},_u),td:$e({borderBottom:"1px",borderColor:B(r+".100",r+".700")(t)},_u),caption:{color:B("gray.600","gray.100")(t)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:B(r+".100",r+".700")(t)},td:{background:B(r+".100",r+".700")(t)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},GP={simple:UP,striped:ZP,unstyled:{}},qP={sm:{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:{th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}},lg:{th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}}},YP={variant:"simple",size:"md",colorScheme:"gray"},XP={parts:K7.keys,baseStyle:WP,variants:GP,sizes:qP,defaultProps:YP},KP=function(t){var r=t.orientation;return{display:r==="vertical"?"flex":"block"}},QP=function(t){var r=t.isFitted;return{flex:r?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},JP=function(t){var r=t.align,n=r===void 0?"start":r,i=t.orientation,o={end:"flex-end",center:"center",start:"flex-start"};return{justifyContent:o[n],flexDirection:i==="vertical"?"column":"row"}},e_={p:4},t_=function(t){return{root:KP(t),tab:QP(t),tablist:JP(t),tabpanel:e_}},r_={sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},n_=function(t){var r,n,i=t.colorScheme,o=t.orientation,a=o==="vertical",l=o==="vertical"?"borderStart":"borderBottom",s=a?"marginStart":"marginBottom";return{tablist:(r={},r[l]="2px solid",r.borderColor="inherit",r),tab:(n={},n[l]="2px solid",n.borderColor="transparent",n[s]="-2px",n._selected={color:B(i+".600",i+".300")(t),borderColor:"currentColor"},n._active={bg:B("gray.200","whiteAlpha.300")(t)},n._disabled={opacity:.4,cursor:"not-allowed"},n)}},i_=function(t){var r=t.colorScheme;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:B(r+".600",r+".300")(t),borderColor:"inherit",borderBottomColor:B("white","gray.800")(t)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},o_=function(t){var r=t.colorScheme;return{tab:{border:"1px solid",borderColor:"inherit",bg:B("gray.50","whiteAlpha.50")(t),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:B("#fff","gray.800")(t),color:B(r+".600",r+".300")(t),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},a_=function(t){var r=t.colorScheme,n=t.theme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:je(n,r+".700"),bg:je(n,r+".100")}}}},l_=function(t){var r=t.colorScheme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:B("gray.600","inherit")(t),_selected:{color:B("#fff","gray.800")(t),bg:B(r+".600",r+".300")(t)}}}},s_={},u_={line:n_,enclosed:i_,"enclosed-colored":o_,"soft-rounded":a_,"solid-rounded":l_,unstyled:s_},c_={size:"md",variant:"line",colorScheme:"blue"},d_={parts:Q7.keys,baseStyle:t_,sizes:r_,variants:u_,defaultProps:c_},f_={fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},p_={lineHeight:1.2,overflow:"visible"},h_={fontSize:"18px",w:"1.25rem",h:"1.25rem",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"0.375rem",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focus:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},v_={container:f_,label:p_,closeButton:h_},m_={sm:{container:{minH:"1.25rem",minW:"1.25rem",fontSize:"xs",px:2,borderRadius:"md"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}},md:{container:{minH:"1.5rem",minW:"1.5rem",fontSize:"sm",borderRadius:"md",px:2}},lg:{container:{minH:8,minW:8,fontSize:"md",borderRadius:"md",px:3}}},g_={subtle:function(t){return{container:qi.variants.subtle(t)}},solid:function(t){return{container:qi.variants.solid(t)}},outline:function(t){return{container:qi.variants.outline(t)}}},y_={size:"md",variant:"subtle",colorScheme:"gray"},b_={parts:J7.keys,variants:g_,baseStyle:v_,sizes:m_,defaultProps:y_},hy,vy,my,gy,yy,x_=$e({},_e.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),C_={outline:function(t){var r;return(r=_e.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=_e.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=_e.variants.filled(t).field)!=null?r:{}},unstyled:(hy=_e.variants.unstyled.field)!=null?hy:{}},w_={xs:(vy=_e.sizes.xs.field)!=null?vy:{},sm:(my=_e.sizes.sm.field)!=null?my:{},md:(gy=_e.sizes.md.field)!=null?gy:{},lg:(yy=_e.sizes.lg.field)!=null?yy:{}},S_={size:"md",variant:"outline"},k_={baseStyle:x_,sizes:w_,variants:C_,defaultProps:S_},I0=_t("tooltip-bg"),E_=_t("popper-arrow-bg"),P_=function(t){var r,n=B("gray.700","gray.300")(t);return r={},r[I0.variable]="colors."+n,r.px="8px",r.py="2px",r.bg=[I0.reference],r[E_.variable]=[I0.reference],r.color=B("whiteAlpha.900","gray.900")(t),r.borderRadius="sm",r.fontWeight="medium",r.fontSize="sm",r.boxShadow="md",r.maxW="320px",r.zIndex="tooltip",r},__={baseStyle:P_},T_=Object.freeze({__proto__:null,Accordion:o6,Alert:p6,Avatar:x6,Badge:qi,Breadcrumb:M6,Button:D6,Checkbox:gu,CloseButton:X6,Code:ek,Container:rk,Divider:sk,Drawer:bk,Editable:kk,Form:Tk,FormError:Ok,FormLabel:Bk,Heading:$k,Input:_e,Kbd:qk,Link:Xk,List:Jk,Menu:lE,Modal:yE,NumberInput:TE,PinInput:LE,Popover:jE,Progress:KE,Radio:rP,Select:lP,Skeleton:cP,SkipLink:fP,Slider:kP,Spinner:TP,Stat:RP,Switch:jP,Table:XP,Tabs:d_,Tag:b_,Textarea:k_,Tooltip:__}),M_={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},F_=C7({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),A_={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"}},O_={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},L_={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"},B_={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"},V_={"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)"},R_={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},I_={property:B_,easing:V_,duration:R_},$_={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},D_={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},H_=$e({breakpoints:F_,zIndices:$_,radii:O_,blur:D_,colors:A_},sy,{sizes:Wg,shadows:L_,space:jg,borders:M_,transition:I_}),z_={global:function(t){return{body:{fontFamily:"body",color:B("gray.800","whiteAlpha.900")(t),bg:B("white","gray.800")(t),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:B("gray.400","whiteAlpha.400")(t)},"*, *::before, &::after":{borderColor:B("gray.200","whiteAlpha.300")(t),wordWrap:"break-word"}}}},N_=z_,j_=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function W_(e){return ht(e)?j_.every(function(t){return Object.prototype.hasOwnProperty.call(e,t)}):!1}var U_="ltr",Z_={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},by=$e({direction:U_},H_,{components:T_,styles:N_,config:Z_});function Ra(){return Ra=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ra.apply(this,arguments)}function G_(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var q_=["as","viewBox","color","focusable","children","className","__css"],xy={path:w.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},w.createElement("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"}),w.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),w.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},De=Fe(function(e,t){var r=e.as,n=e.viewBox,i=e.color,o=i===void 0?"currentColor":i,a=e.focusable,l=a===void 0?!1:a,s=e.children,u=e.className,c=e.__css,f=G_(e,q_),d=ze("chakra-icon",u),h=Ra({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o},c),m={ref:t,focusable:l,className:d,__css:h},y=n!=null?n:xy.viewBox;if(r&&typeof r!="string")return w.createElement(re.svg,Ra({as:r},m,f));var v=s!=null?s:xy.path;return w.createElement(re.svg,Ra({verticalAlign:"middle",viewBox:y},m,f),v)}),$0=function(e,t){return $0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},$0(e,t)};function Cy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");$0(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var N=function(){return N=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},N.apply(this,arguments)};function Tt(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Y_(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Le(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o}function er(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Fr=function(e){return{isEnabled:function(t){return e.some(function(r){return!!t[r]})}}},Ia={measureLayout:Fr(["layout","layoutId","drag"]),animation:Fr(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Fr(["exit"]),drag:Fr(["drag","dragControls"]),focus:Fr(["whileFocus"]),hover:Fr(["whileHover","onHoverStart","onHoverEnd"]),tap:Fr(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Fr(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Fr(["whileInView","onViewportEnter","onViewportLeave"])};function X_(e){for(var t in e)e[t]!==null&&(t==="projectionNodeConstructor"?Ia.projectionNodeConstructor=e[t]:Ia[t].Component=e[t])}var K_=function(){},Tu=function(){},wy=O.createContext({strict:!1}),Sy=Object.keys(Ia),Q_=Sy.length;function J_(e,t,r){var n=[];if(O.useContext(wy),!t)return null;for(var i=0;i<Q_;i++){var o=Sy[i],a=Ia[o],l=a.isEnabled,s=a.Component;l(e)&&s&&n.push(w.createElement(s,N({key:o},e,{visualElement:t})))}return n}var D0=O.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Mu=O.createContext({});function eT(){return O.useContext(Mu).visualElement}var $a=O.createContext(null),Da=typeof window!="undefined",Fu=Da?O.useLayoutEffect:O.useEffect,H0={current:null},ky=!1;function tT(){if(ky=!0,typeof window!="undefined")if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return H0.current=e.matches};e.addListener(t),t()}else H0.current=!1}function rT(){!ky&&tT();var e=Le(O.useState(H0.current),1),t=e[0];return t}function nT(){var e=rT(),t=O.useContext(D0).reducedMotion;return t==="never"?!1:t==="always"?!0:e}function iT(e,t,r,n){var i=O.useContext(wy),o=eT(),a=O.useContext($a),l=nT(),s=O.useRef(void 0);n||(n=i.renderer),!s.current&&n&&(s.current=n(e,{visualState:t,parent:o,props:r,presenceId:a==null?void 0:a.id,blockInitialAnimation:(a==null?void 0:a.initial)===!1,shouldReduceMotion:l}));var u=s.current;return Fu(function(){u==null||u.syncRender()}),O.useEffect(function(){var c;(c=u==null?void 0:u.animationState)===null||c===void 0||c.animateChanges()}),Fu(function(){return function(){return u==null?void 0:u.notifyUnmount()}},[]),u}function Xi(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function oT(e,t,r){return O.useCallback(function(n){var i;n&&((i=e.mount)===null||i===void 0||i.call(e,n)),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):Xi(r)&&(r.current=n))},[t])}function Ey(e){return Array.isArray(e)}function tr(e){return typeof e=="string"||Ey(e)}function aT(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.get()}),t}function lT(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.getVelocity()}),t}function Py(e,t,r,n,i){var o;return n===void 0&&(n={}),i===void 0&&(i={}),typeof t=="function"&&(t=t(r!=null?r:e.custom,n,i)),typeof t=="string"&&(t=(o=e.variants)===null||o===void 0?void 0:o[t]),typeof t=="function"&&(t=t(r!=null?r:e.custom,n,i)),t}function Au(e,t,r){var n=e.getProps();return Py(n,t,r!=null?r:n.custom,aT(e),lT(e))}function Ou(e){var t;return typeof((t=e.animate)===null||t===void 0?void 0:t.start)=="function"||tr(e.initial)||tr(e.animate)||tr(e.whileHover)||tr(e.whileDrag)||tr(e.whileTap)||tr(e.whileFocus)||tr(e.exit)}function _y(e){return Boolean(Ou(e)||e.variants)}function sT(e,t){if(Ou(e)){var r=e.initial,n=e.animate;return{initial:r===!1||tr(r)?r:void 0,animate:tr(n)?n:void 0}}return e.inherit!==!1?t:{}}function uT(e){var t=sT(e,O.useContext(Mu)),r=t.initial,n=t.animate;return O.useMemo(function(){return{initial:r,animate:n}},[Ty(r),Ty(n)])}function Ty(e){return Array.isArray(e)?e.join(" "):e}function Ha(e){var t=O.useRef(null);return t.current===null&&(t.current=e()),t.current}const My=1/60*1e3,cT=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),Fy=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(cT()),My);function dT(e){let t=[],r=[],n=0,i=!1,o=!1;const a=new WeakSet,l={schedule:(s,u=!1,c=!1)=>{const f=c&&i,d=f?t:r;return u&&a.add(s),d.indexOf(s)===-1&&(d.push(s),f&&i&&(n=t.length)),s},cancel:s=>{const u=r.indexOf(s);u!==-1&&r.splice(u,1),a.delete(s)},process:s=>{if(i){o=!0;return}if(i=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let u=0;u<n;u++){const c=t[u];c(s),a.has(c)&&(l.schedule(c),e())}i=!1,o&&(o=!1,l.process(s))}};return l}const fT=40;let z0=!0,za=!1,N0=!1;const Ki={delta:0,timestamp:0},Na=["read","update","preRender","render","postRender"],Lu=Na.reduce((e,t)=>(e[t]=dT(()=>za=!0),e),{}),hr=Na.reduce((e,t)=>{const r=Lu[t];return e[t]=(n,i=!1,o=!1)=>(za||hT(),r.schedule(n,i,o)),e},{}),ja=Na.reduce((e,t)=>(e[t]=Lu[t].cancel,e),{}),j0=Na.reduce((e,t)=>(e[t]=()=>Lu[t].process(Ki),e),{}),pT=e=>Lu[e].process(Ki),Ay=e=>{za=!1,Ki.delta=z0?My:Math.max(Math.min(e-Ki.timestamp,fT),1),Ki.timestamp=e,N0=!0,Na.forEach(pT),N0=!1,za&&(z0=!1,Fy(Ay))},hT=()=>{za=!0,z0=!0,N0||Fy(Ay)},W0=()=>Ki,Bu=(e,t,r)=>Math.min(Math.max(r,e),t),U0=.001,vT=.01,Oy=10,mT=.05,gT=1;function yT({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,o;K_(e<=Oy*1e3);let a=1-t;a=Bu(mT,gT,a),e=Bu(vT,Oy,e/1e3),a<1?(i=u=>{const c=u*a,f=c*e,d=c-r,h=Z0(u,a),m=Math.exp(-f);return U0-d/h*m},o=u=>{const f=u*a*e,d=f*r+r,h=Math.pow(a,2)*Math.pow(u,2)*e,m=Math.exp(-f),y=Z0(Math.pow(u,2),a);return(-i(u)+U0>0?-1:1)*((d-h)*m)/y}):(i=u=>{const c=Math.exp(-u*e),f=(u-r)*e+1;return-U0+c*f},o=u=>{const c=Math.exp(-u*e),f=(r-u)*(e*e);return c*f});const l=5/e,s=xT(i,o,l);if(e=e*1e3,isNaN(s))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(s,2)*n;return{stiffness:u,damping:a*2*Math.sqrt(n*u),duration:e}}}const bT=12;function xT(e,t,r){let n=r;for(let i=1;i<bT;i++)n=n-e(n)/t(n);return n}function Z0(e,t){return e*Math.sqrt(1-t*t)}const CT=["duration","bounce"],wT=["stiffness","damping","mass"];function Ly(e,t){return t.some(r=>e[r]!==void 0)}function ST(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Ly(e,wT)&&Ly(e,CT)){const r=yT(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function G0(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:i}=e,o=Tt(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:l,damping:s,mass:u,velocity:c,duration:f,isResolvedFromDuration:d}=ST(o),h=By,m=By;function y(){const v=c?-(c/1e3):0,g=r-t,b=s/(2*Math.sqrt(l*u)),x=Math.sqrt(l/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(r-t)/100,.4)),b<1){const C=Z0(x,b);h=k=>{const E=Math.exp(-b*x*k);return r-E*((v+b*x*g)/C*Math.sin(C*k)+g*Math.cos(C*k))},m=k=>{const E=Math.exp(-b*x*k);return b*x*E*(Math.sin(C*k)*(v+b*x*g)/C+g*Math.cos(C*k))-E*(Math.cos(C*k)*(v+b*x*g)-C*g*Math.sin(C*k))}}else if(b===1)h=C=>r-Math.exp(-x*C)*(g+(v+x*g)*C);else{const C=x*Math.sqrt(b*b-1);h=k=>{const E=Math.exp(-b*x*k),P=Math.min(C*k,300);return r-E*((v+b*x*g)*Math.sinh(P)+C*g*Math.cosh(P))/C}}}return y(),{next:v=>{const g=h(v);if(d)a.done=v>=f;else{const b=m(v)*1e3,x=Math.abs(b)<=n,C=Math.abs(r-g)<=i;a.done=x&&C}return a.value=a.done?r:g,a},flipTarget:()=>{c=-c,[t,r]=[r,t],y()}}}G0.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const By=e=>0,Wa=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},Be=(e,t,r)=>-r*e+r*t+e,Vy=(e,t)=>r=>Math.max(Math.min(r,t),e),Ua=e=>e%1?Number(e.toFixed(5)):e,Za=/(-)?([\d]*\.?[\d])+/g,q0=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,kT=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Ga(e){return typeof e=="string"}const Kn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},qa=Object.assign(Object.assign({},Kn),{transform:Vy(0,1)}),Vu=Object.assign(Object.assign({},Kn),{default:1}),Ya=e=>({test:t=>Ga(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),vn=Ya("deg"),vr=Ya("%"),Q=Ya("px"),ET=Ya("vh"),PT=Ya("vw"),Ry=Object.assign(Object.assign({},vr),{parse:e=>vr.parse(e)/100,transform:e=>vr.transform(e*100)}),Y0=(e,t)=>r=>Boolean(Ga(r)&&kT.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Iy=(e,t,r)=>n=>{if(!Ga(n))return n;const[i,o,a,l]=n.match(Za);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(a),alpha:l!==void 0?parseFloat(l):1}},Qn={test:Y0("hsl","hue"),parse:Iy("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+vr.transform(Ua(t))+", "+vr.transform(Ua(r))+", "+Ua(qa.transform(n))+")"},_T=Vy(0,255),X0=Object.assign(Object.assign({},Kn),{transform:e=>Math.round(_T(e))}),mn={test:Y0("rgb","red"),parse:Iy("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+X0.transform(e)+", "+X0.transform(t)+", "+X0.transform(r)+", "+Ua(qa.transform(n))+")"};function TT(e){let t="",r="",n="",i="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),i=e.substr(4,1),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}}const K0={test:Y0("#"),parse:TT,transform:mn.transform},dt={test:e=>mn.test(e)||K0.test(e)||Qn.test(e),parse:e=>mn.test(e)?mn.parse(e):Qn.test(e)?Qn.parse(e):K0.parse(e),transform:e=>Ga(e)?e:e.hasOwnProperty("red")?mn.transform(e):Qn.transform(e)},$y="${c}",Dy="${n}";function MT(e){var t,r,n,i;return isNaN(e)&&Ga(e)&&((r=(t=e.match(Za))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((i=(n=e.match(q0))===null||n===void 0?void 0:n.length)!==null&&i!==void 0?i:0)>0}function Hy(e){typeof e=="number"&&(e=`${e}`);const t=[];let r=0;const n=e.match(q0);n&&(r=n.length,e=e.replace(q0,$y),t.push(...n.map(dt.parse)));const i=e.match(Za);return i&&(e=e.replace(Za,Dy),t.push(...i.map(Kn.parse))),{values:t,numColors:r,tokenised:e}}function zy(e){return Hy(e).values}function Ny(e){const{values:t,numColors:r,tokenised:n}=Hy(e),i=t.length;return o=>{let a=n;for(let l=0;l<i;l++)a=a.replace(l<r?$y:Dy,l<r?dt.transform(o[l]):Ua(o[l]));return a}}const FT=e=>typeof e=="number"?0:e;function AT(e){const t=zy(e);return Ny(e)(t.map(FT))}const Ar={test:MT,parse:zy,createTransformer:Ny,getAnimatableNone:AT},OT=new Set(["brightness","contrast","saturate","opacity"]);function LT(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(Za)||[];if(!n)return e;const i=r.replace(n,"");let o=OT.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+i+")"}const BT=/([a-z-]*)\(.*?\)/g,Q0=Object.assign(Object.assign({},Ar),{getAnimatableNone:e=>{const t=e.match(BT);return t?t.map(LT).join(" "):e}});function J0(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function jy({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let i=0,o=0,a=0;if(!t)i=o=a=r;else{const l=r<.5?r*(1+t):r+t-r*t,s=2*r-l;i=J0(s,l,e+1/3),o=J0(s,l,e),a=J0(s,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:n}}const VT=(e,t,r)=>{const n=e*e,i=t*t;return Math.sqrt(Math.max(0,r*(i-n)+n))},RT=[K0,mn,Qn],Wy=e=>RT.find(t=>t.test(e)),Uy=(e,t)=>{let r=Wy(e),n=Wy(t),i=r.parse(e),o=n.parse(t);r===Qn&&(i=jy(i),r=mn),n===Qn&&(o=jy(o),n=mn);const a=Object.assign({},i);return l=>{for(const s in a)s!=="alpha"&&(a[s]=VT(i[s],o[s],l));return a.alpha=Be(i.alpha,o.alpha,l),r.transform(a)}},e1=e=>typeof e=="number",IT=(e,t)=>r=>t(e(r)),Ru=(...e)=>e.reduce(IT);function Zy(e,t){return e1(e)?r=>Be(e,t,r):dt.test(e)?Uy(e,t):Yy(e,t)}const Gy=(e,t)=>{const r=[...e],n=r.length,i=e.map((o,a)=>Zy(o,t[a]));return o=>{for(let a=0;a<n;a++)r[a]=i[a](o);return r}},$T=(e,t)=>{const r=Object.assign(Object.assign({},e),t),n={};for(const i in r)e[i]!==void 0&&t[i]!==void 0&&(n[i]=Zy(e[i],t[i]));return i=>{for(const o in n)r[o]=n[o](i);return r}};function qy(e){const t=Ar.parse(e),r=t.length;let n=0,i=0,o=0;for(let a=0;a<r;a++)n||typeof t[a]=="number"?n++:t[a].hue!==void 0?o++:i++;return{parsed:t,numNumbers:n,numRGB:i,numHSL:o}}const Yy=(e,t)=>{const r=Ar.createTransformer(t),n=qy(e),i=qy(t);return n.numHSL===i.numHSL&&n.numRGB===i.numRGB&&n.numNumbers>=i.numNumbers?Ru(Gy(n.parsed,i.parsed),r):a=>`${a>0?t:e}`},DT=(e,t)=>r=>Be(e,t,r);function HT(e){if(typeof e=="number")return DT;if(typeof e=="string")return dt.test(e)?Uy:Yy;if(Array.isArray(e))return Gy;if(typeof e=="object")return $T}function zT(e,t,r){const n=[],i=r||HT(e[0]),o=e.length-1;for(let a=0;a<o;a++){let l=i(e[a],e[a+1]);if(t){const s=Array.isArray(t)?t[a]:t;l=Ru(s,l)}n.push(l)}return n}function NT([e,t],[r]){return n=>r(Wa(e,t,n))}function jT(e,t){const r=e.length,n=r-1;return i=>{let o=0,a=!1;if(i<=e[0]?a=!0:i>=e[n]&&(o=n-1,a=!0),!a){let s=1;for(;s<r&&!(e[s]>i||s===n);s++);o=s-1}const l=Wa(e[o],e[o+1],i);return t[o](l)}}function Xy(e,t,{clamp:r=!0,ease:n,mixer:i}={}){const o=e.length;Tu(o===t.length),Tu(!n||!Array.isArray(n)||n.length===o-1),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=zT(t,n,i),l=o===2?NT(e,a):jT(e,a);return r?s=>l(Bu(e[0],e[o-1],s)):l}const Iu=e=>t=>1-e(1-t),t1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,WT=e=>t=>Math.pow(t,e),Ky=e=>t=>t*t*((e+1)*t-e),UT=e=>{const t=Ky(e);return r=>(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))},Qy=1.525,ZT=4/11,GT=8/11,qT=9/10,r1=e=>e,n1=WT(2),YT=Iu(n1),Jy=t1(n1),e3=e=>1-Math.sin(Math.acos(e)),i1=Iu(e3),XT=t1(i1),o1=Ky(Qy),KT=Iu(o1),QT=t1(o1),JT=UT(Qy),eM=4356/361,tM=35442/1805,rM=16061/1805,$u=e=>{if(e===1||e===0)return e;const t=e*e;return e<ZT?7.5625*t:e<GT?9.075*t-9.9*e+3.4:e<qT?eM*t-tM*e+rM:10.8*e*e-20.52*e+10.72},nM=Iu($u),iM=e=>e<.5?.5*(1-$u(1-e*2)):.5*$u(e*2-1)+.5;function oM(e,t){return e.map(()=>t||Jy).splice(0,e.length-1)}function aM(e){const t=e.length;return e.map((r,n)=>n!==0?n/(t-1):0)}function lM(e,t){return e.map(r=>r*t)}function Du({from:e=0,to:t=1,ease:r,offset:n,duration:i=300}){const o={done:!1,value:e},a=Array.isArray(t)?t:[e,t],l=lM(n&&n.length===a.length?n:aM(a),i);function s(){return Xy(l,a,{ease:Array.isArray(r)?r:oM(a,r)})}let u=s();return{next:c=>(o.value=u(c),o.done=c>=i,o),flipTarget:()=>{a.reverse(),u=s()}}}function sM({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:i=.5,modifyTarget:o}){const a={done:!1,value:t};let l=r*e;const s=t+l,u=o===void 0?s:o(s);return u!==s&&(l=u-t),{next:c=>{const f=-l*Math.exp(-c/n);return a.done=!(f>i||f<-i),a.value=a.done?u:u+f,a},flipTarget:()=>{}}}const t3={keyframes:Du,spring:G0,decay:sM};function uM(e){if(Array.isArray(e.to))return Du;if(t3[e.type])return t3[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Du:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?G0:Du}const r3=1/60*1e3,cM=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),n3=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(cM()),r3);function dM(e){let t=[],r=[],n=0,i=!1,o=!1;const a=new WeakSet,l={schedule:(s,u=!1,c=!1)=>{const f=c&&i,d=f?t:r;return u&&a.add(s),d.indexOf(s)===-1&&(d.push(s),f&&i&&(n=t.length)),s},cancel:s=>{const u=r.indexOf(s);u!==-1&&r.splice(u,1),a.delete(s)},process:s=>{if(i){o=!0;return}if(i=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let u=0;u<n;u++){const c=t[u];c(s),a.has(c)&&(l.schedule(c),e())}i=!1,o&&(o=!1,l.process(s))}};return l}const fM=40;let a1=!0,Xa=!1,l1=!1;const Qi={delta:0,timestamp:0},Ka=["read","update","preRender","render","postRender"],Hu=Ka.reduce((e,t)=>(e[t]=dM(()=>Xa=!0),e),{}),pM=Ka.reduce((e,t)=>{const r=Hu[t];return e[t]=(n,i=!1,o=!1)=>(Xa||mM(),r.schedule(n,i,o)),e},{}),hM=Ka.reduce((e,t)=>(e[t]=Hu[t].cancel,e),{});Ka.reduce((e,t)=>(e[t]=()=>Hu[t].process(Qi),e),{});const vM=e=>Hu[e].process(Qi),i3=e=>{Xa=!1,Qi.delta=a1?r3:Math.max(Math.min(e-Qi.timestamp,fM),1),Qi.timestamp=e,l1=!0,Ka.forEach(vM),l1=!1,Xa&&(a1=!1,n3(i3))},mM=()=>{Xa=!0,a1=!0,l1||n3(i3)},gM=()=>Qi;function o3(e,t,r=0){return e-t-r}function yM(e,t,r=0,n=!0){return n?o3(t+-e,t,r):t-(e-t)+r}function bM(e,t,r,n){return n?e>=t+r:e<=-r}const xM=e=>{const t=({delta:r})=>e(r);return{start:()=>pM.update(t,!0),stop:()=>hM.update(t)}};function a3(e){var t,r,{from:n,autoplay:i=!0,driver:o=xM,elapsed:a=0,repeat:l=0,repeatType:s="loop",repeatDelay:u=0,onPlay:c,onStop:f,onComplete:d,onRepeat:h,onUpdate:m}=e,y=Tt(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:v}=y,g,b=0,x=y.duration,C,k=!1,E=!0,P;const F=uM(y);!((r=(t=F).needsInterpolation)===null||r===void 0)&&r.call(t,n,v)&&(P=Xy([0,100],[n,v],{clamp:!1}),n=0,v=100);const M=F(Object.assign(Object.assign({},y),{from:n,to:v}));function I(){b++,s==="reverse"?(E=b%2===0,a=yM(a,x,u,E)):(a=o3(a,x,u),s==="mirror"&&M.flipTarget()),k=!1,h&&h()}function G(){g.stop(),d&&d()}function U(X){if(E||(X=-X),a+=X,!k){const K=M.next(Math.max(0,a));C=K.value,P&&(C=P(C)),k=E?K.done:a<=0}m==null||m(C),k&&(b===0&&(x!=null||(x=a)),b<l?bM(a,x,u,E)&&I():G())}function Z(){c==null||c(),g=o(U),g.start()}return i&&Z(),{stop:()=>{f==null||f(),g.stop()}}}function l3(e,t){return t?e*(1e3/t):0}function CM({from:e=0,velocity:t=0,min:r,max:n,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:l=10,restDelta:s=1,modifyTarget:u,driver:c,onUpdate:f,onComplete:d,onStop:h}){let m;function y(x){return r!==void 0&&x<r||n!==void 0&&x>n}function v(x){return r===void 0?n:n===void 0||Math.abs(r-x)<Math.abs(n-x)?r:n}function g(x){m==null||m.stop(),m=a3(Object.assign(Object.assign({},x),{driver:c,onUpdate:C=>{var k;f==null||f(C),(k=x.onUpdate)===null||k===void 0||k.call(x,C)},onComplete:d,onStop:h}))}function b(x){g(Object.assign({type:"spring",stiffness:a,damping:l,restDelta:s},x))}if(y(e))b({from:e,velocity:t,to:v(e)});else{let x=i*t+e;typeof u!="undefined"&&(x=u(x));const C=v(x),k=C===r?-1:1;let E,P;const F=M=>{E=P,P=M,t=l3(M-E,gM().delta),(k===1&&M>C||k===-1&&M<C)&&b({from:M,to:C,velocity:t})};g({type:"decay",from:e,velocity:t,timeConstant:o,power:i,restDelta:s,modifyTarget:u,onUpdate:y(x)?F:void 0})}return{stop:()=>m==null?void 0:m.stop()}}const s1=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),s3=e=>s1(e)&&e.hasOwnProperty("z"),zu=(e,t)=>Math.abs(e-t);function u3(e,t){if(e1(e)&&e1(t))return zu(e,t);if(s1(e)&&s1(t)){const r=zu(e.x,t.x),n=zu(e.y,t.y),i=s3(e)&&s3(t)?zu(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(i,2))}}const c3=(e,t)=>1-3*t+3*e,d3=(e,t)=>3*t-6*e,f3=e=>3*e,Nu=(e,t,r)=>((c3(t,r)*e+d3(t,r))*e+f3(t))*e,p3=(e,t,r)=>3*c3(t,r)*e*e+2*d3(t,r)*e+f3(t),wM=1e-7,SM=10;function kM(e,t,r,n,i){let o,a,l=0;do a=t+(r-t)/2,o=Nu(a,n,i)-e,o>0?r=a:t=a;while(Math.abs(o)>wM&&++l<SM);return a}const EM=8,PM=.001;function _M(e,t,r,n){for(let i=0;i<EM;++i){const o=p3(t,r,n);if(o===0)return t;t-=(Nu(t,r,n)-e)/o}return t}const ju=11,Wu=1/(ju-1);function TM(e,t,r,n){if(e===t&&r===n)return r1;const i=new Float32Array(ju);for(let a=0;a<ju;++a)i[a]=Nu(a*Wu,e,r);function o(a){let l=0,s=1;const u=ju-1;for(;s!==u&&i[s]<=a;++s)l+=Wu;--s;const c=(a-i[s])/(i[s+1]-i[s]),f=l+c*Wu,d=p3(f,e,r);return d>=PM?_M(a,f,e,r):d===0?f:kM(a,l,l+Wu,e,r)}return a=>a===0||a===1?a:Nu(o(a),t,n)}function u1(e,t){e.indexOf(t)===-1&&e.push(t)}function c1(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var Qa=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var r=this;return u1(this.subscriptions,t),function(){return c1(r.subscriptions,t)}},e.prototype.notify=function(t,r,n){var i=this.subscriptions.length;if(!!i)if(i===1)this.subscriptions[0](t,r,n);else for(var o=0;o<i;o++){var a=this.subscriptions[o];a&&a(t,r,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),MM=function(e){return!isNaN(parseFloat(e))},FM=function(){function e(t){var r=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Qa,this.velocityUpdateSubscribers=new Qa,this.renderSubscribers=new Qa,this.canTrackVelocity=!1,this.updateAndNotify=function(n,i){i===void 0&&(i=!0),r.prev=r.current,r.current=n;var o=W0(),a=o.delta,l=o.timestamp;r.lastUpdated!==l&&(r.timeDelta=a,r.lastUpdated=l,hr.postRender(r.scheduleVelocityCheck)),r.prev!==r.current&&r.updateSubscribers.notify(r.current),r.velocityUpdateSubscribers.getSize()&&r.velocityUpdateSubscribers.notify(r.getVelocity()),i&&r.renderSubscribers.notify(r.current)},this.scheduleVelocityCheck=function(){return hr.postRender(r.velocityCheck)},this.velocityCheck=function(n){var i=n.timestamp;i!==r.lastUpdated&&(r.prev=r.current,r.velocityUpdateSubscribers.notify(r.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=MM(this.current)}return e.prototype.onChange=function(t){return this.updateSubscribers.add(t)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},e.prototype.attach=function(t){this.passiveEffect=t},e.prototype.set=function(t,r){r===void 0&&(r=!0),!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?l3(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(t){var r=this;return this.stop(),new Promise(function(n){r.hasAnimated=!0,r.stopAnimation=t(n)}).then(function(){return r.clearAnimation()})},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function Ji(e){return new FM(e)}var Or=function(e){return Boolean(e!==null&&typeof e=="object"&&e.getVelocity)},Uu=function(e){return e*1e3},AM={linear:r1,easeIn:n1,easeInOut:Jy,easeOut:YT,circIn:e3,circInOut:XT,circOut:i1,backIn:o1,backInOut:QT,backOut:KT,anticipate:JT,bounceIn:nM,bounceInOut:iM,bounceOut:$u},h3=function(e){if(Array.isArray(e)){Tu(e.length===4);var t=Le(e,4),r=t[0],n=t[1],i=t[2],o=t[3];return TM(r,n,i,o)}else if(typeof e=="string")return AM[e];return e},OM=function(e){return Array.isArray(e)&&typeof e[0]!="number"},v3=function(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Ar.test(t)&&!t.startsWith("url("))},Ja=function(e){return Array.isArray(e)},Jn=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Zu=function(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}},d1=function(){return{type:"keyframes",ease:"linear",duration:.3}},LM=function(e){return{type:"keyframes",duration:.8,values:e}},m3={x:Jn,y:Jn,z:Jn,rotate:Jn,rotateX:Jn,rotateY:Jn,rotateZ:Jn,scaleX:Zu,scaleY:Zu,scale:Zu,opacity:d1,backgroundColor:d1,color:d1,default:Zu},BM=function(e,t){var r;return Ja(t)?r=LM:r=m3[e]||m3.default,N({to:t},r(t))},g3=N(N({},Kn),{transform:Math.round}),y3={borderWidth:Q,borderTopWidth:Q,borderRightWidth:Q,borderBottomWidth:Q,borderLeftWidth:Q,borderRadius:Q,radius:Q,borderTopLeftRadius:Q,borderTopRightRadius:Q,borderBottomRightRadius:Q,borderBottomLeftRadius:Q,width:Q,maxWidth:Q,height:Q,maxHeight:Q,size:Q,top:Q,right:Q,bottom:Q,left:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,rotate:vn,rotateX:vn,rotateY:vn,rotateZ:vn,scale:Vu,scaleX:Vu,scaleY:Vu,scaleZ:Vu,skew:vn,skewX:vn,skewY:vn,distance:Q,translateX:Q,translateY:Q,translateZ:Q,x:Q,y:Q,z:Q,perspective:Q,transformPerspective:Q,opacity:qa,originX:Ry,originY:Ry,originZ:Q,zIndex:g3,fillOpacity:qa,strokeOpacity:qa,numOctaves:g3},VM=N(N({},y3),{color:dt,backgroundColor:dt,outlineColor:dt,fill:dt,stroke:dt,borderColor:dt,borderTopColor:dt,borderRightColor:dt,borderBottomColor:dt,borderLeftColor:dt,filter:Q0,WebkitFilter:Q0}),f1=function(e){return VM[e]};function p1(e,t){var r,n=f1(e);return n!==Q0&&(n=Ar),(r=n.getAnimatableNone)===null||r===void 0?void 0:r.call(n,t)}var RM={current:!1},IM=function(e){return Boolean(e&&typeof e=="object"&&e.mix&&e.toValue)},b3=function(e){return Ja(e)?e[e.length-1]||0:e};function $M(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=Tt(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}function DM(e){var t=e.ease,r=e.times,n=e.yoyo,i=e.flip,o=e.loop,a=Tt(e,["ease","times","yoyo","flip","loop"]),l=N({},a);return r&&(l.offset=r),a.duration&&(l.duration=Uu(a.duration)),a.repeatDelay&&(l.repeatDelay=Uu(a.repeatDelay)),t&&(l.ease=OM(t)?t.map(h3):h3(t)),a.type==="tween"&&(l.type="keyframes"),(n||o||i)&&(n?l.repeatType="reverse":o?l.repeatType="loop":i&&(l.repeatType="mirror"),l.repeat=o||n||i||a.repeat),a.type!=="spring"&&(l.type="keyframes"),l}function HM(e,t){var r,n,i=h1(e,t)||{};return(n=(r=i.delay)!==null&&r!==void 0?r:e.delay)!==null&&n!==void 0?n:0}function zM(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=er([],Le(e.to),!1),e.to[0]=e.from),e}function NM(e,t,r){var n;return Array.isArray(t.to)&&((n=e.duration)!==null&&n!==void 0||(e.duration=.8)),zM(t),$M(e)||(e=N(N({},e),BM(r,t.to))),N(N({},t),DM(e))}function jM(e,t,r,n,i){var o,a=h1(n,e),l=(o=a.from)!==null&&o!==void 0?o:t.get(),s=v3(e,r);l==="none"&&s&&typeof r=="string"?l=p1(e,r):x3(l)&&typeof r=="string"?l=C3(r):!Array.isArray(r)&&x3(r)&&typeof l=="string"&&(r=C3(l));var u=v3(e,l);function c(){var d={from:l,to:r,velocity:t.getVelocity(),onComplete:i,onUpdate:function(h){return t.set(h)}};return a.type==="inertia"||a.type==="decay"?CM(N(N({},d),a)):a3(N(N({},NM(a,d,e)),{onUpdate:function(h){var m;d.onUpdate(h),(m=a.onUpdate)===null||m===void 0||m.call(a,h)},onComplete:function(){var h;d.onComplete(),(h=a.onComplete)===null||h===void 0||h.call(a)}}))}function f(){var d,h,m=b3(r);return t.set(m),i(),(d=a==null?void 0:a.onUpdate)===null||d===void 0||d.call(a,m),(h=a==null?void 0:a.onComplete)===null||h===void 0||h.call(a),{stop:function(){}}}return!u||!s||a.type===!1?f:c}function x3(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function C3(e){return typeof e=="number"?0:p1("",e)}function h1(e,t){return e[t]||e.default||e}function v1(e,t,r,n){return n===void 0&&(n={}),RM.current&&(n={type:!1}),t.start(function(i){var o,a,l=jM(e,t,r,n,i),s=HM(n,e),u=function(){return a=l()};return s?o=window.setTimeout(u,Uu(s)):u(),function(){clearTimeout(o),a==null||a.stop()}})}function WM(e,t,r){r===void 0&&(r={});var n=Or(e)?e:Ji(e);return v1("",n,t,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}var w3=["TopLeft","TopRight","BottomLeft","BottomRight"],UM=w3.length,S3=function(e){return typeof e=="string"?parseFloat(e):e},k3=function(e){return typeof e=="number"||Q.test(e)};function ZM(e,t,r,n,i,o){var a,l,s,u;i?(e.opacity=Be(0,(a=r.opacity)!==null&&a!==void 0?a:1,GM(n)),e.opacityExit=Be((l=t.opacity)!==null&&l!==void 0?l:1,0,qM(n))):o&&(e.opacity=Be((s=t.opacity)!==null&&s!==void 0?s:1,(u=r.opacity)!==null&&u!==void 0?u:1,n));for(var c=0;c<UM;c++){var f="border".concat(w3[c],"Radius"),d=E3(t,f),h=E3(r,f);if(!(d===void 0&&h===void 0)){d||(d=0),h||(h=0);var m=d===0||h===0||k3(d)===k3(h);m?(e[f]=Math.max(Be(S3(d),S3(h),n),0),(vr.test(h)||vr.test(d))&&(e[f]+="%")):e[f]=h}}(t.rotate||r.rotate)&&(e.rotate=Be(t.rotate||0,r.rotate||0,n))}function E3(e,t){var r;return(r=e[t])!==null&&r!==void 0?r:e.borderRadius}var GM=P3(0,.5,i1),qM=P3(.5,.95,r1);function P3(e,t,r){return function(n){return n<e?0:n>t?1:r(Wa(e,t,n))}}function _3(e,t){e.min=t.min,e.max=t.max}function mr(e,t){_3(e.x,t.x),_3(e.y,t.y)}function m1(e){return e===void 0||e===1}function T3(e){var t=e.scale,r=e.scaleX,n=e.scaleY;return!m1(t)||!m1(r)||!m1(n)}function gn(e){return T3(e)||M3(e.x)||M3(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function M3(e){return e&&e!=="0%"}function Gu(e,t,r){var n=e-r,i=t*n;return r+i}function F3(e,t,r,n,i){return i!==void 0&&(e=Gu(e,i,n)),Gu(e,r,n)+t}function g1(e,t,r,n,i){t===void 0&&(t=0),r===void 0&&(r=1),e.min=F3(e.min,t,r,n,i),e.max=F3(e.max,t,r,n,i)}function A3(e,t){var r=t.x,n=t.y;g1(e.x,r.translate,r.scale,r.originPoint),g1(e.y,n.translate,n.scale,n.originPoint)}function YM(e,t,r,n){var i,o;n===void 0&&(n=!1);var a=r.length;if(!!a){t.x=t.y=1;for(var l,s,u=0;u<a;u++)l=r[u],s=l.projectionDelta,((o=(i=l.instance)===null||i===void 0?void 0:i.style)===null||o===void 0?void 0:o.display)!=="contents"&&(n&&l.options.layoutScroll&&l.scroll&&l!==l.root&&to(e,{x:-l.scroll.x,y:-l.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,A3(e,s)),n&&gn(l.latestValues)&&to(e,l.latestValues))}}function eo(e,t){e.min=e.min+t,e.max=e.max+t}function O3(e,t,r){var n=Le(r,3),i=n[0],o=n[1],a=n[2],l=t[a]!==void 0?t[a]:.5,s=Be(e.min,e.max,l);g1(e,t[i],t[o],s,t.scale)}var XM=["x","scaleX","originX"],KM=["y","scaleY","originY"];function to(e,t){O3(e.x,t,XM),O3(e.y,t,KM)}function Lr(e){return e.max-e.min}function L3(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=.01),u3(e,t)<r}function B3(e,t,r,n){n===void 0&&(n=.5),e.origin=n,e.originPoint=Be(t.min,t.max,e.origin),e.scale=Lr(r)/Lr(t),(L3(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Be(r.min,r.max,e.origin)-e.originPoint,(L3(e.translate)||isNaN(e.translate))&&(e.translate=0)}function el(e,t,r,n){B3(e.x,t.x,r.x,n==null?void 0:n.originX),B3(e.y,t.y,r.y,n==null?void 0:n.originY)}function V3(e,t,r){e.min=r.min+t.min,e.max=e.min+Lr(t)}function QM(e,t,r){V3(e.x,t.x,r.x),V3(e.y,t.y,r.y)}function R3(e,t,r){e.min=t.min-r.min,e.max=e.min+Lr(t)}function tl(e,t,r){R3(e.x,t.x,r.x),R3(e.y,t.y,r.y)}function I3(e,t,r,n,i){return e-=t,e=Gu(e,1/r,n),i!==void 0&&(e=Gu(e,1/i,n)),e}function JM(e,t,r,n,i,o,a){if(t===void 0&&(t=0),r===void 0&&(r=1),n===void 0&&(n=.5),o===void 0&&(o=e),a===void 0&&(a=e),vr.test(t)){t=parseFloat(t);var l=Be(a.min,a.max,t/100);t=l-a.min}if(typeof t=="number"){var s=Be(o.min,o.max,n);e===o&&(s-=t),e.min=I3(e.min,t,r,s,i),e.max=I3(e.max,t,r,s,i)}}function $3(e,t,r,n,i){var o=Le(r,3),a=o[0],l=o[1],s=o[2];JM(e,t[a],t[l],t[s],t.scale,n,i)}var eF=["x","scaleX","originX"],tF=["y","scaleY","originY"];function D3(e,t,r,n){$3(e.x,t,eF,r==null?void 0:r.x,n==null?void 0:n.x),$3(e.y,t,tF,r==null?void 0:r.y,n==null?void 0:n.y)}var H3=function(){return{translate:0,scale:1,origin:0,originPoint:0}},rl=function(){return{x:H3(),y:H3()}},z3=function(){return{min:0,max:0}},lt=function(){return{x:z3(),y:z3()}};function N3(e){return e.translate===0&&e.scale===1}function j3(e){return N3(e.x)&&N3(e.y)}function W3(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var rF=function(){function e(){this.members=[]}return e.prototype.add=function(t){u1(this.members,t),t.scheduleRender()},e.prototype.remove=function(t){if(c1(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var r=this.members[this.members.length-1];r&&this.promote(r)}},e.prototype.relegate=function(t){var r=this.members.findIndex(function(a){return t===a});if(r===0)return!1;for(var n,i=r;i>=0;i--){var o=this.members[i];if(o.isPresent!==!1){n=o;break}}return n?(this.promote(n),!0):!1},e.prototype.promote=function(t,r){var n,i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,r&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues,t.snapshot.isShared=!0),!((n=t.root)===null||n===void 0)&&n.isUpdating&&(t.isLayoutDirty=!0);var o=t.options.crossfade;o===!1&&i.hide()}},e.prototype.exitAnimationComplete=function(){this.members.forEach(function(t){var r,n,i,o,a;(n=(r=t.options).onExitComplete)===null||n===void 0||n.call(r),(a=(i=t.resumingFrom)===null||i===void 0?void 0:(o=i.options).onExitComplete)===null||a===void 0||a.call(o)})},e.prototype.scheduleRender=function(){this.members.forEach(function(t){t.instance&&t.scheduleRender(!1)})},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),qu={};function nF(e){Object.assign(qu,e)}var iF="translate3d(0px, 0px, 0) scale(1, 1)";function U3(e,t,r){var n=e.x.translate/t.x,i=e.y.translate/t.y,o="translate3d(".concat(n,"px, ").concat(i,"px, 0) ");if(r){var a=r.rotate,l=r.rotateX,s=r.rotateY;a&&(o+="rotate(".concat(a,"deg) ")),l&&(o+="rotateX(".concat(l,"deg) ")),s&&(o+="rotateY(".concat(s,"deg) "))}return o+="scale(".concat(e.x.scale,", ").concat(e.y.scale,")"),o===iF?"none":o}function gr(e){return[e("x"),e("y")]}var y1=["","X","Y","Z"],oF=["translate","scale","rotate","skew"],nl=["transformPerspective","x","y","z"];oF.forEach(function(e){return y1.forEach(function(t){return nl.push(e+t)})});function aF(e,t){return nl.indexOf(e)-nl.indexOf(t)}var lF=new Set(nl);function il(e){return lF.has(e)}var sF=new Set(["originX","originY","originZ"]);function Z3(e){return sF.has(e)}var uF=function(e,t){return e.depth-t.depth},cF=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(t){u1(this.children,t),this.isDirty=!0},e.prototype.remove=function(t){c1(this.children,t),this.isDirty=!0},e.prototype.forEach=function(t){this.isDirty&&this.children.sort(uF),this.isDirty=!1,this.children.forEach(t)},e}();function Yu(e){var t=Or(e)?e.get():e;return IM(t)?t.toValue():t}var G3=1e3,ol={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function q3(e){var t=e.attachResizeListener,r=e.defaultParent,n=e.measureScroll,i=e.resetTransform;return function(){function o(a,l,s){var u=this;l===void 0&&(l={}),s===void 0&&(s=r==null?void 0:r()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){u.isUpdating&&(u.isUpdating=!1,u.clearAllSnapshots())},this.updateProjection=function(){u.nodes.forEach(mF),u.nodes.forEach(gF)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=a,this.latestValues=l,this.root=s?s.root||s:this,this.path=s?er(er([],Le(s.path),!1),[s],!1):[],this.parent=s,this.depth=s?s.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(var c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new cF)}return o.prototype.addEventListener=function(a,l){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Qa),this.eventHandlers.get(a).add(l)},o.prototype.notifyListeners=function(a){for(var l=[],s=1;s<arguments.length;s++)l[s-1]=arguments[s];var u=this.eventHandlers.get(a);u==null||u.notify.apply(u,er([],Le(l),!1))},o.prototype.hasListeners=function(a){return this.eventHandlers.has(a)},o.prototype.registerPotentialNode=function(a,l){this.potentialNodes.set(a,l)},o.prototype.mount=function(a,l){var s=this,u;if(l===void 0&&(l=!1),!this.instance){this.isSVG=a instanceof SVGElement&&a.tagName!=="svg",this.instance=a;var c=this.options,f=c.layoutId,d=c.layout,h=c.visualElement;if(h&&!h.getInstance()&&h.mount(a),this.root.nodes.add(this),(u=this.parent)===null||u===void 0||u.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),l&&(d||f)&&(this.isLayoutDirty=!0),t){var m,y=function(){return s.root.updateBlockedByResize=!1};t(a,function(){s.root.updateBlockedByResize=!0,clearTimeout(m),m=window.setTimeout(y,250),ol.hasAnimatedSinceResize&&(ol.hasAnimatedSinceResize=!1,s.nodes.forEach(vF))})}f&&this.root.registerSharedNode(f,this),this.options.animate!==!1&&h&&(f||d)&&this.addEventListener("didUpdate",function(v){var g,b,x,C,k,E=v.delta,P=v.hasLayoutChanged,F=v.hasRelativeTargetChanged,M=v.layout;if(s.isTreeAnimationBlocked()){s.target=void 0,s.relativeTarget=void 0;return}var I=(b=(g=s.options.transition)!==null&&g!==void 0?g:h.getDefaultTransition())!==null&&b!==void 0?b:wF,G=h.getProps().onLayoutAnimationComplete,U=!s.targetLayout||!W3(s.targetLayout,M)||F,Z=!P&&F;if(((x=s.resumeFrom)===null||x===void 0?void 0:x.instance)||Z||P&&(U||!s.currentAnimation)){s.resumeFrom&&(s.resumingFrom=s.resumeFrom,s.resumingFrom.resumingFrom=void 0),s.setAnimationOrigin(E,Z);var X=N(N({},h1(I,"layout")),{onComplete:G});h.shouldReduceMotion&&(X.delay=0,X.type=!1),s.startAnimation(X)}else!P&&s.animationProgress===0&&s.finishAnimation(),s.isLead()&&((k=(C=s.options).onExitComplete)===null||k===void 0||k.call(C));s.targetLayout=M})}},o.prototype.unmount=function(){var a,l;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(a=this.getStack())===null||a===void 0||a.remove(this),(l=this.parent)===null||l===void 0||l.children.delete(this),this.instance=void 0,ja.preRender(this.updateProjection)},o.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},o.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},o.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},o.prototype.isTreeAnimationBlocked=function(){var a;return this.isAnimationBlocked||((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimationBlocked())||!1},o.prototype.startUpdate=function(){var a;this.isUpdateBlocked()||(this.isUpdating=!0,(a=this.nodes)===null||a===void 0||a.forEach(yF))},o.prototype.willUpdate=function(a){var l,s,u;if(a===void 0&&(a=!0),this.root.isUpdateBlocked()){(s=(l=this.options).onExitComplete)===null||s===void 0||s.call(l);return}if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var c=0;c<this.path.length;c++){var f=this.path[c];f.shouldResetTransform=!0,f.updateScroll()}var d=this.options,h=d.layoutId,m=d.layout;if(!(h===void 0&&!m)){var y=(u=this.options.visualElement)===null||u===void 0?void 0:u.getProps().transformTemplate;this.prevTransformTemplateValue=y==null?void 0:y(this.latestValues,""),this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}}},o.prototype.didUpdate=function(){var a=this.isUpdateBlocked();if(a){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Y3);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(SF),this.potentialNodes.clear()),this.nodes.forEach(hF),this.nodes.forEach(dF),this.nodes.forEach(fF),this.clearAllSnapshots(),j0.update(),j0.preRender(),j0.render())},o.prototype.clearAllSnapshots=function(){this.nodes.forEach(pF),this.sharedNodes.forEach(bF)},o.prototype.scheduleUpdateProjection=function(){hr.preRender(this.updateProjection,!1,!0)},o.prototype.scheduleCheckAfterUnmount=function(){var a=this;hr.postRender(function(){a.isLayoutDirty?a.root.didUpdate():a.root.checkUpdateFailed()})},o.prototype.updateSnapshot=function(){if(!(this.snapshot||!this.instance)){var a=this.measure(),l=this.removeTransform(this.removeElementScroll(a));J3(l),this.snapshot={measured:a,layout:l,latestValues:{}}}},o.prototype.updateLayout=function(){var a;if(!!this.instance&&(this.updateScroll(),!(!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))){if(this.resumeFrom&&!this.resumeFrom.instance)for(var l=0;l<this.path.length;l++){var s=this.path[l];s.updateScroll()}var u=this.measure();J3(u);var c=this.layout;this.layout={measured:u,actual:this.removeElementScroll(u)},this.layoutCorrected=lt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),(a=this.options.visualElement)===null||a===void 0||a.notifyLayoutMeasure(this.layout.actual,c==null?void 0:c.actual)}},o.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.scroll=n(this.instance))},o.prototype.resetTransform=function(){var a;if(!!i){var l=this.isLayoutDirty||this.shouldResetTransform,s=this.projectionDelta&&!j3(this.projectionDelta),u=(a=this.options.visualElement)===null||a===void 0?void 0:a.getProps().transformTemplate,c=u==null?void 0:u(this.latestValues,""),f=c!==this.prevTransformTemplateValue;l&&(s||gn(this.latestValues)||f)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}},o.prototype.measure=function(){var a=this.options.visualElement;if(!a)return lt();var l=a.measureViewportBox(),s=this.root.scroll;return s&&(eo(l.x,s.x),eo(l.y,s.y)),l},o.prototype.removeElementScroll=function(a){var l=lt();mr(l,a);for(var s=0;s<this.path.length;s++){var u=this.path[s],c=u.scroll,f=u.options;u!==this.root&&c&&f.layoutScroll&&(eo(l.x,c.x),eo(l.y,c.y))}return l},o.prototype.applyTransform=function(a,l){l===void 0&&(l=!1);var s=lt();mr(s,a);for(var u=0;u<this.path.length;u++){var c=this.path[u];!l&&c.options.layoutScroll&&c.scroll&&c!==c.root&&to(s,{x:-c.scroll.x,y:-c.scroll.y}),gn(c.latestValues)&&to(s,c.latestValues)}return gn(this.latestValues)&&to(s,this.latestValues),s},o.prototype.removeTransform=function(a){var l,s=lt();mr(s,a);for(var u=0;u<this.path.length;u++){var c=this.path[u];if(!!c.instance&&!!gn(c.latestValues)){T3(c.latestValues)&&c.updateSnapshot();var f=lt(),d=c.measure();mr(f,d),D3(s,c.latestValues,(l=c.snapshot)===null||l===void 0?void 0:l.layout,f)}}return gn(this.latestValues)&&D3(s,this.latestValues),s},o.prototype.setTargetDelta=function(a){this.targetDelta=a,this.root.scheduleUpdateProjection()},o.prototype.setOptions=function(a){var l;this.options=N(N(N({},this.options),a),{crossfade:(l=a.crossfade)!==null&&l!==void 0?l:!0})},o.prototype.clearMeasurements=function(){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},o.prototype.resolveTargetDelta=function(){var a,l=this.options,s=l.layout,u=l.layoutId;!this.layout||!(s||u)||(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=lt(),this.relativeTargetOrigin=lt(),tl(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),mr(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=lt(),this.targetWithTransforms=lt()),this.relativeTarget&&this.relativeTargetOrigin&&((a=this.relativeParent)===null||a===void 0?void 0:a.target)?QM(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):mr(this.target,this.layout.actual),A3(this.target,this.targetDelta)):mr(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=lt(),this.relativeTargetOrigin=lt(),tl(this.relativeTargetOrigin,this.target,this.relativeParent.target),mr(this.relativeTarget,this.relativeTargetOrigin)))))},o.prototype.getClosestProjectingParent=function(){if(!(!this.parent||gn(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},o.prototype.calcProjection=function(){var a,l=this.options,s=l.layout,u=l.layoutId;if(this.isTreeAnimating=Boolean(((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!(!this.layout||!(s||u))){var c=this.getLead();mr(this.layoutCorrected,this.layout.actual),YM(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==c);var f=c.target;if(!!f){this.projectionDelta||(this.projectionDelta=rl(),this.projectionDeltaWithTransform=rl());var d=this.treeScale.x,h=this.treeScale.y,m=this.projectionTransform;el(this.projectionDelta,this.layoutCorrected,f,this.latestValues),this.projectionTransform=U3(this.projectionDelta,this.treeScale),(this.projectionTransform!==m||this.treeScale.x!==d||this.treeScale.y!==h)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",f))}}},o.prototype.hide=function(){this.isVisible=!1},o.prototype.show=function(){this.isVisible=!0},o.prototype.scheduleRender=function(a){var l,s,u;a===void 0&&(a=!0),(s=(l=this.options).scheduleRender)===null||s===void 0||s.call(l),a&&((u=this.getStack())===null||u===void 0||u.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},o.prototype.setAnimationOrigin=function(a,l){var s=this,u;l===void 0&&(l=!1);var c=this.snapshot,f=(c==null?void 0:c.latestValues)||{},d=N({},this.latestValues),h=rl();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!l;var m=lt(),y=c==null?void 0:c.isShared,v=(((u=this.getStack())===null||u===void 0?void 0:u.members.length)||0)<=1,g=Boolean(y&&!v&&this.options.crossfade===!0&&!this.path.some(CF));this.animationProgress=0,this.mixTargetDelta=function(b){var x,C=b/1e3;X3(h.x,a.x,C),X3(h.y,a.y,C),s.setTargetDelta(h),s.relativeTarget&&s.relativeTargetOrigin&&s.layout&&((x=s.relativeParent)===null||x===void 0?void 0:x.layout)&&(tl(m,s.layout.actual,s.relativeParent.layout.actual),xF(s.relativeTarget,s.relativeTargetOrigin,m,C)),y&&(s.animationValues=d,ZM(d,f,s.latestValues,C,g,v)),s.root.scheduleUpdateProjection(),s.scheduleRender(),s.animationProgress=C},this.mixTargetDelta(0)},o.prototype.startAnimation=function(a){var l=this,s,u;(s=this.currentAnimation)===null||s===void 0||s.stop(),this.resumingFrom&&((u=this.resumingFrom.currentAnimation)===null||u===void 0||u.stop()),this.pendingAnimation&&(ja.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=hr.update(function(){ol.hasAnimatedSinceResize=!0,l.currentAnimation=WM(0,G3,N(N({},a),{onUpdate:function(c){var f;l.mixTargetDelta(c),(f=a.onUpdate)===null||f===void 0||f.call(a,c)},onComplete:function(){var c;(c=a.onComplete)===null||c===void 0||c.call(a),l.completeAnimation()}})),l.resumingFrom&&(l.resumingFrom.currentAnimation=l.currentAnimation),l.pendingAnimation=void 0})},o.prototype.completeAnimation=function(){var a;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(a=this.getStack())===null||a===void 0||a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},o.prototype.finishAnimation=function(){var a;this.currentAnimation&&((a=this.mixTargetDelta)===null||a===void 0||a.call(this,G3),this.currentAnimation.stop()),this.completeAnimation()},o.prototype.applyTransformsToTarget=function(){var a=this.getLead(),l=a.targetWithTransforms,s=a.target,u=a.layout,c=a.latestValues;!l||!s||!u||(mr(l,s),to(l,c),el(this.projectionDeltaWithTransform,this.layoutCorrected,l,c))},o.prototype.registerSharedNode=function(a,l){var s,u,c;this.sharedNodes.has(a)||this.sharedNodes.set(a,new rF);var f=this.sharedNodes.get(a);f.add(l),l.promote({transition:(s=l.options.initialPromotionConfig)===null||s===void 0?void 0:s.transition,preserveFollowOpacity:(c=(u=l.options.initialPromotionConfig)===null||u===void 0?void 0:u.shouldPreserveFollowOpacity)===null||c===void 0?void 0:c.call(u,l)})},o.prototype.isLead=function(){var a=this.getStack();return a?a.lead===this:!0},o.prototype.getLead=function(){var a,l=this.options.layoutId;return l?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this},o.prototype.getPrevLead=function(){var a,l=this.options.layoutId;return l?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0},o.prototype.getStack=function(){var a=this.options.layoutId;if(a)return this.root.sharedNodes.get(a)},o.prototype.promote=function(a){var l=a===void 0?{}:a,s=l.needsReset,u=l.transition,c=l.preserveFollowOpacity,f=this.getStack();f&&f.promote(this,c),s&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})},o.prototype.relegate=function(){var a=this.getStack();return a?a.relegate(this):!1},o.prototype.resetRotation=function(){var a=this.options.visualElement;if(!!a){for(var l=!1,s={},u=0;u<y1.length;u++){var c=y1[u],f="rotate"+c;!a.getStaticValue(f)||(l=!0,s[f]=a.getStaticValue(f),a.setStaticValue(f,0))}if(!!l){a==null||a.syncRender();for(var f in s)a.setStaticValue(f,s[f]);a.scheduleRender()}}},o.prototype.getProjectionStyles=function(a){var l,s,u,c,f,d;a===void 0&&(a={});var h={};if(!this.instance||this.isSVG)return h;if(this.isVisible)h.visibility="";else return{visibility:"hidden"};var m=(l=this.options.visualElement)===null||l===void 0?void 0:l.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,h.opacity="",h.pointerEvents=Yu(a.pointerEvents)||"",h.transform=m?m(this.latestValues,""):"none",h;var y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){var v={};return this.options.layoutId&&(v.opacity=(s=this.latestValues.opacity)!==null&&s!==void 0?s:1,v.pointerEvents=Yu(a.pointerEvents)||""),this.hasProjected&&!gn(this.latestValues)&&(v.transform=m?m({},""):"none",this.hasProjected=!1),v}var g=y.animationValues||y.latestValues;this.applyTransformsToTarget(),h.transform=U3(this.projectionDeltaWithTransform,this.treeScale,g),m&&(h.transform=m(g,h.transform));var b=this.projectionDelta,x=b.x,C=b.y;h.transformOrigin="".concat(x.origin*100,"% ").concat(C.origin*100,"% 0"),y.animationValues?h.opacity=y===this?(c=(u=g.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:h.opacity=y===this?(f=g.opacity)!==null&&f!==void 0?f:"":(d=g.opacityExit)!==null&&d!==void 0?d:0;for(var k in qu)if(g[k]!==void 0){var E=qu[k],P=E.correct,F=E.applyTo,M=P(g[k],y);if(F)for(var I=F.length,G=0;G<I;G++)h[F[G]]=M;else h[k]=M}return this.options.layoutId&&(h.pointerEvents=y===this?Yu(a.pointerEvents)||"":"none"),h},o.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},o.prototype.resetTree=function(){this.root.nodes.forEach(function(a){var l;return(l=a.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(Y3),this.root.sharedNodes.clear()},o}()}function dF(e){e.updateLayout()}function fF(e){var t,r,n,i,o=(r=(t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)!==null&&r!==void 0?r:e.snapshot;if(e.isLead()&&e.layout&&o&&e.hasListeners("didUpdate")){var a=e.layout,l=a.actual,s=a.measured;e.options.animationType==="size"?gr(function(b){var x=o.isShared?o.measured[b]:o.layout[b],C=Lr(x);x.min=l[b].min,x.max=x.min+C}):e.options.animationType==="position"&&gr(function(b){var x=o.isShared?o.measured[b]:o.layout[b],C=Lr(l[b]);x.max=x.min+C});var u=rl();el(u,l,o.layout);var c=rl();o.isShared?el(c,e.applyTransform(s,!0),o.measured):el(c,l,o.layout);var f=!j3(u),d=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var h=e.relativeParent,m=h.snapshot,y=h.layout;if(m&&y){var v=lt();tl(v,o.layout,m.layout);var g=lt();tl(g,l,y.actual),W3(v,g)||(d=!0)}}e.notifyListeners("didUpdate",{layout:l,snapshot:o,delta:c,layoutDelta:u,hasLayoutChanged:f,hasRelativeTargetChanged:d})}else e.isLead()&&((i=(n=e.options).onExitComplete)===null||i===void 0||i.call(n));e.options.transition=void 0}function pF(e){e.clearSnapshot()}function Y3(e){e.clearMeasurements()}function hF(e){var t=e.options.visualElement;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function vF(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function mF(e){e.resolveTargetDelta()}function gF(e){e.calcProjection()}function yF(e){e.resetRotation()}function bF(e){e.removeLeadSnapshot()}function X3(e,t,r){e.translate=Be(t.translate,0,r),e.scale=Be(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function K3(e,t,r,n){e.min=Be(t.min,r.min,n),e.max=Be(t.max,r.max,n)}function xF(e,t,r,n){K3(e.x,t.x,r.x,n),K3(e.y,t.y,r.y,n)}function CF(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var wF={duration:.45,ease:[.4,0,.1,1]};function SF(e,t){for(var r=e.root,n=e.path.length-1;n>=0;n--)if(Boolean(e.path[n].instance)){r=e.path[n];break}var i=r&&r!==e.root?r.instance:document,o=i.querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function Q3(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function J3(e){Q3(e.x),Q3(e.y)}var kF=1;function EF(){return Ha(function(){if(ol.hasEverUpdated)return kF++})}var b1=O.createContext({}),eb=O.createContext({});function PF(e,t,r,n){var i,o=t.layoutId,a=t.layout,l=t.drag,s=t.dragConstraints,u=t.layoutScroll,c=O.useContext(eb);!n||!r||(r==null?void 0:r.projection)||(r.projection=new n(e,r.getLatestValues(),(i=r.parent)===null||i===void 0?void 0:i.projection),r.projection.setOptions({layoutId:o,layout:a,alwaysMeasureLayout:Boolean(l)||s&&Xi(s),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:typeof a=="string"?a:"both",initialPromotionConfig:c,layoutScroll:u}))}var _F=function(e){Cy(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var r=this.props,n=r.visualElement,i=r.props;n&&n.setProps(i)},t.prototype.render=function(){return this.props.children},t}(Dr.default.Component);function TF(e){var t=e.preloadedFeatures,r=e.createVisualElement,n=e.projectionNodeConstructor,i=e.useRender,o=e.useVisualState,a=e.Component;t&&X_(t);function l(s,u){var c=MF(s);s=N(N({},s),{layoutId:c});var f=O.useContext(D0),d=null,h=uT(s),m=f.isStatic?void 0:EF(),y=o(s,f.isStatic);return!f.isStatic&&Da&&(h.visualElement=iT(a,y,N(N({},f),s),r),PF(m,s,h.visualElement,n||Ia.projectionNodeConstructor),d=J_(s,h.visualElement)),w.createElement(_F,{visualElement:h.visualElement,props:N(N({},f),s)},d,w.createElement(Mu.Provider,{value:h},i(a,s,m,oT(y,h.visualElement,u),y,f.isStatic,h.visualElement)))}return O.forwardRef(l)}function MF(e){var t,r=e.layoutId,n=(t=O.useContext(b1))===null||t===void 0?void 0:t.id;return n&&r!==void 0?n+"-"+r:r}function FF(e){function t(n,i){return i===void 0&&(i={}),TF(e(n,i))}if(typeof Proxy=="undefined")return t;var r=new Map;return new Proxy(t,{get:function(n,i){return r.has(i)||r.set(i,t(i)),r.get(i)}})}var AF=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function x1(e){return typeof e!="string"||e.includes("-")?!1:!!(AF.indexOf(e)>-1||/[A-Z]/.test(e))}function tb(e,t){var r=t.layout,n=t.layoutId;return il(e)||Z3(e)||(r||n!==void 0)&&(!!qu[e]||e==="opacity")}var OF={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function LF(e,t,r,n){var i=e.transform,o=e.transformKeys,a=t.enableHardwareAcceleration,l=a===void 0?!0:a,s=t.allowTransformNone,u=s===void 0?!0:s,c="";o.sort(aF);for(var f=!1,d=o.length,h=0;h<d;h++){var m=o[h];c+="".concat(OF[m]||m,"(").concat(i[m],") "),m==="z"&&(f=!0)}return!f&&l?c+="translateZ(0)":c=c.trim(),n?c=n(i,r?"":c):u&&r&&(c="none"),c}function BF(e){var t=e.originX,r=t===void 0?"50%":t,n=e.originY,i=n===void 0?"50%":n,o=e.originZ,a=o===void 0?0:o;return"".concat(r," ").concat(i," ").concat(a)}function rb(e){return e.startsWith("--")}var VF=function(e,t){return t&&typeof e=="number"?t.transform(e):e};function C1(e,t,r,n){var i,o=e.style,a=e.vars,l=e.transform,s=e.transformKeys,u=e.transformOrigin;s.length=0;var c=!1,f=!1,d=!0;for(var h in t){var m=t[h];if(rb(h)){a[h]=m;continue}var y=y3[h],v=VF(m,y);if(il(h)){if(c=!0,l[h]=v,s.push(h),!d)continue;m!==((i=y.default)!==null&&i!==void 0?i:0)&&(d=!1)}else Z3(h)?(u[h]=v,f=!0):o[h]=v}c?o.transform=LF(e,r,d,n):n?o.transform=n({},""):!t.transform&&o.transform&&(o.transform="none"),f&&(o.transformOrigin=BF(u))}var w1=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function nb(e,t,r){for(var n in t)!Or(t[n])&&!tb(n,r)&&(e[n]=t[n])}function RF(e,t,r){var n=e.transformTemplate;return O.useMemo(function(){var i=w1();C1(i,t,{enableHardwareAcceleration:!r},n);var o=i.vars,a=i.style;return N(N({},o),a)},[t])}function IF(e,t,r){var n=e.style||{},i={};return nb(i,n,e),Object.assign(i,RF(e,t,r)),e.transformValues&&(i=e.transformValues(i)),i}function $F(e,t,r){var n={},i=IF(e,t,r);return Boolean(e.drag)&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":"pan-".concat(e.drag==="x"?"y":"x")),n.style=i,n}var DF=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function Xu(e){return DF.has(e)}var ib=function(e){return!Xu(e)};function HF(e){!e||(ib=function(t){return t.startsWith("on")?!Xu(t):e(t)})}try{HF(require("@emotion/is-prop-valid").default)}catch{}function zF(e,t,r){var n={};for(var i in e)(ib(i)||r===!0&&Xu(i)||!t&&!Xu(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}function ob(e,t,r){return typeof e=="string"?e:Q.transform(t+r*e)}function NF(e,t,r){var n=ob(t,e.x,e.width),i=ob(r,e.y,e.height);return"".concat(n," ").concat(i)}var jF={offset:"stroke-dashoffset",array:"stroke-dasharray"},WF={offset:"strokeDashoffset",array:"strokeDasharray"};function UF(e,t,r,n,i){r===void 0&&(r=1),n===void 0&&(n=0),i===void 0&&(i=!0),e.pathLength=1;var o=i?jF:WF;e[o.offset]=Q.transform(-n);var a=Q.transform(t),l=Q.transform(r);e[o.array]="".concat(a," ").concat(l)}function S1(e,t,r,n){var i=t.attrX,o=t.attrY,a=t.originX,l=t.originY,s=t.pathLength,u=t.pathSpacing,c=u===void 0?1:u,f=t.pathOffset,d=f===void 0?0:f,h=Tt(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);C1(e,h,r,n),e.attrs=e.style,e.style={};var m=e.attrs,y=e.style,v=e.dimensions;m.transform&&(v&&(y.transform=m.transform),delete m.transform),v&&(a!==void 0||l!==void 0||y.transform)&&(y.transformOrigin=NF(v,a!==void 0?a:.5,l!==void 0?l:.5)),i!==void 0&&(m.x=i),o!==void 0&&(m.y=o),s!==void 0&&UF(m,s,c,d,!1)}var ab=function(){return N(N({},w1()),{attrs:{}})};function ZF(e,t){var r=O.useMemo(function(){var i=ab();return S1(i,t,{enableHardwareAcceleration:!1},e.transformTemplate),N(N({},i.attrs),{style:N({},i.style)})},[t]);if(e.style){var n={};nb(n,e.style,e),r.style=N(N({},n),r.style)}return r}function GF(e){e===void 0&&(e=!1);var t=function(r,n,i,o,a,l){var s=a.latestValues,u=x1(r)?ZF:$F,c=u(n,s,l),f=zF(n,typeof r=="string",e),d=N(N(N({},f),c),{ref:o});return i&&(d["data-projection-id"]=i),O.createElement(r,d)};return t}var qF=/([a-z])([A-Z])/g,YF="$1-$2",lb=function(e){return e.replace(qF,YF).toLowerCase()};function sb(e,t,r,n){var i=t.style,o=t.vars;Object.assign(e.style,i,n&&n.getProjectionStyles(r));for(var a in o)e.style.setProperty(a,o[a])}var ub=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function cb(e,t){sb(e,t);for(var r in t.attrs)e.setAttribute(ub.has(r)?r:lb(r),t.attrs[r])}function k1(e){var t=e.style,r={};for(var n in t)(Or(t[n])||tb(n,e))&&(r[n]=t[n]);return r}function db(e){var t=k1(e);for(var r in e)if(Or(e[r])){var n=r==="x"||r==="y"?"attr"+r.toUpperCase():r;t[n]=e[r]}return t}function E1(e){return typeof e=="object"&&typeof e.start=="function"}function fb(e,t,r,n){var i=e.scrapeMotionValuesFromProps,o=e.createRenderState,a=e.onMount,l={latestValues:XF(t,r,n,i),renderState:o()};return a&&(l.mount=function(s){return a(t,s,l)}),l}var pb=function(e){return function(t,r){var n=O.useContext(Mu),i=O.useContext($a);return r?fb(e,t,n,i):Ha(function(){return fb(e,t,n,i)})}};function XF(e,t,r,n){var i={},o=(r==null?void 0:r.initial)===!1,a=n(e);for(var l in a)i[l]=Yu(a[l]);var s=e.initial,u=e.animate,c=Ou(e),f=_y(e);t&&f&&!c&&e.inherit!==!1&&(s!=null||(s=t.initial),u!=null||(u=t.animate));var d=o||s===!1,h=d?u:s;if(h&&typeof h!="boolean"&&!E1(h)){var m=Array.isArray(h)?h:[h];m.forEach(function(y){var v=Py(e,y);if(!!v){var g=v.transitionEnd;v.transition;var b=Tt(v,["transitionEnd","transition"]);for(var x in b){var C=b[x];if(Array.isArray(C)){var k=d?C.length-1:0;C=C[k]}C!==null&&(i[x]=C)}for(var x in g)i[x]=g[x]}})}return i}var KF={useVisualState:pb({scrapeMotionValuesFromProps:db,createRenderState:ab,onMount:function(e,t,r){var n=r.renderState,i=r.latestValues;try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}S1(n,i,{enableHardwareAcceleration:!1},e.transformTemplate),cb(t,n)}})},QF={useVisualState:pb({scrapeMotionValuesFromProps:k1,createRenderState:w1})};function JF(e,t,r,n,i){var o=t.forwardMotionProps,a=o===void 0?!1:o,l=x1(e)?KF:QF;return N(N({},l),{preloadedFeatures:r,useRender:GF(a),createVisualElement:n,projectionNodeConstructor:i,Component:e})}var ye;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(ye||(ye={}));function P1(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}function _1(e,t,r,n){O.useEffect(function(){var i=e.current;if(r&&i)return P1(i,t,r,n)},[e,t,r,n])}function eA(e){var t=e.whileFocus,r=e.visualElement,n=function(){var o;(o=r.animationState)===null||o===void 0||o.setActive(ye.Focus,!0)},i=function(){var o;(o=r.animationState)===null||o===void 0||o.setActive(ye.Focus,!1)};_1(r,"focus",t?n:void 0),_1(r,"blur",t?i:void 0)}function hb(e){return typeof PointerEvent!="undefined"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function vb(e){var t=!!e.touches;return t}function tA(e){return function(t){var r=t instanceof MouseEvent,n=!r||r&&t.button===0;n&&e(t)}}var rA={pageX:0,pageY:0};function nA(e,t){t===void 0&&(t="page");var r=e.touches[0]||e.changedTouches[0],n=r||rA;return{x:n[t+"X"],y:n[t+"Y"]}}function iA(e,t){return t===void 0&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function T1(e,t){return t===void 0&&(t="page"),{point:vb(e)?nA(e,t):iA(e,t)}}var mb=function(e,t){t===void 0&&(t=!1);var r=function(n){return e(n,T1(n))};return t?tA(r):r},oA=function(){return Da&&window.onpointerdown===null},aA=function(){return Da&&window.ontouchstart===null},lA=function(){return Da&&window.onmousedown===null},sA={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},uA={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function gb(e){return oA()?e:aA()?uA[e]:lA()?sA[e]:e}function ro(e,t,r,n){return P1(e,gb(t),mb(r,t==="pointerdown"),n)}function Ku(e,t,r,n){return _1(e,gb(t),r&&mb(r,t==="pointerdown"),n)}function yb(e){var t=null;return function(){var r=function(){t=null};return t===null?(t=e,r):!1}}var bb=yb("dragHorizontal"),xb=yb("dragVertical");function Cb(e){var t=!1;if(e==="y")t=xb();else if(e==="x")t=bb();else{var r=bb(),n=xb();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function wb(){var e=Cb(!0);return e?(e(),!1):!0}function Sb(e,t,r){return function(n,i){var o;!hb(n)||wb()||((o=e.animationState)===null||o===void 0||o.setActive(ye.Hover,t),r==null||r(n,i))}}function cA(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,i=e.visualElement;Ku(i,"pointerenter",t||n?Sb(i,!0,t):void 0),Ku(i,"pointerleave",r||n?Sb(i,!1,r):void 0)}var kb=function(e,t){return t?e===t?!0:kb(e,t.parentElement):!1};function M1(e){return O.useEffect(function(){return function(){return e()}},[])}function dA(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,i=e.whileTap,o=e.visualElement,a=t||r||n||i,l=O.useRef(!1),s=O.useRef(null);function u(){var m;(m=s.current)===null||m===void 0||m.call(s),s.current=null}function c(){var m;return u(),l.current=!1,(m=o.animationState)===null||m===void 0||m.setActive(ye.Tap,!1),!wb()}function f(m,y){!c()||(kb(o.getInstance(),m.target)?t==null||t(m,y):n==null||n(m,y))}function d(m,y){!c()||n==null||n(m,y)}function h(m,y){var v;u(),!l.current&&(l.current=!0,s.current=Ru(ro(window,"pointerup",f),ro(window,"pointercancel",d)),(v=o.animationState)===null||v===void 0||v.setActive(ye.Tap,!0),r==null||r(m,y))}Ku(o,"pointerdown",a?h:void 0),M1(u)}var F1=new WeakMap,A1=new WeakMap,fA=function(e){var t;(t=F1.get(e.target))===null||t===void 0||t(e)},pA=function(e){e.forEach(fA)};function hA(e){var t=e.root,r=Tt(e,["root"]),n=t||document;A1.has(n)||A1.set(n,{});var i=A1.get(n),o=JSON.stringify(r);return i[o]||(i[o]=new IntersectionObserver(pA,N({root:t},r))),i[o]}function vA(e,t,r){var n=hA(t);return F1.set(e,r),n.observe(e),function(){F1.delete(e),n.unobserve(e)}}function mA(e){var t=e.visualElement,r=e.whileInView,n=e.onViewportEnter,i=e.onViewportLeave,o=e.viewport,a=o===void 0?{}:o,l=O.useRef({hasEnteredView:!1,isInView:!1}),s=Boolean(r||n||i);a.once&&l.current.hasEnteredView&&(s=!1);var u=typeof IntersectionObserver=="undefined"?bA:yA;u(s,l.current,t,a)}var gA={some:0,all:1};function yA(e,t,r,n){var i=n.root,o=n.margin,a=n.amount,l=a===void 0?"some":a,s=n.once;O.useEffect(function(){if(!!e){var u={root:i==null?void 0:i.current,rootMargin:o,threshold:typeof l=="number"?l:gA[l]},c=function(f){var d,h=f.isIntersecting;if(t.isInView!==h&&(t.isInView=h,!(s&&!h&&t.hasEnteredView))){h&&(t.hasEnteredView=!0),(d=r.animationState)===null||d===void 0||d.setActive(ye.InView,h);var m=r.getProps(),y=h?m.onViewportEnter:m.onViewportLeave;y==null||y(f)}};return vA(r.getInstance(),u,c)}},[e,i,o,l])}function bA(e,t,r,n){var i=n.fallback,o=i===void 0?!0:i;O.useEffect(function(){!e||!o||requestAnimationFrame(function(){var a;t.hasEnteredView=!0;var l=r.getProps().onViewportEnter;l==null||l(null),(a=r.animationState)===null||a===void 0||a.setActive(ye.InView,!0)})},[e])}var yn=function(e){return function(t){return e(t),null}},xA={inView:yn(mA),tap:yn(dA),focus:yn(eA),hover:yn(cA)},CA=0,wA=function(){return CA++},Eb=function(){return Ha(wA)};function O1(){var e=O.useContext($a);if(e===null)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,i=Eb();O.useEffect(function(){return n(i)},[]);var o=function(){return r==null?void 0:r(i)};return!t&&r?[!1,o]:[!0]}function Pb(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}var SA=function(e){return/^\-?\d*\.?\d+$/.test(e)},kA=function(e){return/^0[^.\s]+$/.test(e)},_b=function(e){return function(t){return t.test(e)}},EA={test:function(e){return e==="auto"},parse:function(e){return e}},Tb=[Kn,Q,vr,vn,PT,ET,EA],al=function(e){return Tb.find(_b(e))},PA=er(er([],Le(Tb),!1),[dt,Ar],!1),_A=function(e){return PA.find(_b(e))};function TA(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Ji(r))}function MA(e,t){var r=Au(e,t),n=r?e.makeTargetAnimatable(r,!1):{},i=n.transitionEnd,o=i===void 0?{}:i;n.transition;var a=Tt(n,["transitionEnd","transition"]);a=N(N({},a),o);for(var l in a){var s=b3(a[l]);TA(e,l,s)}}function FA(e,t,r){var n,i,o,a,l=Object.keys(t).filter(function(h){return!e.hasValue(h)}),s=l.length;if(!!s)for(var u=0;u<s;u++){var c=l[u],f=t[c],d=null;Array.isArray(f)&&(d=f[0]),d===null&&(d=(i=(n=r[c])!==null&&n!==void 0?n:e.readValue(c))!==null&&i!==void 0?i:t[c]),d!=null&&(typeof d=="string"&&(SA(d)||kA(d))?d=parseFloat(d):!_A(d)&&Ar.test(f)&&(d=p1(c,f)),e.addValue(c,Ji(d)),(o=(a=r)[c])!==null&&o!==void 0||(a[c]=d),e.setBaseTarget(c,d))}}function AA(e,t){if(!!t){var r=t[e]||t.default||t;return r.from}}function OA(e,t,r){var n,i,o={};for(var a in e)o[a]=(n=AA(a,t))!==null&&n!==void 0?n:(i=r.getValue(a))===null||i===void 0?void 0:i.get();return o}function LA(e,t,r){r===void 0&&(r={}),e.notifyAnimationStart(t);var n;if(Array.isArray(t)){var i=t.map(function(a){return L1(e,a,r)});n=Promise.all(i)}else if(typeof t=="string")n=L1(e,t,r);else{var o=typeof t=="function"?Au(e,t,r.custom):t;n=Mb(e,o,r)}return n.then(function(){return e.notifyAnimationComplete(t)})}function L1(e,t,r){var n;r===void 0&&(r={});var i=Au(e,t,r.custom),o=(i||{}).transition,a=o===void 0?e.getDefaultTransition()||{}:o;r.transitionOverride&&(a=r.transitionOverride);var l=i?function(){return Mb(e,i,r)}:function(){return Promise.resolve()},s=!((n=e.variantChildren)===null||n===void 0)&&n.size?function(h){h===void 0&&(h=0);var m=a.delayChildren,y=m===void 0?0:m,v=a.staggerChildren,g=a.staggerDirection;return BA(e,t,y+h,v,g,r)}:function(){return Promise.resolve()},u=a.when;if(u){var c=Le(u==="beforeChildren"?[l,s]:[s,l],2),f=c[0],d=c[1];return f().then(d)}else return Promise.all([l(),s(r.delay)])}function Mb(e,t,r){var n,i=r===void 0?{}:r,o=i.delay,a=o===void 0?0:o,l=i.transitionOverride,s=i.type,u=e.makeTargetAnimatable(t),c=u.transition,f=c===void 0?e.getDefaultTransition():c,d=u.transitionEnd,h=Tt(u,["transition","transitionEnd"]);l&&(f=l);var m=[],y=s&&((n=e.animationState)===null||n===void 0?void 0:n.getState()[s]);for(var v in h){var g=e.getValue(v),b=h[v];if(!(!g||b===void 0||y&&RA(y,v))){var x=N({delay:a},f);e.shouldReduceMotion&&il(v)&&(x=N(N({},x),{type:!1,delay:0}));var C=v1(v,g,b,x);m.push(C)}}return Promise.all(m).then(function(){d&&MA(e,d)})}function BA(e,t,r,n,i,o){r===void 0&&(r=0),n===void 0&&(n=0),i===void 0&&(i=1);var a=[],l=(e.variantChildren.size-1)*n,s=i===1?function(u){return u===void 0&&(u=0),u*n}:function(u){return u===void 0&&(u=0),l-u*n};return Array.from(e.variantChildren).sort(VA).forEach(function(u,c){a.push(L1(u,t,N(N({},o),{delay:r+s(c)})).then(function(){return u.notifyAnimationComplete(t)}))}),Promise.all(a)}function VA(e,t){return e.sortNodePosition(t)}function RA(e,t){var r=e.protectedKeys,n=e.needsAnimating,i=r.hasOwnProperty(t)&&n[t]!==!0;return n[t]=!1,i}var B1=[ye.Animate,ye.InView,ye.Focus,ye.Hover,ye.Tap,ye.Drag,ye.Exit],IA=er([],Le(B1),!1).reverse(),$A=B1.length;function DA(e){return function(t){return Promise.all(t.map(function(r){var n=r.animation,i=r.options;return LA(e,n,i)}))}}function HA(e){var t=DA(e),r=NA(),n={},i=!0,o=function(c,f){var d=Au(e,f);if(d){d.transition;var h=d.transitionEnd,m=Tt(d,["transition","transitionEnd"]);c=N(N(N({},c),m),h)}return c};function a(c){return n[c]!==void 0}function l(c){t=c(e)}function s(c,f){for(var d,h=e.getProps(),m=e.getVariantContext(!0)||{},y=[],v=new Set,g={},b=1/0,x=function(P){var F=IA[P],M=r[F],I=(d=h[F])!==null&&d!==void 0?d:m[F],G=tr(I),U=F===f?M.isActive:null;U===!1&&(b=P);var Z=I===m[F]&&I!==h[F]&&G;if(Z&&i&&e.manuallyAnimateOnMount&&(Z=!1),M.protectedKeys=N({},g),!M.isActive&&U===null||!I&&!M.prevProp||E1(I)||typeof I=="boolean")return"continue";var X=zA(M.prevProp,I),K=X||F===f&&M.isActive&&!Z&&G||P>b&&G,ne=Array.isArray(I)?I:[I],ie=ne.reduce(o,{});U===!1&&(ie={});var Ve=M.prevResolvedValues,be=Ve===void 0?{}:Ve,Re=N(N({},be),ie),L=function(H){K=!0,v.delete(H),M.needsAnimating[H]=!0};for(var D in Re){var R=ie[D],$=be[D];g.hasOwnProperty(D)||(R!==$?Ja(R)&&Ja($)?!Pb(R,$)||X?L(D):M.protectedKeys[D]=!0:R!==void 0?L(D):v.add(D):R!==void 0&&v.has(D)?L(D):M.protectedKeys[D]=!0)}M.prevProp=I,M.prevResolvedValues=ie,M.isActive&&(g=N(N({},g),ie)),i&&e.blockInitialAnimation&&(K=!1),K&&!Z&&y.push.apply(y,er([],Le(ne.map(function(H){return{animation:H,options:N({type:F},c)}})),!1))},C=0;C<$A;C++)x(C);if(n=N({},g),v.size){var k={};v.forEach(function(P){var F=e.getBaseTarget(P);F!==void 0&&(k[P]=F)}),y.push({animation:k})}var E=Boolean(y.length);return i&&h.initial===!1&&!e.manuallyAnimateOnMount&&(E=!1),i=!1,E?t(y):Promise.resolve()}function u(c,f,d){var h;if(r[c].isActive===f)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(function(v){var g;return(g=v.animationState)===null||g===void 0?void 0:g.setActive(c,f)}),r[c].isActive=f;var m=s(d,c);for(var y in r)r[y].protectedKeys={};return m}return{isAnimated:a,animateChanges:s,setActive:u,setAnimateFunction:l,getState:function(){return r}}}function zA(e,t){return typeof t=="string"?t!==e:Ey(t)?!Pb(t,e):!1}function ei(e){return e===void 0&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function NA(){var e;return e={},e[ye.Animate]=ei(!0),e[ye.InView]=ei(),e[ye.Hover]=ei(),e[ye.Tap]=ei(),e[ye.Drag]=ei(),e[ye.Focus]=ei(),e[ye.Exit]=ei(),e}var jA={animation:yn(function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=HA(t)),E1(r)&&O.useEffect(function(){return r.subscribe(t)},[r])}),exit:yn(function(e){var t=e.custom,r=e.visualElement,n=Le(O1(),2),i=n[0],o=n[1],a=O.useContext($a);O.useEffect(function(){var l,s;r.isPresent=i;var u=(l=r.animationState)===null||l===void 0?void 0:l.setActive(ye.Exit,!i,{custom:(s=a==null?void 0:a.custom)!==null&&s!==void 0?s:t});!i&&(u==null||u.then(o))},[i])})},Fb=function(){function e(t,r,n){var i=this,o=n===void 0?{}:n,a=o.transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(!!(i.lastMoveEvent&&i.lastMoveEventInfo)){var d=R1(i.lastMoveEventInfo,i.history),h=i.startEvent!==null,m=u3(d.offset,{x:0,y:0})>=3;if(!(!h&&!m)){var y=d.point,v=W0().timestamp;i.history.push(N(N({},y),{timestamp:v}));var g=i.handlers,b=g.onStart,x=g.onMove;h||(b&&b(i.lastMoveEvent,d),i.startEvent=i.lastMoveEvent),x&&x(i.lastMoveEvent,d)}}},this.handlePointerMove=function(d,h){if(i.lastMoveEvent=d,i.lastMoveEventInfo=V1(h,i.transformPagePoint),hb(d)&&d.buttons===0){i.handlePointerUp(d,h);return}hr.update(i.updatePoint,!0)},this.handlePointerUp=function(d,h){i.end();var m=i.handlers,y=m.onEnd,v=m.onSessionEnd,g=R1(V1(h,i.transformPagePoint),i.history);i.startEvent&&y&&y(d,g),v&&v(d,g)},!(vb(t)&&t.touches.length>1)){this.handlers=r,this.transformPagePoint=a;var l=T1(t),s=V1(l,this.transformPagePoint),u=s.point,c=W0().timestamp;this.history=[N(N({},u),{timestamp:c})];var f=r.onSessionStart;f&&f(t,R1(s,this.history)),this.removeListeners=Ru(ro(window,"pointermove",this.handlePointerMove),ro(window,"pointerup",this.handlePointerUp),ro(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),ja.update(this.updatePoint)},e}();function V1(e,t){return t?{point:t(e.point)}:e}function Ab(e,t){return{x:e.x-t.x,y:e.y-t.y}}function R1(e,t){var r=e.point;return{point:r,delta:Ab(r,Ob(t)),offset:Ab(r,WA(t)),velocity:UA(t,.1)}}function WA(e){return e[0]}function Ob(e){return e[e.length-1]}function UA(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,i=Ob(e);r>=0&&(n=e[r],!(i.timestamp-n.timestamp>Uu(t)));)r--;if(!n)return{x:0,y:0};var o=(i.timestamp-n.timestamp)/1e3;if(o===0)return{x:0,y:0};var a={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function ZA(e,t,r){var n=t.min,i=t.max;return n!==void 0&&e<n?e=r?Be(n,e,r.min):Math.max(e,n):i!==void 0&&e>i&&(e=r?Be(i,e,r.max):Math.min(e,i)),e}function Lb(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function GA(e,t){var r=t.top,n=t.left,i=t.bottom,o=t.right;return{x:Lb(e.x,n,o),y:Lb(e.y,r,i)}}function Bb(e,t){var r,n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=Le([i,n],2),n=r[0],i=r[1]),{min:n,max:i}}function qA(e,t){return{x:Bb(e.x,t.x),y:Bb(e.y,t.y)}}function YA(e,t){var r=.5,n=Lr(e),i=Lr(t);return i>n?r=Wa(t.min,t.max-n,e.min):n>i&&(r=Wa(e.min,e.max-i,t.min)),Bu(0,1,r)}function XA(e,t){var r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var I1=.35;function KA(e){return e===void 0&&(e=I1),e===!1?e=0:e===!0&&(e=I1),{x:Vb(e,"left","right"),y:Vb(e,"top","bottom")}}function Vb(e,t,r){return{min:Rb(e,t),max:Rb(e,r)}}function Rb(e,t){var r;return typeof e=="number"?e:(r=e[t])!==null&&r!==void 0?r:0}function Ib(e){var t=e.top,r=e.left,n=e.right,i=e.bottom;return{x:{min:r,max:n},y:{min:t,max:i}}}function QA(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}function JA(e,t){if(!t)return e;var r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function $b(e,t){return Ib(JA(e.getBoundingClientRect(),t))}function eO(e,t,r){var n=$b(e,r),i=t.scroll;return i&&(eo(n.x,i.x),eo(n.y,i.y)),n}var tO=new WeakMap,rO=function(){function e(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=lt(),this.visualElement=t}return e.prototype.start=function(t,r){var n=this,i=r===void 0?{}:r,o=i.snapToCursor,a=o===void 0?!1:o;if(this.visualElement.isPresent!==!1){var l=function(f){n.stopAnimation(),a&&n.snapToCursor(T1(f,"page").point)},s=function(f,d){var h,m=n.getProps(),y=m.drag,v=m.dragPropagation,g=m.onDragStart;y&&!v&&(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=Cb(y),!n.openGlobalLock)||(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),gr(function(b){var x,C,k=n.getAxisMotionValue(b).get()||0;if(vr.test(k)){var E=(C=(x=n.visualElement.projection)===null||x===void 0?void 0:x.layout)===null||C===void 0?void 0:C.actual[b];if(E){var P=Lr(E);k=P*(parseFloat(k)/100)}}n.originPoint[b]=k}),g==null||g(f,d),(h=n.visualElement.animationState)===null||h===void 0||h.setActive(ye.Drag,!0))},u=function(f,d){var h=n.getProps(),m=h.dragPropagation,y=h.dragDirectionLock,v=h.onDirectionLock,g=h.onDrag;if(!(!m&&!n.openGlobalLock)){var b=d.offset;if(y&&n.currentDirection===null){n.currentDirection=nO(b),n.currentDirection!==null&&(v==null||v(n.currentDirection));return}n.updateAxis("x",d.point,b),n.updateAxis("y",d.point,b),n.visualElement.syncRender(),g==null||g(f,d)}},c=function(f,d){return n.stop(f,d)};this.panSession=new Fb(t,{onSessionStart:l,onStart:s,onMove:u,onSessionEnd:c},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(t,r){var n=this.isDragging;if(this.cancel(),!!n){var i=r.velocity;this.startAnimation(i);var o=this.getProps().onDragEnd;o==null||o(t,r)}},e.prototype.cancel=function(){var t,r;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;var n=this.getProps().dragPropagation;!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(r=this.visualElement.animationState)===null||r===void 0||r.setActive(ye.Drag,!1)},e.prototype.updateAxis=function(t,r,n){var i=this.getProps().drag;if(!(!n||!Qu(t,i,this.currentDirection))){var o=this.getAxisMotionValue(t),a=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(a=ZA(a,this.constraints[t],this.elastic[t])),o.set(a)}},e.prototype.resolveConstraints=function(){var t=this,r=this.getProps(),n=r.dragConstraints,i=r.dragElastic,o=(this.visualElement.projection||{}).layout,a=this.constraints;n&&Xi(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=GA(o.actual,n):this.constraints=!1,this.elastic=KA(i),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&gr(function(l){t.getAxisMotionValue(l)&&(t.constraints[l]=XA(o.actual[l],t.constraints[l]))})},e.prototype.resolveRefConstraints=function(){var t=this.getProps(),r=t.dragConstraints,n=t.onMeasureDragConstraints;if(!r||!Xi(r))return!1;var i=r.current,o=this.visualElement.projection;if(!o||!o.layout)return!1;var a=eO(i,o.root,this.visualElement.getTransformPagePoint()),l=qA(o.layout.actual,a);if(n){var s=n(QA(l));this.hasMutatedConstraints=!!s,s&&(l=Ib(s))}return l},e.prototype.startAnimation=function(t){var r=this,n=this.getProps(),i=n.drag,o=n.dragMomentum,a=n.dragElastic,l=n.dragTransition,s=n.dragSnapToOrigin,u=n.onDragTransitionEnd,c=this.constraints||{},f=gr(function(d){var h;if(!!Qu(d,i,r.currentDirection)){var m=(h=c==null?void 0:c[d])!==null&&h!==void 0?h:{};s&&(m={min:0,max:0});var y=a?200:1e6,v=a?40:1e7,g=N(N({type:"inertia",velocity:o?t[d]:0,bounceStiffness:y,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10},l),m);return r.startAxisValueAnimation(d,g)}});return Promise.all(f).then(u)},e.prototype.startAxisValueAnimation=function(t,r){var n=this.getAxisMotionValue(t);return v1(t,n,0,r)},e.prototype.stopAnimation=function(){var t=this;gr(function(r){return t.getAxisMotionValue(r).stop()})},e.prototype.getAxisMotionValue=function(t){var r,n,i="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[i];return o||this.visualElement.getValue(t,(n=(r=this.visualElement.getProps().initial)===null||r===void 0?void 0:r[t])!==null&&n!==void 0?n:0)},e.prototype.snapToCursor=function(t){var r=this;gr(function(n){var i=r.getProps().drag;if(!!Qu(n,i,r.currentDirection)){var o=r.visualElement.projection,a=r.getAxisMotionValue(n);if(o&&o.layout){var l=o.layout.actual[n],s=l.min,u=l.max;a.set(t[n]-Be(s,u,.5))}}})},e.prototype.scalePositionWithinConstraints=function(){var t=this,r,n=this.getProps(),i=n.drag,o=n.dragConstraints,a=this.visualElement.projection;if(!(!Xi(o)||!a||!this.constraints)){this.stopAnimation();var l={x:0,y:0};gr(function(u){var c=t.getAxisMotionValue(u);if(c){var f=c.get();l[u]=YA({min:f,max:f},t.constraints[u])}});var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",(r=a.root)===null||r===void 0||r.updateScroll(),a.updateLayout(),this.resolveConstraints(),gr(function(u){if(!!Qu(u,i,null)){var c=t.getAxisMotionValue(u),f=t.constraints[u],d=f.min,h=f.max;c.set(Be(d,h,l[u]))}})}},e.prototype.addListeners=function(){var t=this,r;tO.set(this.visualElement,this);var n=this.visualElement.getInstance(),i=ro(n,"pointerdown",function(u){var c=t.getProps(),f=c.drag,d=c.dragListener,h=d===void 0?!0:d;f&&h&&t.start(u)}),o=function(){var u=t.getProps().dragConstraints;Xi(u)&&(t.constraints=t.resolveRefConstraints())},a=this.visualElement.projection,l=a.addEventListener("measure",o);a&&!a.layout&&((r=a.root)===null||r===void 0||r.updateScroll(),a.updateLayout()),o();var s=P1(window,"resize",function(){t.scalePositionWithinConstraints()});return a.addEventListener("didUpdate",function(u){var c=u.delta,f=u.hasLayoutChanged;t.isDragging&&f&&(gr(function(d){var h=t.getAxisMotionValue(d);!h||(t.originPoint[d]+=c[d].translate,h.set(h.get()+c[d].translate))}),t.visualElement.syncRender())}),function(){s(),i(),l()}},e.prototype.getProps=function(){var t=this.visualElement.getProps(),r=t.drag,n=r===void 0?!1:r,i=t.dragDirectionLock,o=i===void 0?!1:i,a=t.dragPropagation,l=a===void 0?!1:a,s=t.dragConstraints,u=s===void 0?!1:s,c=t.dragElastic,f=c===void 0?I1:c,d=t.dragMomentum,h=d===void 0?!0:d;return N(N({},t),{drag:n,dragDirectionLock:o,dragPropagation:l,dragConstraints:u,dragElastic:f,dragMomentum:h})},e}();function Qu(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function nO(e,t){t===void 0&&(t=10);var r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}function iO(e){var t=e.dragControls,r=e.visualElement,n=Ha(function(){return new rO(r)});O.useEffect(function(){return t&&t.subscribe(n)},[n,t]),O.useEffect(function(){return n.addListeners()},[n])}function oO(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,i=e.onPanSessionStart,o=e.visualElement,a=t||r||n||i,l=O.useRef(null),s=O.useContext(D0).transformPagePoint,u={onSessionStart:i,onStart:r,onMove:t,onEnd:function(f,d){l.current=null,n&&n(f,d)}};O.useEffect(function(){l.current!==null&&l.current.updateHandlers(u)});function c(f){l.current=new Fb(f,u,{transformPagePoint:s})}Ku(o,"pointerdown",a&&c),M1(function(){return l.current&&l.current.end()})}var aO={pan:yn(oO),drag:yn(iO)},Ju=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function lO(){var e=Ju.map(function(){return new Qa}),t={},r={clearAllListeners:function(){return e.forEach(function(n){return n.clear()})},updatePropListeners:function(n){Ju.forEach(function(i){var o,a="on"+i,l=n[a];(o=t[i])===null||o===void 0||o.call(t),l&&(t[i]=r[a](l))})}};return e.forEach(function(n,i){r["on"+Ju[i]]=function(o){return n.add(o)},r["notify"+Ju[i]]=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];return n.notify.apply(n,er([],Le(o),!1))}}),r}function sO(e,t,r){var n;for(var i in t){var o=t[i],a=r[i];if(Or(o))e.addValue(i,o);else if(Or(a))e.addValue(i,Ji(o));else if(a!==o)if(e.hasValue(i)){var l=e.getValue(i);!l.hasAnimated&&l.set(o)}else e.addValue(i,Ji((n=e.getStaticValue(i))!==null&&n!==void 0?n:o))}for(var i in r)t[i]===void 0&&e.removeValue(i);return t}var Db=function(e){var t=e.treeType,r=t===void 0?"":t,n=e.build,i=e.getBaseTarget,o=e.makeTargetAnimatable,a=e.measureViewportBox,l=e.render,s=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,f=e.scrapeMotionValuesFromProps;return function(d,h){var m=d.parent,y=d.props,v=d.presenceId,g=d.blockInitialAnimation,b=d.visualState,x=d.shouldReduceMotion;h===void 0&&(h={});var C=!1,k=b.latestValues,E=b.renderState,P,F=lO(),M=new Map,I=new Map,G={},U=N({},k),Z;function X(){!P||!C||(K(),l(P,E,y.style,R.projection))}function K(){n(R,E,k,h,y)}function ne(){F.notifyUpdate(k)}function ie($,H){var te=H.onChange(function(xe){k[$]=xe,y.onUpdate&&hr.update(ne,!1,!0)}),ve=H.onRenderRequest(R.scheduleRender);I.set($,function(){te(),ve()})}var Ve=f(y);for(var be in Ve){var Re=Ve[be];k[be]!==void 0&&Or(Re)&&Re.set(k[be],!1)}var L=Ou(y),D=_y(y),R=N(N({treeType:r,current:null,depth:m?m.depth+1:0,parent:m,children:new Set,presenceId:v,shouldReduceMotion:x,variantChildren:D?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(m==null?void 0:m.isMounted()),blockInitialAnimation:g,isMounted:function(){return Boolean(P)},mount:function($){C=!0,P=R.current=$,R.projection&&R.projection.mount($),D&&m&&!L&&(Z=m==null?void 0:m.addVariantChild(R)),M.forEach(function(H,te){return ie(te,H)}),m==null||m.children.add(R),R.setProps(y)},unmount:function(){var $;($=R.projection)===null||$===void 0||$.unmount(),ja.update(ne),ja.render(X),I.forEach(function(H){return H()}),Z==null||Z(),m==null||m.children.delete(R),F.clearAllListeners(),P=void 0,C=!1},addVariantChild:function($){var H,te=R.getClosestVariantNode();if(te)return(H=te.variantChildren)===null||H===void 0||H.add($),function(){return te.variantChildren.delete($)}},sortNodePosition:function($){return!c||r!==$.treeType?0:c(R.getInstance(),$.getInstance())},getClosestVariantNode:function(){return D?R:m==null?void 0:m.getClosestVariantNode()},getLayoutId:function(){return y.layoutId},getInstance:function(){return P},getStaticValue:function($){return k[$]},setStaticValue:function($,H){return k[$]=H},getLatestValues:function(){return k},setVisibility:function($){R.isVisible!==$&&(R.isVisible=$,R.scheduleRender())},makeTargetAnimatable:function($,H){return H===void 0&&(H=!0),o(R,$,y,H)},measureViewportBox:function(){return a(P,y)},addValue:function($,H){R.hasValue($)&&R.removeValue($),M.set($,H),k[$]=H.get(),ie($,H)},removeValue:function($){var H;M.delete($),(H=I.get($))===null||H===void 0||H(),I.delete($),delete k[$],u($,E)},hasValue:function($){return M.has($)},getValue:function($,H){var te=M.get($);return te===void 0&&H!==void 0&&(te=Ji(H),R.addValue($,te)),te},forEachValue:function($){return M.forEach($)},readValue:function($){var H;return(H=k[$])!==null&&H!==void 0?H:s(P,$,h)},setBaseTarget:function($,H){U[$]=H},getBaseTarget:function($){if(i){var H=i(y,$);if(H!==void 0&&!Or(H))return H}return U[$]}},F),{build:function(){return K(),E},scheduleRender:function(){hr.render(X,!1,!0)},syncRender:X,setProps:function($){($.transformTemplate||y.transformTemplate)&&R.scheduleRender(),y=$,F.updatePropListeners($),G=sO(R,f(y),G)},getProps:function(){return y},getVariant:function($){var H;return(H=y.variants)===null||H===void 0?void 0:H[$]},getDefaultTransition:function(){return y.transition},getTransformPagePoint:function(){return y.transformPagePoint},getVariantContext:function($){if($===void 0&&($=!1),$)return m==null?void 0:m.getVariantContext();if(!L){var H=(m==null?void 0:m.getVariantContext())||{};return y.initial!==void 0&&(H.initial=y.initial),H}for(var te={},ve=0;ve<uO;ve++){var xe=Hb[ve],We=y[xe];(tr(We)||We===!1)&&(te[xe]=We)}return te}});return R}},Hb=er(["initial"],Le(B1),!1),uO=Hb.length;function $1(e){return typeof e=="string"&&e.startsWith("var(--")}var zb=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function cO(e){var t=zb.exec(e);if(!t)return[,];var r=Le(t,3),n=r[1],i=r[2];return[n,i]}function D1(e,t,r){var n=Le(cO(e),2),i=n[0],o=n[1];if(!!i){var a=window.getComputedStyle(t).getPropertyValue(i);return a?a.trim():$1(o)?D1(o,t):o}}function dO(e,t,r){var n,i=Tt(t,[]),o=e.getInstance();if(!(o instanceof Element))return{target:i,transitionEnd:r};r&&(r=N({},r)),e.forEachValue(function(u){var c=u.get();if(!!$1(c)){var f=D1(c,o);f&&u.set(f)}});for(var a in i){var l=i[a];if(!!$1(l)){var s=D1(l,o);!s||(i[a]=s,r&&((n=r[a])!==null&&n!==void 0||(r[a]=l)))}}return{target:i,transitionEnd:r}}var fO=new Set(["width","height","top","left","right","bottom","x","y"]),Nb=function(e){return fO.has(e)},pO=function(e){return Object.keys(e).some(Nb)},jb=function(e,t){e.set(t,!1),e.set(t)},Wb=function(e){return e===Kn||e===Q},Ub;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(Ub||(Ub={}));var Zb=function(e,t){return parseFloat(e.split(", ")[t])},Gb=function(e,t){return function(r,n){var i=n.transform;if(i==="none"||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return Zb(o[1],t);var a=i.match(/^matrix\((.+)\)$/);return a?Zb(a[1],e):0}},hO=new Set(["x","y","z"]),vO=nl.filter(function(e){return!hO.has(e)});function mO(e){var t=[];return vO.forEach(function(r){var n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.syncRender(),t}var qb={width:function(e,t){var r=e.x,n=t.paddingLeft,i=n===void 0?"0":n,o=t.paddingRight,a=o===void 0?"0":o;return r.max-r.min-parseFloat(i)-parseFloat(a)},height:function(e,t){var r=e.y,n=t.paddingTop,i=n===void 0?"0":n,o=t.paddingBottom,a=o===void 0?"0":o;return r.max-r.min-parseFloat(i)-parseFloat(a)},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:Gb(4,13),y:Gb(5,14)},gO=function(e,t,r){var n=t.measureViewportBox(),i=t.getInstance(),o=getComputedStyle(i),a=o.display,l={};a==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(function(u){l[u]=qb[u](n,o)}),t.syncRender();var s=t.measureViewportBox();return r.forEach(function(u){var c=t.getValue(u);jb(c,l[u]),e[u]=qb[u](s,o)}),e},yO=function(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n={}),t=N({},t),n=N({},n);var i=Object.keys(t).filter(Nb),o=[],a=!1,l=[];if(i.forEach(function(u){var c=e.getValue(u);if(!!e.hasValue(u)){var f=r[u],d=al(f),h=t[u],m;if(Ja(h)){var y=h.length,v=h[0]===null?1:0;f=h[v],d=al(f);for(var g=v;g<y;g++)m?Tu(al(h[g])===m):m=al(h[g])}else m=al(h);if(d!==m)if(Wb(d)&&Wb(m)){var b=c.get();typeof b=="string"&&c.set(parseFloat(b)),typeof h=="string"?t[u]=parseFloat(h):Array.isArray(h)&&m===Q&&(t[u]=h.map(parseFloat))}else(d==null?void 0:d.transform)&&(m==null?void 0:m.transform)&&(f===0||h===0)?f===0?c.set(m.transform(f)):t[u]=d.transform(h):(a||(o=mO(e),a=!0),l.push(u),n[u]=n[u]!==void 0?n[u]:t[u],jb(c,h))}}),l.length){var s=gO(t,e,l);return o.length&&o.forEach(function(u){var c=Le(u,2),f=c[0],d=c[1];e.getValue(f).set(d)}),e.syncRender(),{target:s,transitionEnd:n}}else return{target:t,transitionEnd:n}};function bO(e,t,r,n){return pO(t)?yO(e,t,r,n):{target:t,transitionEnd:n}}var xO=function(e,t,r,n){var i=dO(e,t,n);return t=i.target,n=i.transitionEnd,bO(e,t,r,n)};function CO(e){return window.getComputedStyle(e)}var Yb={treeType:"dom",readValueFromInstance:function(e,t){if(il(t)){var r=f1(t);return r&&r.default||0}else{var n=CO(e);return(rb(t)?n.getPropertyValue(t):n[t])||0}},sortNodePosition:function(e,t){return e.compareDocumentPosition(t)&2?1:-1},getBaseTarget:function(e,t){var r;return(r=e.style)===null||r===void 0?void 0:r[t]},measureViewportBox:function(e,t){var r=t.transformPagePoint;return $b(e,r)},resetTransform:function(e,t,r){var n=r.transformTemplate;t.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var r=t.vars,n=t.style;delete r[e],delete n[e]},makeTargetAnimatable:function(e,t,r,n){var i=r.transformValues;n===void 0&&(n=!0);var o=t.transition,a=t.transitionEnd,l=Tt(t,["transition","transitionEnd"]),s=OA(l,o||{},e);if(i&&(a&&(a=i(a)),l&&(l=i(l)),s&&(s=i(s))),n){FA(e,l,s);var u=xO(e,l,s,a);a=u.transitionEnd,l=u.target}return N({transition:o,transitionEnd:a},l)},scrapeMotionValuesFromProps:k1,build:function(e,t,r,n,i){e.isVisible!==void 0&&(t.style.visibility=e.isVisible?"visible":"hidden"),C1(t,r,n,i.transformTemplate)},render:sb},wO=Db(Yb),SO=Db(N(N({},Yb),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return il(t)?((r=f1(t))===null||r===void 0?void 0:r.default)||0:(t=ub.has(t)?t:lb(t),e.getAttribute(t))},scrapeMotionValuesFromProps:db,build:function(e,t,r,n,i){S1(t,r,n,i.transformTemplate)},render:cb})),kO=function(e,t){return x1(e)?SO(t,{enableHardwareAcceleration:!1}):wO(t,{enableHardwareAcceleration:!0})};function Xb(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var ll={correct:function(e,t){if(!t.target)return e;if(typeof e=="string")if(Q.test(e))e=parseFloat(e);else return e;var r=Xb(e,t.target.x),n=Xb(e,t.target.y);return"".concat(r,"% ").concat(n,"%")}},Kb="_$css",EO={correct:function(e,t){var r=t.treeScale,n=t.projectionDelta,i=e,o=e.includes("var("),a=[];o&&(e=e.replace(zb,function(y){return a.push(y),Kb}));var l=Ar.parse(e);if(l.length>5)return i;var s=Ar.createTransformer(e),u=typeof l[0]!="number"?1:0,c=n.x.scale*r.x,f=n.y.scale*r.y;l[0+u]/=c,l[1+u]/=f;var d=Be(c,f,.5);typeof l[2+u]=="number"&&(l[2+u]/=d),typeof l[3+u]=="number"&&(l[3+u]/=d);var h=s(l);if(o){var m=0;h=h.replace(Kb,function(){var y=a[m];return m++,y})}return h}},PO=function(e){Cy(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){var r=this,n=this.props,i=n.visualElement,o=n.layoutGroup,a=n.switchLayoutGroup,l=n.layoutId,s=i.projection;nF(TO),s&&(o!=null&&o.group&&o.group.add(s),(a==null?void 0:a.register)&&l&&a.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",function(){r.safeToRemove()}),s.setOptions(N(N({},s.options),{onExitComplete:function(){return r.safeToRemove()}}))),ol.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(r){var n=this,i=this.props,o=i.layoutDependency,a=i.visualElement,l=i.drag,s=i.isPresent,u=a.projection;return u&&(u.isPresent=s,l||r.layoutDependency!==o||o===void 0?u.willUpdate():this.safeToRemove(),r.isPresent!==s&&(s?u.promote():u.relegate()||hr.postRender(function(){var c;!((c=u.getStack())===null||c===void 0)&&c.members.length||n.safeToRemove()}))),null},t.prototype.componentDidUpdate=function(){var r=this.props.visualElement.projection;r&&(r.root.didUpdate(),!r.currentAnimation&&r.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var r=this.props,n=r.visualElement,i=r.layoutGroup,o=r.switchLayoutGroup,a=n.projection;a&&(a.scheduleCheckAfterUnmount(),i!=null&&i.group&&i.group.remove(a),o!=null&&o.deregister&&o.deregister(a))},t.prototype.safeToRemove=function(){var r=this.props.safeToRemove;r==null||r()},t.prototype.render=function(){return null},t}(Dr.default.Component);function _O(e){var t=Le(O1(),2),r=t[0],n=t[1],i=O.useContext(b1);return p(PO,{...N({},e,{layoutGroup:i,switchLayoutGroup:O.useContext(eb),isPresent:r,safeToRemove:n})})}var TO={borderRadius:N(N({},ll),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ll,borderTopRightRadius:ll,borderBottomLeftRadius:ll,borderBottomRightRadius:ll,boxShadow:EO},MO={measureLayout:_O},FO=q3({attachResizeListener:function(e,t){return e.addEventListener("resize",t,{passive:!0}),function(){return e.removeEventListener("resize",t)}},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}}}),H1={current:void 0},AO=q3({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!H1.current){var e=new FO(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),H1.current=e}return H1.current},resetTransform:function(e,t){e.style.transform=t!=null?t:"none"}}),OO=N(N(N(N({},jA),xA),aO),MO),ec=FF(function(e,t){return JF(e,t,OO,kO,AO)});function Qb(){var e=O.useRef(!1);return Fu(function(){return e.current=!0,function(){e.current=!1}},[]),e}function LO(){var e=Qb(),t=Le(O.useState(0),2),r=t[0],n=t[1],i=O.useCallback(function(){e.current&&n(r+1)},[r]),o=O.useCallback(function(){return hr.postRender(i)},[i]);return[o,r]}var z1=function(e){var t=e.children,r=e.initial,n=e.isPresent,i=e.onExitComplete,o=e.custom,a=e.presenceAffectsLayout,l=Ha(BO),s=Eb(),u=O.useMemo(function(){return{id:s,initial:r,isPresent:n,custom:o,onExitComplete:function(c){var f,d;l.set(c,!0);try{for(var h=Y_(l.values()),m=h.next();!m.done;m=h.next()){var y=m.value;if(!y)return}}catch(v){f={error:v}}finally{try{m&&!m.done&&(d=h.return)&&d.call(h)}finally{if(f)throw f.error}}i==null||i()},register:function(c){return l.set(c,!1),function(){return l.delete(c)}}}},a?void 0:[n]);return O.useMemo(function(){l.forEach(function(c,f){return l.set(f,!1)})},[n]),w.useEffect(function(){!n&&!l.size&&(i==null||i())},[n]),w.createElement($a.Provider,{value:u},t)};function BO(){return new Map}var no=function(e){return e.key||""};function VO(e,t){e.forEach(function(r){var n=no(r);t.set(n,r)})}function RO(e){var t=[];return O.Children.forEach(e,function(r){O.isValidElement(r)&&t.push(r)}),t}var N1=function(e){var t=e.children,r=e.custom,n=e.initial,i=n===void 0?!0:n,o=e.onExitComplete,a=e.exitBeforeEnter,l=e.presenceAffectsLayout,s=l===void 0?!0:l,u=Le(LO(),1),c=u[0],f=O.useContext(b1).forceRender;f&&(c=f);var d=Qb(),h=RO(t),m=h,y=new Set,v=O.useRef(m),g=O.useRef(new Map).current,b=O.useRef(!0);if(Fu(function(){b.current=!1,VO(h,g),v.current=m}),M1(function(){b.current=!0,g.clear(),y.clear()}),b.current)return w.createElement(w.Fragment,null,m.map(function(F){return w.createElement(z1,{key:no(F),isPresent:!0,initial:i?void 0:!1,presenceAffectsLayout:s},F)}));m=er([],Le(m),!1);for(var x=v.current.map(no),C=h.map(no),k=x.length,E=0;E<k;E++){var P=x[E];C.indexOf(P)===-1&&y.add(P)}return a&&y.size&&(m=[]),y.forEach(function(F){if(C.indexOf(F)===-1){var M=g.get(F);if(!!M){var I=x.indexOf(F),G=function(){g.delete(F),y.delete(F);var U=v.current.findIndex(function(Z){return Z.key===F});if(v.current.splice(U,1),!y.size){if(v.current=h,d.current===!1)return;c(),o&&o()}};m.splice(I,0,w.createElement(z1,{key:no(M),isPresent:!1,onExitComplete:G,custom:r,presenceAffectsLayout:s},M))}}}),m=m.map(function(F){var M=F.key;return y.has(M)?F:w.createElement(z1,{key:no(F),isPresent:!0,presenceAffectsLayout:s},F)}),w.createElement(w.Fragment,null,y.size?m:m.map(function(F){return O.cloneElement(F)}))};function IO(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Ht(){return Ht=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ht.apply(this,arguments)}var j1={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},sl={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function W1(e){var t,r=(t=e==null?void 0:e.direction)!=null?t:"right";switch(r){case"right":return sl.slideRight;case"left":return sl.slideLeft;case"bottom":return sl.slideDown;case"top":return sl.slideUp;default:return sl.slideRight}}var ti={enter:{duration:.2,ease:j1.easeOut},exit:{duration:.1,ease:j1.easeIn}},Br={enter:function(t,r){return Ht({},t,{delay:Fn(r)?r:r==null?void 0:r.enter})},exit:function(t,r){return Ht({},t,{delay:Fn(r)?r:r==null?void 0:r.exit})}},$O={enter:function(t){var r,n=t===void 0?{}:t,i=n.transition,o=n.transitionEnd,a=n.delay;return{opacity:1,transition:(r=i==null?void 0:i.enter)!=null?r:Br.enter(ti.enter,a),transitionEnd:o==null?void 0:o.enter}},exit:function(t){var r,n=t===void 0?{}:t,i=n.transition,o=n.transitionEnd,a=n.delay;return{opacity:0,transition:(r=i==null?void 0:i.exit)!=null?r:Br.exit(ti.exit,a),transitionEnd:o==null?void 0:o.exit}}},DO={initial:"exit",animate:"enter",exit:"exit",variants:$O},HO={exit:function(t){var r,n=t.reverse,i=t.initialScale,o=t.transition,a=t.transitionEnd,l=t.delay;return Ht({opacity:0},n?{scale:i,transitionEnd:a==null?void 0:a.exit}:{transitionEnd:Ht({scale:i},a==null?void 0:a.exit)},{transition:(r=o==null?void 0:o.exit)!=null?r:Br.exit(ti.exit,l)})},enter:function(t){var r,n=t.transitionEnd,i=t.transition,o=t.delay;return{opacity:1,scale:1,transition:(r=i==null?void 0:i.enter)!=null?r:Br.enter(ti.enter,o),transitionEnd:n==null?void 0:n.enter}}},zO={initial:"exit",animate:"enter",exit:"exit",variants:HO},NO=["direction","style","unmountOnExit","in","className","transition","transitionEnd","delay"],Jb={exit:{duration:.15,ease:j1.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},jO={exit:function(t){var r,n=t.direction,i=t.transition,o=t.transitionEnd,a=t.delay,l=W1({direction:n}),s=l.exit;return Ht({},s,{transition:(r=i==null?void 0:i.exit)!=null?r:Br.exit(Jb.exit,a),transitionEnd:o==null?void 0:o.exit})},enter:function(t){var r,n=t.direction,i=t.transitionEnd,o=t.transition,a=t.delay,l=W1({direction:n}),s=l.enter;return Ht({},s,{transition:(r=o==null?void 0:o.enter)!=null?r:Br.enter(Jb.enter,a),transitionEnd:i==null?void 0:i.enter})}},WO=w.forwardRef(function(e,t){var r=e.direction,n=r===void 0?"right":r,i=e.style,o=e.unmountOnExit,a=e.in,l=e.className,s=e.transition,u=e.transitionEnd,c=e.delay,f=IO(e,NO),d=W1({direction:n}),h=Object.assign({position:"fixed"},d.position,i),m=o?a&&o:!0,y=a||o?"enter":"exit",v={transitionEnd:u,transition:s,direction:n,delay:c};return w.createElement(N1,{custom:v},m&&w.createElement(ec.div,Ht({},f,{ref:t,initial:"exit",className:ze("chakra-slide",l),animate:y,exit:"exit",custom:v,variants:jO,style:h})))}),UO={initial:function(t){var r,n=t.offsetX,i=t.offsetY,o=t.transition,a=t.transitionEnd,l=t.delay;return{opacity:0,x:n,y:i,transition:(r=o==null?void 0:o.exit)!=null?r:Br.exit(ti.exit,l),transitionEnd:a==null?void 0:a.exit}},enter:function(t){var r,n=t.transition,i=t.transitionEnd,o=t.delay;return{opacity:1,x:0,y:0,transition:(r=n==null?void 0:n.enter)!=null?r:Br.enter(ti.enter,o),transitionEnd:i==null?void 0:i.enter}},exit:function(t){var r,n=t.offsetY,i=t.offsetX,o=t.transition,a=t.transitionEnd,l=t.reverse,s=t.delay,u={x:i,y:n};return Ht({opacity:0,transition:(r=o==null?void 0:o.exit)!=null?r:Br.exit(ti.exit,s)},l?Ht({},u,{transitionEnd:a==null?void 0:a.exit}):{transitionEnd:Ht({},u,a==null?void 0:a.exit)})}},e5={initial:"initial",animate:"enter",exit:"exit",variants:UO};function ri(){return ri=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ri.apply(this,arguments)}function t5(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function ZO(e){var t=e.loading,r=e.src,n=e.srcSet,i=e.onLoad,o=e.onError,a=e.crossOrigin,l=e.sizes,s=e.ignoreFallback,u=O.useState("pending"),c=u[0],f=u[1];O.useEffect(function(){f(r?"loading":"pending")},[r]);var d=O.useRef(),h=O.useCallback(function(){if(!!r){m();var y=new Image;y.src=r,a&&(y.crossOrigin=a),n&&(y.srcset=n),l&&(y.sizes=l),t&&(y.loading=t),y.onload=function(v){m(),f("loaded"),i==null||i(v)},y.onerror=function(v){m(),f("failed"),o==null||o(v)},d.current=y}},[r,a,n,l,i,o,t]),m=function(){d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return Ao(function(){if(!s)return c==="loading"&&h(),function(){m()}},[c,h,s]),s?"loaded":c}var GO=["htmlWidth","htmlHeight","alt"],qO=["fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],r5=w.forwardRef(function(e,t){var r=e.htmlWidth,n=e.htmlHeight,i=e.alt,o=t5(e,GO);return w.createElement("img",ri({width:r,height:n,ref:t,alt:i},o))}),YO=Fe(function(e,t){var r=e.fallbackSrc,n=e.fallback,i=e.src,o=e.srcSet,a=e.align,l=e.fit,s=e.loading,u=e.ignoreFallback,c=e.crossOrigin,f=t5(e,qO),d=s!=null||u||r===void 0&&n===void 0,h=ZO(ri({},e,{ignoreFallback:d})),m=ri({ref:t,objectFit:l,objectPosition:a},d?f:Yl(f,["onError","onLoad"]));return h!=="loaded"?n||w.createElement(re.img,ri({as:r5,className:"chakra-image__placeholder",src:r},m)):w.createElement(re.img,ri({as:r5,src:i,srcSet:o,crossOrigin:c,loading:s,className:"chakra-image"},m))}),n5={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},i5=re("span",{baseStyle:n5});re("input",{baseStyle:n5});function tc(){return tc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tc.apply(this,arguments)}function XO(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var KO=["label","thickness","speed","emptyColor","className"],QO=mi({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),JO=Fe(function(e,t){var r=dn("Spinner",e),n=cn(e),i=n.label,o=i===void 0?"Loading...":i,a=n.thickness,l=a===void 0?"2px":a,s=n.speed,u=s===void 0?"0.45s":s,c=n.emptyColor,f=c===void 0?"transparent":c,d=n.className,h=XO(n,KO),m=ze("chakra-spinner",d),y=tc({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:l,borderBottomColor:f,borderLeftColor:f,animation:QO+" "+u+" linear infinite"},r);return w.createElement(re.div,tc({ref:t,__css:y,className:m},h),o&&w.createElement(i5,null,o))});function U1(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function bn(){return bn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bn.apply(this,arguments)}var eL=An({strict:!1,name:"ButtonGroupContext"}),tL=eL[1],rL=["label","placement","spacing","children","className","__css"],o5=function(t){var r=t.label,n=t.placement,i=t.spacing,o=i===void 0?"0.5rem":i,a=t.children,l=a===void 0?w.createElement(JO,{color:"currentColor",width:"1em",height:"1em"}):a,s=t.className,u=t.__css,c=U1(t,rL),f=ze("chakra-button__spinner",s),d=n==="start"?"marginEnd":"marginStart",h=w.useMemo(function(){var m;return bn((m={display:"flex",alignItems:"center",position:r?"relative":"absolute"},m[d]=r?o:0,m.fontSize="1em",m.lineHeight="normal",m),u)},[u,r,d,o]);return w.createElement(re.div,bn({className:f},c,{__css:h}),l)},nL=["children","className"],a5=function(t){var r=t.children,n=t.className,i=U1(t,nL),o=w.isValidElement(r)?w.cloneElement(r,{"aria-hidden":!0,focusable:!1}):r,a=ze("chakra-button__icon",n);return w.createElement(re.span,bn({display:"inline-flex",alignSelf:"center",flexShrink:0},i,{className:a}),o)};function iL(e){var t=w.useState(!e),r=t[0],n=t[1],i=w.useCallback(function(a){!a||n(a.tagName==="BUTTON")},[]),o=r?"button":void 0;return{ref:i,type:o}}var oL=["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"],Z1=Fe(function(e,t){var r=tL(),n=dn("Button",bn({},r,e)),i=cn(e),o=i.isDisabled,a=o===void 0?r==null?void 0:r.isDisabled:o,l=i.isLoading,s=i.isActive,u=i.isFullWidth,c=i.children,f=i.leftIcon,d=i.rightIcon,h=i.loadingText,m=i.iconSpacing,y=m===void 0?"0.5rem":m,v=i.type,g=i.spinner,b=i.spinnerPlacement,x=b===void 0?"start":b,C=i.className,k=i.as,E=U1(i,oL),P=w.useMemo(function(){var U,Z=At({},(U=n==null?void 0:n._focus)!=null?U:{},{zIndex:1});return bn({display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",width:u?"100%":"auto"},n,!!r&&{_focus:Z})},[n,r,u]),F=iL(k),M=F.ref,I=F.type,G={rightIcon:d,leftIcon:f,iconSpacing:y,children:c};return w.createElement(re.button,bn({disabled:a||l,ref:Y8(t,M),as:k,type:v!=null?v:I,"data-active":av(s),"data-loading":av(l),__css:P,className:ze("chakra-button",C)},E),l&&x==="start"&&w.createElement(o5,{className:"chakra-button__spinner--start",label:h,placement:"start",spacing:y},g),l?h||w.createElement(re.span,{opacity:0},w.createElement(l5,G)):w.createElement(l5,G),l&&x==="end"&&w.createElement(o5,{className:"chakra-button__spinner--end",label:h,placement:"end",spacing:y},g))});function l5(e){var t=e.leftIcon,r=e.rightIcon,n=e.children,i=e.iconSpacing;return w.createElement(w.Fragment,null,t&&w.createElement(a5,{marginEnd:i},t),n,r&&w.createElement(a5,{marginStart:i},r))}function aL(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function ul(){return ul=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ul.apply(this,arguments)}var lL=["children","isDisabled","__css"],sL=function(t){return w.createElement(De,ul({focusable:"false","aria-hidden":!0},t),w.createElement("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"}))},uL=Fe(function(e,t){var r=dn("CloseButton",e),n=cn(e),i=n.children,o=n.isDisabled,a=n.__css,l=aL(n,lL),s={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return w.createElement(re.button,ul({type:"button","aria-label":"Close",ref:t,disabled:o,__css:ul({},s,r,a)},l),i||w.createElement(sL,{width:"1em",height:"1em"}))});function ft(){return ft=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ft.apply(this,arguments)}function xn(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var ee=re("div"),s5=re("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}}),cL=["direction","align","justify","wrap","basis","grow","shrink"],cl=Fe(function(e,t){var r=e.direction,n=e.align,i=e.justify,o=e.wrap,a=e.basis,l=e.grow,s=e.shrink,u=xn(e,cL),c={display:"flex",flexDirection:r,alignItems:n,justifyContent:i,flexWrap:o,flexBasis:a,flexGrow:l,flexShrink:s};return w.createElement(re.div,ft({ref:t,__css:c},u))}),dL=["className"],fL=Fe(function(e,t){var r=dn("Heading",e),n=cn(e);n.className;var i=xn(n,dL);return w.createElement(re.h2,ft({ref:t,className:ze("chakra-heading",e.className)},i,{__css:r}))}),pL=["className","isExternal"],rc=Fe(function(e,t){var r=dn("Link",e),n=cn(e),i=n.className,o=n.isExternal,a=xn(n,pL);return w.createElement(re.a,ft({target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:t,className:ze("chakra-link",i)},a,{__css:r}))}),hL=["children","styleType","stylePosition","spacing"],u5=An({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in a `<*List />` "}),vL=u5[0],mL=u5[1],gL=Fe(function(e,t){var r,n=Ng("List",e),i=cn(e),o=i.children,a=i.styleType,l=a===void 0?"none":a,s=i.stylePosition,u=i.spacing,c=xn(i,hL),f=dv(o),d="& > *:not(style) ~ *:not(style)",h=u?(r={},r[d]={mt:u},r):{};return w.createElement(vL,{value:n},w.createElement(re.ul,ft({ref:t,listStyleType:l,listStylePosition:s,role:"list",__css:ft({},n.container,h)},c),f))}),yL=Fe(function(e,t){var r=mL();return w.createElement(re.li,ft({ref:t},e,{__css:r.item}))});re("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});var G1="& > *:not(style) ~ *:not(style)";function bL(e){var t,r=e.spacing,n=e.direction,i={column:{marginTop:r,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:r},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:r,marginStart:0},"row-reverse":{marginTop:0,marginEnd:r,marginBottom:0,marginStart:0}};return t={flexDirection:n},t[G1]=cv(n,function(o){return i[o]}),t}function xL(e){var t=e.spacing,r=e.direction,n={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{"&":cv(r,function(i){return n[i]})}}var CL=["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"],wL=function(t){return w.createElement(re.div,ft({className:"chakra-stack__item"},t,{__css:ft({display:"inline-block",flex:"0 0 auto",minWidth:0},t.__css)}))},c5=Fe(function(e,t){var r,n=e.isInline,i=e.direction,o=e.align,a=e.justify,l=e.spacing,s=l===void 0?"0.5rem":l,u=e.wrap,c=e.children,f=e.divider,d=e.className,h=e.shouldWrapChildren,m=xn(e,CL),y=n?"row":i!=null?i:"column",v=w.useMemo(function(){return bL({direction:y,spacing:s})},[y,s]),g=w.useMemo(function(){return xL({spacing:s,direction:y})},[s,y]),b=!!f,x=!h&&!b,C=dv(c),k=x?C:C.map(function(P,F){var M=typeof P.key!="undefined"?P.key:F,I=F+1===C.length,G=w.createElement(wL,{key:M},P),U=h?G:P;if(!b)return U;var Z=w.cloneElement(f,{__css:g}),X=I?null:Z;return w.createElement(w.Fragment,{key:M},U,X)}),E=ze("chakra-stack",d);return w.createElement(re.div,ft({ref:t,display:"flex",alignItems:o,justifyContent:a,flexDirection:v.flexDirection,flexWrap:u,className:E,__css:b?{}:(r={},r[G1]=v[G1],r)},m),k)}),SL=Fe(function(e,t){return w.createElement(c5,ft({align:"center"},e,{direction:"row",ref:t}))}),kL=["className","align","decoration","casing"],et=Fe(function(e,t){var r=dn("Text",e),n=cn(e);n.className,n.align,n.decoration,n.casing;var i=xn(n,kL),o=Kc({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return w.createElement(re.p,ft({ref:t,className:ze("chakra-text",e.className)},o,i,{__css:r}))}),EL=["isExternal","target","rel","className"],PL=["className"],d5=Fe(function(e,t){var r=e.isExternal,n=e.target,i=e.rel,o=e.className,a=xn(e,EL);return w.createElement(re.a,ft({},a,{ref:t,className:ze("chakra-linkbox__overlay",o),rel:r?"noopener noreferrer":i,target:r?"_blank":n,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:1,width:"100%",height:"100%"}}}))}),_L=Fe(function(e,t){var r=e.className,n=xn(e,PL);return w.createElement(re.div,ft({ref:t,position:"relative"},n,{className:ze("chakra-linkbox",r),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title], button":{position:"relative",zIndex:1}}}))}),TL=zr?w.useLayoutEffect:w.useEffect;function f5(e){var t=mg(),r=Array.isArray(e)?e:[e],n=zr&&"matchMedia"in t.window,i=w.useState(r.map(function(l){return n?!!t.window.matchMedia(l).matches:!1})),o=i[0],a=i[1];return TL(function(){if(!!n){var l=r.map(function(u){return t.window.matchMedia(u)}),s=l.map(function(u,c){var f=function(h){var m=l.findIndex(function(y){return y.media===h.media});a(function(y){var v=y.map(function(g){return g});return v[m]=h.matches,v})};return typeof l[c].addEventListener=="function"?l[c].addEventListener("change",f):l[c].addListener(f),f});return function(){l.forEach(function(u,c){typeof l[c].removeEventListener=="function"?l[c].removeEventListener("change",s[c]):l[c].removeListener(s[c])})}}},[]),o}var bt="top",zt="bottom",Nt="right",xt="left",q1="auto",dl=[bt,zt,Nt,xt],io="start",fl="end",ML="clippingParents",p5="viewport",pl="popper",FL="reference",h5=dl.reduce(function(e,t){return e.concat([t+"-"+io,t+"-"+fl])},[]),v5=[].concat(dl,[q1]).reduce(function(e,t){return e.concat([t,t+"-"+io,t+"-"+fl])},[]),AL="beforeRead",OL="read",LL="afterRead",BL="beforeMain",VL="main",RL="afterMain",IL="beforeWrite",$L="write",DL="afterWrite",HL=[AL,OL,LL,BL,VL,RL,IL,$L,DL];function yr(e){return e?(e.nodeName||"").toLowerCase():null}function Mt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ni(e){var t=Mt(e).Element;return e instanceof t||e instanceof Element}function jt(e){var t=Mt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Y1(e){if(typeof ShadowRoot=="undefined")return!1;var t=Mt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function zL(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},o=t.elements[r];!jt(o)||!yr(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(a){var l=i[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function NL(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],o=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),l=a.reduce(function(s,u){return s[u]="",s},{});!jt(i)||!yr(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(s){i.removeAttribute(s)}))})}}var jL={name:"applyStyles",enabled:!0,phase:"write",fn:zL,effect:NL,requires:["computeStyles"]};function br(e){return e.split("-")[0]}var ii=Math.max,nc=Math.min,oo=Math.round;function X1(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function m5(){return!/^((?!chrome|android).)*safari/i.test(X1())}function ao(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,o=1;t&&jt(e)&&(i=e.offsetWidth>0&&oo(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&oo(n.height)/e.offsetHeight||1);var a=ni(e)?Mt(e):window,l=a.visualViewport,s=!m5()&&r,u=(n.left+(s&&l?l.offsetLeft:0))/i,c=(n.top+(s&&l?l.offsetTop:0))/o,f=n.width/i,d=n.height/o;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function K1(e){var t=ao(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function g5(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Y1(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Vr(e){return Mt(e).getComputedStyle(e)}function WL(e){return["table","td","th"].indexOf(yr(e))>=0}function Cn(e){return((ni(e)?e.ownerDocument:e.document)||window.document).documentElement}function ic(e){return yr(e)==="html"?e:e.assignedSlot||e.parentNode||(Y1(e)?e.host:null)||Cn(e)}function y5(e){return!jt(e)||Vr(e).position==="fixed"?null:e.offsetParent}function UL(e){var t=/firefox/i.test(X1()),r=/Trident/i.test(X1());if(r&&jt(e)){var n=Vr(e);if(n.position==="fixed")return null}var i=ic(e);for(Y1(i)&&(i=i.host);jt(i)&&["html","body"].indexOf(yr(i))<0;){var o=Vr(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function hl(e){for(var t=Mt(e),r=y5(e);r&&WL(r)&&Vr(r).position==="static";)r=y5(r);return r&&(yr(r)==="html"||yr(r)==="body"&&Vr(r).position==="static")?t:r||UL(e)||t}function Q1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function vl(e,t,r){return ii(e,nc(t,r))}function ZL(e,t,r){var n=vl(e,t,r);return n>r?r:n}function b5(){return{top:0,right:0,bottom:0,left:0}}function x5(e){return Object.assign({},b5(),e)}function C5(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var GL=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,x5(typeof t!="number"?t:C5(t,dl))};function qL(e){var t,r=e.state,n=e.name,i=e.options,o=r.elements.arrow,a=r.modifiersData.popperOffsets,l=br(r.placement),s=Q1(l),u=[xt,Nt].indexOf(l)>=0,c=u?"height":"width";if(!(!o||!a)){var f=GL(i.padding,r),d=K1(o),h=s==="y"?bt:xt,m=s==="y"?zt:Nt,y=r.rects.reference[c]+r.rects.reference[s]-a[s]-r.rects.popper[c],v=a[s]-r.rects.reference[s],g=hl(o),b=g?s==="y"?g.clientHeight||0:g.clientWidth||0:0,x=y/2-v/2,C=f[h],k=b-d[c]-f[m],E=b/2-d[c]/2+x,P=vl(C,E,k),F=s;r.modifiersData[n]=(t={},t[F]=P,t.centerOffset=P-E,t)}}function YL(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!g5(t.elements.popper,i)||(t.elements.arrow=i))}var XL={name:"arrow",enabled:!0,phase:"main",fn:qL,effect:YL,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function lo(e){return e.split("-")[1]}var KL={top:"auto",right:"auto",bottom:"auto",left:"auto"};function QL(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:oo(r*i)/i||0,y:oo(n*i)/i||0}}function w5(e){var t,r=e.popper,n=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=a.x,h=d===void 0?0:d,m=a.y,y=m===void 0?0:m,v=typeof c=="function"?c({x:h,y}):{x:h,y};h=v.x,y=v.y;var g=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),x=xt,C=bt,k=window;if(u){var E=hl(r),P="clientHeight",F="clientWidth";if(E===Mt(r)&&(E=Cn(r),Vr(E).position!=="static"&&l==="absolute"&&(P="scrollHeight",F="scrollWidth")),E=E,i===bt||(i===xt||i===Nt)&&o===fl){C=zt;var M=f&&E===k&&k.visualViewport?k.visualViewport.height:E[P];y-=M-n.height,y*=s?1:-1}if(i===xt||(i===bt||i===zt)&&o===fl){x=Nt;var I=f&&E===k&&k.visualViewport?k.visualViewport.width:E[F];h-=I-n.width,h*=s?1:-1}}var G=Object.assign({position:l},u&&KL),U=c===!0?QL({x:h,y},Mt(r)):{x:h,y};if(h=U.x,y=U.y,s){var Z;return Object.assign({},G,(Z={},Z[C]=b?"0":"",Z[x]=g?"0":"",Z.transform=(k.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",Z))}return Object.assign({},G,(t={},t[C]=b?y+"px":"",t[x]=g?h+"px":"",t.transform="",t))}function JL(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,o=r.adaptive,a=o===void 0?!0:o,l=r.roundOffsets,s=l===void 0?!0:l,u={placement:br(t.placement),variation:lo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,w5(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,w5(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var eB={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:JL,data:{}},oc={passive:!0};function tB(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=i===void 0?!0:i,a=n.resize,l=a===void 0?!0:a,s=Mt(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",r.update,oc)}),l&&s.addEventListener("resize",r.update,oc),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",r.update,oc)}),l&&s.removeEventListener("resize",r.update,oc)}}var rB={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:tB,data:{}},nB={left:"right",right:"left",bottom:"top",top:"bottom"};function ac(e){return e.replace(/left|right|bottom|top/g,function(t){return nB[t]})}var iB={start:"end",end:"start"};function S5(e){return e.replace(/start|end/g,function(t){return iB[t]})}function J1(e){var t=Mt(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function ep(e){return ao(Cn(e)).left+J1(e).scrollLeft}function oB(e,t){var r=Mt(e),n=Cn(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,l=0,s=0;if(i){o=i.width,a=i.height;var u=m5();(u||!u&&t==="fixed")&&(l=i.offsetLeft,s=i.offsetTop)}return{width:o,height:a,x:l+ep(e),y:s}}function aB(e){var t,r=Cn(e),n=J1(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=ii(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=ii(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-n.scrollLeft+ep(e),s=-n.scrollTop;return Vr(i||r).direction==="rtl"&&(l+=ii(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:l,y:s}}function tp(e){var t=Vr(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function k5(e){return["html","body","#document"].indexOf(yr(e))>=0?e.ownerDocument.body:jt(e)&&tp(e)?e:k5(ic(e))}function ml(e,t){var r;t===void 0&&(t=[]);var n=k5(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),o=Mt(n),a=i?[o].concat(o.visualViewport||[],tp(n)?n:[]):n,l=t.concat(a);return i?l:l.concat(ml(ic(a)))}function rp(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function lB(e,t){var r=ao(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function E5(e,t,r){return t===p5?rp(oB(e,r)):ni(t)?lB(t,r):rp(aB(Cn(e)))}function sB(e){var t=ml(ic(e)),r=["absolute","fixed"].indexOf(Vr(e).position)>=0,n=r&&jt(e)?hl(e):e;return ni(n)?t.filter(function(i){return ni(i)&&g5(i,n)&&yr(i)!=="body"}):[]}function uB(e,t,r,n){var i=t==="clippingParents"?sB(e):[].concat(t),o=[].concat(i,[r]),a=o[0],l=o.reduce(function(s,u){var c=E5(e,u,n);return s.top=ii(c.top,s.top),s.right=nc(c.right,s.right),s.bottom=nc(c.bottom,s.bottom),s.left=ii(c.left,s.left),s},E5(e,a,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function P5(e){var t=e.reference,r=e.element,n=e.placement,i=n?br(n):null,o=n?lo(n):null,a=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,s;switch(i){case bt:s={x:a,y:t.y-r.height};break;case zt:s={x:a,y:t.y+t.height};break;case Nt:s={x:t.x+t.width,y:l};break;case xt:s={x:t.x-r.width,y:l};break;default:s={x:t.x,y:t.y}}var u=i?Q1(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case io:s[u]=s[u]-(t[c]/2-r[c]/2);break;case fl:s[u]=s[u]+(t[c]/2-r[c]/2);break}}return s}function gl(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,o=r.strategy,a=o===void 0?e.strategy:o,l=r.boundary,s=l===void 0?ML:l,u=r.rootBoundary,c=u===void 0?p5:u,f=r.elementContext,d=f===void 0?pl:f,h=r.altBoundary,m=h===void 0?!1:h,y=r.padding,v=y===void 0?0:y,g=x5(typeof v!="number"?v:C5(v,dl)),b=d===pl?FL:pl,x=e.rects.popper,C=e.elements[m?b:d],k=uB(ni(C)?C:C.contextElement||Cn(e.elements.popper),s,c,a),E=ao(e.elements.reference),P=P5({reference:E,element:x,strategy:"absolute",placement:i}),F=rp(Object.assign({},x,P)),M=d===pl?F:E,I={top:k.top-M.top+g.top,bottom:M.bottom-k.bottom+g.bottom,left:k.left-M.left+g.left,right:M.right-k.right+g.right},G=e.modifiersData.offset;if(d===pl&&G){var U=G[i];Object.keys(I).forEach(function(Z){var X=[Nt,zt].indexOf(Z)>=0?1:-1,K=[bt,zt].indexOf(Z)>=0?"y":"x";I[Z]+=U[K]*X})}return I}function cB(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,l=r.flipVariations,s=r.allowedAutoPlacements,u=s===void 0?v5:s,c=lo(n),f=c?l?h5:h5.filter(function(m){return lo(m)===c}):dl,d=f.filter(function(m){return u.indexOf(m)>=0});d.length===0&&(d=f);var h=d.reduce(function(m,y){return m[y]=gl(e,{placement:y,boundary:i,rootBoundary:o,padding:a})[br(y)],m},{});return Object.keys(h).sort(function(m,y){return h[m]-h[y]})}function dB(e){if(br(e)===q1)return[];var t=ac(e);return[S5(e),t,S5(t)]}function fB(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,l=a===void 0?!0:a,s=r.fallbackPlacements,u=r.padding,c=r.boundary,f=r.rootBoundary,d=r.altBoundary,h=r.flipVariations,m=h===void 0?!0:h,y=r.allowedAutoPlacements,v=t.options.placement,g=br(v),b=g===v,x=s||(b||!m?[ac(v)]:dB(v)),C=[v].concat(x).reduce(function($,H){return $.concat(br(H)===q1?cB(t,{placement:H,boundary:c,rootBoundary:f,padding:u,flipVariations:m,allowedAutoPlacements:y}):H)},[]),k=t.rects.reference,E=t.rects.popper,P=new Map,F=!0,M=C[0],I=0;I<C.length;I++){var G=C[I],U=br(G),Z=lo(G)===io,X=[bt,zt].indexOf(U)>=0,K=X?"width":"height",ne=gl(t,{placement:G,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),ie=X?Z?Nt:xt:Z?zt:bt;k[K]>E[K]&&(ie=ac(ie));var Ve=ac(ie),be=[];if(o&&be.push(ne[U]<=0),l&&be.push(ne[ie]<=0,ne[Ve]<=0),be.every(function($){return $})){M=G,F=!1;break}P.set(G,be)}if(F)for(var Re=m?3:1,L=function(H){var te=C.find(function(ve){var xe=P.get(ve);if(xe)return xe.slice(0,H).every(function(We){return We})});if(te)return M=te,"break"},D=Re;D>0;D--){var R=L(D);if(R==="break")break}t.placement!==M&&(t.modifiersData[n]._skip=!0,t.placement=M,t.reset=!0)}}var pB={name:"flip",enabled:!0,phase:"main",fn:fB,requiresIfExists:["offset"],data:{_skip:!1}};function _5(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function T5(e){return[bt,Nt,zt,xt].some(function(t){return e[t]>=0})}function hB(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=gl(t,{elementContext:"reference"}),l=gl(t,{altBoundary:!0}),s=_5(a,n),u=_5(l,i,o),c=T5(s),f=T5(u);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}var vB={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hB};function mB(e,t,r){var n=br(e),i=[xt,bt].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=o[0],l=o[1];return a=a||0,l=(l||0)*i,[xt,Nt].indexOf(n)>=0?{x:l,y:a}:{x:a,y:l}}function gB(e){var t=e.state,r=e.options,n=e.name,i=r.offset,o=i===void 0?[0,0]:i,a=v5.reduce(function(c,f){return c[f]=mB(f,t.rects,o),c},{}),l=a[t.placement],s=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=a}var yB={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:gB};function bB(e){var t=e.state,r=e.name;t.modifiersData[r]=P5({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var xB={name:"popperOffsets",enabled:!0,phase:"read",fn:bB,data:{}};function CB(e){return e==="x"?"y":"x"}function wB(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,l=a===void 0?!1:a,s=r.boundary,u=r.rootBoundary,c=r.altBoundary,f=r.padding,d=r.tether,h=d===void 0?!0:d,m=r.tetherOffset,y=m===void 0?0:m,v=gl(t,{boundary:s,rootBoundary:u,padding:f,altBoundary:c}),g=br(t.placement),b=lo(t.placement),x=!b,C=Q1(g),k=CB(C),E=t.modifiersData.popperOffsets,P=t.rects.reference,F=t.rects.popper,M=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,I=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),G=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,U={x:0,y:0};if(!!E){if(o){var Z,X=C==="y"?bt:xt,K=C==="y"?zt:Nt,ne=C==="y"?"height":"width",ie=E[C],Ve=ie+v[X],be=ie-v[K],Re=h?-F[ne]/2:0,L=b===io?P[ne]:F[ne],D=b===io?-F[ne]:-P[ne],R=t.elements.arrow,$=h&&R?K1(R):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:b5(),te=H[X],ve=H[K],xe=vl(0,P[ne],$[ne]),We=x?P[ne]/2-Re-xe-te-I.mainAxis:L-xe-te-I.mainAxis,li=x?-P[ne]/2+Re+xe+ve+I.mainAxis:D+xe+ve+I.mainAxis,_n=t.elements.arrow&&hl(t.elements.arrow),Ee=_n?C==="y"?_n.clientTop||0:_n.clientLeft||0:0,st=(Z=G==null?void 0:G[C])!=null?Z:0,Wt=ie+We-st-Ee,vh=ie+li-st,Mc=vl(h?nc(Ve,Wt):Ve,ie,h?ii(be,vh):be);E[C]=Mc,U[C]=Mc-ie}if(l){var Fc,mh=C==="x"?bt:xt,gh=C==="x"?zt:Nt,Ut=E[k],Tn=k==="y"?"height":"width",si=Ut+v[mh],Zt=Ut-v[gh],xo=[bt,xt].indexOf(g)!==-1,El=(Fc=G==null?void 0:G[k])!=null?Fc:0,Ac=xo?si:Ut-P[Tn]-F[Tn]-El+I.altAxis,Oc=xo?Ut+P[Tn]+F[Tn]-El-I.altAxis:Zt,ui=h&&xo?ZL(Ac,Ut,Oc):vl(h?Ac:si,Ut,h?Oc:Zt);E[k]=ui,U[k]=ui-Ut}t.modifiersData[n]=U}}var SB={name:"preventOverflow",enabled:!0,phase:"main",fn:wB,requiresIfExists:["offset"]};function kB(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function EB(e){return e===Mt(e)||!jt(e)?J1(e):kB(e)}function PB(e){var t=e.getBoundingClientRect(),r=oo(t.width)/e.offsetWidth||1,n=oo(t.height)/e.offsetHeight||1;return r!==1||n!==1}function _B(e,t,r){r===void 0&&(r=!1);var n=jt(t),i=jt(t)&&PB(t),o=Cn(t),a=ao(e,i,r),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((yr(t)!=="body"||tp(o))&&(l=EB(t)),jt(t)?(s=ao(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=ep(o))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function TB(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function i(o){r.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!r.has(l)){var s=t.get(l);s&&i(s)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||i(o)}),n}function MB(e){var t=TB(e);return HL.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function FB(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function AB(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var M5={placement:"bottom",modifiers:[],strategy:"absolute"};function F5(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function OB(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,o=i===void 0?M5:i;return function(l,s,u){u===void 0&&(u=o);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},M5,o),modifiersData:{},elements:{reference:l,popper:s},attributes:{},styles:{}},f=[],d=!1,h={state:c,setOptions:function(g){var b=typeof g=="function"?g(c.options):g;y(),c.options=Object.assign({},o,c.options,b),c.scrollParents={reference:ni(l)?ml(l):l.contextElement?ml(l.contextElement):[],popper:ml(s)};var x=MB(AB([].concat(n,c.options.modifiers)));return c.orderedModifiers=x.filter(function(C){return C.enabled}),m(),h.update()},forceUpdate:function(){if(!d){var g=c.elements,b=g.reference,x=g.popper;if(!!F5(b,x)){c.rects={reference:_B(b,hl(x),c.options.strategy==="fixed"),popper:K1(x)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(I){return c.modifiersData[I.name]=Object.assign({},I.data)});for(var C=0;C<c.orderedModifiers.length;C++){if(c.reset===!0){c.reset=!1,C=-1;continue}var k=c.orderedModifiers[C],E=k.fn,P=k.options,F=P===void 0?{}:P,M=k.name;typeof E=="function"&&(c=E({state:c,options:F,name:M,instance:h})||c)}}}},update:FB(function(){return new Promise(function(v){h.forceUpdate(),v(c)})}),destroy:function(){y(),d=!0}};if(!F5(l,s))return h;h.setOptions(u).then(function(v){!d&&u.onFirstUpdate&&u.onFirstUpdate(v)});function m(){c.orderedModifiers.forEach(function(v){var g=v.name,b=v.options,x=b===void 0?{}:b,C=v.effect;if(typeof C=="function"){var k=C({state:c,name:g,instance:h,options:x}),E=function(){};f.push(k||E)}})}function y(){f.forEach(function(v){return v()}),f=[]}return h}}var LB=[rB,xB,eB,jL,yB,pB,SB,XL,vB],BB=OB({defaultModifiers:LB});function VB(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function rr(){return rr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rr.apply(this,arguments)}var so=function(t,r){return{var:t,varRef:r?"var("+t+", "+r+")":"var("+t+")"}},tt={arrowShadowColor:so("--popper-arrow-shadow-color"),arrowSize:so("--popper-arrow-size","8px"),arrowSizeHalf:so("--popper-arrow-size-half"),arrowBg:so("--popper-arrow-bg"),transformOrigin:so("--popper-transform-origin"),arrowOffset:so("--popper-arrow-offset")};function RB(e){if(e.includes("top"))return"1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 1px 0 var(--popper-arrow-shadow-color)"}var IB={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"},$B=function(t){return IB[t]},A5={scroll:!0,resize:!0};function DB(e){var t;return typeof e=="object"?t={enabled:!0,options:rr({},A5,e)}:t={enabled:e,options:A5},t}var HB={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var r=t.state;r.styles.popper.width=r.rects.reference.width+"px"},effect:function(t){var r=t.state;return function(){var n=r.elements.reference;r.elements.popper.style.width=n.offsetWidth+"px"}}},zB={name:"transformOrigin",enabled:!0,phase:"write",fn:function(t){var r=t.state;O5(r)},effect:function(t){var r=t.state;return function(){O5(r)}}},O5=function(t){t.elements.popper.style.setProperty(tt.transformOrigin.var,$B(t.placement))},NB={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:function(t){var r=t.state;jB(r)}},jB=function(t){var r;if(!!t.placement){var n=WB(t.placement);if((r=t.elements)!=null&&r.arrow&&n){var i,o;Object.assign(t.elements.arrow.style,(i={},i[n.property]=n.value,i.width=tt.arrowSize.varRef,i.height=tt.arrowSize.varRef,i.zIndex=-1,i));var a=(o={},o[tt.arrowSizeHalf.var]="calc("+tt.arrowSize.varRef+" / 2)",o[tt.arrowOffset.var]="calc("+tt.arrowSizeHalf.varRef+" * -1)",o);for(var l in a)t.elements.arrow.style.setProperty(l,a[l])}}},WB=function(t){if(t.startsWith("top"))return{property:"bottom",value:tt.arrowOffset.varRef};if(t.startsWith("bottom"))return{property:"top",value:tt.arrowOffset.varRef};if(t.startsWith("left"))return{property:"right",value:tt.arrowOffset.varRef};if(t.startsWith("right"))return{property:"left",value:tt.arrowOffset.varRef}},UB={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:function(t){var r=t.state;L5(r)},effect:function(t){var r=t.state;return function(){L5(r)}}},L5=function(t){if(!!t.elements.arrow){var r=t.elements.arrow.querySelector("[data-popper-arrow-inner]");!r||Object.assign(r.style,{transform:"rotate(45deg)",background:tt.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:RB(t.placement)})}},ZB={"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"}},GB={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function qB(e,t){var r,n;t===void 0&&(t="ltr");var i=((r=ZB[e])==null?void 0:r[t])||e;return t==="ltr"?i:(n=GB[e])!=null?n:i}var YB=["size","shadowColor","bg","style"];function XB(e){e===void 0&&(e={});var t=e,r=t.enabled,n=r===void 0?!0:r,i=t.modifiers,o=t.placement,a=o===void 0?"bottom":o,l=t.strategy,s=l===void 0?"absolute":l,u=t.arrowPadding,c=u===void 0?8:u,f=t.eventListeners,d=f===void 0?!0:f,h=t.offset,m=t.gutter,y=m===void 0?8:m,v=t.flip,g=v===void 0?!0:v,b=t.boundary,x=b===void 0?"clippingParents":b,C=t.preventOverflow,k=C===void 0?!0:C,E=t.matchWidth,P=t.direction,F=P===void 0?"ltr":P,M=O.useRef(null),I=O.useRef(null),G=O.useRef(null),U=qB(a,F),Z=O.useRef(function(){}),X=O.useCallback(function(){!n||!M.current||!I.current||(Z.current==null||Z.current(),G.current=BB(M.current,I.current,{placement:U,modifiers:[UB,NB,zB,rr({},HB,{enabled:!!E}),rr({name:"eventListeners"},DB(d)),{name:"arrow",options:{padding:c}},{name:"offset",options:{offset:h!=null?h:[0,y]}},{name:"flip",enabled:!!g,options:{padding:8}},{name:"preventOverflow",enabled:!!k,options:{boundary:x}}].concat(i!=null?i:[]),strategy:s}),G.current.forceUpdate(),Z.current=G.current.destroy)},[U,n,i,E,d,c,h,y,g,k,x,s]);O.useEffect(function(){return function(){if(!M.current&&!I.current){var L;(L=G.current)==null||L.destroy(),G.current=null}}},[]);var K=O.useCallback(function(L){M.current=L,X()},[X]),ne=O.useCallback(function(L,D){return L===void 0&&(L={}),D===void 0&&(D=null),rr({},L,{ref:Fo(K,D)})},[K]),ie=O.useCallback(function(L){I.current=L,X()},[X]),Ve=O.useCallback(function(L,D){return L===void 0&&(L={}),D===void 0&&(D=null),rr({},L,{ref:Fo(ie,D),style:rr({},L.style,{position:s,minWidth:"max-content",inset:"0 auto auto 0"})})},[s,ie]),be=O.useCallback(function(L,D){L===void 0&&(L={}),D===void 0&&(D=null);var R=L;R.size,R.shadowColor,R.bg,R.style;var $=VB(R,YB);return rr({},$,{ref:D,"data-popper-arrow":"",style:KB(L)})},[]),Re=O.useCallback(function(L,D){return L===void 0&&(L={}),D===void 0&&(D=null),rr({},L,{ref:D,"data-popper-arrow-inner":""})},[]);return{update:function(){var D;(D=G.current)==null||D.update()},forceUpdate:function(){var D;(D=G.current)==null||D.forceUpdate()},transformOrigin:tt.transformOrigin.varRef,referenceRef:K,popperRef:ie,getPopperProps:Ve,getArrowProps:be,getArrowInnerProps:Re,getReferenceProps:ne}}function KB(e){var t=e.size,r=e.shadowColor,n=e.bg,i=e.style,o=rr({},i,{position:"absolute"});return t&&(o["--popper-arrow-size"]=t),r&&(o["--popper-arrow-shadow-color"]=r),n&&(o["--popper-arrow-bg"]=n),o}function QB(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var B5={exports:{}},JB="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",eV=JB,tV=eV;function V5(){}function R5(){}R5.resetWarningCache=V5;var rV=function(){function e(n,i,o,a,l,s){if(s!==tV){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:R5,resetWarningCache:V5};return r.PropTypes=r,r};B5.exports=rV();var lc=B5.exports,np="data-focus-lock",I5="data-focus-lock-disabled",nV="data-no-focus-lock",iV="data-autofocus-inside";function ip(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function oV(e,t){var r=O.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=t,r.facade}var $5=new WeakMap;function D5(e,t){var r=oV(t||null,function(n){return e.forEach(function(i){return ip(i,n)})});return w.useLayoutEffect(function(){var n=$5.get(r);if(n){var i=new Set(n),o=new Set(e),a=r.current;i.forEach(function(l){o.has(l)||ip(l,null)}),o.forEach(function(l){i.has(l)||ip(l,a)})}$5.set(r,e)},[e]),r}var op={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};function H5(e){return e}function z5(e,t){t===void 0&&(t=H5);var r=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(o){var a=t(o,n);return r.push(a),function(){r=r.filter(function(l){return l!==a})}},assignSyncMedium:function(o){for(n=!0;r.length;){var a=r;r=[],a.forEach(o)}r={push:function(l){return o(l)},filter:function(){return r}}},assignMedium:function(o){n=!0;var a=[];if(r.length){var l=r;r=[],l.forEach(o),a=r}var s=function(){var c=a;a=[],c.forEach(o)},u=function(){return Promise.resolve().then(s)};u(),r={push:function(c){a.push(c),u()},filter:function(c){return a=a.filter(c),r}}}};return i}function ap(e,t){return t===void 0&&(t=H5),z5(e,t)}function N5(e){e===void 0&&(e={});var t=z5(null);return t.options=N({async:!0,ssr:!1},e),t}var j5=function(e){var t=e.sideCar,r=Tt(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return w.createElement(n,N({},r))};j5.isSideCarExport=!0;function aV(e,t){return e.useMedium(t),j5}var W5=ap({},function(e){var t=e.target,r=e.currentTarget;return{target:t,currentTarget:r}}),U5=ap(),lV=ap(),sV=N5({async:!0}),uV=[],lp=w.forwardRef(function(t,r){var n,i=w.useState(),o=i[0],a=i[1],l=w.useRef(),s=w.useRef(!1),u=w.useRef(null),c=t.children,f=t.disabled,d=t.noFocusGuards,h=t.persistentFocus,m=t.crossFrame,y=t.autoFocus;t.allowTextSelection;var v=t.group,g=t.className,b=t.whiteList,x=t.shards,C=x===void 0?uV:x,k=t.as,E=k===void 0?"div":k,P=t.lockProps,F=P===void 0?{}:P,M=t.sideCar,I=t.returnFocus,G=t.onActivation,U=t.onDeactivation,Z=w.useState({}),X=Z[0],K=w.useCallback(function(){u.current=u.current||document&&document.activeElement,l.current&&G&&G(l.current),s.current=!0},[G]),ne=w.useCallback(function(){s.current=!1,U&&U(l.current)},[U]),ie=w.useCallback(function(H){var te=u.current;if(Boolean(I)&&te&&te.focus){var ve=typeof I=="object"?I:void 0;u.current=null,H?Promise.resolve().then(function(){return te.focus(ve)}):te.focus(ve)}},[I]),Ve=w.useCallback(function(H){s.current&&W5.useMedium(H)},[]),be=U5.useMedium,Re=w.useCallback(function(H){l.current!==H&&(l.current=H,a(H))},[]),L=Mn((n={},n[I5]=f&&"disabled",n[np]=v,n),F),D=d!==!0,R=D&&d!=="tail",$=D5([r,Re]);return w.createElement(w.Fragment,null,D&&[w.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:f?-1:0,style:op}),w.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:f?-1:1,style:op})],!f&&w.createElement(M,{id:X,sideCar:sV,observed:o,disabled:f,persistentFocus:h,crossFrame:m,autoFocus:y,whiteList:b,shards:C,onActivation:K,onDeactivation:ne,returnFocus:ie}),w.createElement(E,Mn({ref:$},L,{className:g,onBlur:be,onFocus:Ve}),c),R&&w.createElement("div",{"data-focus-guard":!0,tabIndex:f?-1:0,style:op}))});lp.propTypes={},lp.defaultProps={children:void 0,disabled:!1,returnFocus:!1,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var Z5=lp;function sp(e,t){return sp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},sp(e,t)}function cV(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,sp(e,t)}function yl(e){return yl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yl(e)}function dV(e,t){if(yl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(yl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fV(e){var t=dV(e,"string");return yl(t)=="symbol"?t:String(t)}function pV(e,t,r){return t=fV(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hV(e,t){function r(n){return n.displayName||n.name||"Component"}return function(i){var o=[],a;function l(){a=e(o.map(function(u){return u.props})),t(a)}var s=function(u){cV(c,u);function c(){return u.apply(this,arguments)||this}c.peek=function(){return a};var f=c.prototype;return f.componentDidMount=function(){o.push(this),l()},f.componentDidUpdate=function(){l()},f.componentWillUnmount=function(){var h=o.indexOf(this);o.splice(h,1),l()},f.render=function(){return p(i,{...this.props})},c}(O.PureComponent);return pV(s,"displayName","SideEffect("+r(i)+")"),s}}var wn=function(e){for(var t=Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t},up=function(e){return Array.isArray(e)?e:[e]},vV=function(e){for(var t=new Set,r=e.length,n=0;n<r;n+=1)for(var i=n+1;i<r;i+=1){var o=e[n].compareDocumentPosition(e[i]);(o&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(a,l){return!t.has(l)})},G5=function(e){return e.parentNode?G5(e.parentNode):e},cp=function(e){var t=up(e);return t.filter(Boolean).reduce(function(r,n){var i=n.getAttribute(np);return r.push.apply(r,i?vV(wn(G5(n).querySelectorAll("["+np+'="'+i+'"]:not(['+I5+'="disabled"])'))):[n]),r},[])},mV=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!t||!t.getPropertyValue?!1:t.getPropertyValue("display")==="none"||t.getPropertyValue("visibility")==="hidden"},gV=function(e,t){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!mV(e)&&t(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode)},q5=function(e,t){var r=e.get(t);if(r!==void 0)return r;var n=gV(t,q5.bind(void 0,e));return e.set(t,n),n},yV=function(e){return!((e.tagName==="INPUT"||e.tagName==="BUTTON")&&(e.type==="hidden"||e.disabled))},dp=function(e){return Boolean(e&&e.dataset&&e.dataset.focusGuard)},sc=function(e){return!dp(e)},bV=function(e){return Boolean(e)},xV=function(e,t){var r=e.tabIndex-t.tabIndex,n=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return r||n},Y5=function(e,t,r){return wn(e).map(function(n,i){return{node:n,index:i,tabIndex:r&&n.tabIndex===-1?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}}).filter(function(n){return!t||n.tabIndex>=0}).sort(xV)},CV=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],fp=CV.join(","),wV=fp+", [data-focus-guard]",pp=function(e,t){return e.reduce(function(r,n){return r.concat(wn(n.querySelectorAll(t?wV:fp)),n.parentNode?wn(n.parentNode.querySelectorAll(fp)).filter(function(i){return i===n}):[])},[])},SV=function(e){var t=e.querySelectorAll("["+iV+"]");return wn(t).map(function(r){return pp([r])}).reduce(function(r,n){return r.concat(n)},[])},hp=function(e,t){return wn(e).filter(function(r){return q5(t,r)}).filter(function(r){return yV(r)})},vp=function(e,t,r){return Y5(hp(pp(e,r),t),!0,r)},X5=function(e,t){return Y5(hp(pp(e),t),!1)},kV=function(e,t){return hp(SV(e),t)},mp=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&mp(e.parentNode,t),t},gp=function(e,t){for(var r=mp(e),n=mp(t),i=0;i<r.length;i+=1){var o=r[i];if(n.indexOf(o)>=0)return o}return!1},K5=function(e,t,r){var n=up(e),i=up(t),o=n[0],a=!1;return i.filter(Boolean).forEach(function(l){a=gp(a||l,l)||a,r.filter(Boolean).forEach(function(s){var u=gp(o,s);u&&(!a||u.contains(a)?a=u:a=gp(u,a))})}),a},EV=function(e,t){return e.reduce(function(r,n){return r.concat(kV(n,t))},[])},PV=function(e){var t=cp(e).filter(sc),r=K5(e,e,t),n=new Map,i=vp([r],n,!0),o=vp(t,n).filter(function(a){var l=a.node;return sc(l)}).map(function(a){var l=a.node;return l});return i.map(function(a){var l=a.node,s=a.index;return{node:l,index:s,lockItem:o.indexOf(l)>=0,guard:dp(l)}})},_V=function(e){return e===document.activeElement},TV=function(e){return Boolean(wn(e.querySelectorAll("iframe")).some(function(t){return _V(t)}))},Q5=function(e){var t=document&&document.activeElement;return!t||t.dataset&&t.dataset.focusGuard?!1:cp(e).reduce(function(r,n){return r||n.contains(t)||TV(n)},!1)},MV=function(){return document&&wn(document.querySelectorAll("["+nV+"]")).some(function(e){return e.contains(document.activeElement)})},J5=function(e){return e.tagName==="INPUT"&&e.type==="radio"},FV=function(e,t){return t.filter(J5).filter(function(r){return r.name===e.name}).filter(function(r){return r.checked})[0]||e},yp=function(e,t){return J5(e)&&e.name?FV(e,t):e},AV=function(e){var t=new Set;return e.forEach(function(r){return t.add(yp(r,e))}),e.filter(function(r){return t.has(r)})},e4=function(e){return e[0]&&e.length>1?yp(e[0],e):e[0]},t4=function(e,t){return e.length>1?e.indexOf(yp(e[t],e)):t},r4="NEW_FOCUS",OV=function(e,t,r,n){var i=e.length,o=e[0],a=e[i-1],l=dp(r);if(!(e.indexOf(r)>=0)){var s=t.indexOf(r),u=n?t.indexOf(n):s,c=n?e.indexOf(n):-1,f=s-u,d=t.indexOf(o),h=t.indexOf(a),m=AV(t),y=m.indexOf(r)-(n?m.indexOf(n):s),v=t4(e,0),g=t4(e,i-1);if(s===-1||c===-1)return r4;if(!f&&c>=0)return c;if(s<=d&&l&&Math.abs(f)>1)return g;if(s>=h&&l&&Math.abs(f)>1)return v;if(f&&Math.abs(y)>1)return c;if(s<=d)return g;if(s>h)return v;if(f)return Math.abs(f)>1?c:(i+c+f)%i}},LV=function(e){return function(t){return t.autofocus||t.dataset&&!!t.dataset.autofocus||e.indexOf(t)>=0}},BV=function(e,t){var r=new Map;return t.forEach(function(n){return r.set(n.node,n)}),e.map(function(n){return r.get(n)}).filter(bV)},VV=function(e,t){var r=document&&document.activeElement,n=cp(e).filter(sc),i=K5(r||e,e,n),o=new Map,a=X5(n,o),l=vp(n,o).filter(function(h){var m=h.node;return sc(m)});if(!(!l[0]&&(l=a,!l[0]))){var s=X5([i],o).map(function(h){var m=h.node;return m}),u=BV(s,l),c=u.map(function(h){var m=h.node;return m}),f=OV(c,s,r,t);if(f===r4){var d=a.map(function(h){var m=h.node;return m}).filter(LV(EV(n,o)));return{node:d&&d.length?e4(d):e4(c)}}return f===void 0?f:u[f]}},RV=function(e){e.focus(),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},bp=0,xp=!1,IV=function(e,t){var r=VV(e,t);if(!xp&&r){if(bp>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),xp=!0,setTimeout(function(){xp=!1},1);return}bp++,RV(r.node),bp--}},n4=IV;function i4(e){var t=window,r=t.setImmediate;typeof r!="undefined"?r(e):setTimeout(e,1)}var $V=function(){return document&&document.activeElement===document.body},DV=function(){return $V()||MV()},uo=null,co=null,fo=null,bl=!1,HV=function(){return!0},zV=function(t){return(uo.whiteList||HV)(t)},NV=function(t,r){fo={observerNode:t,portaledElement:r}},jV=function(t){return fo&&fo.portaledElement===t};function o4(e,t,r,n){var i=null,o=e;do{var a=n[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else if(a.lockItem){if(o!==e)return;i=null}else break}while((o+=r)!==t);i&&(i.node.tabIndex=0)}var WV=function(t){return t&&"current"in t?t.current:t},UV=function(t){return t?Boolean(bl):bl==="meanwhile"},uc=function(){var t=!1;if(uo){var r=uo,n=r.observed,i=r.persistentFocus,o=r.autoFocus,a=r.shards,l=r.crossFrame,s=n||fo&&fo.portaledElement,u=document&&document.activeElement;if(s){var c=[s].concat(a.map(WV).filter(Boolean));if((!u||zV(u))&&(i||UV(l)||!DV()||!co&&o)&&(s&&!(Q5(c)||jV(u))&&(document&&!co&&u&&!o?(u.blur&&u.blur(),document.body.focus()):(t=n4(c,co),fo={})),bl=!1,co=document&&document.activeElement),document){var f=document&&document.activeElement,d=PV(c),h=d.map(function(m){var y=m.node;return y}).indexOf(f);h>-1&&(d.filter(function(m){var y=m.guard,v=m.node;return y&&v.dataset.focusAutoGuard}).forEach(function(m){var y=m.node;return y.removeAttribute("tabIndex")}),o4(h,d.length,1,d),o4(h,-1,-1,d))}}}return t},a4=function(t){uc()&&t&&(t.stopPropagation(),t.preventDefault())},Cp=function(){return i4(uc)},ZV=function(t){var r=t.target,n=t.currentTarget;n.contains(r)||NV(n,r)},GV=function(){return null},l4=function(){bl="just",setTimeout(function(){bl="meanwhile"},0)},qV=function(){document.addEventListener("focusin",a4,!0),document.addEventListener("focusout",Cp),window.addEventListener("blur",l4)},YV=function(){document.removeEventListener("focusin",a4,!0),document.removeEventListener("focusout",Cp),window.removeEventListener("blur",l4)};function XV(e){return e.filter(function(t){var r=t.disabled;return!r})}function KV(e){var t=e.slice(-1)[0];t&&!uo&&qV();var r=uo,n=r&&t&&t.id===r.id;uo=t,r&&!n&&(r.onDeactivation(),e.filter(function(i){var o=i.id;return o===r.id}).length||r.returnFocus(!t)),t?(co=null,(!n||r.observed!==t.observed)&&t.onActivation(),uc(),i4(uc)):(YV(),co=null)}W5.assignSyncMedium(ZV),U5.assignMedium(Cp),lV.assignMedium(function(e){return e({moveFocusInside:n4,focusInside:Q5})});var QV=hV(XV,KV)(GV),s4=w.forwardRef(function(t,r){return w.createElement(Z5,Mn({sideCar:QV,ref:r},t))}),u4=Z5.propTypes||{};u4.sideCar,QB(u4,["sideCar"]),s4.propTypes={};var JV=s4,eR=function(t){var r=t.initialFocusRef,n=t.finalFocusRef,i=t.contentRef,o=t.restoreFocus,a=t.children,l=t.isDisabled,s=t.autoFocus,u=t.persistentFocus,c=t.lockFocusAcrossFrames,f=w.useCallback(function(){if(r!=null&&r.current)r.current.focus();else if(i!=null&&i.current){var m=A8(i.current);m.length===0&&R8(i.current,{nextTick:!0})}},[r,i]),d=w.useCallback(function(){var m;n==null||(m=n.current)==null||m.focus()},[n]),h=o&&!n;return w.createElement(JV,{crossFrame:c,persistentFocus:u,autoFocus:s,disabled:l,onActivation:f,onDeactivation:d,returnFocus:h},a)};/*! *****************************************************************************
|
|
334
334
|
Copyright (c) Microsoft Corporation.
|
|
335
335
|
|
|
336
336
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -383,7 +383,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
383
383
|
`)},vR=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=n===void 0?"margin":n,o=w.useMemo(function(){return fR(i)},[i]);return w.createElement(pR,{styles:hR(o,!t,i,r?"":"!important")})},mR=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},gR=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},f4=function(e,t){var r=t;do{var n=p4(e,r);if(n){var i=h4(e,r),o=i[1],a=i[2];if(o>a)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},yR=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},bR=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},p4=function(e,t){return e==="v"?mR(t):gR(t)},h4=function(e,t){return e==="v"?yR(t):bR(t)},xR=function(e,t,r,n,i){var o=n,a=r.target,l=t.contains(a),s=!1,u=o>0,c=0,f=0;do{var d=h4(e,a),h=d[0],m=d[1],y=d[2],v=m-y-h;(h||v)&&p4(e,a)&&(c+=v,f+=h),a=a.parentNode}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(u&&(i&&c===0||!i&&o>c)||!u&&(i&&f===0||!i&&-o>f))&&(s=!0),s},kp=!1;if(typeof window!="undefined")try{var pc=Object.defineProperty({},"passive",{get:function(){return kp=!0,!0}});window.addEventListener("test",pc,pc),window.removeEventListener("test",pc,pc)}catch{kp=!1}var ho=kp?{passive:!1}:!1,hc=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},v4=function(e){return[e.deltaX,e.deltaY]},m4=function(e){return e&&"current"in e?e.current:e},CR=function(e,t){return e[0]===t[0]&&e[1]===t[1]},wR=function(e){return`
|
|
384
384
|
.block-interactivity-`+e+` {pointer-events: none;}
|
|
385
385
|
.allow-interactivity-`+e+` {pointer-events: all;}
|
|
386
|
-
`},SR=0,vo=[];function kR(e){var t=w.useRef([]),r=w.useRef([0,0]),n=w.useRef(),i=w.useState(SR++)[0],o=w.useState(function(){return d4()})[0],a=w.useRef(e);w.useEffect(function(){a.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+i);var y=[e.lockRef.current].concat((e.shards||[]).map(m4)).filter(Boolean);return y.forEach(function(v){return v.classList.add("allow-interactivity-"+i)}),function(){document.body.classList.remove("block-interactivity-"+i),y.forEach(function(v){return v.classList.remove("allow-interactivity-"+i)})}}},[e.inert,e.lockRef.current,e.shards]);var l=w.useCallback(function(y,v){if("touches"in y&&y.touches.length===2)return!a.current.allowPinchZoom;var g=hc(y),b=r.current,x="deltaX"in y?y.deltaX:b[0]-g[0],C="deltaY"in y?y.deltaY:b[1]-g[1],k,E=y.target,P=Math.abs(x)>Math.abs(C)?"h":"v",F=f4(P,E);if(!F)return!0;if(F?k=P:(k=P==="v"?"h":"v",F=f4(P,E)),!F)return!1;if(!n.current&&"changedTouches"in y&&(x||C)&&(n.current=k),!k)return!0;var M=n.current||k;return xR(M,v,y,M==="h"?x:C,!0)},[]),s=w.useCallback(function(y){var v=y;if(!(!vo.length||vo[vo.length-1]!==o)){var g="deltaY"in v?v4(v):hc(v),b=t.current.filter(function(k){return k.name===v.type&&k.target===v.target&&CR(k.delta,g)})[0];if(b&&b.should){v.preventDefault();return}if(!b){var x=(a.current.shards||[]).map(m4).filter(Boolean).filter(function(k){return k.contains(v.target)}),C=x.length>0?l(v,x[0]):!a.current.noIsolation;C&&v.preventDefault()}}},[]),u=w.useCallback(function(y,v,g,b){var x={name:y,delta:v,target:g,should:b};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(C){return C!==x})},1)},[]),c=w.useCallback(function(y){r.current=hc(y),n.current=void 0},[]),f=w.useCallback(function(y){u(y.type,v4(y),y.target,l(y,e.lockRef.current))},[]),d=w.useCallback(function(y){u(y.type,hc(y),y.target,l(y,e.lockRef.current))},[]);w.useEffect(function(){return vo.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",s,ho),document.addEventListener("touchmove",s,ho),document.addEventListener("touchstart",c,ho),function(){vo=vo.filter(function(y){return y!==o}),document.removeEventListener("wheel",s,ho),document.removeEventListener("touchmove",s,ho),document.removeEventListener("touchstart",c,ho)}},[]);var h=e.removeScrollBar,m=e.inert;return w.createElement(w.Fragment,null,m?w.createElement(o,{styles:wR(i)}):null,h?w.createElement(vR,{gapMode:"margin"}):null)}var ER=aV(c4,kR),g4=w.forwardRef(function(e,t){return w.createElement(fc,po({},e,{ref:t,sideCar:ER}))});g4.classNames=fc.classNames;var PR=g4,_R=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},mo=new WeakMap,vc=new WeakMap,mc={},Ep=0,y4=function(e){return e&&(e.host||y4(e.parentNode))},TR=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=y4(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return Boolean(r)})},MR=function(e,t,r,n){var i=TR(t,Array.isArray(e)?e:[e]);mc[r]||(mc[r]=new WeakMap);var o=mc[r],a=[],l=new Set,s=new Set(i),u=function(f){!f||l.has(f)||(l.add(f),u(f.parentNode))};i.forEach(u);var c=function(f){!f||s.has(f)||Array.prototype.forEach.call(f.children,function(d){if(l.has(d))c(d);else{var h=d.getAttribute(n),m=h!==null&&h!=="false",y=(mo.get(d)||0)+1,v=(o.get(d)||0)+1;mo.set(d,y),o.set(d,v),a.push(d),y===1&&m&&vc.set(d,!0),v===1&&d.setAttribute(r,"true"),m||d.setAttribute(n,"true")}})};return c(t),l.clear(),Ep++,function(){a.forEach(function(f){var d=mo.get(f)-1,h=o.get(f)-1;mo.set(f,d),o.set(f,h),d||(vc.has(f)||f.removeAttribute(n),vc.delete(f)),h||f.removeAttribute(r)}),Ep--,Ep||(mo=new WeakMap,mo=new WeakMap,vc=new WeakMap,mc={})}},FR=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||_R(e);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),MR(n,i,r,"aria-hidden")):function(){return null}};function Sn(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function ke(){return ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ke.apply(this,arguments)}var AR=["preset"],OR={slideInBottom:ke({},e5,{custom:{offsetY:16,reverse:!0}}),slideInRight:ke({},e5,{custom:{offsetX:16,reverse:!0}}),scale:ke({},zO,{custom:{initialScale:.95,reverse:!0}}),none:{}},LR=re(ec.section),BR=w.forwardRef(function(e,t){var r=e.preset,n=Sn(e,AR),i=OR[r];return w.createElement(LR,ke({ref:t},i,n))}),VR=function(){function e(){this.modals=void 0,this.modals=[]}var t=e.prototype;return t.add=function(n){this.modals.push(n)},t.remove=function(n){this.modals=this.modals.filter(function(i){return i!==n})},t.isTopModal=function(n){var i=this.modals[this.modals.length-1];return i===n},e}(),Pp=new VR;function RR(e,t){O.useEffect(function(){return t&&Pp.add(e),function(){Pp.remove(e)}},[t,e])}function IR(e){var t=e.isOpen,r=e.onClose,n=e.id,i=e.closeOnOverlayClick,o=i===void 0?!0:i,a=e.closeOnEsc,l=a===void 0?!0:a,s=e.useInert,u=s===void 0?!0:s,c=e.onOverlayClick,f=e.onEsc,d=O.useRef(null),h=O.useRef(null),m=Zx(n,"chakra-modal","chakra-modal--header","chakra-modal--body"),y=m[0],v=m[1],g=m[2];$R(d,t&&u),RR(d,t);var b=O.useRef(null),x=O.useCallback(function(X){b.current=X.target},[]),C=O.useCallback(function(X){X.key==="Escape"&&(X.stopPropagation(),l&&(r==null||r()),f==null||f())},[l,r,f]),k=O.useState(!1),E=k[0],P=k[1],F=O.useState(!1),M=F[0],I=F[1],G=O.useCallback(function(X,K){return X===void 0&&(X={}),K===void 0&&(K=null),ke({role:"dialog"},X,{ref:Fo(K,d),id:y,tabIndex:-1,"aria-modal":!0,"aria-labelledby":E?v:void 0,"aria-describedby":M?g:void 0,onClick:qt(X.onClick,function(ne){return ne.stopPropagation()})})},[g,M,y,v,E]),U=O.useCallback(function(X){X.stopPropagation(),b.current===X.target&&(!Pp.isTopModal(d)||(o&&(r==null||r()),c==null||c()))},[r,o,c]),Z=O.useCallback(function(X,K){return X===void 0&&(X={}),K===void 0&&(K=null),ke({},X,{ref:Fo(K,h),onClick:qt(X.onClick,U),onKeyDown:qt(X.onKeyDown,C),onMouseDown:qt(X.onMouseDown,x)})},[C,x,U]);return{isOpen:t,onClose:r,headerId:v,bodyId:g,setBodyMounted:I,setHeaderMounted:P,dialogRef:d,overlayRef:h,getDialogProps:G,getDialogContainerProps:Z}}function $R(e,t){var r=e.current;O.useEffect(function(){if(!(!e.current||!t))return FR(e.current)},[t,e,r])}var DR=["className","children","containerProps"],HR=["className","transition"],zR=["className"],NR=["className"],jR=["className"],WR=["onClick","className"],b4=An({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),UR=b4[0],kn=b4[1],xl=function(t){var r=t.portalProps,n=t.children,i=t.autoFocus,o=t.trapFocus,a=t.initialFocusRef,l=t.finalFocusRef,s=t.returnFocusOnClose,u=t.blockScrollOnMount,c=t.allowPinchZoom,f=t.preserveScrollBarGap,d=t.motionPreset,h=t.lockFocusAcrossFrames,m=t.onCloseComplete,y=Ng("Modal",t),v=IR(t),g=ke({},v,{autoFocus:i,trapFocus:o,initialFocusRef:a,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:f,motionPreset:d,lockFocusAcrossFrames:h});return w.createElement(UR,{value:g},w.createElement($S,{value:y},w.createElement(N1,{onExitComplete:m},g.isOpen&&w.createElement(Pa,r,n))))};xl.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"},xr&&(xl.displayName="Modal");var ZR=re(ec.div),_p=Fe(function(e,t){var r=e.className,n=e.children,i=e.containerProps,o=Sn(e,DR),a=kn(),l=a.getDialogProps,s=a.getDialogContainerProps,u=l(o,t),c=s(i),f=ze("chakra-modal__content",r),d=Gn(),h=ke({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},d.dialog),m=ke({display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},position:"fixed",left:0,top:0},d.dialogContainer),y=kn(),v=y.motionPreset;return w.createElement(x4,null,w.createElement(re.div,ke({},c,{className:"chakra-modal__content-container",tabIndex:-1,__css:m}),w.createElement(BR,ke({preset:v,className:f},u,{__css:h}),n)))});xr&&(_p.displayName="ModalContent");function x4(e){var t=kn(),r=t.autoFocus,n=t.trapFocus,i=t.dialogRef,o=t.initialFocusRef,a=t.blockScrollOnMount,l=t.allowPinchZoom,s=t.finalFocusRef,u=t.returnFocusOnClose,c=t.preserveScrollBarGap,f=t.lockFocusAcrossFrames,d=O1(),h=d[0],m=d[1];return w.useEffect(function(){!h&&m&&setTimeout(m)},[h,m]),w.createElement(eR,{autoFocus:r,isDisabled:!n,initialFocusRef:o,finalFocusRef:s,restoreFocus:u,contentRef:i,lockFocusAcrossFrames:f},w.createElement(PR,{removeScrollBar:!c,allowPinchZoom:l,enabled:a,forwardProps:!0},e.children))}var Tp=Fe(function(e,t){var r=e.className;e.transition;var n=Sn(e,HR),i=ze("chakra-modal__overlay",r),o=Gn(),a=ke({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},o.overlay),l=kn(),s=l.motionPreset,u=s==="none"?{}:DO;return w.createElement(ZR,ke({},u,{__css:a,ref:t,className:i},n))});xr&&(Tp.displayName="ModalOverlay");var Mp=Fe(function(e,t){var r=e.className,n=Sn(e,zR),i=kn(),o=i.headerId,a=i.setHeaderMounted;w.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=ze("chakra-modal__header",r),s=Gn(),u=ke({flex:0},s.header);return w.createElement(re.header,ke({ref:t,className:l,id:o},n,{__css:u}))});xr&&(Mp.displayName="ModalHeader");var Fp=Fe(function(e,t){var r=e.className,n=Sn(e,NR),i=kn(),o=i.bodyId,a=i.setBodyMounted;w.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=ze("chakra-modal__body",r),s=Gn();return w.createElement(re.div,ke({ref:t,className:l,id:o},n,{__css:s.body}))});xr&&(Fp.displayName="ModalBody");var Ap=Fe(function(e,t){var r=e.className,n=Sn(e,jR),i=ze("chakra-modal__footer",r),o=Gn(),a=ke({display:"flex",alignItems:"center",justifyContent:"flex-end"},o.footer);return w.createElement(re.footer,ke({ref:t},n,{__css:a,className:i}))});xr&&(Ap.displayName="ModalFooter");var C4=Fe(function(e,t){var r=e.onClick,n=e.className,i=Sn(e,WR),o=kn(),a=o.onClose,l=ze("chakra-modal__close-btn",n),s=Gn();return w.createElement(uL,ke({ref:t,__css:s.closeButton,className:l,onClick:qt(r,function(u){u.stopPropagation(),a()})},i))});xr&&(C4.displayName="ModalCloseButton");var GR=["className","children"],qR=An(),YR=qR[1],XR=re(WO),KR=Fe(function(e,t){var r=e.className,n=e.children,i=Sn(e,GR),o=kn(),a=o.getDialogProps,l=o.getDialogContainerProps,s=o.isOpen,u=a(i,t),c=l(),f=ze("chakra-modal__content",r),d=Gn(),h=ke({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},d.dialog),m=ke({display:"flex",width:"100vw",height:"100vh",position:"fixed",left:0,top:0},d.dialogContainer),y=YR(),v=y.placement;return w.createElement(re.div,ke({},c,{className:"chakra-modal__content-container",__css:m}),w.createElement(x4,null,w.createElement(XR,ke({direction:v,in:s,className:f},u,{__css:h}),n)))});xr&&(KR.displayName="DrawerContent");function w4(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function go(){return go=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},go.apply(this,arguments)}var QR=mi({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),JR=mi({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});mi({"0%":{left:"-40%"},"100%":{left:"100%"}}),mi({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function eI(e){var t=e.value,r=t===void 0?0:t,n=e.min,i=e.max,o=e.valueText,a=e.getValueText,l=e.isIndeterminate,s=Hx(r,n,i),u=function(){if(r!=null)return Hr(a)?a(r,s):o};return{bind:{"data-indeterminate":l?"":void 0,"aria-valuemax":i,"aria-valuemin":n,"aria-valuenow":l?void 0:r,"aria-valuetext":u(),role:"progressbar"},percent:s,value:r}}var tI=["size","isIndeterminate"],rI=["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"],S4=function(t){return w.createElement(re.circle,go({cx:50,cy:50,r:42,fill:"transparent"},t))},nI=function(t){var r=t.size,n=t.isIndeterminate,i=w4(t,tI);return w.createElement(re.svg,go({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:n?JR+" 2s linear infinite":void 0}},i))},iI=function(t){var r,n=t.size,i=n===void 0?"48px":n,o=t.max,a=o===void 0?100:o,l=t.min,s=l===void 0?0:l,u=t.valueText,c=t.getValueText,f=t.value,d=t.capIsRound,h=t.children,m=t.thickness,y=m===void 0?"10px":m,v=t.color,g=v===void 0?"#0078d4":v,b=t.trackColor,x=b===void 0?"#edebe9":b,C=t.isIndeterminate,k=w4(t,rI),E=eI({min:s,max:a,value:f,valueText:u,getValueText:c,isIndeterminate:C}),P=C?void 0:((r=E.percent)!=null?r:0)*2.64,F=px(P)?void 0:P+" "+(264-P),M=C?{css:{animation:QR+" 1.5s linear infinite"}}:{strokeDashoffset:66,strokeDasharray:F,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},I={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:i};return w.createElement(re.div,go({className:"chakra-progress"},E.bind,k,{__css:I}),w.createElement(nI,{size:i,isIndeterminate:C},w.createElement(S4,{stroke:x,strokeWidth:y,className:"chakra-progress__track"}),w.createElement(S4,go({stroke:g,strokeWidth:y,className:"chakra-progress__indicator",strokeLinecap:d?"round":void 0,opacity:E.value===0&&!C?0:void 0},M))),h)};re("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});function nr(){return nr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nr.apply(this,arguments)}function k4(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var oI={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},aI=["openDelay","closeDelay","closeOnClick","closeOnMouseDown","closeOnEsc","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"];function lI(e){e===void 0&&(e={});var t=e,r=t.openDelay,n=r===void 0?0:r,i=t.closeDelay,o=i===void 0?0:i,a=t.closeOnClick,l=a===void 0?!0:a,s=t.closeOnMouseDown,u=t.closeOnEsc,c=u===void 0?!0:u,f=t.onOpen,d=t.onClose,h=t.placement,m=t.id,y=t.isOpen,v=t.defaultIsOpen,g=t.arrowSize,b=g===void 0?10:g,x=t.arrowShadowColor,C=t.arrowPadding,k=t.modifiers,E=t.isDisabled,P=t.gutter,F=t.offset,M=t.direction,I=k4(t,aI),G=hv({isOpen:y,defaultIsOpen:v,onOpen:f,onClose:d}),U=G.isOpen,Z=G.onOpen,X=G.onClose,K=XB({enabled:U,placement:h,arrowPadding:C,modifiers:k,gutter:P,offset:F,direction:M}),ne=K.referenceRef,ie=K.getPopperProps,Ve=K.getArrowInnerProps,be=K.getArrowProps,Re=nd(m,"tooltip"),L=w.useRef(null),D=w.useRef(),R=w.useRef(),$=w.useCallback(function(){E||(D.current=window.setTimeout(Z,n))},[E,Z,n]),H=w.useCallback(function(){D.current&&clearTimeout(D.current),R.current=window.setTimeout(X,o)},[o,X]),te=w.useCallback(function(){l&&H()},[l,H]),ve=w.useCallback(function(){s&&H()},[s,H]),xe=w.useCallback(function(Ee){U&&Ee.key==="Escape"&&H()},[U,H]);fv("keydown",c?xe:void 0),w.useEffect(function(){return function(){clearTimeout(D.current),clearTimeout(R.current)}},[]),fv("mouseleave",H,function(){return L.current});var We=w.useCallback(function(Ee,st){Ee===void 0&&(Ee={}),st===void 0&&(st=null);var Wt=nr({},Ee,{ref:Fo(L,st,ne),onMouseEnter:qt(Ee.onMouseEnter,$),onClick:qt(Ee.onClick,te),onMouseDown:qt(Ee.onMouseDown,ve),onFocus:qt(Ee.onFocus,$),onBlur:qt(Ee.onBlur,H),"aria-describedby":U?Re:void 0});return Wt},[$,H,ve,U,Re,te,ne]),li=w.useCallback(function(Ee,st){var Wt;return Ee===void 0&&(Ee={}),st===void 0&&(st=null),ie(nr({},Ee,{style:nr({},Ee.style,(Wt={},Wt[tt.arrowSize.var]=b?Ql(b):void 0,Wt[tt.arrowShadowColor.var]=x,Wt))}),st)},[ie,b,x]),_n=w.useCallback(function(Ee,st){Ee===void 0&&(Ee={}),st===void 0&&(st=null);var Wt=nr({ref:st},I,Ee,{id:Re,role:"tooltip",style:nr({},Ee.style,{position:"relative",transformOrigin:tt.transformOrigin.varRef})});return Wt},[I,Re]);return{isOpen:U,show:$,hide:H,getTriggerProps:We,getTooltipProps:_n,getTooltipPositionerProps:li,getArrowProps:be,getArrowInnerProps:Ve}}var sI=["children","label","shouldWrapChildren","aria-label","hasArrow","bg","portalProps","background","backgroundColor","bgColor"],uI=re(ec.div),cI=Fe(function(e,t){var r,n,i=dn("Tooltip",e),o=cn(e),a=Hg(),l=o.children,s=o.label,u=o.shouldWrapChildren,c=o["aria-label"],f=o.hasArrow,d=o.bg,h=o.portalProps,m=o.background,y=o.backgroundColor,v=o.bgColor,g=k4(o,sI),b=(r=(n=m!=null?m:y)!=null?n:d)!=null?r:v;b&&(i.bg=b,i[tt.arrowBg.var]=gx(a,"colors",b));var x=lI(nr({},g,{direction:a.direction})),C=ql(l)||u,k;if(C)k=w.createElement(re.span,nr({tabIndex:0},x.getTriggerProps()),l);else{var E=w.Children.only(l);k=w.cloneElement(E,x.getTriggerProps(E.props,E.ref))}var P=!!c,F=x.getTooltipProps({},t),M=P?Yl(F,["role","id"]):F,I=ev(F,["role","id"]);return s?w.createElement(w.Fragment,null,k,w.createElement(N1,null,x.isOpen&&w.createElement(Pa,h,w.createElement(re.div,nr({},x.getTooltipPositionerProps(),{__css:{zIndex:i.zIndex,pointerEvents:"none"}}),w.createElement(uI,nr({variants:oI},M,{initial:"exit",animate:"enter",exit:"exit",__css:i}),s,P&&w.createElement(i5,I,c),f&&w.createElement(re.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},w.createElement(re.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:i.bg}}))))))):w.createElement(w.Fragment,null,l)}),dI=YS;dI.defaultProps={theme:by};function fI(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=[].concat(t),i=t[t.length-1];return W_(i)&&n.length>1?n=n.slice(0,n.length-1):i=by,Vx.apply(void 0,n.map(function(o){return function(a){return Hr(o)?o(a):pI(a,o)}}))(i)}function pI(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return At.apply(void 0,[{}].concat(t,[E4]))}function E4(e,t,r,n){if((Hr(e)||Hr(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var i=Hr(e)?e.apply(void 0,arguments):e,o=Hr(t)?t.apply(void 0,arguments):t;return At({},i,o,E4)}}const gc={deepSkyBlue:"#0189FF",azureRadiance:"#017BE5",blueGrey:"#60798E",veryLightBlue:"#E0EEFA",linkWater:"#C7DEF2",ziggurat:"#B0CFE0"},oi={main:gc,secondary:{pumpkin:"#FF7A14",polishedBronze:"#CD7F32",cornsilk:"#FFF5DF",linen:"#F8ECE0"},alert:{deepSkyBlue:gc.deepSkyBlue,veryLightBlue:gc.veryLightBlue,jadeGreen:"#28A745",ice:"#E9F6EC",red:"#CC0000",veryLightPinkThree:"#F9DFDF",orangeyYelow:"#F5A623",pale:"#FDEED6"},icon:{cetaceanBlue:"#08044F",deepSkyBlue:gc.deepSkyBlue,lightSeaGreen:"#1EBDAF",orangeRed:"#FF554D",ripeMango:"#FFBC27"},neutral:{darkCharcoal:"#2F2F2F",davysGrey:"#5C5C5C",gray:"#808080",spanishGrey:"#999999",silverSand:"#C6C6C6",platinum:"#E8E8E8",cultured:"#F4F4F4",cultured2:"#F8F8F8",white:"#FFFFFF"}},hI={global:e=>({".react-ripples":{h:"100%",display:"grid!important"},".chakra-button":{borderStyle:"none"},".chakra-modal__content-container":{padding:"1.87rem",zIndex:"1400",justifyContent:"center",alignItems:"center",overflow:"auto"},".chakra-modal__content":{borderRadius:"0.5rem",background:"white",color:"inherit",zIndex:"1400",maxWidth:"36.813rem",boxShadow:"0px 4px 16px rgba(92, 92, 92, 0.2)"},".chakra-modal__header":{paddingInlineStart:"1.5rem",paddingInlineEnd:"1.5rem",fontSize:"1.25rem",fontWeight:"700",textAlign:"center",".chakra-icon":{width:"13rem"}},".chakra-modal__close-btn":{width:"2rem",height:"2rem",borderRadius:"0.5rem",fontSize:"0.75rem",position:"absolute",top:"0.5rem",right:"0.75rem",color:"#60798E",backgroundColor:"transparent",borderStyle:"none"}})},Cl="solid .063rem",vI={borders:{normal:`${Cl} ${oi.neutral.darkCharcoal}`,light:`${Cl} ${oi.neutral.platinum}`,active:`${Cl} ${oi.main.deepSkyBlue}`,success:`${Cl} ${oi.alert.jadeGreen}`,error:`${Cl} ${oi.alert.red}`,white:`solid .125rem ${oi.neutral.white}`},radii:{small:".25rem",big:".5rem",rounded:"50%"},shadows:{sm:"0 .125rem .5rem 0 rgba(0,0,0,.20)",md:"0 .25rem 1rem 0 rgba(0,0,0,.20)",lg:"0 .5rem 2rem 0 rgba(0,0,0,.20)"},space:{xxs:".25rem",xs:".5rem",s:"1rem",m:"1.5rem",l:"2rem",xl:"3rem",xxl:"5rem"}};var iH="",oH="",aH="",lH="",sH="";const mI=fI({colors:oi,...vI,...{fonts:{body:"Roboto",outstanding:"Lora"}},styles:hI}),V=e=>`var(--chakra-${e})`;function yc({children:e,bg:t=V("colors-icon-ripeMango"),color:r=V("colors-neutral-darkCharcoal"),size:n="md",m:i="0"}){const o={md:{borderRadius:"0.25em",fontWeight:"400",p:"0.25em 0.84em"},sm:{borderRadius:"0.42em",fontWeight:"700",p:"0.17em 0.67em"}};return p(ee,{bg:t,borderRadius:o[n].borderRadius,color:r,display:"inline-block",fontSize:"0.75rem",fontWeight:o[n].fontWeight,lineHeight:".875rem",m:i,p:o[n].p,children:e})}function P4({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),p(iI,{size:"1rem",value:t,thickness:"1rem",color:V("colors-main-deepSkyBlue"),trackColor:V("colors-neutral-platinum")})}var gI=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),yo=globalThis&&globalThis.__assign||function(){return yo=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},yo.apply(this,arguments)},yI=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},bI={position:"relative",display:"inline-flex",overflow:"hidden"},xI=function(e){e===void 0&&(e={});var t;return t=function(r){gI(n,r);function n(i){var o=r.call(this,i)||this;return o.timer=0,o.onClick=function(a){var l=o.props,s=l.during,u=l.onClick,c=l.color;a.stopPropagation();var f=a.pageX,d=a.pageY,h=a.currentTarget,m=h.getBoundingClientRect(),y=f-(m.left+window.scrollX),v=d-(m.top+window.scrollY),g=Math.max(m.width,m.height);o.setState(function(b){return{rippleStyle:yo({},b.rippleStyle,{left:y,top:v,opacity:1,transform:"translate(-50%, -50%)",transition:"initial",backgroundColor:c})}},function(){o.timer=setTimeout(function(){o.setState(function(b){return{rippleStyle:yo({},b.rippleStyle,{opacity:0,transform:"scale("+g/9+")",transition:"all "+s+"ms"})}})},50)}),u&&u(a)},o.state={rippleStyle:{position:"absolute",borderRadius:"50%",opacity:0,width:35,height:35,transform:"translate(-50%, -50%)",pointerEvents:"none"}},o}return n.prototype.componentWillUnmount=function(){clearTimeout(this.timer)},n.prototype.render=function(){var i=this.props,o=i.children;i.during,i.color,i.onClick;var a=i.className,l=yI(i,["children","during","color","onClick","className"]),s=this.state.rippleStyle;return Dr.default.createElement("div",yo({},l,{className:("react-ripples "+a).trim(),style:bI,onClick:this.onClick}),o,Dr.default.createElement("s",{style:s}))},n}(Dr.default.PureComponent),t.displayName="Ripples",t.propTypes={during:lc.number,color:lc.string,onClick:lc.func,className:lc.string},t.defaultProps=yo({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},Op=globalThis&&globalThis.__assign||function(){return Op=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Op.apply(this,arguments)},CI=function(e){return function(t){return Dr.default.createElement(e,Op({},t))}},_4=CI(xI());function bo({children:e,color:t="rgba(204,204,204,0.2)"}){return p(_4,{during:1e3,color:t,children:p(ee,{children:e})})}function ce({w:e="1rem",h:t="1rem",color:r=V("colors-main-ziggurat"),m:n="0",viewBox:i="0 0 16 16",children:o,title:a}){return z(De,{w:e,h:t,viewBox:i,color:r,m:n,"aria-label":" ","aria-hidden":!0,children:[z("title",{children:["icon",a&&`-${a}`]}),o]})}function Lp(e){return z(ce,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"academicRecord",children:[p("path",{d:"M14 0H2C1.73478 0 1.48043 0.105357 1.29289 0.292893C1.10536 0.48043 1 0.734784 1 1V7C1 7.26522 1.10536 7.51957 1.29289 7.70711C1.48043 7.89464 1.73478 8 2 8H14C14.2652 8 14.5196 7.89464 14.7071 7.70711C14.8946 7.51957 15 7.26522 15 7V1C15 0.734784 14.8946 0.48043 14.7071 0.292893C14.5196 0.105357 14.2652 0 14 0V0Z",fill:"currentColor"}),p("path",{d:"M15 10H1V12H15V10Z",fill:"currentColor"}),p("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}Lp.displayName="AcademicRecord";function Bp(e){return p(ce,{...e,children:z("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p("path",{d:"M22.142 44.1483C34.0945 44.1483 43.784 34.4588 43.784 22.5063C43.784 10.5537 34.0945 0.864258 22.142 0.864258C10.1895 0.864258 0.5 10.5537 0.5 22.5063C0.5 34.4588 10.1895 44.1483 22.142 44.1483Z",fill:"#FDEED6"}),p("path",{d:"M19 24.1013C19.8284 24.1013 20.5 23.4297 20.5 22.6013C20.5 21.7729 19.8284 21.1013 19 21.1013C18.1716 21.1013 17.5 21.7729 17.5 22.6013C17.5 23.4297 18.1716 24.1013 19 24.1013Z",fill:"#FFBC27"}),p("path",{d:"M24 24.1013C24.8284 24.1013 25.5 23.4297 25.5 22.6013C25.5 21.7729 24.8284 21.1013 24 21.1013C23.1716 21.1013 22.5 21.7729 22.5 22.6013C22.5 23.4297 23.1716 24.1013 24 24.1013Z",fill:"#FFBC27"}),p("path",{d:"M29 24.1013C29.8284 24.1013 30.5 23.4297 30.5 22.6013C30.5 21.7729 29.8284 21.1013 29 21.1013C28.1716 21.1013 27.5 21.7729 27.5 22.6013C27.5 23.4297 28.1716 24.1013 29 24.1013Z",fill:"#FFBC27"}),p("path",{d:"M44.178 13.8843C41.157 8.63532 35.491 5.10132 29 5.10132C19.335 5.10132 11.5 12.9363 11.5 22.6013C11.5 32.2663 19.335 40.1013 29 40.1013C35.108 40.1013 40.484 36.9723 43.615 32.2303",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.282 13.9192C50.6627 13.9192 51.782 15.0385 51.782 16.4192V20.9862C51.782 22.3669 50.6627 23.4862 49.282 23.4862C47.9013 23.4862 46.782 22.3669 46.782 20.9862V16.4192C46.782 15.0385 47.9013 13.9192 49.282 13.9192ZM47.5143 25.6514C48.4906 24.6751 50.0735 24.6751 51.0498 25.6515L51.0958 25.6975C52.0721 26.6738 52.072 28.2567 51.0957 29.233C50.1194 30.2093 48.5365 30.2093 47.5602 29.2329L47.5142 29.1869C46.5379 28.2106 46.5379 26.6277 47.5143 25.6514Z",fill:"#FFBC27"})]})})}Bp.displayName="ArrowRight";function Vp(e){return z(ce,{...e,children:[z("g",{clipPath:"url(#clip0)",children:[p("mask",{id:"mask0",style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:p("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),p("g",{mask:"url(#mask0)",children:p("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),p("defs",{children:p("clipPath",{id:"clip0",children:p("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]})}Vp.displayName="ArrowRight";function Rp(e){return z(ce,{...e,children:[p("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),p("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 8h2a1 1 0 011 1v6a1 1 0 01-1 1H9v-4H7v4H1a1 1 0 01-1-1V9a1 1 0 011-1h2V4.618l-.553.277a1 1 0 01-.894-1.79l6-3a1 1 0 01.894 0l6 3a1 1 0 11-.894 1.79L13 4.618V8zM3 13h2v-3H3v3zm2-5V4a.98.98 0 00-.07-.347L8 2.118l3.07 1.535A.98.98 0 0011 4v4H5zm6 5h2v-3h-2v3z",clipRule:"evenodd"})]})}Rp.displayName="Certificate";function Ip(e){return p(ce,{...e,children:p("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 8c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zm3.6 0L7 11.4 12.4 6 11 4.6l-4 4-2-2L3.6 8z",clipRule:"evenodd"})})}Ip.displayName="CircularCheck";function bc(e){return p(ce,{...e,children:p("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zM7 12V7h2v5H7zm0-7c0 .6.4 1 1 1s1-.4 1-1-.4-1-1-1-1 .4-1 1z",clipRule:"evenodd"})})}bc.displayName="CircularInformation";function xc(e){return z(ce,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",children:[p("path",{d:"M7.99998 12C8.29998 12 8.49998 11.9 8.69998 11.7L14.4 6L13 4.6L8.99998 8.6V0H6.99998V8.6L2.99998 4.6L1.59998 6L7.29998 11.7C7.49998 11.9 7.69998 12 7.99998 12Z",fill:"currentColor"}),p("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}xc.displayName="Download";function $p(e){return p(ce,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goAhead",children:p("path",{d:"M2.07407 12L8 6L2.07407 5.18061e-07L-8.65485e-07 2.1L3.85185 6L-1.83588e-07 9.9L2.07407 12V12Z",fill:"currentColor"})})}$p.displayName="GoAhead";function Dp(e){return p(ce,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goBack",children:p("path",{d:"M5.92593 2L0 8L5.92593 14L8 11.9L4.14815 8L8 4.1L5.92593 2Z",fill:"currentColor"})})}Dp.displayName="GoBack";function Hp(e){return z(ce,{...e,w:"12px",viewBox:"0 0 14 14",title:"multimedia",children:[p("path",{d:"M3 6C4.65685 6 6 4.65685 6 3C6 1.34315 4.65685 0 3 0C1.34315 0 0 1.34315 0 3C0 4.65685 1.34315 6 3 6Z",fill:"currentColor"}),p("path",{d:"M11 6C12.6569 6 14 4.65685 14 3C14 1.34315 12.6569 0 11 0C9.34315 0 8 1.34315 8 3C8 4.65685 9.34315 6 11 6Z",fill:"currentColor"}),p("path",{d:"M3 14C4.65685 14 6 12.6569 6 11C6 9.34315 4.65685 8 3 8C1.34315 8 0 9.34315 0 11C0 12.6569 1.34315 14 3 14Z",fill:"currentColor"}),p("path",{d:"M11 14C12.6569 14 14 12.6569 14 11C14 9.34315 12.6569 8 11 8C9.34315 8 8 9.34315 8 11C8 12.6569 9.34315 14 11 14Z",fill:"currentColor"})]})}Hp.displayName="Multimedia";function T4({fill:e="#fff"}){return p("div",{className:"loaderAsync","data-testid":"loaderAsync",children:z("svg",{id:"prefix__eXySq0EBKm11",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 20",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",width:38,height:20,children:[p("style",{dangerouslySetInnerHTML:{__html:"@keyframes eXySq0EBKm12_f_o{0%,33.333333%,to{fill-opacity:.4}66.666667%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm13_f_o{0%,66.666667%,to{fill-opacity:.4}33.333333%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm14_f_o{0%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}33.333333%,66.666667%{fill-opacity:.4}to{fill-opacity:1}}"}}),p("circle",{r:2.502,transform:"translate(29.526 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm12_f_o 600ms linear infinite normal forwards"}}),p("circle",{r:2.502,transform:"translate(19 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm13_f_o 600ms linear infinite normal forwards"}}),p("circle",{r:2.053,transform:"matrix(1.21764 0 0 1.21764 8.562 10.002)",fill:e,style:{animation:"eXySq0EBKm14_f_o 600ms linear infinite normal forwards"}})]})})}function zp(e){return p(ce,{...e,viewBox:"0 0 12 12",w:"12px",title:"profile",children:p("path",{fill:"currentColor",d:"M5 6a3 3 0 100-6 3 3 0 000 6zM5 7c-3.375 0-5 2.106-5 3.333V11a1 1 0 001 1h8a1 1 0 001-1v-.667C10 9.106 8.375 7 5 7z"})})}zp.displayName="Profile";function Np(e){return z(ce,{...e,children:[p("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 2h2a1 1 0 011 1v12a1 1 0 01-1 1H1a1 1 0 01-1-1V3a1 1 0 011-1h2V0h2v2h2V0h2v2h2V0h2v2zM2 14h12V5H2v9z",clipRule:"evenodd"}),p("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),p("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),p("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),p("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),p("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),p("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]})}Np.displayName="Schedule";function jp(e){return z(ce,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[p("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),p("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),p("path",{d:"M6 4C6.55228 4 7 3.55228 7 3C7 2.44772 6.55228 2 6 2C5.44772 2 5 2.44772 5 3C5 3.55228 5.44772 4 6 4Z",fill:"white"})]})}jp.displayName="TinyAlertInfo";function Wp(e){return z(ce,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[z("g",{clipPath:"url(#clip0_2165_6683)",children:[p("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.87867 2.46447L2.46446 3.87868L4.58578 6L2.46446 8.12132L3.87867 9.53553L5.99999 7.41421L8.12131 9.53553L9.53553 8.12132L7.41421 6L9.53553 3.87868L8.12131 2.46447L5.99999 4.58579L3.87867 2.46447Z",fill:"white"})]}),p("defs",{children:p("clipPath",{id:"clip0_2165_6683",children:p("rect",{width:"12px",height:"12px",fill:"white"})})})]})}Wp.displayName="TinyAlertError";function Up(e){return z(ce,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[p("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),p("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),p("path",{d:"M6 8C5.44771 8 5 8.44772 5 9C5 9.55228 5.44772 10 6 10C6.55228 10 7 9.55228 7 9C7 8.44772 6.55228 8 6 8Z",fill:"white"})]})}Up.displayName="TinyAlertWarning";function Zp(e){return z(ce,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[z("g",{clipPath:"url(#clip0_2191_1138)",children:[p("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.41421 5.53549L2 6.94971L3.41421 8.36392L4.82843 9.77813L9.77817 4.82839L8.36396 3.41417L4.82843 6.94971L3.41421 5.53549Z",fill:"white"})]}),p("defs",{children:p("clipPath",{id:"clip0_2191_1138",children:p("rect",{width:"12",height:"12",fill:"white"})})})]})}Zp.displayName="TinyAlertSuccess";function Gp(e){return p(ce,{...e,w:"14px",h:"16px",viewBox:"0 0 14 16",title:"password",children:p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C4.95714 0 3.28571 1.67143 3.28571 3.71429V4.64286H1.42857C0.871429 4.64286 0.5 5.01429 0.5 5.57143V13.9286C0.5 14.4857 0.871429 14.8571 1.42857 14.8571H12.5714C13.1286 14.8571 13.5 14.4857 13.5 13.9286V5.57143C13.5 5.01429 13.1286 4.64286 12.5714 4.64286H10.7143V3.71429C10.7143 1.67143 9.04286 0 7 0ZM7.92857 10.8643V12.0714H6.07143V10.8643C5.51429 10.5857 5.14286 9.93571 5.14286 9.28571C5.14286 8.26429 5.97857 7.42857 7 7.42857C8.02143 7.42857 8.85714 8.26429 8.85714 9.28571C8.85714 9.93571 8.48571 10.5857 7.92857 10.8643ZM5.14286 3.71429V4.64286H8.85714V3.71429C8.85714 2.69286 8.02143 1.85714 7 1.85714C5.97857 1.85714 5.14286 2.69286 5.14286 3.71429Z",fill:"currentColor"})})}Gp.displayName="Password";function qp(e){return z(ce,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"pen",children:[p("path",{d:"M8.1 3.5L0.3 11.3C0.1 11.5 0 11.7 0 12V15C0 15.6 0.4 16 1 16H4C4.3 16 4.5 15.9 4.7 15.7L12.5 7.9L8.1 3.5Z",fill:"currentColor"}),p("path",{d:"M15.7 3.3L12.7 0.3C12.3 -0.1 11.7 -0.1 11.3 0.3L9.5 2.1L13.9 6.5L15.7 4.7C16.1 4.3 16.1 3.7 15.7 3.3Z",fill:"currentColor"})]})}qp.displayName="Pen";function Yp(e){return p(ce,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"plusSign",children:p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8C0 3.6 3.6 0 8 0C12.4 0 16 3.6 16 8C16 12.4 12.4 16 8 16C3.6 16 0 12.4 0 8ZM9 9H12V7H9V4H7V7H4V9H7V12H9V9Z",fill:"currentColor"})})}Yp.displayName="PlusSign";function Xp(e){return z(ce,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"trashCan",children:[p("path",{d:"M2 6V14C2 15.1 2.9 16 4 16H12C13.1 16 14 15.1 14 14V6H2Z",fill:"currentColor"}),p("path",{d:"M12 3V1C12 0.4 11.6 0 11 0H5C4.4 0 4 0.4 4 1V3H0V5H16V3H12ZM10 3H6V2H10V3Z",fill:"currentColor"})]})}Xp.displayName="TrashCan";function Kp(e){return p(ce,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"textBubble",children:p("path",{d:"M1 0H15C15.552 0 16 0.448 16 1V11C16 11.552 15.552 12 15 12H10L4 16V12H1C0.448 12 0 11.552 0 11V1C0 0.448 0.448 0 1 0Z",fill:"currentColor"})})}Kp.displayName="TextBubble";function Qp(e){return p(ce,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:z("svg",{fill:"none",children:[p("path",{d:"M21.642 44.2419C33.5945 44.2419 43.284 34.5524 43.284 22.5999C43.284 10.6473 33.5945 0.957886 21.642 0.957886C9.68945 0.957886 0 10.6473 0 22.5999C0 34.5524 9.68945 44.2419 21.642 44.2419Z",fill:"white"}),p("path",{d:"M18.5 24.1949C19.3284 24.1949 20 23.5233 20 22.6949C20 21.8665 19.3284 21.1949 18.5 21.1949C17.6716 21.1949 17 21.8665 17 22.6949C17 23.5233 17.6716 24.1949 18.5 24.1949Z",fill:"#CC0000"}),p("path",{d:"M23.5 24.1949C24.3284 24.1949 25 23.5233 25 22.6949C25 21.8665 24.3284 21.1949 23.5 21.1949C22.6716 21.1949 22 21.8665 22 22.6949C22 23.5233 22.6716 24.1949 23.5 24.1949Z",fill:"#CC0000"}),p("path",{d:"M28.5 24.1949C29.3284 24.1949 30 23.5233 30 22.6949C30 21.8665 29.3284 21.1949 28.5 21.1949C27.6716 21.1949 27 21.8665 27 22.6949C27 23.5233 27.6716 24.1949 28.5 24.1949Z",fill:"#CC0000"}),p("path",{d:"M43.678 13.9779C40.657 8.72889 34.991 5.19489 28.5 5.19489C18.835 5.19489 11 13.0299 11 22.6949C11 32.3599 18.835 40.1949 28.5 40.1949C34.608 40.1949 39.984 37.0659 43.115 32.3239",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.5862 15.7811C36.5625 14.8048 38.1455 14.8048 39.1218 15.7811L43.2105 19.8699L47.2992 15.7811C48.2755 14.8048 49.8585 14.8048 50.8348 15.7811C51.8111 16.7574 51.8111 18.3403 50.8348 19.3167L46.746 23.4054L50.8348 27.4941C51.8111 28.4704 51.8111 30.0533 50.8348 31.0297C49.8585 32.006 48.2755 32.006 47.2992 31.0297L43.2105 26.9409L39.1218 31.0297C38.1455 32.006 36.5625 32.006 35.5862 31.0297C34.6099 30.0533 34.6099 28.4704 35.5862 27.4941L39.675 23.4054L35.5862 19.3167C34.6099 18.3403 34.6099 16.7574 35.5862 15.7811Z",fill:"#CC0000"})]})})}Qp.displayName="ErrorWhite";function Jp(e){return p(ce,{...e,w:"53",h:"45",viewBox:"0 0 53 45",title:"infoIcon",children:z("svg",{fill:"none",children:[p("path",{d:"M21.642 44.047C33.5945 44.047 43.284 34.3575 43.284 22.405C43.284 10.4525 33.5945 0.763 21.642 0.763C9.68945 0.763 0 10.4525 0 22.405C0 34.3575 9.68945 44.047 21.642 44.047Z",fill:"white"}),p("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#0189FF"}),p("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#0189FF"}),p("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#0189FF"}),p("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21H50C50.2652 21 50.5196 21.1054 50.7071 21.2929C50.8946 21.4804 51 21.7348 51 22V29.045H51.237C51.4908 29.0531 51.7316 29.1597 51.9082 29.3421C52.0849 29.5245 52.1837 29.7685 52.1837 30.0225C52.1837 30.2765 52.0849 30.5205 51.9082 30.7029C51.7316 30.8853 51.4908 30.9919 51.237 31H46.977C46.7232 30.9919 46.4824 30.8853 46.3058 30.7029C46.1291 30.5205 46.0303 30.2765 46.0303 30.0225C46.0303 29.7685 46.1291 29.5245 46.3058 29.3421C46.4824 29.1597 46.7232 29.0531 46.977 29.045H47V23.123C46.7348 23.123 46.4804 23.0176 46.2929 22.8301C46.1054 22.6426 46 22.3882 46 22.123V22C46 21.7348 46.1054 21.4804 46.2929 21.2929C46.4804 21.1054 46.7348 21 47 21Z",fill:"#0189FF"}),p("path",{d:"M49 19C50.3807 19 51.5 17.8807 51.5 16.5C51.5 15.1193 50.3807 14 49 14C47.6193 14 46.5 15.1193 46.5 16.5C46.5 17.8807 47.6193 19 49 19Z",fill:"#0189FF"})]})})}Jp.displayName="InfoWhite";function eh(e){return p(ce,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:z("svg",{fill:"none",children:[p("path",{d:"M21.642 44.094C33.5945 44.094 43.284 34.4045 43.284 22.452C43.284 10.4995 33.5945 0.809998 21.642 0.809998C9.68945 0.809998 0 10.4995 0 22.452C0 34.4045 9.68945 44.094 21.642 44.094Z",fill:"white"}),p("path",{d:"M43.678 13.83C40.657 8.581 34.991 5.047 28.5 5.047C18.835 5.047 11 12.882 11 22.547C11 32.212 18.835 40.047 28.5 40.047C34.608 40.047 39.984 36.918 43.115 32.176",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.8232C57.0011 13.7995 57.0011 15.3825 56.0248 16.3588L44.3118 28.0718C43.8429 28.5406 43.207 28.804 42.544 28.804C41.881 28.804 41.2451 28.5406 40.7762 28.0718L34.2322 21.5278C33.2559 20.5515 33.2559 18.9685 34.2322 17.9922C35.2085 17.0159 36.7915 17.0159 37.7678 17.9922L42.544 22.7685L52.4892 12.8232C53.4655 11.8469 55.0485 11.8469 56.0248 12.8232Z",fill:"#28A745"}),p("path",{d:"M18.5 24.047C19.3284 24.047 20 23.3754 20 22.547C20 21.7186 19.3284 21.047 18.5 21.047C17.6716 21.047 17 21.7186 17 22.547C17 23.3754 17.6716 24.047 18.5 24.047Z",fill:"#28A745"}),p("path",{d:"M23.5 24.047C24.3284 24.047 25 23.3754 25 22.547C25 21.7186 24.3284 21.047 23.5 21.047C22.6716 21.047 22 21.7186 22 22.547C22 23.3754 22.6716 24.047 23.5 24.047Z",fill:"#28A745"}),p("path",{d:"M28.5 24.047C29.3284 24.047 30 23.3754 30 22.547C30 21.7186 29.3284 21.047 28.5 21.047C27.6716 21.047 27 21.7186 27 22.547C27 23.3754 27.6716 24.047 28.5 24.047Z",fill:"#28A745"})]})})}eh.displayName="SuccessWhite";function th(e){return p(ce,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:z("svg",{fill:"none",children:[p("path",{d:"M21.642 44.282C33.5945 44.282 43.284 34.5925 43.284 22.64C43.284 10.6874 33.5945 0.997986 21.642 0.997986C9.68945 0.997986 0 10.6874 0 22.64C0 34.5925 9.68945 44.282 21.642 44.282Z",fill:"white"}),p("path",{d:"M18.5 24.235C19.3284 24.235 20 23.5634 20 22.735C20 21.9066 19.3284 21.235 18.5 21.235C17.6716 21.235 17 21.9066 17 22.735C17 23.5634 17.6716 24.235 18.5 24.235Z",fill:"#FFBC27"}),p("path",{d:"M23.5 24.235C24.3284 24.235 25 23.5634 25 22.735C25 21.9066 24.3284 21.235 23.5 21.235C22.6716 21.235 22 21.9066 22 22.735C22 23.5634 22.6716 24.235 23.5 24.235Z",fill:"#FFBC27"}),p("path",{d:"M28.5 24.235C29.3284 24.235 30 23.5634 30 22.735C30 21.9066 29.3284 21.235 28.5 21.235C27.6716 21.235 27 21.9066 27 22.735C27 23.5634 27.6716 24.235 28.5 24.235Z",fill:"#FFBC27"}),p("path",{d:"M43.678 14.018C40.657 8.76899 34.991 5.23499 28.5 5.23499C18.835 5.23499 11 13.07 11 22.735C11 32.4 18.835 40.235 28.5 40.235C34.608 40.235 39.984 37.106 43.115 32.364",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.782 14.053C50.1627 14.053 51.282 15.1723 51.282 16.553V21.12C51.282 22.5007 50.1627 23.62 48.782 23.62C47.4013 23.62 46.282 22.5007 46.282 21.12V16.553C46.282 15.1723 47.4013 14.053 48.782 14.053ZM47.0143 25.7852C47.9906 24.8089 49.5735 24.8089 50.5498 25.7852L50.5958 25.8312C51.5721 26.8076 51.572 28.3905 50.5957 29.3668C49.6194 30.3431 48.0365 30.343 47.0602 29.3667L47.0142 29.3207C46.0379 28.3444 46.0379 26.7615 47.0143 25.7852Z",fill:"#FFBC27"})]})})}th.displayName="WarningWhite";function rh(e){return p(ce,{...e,w:"53",h:"45",viewBox:"0 0 53 45",children:z("svg",{fill:"none",children:[p("path",{d:"M22.142 44.1878C34.0945 44.1878 43.784 34.4984 43.784 22.5458C43.784 10.5933 34.0945 0.903809 22.142 0.903809C10.1895 0.903809 0.5 10.5933 0.5 22.5458C0.5 34.4984 10.1895 44.1878 22.142 44.1878Z",fill:"#F9DFDF"}),p("path",{d:"M19 24.1409C19.8284 24.1409 20.5 23.4693 20.5 22.6409C20.5 21.8124 19.8284 21.1409 19 21.1409C18.1716 21.1409 17.5 21.8124 17.5 22.6409C17.5 23.4693 18.1716 24.1409 19 24.1409Z",fill:"#CC0000"}),p("path",{d:"M24 24.1409C24.8284 24.1409 25.5 23.4693 25.5 22.6409C25.5 21.8124 24.8284 21.1409 24 21.1409C23.1716 21.1409 22.5 21.8124 22.5 22.6409C22.5 23.4693 23.1716 24.1409 24 24.1409Z",fill:"#CC0000"}),p("path",{d:"M29 24.1409C29.8284 24.1409 30.5 23.4693 30.5 22.6409C30.5 21.8124 29.8284 21.1409 29 21.1409C28.1716 21.1409 27.5 21.8124 27.5 22.6409C27.5 23.4693 28.1716 24.1409 29 24.1409Z",fill:"#CC0000"}),p("path",{d:"M44.178 13.9239C41.157 8.67487 35.491 5.14087 29 5.14087C19.335 5.14087 11.5 12.9759 11.5 22.6409C11.5 32.3059 19.335 40.1409 29 40.1409C35.108 40.1409 40.484 37.0119 43.615 32.2699",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.0862 15.7271C37.0625 14.7508 38.6455 14.7508 39.6218 15.7271L43.7105 19.8158L47.7992 15.7271C48.7755 14.7508 50.3585 14.7508 51.3348 15.7271C52.3111 16.7034 52.3111 18.2863 51.3348 19.2626L47.246 23.3514L51.3348 27.4401C52.3111 28.4164 52.3111 29.9993 51.3348 30.9756C50.3585 31.952 48.7755 31.952 47.7992 30.9756L43.7105 26.8869L39.6218 30.9756C38.6455 31.952 37.0625 31.952 36.0862 30.9756C35.1099 29.9993 35.1099 28.4164 36.0862 27.4401L40.175 23.3514L36.0862 19.2626C35.1099 18.2863 35.1099 16.7034 36.0862 15.7271Z",fill:"#CC0000"})]})})}rh.displayName="ErrorColor";function nh(e){return p(ce,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:z("svg",{fill:"none",children:[p("path",{d:"M21.642 44.2349C33.5945 44.2349 43.284 34.5455 43.284 22.5929C43.284 10.6404 33.5945 0.950928 21.642 0.950928C9.68945 0.950928 0 10.6404 0 22.5929C0 34.5455 9.68945 44.2349 21.642 44.2349Z",fill:"#E0EEFA"}),p("path",{d:"M18.5 24.188C19.3284 24.188 20 23.5164 20 22.688C20 21.8596 19.3284 21.188 18.5 21.188C17.6716 21.188 17 21.8596 17 22.688C17 23.5164 17.6716 24.188 18.5 24.188Z",fill:"#0189FF"}),p("path",{d:"M23.5 24.188C24.3284 24.188 25 23.5164 25 22.688C25 21.8596 24.3284 21.188 23.5 21.188C22.6716 21.188 22 21.8596 22 22.688C22 23.5164 22.6716 24.188 23.5 24.188Z",fill:"#0189FF"}),p("path",{d:"M28.5 24.188C29.3284 24.188 30 23.5164 30 22.688C30 21.8596 29.3284 21.188 28.5 21.188C27.6716 21.188 27 21.8596 27 22.688C27 23.5164 27.6716 24.188 28.5 24.188Z",fill:"#0189FF"}),p("path",{d:"M43.678 13.971C40.657 8.72199 34.991 5.18799 28.5 5.18799C18.835 5.18799 11 13.023 11 22.688C11 32.353 18.835 40.188 28.5 40.188C34.608 40.188 39.984 37.059 43.115 32.317",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21.188H50C50.2652 21.188 50.5196 21.2933 50.7071 21.4809C50.8946 21.6684 51 21.9228 51 22.188V29.233H51.237C51.4908 29.2411 51.7316 29.3477 51.9082 29.5301C52.0849 29.7125 52.1837 29.9565 52.1837 30.2105C52.1837 30.4645 52.0849 30.7085 51.9082 30.8909C51.7316 31.0733 51.4908 31.1799 51.237 31.188H46.977C46.7232 31.1799 46.4824 31.0733 46.3058 30.8909C46.1291 30.7085 46.0303 30.4645 46.0303 30.2105C46.0303 29.9565 46.1291 29.7125 46.3058 29.5301C46.4824 29.3477 46.7232 29.2411 46.977 29.233H47V23.311C46.7348 23.311 46.4804 23.2056 46.2929 23.0181C46.1054 22.8306 46 22.5762 46 22.311V22.188C46 21.9228 46.1054 21.6684 46.2929 21.4809C46.4804 21.2933 46.7348 21.188 47 21.188Z",fill:"#0189FF"}),p("path",{d:"M49 19.188C50.3807 19.188 51.5 18.0687 51.5 16.688C51.5 15.3073 50.3807 14.188 49 14.188C47.6193 14.188 46.5 15.3073 46.5 16.688C46.5 18.0687 47.6193 19.188 49 19.188Z",fill:"#0189FF"})]})})}nh.displayName="InfoColor";function ih(e){return p(ce,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:z("svg",{fill:"none",children:[p("path",{d:"M21.642 44.0469C33.5945 44.0469 43.284 34.3575 43.284 22.4049C43.284 10.4524 33.5945 0.762939 21.642 0.762939C9.68945 0.762939 0 10.4524 0 22.4049C0 34.3575 9.68945 44.0469 21.642 44.0469Z",fill:"#E9F6EC"}),p("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.7762C57.0011 13.7525 57.0011 15.3354 56.0248 16.3117L44.3118 28.0247C43.8429 28.4936 43.207 28.7569 42.544 28.7569C41.881 28.7569 41.2451 28.4936 40.7762 28.0247L34.2322 21.4807C33.2559 20.5044 33.2559 18.9215 34.2322 17.9452C35.2085 16.9689 36.7915 16.9689 37.7678 17.9452L42.544 22.7214L52.4892 12.7762C53.4655 11.7999 55.0485 11.7999 56.0248 12.7762Z",fill:"#28A745"}),p("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#28A745"}),p("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#28A745"}),p("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#28A745"})]})})}ih.displayName="SuccessColor";function oh(e){return p(ce,{...e,w:"53",h:"45",viewBox:"0 0 53 45",children:z("svg",{fill:"none",children:[p("path",{d:"M22.142 44.1483C34.0945 44.1483 43.784 34.4588 43.784 22.5063C43.784 10.5537 34.0945 0.864258 22.142 0.864258C10.1895 0.864258 0.5 10.5537 0.5 22.5063C0.5 34.4588 10.1895 44.1483 22.142 44.1483Z",fill:"#FDEED6"}),p("path",{d:"M19 24.1013C19.8284 24.1013 20.5 23.4297 20.5 22.6013C20.5 21.7729 19.8284 21.1013 19 21.1013C18.1716 21.1013 17.5 21.7729 17.5 22.6013C17.5 23.4297 18.1716 24.1013 19 24.1013Z",fill:"#FFBC27"}),p("path",{d:"M24 24.1013C24.8284 24.1013 25.5 23.4297 25.5 22.6013C25.5 21.7729 24.8284 21.1013 24 21.1013C23.1716 21.1013 22.5 21.7729 22.5 22.6013C22.5 23.4297 23.1716 24.1013 24 24.1013Z",fill:"#FFBC27"}),p("path",{d:"M29 24.1013C29.8284 24.1013 30.5 23.4297 30.5 22.6013C30.5 21.7729 29.8284 21.1013 29 21.1013C28.1716 21.1013 27.5 21.7729 27.5 22.6013C27.5 23.4297 28.1716 24.1013 29 24.1013Z",fill:"#FFBC27"}),p("path",{d:"M44.178 13.8843C41.157 8.63532 35.491 5.10132 29 5.10132C19.335 5.10132 11.5 12.9363 11.5 22.6013C11.5 32.2663 19.335 40.1013 29 40.1013C35.108 40.1013 40.484 36.9723 43.615 32.2303",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.282 13.9192C50.6627 13.9192 51.782 15.0385 51.782 16.4192V20.9862C51.782 22.3669 50.6627 23.4862 49.282 23.4862C47.9013 23.4862 46.782 22.3669 46.782 20.9862V16.4192C46.782 15.0385 47.9013 13.9192 49.282 13.9192ZM47.5143 25.6514C48.4906 24.6751 50.0735 24.6751 51.0498 25.6515L51.0958 25.6975C52.0721 26.6738 52.072 28.2567 51.0957 29.233C50.1194 30.2093 48.5365 30.2093 47.5602 29.2329L47.5142 29.1869C46.5379 28.2106 46.5379 26.6277 47.5143 25.6514Z",fill:"#FFBC27"})]})})}oh.displayName="WarningColor";function ah(e){return p(ce,{...e,title:"close",children:p("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:p("path",{d:"M10.7071 1.29303C10.5196 1.10556 10.2652 1.00024 10.0001 1.00024C9.73492 1.00024 9.48061 1.10556 9.29308 1.29303L6.00008 4.58603L2.70708 1.29303C2.51848 1.11087 2.26588 1.01008 2.00368 1.01236C1.74148 1.01464 1.49067 1.1198 1.30526 1.30521C1.11985 1.49062 1.01469 1.74143 1.01241 2.00363C1.01013 2.26583 1.11092 2.51843 1.29308 2.70703L4.58608 6.00003L1.29308 9.29303C1.19757 9.38528 1.12139 9.49562 1.06898 9.61763C1.01657 9.73963 0.988985 9.87085 0.987831 10.0036C0.986677 10.1364 1.01198 10.2681 1.06226 10.391C1.11254 10.5139 1.18679 10.6255 1.28069 10.7194C1.37458 10.8133 1.48623 10.8876 1.60913 10.9379C1.73202 10.9881 1.8637 11.0134 1.99648 11.0123C2.12926 11.0111 2.26048 10.9835 2.38249 10.9311C2.50449 10.8787 2.61483 10.8025 2.70708 10.707L6.00008 7.41403L9.29308 10.707C9.48168 10.8892 9.73429 10.99 9.99648 10.9877C10.2587 10.9854 10.5095 10.8803 10.6949 10.6948C10.8803 10.5094 10.9855 10.2586 10.9878 9.99643C10.99 9.73423 10.8892 9.48163 10.7071 9.29303L7.41408 6.00003L10.7071 2.70703C10.8946 2.5195 10.9999 2.26519 10.9999 2.00003C10.9999 1.73487 10.8946 1.48056 10.7071 1.29303Z",fill:"#60798E"})})})}ah.displayName="Close";var wI=Object.freeze(Object.defineProperty({__proto__:null,AcademicRecord:Lp,AlertInfo:Bp,ArrowRight:Vp,Certificate:Rp,CircularCheck:Ip,CircularInformation:bc,Download:xc,GoAhead:$p,GoBack:Dp,Multimedia:Hp,Loader:T4,Profile:zp,Schedule:Np,TinyAlertInfo:jp,TinyAlertError:Wp,TinyAlertWarning:Up,TinyAlertSuccess:Zp,Password:Gp,Pen:qp,PlusSign:Yp,TrashCan:Xp,TextBubble:Kp,ErrorWhite:Qp,InfoWhite:Jp,SuccessWhite:eh,WarningWhite:th,ErrorColor:rh,InfoColor:nh,SuccessColor:ih,WarningColor:oh,Close:ah},Symbol.toStringTag,{value:"Module"}));function M4({status:e,text:t,margin:r="0"}){const n={success:{icon:p(Zp,{}),text:"Success",bg:V("colors-alert-ice"),color:V("colors-neutral-darkCharcoal")},error:{icon:p(Wp,{}),text:"Error",bg:V("colors-alert-veryLightPinkThree"),color:V("colors-neutral-darkCharcoal")},info:{icon:p(jp,{}),text:"Info",bg:V("colors-alert-veryLightBlue"),color:V("colors-neutral-darkCharcoal")},warning:{icon:p(Up,{}),text:"Warning",bg:V("colors-alert-pale"),color:V("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:V("colors-main-blueGrey"),color:V("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:V("colors-main-ziggurat"),color:V("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:V("colors-neutral-cultured"),color:V("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:V("colors-neutral-white")}};return n[e]?z(ee,{margin:r,"data-testid":"TinyAlert-Box",backgroundColor:n[e].bg,display:"flex",flexDirection:"row",alignItems:"center",padding:".125em .25em",gap:".25rem",width:"fit-content",borderRadius:".25rem",className:"TinyAlert-Box",children:[n[e].icon&&p(ee,{lineHeight:0,sx:{">svg":{margin:0}},children:n[e].icon}),p(ee,{as:"span",color:n[e].color,fontSize:".75rem",fontStyle:"normal",fontWeight:"400",fontFamily:"Roboto",lineHeight:".875rem",margin:"0",children:t!=null?t:n[e].text})]}):null}M4.displayName="TinyAlert";function Cc({ariaLabel:e,bg:t,borderColorActive:r=[V("colors-main-deepSkyBlue"),V("colors-neutral-white")],children:n,color:i=V("colors-neutral-white"),disabled:o=!1,fillLoader:a=V("colors-neutral-white"),id:l,isFullWidth:s=!1,isLoading:u=!1,leftIcon:c,m:f="0",onClick:d,rightIcon:h,role:m="button",rounded:y=!1,size:v="regular",touchDark:g=!1,type:b="button",tabIndex:x=0}){var I,G,U;let C=n!=null?n:null;!n&&!h&&!c&&(C="Button");const k=".75rem",E=y?"12px":V("radii-small"),P=(I=t==null?void 0:t.main)!=null?I:V("colors-main-deepSkyBlue"),F=g?"rgba(160, 160, 160, 0.2)":"rgba(255, 255, 255, 0.2)",M=!n&&(h!=null?h:c)?"onlyIcon":"";return p(ee,{margin:f,sx:{".react-ripples":{borderRadius:E,display:`${s?"grid":"inline-flex!important"}`}},children:p(_4,{color:F,children:p(Z1,{"aria-label":e,id:l,role:m,bg:P,borderRadius:E,color:i,className:M,disabled:o&&u?!1:o,fontWeight:"500",fontSize:v==="regular"?"medium":"small",height:"auto",iconSpacing:V("space-xs"),isActive:!1,isLoading:u,isFullWidth:s,lineHeight:"initial",leftIcon:c,minHeight:v==="regular"?"2.813rem":"2rem",minWidth:v==="regular"?"9rem":"auto",onClick:Z=>{!u&&!o&&(d==null||d(Z))},position:"relative",paddingTop:v==="regular"?k:V(M?"space-xs":"space-xxs"),paddingBottom:v==="regular"?k:V(M?"space-xs":"space-xxs"),paddingLeft:V(v==="regular"?"space-s":"space-xs"),paddingRight:V(v==="regular"?"space-s":"space-xs"),rightIcon:h,type:b,size:v==="regular"?"md":"sm",spinner:p(T4,{fill:a}),tabIndex:o||u?-1:x,_active:{bg:(G=t==null?void 0:t.main)!=null?G:V("colors-main-azureRadiance")},_disabled:{opacity:"50%",cursor:"not-allowed"},_focus:{boxShadow:"none"},_focusVisible:{boxShadow:`inset 0 0 0 2px ${r[0]}, inset 0 0 0 4px ${r[1]}`},_hover:{bg:(U=t==null?void 0:t.hover)!=null?U:V("colors-main-azureRadiance")},sx:{"&[data-loading]":{boxShadow:"none",cursor:"wait"},"&.onlyIcon span":{m:0},span:{h:"1rem"}},children:C})})})}Cc.displayName="Btn";function lh({ariaLabel:e,children:t,disabled:r=!1,isFullWidth:n=!1,leftIcon:i,m:o="0",isLoading:a=!1,onClick:l,rightIcon:s,role:u="button",size:c="regular",type:f="button",tabIndex:d,id:h}){return p(Cc,{ariaLabel:e,id:h,disabled:r,isFullWidth:n,isLoading:a,leftIcon:i,m:o,onClick:l,rightIcon:s,role:u,size:c,type:f,tabIndex:d,children:t})}lh.displayName="BtnPrimary";function F4({ariaLabel:e,children:t,disabled:r=!1,isFullWidth:n=!1,leftIcon:i,m:o="0",isLoading:a=!1,onClick:l,rightIcon:s,role:u="button",size:c="regular",type:f="button",tabIndex:d,id:h}){return p(Cc,{ariaLabel:e,id:h,bg:{main:V("colors-main-veryLightBlue"),hover:V("colors-main-linkWater")},borderColorActive:[V("colors-main-deepSkyBlue"),V("colors-neutral-white")],color:V("colors-main-deepSkyBlue"),disabled:r,fillLoader:V("colors-main-deepSkyBlue"),isFullWidth:n,isLoading:a,leftIcon:i,m:o,onClick:l,rightIcon:s,role:u,size:c,touchDark:!0,type:f,tabIndex:d,children:t})}F4.displayName="BtnSecondary";function A4({ariaLabel:e,activeWhenPress:t=!1,children:r,id:n,iconStatus:i="multimedia",iconCustom:o,m:a="0",onClick:l,onMouseEnter:s,onMouseLeave:u,rightIcon:c,role:f="button",type:d="button",tabIndex:h,withoutColor:m=!1}){const y=V("colors-neutral-gray"),v=V("colors-main-deepSkyBlue"),g=V("colors-neutral-white"),b=m?V("colors-main-blueGrey"):v,x={ahead:p($p,{color:b}),answer:p(Kp,{color:b}),back:p(Dp,{color:b}),delete:p(Xp,{color:b}),download:p(xc,{color:b}),edit:p(qp,{color:b}),more:p(Yp,{color:b}),multimedia:p(Hp,{color:b}),password:p(Gp,{color:b}),record:p(Lp,{color:b}),noIcon:p(Ui,{})};let C;return x[i]&&i!=="noIcon"&&(C=x[i]),o&&(C=o),p(Z1,{"aria-label":e,id:n,role:f,type:d,tabIndex:h,background:"transparent",borderRadius:"12px",color:y,fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:"14px",gap:"0.5rem",height:"24px",lineHeight:"16px",leftIcon:c?void 0:C,rightIcon:c?C:void 0,m:a,onClick:l,onMouseEnter:s,onMouseLeave:u,paddingTop:V("space-xxs"),paddingBottom:V("space-xxs"),paddingLeft:V("space-xs"),paddingRight:V("space-xs"),textDecorationLine:"underline",_hover:{color:`${v}`},_focusVisible:{boxShadow:`inset 0 0 0 2px ${v}, inset 0 0 0 4px ${g}`},_focus:{color:t?`${v} !important`:"inherit",boxShadow:"none"},_active:{bg:"transparent"},sx:{">span":{mr:0}},children:r})}A4.displayName="BtnTertiary";function wl({as:e="a",ariaLabel:t,children:r,fontSize:n="0.875rem",href:i="",id:o,m:a="0",onClick:l,role:s="link",tabIndex:u,textDecorationLine:c=!0}){const f={button:{onClick:l},a:{href:i,target:"_blank"}};return p(ee,{as:e,"aria-label":t,id:o,role:s,backgroundColor:"transparent",borderStyle:"none",className:"linkButton",color:V("colors-main-deepSkyBlue"),fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:n,lineHeight:"1rem",onClick:l,padding:".25em",tabIndex:u,textDecorationLine:c?"underline":"none",width:"fit-content",m:a,_hover:{color:V("colors-neutral-darkCharcoal"),cursor:"pointer"},...f[e],children:r})}wl.displayName="BtnLink";const SI=({children:e,className:t="tooltip",label:r,isDisabled:n=!1,m:i,maxWidth:o="200px",placement:a="bottom",isOpen:l,sx:s})=>p(cI,{isOpen:l,sx:{bg:V("colors-neutral-darkCharcoal"),borderRadius:"10px",color:"white !important",fontSize:"12px",fontWeight:"400",maxWidth:o,padding:"8px",".chakra-tooltip__arrow":{bg:`${V("colors-neutral-darkCharcoal")} !important`},...s},className:t,closeOnClick:!0,label:r,m:i,hasArrow:!0,isDisabled:n,placement:a,children:p("span",{children:e})});function kI(e){return p(ce,{...e,children:p("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM8 5C8.82843 5 9.5 4.32843 9.5 3.5C9.5 2.67157 8.82843 2 8 2C7.17157 2 6.5 2.67157 6.5 3.5C6.5 4.32843 7.17157 5 8 5ZM2.96967 5.96967C3.11032 5.82902 3.30109 5.75 3.5 5.75H12.5C12.6989 5.75 12.8897 5.82902 13.0303 5.96967C13.171 6.11032 13.25 6.30109 13.25 6.5C13.25 6.69891 13.171 6.88968 13.0303 7.03033C12.8897 7.17098 12.6989 7.25 12.5 7.25H10.25V13.25C10.25 13.4489 10.171 13.6397 10.0303 13.7803C9.88968 13.921 9.69891 14 9.5 14C9.30109 14 9.11032 13.921 8.96967 13.7803C8.82902 13.6397 8.75 13.4489 8.75 13.25V10.25H7.25V13.25C7.25 13.4489 7.17098 13.6397 7.03033 13.7803C6.88968 13.921 6.69891 14 6.5 14C6.30109 14 6.11032 13.921 5.96967 13.7803C5.82902 13.6397 5.75 13.4489 5.75 13.25V7.25H3.5C3.30109 7.25 3.11032 7.17098 2.96967 7.03033C2.82902 6.88968 2.75 6.69891 2.75 6.5C2.75 6.30109 2.82902 6.11032 2.96967 5.96967Z",fill:"white"})})})}function EI(){const e=()=>{const t=document.getElementById("userWayTrigger");t!=null&&t.click&&t.click()};return p(ee,{as:"button",alignItems:"center",bg:V("colors-main-blueGrey"),borderRadius:"100%",border:"1px solid transparent",display:"flex",height:"30px",id:"UserWayButton",justifyContent:"center",padding:"0 8px",width:"30px",_hover:{background:"rgba(96, 121, 142, 0.8)"},onClick:e,children:p(kI,{})})}const PI=4;function O4(){const{background:e,labels:t,logo:r,logoAlt:n,Profile:i}=w.useContext(wc);return z(ee,{as:"header",bgImg:e,bgPos:"center",bgSize:"cover",height:"8.75rem",borderBottom:V("borders-light"),pos:"relative",children:[z(ee,{p:"1rem",children:[(i==null?void 0:i.id)!==PI&&p(yc,{bg:V("colors-neutral-white"),m:"0 0 .625rem 0",children:z(cl,{children:[p(zp,{m:"0 .25rem 0 0"}),i==null?void 0:i.name]})}),t!==void 0&&t.length>0&&p(c5,{direction:"row",spacing:".625rem",wrap:"wrap",children:t.map((o,a)=>p(yc,{bg:o.id==="NEW"?V("colors-secondary-pumpkin"):void 0,children:o.text},a))})]}),r!==void 0&&r.length>0&&p(s5,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:V("borders-light"),bg:V("colors-neutral-white"),overflow:"hidden",borderRadius:V("radii-small"),w:"6.25rem",children:p(YO,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}O4.displayName="Header";function sh({date:e}){return e==null||e.length===0?null:p(et,{fontSize:".75rem",color:V("colors-neutral-darkCharcoal"),m:"0",children:e})}sh.displayName="DateStatus";function L4({type:e,progressValue:t=0}){switch(e){case"schedule":return p(Np,{});case"certificate":return p(Rp,{});case"circularCheck":return p(Ip,{});case"progress":return p(P4,{value:t});case"circularInformation":return p(bc,{});case"info":return p(bc,{});default:return null}}const _I=7;function B4({progress:e,status:t}){return z(Ui,{children:[z(cl,{children:[p(L4,{type:e.icon,progressValue:e.progress}),p(et,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:e==null?void 0:e.label})]}),(t==null?void 0:t.id)===_I&&(e==null?void 0:e.finalGrade)&&(e==null?void 0:e.finalGrade.length)>0&&p(yc,{size:"sm",bg:e.isApproved?V("colors-alert-jadeGreen"):V("colors-alert-red"),color:V("colors-neutral-white"),children:e==null?void 0:e.finalGrade})]})}function V4(){const{name:e,dateStatus:t,information:r,progress:n,status:i}=w.useContext(wc);return n==null?null:z(ee,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&z(SL,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?p(ee,{h:".5rem",w:"1px",bg:V("colors-neutral-silverSand"),alignSelf:"center"}):p(Ui,{}),children:[p(sh,{date:t.init}),p(sh,{date:t.end})]}),p(fL,{as:"h2",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),p(cl,{mt:"1rem",justify:"space-between",children:p(B4,{progress:n,status:i})}),r!=null&&(r==null?void 0:r.length)>0&&p(gL,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:V("borders-light"),children:r.map((o,a)=>{var l;return z(yL,{display:"flex",children:[p(L4,{type:o.icon}),p(ee,{display:"inline-block",ml:".625rem",children:o.href!==void 0&&((l=o.href)==null?void 0:l.length)>0?p(rc,{isExternal:!0,href:o.href,color:V("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:o.text}):p(et,{m:"0",color:V("colors-neutral-gray"),fontSize:".75rem",children:o.text})})]},a)})})]})}V4.displayName="Section";const j={name:"Orientaci\xF3n en la prevenci\xF3n de contagio de COVID-19",background:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT76y4DAhqWAlCspmGYWcbxSDnLw3p1FzJQKA&usqp=CAU",logo:"https://procalidad.cl/wp-content/uploads/2021/05/logo-achs.png",logoAlt:"op",status:{id:6,name:"NEXT",detail:"",style:""},Profile:{id:4,name:"Alumno"},progress:{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule",progress:0,isApproved:!1,finalGrade:""},dateStatus:{hasDates:!0,init:"Inicia 17 ene 2022",end:"Finaliza 10 ene 2023"},information:[{icon:"schedule",text:"Certificado por ACHS",href:"http://google.com"},{icon:"certificate",text:"Certificado por ACHS",href:""},{icon:"circularCheck",text:"Certificado por ACHS",href:"http://google.com"},{icon:"circularInformation",text:"Certificado por ACHS",href:""}],action:{enabled:!0,text:"Tu curso a\xFAn no comienza",hasIcon:!1,href:"https://platform.eclass.io/",targetBlank:!1},labels:[{id:"OBLIGATORY",text:"Obligatorio"}]},R4={noHabilitado:{...j,id:1,hasFinanzeFreezed:!1,status:{...j.status,id:1,name:"noHabilitado"},progress:{...j.progress,label:"Inscripci\xF3n no habilitada",icon:"circularInformation"},dateStatus:{...j.dateStatus,hasDates:!1},information:null,action:{...j.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[]},inscripcionFutura:{...j,id:1,hasFinanzeFreezed:!1,status:{...j.status,id:1,name:"noHabilitado"},progress:{...j.progress,label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...j.dateStatus,hasDates:!1},information:null,action:{...j.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},inscripcionFinalizo:{...j,id:1,hasFinanzeFreezed:!1,status:{...j.status,id:1,name:"noHabilitado"},progress:{...j.progress,label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...j.dateStatus,hasDates:!1},information:null,action:{...j.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},preInscripcion:{...j,logo:"https://cdn.eclass.com/img/productos/logos/logo-utec-square.jpg",background:"https://cdn.eclass.com/img/cursos/default1.png",id:2,hasFinanzeFreezed:!1,status:{...j.status,id:2,name:"preInscripcion"},progress:{...j.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...j.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Solicitar inscripci\xF3n",targetBlank:!0},labels:[]},preInscripcion2:{...j,id:3,hasFinanzeFreezed:!1,logo:"",status:{...j.status,id:2,name:"preInscripcion"},progress:{...j.progress,label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"},dateStatus:{...j.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},inscripcion:{...j,background:"https://cdn.eclass.com/img/cursos/default2.png",id:4,hasFinanzeFreezed:!1,status:{...j.status,id:3,name:"inscripcion"},progress:{...j.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...j.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Inscr\xEDbete",targetBlank:!0}},inscripcion2:{...j,id:5,hasFinanzeFreezed:!1,status:{...j.status,id:3,name:"inscripcion"},progress:{...j.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...j.dateStatus,hasDates:!0},information:[],action:{...j.action,text:"Inscr\xEDbete",targetBlank:!0},labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"}]},noDisponible:{...j,id:6,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...j.status,id:4,name:"no disponible"},progress:{...j.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},noDisponible2:{...j,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:7,hasFinanzeFreezed:!1,status:{...j.status,id:4,name:"no disponible"},progress:{...j.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,enabled:!1},labels:[]},noDisponible3:{...j,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:57,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...j.status,id:4,name:"no disponible"},progress:{...j.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,enabled:!1},labels:[]},activado:{...j,id:8,hasFinanzeFreezed:!1,status:{...j.status,id:5,name:"disponible"},progress:{...j.progress,label:"\xA1Ya puedes ingresar a tu curso y comenzar a estudiar!",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar:{...j,id:9,hasFinanzeFreezed:!1,logo:"",status:{...j.status,id:6,name:"sinEstudiar"},progress:{...j.progress,label:"Tu curso inici\xF3 hace 3 d\xEDas, \xA1Comienza a estudiar!",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar2:{...j,id:10,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...j.status,id:6,name:"sinEstudiar"},progress:{...j.progress,label:"Tu curso finaliza en 7 d\xEDas",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar3:{...j,id:11,hasFinanzeFreezed:!1,status:{...j.status,id:6,name:"sinEstudiar"},progress:{...j.progress,label:"Tu curso finaliza ma\xF1ana a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar4:{...j,logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:12,hasFinanzeFreezed:!1,status:{...j.status,id:6,name:"sinEstudiar"},progress:{...j.progress,label:"Tu curso finaliza hoy a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},continuar:{...j,id:13,hasFinanzeFreezed:!0,status:{...j.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:{...j.progress,label:"Has completado un 25% de tu curso",icon:"progress",progress:25},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"},labels:[]},continuar2:{...j,id:14,hasFinanzeFreezed:!1,status:{...j.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:{...j.progress,label:"Has completado un 100% de tu curso",icon:"progress",progress:100},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Ir a mi curso"},labels:[]},pendiente:{...j,background:"https://cdn.eclass.com/img/cursos/default3.png",id:15,hasFinanzeFreezed:!1,status:{...j.status,id:8,name:"pendiente"},progress:{...j.progress,label:"\xA1Curso finalizado! Estamos calculando tu promedio final",icon:"circularInformation"},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Ir a mi curso"},labels:[]},terminado:{...j,id:16,hasFinanzeFreezed:!1,status:{...j.status,id:7,name:"QUALIFIED"},progress:{...j.progress,label:"Curso aprobado con nota",icon:"circularCheck",isApproved:!0,finalGrade:"6,5"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Ir a mi curso"},labels:[]},terminado2:{...j,logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:17,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...j.status,id:7,name:"QUALIFIED"},progress:{...j.progress,label:"Curso reprobado con nota",icon:"circularCheck",isApproved:!1,finalGrade:"3,5"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Ir a mi curso"},labels:[]},terminado3:{...j,id:18,hasFinanzeFreezed:!1,logo:"",status:{...j.status,id:9,name:"terminado"},progress:{...j.progress,label:"Curso finalizado",icon:"circularCheck"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Ir a mi curso"},labels:[]}},TI=Object.keys(R4).map(e=>R4[e]),I4=4,Sl=(e,t=I4)=>e||t!==I4;function MI(e=4){const t=e*H4+D4*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function FI({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:i}){const o={backgroundColor:"transparent"};function a(){return p(Tp,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,s]=w.useState(p(a,{}));return w.useEffect(()=>{n&&s(p(a,{}))},[n]),z(xl,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,z(_p,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[z(Mp,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[p(Bp,{w:"52",h:"45",viewBox:"0 0 45 52"}),i.title]}),p(C4,{size:"md",color:V("colors-main-blueGrey"),_hover:o,_focus:o,_active:o}),p(Fp,{p:"1rem 2rem 2rem 2rem",children:p(et,{align:"center",children:i.body})}),p(Ap,{justifyContent:"center",borderTop:"1px solid",borderTopColor:V("colors-neutral-platinum"),p:"1rem",children:p(Z1,{onClick:r,color:V("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:o,_focus:o,_active:o,children:i.buttonName})})]})]})}xl.displayName="Modal";function $4({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=w.useContext(wc),{isOpen:i,onOpen:o,onClose:a}=hv(),[l,s]=w.useState(!1),u={backgroundColor:"transparent"},c=()=>{s(!0),o()};return t==null?null:z(s5,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:V("colors-neutral-platinum"),children:[Sl(t.enabled,r==null?void 0:r.id)?z(Ui,{children:[n&&e?p(ee,{color:V("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",p:"0",zIndex:"inherit !important",_hover:u,_focus:u,_active:u,onClick:()=>c(),fontSize:"1rem !important",children:t.text}):p(et,{color:V("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&p(Vp,{color:V("colors-main-deepSkyBlue")})]}):p(et,{fontWeight:"500",lineHeight:"1.172rem",color:V("colors-neutral-spanishGrey"),m:"0",children:t.text}),e&&p(FI,{isOpen:i,onClose:a,showOverlay:l,onOpen:o,modalPaymentText:e})]})}$4.displayName="Footer";const wc=w.createContext({});function AI({enabled:e,children:t}){return e?p(bo,{children:t}):p(Ui,{children:t})}function uh({data:e,modalPaymentText:t}){var n,i,o,a,l,s,u,c;const r={boxShadow:`0 2px 7px 0 ${V("colors-neutral-silverSand")}`};return p(wc.Provider,{value:e,children:p(_L,{as:"article",border:V("borders-light"),borderRadius:V("radii-big"),cursor:"pointer",transition:"box-shadow .3s",_active:r,_hover:r,_focus:r,overflow:"hidden",children:p(AI,{enabled:Sl((i=(n=e.action)==null?void 0:n.enabled)!=null?i:!1,(o=e.Profile)==null?void 0:o.id),children:z(cl,{direction:"column",justify:"space-between",h:"100%",children:[z(ee,{className:"CourseList-TraditionalBox",children:[!e.hasFinanzeFreezed&&Sl((l=(a=e.action)==null?void 0:a.enabled)!=null?l:!1,(s=e.Profile)==null?void 0:s.id)&&p(d5,{href:(u=e.action)==null?void 0:u.href,isExternal:(c=e.action)==null?void 0:c.targetBlank}),p(O4,{}),p(V4,{})]}),p($4,{modalPaymentText:t})]})})})})}uh.displayName="BoxTraditional";function OI({enabled:e,children:t}){return e?p(bo,{children:t}):p(Ui,{children:t})}function ch({backgroundImg:e,title:t,data:r,size:n="large",m:i}){var a,l,s,u,c,f,d,h,m;const o={large:"286px",small:"197px"};return p(OI,{enabled:Sl((l=(a=r==null?void 0:r.action)==null?void 0:a.enabled)!=null?l:!1,(s=r==null?void 0:r.Profile)==null?void 0:s.id),children:z(ee,{className:"CourseList-ImageBox",sx:{backgroundImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${e})`,color:V("colors-neutral-white"),cursor:"pointer",height:o[n],backgroundSize:"cover",backgroundPosition:"center",borderRadius:"10px",padding:"16px",display:"flex",font:"Roboto",flexDirection:"column",margin:i,justifyContent:"end",textAlign:"left"},children:[!(r!=null&&r.hasFinanzeFreezed)&&Sl((c=(u=r==null?void 0:r.action)==null?void 0:u.enabled)!=null?c:!1,(f=r==null?void 0:r.Profile)==null?void 0:f.id)&&p(d5,{href:(d=r==null?void 0:r.action)==null?void 0:d.href,isExternal:(h=r==null?void 0:r.action)==null?void 0:h.targetBlank}),z(ee,{className:"textBox",bottom:"20px",display:"flex",flexDirection:"column",gap:"8px",children:[p(ee,{as:"h2",className:"courseName",fontWeight:"700",fontSize:"16px",lineHeight:"21px",marginBlockEnd:"0",margin:"0",children:t}),(m=r==null?void 0:r.information)==null?void 0:m.map((y,v)=>y.icon==="certificate"&&p(ee,{as:"p",className:"certificateText",fontSize:"14px",fontWeight:"400",lineHeight:"12px",margin:"0",children:y.text},v))]})]})})}ch.displayName="BoxImage";const LI=({type:e="TRADITIONAL",data:t,modalPaymentText:r})=>{var a,l;const n={data:t,modalPaymentText:r},i={data:t,backgroundImg:(a=t.background)!=null?a:"",title:(l=t.name)!=null?l:""};return{TRADITIONAL:p(uh,{...n}),TRADITIONAL_LANDSCAPE:p(uh,{...n}),IMAGE_LARGE:p(ch,{...i}),IMAGE_SMALL:p(ch,{...i,size:"small"})}[e]},D4=1.25,H4=17.8125;function z4({courses:e,modalPaymentText:t,m:r="0 auto",typeBox:n="TRADITIONAL"}){return e===void 0?null:p(ee,{display:"grid",gridColumnGap:`${D4}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${H4}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(i=>p(LI,{data:i,type:n,modalPaymentText:t},i.id))})}z4.displayName="CourseList";const dh={success:{icon:p(eh,{}),bg:V("colors-alert-ice"),id:"success"},error:{icon:p(Qp,{}),bg:V("colors-alert-veryLightPinkThree"),id:"error"},info:{icon:p(Jp,{}),bg:V("colors-alert-veryLightBlue"),id:"info"},warning:{icon:p(th,{}),bg:V("colors-alert-pale"),id:"warning"}},BI={success:{icon:p(ih,{}),bg:V("colors-alert-ice"),id:"success"},error:{icon:p(rh,{}),bg:V("colors-alert-veryLightPinkThree"),id:"error"},info:{icon:p(nh,{}),bg:V("colors-alert-veryLightBlue"),id:"info"},warning:{icon:p(oh,{}),bg:V("colors-alert-pale"),id:"warning"}};function N4({children:e,canDismiss:t=!1,buttonText:r,buttonIcon:n,buttonLink:i=!1,fullWidth:o=!1,isFlash:a=!1,onClick:l,state:s,m:u,endTextLink:c,onClickLink:f}){const[d]=f5("(max-width: 425px)"),h=()=>{l&&l()};let m;return r&&(m=i?"link":"normal"),z(ee,{className:a?"flashNotification":"e_alert",alignItems:d?"unset":"center",backgroundColor:dh[s].bg,borderRadius:"8px",display:"flex",flexFlow:d?"column":"row",gap:a?"":"16px",justifyContent:d?"":"space-between",margin:u,width:o?"100%":"fit-content",maxWidth:o?"none":"796px",p:"1rem",pr:t?"1.75rem":"1rem",position:"relative",children:[z(ee,{display:"flex",gap:"10px",className:"alertContent",sx:{".linkButton":{fontSize:"16px"},a:{fontWeight:"500",color:V("colors-main-deepSkyBlue"),textDecoration:"underline"},"a:hover":{color:V("colors-neutral-darkCharcoal")}},children:[p(ee,{className:"iconContainer",sx:{svg:{width:"auto"}},children:dh[s].icon}),z(ee,{display:"flex",alignItems:"center",children:[z(ee,{as:"p",alignSelf:"center",fontFamily:"Roboto",fontSize:"16px",fontWeight:"400",lineHeight:"28px",color:V("colors-neutral-darkCharcoal"),children:[e,c&&f&&p(wl,{onClick:f,children:c})]}),m==="link"&&p(wl,{onClick:h,children:r})]})]}),m==="normal"&&p(lh,{isFullWidth:!!d,leftIcon:n,onClick:h,children:r}),t&&p(ee,{"data-testid":"closeButton",cursor:"pointer",marginLeft:"12px",sx:{svg:{position:"absolute",top:"16px",right:"12px"}},onClick:l,children:p(ah,{})})]})}let VI={data:""},RI=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||VI,II=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,$I=/\/\*[^]*?\*\/| +/g,j4=/\n+/g,En=(e,t)=>{let r="",n="",i="";for(let o in e){let a=e[o];o[0]=="@"?o[1]=="i"?r=o+" "+a+";":n+=o[1]=="f"?En(a,o):o+"{"+En(a,o[1]=="k"?"":t)+"}":typeof a=="object"?n+=En(a,t?t.replace(/([^,])+/g,l=>o.replace(/(^:.*)|([^,])+/g,s=>/&/.test(s)?s.replace(/&/g,l):l?l+" "+s:s)):o):a!=null&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=En.p?En.p(o,a):o+":"+a+";")}return r+(t&&i?t+"{"+i+"}":i)+n},Rr={},W4=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+W4(e[r]);return t}return e},DI=(e,t,r,n,i)=>{let o=W4(e),a=Rr[o]||(Rr[o]=(s=>{let u=0,c=11;for(;u<s.length;)c=101*c+s.charCodeAt(u++)>>>0;return"go"+c})(o));if(!Rr[a]){let s=o!==e?e:(u=>{let c,f,d=[{}];for(;c=II.exec(u.replace($I,""));)c[4]?d.shift():c[3]?(f=c[3].replace(j4," ").trim(),d.unshift(d[0][f]=d[0][f]||{})):d[0][c[1]]=c[2].replace(j4," ").trim();return d[0]})(e);Rr[a]=En(i?{["@keyframes "+a]:s}:s,r?"":"."+a)}let l=r&&Rr.g?Rr.g:null;return r&&(Rr.g=Rr[a]),((s,u,c,f)=>{f?u.data=u.data.replace(f,s):u.data.indexOf(s)===-1&&(u.data=c?s+u.data:u.data+s)})(Rr[a],t,n,l),a},HI=(e,t,r)=>e.reduce((n,i,o)=>{let a=t[o];if(a&&a.call){let l=a(r),s=l&&l.props&&l.props.className||/^go/.test(l)&&l;a=s?"."+s:l&&typeof l=="object"?l.props?"":En(l,""):l===!1?"":l}return n+i+(a==null?"":a)},"");function Sc(e){let t=this||{},r=e.call?e(t.p):e;return DI(r.unshift?r.raw?HI(r,[].slice.call(arguments,1),t.p):r.reduce((n,i)=>Object.assign(n,i&&i.call?i(t.p):i),{}):r,RI(t.target),t.g,t.o,t.k)}let U4,fh,ph;Sc.bind({g:1});let Ir=Sc.bind({k:1});function zI(e,t,r,n){En.p=t,U4=e,fh=r,ph=n}function Pn(e,t){let r=this||{};return function(){let n=arguments;function i(o,a){let l=Object.assign({},o),s=l.className||i.className;r.p=Object.assign({theme:fh&&fh()},l),r.o=/ *go\d+/.test(s),l.className=Sc.apply(r,n)+(s?" "+s:""),t&&(l.ref=a);let u=e;return e[0]&&(u=l.as||e,delete l.as),ph&&u[0]&&ph(l),U4(u,l)}return t?t(i):i}}var NI=e=>typeof e=="function",kc=(e,t)=>NI(e)?e(t):e,jI=(()=>{let e=0;return()=>(++e).toString()})(),Z4=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),WI=20,Ec=new Map,UI=1e3,G4=e=>{if(Ec.has(e))return;let t=setTimeout(()=>{Ec.delete(e),ai({type:4,toastId:e})},UI);Ec.set(e,t)},ZI=e=>{let t=Ec.get(e);t&&clearTimeout(t)},hh=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,WI)};case 1:return t.toast.id&&ZI(t.toast.id),{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case 2:let{toast:r}=t;return e.toasts.find(o=>o.id===r.id)?hh(e,{type:1,toast:r}):hh(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?G4(n):e.toasts.forEach(o=>{G4(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===n||n===void 0?{...o,visible:!1}:o)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(o=>({...o,pauseDuration:o.pauseDuration+i}))}}},Pc=[],_c={toasts:[],pausedAt:void 0},ai=e=>{_c=hh(_c,e),Pc.forEach(t=>{t(_c)})},GI={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},qI=(e={})=>{let[t,r]=O.useState(_c);O.useEffect(()=>(Pc.push(r),()=>{let i=Pc.indexOf(r);i>-1&&Pc.splice(i,1)}),[t]);let n=t.toasts.map(i=>{var o,a;return{...e,...e[i.type],...i,duration:i.duration||((o=e[i.type])==null?void 0:o.duration)||(e==null?void 0:e.duration)||GI[i.type],style:{...e.style,...(a=e[i.type])==null?void 0:a.style,...i.style}}});return{...t,toasts:n}},YI=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(r==null?void 0:r.id)||jI()}),kl=e=>(t,r)=>{let n=YI(t,e,r);return ai({type:2,toast:n}),n.id},Ct=(e,t)=>kl("blank")(e,t);Ct.error=kl("error"),Ct.success=kl("success"),Ct.loading=kl("loading"),Ct.custom=kl("custom"),Ct.dismiss=e=>{ai({type:3,toastId:e})},Ct.remove=e=>ai({type:4,toastId:e}),Ct.promise=(e,t,r)=>{let n=Ct.loading(t.loading,{...r,...r==null?void 0:r.loading});return e.then(i=>(Ct.success(kc(t.success,i),{id:n,...r,...r==null?void 0:r.success}),i)).catch(i=>{Ct.error(kc(t.error,i),{id:n,...r,...r==null?void 0:r.error})}),e};var XI=(e,t)=>{ai({type:1,toast:{id:e,height:t}})},KI=()=>{ai({type:5,time:Date.now()})},QI=e=>{let{toasts:t,pausedAt:r}=qI(e);O.useEffect(()=>{if(r)return;let o=Date.now(),a=t.map(l=>{if(l.duration===1/0)return;let s=(l.duration||0)+l.pauseDuration-(o-l.createdAt);if(s<0){l.visible&&Ct.dismiss(l.id);return}return setTimeout(()=>Ct.dismiss(l.id),s)});return()=>{a.forEach(l=>l&&clearTimeout(l))}},[t,r]);let n=O.useCallback(()=>{r&&ai({type:6,time:Date.now()})},[r]),i=O.useCallback((o,a)=>{let{reverseOrder:l=!1,gutter:s=8,defaultPosition:u}=a||{},c=t.filter(h=>(h.position||u)===(o.position||u)&&h.height),f=c.findIndex(h=>h.id===o.id),d=c.filter((h,m)=>m<f&&h.visible).length;return c.filter(h=>h.visible).slice(...l?[d+1]:[0,d]).reduce((h,m)=>h+(m.height||0)+s,0)},[t]);return{toasts:t,handlers:{updateHeight:XI,startPause:KI,endPause:n,calculateOffset:i}}},JI=Ir`
|
|
386
|
+
`},SR=0,vo=[];function kR(e){var t=w.useRef([]),r=w.useRef([0,0]),n=w.useRef(),i=w.useState(SR++)[0],o=w.useState(function(){return d4()})[0],a=w.useRef(e);w.useEffect(function(){a.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+i);var y=[e.lockRef.current].concat((e.shards||[]).map(m4)).filter(Boolean);return y.forEach(function(v){return v.classList.add("allow-interactivity-"+i)}),function(){document.body.classList.remove("block-interactivity-"+i),y.forEach(function(v){return v.classList.remove("allow-interactivity-"+i)})}}},[e.inert,e.lockRef.current,e.shards]);var l=w.useCallback(function(y,v){if("touches"in y&&y.touches.length===2)return!a.current.allowPinchZoom;var g=hc(y),b=r.current,x="deltaX"in y?y.deltaX:b[0]-g[0],C="deltaY"in y?y.deltaY:b[1]-g[1],k,E=y.target,P=Math.abs(x)>Math.abs(C)?"h":"v",F=f4(P,E);if(!F)return!0;if(F?k=P:(k=P==="v"?"h":"v",F=f4(P,E)),!F)return!1;if(!n.current&&"changedTouches"in y&&(x||C)&&(n.current=k),!k)return!0;var M=n.current||k;return xR(M,v,y,M==="h"?x:C,!0)},[]),s=w.useCallback(function(y){var v=y;if(!(!vo.length||vo[vo.length-1]!==o)){var g="deltaY"in v?v4(v):hc(v),b=t.current.filter(function(k){return k.name===v.type&&k.target===v.target&&CR(k.delta,g)})[0];if(b&&b.should){v.preventDefault();return}if(!b){var x=(a.current.shards||[]).map(m4).filter(Boolean).filter(function(k){return k.contains(v.target)}),C=x.length>0?l(v,x[0]):!a.current.noIsolation;C&&v.preventDefault()}}},[]),u=w.useCallback(function(y,v,g,b){var x={name:y,delta:v,target:g,should:b};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(C){return C!==x})},1)},[]),c=w.useCallback(function(y){r.current=hc(y),n.current=void 0},[]),f=w.useCallback(function(y){u(y.type,v4(y),y.target,l(y,e.lockRef.current))},[]),d=w.useCallback(function(y){u(y.type,hc(y),y.target,l(y,e.lockRef.current))},[]);w.useEffect(function(){return vo.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",s,ho),document.addEventListener("touchmove",s,ho),document.addEventListener("touchstart",c,ho),function(){vo=vo.filter(function(y){return y!==o}),document.removeEventListener("wheel",s,ho),document.removeEventListener("touchmove",s,ho),document.removeEventListener("touchstart",c,ho)}},[]);var h=e.removeScrollBar,m=e.inert;return w.createElement(w.Fragment,null,m?w.createElement(o,{styles:wR(i)}):null,h?w.createElement(vR,{gapMode:"margin"}):null)}var ER=aV(c4,kR),g4=w.forwardRef(function(e,t){return w.createElement(fc,po({},e,{ref:t,sideCar:ER}))});g4.classNames=fc.classNames;var PR=g4,_R=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},mo=new WeakMap,vc=new WeakMap,mc={},Ep=0,y4=function(e){return e&&(e.host||y4(e.parentNode))},TR=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=y4(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return Boolean(r)})},MR=function(e,t,r,n){var i=TR(t,Array.isArray(e)?e:[e]);mc[r]||(mc[r]=new WeakMap);var o=mc[r],a=[],l=new Set,s=new Set(i),u=function(f){!f||l.has(f)||(l.add(f),u(f.parentNode))};i.forEach(u);var c=function(f){!f||s.has(f)||Array.prototype.forEach.call(f.children,function(d){if(l.has(d))c(d);else{var h=d.getAttribute(n),m=h!==null&&h!=="false",y=(mo.get(d)||0)+1,v=(o.get(d)||0)+1;mo.set(d,y),o.set(d,v),a.push(d),y===1&&m&&vc.set(d,!0),v===1&&d.setAttribute(r,"true"),m||d.setAttribute(n,"true")}})};return c(t),l.clear(),Ep++,function(){a.forEach(function(f){var d=mo.get(f)-1,h=o.get(f)-1;mo.set(f,d),o.set(f,h),d||(vc.has(f)||f.removeAttribute(n),vc.delete(f)),h||f.removeAttribute(r)}),Ep--,Ep||(mo=new WeakMap,mo=new WeakMap,vc=new WeakMap,mc={})}},FR=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||_R(e);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),MR(n,i,r,"aria-hidden")):function(){return null}};function Sn(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function ke(){return ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ke.apply(this,arguments)}var AR=["preset"],OR={slideInBottom:ke({},e5,{custom:{offsetY:16,reverse:!0}}),slideInRight:ke({},e5,{custom:{offsetX:16,reverse:!0}}),scale:ke({},zO,{custom:{initialScale:.95,reverse:!0}}),none:{}},LR=re(ec.section),BR=w.forwardRef(function(e,t){var r=e.preset,n=Sn(e,AR),i=OR[r];return w.createElement(LR,ke({ref:t},i,n))}),VR=function(){function e(){this.modals=void 0,this.modals=[]}var t=e.prototype;return t.add=function(n){this.modals.push(n)},t.remove=function(n){this.modals=this.modals.filter(function(i){return i!==n})},t.isTopModal=function(n){var i=this.modals[this.modals.length-1];return i===n},e}(),Pp=new VR;function RR(e,t){O.useEffect(function(){return t&&Pp.add(e),function(){Pp.remove(e)}},[t,e])}function IR(e){var t=e.isOpen,r=e.onClose,n=e.id,i=e.closeOnOverlayClick,o=i===void 0?!0:i,a=e.closeOnEsc,l=a===void 0?!0:a,s=e.useInert,u=s===void 0?!0:s,c=e.onOverlayClick,f=e.onEsc,d=O.useRef(null),h=O.useRef(null),m=Z8(n,"chakra-modal","chakra-modal--header","chakra-modal--body"),y=m[0],v=m[1],g=m[2];$R(d,t&&u),RR(d,t);var b=O.useRef(null),x=O.useCallback(function(X){b.current=X.target},[]),C=O.useCallback(function(X){X.key==="Escape"&&(X.stopPropagation(),l&&(r==null||r()),f==null||f())},[l,r,f]),k=O.useState(!1),E=k[0],P=k[1],F=O.useState(!1),M=F[0],I=F[1],G=O.useCallback(function(X,K){return X===void 0&&(X={}),K===void 0&&(K=null),ke({role:"dialog"},X,{ref:Fo(K,d),id:y,tabIndex:-1,"aria-modal":!0,"aria-labelledby":E?v:void 0,"aria-describedby":M?g:void 0,onClick:qt(X.onClick,function(ne){return ne.stopPropagation()})})},[g,M,y,v,E]),U=O.useCallback(function(X){X.stopPropagation(),b.current===X.target&&(!Pp.isTopModal(d)||(o&&(r==null||r()),c==null||c()))},[r,o,c]),Z=O.useCallback(function(X,K){return X===void 0&&(X={}),K===void 0&&(K=null),ke({},X,{ref:Fo(K,h),onClick:qt(X.onClick,U),onKeyDown:qt(X.onKeyDown,C),onMouseDown:qt(X.onMouseDown,x)})},[C,x,U]);return{isOpen:t,onClose:r,headerId:v,bodyId:g,setBodyMounted:I,setHeaderMounted:P,dialogRef:d,overlayRef:h,getDialogProps:G,getDialogContainerProps:Z}}function $R(e,t){var r=e.current;O.useEffect(function(){if(!(!e.current||!t))return FR(e.current)},[t,e,r])}var DR=["className","children","containerProps"],HR=["className","transition"],zR=["className"],NR=["className"],jR=["className"],WR=["onClick","className"],b4=An({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),UR=b4[0],kn=b4[1],xl=function(t){var r=t.portalProps,n=t.children,i=t.autoFocus,o=t.trapFocus,a=t.initialFocusRef,l=t.finalFocusRef,s=t.returnFocusOnClose,u=t.blockScrollOnMount,c=t.allowPinchZoom,f=t.preserveScrollBarGap,d=t.motionPreset,h=t.lockFocusAcrossFrames,m=t.onCloseComplete,y=Ng("Modal",t),v=IR(t),g=ke({},v,{autoFocus:i,trapFocus:o,initialFocusRef:a,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:f,motionPreset:d,lockFocusAcrossFrames:h});return w.createElement(UR,{value:g},w.createElement($S,{value:y},w.createElement(N1,{onExitComplete:m},g.isOpen&&w.createElement(Pa,r,n))))};xl.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"},xr&&(xl.displayName="Modal");var ZR=re(ec.div),_p=Fe(function(e,t){var r=e.className,n=e.children,i=e.containerProps,o=Sn(e,DR),a=kn(),l=a.getDialogProps,s=a.getDialogContainerProps,u=l(o,t),c=s(i),f=ze("chakra-modal__content",r),d=Gn(),h=ke({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},d.dialog),m=ke({display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},position:"fixed",left:0,top:0},d.dialogContainer),y=kn(),v=y.motionPreset;return w.createElement(x4,null,w.createElement(re.div,ke({},c,{className:"chakra-modal__content-container",tabIndex:-1,__css:m}),w.createElement(BR,ke({preset:v,className:f},u,{__css:h}),n)))});xr&&(_p.displayName="ModalContent");function x4(e){var t=kn(),r=t.autoFocus,n=t.trapFocus,i=t.dialogRef,o=t.initialFocusRef,a=t.blockScrollOnMount,l=t.allowPinchZoom,s=t.finalFocusRef,u=t.returnFocusOnClose,c=t.preserveScrollBarGap,f=t.lockFocusAcrossFrames,d=O1(),h=d[0],m=d[1];return w.useEffect(function(){!h&&m&&setTimeout(m)},[h,m]),w.createElement(eR,{autoFocus:r,isDisabled:!n,initialFocusRef:o,finalFocusRef:s,restoreFocus:u,contentRef:i,lockFocusAcrossFrames:f},w.createElement(PR,{removeScrollBar:!c,allowPinchZoom:l,enabled:a,forwardProps:!0},e.children))}var Tp=Fe(function(e,t){var r=e.className;e.transition;var n=Sn(e,HR),i=ze("chakra-modal__overlay",r),o=Gn(),a=ke({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},o.overlay),l=kn(),s=l.motionPreset,u=s==="none"?{}:DO;return w.createElement(ZR,ke({},u,{__css:a,ref:t,className:i},n))});xr&&(Tp.displayName="ModalOverlay");var Mp=Fe(function(e,t){var r=e.className,n=Sn(e,zR),i=kn(),o=i.headerId,a=i.setHeaderMounted;w.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=ze("chakra-modal__header",r),s=Gn(),u=ke({flex:0},s.header);return w.createElement(re.header,ke({ref:t,className:l,id:o},n,{__css:u}))});xr&&(Mp.displayName="ModalHeader");var Fp=Fe(function(e,t){var r=e.className,n=Sn(e,NR),i=kn(),o=i.bodyId,a=i.setBodyMounted;w.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=ze("chakra-modal__body",r),s=Gn();return w.createElement(re.div,ke({ref:t,className:l,id:o},n,{__css:s.body}))});xr&&(Fp.displayName="ModalBody");var Ap=Fe(function(e,t){var r=e.className,n=Sn(e,jR),i=ze("chakra-modal__footer",r),o=Gn(),a=ke({display:"flex",alignItems:"center",justifyContent:"flex-end"},o.footer);return w.createElement(re.footer,ke({ref:t},n,{__css:a,className:i}))});xr&&(Ap.displayName="ModalFooter");var C4=Fe(function(e,t){var r=e.onClick,n=e.className,i=Sn(e,WR),o=kn(),a=o.onClose,l=ze("chakra-modal__close-btn",n),s=Gn();return w.createElement(uL,ke({ref:t,__css:s.closeButton,className:l,onClick:qt(r,function(u){u.stopPropagation(),a()})},i))});xr&&(C4.displayName="ModalCloseButton");var GR=["className","children"],qR=An(),YR=qR[1],XR=re(WO),KR=Fe(function(e,t){var r=e.className,n=e.children,i=Sn(e,GR),o=kn(),a=o.getDialogProps,l=o.getDialogContainerProps,s=o.isOpen,u=a(i,t),c=l(),f=ze("chakra-modal__content",r),d=Gn(),h=ke({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},d.dialog),m=ke({display:"flex",width:"100vw",height:"100vh",position:"fixed",left:0,top:0},d.dialogContainer),y=YR(),v=y.placement;return w.createElement(re.div,ke({},c,{className:"chakra-modal__content-container",__css:m}),w.createElement(x4,null,w.createElement(XR,ke({direction:v,in:s,className:f},u,{__css:h}),n)))});xr&&(KR.displayName="DrawerContent");function w4(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function go(){return go=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},go.apply(this,arguments)}var QR=mi({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),JR=mi({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});mi({"0%":{left:"-40%"},"100%":{left:"100%"}}),mi({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function eI(e){var t=e.value,r=t===void 0?0:t,n=e.min,i=e.max,o=e.valueText,a=e.getValueText,l=e.isIndeterminate,s=H8(r,n,i),u=function(){if(r!=null)return Hr(a)?a(r,s):o};return{bind:{"data-indeterminate":l?"":void 0,"aria-valuemax":i,"aria-valuemin":n,"aria-valuenow":l?void 0:r,"aria-valuetext":u(),role:"progressbar"},percent:s,value:r}}var tI=["size","isIndeterminate"],rI=["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"],S4=function(t){return w.createElement(re.circle,go({cx:50,cy:50,r:42,fill:"transparent"},t))},nI=function(t){var r=t.size,n=t.isIndeterminate,i=w4(t,tI);return w.createElement(re.svg,go({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:n?JR+" 2s linear infinite":void 0}},i))},iI=function(t){var r,n=t.size,i=n===void 0?"48px":n,o=t.max,a=o===void 0?100:o,l=t.min,s=l===void 0?0:l,u=t.valueText,c=t.getValueText,f=t.value,d=t.capIsRound,h=t.children,m=t.thickness,y=m===void 0?"10px":m,v=t.color,g=v===void 0?"#0078d4":v,b=t.trackColor,x=b===void 0?"#edebe9":b,C=t.isIndeterminate,k=w4(t,rI),E=eI({min:s,max:a,value:f,valueText:u,getValueText:c,isIndeterminate:C}),P=C?void 0:((r=E.percent)!=null?r:0)*2.64,F=p8(P)?void 0:P+" "+(264-P),M=C?{css:{animation:QR+" 1.5s linear infinite"}}:{strokeDashoffset:66,strokeDasharray:F,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},I={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:i};return w.createElement(re.div,go({className:"chakra-progress"},E.bind,k,{__css:I}),w.createElement(nI,{size:i,isIndeterminate:C},w.createElement(S4,{stroke:x,strokeWidth:y,className:"chakra-progress__track"}),w.createElement(S4,go({stroke:g,strokeWidth:y,className:"chakra-progress__indicator",strokeLinecap:d?"round":void 0,opacity:E.value===0&&!C?0:void 0},M))),h)};re("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});function nr(){return nr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nr.apply(this,arguments)}function k4(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var oI={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},aI=["openDelay","closeDelay","closeOnClick","closeOnMouseDown","closeOnEsc","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"];function lI(e){e===void 0&&(e={});var t=e,r=t.openDelay,n=r===void 0?0:r,i=t.closeDelay,o=i===void 0?0:i,a=t.closeOnClick,l=a===void 0?!0:a,s=t.closeOnMouseDown,u=t.closeOnEsc,c=u===void 0?!0:u,f=t.onOpen,d=t.onClose,h=t.placement,m=t.id,y=t.isOpen,v=t.defaultIsOpen,g=t.arrowSize,b=g===void 0?10:g,x=t.arrowShadowColor,C=t.arrowPadding,k=t.modifiers,E=t.isDisabled,P=t.gutter,F=t.offset,M=t.direction,I=k4(t,aI),G=hv({isOpen:y,defaultIsOpen:v,onOpen:f,onClose:d}),U=G.isOpen,Z=G.onOpen,X=G.onClose,K=XB({enabled:U,placement:h,arrowPadding:C,modifiers:k,gutter:P,offset:F,direction:M}),ne=K.referenceRef,ie=K.getPopperProps,Ve=K.getArrowInnerProps,be=K.getArrowProps,Re=nd(m,"tooltip"),L=w.useRef(null),D=w.useRef(),R=w.useRef(),$=w.useCallback(function(){E||(D.current=window.setTimeout(Z,n))},[E,Z,n]),H=w.useCallback(function(){D.current&&clearTimeout(D.current),R.current=window.setTimeout(X,o)},[o,X]),te=w.useCallback(function(){l&&H()},[l,H]),ve=w.useCallback(function(){s&&H()},[s,H]),xe=w.useCallback(function(Ee){U&&Ee.key==="Escape"&&H()},[U,H]);fv("keydown",c?xe:void 0),w.useEffect(function(){return function(){clearTimeout(D.current),clearTimeout(R.current)}},[]),fv("mouseleave",H,function(){return L.current});var We=w.useCallback(function(Ee,st){Ee===void 0&&(Ee={}),st===void 0&&(st=null);var Wt=nr({},Ee,{ref:Fo(L,st,ne),onMouseEnter:qt(Ee.onMouseEnter,$),onClick:qt(Ee.onClick,te),onMouseDown:qt(Ee.onMouseDown,ve),onFocus:qt(Ee.onFocus,$),onBlur:qt(Ee.onBlur,H),"aria-describedby":U?Re:void 0});return Wt},[$,H,ve,U,Re,te,ne]),li=w.useCallback(function(Ee,st){var Wt;return Ee===void 0&&(Ee={}),st===void 0&&(st=null),ie(nr({},Ee,{style:nr({},Ee.style,(Wt={},Wt[tt.arrowSize.var]=b?Ql(b):void 0,Wt[tt.arrowShadowColor.var]=x,Wt))}),st)},[ie,b,x]),_n=w.useCallback(function(Ee,st){Ee===void 0&&(Ee={}),st===void 0&&(st=null);var Wt=nr({ref:st},I,Ee,{id:Re,role:"tooltip",style:nr({},Ee.style,{position:"relative",transformOrigin:tt.transformOrigin.varRef})});return Wt},[I,Re]);return{isOpen:U,show:$,hide:H,getTriggerProps:We,getTooltipProps:_n,getTooltipPositionerProps:li,getArrowProps:be,getArrowInnerProps:Ve}}var sI=["children","label","shouldWrapChildren","aria-label","hasArrow","bg","portalProps","background","backgroundColor","bgColor"],uI=re(ec.div),cI=Fe(function(e,t){var r,n,i=dn("Tooltip",e),o=cn(e),a=Hg(),l=o.children,s=o.label,u=o.shouldWrapChildren,c=o["aria-label"],f=o.hasArrow,d=o.bg,h=o.portalProps,m=o.background,y=o.backgroundColor,v=o.bgColor,g=k4(o,sI),b=(r=(n=m!=null?m:y)!=null?n:d)!=null?r:v;b&&(i.bg=b,i[tt.arrowBg.var]=g8(a,"colors",b));var x=lI(nr({},g,{direction:a.direction})),C=ql(l)||u,k;if(C)k=w.createElement(re.span,nr({tabIndex:0},x.getTriggerProps()),l);else{var E=w.Children.only(l);k=w.cloneElement(E,x.getTriggerProps(E.props,E.ref))}var P=!!c,F=x.getTooltipProps({},t),M=P?Yl(F,["role","id"]):F,I=ev(F,["role","id"]);return s?w.createElement(w.Fragment,null,k,w.createElement(N1,null,x.isOpen&&w.createElement(Pa,h,w.createElement(re.div,nr({},x.getTooltipPositionerProps(),{__css:{zIndex:i.zIndex,pointerEvents:"none"}}),w.createElement(uI,nr({variants:oI},M,{initial:"exit",animate:"enter",exit:"exit",__css:i}),s,P&&w.createElement(i5,I,c),f&&w.createElement(re.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},w.createElement(re.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:i.bg}}))))))):w.createElement(w.Fragment,null,l)}),dI=YS;dI.defaultProps={theme:by};function fI(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=[].concat(t),i=t[t.length-1];return W_(i)&&n.length>1?n=n.slice(0,n.length-1):i=by,V8.apply(void 0,n.map(function(o){return function(a){return Hr(o)?o(a):pI(a,o)}}))(i)}function pI(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return At.apply(void 0,[{}].concat(t,[E4]))}function E4(e,t,r,n){if((Hr(e)||Hr(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var i=Hr(e)?e.apply(void 0,arguments):e,o=Hr(t)?t.apply(void 0,arguments):t;return At({},i,o,E4)}}const gc={deepSkyBlue:"#0189FF",azureRadiance:"#017BE5",blueGrey:"#60798E",veryLightBlue:"#E0EEFA",linkWater:"#C7DEF2",ziggurat:"#B0CFE0"},oi={main:gc,secondary:{pumpkin:"#FF7A14",polishedBronze:"#CD7F32",cornsilk:"#FFF5DF",linen:"#F8ECE0"},alert:{deepSkyBlue:gc.deepSkyBlue,veryLightBlue:gc.veryLightBlue,jadeGreen:"#28A745",ice:"#E9F6EC",red:"#CC0000",veryLightPinkThree:"#F9DFDF",orangeyYelow:"#F5A623",pale:"#FDEED6"},icon:{cetaceanBlue:"#08044F",deepSkyBlue:gc.deepSkyBlue,lightSeaGreen:"#1EBDAF",orangeRed:"#FF554D",ripeMango:"#FFBC27"},neutral:{darkCharcoal:"#2F2F2F",davysGrey:"#5C5C5C",gray:"#808080",spanishGrey:"#999999",silverSand:"#C6C6C6",platinum:"#E8E8E8",cultured:"#F4F4F4",cultured2:"#F8F8F8",white:"#FFFFFF"}},hI={global:e=>({".react-ripples":{h:"100%",display:"grid!important"},".chakra-button":{borderStyle:"none"},".chakra-modal__content-container":{padding:"1.87rem",zIndex:"1400",justifyContent:"center",alignItems:"center",overflow:"auto"},".chakra-modal__content":{borderRadius:"0.5rem",background:"white",color:"inherit",zIndex:"1400",maxWidth:"36.813rem",boxShadow:"0px 4px 16px rgba(92, 92, 92, 0.2)"},".chakra-modal__header":{paddingInlineStart:"1.5rem",paddingInlineEnd:"1.5rem",fontSize:"1.25rem",fontWeight:"700",textAlign:"center",".chakra-icon":{width:"13rem"}},".chakra-modal__close-btn":{width:"2rem",height:"2rem",borderRadius:"0.5rem",fontSize:"0.75rem",position:"absolute",top:"0.5rem",right:"0.75rem",color:"#60798E",backgroundColor:"transparent",borderStyle:"none"}})},Cl="solid .063rem",vI={borders:{normal:`${Cl} ${oi.neutral.darkCharcoal}`,light:`${Cl} ${oi.neutral.platinum}`,active:`${Cl} ${oi.main.deepSkyBlue}`,success:`${Cl} ${oi.alert.jadeGreen}`,error:`${Cl} ${oi.alert.red}`,white:`solid .125rem ${oi.neutral.white}`},radii:{small:".25rem",big:".5rem",rounded:"50%"},shadows:{sm:"0 .125rem .5rem 0 rgba(0,0,0,.20)",md:"0 .25rem 1rem 0 rgba(0,0,0,.20)",lg:"0 .5rem 2rem 0 rgba(0,0,0,.20)"},space:{xxs:".25rem",xs:".5rem",s:"1rem",m:"1.5rem",l:"2rem",xl:"3rem",xxl:"5rem"}};var iH="",oH="",aH="",lH="",sH="";const mI=fI({colors:oi,...vI,...{fonts:{body:"Roboto",outstanding:"Lora"}},styles:hI}),V=e=>`var(--chakra-${e})`;function yc({children:e,bg:t=V("colors-icon-ripeMango"),color:r=V("colors-neutral-darkCharcoal"),size:n="md",m:i="0"}){const o={md:{borderRadius:"0.25em",fontWeight:"400",p:"0.25em 0.84em"},sm:{borderRadius:"0.42em",fontWeight:"700",p:"0.17em 0.67em"}};return p(ee,{bg:t,borderRadius:o[n].borderRadius,color:r,display:"inline-block",fontSize:"0.75rem",fontWeight:o[n].fontWeight,lineHeight:".875rem",m:i,p:o[n].p,children:e})}function P4({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),p(iI,{size:"1rem",value:t,thickness:"1rem",color:V("colors-main-deepSkyBlue"),trackColor:V("colors-neutral-platinum")})}var gI=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),yo=globalThis&&globalThis.__assign||function(){return yo=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},yo.apply(this,arguments)},yI=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},bI={position:"relative",display:"inline-flex",overflow:"hidden"},xI=function(e){e===void 0&&(e={});var t;return t=function(r){gI(n,r);function n(i){var o=r.call(this,i)||this;return o.timer=0,o.onClick=function(a){var l=o.props,s=l.during,u=l.onClick,c=l.color;a.stopPropagation();var f=a.pageX,d=a.pageY,h=a.currentTarget,m=h.getBoundingClientRect(),y=f-(m.left+window.scrollX),v=d-(m.top+window.scrollY),g=Math.max(m.width,m.height);o.setState(function(b){return{rippleStyle:yo({},b.rippleStyle,{left:y,top:v,opacity:1,transform:"translate(-50%, -50%)",transition:"initial",backgroundColor:c})}},function(){o.timer=setTimeout(function(){o.setState(function(b){return{rippleStyle:yo({},b.rippleStyle,{opacity:0,transform:"scale("+g/9+")",transition:"all "+s+"ms"})}})},50)}),u&&u(a)},o.state={rippleStyle:{position:"absolute",borderRadius:"50%",opacity:0,width:35,height:35,transform:"translate(-50%, -50%)",pointerEvents:"none"}},o}return n.prototype.componentWillUnmount=function(){clearTimeout(this.timer)},n.prototype.render=function(){var i=this.props,o=i.children;i.during,i.color,i.onClick;var a=i.className,l=yI(i,["children","during","color","onClick","className"]),s=this.state.rippleStyle;return Dr.default.createElement("div",yo({},l,{className:("react-ripples "+a).trim(),style:bI,onClick:this.onClick}),o,Dr.default.createElement("s",{style:s}))},n}(Dr.default.PureComponent),t.displayName="Ripples",t.propTypes={during:lc.number,color:lc.string,onClick:lc.func,className:lc.string},t.defaultProps=yo({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},Op=globalThis&&globalThis.__assign||function(){return Op=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Op.apply(this,arguments)},CI=function(e){return function(t){return Dr.default.createElement(e,Op({},t))}},_4=CI(xI());function bo({children:e,color:t="rgba(204,204,204,0.2)"}){return p(_4,{during:1e3,color:t,children:p(ee,{children:e})})}function ce({w:e="1rem",h:t="1rem",color:r=V("colors-main-ziggurat"),m:n="0",viewBox:i="0 0 16 16",children:o,title:a}){return z(De,{w:e,h:t,viewBox:i,color:r,m:n,"aria-label":" ","aria-hidden":!0,children:[z("title",{children:["icon",a&&`-${a}`]}),o]})}function Lp(e){return z(ce,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"academicRecord",children:[p("path",{d:"M14 0H2C1.73478 0 1.48043 0.105357 1.29289 0.292893C1.10536 0.48043 1 0.734784 1 1V7C1 7.26522 1.10536 7.51957 1.29289 7.70711C1.48043 7.89464 1.73478 8 2 8H14C14.2652 8 14.5196 7.89464 14.7071 7.70711C14.8946 7.51957 15 7.26522 15 7V1C15 0.734784 14.8946 0.48043 14.7071 0.292893C14.5196 0.105357 14.2652 0 14 0V0Z",fill:"currentColor"}),p("path",{d:"M15 10H1V12H15V10Z",fill:"currentColor"}),p("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}Lp.displayName="AcademicRecord";function Bp(e){return p(ce,{...e,children:z("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p("path",{d:"M22.142 44.1483C34.0945 44.1483 43.784 34.4588 43.784 22.5063C43.784 10.5537 34.0945 0.864258 22.142 0.864258C10.1895 0.864258 0.5 10.5537 0.5 22.5063C0.5 34.4588 10.1895 44.1483 22.142 44.1483Z",fill:"#FDEED6"}),p("path",{d:"M19 24.1013C19.8284 24.1013 20.5 23.4297 20.5 22.6013C20.5 21.7729 19.8284 21.1013 19 21.1013C18.1716 21.1013 17.5 21.7729 17.5 22.6013C17.5 23.4297 18.1716 24.1013 19 24.1013Z",fill:"#FFBC27"}),p("path",{d:"M24 24.1013C24.8284 24.1013 25.5 23.4297 25.5 22.6013C25.5 21.7729 24.8284 21.1013 24 21.1013C23.1716 21.1013 22.5 21.7729 22.5 22.6013C22.5 23.4297 23.1716 24.1013 24 24.1013Z",fill:"#FFBC27"}),p("path",{d:"M29 24.1013C29.8284 24.1013 30.5 23.4297 30.5 22.6013C30.5 21.7729 29.8284 21.1013 29 21.1013C28.1716 21.1013 27.5 21.7729 27.5 22.6013C27.5 23.4297 28.1716 24.1013 29 24.1013Z",fill:"#FFBC27"}),p("path",{d:"M44.178 13.8843C41.157 8.63532 35.491 5.10132 29 5.10132C19.335 5.10132 11.5 12.9363 11.5 22.6013C11.5 32.2663 19.335 40.1013 29 40.1013C35.108 40.1013 40.484 36.9723 43.615 32.2303",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.282 13.9192C50.6627 13.9192 51.782 15.0385 51.782 16.4192V20.9862C51.782 22.3669 50.6627 23.4862 49.282 23.4862C47.9013 23.4862 46.782 22.3669 46.782 20.9862V16.4192C46.782 15.0385 47.9013 13.9192 49.282 13.9192ZM47.5143 25.6514C48.4906 24.6751 50.0735 24.6751 51.0498 25.6515L51.0958 25.6975C52.0721 26.6738 52.072 28.2567 51.0957 29.233C50.1194 30.2093 48.5365 30.2093 47.5602 29.2329L47.5142 29.1869C46.5379 28.2106 46.5379 26.6277 47.5143 25.6514Z",fill:"#FFBC27"})]})})}Bp.displayName="ArrowRight";function Vp(e){return z(ce,{...e,children:[z("g",{clipPath:"url(#clip0)",children:[p("mask",{id:"mask0",style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:p("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),p("g",{mask:"url(#mask0)",children:p("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),p("defs",{children:p("clipPath",{id:"clip0",children:p("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]})}Vp.displayName="ArrowRight";function Rp(e){return z(ce,{...e,children:[p("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),p("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 8h2a1 1 0 011 1v6a1 1 0 01-1 1H9v-4H7v4H1a1 1 0 01-1-1V9a1 1 0 011-1h2V4.618l-.553.277a1 1 0 01-.894-1.79l6-3a1 1 0 01.894 0l6 3a1 1 0 11-.894 1.79L13 4.618V8zM3 13h2v-3H3v3zm2-5V4a.98.98 0 00-.07-.347L8 2.118l3.07 1.535A.98.98 0 0011 4v4H5zm6 5h2v-3h-2v3z",clipRule:"evenodd"})]})}Rp.displayName="Certificate";function Ip(e){return p(ce,{...e,children:p("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 8c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zm3.6 0L7 11.4 12.4 6 11 4.6l-4 4-2-2L3.6 8z",clipRule:"evenodd"})})}Ip.displayName="CircularCheck";function bc(e){return p(ce,{...e,children:p("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zM7 12V7h2v5H7zm0-7c0 .6.4 1 1 1s1-.4 1-1-.4-1-1-1-1 .4-1 1z",clipRule:"evenodd"})})}bc.displayName="CircularInformation";function xc(e){return z(ce,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",children:[p("path",{d:"M7.99998 12C8.29998 12 8.49998 11.9 8.69998 11.7L14.4 6L13 4.6L8.99998 8.6V0H6.99998V8.6L2.99998 4.6L1.59998 6L7.29998 11.7C7.49998 11.9 7.69998 12 7.99998 12Z",fill:"currentColor"}),p("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}xc.displayName="Download";function $p(e){return p(ce,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goAhead",children:p("path",{d:"M2.07407 12L8 6L2.07407 5.18061e-07L-8.65485e-07 2.1L3.85185 6L-1.83588e-07 9.9L2.07407 12V12Z",fill:"currentColor"})})}$p.displayName="GoAhead";function Dp(e){return p(ce,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goBack",children:p("path",{d:"M5.92593 2L0 8L5.92593 14L8 11.9L4.14815 8L8 4.1L5.92593 2Z",fill:"currentColor"})})}Dp.displayName="GoBack";function Hp(e){return z(ce,{...e,w:"12px",viewBox:"0 0 14 14",title:"multimedia",children:[p("path",{d:"M3 6C4.65685 6 6 4.65685 6 3C6 1.34315 4.65685 0 3 0C1.34315 0 0 1.34315 0 3C0 4.65685 1.34315 6 3 6Z",fill:"currentColor"}),p("path",{d:"M11 6C12.6569 6 14 4.65685 14 3C14 1.34315 12.6569 0 11 0C9.34315 0 8 1.34315 8 3C8 4.65685 9.34315 6 11 6Z",fill:"currentColor"}),p("path",{d:"M3 14C4.65685 14 6 12.6569 6 11C6 9.34315 4.65685 8 3 8C1.34315 8 0 9.34315 0 11C0 12.6569 1.34315 14 3 14Z",fill:"currentColor"}),p("path",{d:"M11 14C12.6569 14 14 12.6569 14 11C14 9.34315 12.6569 8 11 8C9.34315 8 8 9.34315 8 11C8 12.6569 9.34315 14 11 14Z",fill:"currentColor"})]})}Hp.displayName="Multimedia";function T4({fill:e="#fff"}){return p("div",{className:"loaderAsync","data-testid":"loaderAsync",children:z("svg",{id:"prefix__eXySq0EBKm11",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 20",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",width:38,height:20,children:[p("style",{dangerouslySetInnerHTML:{__html:"@keyframes eXySq0EBKm12_f_o{0%,33.333333%,to{fill-opacity:.4}66.666667%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm13_f_o{0%,66.666667%,to{fill-opacity:.4}33.333333%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm14_f_o{0%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}33.333333%,66.666667%{fill-opacity:.4}to{fill-opacity:1}}"}}),p("circle",{r:2.502,transform:"translate(29.526 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm12_f_o 600ms linear infinite normal forwards"}}),p("circle",{r:2.502,transform:"translate(19 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm13_f_o 600ms linear infinite normal forwards"}}),p("circle",{r:2.053,transform:"matrix(1.21764 0 0 1.21764 8.562 10.002)",fill:e,style:{animation:"eXySq0EBKm14_f_o 600ms linear infinite normal forwards"}})]})})}function zp(e){return p(ce,{...e,viewBox:"0 0 12 12",w:"12px",title:"profile",children:p("path",{fill:"currentColor",d:"M5 6a3 3 0 100-6 3 3 0 000 6zM5 7c-3.375 0-5 2.106-5 3.333V11a1 1 0 001 1h8a1 1 0 001-1v-.667C10 9.106 8.375 7 5 7z"})})}zp.displayName="Profile";function Np(e){return z(ce,{...e,children:[p("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 2h2a1 1 0 011 1v12a1 1 0 01-1 1H1a1 1 0 01-1-1V3a1 1 0 011-1h2V0h2v2h2V0h2v2h2V0h2v2zM2 14h12V5H2v9z",clipRule:"evenodd"}),p("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),p("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),p("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),p("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),p("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),p("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]})}Np.displayName="Schedule";function jp(e){return z(ce,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[p("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),p("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),p("path",{d:"M6 4C6.55228 4 7 3.55228 7 3C7 2.44772 6.55228 2 6 2C5.44772 2 5 2.44772 5 3C5 3.55228 5.44772 4 6 4Z",fill:"white"})]})}jp.displayName="TinyAlertInfo";function Wp(e){return z(ce,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[z("g",{clipPath:"url(#clip0_2165_6683)",children:[p("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.87867 2.46447L2.46446 3.87868L4.58578 6L2.46446 8.12132L3.87867 9.53553L5.99999 7.41421L8.12131 9.53553L9.53553 8.12132L7.41421 6L9.53553 3.87868L8.12131 2.46447L5.99999 4.58579L3.87867 2.46447Z",fill:"white"})]}),p("defs",{children:p("clipPath",{id:"clip0_2165_6683",children:p("rect",{width:"12px",height:"12px",fill:"white"})})})]})}Wp.displayName="TinyAlertError";function Up(e){return z(ce,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[p("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),p("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),p("path",{d:"M6 8C5.44771 8 5 8.44772 5 9C5 9.55228 5.44772 10 6 10C6.55228 10 7 9.55228 7 9C7 8.44772 6.55228 8 6 8Z",fill:"white"})]})}Up.displayName="TinyAlertWarning";function Zp(e){return z(ce,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[z("g",{clipPath:"url(#clip0_2191_1138)",children:[p("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.41421 5.53549L2 6.94971L3.41421 8.36392L4.82843 9.77813L9.77817 4.82839L8.36396 3.41417L4.82843 6.94971L3.41421 5.53549Z",fill:"white"})]}),p("defs",{children:p("clipPath",{id:"clip0_2191_1138",children:p("rect",{width:"12",height:"12",fill:"white"})})})]})}Zp.displayName="TinyAlertSuccess";function Gp(e){return p(ce,{...e,w:"14px",h:"16px",viewBox:"0 0 14 16",title:"password",children:p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C4.95714 0 3.28571 1.67143 3.28571 3.71429V4.64286H1.42857C0.871429 4.64286 0.5 5.01429 0.5 5.57143V13.9286C0.5 14.4857 0.871429 14.8571 1.42857 14.8571H12.5714C13.1286 14.8571 13.5 14.4857 13.5 13.9286V5.57143C13.5 5.01429 13.1286 4.64286 12.5714 4.64286H10.7143V3.71429C10.7143 1.67143 9.04286 0 7 0ZM7.92857 10.8643V12.0714H6.07143V10.8643C5.51429 10.5857 5.14286 9.93571 5.14286 9.28571C5.14286 8.26429 5.97857 7.42857 7 7.42857C8.02143 7.42857 8.85714 8.26429 8.85714 9.28571C8.85714 9.93571 8.48571 10.5857 7.92857 10.8643ZM5.14286 3.71429V4.64286H8.85714V3.71429C8.85714 2.69286 8.02143 1.85714 7 1.85714C5.97857 1.85714 5.14286 2.69286 5.14286 3.71429Z",fill:"currentColor"})})}Gp.displayName="Password";function qp(e){return z(ce,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"pen",children:[p("path",{d:"M8.1 3.5L0.3 11.3C0.1 11.5 0 11.7 0 12V15C0 15.6 0.4 16 1 16H4C4.3 16 4.5 15.9 4.7 15.7L12.5 7.9L8.1 3.5Z",fill:"currentColor"}),p("path",{d:"M15.7 3.3L12.7 0.3C12.3 -0.1 11.7 -0.1 11.3 0.3L9.5 2.1L13.9 6.5L15.7 4.7C16.1 4.3 16.1 3.7 15.7 3.3Z",fill:"currentColor"})]})}qp.displayName="Pen";function Yp(e){return p(ce,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"plusSign",children:p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8C0 3.6 3.6 0 8 0C12.4 0 16 3.6 16 8C16 12.4 12.4 16 8 16C3.6 16 0 12.4 0 8ZM9 9H12V7H9V4H7V7H4V9H7V12H9V9Z",fill:"currentColor"})})}Yp.displayName="PlusSign";function Xp(e){return z(ce,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"trashCan",children:[p("path",{d:"M2 6V14C2 15.1 2.9 16 4 16H12C13.1 16 14 15.1 14 14V6H2Z",fill:"currentColor"}),p("path",{d:"M12 3V1C12 0.4 11.6 0 11 0H5C4.4 0 4 0.4 4 1V3H0V5H16V3H12ZM10 3H6V2H10V3Z",fill:"currentColor"})]})}Xp.displayName="TrashCan";function Kp(e){return p(ce,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"textBubble",children:p("path",{d:"M1 0H15C15.552 0 16 0.448 16 1V11C16 11.552 15.552 12 15 12H10L4 16V12H1C0.448 12 0 11.552 0 11V1C0 0.448 0.448 0 1 0Z",fill:"currentColor"})})}Kp.displayName="TextBubble";function Qp(e){return p(ce,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:z("svg",{fill:"none",children:[p("path",{d:"M21.642 44.2419C33.5945 44.2419 43.284 34.5524 43.284 22.5999C43.284 10.6473 33.5945 0.957886 21.642 0.957886C9.68945 0.957886 0 10.6473 0 22.5999C0 34.5524 9.68945 44.2419 21.642 44.2419Z",fill:"white"}),p("path",{d:"M18.5 24.1949C19.3284 24.1949 20 23.5233 20 22.6949C20 21.8665 19.3284 21.1949 18.5 21.1949C17.6716 21.1949 17 21.8665 17 22.6949C17 23.5233 17.6716 24.1949 18.5 24.1949Z",fill:"#CC0000"}),p("path",{d:"M23.5 24.1949C24.3284 24.1949 25 23.5233 25 22.6949C25 21.8665 24.3284 21.1949 23.5 21.1949C22.6716 21.1949 22 21.8665 22 22.6949C22 23.5233 22.6716 24.1949 23.5 24.1949Z",fill:"#CC0000"}),p("path",{d:"M28.5 24.1949C29.3284 24.1949 30 23.5233 30 22.6949C30 21.8665 29.3284 21.1949 28.5 21.1949C27.6716 21.1949 27 21.8665 27 22.6949C27 23.5233 27.6716 24.1949 28.5 24.1949Z",fill:"#CC0000"}),p("path",{d:"M43.678 13.9779C40.657 8.72889 34.991 5.19489 28.5 5.19489C18.835 5.19489 11 13.0299 11 22.6949C11 32.3599 18.835 40.1949 28.5 40.1949C34.608 40.1949 39.984 37.0659 43.115 32.3239",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.5862 15.7811C36.5625 14.8048 38.1455 14.8048 39.1218 15.7811L43.2105 19.8699L47.2992 15.7811C48.2755 14.8048 49.8585 14.8048 50.8348 15.7811C51.8111 16.7574 51.8111 18.3403 50.8348 19.3167L46.746 23.4054L50.8348 27.4941C51.8111 28.4704 51.8111 30.0533 50.8348 31.0297C49.8585 32.006 48.2755 32.006 47.2992 31.0297L43.2105 26.9409L39.1218 31.0297C38.1455 32.006 36.5625 32.006 35.5862 31.0297C34.6099 30.0533 34.6099 28.4704 35.5862 27.4941L39.675 23.4054L35.5862 19.3167C34.6099 18.3403 34.6099 16.7574 35.5862 15.7811Z",fill:"#CC0000"})]})})}Qp.displayName="ErrorWhite";function Jp(e){return p(ce,{...e,w:"53",h:"45",viewBox:"0 0 53 45",title:"infoIcon",children:z("svg",{fill:"none",children:[p("path",{d:"M21.642 44.047C33.5945 44.047 43.284 34.3575 43.284 22.405C43.284 10.4525 33.5945 0.763 21.642 0.763C9.68945 0.763 0 10.4525 0 22.405C0 34.3575 9.68945 44.047 21.642 44.047Z",fill:"white"}),p("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#0189FF"}),p("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#0189FF"}),p("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#0189FF"}),p("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21H50C50.2652 21 50.5196 21.1054 50.7071 21.2929C50.8946 21.4804 51 21.7348 51 22V29.045H51.237C51.4908 29.0531 51.7316 29.1597 51.9082 29.3421C52.0849 29.5245 52.1837 29.7685 52.1837 30.0225C52.1837 30.2765 52.0849 30.5205 51.9082 30.7029C51.7316 30.8853 51.4908 30.9919 51.237 31H46.977C46.7232 30.9919 46.4824 30.8853 46.3058 30.7029C46.1291 30.5205 46.0303 30.2765 46.0303 30.0225C46.0303 29.7685 46.1291 29.5245 46.3058 29.3421C46.4824 29.1597 46.7232 29.0531 46.977 29.045H47V23.123C46.7348 23.123 46.4804 23.0176 46.2929 22.8301C46.1054 22.6426 46 22.3882 46 22.123V22C46 21.7348 46.1054 21.4804 46.2929 21.2929C46.4804 21.1054 46.7348 21 47 21Z",fill:"#0189FF"}),p("path",{d:"M49 19C50.3807 19 51.5 17.8807 51.5 16.5C51.5 15.1193 50.3807 14 49 14C47.6193 14 46.5 15.1193 46.5 16.5C46.5 17.8807 47.6193 19 49 19Z",fill:"#0189FF"})]})})}Jp.displayName="InfoWhite";function eh(e){return p(ce,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:z("svg",{fill:"none",children:[p("path",{d:"M21.642 44.094C33.5945 44.094 43.284 34.4045 43.284 22.452C43.284 10.4995 33.5945 0.809998 21.642 0.809998C9.68945 0.809998 0 10.4995 0 22.452C0 34.4045 9.68945 44.094 21.642 44.094Z",fill:"white"}),p("path",{d:"M43.678 13.83C40.657 8.581 34.991 5.047 28.5 5.047C18.835 5.047 11 12.882 11 22.547C11 32.212 18.835 40.047 28.5 40.047C34.608 40.047 39.984 36.918 43.115 32.176",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.8232C57.0011 13.7995 57.0011 15.3825 56.0248 16.3588L44.3118 28.0718C43.8429 28.5406 43.207 28.804 42.544 28.804C41.881 28.804 41.2451 28.5406 40.7762 28.0718L34.2322 21.5278C33.2559 20.5515 33.2559 18.9685 34.2322 17.9922C35.2085 17.0159 36.7915 17.0159 37.7678 17.9922L42.544 22.7685L52.4892 12.8232C53.4655 11.8469 55.0485 11.8469 56.0248 12.8232Z",fill:"#28A745"}),p("path",{d:"M18.5 24.047C19.3284 24.047 20 23.3754 20 22.547C20 21.7186 19.3284 21.047 18.5 21.047C17.6716 21.047 17 21.7186 17 22.547C17 23.3754 17.6716 24.047 18.5 24.047Z",fill:"#28A745"}),p("path",{d:"M23.5 24.047C24.3284 24.047 25 23.3754 25 22.547C25 21.7186 24.3284 21.047 23.5 21.047C22.6716 21.047 22 21.7186 22 22.547C22 23.3754 22.6716 24.047 23.5 24.047Z",fill:"#28A745"}),p("path",{d:"M28.5 24.047C29.3284 24.047 30 23.3754 30 22.547C30 21.7186 29.3284 21.047 28.5 21.047C27.6716 21.047 27 21.7186 27 22.547C27 23.3754 27.6716 24.047 28.5 24.047Z",fill:"#28A745"})]})})}eh.displayName="SuccessWhite";function th(e){return p(ce,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:z("svg",{fill:"none",children:[p("path",{d:"M21.642 44.282C33.5945 44.282 43.284 34.5925 43.284 22.64C43.284 10.6874 33.5945 0.997986 21.642 0.997986C9.68945 0.997986 0 10.6874 0 22.64C0 34.5925 9.68945 44.282 21.642 44.282Z",fill:"white"}),p("path",{d:"M18.5 24.235C19.3284 24.235 20 23.5634 20 22.735C20 21.9066 19.3284 21.235 18.5 21.235C17.6716 21.235 17 21.9066 17 22.735C17 23.5634 17.6716 24.235 18.5 24.235Z",fill:"#FFBC27"}),p("path",{d:"M23.5 24.235C24.3284 24.235 25 23.5634 25 22.735C25 21.9066 24.3284 21.235 23.5 21.235C22.6716 21.235 22 21.9066 22 22.735C22 23.5634 22.6716 24.235 23.5 24.235Z",fill:"#FFBC27"}),p("path",{d:"M28.5 24.235C29.3284 24.235 30 23.5634 30 22.735C30 21.9066 29.3284 21.235 28.5 21.235C27.6716 21.235 27 21.9066 27 22.735C27 23.5634 27.6716 24.235 28.5 24.235Z",fill:"#FFBC27"}),p("path",{d:"M43.678 14.018C40.657 8.76899 34.991 5.23499 28.5 5.23499C18.835 5.23499 11 13.07 11 22.735C11 32.4 18.835 40.235 28.5 40.235C34.608 40.235 39.984 37.106 43.115 32.364",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.782 14.053C50.1627 14.053 51.282 15.1723 51.282 16.553V21.12C51.282 22.5007 50.1627 23.62 48.782 23.62C47.4013 23.62 46.282 22.5007 46.282 21.12V16.553C46.282 15.1723 47.4013 14.053 48.782 14.053ZM47.0143 25.7852C47.9906 24.8089 49.5735 24.8089 50.5498 25.7852L50.5958 25.8312C51.5721 26.8076 51.572 28.3905 50.5957 29.3668C49.6194 30.3431 48.0365 30.343 47.0602 29.3667L47.0142 29.3207C46.0379 28.3444 46.0379 26.7615 47.0143 25.7852Z",fill:"#FFBC27"})]})})}th.displayName="WarningWhite";function rh(e){return p(ce,{...e,w:"53",h:"45",viewBox:"0 0 53 45",children:z("svg",{fill:"none",children:[p("path",{d:"M22.142 44.1878C34.0945 44.1878 43.784 34.4984 43.784 22.5458C43.784 10.5933 34.0945 0.903809 22.142 0.903809C10.1895 0.903809 0.5 10.5933 0.5 22.5458C0.5 34.4984 10.1895 44.1878 22.142 44.1878Z",fill:"#F9DFDF"}),p("path",{d:"M19 24.1409C19.8284 24.1409 20.5 23.4693 20.5 22.6409C20.5 21.8124 19.8284 21.1409 19 21.1409C18.1716 21.1409 17.5 21.8124 17.5 22.6409C17.5 23.4693 18.1716 24.1409 19 24.1409Z",fill:"#CC0000"}),p("path",{d:"M24 24.1409C24.8284 24.1409 25.5 23.4693 25.5 22.6409C25.5 21.8124 24.8284 21.1409 24 21.1409C23.1716 21.1409 22.5 21.8124 22.5 22.6409C22.5 23.4693 23.1716 24.1409 24 24.1409Z",fill:"#CC0000"}),p("path",{d:"M29 24.1409C29.8284 24.1409 30.5 23.4693 30.5 22.6409C30.5 21.8124 29.8284 21.1409 29 21.1409C28.1716 21.1409 27.5 21.8124 27.5 22.6409C27.5 23.4693 28.1716 24.1409 29 24.1409Z",fill:"#CC0000"}),p("path",{d:"M44.178 13.9239C41.157 8.67487 35.491 5.14087 29 5.14087C19.335 5.14087 11.5 12.9759 11.5 22.6409C11.5 32.3059 19.335 40.1409 29 40.1409C35.108 40.1409 40.484 37.0119 43.615 32.2699",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.0862 15.7271C37.0625 14.7508 38.6455 14.7508 39.6218 15.7271L43.7105 19.8158L47.7992 15.7271C48.7755 14.7508 50.3585 14.7508 51.3348 15.7271C52.3111 16.7034 52.3111 18.2863 51.3348 19.2626L47.246 23.3514L51.3348 27.4401C52.3111 28.4164 52.3111 29.9993 51.3348 30.9756C50.3585 31.952 48.7755 31.952 47.7992 30.9756L43.7105 26.8869L39.6218 30.9756C38.6455 31.952 37.0625 31.952 36.0862 30.9756C35.1099 29.9993 35.1099 28.4164 36.0862 27.4401L40.175 23.3514L36.0862 19.2626C35.1099 18.2863 35.1099 16.7034 36.0862 15.7271Z",fill:"#CC0000"})]})})}rh.displayName="ErrorColor";function nh(e){return p(ce,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:z("svg",{fill:"none",children:[p("path",{d:"M21.642 44.2349C33.5945 44.2349 43.284 34.5455 43.284 22.5929C43.284 10.6404 33.5945 0.950928 21.642 0.950928C9.68945 0.950928 0 10.6404 0 22.5929C0 34.5455 9.68945 44.2349 21.642 44.2349Z",fill:"#E0EEFA"}),p("path",{d:"M18.5 24.188C19.3284 24.188 20 23.5164 20 22.688C20 21.8596 19.3284 21.188 18.5 21.188C17.6716 21.188 17 21.8596 17 22.688C17 23.5164 17.6716 24.188 18.5 24.188Z",fill:"#0189FF"}),p("path",{d:"M23.5 24.188C24.3284 24.188 25 23.5164 25 22.688C25 21.8596 24.3284 21.188 23.5 21.188C22.6716 21.188 22 21.8596 22 22.688C22 23.5164 22.6716 24.188 23.5 24.188Z",fill:"#0189FF"}),p("path",{d:"M28.5 24.188C29.3284 24.188 30 23.5164 30 22.688C30 21.8596 29.3284 21.188 28.5 21.188C27.6716 21.188 27 21.8596 27 22.688C27 23.5164 27.6716 24.188 28.5 24.188Z",fill:"#0189FF"}),p("path",{d:"M43.678 13.971C40.657 8.72199 34.991 5.18799 28.5 5.18799C18.835 5.18799 11 13.023 11 22.688C11 32.353 18.835 40.188 28.5 40.188C34.608 40.188 39.984 37.059 43.115 32.317",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21.188H50C50.2652 21.188 50.5196 21.2933 50.7071 21.4809C50.8946 21.6684 51 21.9228 51 22.188V29.233H51.237C51.4908 29.2411 51.7316 29.3477 51.9082 29.5301C52.0849 29.7125 52.1837 29.9565 52.1837 30.2105C52.1837 30.4645 52.0849 30.7085 51.9082 30.8909C51.7316 31.0733 51.4908 31.1799 51.237 31.188H46.977C46.7232 31.1799 46.4824 31.0733 46.3058 30.8909C46.1291 30.7085 46.0303 30.4645 46.0303 30.2105C46.0303 29.9565 46.1291 29.7125 46.3058 29.5301C46.4824 29.3477 46.7232 29.2411 46.977 29.233H47V23.311C46.7348 23.311 46.4804 23.2056 46.2929 23.0181C46.1054 22.8306 46 22.5762 46 22.311V22.188C46 21.9228 46.1054 21.6684 46.2929 21.4809C46.4804 21.2933 46.7348 21.188 47 21.188Z",fill:"#0189FF"}),p("path",{d:"M49 19.188C50.3807 19.188 51.5 18.0687 51.5 16.688C51.5 15.3073 50.3807 14.188 49 14.188C47.6193 14.188 46.5 15.3073 46.5 16.688C46.5 18.0687 47.6193 19.188 49 19.188Z",fill:"#0189FF"})]})})}nh.displayName="InfoColor";function ih(e){return p(ce,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:z("svg",{fill:"none",children:[p("path",{d:"M21.642 44.0469C33.5945 44.0469 43.284 34.3575 43.284 22.4049C43.284 10.4524 33.5945 0.762939 21.642 0.762939C9.68945 0.762939 0 10.4524 0 22.4049C0 34.3575 9.68945 44.0469 21.642 44.0469Z",fill:"#E9F6EC"}),p("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.7762C57.0011 13.7525 57.0011 15.3354 56.0248 16.3117L44.3118 28.0247C43.8429 28.4936 43.207 28.7569 42.544 28.7569C41.881 28.7569 41.2451 28.4936 40.7762 28.0247L34.2322 21.4807C33.2559 20.5044 33.2559 18.9215 34.2322 17.9452C35.2085 16.9689 36.7915 16.9689 37.7678 17.9452L42.544 22.7214L52.4892 12.7762C53.4655 11.7999 55.0485 11.7999 56.0248 12.7762Z",fill:"#28A745"}),p("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#28A745"}),p("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#28A745"}),p("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#28A745"})]})})}ih.displayName="SuccessColor";function oh(e){return p(ce,{...e,w:"53",h:"45",viewBox:"0 0 53 45",children:z("svg",{fill:"none",children:[p("path",{d:"M22.142 44.1483C34.0945 44.1483 43.784 34.4588 43.784 22.5063C43.784 10.5537 34.0945 0.864258 22.142 0.864258C10.1895 0.864258 0.5 10.5537 0.5 22.5063C0.5 34.4588 10.1895 44.1483 22.142 44.1483Z",fill:"#FDEED6"}),p("path",{d:"M19 24.1013C19.8284 24.1013 20.5 23.4297 20.5 22.6013C20.5 21.7729 19.8284 21.1013 19 21.1013C18.1716 21.1013 17.5 21.7729 17.5 22.6013C17.5 23.4297 18.1716 24.1013 19 24.1013Z",fill:"#FFBC27"}),p("path",{d:"M24 24.1013C24.8284 24.1013 25.5 23.4297 25.5 22.6013C25.5 21.7729 24.8284 21.1013 24 21.1013C23.1716 21.1013 22.5 21.7729 22.5 22.6013C22.5 23.4297 23.1716 24.1013 24 24.1013Z",fill:"#FFBC27"}),p("path",{d:"M29 24.1013C29.8284 24.1013 30.5 23.4297 30.5 22.6013C30.5 21.7729 29.8284 21.1013 29 21.1013C28.1716 21.1013 27.5 21.7729 27.5 22.6013C27.5 23.4297 28.1716 24.1013 29 24.1013Z",fill:"#FFBC27"}),p("path",{d:"M44.178 13.8843C41.157 8.63532 35.491 5.10132 29 5.10132C19.335 5.10132 11.5 12.9363 11.5 22.6013C11.5 32.2663 19.335 40.1013 29 40.1013C35.108 40.1013 40.484 36.9723 43.615 32.2303",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.282 13.9192C50.6627 13.9192 51.782 15.0385 51.782 16.4192V20.9862C51.782 22.3669 50.6627 23.4862 49.282 23.4862C47.9013 23.4862 46.782 22.3669 46.782 20.9862V16.4192C46.782 15.0385 47.9013 13.9192 49.282 13.9192ZM47.5143 25.6514C48.4906 24.6751 50.0735 24.6751 51.0498 25.6515L51.0958 25.6975C52.0721 26.6738 52.072 28.2567 51.0957 29.233C50.1194 30.2093 48.5365 30.2093 47.5602 29.2329L47.5142 29.1869C46.5379 28.2106 46.5379 26.6277 47.5143 25.6514Z",fill:"#FFBC27"})]})})}oh.displayName="WarningColor";function ah(e){return p(ce,{...e,title:"close",children:p("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:p("path",{d:"M10.7071 1.29303C10.5196 1.10556 10.2652 1.00024 10.0001 1.00024C9.73492 1.00024 9.48061 1.10556 9.29308 1.29303L6.00008 4.58603L2.70708 1.29303C2.51848 1.11087 2.26588 1.01008 2.00368 1.01236C1.74148 1.01464 1.49067 1.1198 1.30526 1.30521C1.11985 1.49062 1.01469 1.74143 1.01241 2.00363C1.01013 2.26583 1.11092 2.51843 1.29308 2.70703L4.58608 6.00003L1.29308 9.29303C1.19757 9.38528 1.12139 9.49562 1.06898 9.61763C1.01657 9.73963 0.988985 9.87085 0.987831 10.0036C0.986677 10.1364 1.01198 10.2681 1.06226 10.391C1.11254 10.5139 1.18679 10.6255 1.28069 10.7194C1.37458 10.8133 1.48623 10.8876 1.60913 10.9379C1.73202 10.9881 1.8637 11.0134 1.99648 11.0123C2.12926 11.0111 2.26048 10.9835 2.38249 10.9311C2.50449 10.8787 2.61483 10.8025 2.70708 10.707L6.00008 7.41403L9.29308 10.707C9.48168 10.8892 9.73429 10.99 9.99648 10.9877C10.2587 10.9854 10.5095 10.8803 10.6949 10.6948C10.8803 10.5094 10.9855 10.2586 10.9878 9.99643C10.99 9.73423 10.8892 9.48163 10.7071 9.29303L7.41408 6.00003L10.7071 2.70703C10.8946 2.5195 10.9999 2.26519 10.9999 2.00003C10.9999 1.73487 10.8946 1.48056 10.7071 1.29303Z",fill:"#60798E"})})})}ah.displayName="Close";var wI=Object.freeze(Object.defineProperty({__proto__:null,AcademicRecord:Lp,AlertInfo:Bp,ArrowRight:Vp,Certificate:Rp,CircularCheck:Ip,CircularInformation:bc,Download:xc,GoAhead:$p,GoBack:Dp,Multimedia:Hp,Loader:T4,Profile:zp,Schedule:Np,TinyAlertInfo:jp,TinyAlertError:Wp,TinyAlertWarning:Up,TinyAlertSuccess:Zp,Password:Gp,Pen:qp,PlusSign:Yp,TrashCan:Xp,TextBubble:Kp,ErrorWhite:Qp,InfoWhite:Jp,SuccessWhite:eh,WarningWhite:th,ErrorColor:rh,InfoColor:nh,SuccessColor:ih,WarningColor:oh,Close:ah},Symbol.toStringTag,{value:"Module"}));function M4({status:e,text:t,margin:r="0"}){const n={success:{icon:p(Zp,{}),text:"Success",bg:V("colors-alert-ice"),color:V("colors-neutral-darkCharcoal")},error:{icon:p(Wp,{}),text:"Error",bg:V("colors-alert-veryLightPinkThree"),color:V("colors-neutral-darkCharcoal")},info:{icon:p(jp,{}),text:"Info",bg:V("colors-alert-veryLightBlue"),color:V("colors-neutral-darkCharcoal")},warning:{icon:p(Up,{}),text:"Warning",bg:V("colors-alert-pale"),color:V("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:V("colors-main-blueGrey"),color:V("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:V("colors-main-ziggurat"),color:V("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:V("colors-neutral-cultured"),color:V("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:V("colors-neutral-white")}};return n[e]?z(ee,{margin:r,"data-testid":"TinyAlert-Box",backgroundColor:n[e].bg,display:"flex",flexDirection:"row",alignItems:"center",padding:".125em .25em",gap:".25rem",width:"fit-content",borderRadius:".25rem",className:"TinyAlert-Box",children:[n[e].icon&&p(ee,{lineHeight:0,sx:{">svg":{margin:0}},children:n[e].icon}),p(ee,{as:"span",color:n[e].color,fontSize:".75rem",fontStyle:"normal",fontWeight:"400",fontFamily:"Roboto",lineHeight:".875rem",margin:"0",children:t!=null?t:n[e].text})]}):null}M4.displayName="TinyAlert";function Cc({ariaLabel:e,bg:t,borderColorActive:r=[V("colors-main-deepSkyBlue"),V("colors-neutral-white")],children:n,color:i=V("colors-neutral-white"),disabled:o=!1,fillLoader:a=V("colors-neutral-white"),id:l,isFullWidth:s=!1,isLoading:u=!1,leftIcon:c,m:f="0",onClick:d,rightIcon:h,role:m="button",rounded:y=!1,size:v="regular",touchDark:g=!1,type:b="button",tabIndex:x=0}){var I,G,U;let C=n!=null?n:null;!n&&!h&&!c&&(C="Button");const k=".75rem",E=y?"12px":V("radii-small"),P=(I=t==null?void 0:t.main)!=null?I:V("colors-main-deepSkyBlue"),F=g?"rgba(160, 160, 160, 0.2)":"rgba(255, 255, 255, 0.2)",M=!n&&(h!=null?h:c)?"onlyIcon":"";return p(ee,{margin:f,sx:{".react-ripples":{borderRadius:E,display:`${s?"grid":"inline-flex!important"}`}},children:p(_4,{color:F,children:p(Z1,{"aria-label":e,id:l,role:m,bg:P,borderRadius:E,color:i,className:M,disabled:o&&u?!1:o,fontWeight:"500",fontSize:v==="regular"?"medium":"small",height:"auto",iconSpacing:V("space-xs"),isActive:!1,isLoading:u,isFullWidth:s,lineHeight:"initial",leftIcon:c,minHeight:v==="regular"?"2.813rem":"2rem",minWidth:v==="regular"?"9rem":"auto",onClick:Z=>{!u&&!o&&(d==null||d(Z))},position:"relative",paddingTop:v==="regular"?k:V(M?"space-xs":"space-xxs"),paddingBottom:v==="regular"?k:V(M?"space-xs":"space-xxs"),paddingLeft:V(v==="regular"?"space-s":"space-xs"),paddingRight:V(v==="regular"?"space-s":"space-xs"),rightIcon:h,type:b,size:v==="regular"?"md":"sm",spinner:p(T4,{fill:a}),tabIndex:o||u?-1:x,_active:{bg:(G=t==null?void 0:t.main)!=null?G:V("colors-main-azureRadiance")},_disabled:{opacity:"50%",cursor:"not-allowed"},_focus:{boxShadow:"none"},_focusVisible:{boxShadow:`inset 0 0 0 2px ${r[0]}, inset 0 0 0 4px ${r[1]}`},_hover:{bg:(U=t==null?void 0:t.hover)!=null?U:V("colors-main-azureRadiance")},sx:{"&[data-loading]":{boxShadow:"none",cursor:"wait"},"&.onlyIcon span":{m:0},span:{h:"1rem"}},children:C})})})}Cc.displayName="Btn";function lh({ariaLabel:e,children:t,disabled:r=!1,isFullWidth:n=!1,leftIcon:i,m:o="0",isLoading:a=!1,onClick:l,rightIcon:s,role:u="button",size:c="regular",type:f="button",tabIndex:d,id:h}){return p(Cc,{ariaLabel:e,id:h,disabled:r,isFullWidth:n,isLoading:a,leftIcon:i,m:o,onClick:l,rightIcon:s,role:u,size:c,type:f,tabIndex:d,children:t})}lh.displayName="BtnPrimary";function F4({ariaLabel:e,children:t,disabled:r=!1,isFullWidth:n=!1,leftIcon:i,m:o="0",isLoading:a=!1,onClick:l,rightIcon:s,role:u="button",size:c="regular",type:f="button",tabIndex:d,id:h}){return p(Cc,{ariaLabel:e,id:h,bg:{main:V("colors-main-veryLightBlue"),hover:V("colors-main-linkWater")},borderColorActive:[V("colors-main-deepSkyBlue"),V("colors-neutral-white")],color:V("colors-main-deepSkyBlue"),disabled:r,fillLoader:V("colors-main-deepSkyBlue"),isFullWidth:n,isLoading:a,leftIcon:i,m:o,onClick:l,rightIcon:s,role:u,size:c,touchDark:!0,type:f,tabIndex:d,children:t})}F4.displayName="BtnSecondary";function A4({ariaLabel:e,activeWhenPress:t=!1,children:r,id:n,iconStatus:i="multimedia",iconCustom:o,m:a="0",onClick:l,onMouseEnter:s,onMouseLeave:u,rightIcon:c,role:f="button",type:d="button",tabIndex:h,withoutColor:m=!1}){const y=V("colors-neutral-gray"),v=V("colors-main-deepSkyBlue"),g=V("colors-neutral-white"),b=m?V("colors-main-blueGrey"):v,x={ahead:p($p,{color:b}),answer:p(Kp,{color:b}),back:p(Dp,{color:b}),delete:p(Xp,{color:b}),download:p(xc,{color:b}),edit:p(qp,{color:b}),more:p(Yp,{color:b}),multimedia:p(Hp,{color:b}),password:p(Gp,{color:b}),record:p(Lp,{color:b}),noIcon:p(Ui,{})};let C;return x[i]&&i!=="noIcon"&&(C=x[i]),o&&(C=o),p(Z1,{"aria-label":e,id:n,role:f,type:d,tabIndex:h,background:"transparent",borderRadius:"12px",color:y,fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:"14px",gap:"0.5rem",height:"24px",lineHeight:"16px",leftIcon:c?void 0:C,rightIcon:c?C:void 0,m:a,onClick:l,onMouseEnter:s,onMouseLeave:u,paddingTop:V("space-xxs"),paddingBottom:V("space-xxs"),paddingLeft:V("space-xs"),paddingRight:V("space-xs"),textDecorationLine:"underline",_hover:{color:`${v}`},_focusVisible:{boxShadow:`inset 0 0 0 2px ${v}, inset 0 0 0 4px ${g}`},_focus:{color:t?`${v} !important`:"inherit",boxShadow:"none"},_active:{bg:"transparent"},sx:{">span":{mr:0}},children:r})}A4.displayName="BtnTertiary";function wl({as:e="a",ariaLabel:t,children:r,fontSize:n="0.875rem",href:i="",id:o,m:a="0",onClick:l,role:s="link",tabIndex:u,textDecorationLine:c=!0}){const f={button:{onClick:l},a:{href:i,target:"_blank"}};return p(ee,{as:e,"aria-label":t,id:o,role:s,backgroundColor:"transparent",borderStyle:"none",className:"linkButton",color:V("colors-main-deepSkyBlue"),fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:n,lineHeight:"1rem",onClick:l,padding:".25em",tabIndex:u,textDecorationLine:c?"underline":"none",width:"fit-content",m:a,_hover:{color:V("colors-neutral-darkCharcoal"),cursor:"pointer"},...f[e],children:r})}wl.displayName="BtnLink";const SI=({children:e,className:t="tooltip",label:r,isDisabled:n=!1,m:i,maxWidth:o="200px",placement:a="bottom",isOpen:l,sx:s})=>p(cI,{isOpen:l,sx:{bg:V("colors-neutral-darkCharcoal"),borderRadius:"10px",color:"white !important",fontSize:"12px",fontWeight:"400",maxWidth:o,padding:"8px",".chakra-tooltip__arrow":{bg:`${V("colors-neutral-darkCharcoal")} !important`},...s},className:t,closeOnClick:!0,label:r,m:i,hasArrow:!0,isDisabled:n,placement:a,children:p("span",{children:e})});function kI(e){return p(ce,{...e,children:p("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM8 5C8.82843 5 9.5 4.32843 9.5 3.5C9.5 2.67157 8.82843 2 8 2C7.17157 2 6.5 2.67157 6.5 3.5C6.5 4.32843 7.17157 5 8 5ZM2.96967 5.96967C3.11032 5.82902 3.30109 5.75 3.5 5.75H12.5C12.6989 5.75 12.8897 5.82902 13.0303 5.96967C13.171 6.11032 13.25 6.30109 13.25 6.5C13.25 6.69891 13.171 6.88968 13.0303 7.03033C12.8897 7.17098 12.6989 7.25 12.5 7.25H10.25V13.25C10.25 13.4489 10.171 13.6397 10.0303 13.7803C9.88968 13.921 9.69891 14 9.5 14C9.30109 14 9.11032 13.921 8.96967 13.7803C8.82902 13.6397 8.75 13.4489 8.75 13.25V10.25H7.25V13.25C7.25 13.4489 7.17098 13.6397 7.03033 13.7803C6.88968 13.921 6.69891 14 6.5 14C6.30109 14 6.11032 13.921 5.96967 13.7803C5.82902 13.6397 5.75 13.4489 5.75 13.25V7.25H3.5C3.30109 7.25 3.11032 7.17098 2.96967 7.03033C2.82902 6.88968 2.75 6.69891 2.75 6.5C2.75 6.30109 2.82902 6.11032 2.96967 5.96967Z",fill:"white"})})})}function EI(){const e=()=>{const t=document.getElementById("userWayTrigger");t!=null&&t.click&&t.click()};return p(ee,{as:"button",alignItems:"center",bg:V("colors-main-blueGrey"),borderRadius:"100%",border:"1px solid transparent",display:"flex",height:"30px",id:"UserWayButton",justifyContent:"center",padding:"0 8px",width:"30px",_hover:{background:"rgba(96, 121, 142, 0.8)"},onClick:e,children:p(kI,{})})}const PI=4;function O4(){const{background:e,labels:t,logo:r,logoAlt:n,Profile:i}=w.useContext(wc);return z(ee,{as:"header",bgImg:e,bgPos:"center",bgSize:"cover",height:"8.75rem",borderBottom:V("borders-light"),pos:"relative",children:[z(ee,{p:"1rem",children:[(i==null?void 0:i.id)!==PI&&p(yc,{bg:V("colors-neutral-white"),m:"0 0 .625rem 0",children:z(cl,{children:[p(zp,{m:"0 .25rem 0 0"}),i==null?void 0:i.name]})}),t!==void 0&&t.length>0&&p(c5,{direction:"row",spacing:".625rem",wrap:"wrap",children:t.map((o,a)=>p(yc,{bg:o.id==="NEW"?V("colors-secondary-pumpkin"):void 0,children:o.text},a))})]}),r!==void 0&&r.length>0&&p(s5,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:V("borders-light"),bg:V("colors-neutral-white"),overflow:"hidden",borderRadius:V("radii-small"),w:"6.25rem",children:p(YO,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}O4.displayName="Header";function sh({date:e}){return e==null||e.length===0?null:p(et,{fontSize:".75rem",color:V("colors-neutral-darkCharcoal"),m:"0",children:e})}sh.displayName="DateStatus";function L4({type:e,progressValue:t=0}){switch(e){case"schedule":return p(Np,{});case"certificate":return p(Rp,{});case"circularCheck":return p(Ip,{});case"progress":return p(P4,{value:t});case"circularInformation":return p(bc,{});case"info":return p(bc,{});default:return null}}const _I=7;function B4({progress:e,status:t}){return z(Ui,{children:[z(cl,{children:[p(L4,{type:e.icon,progressValue:e.progress}),p(et,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:e==null?void 0:e.label})]}),(t==null?void 0:t.id)===_I&&(e==null?void 0:e.finalGrade)&&(e==null?void 0:e.finalGrade.length)>0&&p(yc,{size:"sm",bg:e.isApproved?V("colors-alert-jadeGreen"):V("colors-alert-red"),color:V("colors-neutral-white"),children:e==null?void 0:e.finalGrade})]})}function V4(){const{name:e,dateStatus:t,information:r,progress:n,status:i}=w.useContext(wc);return n==null?null:z(ee,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&z(SL,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?p(ee,{h:".5rem",w:"1px",bg:V("colors-neutral-silverSand"),alignSelf:"center"}):p(Ui,{}),children:[p(sh,{date:t.init}),p(sh,{date:t.end})]}),p(fL,{as:"h2",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),p(cl,{mt:"1rem",justify:"space-between",children:p(B4,{progress:n,status:i})}),r!=null&&(r==null?void 0:r.length)>0&&p(gL,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:V("borders-light"),children:r.map((o,a)=>{var l;return z(yL,{display:"flex",children:[p(L4,{type:o.icon}),p(ee,{display:"inline-block",ml:".625rem",children:o.href!==void 0&&((l=o.href)==null?void 0:l.length)>0?p(rc,{isExternal:!0,href:o.href,color:V("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:o.text}):p(et,{m:"0",color:V("colors-neutral-gray"),fontSize:".75rem",children:o.text})})]},a)})})]})}V4.displayName="Section";const j={name:"Orientaci\xF3n en la prevenci\xF3n de contagio de COVID-19",background:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT76y4DAhqWAlCspmGYWcbxSDnLw3p1FzJQKA&usqp=CAU",logo:"https://procalidad.cl/wp-content/uploads/2021/05/logo-achs.png",logoAlt:"op",status:{id:6,name:"NEXT",detail:"",style:""},Profile:{id:4,name:"Alumno"},progress:{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule",progress:0,isApproved:!1,finalGrade:""},dateStatus:{hasDates:!0,init:"Inicia 17 ene 2022",end:"Finaliza 10 ene 2023"},information:[{icon:"schedule",text:"Certificado por ACHS",href:"http://google.com"},{icon:"certificate",text:"Certificado por ACHS",href:""},{icon:"circularCheck",text:"Certificado por ACHS",href:"http://google.com"},{icon:"circularInformation",text:"Certificado por ACHS",href:""}],action:{enabled:!0,text:"Tu curso a\xFAn no comienza",hasIcon:!1,href:"https://platform.eclass.io/",targetBlank:!1},labels:[{id:"OBLIGATORY",text:"Obligatorio"}]},R4={noHabilitado:{...j,id:1,hasFinanzeFreezed:!1,status:{...j.status,id:1,name:"noHabilitado"},progress:{...j.progress,label:"Inscripci\xF3n no habilitada",icon:"circularInformation"},dateStatus:{...j.dateStatus,hasDates:!1},information:null,action:{...j.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[]},inscripcionFutura:{...j,id:1,hasFinanzeFreezed:!1,status:{...j.status,id:1,name:"noHabilitado"},progress:{...j.progress,label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...j.dateStatus,hasDates:!1},information:null,action:{...j.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},inscripcionFinalizo:{...j,id:1,hasFinanzeFreezed:!1,status:{...j.status,id:1,name:"noHabilitado"},progress:{...j.progress,label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...j.dateStatus,hasDates:!1},information:null,action:{...j.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},preInscripcion:{...j,logo:"https://cdn.eclass.com/img/productos/logos/logo-utec-square.jpg",background:"https://cdn.eclass.com/img/cursos/default1.png",id:2,hasFinanzeFreezed:!1,status:{...j.status,id:2,name:"preInscripcion"},progress:{...j.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...j.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Solicitar inscripci\xF3n",targetBlank:!0},labels:[]},preInscripcion2:{...j,id:3,hasFinanzeFreezed:!1,logo:"",status:{...j.status,id:2,name:"preInscripcion"},progress:{...j.progress,label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"},dateStatus:{...j.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},inscripcion:{...j,background:"https://cdn.eclass.com/img/cursos/default2.png",id:4,hasFinanzeFreezed:!1,status:{...j.status,id:3,name:"inscripcion"},progress:{...j.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...j.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Inscr\xEDbete",targetBlank:!0}},inscripcion2:{...j,id:5,hasFinanzeFreezed:!1,status:{...j.status,id:3,name:"inscripcion"},progress:{...j.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...j.dateStatus,hasDates:!0},information:[],action:{...j.action,text:"Inscr\xEDbete",targetBlank:!0},labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"}]},noDisponible:{...j,id:6,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...j.status,id:4,name:"no disponible"},progress:{...j.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},noDisponible2:{...j,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:7,hasFinanzeFreezed:!1,status:{...j.status,id:4,name:"no disponible"},progress:{...j.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,enabled:!1},labels:[]},noDisponible3:{...j,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:57,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...j.status,id:4,name:"no disponible"},progress:{...j.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,enabled:!1},labels:[]},activado:{...j,id:8,hasFinanzeFreezed:!1,status:{...j.status,id:5,name:"disponible"},progress:{...j.progress,label:"\xA1Ya puedes ingresar a tu curso y comenzar a estudiar!",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar:{...j,id:9,hasFinanzeFreezed:!1,logo:"",status:{...j.status,id:6,name:"sinEstudiar"},progress:{...j.progress,label:"Tu curso inici\xF3 hace 3 d\xEDas, \xA1Comienza a estudiar!",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar2:{...j,id:10,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...j.status,id:6,name:"sinEstudiar"},progress:{...j.progress,label:"Tu curso finaliza en 7 d\xEDas",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar3:{...j,id:11,hasFinanzeFreezed:!1,status:{...j.status,id:6,name:"sinEstudiar"},progress:{...j.progress,label:"Tu curso finaliza ma\xF1ana a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar4:{...j,logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:12,hasFinanzeFreezed:!1,status:{...j.status,id:6,name:"sinEstudiar"},progress:{...j.progress,label:"Tu curso finaliza hoy a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},continuar:{...j,id:13,hasFinanzeFreezed:!0,status:{...j.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:{...j.progress,label:"Has completado un 25% de tu curso",icon:"progress",progress:25},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"},labels:[]},continuar2:{...j,id:14,hasFinanzeFreezed:!1,status:{...j.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:{...j.progress,label:"Has completado un 100% de tu curso",icon:"progress",progress:100},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Ir a mi curso"},labels:[]},pendiente:{...j,background:"https://cdn.eclass.com/img/cursos/default3.png",id:15,hasFinanzeFreezed:!1,status:{...j.status,id:8,name:"pendiente"},progress:{...j.progress,label:"\xA1Curso finalizado! Estamos calculando tu promedio final",icon:"circularInformation"},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Ir a mi curso"},labels:[]},terminado:{...j,id:16,hasFinanzeFreezed:!1,status:{...j.status,id:7,name:"QUALIFIED"},progress:{...j.progress,label:"Curso aprobado con nota",icon:"circularCheck",isApproved:!0,finalGrade:"6,5"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Ir a mi curso"},labels:[]},terminado2:{...j,logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:17,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...j.status,id:7,name:"QUALIFIED"},progress:{...j.progress,label:"Curso reprobado con nota",icon:"circularCheck",isApproved:!1,finalGrade:"3,5"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Ir a mi curso"},labels:[]},terminado3:{...j,id:18,hasFinanzeFreezed:!1,logo:"",status:{...j.status,id:9,name:"terminado"},progress:{...j.progress,label:"Curso finalizado",icon:"circularCheck"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...j.action,text:"Ir a mi curso"},labels:[]}},TI=Object.keys(R4).map(e=>R4[e]),I4=4,Sl=(e,t=I4)=>e||t!==I4;function MI(e=4){const t=e*H4+D4*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function FI({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:i}){const o={backgroundColor:"transparent"};function a(){return p(Tp,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,s]=w.useState(p(a,{}));return w.useEffect(()=>{n&&s(p(a,{}))},[n]),z(xl,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,z(_p,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[z(Mp,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[p(Bp,{w:"52",h:"45",viewBox:"0 0 45 52"}),i.title]}),p(C4,{size:"md",color:V("colors-main-blueGrey"),_hover:o,_focus:o,_active:o}),p(Fp,{p:"1rem 2rem 2rem 2rem",children:p(et,{align:"center",children:i.body})}),p(Ap,{justifyContent:"center",borderTop:"1px solid",borderTopColor:V("colors-neutral-platinum"),p:"1rem",children:p(Z1,{onClick:r,color:V("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:o,_focus:o,_active:o,children:i.buttonName})})]})]})}xl.displayName="Modal";function $4({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=w.useContext(wc),{isOpen:i,onOpen:o,onClose:a}=hv(),[l,s]=w.useState(!1),u={backgroundColor:"transparent"},c=()=>{s(!0),o()};return t==null?null:z(s5,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:V("colors-neutral-platinum"),children:[Sl(t.enabled,r==null?void 0:r.id)?z(Ui,{children:[n&&e?p(ee,{color:V("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",p:"0",zIndex:"inherit !important",_hover:u,_focus:u,_active:u,onClick:()=>c(),fontSize:"1rem !important",children:t.text}):p(et,{color:V("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&p(Vp,{color:V("colors-main-deepSkyBlue")})]}):p(et,{fontWeight:"500",lineHeight:"1.172rem",color:V("colors-neutral-spanishGrey"),m:"0",children:t.text}),e&&p(FI,{isOpen:i,onClose:a,showOverlay:l,onOpen:o,modalPaymentText:e})]})}$4.displayName="Footer";const wc=w.createContext({});function AI({enabled:e,children:t}){return e?p(bo,{children:t}):p(Ui,{children:t})}function uh({data:e,modalPaymentText:t}){var n,i,o,a,l,s,u,c;const r={boxShadow:`0 2px 7px 0 ${V("colors-neutral-silverSand")}`};return p(wc.Provider,{value:e,children:p(_L,{as:"article",border:V("borders-light"),borderRadius:V("radii-big"),cursor:"pointer",transition:"box-shadow .3s",_active:r,_hover:r,_focus:r,overflow:"hidden",children:p(AI,{enabled:Sl((i=(n=e.action)==null?void 0:n.enabled)!=null?i:!1,(o=e.Profile)==null?void 0:o.id),children:z(cl,{direction:"column",justify:"space-between",h:"100%",children:[z(ee,{className:"CourseList-TraditionalBox",children:[!e.hasFinanzeFreezed&&Sl((l=(a=e.action)==null?void 0:a.enabled)!=null?l:!1,(s=e.Profile)==null?void 0:s.id)&&p(d5,{href:(u=e.action)==null?void 0:u.href,isExternal:(c=e.action)==null?void 0:c.targetBlank}),p(O4,{}),p(V4,{})]}),p($4,{modalPaymentText:t})]})})})})}uh.displayName="BoxTraditional";function OI({enabled:e,children:t}){return e?p(bo,{children:t}):p(Ui,{children:t})}function ch({backgroundImg:e,title:t,data:r,size:n="large",m:i}){var a,l,s,u,c,f,d,h,m;const o={large:"286px",small:"197px"};return p(OI,{enabled:Sl((l=(a=r==null?void 0:r.action)==null?void 0:a.enabled)!=null?l:!1,(s=r==null?void 0:r.Profile)==null?void 0:s.id),children:z(ee,{className:"CourseList-ImageBox",sx:{backgroundImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${e})`,color:V("colors-neutral-white"),cursor:"pointer",height:o[n],backgroundSize:"cover",backgroundPosition:"center",borderRadius:"10px",padding:"16px",display:"flex",font:"Roboto",flexDirection:"column",margin:i,justifyContent:"end",textAlign:"left"},children:[!(r!=null&&r.hasFinanzeFreezed)&&Sl((c=(u=r==null?void 0:r.action)==null?void 0:u.enabled)!=null?c:!1,(f=r==null?void 0:r.Profile)==null?void 0:f.id)&&p(d5,{href:(d=r==null?void 0:r.action)==null?void 0:d.href,isExternal:(h=r==null?void 0:r.action)==null?void 0:h.targetBlank}),z(ee,{className:"textBox",bottom:"20px",display:"flex",flexDirection:"column",gap:"8px",children:[p(ee,{as:"h2",className:"courseName",fontWeight:"700",fontSize:"16px",lineHeight:"21px",marginBlockEnd:"0",margin:"0",children:t}),(m=r==null?void 0:r.information)==null?void 0:m.map((y,v)=>y.icon==="certificate"&&p(ee,{as:"p",className:"certificateText",fontSize:"14px",fontWeight:"400",lineHeight:"12px",margin:"0",children:y.text},v))]})]})})}ch.displayName="BoxImage";const LI=({type:e="TRADITIONAL",data:t,modalPaymentText:r})=>{var a,l;const n={data:t,modalPaymentText:r},i={data:t,backgroundImg:(a=t.background)!=null?a:"",title:(l=t.name)!=null?l:""};return{TRADITIONAL:p(uh,{...n}),TRADITIONAL_LANDSCAPE:p(uh,{...n}),IMAGE_LARGE:p(ch,{...i}),IMAGE_SMALL:p(ch,{...i,size:"small"})}[e]},D4=1.25,H4=17.8125;function z4({courses:e,modalPaymentText:t,m:r="0 auto",typeBox:n="TRADITIONAL"}){return e===void 0?null:p(ee,{display:"grid",gridColumnGap:`${D4}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${H4}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(i=>p(LI,{data:i,type:n,modalPaymentText:t},i.id))})}z4.displayName="CourseList";const dh={success:{icon:p(eh,{}),bg:V("colors-alert-ice"),id:"success"},error:{icon:p(Qp,{}),bg:V("colors-alert-veryLightPinkThree"),id:"error"},info:{icon:p(Jp,{}),bg:V("colors-alert-veryLightBlue"),id:"info"},warning:{icon:p(th,{}),bg:V("colors-alert-pale"),id:"warning"}},BI={success:{icon:p(ih,{}),bg:V("colors-alert-ice"),id:"success"},error:{icon:p(rh,{}),bg:V("colors-alert-veryLightPinkThree"),id:"error"},info:{icon:p(nh,{}),bg:V("colors-alert-veryLightBlue"),id:"info"},warning:{icon:p(oh,{}),bg:V("colors-alert-pale"),id:"warning"}};function N4({children:e,canDismiss:t=!1,buttonText:r,buttonIcon:n,buttonLink:i=!1,fullWidth:o=!1,isFlash:a=!1,onClick:l,state:s,m:u,endTextLink:c,onClickLink:f}){const[d]=f5("(max-width: 425px)"),h=()=>{l&&l()};let m;return r&&(m=i?"link":"normal"),z(ee,{className:a?"flashNotification":"e_alert",alignItems:d?"unset":"center",backgroundColor:dh[s].bg,borderRadius:"8px",display:"flex",flexFlow:d?"column":"row",gap:a?"":"16px",justifyContent:d?"":"space-between",margin:u,width:o?"100%":"fit-content",maxWidth:o?"none":"796px",p:"1rem",pr:t?"1.75rem":"1rem",position:"relative",children:[z(ee,{display:"flex",gap:"10px",className:"alertContent",sx:{".linkButton":{fontSize:"16px"},a:{fontWeight:"500",color:V("colors-main-deepSkyBlue"),textDecoration:"underline"},"a:hover":{color:V("colors-neutral-darkCharcoal")}},children:[p(ee,{className:"iconContainer",sx:{svg:{width:"auto"}},children:dh[s].icon}),z(ee,{display:"flex",alignItems:"center",children:[z(ee,{as:"p",alignSelf:"center",fontFamily:"Roboto",fontSize:"16px",fontWeight:"400",lineHeight:"28px",color:V("colors-neutral-darkCharcoal"),children:[e,c&&f&&p(wl,{onClick:f,children:c})]}),m==="link"&&p(wl,{onClick:h,children:r})]})]}),m==="normal"&&p(lh,{isFullWidth:!!d,leftIcon:n,onClick:h,children:r}),t&&p(ee,{"data-testid":"closeButton",cursor:"pointer",marginLeft:"12px",sx:{svg:{position:"absolute",top:"16px",right:"12px"}},onClick:l,children:p(ah,{})})]})}let VI={data:""},RI=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||VI,II=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,$I=/\/\*[^]*?\*\/| +/g,j4=/\n+/g,En=(e,t)=>{let r="",n="",i="";for(let o in e){let a=e[o];o[0]=="@"?o[1]=="i"?r=o+" "+a+";":n+=o[1]=="f"?En(a,o):o+"{"+En(a,o[1]=="k"?"":t)+"}":typeof a=="object"?n+=En(a,t?t.replace(/([^,])+/g,l=>o.replace(/(^:.*)|([^,])+/g,s=>/&/.test(s)?s.replace(/&/g,l):l?l+" "+s:s)):o):a!=null&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=En.p?En.p(o,a):o+":"+a+";")}return r+(t&&i?t+"{"+i+"}":i)+n},Rr={},W4=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+W4(e[r]);return t}return e},DI=(e,t,r,n,i)=>{let o=W4(e),a=Rr[o]||(Rr[o]=(s=>{let u=0,c=11;for(;u<s.length;)c=101*c+s.charCodeAt(u++)>>>0;return"go"+c})(o));if(!Rr[a]){let s=o!==e?e:(u=>{let c,f,d=[{}];for(;c=II.exec(u.replace($I,""));)c[4]?d.shift():c[3]?(f=c[3].replace(j4," ").trim(),d.unshift(d[0][f]=d[0][f]||{})):d[0][c[1]]=c[2].replace(j4," ").trim();return d[0]})(e);Rr[a]=En(i?{["@keyframes "+a]:s}:s,r?"":"."+a)}let l=r&&Rr.g?Rr.g:null;return r&&(Rr.g=Rr[a]),((s,u,c,f)=>{f?u.data=u.data.replace(f,s):u.data.indexOf(s)===-1&&(u.data=c?s+u.data:u.data+s)})(Rr[a],t,n,l),a},HI=(e,t,r)=>e.reduce((n,i,o)=>{let a=t[o];if(a&&a.call){let l=a(r),s=l&&l.props&&l.props.className||/^go/.test(l)&&l;a=s?"."+s:l&&typeof l=="object"?l.props?"":En(l,""):l===!1?"":l}return n+i+(a==null?"":a)},"");function Sc(e){let t=this||{},r=e.call?e(t.p):e;return DI(r.unshift?r.raw?HI(r,[].slice.call(arguments,1),t.p):r.reduce((n,i)=>Object.assign(n,i&&i.call?i(t.p):i),{}):r,RI(t.target),t.g,t.o,t.k)}let U4,fh,ph;Sc.bind({g:1});let Ir=Sc.bind({k:1});function zI(e,t,r,n){En.p=t,U4=e,fh=r,ph=n}function Pn(e,t){let r=this||{};return function(){let n=arguments;function i(o,a){let l=Object.assign({},o),s=l.className||i.className;r.p=Object.assign({theme:fh&&fh()},l),r.o=/ *go\d+/.test(s),l.className=Sc.apply(r,n)+(s?" "+s:""),t&&(l.ref=a);let u=e;return e[0]&&(u=l.as||e,delete l.as),ph&&u[0]&&ph(l),U4(u,l)}return t?t(i):i}}var NI=e=>typeof e=="function",kc=(e,t)=>NI(e)?e(t):e,jI=(()=>{let e=0;return()=>(++e).toString()})(),Z4=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),WI=20,Ec=new Map,UI=1e3,G4=e=>{if(Ec.has(e))return;let t=setTimeout(()=>{Ec.delete(e),ai({type:4,toastId:e})},UI);Ec.set(e,t)},ZI=e=>{let t=Ec.get(e);t&&clearTimeout(t)},hh=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,WI)};case 1:return t.toast.id&&ZI(t.toast.id),{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case 2:let{toast:r}=t;return e.toasts.find(o=>o.id===r.id)?hh(e,{type:1,toast:r}):hh(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?G4(n):e.toasts.forEach(o=>{G4(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===n||n===void 0?{...o,visible:!1}:o)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(o=>({...o,pauseDuration:o.pauseDuration+i}))}}},Pc=[],_c={toasts:[],pausedAt:void 0},ai=e=>{_c=hh(_c,e),Pc.forEach(t=>{t(_c)})},GI={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},qI=(e={})=>{let[t,r]=O.useState(_c);O.useEffect(()=>(Pc.push(r),()=>{let i=Pc.indexOf(r);i>-1&&Pc.splice(i,1)}),[t]);let n=t.toasts.map(i=>{var o,a;return{...e,...e[i.type],...i,duration:i.duration||((o=e[i.type])==null?void 0:o.duration)||(e==null?void 0:e.duration)||GI[i.type],style:{...e.style,...(a=e[i.type])==null?void 0:a.style,...i.style}}});return{...t,toasts:n}},YI=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(r==null?void 0:r.id)||jI()}),kl=e=>(t,r)=>{let n=YI(t,e,r);return ai({type:2,toast:n}),n.id},Ct=(e,t)=>kl("blank")(e,t);Ct.error=kl("error"),Ct.success=kl("success"),Ct.loading=kl("loading"),Ct.custom=kl("custom"),Ct.dismiss=e=>{ai({type:3,toastId:e})},Ct.remove=e=>ai({type:4,toastId:e}),Ct.promise=(e,t,r)=>{let n=Ct.loading(t.loading,{...r,...r==null?void 0:r.loading});return e.then(i=>(Ct.success(kc(t.success,i),{id:n,...r,...r==null?void 0:r.success}),i)).catch(i=>{Ct.error(kc(t.error,i),{id:n,...r,...r==null?void 0:r.error})}),e};var XI=(e,t)=>{ai({type:1,toast:{id:e,height:t}})},KI=()=>{ai({type:5,time:Date.now()})},QI=e=>{let{toasts:t,pausedAt:r}=qI(e);O.useEffect(()=>{if(r)return;let o=Date.now(),a=t.map(l=>{if(l.duration===1/0)return;let s=(l.duration||0)+l.pauseDuration-(o-l.createdAt);if(s<0){l.visible&&Ct.dismiss(l.id);return}return setTimeout(()=>Ct.dismiss(l.id),s)});return()=>{a.forEach(l=>l&&clearTimeout(l))}},[t,r]);let n=O.useCallback(()=>{r&&ai({type:6,time:Date.now()})},[r]),i=O.useCallback((o,a)=>{let{reverseOrder:l=!1,gutter:s=8,defaultPosition:u}=a||{},c=t.filter(h=>(h.position||u)===(o.position||u)&&h.height),f=c.findIndex(h=>h.id===o.id),d=c.filter((h,m)=>m<f&&h.visible).length;return c.filter(h=>h.visible).slice(...l?[d+1]:[0,d]).reduce((h,m)=>h+(m.height||0)+s,0)},[t]);return{toasts:t,handlers:{updateHeight:XI,startPause:KI,endPause:n,calculateOffset:i}}},JI=Ir`
|
|
387
387
|
from {
|
|
388
388
|
transform: scale(0) rotate(45deg);
|
|
389
389
|
opacity: 0;
|
|
@@ -559,5 +559,5 @@ to {
|
|
|
559
559
|
> * {
|
|
560
560
|
pointer-events: auto;
|
|
561
561
|
}
|
|
562
|
-
`,Tc=16,k$=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:i,containerStyle:o,containerClassName:a})=>{let{toasts:l,handlers:s}=QI(r);return w.createElement("div",{style:{position:"fixed",zIndex:9999,top:Tc,left:Tc,right:Tc,bottom:Tc,pointerEvents:"none",...o},className:a,onMouseEnter:s.startPause,onMouseLeave:s.endPause},l.map(u=>{let c=u.position||t,f=s.calculateOffset(u,{reverseOrder:e,gutter:n,defaultPosition:t}),d=w$(c,f);return w.createElement(C$,{id:u.id,key:u.id,onHeightUpdate:s.updateHeight,className:u.visible?S$:"",style:d},u.type==="custom"?kc(u.message,u):i?i(u):w.createElement(x$,{toast:u,position:c}))}))};const q4=e=>{function t(n){var o,a;return(a=(o=n.match(/(\w+)/g))==null?void 0:o.length)!=null?a:0}let r=3e3;return e&&t(e)>5&&(r=6e3),r};function E$({message:e,state:t,show:r,m:n}){const i=O.useCallback(()=>{Ct(o=>p(N4,{isFlash:!0,state:t,canDismiss:!0,onClick:()=>Ct.dismiss(o.id),children:e}),{duration:q4(e),id:dh[t].id})},[e,t]);return O.useEffect(()=>{r&&i()},[r,i]),p(ee,{children:p(k$,{toastOptions:{className:"toastContainer",style:{background:"transparent",boxShadow:"none"}}})})}const P$=({state:e,message:t})=>{const[r,n]=O.useState(!1);return O.useEffect(()=>{if(r){const o=setTimeout(()=>{n(!1)},q4(t));return()=>clearTimeout(o)}},[t,r]),{show:r,active:()=>{r||n(!0)},config:{state:e,message:t}}};function Y4({showModal:e,typeAlert:t,title:r,description:n,optionsButton:i,top:o}){const[a]=f5("(min-width: 650px)"),l={content:{top:o}},s=i.length>1;return z(xl,{id:"modal-alert",isOpen:e,onClose:()=>{},closeOnEsc:!1,closeOnOverlayClick:!1,size:a?"xl":"sm",isCentered:!1,children:[p(Tp,{bg:"rgba(0, 0, 0, 0.5)",position:"fixed",top:"0",left:"0",right:"0",bottom:"0",zIndex:"998"}),z(_p,{zIndex:"999",sx:l.content,children:[z(ee,{alignItems:"center",justifyContent:"center",textAlign:"center",py:"2rem",borderBottom:"1px solid #E6E6E6",children:[p(ee,{display:"flex",justifyContent:"center",children:BI[t].icon}),p(Mp,{py:"1rem",children:r}),p(Fp,{py:"0.5rem",px:"2rem",children:n})]}),p(Ap,{justifyContent:"center",padding:"0",children:i.map((u,c)=>p(ee,{width:"99%",textAlign:"center",padding:"1rem",borderLeftWidth:s&&u.id===i[1].id?"1px":"0",borderLeftColor:"#E6E6E6",onClick:()=>u.action(),children:p(wl,{textDecorationLine:!1,fontSize:"1rem",children:u.label})},c))})]})]})}Y4.displayName="ModalAlert";const X4=({color:e="white"})=>z(De,{width:"16px",height:"17px",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p("path",{d:"M15 2.5H13V0.5H11V2.5H9V0.5H7V2.5H5V0.5H3V2.5H1C0.447 2.5 0 2.947 0 3.5V15.5C0 16.053 0.447 16.5 1 16.5H15C15.553 16.5 16 16.053 16 15.5V3.5C16 2.947 15.553 2.5 15 2.5ZM14 14.5H2V5.5H14V14.5Z",fill:e}),p("path",{d:"M6 7.5H4V9.5H6V7.5Z",fill:e}),p("path",{d:"M9 7.5H7V9.5H9V7.5Z",fill:e}),p("path",{d:"M6 10.5H4V12.5H6V10.5Z",fill:e}),p("path",{d:"M9 10.5H7V12.5H9V10.5Z",fill:e}),p("path",{d:"M12 7.5H10V9.5H12V7.5Z",fill:e}),p("path",{d:"M12 10.5H10V12.5H12V10.5Z",fill:e})]}),K4=({color:e="white"})=>p(De,{width:"16px",height:"17px",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8.5C0 4.1 3.6 0.5 8 0.5C12.4 0.5 16 4.1 16 8.5C16 12.9 12.4 16.5 8 16.5C3.6 16.5 0 12.9 0 8.5ZM7 9.5H12V7.5H9V4.5H7V9.5Z",fill:e})}),_$=({id:e,eventTitle:t,startDate:r,startTime:n,buttonInfo:i,redirect:o,eventImage:a,targetBlank:l,isMobile:s})=>{const u={boxShadow:`0 2px 7px 0 ${V("colors-neutral-silverSand")}`};return p(rc,{href:o,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,w:"fit-content",h:"fit-content",transition:"box-shadow .3s",borderRadius:V("radii-big"),_active:u,_hover:u,_focus:u,children:p(bo,{children:z(cl,{cursor:"pointer",w:"fit-content",display:s?"block":"flex",children:[p(ee,{width:"285px",height:s?"140px":"168px",bgImage:`url(${a})`,backgroundSize:"cover",borderRadius:s?"8px 8px 0px 0px":"8px 0 0 8px"}),z(ee,{width:s?"285px":"305px",minHeight:s?"160px":"168px",borderRadius:s?"0 0 8px 8px":"0 8px 8px 0",border:V("borders-light"),display:"flex",flexDirection:"column",cursor:"pointer",children:[z(ee,{width:"inherit",height:"100%",padding:"4",color:"#555555",gap:"16px",display:"grid",children:[p(et,{fontWeight:"700",children:t}),z(ee,{display:"flex",alignItems:"center",gap:"4px",children:[p(X4,{color:V("colors-main-ziggurat")}),p(et,{fontWeight:"400",children:r}),p(et,{color:V("borders-light"),children:"|"}),p(K4,{color:V("colors-main-ziggurat")}),p(et,{children:n})]})]}),p(ee,{borderTop:`${V("borders-light")}`,width:"100%",height:"50px",padding:"12px",backgroundColor:"white",alignItems:"center",display:"flex",justifyContent:"center",borderRadius:" 0 0 8px 8px",fontSize:"16px",fontFamily:"Roboto",color:V("colors-main-deepSkyBlue"),fontWeight:"500",children:i})]})]})})},e)},T$=({id:e,eventTitle:t,startDate:r,startTime:n,buttonInfo:i,redirect:o,eventImage:a,targetBlank:l})=>{const s={boxShadow:`0 2px 7px 0 ${V("colors-neutral-silverSand")}`};return p(rc,{href:o,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,transition:"box-shadow .3s",_active:s,_hover:s,_focus:s,width:"286px",height:"247px",borderRadius:V("radii-big"),children:p(bo,{children:z(ee,{width:"286px",height:"247px",borderRadius:V("radii-big"),border:V("borders-light"),justifyContent:"center",textAlign:"center",display:"flex",flexDirection:"column",cursor:"pointer",children:[p(ee,{flex:"1",bgImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${a})`,backgroundSize:"cover",borderRadius:"8px 8px 0 0",margin:"0",display:"grid",alignItems:"flex-end",children:z(ee,{color:V("colors-neutral-white"),padding:"16px",textAlign:"initial",fontFamily:"Roboto",fontSize:"16px",lineHeight:"21px",display:"grid",gap:"8px",children:[p(et,{fontWeight:"700",m:"0px",children:t}),z(ee,{display:"flex",alignItems:"center",gap:"4px",children:[p(X4,{}),p(et,{fontWeight:"400",m:"0px",children:r}),p(et,{m:"0px",children:"|"}),p(K4,{}),p(et,{m:"0px",children:n})]})]})}),p(ee,{width:"100%",height:"50px",backgroundColor:"white",alignItems:"center",display:"flex",justifyContent:"center",borderRadius:" 0 0 8px 8px",fontSize:"16px",fontFamily:"Roboto",color:V("colors-main-deepSkyBlue"),fontWeight:"500",children:i})]})})},e)},M$=({typeEvent:e,itemsEvent:t})=>e==="LARGE_EVENTS"?p(_$,{...t}):p(T$,{...t}),F$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5797)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M13 23L12.7 21.9H10.8L10.6 23H8.90002L10.8 17.3H12.9L14.8 23H13ZM12.4 20.7L12.2 19.8C12.1 19.6 12.1 19.3 12 19C11.9 18.7 11.9 18.4 11.8 18.3C11.8 18.4 11.7 18.7 11.7 19C11.7 19.3 11.5 19.9 11.2 20.8H12.4V20.7Z",fill:"#B0CFE0"}),p("path",{d:"M18.6 17.3H20.3L18.4 23H16.6L14.7 17.3H16.4L17.2 20.2C17.4 20.8 17.4 21.3 17.5 21.5C17.5 21.3 17.6 21.1 17.6 20.8C17.6 20.5 17.7 20.3 17.7 20.2L18.6 17.3Z",fill:"#B0CFE0"}),p("path",{d:"M20.9 23V17.3H22.5V23H20.9Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5797",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),A$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5770)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M11.5 18.5C11.1 18.5 10.8 18.7 10.6 19C10.4 19.3 10.3 19.7 10.3 20.2C10.3 21.3 10.7 21.8 11.6 21.8C11.9 21.8 12.1 21.8 12.3 21.7C12.5 21.6 12.8 21.5 13 21.4V22.7C12.5 22.9 12 23 11.4 23C10.5 23 9.89995 22.8 9.39995 22.2C8.89995 21.6 8.69995 21 8.69995 20C8.69995 19.4 8.79995 18.9 8.99995 18.4C9.19995 17.9 9.49995 17.6 9.99995 17.4C10.5 17.2 10.9 17 11.5 17C12.1 17 12.7 17.1 13.3 17.4L12.8 18.6C12.6 18.5 12.4 18.4 12.2 18.4C12 18.4 11.7 18.5 11.5 18.5Z",fill:"#B0CFE0"}),p("path",{d:"M17.9 21.3C17.9 21.7 17.8 22 17.6 22.2C17.4 22.4 17.2 22.7 16.8 22.8C16.4 22.9 16.1 23 15.6 23C15.2 23 14.9 23 14.6 22.9C14.3 22.8 14.1 22.8 13.8 22.6V21.2C14.1 21.4 14.4 21.5 14.7 21.6C15 21.7 15.3 21.7 15.6 21.7C15.8 21.7 16 21.7 16.1 21.6C16.2 21.5 16.3 21.4 16.3 21.3C16.3 21.2 16.3 21.2 16.2 21.1C16.1 21 16.1 21.1 16 21C15.9 20.9 15.7 20.8 15.2 20.6C14.8 20.4 14.5 20.3 14.4 20.1C14.3 19.9 14.1 19.8 14 19.6C13.9 19.4 13.9 19.2 13.9 18.9C13.9 18.4 14.1 18 14.5 17.7C14.9 17.4 15.4 17.3 16.1 17.3C16.7 17.3 17.3 17.4 17.9 17.7L17.4 18.9C16.9 18.7 16.4 18.5 16 18.5C15.8 18.5 15.7 18.5 15.6 18.6C15.5 18.7 15.5 18.8 15.5 18.9C15.5 19 15.6 19.1 15.7 19.2C15.8 19.3 16.1 19.4 16.6 19.7C17.1 19.9 17.4 20.2 17.6 20.4C17.8 20.6 17.9 20.9 17.9 21.3Z",fill:"#B0CFE0"}),p("path",{d:"M22 17.3H23.7L21.8 23H20L18.1 17.3H19.8L20.6 20.2C20.8 20.8 20.8 21.3 20.9 21.5C20.9 21.3 21 21.1 21 20.8C21 20.5 21.1 20.3 21.1 20.2L22 17.3Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5770",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),O$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5732)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M12.7 20C12.7 21 12.4 21.7 11.9 22.2C11.4 22.7 10.7 23 9.70002 23H7.90002V17.3H9.90002C10.8 17.3 11.5 17.5 12 18C12.5 18.5 12.7 19.1 12.7 20ZM11.1 20.1C11.1 19.6 11 19.2 10.8 18.9C10.6 18.6 10.3 18.5 9.90002 18.5H9.40002V21.7H9.70002C10.2 21.7 10.5 21.6 10.7 21.3C10.9 21 11.1 20.6 11.1 20.1Z",fill:"#B0CFE0"}),p("path",{d:"M19.1 20.1C19.1 21.1 18.9 21.8 18.4 22.3C17.9 22.8 17.2 23.1 16.3 23.1C15.4 23.1 14.7 22.8 14.2 22.3C13.7 21.8 13.5 21.1 13.5 20.1C13.5 19.1 13.7 18.4 14.2 17.9C14.7 17.4 15.4 17.1 16.3 17.1C17.2 17.1 17.9 17.3 18.4 17.8C18.9 18.3 19.1 19.2 19.1 20.1ZM15.2 20.1C15.2 21.2 15.6 21.8 16.4 21.8C16.8 21.8 17.1 21.7 17.3 21.4C17.5 21.1 17.6 20.7 17.6 20.1C17.6 19.5 17.5 19.1 17.3 18.8C17.1 18.5 16.8 18.4 16.4 18.4C15.6 18.5 15.2 19 15.2 20.1Z",fill:"#B0CFE0"}),p("path",{d:"M22.7 18.5C22.3 18.5 22 18.7 21.8 19C21.6 19.3 21.5 19.7 21.5 20.2C21.5 21.3 21.9 21.8 22.8 21.8C23.1 21.8 23.3 21.8 23.5 21.7C23.7 21.6 24 21.5 24.2 21.4V22.7C23.7 22.9 23.2 23 22.6 23C21.7 23 21.1 22.8 20.6 22.2C20.1 21.6 19.9 21 19.9 20C19.9 19.4 20 18.9 20.2 18.4C20.4 17.9 20.7 17.6 21.2 17.4C21.7 17.2 22.1 17 22.7 17C23.3 17 23.9 17.1 24.5 17.4L24 18.8C23.8 18.7 23.6 18.6 23.4 18.6C23.2 18.6 22.9 18.5 22.7 18.5Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5732",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),L$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5741)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M9.9 20C9.9 21 9.6 21.7 9.1 22.2C8.6 22.7 7.8 23 6.9 23H5V17.3H7C7.9 17.3 8.6 17.5 9.1 18C9.6 18.5 9.9 19.1 9.9 20ZM8.3 20.1C8.3 19.6 8.2 19.2 8 18.9C7.8 18.6 7.4 18.5 7 18.5H6.5V21.7H6.8C7.3 21.7 7.6 21.6 7.8 21.3C8 21 8.3 20.6 8.3 20.1Z",fill:"#B0CFE0"}),p("path",{d:"M16.2 20.1C16.2 21.1 16 21.8 15.5 22.3C15 22.8 14.3 23.1 13.4 23.1C12.5 23.1 11.8 22.8 11.3 22.3C10.8 21.8 10.6 21.1 10.6 20.1C10.6 19.1 10.8 18.4 11.3 17.9C11.8 17.4 12.5 17.1 13.4 17.1C14.3 17.1 15 17.3 15.5 17.8C16 18.3 16.2 19.2 16.2 20.1ZM12.3 20.1C12.3 21.2 12.7 21.8 13.5 21.8C13.9 21.8 14.2 21.7 14.4 21.4C14.6 21.1 14.7 20.7 14.7 20.1C14.7 19.5 14.6 19.1 14.4 18.8C14.2 18.5 13.9 18.4 13.5 18.4C12.7 18.5 12.3 19 12.3 20.1Z",fill:"#B0CFE0"}),p("path",{d:"M19.8 18.5C19.4 18.5 19.1 18.7 18.9 19C18.7 19.3 18.6 19.7 18.6 20.2C18.6 21.3 19 21.8 19.9 21.8C20.2 21.8 20.4 21.8 20.6 21.7C20.8 21.6 21.1 21.5 21.3 21.4V22.7C20.8 22.9 20.3 23 19.7 23C18.8 23 18.2 22.8 17.7 22.2C17.2 21.6 17 21.1 17 20.2C17 19.6 17.1 19.1 17.3 18.6C17.5 18.1 17.8 17.8 18.3 17.6C18.8 17.4 19.2 17.2 19.8 17.2C20.4 17.2 21 17.3 21.6 17.6L21.1 18.8C20.9 18.7 20.7 18.6 20.5 18.6C20.3 18.6 20 18.5 19.8 18.5Z",fill:"#B0CFE0"}),p("path",{d:"M27.6 23H25.8L24.7 21.2L23.6 23H21.9L23.8 20.1L22 17.3H23.7L24.7 19.1L25.7 17.3H27.5L25.7 20.2L27.6 23Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5741",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),B$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5704)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M12.4 19.7H14.9V22.8C14.2 23 13.5 23.1 12.7 23.1C11.8 23.1 11.1 22.8 10.7 22.3C10.3 21.8 10 21.1 10 20.1C10 19.2 10.3 18.5 10.8 17.9C11.3 17.3 12.1 17.1 13 17.1C13.4 17.1 13.7 17.1 14 17.2C14.3 17.3 14.6 17.4 14.8 17.5L14.3 18.7C13.9 18.5 13.4 18.4 12.9 18.4C12.4 18.4 12.1 18.5 11.9 18.8C11.7 19.1 11.5 19.5 11.5 20.1C11.5 20.6 11.6 21 11.8 21.3C12 21.6 12.3 21.7 12.8 21.7C13 21.7 13.2 21.7 13.4 21.6V20.7H12.4V19.7Z",fill:"#B0CFE0"}),p("path",{d:"M16 23V17.3H17.6V23H16Z",fill:"#B0CFE0"}),p("path",{d:"M20.3 23H18.8V17.3H22.2001V18.5H20.3V19.6H22V20.8H20.3V23Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5704",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),V$=({type:e})=>{switch(e){case"avi":return p(F$,{});case"csv":return p(A$,{});case"doc":return p(O$,{});case"docx":return p(L$,{});case"gif":return p(B$,{});case"jpeg":return p(R$,{});case"jpg":return p(I$,{});case"png":return p(N$,{});case"pdf":return p(z$,{});case"ppt":return p(j$,{});case"pptx":return p(W$,{});case"xls":return p(Z$,{});case"xlsx":return p(G$,{});case"mp3":return p(D$,{});case"wav":return p(U$,{});case"mp4":return p(H$,{});case"mkv":return p($$,{});default:return null}},R$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5685)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M7.8 24.8C7.5 24.8 7.3 24.8 7 24.7V23.5C7.1 23.5 7.2 23.5 7.3 23.6C7.4 23.7 7.5 23.6 7.6 23.6C7.9 23.6 8 23.5 8.1 23.4C8.2 23.3 8.3 23 8.3 22.6V17.3H9.9V22.5C9.9 23.3 9.7 23.9 9.4 24.3C9.1 24.7 8.4 24.8 7.8 24.8Z",fill:"#B0CFE0"}),p("path",{d:"M15.2001 19.1C15.2001 19.7 15.0001 20.2 14.6001 20.6C14.2001 21 13.7001 21.1 13.0001 21.1H12.6001V23H11.1001V17.3H13.1001C13.8001 17.3 14.4001 17.5 14.7001 17.8C15.0001 18.1 15.2001 18.5 15.2001 19.1ZM12.6001 19.8H12.9001C13.1001 19.8 13.3001 19.7 13.5001 19.6C13.7001 19.5 13.7001 19.3 13.7001 19.1C13.7001 18.7 13.5001 18.5 13.1001 18.5H12.7001V19.8H12.6001Z",fill:"#B0CFE0"}),p("path",{d:"M22.9 19.7H25.4V22.8C24.7 23 24 23.1 23.2 23.1C22.3 23.1 21.6 22.8 21.2 22.3C20.8 21.8 20.5 21.1 20.5 20.1C20.5 19.2 20.8 18.5 21.3 17.9C21.8 17.3 22.6 17.1 23.5 17.1C23.9 17.1 24.2 17.1 24.5 17.2C24.8 17.3 25.1 17.4 25.3 17.5L24.8 18.7C24.4 18.5 23.9 18.4 23.4 18.4C22.9 18.4 22.6 18.5 22.4 18.8C22.2 19.1 22 19.6 22 20.2C22 20.7 22.1 21.1 22.3 21.4C22.5 21.7 22.8 21.8 23.3 21.8C23.5 21.8 23.7 21.8 23.9 21.7V20.8H22.9V19.7Z",fill:"#B0CFE0"}),p("path",{d:"M19.4 23H16V17.3H19.4V18.5H17.6V19.4H19.3V20.6H17.6V21.7H19.4V23Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5685",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),I$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M9.3 24.8C9 24.8 8.8 24.8 8.5 24.7V23.5C8.6 23.5 8.7 23.5 8.8 23.6C8.9 23.7 9 23.6 9.1 23.6C9.4 23.6 9.5 23.5 9.6 23.4C9.7 23.3 9.8 23 9.8 22.6V17.3H11.4V22.5C11.4 23.3 11.2 23.9 10.9 24.3C10.6 24.7 9.9 24.8 9.3 24.8Z",fill:"#B0CFE0"}),p("path",{d:"M16.7 19.1C16.7 19.7 16.5 20.2 16.1 20.6C15.7 21 15.2 21.1 14.5 21.1H14.1V23H12.6V17.3H14.6C15.3 17.3 15.9 17.5 16.2 17.8C16.5 18.1 16.7 18.5 16.7 19.1ZM14.1 19.8H14.4C14.6 19.8 14.8 19.7 15 19.6C15.2 19.5 15.2 19.3 15.2 19.1C15.2 18.7 15 18.5 14.6 18.5H14.2V19.8H14.1Z",fill:"#B0CFE0"}),p("path",{d:"M19.9 19.7H22.4V22.8C21.7 23 21 23.1 20.2 23.1C19.3 23.1 18.6 22.8 18.2 22.3C17.8 21.8 17.5 21.1 17.5 20.1C17.5 19.2 17.8 18.5 18.3 17.9C18.8 17.3 19.6 17.1 20.5 17.1C20.9 17.1 21.2 17.1 21.5 17.2C21.8 17.3 22.1 17.4 22.3 17.5L21.8 18.7C21.4 18.5 20.9 18.4 20.4 18.4C19.9 18.4 19.6 18.5 19.4 18.8C19.2 19.1 19 19.6 19 20.2C19 20.7 19.1 21.1 19.3 21.4C19.5 21.7 19.8 21.8 20.3 21.8C20.5 21.8 20.7 21.8 20.9 21.7V20.8H19.9V19.7Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),$$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5806)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M9.69995 23L8.49995 18.9C8.59995 19.6 8.59995 20.1 8.59995 20.5V23H7.19995V17.3H9.29995L10.5 21.4L11.7 17.3H13.8V23H12.4V20.5C12.4 20.4 12.4 20.2 12.4 20.1C12.4 20 12.4 19.6 12.5 18.9L11.2 23H9.69995Z",fill:"#B0CFE0"}),p("path",{d:"M19.8 23H18.1L17 20.8L16.5 21.1V23H15V17.3H16.6V19.8C16.7 19.6 16.8 19.4 17.1 19.1L18.3 17.3H20L18.2 19.9L19.8 23Z",fill:"#B0CFE0"}),p("path",{d:"M23.7001 17.3H25.4L23.5 23H21.7001L19.8 17.3H21.5L22.3 20.2C22.5 20.8 22.5001 21.3 22.6 21.5C22.6 21.3 22.7001 21.1 22.7001 20.8C22.7001 20.5 22.8 20.3 22.8 20.2L23.7001 17.3Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5806",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),D$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5815)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M10.4 23L9.20002 18.9C9.30002 19.6 9.30002 20.1 9.30002 20.5V23H7.90002V17.3H10L11.2 21.4L12.4 17.3H14.5V23H13V20.5C13 20.4 13 20.2 13 20.1C13 20 13 19.6 13.1 18.9L11.8 23H10.4Z",fill:"#B0CFE0"}),p("path",{d:"M19.8 19.1C19.8 19.7 19.6 20.2 19.2 20.6C18.8 21 18.3 21.1 17.6 21.1H17.2V23H15.7V17.3H17.7C18.4 17.3 19 17.5 19.3 17.8C19.6 18.1 19.8 18.5 19.8 19.1ZM17.2 19.8H17.5C17.7 19.8 17.9 19.7 18.1 19.6C18.3 19.5 18.3 19.3 18.3 19.1C18.3 18.7 18.1 18.5 17.7 18.5H17.3V19.8H17.2Z",fill:"#B0CFE0"}),p("path",{d:"M24.2001 18.5C24.2001 18.9 24.1 19.2 23.9 19.4C23.7 19.6 23.4 19.9 23 20C24 20.1 24.4 20.6 24.4 21.4C24.4 21.9 24.2 22.3 23.8 22.7C23.4 23.1 22.8 23.2 22 23.2C21.7 23.2 21.4 23.2 21.1 23.1C20.8 23 20.6 23 20.3 22.9V21.6C20.5 21.7 20.8 21.8 21.1 21.9C21.4 22 21.6 22 21.8 22C22.1 22 22.4 22 22.5 21.9C22.6 21.8 22.7001 21.7 22.7001 21.5C22.7001 21.3 22.7 21.2 22.6 21.1C22.5001 21 22.4001 21 22.2001 20.9C22.0001 20.8 21.8 20.8 21.5 20.8H21.1V19.6H21.5C22.3 19.6 22.7001 19.4 22.7001 19C22.7001 18.8 22.6 18.7 22.5 18.7C22.4 18.7 22.2 18.6 22 18.6C21.6 18.6 21.3 18.7 20.9 19L20.3 18C20.6 17.8 20.9001 17.6 21.2001 17.6C21.5001 17.6 21.9 17.5 22.3 17.5C22.9 17.5 23.4001 17.6 23.7001 17.9C24.0001 18.2 24.2001 18.1 24.2001 18.5Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5815",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),H$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5788)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M10.4 23L9.20002 18.9C9.30002 19.6 9.30002 20.1 9.30002 20.5V23H7.90002V17.3H10L11.2 21.4L12.4 17.3H14.5V23H13V20.5C13 20.4 13 20.2 13 20.1C13 20 13 19.6 13.1 18.9L11.8 23H10.4Z",fill:"#B0CFE0"}),p("path",{d:"M19.8 19.1C19.8 19.7 19.6 20.2 19.2 20.6C18.8 21 18.3 21.1 17.6 21.1H17.2V23H15.7V17.3H17.7C18.4 17.3 19 17.5 19.3 17.8C19.6 18.1 19.8 18.5 19.8 19.1ZM17.2 19.8H17.5C17.7 19.8 17.9 19.7 18.1 19.6C18.3 19.5 18.3 19.3 18.3 19.1C18.3 18.7 18.1 18.5 17.7 18.5H17.3V19.8H17.2Z",fill:"#B0CFE0"}),p("path",{d:"M24.6 21.9H24V23H22.5V21.9H20.2V20.8L22.6 17.3H24V20.8H24.6V21.9ZM22.5 20.7V20C22.5 19.9 22.5 19.7 22.5 19.5C22.5 19.3 22.5 19.2 22.5 19.2C22.4 19.4 22.3 19.6 22.2 19.8L21.6 20.7H22.5Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5788",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),z$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5779)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M13.143 19.105C13.143 19.743 12.955 20.236 12.579 20.584C12.203 20.932 11.668 21.105 10.975 21.105H10.541V23H8.99805V17.289H10.975C11.696 17.289 12.238 17.446 12.6 17.762C12.962 18.078 13.143 18.524 13.143 19.105ZM10.541 19.848H10.822C11.054 19.848 11.238 19.783 11.375 19.653C11.512 19.523 11.58 19.343 11.58 19.114C11.58 18.728 11.367 18.536 10.939 18.536H10.541V19.848Z",fill:"#B0CFE0"}),p("path",{d:"M18.9 20.023C18.9 20.976 18.638 21.711 18.113 22.226C17.588 22.741 16.851 23 15.9 23H14.052V17.289H16.029C16.946 17.289 17.654 17.523 18.152 17.992C18.65 18.461 18.9 19.138 18.9 20.023ZM17.299 20.078C17.299 19.555 17.195 19.167 16.988 18.914C16.781 18.661 16.467 18.535 16.045 18.535H15.596V21.734H15.94C16.409 21.734 16.752 21.598 16.971 21.326C17.19 21.054 17.299 20.638 17.299 20.078Z",fill:"#B0CFE0"}),p("path",{d:"M21.443 23H19.923V17.289H23.298V18.527H21.443V19.617H23.154V20.855H21.443V23Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5779",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),N$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5695)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M11.9 19.1C11.9 19.7 11.7 20.2 11.3 20.6C10.9 21 10.4 21.1 9.70005 21.1H9.30005V23H7.80005V17.3H9.80005C10.5 17.3 11.1 17.5 11.4 17.8C11.7 18.1 11.9 18.5 11.9 19.1ZM9.30005 19.8H9.60005C9.80005 19.8 10 19.7 10.2 19.6C10.4 19.5 10.4 19.3 10.4 19.1C10.4 18.7 10.2 18.5 9.80005 18.5H9.30005V19.8Z",fill:"#B0CFE0"}),p("path",{d:"M18.3 23H16.3L14.2 19C14.2 19.6 14.3 20.1 14.3 20.4V23H12.9V17.3H14.9L17 21.3C17 20.7 16.9 20.3 16.9 19.9V17.3H18.3V23Z",fill:"#B0CFE0"}),p("path",{d:"M21.8 19.7H24.3V22.8C23.6 23 22.9 23.1 22.1 23.1C21.2 23.1 20.5 22.8 20.1 22.3C19.7 21.8 19.4 21.1 19.4 20.1C19.4 19.2 19.7 18.5 20.2 17.9C20.7 17.3 21.5 17.1 22.4 17.1C22.8 17.1 23.1 17.1 23.4 17.2C23.7 17.3 24 17.4 24.2 17.5L23.7 18.7C23.3 18.5 22.8 18.4 22.3 18.4C21.8 18.4 21.5 18.5 21.3 18.8C21.1 19.1 20.9 19.5 20.9 20.1C20.9 20.6 21 21 21.2 21.3C21.4 21.6 21.7 21.7 22.2 21.7C22.4 21.7 22.6 21.7 22.8 21.6V20.7H21.8V19.7Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5695",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),j$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5713)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M13.2 19.1C13.2 19.7 13 20.2 12.6 20.6C12.2 21 11.7 21.1 11 21.1H10.5V23H9V17.3H11C11.7 17.3 12.3 17.5 12.6 17.8C12.9 18.1 13.2 18.5 13.2 19.1ZM10.5 19.8H10.8C11 19.8 11.2 19.7 11.4 19.6C11.6 19.5 11.6 19.3 11.6 19.1C11.6 18.7 11.4 18.5 11 18.5H10.5V19.8Z",fill:"#B0CFE0"}),p("path",{d:"M18.1999 19.1C18.1999 19.7 17.9999 20.2 17.5999 20.6C17.1999 21 16.6999 21.1 15.9999 21.1H15.5999V23H14.0999V17.3H16.0999C16.7999 17.3 17.3999 17.5 17.6999 17.8C17.9999 18.1 18.1999 18.5 18.1999 19.1ZM15.5999 19.8H15.8999C16.0999 19.8 16.2999 19.7 16.4999 19.6C16.6999 19.5 16.6999 19.3 16.6999 19.1C16.6999 18.7 16.4999 18.5 16.0999 18.5H15.6999V19.8H15.5999Z",fill:"#B0CFE0"}),p("path",{d:"M21.6 23H20.1V18.6H18.7V17.3H23V18.6H21.6V23Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5713",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),W$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5722)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M10.5 19.1C10.5 19.7 10.3 20.2 9.90005 20.6C9.50005 21 9.00005 21.1 8.30005 21.1H7.80005V23H6.30005V17.3H8.30005C9.00005 17.3 9.60005 17.5 9.90005 17.8C10.2 18.1 10.5 18.5 10.5 19.1ZM7.80005 19.8H8.10005C8.30005 19.8 8.50005 19.7 8.70005 19.6C8.90005 19.5 8.90005 19.3 8.90005 19.1C8.90005 18.7 8.70005 18.5 8.30005 18.5H7.80005V19.8Z",fill:"#B0CFE0"}),p("path",{d:"M15.5 19.1C15.5 19.7 15.3 20.2 14.9 20.6C14.5 21 14 21.1 13.3 21.1H12.9V23H11.4V17.3H13.4C14.1 17.3 14.7 17.5 15 17.8C15.3 18.1 15.5 18.5 15.5 19.1ZM12.9 19.8H13.2C13.4 19.8 13.6 19.7 13.8 19.6C14 19.5 14 19.3 14 19.1C14 18.7 13.8 18.5 13.4 18.5H13V19.8H12.9Z",fill:"#B0CFE0"}),p("path",{d:"M18.9 23H17.4V18.6H16V17.3H20.3V18.6H18.9V23Z",fill:"#B0CFE0"}),p("path",{d:"M26.3 23H24.5L23.4 21.2L22.3 23H20.6L22.5 20.1L20.7 17.3H22.4L23.4 19.1L24.4 17.3H26.2L24.4 20.2L26.3 23Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5722",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),U$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5824)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M12.9 23H11.1L10.6 20.5C10.6 20.4 10.5 20.2 10.5 19.9C10.5 19.6 10.4 19.3 10.4 19.1C10.4 19.3 10.3 19.5 10.3 19.7C10.3 19.9 10.2 20.2 10.2 20.4C10.2 20.6 9.90005 21.5 9.50005 23H7.70005L6.30005 17.3H7.80005L8.40005 20.2C8.50005 20.8 8.60005 21.3 8.70005 21.7C8.70005 21.4 8.80005 21.1 8.90005 20.6C9.00005 20.1 9.10005 19.8 9.10005 19.5L9.60005 17.3H11L11.5 19.5C11.6 19.8 11.7 20.2 11.8 20.7C11.9 21.2 11.9 21.5 12 21.7C12 21.4 12.1 20.9 12.3 20.2L12.9 17.3H14.4L12.9 23Z",fill:"#B0CFE0"}),p("path",{d:"M18.6 23L18.3 21.9H16.4L16.2 23H14.5L16.4 17.3H18.5L20.4 23H18.6ZM18 20.7L17.8 19.8C17.7 19.6 17.7 19.3 17.6 19C17.5 18.7 17.5 18.4 17.4 18.3C17.4 18.4 17.3 18.7 17.3 19C17.3 19.3 17.1 19.9 16.8 20.8H18V20.7Z",fill:"#B0CFE0"}),p("path",{d:"M24.1 17.3H25.8L24 23H22.2001L20.3 17.3H22L22.8 20.2C23 20.8 23.0001 21.3 23.1 21.5C23.1 21.3 23.2001 21.1 23.2001 20.8C23.2001 20.5 23.3 20.3 23.3 20.2L24.1 17.3Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5824",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),Z$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5751)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M14.7 23H13L11.9 21.2L10.7 23H9L10.9 20.1L9.1 17.3H10.8L11.8 19.1L12.8 17.3H14.6L12.8 20.2L14.7 23Z",fill:"#B0CFE0"}),p("path",{d:"M15.3999 23V17.3H16.8999V21.8H19.0999V23H15.3999Z",fill:"#B0CFE0"}),p("path",{d:"M23.8 21.3C23.8 21.7 23.7 22 23.5 22.2C23.3 22.4 23.1 22.7 22.7 22.8C22.3 22.9 22 23 21.5 23C21.1 23 20.8 23 20.5 22.9C20.2 22.8 20 22.8 19.7 22.6V21.2C20 21.4 20.3 21.5 20.6 21.6C20.9 21.7 21.2 21.7 21.5 21.7C21.7 21.7 21.9 21.7 22 21.6C22.1 21.5 22.2 21.4 22.2 21.3C22.2 21.2 22.2 21.2 22.1 21.1C22 21 22 21 21.9 20.9C21.8 20.8 21.6 20.7 21.1 20.5C20.7 20.3 20.4 20.2 20.3 20C20.2 19.8 20 19.7 19.9 19.5C19.8 19.3 19.8 19.1 19.8 18.8C19.8 18.3 20 17.9 20.4 17.6C20.8 17.3 21.3 17.2 22 17.2C22.6 17.2 23.2 17.3 23.8 17.6L23.3 18.8C22.8 18.6 22.3 18.4 21.9 18.4C21.7 18.4 21.6 18.4 21.5 18.5C21.4 18.6 21.4 18.7 21.4 18.8C21.4 18.9 21.5 19 21.6 19.1C21.7 19.2 22 19.3 22.5 19.6C23 19.8 23.3 20.1 23.5 20.3C23.7 20.5 23.8 20.9 23.8 21.3Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5751",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),G$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5760)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M11.3 23H9.59998L8.49998 21.2L7.29998 23H5.59998L7.49998 20.1L5.69998 17.3H7.39998L8.39998 19.1L9.39998 17.3H11.2L9.39998 20.2L11.3 23Z",fill:"#B0CFE0"}),p("path",{d:"M12 23V17.3H13.5V21.8H15.7V23H12Z",fill:"#B0CFE0"}),p("path",{d:"M20.4 21.3C20.4 21.7 20.3 22 20.1 22.2C19.9 22.4 19.7 22.7 19.3 22.8C18.9 22.9 18.6 23 18.1 23C17.7 23 17.4 23 17.1 22.9C16.8 22.8 16.6 22.8 16.3 22.6V21.2C16.6 21.4 16.9001 21.5 17.2001 21.6C17.5001 21.7 17.8001 21.7 18.1 21.7C18.3001 21.7 18.5001 21.7 18.6 21.6C18.7 21.5 18.8 21.4 18.8 21.3C18.8 21.2 18.8001 21.2 18.7001 21.1C18.6001 21 18.6 21 18.5 20.9C18.4 20.8 18.2001 20.7 17.7001 20.5C17.3001 20.3 17 20.2 16.9 20C16.8 19.8 16.6 19.7 16.5 19.5C16.4 19.3 16.4 19.1 16.4 18.8C16.4 18.3 16.6 17.9 17 17.6C17.4 17.3 17.9 17.2 18.6 17.2C19.2 17.2 19.8 17.3 20.4 17.6L19.9 18.8C19.4 18.6 18.9 18.4 18.5 18.4C18.3 18.4 18.2 18.4 18.1 18.5C18 18.6 18 18.7 18 18.8C18 18.9 18.1001 19 18.2001 19.1C18.3001 19.2 18.6 19.3 19.1 19.6C19.6 19.8 19.9 20.1 20.1 20.3C20.3 20.5 20.4 20.9 20.4 21.3Z",fill:"#B0CFE0"}),p("path",{d:"M26.4 23H24.6L23.5 21.2L22.4 23H20.7L22.6 20.1L20.7999 17.3H22.5L23.5 19.1L24.5 17.3H26.2999L24.5 20.2L26.4 23Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5760",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),q$=({id:e,resourceType:t,resourceTitle:r,resourceDetail:n,resourceTextDownload:i,resourceLink:o,targetBlank:a})=>{const l={boxShadow:`0 2px 7px 0 ${V("colors-neutral-silverSand")}`};return p(rc,{href:o,target:a?"_blank":"_self",rel:a?"noopener noreferrer":void 0,transition:"box-shadow 0.3s",_active:l,_hover:l,_focus:l,cursor:"pointer",borderRadius:V("radii-big"),border:V("borders-light"),overflow:"hidden",children:p(bo,{children:z(ee,{width:"285px",height:"147px",justifyContent:"center",textAlign:"center",display:"grid",gap:"8px",padding:"1rem",children:[p(ee,{children:p(V$,{type:t})}),p(ee,{children:p(et,{fontFamily:"Roboto",fontWeight:"700",lineHeight:"21px",fontSize:"16px",color:"#555555",m:"0px",children:r})}),p(ee,{children:p(et,{fontFamily:"Roboto",fontWeight:"400",lineHeight:"14px",fontSize:"12px",color:"#555555",m:"0px",children:n})}),p(ee,{display:"flex",alignItems:"center",justifyContent:"center",children:z(et,{fontFamily:"Roboto",fontWeight:"500",fontSize:"14px",lineHeight:"16px",color:V("colors-neutral-gray"),textDecoration:"underline",gap:"8px",display:"flex",m:"0px",children:[p(xc,{color:V("colors-main-deepSkyBlue")}),i]})})]})})})};de.Alert=N4,de.Btn=Cc,de.BtnLink=wl,de.BtnPrimary=lh,de.BtnSecondary=F4,de.BtnTertiary=A4,de.CourseList=z4,de.CourseStatus=B4,de.Eventos=M$,de.FlashNotification=E$,de.Icons=wI,de.Label=yc,de.ModalAlert=Y4,de.NewTooltip=SI,de.Progress=P4,de.Resources=q$,de.Ripples=bo,de.TinyAlert=M4,de.UserWay=EI,de.dataFake=TI,de.maxWidthCoursesList=MI,de.theme=mI,de.useFlashNotification=P$,de.vars=V,Object.defineProperties(de,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
562
|
+
`,Tc=16,k$=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:i,containerStyle:o,containerClassName:a})=>{let{toasts:l,handlers:s}=QI(r);return w.createElement("div",{style:{position:"fixed",zIndex:9999,top:Tc,left:Tc,right:Tc,bottom:Tc,pointerEvents:"none",...o},className:a,onMouseEnter:s.startPause,onMouseLeave:s.endPause},l.map(u=>{let c=u.position||t,f=s.calculateOffset(u,{reverseOrder:e,gutter:n,defaultPosition:t}),d=w$(c,f);return w.createElement(C$,{id:u.id,key:u.id,onHeightUpdate:s.updateHeight,className:u.visible?S$:"",style:d},u.type==="custom"?kc(u.message,u):i?i(u):w.createElement(x$,{toast:u,position:c}))}))};const q4=e=>{function t(n){var o,a;return(a=(o=n.match(/(\w+)/g))==null?void 0:o.length)!=null?a:0}let r=3e3;return e&&t(e)>5&&(r=6e3),r};function E$({message:e,state:t,show:r,m:n}){const i=O.useCallback(()=>{Ct(o=>p(N4,{isFlash:!0,state:t,canDismiss:!0,onClick:()=>Ct.dismiss(o.id),children:e}),{duration:q4(e),id:dh[t].id})},[e,t]);return O.useEffect(()=>{r&&i()},[r,i]),p(ee,{children:p(k$,{toastOptions:{className:"toastContainer",style:{background:"transparent",boxShadow:"none"}}})})}const P$=({state:e,message:t})=>{const[r,n]=O.useState(!1);return O.useEffect(()=>{if(r){const o=setTimeout(()=>{n(!1)},q4(t));return()=>clearTimeout(o)}},[t,r]),{show:r,active:()=>{r||n(!0)},config:{state:e,message:t}}};function Y4({showModal:e,typeAlert:t,title:r,description:n,optionsButton:i,top:o}){const[a]=f5("(min-width: 650px)"),l={content:{top:o}},s=i.length>1;return z(xl,{id:"modal-alert",isOpen:e,onClose:()=>{},closeOnEsc:!1,closeOnOverlayClick:!1,size:a?"xl":"sm",isCentered:!1,children:[p(Tp,{bg:"rgba(0, 0, 0, 0.5)",position:"fixed",top:"0",left:"0",right:"0",bottom:"0",zIndex:"998"}),z(_p,{zIndex:"999",sx:l.content,children:[z(ee,{alignItems:"center",justifyContent:"center",textAlign:"center",py:"2rem",borderBottom:"1px solid #E6E6E6",children:[p(ee,{display:"flex",justifyContent:"center",children:BI[t].icon}),p(Mp,{py:"1rem",children:r}),p(Fp,{py:"0.5rem",px:"2rem",children:n})]}),p(Ap,{justifyContent:"center",padding:"0",children:i.map((u,c)=>p(ee,{width:"99%",textAlign:"center",padding:"1rem",borderLeftWidth:s&&u.id===i[1].id?"1px":"0",borderLeftColor:"#E6E6E6",onClick:()=>u.action(),children:p(wl,{textDecorationLine:!1,fontSize:"1rem",children:u.label})},c))})]})]})}Y4.displayName="ModalAlert";const X4=({color:e="white"})=>z(De,{width:"16px",height:"17px",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p("path",{d:"M15 2.5H13V0.5H11V2.5H9V0.5H7V2.5H5V0.5H3V2.5H1C0.447 2.5 0 2.947 0 3.5V15.5C0 16.053 0.447 16.5 1 16.5H15C15.553 16.5 16 16.053 16 15.5V3.5C16 2.947 15.553 2.5 15 2.5ZM14 14.5H2V5.5H14V14.5Z",fill:e}),p("path",{d:"M6 7.5H4V9.5H6V7.5Z",fill:e}),p("path",{d:"M9 7.5H7V9.5H9V7.5Z",fill:e}),p("path",{d:"M6 10.5H4V12.5H6V10.5Z",fill:e}),p("path",{d:"M9 10.5H7V12.5H9V10.5Z",fill:e}),p("path",{d:"M12 7.5H10V9.5H12V7.5Z",fill:e}),p("path",{d:"M12 10.5H10V12.5H12V10.5Z",fill:e})]}),K4=({color:e="white"})=>p(De,{width:"16px",height:"17px",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:p("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8.5C0 4.1 3.6 0.5 8 0.5C12.4 0.5 16 4.1 16 8.5C16 12.9 12.4 16.5 8 16.5C3.6 16.5 0 12.9 0 8.5ZM7 9.5H12V7.5H9V4.5H7V9.5Z",fill:e})}),_$=({id:e,eventTitle:t,startDate:r,startTime:n,buttonInfo:i,redirect:o,eventImage:a,targetBlank:l,isMobile:s})=>{const u={boxShadow:`0 2px 7px 0 ${V("colors-neutral-silverSand")}`};return p(rc,{href:o,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,w:"fit-content",h:"fit-content",transition:"box-shadow .3s",borderRadius:V("radii-big"),_active:u,_hover:u,_focus:u,children:p(bo,{children:z(cl,{cursor:"pointer",w:"fit-content",display:s?"block":"flex",children:[p(ee,{width:"285px",height:s?"140px":"168px",bgImage:`url(${a})`,backgroundSize:"cover",borderRadius:s?"8px 8px 0px 0px":"8px 0 0 8px"}),z(ee,{width:s?"285px":"305px",minHeight:s?"160px":"168px",borderRadius:s?"0 0 8px 8px":"0 8px 8px 0",border:V("borders-light"),display:"flex",flexDirection:"column",cursor:"pointer",children:[z(ee,{width:"inherit",height:"100%",padding:"16px",color:"#555555",gap:"16px",display:"grid",children:[p(et,{fontWeight:"700",m:"0px",p:"0px",children:t}),z(ee,{display:"flex",alignItems:"center",gap:"4px",children:[p(X4,{color:V("colors-main-ziggurat")}),p(et,{fontWeight:"400",m:"0px",p:"0px",children:r}),p(et,{color:V("borders-light"),m:"0px",p:"0px",children:"|"}),p(K4,{color:V("colors-main-ziggurat")}),p(et,{m:"0px",p:"0px",children:n})]})]}),p(ee,{borderTop:`${V("borders-light")}`,width:"100%",height:"50px",padding:"12px",backgroundColor:"white",alignItems:"center",display:"flex",justifyContent:"center",borderRadius:" 0 0 8px 8px",fontSize:"16px",fontFamily:"Roboto",color:V("colors-main-deepSkyBlue"),fontWeight:"500",children:i})]})]})})},e)},T$=({id:e,eventTitle:t,startDate:r,startTime:n,buttonInfo:i,redirect:o,eventImage:a,targetBlank:l})=>{const s={boxShadow:`0 2px 7px 0 ${V("colors-neutral-silverSand")}`};return p(rc,{href:o,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,transition:"box-shadow .3s",_active:s,_hover:s,_focus:s,width:"286px",height:"247px",borderRadius:V("radii-big"),children:p(bo,{children:z(ee,{width:"286px",height:"247px",borderRadius:V("radii-big"),border:V("borders-light"),justifyContent:"center",textAlign:"center",display:"flex",flexDirection:"column",cursor:"pointer",children:[p(ee,{flex:"1",bgImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${a})`,backgroundSize:"cover",borderRadius:"8px 8px 0 0",margin:"0",display:"grid",alignItems:"flex-end",children:z(ee,{color:V("colors-neutral-white"),padding:"16px",textAlign:"initial",fontFamily:"Roboto",fontSize:"16px",lineHeight:"21px",display:"grid",gap:"8px",children:[p(et,{fontWeight:"700",m:"0px",children:t}),z(ee,{display:"flex",alignItems:"center",gap:"4px",children:[p(X4,{}),p(et,{fontWeight:"400",m:"0px",children:r}),p(et,{m:"0px",children:"|"}),p(K4,{}),p(et,{m:"0px",children:n})]})]})}),p(ee,{width:"100%",height:"50px",backgroundColor:"white",alignItems:"center",display:"flex",justifyContent:"center",borderRadius:" 0 0 8px 8px",fontSize:"16px",fontFamily:"Roboto",color:V("colors-main-deepSkyBlue"),fontWeight:"500",children:i})]})})},e)},M$=({typeEvent:e,itemsEvent:t})=>e==="LARGE_EVENTS"?p(_$,{...t}):p(T$,{...t}),F$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5797)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M13 23L12.7 21.9H10.8L10.6 23H8.90002L10.8 17.3H12.9L14.8 23H13ZM12.4 20.7L12.2 19.8C12.1 19.6 12.1 19.3 12 19C11.9 18.7 11.9 18.4 11.8 18.3C11.8 18.4 11.7 18.7 11.7 19C11.7 19.3 11.5 19.9 11.2 20.8H12.4V20.7Z",fill:"#B0CFE0"}),p("path",{d:"M18.6 17.3H20.3L18.4 23H16.6L14.7 17.3H16.4L17.2 20.2C17.4 20.8 17.4 21.3 17.5 21.5C17.5 21.3 17.6 21.1 17.6 20.8C17.6 20.5 17.7 20.3 17.7 20.2L18.6 17.3Z",fill:"#B0CFE0"}),p("path",{d:"M20.9 23V17.3H22.5V23H20.9Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5797",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),A$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5770)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M11.5 18.5C11.1 18.5 10.8 18.7 10.6 19C10.4 19.3 10.3 19.7 10.3 20.2C10.3 21.3 10.7 21.8 11.6 21.8C11.9 21.8 12.1 21.8 12.3 21.7C12.5 21.6 12.8 21.5 13 21.4V22.7C12.5 22.9 12 23 11.4 23C10.5 23 9.89995 22.8 9.39995 22.2C8.89995 21.6 8.69995 21 8.69995 20C8.69995 19.4 8.79995 18.9 8.99995 18.4C9.19995 17.9 9.49995 17.6 9.99995 17.4C10.5 17.2 10.9 17 11.5 17C12.1 17 12.7 17.1 13.3 17.4L12.8 18.6C12.6 18.5 12.4 18.4 12.2 18.4C12 18.4 11.7 18.5 11.5 18.5Z",fill:"#B0CFE0"}),p("path",{d:"M17.9 21.3C17.9 21.7 17.8 22 17.6 22.2C17.4 22.4 17.2 22.7 16.8 22.8C16.4 22.9 16.1 23 15.6 23C15.2 23 14.9 23 14.6 22.9C14.3 22.8 14.1 22.8 13.8 22.6V21.2C14.1 21.4 14.4 21.5 14.7 21.6C15 21.7 15.3 21.7 15.6 21.7C15.8 21.7 16 21.7 16.1 21.6C16.2 21.5 16.3 21.4 16.3 21.3C16.3 21.2 16.3 21.2 16.2 21.1C16.1 21 16.1 21.1 16 21C15.9 20.9 15.7 20.8 15.2 20.6C14.8 20.4 14.5 20.3 14.4 20.1C14.3 19.9 14.1 19.8 14 19.6C13.9 19.4 13.9 19.2 13.9 18.9C13.9 18.4 14.1 18 14.5 17.7C14.9 17.4 15.4 17.3 16.1 17.3C16.7 17.3 17.3 17.4 17.9 17.7L17.4 18.9C16.9 18.7 16.4 18.5 16 18.5C15.8 18.5 15.7 18.5 15.6 18.6C15.5 18.7 15.5 18.8 15.5 18.9C15.5 19 15.6 19.1 15.7 19.2C15.8 19.3 16.1 19.4 16.6 19.7C17.1 19.9 17.4 20.2 17.6 20.4C17.8 20.6 17.9 20.9 17.9 21.3Z",fill:"#B0CFE0"}),p("path",{d:"M22 17.3H23.7L21.8 23H20L18.1 17.3H19.8L20.6 20.2C20.8 20.8 20.8 21.3 20.9 21.5C20.9 21.3 21 21.1 21 20.8C21 20.5 21.1 20.3 21.1 20.2L22 17.3Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5770",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),O$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5732)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M12.7 20C12.7 21 12.4 21.7 11.9 22.2C11.4 22.7 10.7 23 9.70002 23H7.90002V17.3H9.90002C10.8 17.3 11.5 17.5 12 18C12.5 18.5 12.7 19.1 12.7 20ZM11.1 20.1C11.1 19.6 11 19.2 10.8 18.9C10.6 18.6 10.3 18.5 9.90002 18.5H9.40002V21.7H9.70002C10.2 21.7 10.5 21.6 10.7 21.3C10.9 21 11.1 20.6 11.1 20.1Z",fill:"#B0CFE0"}),p("path",{d:"M19.1 20.1C19.1 21.1 18.9 21.8 18.4 22.3C17.9 22.8 17.2 23.1 16.3 23.1C15.4 23.1 14.7 22.8 14.2 22.3C13.7 21.8 13.5 21.1 13.5 20.1C13.5 19.1 13.7 18.4 14.2 17.9C14.7 17.4 15.4 17.1 16.3 17.1C17.2 17.1 17.9 17.3 18.4 17.8C18.9 18.3 19.1 19.2 19.1 20.1ZM15.2 20.1C15.2 21.2 15.6 21.8 16.4 21.8C16.8 21.8 17.1 21.7 17.3 21.4C17.5 21.1 17.6 20.7 17.6 20.1C17.6 19.5 17.5 19.1 17.3 18.8C17.1 18.5 16.8 18.4 16.4 18.4C15.6 18.5 15.2 19 15.2 20.1Z",fill:"#B0CFE0"}),p("path",{d:"M22.7 18.5C22.3 18.5 22 18.7 21.8 19C21.6 19.3 21.5 19.7 21.5 20.2C21.5 21.3 21.9 21.8 22.8 21.8C23.1 21.8 23.3 21.8 23.5 21.7C23.7 21.6 24 21.5 24.2 21.4V22.7C23.7 22.9 23.2 23 22.6 23C21.7 23 21.1 22.8 20.6 22.2C20.1 21.6 19.9 21 19.9 20C19.9 19.4 20 18.9 20.2 18.4C20.4 17.9 20.7 17.6 21.2 17.4C21.7 17.2 22.1 17 22.7 17C23.3 17 23.9 17.1 24.5 17.4L24 18.8C23.8 18.7 23.6 18.6 23.4 18.6C23.2 18.6 22.9 18.5 22.7 18.5Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5732",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),L$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5741)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M9.9 20C9.9 21 9.6 21.7 9.1 22.2C8.6 22.7 7.8 23 6.9 23H5V17.3H7C7.9 17.3 8.6 17.5 9.1 18C9.6 18.5 9.9 19.1 9.9 20ZM8.3 20.1C8.3 19.6 8.2 19.2 8 18.9C7.8 18.6 7.4 18.5 7 18.5H6.5V21.7H6.8C7.3 21.7 7.6 21.6 7.8 21.3C8 21 8.3 20.6 8.3 20.1Z",fill:"#B0CFE0"}),p("path",{d:"M16.2 20.1C16.2 21.1 16 21.8 15.5 22.3C15 22.8 14.3 23.1 13.4 23.1C12.5 23.1 11.8 22.8 11.3 22.3C10.8 21.8 10.6 21.1 10.6 20.1C10.6 19.1 10.8 18.4 11.3 17.9C11.8 17.4 12.5 17.1 13.4 17.1C14.3 17.1 15 17.3 15.5 17.8C16 18.3 16.2 19.2 16.2 20.1ZM12.3 20.1C12.3 21.2 12.7 21.8 13.5 21.8C13.9 21.8 14.2 21.7 14.4 21.4C14.6 21.1 14.7 20.7 14.7 20.1C14.7 19.5 14.6 19.1 14.4 18.8C14.2 18.5 13.9 18.4 13.5 18.4C12.7 18.5 12.3 19 12.3 20.1Z",fill:"#B0CFE0"}),p("path",{d:"M19.8 18.5C19.4 18.5 19.1 18.7 18.9 19C18.7 19.3 18.6 19.7 18.6 20.2C18.6 21.3 19 21.8 19.9 21.8C20.2 21.8 20.4 21.8 20.6 21.7C20.8 21.6 21.1 21.5 21.3 21.4V22.7C20.8 22.9 20.3 23 19.7 23C18.8 23 18.2 22.8 17.7 22.2C17.2 21.6 17 21.1 17 20.2C17 19.6 17.1 19.1 17.3 18.6C17.5 18.1 17.8 17.8 18.3 17.6C18.8 17.4 19.2 17.2 19.8 17.2C20.4 17.2 21 17.3 21.6 17.6L21.1 18.8C20.9 18.7 20.7 18.6 20.5 18.6C20.3 18.6 20 18.5 19.8 18.5Z",fill:"#B0CFE0"}),p("path",{d:"M27.6 23H25.8L24.7 21.2L23.6 23H21.9L23.8 20.1L22 17.3H23.7L24.7 19.1L25.7 17.3H27.5L25.7 20.2L27.6 23Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5741",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),B$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5704)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M12.4 19.7H14.9V22.8C14.2 23 13.5 23.1 12.7 23.1C11.8 23.1 11.1 22.8 10.7 22.3C10.3 21.8 10 21.1 10 20.1C10 19.2 10.3 18.5 10.8 17.9C11.3 17.3 12.1 17.1 13 17.1C13.4 17.1 13.7 17.1 14 17.2C14.3 17.3 14.6 17.4 14.8 17.5L14.3 18.7C13.9 18.5 13.4 18.4 12.9 18.4C12.4 18.4 12.1 18.5 11.9 18.8C11.7 19.1 11.5 19.5 11.5 20.1C11.5 20.6 11.6 21 11.8 21.3C12 21.6 12.3 21.7 12.8 21.7C13 21.7 13.2 21.7 13.4 21.6V20.7H12.4V19.7Z",fill:"#B0CFE0"}),p("path",{d:"M16 23V17.3H17.6V23H16Z",fill:"#B0CFE0"}),p("path",{d:"M20.3 23H18.8V17.3H22.2001V18.5H20.3V19.6H22V20.8H20.3V23Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5704",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),V$=({type:e})=>{switch(e){case"avi":return p(F$,{});case"csv":return p(A$,{});case"doc":return p(O$,{});case"docx":return p(L$,{});case"gif":return p(B$,{});case"jpeg":return p(R$,{});case"jpg":return p(I$,{});case"png":return p(N$,{});case"pdf":return p(z$,{});case"ppt":return p(j$,{});case"pptx":return p(W$,{});case"xls":return p(Z$,{});case"xlsx":return p(G$,{});case"mp3":return p(D$,{});case"wav":return p(U$,{});case"mp4":return p(H$,{});case"mkv":return p($$,{});default:return null}},R$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5685)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M7.8 24.8C7.5 24.8 7.3 24.8 7 24.7V23.5C7.1 23.5 7.2 23.5 7.3 23.6C7.4 23.7 7.5 23.6 7.6 23.6C7.9 23.6 8 23.5 8.1 23.4C8.2 23.3 8.3 23 8.3 22.6V17.3H9.9V22.5C9.9 23.3 9.7 23.9 9.4 24.3C9.1 24.7 8.4 24.8 7.8 24.8Z",fill:"#B0CFE0"}),p("path",{d:"M15.2001 19.1C15.2001 19.7 15.0001 20.2 14.6001 20.6C14.2001 21 13.7001 21.1 13.0001 21.1H12.6001V23H11.1001V17.3H13.1001C13.8001 17.3 14.4001 17.5 14.7001 17.8C15.0001 18.1 15.2001 18.5 15.2001 19.1ZM12.6001 19.8H12.9001C13.1001 19.8 13.3001 19.7 13.5001 19.6C13.7001 19.5 13.7001 19.3 13.7001 19.1C13.7001 18.7 13.5001 18.5 13.1001 18.5H12.7001V19.8H12.6001Z",fill:"#B0CFE0"}),p("path",{d:"M22.9 19.7H25.4V22.8C24.7 23 24 23.1 23.2 23.1C22.3 23.1 21.6 22.8 21.2 22.3C20.8 21.8 20.5 21.1 20.5 20.1C20.5 19.2 20.8 18.5 21.3 17.9C21.8 17.3 22.6 17.1 23.5 17.1C23.9 17.1 24.2 17.1 24.5 17.2C24.8 17.3 25.1 17.4 25.3 17.5L24.8 18.7C24.4 18.5 23.9 18.4 23.4 18.4C22.9 18.4 22.6 18.5 22.4 18.8C22.2 19.1 22 19.6 22 20.2C22 20.7 22.1 21.1 22.3 21.4C22.5 21.7 22.8 21.8 23.3 21.8C23.5 21.8 23.7 21.8 23.9 21.7V20.8H22.9V19.7Z",fill:"#B0CFE0"}),p("path",{d:"M19.4 23H16V17.3H19.4V18.5H17.6V19.4H19.3V20.6H17.6V21.7H19.4V23Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5685",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),I$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M9.3 24.8C9 24.8 8.8 24.8 8.5 24.7V23.5C8.6 23.5 8.7 23.5 8.8 23.6C8.9 23.7 9 23.6 9.1 23.6C9.4 23.6 9.5 23.5 9.6 23.4C9.7 23.3 9.8 23 9.8 22.6V17.3H11.4V22.5C11.4 23.3 11.2 23.9 10.9 24.3C10.6 24.7 9.9 24.8 9.3 24.8Z",fill:"#B0CFE0"}),p("path",{d:"M16.7 19.1C16.7 19.7 16.5 20.2 16.1 20.6C15.7 21 15.2 21.1 14.5 21.1H14.1V23H12.6V17.3H14.6C15.3 17.3 15.9 17.5 16.2 17.8C16.5 18.1 16.7 18.5 16.7 19.1ZM14.1 19.8H14.4C14.6 19.8 14.8 19.7 15 19.6C15.2 19.5 15.2 19.3 15.2 19.1C15.2 18.7 15 18.5 14.6 18.5H14.2V19.8H14.1Z",fill:"#B0CFE0"}),p("path",{d:"M19.9 19.7H22.4V22.8C21.7 23 21 23.1 20.2 23.1C19.3 23.1 18.6 22.8 18.2 22.3C17.8 21.8 17.5 21.1 17.5 20.1C17.5 19.2 17.8 18.5 18.3 17.9C18.8 17.3 19.6 17.1 20.5 17.1C20.9 17.1 21.2 17.1 21.5 17.2C21.8 17.3 22.1 17.4 22.3 17.5L21.8 18.7C21.4 18.5 20.9 18.4 20.4 18.4C19.9 18.4 19.6 18.5 19.4 18.8C19.2 19.1 19 19.6 19 20.2C19 20.7 19.1 21.1 19.3 21.4C19.5 21.7 19.8 21.8 20.3 21.8C20.5 21.8 20.7 21.8 20.9 21.7V20.8H19.9V19.7Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),$$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5806)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M9.69995 23L8.49995 18.9C8.59995 19.6 8.59995 20.1 8.59995 20.5V23H7.19995V17.3H9.29995L10.5 21.4L11.7 17.3H13.8V23H12.4V20.5C12.4 20.4 12.4 20.2 12.4 20.1C12.4 20 12.4 19.6 12.5 18.9L11.2 23H9.69995Z",fill:"#B0CFE0"}),p("path",{d:"M19.8 23H18.1L17 20.8L16.5 21.1V23H15V17.3H16.6V19.8C16.7 19.6 16.8 19.4 17.1 19.1L18.3 17.3H20L18.2 19.9L19.8 23Z",fill:"#B0CFE0"}),p("path",{d:"M23.7001 17.3H25.4L23.5 23H21.7001L19.8 17.3H21.5L22.3 20.2C22.5 20.8 22.5001 21.3 22.6 21.5C22.6 21.3 22.7001 21.1 22.7001 20.8C22.7001 20.5 22.8 20.3 22.8 20.2L23.7001 17.3Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5806",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),D$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5815)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M10.4 23L9.20002 18.9C9.30002 19.6 9.30002 20.1 9.30002 20.5V23H7.90002V17.3H10L11.2 21.4L12.4 17.3H14.5V23H13V20.5C13 20.4 13 20.2 13 20.1C13 20 13 19.6 13.1 18.9L11.8 23H10.4Z",fill:"#B0CFE0"}),p("path",{d:"M19.8 19.1C19.8 19.7 19.6 20.2 19.2 20.6C18.8 21 18.3 21.1 17.6 21.1H17.2V23H15.7V17.3H17.7C18.4 17.3 19 17.5 19.3 17.8C19.6 18.1 19.8 18.5 19.8 19.1ZM17.2 19.8H17.5C17.7 19.8 17.9 19.7 18.1 19.6C18.3 19.5 18.3 19.3 18.3 19.1C18.3 18.7 18.1 18.5 17.7 18.5H17.3V19.8H17.2Z",fill:"#B0CFE0"}),p("path",{d:"M24.2001 18.5C24.2001 18.9 24.1 19.2 23.9 19.4C23.7 19.6 23.4 19.9 23 20C24 20.1 24.4 20.6 24.4 21.4C24.4 21.9 24.2 22.3 23.8 22.7C23.4 23.1 22.8 23.2 22 23.2C21.7 23.2 21.4 23.2 21.1 23.1C20.8 23 20.6 23 20.3 22.9V21.6C20.5 21.7 20.8 21.8 21.1 21.9C21.4 22 21.6 22 21.8 22C22.1 22 22.4 22 22.5 21.9C22.6 21.8 22.7001 21.7 22.7001 21.5C22.7001 21.3 22.7 21.2 22.6 21.1C22.5001 21 22.4001 21 22.2001 20.9C22.0001 20.8 21.8 20.8 21.5 20.8H21.1V19.6H21.5C22.3 19.6 22.7001 19.4 22.7001 19C22.7001 18.8 22.6 18.7 22.5 18.7C22.4 18.7 22.2 18.6 22 18.6C21.6 18.6 21.3 18.7 20.9 19L20.3 18C20.6 17.8 20.9001 17.6 21.2001 17.6C21.5001 17.6 21.9 17.5 22.3 17.5C22.9 17.5 23.4001 17.6 23.7001 17.9C24.0001 18.2 24.2001 18.1 24.2001 18.5Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5815",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),H$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5788)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M10.4 23L9.20002 18.9C9.30002 19.6 9.30002 20.1 9.30002 20.5V23H7.90002V17.3H10L11.2 21.4L12.4 17.3H14.5V23H13V20.5C13 20.4 13 20.2 13 20.1C13 20 13 19.6 13.1 18.9L11.8 23H10.4Z",fill:"#B0CFE0"}),p("path",{d:"M19.8 19.1C19.8 19.7 19.6 20.2 19.2 20.6C18.8 21 18.3 21.1 17.6 21.1H17.2V23H15.7V17.3H17.7C18.4 17.3 19 17.5 19.3 17.8C19.6 18.1 19.8 18.5 19.8 19.1ZM17.2 19.8H17.5C17.7 19.8 17.9 19.7 18.1 19.6C18.3 19.5 18.3 19.3 18.3 19.1C18.3 18.7 18.1 18.5 17.7 18.5H17.3V19.8H17.2Z",fill:"#B0CFE0"}),p("path",{d:"M24.6 21.9H24V23H22.5V21.9H20.2V20.8L22.6 17.3H24V20.8H24.6V21.9ZM22.5 20.7V20C22.5 19.9 22.5 19.7 22.5 19.5C22.5 19.3 22.5 19.2 22.5 19.2C22.4 19.4 22.3 19.6 22.2 19.8L21.6 20.7H22.5Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5788",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),z$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5779)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M13.143 19.105C13.143 19.743 12.955 20.236 12.579 20.584C12.203 20.932 11.668 21.105 10.975 21.105H10.541V23H8.99805V17.289H10.975C11.696 17.289 12.238 17.446 12.6 17.762C12.962 18.078 13.143 18.524 13.143 19.105ZM10.541 19.848H10.822C11.054 19.848 11.238 19.783 11.375 19.653C11.512 19.523 11.58 19.343 11.58 19.114C11.58 18.728 11.367 18.536 10.939 18.536H10.541V19.848Z",fill:"#B0CFE0"}),p("path",{d:"M18.9 20.023C18.9 20.976 18.638 21.711 18.113 22.226C17.588 22.741 16.851 23 15.9 23H14.052V17.289H16.029C16.946 17.289 17.654 17.523 18.152 17.992C18.65 18.461 18.9 19.138 18.9 20.023ZM17.299 20.078C17.299 19.555 17.195 19.167 16.988 18.914C16.781 18.661 16.467 18.535 16.045 18.535H15.596V21.734H15.94C16.409 21.734 16.752 21.598 16.971 21.326C17.19 21.054 17.299 20.638 17.299 20.078Z",fill:"#B0CFE0"}),p("path",{d:"M21.443 23H19.923V17.289H23.298V18.527H21.443V19.617H23.154V20.855H21.443V23Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5779",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),N$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5695)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M11.9 19.1C11.9 19.7 11.7 20.2 11.3 20.6C10.9 21 10.4 21.1 9.70005 21.1H9.30005V23H7.80005V17.3H9.80005C10.5 17.3 11.1 17.5 11.4 17.8C11.7 18.1 11.9 18.5 11.9 19.1ZM9.30005 19.8H9.60005C9.80005 19.8 10 19.7 10.2 19.6C10.4 19.5 10.4 19.3 10.4 19.1C10.4 18.7 10.2 18.5 9.80005 18.5H9.30005V19.8Z",fill:"#B0CFE0"}),p("path",{d:"M18.3 23H16.3L14.2 19C14.2 19.6 14.3 20.1 14.3 20.4V23H12.9V17.3H14.9L17 21.3C17 20.7 16.9 20.3 16.9 19.9V17.3H18.3V23Z",fill:"#B0CFE0"}),p("path",{d:"M21.8 19.7H24.3V22.8C23.6 23 22.9 23.1 22.1 23.1C21.2 23.1 20.5 22.8 20.1 22.3C19.7 21.8 19.4 21.1 19.4 20.1C19.4 19.2 19.7 18.5 20.2 17.9C20.7 17.3 21.5 17.1 22.4 17.1C22.8 17.1 23.1 17.1 23.4 17.2C23.7 17.3 24 17.4 24.2 17.5L23.7 18.7C23.3 18.5 22.8 18.4 22.3 18.4C21.8 18.4 21.5 18.5 21.3 18.8C21.1 19.1 20.9 19.5 20.9 20.1C20.9 20.6 21 21 21.2 21.3C21.4 21.6 21.7 21.7 22.2 21.7C22.4 21.7 22.6 21.7 22.8 21.6V20.7H21.8V19.7Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5695",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),j$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5713)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M13.2 19.1C13.2 19.7 13 20.2 12.6 20.6C12.2 21 11.7 21.1 11 21.1H10.5V23H9V17.3H11C11.7 17.3 12.3 17.5 12.6 17.8C12.9 18.1 13.2 18.5 13.2 19.1ZM10.5 19.8H10.8C11 19.8 11.2 19.7 11.4 19.6C11.6 19.5 11.6 19.3 11.6 19.1C11.6 18.7 11.4 18.5 11 18.5H10.5V19.8Z",fill:"#B0CFE0"}),p("path",{d:"M18.1999 19.1C18.1999 19.7 17.9999 20.2 17.5999 20.6C17.1999 21 16.6999 21.1 15.9999 21.1H15.5999V23H14.0999V17.3H16.0999C16.7999 17.3 17.3999 17.5 17.6999 17.8C17.9999 18.1 18.1999 18.5 18.1999 19.1ZM15.5999 19.8H15.8999C16.0999 19.8 16.2999 19.7 16.4999 19.6C16.6999 19.5 16.6999 19.3 16.6999 19.1C16.6999 18.7 16.4999 18.5 16.0999 18.5H15.6999V19.8H15.5999Z",fill:"#B0CFE0"}),p("path",{d:"M21.6 23H20.1V18.6H18.7V17.3H23V18.6H21.6V23Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5713",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),W$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5722)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M10.5 19.1C10.5 19.7 10.3 20.2 9.90005 20.6C9.50005 21 9.00005 21.1 8.30005 21.1H7.80005V23H6.30005V17.3H8.30005C9.00005 17.3 9.60005 17.5 9.90005 17.8C10.2 18.1 10.5 18.5 10.5 19.1ZM7.80005 19.8H8.10005C8.30005 19.8 8.50005 19.7 8.70005 19.6C8.90005 19.5 8.90005 19.3 8.90005 19.1C8.90005 18.7 8.70005 18.5 8.30005 18.5H7.80005V19.8Z",fill:"#B0CFE0"}),p("path",{d:"M15.5 19.1C15.5 19.7 15.3 20.2 14.9 20.6C14.5 21 14 21.1 13.3 21.1H12.9V23H11.4V17.3H13.4C14.1 17.3 14.7 17.5 15 17.8C15.3 18.1 15.5 18.5 15.5 19.1ZM12.9 19.8H13.2C13.4 19.8 13.6 19.7 13.8 19.6C14 19.5 14 19.3 14 19.1C14 18.7 13.8 18.5 13.4 18.5H13V19.8H12.9Z",fill:"#B0CFE0"}),p("path",{d:"M18.9 23H17.4V18.6H16V17.3H20.3V18.6H18.9V23Z",fill:"#B0CFE0"}),p("path",{d:"M26.3 23H24.5L23.4 21.2L22.3 23H20.6L22.5 20.1L20.7 17.3H22.4L23.4 19.1L24.4 17.3H26.2L24.4 20.2L26.3 23Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5722",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),U$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5824)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M12.9 23H11.1L10.6 20.5C10.6 20.4 10.5 20.2 10.5 19.9C10.5 19.6 10.4 19.3 10.4 19.1C10.4 19.3 10.3 19.5 10.3 19.7C10.3 19.9 10.2 20.2 10.2 20.4C10.2 20.6 9.90005 21.5 9.50005 23H7.70005L6.30005 17.3H7.80005L8.40005 20.2C8.50005 20.8 8.60005 21.3 8.70005 21.7C8.70005 21.4 8.80005 21.1 8.90005 20.6C9.00005 20.1 9.10005 19.8 9.10005 19.5L9.60005 17.3H11L11.5 19.5C11.6 19.8 11.7 20.2 11.8 20.7C11.9 21.2 11.9 21.5 12 21.7C12 21.4 12.1 20.9 12.3 20.2L12.9 17.3H14.4L12.9 23Z",fill:"#B0CFE0"}),p("path",{d:"M18.6 23L18.3 21.9H16.4L16.2 23H14.5L16.4 17.3H18.5L20.4 23H18.6ZM18 20.7L17.8 19.8C17.7 19.6 17.7 19.3 17.6 19C17.5 18.7 17.5 18.4 17.4 18.3C17.4 18.4 17.3 18.7 17.3 19C17.3 19.3 17.1 19.9 16.8 20.8H18V20.7Z",fill:"#B0CFE0"}),p("path",{d:"M24.1 17.3H25.8L24 23H22.2001L20.3 17.3H22L22.8 20.2C23 20.8 23.0001 21.3 23.1 21.5C23.1 21.3 23.2001 21.1 23.2001 20.8C23.2001 20.5 23.3 20.3 23.3 20.2L24.1 17.3Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5824",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),Z$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5751)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M14.7 23H13L11.9 21.2L10.7 23H9L10.9 20.1L9.1 17.3H10.8L11.8 19.1L12.8 17.3H14.6L12.8 20.2L14.7 23Z",fill:"#B0CFE0"}),p("path",{d:"M15.3999 23V17.3H16.8999V21.8H19.0999V23H15.3999Z",fill:"#B0CFE0"}),p("path",{d:"M23.8 21.3C23.8 21.7 23.7 22 23.5 22.2C23.3 22.4 23.1 22.7 22.7 22.8C22.3 22.9 22 23 21.5 23C21.1 23 20.8 23 20.5 22.9C20.2 22.8 20 22.8 19.7 22.6V21.2C20 21.4 20.3 21.5 20.6 21.6C20.9 21.7 21.2 21.7 21.5 21.7C21.7 21.7 21.9 21.7 22 21.6C22.1 21.5 22.2 21.4 22.2 21.3C22.2 21.2 22.2 21.2 22.1 21.1C22 21 22 21 21.9 20.9C21.8 20.8 21.6 20.7 21.1 20.5C20.7 20.3 20.4 20.2 20.3 20C20.2 19.8 20 19.7 19.9 19.5C19.8 19.3 19.8 19.1 19.8 18.8C19.8 18.3 20 17.9 20.4 17.6C20.8 17.3 21.3 17.2 22 17.2C22.6 17.2 23.2 17.3 23.8 17.6L23.3 18.8C22.8 18.6 22.3 18.4 21.9 18.4C21.7 18.4 21.6 18.4 21.5 18.5C21.4 18.6 21.4 18.7 21.4 18.8C21.4 18.9 21.5 19 21.6 19.1C21.7 19.2 22 19.3 22.5 19.6C23 19.8 23.3 20.1 23.5 20.3C23.7 20.5 23.8 20.9 23.8 21.3Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5751",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),G$=()=>z(De,{width:"32px",height:"32px",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[z("g",{clipPath:"url(#clip0_2871_5760)",children:[p("path",{d:"M20 1V9H28",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10"}),p("path",{d:"M28 13V9L20 1H4V13",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M4 27V31H28V27",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"}),p("path",{d:"M11.3 23H9.59998L8.49998 21.2L7.29998 23H5.59998L7.49998 20.1L5.69998 17.3H7.39998L8.39998 19.1L9.39998 17.3H11.2L9.39998 20.2L11.3 23Z",fill:"#B0CFE0"}),p("path",{d:"M12 23V17.3H13.5V21.8H15.7V23H12Z",fill:"#B0CFE0"}),p("path",{d:"M20.4 21.3C20.4 21.7 20.3 22 20.1 22.2C19.9 22.4 19.7 22.7 19.3 22.8C18.9 22.9 18.6 23 18.1 23C17.7 23 17.4 23 17.1 22.9C16.8 22.8 16.6 22.8 16.3 22.6V21.2C16.6 21.4 16.9001 21.5 17.2001 21.6C17.5001 21.7 17.8001 21.7 18.1 21.7C18.3001 21.7 18.5001 21.7 18.6 21.6C18.7 21.5 18.8 21.4 18.8 21.3C18.8 21.2 18.8001 21.2 18.7001 21.1C18.6001 21 18.6 21 18.5 20.9C18.4 20.8 18.2001 20.7 17.7001 20.5C17.3001 20.3 17 20.2 16.9 20C16.8 19.8 16.6 19.7 16.5 19.5C16.4 19.3 16.4 19.1 16.4 18.8C16.4 18.3 16.6 17.9 17 17.6C17.4 17.3 17.9 17.2 18.6 17.2C19.2 17.2 19.8 17.3 20.4 17.6L19.9 18.8C19.4 18.6 18.9 18.4 18.5 18.4C18.3 18.4 18.2 18.4 18.1 18.5C18 18.6 18 18.7 18 18.8C18 18.9 18.1001 19 18.2001 19.1C18.3001 19.2 18.6 19.3 19.1 19.6C19.6 19.8 19.9 20.1 20.1 20.3C20.3 20.5 20.4 20.9 20.4 21.3Z",fill:"#B0CFE0"}),p("path",{d:"M26.4 23H24.6L23.5 21.2L22.4 23H20.7L22.6 20.1L20.7999 17.3H22.5L23.5 19.1L24.5 17.3H26.2999L24.5 20.2L26.4 23Z",fill:"#B0CFE0"}),p("path",{d:"M31 13H1V27H31V13Z",stroke:"#B0CFE0",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"square"})]}),p("defs",{children:p("clipPath",{id:"clip0_2871_5760",children:p("rect",{width:"32",height:"32",fill:"white"})})})]}),q$=({id:e,resourceType:t,resourceTitle:r,resourceDetail:n,resourceTextDownload:i,resourceLink:o,targetBlank:a})=>{const l={boxShadow:`0 2px 7px 0 ${V("colors-neutral-silverSand")}`};return p(rc,{href:o,target:a?"_blank":"_self",rel:a?"noopener noreferrer":void 0,transition:"box-shadow 0.3s",_active:l,_hover:l,_focus:l,cursor:"pointer",borderRadius:V("radii-big"),border:V("borders-light"),overflow:"hidden",children:p(bo,{children:z(ee,{width:"285px",height:"147px",justifyContent:"center",textAlign:"center",display:"grid",gap:"8px",padding:"1rem",children:[p(ee,{children:p(V$,{type:t})}),p(ee,{children:p(et,{fontFamily:"Roboto",fontWeight:"700",lineHeight:"21px",fontSize:"16px",color:"#555555",m:"0px",children:r})}),p(ee,{children:p(et,{fontFamily:"Roboto",fontWeight:"400",lineHeight:"14px",fontSize:"12px",color:"#555555",m:"0px",children:n})}),p(ee,{display:"flex",alignItems:"center",justifyContent:"center",children:z(et,{fontFamily:"Roboto",fontWeight:"500",fontSize:"14px",lineHeight:"16px",color:V("colors-neutral-gray"),textDecoration:"underline",gap:"8px",display:"flex",m:"0px",children:[p(xc,{color:V("colors-main-deepSkyBlue")}),i]})})]})})})};de.Alert=N4,de.Btn=Cc,de.BtnLink=wl,de.BtnPrimary=lh,de.BtnSecondary=F4,de.BtnTertiary=A4,de.CourseList=z4,de.CourseStatus=B4,de.Eventos=M$,de.FlashNotification=E$,de.Icons=wI,de.Label=yc,de.ModalAlert=Y4,de.NewTooltip=SI,de.Progress=P4,de.Resources=q$,de.Ripples=bo,de.TinyAlert=M4,de.UserWay=EI,de.dataFake=TI,de.maxWidthCoursesList=MI,de.theme=mI,de.useFlashNotification=P$,de.vars=V,Object.defineProperties(de,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
563
563
|
//# sourceMappingURL=eclass-ui-kit.umd.js.map
|