Files
postgsail/static/js/main.a80ee3e3.js
github-actions-bot 9137b77a50 Updates
2024-03-02 18:58:39 +00:00

3 lines
876 KiB
JavaScript

/*! For license information please see main.a80ee3e3.js.LICENSE.txt */
(()=>{var e={5513:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function l(e){return e.trim()}function s(e,t,n){return e.replace(t,n)}function u(e,t){return e.indexOf(t)}function c(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function f(e){return e.length}function p(e){return e.length}function h(e,t){return t.push(e),e}var m=1,v=1,g=0,y=0,b=0,x="";function w(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:m,column:v,length:a,return:""}}function S(e,t){return a(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return b=y>0?c(x,--y):0,v--,10===b&&(v=1,m--),b}function A(){return b=y<g?c(x,y++):0,v++,10===b&&(v=1,m++),b}function E(){return c(x,y)}function C(){return y}function P(e,t){return d(x,e,t)}function _(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 O(e){return m=v=1,g=f(x=e),y=0,[]}function j(e){return x="",e}function T(e){return l(P(y-1,L(91===e?e+2:40===e?e+1:e)))}function M(e){for(;(b=E())&&b<33;)A();return _(e)>2||_(b)>3?"":" "}function R(e,t){for(;--t&&A()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return P(e,C()+(t<6&&32==E()&&32==A()))}function L(e){for(;A();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&L(b);break;case 40:41===e&&L(e);break;case 92:A()}return y}function I(e,t){for(;A()&&e+b!==57&&(e+b!==84||47!==E()););return"/*"+P(t,y-1)+"*"+i(47===e?e:A())}function D(e){for(;!_(E());)A();return P(e,y)}var F="-ms-",z="-moz-",N="-webkit-",B="comm",H="rule",W="decl",V="@keyframes";function U(e,t){for(var n="",r=p(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function q(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case W:return e.return=e.return||e.value;case B:return"";case V:return e.return=e.value+"{"+U(e.children,r)+"}";case H:e.value=e.props.join(",")}return f(n=U(e.children,r))?e.return=e.value+"{"+n+"}":""}function G(e){return j($("",null,null,null,[""],e=O(e),0,[0],e))}function $(e,t,n,r,o,a,l,d,p){for(var m=0,v=0,g=l,y=0,b=0,x=0,w=1,S=1,P=1,_=0,O="",j=o,L=a,F=r,z=O;S;)switch(x=_,_=A()){case 40:if(108!=x&&58==c(z,g-1)){-1!=u(z+=s(T(_),"&","&\f"),"&\f")&&(P=-1);break}case 34:case 39:case 91:z+=T(_);break;case 9:case 10:case 13:case 32:z+=M(x);break;case 92:z+=R(C()-1,7);continue;case 47:switch(E()){case 42:case 47:h(X(I(A(),C()),t,n),p);break;default:z+="/"}break;case 123*w:d[m++]=f(z)*P;case 125*w:case 59:case 0:switch(_){case 0:case 125:S=0;case 59+v:-1==P&&(z=s(z,/\f/g,"")),b>0&&f(z)-g&&h(b>32?Y(z+";",r,n,g-1):Y(s(z," ","")+";",r,n,g-2),p);break;case 59:z+=";";default:if(h(F=K(z,t,n,m,v,o,d,O,j=[],L=[],g),a),123===_)if(0===v)$(z,t,F,F,j,a,g,d,L);else switch(99===y&&110===c(z,3)?100:y){case 100:case 108:case 109:case 115:$(e,F,F,r&&h(K(e,F,F,0,0,o,d,O,o,j=[],g),L),o,L,g,d,r?j:L);break;default:$(z,F,F,F,[""],L,0,d,L)}}m=v=b=0,w=P=1,O=z="",g=l;break;case 58:g=1+f(z),b=x;default:if(w<1)if(123==_)--w;else if(125==_&&0==w++&&125==k())continue;switch(z+=i(_),_*w){case 38:P=v>0?1:(z+="\f",-1);break;case 44:d[m++]=(f(z)-1)*P,P=1;break;case 64:45===E()&&(z+=T(A())),y=E(),v=g=f(O=z+=D(C())),_++;break;case 45:45===x&&2==f(z)&&(w=0)}}return a}function K(e,t,n,r,i,a,u,c,f,h,m){for(var v=i-1,g=0===i?a:[""],y=p(g),b=0,x=0,S=0;b<r;++b)for(var k=0,A=d(e,v+1,v=o(x=u[b])),E=e;k<y;++k)(E=l(x>0?g[k]+" "+A:s(A,/&\f/g,g[k])))&&(f[S++]=E);return w(e,t,n,0===i?H:c,f,h,m)}function X(e,t,n){return w(e,t,n,B,i(b),d(e,2,-2),0)}function Y(e,t,n,r){return w(e,t,n,W,d(e,0,r),d(e,r+1,-1),r)}var Q=function(e,t,n){for(var r=0,o=0;r=o,o=E(),38===r&&12===o&&(t[n]=1),!_(o);)A();return P(e,y)},Z=function(e,t){return j(function(e,t){var n=-1,r=44;do{switch(_(r)){case 0:38===r&&12===E()&&(t[n]=1),e[n]+=Q(y-1,t,n);break;case 2:e[n]+=T(r);break;case 4:if(44===r){e[++n]=58===E()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=A());return e}(O(e),t))},J=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(n))&&!r){J.set(e,!0);for(var o=[],i=Z(t,o),a=n.props,l=0,s=0;l<i.length;l++)for(var u=0;u<a.length;u++,s++)e.props[s]=o[l]?i[l].replace(/&\f/g,a[u]):a[u]+" "+i[l]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^c(e,0)?(((t<<2^c(e,0))<<2^c(e,1))<<2^c(e,2))<<2^c(e,3):0}(e,t)){case 5103:return N+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return N+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return N+e+z+e+F+e+e;case 6828:case 4268:return N+e+F+e+e;case 6165:return N+e+F+"flex-"+e+e;case 5187:return N+e+s(e,/(\w+).+(:[^]+)/,N+"box-$1$2"+F+"flex-$1$2")+e;case 5443:return N+e+F+"flex-item-"+s(e,/flex-|-self/,"")+e;case 4675:return N+e+F+"flex-line-pack"+s(e,/align-content|flex-|-self/,"")+e;case 5548:return N+e+F+s(e,"shrink","negative")+e;case 5292:return N+e+F+s(e,"basis","preferred-size")+e;case 6060:return N+"box-"+s(e,"-grow","")+N+e+F+s(e,"grow","positive")+e;case 4554:return N+s(e,/([^-])(transform)/g,"$1"+N+"$2")+e;case 6187:return s(s(s(e,/(zoom-|grab)/,N+"$1"),/(image-set)/,N+"$1"),e,"")+e;case 5495:case 3959:return s(e,/(image-set\([^]*)/,N+"$1$`$1");case 4968:return s(s(e,/(.+:)(flex-)?(.*)/,N+"box-pack:$3"+F+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+N+e+e;case 4095:case 3583:case 4068:case 2532:return s(e,/(.+)-inline(.+)/,N+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-t>6)switch(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1"+N+"$2-$3$1"+z+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?ne(s(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,f(e)-3-(~u(e,"!important")&&10))){case 107:return s(e,":",":"+N)+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+N+(45===c(e,14)?"inline-":"")+"box$3$1"+N+"$2$3$1"+F+"$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return N+e+F+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return N+e+F+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return N+e+F+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return N+e+F+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case W:e.return=ne(e.value,e.length);break;case V:return U([S(e,{value:s(e.value,"@","@"+N)})],r);case H:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return U([S(e,{props:[s(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return U([S(e,{props:[s(t,/:(plac\w+)/,":"+N+"input-$1")]}),S(e,{props:[s(t,/:(plac\w+)/,":-moz-$1")]}),S(e,{props:[s(t,/:(plac\w+)/,F+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||re;var i,a,l={},s=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)l[t[n]]=!0;s.push(e)}));var u,c,d=[q,(c=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&c(e)})],f=function(e){var t=p(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}([ee,te].concat(o,d));a=function(e,t,n,r){u=n,U(G(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new r({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:a};return h.sheet.hydrate(s),h}},918:(e,t,n)=>{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>r})},5025:(e,t,n)=>{"use strict";n.d(t,{C:()=>l,T:()=>c,_:()=>s,i:()=>i,w:()=>u});var r=n(5043),o=n(5513),i=(n(2830),n(9436),!0),a=r.createContext("undefined"!==typeof HTMLElement?(0,o.A)({key:"css"}):null);var l=a.Provider,s=function(){return(0,r.useContext)(a)},u=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(a);return e(t,o,n)}))};i||(u=function(e){return function(t){var n=(0,r.useContext)(a);return null===n?(n=(0,o.A)({key:"css"}),r.createElement(a.Provider,{value:n},e(t,n))):e(t,n)}});var c=r.createContext({})},3290:(e,t,n)=>{"use strict";n.d(t,{AH:()=>u,i7:()=>c,mL:()=>s});var r=n(5025),o=n(5043),i=n(1722),a=n(9436),l=n(2830),s=(n(5513),n(219),(0,r.w)((function(e,t){var n=e.styles,s=(0,l.J)([n],void 0,o.useContext(r.T));if(!r.i){for(var u,c=s.name,d=s.styles,f=s.next;void 0!==f;)c+=" "+f.name,d+=f.styles,f=f.next;var p=!0===t.compat,h=t.insert("",{name:c,styles:d},t.sheet,p);return p?null:o.createElement("style",((u={})["data-emotion"]=t.key+"-global "+c,u.dangerouslySetInnerHTML={__html:h},u.nonce=t.sheet.nonce,u))}var m=o.useRef();return(0,a.i)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+s.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),m.current=[n,r],function(){n.flush()}}),[t]),(0,a.i)((function(){var e=m.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==s.next&&(0,i.sk)(t,s.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",s,n,!1)}}),[t,s.name]),null})));function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,l.J)(t)}var c=function(){var e=u.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},2830:(e,t,n)=>{"use strict";n.d(t,{J:()=>h});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=n(918),i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},s=function(e){return null!=e&&"boolean"!==typeof e},u=(0,o.A)((function(e){return l(e)?e:e.replace(i,"-$&").toLowerCase()})),c=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(a,(function(e,t,n){return f={name:t,styles:n,next:f},t}))}return 1===r[e]||l(e)||"number"!==typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return f={name:n.name,styles:n.styles,next:f},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)f={name:r.name,styles:r.styles,next:f},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=d(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!==typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":s(a)&&(r+=u(i)+":"+c(i,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=d(e,t,a);switch(i){case"animation":case"animationName":r+=u(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var f=0;f<a.length;f++)s(a[f])&&(r+=u(i)+":"+c(i,a[f])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=f,i=n(e);return f=o,d(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var f,p=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var h=function(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";f=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=d(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=d(n,t,e[a]),r&&(o+=i[a]);p.lastIndex=0;for(var l,s="";null!==(l=p.exec(o));)s+="-"+l[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:f}}},9436:(e,t,n)=>{"use strict";var r;n.d(t,{i:()=>l,s:()=>a});var o=n(5043),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},l=i||o.useLayoutEffect},1722:(e,t,n)=>{"use strict";n.d(t,{Rk:()=>r,SF:()=>o,sk:()=>i});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},5990:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(5043),o=n(7950),i=n(7042),a=n(3844),l=n(9184),s=n(579);const u=r.forwardRef((function(e,t){const{children:n,container:u,disablePortal:c=!1}=e,[d,f]=r.useState(null),p=(0,i.A)(r.isValidElement(n)?n.ref:null,t);if((0,a.A)((()=>{c||f(function(e){return"function"===typeof e?e():e}(u)||document.body)}),[u,c]),(0,a.A)((()=>{if(d&&!c)return(0,l.A)(t,d),()=>{(0,l.A)(t,null)}}),[t,d,c]),c){if(r.isValidElement(n)){const e={ref:p};return r.cloneElement(n,e)}return(0,s.jsx)(r.Fragment,{children:n})}return(0,s.jsx)(r.Fragment,{children:d?o.createPortal(n,d):d})}))},2205:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});var r=n(8168),o=n(540);function i(e,t,n){return void 0===e||(0,o.g)(e)?t:(0,r.A)({},t,{ownerState:(0,r.A)({},t.ownerState,n)})}},9279:(e,t,n)=>{"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"===typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}n.d(t,{h:()=>r})},540:(e,t,n)=>{"use strict";function r(e){return"string"===typeof e}n.d(t,{g:()=>r})},7061:(e,t,n)=>{"use strict";n.d(t,{Q:()=>d});var r=n(8168),o=n(8587),i=n(7042),a=n(2205),l=n(8387),s=n(9279);function u(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"===typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}const c=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function d(e){var t;const{elementType:n,externalSlotProps:d,ownerState:f,skipResolvingSlotProps:p=!1}=e,h=(0,o.A)(e,c),m=p?{}:function(e,t,n){return"function"===typeof e?e(t,n):e}(d,f),{props:v,internalRef:g}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:o,externalForwardedProps:i,className:a}=e;if(!t){const e=(0,l.A)(null==n?void 0:n.className,a,null==i?void 0:i.className,null==o?void 0:o.className),t=(0,r.A)({},null==n?void 0:n.style,null==i?void 0:i.style,null==o?void 0:o.style),s=(0,r.A)({},n,i,o);return e.length>0&&(s.className=e),Object.keys(t).length>0&&(s.style=t),{props:s,internalRef:void 0}}const c=(0,s.h)((0,r.A)({},i,o)),d=u(o),f=u(i),p=t(c),h=(0,l.A)(null==p?void 0:p.className,null==n?void 0:n.className,a,null==i?void 0:i.className,null==o?void 0:o.className),m=(0,r.A)({},null==p?void 0:p.style,null==n?void 0:n.style,null==i?void 0:i.style,null==o?void 0:o.style),v=(0,r.A)({},p,n,f,d);return h.length>0&&(v.className=h),Object.keys(m).length>0&&(v.style=m),{props:v,internalRef:p.ref}}((0,r.A)({},h,{externalSlotProps:m})),y=(0,i.A)(g,null==m?void 0:m.ref,null==(t=e.additionalProps)?void 0:t.ref);return(0,a.X)(n,(0,r.A)({},v,{ref:y}),f)}},8855:(e,t,n)=>{"use strict";var r=n(2613);t.A=void 0;var o=r(n(39)),i=n(579);t.A=(0,o.default)((0,i.jsx)("path",{d:"M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"}),"ArrowBackIos")},2497:(e,t,n)=>{"use strict";var r=n(2613);t.A=void 0;var o=r(n(39)),i=n(579);t.A=(0,o.default)((0,i.jsx)("path",{d:"M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"}),"ArrowForwardIos")},3608:(e,t,n)=>{"use strict";var r=n(2613);t.A=void 0;var o=r(n(39)),i=n(579);t.A=(0,o.default)((0,i.jsx)("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward")},4423:(e,t,n)=>{"use strict";var r=n(2613);t.A=void 0;var o=r(n(39)),i=n(579);t.A=(0,o.default)((0,i.jsx)("circle",{cx:"12",cy:"12",r:"10"}),"Brightness1Rounded")},9307:(e,t,n)=>{"use strict";var r=n(2613);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(579);t.default=(0,o.default)((0,i.jsx)("path",{d:"M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12zM12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6c3.31 0 6 2.69 6 6s-2.69 6-6 6"}),"Brightness4")},8094:(e,t,n)=>{"use strict";var r=n(2613);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(579);t.default=(0,o.default)((0,i.jsx)("path",{d:"M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12zM12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6m0-10c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4"}),"Brightness7")},5382:(e,t,n)=>{"use strict";var r=n(2613);t.A=void 0;var o=r(n(39)),i=n(579);t.A=(0,o.default)((0,i.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check")},813:(e,t,n)=>{"use strict";var r=n(2613);t.A=void 0;var o=r(n(39)),i=n(579);t.A=(0,o.default)((0,i.jsx)("path",{d:"M2 15.5v2h20v-2zm0-5v2h20v-2zm0-5v2h20v-2z"}),"Dehaze")},1337:(e,t,n)=>{"use strict";var r=n(2613);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(579);t.default=(0,o.default)((0,i.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},6312:(e,t,n)=>{"use strict";var r=n(2613);t.A=void 0;var o=r(n(39)),i=n(579);t.A=(0,o.default)((0,i.jsx)("path",{d:"M6 7h2.5L5 3.5 1.5 7H4v10H1.5L5 20.5 8.5 17H6zm4-2v2h12V5zm0 14h12v-2H10zm0-6h12v-2H10z"}),"FormatLineSpacing")},4536:(e,t,n)=>{"use strict";var r=n(2613);t.A=void 0;var o=r(n(39)),i=n(579);t.A=(0,o.default)((0,i.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown")},3513:(e,t,n)=>{"use strict";var r=n(2613);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(579);t.default=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39"}),"Public")},39:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(8167)},9195:(e,t,n)=>{"use strict";n.r(t),n.d(t,{buttonClasses:()=>g,default:()=>C,getButtonUtilityClass:()=>v});var r=n(8587),o=n(8168),i=n(5043),a=n(8387),l=n(2018),s=n(8606),u=n(3650),c=n(6671),d=n(1070),f=n(3383),p=n(6803),h=n(7056),m=n(2400);function v(e){return(0,m.Ay)("MuiButton",e)}const g=(0,h.A)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);const y=i.createContext({});const b=i.createContext(void 0);var x=n(579);const w=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],S=e=>(0,o.A)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),k=(0,c.Ay)(f.A,{shouldForwardProp:e=>(0,c.ep)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t["".concat(n.variant).concat((0,p.A)(n.color))],t["size".concat((0,p.A)(n.size))],t["".concat(n.variant,"Size").concat((0,p.A)(n.size))],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((e=>{let{theme:t,ownerState:n}=e;var r,i;const a="light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[800],l="light"===t.palette.mode?t.palette.grey.A100:t.palette.grey[700];return(0,o.A)({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":(0,o.A)({textDecoration:"none",backgroundColor:t.vars?"rgba(".concat(t.vars.palette.text.primaryChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,u.X4)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===n.variant&&"inherit"!==n.color&&{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,u.X4)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===n.variant&&"inherit"!==n.color&&{border:"1px solid ".concat((t.vars||t).palette[n.color].main),backgroundColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,u.X4)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===n.variant&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},"contained"===n.variant&&"inherit"!==n.color&&{backgroundColor:(t.vars||t).palette[n.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[n.color].main}}),"&:active":(0,o.A)({},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[8]}),["&.".concat(g.focusVisible)]:(0,o.A)({},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[6]}),["&.".concat(g.disabled)]:(0,o.A)({color:(t.vars||t).palette.action.disabled},"outlined"===n.variant&&{border:"1px solid ".concat((t.vars||t).palette.action.disabledBackground)},"contained"===n.variant&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},"text"===n.variant&&{padding:"6px 8px"},"text"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].main},"outlined"===n.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].main,border:t.vars?"1px solid rgba(".concat(t.vars.palette[n.color].mainChannel," / 0.5)"):"1px solid ".concat((0,u.X4)(t.palette[n.color].main,.5))},"contained"===n.variant&&{color:t.vars?t.vars.palette.text.primary:null==(r=(i=t.palette).getContrastText)?void 0:r.call(i,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:a,boxShadow:(t.vars||t).shadows[2]},"contained"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].contrastText,backgroundColor:(t.vars||t).palette[n.color].main},"inherit"===n.color&&{color:"inherit",borderColor:"currentColor"},"small"===n.size&&"text"===n.variant&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"text"===n.variant&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},"small"===n.size&&"outlined"===n.variant&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"outlined"===n.variant&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},"small"===n.size&&"contained"===n.variant&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"contained"===n.variant&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},n.fullWidth&&{width:"100%"})}),(e=>{let{ownerState:t}=e;return t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},["&.".concat(g.focusVisible)]:{boxShadow:"none"},"&:active":{boxShadow:"none"},["&.".concat(g.disabled)]:{boxShadow:"none"}}})),A=(0,c.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t["iconSize".concat((0,p.A)(n.size))]]}})((e=>{let{ownerState:t}=e;return(0,o.A)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},S(t))})),E=(0,c.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t["iconSize".concat((0,p.A)(n.size))]]}})((e=>{let{ownerState:t}=e;return(0,o.A)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},S(t))})),C=i.forwardRef((function(e,t){const n=i.useContext(y),u=i.useContext(b),c=(0,l.A)(n,e),f=(0,d.A)({props:c,name:"MuiButton"}),{children:h,color:m="primary",component:g="button",className:S,disabled:C=!1,disableElevation:P=!1,disableFocusRipple:_=!1,endIcon:O,focusVisibleClassName:j,fullWidth:T=!1,size:M="medium",startIcon:R,type:L,variant:I="text"}=f,D=(0,r.A)(f,w),F=(0,o.A)({},f,{color:m,component:g,disabled:C,disableElevation:P,disableFocusRipple:_,fullWidth:T,size:M,type:L,variant:I}),z=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,classes:l}=e,u={root:["root",a,"".concat(a).concat((0,p.A)(t)),"size".concat((0,p.A)(i)),"".concat(a,"Size").concat((0,p.A)(i)),"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat((0,p.A)(i))],endIcon:["endIcon","iconSize".concat((0,p.A)(i))]},c=(0,s.A)(u,v,l);return(0,o.A)({},l,c)})(F),N=R&&(0,x.jsx)(A,{className:z.startIcon,ownerState:F,children:R}),B=O&&(0,x.jsx)(E,{className:z.endIcon,ownerState:F,children:O}),H=u||"";return(0,x.jsxs)(k,(0,o.A)({ownerState:F,className:(0,a.A)(n.className,z.root,S,H),component:g,disabled:C,focusRipple:!_,focusVisibleClassName:(0,a.A)(z.focusVisible,j),ref:t,type:L},D,{classes:z,children:[N,h,B]}))}))},3383:(e,t,n)=>{"use strict";n.d(t,{A:()=>K});var r=n(8168),o=n(8587),i=n(5043),a=n(8387),l=n(8606),s=n(6671),u=n(1070),c=n(5849),d=n(3319),f=n(2191);function p(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var h=n(5540),m=n(8726);function v(e,t){var n=Object.create(null);return e&&i.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,i.isValidElement)(e)?t(e):e}(e)})),n}function g(e,t,n){return null!=n[t]?n[t]:e.props[t]}function y(e,t,n){var r=v(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var u=o[s][r];l[o[s][r]]=n(u)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(t,r);return Object.keys(o).forEach((function(a){var l=o[a];if((0,i.isValidElement)(l)){var s=a in t,u=a in r,c=t[a],d=(0,i.isValidElement)(c)&&!c.props.in;!u||s&&!d?u||!s||d?u&&s&&(0,i.isValidElement)(c)&&(o[a]=(0,i.cloneElement)(l,{onExited:n.bind(null,l),in:c.props.in,exit:g(l,"exit",e),enter:g(l,"enter",e)})):o[a]=(0,i.cloneElement)(l,{in:!1}):o[a]=(0,i.cloneElement)(l,{onExited:n.bind(null,l),in:!0,exit:g(l,"exit",e),enter:g(l,"enter",e)})}})),o}var b=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},x=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,h.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,v(n.children,(function(e){return(0,i.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:g(e,"appear",n),enter:g(e,"enter",n),exit:g(e,"exit",n)})}))):y(e,o,a),firstRender:!1}},n.handleExited=function(e,t){var n=v(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,r.A)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=(0,o.A)(e,["component","childFactory"]),a=this.state.contextValue,l=b(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i.createElement(m.A.Provider,{value:a},l):i.createElement(m.A.Provider,{value:a},i.createElement(t,r,l))},t}(i.Component);x.propTypes={},x.defaultProps={component:"div",childFactory:function(e){return e}};const w=x;var S=n(3290),k=n(1140),A=n(579);const E=function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:l,rippleSize:s,in:u,onExited:c,timeout:d}=e,[f,p]=i.useState(!1),h=(0,a.A)(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:s,height:s,top:-s/2+l,left:-s/2+o},v=(0,a.A)(n.child,f&&n.childLeaving,r&&n.childPulsate);return u||f||p(!0),i.useEffect((()=>{if(!u&&null!=c){const e=setTimeout(c,d);return()=>{clearTimeout(e)}}}),[c,u,d]),(0,A.jsx)("span",{className:h,style:m,children:(0,A.jsx)("span",{className:v})})};var C=n(7056);const P=(0,C.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);var _,O,j,T;const M=["center","classes","className"];let R,L,I,D;const F=(0,S.i7)(R||(R=_||(_=p(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"])))),z=(0,S.i7)(L||(L=O||(O=p(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"])))),N=(0,S.i7)(I||(I=j||(j=p(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"])))),B=(0,s.Ay)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),H=(0,s.Ay)(E,{name:"MuiTouchRipple",slot:"Ripple"})(D||(D=T||(T=p(["\n opacity: 0;\n position: absolute;\n\n &."," {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n &."," {\n animation-duration: ","ms;\n }\n\n & ."," {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & ."," {\n opacity: 0;\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n & ."," {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ",";\n animation-duration: 2500ms;\n animation-timing-function: ",";\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n"]))),P.rippleVisible,F,550,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),P.ripplePulsate,(e=>{let{theme:t}=e;return t.transitions.duration.shorter}),P.child,P.childLeaving,z,550,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),P.childPulsate,N,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut})),W=i.forwardRef((function(e,t){const n=(0,u.A)({props:e,name:"MuiTouchRipple"}),{center:l=!1,classes:s={},className:c}=n,d=(0,o.A)(n,M),[f,p]=i.useState([]),h=i.useRef(0),m=i.useRef(null);i.useEffect((()=>{m.current&&(m.current(),m.current=null)}),[f]);const v=i.useRef(!1),g=(0,k.A)(),y=i.useRef(null),b=i.useRef(null),x=i.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;p((e=>[...e,(0,A.jsx)(H,{classes:{ripple:(0,a.A)(s.ripple,P.ripple),rippleVisible:(0,a.A)(s.rippleVisible,P.rippleVisible),ripplePulsate:(0,a.A)(s.ripplePulsate,P.ripplePulsate),child:(0,a.A)(s.child,P.child),childLeaving:(0,a.A)(s.childLeaving,P.childLeaving),childPulsate:(0,a.A)(s.childPulsate,P.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},h.current)])),h.current+=1,m.current=i}),[s]),S=i.useCallback((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};const{pulsate:r=!1,center:o=l||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&v.current)return void(v.current=!1);"touchstart"===(null==e?void 0:e.type)&&(v.current=!0);const a=i?null:b.current,s=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,d;if(o||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(s.width/2),c=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-s.left),c=Math.round(n-s.top)}if(o)d=Math.sqrt((2*s.width**2+s.height**2)/3),d%2===0&&(d+=1);else{const e=2*Math.max(Math.abs((a?a.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((a?a.clientHeight:0)-c),c)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===y.current&&(y.current=()=>{x({pulsate:r,rippleX:u,rippleY:c,rippleSize:d,cb:n})},g.start(80,(()=>{y.current&&(y.current(),y.current=null)}))):x({pulsate:r,rippleX:u,rippleY:c,rippleSize:d,cb:n})}),[l,x,g]),E=i.useCallback((()=>{S({},{pulsate:!0})}),[S]),C=i.useCallback(((e,t)=>{if(g.clear(),"touchend"===(null==e?void 0:e.type)&&y.current)return y.current(),y.current=null,void g.start(0,(()=>{C(e,t)}));y.current=null,p((e=>e.length>0?e.slice(1):e)),m.current=t}),[g]);return i.useImperativeHandle(t,(()=>({pulsate:E,start:S,stop:C})),[E,S,C]),(0,A.jsx)(B,(0,r.A)({className:(0,a.A)(P.root,s.root,c),ref:b},d,{children:(0,A.jsx)(w,{component:null,exit:!0,children:f})}))}));var V=n(2400);function U(e){return(0,V.Ay)("MuiButtonBase",e)}const q=(0,C.A)("MuiButtonBase",["root","disabled","focusVisible"]),G=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],$=(0,s.Ay)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},["&.".concat(q.disabled)]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),K=i.forwardRef((function(e,t){const n=(0,u.A)({props:e,name:"MuiButtonBase"}),{action:s,centerRipple:p=!1,children:h,className:m,component:v="button",disabled:g=!1,disableRipple:y=!1,disableTouchRipple:b=!1,focusRipple:x=!1,LinkComponent:w="a",onBlur:S,onClick:k,onContextMenu:E,onDragLeave:C,onFocus:P,onFocusVisible:_,onKeyDown:O,onKeyUp:j,onMouseDown:T,onMouseLeave:M,onMouseUp:R,onTouchEnd:L,onTouchMove:I,onTouchStart:D,tabIndex:F=0,TouchRippleProps:z,touchRippleRef:N,type:B}=n,H=(0,o.A)(n,G),V=i.useRef(null),q=i.useRef(null),K=(0,c.A)(q,N),{isFocusVisibleRef:X,onFocus:Y,onBlur:Q,ref:Z}=(0,f.A)(),[J,ee]=i.useState(!1);g&&J&&ee(!1),i.useImperativeHandle(s,(()=>({focusVisible:()=>{ee(!0),V.current.focus()}})),[]);const[te,ne]=i.useState(!1);i.useEffect((()=>{ne(!0)}),[]);const re=te&&!y&&!g;function oe(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b;return(0,d.A)((r=>{t&&t(r);return!n&&q.current&&q.current[e](r),!0}))}i.useEffect((()=>{J&&x&&!y&&te&&q.current.pulsate()}),[y,x,J,te]);const ie=oe("start",T),ae=oe("stop",E),le=oe("stop",C),se=oe("stop",R),ue=oe("stop",(e=>{J&&e.preventDefault(),M&&M(e)})),ce=oe("start",D),de=oe("stop",L),fe=oe("stop",I),pe=oe("stop",(e=>{Q(e),!1===X.current&&ee(!1),S&&S(e)}),!1),he=(0,d.A)((e=>{V.current||(V.current=e.currentTarget),Y(e),!0===X.current&&(ee(!0),_&&_(e)),P&&P(e)})),me=()=>{const e=V.current;return v&&"button"!==v&&!("A"===e.tagName&&e.href)},ve=i.useRef(!1),ge=(0,d.A)((e=>{x&&!ve.current&&J&&q.current&&" "===e.key&&(ve.current=!0,q.current.stop(e,(()=>{q.current.start(e)}))),e.target===e.currentTarget&&me()&&" "===e.key&&e.preventDefault(),O&&O(e),e.target===e.currentTarget&&me()&&"Enter"===e.key&&!g&&(e.preventDefault(),k&&k(e))})),ye=(0,d.A)((e=>{x&&" "===e.key&&q.current&&J&&!e.defaultPrevented&&(ve.current=!1,q.current.stop(e,(()=>{q.current.pulsate(e)}))),j&&j(e),k&&e.target===e.currentTarget&&me()&&" "===e.key&&!e.defaultPrevented&&k(e)}));let be=v;"button"===be&&(H.href||H.to)&&(be=w);const xe={};"button"===be?(xe.type=void 0===B?"button":B,xe.disabled=g):(H.href||H.to||(xe.role="button"),g&&(xe["aria-disabled"]=g));const we=(0,c.A)(t,Z,V);const Se=(0,r.A)({},n,{centerRipple:p,component:v,disabled:g,disableRipple:y,disableTouchRipple:b,focusRipple:x,tabIndex:F,focusVisible:J}),ke=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,l.A)(i,U,o);return n&&r&&(a.root+=" ".concat(r)),a})(Se);return(0,A.jsxs)($,(0,r.A)({as:be,className:(0,a.A)(ke.root,m),ownerState:Se,onBlur:pe,onClick:k,onContextMenu:ae,onFocus:he,onKeyDown:ge,onKeyUp:ye,onMouseDown:ie,onMouseLeave:ue,onMouseUp:se,onDragLeave:le,onTouchEnd:de,onTouchMove:fe,onTouchStart:ce,ref:we,tabIndex:g?-1:F,type:B},xe,H,{children:[h,re?(0,A.jsx)(W,(0,r.A)({ref:K,center:p},z)):null]}))}))},3572:(e,t,n)=>{"use strict";n.d(t,{rf:()=>h,Ay:()=>m,qy:()=>p});var r=n(8168),o=n(5043),i=n(1070),a=n(869),l=n(5527),s=n(579);const u=function(e){let{styles:t,themeId:n,defaultTheme:r={}}=e;const o=(0,l.A)(r),i="function"===typeof t?t(n&&o[n]||o):t;return(0,s.jsx)(a.A,{styles:i})};var c=n(5170),d=n(3375);const f=function(e){return(0,s.jsx)(u,(0,r.A)({},e,{defaultTheme:c.A,themeId:d.A}))},p=(e,t)=>(0,r.A)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),h=e=>(0,r.A)({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}});const m=function(e){const t=(0,i.A)({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:a=!1}=t;return(0,s.jsxs)(o.Fragment,{children:[(0,s.jsx)(f,{styles:e=>function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var n;const o={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((t=>{let[n,r]=t;var i;o[e.getColorSchemeSelector(n).replace(/\s*&/,"")]={colorScheme:null==(i=r.palette)?void 0:i.mode}}));let i=(0,r.A)({html:p(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:(0,r.A)({margin:0},h(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},o);const a=null==(n=e.components)||null==(n=n.MuiCssBaseline)?void 0:n.styleOverrides;return a&&(i=[i,a]),i}(e,a)}),n]})}},4732:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.Ay});var r=n(3572)},6328:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(8168),o=n(8587),i=n(5043),a=n(1140),l=n(9998),s=n(6240),u=n(653),c=n(5849),d=n(579);const f=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function p(e){return"scale(".concat(e,", ").concat(e**2,")")}const h={entering:{opacity:1,transform:p(1)},entered:{opacity:1,transform:"none"}},m="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),v=i.forwardRef((function(e,t){const{addEndListener:n,appear:v=!0,children:g,easing:y,in:b,onEnter:x,onEntered:w,onEntering:S,onExit:k,onExited:A,onExiting:E,style:C,timeout:P="auto",TransitionComponent:_=l.Ay}=e,O=(0,o.A)(e,f),j=(0,a.A)(),T=i.useRef(),M=(0,s.A)(),R=i.useRef(null),L=(0,c.A)(R,g.ref,t),I=e=>t=>{if(e){const n=R.current;void 0===t?e(n):e(n,t)}},D=I(S),F=I(((e,t)=>{(0,u.q)(e);const{duration:n,delay:r,easing:o}=(0,u.c)({style:C,timeout:P,easing:y},{mode:"enter"});let i;"auto"===P?(i=M.transitions.getAutoHeightDuration(e.clientHeight),T.current=i):i=n,e.style.transition=[M.transitions.create("opacity",{duration:i,delay:r}),M.transitions.create("transform",{duration:m?i:.666*i,delay:r,easing:o})].join(","),x&&x(e,t)})),z=I(w),N=I(E),B=I((e=>{const{duration:t,delay:n,easing:r}=(0,u.c)({style:C,timeout:P,easing:y},{mode:"exit"});let o;"auto"===P?(o=M.transitions.getAutoHeightDuration(e.clientHeight),T.current=o):o=t,e.style.transition=[M.transitions.create("opacity",{duration:o,delay:n}),M.transitions.create("transform",{duration:m?o:.666*o,delay:m?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=p(.75),k&&k(e)})),H=I(A);return(0,d.jsx)(_,(0,r.A)({appear:v,in:b,nodeRef:R,onEnter:F,onEntered:z,onEntering:D,onExit:B,onExited:H,onExiting:N,addEndListener:e=>{"auto"===P&&j.start(T.current||0,e),n&&n(R.current,e)},timeout:"auto"===P?null:P},O,{children:(e,t)=>i.cloneElement(g,(0,r.A)({style:(0,r.A)({opacity:0,transform:p(.75),visibility:"exited"!==e||b?void 0:"hidden"},h[e],C,g.props.style),ref:L},t))}))}));v.muiSupportAuto=!0;const g=v},4938:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x,getIconButtonUtilityClass:()=>m,iconButtonClasses:()=>v});var r=n(8587),o=n(8168),i=n(5043),a=n(8387),l=n(8606),s=n(3650),u=n(6671),c=n(1070),d=n(3383),f=n(6803),p=n(7056),h=n(2400);function m(e){return(0,h.Ay)("MuiIconButton",e)}const v=(0,p.A)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var g=n(579);const y=["edge","children","className","color","disabled","disableFocusRipple","size"],b=(0,u.Ay)(d.A,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t["color".concat((0,f.A)(n.color))],n.edge&&t["edge".concat((0,f.A)(n.edge))],t["size".concat((0,f.A)(n.size))]]}})((e=>{let{theme:t,ownerState:n}=e;return(0,o.A)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,s.X4)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===n.edge&&{marginLeft:"small"===n.size?-3:-12},"end"===n.edge&&{marginRight:"small"===n.size?-3:-12})}),(e=>{let{theme:t,ownerState:n}=e;var r;const i=null==(r=(t.vars||t).palette)?void 0:r[n.color];return(0,o.A)({},"inherit"===n.color&&{color:"inherit"},"inherit"!==n.color&&"default"!==n.color&&(0,o.A)({color:null==i?void 0:i.main},!n.disableRipple&&{"&:hover":(0,o.A)({},i&&{backgroundColor:t.vars?"rgba(".concat(i.mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,s.X4)(i.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===n.size&&{padding:5,fontSize:t.typography.pxToRem(18)},"large"===n.size&&{padding:12,fontSize:t.typography.pxToRem(28)},{["&.".concat(v.disabled)]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})})),x=i.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiIconButton"}),{edge:i=!1,children:s,className:u,color:d="default",disabled:p=!1,disableFocusRipple:h=!1,size:v="medium"}=n,x=(0,r.A)(n,y),w=(0,o.A)({},n,{edge:i,color:d,disabled:p,disableFocusRipple:h,size:v}),S=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,a={root:["root",n&&"disabled","default"!==r&&"color".concat((0,f.A)(r)),o&&"edge".concat((0,f.A)(o)),"size".concat((0,f.A)(i))]};return(0,l.A)(a,m,t)})(w);return(0,g.jsx)(b,(0,o.A)({className:(0,a.A)(S.root,u),centerRipple:!0,focusRipple:!h,disabled:p,ref:t,ownerState:w},x,{children:s}))}))},1347:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(5043).createContext({})},1428:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Ne,getMenuUtilityClass:()=>je,menuClasses:()=>Te});var r=n(8168),o=n(8587),i=n(5043),a=(n(805),n(8387)),l=n(8606),s=n(7061),u=n(2427),c=n(6671),d=n(1070),f=n(1347),p=n(7056),h=n(2400);function m(e){return(0,h.Ay)("MuiList",e)}(0,p.A)("MuiList",["root","padding","dense","subheader"]);var v=n(579);const g=["children","className","component","dense","disablePadding","subheader"],y=(0,c.Ay)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((e=>{let{ownerState:t}=e;return(0,r.A)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),b=i.forwardRef((function(e,t){const n=(0,d.A)({props:e,name:"MuiList"}),{children:s,className:u,component:c="ul",dense:p=!1,disablePadding:h=!1,subheader:b}=n,x=(0,o.A)(n,g),w=i.useMemo((()=>({dense:p})),[p]),S=(0,r.A)({},n,{component:c,dense:p,disablePadding:h}),k=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e,i={root:["root",!n&&"padding",r&&"dense",o&&"subheader"]};return(0,l.A)(i,m,t)})(S);return(0,v.jsx)(f.A.Provider,{value:w,children:(0,v.jsxs)(y,(0,r.A)({as:c,className:(0,a.A)(k.root,u),ref:t,ownerState:S},x,{children:[b,s]}))})}));function x(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const w=x;var S=n(5849),k=n(5013);const A=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function E(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function C(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function P(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function _(e,t,n,r,o,i){let a=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&P(l,i)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const O=i.forwardRef((function(e,t){const{actions:n,autoFocus:a=!1,autoFocusItem:l=!1,children:s,className:c,disabledItemsFocusable:d=!1,disableListWrap:f=!1,onKeyDown:p,variant:h="selectedMenu"}=e,m=(0,o.A)(e,A),g=i.useRef(null),y=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,k.A)((()=>{a&&g.current.focus()}),[a]),i.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!g.current.style.width;if(e.clientHeight<g.current.clientHeight&&n){const n="".concat(w((0,u.A)(e)),"px");g.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,g.current.style.width="calc(100% + ".concat(n,")")}return g.current}})),[]);const x=(0,S.A)(g,t);let O=-1;i.Children.forEach(s,((e,t)=>{i.isValidElement(e)?(e.props.disabled||("selectedMenu"===h&&e.props.selected||-1===O)&&(O=t),O===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(O+=1,O>=s.length&&(O=-1))):O===t&&(O+=1,O>=s.length&&(O=-1))}));const j=i.Children.map(s,((e,t)=>{if(t===O){const t={};return l&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===h&&(t.tabIndex=0),i.cloneElement(e,t)}return e}));return(0,v.jsx)(b,(0,r.A)({role:"menu",ref:x,className:c,onKeyDown:e=>{const t=g.current,n=e.key,r=(0,u.A)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),_(t,r,f,d,E);else if("ArrowUp"===n)e.preventDefault(),_(t,r,f,d,C);else if("Home"===n)e.preventDefault(),_(t,null,f,d,E);else if("End"===n)e.preventDefault(),_(t,null,f,d,C);else if(1===n.length){const o=y.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const l=r&&!o.repeating&&P(r,o);o.previousKeyMatched&&(l||_(t,r,!1,d,E,o))?e.preventDefault():o.previousKeyMatched=!1}p&&p(e)},tabIndex:a?0:-1},m,{children:j}))}));var j=n(540),T=n(7220),M=n(6078),R=n(6328),L=n(7042),I=n(2144),D=n(4626),F=n(4708),z=n(9279),N=n(6288);function B(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function H(e){return parseInt((0,N.A)(e).getComputedStyle(e).paddingRight,10)||0}function W(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&B(e,o)}))}function V(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function U(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,I.A)(e);return t.body===e?(0,N.A)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=x((0,I.A)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight="".concat(H(r)+e,"px");const t=(0,I.A)(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight="".concat(H(t)+e,"px")}))}let e;if(r.parentNode instanceof DocumentFragment)e=(0,I.A)(r).body;else{const t=r.parentElement,n=(0,N.A)(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((e=>{let{value:t,el:n,property:r}=e;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}const q=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&B(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);W(t,e.mount,e.modalRef,r,!0);const o=V(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=V(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=U(r,t))}remove(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=this.modals.indexOf(e);if(-1===n)return n;const r=V(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&B(e.modalRef,t),W(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&B(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function G(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,manager:a=q,closeAfterTransition:l=!1,onTransitionEnter:s,onTransitionExited:u,children:c,onClose:d,open:f,rootRef:p}=e,h=i.useRef({}),m=i.useRef(null),v=i.useRef(null),g=(0,L.A)(v,p),[y,b]=i.useState(!f),x=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let w=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(w=!1);const S=()=>(h.current.modalRef=v.current,h.current.mount=m.current,h.current),k=()=>{a.mount(S(),{disableScrollLock:o}),v.current&&(v.current.scrollTop=0)},A=(0,D.A)((()=>{const e=function(e){return"function"===typeof e?e():e}(t)||(0,I.A)(m.current).body;a.add(S(),e),v.current&&k()})),E=i.useCallback((()=>a.isTopModal(S())),[a]),C=(0,D.A)((e=>{m.current=e,e&&(f&&E()?k():v.current&&B(v.current,w))})),P=i.useCallback((()=>{a.remove(S(),w)}),[w,a]);i.useEffect((()=>()=>{P()}),[P]),i.useEffect((()=>{f?A():x&&l||P()}),[f,P,x,l,A]);const _=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&E()&&(n||(t.stopPropagation(),d&&d(t,"escapeKeyDown")))},O=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&d&&d(t,"backdropClick")};return{getRootProps:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=(0,z.h)(e);delete n.onTransitionEnter,delete n.onTransitionExited;const o=(0,r.A)({},n,t);return(0,r.A)({role:"presentation"},o,{onKeyDown:_(o),ref:g})},getBackdropProps:function(){const e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.A)({"aria-hidden":!0},e,{onClick:O(e),open:f})},getTransitionProps:()=>({onEnter:(0,F.A)((()=>{b(!1),s&&s()}),null==c?void 0:c.props.onEnter),onExited:(0,F.A)((()=>{b(!0),u&&u(),l&&P()}),null==c?void 0:c.props.onExited)}),rootRef:g,portalRef:C,isTopModal:E,exited:y,hasTransition:x}}const $=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function K(e){const t=[],n=[];return Array.from(e.querySelectorAll($)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector('input[type="radio"]'.concat(t));let n=t('[name="'.concat(e.name,'"]:checked'));return n||(n=t('[name="'.concat(e.name,'"]'))),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function X(){return!0}function Y(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=K,isEnabled:l=X,open:s}=e,u=i.useRef(!1),c=i.useRef(null),d=i.useRef(null),f=i.useRef(null),p=i.useRef(null),h=i.useRef(!1),m=i.useRef(null),g=(0,L.A)(t.ref,m),y=i.useRef(null);i.useEffect((()=>{s&&m.current&&(h.current=!n)}),[n,s]),i.useEffect((()=>{if(!s||!m.current)return;const e=(0,I.A)(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),h.current&&m.current.focus()),()=>{o||(f.current&&f.current.focus&&(u.current=!0,f.current.focus()),f.current=null)}}),[s]),i.useEffect((()=>{if(!s||!m.current)return;const e=(0,I.A)(m.current),t=t=>{y.current=t,!r&&l()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(u.current=!0,d.current&&d.current.focus())},n=()=>{const t=m.current;if(null===t)return;if(!e.hasFocus()||!l()||u.current)return void(u.current=!1);if(t.contains(e.activeElement))return;if(r&&e.activeElement!==c.current&&e.activeElement!==d.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!h.current)return;let n=[];if(e.activeElement!==c.current&&e.activeElement!==d.current||(n=a(m.current)),n.length>0){var o,i;const e=Boolean((null==(o=y.current)?void 0:o.shiftKey)&&"Tab"===(null==(i=y.current)?void 0:i.key)),t=n[0],r=n[n.length-1];"string"!==typeof t&&"string"!==typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,r,o,l,s,a]);const b=e=>{null===f.current&&(f.current=e.relatedTarget),h.current=!0};return(0,v.jsxs)(i.Fragment,{children:[(0,v.jsx)("div",{tabIndex:s?0:-1,onFocus:b,ref:c,"data-testid":"sentinelStart"}),i.cloneElement(t,{ref:g,onFocus:e=>{null===f.current&&(f.current=e.relatedTarget),h.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,v.jsx)("div",{tabIndex:s?0:-1,onFocus:b,ref:d,"data-testid":"sentinelEnd"})]})}var Q=n(5990),Z=n(9998),J=n(6240),ee=n(653);const te=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],ne={entering:{opacity:1},entered:{opacity:1}},re=i.forwardRef((function(e,t){const n=(0,J.A)(),a={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:l,appear:s=!0,children:u,easing:c,in:d,onEnter:f,onEntered:p,onEntering:h,onExit:m,onExited:g,onExiting:y,style:b,timeout:x=a,TransitionComponent:w=Z.Ay}=e,k=(0,o.A)(e,te),A=i.useRef(null),E=(0,S.A)(A,u.ref,t),C=e=>t=>{if(e){const n=A.current;void 0===t?e(n):e(n,t)}},P=C(h),_=C(((e,t)=>{(0,ee.q)(e);const r=(0,ee.c)({style:b,timeout:x,easing:c},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),f&&f(e,t)})),O=C(p),j=C(y),T=C((e=>{const t=(0,ee.c)({style:b,timeout:x,easing:c},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),m&&m(e)})),M=C(g);return(0,v.jsx)(w,(0,r.A)({appear:s,in:d,nodeRef:A,onEnter:_,onEntered:O,onEntering:P,onExit:T,onExited:M,onExiting:j,addEndListener:e=>{l&&l(A.current,e)},timeout:x},k,{children:(e,t)=>i.cloneElement(u,(0,r.A)({style:(0,r.A)({opacity:0,visibility:"exited"!==e||d?void 0:"hidden"},ne[e],b,u.props.style),ref:E},t))}))}));function oe(e){return(0,h.Ay)("MuiBackdrop",e)}(0,p.A)("MuiBackdrop",["root","invisible"]);const ie=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],ae=(0,c.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((e=>{let{ownerState:t}=e;return(0,r.A)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"})})),le=i.forwardRef((function(e,t){var n,i,s;const u=(0,d.A)({props:e,name:"MuiBackdrop"}),{children:c,className:f,component:p="div",components:h={},componentsProps:m={},invisible:g=!1,open:y,slotProps:b={},slots:x={},TransitionComponent:w=re,transitionDuration:S}=u,k=(0,o.A)(u,ie),A=(0,r.A)({},u,{component:p,invisible:g}),E=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,l.A)(r,oe,t)})(A),C=null!=(n=b.root)?n:m.root;return(0,v.jsx)(w,(0,r.A)({in:y,timeout:S},k,{children:(0,v.jsx)(ae,(0,r.A)({"aria-hidden":!0},C,{as:null!=(i=null!=(s=x.root)?s:h.Root)?i:p,className:(0,a.A)(E.root,f,null==C?void 0:C.className),ownerState:(0,r.A)({},A,null==C?void 0:C.ownerState),classes:E,ref:t,children:c}))}))}));function se(e){return(0,h.Ay)("MuiModal",e)}(0,p.A)("MuiModal",["root","hidden","backdrop"]);const ue=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],ce=(0,c.Ay)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((e=>{let{theme:t,ownerState:n}=e;return(0,r.A)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})})),de=(0,c.Ay)(le,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),fe=i.forwardRef((function(e,t){var n,u,c,f,p,h;const m=(0,d.A)({name:"MuiModal",props:e}),{BackdropComponent:g=de,BackdropProps:y,className:b,closeAfterTransition:x=!1,children:w,container:S,component:k,components:A={},componentsProps:E={},disableAutoFocus:C=!1,disableEnforceFocus:P=!1,disableEscapeKeyDown:_=!1,disablePortal:O=!1,disableRestoreFocus:j=!1,disableScrollLock:T=!1,hideBackdrop:M=!1,keepMounted:R=!1,onBackdropClick:L,open:I,slotProps:D,slots:F}=m,z=(0,o.A)(m,ue),N=(0,r.A)({},m,{closeAfterTransition:x,disableAutoFocus:C,disableEnforceFocus:P,disableEscapeKeyDown:_,disablePortal:O,disableRestoreFocus:j,disableScrollLock:T,hideBackdrop:M,keepMounted:R}),{getRootProps:B,getBackdropProps:H,getTransitionProps:W,portalRef:V,isTopModal:U,exited:q,hasTransition:$}=G((0,r.A)({},N,{rootRef:t})),K=(0,r.A)({},N,{exited:q}),X=(e=>{const{open:t,exited:n,classes:r}=e,o={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,l.A)(o,se,r)})(K),Z={};if(void 0===w.props.tabIndex&&(Z.tabIndex="-1"),$){const{onEnter:e,onExited:t}=W();Z.onEnter=e,Z.onExited=t}const J=null!=(n=null!=(u=null==F?void 0:F.root)?u:A.Root)?n:ce,ee=null!=(c=null!=(f=null==F?void 0:F.backdrop)?f:A.Backdrop)?c:g,te=null!=(p=null==D?void 0:D.root)?p:E.root,ne=null!=(h=null==D?void 0:D.backdrop)?h:E.backdrop,re=(0,s.Q)({elementType:J,externalSlotProps:te,externalForwardedProps:z,getSlotProps:B,additionalProps:{ref:t,as:k},ownerState:K,className:(0,a.A)(b,null==te?void 0:te.className,null==X?void 0:X.root,!K.open&&K.exited&&(null==X?void 0:X.hidden))}),oe=(0,s.Q)({elementType:ee,externalSlotProps:ne,additionalProps:y,getSlotProps:e=>H((0,r.A)({},e,{onClick:t=>{L&&L(t),null!=e&&e.onClick&&e.onClick(t)}})),className:(0,a.A)(null==ne?void 0:ne.className,null==y?void 0:y.className,null==X?void 0:X.backdrop),ownerState:K});return R||I||$&&!q?(0,v.jsx)(Q.Z,{ref:V,container:S,disablePortal:O,children:(0,v.jsxs)(J,(0,r.A)({},re,{children:[!M&&g?(0,v.jsx)(ee,(0,r.A)({},oe)):null,(0,v.jsx)(Y,{disableEnforceFocus:P,disableAutoFocus:C,disableRestoreFocus:j,isEnabled:U,open:I,children:i.cloneElement(w,Z)})]}))}):null}));var pe=n(3650),he=n(3582);function me(e){return(0,h.Ay)("MuiPaper",e)}(0,p.A)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const ve=["className","component","elevation","square","variant"],ge=(0,c.Ay)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation".concat(n.elevation)]]}})((e=>{let{theme:t,ownerState:n}=e;var o;return(0,r.A)({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow")},!n.square&&{borderRadius:t.shape.borderRadius},"outlined"===n.variant&&{border:"1px solid ".concat((t.vars||t).palette.divider)},"elevation"===n.variant&&(0,r.A)({boxShadow:(t.vars||t).shadows[n.elevation]},!t.vars&&"dark"===t.palette.mode&&{backgroundImage:"linear-gradient(".concat((0,pe.X4)("#fff",(0,he.A)(n.elevation)),", ").concat((0,pe.X4)("#fff",(0,he.A)(n.elevation)),")")},t.vars&&{backgroundImage:null==(o=t.vars.overlays)?void 0:o[n.elevation]}))})),ye=i.forwardRef((function(e,t){const n=(0,d.A)({props:e,name:"MuiPaper"}),{className:i,component:s="div",elevation:u=1,square:c=!1,variant:f="elevation"}=n,p=(0,o.A)(n,ve),h=(0,r.A)({},n,{component:s,elevation:u,square:c,variant:f}),m=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded","elevation"===r&&"elevation".concat(n)]};return(0,l.A)(i,me,o)})(h);return(0,v.jsx)(ge,(0,r.A)({as:s,ownerState:h,className:(0,a.A)(m.root,i),ref:t},p))}));function be(e){return(0,h.Ay)("MuiPopover",e)}(0,p.A)("MuiPopover",["root","paper"]);const xe=["onEntering"],we=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Se=["slotProps"];function ke(e,t){let n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Ae(e,t){let n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Ee(e){return[e.horizontal,e.vertical].map((e=>"number"===typeof e?"".concat(e,"px"):e)).join(" ")}function Ce(e){return"function"===typeof e?e():e}const Pe=(0,c.Ay)(fe,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_e=(0,c.Ay)(ye,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Oe=i.forwardRef((function(e,t){var n,c,f;const p=(0,d.A)({props:e,name:"MuiPopover"}),{action:h,anchorEl:m,anchorOrigin:g={vertical:"top",horizontal:"left"},anchorPosition:y,anchorReference:b="anchorEl",children:x,className:w,container:k,elevation:A=8,marginThreshold:E=16,open:C,PaperProps:P={},slots:_,slotProps:O,transformOrigin:L={vertical:"top",horizontal:"left"},TransitionComponent:I=R.A,transitionDuration:D="auto",TransitionProps:{onEntering:F}={},disableScrollLock:z=!1}=p,N=(0,o.A)(p.TransitionProps,xe),B=(0,o.A)(p,we),H=null!=(n=null==O?void 0:O.paper)?n:P,W=i.useRef(),V=(0,S.A)(W,H.ref),U=(0,r.A)({},p,{anchorOrigin:g,anchorReference:b,elevation:A,marginThreshold:E,externalPaperSlotProps:H,transformOrigin:L,TransitionComponent:I,transitionDuration:D,TransitionProps:N}),q=(e=>{const{classes:t}=e;return(0,l.A)({root:["root"],paper:["paper"]},be,t)})(U),G=i.useCallback((()=>{if("anchorPosition"===b)return y;const e=Ce(m),t=(e&&1===e.nodeType?e:(0,u.A)(W.current).body).getBoundingClientRect();return{top:t.top+ke(t,g.vertical),left:t.left+Ae(t,g.horizontal)}}),[m,g.horizontal,g.vertical,y,b]),$=i.useCallback((e=>({vertical:ke(e,L.vertical),horizontal:Ae(e,L.horizontal)})),[L.horizontal,L.vertical]),K=i.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=$(t);if("none"===b)return{top:null,left:null,transformOrigin:Ee(n)};const r=G();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,l=i+t.width,s=(0,M.A)(Ce(m)),u=s.innerHeight-E,c=s.innerWidth-E;if(null!==E&&o<E){const e=o-E;o-=e,n.vertical+=e}else if(null!==E&&a>u){const e=a-u;o-=e,n.vertical+=e}if(null!==E&&i<E){const e=i-E;i-=e,n.horizontal+=e}else if(l>c){const e=l-c;i-=e,n.horizontal+=e}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:Ee(n)}}),[m,b,G,$,E]),[X,Y]=i.useState(C),Q=i.useCallback((()=>{const e=W.current;if(!e)return;const t=K(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,Y(!0)}),[K]);i.useEffect((()=>(z&&window.addEventListener("scroll",Q),()=>window.removeEventListener("scroll",Q))),[m,z,Q]);i.useEffect((()=>{C&&Q()})),i.useImperativeHandle(h,(()=>C?{updatePosition:()=>{Q()}}:null),[C,Q]),i.useEffect((()=>{if(!C)return;const e=(0,T.A)((()=>{Q()})),t=(0,M.A)(m);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[m,C,Q]);let Z=D;"auto"!==D||I.muiSupportAuto||(Z=void 0);const J=k||(m?(0,u.A)(Ce(m)).body:void 0),ee=null!=(c=null==_?void 0:_.root)?c:Pe,te=null!=(f=null==_?void 0:_.paper)?f:_e,ne=(0,s.Q)({elementType:te,externalSlotProps:(0,r.A)({},H,{style:X?H.style:(0,r.A)({},H.style,{opacity:0})}),additionalProps:{elevation:A,ref:V},ownerState:U,className:(0,a.A)(q.paper,null==H?void 0:H.className)}),re=(0,s.Q)({elementType:ee,externalSlotProps:(null==O?void 0:O.root)||{},externalForwardedProps:B,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:J,open:C},ownerState:U,className:(0,a.A)(q.root,w)}),{slotProps:oe}=re,ie=(0,o.A)(re,Se);return(0,v.jsx)(ee,(0,r.A)({},ie,!(0,j.g)(ee)&&{slotProps:oe,disableScrollLock:z},{children:(0,v.jsx)(I,(0,r.A)({appear:!0,in:C,onEntering:(e,t)=>{F&&F(e,t),Q()},onExited:()=>{Y(!1)},timeout:Z},N,{children:(0,v.jsx)(te,(0,r.A)({},ne,{children:x}))}))}))}));function je(e){return(0,h.Ay)("MuiMenu",e)}const Te=(0,p.A)("MuiMenu",["root","paper","list"]),Me=["onEntering"],Re=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Le={vertical:"top",horizontal:"right"},Ie={vertical:"top",horizontal:"left"},De=(0,c.Ay)(Oe,{shouldForwardProp:e=>(0,c.ep)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Fe=(0,c.Ay)(_e,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),ze=(0,c.Ay)(O,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Ne=i.forwardRef((function(e,t){var n,u;const c=(0,d.A)({props:e,name:"MuiMenu"}),{autoFocus:f=!0,children:p,className:h,disableAutoFocusItem:m=!1,MenuListProps:g={},onClose:y,open:b,PaperProps:x={},PopoverClasses:w,transitionDuration:S="auto",TransitionProps:{onEntering:k}={},variant:A="selectedMenu",slots:E={},slotProps:C={}}=c,P=(0,o.A)(c.TransitionProps,Me),_=(0,o.A)(c,Re),O=(0,J.A)(),j="rtl"===O.direction,T=(0,r.A)({},c,{autoFocus:f,disableAutoFocusItem:m,MenuListProps:g,onEntering:k,PaperProps:x,transitionDuration:S,TransitionProps:P,variant:A}),M=(e=>{const{classes:t}=e;return(0,l.A)({root:["root"],paper:["paper"],list:["list"]},je,t)})(T),R=f&&!m&&b,L=i.useRef(null);let I=-1;i.Children.map(p,((e,t)=>{i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===A&&e.props.selected||-1===I)&&(I=t))}));const D=null!=(n=E.paper)?n:Fe,F=null!=(u=C.paper)?u:x,z=(0,s.Q)({elementType:E.root,externalSlotProps:C.root,ownerState:T,className:[M.root,h]}),N=(0,s.Q)({elementType:D,externalSlotProps:F,ownerState:T,className:M.paper});return(0,v.jsx)(De,(0,r.A)({onClose:y,anchorOrigin:{vertical:"bottom",horizontal:j?"right":"left"},transformOrigin:j?Le:Ie,slots:{paper:D,root:E.root},slotProps:{root:z,paper:N},open:b,ref:t,transitionDuration:S,TransitionProps:(0,r.A)({onEntering:(e,t)=>{L.current&&L.current.adjustStyleForScrollbar(e,O),k&&k(e,t)}},P),ownerState:T},_,{classes:w,children:(0,v.jsx)(ze,(0,r.A)({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),y&&y(e,"tabKeyDown"))},actions:L,autoFocus:f&&(-1===I||m),autoFocusItem:R,variant:A},g,{className:(0,a.A)(M.list,g.className),children:p}))}))}))},4645:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E,getMenuItemUtilityClass:()=>x,menuItemClasses:()=>w});var r=n(8587),o=n(8168),i=n(5043),a=n(8387),l=n(8606),s=n(3650),u=n(6671),c=n(1070),d=n(1347),f=n(3383),p=n(5013),h=n(5849),m=n(7056);const v=(0,m.A)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const g=(0,m.A)("MuiListItemIcon",["root","alignItemsFlexStart"]);const y=(0,m.A)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);var b=n(2400);function x(e){return(0,b.Ay)("MuiMenuItem",e)}const w=(0,m.A)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var S=n(579);const k=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],A=(0,u.Ay)(f.A,{shouldForwardProp:e=>(0,u.ep)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((e=>{let{theme:t,ownerState:n}=e;return(0,o.A)({},t.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!n.disableGutters&&{paddingLeft:16,paddingRight:16},n.divider&&{borderBottom:"1px solid ".concat((t.vars||t).palette.divider),backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&.".concat(w.selected)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,s.X4)(t.palette.primary.main,t.palette.action.selectedOpacity),["&.".concat(w.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,s.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},["&.".concat(w.selected,":hover")]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,s.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,s.X4)(t.palette.primary.main,t.palette.action.selectedOpacity)}},["&.".concat(w.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},["&.".concat(w.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity},["& + .".concat(v.root)]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},["& + .".concat(v.inset)]:{marginLeft:52},["& .".concat(y.root)]:{marginTop:0,marginBottom:0},["& .".concat(y.inset)]:{paddingLeft:36},["& .".concat(g.root)]:{minWidth:36}},!n.dense&&{[t.breakpoints.up("sm")]:{minHeight:"auto"}},n.dense&&(0,o.A)({minHeight:32,paddingTop:4,paddingBottom:4},t.typography.body2,{["& .".concat(g.root," svg")]:{fontSize:"1.25rem"}}))})),E=i.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiMenuItem"}),{autoFocus:s=!1,component:u="li",dense:f=!1,divider:m=!1,disableGutters:v=!1,focusVisibleClassName:g,role:y="menuitem",tabIndex:b,className:w}=n,E=(0,r.A)(n,k),C=i.useContext(d.A),P=i.useMemo((()=>({dense:f||C.dense||!1,disableGutters:v})),[C.dense,f,v]),_=i.useRef(null);(0,p.A)((()=>{s&&_.current&&_.current.focus()}),[s]);const O=(0,o.A)({},n,{dense:P.dense,divider:m,disableGutters:v}),j=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:i,selected:a,classes:s}=e,u={root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",a&&"selected"]},c=(0,l.A)(u,x,s);return(0,o.A)({},s,c)})(n),T=(0,h.A)(_,t);let M;return n.disabled||(M=void 0!==b?b:-1),(0,S.jsx)(d.A.Provider,{value:P,children:(0,S.jsx)(A,(0,o.A)({ref:T,role:y,tabIndex:M,component:u,focusVisibleClassName:(0,a.A)(j.focusVisible,g),className:(0,a.A)(j.root,w)},E,{ownerState:O,classes:j}))})}))},9040:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y,getScopedCssBaselineUtilityClass:()=>p,scopedCssBaselineClasses:()=>h});var r=n(8587),o=n(8168),i=n(5043),a=n(8387),l=n(8606),s=n(1070),u=n(6671),c=n(3572),d=n(7056),f=n(2400);function p(e){return(0,f.Ay)("MuiScopedCssBaseline",e)}const h=(0,d.A)("MuiScopedCssBaseline",["root"]);var m=n(579);const v=["className","component","enableColorScheme"],g=(0,u.Ay)("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:(e,t)=>t.root})((e=>{let{theme:t,ownerState:n}=e;const r={};return n.enableColorScheme&&t.colorSchemes&&Object.entries(t.colorSchemes).forEach((e=>{let[n,o]=e;var i;r["&".concat(t.getColorSchemeSelector(n).replace(/\s*&/,""))]={colorScheme:null==(i=o.palette)?void 0:i.mode}})),(0,o.A)({},(0,c.qy)(t,n.enableColorScheme),(0,c.rf)(t),{"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:t.typography.fontWeightBold}},r)})),y=i.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiScopedCssBaseline"}),{className:i,component:u="div"}=n,c=(0,r.A)(n,v),d=(0,o.A)({},n,{component:u}),f=(e=>{const{classes:t}=e;return(0,l.A)({root:["root"]},p,t)})(d);return(0,m.jsx)(g,(0,o.A)({as:u,className:(0,a.A)(f.root,i),ref:t,ownerState:d},c))}))},2472:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(8168),o=n(8587),i=n(5043),a=n(8387),l=n(8606),s=n(6803),u=n(1070),c=n(6671),d=n(90),f=n(579);const p=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],h=(0,c.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t["color".concat((0,s.A)(n.color))],t["fontSize".concat((0,s.A)(n.fontSize))]]}})((e=>{let{theme:t,ownerState:n}=e;var r,o,i,a,l,s,u,c,d,f,p,h,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:n.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=t.transitions)||null==(o=r.create)?void 0:o.call(r,"fill",{duration:null==(i=t.transitions)||null==(i=i.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(a=t.typography)||null==(l=a.pxToRem)?void 0:l.call(a,20))||"1.25rem",medium:(null==(s=t.typography)||null==(u=s.pxToRem)?void 0:u.call(s,24))||"1.5rem",large:(null==(c=t.typography)||null==(d=c.pxToRem)?void 0:d.call(c,35))||"2.1875rem"}[n.fontSize],color:null!=(f=null==(p=(t.vars||t).palette)||null==(p=p[n.color])?void 0:p.main)?f:{action:null==(h=(t.vars||t).palette)||null==(h=h.action)?void 0:h.active,disabled:null==(m=(t.vars||t).palette)||null==(m=m.action)?void 0:m.disabled,inherit:void 0}[n.color]}})),m=i.forwardRef((function(e,t){const n=(0,u.A)({props:e,name:"MuiSvgIcon"}),{children:c,className:m,color:v="inherit",component:g="svg",fontSize:y="medium",htmlColor:b,inheritViewBox:x=!1,titleAccess:w,viewBox:S="0 0 24 24"}=n,k=(0,o.A)(n,p),A=i.isValidElement(c)&&"svg"===c.type,E=(0,r.A)({},n,{color:v,component:g,fontSize:y,instanceFontSize:e.fontSize,inheritViewBox:x,viewBox:S,hasSvgAsChild:A}),C={};x||(C.viewBox=S);const P=(e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&"color".concat((0,s.A)(t)),"fontSize".concat((0,s.A)(n))]};return(0,l.A)(o,d.E,r)})(E);return(0,f.jsxs)(h,(0,r.A)({as:g,className:(0,a.A)(P.root,m),focusable:"false",color:b,"aria-hidden":!w||void 0,role:w?"img":void 0,ref:t},C,k,A&&c.props,{ownerState:E,children:[A?c.props.children:c,w?(0,f.jsx)("title",{children:w}):null]}))}));m.muiName="SvgIcon";const v=m},1027:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getSvgIconUtilityClass:()=>o.E,svgIconClasses:()=>o.A});var r=n(2472),o=n(90)},90:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,E:()=>i});var r=n(7056),o=n(2400);function i(e){return(0,o.Ay)("MuiSvgIcon",e)}const a=(0,r.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"])},7547:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>yt,getTooltipUtilityClass:()=>lt,tooltipClasses:()=>st});var r=n(8587),o=n(8168),i=n(5043),a=n(8387),l=n(1140),s=n(8606),u=n(2205),c=n(3650),d=n(6671),f=n(6240),p=n(1070),h=n(6803),m=n(6328),v=n(7042),g=n(3844),y=n(2144);function b(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function x(e){return e instanceof b(e).Element||e instanceof Element}function w(e){return e instanceof b(e).HTMLElement||e instanceof HTMLElement}function S(e){return"undefined"!==typeof ShadowRoot&&(e instanceof b(e).ShadowRoot||e instanceof ShadowRoot)}var k=Math.max,A=Math.min,E=Math.round;function C(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function P(){return!/^((?!chrome|android).)*safari/i.test(C())}function _(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&w(e)&&(o=e.offsetWidth>0&&E(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&E(r.height)/e.offsetHeight||1);var a=(x(e)?b(e):window).visualViewport,l=!P()&&n,s=(r.left+(l&&a?a.offsetLeft:0))/o,u=(r.top+(l&&a?a.offsetTop:0))/i,c=r.width/o,d=r.height/i;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s,x:s,y:u}}function O(e){var t=b(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function j(e){return e?(e.nodeName||"").toLowerCase():null}function T(e){return((x(e)?e.ownerDocument:e.document)||window.document).documentElement}function M(e){return _(T(e)).left+O(e).scrollLeft}function R(e){return b(e).getComputedStyle(e)}function L(e){var t=R(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function I(e,t,n){void 0===n&&(n=!1);var r=w(t),o=w(t)&&function(e){var t=e.getBoundingClientRect(),n=E(t.width)/e.offsetWidth||1,r=E(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=T(t),a=_(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==j(t)||L(i))&&(l=function(e){return e!==b(e)&&w(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:O(e);var t}(t)),w(t)?((s=_(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=M(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function D(e){var t=_(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function F(e){return"html"===j(e)?e:e.assignedSlot||e.parentNode||(S(e)?e.host:null)||T(e)}function z(e){return["html","body","#document"].indexOf(j(e))>=0?e.ownerDocument.body:w(e)&&L(e)?e:z(F(e))}function N(e,t){var n;void 0===t&&(t=[]);var r=z(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=b(r),a=o?[i].concat(i.visualViewport||[],L(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(N(F(a)))}function B(e){return["table","td","th"].indexOf(j(e))>=0}function H(e){return w(e)&&"fixed"!==R(e).position?e.offsetParent:null}function W(e){for(var t=b(e),n=H(e);n&&B(n)&&"static"===R(n).position;)n=H(n);return n&&("html"===j(n)||"body"===j(n)&&"static"===R(n).position)?t:n||function(e){var t=/firefox/i.test(C());if(/Trident/i.test(C())&&w(e)&&"fixed"===R(e).position)return null;var n=F(e);for(S(n)&&(n=n.host);w(n)&&["html","body"].indexOf(j(n))<0;){var r=R(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var V="top",U="bottom",q="right",G="left",$="auto",K=[V,U,q,G],X="start",Y="end",Q="clippingParents",Z="viewport",J="popper",ee="reference",te=K.reduce((function(e,t){return e.concat([t+"-"+X,t+"-"+Y])}),[]),ne=[].concat(K,[$]).reduce((function(e,t){return e.concat([t,t+"-"+X,t+"-"+Y])}),[]),re=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function oe(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function ie(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var ae={placement:"bottom",modifiers:[],strategy:"absolute"};function le(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function se(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?ae:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},ae,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,s={state:o,setOptions:function(n){var l="function"===typeof n?n(o.options):n;u(),o.options=Object.assign({},i,o.options,l),o.scrollParents={reference:x(e)?N(e):e.contextElement?N(e.contextElement):[],popper:N(t)};var c=function(e){var t=oe(e);return re.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=c.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var l=i({state:o,name:t,instance:s,options:r}),u=function(){};a.push(l||u)}})),s.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(le(t,n)){o.rects={reference:I(t,W(n),"fixed"===o.options.strategy),popper:D(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,u=i.options,c=void 0===u?{}:u,d=i.name;"function"===typeof a&&(o=a({state:o,options:c,name:d,instance:s})||o)}else o.reset=!1,r=-1}}},update:ie((function(){return new Promise((function(e){s.forceUpdate(),e(o)}))})),destroy:function(){u(),l=!0}};if(!le(e,t))return s;function u(){a.forEach((function(e){return e()})),a=[]}return s.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),s}}var ue={passive:!0};function ce(e){return e.split("-")[0]}function de(e){return e.split("-")[1]}function fe(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function pe(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?ce(o):null,a=o?de(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case V:t={x:l,y:n.y-r.height};break;case U:t={x:l,y:n.y+n.height};break;case q:t={x:n.x+n.width,y:s};break;case G:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=i?fe(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case X:t[u]=t[u]-(n[c]/2-r[c]/2);break;case Y:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var he={top:"auto",right:"auto",bottom:"auto",left:"auto"};function me(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,h=a.y,m=void 0===h?0:h,v="function"===typeof c?c({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),x=G,w=V,S=window;if(u){var k=W(n),A="clientHeight",C="clientWidth";if(k===b(n)&&"static"!==R(k=T(n)).position&&"absolute"===l&&(A="scrollHeight",C="scrollWidth"),o===V||(o===G||o===q)&&i===Y)w=U,m-=(d&&k===S&&S.visualViewport?S.visualViewport.height:k[A])-r.height,m*=s?1:-1;if(o===G||(o===V||o===U)&&i===Y)x=q,p-=(d&&k===S&&S.visualViewport?S.visualViewport.width:k[C])-r.width,p*=s?1:-1}var P,_=Object.assign({position:l},u&&he),O=!0===c?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:E(n*o)/o||0,y:E(r*o)/o||0}}({x:p,y:m},b(n)):{x:p,y:m};return p=O.x,m=O.y,s?Object.assign({},_,((P={})[w]=y?"0":"",P[x]=g?"0":"",P.transform=(S.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",P)):Object.assign({},_,((t={})[w]=y?m+"px":"",t[x]=g?p+"px":"",t.transform="",t))}const ve={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=ne.reduce((function(e,n){return e[n]=function(e,t,n){var r=ce(e),o=[G,V].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[G,q].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,u=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var ge={left:"right",right:"left",bottom:"top",top:"bottom"};function ye(e){return e.replace(/left|right|bottom|top/g,(function(e){return ge[e]}))}var be={start:"end",end:"start"};function xe(e){return e.replace(/start|end/g,(function(e){return be[e]}))}function we(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&S(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Se(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ke(e,t,n){return t===Z?Se(function(e,t){var n=b(e),r=T(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var u=P();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+M(e),y:s}}(e,n)):x(t)?function(e,t){var n=_(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Se(function(e){var t,n=T(e),r=O(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=k(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=k(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+M(e),s=-r.scrollTop;return"rtl"===R(o||n).direction&&(l+=k(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(T(e)))}function Ae(e,t,n,r){var o="clippingParents"===t?function(e){var t=N(F(e)),n=["absolute","fixed"].indexOf(R(e).position)>=0&&w(e)?W(e):e;return x(n)?t.filter((function(e){return x(e)&&we(e,n)&&"body"!==j(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce((function(t,n){var o=ke(e,n,r);return t.top=k(o.top,t.top),t.right=A(o.right,t.right),t.bottom=A(o.bottom,t.bottom),t.left=k(o.left,t.left),t}),ke(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Ee(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ce(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Pe(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?Q:l,u=n.rootBoundary,c=void 0===u?Z:u,d=n.elementContext,f=void 0===d?J:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,v=void 0===m?0:m,g=Ee("number"!==typeof v?v:Ce(v,K)),y=f===J?ee:J,b=e.rects.popper,w=e.elements[h?y:f],S=Ae(x(w)?w:w.contextElement||T(e.elements.popper),s,c,a),k=_(e.elements.reference),A=pe({reference:k,element:b,strategy:"absolute",placement:o}),E=Se(Object.assign({},b,A)),C=f===J?E:k,P={top:S.top-C.top+g.top,bottom:C.bottom-S.bottom+g.bottom,left:S.left-C.left+g.left,right:C.right-S.right+g.right},O=e.modifiersData.offset;if(f===J&&O){var j=O[o];Object.keys(P).forEach((function(e){var t=[q,U].indexOf(e)>=0?1:-1,n=[V,U].indexOf(e)>=0?"y":"x";P[e]+=j[n]*t}))}return P}function _e(e,t,n){return k(e,A(t,n))}const Oe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,v=Pe(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),g=ce(t.placement),y=de(t.placement),b=!y,x=fe(g),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,E=t.rects.reference,C=t.rects.popper,P="function"===typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,_="number"===typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(S){if(i){var T,M="y"===x?V:G,R="y"===x?U:q,L="y"===x?"height":"width",I=S[x],F=I+v[M],z=I-v[R],N=p?-C[L]/2:0,B=y===X?E[L]:C[L],H=y===X?-C[L]:-E[L],$=t.elements.arrow,K=p&&$?D($):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Q=Y[M],Z=Y[R],J=_e(0,E[L],K[L]),ee=b?E[L]/2-N-J-Q-_.mainAxis:B-J-Q-_.mainAxis,te=b?-E[L]/2+N+J+Z+_.mainAxis:H+J+Z+_.mainAxis,ne=t.elements.arrow&&W(t.elements.arrow),re=ne?"y"===x?ne.clientTop||0:ne.clientLeft||0:0,oe=null!=(T=null==O?void 0:O[x])?T:0,ie=I+te-oe,ae=_e(p?A(F,I+ee-oe-re):F,I,p?k(z,ie):z);S[x]=ae,j[x]=ae-I}if(l){var le,se="x"===x?V:G,ue="x"===x?U:q,pe=S[w],he="y"===w?"height":"width",me=pe+v[se],ve=pe-v[ue],ge=-1!==[V,G].indexOf(g),ye=null!=(le=null==O?void 0:O[w])?le:0,be=ge?me:pe-E[he]-C[he]-ye+_.altAxis,xe=ge?pe+E[he]+C[he]-ye-_.altAxis:ve,we=p&&ge?function(e,t,n){var r=_e(e,t,n);return r>n?n:r}(be,pe,xe):_e(p?be:me,pe,p?xe:ve);S[w]=we,j[w]=we-pe}t.modifiersData[r]=j}},requiresIfExists:["offset"]};const je={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=ce(n.placement),s=fe(l),u=[G,q].indexOf(l)>=0?"height":"width";if(i&&a){var c=function(e,t){return Ee("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ce(e,K))}(o.padding,n),d=D(i),f="y"===s?V:G,p="y"===s?U:q,h=n.rects.reference[u]+n.rects.reference[s]-a[s]-n.rects.popper[u],m=a[s]-n.rects.reference[s],v=W(i),g=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=c[f],x=g-d[u]-c[p],w=g/2-d[u]/2+y,S=_e(b,w,x),k=s;n.modifiersData[r]=((t={})[k]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&we(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Te(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Me(e){return[V,q,U,G].some((function(t){return e[t]>=0}))}var Re=se({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=b(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,ue)})),l&&s.addEventListener("resize",n.update,ue),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,ue)})),l&&s.removeEventListener("resize",n.update,ue)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=pe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,u={placement:ce(t.placement),variation:de(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,me(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,me(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})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];w(o)&&j(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});w(r)&&j(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},ve,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=ce(v),y=s||(g===v||!h?[ye(v)]:function(e){if(ce(e)===$)return[];var t=ye(e);return[xe(e),t,xe(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(ce(n)===$?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?ne:s,c=de(r),d=c?l?te:te.filter((function(e){return de(e)===c})):K,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=Pe(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[ce(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,S=new Map,k=!0,A=b[0],E=0;E<b.length;E++){var C=b[E],P=ce(C),_=de(C)===X,O=[V,U].indexOf(P)>=0,j=O?"width":"height",T=Pe(t,{placement:C,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),M=O?_?q:G:_?U:V;x[j]>w[j]&&(M=ye(M));var R=ye(M),L=[];if(i&&L.push(T[P]<=0),l&&L.push(T[M]<=0,T[R]<=0),L.every((function(e){return e}))){A=C,k=!1;break}S.set(C,L)}if(k)for(var I=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return A=t,"break"},D=h?3:1;D>0;D--){if("break"===I(D))break}t.placement!==A&&(t.modifiersData[r]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},Oe,je,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Pe(t,{elementContext:"reference"}),l=Pe(t,{altBoundary:!0}),s=Te(a,r),u=Te(l,o,i),c=Me(s),d=Me(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}),Le=n(5990),Ie=n(2400);const De="base";function Fe(e,t){const n=Ie.li[t];return n?(r=n,"".concat(De,"--").concat(r)):function(e,t){return"".concat(De,"-").concat(e,"-").concat(t)}(e,t);var r}const ze="Popper";function Ne(e){return Fe(ze,e)}!function(e,t){const n={};t.forEach((t=>{n[t]=Fe(e,t)}))}(ze,["root"]);var Be=n(7061),He=n(579);const We={disableDefaultClasses:!1},Ve=i.createContext(We);const Ue=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],qe=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Ge(e){return"function"===typeof e?e():e}function $e(e){return void 0!==e.nodeType}const Ke=()=>(0,s.A)({root:["root"]},function(e){const{disableDefaultClasses:t}=i.useContext(Ve);return n=>t?"":e(n)}(Ne)),Xe={},Ye=i.forwardRef((function(e,t){var n;const{anchorEl:a,children:l,direction:s,disablePortal:u,modifiers:c,open:d,placement:f,popperOptions:p,popperRef:h,slotProps:m={},slots:y={},TransitionProps:b}=e,x=(0,r.A)(e,Ue),w=i.useRef(null),S=(0,v.A)(w,t),k=i.useRef(null),A=(0,v.A)(k,h),E=i.useRef(A);(0,g.A)((()=>{E.current=A}),[A]),i.useImperativeHandle(h,(()=>k.current),[]);const C=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(f,s),[P,_]=i.useState(C),[O,j]=i.useState(Ge(a));i.useEffect((()=>{k.current&&k.current.forceUpdate()})),i.useEffect((()=>{a&&j(Ge(a))}),[a]),(0,g.A)((()=>{if(!O||!d)return;let e=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:e=>{let{state:t}=e;_(t.placement)}}];null!=c&&(e=e.concat(c)),p&&null!=p.modifiers&&(e=e.concat(p.modifiers));const t=Re(O,w.current,(0,o.A)({placement:C},p,{modifiers:e}));return E.current(t),()=>{t.destroy(),E.current(null)}}),[O,u,c,d,p,C]);const T={placement:P};null!==b&&(T.TransitionProps=b);const M=Ke(),R=null!=(n=y.root)?n:"div",L=(0,Be.Q)({elementType:R,externalSlotProps:m.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:S},ownerState:e,className:M.root});return(0,He.jsx)(R,(0,o.A)({},L,{children:"function"===typeof l?l(T):l}))})),Qe=i.forwardRef((function(e,t){const{anchorEl:n,children:a,container:l,direction:s="ltr",disablePortal:u=!1,keepMounted:c=!1,modifiers:d,open:f,placement:p="bottom",popperOptions:h=Xe,popperRef:m,style:v,transition:g=!1,slotProps:b={},slots:x={}}=e,w=(0,r.A)(e,qe),[S,k]=i.useState(!0);if(!c&&!f&&(!g||S))return null;let A;if(l)A=l;else if(n){const e=Ge(n);A=e&&$e(e)?(0,y.A)(e).body:(0,y.A)(null).body}const E=f||!c||g&&!S?void 0:"none",C=g?{in:f,onEnter:()=>{k(!1)},onExited:()=>{k(!0)}}:void 0;return(0,He.jsx)(Le.Z,{disablePortal:u,container:A,children:(0,He.jsx)(Ye,(0,o.A)({anchorEl:n,direction:s,disablePortal:u,modifiers:d,ref:t,open:g?!S:f,placement:p,popperOptions:h,popperRef:m,slotProps:b,slots:x},w,{style:(0,o.A)({position:"fixed",top:0,left:0,display:E},v),TransitionProps:C,children:a}))})}));var Ze=n(7082);const Je=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],et=(0,d.Ay)(Qe,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),tt=i.forwardRef((function(e,t){var n;const i=(0,Ze.A)(),a=(0,p.A)({props:e,name:"MuiPopper"}),{anchorEl:l,component:s,components:u,componentsProps:c,container:d,disablePortal:f,keepMounted:h,modifiers:m,open:v,placement:g,popperOptions:y,popperRef:b,transition:x,slots:w,slotProps:S}=a,k=(0,r.A)(a,Je),A=null!=(n=null==w?void 0:w.root)?n:null==u?void 0:u.Root,E=(0,o.A)({anchorEl:l,container:d,disablePortal:f,keepMounted:h,modifiers:m,open:v,placement:g,popperOptions:y,popperRef:b,transition:x},k);return(0,He.jsx)(et,(0,o.A)({as:s,direction:null==i?void 0:i.direction,slots:{root:A},slotProps:null!=S?S:c},E,{ref:t}))}));var nt=n(3319),rt=n(5849),ot=n(5047),it=n(2191),at=n(5242);function lt(e){return(0,Ie.Ay)("MuiTooltip",e)}const st=(0,n(7056).A)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),ut=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];const ct=(0,d.Ay)(tt,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((e=>{let{theme:t,ownerState:n,open:r}=e;return(0,o.A)({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none"},!n.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},n.arrow&&{['&[data-popper-placement*="bottom"] .'.concat(st.arrow)]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},['&[data-popper-placement*="top"] .'.concat(st.arrow)]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},['&[data-popper-placement*="right"] .'.concat(st.arrow)]:(0,o.A)({},n.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),['&[data-popper-placement*="left"] .'.concat(st.arrow)]:(0,o.A)({},n.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})})),dt=(0,d.Ay)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t["tooltipPlacement".concat((0,h.A)(n.placement.split("-")[0]))]]}})((e=>{let{theme:t,ownerState:n}=e;return(0,o.A)({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:(0,c.X4)(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},n.arrow&&{position:"relative",margin:0},n.touch&&{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:"".concat((r=16/14,Math.round(1e5*r)/1e5),"em"),fontWeight:t.typography.fontWeightRegular},{[".".concat(st.popper,'[data-popper-placement*="left"] &')]:(0,o.A)({transformOrigin:"right center"},n.isRtl?(0,o.A)({marginLeft:"14px"},n.touch&&{marginLeft:"24px"}):(0,o.A)({marginRight:"14px"},n.touch&&{marginRight:"24px"})),[".".concat(st.popper,'[data-popper-placement*="right"] &')]:(0,o.A)({transformOrigin:"left center"},n.isRtl?(0,o.A)({marginRight:"14px"},n.touch&&{marginRight:"24px"}):(0,o.A)({marginLeft:"14px"},n.touch&&{marginLeft:"24px"})),[".".concat(st.popper,'[data-popper-placement*="top"] &')]:(0,o.A)({transformOrigin:"center bottom",marginBottom:"14px"},n.touch&&{marginBottom:"24px"}),[".".concat(st.popper,'[data-popper-placement*="bottom"] &')]:(0,o.A)({transformOrigin:"center top",marginTop:"14px"},n.touch&&{marginTop:"24px"})});var r})),ft=(0,d.Ay)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((e=>{let{theme:t}=e;return{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:(0,c.X4)(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}}));let pt=!1;const ht=new l.E;let mt={x:0,y:0};function vt(e,t){return n=>{t&&t(n),e(n)}}const gt=i.forwardRef((function(e,t){var n,c,d,v,g,y,b,x,w,S,k,A,E,C,P,_,O,j,T;const M=(0,p.A)({props:e,name:"MuiTooltip"}),{arrow:R=!1,children:L,components:I={},componentsProps:D={},describeChild:F=!1,disableFocusListener:z=!1,disableHoverListener:N=!1,disableInteractive:B=!1,disableTouchListener:H=!1,enterDelay:W=100,enterNextDelay:V=0,enterTouchDelay:U=700,followCursor:q=!1,id:G,leaveDelay:$=0,leaveTouchDelay:K=1500,onClose:X,onOpen:Y,open:Q,placement:Z="bottom",PopperComponent:J,PopperProps:ee={},slotProps:te={},slots:ne={},title:re,TransitionComponent:oe=m.A,TransitionProps:ie}=M,ae=(0,r.A)(M,ut),le=i.isValidElement(L)?L:(0,He.jsx)("span",{children:L}),se=(0,f.A)(),ue="rtl"===se.direction,[ce,de]=i.useState(),[fe,pe]=i.useState(null),he=i.useRef(!1),me=B||q,ve=(0,l.A)(),ge=(0,l.A)(),ye=(0,l.A)(),be=(0,l.A)(),[xe,we]=(0,at.A)({controlled:Q,default:!1,name:"Tooltip",state:"open"});let Se=xe;const ke=(0,ot.A)(G),Ae=i.useRef(),Ee=(0,nt.A)((()=>{void 0!==Ae.current&&(document.body.style.WebkitUserSelect=Ae.current,Ae.current=void 0),be.clear()}));i.useEffect((()=>Ee),[Ee]);const Ce=e=>{ht.clear(),pt=!0,we(!0),Y&&!Se&&Y(e)},Pe=(0,nt.A)((e=>{ht.start(800+$,(()=>{pt=!1})),we(!1),X&&Se&&X(e),ve.start(se.transitions.duration.shortest,(()=>{he.current=!1}))})),_e=e=>{he.current&&"touchstart"!==e.type||(ce&&ce.removeAttribute("title"),ge.clear(),ye.clear(),W||pt&&V?ge.start(pt?V:W,(()=>{Ce(e)})):Ce(e))},Oe=e=>{ge.clear(),ye.start($,(()=>{Pe(e)}))},{isFocusVisibleRef:je,onBlur:Te,onFocus:Me,ref:Re}=(0,it.A)(),[,Le]=i.useState(!1),Ie=e=>{Te(e),!1===je.current&&(Le(!1),Oe(e))},De=e=>{ce||de(e.currentTarget),Me(e),!0===je.current&&(Le(!0),_e(e))},Fe=e=>{he.current=!0;const t=le.props;t.onTouchStart&&t.onTouchStart(e)},ze=_e,Ne=Oe,Be=e=>{Fe(e),ye.clear(),ve.clear(),Ee(),Ae.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",be.start(U,(()=>{document.body.style.WebkitUserSelect=Ae.current,_e(e)}))},We=e=>{le.props.onTouchEnd&&le.props.onTouchEnd(e),Ee(),ye.start(K,(()=>{Pe(e)}))};i.useEffect((()=>{if(Se)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||Pe(e)}}),[Pe,Se]);const Ve=(0,rt.A)(le.ref,Re,de,t);re||0===re||(Se=!1);const Ue=i.useRef(),qe={},Ge="string"===typeof re;F?(qe.title=Se||!Ge||N?null:re,qe["aria-describedby"]=Se?ke:null):(qe["aria-label"]=Ge?re:null,qe["aria-labelledby"]=Se&&!Ge?ke:null);const $e=(0,o.A)({},qe,ae,le.props,{className:(0,a.A)(ae.className,le.props.className),onTouchStart:Fe,ref:Ve},q?{onMouseMove:e=>{const t=le.props;t.onMouseMove&&t.onMouseMove(e),mt={x:e.clientX,y:e.clientY},Ue.current&&Ue.current.update()}}:{});const Ke={};H||($e.onTouchStart=Be,$e.onTouchEnd=We),N||($e.onMouseOver=vt(ze,$e.onMouseOver),$e.onMouseLeave=vt(Ne,$e.onMouseLeave),me||(Ke.onMouseOver=ze,Ke.onMouseLeave=Ne)),z||($e.onFocus=vt(De,$e.onFocus),$e.onBlur=vt(Ie,$e.onBlur),me||(Ke.onFocus=De,Ke.onBlur=Ie));const Xe=i.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(fe),options:{element:fe,padding:4}}];return null!=(e=ee.popperOptions)&&e.modifiers&&(t=t.concat(ee.popperOptions.modifiers)),(0,o.A)({},ee.popperOptions,{modifiers:t})}),[fe,ee]),Ye=(0,o.A)({},M,{isRtl:ue,arrow:R,disableInteractive:me,placement:Z,PopperComponentProp:J,touch:he.current}),Qe=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch","tooltipPlacement".concat((0,h.A)(i.split("-")[0]))],arrow:["arrow"]};return(0,s.A)(a,lt,t)})(Ye),Ze=null!=(n=null!=(c=ne.popper)?c:I.Popper)?n:ct,Je=null!=(d=null!=(v=null!=(g=ne.transition)?g:I.Transition)?v:oe)?d:m.A,et=null!=(y=null!=(b=ne.tooltip)?b:I.Tooltip)?y:dt,st=null!=(x=null!=(w=ne.arrow)?w:I.Arrow)?x:ft,gt=(0,u.X)(Ze,(0,o.A)({},ee,null!=(S=te.popper)?S:D.popper,{className:(0,a.A)(Qe.popper,null==ee?void 0:ee.className,null==(k=null!=(A=te.popper)?A:D.popper)?void 0:k.className)}),Ye),yt=(0,u.X)(Je,(0,o.A)({},ie,null!=(E=te.transition)?E:D.transition),Ye),bt=(0,u.X)(et,(0,o.A)({},null!=(C=te.tooltip)?C:D.tooltip,{className:(0,a.A)(Qe.tooltip,null==(P=null!=(_=te.tooltip)?_:D.tooltip)?void 0:P.className)}),Ye),xt=(0,u.X)(st,(0,o.A)({},null!=(O=te.arrow)?O:D.arrow,{className:(0,a.A)(Qe.arrow,null==(j=null!=(T=te.arrow)?T:D.arrow)?void 0:j.className)}),Ye);return(0,He.jsxs)(i.Fragment,{children:[i.cloneElement(le,$e),(0,He.jsx)(Ze,(0,o.A)({as:null!=J?J:tt,placement:Z,anchorEl:q?{getBoundingClientRect:()=>({top:mt.y,left:mt.x,right:mt.x,bottom:mt.y,width:0,height:0})}:ce,popperRef:Ue,open:!!ce&&Se,id:ke,transition:!0},Ke,gt,{popperOptions:Xe,children:e=>{let{TransitionProps:t}=e;return(0,He.jsx)(Je,(0,o.A)({timeout:se.transitions.duration.shorter},t,yt,{children:(0,He.jsxs)(et,(0,o.A)({},bt,{children:[re,R?(0,He.jsx)(st,(0,o.A)({},xt,{ref:pe})):null]}))}))}}))]})})),yt=gt},5881:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case l:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case c:case u:case d:case m:case h:case s:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference")},805:(e,t,n)=>{"use strict";n(5881)},4994:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8168);function o(e,t){return(0,r.A)({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}},2949:(e,t,n)=>{"use strict";n.d(t,{D:()=>M,A:()=>R});var r=n(8168),o=n(8587),i=n(6632),a=n(3216),l=n(8519),s=n(7758),u=n(8812),c=n(4994),d=n(3650);const f={black:"#000",white:"#fff"},p={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},h={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},m={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},v={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},g={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},y={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},b={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},x=["mode","contrastThreshold","tonalOffset"],w={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:f.white,default:f.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},S={text:{primary:f.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:f.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function k(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,d.a)(e.main,o):"dark"===t&&(e.dark=(0,d.e$)(e.main,i)))}function A(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:l=.2}=e,s=(0,o.A)(e,x),u=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[200],light:g[50],dark:g[400]}:{main:g[700],light:g[400],dark:g[800]}}(t),c=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:h[200],light:h[50],dark:h[400]}:{main:h[500],light:h[300],dark:h[700]}}(t),A=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[500],light:m[300],dark:m[700]}:{main:m[700],light:m[400],dark:m[800]}}(t),E=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[400],light:y[300],dark:y[700]}:{main:y[700],light:y[500],dark:y[900]}}(t),C=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:b[800],light:b[500],dark:b[900]}}(t),P=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[400],light:v[300],dark:v[700]}:{main:"#ed6c02",light:v[500],dark:v[900]}}(t);function _(e){return(0,d.eM)(e,S.text.primary)>=n?S.text.primary:w.text.primary}const O=e=>{let{color:t,name:n,mainShade:o=500,lightShade:a=300,darkShade:s=700}=e;if(t=(0,r.A)({},t),!t.main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw new Error((0,i.A)(11,n?" (".concat(n,")"):"",o));if("string"!==typeof t.main)throw new Error((0,i.A)(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return k(t,"light",a,l),k(t,"dark",s,l),t.contrastText||(t.contrastText=_(t.main)),t},j={dark:S,light:w};return(0,a.A)((0,r.A)({common:(0,r.A)({},f),mode:t,primary:O({color:u,name:"primary"}),secondary:O({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:O({color:A,name:"error"}),warning:O({color:P,name:"warning"}),info:O({color:E,name:"info"}),success:O({color:C,name:"success"}),grey:p,contrastThreshold:n,getContrastText:_,augmentColor:O,tonalOffset:l},j[t]),s)}var E=n(137);function C(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}const P=["none",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)];var _=n(4318);const O={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},j=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function T(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{mixins:t={},palette:n={},transitions:d={},typography:f={}}=e,p=(0,o.A)(e,j);if(e.vars)throw new Error((0,i.A)(18));const h=A(n),m=(0,l.A)(e);let v=(0,a.A)(m,{mixins:(0,c.A)(m.breakpoints,t),palette:h,shadows:P.slice(),typography:(0,E.A)(h,f),transitions:(0,_.Ay)(d),zIndex:(0,r.A)({},O)});v=(0,a.A)(v,p);for(var g=arguments.length,y=new Array(g>1?g-1:0),b=1;b<g;b++)y[b-1]=arguments[b];return v=y.reduce(((e,t)=>(0,a.A)(e,t)),v),v.unstable_sxConfig=(0,r.A)({},s.A,null==p?void 0:p.unstable_sxConfig),v.unstable_sx=function(e){return(0,u.A)({sx:e,theme:this})},v}function M(){return T(...arguments)}const R=T},4318:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,cz:()=>a,p0:()=>l});var r=n(8587),o=n(8168);const i=["duration","easing","delay"],a={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},l={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function s(e){return"".concat(Math.round(e),"ms")}function u(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function c(e){const t=(0,o.A)({},a,e.easing),n=(0,o.A)({},l,e.duration);return(0,o.A)({getAutoHeightDuration:u,create:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{duration:a=n.standard,easing:l=t.easeInOut,delay:u=0}=o;(0,r.A)(o,i);return(Array.isArray(e)?e:[e]).map((e=>"".concat(e," ").concat("string"===typeof a?a:s(a)," ").concat(l," ").concat("string"===typeof u?u:s(u)))).join(",")}},e,{easing:t,duration:n})}},137:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(8168),o=n(8587),i=n(3216);const a=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const l={textTransform:"uppercase"},s='"Roboto", "Helvetica", "Arial", sans-serif';function u(e,t){const n="function"===typeof t?t(e):t,{fontFamily:u=s,fontSize:c=14,fontWeightLight:d=300,fontWeightRegular:f=400,fontWeightMedium:p=500,fontWeightBold:h=700,htmlFontSize:m=16,allVariants:v,pxToRem:g}=n,y=(0,o.A)(n,a);const b=c/14,x=g||(e=>"".concat(e/m*b,"rem")),w=(e,t,n,o,i)=>{return(0,r.A)({fontFamily:u,fontWeight:e,fontSize:x(t),lineHeight:n},u===s?{letterSpacing:"".concat((a=o/t,Math.round(1e5*a)/1e5),"em")}:{},i,v);var a},S={h1:w(d,96,1.167,-1.5),h2:w(d,60,1.2,-.5),h3:w(f,48,1.167,0),h4:w(f,34,1.235,.25),h5:w(f,24,1.334,0),h6:w(p,20,1.6,.15),subtitle1:w(f,16,1.75,.15),subtitle2:w(p,14,1.57,.1),body1:w(f,16,1.5,.15),body2:w(f,14,1.43,.15),button:w(p,14,1.75,.4,l),caption:w(f,12,1.66,.4),overline:w(f,12,2.66,1,l),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,i.A)((0,r.A)({htmlFontSize:m,pxToRem:x,fontFamily:u,fontSize:c,fontWeightLight:d,fontWeightRegular:f,fontWeightMedium:p,fontWeightBold:h},S),y,{clone:!1})}},5170:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(2949).A)()},3582:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)}},3375:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="$$material"},4554:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Experimental_CssVarsProvider:()=>Ce,StyledEngineProvider:()=>V,THEME_ID:()=>o.A,ThemeProvider:()=>B,adaptV4Theme:()=>d,alpha:()=>f.X4,createMuiTheme:()=>h.D,createStyles:()=>y,createTheme:()=>h.A,css:()=>p.AH,darken:()=>f.e$,decomposeColor:()=>f.rP,duration:()=>A.p0,easing:()=>A.cz,emphasize:()=>f.tL,experimentalStyled:()=>P.Ay,experimental_extendTheme:()=>Se,experimental_sx:()=>je,getContrastRatio:()=>f.eM,getInitColorSchemeScript:()=>_e,getLuminance:()=>f.J1,getOverlayAlpha:()=>pe.A,hexToRgb:()=>f.E2,hslToRgb:()=>f.YL,keyframes:()=>p.i7,lighten:()=>f.a,makeStyles:()=>U,private_createMixins:()=>Oe.A,private_createTypography:()=>ke.A,private_excludeVariablesFromRoot:()=>Ae,recomposeColor:()=>f.X0,responsiveFontSizes:()=>k,rgbToHex:()=>f.Ob,shouldSkipGeneratingVar:()=>fe,styled:()=>P.Ay,unstable_createMuiStrictModeTheme:()=>v,unstable_getUnit:()=>x,unstable_toUnitless:()=>w,useColorScheme:()=>Pe,useTheme:()=>E.A,useThemeProps:()=>C.A,withStyles:()=>q,withTheme:()=>G});var r=n(6632),o=n(3375),i=n(8168),a=n(8587),l=n(3964),s=n(4853);const u=["defaultProps","mixins","overrides","palette","props","styleOverrides"],c=["type","mode"];function d(e){const{defaultProps:t={},mixins:n={},overrides:r={},palette:o={},props:d={},styleOverrides:f={}}=e,p=(0,a.A)(e,u),h=(0,i.A)({},p,{components:{}});Object.keys(t).forEach((e=>{const n=h.components[e]||{};n.defaultProps=t[e],h.components[e]=n})),Object.keys(d).forEach((e=>{const t=h.components[e]||{};t.defaultProps=d[e],h.components[e]=t})),Object.keys(f).forEach((e=>{const t=h.components[e]||{};t.styleOverrides=f[e],h.components[e]=t})),Object.keys(r).forEach((e=>{const t=h.components[e]||{};t.styleOverrides=r[e],h.components[e]=t})),h.spacing=(0,l.A)(e.spacing);const m=(0,s.A)(e.breakpoints||{}),v=h.spacing;h.mixins=(0,i.A)({gutters:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.A)({paddingLeft:v(2),paddingRight:v(2)},e,{[m.up("sm")]:(0,i.A)({paddingLeft:v(3),paddingRight:v(3)},e[m.up("sm")])})}},n);const{type:g,mode:y}=o,b=(0,a.A)(o,c),x=y||g||"light";return h.palette=(0,i.A)({text:{hint:"dark"===x?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:x,type:x},b),h}var f=n(3650),p=n(3290),h=n(2949),m=n(3216);function v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return(0,h.A)((0,m.A)({unstable_strictMode:!0},e),...n)}let g=!1;function y(e){return g||(console.warn(["MUI: createStyles from @mui/material/styles is deprecated.","Please use @mui/styles/createStyles"].join("\n")),g=!0),e}function b(e){return String(parseFloat(e)).length===String(e).length}function x(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function w(e){return parseFloat(e)}function S(e){let{lineHeight:t,pixels:n,htmlFontSize:r}=e;return n/(t*r)}function k(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{breakpoints:n=["sm","md","lg"],disableAlign:o=!1,factor:a=2,variants:l=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=t,s=(0,i.A)({},e);s.typography=(0,i.A)({},s.typography);const u=s.typography,c=(d=u.htmlFontSize,(e,t)=>{const n=x(e);if(n===t)return e;let r=w(e);"px"!==n&&("em"===n||"rem"===n)&&(r=w(e)*w(d));let o=r;if("px"!==t)if("em"===t)o=r/w(d);else{if("rem"!==t)return e;o=r/w(d)}return parseFloat(o.toFixed(5))+t});var d;const f=n.map((e=>s.breakpoints.values[e]));return l.forEach((e=>{const t=u[e],n=parseFloat(c(t.fontSize,"rem"));if(n<=1)return;const l=n,s=1+(l-1)/a;let{lineHeight:d}=t;if(!b(d)&&!o)throw new Error((0,r.A)(6));b(d)||(d=parseFloat(c(d,"rem"))/parseFloat(n));let p=null;o||(p=e=>function(e){let{size:t,grid:n}=e;const r=t-t%n,o=r+n;return t-r<o-t?r:o}({size:e,grid:S({pixels:4,lineHeight:d,htmlFontSize:u.htmlFontSize})})),u[e]=(0,i.A)({},t,function(e){let{cssProperty:t,min:n,max:r,unit:o="rem",breakpoints:i=[600,900,1200],transform:a=null}=e;const l={[t]:"".concat(n).concat(o)},s=(r-n)/i[i.length-1];return i.forEach((e=>{let r=n+s*e;null!==a&&(r=a(r)),l["@media (min-width:".concat(e,"px)")]={[t]:"".concat(Math.round(1e4*r)/1e4).concat(o)}})),l}({cssProperty:"fontSize",min:s,max:l,unit:"rem",breakpoints:f,transform:p}))})),s}var A=n(4318),E=n(6240),C=n(1070),P=n(6671),_=n(5043);const O=_.createContext(null);function j(){return _.useContext(O)}const T="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var M=n(579);const R=function(e){const{children:t,theme:n}=e,r=j(),o=_.useMemo((()=>{const e=null===r?n:function(e,t){if("function"===typeof t)return t(e);return(0,i.A)({},e,t)}(r,n);return null!=e&&(e[T]=null!==r),e}),[n,r]);return(0,M.jsx)(O.Provider,{value:o,children:t})};var L=n(5025),I=n(7082);const D={};function F(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return _.useMemo((()=>{const o=e&&t[e]||t;if("function"===typeof n){const a=n(o),l=e?(0,i.A)({},t,{[e]:a}):a;return r?()=>l:l}return e?(0,i.A)({},t,{[e]:n}):(0,i.A)({},t,n)}),[e,t,n,r])}const z=function(e){const{children:t,theme:n,themeId:r}=e,o=(0,I.A)(D),i=j()||D,a=F(r,o,n),l=F(r,i,n,!0);return(0,M.jsx)(R,{theme:l,children:(0,M.jsx)(L.T.Provider,{value:a,children:t})})},N=["theme"];function B(e){let{theme:t}=e,n=(0,a.A)(e,N);const r=t[o.A];return(0,M.jsx)(z,(0,i.A)({},n,{themeId:r?o.A:void 0,theme:r||t}))}var H=n(5513);let W;function V(e){const{injectFirst:t,children:n}=e;return t&&W?(0,M.jsx)(L.C,{value:W,children:n}):n}function U(){throw new Error((0,r.A)(14))}function q(){throw new Error((0,r.A)(15))}function G(){throw new Error((0,r.A)(16))}"object"===typeof document&&(W=(0,H.A)({key:"css",prepend:!0}));var $=n(869);const K="mode",X="color-scheme",Y="data-color-scheme";function Q(e){if("undefined"!==typeof window&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function Z(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function J(e,t){if("undefined"===typeof window)return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch(r){}return n||t}function ee(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:a=K,colorSchemeStorageKey:l=X,storageWindow:s=("undefined"===typeof window?void 0:window)}=e,u=o.join(","),[c,d]=_.useState((()=>{const e=J(a,t),o=J("".concat(l,"-light"),n),i=J("".concat(l,"-dark"),r);return{mode:e,systemMode:Q(e),lightColorScheme:o,darkColorScheme:i}})),f=function(e){return Z(e,(t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0))}(c),p=_.useCallback((e=>{d((n=>{if(e===n.mode)return n;const r=e||t;try{localStorage.setItem(a,r)}catch(o){}return(0,i.A)({},n,{mode:r,systemMode:Q(r)})}))}),[a,t]),h=_.useCallback((e=>{e?"string"===typeof e?e&&!u.includes(e)?console.error("`".concat(e,"` does not exist in `theme.colorSchemes`.")):d((t=>{const n=(0,i.A)({},t);return Z(t,(t=>{try{localStorage.setItem("".concat(l,"-").concat(t),e)}catch(r){}"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n})):d((t=>{const o=(0,i.A)({},t),a=null===e.light?n:e.light,s=null===e.dark?r:e.dark;if(a)if(u.includes(a)){o.lightColorScheme=a;try{localStorage.setItem("".concat(l,"-light"),a)}catch(c){}}else console.error("`".concat(a,"` does not exist in `theme.colorSchemes`."));if(s)if(u.includes(s)){o.darkColorScheme=s;try{localStorage.setItem("".concat(l,"-dark"),s)}catch(c){}}else console.error("`".concat(s,"` does not exist in `theme.colorSchemes`."));return o})):d((e=>{try{localStorage.setItem("".concat(l,"-light"),n),localStorage.setItem("".concat(l,"-dark"),r)}catch(t){}return(0,i.A)({},e,{lightColorScheme:n,darkColorScheme:r})}))}),[u,l,n,r]),m=_.useCallback((e=>{"system"===c.mode&&d((t=>(0,i.A)({},t,{systemMode:null!=e&&e.matches?"dark":"light"})))}),[c.mode]),v=_.useRef(m);return v.current=m,_.useEffect((()=>{const e=function(){return v.current(...arguments)},t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>t.removeListener(e)}),[]),_.useEffect((()=>{const e=e=>{const n=e.newValue;"string"!==typeof e.key||!e.key.startsWith(l)||n&&!u.match(n)||(e.key.endsWith("light")&&h({light:n}),e.key.endsWith("dark")&&h({dark:n})),e.key!==a||n&&!["light","dark","system"].includes(n)||p(n||t)};if(s)return s.addEventListener("storage",e),()=>s.removeEventListener("storage",e)}),[h,p,a,l,u,t,s]),(0,i.A)({},c,{colorScheme:f,setMode:p,setColorScheme:h})}const te=["colorSchemes","components","generateCssVars","cssVarPrefix"];var ne=n(8812);function re(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";function t(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];if(!r.length)return"";const i=r[0];return"string"!==typeof i||i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?", ".concat(i):", var(--".concat(e?"".concat(e,"-"):"").concat(i).concat(t(...r.slice(1)),")")}return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return"var(--".concat(e?"".concat(e,"-"):"").concat(n).concat(t(...o),")")}}const oe=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=e;t.forEach(((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"===typeof o&&(o[e]=n):o&&"object"===typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])}))},ie=(e,t,n)=>{!function e(r){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];Object.entries(r).forEach((r=>{let[a,l]=r;(!n||n&&!n([...o,a]))&&void 0!==l&&null!==l&&("object"===typeof l&&Object.keys(l).length>0?e(l,[...o,a],Array.isArray(l)?[...i,a]:i):t([...o,a],l,i))}))}(e)},ae=(e,t)=>{if("number"===typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t))))return t;return e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:"".concat(t,"px")}return t};function le(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return ie(e,((e,t,l)=>{if(("string"===typeof t||"number"===typeof t)&&(!r||!r(e,t))){const r="--".concat(n?"".concat(n,"-"):"").concat(e.join("-"));Object.assign(o,{[r]:ae(e,t)}),oe(i,e,"var(".concat(r,")"),l),oe(a,e,"var(".concat(r,", ").concat(t,")"),l)}}),(e=>"vars"===e[0])),{css:o,vars:i,varsWithDefaults:a}}const se=["colorSchemes","components"],ue=["light"];const ce=function(e,t){const{colorSchemes:n={}}=e,r=(0,a.A)(e,se),{vars:o,css:l,varsWithDefaults:s}=le(r,t);let u=s;const c={},{light:d}=n,f=(0,a.A)(n,ue);if(Object.entries(f||{}).forEach((e=>{let[n,r]=e;const{vars:o,css:i,varsWithDefaults:a}=le(r,t);u=(0,m.A)(u,a),c[n]={css:i,vars:o}})),d){const{css:e,vars:n,varsWithDefaults:r}=le(d,t);u=(0,m.A)(u,r),c.light={css:e,vars:n}}return{vars:u,generateCssVars:e=>e?{css:(0,i.A)({},c[e].css),vars:c[e].vars}:{css:(0,i.A)({},l),vars:o}}};var de=n(7758);function fe(e){var t;return!!e[0].match(/(cssVarPrefix|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!(null==(t=e[1])||!t.match(/(mode|contrastThreshold|tonalOffset)/))}var pe=n(3582);const he=["colorSchemes","cssVarPrefix","shouldSkipGeneratingVar"],me=["palette"],ve=[...Array(25)].map(((e,t)=>{if(0===t)return;const n=(0,pe.A)(t);return"linear-gradient(rgba(255 255 255 / ".concat(n,"), rgba(255 255 255 / ").concat(n,"))")}));function ge(e,t,n){!e[t]&&n&&(e[t]=n)}function ye(e){return e&&e.startsWith("hsl")?(0,f.YL)(e):e}function be(e,t){"".concat(t,"Channel")in e||(e["".concat(t,"Channel")]=(0,f.Me)(ye(e[t]),"MUI: Can't create `palette.".concat(t,"Channel` because `palette.").concat(t,"` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().")+"\n"+"To suppress this warning, you need to explicitly provide the `palette.".concat(t,'Channel` as a string (in rgb format, e.g. "12 12 12") or undefined if you want to remove the channel token.')))}const xe=e=>{try{return e()}catch(t){}},we=function(){return re(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mui")};function Se(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t,n,r,o,l,s;const{colorSchemes:u={},cssVarPrefix:c="mui",shouldSkipGeneratingVar:d=fe}=e,p=(0,a.A)(e,he),v=we(c),g=(0,h.A)((0,i.A)({},p,u.light&&{palette:null==(t=u.light)?void 0:t.palette})),{palette:y}=g,b=(0,a.A)(g,me),{palette:x}=(0,h.A)({palette:(0,i.A)({mode:"dark"},null==(n=u.dark)?void 0:n.palette)});let w=(0,i.A)({},b,{cssVarPrefix:c,getCssVar:v,colorSchemes:(0,i.A)({},u,{light:(0,i.A)({},u.light,{palette:y,opacity:(0,i.A)({inputPlaceholder:.42,inputUnderline:.42,switchTrackDisabled:.12,switchTrack:.38},null==(r=u.light)?void 0:r.opacity),overlays:(null==(o=u.light)?void 0:o.overlays)||[]}),dark:(0,i.A)({},u.dark,{palette:x,opacity:(0,i.A)({inputPlaceholder:.5,inputUnderline:.7,switchTrackDisabled:.2,switchTrack:.3},null==(l=u.dark)?void 0:l.opacity),overlays:(null==(s=u.dark)?void 0:s.overlays)||ve})})});Object.keys(w.colorSchemes).forEach((e=>{const t=w.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],o=n[2];return v(e,t[r][o])};var r;if("light"===e?(ge(t.common,"background","#fff"),ge(t.common,"onBackground","#000")):(ge(t.common,"background","#000"),ge(t.common,"onBackground","#fff")),r=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach((e=>{r[e]||(r[e]={})})),"light"===e){ge(t.Alert,"errorColor",(0,f.Nd)(t.error.light,.6)),ge(t.Alert,"infoColor",(0,f.Nd)(t.info.light,.6)),ge(t.Alert,"successColor",(0,f.Nd)(t.success.light,.6)),ge(t.Alert,"warningColor",(0,f.Nd)(t.warning.light,.6)),ge(t.Alert,"errorFilledBg",n("palette-error-main")),ge(t.Alert,"infoFilledBg",n("palette-info-main")),ge(t.Alert,"successFilledBg",n("palette-success-main")),ge(t.Alert,"warningFilledBg",n("palette-warning-main")),ge(t.Alert,"errorFilledColor",xe((()=>y.getContrastText(t.error.main)))),ge(t.Alert,"infoFilledColor",xe((()=>y.getContrastText(t.info.main)))),ge(t.Alert,"successFilledColor",xe((()=>y.getContrastText(t.success.main)))),ge(t.Alert,"warningFilledColor",xe((()=>y.getContrastText(t.warning.main)))),ge(t.Alert,"errorStandardBg",(0,f.j4)(t.error.light,.9)),ge(t.Alert,"infoStandardBg",(0,f.j4)(t.info.light,.9)),ge(t.Alert,"successStandardBg",(0,f.j4)(t.success.light,.9)),ge(t.Alert,"warningStandardBg",(0,f.j4)(t.warning.light,.9)),ge(t.Alert,"errorIconColor",n("palette-error-main")),ge(t.Alert,"infoIconColor",n("palette-info-main")),ge(t.Alert,"successIconColor",n("palette-success-main")),ge(t.Alert,"warningIconColor",n("palette-warning-main")),ge(t.AppBar,"defaultBg",n("palette-grey-100")),ge(t.Avatar,"defaultBg",n("palette-grey-400")),ge(t.Button,"inheritContainedBg",n("palette-grey-300")),ge(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),ge(t.Chip,"defaultBorder",n("palette-grey-400")),ge(t.Chip,"defaultAvatarColor",n("palette-grey-700")),ge(t.Chip,"defaultIconColor",n("palette-grey-700")),ge(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ge(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ge(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ge(t.LinearProgress,"primaryBg",(0,f.j4)(t.primary.main,.62)),ge(t.LinearProgress,"secondaryBg",(0,f.j4)(t.secondary.main,.62)),ge(t.LinearProgress,"errorBg",(0,f.j4)(t.error.main,.62)),ge(t.LinearProgress,"infoBg",(0,f.j4)(t.info.main,.62)),ge(t.LinearProgress,"successBg",(0,f.j4)(t.success.main,.62)),ge(t.LinearProgress,"warningBg",(0,f.j4)(t.warning.main,.62)),ge(t.Skeleton,"bg","rgba(".concat(n("palette-text-primaryChannel")," / 0.11)")),ge(t.Slider,"primaryTrack",(0,f.j4)(t.primary.main,.62)),ge(t.Slider,"secondaryTrack",(0,f.j4)(t.secondary.main,.62)),ge(t.Slider,"errorTrack",(0,f.j4)(t.error.main,.62)),ge(t.Slider,"infoTrack",(0,f.j4)(t.info.main,.62)),ge(t.Slider,"successTrack",(0,f.j4)(t.success.main,.62)),ge(t.Slider,"warningTrack",(0,f.j4)(t.warning.main,.62));const e=(0,f.Y9)(t.background.default,.8);ge(t.SnackbarContent,"bg",e),ge(t.SnackbarContent,"color",xe((()=>y.getContrastText(e)))),ge(t.SpeedDialAction,"fabHoverBg",(0,f.Y9)(t.background.paper,.15)),ge(t.StepConnector,"border",n("palette-grey-400")),ge(t.StepContent,"border",n("palette-grey-400")),ge(t.Switch,"defaultColor",n("palette-common-white")),ge(t.Switch,"defaultDisabledColor",n("palette-grey-100")),ge(t.Switch,"primaryDisabledColor",(0,f.j4)(t.primary.main,.62)),ge(t.Switch,"secondaryDisabledColor",(0,f.j4)(t.secondary.main,.62)),ge(t.Switch,"errorDisabledColor",(0,f.j4)(t.error.main,.62)),ge(t.Switch,"infoDisabledColor",(0,f.j4)(t.info.main,.62)),ge(t.Switch,"successDisabledColor",(0,f.j4)(t.success.main,.62)),ge(t.Switch,"warningDisabledColor",(0,f.j4)(t.warning.main,.62)),ge(t.TableCell,"border",(0,f.j4)((0,f.Cg)(t.divider,1),.88)),ge(t.Tooltip,"bg",(0,f.Cg)(t.grey[700],.92))}else{ge(t.Alert,"errorColor",(0,f.j4)(t.error.light,.6)),ge(t.Alert,"infoColor",(0,f.j4)(t.info.light,.6)),ge(t.Alert,"successColor",(0,f.j4)(t.success.light,.6)),ge(t.Alert,"warningColor",(0,f.j4)(t.warning.light,.6)),ge(t.Alert,"errorFilledBg",n("palette-error-dark")),ge(t.Alert,"infoFilledBg",n("palette-info-dark")),ge(t.Alert,"successFilledBg",n("palette-success-dark")),ge(t.Alert,"warningFilledBg",n("palette-warning-dark")),ge(t.Alert,"errorFilledColor",xe((()=>x.getContrastText(t.error.dark)))),ge(t.Alert,"infoFilledColor",xe((()=>x.getContrastText(t.info.dark)))),ge(t.Alert,"successFilledColor",xe((()=>x.getContrastText(t.success.dark)))),ge(t.Alert,"warningFilledColor",xe((()=>x.getContrastText(t.warning.dark)))),ge(t.Alert,"errorStandardBg",(0,f.Nd)(t.error.light,.9)),ge(t.Alert,"infoStandardBg",(0,f.Nd)(t.info.light,.9)),ge(t.Alert,"successStandardBg",(0,f.Nd)(t.success.light,.9)),ge(t.Alert,"warningStandardBg",(0,f.Nd)(t.warning.light,.9)),ge(t.Alert,"errorIconColor",n("palette-error-main")),ge(t.Alert,"infoIconColor",n("palette-info-main")),ge(t.Alert,"successIconColor",n("palette-success-main")),ge(t.Alert,"warningIconColor",n("palette-warning-main")),ge(t.AppBar,"defaultBg",n("palette-grey-900")),ge(t.AppBar,"darkBg",n("palette-background-paper")),ge(t.AppBar,"darkColor",n("palette-text-primary")),ge(t.Avatar,"defaultBg",n("palette-grey-600")),ge(t.Button,"inheritContainedBg",n("palette-grey-800")),ge(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),ge(t.Chip,"defaultBorder",n("palette-grey-700")),ge(t.Chip,"defaultAvatarColor",n("palette-grey-300")),ge(t.Chip,"defaultIconColor",n("palette-grey-300")),ge(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ge(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ge(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ge(t.LinearProgress,"primaryBg",(0,f.Nd)(t.primary.main,.5)),ge(t.LinearProgress,"secondaryBg",(0,f.Nd)(t.secondary.main,.5)),ge(t.LinearProgress,"errorBg",(0,f.Nd)(t.error.main,.5)),ge(t.LinearProgress,"infoBg",(0,f.Nd)(t.info.main,.5)),ge(t.LinearProgress,"successBg",(0,f.Nd)(t.success.main,.5)),ge(t.LinearProgress,"warningBg",(0,f.Nd)(t.warning.main,.5)),ge(t.Skeleton,"bg","rgba(".concat(n("palette-text-primaryChannel")," / 0.13)")),ge(t.Slider,"primaryTrack",(0,f.Nd)(t.primary.main,.5)),ge(t.Slider,"secondaryTrack",(0,f.Nd)(t.secondary.main,.5)),ge(t.Slider,"errorTrack",(0,f.Nd)(t.error.main,.5)),ge(t.Slider,"infoTrack",(0,f.Nd)(t.info.main,.5)),ge(t.Slider,"successTrack",(0,f.Nd)(t.success.main,.5)),ge(t.Slider,"warningTrack",(0,f.Nd)(t.warning.main,.5));const e=(0,f.Y9)(t.background.default,.98);ge(t.SnackbarContent,"bg",e),ge(t.SnackbarContent,"color",xe((()=>x.getContrastText(e)))),ge(t.SpeedDialAction,"fabHoverBg",(0,f.Y9)(t.background.paper,.15)),ge(t.StepConnector,"border",n("palette-grey-600")),ge(t.StepContent,"border",n("palette-grey-600")),ge(t.Switch,"defaultColor",n("palette-grey-300")),ge(t.Switch,"defaultDisabledColor",n("palette-grey-600")),ge(t.Switch,"primaryDisabledColor",(0,f.Nd)(t.primary.main,.55)),ge(t.Switch,"secondaryDisabledColor",(0,f.Nd)(t.secondary.main,.55)),ge(t.Switch,"errorDisabledColor",(0,f.Nd)(t.error.main,.55)),ge(t.Switch,"infoDisabledColor",(0,f.Nd)(t.info.main,.55)),ge(t.Switch,"successDisabledColor",(0,f.Nd)(t.success.main,.55)),ge(t.Switch,"warningDisabledColor",(0,f.Nd)(t.warning.main,.55)),ge(t.TableCell,"border",(0,f.Nd)((0,f.Cg)(t.divider,1),.68)),ge(t.Tooltip,"bg",(0,f.Cg)(t.grey[700],.92))}be(t.background,"default"),be(t.common,"background"),be(t.common,"onBackground"),be(t,"divider"),Object.keys(t).forEach((e=>{const n=t[e];n&&"object"===typeof n&&(n.main&&ge(t[e],"mainChannel",(0,f.Me)(ye(n.main))),n.light&&ge(t[e],"lightChannel",(0,f.Me)(ye(n.light))),n.dark&&ge(t[e],"darkChannel",(0,f.Me)(ye(n.dark))),n.contrastText&&ge(t[e],"contrastTextChannel",(0,f.Me)(ye(n.contrastText))),"text"===e&&(be(t[e],"primary"),be(t[e],"secondary")),"action"===e&&(n.active&&be(t[e],"active"),n.selected&&be(t[e],"selected")))}))}));for(var S=arguments.length,k=new Array(S>1?S-1:0),A=1;A<S;A++)k[A-1]=arguments[A];w=k.reduce(((e,t)=>(0,m.A)(e,t)),w);const E={prefix:c,shouldSkipGeneratingVar:d},{vars:C,generateCssVars:P}=ce(w,E);return w.vars=C,w.generateCssVars=P,w.shouldSkipGeneratingVar=d,w.unstable_sxConfig=(0,i.A)({},de.A,null==p?void 0:p.unstable_sxConfig),w.unstable_sx=function(e){return(0,ne.A)({sx:e,theme:this})},w}var ke=n(137);const Ae=e=>[...[...Array(24)].map(((t,n)=>"--".concat(e?"".concat(e,"-"):"","overlays-").concat(n+1))),"--".concat(e?"".concat(e,"-"):"","palette-AppBar-darkBg"),"--".concat(e?"".concat(e,"-"):"","palette-AppBar-darkColor")],Ee=Se(),{CssVarsProvider:Ce,useColorScheme:Pe,getInitColorSchemeScript:_e}=function(e){const{themeId:t,theme:n={},attribute:o=Y,modeStorageKey:l=K,colorSchemeStorageKey:s=X,defaultMode:u="light",defaultColorScheme:c,disableTransitionOnChange:d=!1,resolveTheme:f,excludeVariablesFromRoot:p}=e;(!n.colorSchemes||"string"===typeof c&&!n.colorSchemes[c]||"object"===typeof c&&!n.colorSchemes[null==c?void 0:c.light]||"object"===typeof c&&!n.colorSchemes[null==c?void 0:c.dark])&&console.error("MUI: `".concat(c,"` does not exist in `theme.colorSchemes`."));const h=_.createContext(void 0),v="string"===typeof c?c:c.light,g="string"===typeof c?c:c.dark;return{CssVarsProvider:function(e){let{children:r,theme:v=n,modeStorageKey:g=l,colorSchemeStorageKey:y=s,attribute:b=o,defaultMode:x=u,defaultColorScheme:w=c,disableTransitionOnChange:S=d,storageWindow:k=("undefined"===typeof window?void 0:window),documentNode:A=("undefined"===typeof document?void 0:document),colorSchemeNode:E=("undefined"===typeof document?void 0:document.documentElement),colorSchemeSelector:C=":root",disableNestedContext:P=!1,disableStyleSheetGeneration:O=!1}=e;const T=_.useRef(!1),R=j(),L=_.useContext(h),I=!!L&&!P,D=v[t],F=D||v,{colorSchemes:N={},components:B={},generateCssVars:H=(()=>({vars:{},css:{}})),cssVarPrefix:W}=F,V=(0,a.A)(F,te),U=Object.keys(N),q="string"===typeof w?w:w.light,G="string"===typeof w?w:w.dark,{mode:K,setMode:X,systemMode:Y,lightColorScheme:Q,darkColorScheme:Z,colorScheme:J,setColorScheme:ne}=ee({supportedColorSchemes:U,defaultLightColorScheme:q,defaultDarkColorScheme:G,modeStorageKey:g,colorSchemeStorageKey:y,defaultMode:x,storageWindow:k});let re=K,oe=J;I&&(re=L.mode,oe=L.colorScheme);const ie=oe||("dark"===(re||("system"===x?u:x))?G:q),{css:ae,vars:le}=H(),se=(0,i.A)({},V,{components:B,colorSchemes:N,cssVarPrefix:W,vars:le,getColorSchemeSelector:e=>"[".concat(b,'="').concat(e,'"] &')}),ue={},ce={};Object.entries(N).forEach((e=>{let[t,n]=e;const{css:r,vars:o}=H(t);se.vars=(0,m.A)(se.vars,o),t===ie&&(Object.keys(n).forEach((e=>{n[e]&&"object"===typeof n[e]?se[e]=(0,i.A)({},se[e],n[e]):se[e]=n[e]})),se.palette&&(se.palette.colorScheme=t));if(t===("string"===typeof w?w:"dark"===x?w.dark:w.light)){if(p){const e={};p(W).forEach((t=>{e[t]=r[t],delete r[t]})),ue["[".concat(b,'="').concat(t,'"]')]=e}ue["".concat(C,", [").concat(b,'="').concat(t,'"]')]=r}else ce["".concat(":root"===C?"":C,"[").concat(b,'="').concat(t,'"]')]=r})),se.vars=(0,m.A)(se.vars,le),_.useEffect((()=>{oe&&E&&E.setAttribute(b,oe)}),[oe,b,E]),_.useEffect((()=>{let e;if(S&&T.current&&A){const t=A.createElement("style");t.appendChild(A.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),A.head.appendChild(t),window.getComputedStyle(A.body),e=setTimeout((()=>{A.head.removeChild(t)}),1)}return()=>{clearTimeout(e)}}),[oe,S,A]),_.useEffect((()=>(T.current=!0,()=>{T.current=!1})),[]);const de=_.useMemo((()=>({mode:re,systemMode:Y,setMode:X,lightColorScheme:Q,darkColorScheme:Z,colorScheme:oe,setColorScheme:ne,allColorSchemes:U})),[U,oe,Z,Q,re,ne,X,Y]);let fe=!0;(O||I&&(null==R?void 0:R.cssVarPrefix)===W)&&(fe=!1);const pe=(0,M.jsxs)(_.Fragment,{children:[fe&&(0,M.jsxs)(_.Fragment,{children:[(0,M.jsx)($.A,{styles:{[C]:ae}}),(0,M.jsx)($.A,{styles:ue}),(0,M.jsx)($.A,{styles:ce})]}),(0,M.jsx)(z,{themeId:D?t:void 0,theme:f?f(se):se,children:r})]});return I?pe:(0,M.jsx)(h.Provider,{value:de,children:pe})},useColorScheme:()=>{const e=_.useContext(h);if(!e)throw new Error((0,r.A)(19));return e},getInitColorSchemeScript:e=>function(e){const{defaultMode:t="light",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=K,colorSchemeStorageKey:i=X,attribute:a=Y,colorSchemeNode:l="document.documentElement"}=e||{};return(0,M.jsx)("script",{dangerouslySetInnerHTML:{__html:"(function() {\ntry {\n var mode = localStorage.getItem('".concat(o,"') || '").concat(t,"';\n var colorScheme = '';\n if (mode === 'system') {\n // handle system mode\n var mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = localStorage.getItem('").concat(i,"-dark') || '").concat(r,"';\n } else {\n colorScheme = localStorage.getItem('").concat(i,"-light') || '").concat(n,"';\n }\n }\n if (mode === 'light') {\n colorScheme = localStorage.getItem('").concat(i,"-light') || '").concat(n,"';\n }\n if (mode === 'dark') {\n colorScheme = localStorage.getItem('").concat(i,"-dark') || '").concat(r,"';\n }\n if (colorScheme) {\n ").concat(l,".setAttribute('").concat(a,"', colorScheme);\n }\n} catch(e){}})();")}},"mui-color-scheme-init")}((0,i.A)({attribute:o,colorSchemeStorageKey:s,defaultMode:u,defaultLightColorScheme:v,defaultDarkColorScheme:g,modeStorageKey:l},e))}}({themeId:o.A,theme:Ee,attribute:"data-mui-color-scheme",modeStorageKey:"mui-mode",colorSchemeStorageKey:"mui-color-scheme",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:e=>{const t=(0,i.A)({},e,{typography:(0,ke.A)(e.palette,e.typography)});return t.unstable_sx=function(e){return(0,ne.A)({sx:e,theme:this})},t},excludeVariablesFromRoot:Ae});var Oe=n(4994);function je(){throw new Error((0,r.A)(20))}},6671:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>I,ep:()=>R});var r=n(8168),o=n(8587),i=n(5043),a=n(918),l=/^((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)-.*))$/,s=(0,a.A)((function(e){return l.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),u=n(5025),c=n(1722),d=n(2830),f=n(9436),p=s,h=function(e){return"theme"!==e},m=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?p:h},v=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},g=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,c.SF)(t,n,r),(0,f.s)((function(){return(0,c.sk)(t,n,r)})),null},y=function e(t,n){var o,a,l=t.__emotion_real===t,s=l&&t.__emotion_base||t;void 0!==n&&(o=n.label,a=n.target);var f=v(t,n,l),p=f||m(s),h=!p("as");return function(){var y=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&b.push("label:"+o+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{0,b.push(y[0][0]);for(var x=y.length,w=1;w<x;w++)b.push(y[w],y[0][w])}var S=(0,u.w)((function(e,t,n){var r=h&&e.as||s,o="",l=[],v=e;if(null==e.theme){for(var y in v={},e)v[y]=e[y];v.theme=i.useContext(u.T)}"string"===typeof e.className?o=(0,c.Rk)(t.registered,l,e.className):null!=e.className&&(o=e.className+" ");var x=(0,d.J)(b.concat(l),t.registered,v);o+=t.key+"-"+x.name,void 0!==a&&(o+=" "+a);var w=h&&void 0===f?m(r):p,S={};for(var k in e)h&&"as"===k||w(k)&&(S[k]=e[k]);return S.className=o,S.ref=n,i.createElement(i.Fragment,null,i.createElement(g,{cache:t,serialized:x,isStringTag:"string"===typeof r}),i.createElement(r,S))}));return S.displayName=void 0!==o?o:"Styled("+("string"===typeof s?s:s.displayName||s.name||"Component")+")",S.defaultProps=t.defaultProps,S.__emotion_real=S,S.__emotion_base=s,S.__emotion_styles=b,S.__emotion_forwardProp=f,Object.defineProperty(S,"toString",{value:function(){return"."+a}}),S.withComponent=function(t,o){return e(t,(0,r.A)({},n,o,{shouldForwardProp:v(S,o,!0)})).apply(void 0,b)},S}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){y[e]=y(e)}));var b=n(3216),x=n(8519),w=n(8812);const S=["ownerState"],k=["variants"],A=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function E(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const C=(0,x.A)(),P=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function _(e){let{defaultTheme:t,theme:n,themeId:r}=e;return o=n,0===Object.keys(o).length?t:n[r]||n;var o}function O(e){return e?(t,n)=>n[e]:null}function j(e,t){let{ownerState:n}=t,i=(0,o.A)(t,S);const a="function"===typeof e?e((0,r.A)({ownerState:n},i)):e;if(Array.isArray(a))return a.flatMap((e=>j(e,(0,r.A)({ownerState:n},i))));if(a&&"object"===typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,o.A)(a,k);return e.forEach((e=>{let o=!0;"function"===typeof e.props?o=e.props((0,r.A)({ownerState:n},i)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&i[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"===typeof e.style?e.style((0,r.A)({ownerState:n},i)):e.style))})),t}return a}var T=n(5170),M=n(3375);const R=e=>E(e)&&"classes"!==e,L=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:n=C,rootShouldForwardProp:i=E,slotShouldForwardProp:a=E}=e,l=e=>(0,w.A)((0,r.A)({},e,{theme:_((0,r.A)({},e,{defaultTheme:n,themeId:t}))}));return l.__mui_systemSx=!0,function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:u,slot:c,skipVariantsResolver:d,skipSx:f,overridesResolver:p=O(P(c))}=s,h=(0,o.A)(s,A),m=void 0!==d?d:c&&"Root"!==c&&"root"!==c||!1,v=f||!1;let g=E;"Root"===c||"root"===c?g=i:c?g=a:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(g=void 0);const x=function(e,t){return y(e,t)}(e,(0,r.A)({shouldForwardProp:g,label:undefined},h)),w=e=>"function"===typeof e&&e.__emotion_real!==e||(0,b.Q)(e)?o=>j(e,(0,r.A)({},o,{theme:_({theme:o.theme,defaultTheme:n,themeId:t})})):e,S=function(o){let i=w(o);for(var a=arguments.length,s=new Array(a>1?a-1:0),c=1;c<a;c++)s[c-1]=arguments[c];const d=s?s.map(w):[];u&&p&&d.push((e=>{const o=_((0,r.A)({},e,{defaultTheme:n,themeId:t}));if(!o.components||!o.components[u]||!o.components[u].styleOverrides)return null;const i=o.components[u].styleOverrides,a={};return Object.entries(i).forEach((t=>{let[n,i]=t;a[n]=j(i,(0,r.A)({},e,{theme:o}))})),p(e,a)})),u&&!m&&d.push((e=>{var o;const i=_((0,r.A)({},e,{defaultTheme:n,themeId:t}));return j({variants:null==i||null==(o=i.components)||null==(o=o[u])?void 0:o.variants},(0,r.A)({},e,{theme:i}))})),v||d.push(l);const f=d.length-s.length;if(Array.isArray(o)&&f>0){const e=new Array(f).fill("");i=[...o,...e],i.raw=[...o.raw,...e]}const h=x(i,...d);return e.muiName&&(h.muiName=e.muiName),h};return x.withConfig&&(S.withConfig=x.withConfig),S}}({themeId:M.A,defaultTheme:T.A,rootShouldForwardProp:R}),I=L},6240:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(5043);var r=n(5527),o=n(5170),i=n(3375);function a(){const e=(0,r.A)(o.A);return e[i.A]||e}},1070:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(2018);var o=n(5527);function i(e){let{props:t,name:n,defaultTheme:i,themeId:a}=e,l=(0,o.A)(i);a&&(l=l[a]||l);const s=function(e){const{theme:t,name:n,props:o}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.A)(t.components[n].defaultProps,o):o}({theme:l,name:n,props:t});return s}var a=n(5170),l=n(3375);function s(e){let{props:t,name:n}=e;return i({props:t,name:n,defaultTheme:a.A,themeId:l.A})}},653:(e,t,n)=>{"use strict";n.d(t,{c:()=>o,q:()=>r});const r=e=>e.scrollTop;function o(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"===typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"===typeof i?i[t.mode]:i,delay:a.transitionDelay}}},6803:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(410).A},7220:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];clearTimeout(t),t=setTimeout((()=>{e.apply(this,o)}),n)}return r.clear=()=>{clearTimeout(t)},r}},8167:(e,t,n)=>{"use strict";n.r(t),n.d(t,{capitalize:()=>o.A,createChainedFunction:()=>i,createSvgIcon:()=>c,debounce:()=>d.A,deprecatedPropType:()=>f,isMuiElement:()=>p,ownerDocument:()=>h.A,ownerWindow:()=>m.A,requirePropFactory:()=>v,setRef:()=>g,unstable_ClassNameGenerator:()=>E,unstable_useEnhancedEffect:()=>y.A,unstable_useId:()=>b.A,unsupportedProp:()=>x,useControlled:()=>w.A,useEventCallback:()=>S.A,useForkRef:()=>k.A,useIsFocusVisible:()=>A.A});var r=n(5430),o=n(6803);const i=n(4708).A;var a=n(8168),l=n(5043),s=n(2472),u=n(579);function c(e,t){function n(n,r){return(0,u.jsx)(s.A,(0,a.A)({"data-testid":"".concat(t,"Icon"),ref:r},n,{children:e}))}return n.muiName=s.A.muiName,l.memo(l.forwardRef(n))}var d=n(7220);const f=function(e,t){return()=>null};const p=function(e,t){var n,r;return l.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(r=e.type)||null==(r=r._payload)||null==(r=r.value)?void 0:r.muiName)};var h=n(2427),m=n(6078);const v=function(e,t){return()=>null};const g=n(9184).A;var y=n(5013),b=n(5047);const x=function(e,t,n,r,o){return null};var w=n(5242),S=n(3319),k=n(5849),A=n(2191);const E={configure:e=>{r.A.configure(e)}}},2427:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(2144).A},6078:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(6288).A},5242:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(5043);const o=function(e){let{controlled:t,default:n,name:o,state:i="value"}=e;const{current:a}=r.useRef(void 0!==t),[l,s]=r.useState(n);return[a?t:l,r.useCallback((e=>{a||s(e)}),[])]}},5013:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(3844).A},3319:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(4626).A},5849:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(7042).A},5047:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(5043);let o=0;const i=n.t(r,2)["useId".toString()];const a=function(e){if(void 0!==i){const t=i();return null!=e?e:t}return function(e){const[t,n]=r.useState(e),i=e||t;return r.useEffect((()=>{null==t&&(o+=1,n("mui-".concat(o)))}),[t]),i}(e)}},2191:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(5043),o=n(1140);let i=!0,a=!1;const l=new o.E,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function u(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function d(){"hidden"===this.visibilityState&&a&&(i=!0)}function f(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!s[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}const p=function(){const e=r.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",u,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",d,!0))}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!f(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,l.start(100,(()=>{a=!1})),t.current=!1,!0)},ref:e}}},869:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});n(5043);var r=n(3290),o=n(579);function i(e){const{styles:t,defaultTheme:n={}}=e,i="function"===typeof t?e=>{return t(void 0===(r=e)||null===r||0===Object.keys(r).length?n:e);var r}:t;return(0,o.jsx)(r.mL,{styles:i})}},9751:(e,t,n)=>{"use strict";n.d(t,{EU:()=>a,NI:()=>i,vf:()=>l,zu:()=>r});const r={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>"@media (min-width:".concat(r[e],"px)")};function i(e,t,n){const i=e.theme||{};if(Array.isArray(t)){const e=i.breakpoints||o;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"===typeof t){const e=i.breakpoints||o;return Object.keys(t).reduce(((o,i)=>{if(-1!==Object.keys(e.values||r).indexOf(i)){o[e.up(i)]=n(t[i],i)}else{const e=i;o[e]=t[e]}return o}),{})}return n(t)}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function l(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}},3650:(e,t,n)=>{"use strict";n.d(t,{X4:()=>h,e$:()=>v,rP:()=>l,tL:()=>x,eM:()=>p,J1:()=>f,E2:()=>a,YL:()=>d,a:()=>y,Cg:()=>m,Me:()=>s,Nd:()=>g,Y9:()=>w,j4:()=>b,X0:()=>u,Ob:()=>c});var r=n(6632);const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MIN_SAFE_INTEGER,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.MAX_SAFE_INTEGER;return Math.max(t,Math.min(e,n))};function i(e){return o(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:1)}function a(e){e=e.slice(1);const t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", "),")"):""}function l(e){if(e.type)return e;if("#"===e.charAt(0))return l(a(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.A)(9,e));let o,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),o=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.A)(10,o))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:o}}const s=(e,t)=>{try{return(e=>{const t=l(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?"".concat(e,"%"):e)).join(" ")})(e)}catch(n){return e}};function u(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function c(e){if(0===e.indexOf("#"))return e;const{values:t}=l(e);return"#".concat(t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?"0".concat(t):t}(3===t?Math.round(255*e):e))).join(""))}function d(e){e=l(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)};let s="rgb";const c=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",c.push(t[3])),u({type:s,values:c})}function f(e){let t="hsl"===(e=l(e)).type||"hsla"===e.type?l(d(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function p(e,t){const n=f(e),r=f(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function h(e,t){return e=l(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,u(e)}function m(e,t,n){try{return h(e,t)}catch(r){return e}}function v(e,t){if(e=l(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return u(e)}function g(e,t,n){try{return v(e,t)}catch(r){return e}}function y(e,t){if(e=l(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return u(e)}function b(e,t,n){try{return y(e,t)}catch(r){return e}}function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return f(e)>.5?v(e,t):y(e,t)}function w(e,t,n){try{return w(e,t)}catch(r){return e}}},4853:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(8587),o=n(8168);const i=["values","unit","step"],a=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,o.A)({},e,{[t.key]:t.val})),{})};function l(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:l=5}=e,s=(0,r.A)(e,i),u=a(t),c=Object.keys(u);function d(e){const r="number"===typeof t[e]?t[e]:e;return"@media (min-width:".concat(r).concat(n,")")}function f(e){const r="number"===typeof t[e]?t[e]:e;return"@media (max-width:".concat(r-l/100).concat(n,")")}function p(e,r){const o=c.indexOf(r);return"@media (min-width:".concat("number"===typeof t[e]?t[e]:e).concat(n,") and ")+"(max-width:".concat((-1!==o&&"number"===typeof t[c[o]]?t[c[o]]:r)-l/100).concat(n,")")}return(0,o.A)({keys:c,values:u,up:d,down:f,between:p,only:function(e){return c.indexOf(e)+1<c.length?p(e,c[c.indexOf(e)+1]):d(e)},not:function(e){const t=c.indexOf(e);return 0===t?d(c[1]):t===c.length-1?f(c[t]):p(e,c[c.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},s)}},3964:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8604);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;const t=(0,r.LX)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(0===n.length?[1]:n).map((e=>{const n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return n.mui=!0,n}},8519:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(8168),o=n(8587),i=n(3216),a=n(4853);const l={borderRadius:4};var s=n(3964),u=n(8812),c=n(7758);function d(e,t){const n=this;if(n.vars&&"function"===typeof n.getColorSchemeSelector){return{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}}return n.palette.mode===e?t:{}}const f=["breakpoints","palette","spacing","shape"];const p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{breakpoints:t={},palette:n={},spacing:p,shape:h={}}=e,m=(0,o.A)(e,f),v=(0,a.A)(t),g=(0,s.A)(p);let y=(0,i.A)({breakpoints:v,direction:"ltr",components:{},palette:(0,r.A)({mode:"light"},n),spacing:g,shape:(0,r.A)({},l,h)},m);y.applyStyles=d;for(var b=arguments.length,x=new Array(b>1?b-1:0),w=1;w<b;w++)x[w-1]=arguments[w];return y=x.reduce(((e,t)=>(0,i.A)(e,t)),y),y.unstable_sxConfig=(0,r.A)({},c.A,null==m?void 0:m.unstable_sxConfig),y.unstable_sx=function(e){return(0,u.A)({sx:e,theme:this})},y}},3815:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(3216);const o=function(e,t){return t?(0,r.A)(e,t,{clone:!1}):e}},8604:(e,t,n)=>{"use strict";n.d(t,{LX:()=>h,MA:()=>p,_W:()=>m,Lc:()=>y,Ms:()=>b});var r=n(9751),o=n(7162),i=n(3815);const a={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!s[e])return[e];e=s[e]}const[t,n]=e.split(""),r=a[t],o=l[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],f=[...c,...d];function p(e,t,n,r){var i;const a=null!=(i=(0,o.Yn)(e,t,!1))?i:n;return"number"===typeof a?e=>"string"===typeof e?e:a*e:Array.isArray(a)?e=>"string"===typeof e?e:a[e]:"function"===typeof a?a:()=>{}}function h(e){return p(e,"spacing",8)}function m(e,t){if("string"===typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}function v(e,t,n,o){if(-1===t.indexOf(n))return null;const i=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=m(t,n),e)),{})}(u(n),o),a=e[n];return(0,r.NI)(e,a,i)}function g(e,t){const n=h(e.theme);return Object.keys(e).map((r=>v(e,t,r,n))).reduce(i.A,{})}function y(e){return g(e,c)}function b(e){return g(e,d)}function x(e){return g(e,f)}y.propTypes={},y.filterProps=c,b.propTypes={},b.filterProps=d,x.propTypes={},x.filterProps=f},7162:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,BO:()=>a,Yn:()=>i});var r=n(410),o=n(9751);function i(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){const n="vars.".concat(t).split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,n){let r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||o:i(e,n)||o,t&&(r=t(r,o,e)),r}const l=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:l,transform:s}=e,u=e=>{if(null==e[t])return null;const u=e[t],c=i(e.theme,l)||{};return(0,o.NI)(e,u,(e=>{let o=a(c,s,e);return e===o&&"string"===typeof e&&(o=a(c,s,"".concat(t).concat("default"===e?"":(0,r.A)(e)),e)),!1===n?o:{[n]:o}}))};return u.propTypes={},u.filterProps=[t],u}},7758:(e,t,n)=>{"use strict";n.d(t,{A:()=>L});var r=n(8604),o=n(7162),i=n(3815);const a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),o=e=>Object.keys(e).reduce(((t,n)=>r[n]?(0,i.A)(t,r[n](e)):t),{});return o.propTypes={},o.filterProps=t.reduce(((e,t)=>e.concat(t.filterProps)),[]),o};var l=n(9751);function s(e){return"number"!==typeof e?e:"".concat(e,"px solid")}function u(e,t){return(0,o.Ay)({prop:e,themeKey:"borders",transform:t})}const c=u("border",s),d=u("borderTop",s),f=u("borderRight",s),p=u("borderBottom",s),h=u("borderLeft",s),m=u("borderColor"),v=u("borderTopColor"),g=u("borderRightColor"),y=u("borderBottomColor"),b=u("borderLeftColor"),x=u("outline",s),w=u("outlineColor"),S=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,r.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,r._W)(t,e)});return(0,l.NI)(e,e.borderRadius,n)}return null};S.propTypes={},S.filterProps=["borderRadius"];a(c,d,f,p,h,m,v,g,y,b,S,x,w);const k=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,r.MA)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,r._W)(t,e)});return(0,l.NI)(e,e.gap,n)}return null};k.propTypes={},k.filterProps=["gap"];const A=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,r.MA)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,r._W)(t,e)});return(0,l.NI)(e,e.columnGap,n)}return null};A.propTypes={},A.filterProps=["columnGap"];const E=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,r.MA)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,r._W)(t,e)});return(0,l.NI)(e,e.rowGap,n)}return null};E.propTypes={},E.filterProps=["rowGap"];a(k,A,E,(0,o.Ay)({prop:"gridColumn"}),(0,o.Ay)({prop:"gridRow"}),(0,o.Ay)({prop:"gridAutoFlow"}),(0,o.Ay)({prop:"gridAutoColumns"}),(0,o.Ay)({prop:"gridAutoRows"}),(0,o.Ay)({prop:"gridTemplateColumns"}),(0,o.Ay)({prop:"gridTemplateRows"}),(0,o.Ay)({prop:"gridTemplateAreas"}),(0,o.Ay)({prop:"gridArea"}));function C(e,t){return"grey"===t?t:e}a((0,o.Ay)({prop:"color",themeKey:"palette",transform:C}),(0,o.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:C}),(0,o.Ay)({prop:"backgroundColor",themeKey:"palette",transform:C}));function P(e){return e<=1&&0!==e?"".concat(100*e,"%"):e}const _=(0,o.Ay)({prop:"width",transform:P}),O=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||l.zu[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:"".concat(o).concat(e.theme.breakpoints.unit)}:{maxWidth:o}:{maxWidth:P(t)}};return(0,l.NI)(e,e.maxWidth,t)}return null};O.filterProps=["maxWidth"];const j=(0,o.Ay)({prop:"minWidth",transform:P}),T=(0,o.Ay)({prop:"height",transform:P}),M=(0,o.Ay)({prop:"maxHeight",transform:P}),R=(0,o.Ay)({prop:"minHeight",transform:P}),L=((0,o.Ay)({prop:"size",cssProperty:"width",transform:P}),(0,o.Ay)({prop:"size",cssProperty:"height",transform:P}),a(_,O,j,T,M,R,(0,o.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:s},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:S},color:{themeKey:"palette",transform:C},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:C},backgroundColor:{themeKey:"palette",transform:C},p:{style:r.Ms},pt:{style:r.Ms},pr:{style:r.Ms},pb:{style:r.Ms},pl:{style:r.Ms},px:{style:r.Ms},py:{style:r.Ms},padding:{style:r.Ms},paddingTop:{style:r.Ms},paddingRight:{style:r.Ms},paddingBottom:{style:r.Ms},paddingLeft:{style:r.Ms},paddingX:{style:r.Ms},paddingY:{style:r.Ms},paddingInline:{style:r.Ms},paddingInlineStart:{style:r.Ms},paddingInlineEnd:{style:r.Ms},paddingBlock:{style:r.Ms},paddingBlockStart:{style:r.Ms},paddingBlockEnd:{style:r.Ms},m:{style:r.Lc},mt:{style:r.Lc},mr:{style:r.Lc},mb:{style:r.Lc},ml:{style:r.Lc},mx:{style:r.Lc},my:{style:r.Lc},margin:{style:r.Lc},marginTop:{style:r.Lc},marginRight:{style:r.Lc},marginBottom:{style:r.Lc},marginLeft:{style:r.Lc},marginX:{style:r.Lc},marginY:{style:r.Lc},marginInline:{style:r.Lc},marginInlineStart:{style:r.Lc},marginInlineEnd:{style:r.Lc},marginBlock:{style:r.Lc},marginBlockStart:{style:r.Lc},marginBlockEnd:{style:r.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:k},rowGap:{style:E},columnGap:{style:A},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:P},maxWidth:{style:O},minWidth:{transform:P},height:{transform:P},maxHeight:{transform:P},minHeight:{transform:P},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},8812:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(410),o=n(3815),i=n(7162),a=n(9751),l=n(7758);const s=function(){function e(e,t,n,o){const l={[e]:t,theme:n},s=o[e];if(!s)return{[e]:t};const{cssProperty:u=e,themeKey:c,transform:d,style:f}=s;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};const p=(0,i.Yn)(n,c)||{};if(f)return f(l);return(0,a.NI)(l,t,(t=>{let n=(0,i.BO)(p,d,t);return t===n&&"string"===typeof t&&(n=(0,i.BO)(p,d,"".concat(e).concat("default"===t?"":(0,r.A)(t)),t)),!1===u?n:{[u]:n}}))}return function t(n){var r;const{sx:i,theme:s={}}=n||{};if(!i)return null;const u=null!=(r=s.unstable_sxConfig)?r:l.A;function c(n){let r=n;if("function"===typeof n)r=n(s);else if("object"!==typeof n)return n;if(!r)return null;const i=(0,a.EU)(s.breakpoints),l=Object.keys(i);let c=i;return Object.keys(r).forEach((n=>{const i=(l=r[n],d=s,"function"===typeof l?l(d):l);var l,d;if(null!==i&&void 0!==i)if("object"===typeof i)if(u[n])c=(0,o.A)(c,e(n,i,s,u));else{const e=(0,a.NI)({theme:s},i,(e=>({[n]:e})));!function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.reduce(((e,t)=>e.concat(Object.keys(t))),[]),o=new Set(r);return t.every((e=>o.size===Object.keys(e).length))}(e,i)?c=(0,o.A)(c,e):c[n]=t({sx:i,theme:s})}else c=(0,o.A)(c,e(n,i,s,u))})),(0,a.vf)(l,c)}return Array.isArray(i)?i.map(c):c(i)}}();s.filterProps=["sx"];const u=s},5527:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(8519),o=n(7082);const i=(0,r.A)();const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return(0,o.A)(e)}},7082:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5043),o=n(5025);const i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=r.useContext(o.T);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}},5430:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=e=>e,o=(()=>{let e=r;return{configure(t){e=t},generate:t=>e(t),reset(){e=r}}})()},410:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6632);function o(e){if("string"!==typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},8606:(e,t,n)=>{"use strict";function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{A:()=>r})},4708:(e,t,n)=>{"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(((e,t)=>null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}),(()=>{}))}n.d(t,{A:()=>r})},3216:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,Q:()=>o});var r=n(8168);function o(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function i(e){if(!o(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=i(e[n])})),t}function a(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0};const l=n.clone?(0,r.A)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?l[r]=a(e[r],t[r],n):n.clone?l[r]=o(t[r])?i(t[r]):t[r]:l[r]=t[r])})),l}},6632:(e,t,n)=>{"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}n.d(t,{A:()=>r})},2400:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>i,li:()=>o});var r=n(5430);const o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const i=o[t];return i?"".concat(n,"-").concat(i):"".concat(r.A.generate(e),"-").concat(t)}},7056:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2400);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const o={};return t.forEach((t=>{o[t]=(0,r.Ay)(e,t,n)})),o}},2144:(e,t,n)=>{"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{A:()=>r})},6288:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2144);function o(e){return(0,r.A)(e).defaultView||window}},2018:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8168);function o(e,t){const n=(0,r.A)({},t);return Object.keys(e).forEach((i=>{if(i.toString().match(/^(components|slots)$/))n[i]=(0,r.A)({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const a=e[i]||{},l=t[i];n[i]={},l&&Object.keys(l)?a&&Object.keys(a)?(n[i]=(0,r.A)({},l),Object.keys(a).forEach((e=>{n[i][e]=o(a[e],l[e])}))):n[i]=l:n[i]=a}else void 0===n[i]&&(n[i]=e[i])})),n}},9184:(e,t,n)=>{"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{A:()=>r})},3844:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(5043);const o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect},4626:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5043),o=n(3844);const i=function(e){const t=r.useRef(e);return(0,o.A)((()=>{t.current=e})),r.useRef((function(){return(0,t.current)(...arguments)})).current}},7042:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5043),o=n(9184);function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.useMemo((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{(0,o.A)(t,e)}))}),t)}},1140:(e,t,n)=>{"use strict";n.d(t,{E:()=>a,A:()=>l});var r=n(5043);const o={};const i=[];class a{constructor(){this.currentId=0,this.clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}static create(){return new a}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=0,t()}),e)}}function l(){const e=function(e,t){const n=r.useRef(o);return n.current===o&&(n.current=e(t)),n}(a.create).current;var t;return t=e.disposeEffect,r.useEffect(t,i),e}},1760:e=>{"use strict";e.exports=function(e){if(e)throw e}},3532:(e,t,n)=>{var r=n(5884),o={};for(var i in r)r.hasOwnProperty(i)&&(o[r[i]]=i);var a=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var l in a)if(a.hasOwnProperty(l)){if(!("channels"in a[l]))throw new Error("missing channels property: "+l);if(!("labels"in a[l]))throw new Error("missing channel labels property: "+l);if(a[l].labels.length!==a[l].channels)throw new Error("channel and label counts mismatch: "+l);var s=a[l].channels,u=a[l].labels;delete a[l].channels,delete a[l].labels,Object.defineProperty(a[l],"channels",{value:s}),Object.defineProperty(a[l],"labels",{value:u})}a.rgb.hsl=function(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,a=Math.min(r,o,i),l=Math.max(r,o,i),s=l-a;return l===a?t=0:r===l?t=(o-i)/s:o===l?t=2+(i-r)/s:i===l&&(t=4+(r-o)/s),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+l)/2,[t,100*(l===a?0:n<=.5?s/(l+a):s/(2-l-a)),100*n]},a.rgb.hsv=function(e){var t,n,r,o,i,a=e[0]/255,l=e[1]/255,s=e[2]/255,u=Math.max(a,l,s),c=u-Math.min(a,l,s),d=function(e){return(u-e)/6/c+.5};return 0===c?o=i=0:(i=c/u,t=d(a),n=d(l),r=d(s),a===u?o=r-n:l===u?o=1/3+t-r:s===u&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*u]},a.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[a.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,r))),100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},a.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var t=o[e];if(t)return t;var n,i,a,l=1/0;for(var s in r)if(r.hasOwnProperty(s)){var u=r[s],c=(i=e,a=u,Math.pow(i[0]-a[0],2)+Math.pow(i[1]-a[1],2)+Math.pow(i[2]-a[2],2));c<l&&(l=c,n=s)}return n},a.keyword.rgb=function(e){return r[e]},a.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),n=t[0],r=t[1],o=t[2];return r/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},a.hsl.rgb=function(e){var t,n,r,o,i,a=e[0]/360,l=e[1]/100,s=e[2]/100;if(0===l)return[i=255*s,i,i];t=2*s-(n=s<.5?s*(1+l):s+l-s*l),o=[0,0,0];for(var u=0;u<3;u++)(r=a+1/3*-(u-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[u]=255*i;return o},a.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=i<=1?i:2-i,[t,100*(0===r?2*o/(i+o):2*n/(r+n)),100*((r+n)/2)]},a.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),a=255*r*(1-n),l=255*r*(1-n*i),s=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,s,a];case 1:return[l,r,a];case 2:return[a,r,s];case 3:return[a,l,r];case 4:return[s,a,r];case 5:return[r,a,l]}},a.hsv.hsl=function(e){var t,n,r,o=e[0],i=e[1]/100,a=e[2]/100,l=Math.max(a,.01);return r=(2-i)*a,n=i*l,[o,100*(n=(n/=(t=(2-i)*l)<=1?t:2-t)||0),100*(r/=2)]},a.hwb.rgb=function(e){var t,n,r,o,i,a,l,s=e[0]/360,u=e[1]/100,c=e[2]/100,d=u+c;switch(d>1&&(u/=d,c/=d),r=6*s-(t=Math.floor(6*s)),0!==(1&t)&&(r=1-r),o=u+r*((n=1-c)-u),t){default:case 6:case 0:i=n,a=o,l=u;break;case 1:i=o,a=n,l=u;break;case 2:i=u,a=n,l=o;break;case 3:i=u,a=o,l=n;break;case 4:i=o,a=u,l=n;break;case 5:i=n,a=u,l=o}return[255*i,255*a,255*l]},a.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},a.xyz.rgb=function(e){var t,n,r,o=e[0]/100,i=e[1]/100,a=e[2]/100;return n=-.9689*o+1.8758*i+.0415*a,r=.0557*o+-.204*i+1.057*a,t=(t=3.2406*o+-1.5372*i+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},a.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.lab.xyz=function(e){var t,n,r,o=e[0];t=e[1]/500+(n=(o+16)/116),r=n-e[2]/200;var i=Math.pow(n,3),a=Math.pow(t,3),l=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=l>.008856?l:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},a.lab.lch=function(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t]},a.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],o=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var i=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(i+=60),i},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},a.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255,i=Math.max(Math.max(n,r),o),a=Math.min(Math.min(n,r),o),l=i-a;return t=l<=0?0:i===n?(r-o)/l%6:i===r?2+(o-n)/l:4+(n-r)/l+4,t/=6,[360*(t%=1),100*l,100*(l<1?a/(1-l):0)]},a.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},a.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},a.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o,i=[0,0,0],a=t%1*6,l=a%1,s=1-l;switch(Math.floor(a)){case 0:i[0]=1,i[1]=l,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=l;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=l,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return o=(1-n)*r,[255*(n*i[0]+o),255*(n*i[1]+o),255*(n*i[2]+o)]},a.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},a.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},a.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},a.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},53:(e,t,n)=>{var r=n(3532),o=n(444),i={};Object.keys(r).forEach((function(e){i[e]={},Object.defineProperty(i[e],"channels",{value:r[e].channels}),Object.defineProperty(i[e],"labels",{value:r[e].labels});var t=o(e);Object.keys(t).forEach((function(n){var r=t[n];i[e][n]=function(e){var t=function(t){if(void 0===t||null===t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"===typeof n)for(var r=n.length,o=0;o<r;o++)n[o]=Math.round(n[o]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),i[e][n].raw=function(e){var t=function(t){return void 0===t||null===t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))})),e.exports=i},5884:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},444:(e,t,n)=>{var r=n(3532);function o(e){var t=function(){for(var e={},t=Object.keys(r),n=t.length,o=0;o<n;o++)e[t[o]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var o=n.pop(),i=Object.keys(r[o]),a=i.length,l=0;l<a;l++){var s=i[l],u=t[s];-1===u.distance&&(u.distance=t[o].distance+1,u.parent=o,n.unshift(s))}return t}function i(e,t){return function(n){return t(e(n))}}function a(e,t){for(var n=[t[e].parent,e],o=r[t[e].parent][e],a=t[e].parent;t[a].parent;)n.unshift(t[a].parent),o=i(r[t[a].parent][a],o),a=t[a].parent;return o.conversion=n,o}e.exports=function(e){for(var t=o(e),n={},r=Object.keys(t),i=r.length,l=0;l<i;l++){var s=r[l];null!==t[s].parent&&(n[s]=a(s,t))}return n}},8301:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},1139:(e,t,n)=>{var r=n(8301),o=n(9849),i=Object.hasOwnProperty,a=Object.create(null);for(var l in r)i.call(r,l)&&(a[r[l]]=l);var s=e.exports={to:{},get:{}};function u(e,t,n){return Math.min(Math.max(t,e),n)}function c(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}s.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=s.get.hsl(e),n="hsl";break;case"hwb":t=s.get.hwb(e),n="hwb";break;default:t=s.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},s.get.rgb=function(e){if(!e)return null;var t,n,o,a=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(o=t[2],t=t[1],n=0;n<3;n++){var l=2*n;a[n]=parseInt(t.slice(l,l+2),16)}o&&(a[3]=parseInt(o,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(o=(t=t[1])[3],n=0;n<3;n++)a[n]=parseInt(t[n]+t[n],16);o&&(a[3]=parseInt(o+o,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(t[n+1],0);t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:i.call(r,t[1])?((a=r[t[1]])[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}for(n=0;n<3;n++)a[n]=u(a[n],0,255);return a[3]=u(a[3],0,1),a},s.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(n)?1:n,0,1)]}return null},s.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(n)?1:n,0,1)]}return null},s.to.hex=function(){var e=o(arguments);return"#"+c(e[0])+c(e[1])+c(e[2])+(e[3]<1?c(Math.round(255*e[3])):"")},s.to.rgb=function(){var e=o(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},s.to.rgb.percent=function(){var e=o(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+r+"%)":"rgba("+t+"%, "+n+"%, "+r+"%, "+e[3]+")"},s.to.hsl=function(){var e=o(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},s.to.hwb=function(){var e=o(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},s.to.keyword=function(e){return a[e.slice(0,3)]}},2995:(e,t,n)=>{"use strict";var r=n(1139),o=n(53),i=[].slice,a=["keyword","gray","hex"],l={};Object.keys(o).forEach((function(e){l[i.call(o[e].labels).sort().join("")]=e}));var s={};function u(e,t){if(!(this instanceof u))return new u(e,t);if(t&&t in a&&(t=null),t&&!(t in o))throw new Error("Unknown model: "+t);var n,c;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof u)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if("string"===typeof e){var d=r.get(e);if(null===d)throw new Error("Unable to parse color from string: "+e);this.model=d.model,c=o[this.model].channels,this.color=d.value.slice(0,c),this.valpha="number"===typeof d.value[c]?d.value[c]:1}else if(e.length){this.model=t||"rgb",c=o[this.model].channels;var p=i.call(e,0,c);this.color=f(p,c),this.valpha="number"===typeof e[c]?e[c]:1}else if("number"===typeof e)e&=16777215,this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;var h=Object.keys(e);"alpha"in e&&(h.splice(h.indexOf("alpha"),1),this.valpha="number"===typeof e.alpha?e.alpha:0);var m=h.sort().join("");if(!(m in l))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=l[m];var v=o[this.model].labels,g=[];for(n=0;n<v.length;n++)g.push(e[v[n]]);this.color=f(g)}if(s[this.model])for(c=o[this.model].channels,n=0;n<c;n++){var y=s[this.model][n];y&&(this.color[n]=y(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function c(e,t,n){return(e=Array.isArray(e)?e:[e]).forEach((function(e){(s[e]||(s[e]=[]))[t]=n})),e=e[0],function(r){var o;return arguments.length?(n&&(r=n(r)),(o=this[e]()).color[t]=r,o):(o=this[e]().color[t],n&&(o=n(o)),o)}}function d(e){return function(t){return Math.max(0,Math.min(e,t))}}function f(e,t){for(var n=0;n<t;n++)"number"!==typeof e[n]&&(e[n]=0);return e}u.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(e){var t=this.model in r.to?this:this.rgb(),n=1===(t=t.round("number"===typeof e?e:1)).valpha?t.color:t.color.concat(this.valpha);return r.to[t.model](n)},percentString:function(e){var t=this.rgb().round("number"===typeof e?e:1),n=1===t.valpha?t.color:t.color.concat(this.valpha);return r.to.rgb.percent(n)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var e={},t=o[this.model].channels,n=o[this.model].labels,r=0;r<t;r++)e[n[r]]=this.color[r];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray:function(){var e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject:function(){var e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round:function(e){return e=Math.max(e||0,0),new u(this.color.map(function(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}(e)).concat(this.valpha),this.model)},alpha:function(e){return arguments.length?new u(this.color.concat(Math.max(0,Math.min(1,e))),this.model):this.valpha},red:c("rgb",0,d(255)),green:c("rgb",1,d(255)),blue:c("rgb",2,d(255)),hue:c(["hsl","hsv","hsl","hwb","hcg"],0,(function(e){return(e%360+360)%360})),saturationl:c("hsl",1,d(100)),lightness:c("hsl",2,d(100)),saturationv:c("hsv",1,d(100)),value:c("hsv",2,d(100)),chroma:c("hcg",1,d(100)),gray:c("hcg",2,d(100)),white:c("hwb",1,d(100)),wblack:c("hwb",2,d(100)),cyan:c("cmyk",0,d(100)),magenta:c("cmyk",1,d(100)),yellow:c("cmyk",2,d(100)),black:c("cmyk",3,d(100)),x:c("xyz",0,d(100)),y:c("xyz",1,d(100)),z:c("xyz",2,d(100)),l:c("lab",0,d(100)),a:c("lab",1),b:c("lab",2),keyword:function(e){return arguments.length?new u(e):o[this.model].keyword(this.color)},hex:function(e){return arguments.length?new u(e):r.to.hex(this.rgb().round().color)},rgbNumber:function(){var e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity:function(){for(var e=this.rgb().color,t=[],n=0;n<e.length;n++){var r=e[n]/255;t[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},isDark:function(){var e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return u.rgb(t,t,t)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),n=t.color[0];return n=(n=(n+e)%360)<0?360+n:n,t.color[0]=n,t},mix:function(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);var n=e.rgb(),r=this.rgb(),o=void 0===t?.5:t,i=2*o-1,a=n.alpha()-r.alpha(),l=((i*a===-1?i:(i+a)/(1+i*a))+1)/2,s=1-l;return u.rgb(l*n.red()+s*r.red(),l*n.green()+s*r.green(),l*n.blue()+s*r.blue(),n.alpha()*o+r.alpha()*(1-o))}},Object.keys(o).forEach((function(e){if(-1===a.indexOf(e)){var t=o[e].channels;u.prototype[e]=function(){if(this.model===e)return new u(this);if(arguments.length)return new u(arguments,e);var n,r="number"===typeof arguments[t]?t:this.valpha;return new u((n=o[this.model][e].raw(this.color),Array.isArray(n)?n:[n]).concat(r),e)},u[e]=function(n){return"number"===typeof n&&(n=f(i.call(arguments),t)),new u(n,e)}}})),e.exports=u},2168:(e,t)=>{"use strict";var n=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,r=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/,o=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,i=/\\([\u000b\u0020-\u00ff])/g,a=/([\\"])/g,l=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;function s(e){var t=String(e);if(o.test(t))return t;if(t.length>0&&!r.test(t))throw new TypeError("invalid parameter value");return'"'+t.replace(a,"\\$1")+'"'}function u(e){this.parameters=Object.create(null),this.type=e}t.q=function(e){if(!e)throw new TypeError("argument string is required");var t="object"===typeof e?function(e){var t;"function"===typeof e.getHeader?t=e.getHeader("content-type"):"object"===typeof e.headers&&(t=e.headers&&e.headers["content-type"]);if("string"!==typeof t)throw new TypeError("content-type header is missing from object");return t}(e):e;if("string"!==typeof t)throw new TypeError("argument string is required to be a string");var r=t.indexOf(";"),o=-1!==r?t.slice(0,r).trim():t.trim();if(!l.test(o))throw new TypeError("invalid media type");var a=new u(o.toLowerCase());if(-1!==r){var s,c,d;for(n.lastIndex=r;c=n.exec(t);){if(c.index!==r)throw new TypeError("invalid parameter format");r+=c[0].length,s=c[1].toLowerCase(),34===(d=c[2]).charCodeAt(0)&&-1!==(d=d.slice(1,-1)).indexOf("\\")&&(d=d.replace(i,"$1")),a.parameters[s]=d}if(r!==t.length)throw new TypeError("invalid parameter format")}return a}},8276:(e,t,n)=>{"use strict";var r=n(992),o=n(872),i=n(1311),a=n(9733),l=n(3423);(e.exports=function(e,t){var n,o,s,u,c;return arguments.length<2||"string"!==typeof e?(u=t,t=e,e=null):u=arguments[2],r(e)?(n=l.call(e,"c"),o=l.call(e,"e"),s=l.call(e,"w")):(n=s=!0,o=!1),c={value:t,configurable:n,enumerable:o,writable:s},u?i(a(u),c):c}).gs=function(e,t,n){var s,u,c,d;return"string"!==typeof e?(c=n,n=t,t=e,e=null):c=arguments[3],r(t)?o(t)?r(n)?o(n)||(c=n,n=void 0):n=void 0:(c=t,t=n=void 0):t=void 0,r(e)?(s=l.call(e,"c"),u=l.call(e,"e")):(s=!0,u=!1),d={get:t,set:n,configurable:s,enumerable:u},c?i(a(c),d):d}},1697:(e,t,n)=>{"use strict";var r=n(4593);e.exports=function(e){if("function"!==typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!==typeof e.length)return!1;if("function"!==typeof e.call)return!1;if("function"!==typeof e.apply)return!1}catch(t){return!1}return!r(e)}},5776:(e,t,n)=>{"use strict";var r=n(992),o={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!r(e)&&hasOwnProperty.call(o,typeof e)}},872:(e,t,n)=>{"use strict";var r=n(1697),o=/^\s*class[\s{/}]/,i=Function.prototype.toString;e.exports=function(e){return!!r(e)&&!o.test(i.call(e))}},4593:(e,t,n)=>{"use strict";var r=n(5776);e.exports=function(e){if(!r(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(t){return!1}}},992:e=>{"use strict";e.exports=function(e){return undefined!==e&&null!==e}},4189:(e,t,n)=>{"use strict";var r=n(2008),o=n(9818),i=n(9047),a=Array.prototype.indexOf,l=Object.prototype.hasOwnProperty,s=Math.abs,u=Math.floor;e.exports=function(e){var t,n,c,d;if(!r(e))return a.apply(this,arguments);for(n=o(i(this).length),c=arguments[1],t=c=isNaN(c)?0:c>=0?u(c):o(this.length)-u(s(c));t<n;++t)if(l.call(this,t)&&(d=this[t],r(d)))return t;return-1}},4428:(e,t,n)=>{"use strict";e.exports=n(2659)()?Array.from:n(7011)},2659:e=>{"use strict";e.exports=function(){var e,t,n=Array.from;return"function"===typeof n&&(t=n(e=["raz","dwa"]),Boolean(t&&t!==e&&"dwa"===t[1]))}},7011:(e,t,n)=>{"use strict";var r=n(9565).iterator,o=n(6697),i=n(7901),a=n(9818),l=n(2028),s=n(9047),u=n(6297),c=n(5417),d=Array.isArray,f=Function.prototype.call,p={configurable:!0,enumerable:!0,writable:!0,value:null},h=Object.defineProperty;e.exports=function(e){var t,n,m,v,g,y,b,x,w,S,k=arguments[1],A=arguments[2];if(e=Object(s(e)),u(k)&&l(k),this&&this!==Array&&i(this))t=this;else{if(!k){if(o(e))return 1!==(g=e.length)?Array.apply(null,e):((v=new Array(1))[0]=e[0],v);if(d(e)){for(v=new Array(g=e.length),n=0;n<g;++n)v[n]=e[n];return v}}v=[]}if(!d(e))if(void 0!==(w=e[r])){for(b=l(w).call(e),t&&(v=new t),x=b.next(),n=0;!x.done;)S=k?f.call(k,A,x.value,n):x.value,t?(p.value=S,h(v,n,p)):v[n]=S,x=b.next(),++n;g=n}else if(c(e)){for(g=e.length,t&&(v=new t),n=0,m=0;n<g;++n)S=e[n],n+1<g&&(y=S.charCodeAt(0))>=55296&&y<=56319&&(S+=e[++n]),S=k?f.call(k,A,S,m):S,t?(p.value=S,h(v,m,p)):v[m]=S,++m;g=m}if(void 0===g)for(g=a(e.length),t&&(v=new t(g)),n=0;n<g;++n)S=k?f.call(k,A,e[n],n):e[n],t?(p.value=S,h(v,n,p)):v[n]=S;return t&&(p.value=null,v.length=g),v}},6174:(e,t,n)=>{"use strict";var r=n(4428),o=Array.isArray;e.exports=function(e){return o(e)?e:r(e)}},9429:(e,t,n)=>{"use strict";var r=n(1311),o=n(1737),i=n(6297),a=Error.captureStackTrace;e.exports=function(t){var n=new Error(t),l=arguments[1],s=arguments[2];return i(s)||o(l)&&(s=l,l=null),i(s)&&r(n,s),i(l)&&(n.code=l),a&&a(n,e.exports),n}},7989:(e,t,n)=>{"use strict";var r,o,i,a,l=n(9818),s=function(e,t){return t};try{Object.defineProperty(s,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch(u){}1===s.length?(r={configurable:!0,writable:!1,enumerable:!1},o=Object.defineProperty,e.exports=function(e,t){return t=l(t),e.length===t?e:(r.value=t,o(e,"length",r))}):(a=n(2139),i=function(){var e=[];return function(t){var n,r=0;if(e[t])return e[t];for(n=[];t--;)n.push("a"+(++r).toString(36));return new Function("fn","return function ("+n.join(", ")+") { return fn.apply(this, arguments); };")}}(),e.exports=function(e,t){var n;if(t=l(t),e.length===t)return e;n=i(t)(e);try{a(n,e)}catch(u){}return n})},6697:e=>{"use strict";var t=Object.prototype.toString,n=t.call(function(){return arguments}());e.exports=function(e){return t.call(e)===n}},7901:e=>{"use strict";var t=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);e.exports=function(e){return"function"===typeof e&&n(t.call(e))}},3116:e=>{"use strict";e.exports=function(){}},2884:(e,t,n)=>{"use strict";e.exports=n(6267)()?Math.sign:n(3432)},6267:e=>{"use strict";e.exports=function(){var e=Math.sign;return"function"===typeof e&&(1===e(10)&&-1===e(-20))}},3432:e=>{"use strict";e.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:e>0?1:-1}},2008:(e,t,n)=>{"use strict";e.exports=n(3183)()?Number.isNaN:n(7591)},3183:e=>{"use strict";e.exports=function(){var e=Number.isNaN;return"function"===typeof e&&(!e({})&&e(NaN)&&!e(34))}},7591:e=>{"use strict";e.exports=function(e){return e!==e}},4449:(e,t,n)=>{"use strict";var r=n(2884),o=Math.abs,i=Math.floor;e.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?r(e)*i(o(e)):e}},9818:(e,t,n)=>{"use strict";var r=n(4449),o=Math.max;e.exports=function(e){return o(0,r(e))}},9628:(e,t,n)=>{"use strict";var r=n(2028),o=n(9047),i=Function.prototype.bind,a=Function.prototype.call,l=Object.keys,s=Object.prototype.propertyIsEnumerable;e.exports=function(e,t){return function(n,u){var c,d=arguments[2],f=arguments[3];return n=Object(o(n)),r(u),c=l(n),f&&c.sort("function"===typeof f?i.call(f,n):void 0),"function"!==typeof e&&(e=c[e]),a.call(e,c,(function(e,r){return s.call(n,e)?a.call(u,d,n[e],e,n,r):t}))}}},1311:(e,t,n)=>{"use strict";e.exports=n(7366)()?Object.assign:n(4734)},7366:e=>{"use strict";e.exports=function(){var e,t=Object.assign;return"function"===typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},4734:(e,t,n)=>{"use strict";var r=n(6706),o=n(9047),i=Math.max;e.exports=function(e,t){var n,a,l,s=i(arguments.length,2);for(e=Object(o(e)),l=function(r){try{e[r]=t[r]}catch(o){n||(n=o)}},a=1;a<s;++a)r(t=arguments[a]).forEach(l);if(void 0!==n)throw n;return e}},6462:(e,t,n)=>{"use strict";e.exports=n(9628)("forEach")},5422:e=>{"use strict";e.exports=function(e){return"function"===typeof e}},1737:(e,t,n)=>{"use strict";var r=n(6297),o={function:!0,object:!0};e.exports=function(e){return r(e)&&o[typeof e]||!1}},6297:(e,t,n)=>{"use strict";var r=n(3116)();e.exports=function(e){return e!==r&&null!==e}},6706:(e,t,n)=>{"use strict";e.exports=n(4777)()?Object.keys:n(8213)},4777:e=>{"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},8213:(e,t,n)=>{"use strict";var r=n(6297),o=Object.keys;e.exports=function(e){return o(r(e)?Object(e):e)}},731:(e,t,n)=>{"use strict";var r=n(2028),o=n(6462),i=Function.prototype.call;e.exports=function(e,t){var n={},a=arguments[2];return r(t),o(e,(function(e,r,o,l){n[r]=i.call(t,a,e,r,o,l)})),n}},2139:(e,t,n)=>{"use strict";var r=n(9047),o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols;e.exports=function(e,t){var n,s=Object(r(t));if(e=Object(r(e)),a(s).forEach((function(r){try{o(e,r,i(t,r))}catch(a){n=a}})),"function"===typeof l&&l(s).forEach((function(r){try{o(e,r,i(t,r))}catch(a){n=a}})),void 0!==n)throw n;return e}},9733:(e,t,n)=>{"use strict";var r=n(6297),o=Array.prototype.forEach,i=Object.create;e.exports=function(e){var t=i(null);return o.call(arguments,(function(e){r(e)&&function(e,t){var n;for(n in e)t[n]=e[n]}(Object(e),t)})),t}},3169:e=>{"use strict";var t=Array.prototype.forEach,n=Object.create;e.exports=function(e){var r=n(null);return t.call(arguments,(function(e){r[e]=!0})),r}},2028:e=>{"use strict";e.exports=function(e){if("function"!==typeof e)throw new TypeError(e+" is not a function");return e}},9047:(e,t,n)=>{"use strict";var r=n(6297);e.exports=function(e){if(!r(e))throw new TypeError("Cannot use null or undefined");return e}},4515:(e,t,n)=>{"use strict";var r=n(9047),o=n(9767);e.exports=function(e){return o(r(e))}},9767:(e,t,n)=>{"use strict";var r=n(5422);e.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(t){throw new TypeError("Passed argument cannot be stringifed")}}},4104:(e,t,n)=>{"use strict";var r=n(5422);e.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(t){return"<Non-coercible to string value>"}}},3423:(e,t,n)=>{"use strict";e.exports=n(5398)()?String.prototype.contains:n(8382)},5398:e=>{"use strict";var t="razdwatrzy";e.exports=function(){return"function"===typeof t.contains&&(!0===t.contains("dwa")&&!1===t.contains("foo"))}},8382:e=>{"use strict";var t=String.prototype.indexOf;e.exports=function(e){return t.call(this,e,arguments[1])>-1}},5417:e=>{"use strict";var t=Object.prototype.toString,n=t.call("");e.exports=function(e){return"string"===typeof e||e&&"object"===typeof e&&(e instanceof String||t.call(e)===n)||!1}},7743:(e,t,n)=>{"use strict";var r=n(4104),o=/[\n\r\u2028\u2029]/g;e.exports=function(e){var t=r(e);return t.length>100&&(t=t.slice(0,99)+"\u2026"),t=t.replace(o,(function(e){return JSON.stringify(e).slice(1,-1)}))}},9565:(e,t,n)=>{"use strict";e.exports=n(5860)()?n(6230).Symbol:n(5482)},5860:(e,t,n)=>{"use strict";var r=n(6230),o={object:!0,symbol:!0};e.exports=function(){var e,t=r.Symbol;if("function"!==typeof t)return!1;e=t("test symbol");try{String(e)}catch(n){return!1}return!!o[typeof t.iterator]&&(!!o[typeof t.toPrimitive]&&!!o[typeof t.toStringTag])}},6322:e=>{"use strict";e.exports=function(e){return!!e&&("symbol"===typeof e||!!e.constructor&&("Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]))}},172:(e,t,n)=>{"use strict";var r=n(8276),o=Object.create,i=Object.defineProperty,a=Object.prototype,l=o(null);e.exports=function(e){for(var t,n,o=0;l[e+(o||"")];)++o;return l[e+=o||""]=!0,i(a,t="@@"+e,r.gs(null,(function(e){n||(n=!0,i(this,t,r(e)),n=!1)}))),t}},9546:(e,t,n)=>{"use strict";var r=n(8276),o=n(6230).Symbol;e.exports=function(e){return Object.defineProperties(e,{hasInstance:r("",o&&o.hasInstance||e("hasInstance")),isConcatSpreadable:r("",o&&o.isConcatSpreadable||e("isConcatSpreadable")),iterator:r("",o&&o.iterator||e("iterator")),match:r("",o&&o.match||e("match")),replace:r("",o&&o.replace||e("replace")),search:r("",o&&o.search||e("search")),species:r("",o&&o.species||e("species")),split:r("",o&&o.split||e("split")),toPrimitive:r("",o&&o.toPrimitive||e("toPrimitive")),toStringTag:r("",o&&o.toStringTag||e("toStringTag")),unscopables:r("",o&&o.unscopables||e("unscopables"))})}},4111:(e,t,n)=>{"use strict";var r=n(8276),o=n(2132),i=Object.create(null);e.exports=function(e){return Object.defineProperties(e,{for:r((function(t){return i[t]?i[t]:i[t]=e(String(t))})),keyFor:r((function(e){var t;for(t in o(e),i)if(i[t]===e)return t}))})}},5482:(e,t,n)=>{"use strict";var r,o,i,a=n(8276),l=n(2132),s=n(6230).Symbol,u=n(172),c=n(9546),d=n(4111),f=Object.create,p=Object.defineProperties,h=Object.defineProperty;if("function"===typeof s)try{String(s()),i=!0}catch(m){}else s=null;o=function(e){if(this instanceof o)throw new TypeError("Symbol is not a constructor");return r(e)},e.exports=r=function e(t){var n;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return i?s(t):(n=f(o.prototype),t=void 0===t?"":String(t),p(n,{__description__:a("",t),__name__:a("",u(t))}))},c(r),d(r),p(o.prototype,{constructor:a(r),toString:a("",(function(){return this.__name__}))}),p(r.prototype,{toString:a((function(){return"Symbol ("+l(this).__description__+")"})),valueOf:a((function(){return l(this)}))}),h(r.prototype,r.toPrimitive,a("",(function(){var e=l(this);return"symbol"===typeof e?e:e.toString()}))),h(r.prototype,r.toStringTag,a("c","Symbol")),h(o.prototype,r.toStringTag,a("c",r.prototype[r.toStringTag])),h(o.prototype,r.toPrimitive,a("c",r.prototype[r.toPrimitive]))},2132:(e,t,n)=>{"use strict";var r=n(6322);e.exports=function(e){if(!r(e))throw new TypeError(e+" is not a symbol");return e}},6555:(e,t,n)=>{"use strict";var r,o,i,a,l,s,u,c=n(8276),d=n(2028),f=Function.prototype.apply,p=Function.prototype.call,h=Object.create,m=Object.defineProperty,v=Object.defineProperties,g=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};o=function(e,t){var n,o;return d(t),o=this,r.call(this,e,n=function(){i.call(o,e,n),f.call(t,this,arguments)}),n.__eeOnceListener__=t,this},l={on:r=function(e,t){var n;return d(t),g.call(this,"__ee__")?n=this.__ee__:(n=y.value=h(null),m(this,"__ee__",y),y.value=null),n[e]?"object"===typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},once:o,off:i=function(e,t){var n,r,o,i;if(d(t),!g.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if("object"===typeof(r=n[e]))for(i=0;o=r[i];++i)o!==t&&o.__eeOnceListener__!==t||(2===r.length?n[e]=r[i?0:1]:r.splice(i,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},emit:a=function(e){var t,n,r,o,i;if(g.call(this,"__ee__")&&(o=this.__ee__[e]))if("object"===typeof o){for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];for(o=o.slice(),t=0;r=o[t];++t)f.call(r,this,i)}else switch(arguments.length){case 1:p.call(o,this);break;case 2:p.call(o,this,arguments[1]);break;case 3:p.call(o,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];f.call(o,this,i)}}},s={on:c(r),once:c(o),off:c(i),emit:c(a)},u=v({},s),e.exports=t=function(e){return null==e?h(u):v(Object(e),s)},t.methods=l},6090:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useRerenderOnStateChange=t.useEvt=void 0;var r=n(1076);Object.defineProperty(t,"useEvt",{enumerable:!0,get:function(){return r.useEvt}});var o=n(7812);Object.defineProperty(t,"useRerenderOnStateChange",{enumerable:!0,get:function(){return o.useRerenderOnStateChange}})},1076:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useEvt=void 0;var a=n(8493),l=i(n(5043)).useEffect;t.useEvt=function(e,t){l((function(){var t=a.Evt.newCtx();return e(t),function(){t.done()}}),t)}},7812:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.useRerenderOnStateChange=void 0;var l=n(1076),s=i(n(5043)).useState;t.useRerenderOnStateChange=function(e){var t=a(s((function(){return e.state})),2)[1];(0,l.useEvt)((function(n){return e.attach(n,(function(e){return t((function(){return e}))}))}),[e])}},5696:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__values||function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.Ctx=void 0;var i=n(1438),a=n(9632),l=n(2719),s=n(4521),u=n(5586),c=n(3502),d=n(7695),f=function(){function e(){this.lazyEvtAttach=new u.LazyEvt,this.lazyEvtDetach=new u.LazyEvt,this.lazyEvtDoneOrAborted=new u.LazyEvt,this.handlers=new i.Polyfill,this.evtByHandler=new a.Polyfill}return Object.defineProperty(e.prototype,"evtDoneOrAborted",{get:function(){return this.lazyEvtDoneOrAborted.evt},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"evtAttach",{get:function(){return this.lazyEvtAttach.evt},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"evtDetach",{get:function(){return this.lazyEvtDetach.evt},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"completionStatus",{get:function(){return this.__completionStatus},enumerable:!1,configurable:!0}),e.prototype.onDoneOrAborted=function(e){this.__completionStatus=e,this.lazyEvtDoneOrAborted.post(e)},e.prototype.waitFor=function(e){var t=this;return this.evtDoneOrAborted.waitFor(e).then((function(e){if("ABORTED"===e.type)throw e.error;return e.result}),(function(e){throw t.abort(e),e}))},e.prototype.abort=function(e){return this.__done(e)},e.prototype.done=function(e){return this.__done(void 0,e)},e.prototype.__done=function(e,t){var n,i,a=[];try{for(var l=o(this.handlers.values()),s=l.next();!s.done;s=l.next()){var u=s.value,c=this.evtByHandler.get(u);u.detach()&&a.push({handler:u,evt:c})}}catch(d){n={error:d}}finally{try{s&&!s.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return this.onDoneOrAborted(r(r({},e?{type:"ABORTED",error:e}:{type:"DONE",result:t}),{handlers:a})),a},e.prototype.getHandlers=function(){var e=this;return Array.from(this.handlers.values()).map((function(t){return{handler:t,evt:e.evtByHandler.get(t)}}))},e.prototype.zz__addHandler=function(e,t){(0,l.assert)(e.ctx===this),(0,l.assert)((0,s.is)(e)),void 0===this.completionStatus?(this.handlers.add(e),this.evtByHandler.set(e,t),this.lazyEvtAttach.post({handler:e,evt:t})):e.detach()},e.prototype.zz__removeHandler=function(e){(0,l.assert)(e.ctx===this),(0,l.assert)((0,s.is)(e)),this.lazyEvtDetach.post({handler:e,evt:this.evtByHandler.get(e)}),this.handlers.delete(e)},e}();t.Ctx=f;try{(0,d.overwriteReadonlyProp)(t.Ctx,"name","Ctx")}catch(p){}c.importProxy.Ctx=t.Ctx},9115:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asNonPostable=void 0,t.asNonPostable=function(e){return e}},8942:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asPostable=void 0,t.asPostable=function(e){return e}},5062:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function l(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(l){i=[6,l],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.asyncPipe=void 0;var i=n(3502);t.asyncPipe=function(e,t){var n=this,a="state"in e?i.importProxy.Evt.create(void 0):i.importProxy.Evt.create(),l=0;return e.attach((function(i){return r(n,void 0,void 0,(function(){var n,r,s;return o(this,(function(o){switch(o.label){case 0:return l++,n=l,null!==(r=t(i))&&"then"in r?[4,r]:[3,2];case 1:return s=o.sent(),"state"in e&&n!==l?[2]:[3,3];case 2:s=r,o.label=3;case 3:return s?(a.post(s[0]),[2]):[2]}}))}))})),a}},3516:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.create=void 0;var r=n(3502);t.create=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?new r.importProxy.Evt:new r.importProxy.StatefulEvt(e[0])}},4157:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.factorize=void 0,t.factorize=function(e){return e}},4736:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.from=void 0;var l=n(6428),s=n(2719),u=n(9288),c=n(9374),d=n(3502),f=i(n(909)).EventTargetLike;function p(e,t,n,r){var o,i;if(o=t,!f.canBe(o)){if("then"in t){var a=new d.importProxy.Evt,u=function(){var t=function(){return null===e||void 0===e?void 0:e.evtDoneOrAborted.postCount},n=t();return function(){return n!==t()}}();return t.then((function(e){u()||a.post(e)})),a}return(0,c.mergeImpl)(e,Array.from(t).map((function(t){return p(e,t,n,r)})))}if(f.HasEventTargetAddRemove.match(t))i={on:function(e,n,r){return t.addEventListener(n,e,r)},off:function(e,n,r){return t.removeEventListener(n,e,r)}};else if(f.NodeStyleEventEmitter.match(t))i={on:function(e,n){return t.addListener(n,e)},off:function(e,n){return t.removeListener(n,e)}};else if(f.JQueryStyleEventEmitter.match(t))i={on:function(e,n){return t.on(n,e)},off:function(e,n){return t.off(n,e)}};else if(f.RxJSSubject.match(t)){var h;i={on:function(e){return h=t.subscribe((function(t){return e(t)}))},off:function(){return h.unsubscribe()}}}else(0,l.id)(t),(0,s.assert)(!1);var m=new d.importProxy.Evt,v=function(e){return m.post(e)};return null===e||void 0===e||e.evtDoneOrAborted.attachOnce((function(){return i.off(v,n,r)})),i.on(v,n,r),m}function h(e,t,n){var r=d.importProxy.Evt.create(),o=new t((function(e){var t=a(e,1)[0];return r.post(t)}));return o.observe(n),null===e||void 0===e||e.evtDoneOrAborted.attachOnce((function(){return o.disconnect()})),r}t.from=function(e,t,n,r){return"evtDoneOrAborted"in e?((0,s.assert)((0,u.typeGuard)(t,!0)&&(0,u.typeGuard)(n,!0)&&(0,u.typeGuard)(r,!0)),"function"===typeof t?((0,s.assert)((0,u.typeGuard)(n,!0)&&(0,u.typeGuard)(r,!0)),h(e,t,n)):((0,s.assert)((0,u.typeGuard)(n,!0)),p(e,t,n,r))):((0,s.assert)((0,u.typeGuard)(e,!0)&&(0,u.typeGuard)(t,!0)&&(0,u.typeGuard)(n,!0)),"function"===typeof e?((0,s.assert)((0,u.typeGuard)(t,!0)&&(0,u.typeGuard)(n,!0)),h(void 0,e,t)):((0,s.assert)((0,u.typeGuard)(t,!0)),p(void 0,e,t,n)))}},9493:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCtxFactory=void 0;var r=n(9632),o=n(3502);t.getCtxFactory=function(){var e=new r.Polyfill;return function(t){var n=e.get(t);return void 0===n&&(n=new o.importProxy.Ctx,e.set(t,n)),n}}},8624:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t},l=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function l(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(l){i=[6,l],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},u=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},c=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},d=this&&this.__values||function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.Evt=t.onAddHandlerByEvt=void 0,n(3538);var f=n(428),p=n(9632),h=n(3502),m=n(3516),v=n(9493),g=n(4157),y=n(9374),b=n(4736),x=n(8942),w=n(5062),S=n(9115),k=n(8614),A=n(4007),E=n(5586),C=a(n(289)),P=n(7695),_=n(9288),O=n(2922),j=n(7468),T=n(4631),M=n(1091),R=n(2786),L=a(n(4158)),I=n(7629),D=function(e){return e()},F=L.CtxLike,z=function(){function e(){this.lazyEvtAttach=new E.LazyEvt,this.lazyEvtDetach=new E.LazyEvt,this.__maxHandlers=void 0,this.postCount=0,this.traceId=null,this.handlers=[],this.handlerTriggers=new f.Polyfill,this.__currentChronologyMark=0,this.asyncHandlerCount=0}return e.setDefaultMaxHandlers=function(e){this.__defaultMaxHandlers=isFinite(e)?e:0},e.prototype.toStateful=function(e,t){var n=F.match(e),r=n?void 0:e,o=t||(n?e:void 0),i=new h.importProxy.StatefulEvt(r),a=function(e){return i.post(e)};return o?this.attach(o,a):this.attach(a),i},Object.defineProperty(e.prototype,"evtAttach",{get:function(){return this.lazyEvtAttach.evt},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"evtDetach",{get:function(){return this.lazyEvtDetach.evt},enumerable:!1,configurable:!0}),e.prototype.setMaxHandlers=function(e){return this.__maxHandlers=isFinite(e)?e:0,this},e.prototype.enableTrace=function(e){var t=e.id,n=e.formatter,r=e.log;this.traceId=t,this.traceFormatter=n||function(e){try{return JSON.stringify(e,null,2)}catch(t){return"".concat(e)}},this.log=void 0===r?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return console.log.apply(console,c([],u(e),!1))}:!1===r?void 0:r},e.prototype.disableTrace=function(){return this.traceId=null,this},Object.defineProperty(e.prototype,"asyncHandlerChronologyMark",{get:function(){var e,t,n;return null!==(t=(n=null!==(e=this["~internal"])&&void 0!==e?e:this["~internal"]={}).asyncHandlerChronologyMark)&&void 0!==t?t:n.asyncHandlerChronologyMark=new p.Polyfill},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"asyncHandlerChronologyExceptionRange",{get:function(){var e,t,n;return null!==(t=(n=null!==(e=this["~internal"])&&void 0!==e?e:this["~internal"]={}).asyncHandlerChronologyExceptionRange)&&void 0!==t?t:n.asyncHandlerChronologyExceptionRange=new p.Polyfill},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"invocableOpByOp",{get:function(){var e,t,n;return null!==(t=(n=null!==(e=this["~internal"])&&void 0!==e?e:this["~internal"]={}).invocableOpByOp)&&void 0!==t?t:n.invocableOpByOp=new p.Polyfill},enumerable:!1,configurable:!0}),e.prototype.getInvocableOp=function(e){var t=this.invocableOpByOp.get(e);if(void 0===t)throw new Error(["Provided operator isn't the operator of any handler","currently attached to the Evt instance"].join(" "));return t},e.prototype.getChronologyMark=function(){return this.__currentChronologyMark++},e.prototype.detachHandler=function(e,t,n){var r=this.handlers.indexOf(e);return!(r<0)&&((0,_.typeGuard)(e,!!e.ctx)&&e.ctx.zz__removeHandler(e),this.handlers.splice(r,1),e.async&&this.asyncHandlerCount--,this.handlerTriggers.delete(e),void 0!==t[0]&&((0,T.safeClearTimeout)(t[0]),n(new R.DetachedEvtError)),this.lazyEvtDetach.post(e),!0)},e.prototype.triggerHandler=function(e,t,n,r){var o=e.callback,i=e.once;void 0!==t[0]&&((0,T.safeClearTimeout)(t[0]),t[0]=void 0),i&&e.detach();var a=u(r,1)[0],l=null===o||void 0===o?void 0:o.call(this,a);return null===n||void 0===n||n(a),(0,M.isPromiseLike)(l)?l:void 0},e.prototype.addHandler=function(e,n){var o,i=this;this.invocableOpByOp.set(e.op,(0,I.convertOperatorToStatelessF\u03bb)(e.op));var a=new O.Deferred,l=[void 0],s=r(r(r({},e),n),{detach:function(){return i.detachHandler(s,l,a.reject)},promise:a.pr});"number"===typeof s.timeout&&(l[0]=(0,T.safeSetTimeout)((function(){l[0]=void 0,s.detach(),a.reject(new R.TimeoutEvtError(s.timeout))}),s.timeout));var u=function(e){return i.triggerHandler(s,l,a.isPending?a.resolve:void 0,e)};if(this.handlerTriggers.set(s,u),s.async&&this.asyncHandlerChronologyMark.set(s,this.getChronologyMark()),s.prepend){var c=void 0;for(c=0;c<this.handlers.length&&this.handlers[c].extract;c++);this.handlers.splice(c,0,s)}else this.handlers.push(s);return s.async&&this.asyncHandlerCount++,this.checkForPotentialMemoryLeak(),(0,_.typeGuard)(s,!!s.ctx)&&s.ctx.zz__addHandler(s,this),null===(o=t.onAddHandlerByEvt.get(this))||void 0===o||o(s,u),this.handlerTriggers.has(s)&&this.lazyEvtAttach.post(s),s},e.prototype.checkForPotentialMemoryLeak=function(){var t=void 0!==this.__maxHandlers?this.__maxHandlers:e.__defaultMaxHandlers;if(0!==t&&this.handlers.length%(t+1)===0){var n=["MaxHandlersExceededWarning: Possible Evt memory leak detected.","".concat(this.handlers.length," handlers attached").concat(this.traceId?' to "'.concat(this.traceId,'"'):"",".\n"),"Use Evt.prototype.setMaxHandlers(n) to increase limit on a specific Evt.\n","Use Evt.setDefaultMaxHandlers(n) to change the default limit currently set to ".concat(e.__defaultMaxHandlers,".\n")].join(""),o=new f.Polyfill;this.getHandlers().map((function(e){var t=e.ctx,n=e.async,o=e.once,i=e.prepend,a=e.extract,l=e.op,s=e.callback;return r(r({hasCtx:!!t,once:o,prepend:i,extract:a,isWaitFor:n},l===k.matchAll?{}:{op:l.toString()}),s?{callback:s.toString()}:{})})).map((function(e){return"{\n"+Object.keys(e).map((function(t){return" ".concat(t,": ").concat(e[t])})).join(",\n")+"\n}"})).forEach((function(e){return o.set(e,(o.has(e)?o.get(e):0)+1)})),n+="\n"+Array.from(o.keys()).map((function(e){return"".concat(o.get(e)," handler").concat(1===o.get(e)?"":"s"," like:\n").concat(e)})).join("\n")+"\n",null===this.traceId&&(n+="\n"+["To validate the identify of the Evt instance that is triggering this warning you can call",'Evt.prototype.enableTrace({ "id": "My evt id", "log": false }) on the Evt that you suspect.\n'].join(" "));try{console.warn(n)}catch(i){}}},e.prototype.isHandledByOp=function(e,t){var n,r=!1;try{n=this.getInvocableOp(e)}catch(o){return!1}return null!==n(t,(function(){return r=!0}))||r},e.prototype.trace=function(e){var t,n=this;if(null!==this.traceId){var r="(".concat(this.traceId,") "),o=!!this.handlers.find((function(t){var r=t.extract,o=t.op;return r&&n.isHandledByOp(o,e)}));if(o)r+="extracted ";else{var i=this.handlers.filter((function(t){var r=t.extract,o=t.op;return!r&&n.isHandledByOp(o,e)})).length;r+="".concat(i," handler").concat(i>1?"s":"",", ")}null===(t=this.log)||void 0===t||t.call(this,r+this.traceFormatter(e))}},e.prototype.postSync=function(e){var t,n,r=[],o=function(e){return[e,Promise.all(r).then((function(){}))]};try{for(var i=d(c([],u(this.handlers),!1)),a=i.next();!a.done;a=i.next()){var l=a.value,s=l.async,f=l.op,p=l.extract;if(!s){var h=this.handlerTriggers.get(l),m=this.getInvocableOp(f)(e,D);if(null!==m&&h){var v=h(m);if(void 0!==v&&r.push(v),p)return o(!0)}}}}catch(g){t={error:g}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o(!1)},e.prototype.postAsyncFactory=function(){var e=this;return C.buildMethodCb((function(t,n,r){var o,i;if(0!==e.asyncHandlerCount){var a,l=[];Promise.resolve().then((function(){return a=e.getChronologyMark()}));var s=function(r){if(!r.async)return"continue";var o=e.getInvocableOp(r.op)(t,D);if(null===o)return"continue";var i=e.handlerTriggers.get(r);return i&&function(){var t=e.asyncHandlerChronologyMark.get(r);if(n>t)return!0;var o=e.asyncHandlerChronologyExceptionRange.get(r);return void 0!==o&&o.lowerMark<n&&n<o.upperMark&&t>o.upperMark}()?(l.push(new Promise((function(e){return r.promise.then((function(){return e()})).catch((function(){return e()}))}))),void i(o)):"continue"};try{for(var f=d(c([],u(e.handlers),!1)),p=f.next();!p.done;p=f.next()){s(p.value)}}catch(m){o={error:m}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}if(0!==l.length){var h=c([],u(e.handlers),!1);Promise.all(l).then((function(){var t,o;try{for(var i=d(e.handlers),l=i.next();!l.done;l=i.next()){var s=l.value;s.async&&(h.indexOf(s)>=0||e.asyncHandlerChronologyExceptionRange.set(s,{lowerMark:n,upperMark:a}))}}catch(u){t={error:u}}finally{try{l&&!l.done&&(o=i.return)&&o.call(i)}finally{if(t)throw t.error}}r()}))}else r()}else r()}))},e.prototype.isHandled=function(e){var t=this;return!!this.getHandlers().find((function(n){var r=n.op;return t.isHandledByOp(r,e)}))},e.prototype.getHandlers=function(){return c([],u(this.handlers),!1)},e.prototype.detach=function(e){var t,n,r=[];try{for(var o=d(this.getHandlers()),i=o.next();!i.done;i=o.next()){var a=i.value;if(void 0===e||a.ctx===e)a.detach()&&r.push(a)}}catch(l){t={error:l}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var o=new e;return this.addHandler(r(r({},(0,k.parsePropsFromArgs)(t,"pipe")),{callback:function(e){return o.post(e)}}),e.propsFormMethodNames.attach),o},e.prototype.waitFor=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return this.addHandler((0,k.parsePropsFromArgs)(t,"waitFor"),e.propsFormMethodNames.waitFor).promise},e.prototype[Symbol.asyncIterator]=function(){return this.iter()[Symbol.asyncIterator]()},e.prototype.iter=function(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=(0,k.parsePropsFromArgs)(n,"waitFor"),i=null!==(t=o.ctx)&&void 0!==t?t:(0,A.newCtx)(),a=this;return(e={ctx:i})[Symbol.asyncIterator]=function(){var e=i.evtDoneOrAborted.postCount,t=function(){var e=o.timeout;if(void 0!==e){var t=function(){var t=new R.TimeoutEvtError(e);i.abort(t)},n=setTimeout(t,e);return{timeout:e,setTimeoutCallback:t,timer:n}}}(),n=a.pipe(i,o.op).pipe((function(e,n){return void 0!==t&&n((function(){clearTimeout(t.timer),t.timer=setTimeout(t.setTimeoutCallback,t.timeout)})),[e]})),r=[];if(n.attach((function(e){return r.push([e])})),void 0!==t){var u=t.timer;i.evtDoneOrAborted.attachOnce((function(e){return"DONE"===e.type}),(function(){return clearTimeout(u)}))}return{next:function(){return l(this,void 0,void 0,(function(){var t,o,a;return s(this,(function(l){switch(l.label){case 0:return void 0!==(t=r.shift())?[3,2]:(o=new O.Deferred,e<i.evtDoneOrAborted.postCount?[2,{done:!0}]:(a=(0,A.newCtx)(),i.evtDoneOrAborted.attachOnce(a,(function(){return o.resolve(void 0)})),n.attachOnceExtract(a,(function(e){a.done(),o.resolve([e])})),[4,o.pr]));case 1:if(void 0===(t=l.sent()))return[2,{done:!0}];l.label=2;case 2:return[2,{done:!1,value:t[0]}]}}))}))},return:function(){return a.detach(i),{done:!0}}}},e},e.prototype.$attach=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.attach.apply(this,c([],u(e),!1))},e.prototype.attach=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.__attachX(e,"attach")},e.prototype.$attachOnce=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.attachOnce.apply(this,c([],u(e),!1))},e.prototype.attachOnce=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.__attachX(e,"attachOnce")},e.prototype.$attachExtract=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.attachExtract.apply(this,c([],u(e),!1))},e.prototype.attachExtract=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.__attachX(e,"attachExtract")},e.prototype.$attachPrepend=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.attachPrepend.apply(this,c([],u(e),!1))},e.prototype.attachPrepend=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.__attachX(e,"attachPrepend")},e.prototype.$attachOncePrepend=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.attachOncePrepend.apply(this,c([],u(e),!1))},e.prototype.attachOncePrepend=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.__attachX(e,"attachOncePrepend")},e.prototype.$attachOnceExtract=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.attachOnceExtract.apply(this,c([],u(e),!1))},e.prototype.attachOnceExtract=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.__attachX(e,"attachOnceExtract")},e.prototype.__attachX=function(t,n){var r=(0,k.parsePropsFromArgs)(t,"attach*"),o=this.addHandler(r,e.propsFormMethodNames[n]);return void 0===r.timeout?this:o.promise},e.prototype.postAsyncOnceHandled=function(e){var t=this;if(this.isHandled(e))return this.post(e);var n=new O.Deferred;return this.evtAttach.attachOnce((function(n){var r=n.op;return t.isHandledByOp(r,e)}),(function(){return Promise.resolve().then((function(){return n.resolve(t.post(e))}))})),n.pr},e.prototype.postOrPostAndWait=function(e,t){var n=this;this.trace(e),(0,P.overwriteReadonlyProp)(this,"postCount",this.postCount+1);var r=this.getChronologyMark(),o=u(this.postSync(e),2),i=o[0],a=o[1],l=t?function(){return a}:function(){return n.postCount};if(i)return l();if(void 0===this.postAsync){if(0===this.asyncHandlerCount)return l();this.postAsync=this.postAsyncFactory()}return this.postAsync(e,r),l()},e.prototype.post=function(e){return this.postOrPostAndWait(e,!1)},e.prototype.postAndWait=function(e){return this.postOrPostAndWait(e,!0)},e.create=m.create,e.newCtx=A.newCtx,e.merge=y.merge,e.from=b.from,e.getCtx=(0,v.getCtxFactory)(),e.loosenType=j.loosenType,e.factorize=g.factorize,e.asPostable=x.asPostable,e.asyncPipe=w.asyncPipe,e.asNonPostable=S.asNonPostable,e.__defaultMaxHandlers=25,e.propsFormMethodNames={waitFor:{async:!0,extract:!1,once:!0,prepend:!1},attach:{async:!1,extract:!1,once:!1,prepend:!1},attachExtract:{async:!1,extract:!0,once:!1,prepend:!0},attachPrepend:{async:!1,extract:!1,once:!1,prepend:!0},attachOnce:{async:!1,extract:!1,once:!0,prepend:!1},attachOncePrepend:{async:!1,extract:!1,once:!0,prepend:!0},attachOnceExtract:{async:!1,extract:!0,once:!0,prepend:!0}},e}();t.onAddHandlerByEvt=new p.Polyfill,t.Evt=z;try{(0,P.overwriteReadonlyProp)(t.Evt,"name","Evt")}catch(N){}h.importProxy.Evt=t.Evt},7468:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loosenType=void 0,t.loosenType=function(e){return e}},9374:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=t.mergeImpl=void 0;var r=n(3502);function o(e,t){var n=new r.importProxy.Evt,o=function(e){return n.post(e)};return t.forEach((function(t){void 0===e?t.attach(o):t.attach(e,o)})),n}t.mergeImpl=o,t.merge=function(e,t){return"length"in e?o(void 0,e):o(e,t)}},4007:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.newCtx=void 0;var r=n(3502);t.newCtx=function(){return new r.importProxy.Ctx}},8614:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.parsePropsFromArgs=t.matchAll=void 0;var a=n(6428),l=n(578),s=n(9288);function u(){return!0}t.matchAll=u;var c=function(e){return void 0!==e&&(0,s.typeGuard)(e,!0)&&("function"===typeof e||"function"===typeof e[0])},d={op:u,ctx:void 0,timeout:void 0,callback:void 0};t.parsePropsFromArgs=function e(t,n){switch(n){case"pipe":var s=function(e){return 0===e.length?{}:{op:1===e.length?e[0]:l.compose.apply(void 0,i([],o(e),!1))}};if(c(t[0]))return(0,a.id)(r(r({},d),s(t)));var u=o(t),f=u[0],p=u.slice(1);return(0,a.id)(r(r(r({},d),void 0!==f?{ctx:f}:{}),s(p)));case"waitFor":return e(i(i([],o(t.filter((function(e,n){return!(n===t.length-1&&void 0===e)}))),!1),[d.callback],!1),"attach*");case"attach*":switch(t.length){case 4:var h=o(t,4),m=h[0],v=h[1],g=h[2],y=h[3];return(0,a.id)(r(r({},d),{op:m,ctx:v,timeout:g,callback:y}));case 3:var b=o(t,3);m=b[0],v=b[1],g=b[2];if("number"===typeof v){var x=v,w=g;return c(m)?(0,a.id)(r(r({},d),{timeout:x,callback:w,op:m})):(0,a.id)(r(r({},d),{timeout:x,callback:w,ctx:m}))}return(0,a.id)(r(r({},d),{op:m,ctx:v,callback:g}));case 2:var S=o(t,2);m=S[0],v=S[1];if("number"===typeof m)return(0,a.id)(r(r({},d),{timeout:m,callback:v}));w=v;return c(m)?(0,a.id)(r(r({},d),{callback:w,op:m})):(0,a.id)(r(r({},d),{callback:w,ctx:m}));case 1:var k=o(t,1)[0];return(0,a.id)(r(r({},d),{callback:k}));case 0:return(0,a.id)(r({},d))}}}},5586:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LazyEvt=void 0;var r=n(7695),o=n(3502),i=function(){function e(){this.initialPostCount=0}return Object.defineProperty(e.prototype,"evt",{get:function(){return void 0===this.__evt&&(this.__evt=new o.importProxy.Evt,(0,r.overwriteReadonlyProp)(this.__evt,"postCount",this.initialPostCount)),this.__evt},enumerable:!1,configurable:!0}),e.prototype.__post=function(e,t){return void 0===this.__evt?++this.initialPostCount:this.__evt[t?"postAndWait":"post"](e)},e.prototype.post=function(e){return this.__post(e,!1)},e.prototype.postAndWait=function(e){return this.__post(e,!0)},e}();t.LazyEvt=i},7658:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LazyStatefulEvt=void 0;var r=n(7695),o=n(3502),i=function(){function e(e){this.initialPostCount=0,this.initialState=e}return Object.defineProperty(e.prototype,"evt",{get:function(){return void 0===this.__evt&&(this.__evt=new o.importProxy.StatefulEvt(this.initialState),this.initialState=null,(0,r.overwriteReadonlyProp)(this.__evt,"postCount",this.initialPostCount)),this.__evt},enumerable:!1,configurable:!0}),e.prototype.__post=function(e,t){return void 0===this.__evt?(this.initialState=e,++this.initialPostCount):this.__evt[t?"postAndWait":"post"](e)},e.prototype.post=function(e){return this.__post(e,!1)},e.prototype.postAndWait=function(e){return this.__post(e,!0)},e}();t.LazyStatefulEvt=i},9880:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.StatefulEvt=void 0,n(2405);var a=n(5586),l=n(7658),s=n(3502),u=n(8624),c=n(2719),d=n(6428),f=function(e){return e()},p=function(e){function t(t){var n=e.call(this)||this;return n.lazyEvtDiff=new a.LazyEvt,n.lazyEvtChangeDiff=new a.LazyEvt,n.__state=t,n.lazyEvtChange=new l.LazyStatefulEvt(n.__state),u.onAddHandlerByEvt.set(n,(function(e,t){if(!e.extract){var r=(0,d.id)(void 0),o=n.getInvocableOp(e.op)(n.__state,void 0!==n.setOpResultForPipe?function(e){return r=e}:f);void 0!==n.setOpResultForPipe&&(n.setOpResultForPipe(o),void 0!==r&&r()),o&&t(o)}})),n}return r(t,e),Object.defineProperty(t.prototype,"state",{get:function(){return this.__state},set:function(e){this.state!==e&&this.post(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"evtDiff",{get:function(){return this.lazyEvtDiff.evt},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"evtChange",{get:function(){return this.lazyEvtChange.evt},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"evtChangeDiff",{get:function(){return this.lazyEvtChangeDiff.evt},enumerable:!1,configurable:!0}),t.prototype.post=function(e){return this.__post(e,!1,!1)},t.prototype.postForceChange=function(e){return this.__post(e?e[0]:this.state,!0,!1)},t.prototype.postAndWait=function(e){return this.__post(e,!1,!0)},t.prototype.__post=function(t,n,r){var o=this.state;this.__state=t;var i={prevState:o,newState:this.state},a=r?"postAndWait":"post",l=[],s=this.lazyEvtDiff[a](i);if(r&&l.push(s),n||!Object.is(o,this.state)){var u=this.lazyEvtChange[a](this.state),c=this.lazyEvtChangeDiff[a](i);r&&l.push(u,c)}var d=e.prototype[a].call(this,t);return r?(l.push(d),Promise.all(l).then((function(){}))):d},t.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=void 0;this.setOpResultForPipe=function(e){return r=e};var a=e.prototype.pipe.apply(this,i([],o(t),!1));if((0,c.assert)(void 0!==r),this.setOpResultForPipe=void 0,!r)throw new Error(["Cannot pipe StatefulEvt because the operator does not match","it's current state. You would end up with evt.state === undefined","Use evt.toStateless([ctx]).pipe(op).toStatic(initialState)","to be sure the StatefulEvt does not have an undefined state"].join(" "));return a.toStateful(r[0])},t.prototype.toStateless=function(t){var n=u.onAddHandlerByEvt.get(this);u.onAddHandlerByEvt.delete(this);var r=t?e.prototype.pipe.call(this,t):e.prototype.pipe.call(this);return u.onAddHandlerByEvt.set(this,n),r},t}(u.Evt);t.StatefulEvt=p,s.importProxy.StatefulEvt=t.StatefulEvt},3502:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.importProxy=void 0,t.importProxy={}},8493:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.distinct=t.nonNullable=t.throttleTime=t.to=t.StatefulEvt=t.Evt=t.Ctx=void 0,o(n(1051),t),o(n(6502),t);var i=n(5696);Object.defineProperty(t,"Ctx",{enumerable:!0,get:function(){return i.Ctx}});var a=n(8624);Object.defineProperty(t,"Evt",{enumerable:!0,get:function(){return a.Evt}});var l=n(9880);Object.defineProperty(t,"StatefulEvt",{enumerable:!0,get:function(){return l.StatefulEvt}});var s=n(7458);Object.defineProperty(t,"to",{enumerable:!0,get:function(){return s.to}});var u=n(4766);Object.defineProperty(t,"throttleTime",{enumerable:!0,get:function(){return u.throttleTime}});var c=n(5085);Object.defineProperty(t,"nonNullable",{enumerable:!0,get:function(){return c.nonNullable}});var d=n(4719);Object.defineProperty(t,"distinct",{enumerable:!0,get:function(){return d.distinct}})},909:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventTargetLike=void 0;var r=n(9288);!function(e){var t,n,o,i;!function(e){e.match=function(e){return(0,r.typeGuard)(e,!0)&&e instanceof Object&&"function"===typeof e.subscribe}}(t=e.RxJSSubject||(e.RxJSSubject={})),function(e){e.match=function(e){return(0,r.typeGuard)(e,!0)&&e instanceof Object&&"function"===typeof e.addListener&&"function"===typeof e.removeListener}}(n=e.NodeStyleEventEmitter||(e.NodeStyleEventEmitter={})),function(e){e.match=function(e){return(0,r.typeGuard)(e,!0)&&e instanceof Object&&"function"===typeof e.on&&"function"===typeof e.off}}(o=e.JQueryStyleEventEmitter||(e.JQueryStyleEventEmitter={})),function(e){e.match=function(e){return(0,r.typeGuard)(e,!0)&&e instanceof Object&&"function"===typeof e.addEventListener&&"function"===typeof e.removeEventListener}}(i=e.HasEventTargetAddRemove||(e.HasEventTargetAddRemove={})),e.canBe=function(e){try{return i.match(e)||n.match(e)||o.match(e)||t.match(e)}catch(r){return!1}}}(t.EventTargetLike||(t.EventTargetLike={}))},2786:function(e,t){"use strict";var n=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.DetachedEvtError=t.TimeoutEvtError=void 0;var r=function(e){function t(t){var n=this.constructor,r=e.call(this,"Evt timeout after ".concat(t,"ms"))||this;return r.timeout=t,Object.setPrototypeOf(r,n.prototype),r}return n(t,e),t}(Error);t.TimeoutEvtError=r;var o=function(e){function t(){var t=this.constructor,n=e.call(this,"Evt handler detached")||this;return Object.setPrototypeOf(n,t.prototype),n}return n(t,e),t}(Error);t.DetachedEvtError=o},3031:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},280:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1051:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.dom=void 0,i(n(280),t),i(n(4808),t),t.dom=a(n(5930)),i(n(909),t),i(n(2786),t),i(n(3031),t)},4158:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CtxLike=void 0;var r=n(9288);!function(e){e.match=function(e){return(0,r.typeGuard)(e,!0)&&e instanceof Object&&"function"===typeof e.done&&"function"===typeof e.abort&&"function"===typeof e.zz__addHandler&&"function"===typeof e.zz__removeHandler}}(t.CtxLike||(t.CtxLike={}))},4808:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(4158),t)},5930:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__hack=void 0,t.__hack="NOT TYPE ONLY"},578:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.compose=void 0;var i=n(7629),a=n(6428);t.compose=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(1===t.length){var l=r(t,1)[0];return(0,i.convertOperatorToStatelessF\u03bb)(l)}var s=r(t),u=s[0],c=s[1],d=s.slice(2),f=function(e,t){var n=(0,i.convertOperatorToStatelessF\u03bb)(e),o=(0,i.convertOperatorToStatelessF\u03bb)(t);return(0,a.id)((function(e,t){var i=n(e,t);if(!i)return null;var a=r(i,1)[0],l=o(a,t);return l?[l[0]]:l}))}(u,c);return 0===d.length?f:e.apply(void 0,o([f],r(d),!1))}},7629:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["convertOperatorToStatelessF\u03bb"]=void 0,t["convertOperatorToStatelessF\u03bb"]=function(e){return"function"!==typeof e?function(e){var t=e[1];return function(n,r){var o=e[0](n,t,r);return null!==o&&r((function(){return t=o[0]})),o}}(e):function(e){return function(t,n){var r=e(t,n);return r instanceof Object&&!("input"in r)&&1===r.length?r:r?[t]:null}}(e)}},6502:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compose=void 0;var r=n(578);Object.defineProperty(t,"compose",{enumerable:!0,get:function(){return r.compose}})},4719:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.distinct=void 0;var i=n(578);t.distinct=function(e,t){var n;return(0,i.compose)((function(n){var r,o;return[{data:n,selectedKey:null!==(r=null===e||void 0===e?void 0:e(n))&&void 0!==r?r:n,currentFlushCount:null!==(o=null===t||void 0===t?void 0:t.evtDoneOrAborted.postCount)&&void 0!==o?o:0}]}),[function(e,t){var n=e.data,i=e.selectedKey,a=e.currentFlushCount,l=t.alreadyPostedData,s=t.previousFlushCount;return[{boxedData:a===s&&l.has(i)?null:[n],alreadyPostedData:new Set(o(o([],r(a!==s?[]:Array.from(l)),!1),[i],!1)),previousFlushCount:a}]},{boxedData:null,alreadyPostedData:new Set,previousFlushCount:null!==(n=null===t||void 0===t?void 0:t.evtDoneOrAborted.postCount)&&void 0!==n?n:0}],(function(e){return e.boxedData}))}},5085:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonNullable=void 0;var n=function(e){return void 0===(t=e)||null===t?null:[e];var t};t.nonNullable=function(){return n}},4766:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttleTime=void 0;var r=n(578);t.throttleTime=function(e){return(0,r.compose)([function(t,n){var r=n.lastClick,o=Date.now();return o-r<e?null:[{data:t,lastClick:o}]},{lastClick:0,data:null}],(function(e){return[e.data]}))}},7458:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.to=void 0;var n=new Map;t.to=function(e){var r;return null!==(r=n.get(e))&&void 0!==r?r:(n.set(e,(function(t){return t[0]!==e?null:[t[1]]})),(0,t.to)(e))}},2922:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.VoidDeferred=t.Deferred=void 0;var o=n(7695),i=function(){var e,t,n=this;this.isPending=!0,this.pr=new Promise((function(r,i){e=function(e){(0,o.overwriteReadonlyProp)(n,"isPending",!1),r(e)},t=function(e){(0,o.overwriteReadonlyProp)(n,"isPending",!1),i(e)}})),this.resolve=e,this.reject=t};t.Deferred=i;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(i);t.VoidDeferred=a},9840:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.allEqualsToFactory=t.allEqualsTo=t.arrAllEqualsTo=void 0;var i=n(6919),a=n(6176);function l(e,t,n){return void 0===n&&(n=function(e,t){return e===t}),e.reduce.apply(e,o([],r((0,a.every)((function(e){return n(e,t)}))),!1))}function s(e,t){return(0,i.toReduceArguments)(l,e,t)}t.arrAllEqualsTo=l,t.allEqualsTo=s,t.allEqualsToFactory=function(e){var t=e.areEquals;return{allEqualsTo:function(e){return s(e,t)}}}},2090:function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.contains=t.arrContains=void 0;var o=n(6919);function i(e,t){var n,o;try{for(var i=r(e),a=i.next();!a.done;a=i.next()){if(t(a.value))return!0}}catch(l){n={error:l}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return!1}t.arrContains=i,t.contains=function(e){return(0,o.toReduceArguments)(i,e)}},8484:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.diffFactory=t.diff=t.arrDiff=void 0;var i=n(6919),a=n(2090),l=n(2737),s=n(6428),u=function(e,t){return e===t};function c(e,t,n){void 0===n&&(n=u);var i={added:(0,s.id)([]),removed:(0,s.id)([])};if(e.length===t.length&&e.every((function(e,r){return n(e,t[r])})))return i;if(n!==u)return{added:t.reduce.apply(t,o([],r((0,l.removeDuplicates)(n)),!1)).filter((function(t){return!e.reduce.apply(e,o([],r((0,a.contains)((function(e){return n(e,t)}))),!1))})),removed:e.reduce.apply(e,o([],r((0,l.removeDuplicates)(n)),!1)).filter((function(e){return!t.reduce.apply(t,o([],r((0,a.contains)((function(t){return n(t,e)}))),!1))}))};var c=new Set(e),d=new Set(t);return c.forEach((function(e){d.has(e)||i.removed.push(e)})),d.forEach((function(e){c.has(e)||i.added.push(e)})),i}function d(e,t){return(0,i.toReduceArguments)(c,e,t)}t.arrDiff=c,t.diff=d,t.diffFactory=function(e){var t=e.areEquals;return{diff:function(e){return d(e,t)}}}},6176:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.every=t.arrEvery=void 0;var r=n(6919);function o(e,t){return void 0===t&&(t=function(e){return!!e}),e.map((function(e){return t(e)})).reduce((function(e,t){return t&&e}),!0)}t.arrEvery=o,t.every=function(e){return(0,r.toReduceArguments)(o,e)}},6919:function(e,t){"use strict";var n=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.toReduceArguments=void 0,t.toReduceArguments=function(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];var i=[];return[function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var l,s=n(o,4)[3];return 1===i.length?l=i[0]:(l=e.apply(void 0,r([s],n(t),!1)),i=[l]),l},e.apply(void 0,r([[]],n(t),!1))]}},2737:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.removeDuplicatesFactory=t.removeDuplicates=t.arrRemoveDuplicates=void 0;var i=n(9840),a=n(6919);function l(e,t){return void 0===t&&(t=function(e,t){return e===t}),e.reduce((function(e,n){var a;return o(o([],r(e),!1),r((a=e.map((function(e){return t(n,e)}))).reduce.apply(a,o([],r((0,i.allEqualsTo)(!1)),!1))?[n]:[]),!1)}),[])}function s(e){return(0,a.toReduceArguments)(l,e)}t.arrRemoveDuplicates=l,t.removeDuplicates=s,t.removeDuplicatesFactory=function(e){var t=e.areEquals;return{removeDuplicates:function(){return s(t)}}}},4631:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.safeClearTimeout=t.safeSetTimeout=void 0;t.safeSetTimeout=function(e,t){return setTimeout(e,t)};t.safeClearTimeout=function(e){return clearTimeout(e)}},4286:e=>{var t=function(){if("object"===typeof self&&self)return self;if("object"===typeof window&&window)return window;throw new Error("Unable to resolve global `this`")};e.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return t()}try{return __global__||t()}finally{delete Object.prototype.__global__}}()},6230:(e,t,n)=>{"use strict";e.exports=n(3853)()?globalThis:n(4286)},3853:e=>{"use strict";e.exports=function(){return"object"===typeof globalThis&&(!!globalThis&&globalThis.Array===Array)}},3240:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,u,c,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"===typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!==typeof d&&"function"!==typeof d)&&(d={});f<p;++f)if(null!=(t=arguments[f]))for(n in t)r=s(d,n),d!==(o=s(t,n))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=r&&i(r)?r:[]):c=r&&a(r)?r:{},l(d,{name:n,newValue:e(h,c,o)})):"undefined"!==typeof o&&l(d,{name:n,newValue:o}));return d}},1418:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|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|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|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|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)-.*))$/;const o=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},8968:(e,t,n)=>{"use strict";n.r(t),n.d(t,{render:()=>O});var r=window.document,o=window.Math,i=window.HTMLElement,a=window.XMLHttpRequest,l=function(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n])},s=function(e){return function(t,n,r){var o=e.createElement(t);if(null!=n)for(var i in n){var a=n[i];null!=a&&(null!=o[i]?o[i]=a:o.setAttribute(i,a))}return null!=r&&l(r,(function(t){o.appendChild("string"===typeof t?e.createTextNode(t):t)})),o}},u=s(r),c=function(e,t){return{}.hasOwnProperty.call(e,t)},d=function(e){return(""+e).toLowerCase()},f="github.com",p="https://api."+f,h=a&&"prototype"in a&&"withCredentials"in a.prototype,m=h&&i&&"attachShadow"in i.prototype&&!("prototype"in i.prototype.attachShadow),v=function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},g=function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},y={light:".btn:focus-visible,.social-count:focus-visible{outline:2px solid #0969da;outline-offset:-2px}.btn{color:#24292f;background-color:#ebf0f4;border-color:#ccd1d5;border-color:rgba(31,35,40,.15);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%23f6f8fa'/%3e%3cstop offset='90%25' stop-color='%23ebf0f4'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e\");background-image:-moz-linear-gradient(top, #f6f8fa, #ebf0f4 90%);background-image:linear-gradient(180deg, #f6f8fa, #ebf0f4 90%);filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FFF6F8FA', endColorstr='#FFEAEFF3')}:root .btn{filter:none}.btn:hover,.btn:focus{background-color:#e9ebef;background-position:0 -0.5em;border-color:#cbcdd1;border-color:rgba(31,35,40,.15);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%23f3f4f6'/%3e%3cstop offset='90%25' stop-color='%23e9ebef'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e\");background-image:-moz-linear-gradient(top, #f3f4f6, #e9ebef 90%);background-image:linear-gradient(180deg, #f3f4f6, #e9ebef 90%);filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FFF3F4F6', endColorstr='#FFE8EAEE')}:root .btn:hover,:root .btn:focus{filter:none}.btn:active{background-color:#e5e9ed;border-color:#c7cbcf;border-color:rgba(31,35,40,.15);background-image:none;filter:none}.social-count{color:#24292f;background-color:#fff;border-color:#dddedf;border-color:rgba(31,35,40,.15)}.social-count:hover,.social-count:focus{color:#0969da}.octicon-heart{color:#bf3989}",light_high_contrast:".btn:focus-visible,.social-count:focus-visible{outline:2px solid #0349b4;outline-offset:-2px}.btn{color:#0e1116;background-color:#e7ecf0;border-color:#2f3237;border-color:rgba(1,4,9,.8);background-image:none;filter:none}.btn:hover,.btn:focus{background-color:#c4cdd5;background-position:0 -0.5em;border-color:#282c32;border-color:rgba(1,4,9,.8);background-image:none;filter:none}.btn:active{background-color:#d8dde1;border-color:#2c2f34;border-color:rgba(1,4,9,.8)}.social-count{color:#0e1116;background-color:#fff;border-color:#34363a;border-color:rgba(1,4,9,.8)}.social-count:hover,.social-count:focus{color:#0349b4}.octicon-heart{color:#971368}",dark:".btn:focus-visible,.social-count:focus-visible{outline:2px solid #2f81f7;outline-offset:-2px}.btn{color:#c9d1d9;background-color:#1a1e23;border-color:#2f3439;border-color:rgba(240,246,252,.1);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%2321262d'/%3e%3cstop offset='90%25' stop-color='%231a1e23'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e\");background-image:-moz-linear-gradient(top, #21262d, #1a1e23 90%);background-image:linear-gradient(180deg, #21262d, #1a1e23 90%);filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FF21262D', endColorstr='#FF191D22')}:root .btn{filter:none}.btn:hover,.btn:focus{background-color:#292e33;background-position:0 -0.5em;border-color:#8b949e;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%2330363d'/%3e%3cstop offset='90%25' stop-color='%23292e33'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e\");background-image:-moz-linear-gradient(top, #30363d, #292e33 90%);background-image:linear-gradient(180deg, #30363d, #292e33 90%);filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FF30363D', endColorstr='#FF282D32')}:root .btn:hover,:root .btn:focus{filter:none}.btn:active{background-color:#161719;border-color:#8b949e;background-image:none;filter:none}.social-count{color:#c9d1d9;background-color:#0d1117;border-color:#24282e;border-color:rgba(240,246,252,.1)}.social-count:hover,.social-count:focus{color:#2f81f7}.octicon-heart{color:#db61a2}",dark_dimmed:".btn:focus-visible,.social-count:focus-visible{outline:2px solid #539bf5;outline-offset:-2px}.btn{color:#adbac7;background-color:#30363d;border-color:#40464e;border-color:rgba(205,217,229,.1);background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%23373e47'/%3e%3cstop offset='90%25' stop-color='%2330363d'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e\");background-image:-moz-linear-gradient(top, #373e47, #30363d 90%);background-image:linear-gradient(180deg, #373e47, #30363d 90%);filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FF373E47', endColorstr='#FF2F353C')}:root .btn{filter:none}.btn:hover,.btn:focus{background-color:#3c444d;background-position:0 -0.5em;border-color:#768390;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%23444c56'/%3e%3cstop offset='90%25' stop-color='%233c444d'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e\");background-image:-moz-linear-gradient(top, #444c56, #3c444d 90%);background-image:linear-gradient(180deg, #444c56, #3c444d 90%);filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FF444C56', endColorstr='#FF3B434C')}:root .btn:hover,:root .btn:focus{filter:none}.btn:active{background-color:#2e3031;border-color:#768390;background-image:none;filter:none}.social-count{color:#adbac7;background-color:#22272e;border-color:#333940;border-color:rgba(205,217,229,.1)}.social-count:hover,.social-count:focus{color:#539bf5}.octicon-heart{color:#c96198}",dark_high_contrast:".btn:focus-visible,.social-count:focus-visible{outline:2px solid #71b7ff;outline-offset:-2px}.btn{color:#f0f3f6;background-color:#272b33;border-color:#7a828e;background-image:none;filter:none}.btn:hover,.btn:focus{background-color:#4a515b;background-position:0 -0.5em;border-color:#bdc4cc;background-image:none;filter:none}.btn:active{background-color:#1d1d1f;border-color:#bdc4cc}.social-count{color:#f0f3f6;background-color:#0a0c10;border-color:#7a828e}.social-count:hover,.social-count:focus{color:#71b7ff}.octicon-heart{color:#ef6eb1}"},b=function(e,t){return"@media(prefers-color-scheme:"+e+"){"+y[c(y,t)?t:e]+"}"},x=function(e){if(null==e)return y.light;if(c(y,e))return y[e];var t=function(e,t,n,r){null==t&&(t="&"),null==n&&(n="="),null==r&&(r=window.decodeURIComponent);var o={};return l(e.split(t),(function(e){if(""!==e){var t=e.split(n);o[r(t[0])]=null!=t[1]?r(t.slice(1).join(n)):void 0}})),o}(e,";",":",(function(e){return e.replace(/^[ \t\n\f\r]+|[ \t\n\f\r]+$/g,"")}));return y[c(y,t["no-preference"])?t["no-preference"]:"light"]+b("light",t.light)+b("dark",t.dark)},w={"comment-discussion":{heights:{16:{width:16,path:'<path d="M1.75 1h8.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.458 1.458 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25v-5.5C0 1.784.784 1 1.75 1ZM1.5 2.75v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13 2a.25.25 0 0 0-.25-.25h-.5a.75.75 0 0 1 0-1.5h.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.458 1.458 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l2.22 2.22v-2.19a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25Z"></path>'}}},download:{heights:{16:{width:16,path:'<path d="M2.75 14A1.75 1.75 0 0 1 1 12.25v-2.5a.75.75 0 0 1 1.5 0v2.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 1.5 0v2.5A1.75 1.75 0 0 1 13.25 14Z"></path><path d="M7.25 7.689V2a.75.75 0 0 1 1.5 0v5.689l1.97-1.969a.749.749 0 1 1 1.06 1.06l-3.25 3.25a.749.749 0 0 1-1.06 0L4.22 6.78a.749.749 0 1 1 1.06-1.06l1.97 1.969Z"></path>'}}},eye:{heights:{16:{width:16,path:'<path d="M8 2c1.981 0 3.671.992 4.933 2.078 1.27 1.091 2.187 2.345 2.637 3.023a1.62 1.62 0 0 1 0 1.798c-.45.678-1.367 1.932-2.637 3.023C11.67 13.008 9.981 14 8 14c-1.981 0-3.671-.992-4.933-2.078C1.797 10.83.88 9.576.43 8.898a1.62 1.62 0 0 1 0-1.798c.45-.677 1.367-1.931 2.637-3.022C4.33 2.992 6.019 2 8 2ZM1.679 7.932a.12.12 0 0 0 0 .136c.411.622 1.241 1.75 2.366 2.717C5.176 11.758 6.527 12.5 8 12.5c1.473 0 2.825-.742 3.955-1.715 1.124-.967 1.954-2.096 2.366-2.717a.12.12 0 0 0 0-.136c-.412-.621-1.242-1.75-2.366-2.717C10.824 4.242 9.473 3.5 8 3.5c-1.473 0-2.825.742-3.955 1.715-1.124.967-1.954 2.096-2.366 2.717ZM8 10a2 2 0 1 1-.001-3.999A2 2 0 0 1 8 10Z"></path>'}}},heart:{heights:{16:{width:16,path:'<path d="m8 14.25.345.666a.75.75 0 0 1-.69 0l-.008-.004-.018-.01a7.152 7.152 0 0 1-.31-.17 22.055 22.055 0 0 1-3.434-2.414C2.045 10.731 0 8.35 0 5.5 0 2.836 2.086 1 4.25 1 5.797 1 7.153 1.802 8 3.02 8.847 1.802 10.203 1 11.75 1 13.914 1 16 2.836 16 5.5c0 2.85-2.045 5.231-3.885 6.818a22.066 22.066 0 0 1-3.744 2.584l-.018.01-.006.003h-.002ZM4.25 2.5c-1.336 0-2.75 1.164-2.75 3 0 2.15 1.58 4.144 3.365 5.682A20.58 20.58 0 0 0 8 13.393a20.58 20.58 0 0 0 3.135-2.211C12.92 9.644 14.5 7.65 14.5 5.5c0-1.836-1.414-3-2.75-3-1.373 0-2.609.986-3.029 2.456a.749.749 0 0 1-1.442 0C6.859 3.486 5.623 2.5 4.25 2.5Z"></path>'}}},"issue-opened":{heights:{16:{width:16,path:'<path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Z"></path>'}}},"mark-github":{heights:{16:{width:16,path:'<path d="M8 0c4.42 0 8 3.58 8 8a8.013 8.013 0 0 1-5.45 7.59c-.4.08-.55-.17-.55-.38 0-.27.01-1.13.01-2.2 0-.75-.25-1.23-.54-1.48 1.78-.2 3.65-.88 3.65-3.95 0-.88-.31-1.59-.82-2.15.08-.2.36-1.02-.08-2.12 0 0-.67-.22-2.2.82-.64-.18-1.32-.27-2-.27-.68 0-1.36.09-2 .27-1.53-1.03-2.2-.82-2.2-.82-.44 1.1-.16 1.92-.08 2.12-.51.56-.82 1.28-.82 2.15 0 3.06 1.86 3.75 3.64 3.95-.23.2-.44.55-.51 1.07-.46.21-1.61.55-2.33-.66-.15-.24-.6-.83-1.23-.82-.67.01-.27.38.01.53.34.19.73.9.82 1.13.16.45.68 1.31 2.69.94 0 .67.01 1.3.01 1.49 0 .21-.15.45-.55.38A7.995 7.995 0 0 1 0 8c0-4.42 3.58-8 8-8Z"></path>'}}},package:{heights:{16:{width:16,path:'<path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"></path>'}}},play:{heights:{16:{width:16,path:'<path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z"></path>'}}},"repo-forked":{heights:{16:{width:16,path:'<path d="M5 5.372v.878c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75v-.878a2.25 2.25 0 1 1 1.5 0v.878a2.25 2.25 0 0 1-2.25 2.25h-1.5v2.128a2.251 2.251 0 1 1-1.5 0V8.5h-1.5A2.25 2.25 0 0 1 3.5 6.25v-.878a2.25 2.25 0 1 1 1.5 0ZM5 3.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Zm6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm-3 8.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"></path>'}}},"repo-template":{heights:{16:{width:16,path:'<path d="M13.25 8a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-.75a.75.75 0 0 1 0-1.5h.75v-.25a.75.75 0 0 1 .75-.75ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.249.249 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2ZM2.75 8a.75.75 0 0 1 .75.75v.268c.083-.012.166-.018.25-.018h.5a.75.75 0 0 1 0 1.5h-.5a.25.25 0 0 0-.25.25v.75c0 .28.114.532.3.714a.75.75 0 1 1-1.05 1.072A2.495 2.495 0 0 1 2 11.5V8.75A.75.75 0 0 1 2.75 8ZM11 .75a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0V1.5h-.75A.75.75 0 0 1 11 .75Zm-5 0A.75.75 0 0 1 6.75 0h2.5a.75.75 0 0 1 0 1.5h-2.5A.75.75 0 0 1 6 .75Zm0 9A.75.75 0 0 1 6.75 9h2.5a.75.75 0 0 1 0 1.5h-2.5A.75.75 0 0 1 6 9.75ZM4.992.662a.75.75 0 0 1-.636.848c-.436.063-.783.41-.846.846a.751.751 0 0 1-1.485-.212A2.501 2.501 0 0 1 4.144.025a.75.75 0 0 1 .848.637ZM2.75 4a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 2.75 4Zm10.5 0a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5a.75.75 0 0 1 .75-.75Z"></path>'}}},star:{heights:{16:{width:16,path:'<path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z"></path>'}}}},S=function(e,t){e=d(e).replace(/^octicon-/,""),c(w,e)||(e="mark-github");var n=t>=24&&24 in w[e].heights?24:16,r=w[e].heights[n];return'<svg viewBox="0 0 '+r.width+" "+n+'" width="'+t*r.width/n+'" height="'+t+'" class="octicon octicon-'+e+'" aria-hidden="true">'+r.path+"</svg>"},k={},A=function(e,t){var n=k[e]||(k[e]=[]);if(!(n.push(t)>1)){var r=function(e){var t;return function(){t||(t=1,e.apply(this,arguments))}}((function(){for(delete k[e];t=n.shift();)t.apply(null,arguments)}));if(h){var o=new a;v(o,"abort",r),v(o,"error",r),v(o,"load",(function(){var e;try{e=JSON.parse(this.responseText)}catch(t){return void r(t)}r(200!==this.status,e)})),o.open("GET",e),o.send()}else{var i=this||window;i._=function(e){i._=null,r(200!==e.meta.status,e.data)};var l=s(i.document)("script",{async:!0,src:e+(-1!==e.indexOf("?")?"&":"?")+"callback=_"}),u=function(){i._&&i._({meta:{}})};v(l,"load",u),v(l,"error",u),function(e,t,n){if(null!=e.readyState){var r="readystatechange",o=function(){if(t.test(e.readyState))return g(e,r,o),n.apply(this,arguments)};v(e,r,o)}}(l,/de|m/,u),i.document.getElementsByTagName("head")[0].appendChild(l)}}},E=function(e,t,n){var r=s(e.ownerDocument),o=e.appendChild(r("style",{type:"text/css"})),i="body{margin:0}a{text-decoration:none;outline:0}.widget{display:inline-block;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;font-size:0;line-height:0;white-space:nowrap}.btn,.social-count{position:relative;display:inline-block;display:inline-flex;height:14px;padding:2px 5px;font-size:11px;font-weight:600;line-height:14px;vertical-align:bottom;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-repeat:repeat-x;background-position:-1px -1px;background-size:110% 110%;border:1px solid}.btn{border-radius:.25em}.btn:not(:last-child){border-radius:.25em 0 0 .25em}.social-count{border-left:0;border-radius:0 .25em .25em 0}.widget-lg .btn,.widget-lg .social-count{height:16px;padding:5px 10px;font-size:12px;line-height:16px}.octicon{display:inline-block;vertical-align:text-top;fill:currentColor;overflow:visible}"+x(t["data-color-scheme"]);o.styleSheet?o.styleSheet.cssText=i:o.appendChild(e.ownerDocument.createTextNode(i));var a="large"===d(t["data-size"]),l=r("a",{className:"btn",href:t.href,rel:"noopener",target:"_blank",title:t.title||void 0,"aria-label":t["aria-label"]||void 0,innerHTML:S(t["data-icon"],a?16:14)+"&nbsp;"},[r("span",{},[t["data-text"]||""])]),u=e.appendChild(r("div",{className:"widget"+(a?" widget-lg":"")},[l])),c=l.hostname.replace(/\.$/,"");if(("."+c).substring(c.length-10)!=="."+f)return l.removeAttribute("href"),void n(u);var h=(" /"+l.pathname).split(/\/+/);if(((c===f||c==="gist."+f)&&"archive"===h[3]||c===f&&"releases"===h[3]&&("download"===h[4]||"latest"===h[4]&&"download"===h[5])||c==="codeload."+f)&&(l.target="_top"),"true"===d(t["data-show-count"])&&c===f&&"marketplace"!==h[1]&&"sponsors"!==h[1]&&"orgs"!==h[1]&&"users"!==h[1]&&"-"!==h[1]){var m,v;if(!h[2]&&h[1])v="followers",m="?tab=followers";else if(!h[3]&&h[2])v="stargazers_count",m="/stargazers";else if(h[4]||"subscription"!==h[3])if(h[4]||"fork"!==h[3]){if("issues"!==h[3])return void n(u);v="open_issues_count",m="/issues"}else v="forks_count",m="/forks";else v="subscribers_count",m="/watchers";var g=h[2]?"/repos/"+h[1]+"/"+h[2]:"/users/"+h[1];A.call(this,p+g,(function(e,t){if(!e){var o=t[v];u.appendChild(r("a",{className:"social-count",href:t.html_url+m,rel:"noopener",target:"_blank","aria-label":o+" "+v.replace(/_count$/,"").replace("_"," ").slice(0,o<2?-1:void 0)+" on GitHub"},[(""+o).replace(/\B(?=(\d{3})+(?!\d))/g,",")]))}n(u)}))}else n(u)},C=window.devicePixelRatio||1,P=function(e){return(C>1?o.ceil(o.round(e*C)/C*2)/2:o.ceil(e))||0},_=function(e,t){e.style.width=t[0]+"px",e.style.height=t[1]+"px"},O=function(e,t){if(null!=e&&null!=t)if(e.getAttribute&&(e=function(e){var t={href:e.href,title:e.title,"aria-label":e.getAttribute("aria-label")};return l(["icon","color-scheme","text","size","show-count"],(function(n){var r="data-"+n;t[r]=e.getAttribute(r)})),null==t["data-text"]&&(t["data-text"]=e.textContent||e.innerText),t}(e)),m){var n=u("span");E(n.attachShadow({mode:"closed"}),e,(function(){t(n)}))}else{var i=u("iframe",{src:"javascript:0",title:e.title||void 0,allowtransparency:!0,scrolling:"no",frameBorder:0});_(i,[0,0]),i.style.border="none";var a=function(){var n,l=i.contentWindow;try{n=l.document.body}catch(s){return void r.body.appendChild(i.parentNode.removeChild(i))}g(i,"load",a),E.call(l,n,e,(function(n){var r=function(e){var t=e.offsetWidth,n=e.offsetHeight;if(e.getBoundingClientRect){var r=e.getBoundingClientRect();t=o.max(t,P(r.width)),n=o.max(n,P(r.height))}return[t,n]}(n);i.parentNode.removeChild(i),function(e,t,n){var r=function(){return g(e,t,r),n.apply(this,arguments)};v(e,t,r)}(i,"load",(function(){_(i,r)})),i.src="https://unpkg.com/github-buttons@2.27.0/dist/buttons.html#"+(i.name=function(e,t,n,r){null==t&&(t="&"),null==n&&(n="="),null==r&&(r=window.encodeURIComponent);var o=[];for(var i in e){var a=e[i];null!=a&&o.push(r(i)+n+r(a))}return o.join(t)}(e)),t(i)}))};v(i,"load",a),r.body.appendChild(i)}}},7611:(e,t,n)=>{"use strict";t.G=void 0;var r=n(5922);Object.defineProperty(t,"G",{enumerable:!0,get:function(){return r.makeThisModuleAnExecutableRouteLister}})},5922:function(e,t){"use strict";var n=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.makeThisModuleAnExecutableRouteLister=void 0,t.makeThisModuleAnExecutableRouteLister=function(e){if("undefined"===typeof document){var t=Object.keys(e).map((function(t){return e[t]["~internal"].path({})})).reduce((function(e,t){return r(r([],n(e),!1),n("string"===typeof t?[t]:t),!1)}),[]);console.log(JSON.stringify(t)),process.exit(0)}}},219:(e,t,n)=>{"use strict";var r=n(2086),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var l=s(t),m=s(n),v=0;v<a.length;++v){var g=a[v];if(!i[g]&&(!r||!r[g])&&(!m||!m[g])&&(!l||!l[g])){var y=f(n,g);try{u(t,g,y)}catch(b){}}}}return t}},4175:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createResolveLocalizedStringFactory=void 0;const r=n(2719),o=n(4521),i=n(1860);t.createResolveLocalizedStringFactory=function(e){const{createJsxElement:t}=e;return{createResolveLocalizedString:function(e){const{currentLanguage:n,fallbackLanguage:a,labelWhenMismatchingLanguage:l=!1}=e;function s(e){var t;if("string"===typeof e){const{ifStringAssumeLanguage:t}="object"===typeof l?l:{ifStringAssumeLanguage:a};return n===t?{str:e,langAttrValue:void 0}:{str:e,langAttrValue:t}}{const t=(e=(0,i.noUndefined)(e))[n];if("string"===typeof t)return{str:t,langAttrValue:void 0}}{const t=e[a];if("string"===typeof t)return{str:t,langAttrValue:a}}const[s,u]=null!==(t=Object.entries(e)[0])&&void 0!==t?t:[];return(0,r.assert)("string"===typeof u,"Must contain at least one value"),(0,r.assert)((0,o.is)(s)),{str:u,langAttrValue:s}}return{resolveLocalizedString:function(e){const{str:n,langAttrValue:r}=s(e);return!1!==l?t({text:n,lang:r}):n},resolveLocalizedStringDetailed:s}}}}},5731:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createResolveLocalizedString=void 0;const r=n(579),o=n(4175);t.createResolveLocalizedString=(0,o.createResolveLocalizedStringFactory)({createJsxElement:e=>{let{text:t,lang:n}=e;return void 0===n?(0,r.jsx)(r.Fragment,{children:t}):(0,r.jsx)("span",Object.assign({lang:n},{children:t}))}}).createResolveLocalizedString},188:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createI18nApiFactory=void 0;const r=n(5731),o=n(8092),i=n(2748),a=n(2719),l=n(1450),s=n(8125),u=n(8251);t.createI18nApiFactory=function(e){const{createUseLang:t}=e;return{createI18nApi:function(){return function(e,n){const{languages:c,fallbackLanguage:d}=e,{useLang:f,$lang:p,withLang:h}=(()=>{const e=t({languages:c,fallbackLanguage:d}),{useLang:n,$lang:r}=e,{withLang:o}=e;return{useLang:n,$lang:r,withLang:o}})(),m={},v=Object.fromEntries(Object.entries(n).filter((e=>{let[,t]=e;return"function"!==typeof t}))),g=(0,s.createStatefulObservable)((()=>!0));const y=(0,s.createStatefulObservable)((()=>0));e:{if(void 0!==h)break e;const e=t=>{if(void 0!==v[t]||void 0!==m[t])return;const r=n[t];(0,a.assert)("function"===typeof r),g.current=!0;const o=r();m[t]=o,o.then((n=>{m[t]=void 0,v[t]=n,y.current++;const r=()=>{0===(0,l.objectKeys)(m).map((e=>m[e])).filter((0,u.exclude)(void 0)).length&&(g.current=!1)};t!==d&&void 0===v[d]&&(0,l.objectKeys)(n).map((e=>n[e])).map((e=>(0,l.objectKeys)(e).map((t=>e[t])).includes(void 0))).flat().includes(!0)?e(d):r()}))};e(p.current),p.subscribe(e)}function b(e){const{componentName:t,getLang:n}=e;return{t:(e,r)=>{const o=n();if(void 0===v[o])return"";const i=n=>{const r=v[n];return void 0===r?"":r[t][e]};let a=i(o);return void 0===a&&(a=i(d)),void 0===r?a:a(r)}}}const x={useLang:f,useTranslation:function(e){const{lang:t}=f();(0,s.useRerenderOnChange)(y);const n=(0,i.symToStr)(e),{t:r}=(0,o.useGuaranteedMemo)((()=>b({getLang:()=>t,componentName:n})),[t,n,y.current]);return{t:r}},useResolveLocalizedString:function(e){const{labelWhenMismatchingLanguage:t}=null!==e&&void 0!==e?e:{},{lang:n}=f(),{resolveLocalizedString:i,resolveLocalizedStringDetailed:a}=(0,o.useGuaranteedMemo)((()=>{const{resolveLocalizedString:e,resolveLocalizedStringDetailed:o}=(0,r.createResolveLocalizedString)({currentLanguage:n,fallbackLanguage:d,labelWhenMismatchingLanguage:t});return{resolveLocalizedString:e,resolveLocalizedStringDetailed:o}}),[n,"object"===typeof t?t.ifStringAssumeLanguage:t]);return{resolveLocalizedString:i,resolveLocalizedStringDetailed:a}},resolveLocalizedString:function(e,t){const{labelWhenMismatchingLanguage:n}=null!==t&&void 0!==t?t:{},{resolveLocalizedString:o}=(0,r.createResolveLocalizedString)({currentLanguage:p.current,fallbackLanguage:d,labelWhenMismatchingLanguage:n});return o(e)},$lang:p,useIsI18nFetching:function(){return(0,s.useRerenderOnChange)(g),g.current},getTranslation:function(e){const{t:t}=b({componentName:e,getLang:()=>p.current});return{t:t}}};return Object.assign(Object.assign({},x),{withLang:h})}}}}},4463:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.declareComponentKeys=void 0;const r=n(9820);t.declareComponentKeys=function(){return function(e){return{i18n:(0,r.Reflect)()}}}},3716:(e,t,n)=>{"use strict";t.Jj=t.io=void 0;var r=n(4463);Object.defineProperty(t,"io",{enumerable:!0,get:function(){return r.declareComponentKeys}});var o=n(5731);var i=n(9562);Object.defineProperty(t,"Jj",{enumerable:!0,get:function(){return i.createI18nApi}})},8759:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createStatefulObservable=void 0,t.createStatefulObservable=function(e){var t=[],n=function(){var n=void 0;return{get:function(){return void 0===n&&(n=[e()]),n[0]},set:function(e){n=[e],t.forEach((function(t){return t(e)}))}}}(),r=n.get,o=n.set;return Object.defineProperty({current:null,subscribe:function(e){return t.push(e),{unsubscribe:function(){return t.splice(t.indexOf(e),1)}}}},"current",{enumerable:!0,get:r,set:o})}},5490:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(464),t),o(n(3909),t)},464:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useObservable=void 0;var r=n(5043);t.useObservable=function(e,t){(0,r.useEffect)((function(){var t=[];return e({registerSubscription:function(e){return t.push(e)}}),function(){t.forEach((function(e){return e.unsubscribe()})),t.length=0}}),t)}},3909:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.useRerenderOnChange=void 0;var o=n(464),i=n(5043);t.useRerenderOnChange=function(e){var t=r((0,i.useState)((function(){return e.current})),2)[1];(0,o.useObservable)((function(n){var r=n.registerSubscription,o=function(e){return t((function(){return e}))};o(e.current),r(e.subscribe(o))}),[e])}},8125:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(8759),t),o(n(5490),t)},2641:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=void 0,t.capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},847:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.memoize0=void 0,t.memoize0=function(e){var t=void 0;return function(){return void 0===t&&(t=[e()]),t[0]}}},940:function(e,t){"use strict";var n=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};function r(e){var t=e.url,r=e.prefix,o=e.doLeavePrefixInResults,i=n(t.split("?"),2),a=i[0],l=i[1],s=void 0===l?"":l,u={},c=function(){var e=s.replace(/^\?/,"").split("&").map((function(e){return e.split("=")})).filter((function(e){var t=n(e,2),i=t[0],a=t[1];return!i.startsWith(r)||(u[o?i:i.substring(r.length)]=decodeURIComponent(a),!1)})).map((function(e){return e.join("=")})).join("&");return{newLocationSearch:e=""===e?"":"?".concat(e)}}().newLocationSearch;return{newUrl:"".concat(a).concat(c),values:u}}function o(e){var t=e.url,n=e.name,o=r({url:t,prefix:n,doLeavePrefixInResults:!0}),i=o.newUrl,a=o.values;return n in a?{wasPresent:!0,newUrl:i,value:a[n]}:{wasPresent:!1}}Object.defineProperty(t,"__esModule",{value:!0}),t.updateSearchBarUrl=t.retrieveParamFromUrl=t.retrieveAllParamStartingWithPrefixFromUrl=t.addParamToUrl=void 0,t.addParamToUrl=function(e){var t=e.url,n=e.name,r=e.value,i=t,a=o({url:t,name:n});return a.wasPresent&&(i=a.newUrl),{newUrl:i+="".concat(i.includes("?")?"&":i.endsWith("?")?"":"?").concat(n,"=").concat(encodeURIComponent(r))}},t.retrieveAllParamStartingWithPrefixFromUrl=r,t.retrieveParamFromUrl=o,t.updateSearchBarUrl=function(e){window.history.replaceState("","",e)}},82:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.useConstCallback=void 0;var i=n(5043);t.useConstCallback=function(e){var t=(0,i.useRef)(null);return t.current=e,(0,i.useState)((function(){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.current.apply(t,o([],r(e),!1))}}))[0]}},9750:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUseGlobalState=t.injectGlobalStatesInSearchParams=t.globalStates=void 0;var r=n(5043),o=n(82),i=n(7695),a=n(9288),l=n(2641),s=n(847),u=n(940),c=n(8125),d=function(){var e=r.createContext,t=e.__powerhooks_useGlobalState_context;return void 0===t&&(t={globalStates:{},persistedGlobalStateNames:new Set},Object.defineProperty(e,"__powerhooks_useGlobalState_context",{configurable:!1,enumerable:!1,writable:!1,value:t})),t}(),f=d.globalStates,p=d.persistedGlobalStateNames;function h(e){return JSON.stringify([e])}function m(e){return JSON.parse(e)[0]}t.globalStates=f;var v="powerhooks_useGlobalState_",g=function(){var e=(0,s.memoize0)((function(){var e=(0,u.retrieveAllParamStartingWithPrefixFromUrl)({url:window.location.href,prefix:v,doLeavePrefixInResults:!1}),t=e.newUrl,n=e.values;return setTimeout((function(){(0,u.updateSearchBarUrl)(t)}),0),{unparsedStates:n}}));return{injectGlobalStatesInSearchParams:function(e){var t=e;return Object.keys(f).filter((function(e){return p.has(e)})).forEach((function(e){return t=(0,u.addParamToUrl)({url:t,name:"".concat(v).concat(e),value:h(f[e])}).newUrl})),t},getStatesFromUrlSearchParams:function(t){var n=t.name,r=e().unparsedStates;return n in r?{wasPresent:!0,state:m(r[n])}:{wasPresent:!1}}}}(),y=g.injectGlobalStatesInSearchParams,b=g.getStatesFromUrlSearchParams;t.injectGlobalStatesInSearchParams=y,t.createUseGlobalState=function(e){var t,n=e.name,r=e.initialState,u=e.doPersistAcrossReloads;u&&p.add(n);var d=b({name:n}),g=(0,s.memoize0)((function(){var e="".concat(v).concat(n),t=u?function(t){return localStorage.setItem(e,h(t))}:void 0,o=(0,c.createStatefulObservable)(function(){var n=function(){if(d.wasPresent){var n=d.state;return null===t||void 0===t||t(n),n}if(u){var o=localStorage.getItem(e);if(null!==o)return m(o)}return(0,a.typeGuard)(r,"function"===typeof r)?r():r}();return function(){return n}}());return void 0!==t&&o.subscribe(t),o}));function y(){var e,t=g();return(0,c.useRerenderOnChange)(t),(e={})[n]=t.current,e["set".concat((0,l.capitalize)(n))]=(0,o.useConstCallback)((function(e){return t.current=(0,a.typeGuard)(e,"function"===typeof e)?e(t.current):e})),e}return Object.defineProperty(f,n,{enumerable:!0,get:function(){return g().current}}),(0,i.overwriteReadonlyProp)(y,"name","use".concat((0,l.capitalize)(n))),Object.defineProperty(((t={})[y.name]=y,t),"$".concat(n),{enumerable:!0,get:function(){return g()}})}},8092:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.useGuaranteedMemo=void 0;var i=n(5043);t.useGuaranteedMemo=function(e,t){var n=(0,i.useRef)();return(!n.current||t.length!==n.current.prevDeps.length||n.current.prevDeps.map((function(e,n){return e===t[n]})).indexOf(!1)>=0)&&(n.current={v:e(),prevDeps:o([],r(t),!1)}),n.current.v}},9562:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createI18nApi=void 0;const r=n(188),o=n(906);t.createI18nApi=(0,r.createI18nApiFactory)({createUseLang:o.createUseLang}).createI18nApi},906:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUseLang=void 0;const r=n(9750),o=n(940),i=n(6428),a=n(2748),l=n(9288);t.createUseLang=function(e){const{languages:t,fallbackLanguage:n}=e,s="lang",{useLang:u,$lang:c}=(0,r.createUseGlobalState)({name:s,initialState:(()=>{const e=function(e){const{languages:t,languageLike:n}=e;{const e=t.find((e=>e.toLowerCase()===n.toLowerCase()));if(void 0!==e)return e}{const e=n.split("-")[0].toLowerCase(),r=t.find((t=>t.toLowerCase().includes(e)));if(void 0!==r)return r}return}({languageLike:navigator.language,languages:t});return void 0===e?n:e})(),doPersistAcrossReloads:!0});{const e=e=>document.documentElement.setAttribute(s,e);e(c.current),c.subscribe(e)}e:{const e=(0,o.retrieveParamFromUrl)({url:window.location.href,name:s});if(e.wasPresent){if((0,o.updateSearchBarUrl)(e.newUrl),!(0,l.typeGuard)(e.value,(0,i.id)(t).includes(e.value)))break e;c.current=e.value}}return[...t,void 0].forEach((e=>{const t=document.createElement("link");t.rel="alternate",t.hreflang=void 0===e?"x-default":e,t.href=void 0===e?window.location.href:(0,o.addParamToUrl)({url:window.location.href,name:s,value:e}).newUrl,document.getElementsByTagName("head")[0].appendChild(t)})),{useLang:u,[(0,a.symToStr)({$lang:c})]:(0,i.id)(c)}}},5837:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},8313:e=>{"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},8772:e=>{function t(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then}e.exports=t,e.exports.default=t},1283:(e,t,n)=>{"use strict";var r=n(9818),o=Object.create,i=Object.prototype.hasOwnProperty;e.exports=function(e){var t,n=0,a=1,l=o(null),s=o(null),u=0;return e=r(e),{hit:function(r){var o=s[r],c=++u;if(l[c]=r,s[r]=c,!o){if(++n<=e)return;return r=l[a],t(r),r}if(delete l[o],a===o)for(;!i.call(l,++a);)continue},delete:t=function(e){var t=s[e];if(t&&(delete l[t],delete s[e],--n,a===t)){if(!n)return u=0,void(a=1);for(;!i.call(l,++a);)continue}},clear:function(){n=0,a=1,l=o(null),s=o(null),u=0}}}},5694:(e,t,n)=>{var r=n(5950);e.exports=function(){return function(e){return r(e,"list",(function(e,t){var n,r,o=0;for(n=0,r=t.length;n<r;n++)"list"===t[n].type&&(o+=1);for(n=0,r=e.children.length;n<r;n++){var i=e.children[n];i.index=n,i.ordered=e.ordered}e.depth=o})),e}}},3746:(e,t,n)=>{"use strict";e.exports=function(e,t,n){"string"!==typeof t&&(n=t,t=void 0);return function(e){var t=e||{},n=function(e,t){var n=-1;for(;++n<t.length;)p(e,t[n]);return e}({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:g(fe),autolinkProtocol:F,autolinkEmail:F,atxHeading:g(se),blockQuote:g(re),characterEscape:F,characterReference:F,codeFenced:g(oe),codeFencedFenceInfo:y,codeFencedFenceMeta:y,codeIndented:g(oe,y),codeText:g(ie,y),codeTextData:F,data:F,codeFlowValue:F,definition:g(ae),definitionDestinationString:y,definitionLabelString:y,definitionTitleString:y,emphasis:g(le),hardBreakEscape:g(ue),hardBreakTrailing:g(ue),htmlFlow:g(ce,y),htmlFlowData:F,htmlText:g(ce,y),htmlTextData:F,image:g(de),label:y,link:g(fe),listItem:g(he),listItemValue:A,listOrdered:g(pe,k),listUnordered:g(pe),paragraph:g(me),reference:Q,referenceString:y,resourceDestinationString:y,resourceTitleString:y,setextHeading:g(se),strong:g(ve),thematicBreak:g(ye)},exit:{atxHeading:x(),atxHeadingSequence:R,autolink:x(),autolinkEmail:ne,autolinkProtocol:te,blockQuote:x(),characterEscapeValue:z,characterReferenceMarkerHexadecimal:J,characterReferenceMarkerNumeric:J,characterReferenceValue:ee,codeFenced:x(_),codeFencedFence:P,codeFencedFenceInfo:E,codeFencedFenceMeta:C,codeFlowValue:z,codeIndented:x(O),codeText:x(V),codeTextData:z,data:z,definition:x(),definitionDestinationString:M,definitionLabelString:j,definitionTitleString:T,emphasis:x(),hardBreakEscape:x(B),hardBreakTrailing:x(B),htmlFlow:x(H),htmlFlowData:z,htmlText:x(W),htmlTextData:z,image:x(q),label:$,labelText:G,lineEnding:N,link:x(U),listItem:x(),listOrdered:x(),listUnordered:x(),paragraph:x(),referenceString:Z,resourceDestinationString:K,resourceTitleString:X,resource:Y,setextHeading:x(D),setextHeadingLineSequence:I,setextHeadingText:L,strong:x(),thematicBreak:x()}},t.mdastExtensions||[]),s={};return u;function u(e){for(var t,r={type:"root",children:[]},a=[],l=[],s=-1,u={stack:[r],tokenStack:a,config:n,enter:b,exit:w,buffer:y,resume:S,setData:h,getData:m};++s<e.length;)"listOrdered"!==e[s][1].type&&"listUnordered"!==e[s][1].type||("enter"===e[s][0]?l.push(s):s=c(e,l.pop(s),s));for(s=-1;++s<e.length;)t=n[e[s][0]],i.call(t,e[s][1].type)&&t[e[s][1].type].call(o({sliceSerialize:e[s][2].sliceSerialize},u),e[s][1]);if(a.length)throw new Error("Cannot close document, a token (`"+a[a.length-1].type+"`, "+f({start:a[a.length-1].start,end:a[a.length-1].end})+") is still open");for(r.position={start:v(e.length?e[0][1].start:{line:1,column:1,offset:0}),end:v(e.length?e[e.length-2][1].end:{line:1,column:1,offset:0})},s=-1;++s<n.transforms.length;)r=n.transforms[s](r)||r;return r}function c(e,t,n){for(var r,o,i,a,l,s,u,c=t-1,d=-1,f=!1;++c<=n;)if("listUnordered"===(l=e[c])[1].type||"listOrdered"===l[1].type||"blockQuote"===l[1].type?("enter"===l[0]?d++:d--,u=void 0):"lineEndingBlank"===l[1].type?"enter"===l[0]&&(!r||u||d||s||(s=c),u=void 0):"linePrefix"===l[1].type||"listItemValue"===l[1].type||"listItemMarker"===l[1].type||"listItemPrefix"===l[1].type||"listItemPrefixWhitespace"===l[1].type||(u=void 0),!d&&"enter"===l[0]&&"listItemPrefix"===l[1].type||-1===d&&"exit"===l[0]&&("listUnordered"===l[1].type||"listOrdered"===l[1].type)){if(r){for(o=c,i=void 0;o--;)if("lineEnding"===(a=e[o])[1].type||"lineEndingBlank"===a[1].type){if("exit"===a[0])continue;i&&(e[i][1].type="lineEndingBlank",f=!0),a[1].type="lineEnding",i=o}else if("linePrefix"!==a[1].type&&"blockQuotePrefix"!==a[1].type&&"blockQuotePrefixWhitespace"!==a[1].type&&"blockQuoteMarker"!==a[1].type&&"listItemIndent"!==a[1].type)break;s&&(!i||s<i)&&(r._spread=!0),r.end=v(i?e[i][1].start:l[1].end),e.splice(i||c,0,["exit",r,l[2]]),c++,n++}"listItemPrefix"===l[1].type&&(r={type:"listItem",_spread:!1,start:v(l[1].start)},e.splice(c,0,["enter",r,l[2]]),c++,n++,s=void 0,u=!0)}return e[t][1]._spread=f,n}function h(e,t){s[e]=t}function m(e){return s[e]}function v(e){return{line:e.line,column:e.column,offset:e.offset}}function g(e,t){return n;function n(n){b.call(this,e(n),n),t&&t.call(this,n)}}function y(){this.stack.push({type:"fragment",children:[]})}function b(e,t){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push(t),e.position={start:v(t.start)},e}function x(e){return t;function t(t){e&&e.call(this,t),w.call(this,t)}}function w(e){var t=this.stack.pop(),n=this.tokenStack.pop();if(!n)throw new Error("Cannot close `"+e.type+"` ("+f({start:e.start,end:e.end})+"): it\u2019s not open");if(n.type!==e.type)throw new Error("Cannot close `"+e.type+"` ("+f({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+f({start:n.start,end:n.end})+") is open");return t.position.end=v(e.end),t}function S(){return r(this.stack.pop())}function k(){h("expectingFirstListItemValue",!0)}function A(e){m("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=parseInt(this.sliceSerialize(e),10),h("expectingFirstListItemValue"))}function E(){var e=this.resume();this.stack[this.stack.length-1].lang=e}function C(){var e=this.resume();this.stack[this.stack.length-1].meta=e}function P(){m("flowCodeInside")||(this.buffer(),h("flowCodeInside",!0))}function _(){var e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),h("flowCodeInside")}function O(){var e=this.resume();this.stack[this.stack.length-1].value=e}function j(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=a(this.sliceSerialize(e)).toLowerCase()}function T(){var e=this.resume();this.stack[this.stack.length-1].title=e}function M(){var e=this.resume();this.stack[this.stack.length-1].url=e}function R(e){this.stack[this.stack.length-1].depth||(this.stack[this.stack.length-1].depth=this.sliceSerialize(e).length)}function L(){h("setextHeadingSlurpLineEnding",!0)}function I(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function D(){h("setextHeadingSlurpLineEnding")}function F(e){var t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n=ge()).position={start:v(e.start)},this.stack[this.stack.length-1].children.push(n)),this.stack.push(n)}function z(e){var t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=v(e.end)}function N(e){var t=this.stack[this.stack.length-1];if(m("atHardBreak"))return t.children[t.children.length-1].position.end=v(e.end),void h("atHardBreak");!m("setextHeadingSlurpLineEnding")&&n.canContainEols.indexOf(t.type)>-1&&(F.call(this,e),z.call(this,e))}function B(){h("atHardBreak",!0)}function H(){var e=this.resume();this.stack[this.stack.length-1].value=e}function W(){var e=this.resume();this.stack[this.stack.length-1].value=e}function V(){var e=this.resume();this.stack[this.stack.length-1].value=e}function U(){var e=this.stack[this.stack.length-1];m("inReference")?(e.type+="Reference",e.referenceType=m("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),h("referenceType")}function q(){var e=this.stack[this.stack.length-1];m("inReference")?(e.type+="Reference",e.referenceType=m("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),h("referenceType")}function G(e){this.stack[this.stack.length-2].identifier=a(this.sliceSerialize(e)).toLowerCase()}function $(){var e=this.stack[this.stack.length-1],t=this.resume();this.stack[this.stack.length-1].label=t,h("inReference",!0),"link"===this.stack[this.stack.length-1].type?this.stack[this.stack.length-1].children=e.children:this.stack[this.stack.length-1].alt=t}function K(){var e=this.resume();this.stack[this.stack.length-1].url=e}function X(){var e=this.resume();this.stack[this.stack.length-1].title=e}function Y(){h("inReference")}function Q(){h("referenceType","collapsed")}function Z(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=a(this.sliceSerialize(e)).toLowerCase(),h("referenceType","full")}function J(e){h("characterReferenceType",e.type)}function ee(e){var t,n,r=this.sliceSerialize(e),o=m("characterReferenceType");o?(t=l(r,"characterReferenceMarkerNumeric"===o?10:16),h("characterReferenceType")):t=d(r),(n=this.stack.pop()).value+=t,n.position.end=v(e.end)}function te(e){z.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function ne(e){z.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function re(){return{type:"blockquote",children:[]}}function oe(){return{type:"code",lang:null,meta:null,value:""}}function ie(){return{type:"inlineCode",value:""}}function ae(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function le(){return{type:"emphasis",children:[]}}function se(){return{type:"heading",depth:void 0,children:[]}}function ue(){return{type:"break"}}function ce(){return{type:"html",value:""}}function de(){return{type:"image",title:null,url:"",alt:null}}function fe(){return{type:"link",title:null,url:"",children:[]}}function pe(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function he(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function me(){return{type:"paragraph",children:[]}}function ve(){return{type:"strong",children:[]}}function ge(){return{type:"text",value:""}}function ye(){return{type:"thematicBreak"}}}(n)(c(s(n).document().write(u()(e,t,!0))))};var r=n(6642),o=n(9206),i=n(1458),a=n(3526),l=n(6563),s=n(2853),u=n(4782),c=n(1105),d=n(6909),f=n(4744);function p(e,t){var n,r;for(n in t)r=i.call(e,n)?e[n]:e[n]={},"canContainEols"===n||"transforms"===n?e[n]=[].concat(r,t[n]):Object.assign(r,t[n])}},3689:(e,t,n)=>{"use strict";e.exports=n(3746)},6642:e=>{"use strict";function t(e){return e&&(e.value||e.alt||e.title||"children"in e&&n(e.children)||"length"in e&&n(e))||""}function n(e){for(var n=[],r=-1;++r<e.length;)n[r]=t(e[r]);return n.join("")}e.exports=t},8827:(e,t,n)=>{"use strict";var r=n(4428),o=n(731),i=n(2139),a=n(7989),l=n(2793),s=Array.prototype.slice,u=Function.prototype.apply,c=Object.create;n(3910).async=function(e,t){var n,d,f,p=c(null),h=c(null),m=t.memoized,v=t.original;t.memoized=a((function(e){var t=arguments,r=t[t.length-1];return"function"===typeof r&&(n=r,t=s.call(t,0,-1)),m.apply(d=this,f=t)}),m);try{i(t.memoized,m)}catch(g){}t.on("get",(function(e){var r,o,i;if(n){if(p[e])return"function"===typeof p[e]?p[e]=[p[e],n]:p[e].push(n),void(n=null);r=n,o=d,i=f,n=d=f=null,l((function(){var a;hasOwnProperty.call(h,e)?(a=h[e],t.emit("getasync",e,i,o),u.call(r,a.context,a.args)):(n=r,d=o,f=i,m.apply(o,i))}))}})),t.original=function(){var e,o,i,a;return n?(e=r(arguments),o=function e(n){var o,i,s=e.id;if(null!=s){if(delete e.id,o=p[s],delete p[s],o)return i=r(arguments),t.has(s)&&(n?t.delete(s):(h[s]={context:this,args:i},t.emit("setasync",s,"function"===typeof o?1:o.length))),"function"===typeof o?a=u.call(o,this,i):o.forEach((function(e){a=u.call(e,this,i)}),this),a}else l(u.bind(e,this,arguments))},i=n,n=d=f=null,e.push(o),a=u.call(v,this,e),o.cb=i,n=o,a):u.call(v,this,arguments)},t.on("set",(function(e){n?(p[e]?"function"===typeof p[e]?p[e]=[p[e],n.cb]:p[e].push(n.cb):p[e]=n.cb,delete n.cb,n.id=e,n=null):t.delete(e)})),t.on("delete",(function(e){var n;hasOwnProperty.call(p,e)||h[e]&&(n=h[e],delete h[e],t.emit("deleteasync",e,s.call(n.args,1)))})),t.on("clear",(function(){var e=h;h=c(null),t.emit("clearasync",o(e,(function(e){return s.call(e.args,1)})))}))}},5162:(e,t,n)=>{"use strict";var r=n(2028),o=n(6462),i=n(3910),a=Function.prototype.apply;i.dispose=function(e,t,n){var l;if(r(e),n.async&&i.async||n.promise&&i.promise)return t.on("deleteasync",l=function(t,n){a.call(e,null,n)}),void t.on("clearasync",(function(e){o(e,(function(e,t){l(t,e)}))}));t.on("delete",l=function(t,n){e(n)}),t.on("clear",(function(e){o(e,(function(e,t){l(t,e)}))}))}},4687:(e,t,n)=>{"use strict";var r=n(4428),o=n(6462),i=n(2793),a=n(8772),l=n(2972),s=n(3910),u=Function.prototype,c=Math.max,d=Math.min,f=Object.create;s.maxAge=function(e,t,n){var p,h,m,v;(e=l(e))&&(p=f(null),h=n.async&&s.async||n.promise&&s.promise?"async":"",t.on("set"+h,(function(n){p[n]=setTimeout((function(){t.delete(n)}),e),"function"===typeof p[n].unref&&p[n].unref(),v&&(v[n]&&"nextTick"!==v[n]&&clearTimeout(v[n]),v[n]=setTimeout((function(){delete v[n]}),m),"function"===typeof v[n].unref&&v[n].unref())})),t.on("delete"+h,(function(e){clearTimeout(p[e]),delete p[e],v&&("nextTick"!==v[e]&&clearTimeout(v[e]),delete v[e])})),n.preFetch&&(m=!0===n.preFetch||isNaN(n.preFetch)?.333:c(d(Number(n.preFetch),1),0))&&(v={},m=(1-m)*e,t.on("get"+h,(function(e,o,l){v[e]||(v[e]="nextTick",i((function(){var i;"nextTick"===v[e]&&(delete v[e],t.delete(e),n.async&&(o=r(o)).push(u),i=t.memoized.apply(l,o),n.promise&&a(i)&&("function"===typeof i.done?i.done(u,u):i.then(u,u)))})))}))),t.on("clear"+h,(function(){o(p,(function(e){clearTimeout(e)})),p={},v&&(o(v,(function(e){"nextTick"!==e&&clearTimeout(e)})),v={})})))}},2617:(e,t,n)=>{"use strict";var r=n(9818),o=n(1283),i=n(3910);i.max=function(e,t,n){var a,l,s;(e=r(e))&&(l=o(e),a=n.async&&i.async||n.promise&&i.promise?"async":"",t.on("set"+a,s=function(e){void 0!==(e=l.hit(e))&&t.delete(e)}),t.on("get"+a,s),t.on("delete"+a,l.delete),t.on("clear"+a,l.clear))}},9442:(e,t,n)=>{"use strict";var r=n(731),o=n(3169),i=n(4515),a=n(7743),l=n(8772),s=n(2793),u=Object.create,c=o("then","then:finally","done","done:finally");n(3910).promise=function(e,t){var n=u(null),o=u(null),d=u(null);if(!0===e)e=null;else if(e=i(e),!c[e])throw new TypeError("'"+a(e)+"' is not valid promise mode");t.on("set",(function(r,i,a){var u=!1;if(!l(a))return o[r]=a,void t.emit("setasync",r,1);n[r]=1,d[r]=a;var c=function(e){var i=n[r];if(u)throw new Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\nConsider to rely on 'then' or 'done' mode instead.");i&&(delete n[r],o[r]=e,t.emit("setasync",r,i))},f=function(){u=!0,n[r]&&(delete n[r],delete d[r],t.delete(r))},p=e;if(p||(p="then"),"then"===p){var h=function(){s(f)};"function"===typeof(a=a.then((function(e){s(c.bind(this,e))}),h)).finally&&a.finally(h)}else if("done"===p){if("function"!==typeof a.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");a.done(c,f)}else if("done:finally"===p){if("function"!==typeof a.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!==typeof a.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");a.done(c),a.finally(f)}})),t.on("get",(function(e,r,o){var i;if(n[e])++n[e];else{i=d[e];var a=function(){t.emit("getasync",e,r,o)};l(i)?"function"===typeof i.done?i.done(a):i.then((function(){s(a)})):a()}})),t.on("delete",(function(e){if(delete d[e],n[e])delete n[e];else if(hasOwnProperty.call(o,e)){var r=o[e];delete o[e],t.emit("deleteasync",e,[r])}})),t.on("clear",(function(){var e=o;o=u(null),n=u(null),d=u(null),t.emit("clearasync",r(e,(function(e){return[e]})))}))}},6595:(e,t,n)=>{"use strict";var r=n(8276),o=n(3910),i=Object.create,a=Object.defineProperties;o.refCounter=function(e,t,n){var l,s;l=i(null),s=n.async&&o.async||n.promise&&o.promise?"async":"",t.on("set"+s,(function(e,t){l[e]=t||1})),t.on("get"+s,(function(e){++l[e]})),t.on("delete"+s,(function(e){delete l[e]})),t.on("clear"+s,(function(){l={}})),a(t.memoized,{deleteRef:r((function(){var e=t.get(arguments);return null===e?null:l[e]?! --l[e]&&(t.delete(e),!0):null})),getRefCount:r((function(){var e=t.get(arguments);return null===e?0:l[e]?l[e]:0}))})}},7831:(e,t,n)=>{"use strict";var r=n(9733),o=n(9860),i=n(8735);e.exports=function(e){var t,a=r(arguments[1]);return a.normalizer||0!==(t=a.length=o(a.length,e.length,a.async))&&(a.primitive?!1===t?a.normalizer=n(2565):t>1&&(a.normalizer=n(6783)(t)):a.normalizer=!1===t?n(792)():1===t?n(6306)():n(7835)(t)),a.async&&n(8827),a.promise&&n(9442),a.dispose&&n(5162),a.maxAge&&n(4687),a.max&&n(2617),a.refCounter&&n(6595),i(e,a)}},8692:(e,t,n)=>{"use strict";var r=n(9429),o=n(7989),i=n(8276),a=n(6555).methods,l=n(7266),s=n(3245),u=Function.prototype.apply,c=Function.prototype.call,d=Object.create,f=Object.defineProperties,p=a.on,h=a.emit;e.exports=function(e,t,n){var a,m,v,g,y,b,x,w,S,k,A,E,C,P,_,O=d(null);return m=!1!==t?t:isNaN(e.length)?1:e.length,n.normalizer&&(k=s(n.normalizer),v=k.get,g=k.set,y=k.delete,b=k.clear),null!=n.resolvers&&(_=l(n.resolvers)),P=v?o((function(t){var n,o,i=arguments;if(_&&(i=_(i)),null!==(n=v(i))&&hasOwnProperty.call(O,n))return A&&a.emit("get",n,i,this),O[n];if(o=1===i.length?c.call(e,this,i[0]):u.call(e,this,i),null===n){if(null!==(n=v(i)))throw r("Circular invocation","CIRCULAR_INVOCATION");n=g(i)}else if(hasOwnProperty.call(O,n))throw r("Circular invocation","CIRCULAR_INVOCATION");return O[n]=o,E&&a.emit("set",n,null,o),o}),m):0===t?function(){var t;if(hasOwnProperty.call(O,"data"))return A&&a.emit("get","data",arguments,this),O.data;if(t=arguments.length?u.call(e,this,arguments):c.call(e,this),hasOwnProperty.call(O,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return O.data=t,E&&a.emit("set","data",null,t),t}:function(t){var n,o,i=arguments;if(_&&(i=_(arguments)),o=String(i[0]),hasOwnProperty.call(O,o))return A&&a.emit("get",o,i,this),O[o];if(n=1===i.length?c.call(e,this,i[0]):u.call(e,this,i),hasOwnProperty.call(O,o))throw r("Circular invocation","CIRCULAR_INVOCATION");return O[o]=n,E&&a.emit("set",o,null,n),n},a={original:e,memoized:P,profileName:n.profileName,get:function(e){return _&&(e=_(e)),v?v(e):String(e[0])},has:function(e){return hasOwnProperty.call(O,e)},delete:function(e){var t;hasOwnProperty.call(O,e)&&(y&&y(e),t=O[e],delete O[e],C&&a.emit("delete",e,t))},clear:function(){var e=O;b&&b(),O=d(null),a.emit("clear",e)},on:function(e,t){return"get"===e?A=!0:"set"===e?E=!0:"delete"===e&&(C=!0),p.call(this,e,t)},emit:h,updateEnv:function(){e=a.original}},x=v?o((function(e){var t,n=arguments;_&&(n=_(n)),null!==(t=v(n))&&a.delete(t)}),m):0===t?function(){return a.delete("data")}:function(e){return _&&(e=_(arguments)[0]),a.delete(e)},w=o((function(){var e,n=arguments;return 0===t?O.data:(_&&(n=_(n)),e=v?v(n):String(n[0]),O[e])})),S=o((function(){var e,n=arguments;return 0===t?a.has("data"):(_&&(n=_(n)),null!==(e=v?v(n):String(n[0]))&&a.has(e))})),f(P,{__memoized__:i(!0),delete:i(x),clear:i(a.clear),_get:i(w),_has:i(S)}),a}},3910:()=>{},9860:(e,t,n)=>{"use strict";var r=n(9818);e.exports=function(e,t,n){var o;return isNaN(e)?(o=t)>=0?n&&o?o-1:o:1:!1!==e&&r(e)}},3245:(e,t,n)=>{"use strict";var r=n(2028);e.exports=function(e){var t;return"function"===typeof e?{set:e,get:e}:(t={get:r(e.get)},void 0!==e.set?(t.set=r(e.set),e.delete&&(t.delete=r(e.delete)),e.clear&&(t.clear=r(e.clear)),t):(t.set=t.get,t))}},7266:(e,t,n)=>{"use strict";var r,o=n(6174),i=n(6297),a=n(2028),l=Array.prototype.slice;r=function(e){return this.map((function(t,n){return t?t(e[n]):e[n]})).concat(l.call(e,this.length))},e.exports=function(e){return(e=o(e)).forEach((function(e){i(e)&&a(e)})),r.bind(e)}},6306:(e,t,n)=>{"use strict";var r=n(4189);e.exports=function(){var e=0,t=[],n=[];return{get:function(e){var o=r.call(t,e[0]);return-1===o?null:n[o]},set:function(r){return t.push(r[0]),n.push(++e),e},delete:function(e){var o=r.call(n,e);-1!==o&&(t.splice(o,1),n.splice(o,1))},clear:function(){t=[],n=[]}}}},7835:(e,t,n)=>{"use strict";var r=n(4189),o=Object.create;e.exports=function(e){var t=0,n=[[],[]],i=o(null);return{get:function(t){for(var o,i=0,a=n;i<e-1;){if(-1===(o=r.call(a[0],t[i])))return null;a=a[1][o],++i}return-1===(o=r.call(a[0],t[i]))?null:a[1][o]||null},set:function(o){for(var a,l=0,s=n;l<e-1;)-1===(a=r.call(s[0],o[l]))&&(a=s[0].push(o[l])-1,s[1].push([[],[]])),s=s[1][a],++l;return-1===(a=r.call(s[0],o[l]))&&(a=s[0].push(o[l])-1),s[1][a]=++t,i[t]=o,t},delete:function(t){for(var o,a=0,l=n,s=[],u=i[t];a<e-1;){if(-1===(o=r.call(l[0],u[a])))return;s.push(l,o),l=l[1][o],++a}if(-1!==(o=r.call(l[0],u[a]))){for(t=l[1][o],l[0].splice(o,1),l[1].splice(o,1);!l[0].length&&s.length;)o=s.pop(),(l=s.pop())[0].splice(o,1),l[1].splice(o,1);delete i[t]}},clear:function(){n=[[],[]],i=o(null)}}}},6783:e=>{"use strict";e.exports=function(e){return e?function(t){for(var n=String(t[0]),r=0,o=e;--o;)n+="\x01"+t[++r];return n}:function(){return""}}},792:(e,t,n)=>{"use strict";var r=n(4189),o=Object.create;e.exports=function(){var e=0,t=[],n=o(null);return{get:function(e){var n,o=0,i=t,a=e.length;if(0===a)return i[a]||null;if(i=i[a]){for(;o<a-1;){if(-1===(n=r.call(i[0],e[o])))return null;i=i[1][n],++o}return-1===(n=r.call(i[0],e[o]))?null:i[1][n]||null}return null},set:function(o){var i,a=0,l=t,s=o.length;if(0===s)l[s]=++e;else{for(l[s]||(l[s]=[[],[]]),l=l[s];a<s-1;)-1===(i=r.call(l[0],o[a]))&&(i=l[0].push(o[a])-1,l[1].push([[],[]])),l=l[1][i],++a;-1===(i=r.call(l[0],o[a]))&&(i=l[0].push(o[a])-1),l[1][i]=++e}return n[e]=o,e},delete:function(e){var o,i=0,a=t,l=n[e],s=l.length,u=[];if(0===s)delete a[s];else if(a=a[s]){for(;i<s-1;){if(-1===(o=r.call(a[0],l[i])))return;u.push(a,o),a=a[1][o],++i}if(-1===(o=r.call(a[0],l[i])))return;for(e=a[1][o],a[0].splice(o,1),a[1].splice(o,1);!a[0].length&&u.length;)o=u.pop(),(a=u.pop())[0].splice(o,1),a[1].splice(o,1)}delete n[e]},clear:function(){t=[],n=o(null)}}}},2565:e=>{"use strict";e.exports=function(e){var t,n,r=e.length;if(!r)return"\x02";for(t=String(e[n=0]);--r;)t+="\x01"+e[++n];return t}},8735:(e,t,n)=>{"use strict";var r=n(2028),o=n(6462),i=n(3910),a=n(8692),l=n(9860);e.exports=function e(t){var n,s,u;if(r(t),(n=Object(arguments[1])).async&&n.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!n.force?t:(s=l(n.length,t.length,n.async&&i.async),u=a(t,s,n),o(i,(function(e,t){n[t]&&e(n[t],u,n)})),e.__profiler__&&e.__profiler__(u),u.updateEnv(),u.memoized)}},9176:(e,t,n)=>{"use strict";var r=n(173)(/[A-Za-z]/);e.exports=r},8945:(e,t,n)=>{"use strict";var r=n(173)(/[\dA-Za-z]/);e.exports=r},8136:(e,t,n)=>{"use strict";var r=n(173)(/[#-'*+\--9=?A-Z^-~]/);e.exports=r},5329:e=>{"use strict";e.exports=function(e){return e<32||127===e}},8793:(e,t,n)=>{"use strict";var r=n(173)(/\d/);e.exports=r},393:(e,t,n)=>{"use strict";var r=n(173)(/[\dA-Fa-f]/);e.exports=r},3724:(e,t,n)=>{"use strict";var r=n(173)(/[!-/:-@[-`{-~]/);e.exports=r},8117:e=>{"use strict";e.exports=function(e){return e<0||32===e}},8034:e=>{"use strict";e.exports=function(e){return e<-2}},3354:e=>{"use strict";e.exports=function(e){return-2===e||-1===e||32===e}},7048:(e,t,n)=>{"use strict";var r=n(3623),o=n(173)(r);e.exports=o},1635:(e,t,n)=>{"use strict";var r=n(173)(/\s/);e.exports=r},9206:e=>{"use strict";var t=Object.assign;e.exports=t},2140:e=>{"use strict";var t=String.fromCharCode;e.exports=t},1458:e=>{"use strict";var t={}.hasOwnProperty;e.exports=t},2543:e=>{"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},1796:e=>{"use strict";e.exports=["pre","script","style","textarea"]},1691:e=>{"use strict";var t=[].splice;e.exports=t},3623:e=>{"use strict";e.exports=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/},2258:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8086),o=n(9332),i=n(9775),a=n(1270),l=n(2897),s=n(5253),u=n(1713),c=n(5965),d=n(2121),f=n(4817),p=n(2600),h=n(1834),m=n(698),v=n(1997),g=n(1436),y=n(9589),b=n(298),x=n(6652),w=n(3840),S=n(8410),k=n(7689),A={42:w,43:w,45:w,48:w,49:w,50:w,51:w,52:w,53:w,54:w,55:w,56:w,57:w,62:a},E={91:f},C={"-2":c,"-1":c,32:c},P={35:h,42:k,45:[S,k],60:m,61:S,95:k,96:u,126:u},_={38:s,92:l},O={"-5":x,"-4":x,"-3":x,33:y,38:s,42:o,60:[i,v],91:b,92:[p,l],93:g,95:o,96:d},j={null:[o,r.resolver]};t.contentInitial=E,t.disable={null:[]},t.document=A,t.flow=P,t.flowInitial=C,t.insideSpan=j,t.string=_,t.text=O},1620:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8034),o=n(4591),i=function(e){var t,n=e.attempt(this.parser.constructs.contentInitial,(function(t){if(null===t)return void e.consume(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o(e,n,"linePrefix")}),(function(t){return e.enter("paragraph"),i(t)}));return n;function i(n){var r=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=r),t=r,a(n)}function a(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):r(t)?(e.consume(t),e.exit("chunkText"),i):(e.consume(t),a)}};t.tokenize=i},2912:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8034),o=n(4591),i=n(5412),a=function(e){var t,n,o,a=this,u=[],c=0,d={tokenize:function(e,r){var o=0;return t={},c;function c(r){return o<u.length?(a.containerState=u[o][1],e.attempt(u[o][0].continuation,d,f)(r)):n.currentConstruct&&n.currentConstruct.concrete?(t.flowContinue=!0,m(r)):(a.interrupt=n.currentConstruct&&n.currentConstruct.interruptible,a.containerState={},e.attempt(l,h,m)(r))}function d(e){return o++,a.containerState._closeFlow?h(e):c(e)}function f(t){return n.currentConstruct&&n.currentConstruct.lazy?(a.containerState={},e.attempt(l,h,e.attempt(s,h,e.check(i,h,p)))(t)):h(t)}function p(e){return o=u.length,t.lazy=!0,t.flowContinue=!0,m(e)}function h(e){return t.flowEnd=!0,m(e)}function m(e){return t.continued=o,a.interrupt=a.containerState=void 0,r(e)}},partial:!0};return f;function f(t){return c<u.length?(a.containerState=u[c][1],e.attempt(u[c][0].continuation,p,h)(t)):h(t)}function p(e){return c++,f(e)}function h(r){return t&&t.flowContinue?v(r):(a.interrupt=n&&n.currentConstruct&&n.currentConstruct.interruptible,a.containerState={},e.attempt(l,m,v)(r))}function m(e){return u.push([a.currentConstruct,a.containerState]),a.containerState=void 0,h(e)}function v(t){return null===t?(x(0,!0),void e.consume(t)):(n=n||a.parser.flow(a.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:n}),g(t))}function g(t){return null===t?(b(e.exit("chunkFlow")),v(t)):r(t)?(e.consume(t),b(e.exit("chunkFlow")),e.check(d,y)):(e.consume(t),g)}function y(e){return x(t.continued,t&&t.flowEnd),c=0,f(e)}function b(e){o&&(o.next=e),o=e,n.lazy=t&&t.lazy,n.defineSkip(e.start),n.write(a.sliceStream(e))}function x(t,r){var i=u.length;for(n&&r&&(n.write([null]),o=n=void 0);i-- >t;)a.containerState=u[i][1],u[i][0].exit.call(a,e);u.length=t}},l={tokenize:function(e,t,n){return o(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},s={tokenize:function(e,t,n){return o(e,e.lazy(this.parser.constructs.flow,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}};t.tokenize=a},10:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1043),o=n(4591),i=n(5412),a=function(e){var t=this,n=e.attempt(i,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,a,o(e,e.attempt(this.parser.constructs.flow,a,e.attempt(r,a)),"linePrefix")));return n;function a(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}};t.tokenize=a},8086:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9206),o=n(5303),i=s("text"),a=s("string"),l={resolveAll:u()};function s(e){return{tokenize:function(t){var n=this,r=this.parser.constructs[e],o=t.attempt(r,i,a);return i;function i(e){return s(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),l;t.consume(e)}function l(e){return s(e)?(t.exit("data"),o(e)):(t.consume(e),l)}function s(e){var t=r[e],o=-1;if(null===e)return!0;if(t)for(;++o<t.length;)if(!t[o].previous||t[o].previous.call(n,n.previous))return!0}},resolveAll:u("text"===e?c:void 0)}}function u(e){return function(t,n){var r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function c(e,t){for(var n,i,a,l,s,u,c,d,f=-1;++f<=e.length;)if((f===e.length||"lineEnding"===e[f][1].type)&&"data"===e[f-1][1].type){for(i=e[f-1][1],l=(n=t.sliceStream(i)).length,s=-1,u=0,c=void 0;l--;)if("string"===typeof(a=n[l])){for(s=a.length;32===a.charCodeAt(s-1);)u++,s--;if(s)break;s=-1}else if(-2===a)c=!0,u++;else if(-1!==a){l++;break}u&&(d={type:f===e.length||c||u<2?"lineSuffix":"hardBreakTrailing",start:{line:i.end.line,column:i.end.column-u,offset:i.end.offset-u,_index:i.start._index+l,_bufferIndex:l?s:i.start._bufferIndex+s},end:o(i.end)},i.end=o(d.start),i.start.offset===i.end.offset?r(i,d):(e.splice(f,0,["enter",d,t],["exit",d,t]),f+=2)),f++}return e}t.resolver=l,t.string=a,t.text=i},2853:(e,t,n)=>{"use strict";var r=n(1620),o=n(2912),i=n(10),a=n(8086),l=n(7565),s=n(2947),u=n(1827),c=n(2258);e.exports=function(e){var t={defined:[],constructs:l([c].concat(u((e||{}).extensions))),content:n(r),document:n(o),flow:n(i),string:n(a.string),text:n(a.text)};return t;function n(e){return function(n){return s(t,e,n)}}}},1105:(e,t,n)=>{"use strict";var r=n(4360);e.exports=function(e){for(;!r(e););return e}},4782:e=>{"use strict";var t=/[\0\t\n\r]/g;e.exports=function(){var e,n=!0,r=1,o="";return function(i,a,l){var s,u,c,d,f,p=[];i=o+i.toString(a),c=0,o="",n&&(65279===i.charCodeAt(0)&&c++,n=void 0);for(;c<i.length;){if(t.lastIndex=c,d=(s=t.exec(i))?s.index:i.length,f=i.charCodeAt(d),!s){o=i.slice(c);break}if(10===f&&c===d&&e)p.push(-3),e=void 0;else if(e&&(p.push(-5),e=void 0),c<d&&(p.push(i.slice(c,d)),r+=d-c),0===f)p.push(65533),r++;else if(9===f)for(u=4*Math.ceil(r/4),p.push(-2);r++<u;)p.push(-1);else 10===f?(p.push(-4),r=1):(e=!0,r=1);c=d+1}l&&(e&&p.push(-5),o&&p.push(o),p.push(null));return p}}},9332:(e,t,n)=>{"use strict";var r=n(5160),o=n(7844),i=n(2003),a=n(8701),l=n(5741),s=n(5303),u={name:"attention",tokenize:function(e,t){var n,r=i(this.previous);return function(t){return e.enter("attentionSequence"),n=t,o(t)};function o(a){var l,s,u,c;return a===n?(e.consume(a),o):(l=e.exit("attentionSequence"),u=!(s=i(a))||2===s&&r,c=!r||2===r&&s,l._open=42===n?u:u&&(r||!c),l._close=42===n?c:c&&(s||!u),t(a))}},resolveAll:function(e,t){var n,i,u,c,d,f,p,h,m=-1;for(;++m<e.length;)if("enter"===e[m][0]&&"attentionSequence"===e[m][1].type&&e[m][1]._close)for(n=m;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[m][1]).charCodeAt(0)){if((e[n][1]._close||e[m][1]._open)&&(e[m][1].end.offset-e[m][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[m][1].end.offset-e[m][1].start.offset)%3))continue;c={type:(f=e[n][1].end.offset-e[n][1].start.offset>1&&e[m][1].end.offset-e[m][1].start.offset>1?2:1)>1?"strongSequence":"emphasisSequence",start:a(s(e[n][1].end),-f),end:s(e[n][1].end)},d={type:f>1?"strongSequence":"emphasisSequence",start:s(e[m][1].start),end:a(s(e[m][1].start),f)},u={type:f>1?"strongText":"emphasisText",start:s(e[n][1].end),end:s(e[m][1].start)},i={type:f>1?"strong":"emphasis",start:s(c.start),end:s(d.end)},e[n][1].end=s(c.start),e[m][1].start=s(d.end),p=[],e[n][1].end.offset-e[n][1].start.offset&&(p=r(p,[["enter",e[n][1],t],["exit",e[n][1],t]])),p=r(p,[["enter",i,t],["enter",c,t],["exit",c,t],["enter",u,t]]),p=r(p,l(t.parser.constructs.insideSpan.null,e.slice(n+1,m),t)),p=r(p,[["exit",u,t],["enter",d,t],["exit",d,t],["exit",i,t]]),e[m][1].end.offset-e[m][1].start.offset?(h=2,p=r(p,[["enter",e[m][1],t],["exit",e[m][1],t]])):h=0,o(e,n-1,m-n+3,p),m=n+p.length-h-2;break}m=-1;for(;++m<e.length;)"attentionSequence"===e[m][1].type&&(e[m][1].type="data");return e}};e.exports=u},9775:(e,t,n)=>{"use strict";var r=n(9176),o=n(8945),i=n(8136),a=n(5329),l={name:"autolink",tokenize:function(e,t,n){var l=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s};function s(t){return r(t)?(e.consume(t),u):i(t)?f(t):n(t)}function u(e){return 43===e||45===e||46===e||o(e)?c(e):f(e)}function c(t){return 58===t?(e.consume(t),d):(43===t||45===t||46===t||o(t))&&l++<32?(e.consume(t),c):f(t)}function d(t){return 62===t?(e.exit("autolinkProtocol"),v(t)):32===t||60===t||a(t)?n(t):(e.consume(t),d)}function f(t){return 64===t?(e.consume(t),l=0,p):i(t)?(e.consume(t),f):n(t)}function p(e){return o(e)?h(e):n(e)}function h(t){return 46===t?(e.consume(t),l=0,p):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",v(t)):m(t)}function m(t){return(45===t||o(t))&&l++<63?(e.consume(t),45===t?m:h):n(t)}function v(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}};e.exports=l},1270:(e,t,n)=>{"use strict";var r=n(3354),o=n(4591),i={name:"blockQuote",tokenize:function(e,t,n){var o=this;return function(t){if(62===t)return o.containerState.open||(e.enter("blockQuote",{_container:!0}),o.containerState.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i;return n(t)};function i(n){return r(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){return o(e,e.attempt(i,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},exit:function(e){e.exit("blockQuote")}};e.exports=i},2897:(e,t,n)=>{"use strict";var r=n(3724),o={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),o};function o(o){return r(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}};e.exports=o},5253:(e,t,n)=>{"use strict";var r=n(6909),o=n(8945),i=n(8793),a=n(393);function l(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var s=l(r),u={name:"characterReference",tokenize:function(e,t,n){var r,l,u=this,c=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),d};function d(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),f):(e.enter("characterReferenceValue"),r=31,l=o,p(t))}function f(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,l=a,p):(e.enter("characterReferenceValue"),r=7,l=i,p(t))}function p(i){var a;return 59===i&&c?(a=e.exit("characterReferenceValue"),l!==o||s.default(u.sliceSerialize(a))?(e.enter("characterReferenceMarker"),e.consume(i),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(i)):l(i)&&c++<r?(e.consume(i),p):n(i)}}};e.exports=u},1713:(e,t,n)=>{"use strict";var r=n(8034),o=n(8117),i=n(8273),a=n(4591),l={name:"codeFenced",tokenize:function(e,t,n){var l,s=this,u={tokenize:function(e,t,n){var o=0;return a(e,i,"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4);function i(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(t)}function s(t){return t===l?(e.consume(t),o++,s):o<d?n(t):(e.exit("codeFencedFenceSequence"),a(e,u,"whitespace")(t))}function u(o){return null===o||r(o)?(e.exit("codeFencedFence"),t(o)):n(o)}},partial:!0},c=i(this.events,"linePrefix"),d=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l=t,f(t)};function f(t){return t===l?(e.consume(t),d++,f):(e.exit("codeFencedFenceSequence"),d<3?n(t):a(e,p,"whitespace")(t))}function p(t){return null===t||r(t)?g(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(t))}function h(t){return null===t||o(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),a(e,m,"whitespace")(t)):96===t&&t===l?n(t):(e.consume(t),h)}function m(t){return null===t||r(t)?g(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),v(t))}function v(t){return null===t||r(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),g(t)):96===t&&t===l?n(t):(e.consume(t),v)}function g(n){return e.exit("codeFencedFence"),s.interrupt?t(n):y(n)}function y(t){return null===t?x(t):r(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),e.attempt(u,x,c?a(e,y,"linePrefix",c+1):y)):(e.enter("codeFlowValue"),b(t))}function b(t){return null===t||r(t)?(e.exit("codeFlowValue"),y(t)):(e.consume(t),b)}function x(n){return e.exit("codeFenced"),t(n)}},concrete:!0};e.exports=l},5965:(e,t,n)=>{"use strict";var r=n(8034),o=n(7844),i=n(8273),a=n(4591),l={name:"codeIndented",tokenize:function(e,t,n){return e.attempt(s,o,n);function o(n){return null===n?t(n):r(n)?e.attempt(s,o,t)(n):(e.enter("codeFlowValue"),i(n))}function i(t){return null===t||r(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),i)}},resolve:function(e,t){var n={type:"codeIndented",start:e[0][1].start,end:e[e.length-1][1].end};return o(e,0,0,[["enter",n,t]]),o(e,e.length,0,[["exit",n,t]]),e}},s={tokenize:function(e,t,n){var o=this;return a(e,(function l(s){if(r(s))return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a(e,l,"linePrefix",5);return i(o.events,"linePrefix")<4?n(s):t(s)}),"linePrefix",5)},partial:!0};e.exports=l},2121:(e,t,n)=>{"use strict";var r=n(8034),o={name:"codeText",tokenize:function(e,t,n){var o,i,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),l(t)};function l(t){return 96===t?(e.consume(t),a++,l):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):96===t?(i=e.enter("codeTextSequence"),o=0,c(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):r(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),u(t))}function u(t){return null===t||32===t||96===t||r(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),u)}function c(n){return 96===n?(e.consume(n),o++,c):o===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(i.type="codeTextData",u(n))}},resolve:function(e){var t,n,r=e.length-4,o=3;if(("lineEnding"===e[o][1].type||"space"===e[o][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[r][1].type=e[o][1].type="codeTextPadding",o+=2,r-=2;break}t=o-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};e.exports=o},1043:(e,t,n)=>{"use strict";var r=n(8034),o=n(8273),i=n(4360),a=n(4591),l={tokenize:function(e,t){var n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),o(t)};function o(t){return null===t?i(t):r(t)?e.check(s,a,i)(t):(e.consume(t),o)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function a(t){return e.consume(t),e.exit("chunkContent"),n=n.next=e.enter("chunkContent",{contentType:"content",previous:n}),o}},resolve:function(e){return i(e),e},interruptible:!0,lazy:!0},s={tokenize:function(e,t,n){var i=this;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a(e,l,"linePrefix")};function l(a){return null===a||r(a)?n(a):i.parser.constructs.disable.null.indexOf("codeIndented")>-1||o(i.events,"linePrefix")<4?e.interrupt(i.parser.constructs.flow,n,t)(a):t(a)}},partial:!0};e.exports=l},4817:(e,t,n)=>{"use strict";var r=n(8034),o=n(8117),i=n(3526),a=n(9997),l=n(6579),s=n(4591),u=n(3788),c=n(6775),d={name:"definition",tokenize:function(e,t,n){var o,c=this;return function(t){return e.enter("definition"),l.call(c,e,d,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function d(t){return o=i(c.sliceSerialize(c.events[c.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),u(e,a(e,e.attempt(f,s(e,p,"whitespace"),s(e,p,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function p(i){return null===i||r(i)?(e.exit("definition"),c.parser.defined.indexOf(o)<0&&c.parser.defined.push(o),t(i)):n(i)}}},f={tokenize:function(e,t,n){return function(t){return o(t)?u(e,i)(t):n(t)};function i(t){return 34===t||39===t||40===t?c(e,s(e,a,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function a(e){return null===e||r(e)?t(e):n(e)}},partial:!0};e.exports=d},9997:(e,t,n)=>{"use strict";var r=n(5329),o=n(8117),i=n(8034);e.exports=function(e,t,n,a,l,s,u,c,d){var f=d||1/0,p=0;return function(t){if(60===t)return e.enter(a),e.enter(l),e.enter(s),e.consume(t),e.exit(s),h;if(r(t)||41===t)return n(t);return e.enter(a),e.enter(u),e.enter(c),e.enter("chunkString",{contentType:"string"}),g(t)};function h(n){return 62===n?(e.enter(s),e.consume(n),e.exit(s),e.exit(l),e.exit(a),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),m(n))}function m(t){return 62===t?(e.exit("chunkString"),e.exit(c),h(t)):null===t||60===t||i(t)?n(t):(e.consume(t),92===t?v:m)}function v(t){return 60===t||62===t||92===t?(e.consume(t),m):m(t)}function g(i){return 40===i?++p>f?n(i):(e.consume(i),g):41===i?p--?(e.consume(i),g):(e.exit("chunkString"),e.exit(c),e.exit(u),e.exit(a),t(i)):null===i||o(i)?p?n(i):(e.exit("chunkString"),e.exit(c),e.exit(u),e.exit(a),t(i)):r(i)?n(i):(e.consume(i),92===i?y:g)}function y(t){return 40===t||41===t||92===t?(e.consume(t),g):g(t)}}},6579:(e,t,n)=>{"use strict";var r=n(8034),o=n(3354);e.exports=function(e,t,n,i,a,l){var s,u=this,c=0;return function(t){return e.enter(i),e.enter(a),e.consume(t),e.exit(a),e.enter(l),d};function d(o){return null===o||91===o||93===o&&!s||94===o&&!c&&"_hiddenFootnoteSupport"in u.parser.constructs||c>999?n(o):93===o?(e.exit(l),e.enter(a),e.consume(o),e.exit(a),e.exit(i),t):r(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),f(o))}function f(t){return null===t||91===t||93===t||r(t)||c++>999?(e.exit("chunkString"),d(t)):(e.consume(t),s=s||!o(t),92===t?p:f)}function p(t){return 91===t||92===t||93===t?(e.consume(t),c++,f):f(t)}}},4591:(e,t,n)=>{"use strict";var r=n(3354);e.exports=function(e,t,n,o){var i=o?o-1:1/0,a=0;return function(o){if(r(o))return e.enter(n),l(o);return t(o)};function l(o){return r(o)&&a++<i?(e.consume(o),l):(e.exit(n),t(o))}}},6775:(e,t,n)=>{"use strict";var r=n(8034),o=n(4591);e.exports=function(e,t,n,i,a,l){var s;return function(t){return e.enter(i),e.enter(a),e.consume(t),e.exit(a),s=40===t?41:t,u};function u(n){return n===s?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),t):(e.enter(l),c(n))}function c(t){return t===s?(e.exit(l),u(s)):null===t?n(t):r(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return t===s||null===t||r(t)?(e.exit("chunkString"),c(t)):(e.consume(t),92===t?f:d)}function f(t){return t===s||92===t?(e.consume(t),d):d(t)}}},3788:(e,t,n)=>{"use strict";var r=n(8034),o=n(3354),i=n(4591);e.exports=function(e,t){var n;return function a(l){if(r(l))return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),n=!0,a;if(o(l))return i(e,a,n?"linePrefix":"lineSuffix")(l);return t(l)}}},2600:(e,t,n)=>{"use strict";var r=n(8034),o={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),o};function o(o){return r(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(o)):n(o)}}};e.exports=o},1834:(e,t,n)=>{"use strict";var r=n(8034),o=n(8117),i=n(3354),a=n(7844),l=n(4591),s={name:"headingAtx",tokenize:function(e,t,n){var a=this,s=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),u(t)};function u(r){return 35===r&&s++<6?(e.consume(r),u):null===r||o(r)?(e.exit("atxHeadingSequence"),a.interrupt?t(r):c(r)):n(r)}function c(n){return 35===n?(e.enter("atxHeadingSequence"),d(n)):null===n||r(n)?(e.exit("atxHeading"),t(n)):i(n)?l(e,c,"whitespace")(n):(e.enter("atxHeadingText"),f(n))}function d(t){return 35===t?(e.consume(t),d):(e.exit("atxHeadingSequence"),c(t))}function f(t){return null===t||35===t||o(t)?(e.exit("atxHeadingText"),c(t)):(e.consume(t),f)}},resolve:function(e,t){var n,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},a(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};e.exports=s},698:(e,t,n)=>{"use strict";var r=n(9176),o=n(8945),i=n(8034),a=n(8117),l=n(3354),s=n(2140),u=n(2543),c=n(1796),d=n(5412),f={name:"htmlFlow",tokenize:function(e,t,n){var d,f,h,m,v,g=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),y};function y(o){return 33===o?(e.consume(o),b):47===o?(e.consume(o),S):63===o?(e.consume(o),d=3,g.interrupt?t:W):r(o)?(e.consume(o),h=s(o),f=!0,k):n(o)}function b(o){return 45===o?(e.consume(o),d=2,x):91===o?(e.consume(o),d=5,h="CDATA[",m=0,w):r(o)?(e.consume(o),d=4,g.interrupt?t:W):n(o)}function x(r){return 45===r?(e.consume(r),g.interrupt?t:W):n(r)}function w(r){return r===h.charCodeAt(m++)?(e.consume(r),m===h.length?g.interrupt?t:I:w):n(r)}function S(t){return r(t)?(e.consume(t),h=s(t),k):n(t)}function k(r){return null===r||47===r||62===r||a(r)?47!==r&&f&&c.indexOf(h.toLowerCase())>-1?(d=1,g.interrupt?t(r):I(r)):u.indexOf(h.toLowerCase())>-1?(d=6,47===r?(e.consume(r),A):g.interrupt?t(r):I(r)):(d=7,g.interrupt?n(r):f?C(r):E(r)):45===r||o(r)?(e.consume(r),h+=s(r),k):n(r)}function A(r){return 62===r?(e.consume(r),g.interrupt?t:I):n(r)}function E(t){return l(t)?(e.consume(t),E):R(t)}function C(t){return 47===t?(e.consume(t),R):58===t||95===t||r(t)?(e.consume(t),P):l(t)?(e.consume(t),C):R(t)}function P(t){return 45===t||46===t||58===t||95===t||o(t)?(e.consume(t),P):_(t)}function _(t){return 61===t?(e.consume(t),O):l(t)?(e.consume(t),_):C(t)}function O(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),v=t,j):l(t)?(e.consume(t),O):(v=void 0,T(t))}function j(t){return t===v?(e.consume(t),M):null===t||i(t)?n(t):(e.consume(t),j)}function T(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||a(t)?_(t):(e.consume(t),T)}function M(e){return 47===e||62===e||l(e)?C(e):n(e)}function R(t){return 62===t?(e.consume(t),L):n(t)}function L(t){return l(t)?(e.consume(t),L):null===t||i(t)?I(t):n(t)}function I(t){return 45===t&&2===d?(e.consume(t),z):60===t&&1===d?(e.consume(t),N):62===t&&4===d?(e.consume(t),V):63===t&&3===d?(e.consume(t),W):93===t&&5===d?(e.consume(t),H):!i(t)||6!==d&&7!==d?null===t||i(t)?D(t):(e.consume(t),I):e.check(p,V,D)(t)}function D(t){return e.exit("htmlFlowData"),F(t)}function F(t){return null===t?U(t):i(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),F):(e.enter("htmlFlowData"),I(t))}function z(t){return 45===t?(e.consume(t),W):I(t)}function N(t){return 47===t?(e.consume(t),h="",B):I(t)}function B(t){return 62===t&&c.indexOf(h.toLowerCase())>-1?(e.consume(t),V):r(t)&&h.length<8?(e.consume(t),h+=s(t),B):I(t)}function H(t){return 93===t?(e.consume(t),W):I(t)}function W(t){return 62===t?(e.consume(t),V):I(t)}function V(t){return null===t||i(t)?(e.exit("htmlFlowData"),U(t)):(e.consume(t),V)}function U(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){var t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},p={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(d,t,n)}},partial:!0};e.exports=f},1997:(e,t,n)=>{"use strict";var r=n(9176),o=n(8945),i=n(8034),a=n(8117),l=n(3354),s=n(4591),u={name:"htmlText",tokenize:function(e,t,n){var u,c,d,f,p=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),h};function h(t){return 33===t?(e.consume(t),m):47===t?(e.consume(t),_):63===t?(e.consume(t),C):r(t)?(e.consume(t),T):n(t)}function m(t){return 45===t?(e.consume(t),v):91===t?(e.consume(t),c="CDATA[",d=0,w):r(t)?(e.consume(t),E):n(t)}function v(t){return 45===t?(e.consume(t),g):n(t)}function g(t){return null===t||62===t?n(t):45===t?(e.consume(t),y):b(t)}function y(e){return null===e||62===e?n(e):b(e)}function b(t){return null===t?n(t):45===t?(e.consume(t),x):i(t)?(f=b,N(t)):(e.consume(t),b)}function x(t){return 45===t?(e.consume(t),H):b(t)}function w(t){return t===c.charCodeAt(d++)?(e.consume(t),d===c.length?S:w):n(t)}function S(t){return null===t?n(t):93===t?(e.consume(t),k):i(t)?(f=S,N(t)):(e.consume(t),S)}function k(t){return 93===t?(e.consume(t),A):S(t)}function A(t){return 62===t?H(t):93===t?(e.consume(t),A):S(t)}function E(t){return null===t||62===t?H(t):i(t)?(f=E,N(t)):(e.consume(t),E)}function C(t){return null===t?n(t):63===t?(e.consume(t),P):i(t)?(f=C,N(t)):(e.consume(t),C)}function P(e){return 62===e?H(e):C(e)}function _(t){return r(t)?(e.consume(t),O):n(t)}function O(t){return 45===t||o(t)?(e.consume(t),O):j(t)}function j(t){return i(t)?(f=j,N(t)):l(t)?(e.consume(t),j):H(t)}function T(t){return 45===t||o(t)?(e.consume(t),T):47===t||62===t||a(t)?M(t):n(t)}function M(t){return 47===t?(e.consume(t),H):58===t||95===t||r(t)?(e.consume(t),R):i(t)?(f=M,N(t)):l(t)?(e.consume(t),M):H(t)}function R(t){return 45===t||46===t||58===t||95===t||o(t)?(e.consume(t),R):L(t)}function L(t){return 61===t?(e.consume(t),I):i(t)?(f=L,N(t)):l(t)?(e.consume(t),L):M(t)}function I(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),u=t,D):i(t)?(f=I,N(t)):l(t)?(e.consume(t),I):(e.consume(t),u=void 0,z)}function D(t){return t===u?(e.consume(t),F):null===t?n(t):i(t)?(f=D,N(t)):(e.consume(t),D)}function F(e){return 62===e||47===e||a(e)?M(e):n(e)}function z(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||a(t)?M(t):(e.consume(t),z)}function N(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s(e,B,"linePrefix",p.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}function B(t){return e.enter("htmlTextData"),f(t)}function H(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}};e.exports=u},1436:(e,t,n)=>{"use strict";var r=n(8117),o=n(5160),i=n(7844),a=n(3526),l=n(5741),s=n(5303),u=n(9997),c=n(6579),d=n(6775),f=n(3788),p={name:"labelEnd",tokenize:function(e,t,n){var r,o,i=this,l=i.events.length;for(;l--;)if(("labelImage"===i.events[l][1].type||"labelLink"===i.events[l][1].type)&&!i.events[l][1]._balanced){r=i.events[l][1];break}return function(t){if(!r)return n(t);return r._inactive?u(t):(o=i.parser.defined.indexOf(a(i.sliceSerialize({start:r.end,end:i.now()})))>-1,e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s)};function s(n){return 40===n?e.attempt(h,t,o?t:u)(n):91===n?e.attempt(m,t,o?e.attempt(v,t,u):u)(n):o?t(n):u(n)}function u(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){var n,r,a,u,c,d,f,p=e.length,h=0;for(;p--;)if(u=e[p][1],c){if("link"===u.type||"labelLink"===u.type&&u._inactive)break;"enter"===e[p][0]&&"labelLink"===u.type&&(u._inactive=!0)}else if(d){if("enter"===e[p][0]&&("labelImage"===u.type||"labelLink"===u.type)&&!u._balanced&&(c=p,"labelLink"!==u.type)){h=2;break}}else"labelEnd"===u.type&&(d=p);return n={type:"labelLink"===e[c][1].type?"link":"image",start:s(e[c][1].start),end:s(e[e.length-1][1].end)},r={type:"label",start:s(e[c][1].start),end:s(e[d][1].end)},a={type:"labelText",start:s(e[c+h+2][1].end),end:s(e[d-2][1].start)},f=o(f=[["enter",n,t],["enter",r,t]],e.slice(c+1,c+h+3)),f=o(f,[["enter",a,t]]),f=o(f,l(t.parser.constructs.insideSpan.null,e.slice(c+h+4,d-3),t)),f=o(f,[["exit",a,t],e[d-2],e[d-1],["exit",r,t]]),f=o(f,e.slice(d+1)),f=o(f,[["exit",n,t]]),i(e,c,e.length,f),e},resolveAll:function(e){var t,n=-1;for(;++n<e.length;)(t=e[n][1])._used||"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(n+1,"labelImage"===t.type?4:2),t.type="data",n++);return e}},h={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),f(e,o)};function o(t){return 41===t?l(t):u(e,i,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",3)(t)}function i(t){return r(t)?f(e,a)(t):l(t)}function a(t){return 34===t||39===t||40===t?d(e,f(e,l),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):l(t)}function l(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},m={tokenize:function(e,t,n){var r=this;return function(t){return c.call(r,e,o,n,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.indexOf(a(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))<0?n(e):t(e)}}},v={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};e.exports=p},9589:(e,t,n)=>{"use strict";var r={name:"labelStartImage",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:n(1436).resolveAll};e.exports=r},298:(e,t,n)=>{"use strict";var r={name:"labelStartLink",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:n(1436).resolveAll};e.exports=r},6652:(e,t,n)=>{"use strict";var r=n(4591),o={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),r(e,t,"linePrefix")}}};e.exports=o},3840:(e,t,n)=>{"use strict";var r=n(8793),o=n(3354),i=n(8273),a=n(8101),l=n(4591),s=n(5412),u=n(7689),c={name:"list",tokenize:function(e,t,n){var l=this,c=i(l.events,"linePrefix"),f=0;return function(t){var o=l.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!l.containerState.marker||t===l.containerState.marker:r(t)){if(l.containerState.type||(l.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(u,n,h)(t):h(t);if(!l.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),p(t)}return n(t)};function p(t){return r(t)&&++f<10?(e.consume(t),p):(!l.interrupt||f<2)&&(l.containerState.marker?t===l.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),h(t)):n(t)}function h(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),l.containerState.marker=l.containerState.marker||t,e.check(s,l.interrupt?n:m,e.attempt(d,g,v))}function m(e){return l.containerState.initialBlankLine=!0,c++,g(e)}function v(t){return o(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),g):n(t)}function g(n){return l.containerState.size=c+a(l.sliceStream(e.exit("listItemPrefix"))),t(n)}},continuation:{tokenize:function(e,t,n){var r=this;return r.containerState._closeFlow=void 0,e.check(s,(function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,l(e,t,"listItemIndent",r.containerState.size+1)(n)}),(function(n){if(r.containerState.furtherBlankLines||!o(n))return r.containerState.furtherBlankLines=r.containerState.initialBlankLine=void 0,i(n);return r.containerState.furtherBlankLines=r.containerState.initialBlankLine=void 0,e.attempt(f,t,i)(n)}));function i(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,l(e,e.attempt(c,t,n),"linePrefix",r.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},d={tokenize:function(e,t,n){var r=this;return l(e,(function(e){return o(e)||!i(r.events,"listItemPrefixWhitespace")?n(e):t(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:5)},partial:!0},f={tokenize:function(e,t,n){var r=this;return l(e,(function(e){return i(r.events,"listItemIndent")===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};e.exports=c},5412:(e,t,n)=>{"use strict";var r=n(8034),o=n(4591),i={tokenize:function(e,t,n){return o(e,(function(e){return null===e||r(e)?t(e):n(e)}),"linePrefix")},partial:!0};e.exports=i},8410:(e,t,n)=>{"use strict";var r=n(8034),o=n(5303),i=n(4591),a={name:"setextUnderline",tokenize:function(e,t,n){var o,a,l=this,s=l.events.length;for(;s--;)if("lineEnding"!==l.events[s][1].type&&"linePrefix"!==l.events[s][1].type&&"content"!==l.events[s][1].type){a="paragraph"===l.events[s][1].type;break}return function(t){if(!l.lazy&&(l.interrupt||a))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=t,u(t);return n(t)};function u(t){return t===o?(e.consume(t),u):(e.exit("setextHeadingLineSequence"),i(e,c,"lineSuffix")(t))}function c(o){return null===o||r(o)?(e.exit("setextHeadingLine"),t(o)):n(o)}},resolveTo:function(e,t){var n,r,i,a,l=e.length;for(;l--;)if("enter"===e[l][0]){if("content"===e[l][1].type){n=l;break}"paragraph"===e[l][1].type&&(r=l)}else"content"===e[l][1].type&&e.splice(l,1),i||"definition"!==e[l][1].type||(i=l);a={type:"setextHeading",start:o(e[r][1].start),end:o(e[e.length-1][1].end)},e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=o(e[i][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};e.exports=a},7689:(e,t,n)=>{"use strict";var r=n(8034),o=n(3354),i=n(4591),a={name:"thematicBreak",tokenize:function(e,t,n){var a,l=0;return function(t){return e.enter("thematicBreak"),a=t,s(t)};function s(c){return c===a?(e.enter("thematicBreakSequence"),u(c)):o(c)?i(e,s,"whitespace")(c):l<3||null!==c&&!r(c)?n(c):(e.exit("thematicBreak"),t(c))}function u(t){return t===a?(e.consume(t),l++,u):(e.exit("thematicBreakSequence"),s(t))}}};e.exports=a},5160:(e,t,n)=>{"use strict";var r=n(7844);e.exports=function(e,t){return e.length?(r(e,e.length,0,t),e):t}},7844:(e,t,n)=>{"use strict";var r=n(1691);e.exports=function(e,t,n,o){var i,a=e.length,l=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,o.length<1e4)(i=Array.from(o)).unshift(t,n),r.apply(e,i);else for(n&&r.apply(e,[t,n]);l<o.length;)(i=o.slice(l,l+1e4)).unshift(t,0),r.apply(e,i),l+=1e4,t+=1e4}},2003:(e,t,n)=>{"use strict";var r=n(8117),o=n(7048),i=n(1635);e.exports=function(e){return null===e||r(e)||i(e)?1:o(e)?2:void 0}},7565:(e,t,n)=>{"use strict";var r=n(1458),o=n(7844),i=n(1827);function a(e,t){var n,o,a,s;for(n in t)for(s in o=r.call(e,n)?e[n]:e[n]={},a=t[n])o[s]=l(i(a[s]),r.call(o,s)?o[s]:[])}function l(e,t){for(var n=-1,r=[];++n<e.length;)("after"===e[n].add?t:r).push(e[n]);return o(t,0,0,r),t}e.exports=function(e){for(var t={},n=-1;++n<e.length;)a(t,e[n]);return t}},2947:(e,t,n)=>{"use strict";var r=n(9206),o=n(8034),i=n(5160),a=n(7844),l=n(1827),s=n(5741),u=n(8008),c=n(5303),d=n(7676);e.exports=function(e,t,n){var f=n?c(n):{line:1,column:1,offset:0},p={},h=[],m=[],v=[],g={consume:function(e){o(e)?(f.line++,f.column=1,f.offset+=-3===e?2:1,P()):-1!==e&&(f.column++,f.offset++);f._bufferIndex<0?f._index++:(f._bufferIndex++,f._bufferIndex===m[f._index].length&&(f._bufferIndex=-1,f._index++));y.previous=e},enter:function(e,t){var n=t||{};return n.type=e,n.start=w(),y.events.push(["enter",n,y]),v.push(n),n},exit:function(e){var t=v.pop();return t.end=w(),y.events.push(["exit",t,y]),t},attempt:E((function(e,t){C(e,t.from)})),check:E(A),interrupt:E(A,{interrupt:!0}),lazy:E(A,{lazy:!0})},y={previous:null,events:[],parser:e,sliceStream:x,sliceSerialize:function(e){return u(x(e))},now:w,defineSkip:function(e){p[e.line]=e.column,P()},write:function(e){if(m=i(m,e),S(),null!==m[m.length-1])return[];return C(t,0),y.events=s(h,y.events,y),y.events}},b=t.tokenize.call(y,g);return t.resolveAll&&h.push(t),f._index=0,f._bufferIndex=-1,y;function x(e){return d(m,e)}function w(){return c(f)}function S(){for(var e,t;f._index<m.length;)if("string"===typeof(t=m[f._index]))for(e=f._index,f._bufferIndex<0&&(f._bufferIndex=0);f._index===e&&f._bufferIndex<t.length;)k(t.charCodeAt(f._bufferIndex));else k(t)}function k(e){b=b(e)}function A(e,t){t.restore()}function E(e,t){return function(n,o,i){var a,s,u,c;return n.tokenize||"length"in n?d(l(n)):function(e){if(e in n||null in n)return d(n.null?l(n[e]).concat(l(n.null)):n[e])(e);return i(e)};function d(e){return a=e,p(e[s=0])}function p(e){return function(n){c=function(){var e=w(),t=y.previous,n=y.currentConstruct,r=y.events.length,o=Array.from(v);return{restore:i,from:r};function i(){f=e,y.previous=t,y.currentConstruct=n,y.events.length=r,v=o,P()}}(),u=e,e.partial||(y.currentConstruct=e);if(e.name&&y.parser.constructs.disable.null.indexOf(e.name)>-1)return m();return e.tokenize.call(t?r({},y,t):y,g,h,m)(n)}}function h(t){return e(u,c),o}function m(e){return c.restore(),++s<a.length?p(a[s]):i}}}function C(e,t){e.resolveAll&&h.indexOf(e)<0&&h.push(e),e.resolve&&a(y.events,t,y.events.length-t,e.resolve(y.events.slice(t),y)),e.resolveTo&&(y.events=e.resolveTo(y.events,y))}function P(){f.line in p&&f.column<2&&(f.column=p[f.line],f.offset+=p[f.line]-1)}}},1827:e=>{"use strict";e.exports=function(e){return null===e||void 0===e?[]:"length"in e?e:[e]}},8701:e=>{"use strict";e.exports=function(e,t){return e.column+=t,e.offset+=t,e._bufferIndex+=t,e}},3526:e=>{"use strict";e.exports=function(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},8273:(e,t,n)=>{"use strict";var r=n(8101);e.exports=function(e,t){var n=e[e.length-1];return n&&n[1].type===t?r(n[2].sliceStream(n[1])):0}},173:(e,t,n)=>{"use strict";var r=n(2140);e.exports=function(e){return function(t){return e.test(r(t))}}},5741:e=>{"use strict";e.exports=function(e,t,n){for(var r,o=[],i=-1;++i<e.length;)(r=e[i].resolveAll)&&o.indexOf(r)<0&&(t=r(t,n),o.push(r));return t}},6563:(e,t,n)=>{"use strict";var r=n(2140);e.exports=function(e,t){var n=parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":r(n)}},8008:(e,t,n)=>{"use strict";var r=n(2140);e.exports=function(e){for(var t,n,o,i=-1,a=[];++i<e.length;){if("string"===typeof(t=e[i]))n=t;else if(-5===t)n="\r";else if(-4===t)n="\n";else if(-3===t)n="\r\n";else if(-2===t)n="\t";else if(-1===t){if(o)continue;n=" "}else n=r(t);o=-2===t,a.push(n)}return a.join("")}},5303:(e,t,n)=>{"use strict";var r=n(9206);e.exports=function(e){return r({},e)}},8101:e=>{"use strict";e.exports=function(e){for(var t=-1,n=0;++t<e.length;)n+="string"===typeof e[t]?e[t].length:1;return n}},7676:e=>{"use strict";e.exports=function(e,t){var n,r=t.start._index,o=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;return r===i?n=[e[r].slice(o,a)]:(n=e.slice(r,i),o>-1&&(n[0]=n[0].slice(o)),a>0&&n.push(e[i].slice(0,a))),n}},4360:(e,t,n)=>{"use strict";var r=n(9206),o=n(7844),i=n(5303);function a(e,t){for(var n,r,i,a,l,s,u=e[t][1],c=e[t][2],d=t-1,f=[],p=u._tokenizer||c.parser[u.contentType](u.start),h=p.events,m=[],v={};u;){for(;e[++d][1]!==u;);f.push(d),u._tokenizer||(n=c.sliceStream(u),u.next||n.push(null),r&&p.defineSkip(u.start),u.isInFirstContentOfListItem&&(p._gfmTasklistFirstContentOfListItem=!0),p.write(n),u.isInFirstContentOfListItem&&(p._gfmTasklistFirstContentOfListItem=void 0)),r=u,u=u.next}for(u=r,i=h.length;i--;)"enter"===h[i][0]?a=!0:a&&h[i][1].type===h[i-1][1].type&&h[i][1].start.line!==h[i][1].end.line&&(g(h.slice(i+1,l)),u._tokenizer=u.next=void 0,u=u.previous,l=i+1);for(p.events=u._tokenizer=u.next=void 0,g(h.slice(0,l)),i=-1,s=0;++i<m.length;)v[s+m[i][0]]=s+m[i][1],s+=m[i][1]-m[i][0]-1;return v;function g(t){var n=f.pop();m.unshift([n,n+t.length-1]),o(e,n,2,t)}}e.exports=function(e){for(var t,n,l,s,u,c,d,f={},p=-1;++p<e.length;){for(;p in f;)p=f[p];if(t=e[p],p&&"chunkFlow"===t[1].type&&"listItemPrefix"===e[p-1][1].type&&((l=0)<(c=t[1]._tokenizer.events).length&&"lineEndingBlank"===c[l][1].type&&(l+=2),l<c.length&&"content"===c[l][1].type))for(;++l<c.length&&"content"!==c[l][1].type;)"chunkText"===c[l][1].type&&(c[l][1].isInFirstContentOfListItem=!0,l++);if("enter"===t[0])t[1].contentType&&(r(f,a(e,p)),p=f[p],d=!0);else if(t[1]._container||t[1]._movePreviousLineEndings){for(l=p,n=void 0;l--&&("lineEnding"===(s=e[l])[1].type||"lineEndingBlank"===s[1].type);)"enter"===s[0]&&(n&&(e[n][1].type="lineEndingBlank"),s[1].type="lineEnding",n=l);n&&(t[1].end=i(e[n][1].start),(u=e.slice(n,p)).unshift(t),o(e,n,p-n+1,u))}}return!d}},3538:(e,t)=>{"use strict";t.__esModule=!0,Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!==typeof e)throw new TypeError("predicate must be a function");for(var r=arguments[1],o=0;o<n;){var i=t[o];if(e.call(r,i,o,t))return i;o++}},configurable:!0,writable:!0})},428:(e,t)=>{"use strict";t.__esModule=!0,t.Polyfill=t.LightMapImpl=void 0;var n=function(){function e(){this.record=[]}return e.prototype.has=function(e){return this.record.map((function(e){return e[0]})).indexOf(e)>=0},e.prototype.get=function(e){var t=this.record.filter((function(t){return t[0]===e}))[0];if(void 0!==t)return t[1]},e.prototype.set=function(e,t){var n=this.record.filter((function(t){return t[0]===e}))[0];return void 0===n?this.record.push([e,t]):n[1]=t,this},e.prototype.delete=function(e){var t=this.record.map((function(e){return e[0]})).indexOf(e);return!(t<0)&&(this.record.splice(t,1),!0)},e.prototype.keys=function(){return this.record.map((function(e){return e[0]}))},e}();t.LightMapImpl=n,t.Polyfill="undefined"!==typeof Map?Map:n},2437:(e,t)=>{"use strict";t.__esModule=!0,Object.fromEntries||Object.defineProperty(Object,"fromEntries",{value:function(e){if(!e||!e[Symbol.iterator])throw new Error("Object.fromEntries() requires a single iterable argument");var t={};return Object.keys(e).forEach((function(n){var r=e[n],o=r[0],i=r[1];t[o]=i})),t}})},2405:(e,t)=>{"use strict";t.__esModule=!0,Object.is||(Object.is=function(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t})},1438:(e,t,n)=>{"use strict";t.__esModule=!0,t.Polyfill=t.LightSetImpl=void 0;var r=n(428),o=function(){function e(e){if(this.map=new r.Polyfill,void 0!==e)for(var t=0,n=e;t<n.length;t++){var o=n[t];this.add(o)}}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.add=function(e){return this.map.set(e,!0),this},e.prototype.values=function(){return this.map.keys()},e.prototype.delete=function(e){return this.map.delete(e)},e}();t.LightSetImpl=o,t.Polyfill="undefined"!==typeof Set?Set:o},9632:(e,t,n)=>{"use strict";t.__esModule=!0,t.Polyfill=void 0;var r=n(428);t.Polyfill="undefined"!==typeof WeakMap?WeakMap:r.Polyfill},2793:e=>{"use strict";var t=function(e){if("function"!==typeof e)throw new TypeError(e+" is not a function");return e},n=function(e){var n,r,o=document.createTextNode(""),i=0;return new e((function(){var e;if(n)r&&(n=r.concat(n));else{if(!r)return;n=r}if(r=n,n=null,"function"===typeof r)return e=r,r=null,void e();for(o.data=i=++i%2;r;)e=r.shift(),r.length||(r=null),e()})).observe(o,{characterData:!0}),function(e){t(e),n?"function"===typeof n?n=[n,e]:n.push(e):(n=e,o.data=i=++i%2)}};e.exports=function(){if("object"===typeof process&&process&&"function"===typeof process.nextTick)return process.nextTick;if("function"===typeof queueMicrotask)return function(e){queueMicrotask(t(e))};if("object"===typeof document&&document){if("function"===typeof MutationObserver)return n(MutationObserver);if("function"===typeof WebKitMutationObserver)return n(WebKitMutationObserver)}return"function"===typeof setImmediate?function(e){setImmediate(t(e))}:"function"===typeof setTimeout||"object"===typeof setTimeout?function(e){setTimeout(t(e),0)}:null}()},7571:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t},l=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function l(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(l){i=[6,l],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},u=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},c=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createButton=void 0;var f=n(579),p=n(5043),h=n(811),m=n(6428),v=n(5364),g=d(n(9195)),y=n(2227),b=n(3737),x=n(6155),w=n(9454),S=n(8815),k=n(4125),A=a(n(289));t.createButton=function(e){var t=this,n=(null!==e&&void 0!==e?e:{Icon:(0,m.id)((function(){return(0,f.jsx)(f.Fragment,{})}))}).Icon,o=(0,p.memo)((0,p.forwardRef)((function(e,o){var a=e.className,d=e.variant,h=void 0===d?"primary":d,m=e.disabled,x=void 0!==m&&m,w=e.children,S=e.startIcon,E=e.endIcon,C=e.autoFocus,P=void 0!==C&&C,_=e.tabIndex,O=e.name,j=e.htmlId,T=e["aria-label"],M=u(e,["className","variant","disabled","children","startIcon","endIcon","autoFocus","tabIndex","name","htmlId","aria-label"]),R=c((0,p.useState)(!1),2),L=R[0],I=R[1],D=(0,k.useCallbackFactory)(A.build((function(e){var n=c(e,1)[0];return l(t,void 0,void 0,(function(){return s(this,(function(e){switch(e.label){case 0:switch(n){case"in":return[3,1];case"out":return[3,2]}return[3,4];case 1:return I(!0),[2];case 2:return[4,new Promise((function(e){return setTimeout(e,400)}))];case 3:e.sent(),I(!1),e.label=4;case 4:return[2]}}))}))}))),F=i({variant:h,disabled:x,isMouseIn:L}),z=F.classes,N=F.cx,B=(0,v.useGuaranteedMemo)((function(){return function(e){return(0,f.jsx)(n,{iconId:e.iconId,className:z.icon,size:"default"})}}),[x,z.icon]);return(0,f.jsx)(g.default,r({onMouseEnter:D("in"),onMouseLeave:D("out"),ref:o,className:N(z.root,a),disabled:x,startIcon:void 0===S?void 0:(0,f.jsx)(B,{iconId:S}),endIcon:void 0===E?void 0:(0,f.jsx)(B,{iconId:E}),autoFocus:P,tabIndex:_,name:O,id:j,"aria-label":T},function(){if("type"in M){var e=M.type,t=u(M,["type"]);return(0,b.assert)(),r({type:e},t)}var n=M.onClick,o=M.href,i=M.doOpenNewTabIfHref,a=void 0===i?void 0!==o:i,l=u(M,["onClick","href","doOpenNewTabIfHref"]);return r({onClick:n,href:o,target:a?"_blank":void 0},l)}(),{children:"string"===typeof w?(0,y.capitalize)(w):w}))}))),i=(0,h.makeStyles)({name:{Button:o}})((function(e,t){var n=t.variant,o=t.disabled,i=t.isMouseIn,a=e.colors.useCases.typography[o?"textDisabled":function(){switch(n){case"primary":return"textFocus";case"secondary":case"ternary":return"textPrimary"}}()],l=function(){switch(e.isDarkModeEnabled){case!0:return e.colors.palette[function(){switch(n){case"primary":return"light";case"secondary":case"ternary":return"dark"}}()].main;case!1:return e.colors.palette.light.main}}();return{root:function(){var t=e.colors.useCases.buttons[function(){switch(n){case"primary":return"actionHoverPrimary";case"secondary":case"ternary":return"actionHoverSecondary"}}()],s=function(){switch(n){case"primary":case"secondary":return 2;case"ternary":return 0}}(),u=2*e.spacing(2)+2*s+(0,S.pxToNumber)(e.typography.variants[w.variantNameUsedForMuiButton].style.lineHeight);return r(r(r({textTransform:"unset",backgroundColor:o?e.colors.useCases.buttons.actionDisabledBackground:function(){switch(n){case"primary":case"secondary":return"transparent";case"ternary":return e.colors.useCases.surfaces.background}}(),borderRadius:u/2,borderWidth:s,borderStyle:"solid",borderColor:o?"transparent":t},e.spacing.topBottom("padding",2)),e.spacing.rightLeft("padding",e.windowInnerWidth>=x.breakpointsValues.xl?3:4)),{"&.MuiButton-text":{color:a},position:i?"relative":"unset","& .MuiTouchRipple-root":{display:i?"unset":"none"},"&:hover":{backgroundColor:t,"& .MuiSvgIcon-root":{color:l},"&.MuiButton-text":{color:l}}})}(),icon:{color:a}}}));return{Button:o}}},5620:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DarkModeSwitch=void 0;var o=n(579),i=n(5043),a=n(8826),l=n(5811),s=r(n(9307)),u=r(n(8094)),c=n(570),d=n(9054),f=n(811),p=(0,c.createIcon)({darkModeIcon:s.default,lightModeIcon:u.default}).Icon,h=(0,d.createIconButton)({Icon:p}).IconButton;t.DarkModeSwitch=(0,i.memo)((function(e){var t=e.className,n=e.size,r=(0,l.useIsDarkModeEnabled)(),i=r.isDarkModeEnabled,s=r.setIsDarkModeEnabled,u=(0,a.useConstCallback)((function(){s(!i)})),c=m(),d=c.classes,f=c.cx;return(0,o.jsx)(h,{className:f(d.root,t),onClick:u,size:n,iconId:i?"lightModeIcon":"darkModeIcon","aria-label":"Dark mode switch"})}));var m=(0,f.makeStyles)({name:{DarkModeIcon:s.default}})((function(e){return{root:{transition:"transform 500ms",transform:"rotate(".concat(e.isDarkModeEnabled?180:0,"deg)"),transitionTimingFunction:"cubic-bezier(.34,1.27,1,1)"}}}))},570:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createIcon=void 0;var a=n(579),l=n(5043),s=n(811),u=i(n(1027)),c=n(2719);t.createIcon=function(e){var t=(0,s.makeStyles)()((function(e,t){var n=t.size;return{root:{color:"inherit",verticalAlign:"top",fontSize:e.iconSizesInPxByName[n],width:"1em",height:"1em"}}}));return{Icon:(0,l.memo)((0,l.forwardRef)((function(n,i){var l=n.iconId,s=n.className,d=n.size,f=void 0===d?"default":d,p=n.onClick,h=o(n,["iconId","className","size","onClick"]);(0,c.assert)();var m=t({size:f}),v=m.classes,g=m.cx,y=e[l];return function(e){return"type"in e}(y)?(0,a.jsx)(y,r({ref:i,className:g(v.root,s),onClick:p},h)):(0,a.jsx)(u.default,r({ref:i,onClick:p,className:g(v.root,s),component:y},h))})))}}},9054:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t},l=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function l(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(l){i=[6,l],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},u=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},c=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createIconButton=void 0;var f=n(579),p=n(5043),h=n(4125),m=a(n(289)),v=n(811),g=n(5043),y=d(n(4938)),b=n(6428),x=n(2719);t.createIconButton=function(e){var t=this,n=(null!==e&&void 0!==e?e:{Icon:(0,b.id)((function(){return(0,f.jsx)(f.Fragment,{})}))}).Icon,o=(0,g.memo)((0,g.forwardRef)((function(e,o){var a=e.className,d=e.iconClassName,v=e.iconId,g=e.size,b=e.disabled,w=void 0!==b&&b,S=e.autoFocus,k=void 0!==S&&S,A=e.tabIndex,E=e.name,C=e.id,P=e["aria-label"],_=u(e,["className","iconClassName","iconId","size","disabled","autoFocus","tabIndex","name","id","aria-label"]),O=c((0,p.useState)(!1),2),j=O[0],T=O[1],M=(0,h.useCallbackFactory)(m.build((function(e){var n=c(e,1)[0];return l(t,void 0,void 0,(function(){return s(this,(function(e){switch(e.label){case 0:switch(n){case"in":return[3,1];case"out":return[3,2]}return[3,4];case 1:return T(!0),[2];case 2:return[4,new Promise((function(e){return setTimeout(e,400)}))];case 3:e.sent(),T(!1),e.label=4;case 4:return[2]}}))}))}))),R=i({disabled:w,isMouseIn:j}),L=R.classes,I=R.cx;return(0,f.jsx)(y.default,r({onMouseEnter:M("in"),onMouseLeave:M("out"),ref:o,className:I(L.root,a),disabled:w,"aria-label":null!==P&&void 0!==P?P:void 0,autoFocus:k,tabIndex:A,name:E,id:C},function(){if("onClick"in _){var e=_.onClick,t=_.href,n=u(_,["onClick","href"]);return(0,x.assert)(),r({onClick:e,href:t},n)}if("href"in _){t=_.href;var o=_.doOpenNewTabIfHref,i=void 0===o||o;n=u(_,["href","doOpenNewTabIfHref"]);return(0,x.assert)(),r({href:t,target:i?"_blank":void 0},n)}if("type"in _){var a=_.type;n=u(_,["type"]);return(0,x.assert)(),r({type:a},n)}}(),{children:(0,f.jsx)(n,{iconId:v,className:I(L.icon,d),size:g})}))}))),i=(0,v.makeStyles)({name:{IconButton:o}})((function(e,t){var n=t.disabled,r=t.isMouseIn;return{root:{padding:e.spacing(2),"&:hover":{backgroundColor:"unset","& svg":{color:e.colors.useCases.buttons.actionHoverPrimary}},position:r?"relative":"unset","& .MuiTouchRipple-root":{display:r?"unset":"none"}},icon:{color:e.colors.useCases.typography[n?"textDisabled":"textPrimary"]}}}));return{IconButton:o}}},5973:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createLanguageSelect=void 0;var a=n(579),l=n(5043),s=n(4125),u=n(8826),c=n(811),d=n(570),f=n(221),p=n(3440),h=n(4992),m=i(n(9195)),v=i(n(1428)),g=i(n(4645)),y=n(1450),b=i(n(3513)),x=i(n(1337)),w=(0,d.createIcon)({public:b.default,expandMore:x.default}).Icon,S="language-menu";t.createLanguageSelect=function(e){var t=e.languagesPrettyPrint,n=(0,l.memo)((function(e){var n=e.className,c=e.doShowIcon,d=void 0===c||c,b=e.variant,x=e.changeLanguageText,k=e.language,A=e.onLanguageChange,E=(0,p.useDomRect)(),C=E.ref,P=E.domRect.width,_=i({buttonWidth:P,variant:b}),O=_.classes,j=_.theme,T=_.cx,M=_.css,R=o((0,l.useState)(void 0),2),L=R[0],I=R[1],D=(0,u.useConstCallback)((function(e){return I(e.currentTarget)})),F=(0,u.useConstCallback)((function(){return I(void 0)})),z=(0,s.useCallbackFactory)((function(e){var t=o(e,1)[0];A(t),F()}));return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h.Tooltip,r({title:x,enterDelay:300},{children:(0,a.jsxs)(m.default,r({className:T(O.button,n),ref:C,"aria-owns":L?S:void 0,"aria-haspopup":"true","aria-label":null!==x&&void 0!==x?x:"change language",onClick:D,"data-ga-event-category":"header","data-ga-event-action":"language"},{children:[d&&(0,a.jsx)(w,{iconId:"public",className:O.icon,size:function(){switch(b){case"big":return"default";case"small":return"extra small"}}()}),(0,a.jsx)(f.Text,r({typo:function(){switch(b){case"big":return"label 1";case"small":return"body 2"}}(),className:M({marginLeft:j.spacing(2),textTransform:"capitalize"})},{children:t[k]})),"big"===b&&(0,a.jsx)(w,{className:O.icon,iconId:"expandMore"})]}))})),(0,a.jsx)(v.default,r({id:S,anchorEl:L,open:void 0!==L,className:O.menu,onClose:F},{children:(0,y.objectKeys)(t).sort((function(e,t){return e===k?-1:t===k?1:0})).map((function(e){return(0,a.jsx)(g.default,r({component:"a","data-no-link":"true",selected:k===e,onClick:z(e),lang:e},{children:t[e]}),e)}))}))]})})),i=(0,c.makeStyles)({name:{LanguageSelect:n}})((function(e,t){var n=t.buttonWidth,r=t.variant;return{button:{padding:function(){switch(r){case"big":return;case"small":return 0}}()},menu:{"& .Mui-selected":{backgroundColor:e.colors.useCases.surfaces.surface1},"& .MuiPaper-root":{backgroundColor:e.colors.useCases.surfaces.background,width:function(){switch(r){case"big":return n;case"small":return}}()},"& a":{color:e.colors.useCases.typography.textPrimary}},icon:{color:e.colors.useCases.typography.textPrimary}}}));return{LanguageSelect:n}}},8572:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.createText=void 0;var i=n(5043),a=n(2719),l=n(8938);t.createText=function(e){var t=e.useTheme,n=(0,l.createMakeStyles)({useTheme:t}).makeStyles,s=(0,i.memo)((0,i.forwardRef)((function(e,n){var l=e.className,s=e.children,c=e.typo,d=e.color,f=void 0===d?"primary":d,p=e.htmlComponent,h=e.componentProps,m=void 0===h?{}:h,v=e.fixedSize_enabled,g=void 0!==v&&v,y=e.fixedSize_content,b=e.fixedSize_fontWeight,x=o(e,["className","children","typo","color","htmlComponent","componentProps","fixedSize_enabled","fixedSize_content","fixedSize_fontWeight"]);(0,a.assert)();var w=t(),S=u({typo:c,color:f,fixedSize_enabled:g,fixedSize_content:y,fixedSize_fontWeight:b,children:"string"===typeof s?s:void 0}),k=S.classes,A=S.cx;return(0,i.createElement)(null!==p&&void 0!==p?p:w.typography.variants[c].htmlComponent,r(r({className:A(k.root,l),ref:n},m),x),s)}))),u=n({name:"Text"})((function(e,t){var n=t.typo,o=t.color,i=t.fixedSize_enabled,l=t.fixedSize_fontWeight,s=t.fixedSize_content,u=t.children;return{root:r(r(r({},e.typography.variants[n].style),{color:e.colors.useCases.typography[function(){switch(o){case"primary":return"textPrimary";case"secondary":return"textSecondary";case"disabled":return"textDisabled";case"focus":return"textFocus"}}()],padding:0,margin:0}),i?{display:"inline-flex",flexDirection:"column",alignItems:"center",justifyContent:"space-between","&::after":{content:s?'"'.concat(s,'"'):((0,a.assert)(void 0!==u),'"'.concat(u,'_"')),height:0,visibility:"hidden",overflow:"hidden",userSelect:"none",pointerEvents:"none",fontWeight:l,"@media speech":{display:"none"}}}:{})}}));return{Text:s}}},221:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Text=void 0;var r=n(811),o=n(8572);t.Text=(0,o.createText)({useTheme:function(){return(0,r.useStyles)().theme}}).Text},5283:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(8572),t)},4992:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Tooltip=void 0;var i=n(579),a=n(5043),l=o(n(7547)),s=n(811),u=n(221);t.Tooltip=(0,a.memo)((function(e){var t=e.title,n=e.children,o=e.enterDelay,a=c().classes;return void 0===t?n:(0,i.jsx)(l.default,r({title:(0,i.jsx)(u.Text,r({className:a.root,typo:"caption"},{children:t})),enterDelay:o},{children:n}))}));var c=(0,s.makeStyles)({name:{Tooltip:t.Tooltip}})((function(e){return{root:{color:e.colors.palette.light.light}}}))},7907:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.OnyxiaLogoSvg=void 0;var o=n(579),i=n(5043);t.OnyxiaLogoSvg=(0,i.memo)((function(e){var t=e.className;return(0,o.jsxs)("svg",r({className:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 445 293"},{children:[(0,o.jsxs)("g",{children:[(0,o.jsx)("path",{d:"M106.253 215.9L140.204 250.02C151.012 260.883 168.528 260.883 179.322 250.02L213.273 215.9L159.763 162.123L106.253 215.9Z"}),(0,o.jsx)("path",{d:"M232.743 215.9L266.693 250.02C277.502 260.883 295.018 260.883 305.812 250.02L339.762 215.9L286.253 162.123L232.743 215.9Z"})]}),(0,o.jsxs)("g",{children:[(0,o.jsx)("path",{d:"M43 152.331L76.9508 186.452C87.7594 197.314 105.275 197.314 116.069 186.452L150.02 152.331L96.5099 98.5537L43 152.331Z"}),(0,o.jsx)("path",{d:"M169.49 152.331L203.441 186.452C214.25 197.314 231.765 197.314 242.559 186.452L276.51 152.331L223 98.5537L169.49 152.331Z"}),(0,o.jsx)("path",{d:"M349.49 98.5537L295.98 152.331L329.931 186.452C340.74 197.314 358.256 197.314 369.049 186.452L403 152.331L349.49 98.5537Z"})]}),(0,o.jsxs)("g",{children:[(0,o.jsx)("path",{d:"M232.743 88.7774L266.693 122.898C277.502 133.761 295.018 133.761 305.812 122.898L339.762 88.7774L286.253 35L232.743 88.7774Z"}),(0,o.jsx)("path",{d:"M106.253 88.7774L140.204 122.898C151.012 133.761 168.528 133.761 179.322 122.898L213.273 88.7774L159.763 35L106.253 88.7774Z"})]})]}))}))},6520:function(e,t,n){"use strict";var r=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),l=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t},s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function l(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},u=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(l){i=[6,l],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},c=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createOnyxiaSplashScreenLogo=t.createSplashScreen=t.useSplashScreen=void 0;var f=n(579),p=n(5043),h=d(n(2995)),m=n(6090),v=n(1214),g=n(8826),y=n(8938),b=n(8493),x=n(6428),w=n(5364),S=l(n(289)),k=n(7907),A=n(3865),E=n(8698),C=n(52),P=700,_=1e3,O=function(){var e=b.Evt.create({count:1,isTransparencyEnabled:!1,prevTime:0,onHiddens:(0,x.id)([])}),t=function(){var t=function(){var e=(0,v.createUseGlobalState)({name:"lastDelayedTime",initialState:0,doPersistAcrossReloads:!0}).$lastDelayedTime,t=(0,C.statefulObservableToStatefulEvt)({statefulObservable:e});return{getDoUseDelay:function(){var e=Date.now()-t.state>3e4;return e&&(t.state=Date.now()),e}}}().getDoUseDelay,n=S.build((function(){return s(void 0,void 0,void 0,(function(){return u(this,(function(n){switch(n.label){case 0:return t()?[4,new Promise((function(e){return setTimeout(e,_)}))]:[3,2];case 1:n.sent(),n.label=2;case 2:return e.state=o(o({},e.state),{prevTime:Date.now()}),[2]}}))}))}));return{globalHideSplashScreen:function(){return s(this,void 0,void 0,(function(){return u(this,(function(t){return e.state.count=Math.max(e.state.count-1,0),S.isRunning(n)||n(),[2]}))}))}}}().globalHideSplashScreen;function n(){(0,m.useRerenderOnStateChange)(e);var t=(0,w.useGuaranteedMemo)((function(){return{isSplashScreenShown:e.state.count>0,isTransparencyEnabled:e.state.isTransparencyEnabled}}),[e.state]);return{isSplashScreenShown:t.isSplashScreenShown,isTransparencyEnabled:t.isTransparencyEnabled}}return{useSplashScreen:function(r){void 0!==(null===r||void 0===r?void 0:r.fadeOutDuration)&&(P=r.fadeOutDuration),void 0!==(null===r||void 0===r?void 0:r.minimumDisplayDuration)&&(_=r.minimumDisplayDuration);var o=(0,p.useContext)(R);(0,p.useEffect)((function(){var t=(null!==r&&void 0!==r?r:{}).onHidden;void 0!==t&&(o?e.state.onHiddens.push(t):t())}),[]);var i=function(){var n=this,r=(0,p.useRef)(0),o=(0,g.useConstCallback)((function(t){var n=t.enableTransparency;r.current++,function(t){e.state={count:e.state.count+1,isTransparencyEnabled:t.enableTransparency,prevTime:Date.now(),onHiddens:[]}}({enableTransparency:n})})),i=(0,g.useConstCallback)((function(){return s(n,void 0,void 0,(function(){return u(this,(function(e){switch(e.label){case 0:return 0===r.current?[2]:(r.current--,[4,t()]);case 1:return e.sent(),[2]}}))}))}));return{showSplashScreen:o,hideSplashScreen:i}}(),a=i.showSplashScreen,l=i.hideSplashScreen,c=n();return{isSplashScreenShown:c.isSplashScreenShown,isTransparencyEnabled:c.isTransparencyEnabled,hideRootSplashScreen:t,showSplashScreen:a,hideSplashScreen:l}},useSplashScreenStatus:function(){var t=this,r=n(),o=r.isSplashScreenShown,i=r.isTransparencyEnabled;return(0,p.useEffect)((function(){var n;if(!o){var r,i=null!==(n=[P-(Date.now()-e.state.prevTime)].filter((function(e){return e>0}))[0])&&void 0!==n?n:0;return s(t,void 0,void 0,(function(){return u(this,(function(t){switch(t.label){case 0:return[4,new Promise((function(e){return r=setTimeout(e,i)}))];case 1:return t.sent(),e.state.onHiddens.forEach((function(e){return e()})),e.state.onHiddens=[],[2]}}))})),function(){return clearTimeout(r)}}}),[o]),{isSplashScreenShown:o,isTransparencyEnabled:i}}}}(),j=O.useSplashScreen,T=O.useSplashScreenStatus;t.useSplashScreen=j;var M,R=(0,p.createContext)(!1);t.createSplashScreen=function(e){var t=e.useTheme;function n(e){var t=this,n=e.children,i=e.Logo;void 0!==(null===e||void 0===e?void 0:e.fadeOutDuration)&&(P=e.fadeOutDuration),void 0!==(null===e||void 0===e?void 0:e.minimumDisplayDuration)&&(_=e.minimumDisplayDuration);var a=T(),l=a.isSplashScreenShown,d=a.isTransparencyEnabled,h=(0,A.useConst)((function(){return document.body.style.overflow}));(0,p.useEffect)((function(){document.body.style.overflow=l?"hidden":h}),[l]);var m=c((0,p.useState)(!1),2),v=m[0],g=m[1],y=c((0,p.useState)(!0),2),b=y[0],x=y[1],w=void 0!==(0,E.useViewPortState)().viewPortState,S=r({isVisible:b,isFadingOut:v,isTransparencyEnabled:d,isViewPortAdapterEnabled:w}).classes;return(0,p.useEffect)((function(){var e=setTimeout((function(){}),0);return s(t,void 0,void 0,(function(){return u(this,(function(t){switch(t.label){case 0:return l?(g(!1),x(!0),[3,3]):[3,1];case 1:return g(!0),[4,new Promise((function(t){return e=setTimeout(t,P)}))];case 2:t.sent(),g(!1),x(!1),t.label=3;case 3:return[2]}}))})),function(){return clearTimeout(e)}}),[l]),(0,f.jsxs)(R.Provider,o({value:!0},{children:[(0,f.jsx)("div",o({className:S.root},{children:(0,f.jsx)(i,{})})),n]}))}var r=(0,(0,y.createMakeStyles)({useTheme:t}).makeStyles)({name:{SplashScreen:n}})((function(e,t){var n=t.isVisible,r=t.isFadingOut,o=t.isTransparencyEnabled;return{root:{width:"100%",height:t.isViewPortAdapterEnabled?"100%":"100vh",position:"fixed",top:0,left:0,zIndex:10,backgroundColor:function(){var t=new h.default(e.colors.useCases.surfaces.background).rgb();return t.alpha(o?.6:t.valpha).string()}(),backdropFilter:o?"blur(10px)":void 0,display:"flex",alignItems:"center",justifyContent:"center",visibility:n?"visible":"hidden",opacity:r?0:1,transition:"opacity ease-in-out ".concat(P,"ms")}}}));return{SplashScreen:n}},t.createOnyxiaSplashScreenLogo=function(e){var t=e.useTheme,n=(0,y.createMakeStyles)({useTheme:t}).makeStyles,o=(0,p.memo)((function(){var e=i().classes;return(0,f.jsx)(k.OnyxiaLogoSvg,{className:e.root})})),i=n({name:{OnyxiaSplashScreenLogo:o}})((function(e){return{root:{height:"20%",fill:e.colors.useCases.typography.textFocus,"& g":{opacity:0,animation:"".concat((0,y.keyframes)(M||(M=r(["\n 60%, 100% {\n opacity: 0;\n }\n 0% {\n opacity: 0;\n }\n 40% {\n opacity: 1;\n }\n "],["\n 60%, 100% {\n opacity: 0;\n }\n 0% {\n opacity: 0;\n }\n 40% {\n opacity: 1;\n }\n "])))," 3.5s infinite ease-in-out"),"&:nth-of-type(1)":{animationDelay:".4s"},"&:nth-of-type(2)":{animationDelay:".8s"},"&:nth-of-type(3)":{animationDelay:"1.2s"}}}}}));return{OnyxiaSplashScreenLogo:o}}},811:function(e,t,n){"use strict";var r,o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createThemeProvider=t.useStyles=t.makeStyles=t.useIsThemeProvided=t.ViewPortOutOfRangeError=t.useBrowserFontSizeFactor=t.useWindowInnerSize=t.useDomRect=void 0;var a=n(579);n(2437);var l=n(5043),s=i(n(4732)),u=i(n(9040)),c=n(4554),d=n(4554),f=n(227);Object.defineProperty(t,"useWindowInnerSize",{enumerable:!0,get:function(){return f.useWindowInnerSize}});var p=n(5348),h=n(9454),m=n(5348),v=n(9110),g=n(6857);Object.defineProperty(t,"useBrowserFontSizeFactor",{enumerable:!0,get:function(){return g.useBrowserFontSizeFactor}});var y=n(4466),b=n(8938),x=n(4586),w=n(6520),S=n(8698);Object.defineProperty(t,"ViewPortOutOfRangeError",{enumerable:!0,get:function(){return S.ViewPortOutOfRangeError}});var k=i(n(7831)),A=n(6428),E=n(6155),C=n(2227),P=n(5364),_=n(5986),O=n(3440);Object.defineProperty(t,"useDomRect",{enumerable:!0,get:function(){return O.useDomRect}});var j=(0,l.createContext)(void 0),T=(0,l.createContext)(void 0);t.useIsThemeProvided=function(){return void 0!==(0,l.useContext)(j)},t.makeStyles=(r=(0,b.createMakeStyles)({useTheme:function(){var e=(0,l.useContext)(j);if(void 0===e)throw new Error("Your app should be wrapped into ThemeProvider");return e}})).makeStyles,t.useStyles=r.useStyles,t.createThemeProvider=function(e){var t=e.palette,n=void 0===t?p.defaultPalette:t,r=e.createColorUseCases,i=void 0===r?p.createDefaultColorUseCases:r,b=e.getTypographyDesc,O=void 0===b?h.defaultGetTypographyDesc:b,M=e.isReactStrictModeEnabled,R=void 0!==M&&M,L=e.spacingConfig,I=void 0===L?y.defaultSpacingConfig:L,D=e.defaultIsDarkModeEnabled,F=e.getIconSizeInPx,z=void 0===F?x.defaultGetIconSizeInPx:F;void 0!==D&&(_.evtIsDarkModeEnabled.state=D);var N=function(){var e=(0,k.default)((function(e,t,r,a){var l=O({windowInnerWidth:t,windowInnerHeight:r,browserFontSizeFactor:a}),s=i({palette:n,isDarkModeEnabled:e}),u=function(e){return I({factorOrExplicitNumberOfPx:e,windowInnerWidth:t,rootFontSizePx:l.rootFontSizePx})};return(0,A.id)(o(o({colors:{palette:n,useCases:s},typography:(0,h.getComputedTypography)({typographyDesc:l}),isDarkModeEnabled:e,shadows:v.shadows},function(){var t=(R?d.unstable_createMuiStrictModeTheme:d.createTheme)({typography:(0,h.createMuiTypographyOptions)({typographyDesc:l}),palette:(0,m.createMuiPaletteOptions)({isDarkModeEnabled:e,palette:n,useCases:s}),spacing:u,breakpoints:{values:o({xs:0},E.breakpointsValues)},components:{MuiLink:{defaultProps:{underline:"hover"}}}});return{spacing:function(){var e=function(e){return"number"===typeof e?"".concat(u(e),"px"):e},t=function(t){if("number"===typeof t)return u(t);var n=t.rightLeft,r=t.topBottom;return[r,n,r,n].map(e).join(" ")},n=function(e){var t=e.axis,n=e.kind,r=e.value,o="number"===typeof r?"".concat(u(r),"px"):r;return Object.fromEntries(function(){switch(t){case"horizontal":return["left","right"];case"vertical":return["top","bottom"]}}().map((function(e){return["".concat(n).concat((0,C.capitalize)(e)),o]})))};return t.rightLeft=function(e,t){return n({axis:"horizontal",kind:e,value:t})},t.topBottom=function(e,t){return n({axis:"vertical",kind:e,value:t})},t}(),muiTheme:t}}()),{iconSizesInPxByName:(0,x.getIconSizesInPxByName)({getIconSizeInPx:z,windowInnerWidth:t,rootFontSizePx:l.rootFontSizePx}),windowInnerWidth:t}))}),{max:1});return{useTheme:function(){var t=(0,_.useIsDarkModeEnabled)().isDarkModeEnabled,n=(0,f.useWindowInnerSize)(),r=n.windowInnerWidth,o=n.windowInnerHeight,i=(0,g.useBrowserFontSizeFactor)().browserFontSizeFactor,a=(0,l.useContext)(T);return e(null!==a&&void 0!==a?a:t,r,o,i)}}}().useTheme,B=(0,w.createSplashScreen)({useTheme:N}).SplashScreen,H=function(){function e(e){var t=e.splashScreen,n=e.children,r=N(),i=r.colors.useCases.surfaces.background;(0,l.useEffect)((function(){var e;null===(e=document.querySelector("meta[name=theme-color]"))||void 0===e||e.remove(),document.head.insertAdjacentHTML("beforeend",'<meta name="theme-color" content="'.concat(i,'">'))}),[i]);var d=void 0!==(0,l.useContext)(T),f=(0,P.useGuaranteedMemo)((function(){return d?function(e){var t=e.children;return(0,a.jsx)(u.default,{children:t})}:function(e){var t=e.children;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.default,{}),t]})}}),[d]),p=(0,P.useGuaranteedMemo)((function(){return void 0===t?function(e){var t=e.children;return(0,a.jsx)(a.Fragment,{children:t})}:function(e){var n=e.children;return(0,a.jsx)(B,o({},t,{children:n}))}}),[t]);return(0,a.jsx)(j.Provider,o({value:r},{children:(0,a.jsx)(c.ThemeProvider,o({theme:r.muiTheme},{children:(0,a.jsx)(f,{children:(0,a.jsx)(p,{children:n})})}))}))}return{ThemeProvider:function(t){var n=t.getViewPortConfig,r=t.children,i=t.splashScreen,l=(0,P.useGuaranteedMemo)((function(){return void 0===n?function(e){var t=e.children;return(0,a.jsx)(a.Fragment,{children:t})}:function(e){var t=e.children;return(0,a.jsx)(S.ViewPortAdapter,o({getConfig:n},{children:t}))}}),[n]);return(0,a.jsx)(l,{children:(0,a.jsx)(e,o({splashScreen:i},{children:r}))})}}}().ThemeProvider;return{ThemeProvider:H,useTheme:N,StoryProvider:function(e){var t=e.dark,n=void 0!==t&&t,r=e.children;return(0,l.useEffect)((function(){_.evtIsDarkModeEnabled.state=n}),[n]),(0,a.jsx)(T.Provider,o({value:n},{children:(0,a.jsx)(H,{children:r})}))}}}},6155:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.breakpointsValues=t.getIsPortraitOrientation=void 0;var r=n(8698);Object.defineProperty(t,"getIsPortraitOrientation",{enumerable:!0,get:function(){return r.getIsPortraitOrientation}}),t.breakpointsValues={sm:600,md:960,lg:1280,xl:1920}},5348:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.getIsDarkModeEnabledOsDefault=t.createMuiPaletteOptions=t.createDefaultColorUseCases=t.ultravioletPalette=t.francePalette=t.defaultPalette=void 0;var a=n(1455);i(n(1455),t),t.defaultPalette={focus:{main:"#FF562C",light:"#FF562C",light2:"#FFAD99"},dark:{main:"#2C323F",light:"#373E4F",greyVariant1:"#242C39",greyVariant2:"#5A6270",greyVariant3:"#8A9099",greyVariant4:"#B8BABF"},light:{main:"#F1F0EB",light:"#FDFDFC",greyVariant1:"#E6E6E6",greyVariant2:"#C9C9C9",greyVariant3:"#9E9E9E",greyVariant4:"#747474"},redError:{main:"#CC0B0B",light:"#FEECEB"},greenSuccess:{main:"#29CC2F",light:"#EEFAEE"},orangeWarning:{main:"#FF8800",light:"#FFF5E5"},blueInfo:{main:"#2196F3",light:"#E9F5FE"}},t.francePalette=r(r({},t.defaultPalette),{focus:{main:"#000091",light:"#9A9AFF",light2:"#E5E5F4"},dark:{main:"#2A2A2A",light:"#383838",greyVariant1:"#161616",greyVariant2:"#9C9C9C",greyVariant3:"#CECECE",greyVariant4:"#E5E5E5"},light:{main:"#F1F0EB",light:"#FDFDFC",greyVariant1:"#E6E6E6",greyVariant2:"#C9C9C9",greyVariant3:"#9E9E9E",greyVariant4:"#747474"}}),t.ultravioletPalette=r(r({},t.defaultPalette),{focus:{main:"#067A76",light:"#0AD6CF",light2:"#AEE4E3"},dark:{main:"#2D1C3A",light:"#4A3957",greyVariant1:"#22122E",greyVariant2:"#493E51",greyVariant3:"#918A98",greyVariant4:"#C0B8C6"},light:{main:"#F7F5F4",light:"#FDFDFC",greyVariant1:"#E6E6E6",greyVariant2:"#C9C9C9",greyVariant3:"#9E9E9E",greyVariant4:"#747474"}}),t.createDefaultColorUseCases=function(e){var t=e.isDarkModeEnabled,n=e.palette;return{typography:{textPrimary:n[t?"light":"dark"].main,textSecondary:n[t?"dark":"light"].greyVariant4,textTertiary:n[t?"dark":"light"].greyVariant2,textDisabled:n[t?"dark":"light"].greyVariant2,textFocus:n.focus[t?"light":"main"]},buttons:{actionHoverPrimary:n.focus[t?"light":"main"],actionHoverSecondary:t?n.light.light:n.dark.main,actionHoverTernary:n.light.main,actionSelected:t?n.dark.light:n.light.greyVariant1,actionActive:n.focus[t?"light":"main"],actionDisabled:n[t?"dark":"light"].greyVariant3,actionDisabledBackground:n[t?"dark":"light"].greyVariant1},surfaces:{background:n[t?"dark":"light"].main,surface1:n[t?"dark":"light"].light,surface2:n[t?"dark":"light"].greyVariant1},alertSeverity:{error:{main:n.redError.main,background:t?(0,a.changeColorOpacity)({color:n.redError.main,opacity:.2}):n.redError.light},success:{main:n.greenSuccess.main,background:t?(0,a.changeColorOpacity)({color:n.greenSuccess.main,opacity:.2}):n.greenSuccess.light},warning:{main:n.orangeWarning.main,background:t?(0,a.changeColorOpacity)({color:n.orangeWarning.main,opacity:.2}):n.orangeWarning.light},info:{main:n.blueInfo.main,background:t?(0,a.changeColorOpacity)({color:n.blueInfo.main,opacity:.2}):n.blueInfo.light}}}},t.createMuiPaletteOptions=function(e){var t=e.isDarkModeEnabled,n=e.palette,r=e.useCases;return{mode:t?"dark":"light",primary:{main:n.focus[t?"light":"main"],light:n.focus.light2},secondary:{main:r.typography.textPrimary,light:r.typography.textSecondary},error:{light:r.alertSeverity.error.background,main:r.alertSeverity.error.main,contrastText:r.typography.textPrimary},success:{light:r.alertSeverity.success.background,main:r.alertSeverity.success.main,contrastText:r.typography.textPrimary},info:{light:r.alertSeverity.info.background,main:r.alertSeverity.info.main,contrastText:r.typography.textPrimary},warning:{light:r.alertSeverity.warning.background,main:r.alertSeverity.warning.main,contrastText:r.typography.textPrimary},text:{primary:r.typography.textPrimary,secondary:r.typography.textSecondary,disabled:r.typography.textDisabled},divider:r.buttons.actionDisabledBackground,background:{paper:r.surfaces.surface1,default:r.surfaces.background},action:{active:r.buttons.actionActive,hover:n.focus.light,selected:r.buttons.actionSelected,disabled:r.buttons.actionDisabled,disabledBackground:r.buttons.actionDisabledBackground,focus:r.typography.textFocus}}},t.getIsDarkModeEnabledOsDefault=function(){return window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}},4586:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIconSizesInPxByName=t.defaultGetIconSizeInPx=t.iconSizeNames=void 0;var r=n(6155);t.iconSizeNames=["extra small","small","default","medium","large"];t.defaultGetIconSizeInPx=function(e){var t=e.sizeName,n=e.windowInnerWidth;return e.rootFontSizePx*function(){switch(t){case"extra small":return 1;case"small":return n>=r.breakpointsValues.lg?1.25:1;case"default":return n>=r.breakpointsValues.lg?1.5:1.25;case"medium":return n>=r.breakpointsValues.lg?2:1.25;case"large":return n>=r.breakpointsValues.xl?2.5:n>=r.breakpointsValues.lg?2:1.5}}()},t.getIconSizesInPxByName=function(e){var n=e.getIconSizeInPx,r=e.windowInnerWidth,o=e.rootFontSizePx,i={};return t.iconSizeNames.forEach((function(e){return i[e]=n({windowInnerWidth:r,rootFontSizePx:o,sizeName:e})})),i}},5811:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.pxToNumber=t.ViewPortOutOfRangeError=t.useBrowserFontSizeFactor=t.useWindowInnerSize=t.useDomRect=t.createThemeProvider=t.useSplashScreen=t.defaultGetIconSizeInPx=t.defaultSpacingConfig=t.getIsPortraitOrientation=t.breakpointsValues=t.chromeFontSizesFactors=t.defaultGetTypographyDesc=t.evtIsDarkModeEnabled=t.useIsDarkModeEnabled=t.getIsDarkModeEnabledOsDefault=t.changeColorOpacity=t.createDefaultColorUseCases=t.ultravioletPalette=t.francePalette=t.defaultPalette=void 0;var i=n(5348);Object.defineProperty(t,"defaultPalette",{enumerable:!0,get:function(){return i.defaultPalette}}),Object.defineProperty(t,"francePalette",{enumerable:!0,get:function(){return i.francePalette}}),Object.defineProperty(t,"ultravioletPalette",{enumerable:!0,get:function(){return i.ultravioletPalette}}),Object.defineProperty(t,"createDefaultColorUseCases",{enumerable:!0,get:function(){return i.createDefaultColorUseCases}}),Object.defineProperty(t,"changeColorOpacity",{enumerable:!0,get:function(){return i.changeColorOpacity}}),Object.defineProperty(t,"getIsDarkModeEnabledOsDefault",{enumerable:!0,get:function(){return i.getIsDarkModeEnabledOsDefault}});var a=n(5986);Object.defineProperty(t,"useIsDarkModeEnabled",{enumerable:!0,get:function(){return a.useIsDarkModeEnabled}}),Object.defineProperty(t,"evtIsDarkModeEnabled",{enumerable:!0,get:function(){return a.evtIsDarkModeEnabled}});var l=n(9454);Object.defineProperty(t,"defaultGetTypographyDesc",{enumerable:!0,get:function(){return l.defaultGetTypographyDesc}}),Object.defineProperty(t,"chromeFontSizesFactors",{enumerable:!0,get:function(){return l.chromeFontSizesFactors}}),o(n(6155),t);var s=n(6155);Object.defineProperty(t,"breakpointsValues",{enumerable:!0,get:function(){return s.breakpointsValues}}),Object.defineProperty(t,"getIsPortraitOrientation",{enumerable:!0,get:function(){return s.getIsPortraitOrientation}});var u=n(4466);Object.defineProperty(t,"defaultSpacingConfig",{enumerable:!0,get:function(){return u.defaultSpacingConfig}});var c=n(4586);Object.defineProperty(t,"defaultGetIconSizeInPx",{enumerable:!0,get:function(){return c.defaultGetIconSizeInPx}});var d=n(6520);Object.defineProperty(t,"useSplashScreen",{enumerable:!0,get:function(){return d.useSplashScreen}});var f=n(811);Object.defineProperty(t,"createThemeProvider",{enumerable:!0,get:function(){return f.createThemeProvider}}),Object.defineProperty(t,"useDomRect",{enumerable:!0,get:function(){return f.useDomRect}}),Object.defineProperty(t,"useWindowInnerSize",{enumerable:!0,get:function(){return f.useWindowInnerSize}}),Object.defineProperty(t,"useBrowserFontSizeFactor",{enumerable:!0,get:function(){return f.useBrowserFontSizeFactor}}),Object.defineProperty(t,"ViewPortOutOfRangeError",{enumerable:!0,get:function(){return f.ViewPortOutOfRangeError}});var p=n(8815);Object.defineProperty(t,"pxToNumber",{enumerable:!0,get:function(){return p.pxToNumber}})},9110:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shadows=void 0,t.shadows=["none","0px 6px 10px 0px rgba(0,0,0,0.07)","0px 4px 4px 0px rgba(0,0,0,0.1)","6px 0px 16px 0px rgba(0,0,0,0.15)","4px 0px 10px 0px rgba(0,0,0,0.07)","-4px 0px 10px 0px rgba(0,0,0,0.07)","0px 6px 10px 0px rgba(0,0,0,0.14)","0px 8px 10px -7px rgba(0,0,0,0.07)"]},4466:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultSpacingConfig=void 0;var r=n(6155),o=n(2719);t.defaultSpacingConfig=function(e){var t=e.factorOrExplicitNumberOfPx,n=e.windowInnerWidth,i=e.rootFontSizePx;if("string"===typeof t){var a=t.match(/^([+-]?([0-9]*[.])?[0-9]+)px$/);return(0,o.assert)(null!==a,"".concat(t," don't match \\d+px")),Number.parseFloat(a[1])}return i*function e(t){if((0,o.assert)(t>=0,"factor must be positive"),!Number.isInteger(t))return(e(Math.floor(t))+e(Math.floor(t)+1))/2;if(0===t)return 0;if(t>6)return(t-5)*e(6);if(n>=r.breakpointsValues.xl)switch(t){case 1:return.25;case 2:return.5;case 3:return 1;case 4:return 1.5;case 5:return 2;case 6:return 2.5}if(n>=r.breakpointsValues.lg)switch(t){case 1:return.25;case 2:return.5;case 3:case 4:return 1;case 5:return 1.5;case 6:return 2}switch(t){case 1:case 2:return.25;case 3:return.5;case 4:case 5:return 1;case 6:return 1.5}(0,o.assert)(!1)}(t)}},9454:function(e,t,n){"use strict";var r,o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getComputedTypography=t.createMuiTypographyOptions=t.variantNameUsedForMuiButton=t.defaultGetTypographyDesc=t.chromeFontSizesFactors=void 0;var i=n(6428),a=n(6155),l=n(1450),s=n(8698);Object.defineProperty(t,"chromeFontSizesFactors",{enumerable:!0,get:function(){return s.chromeFontSizesFactors}});t.defaultGetTypographyDesc=function(e){var t=e.windowInnerWidth;return{fontFamily:"sans-serif",rootFontSizePx:16*e.browserFontSizeFactor,variants:{"display heading":o({htmlComponent:"h1",fontWeight:(0,i.id)("bold")},t>=a.breakpointsValues.xl?{fontSizeRem:2.8,lineHeightRem:3.25}:t>=a.breakpointsValues.lg?{fontSizeRem:2.25,lineHeightRem:2.5}:{fontSizeRem:1.75,lineHeightRem:2.5}),"page heading":o({htmlComponent:"h2",fontWeight:(0,i.id)("bold")},t>=a.breakpointsValues.xl?{fontSizeRem:2.25,lineHeightRem:2.5}:t>=a.breakpointsValues.lg?{fontSizeRem:1.75,lineHeightRem:2.25}:{fontSizeRem:1.125,lineHeightRem:1.25}),subtitle:o({htmlComponent:"h3",fontWeight:(0,i.id)("normal")},t>=a.breakpointsValues.xl?{fontSizeRem:1.75,lineHeightRem:2.25}:t>=a.breakpointsValues.lg?{fontSizeRem:1.5,lineHeightRem:2}:{fontSizeRem:1,lineHeightRem:1.475}),"section heading":o({htmlComponent:"h4",fontWeight:(0,i.id)("bold")},t>=a.breakpointsValues.xl?{fontSizeRem:1.5,lineHeightRem:2}:t>=a.breakpointsValues.lg?{fontSizeRem:1.25,lineHeightRem:1.7}:{fontSizeRem:.875,lineHeightRem:1.28}),"object heading":o({htmlComponent:"h5",fontWeight:(0,i.id)(600)},t>=a.breakpointsValues.xl?{fontSizeRem:1.25,lineHeightRem:1.7}:t>=a.breakpointsValues.lg?{fontSizeRem:1.125,lineHeightRem:1.25}:{fontSizeRem:.875,lineHeightRem:1.28}),"navigation label":o({htmlComponent:"h5",fontWeight:(0,i.id)(500)},t>=a.breakpointsValues.xl?{fontSizeRem:1.25,lineHeightRem:1.7}:t>=a.breakpointsValues.lg?{fontSizeRem:1.125,lineHeightRem:1.25}:{fontSizeRem:.875,lineHeightRem:1.28}),"label 1":o({htmlComponent:"h6",fontWeight:(0,i.id)(500)},t>=a.breakpointsValues.xl?{fontSizeRem:1,lineHeightRem:1.475}:t>=a.breakpointsValues.lg?{fontSizeRem:.875,lineHeightRem:1.28}:{fontSizeRem:.75,lineHeightRem:1}),"label 2":o({htmlComponent:"h6",fontWeight:(0,i.id)(500)},t>=a.breakpointsValues.xl?{fontSizeRem:.875,lineHeightRem:1.28}:t>=a.breakpointsValues.lg?{fontSizeRem:.75,lineHeightRem:1}:{fontSizeRem:.625,lineHeightRem:.69}),"body 1":o({htmlComponent:"p",fontWeight:(0,i.id)("normal")},t>=a.breakpointsValues.xl?{fontSizeRem:1,lineHeightRem:1.475}:t>=a.breakpointsValues.lg?{fontSizeRem:.875,lineHeightRem:1.28}:{fontSizeRem:.75,lineHeightRem:1}),"body 2":o({htmlComponent:"p",fontWeight:(0,i.id)("normal")},t>=a.breakpointsValues.xl?{fontSizeRem:.875,lineHeightRem:1.28}:t>=a.breakpointsValues.lg?{fontSizeRem:.75,lineHeightRem:1}:{fontSizeRem:.625,lineHeightRem:.69}),"body 3":o({htmlComponent:"p",fontWeight:"normal"},t>=a.breakpointsValues.xl?{fontSizeRem:.875,lineHeightRem:1.28}:t>=a.breakpointsValues.lg?{fontSizeRem:.75,lineHeightRem:1}:{fontSizeRem:.625,lineHeightRem:.69}),caption:o({htmlComponent:"p",fontWeight:(0,i.id)("normal")},t>=a.breakpointsValues.xl?{fontSizeRem:.75,lineHeightRem:1}:t>=a.breakpointsValues.lg?{fontSizeRem:.625,lineHeightRem:.69}:{fontSizeRem:.45,lineHeightRem:.75})}}},t.variantNameUsedForMuiButton="label 1",t.createMuiTypographyOptions=(r=function(){function e(e){var t=e.typographyDesc,n=t.fontFamily,r=t.rootFontSizePx,o=t.variants;return{getTypographyVariantStyle:function(e){var t=e.variantName,i=o[t],a=i.fontSizeRem,l=i.lineHeightRem,s=i.fontWeight,u=i.fontFamily;return{fontFamily:null!==u&&void 0!==u?u:n,fontWeight:s,fontSize:"".concat(a*r,"px"),lineHeight:"".concat(l*r,"px")}}}}return{createMuiTypographyOptions:function(n){var r=n.typographyDesc,o=e({typographyDesc:r}).getTypographyVariantStyle;return{fontFamily:r.fontFamily,fontWeightRegular:"normal",fontWeightMedium:500,h1:o({variantName:"display heading"}),h2:o({variantName:"page heading"}),h3:o({variantName:"subtitle"}),h4:o({variantName:"section heading"}),h5:o({variantName:"object heading"}),h6:o({variantName:"navigation label"}),subtitle1:o({variantName:"label 1"}),subtitle2:o({variantName:"body 2"}),body1:o({variantName:"body 1"}),body2:o({variantName:"body 2"}),caption:o({variantName:"caption"}),button:o({variantName:t.variantNameUsedForMuiButton})}},getComputedTypography:function(t){var n=t.typographyDesc,r=e({typographyDesc:n}).getTypographyVariantStyle,o={rootFontSizePx:n.rootFontSizePx,fontFamily:n.fontFamily,variants:{}};return(0,l.objectKeys)(n.variants).forEach((function(e){return o.variants[e]={style:r({variantName:e}),htmlComponent:n.variants[e].htmlComponent}})),o}}}()).createMuiTypographyOptions,t.getComputedTypography=r.getComputedTypography},5986:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.evtIsDarkModeEnabled=t.useIsDarkModeEnabled=void 0;var r=n(1214),o=n(2260),i=n(52),a=(0,r.createUseGlobalState)({name:"isDarkModeEnabled",initialState:window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,doPersistAcrossReloads:!0}),l=a.useIsDarkModeEnabled,s=a.$isDarkModeEnabled;t.useIsDarkModeEnabled=l,t.evtIsDarkModeEnabled=(0,i.statefulObservableToStatefulEvt)({statefulObservable:s}),function(){var e=(0,o.retrieveParamFromUrl)({url:window.location.href,name:"theme"});if(e.wasPresent){(0,o.updateSearchBarUrl)(e.newUrl);var n=function(){switch(e.value){case"dark":return!0;case"light":return!1;default:return}}();void 0!==n&&(t.evtIsDarkModeEnabled.state=n)}}(),t.evtIsDarkModeEnabled.attach((function(e){var t="root-color-scheme",n=document.getElementById(t);null!==n&&n.remove();var r=document.createElement("style");r.id=t,r.innerHTML="\n\t\t\t\t:root {\n\t\t\t\t\tcolor-scheme: ".concat(e?"dark":"light","\n\t\t\t\t}\n\t\t"),document.getElementsByTagName("head")[0].appendChild(r)}))},1455:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.changeColorOpacity=void 0;var o=r(n(2995));t.changeColorOpacity=function(e){var t=e.color,n=e.opacity;return new o.default(t).rgb().alpha(n).string()}},8815:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pxToNumber=void 0,t.pxToNumber=function(e){return Number.parseFloat(e.split("px")[0])}},6909:e=>{"use strict";var t;e.exports=function(e){var n,r="&"+e+";";if((t=t||document.createElement("i")).innerHTML=r,59===(n=t.textContent).charCodeAt(n.length-1)&&"semi"!==e)return!1;return n!==r&&n}},8698:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ViewPortAdapter=t.chromeFontSizesFactors=t.getIsPortraitOrientation=t.useViewPortState=t.ViewPortOutOfRangeError=void 0;var i=n(579),a=n(5043),l=n(5364),s=n(7511),u=n(1949),c=n(5043),d=function(e){function t(t){var n=this.constructor,r=e.call(this)||this;return r.fallbackNode=t,Object.setPrototypeOf(r,n.prototype),r}return r(t,e),t}(Error);t.ViewPortOutOfRangeError=d;var f=function(){var e=c.createContext,t=e.__powerhooks_ViewPortAdapter_context;return void 0===t&&(t={reactContext:(0,c.createContext)(void 0)},Object.defineProperty(e,"__powerhooks_ViewPortAdapter_context",{configurable:!1,enumerable:!1,writable:!1,value:t})),t}().reactContext;t.useViewPortState=function(){return{viewPortState:(0,c.useContext)(f)}},t.getIsPortraitOrientation=function(e){return 1.3*e.windowInnerWidth<e.windowInnerHeight},t.chromeFontSizesFactors={"Very small":.5625,Small:.75,"Medium (Recommended)":1,Large:1.25,"Very Large":1.5},t.ViewPortAdapter=function e(t){var n=t.getConfig,r=t.children,p=(0,s.useWindowInnerSize)(),h=p.windowInnerWidth,m=p.windowInnerHeight,v=(0,u.useBrowserFontSizeFactor)().browserFontSizeFactor,g=function(){var e=(0,a.useRef)();return(0,l.useGuaranteedMemo)((function(){if(void 0===e.current||0===window.scrollY&&0===window.scrollX){var t;try{t=n({windowInnerWidth:h,windowInnerHeight:m,browserFontSizeFactor:v})}catch(l){if(!(l instanceof d))throw l;var r=l.fallbackNode;return void(e.current={isOutOfRange:!0,fallbackNode:r})}var i=h/t.targetWindowInnerWidth,a=o(o({},t),{zoomFactor:i,targetWindowInnerHeight:m/i});e.current={isOutOfRange:!1,viewPortState:a}}}),[n,h,m,v]),{getConfigResult:e.current}}().getConfigResult;if((0,c.useEffect)((function(){if(!g.isOutOfRange){var e=g.viewPortState,t=document.querySelector("html"),n=100*parseInt(window.getComputedStyle(t,null).getPropertyValue("font-size").replace(/px$/,""))/(16*v);t.style.fontSize="".concat(n/100*16*e.targetBrowserFontSizeFactor,"px")}}),[v,g.isOutOfRange?Object:g.viewPortState.targetBrowserFontSizeFactor]),g.isOutOfRange){var y=g.fallbackNode;return(0,i.jsx)(i.Fragment,{children:y})}var b=g.viewPortState;return(0,i.jsx)("div",o({about:"powerhooks ".concat(e.name," outer wrapper"),style:{height:"100vh",overflow:"hidden"}},{children:(0,i.jsx)("div",o({about:"powerhooks ".concat(e.name," inner wrapper"),style:{transform:"scale(".concat(b.zoomFactor,")"),transformOrigin:"0 0",width:b.targetWindowInnerWidth,height:b.targetWindowInnerHeight,overflow:"hidden"}},{children:(0,i.jsx)(f.Provider,o({value:b},{children:r}))}))}))}},1510:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollableParent=void 0;var r=n(2719);t.getScrollableParent=function e(t){var n=t.element,o=t.doReturnElementIfScrollable;if(n===document.documentElement){var i={addEventListener:function(e,t){return window.addEventListener(e,t)},removeEventListener:function(e,t){return window.removeEventListener(e,t)},getBoundingClientRect:function(){return document.documentElement.getBoundingClientRect()},scrollTop:NaN,clientHeight:NaN,scrollHeight:NaN,scrollTo:window.scrollTo.bind(window),style:document.body.style,isWindow:!0};return Object.defineProperties(i,{scrollTop:{get:function(){return window.scrollY}},clientHeight:{get:function(){return document.documentElement.clientHeight}},scrollHeight:{get:function(){return document.documentElement.scrollHeight}}}),i}if(o&&function(e){return["auto","scroll"].includes(getComputedStyle(e).overflow)}(n))return n;var a=n.parentElement;return(0,r.assert)(null!==a),e({element:a,doReturnElementIfScrollable:!0})}},6411:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(3260),t),o(n(4125),t),o(n(4998),t),o(n(8826),t),o(n(3440),t),o(n(1214),t),o(n(5364),t),o(n(9850),t),o(n(7802),t),o(n(227),t),o(n(2956),t),o(n(417),t),o(n(8463),t),o(n(7176),t),o(n(8698),t),o(n(6857),t),o(n(3865),t),o(n(4364),t),o(n(7786),t)},5001:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResizeObserverPolyfill=void 0,t.ResizeObserverPolyfill=n(5820).default,t.default=t.ResizeObserverPolyfill},7132:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createStatefulObservable=void 0,t.createStatefulObservable=function(e){var t=[],n=function(){var n=void 0;return{get:function(){return void 0===n&&(n=[e()]),n[0]},set:function(e){n=[e],t.forEach((function(t){return t(e)}))}}}(),r=n.get,o=n.set;return Object.defineProperty({current:null,subscribe:function(e){return t.push(e),{unsubscribe:function(){return t.splice(t.indexOf(e),1)}}}},"current",{enumerable:!0,get:r,set:o})}},1882:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(3064),t),o(n(7277),t)},3064:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useObservable=void 0;var r=n(5043);t.useObservable=function(e,t){(0,r.useEffect)((function(){var t=[];return e({registerSubscription:function(e){return t.push(e)}}),function(){t.forEach((function(e){return e.unsubscribe()})),t.length=0}}),t)}},7277:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.useRerenderOnChange=void 0;var o=n(3064),i=n(5043);t.useRerenderOnChange=function(e){var t=r((0,i.useState)((function(){return e.current})),2)[1];(0,o.useObservable)((function(n){(0,n.registerSubscription)(e.subscribe((function(e){return t((function(){return e}))})))}),[e])}},4069:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(7132),t),o(n(1882),t)},52:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statefulObservableToStatefulEvt=void 0;var r=n(8493);t.statefulObservableToStatefulEvt=function(e){var t=e.statefulObservable,n=e.ctx,o=void 0===n?r.Evt.newCtx():n,i=r.Evt.create(t.current),a=!1;i.attach(o,(function(e){a=!0,t.current=e,a=!1}));var l=t.subscribe((function(e){a||(i.state=e)})).unsubscribe;return o.evtDoneOrAborted.attach((function(){return l()})),i}},9017:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=void 0,t.capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},3495:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.memoize0=void 0,t.memoize0=function(e){var t=void 0;return function(){return void 0===t&&(t=[e()]),t[0]}}},2870:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pick=void 0,t.pick=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n}},2260:function(e,t){"use strict";var n=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};function r(e){var t=e.url,r=e.prefix,o=e.doLeavePrefixInResults,i=n(t.split("?"),2),a=i[0],l=i[1],s=void 0===l?"":l,u={},c=function(){var e=s.replace(/^\?/,"").split("&").map((function(e){return e.split("=")})).filter((function(e){var t=n(e,2),i=t[0],a=t[1];return!i.startsWith(r)||(u[o?i:i.substring(r.length)]=decodeURI(a),!1)})).map((function(e){return e.join("=")})).join("&");return{newLocationSearch:e=""===e?"":"?".concat(e)}}().newLocationSearch;return{newUrl:"".concat(a).concat(c),values:u}}function o(e){var t=e.url,n=e.name,o=r({url:t,prefix:n,doLeavePrefixInResults:!0}),i=o.newUrl,a=o.values;return n in a?{wasPresent:!0,newUrl:i,value:a[n]}:{wasPresent:!1}}Object.defineProperty(t,"__esModule",{value:!0}),t.updateSearchBarUrl=t.retrieveParamFromUrl=t.retrieveAllParamStartingWithPrefixFromUrl=t.addParamToUrl=void 0,t.addParamToUrl=function(e){var t=e.url,n=e.name,r=e.value,i=t,a=o({url:t,name:n});return a.wasPresent&&(i=a.newUrl),{newUrl:i+="".concat(i.includes("?")?"&":i.endsWith("?")?"":"?").concat(n,"=").concat(encodeURI(r))}},t.retrieveAllParamStartingWithPrefixFromUrl=r,t.retrieveParamFromUrl=o,t.updateSearchBarUrl=function(e){window.history.replaceState("","",e)}},1949:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useBrowserFontSizeFactor=t.getBrowserFontSizeFactor=void 0;var i=n(6090),a=n(5043),l=n(8493),s=o(n(7831));t.getBrowserFontSizeFactor=(0,s.default)((function(){var e=document.querySelector("html"),t=e.style.fontSize;e.style.fontSize="100%";var n=parseInt(window.getComputedStyle(e,null).getPropertyValue("font-size").replace(/px$/,""))/16;return e.style.fontSize=t,n})),t.useBrowserFontSizeFactor=function(){var e=r((0,a.useState)((function(){return t.getBrowserFontSizeFactor.clear(),(0,t.getBrowserFontSizeFactor)()})),2),n=e[0],o=e[1];return(0,i.useEvt)((function(e){return l.Evt.from(e,window,"focus").attach((function(){t.getBrowserFontSizeFactor.clear(),o((0,t.getBrowserFontSizeFactor)())}))}),[]),{browserFontSizeFactor:n}}},7460:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function l(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(l){i=[6,l],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},i=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useDomRect=t.domRectKeys=void 0;var l=n(5043),s=n(8493),u=a(n(5001)),c=a(n(7831)),d=n(8826),f=n(6090),p=n(7786);t.domRectKeys=["bottom","right","top","left","height","width"],t.useDomRect=function(e){var t,n=function(){var e=i((0,l.useState)((function(){return(0,c.default)((function(e,t,n,r,o,i){return{bottom:e,right:t,top:n,left:r,height:o,width:i}}),{max:1})})),1)[0],t=i((0,l.useState)((function(){return e(0,0,0,0,0,0)})),2),n=t[0],r=t[1],o=(0,d.useConstCallback)((function(t){var n=t.getBoundingClientRect(),o=n.bottom,i=n.right,a=n.top,l=n.left,s=n.height,u=n.width;r(e(o,i,a,l,s,u))}));return{domRect:n,updateDomRect:o}}(),a=n.domRect,h=n.updateDomRect,m=i((0,l.useState)((function(){return s.Evt.create()})),1)[0],v=(0,d.useConstCallback)((function(){return m.post()})),g=(0,p.useStateRef)(null),y=null!==(t=null===e||void 0===e?void 0:e.ref)&&void 0!==t?t:g;return(0,f.useEvt)((function(e){var t=y.current;null!==t&&(e.evtDoneOrAborted.setMaxHandlers(1/0),s.Evt.merge([s.Evt.from(e,u.default,t),m.pipe(e)]).toStateful().attach((function(){return function n(i){return r(this,void 0,void 0,(function(){var r,a,l;return o(this,(function(o){switch(o.label){case 0:return a=new Promise((function(e){return r=setTimeout(e,50)})),l=s.Evt.newCtx(),e.evtDoneOrAborted.attachOnce(l,(function(){return clearTimeout(r)})),[4,a];case 1:return o.sent(),l.done(),h(t),i<6?(n(i+1),[2]):[2]}}))}))}(0)})))}),[y.current]),(0,l.useEffect)((function(){var e=y.current;null!==e&&h(e)})),{ref:y,domRect:a,checkIfDomRectUpdated:v}}},3642:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.useEffectRunConditionToDependencyArray=void 0;var i=n(5043),a=n(2719),l={};t.useEffectRunConditionToDependencyArray=function e(t){var n=t.effectRunCondition,s=t.hookName,u=void 0===s?e.name:s,c=(0,i.useRef)(new Array(9).fill(l)),d="boolean"===typeof n?{deps:n?o([{}],r(new Array(8).fill(l)),!1):c.current,doSkipEffectRun:!n}:((0,a.assert)(n.length<=9,"dependency array passed to ".concat(u," can only contain at most ").concat(9," elements")),{deps:o(o([],r(n),!1),r(new Array(9-n.length).fill(l)),!1),doSkipEffectRun:!1}),f=d.deps,p=d.doSkipEffectRun;return c.current=f,{deps:f,doSkipEffectRun:p}}},7511:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.useWindowInnerSize=void 0;var o=n(5043),i=n(8493),a=n(1076);t.useWindowInnerSize=function(){var e=r((0,o.useState)((function(){return{windowInnerWidth:window.innerWidth,windowInnerHeight:window.innerHeight}})),2),t=e[0],n=e[1];return(0,a.useEvt)((function(e){return i.Evt.from(e,window,"resize").attach((function(){return n({windowInnerWidth:window.innerWidth,windowInnerHeight:window.innerHeight})}))}),[]),t}},3260:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.useArrayDiff=void 0;var i=n(5043),a=n(8493),l=n(6090),s=n(8484),u=n(8826);t.useArrayDiff=function(e){var t=e.watchFor,n=e.array,c=e.callback,d=(0,u.useConstCallback)(c),f=r((0,i.useState)((function(){return a.Evt.create(n)})),1)[0];(0,i.useEffect)((function(){f.state=o([],r(n),!1)}),[n]),(0,l.useEvt)((function(e){return f.evtDiff.pipe(e,(function(e){var t=e.prevState,n=e.newState;return[(0,s.arrDiff)(t,n)]})).attach((function(e){var n=e.added,i=e.removed;switch(t){case"addition":if(0===n.length)return;break;case"deletion":if(0===i.length)return;break;case"addition or deletion":if(0===i.length&&0===n.length)return}d({added:o([],r(n),!1),removed:o([],r(i),!1)})}))}),[f,t])}},6857:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useBrowserFontSizeFactor=void 0;var r=n(1949),o=n(8698);t.useBrowserFontSizeFactor=function(){var e=(0,o.useViewPortState)().viewPortState,t=(0,r.useBrowserFontSizeFactor)().browserFontSizeFactor;return{browserFontSizeFactor:void 0!==e?e.targetBrowserFontSizeFactor:t}}},4125:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useCallbackFactory=void 0;var a=n(5043),l=i(n(7831)),s=n(6428);t.useCallbackFactory=function(e){var t=(0,a.useRef)(e);t.current=e;var n=(0,a.useRef)(void 0);return(0,a.useState)((function(){return(0,s.id)((function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return void 0===n.current&&(n.current=(0,l.default)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return t.current(e,n)}}),{length:e.length})),n.current.apply(n,o([],r(e),!1))}))}))[0]}},4998:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useClick=void 0;var i=n(5043),a=n(8493),l=n(6090),s=n(6428),u=n(8826),c=o(n(7831)).default;t.useClick=function(e){var t=e.doubleClickDelayMs,n=(0,u.useConstCallback)(e.callback),o=r((0,i.useState)((function(){var e=a.Evt.create();return{evtMouseUpOrDown:e,getOnMouseProps:c((function(t){return{onMouseDown:(0,s.id)((function(n){e.post({type:"down",mouseEvent:n,extraArg:t})})),onMouseUp:(0,s.id)((function(n){e.post({type:"up",mouseEvent:n,extraArg:t})}))}}))}})),1)[0],d=o.evtMouseUpOrDown,f=o.getOnMouseProps;return(0,l.useEvt)((function(e){var r=a.Evt.create();d.pipe(e,(function(e){var t=e.type,n=e.mouseEvent,r=e.extraArg;return"down"!==t?null:[{now:Date.now(),mouseEvent:n,extraArg:r}]})).pipe([function(e,n){var r=e.mouseEvent,o=e.now,i=e.extraArg;return[{now:o,isPendingDouble:o-n.now<t,mouseEvent:r,extraArg:i}]},{now:0,isPendingDouble:!1,mouseEvent:null,extraArg:null}]).attachExtract((function(e){return e.isPendingDouble}),(function(t){var n=t.mouseEvent,o=t.extraArg;n.preventDefault(),d.attachOnce((function(e){return"up"===e.type}),e,(function(e){var t=e.mouseEvent;return r.post({type:"double",mouseEvent:t,extraArg:o})}))})).attach((function(e){var t=e.mouseEvent,n=e.extraArg;return r.post({type:"down",mouseEvent:t,extraArg:n})})),r.attach((function(e){var t=e.type,r=e.mouseEvent,o=e.extraArg;return n({type:t,mouseEvent:r,extraArg:o})}))}),[t,d,n]),{getOnMouseProps:f}}},7176:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClickAway=void 0;var r=n(6090),o=n(8493),i=n(8826),a=n(7786);t.useClickAway=function(e){var t,n=e.onClickAway,l=(0,a.useStateRef)(null),s=null!==(t=null===e||void 0===e?void 0:e.ref)&&void 0!==t?t:l,u=(0,i.useConstCallback)(n);return(0,r.useEvt)((function(e){return o.Evt.from(e,document,"mousedown").attach((function(e){var t,n=e.target;return!(null===(t=s.current)||void 0===t?void 0:t.contains(n))}),u)}),[]),{ref:s}}},3865:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.useConst=void 0;var o=n(5043);t.useConst=function(e){return r((0,o.useState)(e),1)[0]}},8826:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.useConstCallback=void 0;var i=n(5043);t.useConstCallback=function(e){var t=(0,i.useRef)(null);return t.current=e,(0,i.useState)((function(){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.current.apply(t,o([],r(e),!1))}}))[0]}},3440:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDomRect=void 0;var r=n(5043),o=n(7460),i=n(2870),a=n(8698),l=n(7786),s=n(6428);t.useDomRect=function(e){var t,n=(0,l.useStateRef)(null),u=null!==(t=null===e||void 0===e?void 0:e.ref)&&void 0!==t?t:n,c=(0,o.useDomRect)({ref:u}),d=c.domRect,f=c.checkIfDomRectUpdated,p=function(){var e=(0,a.useViewPortState)().viewPortState;return{zoomFactor:(null!==e&&void 0!==e?e:{}).zoomFactor}}().zoomFactor;return(0,r.useEffect)((function(){f()}),[null!==p&&void 0!==p?p:Object]),{ref:u,domRect:(0,r.useMemo)((function(){var e=(0,i.pick)(d,o.domRectKeys);return void 0!==p&&o.domRectKeys.forEach((function(t){return e[t]/=p})),(0,s.id)(e)}),[d,null!==p&&void 0!==p?p:Object])}}},7802:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useEffectIf=void 0;var a=n(3642),l=i(n(5043)),s=n(2719),u=l.useEffect;t.useEffectIf=function e(t,n){var r=(0,a.useEffectRunConditionToDependencyArray)({effectRunCondition:n,hookName:e.name}),o=r.deps,i=r.doSkipEffectRun;u((function(){if(!i)return(0,s.assert)(!1!==n),t({deps:!0===n?[]:n})}),o)}},1214:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUseGlobalState=t.injectGlobalStatesInSearchParams=t.globalStates=void 0;var r=n(5043),o=n(8826),i=n(7695),a=n(9288),l=n(9017),s=n(3495),u=n(2260),c=n(4069),d=function(){var e=r.createContext,t=e.__powerhooks_useGlobalState_context;return void 0===t&&(t={globalStates:{},persistedGlobalStateNames:new Set},Object.defineProperty(e,"__powerhooks_useGlobalState_context",{configurable:!1,enumerable:!1,writable:!1,value:t})),t}(),f=d.globalStates,p=d.persistedGlobalStateNames;function h(e){return JSON.stringify([e])}function m(e){return JSON.parse(e)[0]}t.globalStates=f;var v="powerhooks_useGlobalState_",g=function(){var e=(0,s.memoize0)((function(){var e=(0,u.retrieveAllParamStartingWithPrefixFromUrl)({url:window.location.href,prefix:v,doLeavePrefixInResults:!1}),t=e.newUrl,n=e.values;return(0,u.updateSearchBarUrl)(t),{unparsedStates:n}}));return{injectGlobalStatesInSearchParams:function(e){var t=e;return Object.keys(f).filter((function(e){return p.has(e)})).forEach((function(e){return t=(0,u.addParamToUrl)({url:t,name:"".concat(v).concat(e),value:h(f[e])}).newUrl})),t},getStatesFromUrlSearchParams:function(t){var n=t.name,r=e().unparsedStates;return n in r?{wasPresent:!0,state:m(r[n])}:{wasPresent:!1}}}}(),y=g.injectGlobalStatesInSearchParams,b=g.getStatesFromUrlSearchParams;t.injectGlobalStatesInSearchParams=y,t.createUseGlobalState=function(e){var t,n=e.name,r=e.initialState,u=e.doPersistAcrossReloads;u&&p.add(n);var d=b({name:n}),g=(0,s.memoize0)((function(){var e="".concat(v).concat(n),t=u?function(t){return localStorage.setItem(e,h(t))}:void 0,o=(0,c.createStatefulObservable)(function(){var n=function(){if(d.wasPresent){var n=d.state;return null===t||void 0===t||t(n),n}if(u){var o=localStorage.getItem(e);if(null!==o)return m(o)}return(0,a.typeGuard)(r,"function"===typeof r)?r():r}();return function(){return n}}());return void 0!==t&&o.subscribe(t),o}));function y(){var e,t=g();return(0,c.useRerenderOnChange)(t),(e={})[n]=t.current,e["set".concat((0,l.capitalize)(n))]=(0,o.useConstCallback)((function(e){return t.current=(0,a.typeGuard)(e,"function"===typeof e)?e(t.current):e})),e}return Object.defineProperty(f,n,{enumerable:!0,get:function(){return g().current}}),(0,i.overwriteReadonlyProp)(y,"name","use".concat((0,l.capitalize)(n))),Object.defineProperty(((t={})[y.name]=y,t),"$".concat(n),{enumerable:!0,get:function(){return g()}})}},5364:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.useGuaranteedMemo=void 0;var i=n(5043);t.useGuaranteedMemo=function(e,t){var n=(0,i.useRef)();return(!n.current||t.length!==n.current.prevDeps.length||n.current.prevDeps.map((function(e,n){return e===t[n]})).indexOf(!1)>=0)&&(n.current={v:e(),prevDeps:o([],r(t),!1)}),n.current.v}},9850:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.useNamedState=void 0;var o=n(5043),i=n(9017);t.useNamedState=function(e,t){var n,a=r((0,o.useState)(t),2),l=a[0],s=a[1];return(n={})[e]=l,n["set".concat((0,i.capitalize)(e))]=s,n}},8463:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.createUseScopedState=void 0;var o=n(579),i=n(5043),a=n(9017),l=n(9850),s=n(7695);t.createUseScopedState=function(e,t){var n,u=(0,i.createContext)(void 0),c=function(){var t=(0,i.useContext)(u);if(void 0===t)throw new Error("Must be used in a component wrapped in <".concat((0,a.capitalize)(e),"Provider />"));return t};(0,s.overwriteReadonlyProp)(c,"name","use".concat((0,a.capitalize)(e)));var d=function(n){var a=n.children,s=n.initialState,c=(0,l.useNamedState)(e,void 0!==s?s:t),d=(0,i.useMemo)((function(){return c}),[c[e]]);return(0,o.jsx)(u.Provider,r({value:d},{children:a}))};return(0,s.overwriteReadonlyProp)(d,"name","".concat((0,a.capitalize)(e),"Provider")),(n={})[c.name]=c,n[d.name]=d,n}},7786:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStateRef=void 0;var r=n(3865),o=n(8493),i=n(7812);t.useStateRef=function(e){var t=(0,r.useConst)((function(){return o.Evt.create(e)}));return(0,i.useRerenderOnStateChange)(t),(0,r.useConst)((function(){var e={};return Object.defineProperty(e,"current",{get:function(){return t.state},set:function(e){return t.state=e}}),{ref:e}})).ref}},4364:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.useStickyTop=void 0;var o=n(5043),i=n(2719),a=n(3440),l=n(1510),s=n(7786);t.useStickyTop=function(e){var t,n=(0,s.useStateRef)(null),u=null!==(t=null===e||void 0===e?void 0:e.ref)&&void 0!==t?t:n,c=(0,a.useDomRect)({ref:u}).domRect.top,d=r((0,o.useState)(void 0),2),f=d[0],p=d[1];return(0,o.useEffect)((function(){if(0!==c){var e=u.current;(0,i.assert)(null!==e);var t=(0,l.getScrollableParent)({element:e,doReturnElementIfScrollable:!1}).getBoundingClientRect().top;p(c-t)}}),[c]),{top:f,ref:u}}},227:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useWindowInnerSize=void 0;var r=n(7511),o=n(8698);t.useWindowInnerSize=function(){var e=(0,o.useViewPortState)().viewPortState,t=(0,r.useWindowInnerSize)(),n=t.windowInnerWidth,i=t.windowInnerHeight;return void 0!==e?{windowInnerWidth:e.targetWindowInnerWidth,windowInnerHeight:e.targetWindowInnerHeight}:{windowInnerWidth:n,windowInnerHeight:i}}},2956:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useWithProps=void 0;var r=n(5364),o=n(1450),i=n(417);t.useWithProps=function(e,t){return(0,r.useGuaranteedMemo)((function(){return(0,i.withProps)(e,t)}),(0,o.objectKeys)(t).map((function(e){return t[e]})))}},417:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.withProps=void 0;var o=n(579);t.withProps=function(e,t){var n=e;return function(e){return(0,o.jsx)(n,r({},t,e))}}},1497:(e,t,n)=>{"use strict";var r=n(3218);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={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:i,resetWarningCache:o};return n.PropTypes=n,n}},5173:(e,t,n)=>{e.exports=n(1497)()},3218:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2730:(e,t,n)=>{"use strict";var r=n(5043),o=n(8853);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,l={};function s(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),S=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),P=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),M=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var L=Symbol.iterator;function I(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=L&&e[L]||e["@@iterator"])?e:null}var D,F=Object.assign;function z(e){if(void 0===D)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var N=!1;function B(e,t){if(!e||N)return"";N=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"===typeof u.stack){for(var o=u.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{N=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?z(e):""}function H(e){switch(e.tag){case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function W(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case k:return"Fragment";case S:return"Portal";case E:return"Profiler";case A:return"StrictMode";case O:return"Suspense";case j:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case _:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case T:return null!==(t=e.displayName||null)?t:W(e.type)||"Memo";case M:t=e._payload,e=e._init;try{return W(e(t))}catch(n){}}return null}function V(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return W(t);case 8:return t===A?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function U(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function G(e){e._valueTracker||(e._valueTracker=function(e){var t=q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function $(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function X(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=U(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Z(e,t){Q(e,t);var n=U(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,U(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+U(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return F({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:U(n)}}function ie(e,t){var n=U(t.value),r=U(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ge=F({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,ke=null,Ae=null;function Ee(e){if(e=xo(e)){if("function"!==typeof Se)throw Error(i(280));var t=e.stateNode;t&&(t=So(t),Se(e.stateNode,e.type,t))}}function Ce(e){ke?Ae?Ae.push(e):Ae=[e]:ke=e}function Pe(){if(ke){var e=ke,t=Ae;if(Ae=ke=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function _e(e,t){return e(t)}function Oe(){}var je=!1;function Te(e,t,n){if(je)return e(t,n);je=!0;try{return _e(e,t,n)}finally{je=!1,(null!==ke||null!==Ae)&&(Oe(),Pe())}}function Me(e,t){var n=e.stateNode;if(null===n)return null;var r=So(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var Re=!1;if(c)try{var Le={};Object.defineProperty(Le,"passive",{get:function(){Re=!0}}),window.addEventListener("test",Le,Le),window.removeEventListener("test",Le,Le)}catch(ce){Re=!1}function Ie(e,t,n,r,o,i,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var De=!1,Fe=null,ze=!1,Ne=null,Be={onError:function(e){De=!0,Fe=e}};function He(e,t,n,r,o,i,a,l,s){De=!1,Fe=null,Ie.apply(Be,arguments)}function We(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ve(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ue(e){if(We(e)!==e)throw Error(i(188))}function qe(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=We(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Ue(o),e;if(a===r)return Ue(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var l=!1,s=o.child;s;){if(s===n){l=!0,n=o,r=a;break}if(s===r){l=!0,r=o,n=a;break}s=s.sibling}if(!l){for(s=a.child;s;){if(s===n){l=!0,n=a,r=o;break}if(s===r){l=!0,r=a,n=o;break}s=s.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?Ge(e):null}function Ge(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ge(e);if(null!==t)return t;e=e.sibling}return null}var $e=o.unstable_scheduleCallback,Ke=o.unstable_cancelCallback,Xe=o.unstable_shouldYield,Ye=o.unstable_requestPaint,Qe=o.unstable_now,Ze=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=dt(l):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!==(4194240&i)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return 0===(4194240&(ut<<=1))&&(ut=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function xt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var wt,St,kt,At,Et,Ct=!1,Pt=[],_t=null,Ot=null,jt=null,Tt=new Map,Mt=new Map,Rt=[],Lt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":_t=null;break;case"dragenter":case"dragleave":Ot=null;break;case"mouseover":case"mouseout":jt=null;break;case"pointerover":case"pointerout":Tt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function Dt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=xo(t))&&St(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Ft(e){var t=bo(e.target);if(null!==t){var n=We(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ve(n)))return e.blockedOn=t,void Et(e.priority,(function(){kt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function zt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Xt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=xo(n))&&St(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);xe=r,n.target.dispatchEvent(r),xe=null,t.shift()}return!0}function Nt(e,t,n){zt(e)&&n.delete(t)}function Bt(){Ct=!1,null!==_t&&zt(_t)&&(_t=null),null!==Ot&&zt(Ot)&&(Ot=null),null!==jt&&zt(jt)&&(jt=null),Tt.forEach(Nt),Mt.forEach(Nt)}function Ht(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Bt)))}function Wt(e){function t(t){return Ht(t,e)}if(0<Pt.length){Ht(Pt[0],e);for(var n=1;n<Pt.length;n++){var r=Pt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==_t&&Ht(_t,e),null!==Ot&&Ht(Ot,e),null!==jt&&Ht(jt,e),Tt.forEach(t),Mt.forEach(t),n=0;n<Rt.length;n++)(r=Rt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Rt.length&&null===(n=Rt[0]).blockedOn;)Ft(n),null===n.blockedOn&&Rt.shift()}var Vt=x.ReactCurrentBatchConfig,Ut=!0;function qt(e,t,n,r){var o=bt,i=Vt.transition;Vt.transition=null;try{bt=1,$t(e,t,n,r)}finally{bt=o,Vt.transition=i}}function Gt(e,t,n,r){var o=bt,i=Vt.transition;Vt.transition=null;try{bt=4,$t(e,t,n,r)}finally{bt=o,Vt.transition=i}}function $t(e,t,n,r){if(Ut){var o=Xt(e,t,n,r);if(null===o)Ur(e,t,r,Kt,n),It(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return _t=Dt(_t,e,t,n,r,o),!0;case"dragenter":return Ot=Dt(Ot,e,t,n,r,o),!0;case"mouseover":return jt=Dt(jt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Tt.set(i,Dt(Tt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Mt.set(i,Dt(Mt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Lt.indexOf(e)){for(;null!==o;){var i=xo(o);if(null!==i&&wt(i),null===(i=Xt(e,t,n,r))&&Ur(e,t,r,Kt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Ur(e,t,r,null,n)}}var Kt=null;function Xt(e,t,n,r){if(Kt=null,null!==(e=bo(e=we(r))))if(null===(t=We(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ve(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ze()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Qt=null,Zt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Zt,r=n.length,o="value"in Qt?Qt.value:Qt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,sn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),dn=F({},un,{view:0,detail:0}),fn=on(dn),pn=F({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(an=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=an=0,sn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),hn=on(pn),mn=on(F({},pn,{dataTransfer:0})),vn=on(F({},dn,{relatedTarget:0})),gn=on(F({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=F({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),xn=on(F({},un,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function An(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function En(){return An}var Cn=F({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Pn=on(Cn),_n=on(F({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),On=on(F({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),jn=on(F({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Tn=F({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=on(Tn),Rn=[9,13,27,32],Ln=c&&"CompositionEvent"in window,In=null;c&&"documentMode"in document&&(In=document.documentMode);var Dn=c&&"TextEvent"in window&&!In,Fn=c&&(!Ln||In&&8<In&&11>=In),zn=String.fromCharCode(32),Nn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Rn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Wn=!1;var Vn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Un(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vn[e.type]:"textarea"===t}function qn(e,t,n,r){Ce(r),0<(t=Gr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gn=null,$n=null;function Kn(e){zr(e,0)}function Xn(e){if($(wo(e)))return e}function Yn(e,t){if("change"===e)return t}var Qn=!1;if(c){var Zn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Zn=Jn}else Zn=!1;Qn=Zn&&(!document.documentMode||9<document.documentMode)}function tr(){Gn&&(Gn.detachEvent("onpropertychange",nr),$n=Gn=null)}function nr(e){if("value"===e.propertyName&&Xn($n)){var t=[];qn(t,$n,e,we(e)),Te(Kn,t)}}function rr(e,t,n){"focusin"===e?(tr(),$n=n,(Gn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn($n)}function ir(e,t){if("click"===e)return Xn(t)}function ar(e,t){if("input"===e||"change"===e)return Xn(t)}var lr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function sr(e,t){if(lr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=cr(n,i);var a=cr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,vr=null,gr=null,yr=null,br=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==K(r)||("selectionStart"in(r=vr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&sr(yr,r)||(yr=r,0<(r=Gr(gr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},kr={},Ar={};function Er(e){if(kr[e])return kr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ar)return kr[e]=n[t];return e}c&&(Ar=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Cr=Er("animationend"),Pr=Er("animationiteration"),_r=Er("animationstart"),Or=Er("transitionend"),jr=new Map,Tr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(e,t){jr.set(e,t),s(t,[e])}for(var Rr=0;Rr<Tr.length;Rr++){var Lr=Tr[Rr];Mr(Lr.toLowerCase(),"on"+(Lr[0].toUpperCase()+Lr.slice(1)))}Mr(Cr,"onAnimationEnd"),Mr(Pr,"onAnimationIteration"),Mr(_r,"onAnimationStart"),Mr("dblclick","onDoubleClick"),Mr("focusin","onFocus"),Mr("focusout","onBlur"),Mr(Or,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Fr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,l,s,u){if(He.apply(this,arguments),De){if(!De)throw Error(i(198));var c=Fe;De=!1,Fe=null,ze||(ze=!0,Ne=c)}}(r,t,void 0,e),e.currentTarget=null}function zr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;Fr(o,l,u),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;Fr(o,l,u),i=s}}}if(ze)throw e=Ne,ze=!1,Ne=null,e}function Nr(e,t){var n=t[vo];void 0===n&&(n=t[vo]=new Set);var r=e+"__bubble";n.has(r)||(Vr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),Vr(n,e,r,t)}var Hr="_reactListening"+Math.random().toString(36).slice(2);function Wr(e){if(!e[Hr]){e[Hr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Hr]||(t[Hr]=!0,Br("selectionchange",!1,t))}}function Vr(e,t,n,r){switch(Yt(t)){case 1:var o=qt;break;case 4:o=Gt;break;default:o=$t}n=o.bind(null,t,n,e),o=void 0,!Re||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Ur(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=bo(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}Te((function(){var r=i,o=we(n),a=[];e:{var l=jr.get(e);if(void 0!==l){var s=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Pn;break;case"focusin":u="focus",s=vn;break;case"focusout":u="blur",s=vn;break;case"beforeblur":case"afterblur":s=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=On;break;case Cr:case Pr:case _r:s=gn;break;case Or:s=jn;break;case"scroll":s=fn;break;case"wheel":s=Mn;break;case"copy":case"cut":case"paste":s=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=_n}var c=0!==(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Me(h,f))&&c.push(qr(h,m,p)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),a.push({event:l,listeners:c}))}}if(0===(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===xe||!(u=n.relatedTarget||n.fromElement)||!bo(u)&&!u[mo])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?bo(u):null)&&(u!==(d=We(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=_n,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:wo(s),p=null==u?l:wo(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=p,m=null,bo(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(f=u,h=0,p=c=s;p;p=$r(p))h++;for(p=0,m=f;m;m=$r(m))p++;for(;0<h-p;)c=$r(c),h--;for(;0<p-h;)f=$r(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=$r(c),f=$r(f)}c=null}else c=null;null!==s&&Kr(a,l,s,c,!1),null!==u&&null!==d&&Kr(a,d,u,c,!0)}if("select"===(s=(l=r?wo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=Yn;else if(Un(l))if(Qn)v=ar;else{v=or;var g=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=ir);switch(v&&(v=v(e,r))?qn(a,v,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&ee(l,"number",l.value)),g=r?wo(r):window,e){case"focusin":(Un(g)||"true"===g.contentEditable)&&(vr=g,gr=r,yr=null);break;case"focusout":yr=gr=vr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,xr(a,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(a,n,o)}var y;if(Ln)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Wn?Bn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Fn&&"ko"!==n.locale&&(Wn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Wn&&(y=en()):(Zt="value"in(Qt=o)?Qt.value:Qt.textContent,Wn=!0)),0<(g=Gr(r,b)).length&&(b=new xn(b,e,null,n,o),a.push({event:b,listeners:g}),y?b.data=y:null!==(y=Hn(n))&&(b.data=y))),(y=Dn?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(Nn=!0,zn);case"textInput":return(e=t.data)===zn&&Nn?null:e;default:return null}}(e,n):function(e,t){if(Wn)return"compositionend"===e||!Ln&&Bn(e,t)?(e=en(),Jt=Zt=Qt=null,Wn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Gr(r,"onBeforeInput")).length&&(o=new xn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}zr(a,t)}))}function qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Me(e,n))&&r.unshift(qr(e,i,o)),null!=(i=Me(e,t))&&r.push(qr(e,i,o))),e=e.return}return r}function $r(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Kr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=Me(n,i))&&a.unshift(qr(n,s,l)):o||null!=(s=Me(n,i))&&a.push(qr(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Xr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Qr(e){return("string"===typeof e?e:""+e).replace(Xr,"\n").replace(Yr,"")}function Zr(e,t,n){if(t=Qr(t),Qr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,io="function"===typeof Promise?Promise:void 0,ao="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof io?function(e){return io.resolve(null).then(e).catch(lo)}:ro;function lo(e){setTimeout((function(){throw e}))}function so(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Wt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Wt(t)}function uo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,mo="__reactContainer$"+fo,vo="__reactEvents$"+fo,go="__reactListeners$"+fo,yo="__reactHandles$"+fo;function bo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function xo(e){return!(e=e[po]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function So(e){return e[ho]||null}var ko=[],Ao=-1;function Eo(e){return{current:e}}function Co(e){0>Ao||(e.current=ko[Ao],ko[Ao]=null,Ao--)}function Po(e,t){Ao++,ko[Ao]=e.current,e.current=t}var _o={},Oo=Eo(_o),jo=Eo(!1),To=_o;function Mo(e,t){var n=e.type.contextTypes;if(!n)return _o;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ro(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Lo(){Co(jo),Co(Oo)}function Io(e,t,n){if(Oo.current!==_o)throw Error(i(168));Po(Oo,t),Po(jo,n)}function Do(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,V(e)||"Unknown",o));return F({},n,r)}function Fo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||_o,To=Oo.current,Po(Oo,e),Po(jo,jo.current),!0}function zo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Do(e,t,To),r.__reactInternalMemoizedMergedChildContext=e,Co(jo),Co(Oo),Po(Oo,e)):Co(jo),Po(jo,n)}var No=null,Bo=!1,Ho=!1;function Wo(e){null===No?No=[e]:No.push(e)}function Vo(){if(!Ho&&null!==No){Ho=!0;var e=0,t=bt;try{var n=No;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}No=null,Bo=!1}catch(o){throw null!==No&&(No=No.slice(e+1)),$e(Je,Vo),o}finally{bt=t,Ho=!1}}return null}var Uo=[],qo=0,Go=null,$o=0,Ko=[],Xo=0,Yo=null,Qo=1,Zo="";function Jo(e,t){Uo[qo++]=$o,Uo[qo++]=Go,Go=e,$o=t}function ei(e,t,n){Ko[Xo++]=Qo,Ko[Xo++]=Zo,Ko[Xo++]=Yo,Yo=e;var r=Qo;e=Zo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Qo=1<<32-at(t)+o|n<<o|r,Zo=i+e}else Qo=1<<i|n<<o|r,Zo=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===Go;)Go=Uo[--qo],Uo[qo]=null,$o=Uo[--qo],Uo[qo]=null;for(;e===Yo;)Yo=Ko[--Xo],Ko[Xo]=null,Zo=Ko[--Xo],Ko[Xo]=null,Qo=Ko[--Xo],Ko[Xo]=null}var ri=null,oi=null,ii=!1,ai=null;function li(e,t){var n=Mu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function si(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Yo?{id:Qo,overflow:Zo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Mu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ui(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ci(e){if(ii){var t=oi;if(t){var n=t;if(!si(e,t)){if(ui(e))throw Error(i(418));t=uo(n.nextSibling);var r=ri;t&&si(e,t)?li(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ui(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ui(e))throw pi(),Error(i(418));for(;t;)li(e,t),t=uo(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=uo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?uo(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=uo(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function mi(e){null===ai?ai=[e]:ai.push(e)}var vi=x.ReactCurrentBatchConfig;function gi(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yi=Eo(null),bi=null,xi=null,wi=null;function Si(){wi=xi=bi=null}function ki(e){var t=yi.current;Co(yi),e._currentValue=t}function Ai(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ei(e,t){bi=e,wi=xi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(xl=!0),e.firstContext=null)}function Ci(e){var t=e._currentValue;if(wi!==e)if(e={context:e,memoizedValue:t,next:null},null===xi){if(null===bi)throw Error(i(308));xi=e,bi.dependencies={lanes:0,firstContext:e}}else xi=xi.next=e;return t}var Pi=null;function _i(e){null===Pi?Pi=[e]:Pi.push(e)}function Oi(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,_i(t)):(n.next=o.next,o.next=n),t.interleaved=n,ji(e,r)}function ji(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ti=!1;function Mi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ri(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Li(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ii(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Os)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,ji(e,n)}return null===(o=r.interleaved)?(t.next=t,_i(r)):(t.next=o.next,o.next=t),r.interleaved=t,ji(e,n)}function Di(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Fi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function zi(e,t,n,r){var o=e.updateQueue;Ti=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?i=u:a.next=u,a=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==i){var d=o.baseState;for(a=0,c=u=s=null,l=i;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(f=t,p=n,m.tag){case 1:if("function"===typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(f="function"===typeof(h=m.payload)?h.call(p,d,f):h)||void 0===f)break e;d=F({},d,f);break e;case 2:Ti=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,a|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(f=l).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Fs|=a,e.lanes=a,e.memoizedState=d}}function Ni(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(i(191,o));o.call(r)}}}var Bi=(new r.Component).refs;function Hi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Wi={isMounted:function(e){return!!(e=e._reactInternals)&&We(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),i=Li(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ii(e,i,o))&&(ru(t,e,o,r),Di(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),i=Li(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ii(e,i,o))&&(ru(t,e,o,r),Di(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),o=Li(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Ii(e,o,r))&&(ru(t,e,r,n),Di(t,e,r))}};function Vi(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(o,i))}function Ui(e,t,n){var r=!1,o=_o,i=t.contextType;return"object"===typeof i&&null!==i?i=Ci(i):(o=Ro(t)?To:Oo.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?Mo(e,o):_o),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Wi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function qi(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Wi.enqueueReplaceState(t,t.state,null)}function Gi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Bi,Mi(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=Ci(i):(i=Ro(t)?To:Oo.current,o.context=Mo(e,i)),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(Hi(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Wi.enqueueReplaceState(o,o.state,null),zi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function $i(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Bi&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Ki(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Xi(e){return(0,e._init)(e._payload)}function Yi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Lu(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=zu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===k?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===M&&Xi(i)===t.type)?((r=o(t,n.props)).ref=$i(e,t,n),r.return=e,r):((r=Iu(n.type,n.key,n.props,null,e.mode,r)).ref=$i(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Nu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Du(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=zu(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Iu(t.type,t.key,t.props,null,e.mode,n)).ref=$i(e,null,t),n.return=e,n;case S:return(t=Nu(t,e.mode,n)).return=e,t;case M:return f(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Du(t,e.mode,n,null)).return=e,t;Ki(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==o?null:s(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?u(e,t,n,r):null;case S:return n.key===o?c(e,t,n,r):null;case M:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||I(n))return null!==o?null:d(e,t,n,r,null);Ki(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case w:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case M:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,o,null);Ki(t,r)}return null}function m(o,i,l,s){for(var u=null,c=null,d=i,m=i=0,v=null;null!==d&&m<l.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=p(o,d,l[m],s);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(o,d),i=a(g,i,m),null===c?u=g:c.sibling=g,c=g,d=v}if(m===l.length)return n(o,d),ii&&Jo(o,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(o,l[m],s))&&(i=a(d,i,m),null===c?u=d:c.sibling=d,c=d);return ii&&Jo(o,m),u}for(d=r(o,d);m<l.length;m++)null!==(v=h(d,o,m,l[m],s))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v);return e&&d.forEach((function(e){return t(o,e)})),ii&&Jo(o,m),u}function v(o,l,s,u){var c=I(s);if("function"!==typeof c)throw Error(i(150));if(null==(s=c.call(s)))throw Error(i(151));for(var d=c=null,m=l,v=l=0,g=null,y=s.next();null!==m&&!y.done;v++,y=s.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=p(o,m,y.value,u);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(o,m),l=a(b,l,v),null===d?c=b:d.sibling=b,d=b,m=g}if(y.done)return n(o,m),ii&&Jo(o,v),c;if(null===m){for(;!y.done;v++,y=s.next())null!==(y=f(o,y.value,u))&&(l=a(y,l,v),null===d?c=y:d.sibling=y,d=y);return ii&&Jo(o,v),c}for(m=r(o,m);!y.done;v++,y=s.next())null!==(y=h(m,o,v,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),l=a(y,l,v),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(o,e)})),ii&&Jo(o,v),c}return function e(r,i,a,s){if("object"===typeof a&&null!==a&&a.type===k&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var u=a.key,c=i;null!==c;){if(c.key===u){if((u=a.type)===k){if(7===c.tag){n(r,c.sibling),(i=o(c,a.props.children)).return=r,r=i;break e}}else if(c.elementType===u||"object"===typeof u&&null!==u&&u.$$typeof===M&&Xi(u)===c.type){n(r,c.sibling),(i=o(c,a.props)).ref=$i(r,c,a),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===k?((i=Du(a.props.children,r.mode,s,a.key)).return=r,r=i):((s=Iu(a.type,a.key,a.props,null,r.mode,s)).ref=$i(r,i,a),s.return=r,r=s)}return l(r);case S:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Nu(a,r.mode,s)).return=r,r=i}return l(r);case M:return e(r,i,(c=a._init)(a._payload),s)}if(te(a))return m(r,i,a,s);if(I(a))return v(r,i,a,s);Ki(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=zu(a,r.mode,s)).return=r,r=i),l(r)):n(r,i)}}var Qi=Yi(!0),Zi=Yi(!1),Ji={},ea=Eo(Ji),ta=Eo(Ji),na=Eo(Ji);function ra(e){if(e===Ji)throw Error(i(174));return e}function oa(e,t){switch(Po(na,t),Po(ta,e),Po(ea,Ji),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Co(ea),Po(ea,t)}function ia(){Co(ea),Co(ta),Co(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=se(t,e.type);t!==n&&(Po(ta,e),Po(ea,n))}function la(e){ta.current===e&&(Co(ea),Co(ta))}var sa=Eo(0);function ua(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ca=[];function da(){for(var e=0;e<ca.length;e++)ca[e]._workInProgressVersionPrimary=null;ca.length=0}var fa=x.ReactCurrentDispatcher,pa=x.ReactCurrentBatchConfig,ha=0,ma=null,va=null,ga=null,ya=!1,ba=!1,xa=0,wa=0;function Sa(){throw Error(i(321))}function ka(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function Aa(e,t,n,r,o,a){if(ha=a,ma=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fa.current=null===e||null===e.memoizedState?ll:sl,e=n(r,o),ba){a=0;do{if(ba=!1,xa=0,25<=a)throw Error(i(301));a+=1,ga=va=null,t.updateQueue=null,fa.current=ul,e=n(r,o)}while(ba)}if(fa.current=al,t=null!==va&&null!==va.next,ha=0,ga=va=ma=null,ya=!1,t)throw Error(i(300));return e}function Ea(){var e=0!==xa;return xa=0,e}function Ca(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ga?ma.memoizedState=ga=e:ga=ga.next=e,ga}function Pa(){if(null===va){var e=ma.alternate;e=null!==e?e.memoizedState:null}else e=va.next;var t=null===ga?ma.memoizedState:ga.next;if(null!==t)ga=t,va=e;else{if(null===e)throw Error(i(310));e={memoizedState:(va=e).memoizedState,baseState:va.baseState,baseQueue:va.baseQueue,queue:va.queue,next:null},null===ga?ma.memoizedState=ga=e:ga=ga.next=e}return ga}function _a(e,t){return"function"===typeof t?t(e):t}function Oa(e){var t=Pa(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=va,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var s=l=null,u=null,c=a;do{var d=c.lane;if((ha&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=r):u=u.next=f,ma.lanes|=d,Fs|=d}c=c.next}while(null!==c&&c!==a);null===u?l=r:u.next=s,lr(r,t.memoizedState)||(xl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,ma.lanes|=a,Fs|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ja(e){var t=Pa(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);lr(a,t.memoizedState)||(xl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Ta(){}function Ma(e,t){var n=ma,r=Pa(),o=t(),a=!lr(r.memoizedState,o);if(a&&(r.memoizedState=o,xl=!0),r=r.queue,Ua(Ia.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ga&&1&ga.memoizedState.tag){if(n.flags|=2048,Na(9,La.bind(null,n,r,o,t),void 0,null),null===js)throw Error(i(349));0!==(30&ha)||Ra(n,t,o)}return o}function Ra(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function La(e,t,n,r){t.value=n,t.getSnapshot=r,Da(t)&&Fa(e)}function Ia(e,t,n){return n((function(){Da(t)&&Fa(e)}))}function Da(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(r){return!0}}function Fa(e){var t=ji(e,1);null!==t&&ru(t,e,1,-1)}function za(e){var t=Ca();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_a,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,ma,e),[t.memoizedState,e]}function Na(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ba(){return Pa().memoizedState}function Ha(e,t,n,r){var o=Ca();ma.flags|=e,o.memoizedState=Na(1|t,n,void 0,void 0===r?null:r)}function Wa(e,t,n,r){var o=Pa();r=void 0===r?null:r;var i=void 0;if(null!==va){var a=va.memoizedState;if(i=a.destroy,null!==r&&ka(r,a.deps))return void(o.memoizedState=Na(t,n,i,r))}ma.flags|=e,o.memoizedState=Na(1|t,n,i,r)}function Va(e,t){return Ha(8390656,8,e,t)}function Ua(e,t){return Wa(2048,8,e,t)}function qa(e,t){return Wa(4,2,e,t)}function Ga(e,t){return Wa(4,4,e,t)}function $a(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ka(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Wa(4,4,$a.bind(null,t,e),n)}function Xa(){}function Ya(e,t){var n=Pa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ka(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Qa(e,t){var n=Pa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ka(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Za(e,t,n){return 0===(21&ha)?(e.baseState&&(e.baseState=!1,xl=!0),e.memoizedState=n):(lr(n,t)||(n=mt(),ma.lanes|=n,Fs|=n,e.baseState=!0),t)}function Ja(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pa.transition;pa.transition={};try{e(!1),t()}finally{bt=n,pa.transition=r}}function el(){return Pa().memoizedState}function tl(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))ol(t,n);else if(null!==(n=Oi(e,t,n,r))){ru(n,e,r,tu()),il(n,t,r)}}function nl(e,t,n){var r=nu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))ol(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,lr(l,a)){var s=t.interleaved;return null===s?(o.next=o,_i(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(u){}null!==(n=Oi(e,t,o,r))&&(ru(n,e,r,o=tu()),il(n,t,r))}}function rl(e){var t=e.alternate;return e===ma||null!==t&&t===ma}function ol(e,t){ba=ya=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function il(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var al={readContext:Ci,useCallback:Sa,useContext:Sa,useEffect:Sa,useImperativeHandle:Sa,useInsertionEffect:Sa,useLayoutEffect:Sa,useMemo:Sa,useReducer:Sa,useRef:Sa,useState:Sa,useDebugValue:Sa,useDeferredValue:Sa,useTransition:Sa,useMutableSource:Sa,useSyncExternalStore:Sa,useId:Sa,unstable_isNewReconciler:!1},ll={readContext:Ci,useCallback:function(e,t){return Ca().memoizedState=[e,void 0===t?null:t],e},useContext:Ci,useEffect:Va,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ha(4194308,4,$a.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ha(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ha(4,2,e,t)},useMemo:function(e,t){var n=Ca();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ca();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,ma,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ca().memoizedState=e},useState:za,useDebugValue:Xa,useDeferredValue:function(e){return Ca().memoizedState=e},useTransition:function(){var e=za(!1),t=e[0];return e=Ja.bind(null,e[1]),Ca().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ma,o=Ca();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===js)throw Error(i(349));0!==(30&ha)||Ra(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Va(Ia.bind(null,r,a,e),[e]),r.flags|=2048,Na(9,La.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Ca(),t=js.identifierPrefix;if(ii){var n=Zo;t=":"+t+"R"+(n=(Qo&~(1<<32-at(Qo)-1)).toString(32)+n),0<(n=xa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:Ci,useCallback:Ya,useContext:Ci,useEffect:Ua,useImperativeHandle:Ka,useInsertionEffect:qa,useLayoutEffect:Ga,useMemo:Qa,useReducer:Oa,useRef:Ba,useState:function(){return Oa(_a)},useDebugValue:Xa,useDeferredValue:function(e){return Za(Pa(),va.memoizedState,e)},useTransition:function(){return[Oa(_a)[0],Pa().memoizedState]},useMutableSource:Ta,useSyncExternalStore:Ma,useId:el,unstable_isNewReconciler:!1},ul={readContext:Ci,useCallback:Ya,useContext:Ci,useEffect:Ua,useImperativeHandle:Ka,useInsertionEffect:qa,useLayoutEffect:Ga,useMemo:Qa,useReducer:ja,useRef:Ba,useState:function(){return ja(_a)},useDebugValue:Xa,useDeferredValue:function(e){var t=Pa();return null===va?t.memoizedState=e:Za(t,va.memoizedState,e)},useTransition:function(){return[ja(_a)[0],Pa().memoizedState]},useMutableSource:Ta,useSyncExternalStore:Ma,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=H(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var pl="function"===typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=Li(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qs||(qs=!0,Gs=r),fl(0,t)},n}function ml(e,t,n){(n=Li(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fl(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!==typeof r&&(null===$s?$s=new Set([this]):$s.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Cu.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,o){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Li(-1,1)).tag=2,Ii(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bl=x.ReactCurrentOwner,xl=!1;function wl(e,t,n,r){t.child=null===e?Zi(t,null,n,r):Qi(t,e.child,n,r)}function Sl(e,t,n,r,o){n=n.render;var i=t.ref;return Ei(t,o),r=Aa(e,t,n,r,i,o),n=Ea(),null===e||xl?(ii&&n&&ti(t),t.flags|=1,wl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ql(e,t,o))}function kl(e,t,n,r,o){if(null===e){var i=n.type;return"function"!==typeof i||Ru(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Iu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Al(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(a,r)&&e.ref===t.ref)return ql(e,t,o)}return t.flags|=1,(e=Lu(i,r)).ref=t.ref,e.return=t,t.child=e}function Al(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(sr(i,r)&&e.ref===t.ref){if(xl=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,ql(e,t,o);0!==(131072&e.flags)&&(xl=!0)}}return Pl(e,t,n,r,o)}function El(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Po(Ls,Rs),Rs|=n;else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Po(Ls,Rs),Rs|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Po(Ls,Rs),Rs|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Po(Ls,Rs),Rs|=r;return wl(e,t,o,n),t.child}function Cl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Pl(e,t,n,r,o){var i=Ro(n)?To:Oo.current;return i=Mo(t,i),Ei(t,o),n=Aa(e,t,n,r,i,o),r=Ea(),null===e||xl?(ii&&r&&ti(t),t.flags|=1,wl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ql(e,t,o))}function _l(e,t,n,r,o){if(Ro(n)){var i=!0;Fo(t)}else i=!1;if(Ei(t,o),null===t.stateNode)Ul(e,t),Ui(t,n,r),Gi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;"object"===typeof u&&null!==u?u=Ci(u):u=Mo(t,u=Ro(n)?To:Oo.current);var c=n.getDerivedStateFromProps,d="function"===typeof c||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(l!==r||s!==u)&&qi(t,a,r,u),Ti=!1;var f=t.memoizedState;a.state=f,zi(t,r,a,o),s=t.memoizedState,l!==r||f!==s||jo.current||Ti?("function"===typeof c&&(Hi(t,n,c,r),s=t.memoizedState),(l=Ti||Vi(t,n,l,r,f,s,u))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ri(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:gi(t.type,l),a.props=u,d=t.pendingProps,f=a.context,"object"===typeof(s=n.contextType)&&null!==s?s=Ci(s):s=Mo(t,s=Ro(n)?To:Oo.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(l!==d||f!==s)&&qi(t,a,r,s),Ti=!1,f=t.memoizedState,a.state=f,zi(t,r,a,o);var h=t.memoizedState;l!==d||f!==h||jo.current||Ti?("function"===typeof p&&(Hi(t,n,p,r),h=t.memoizedState),(u=Ti||Vi(t,n,u,r,f,h,s)||!1)?(c||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!==typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ol(e,t,n,r,i,o)}function Ol(e,t,n,r,o,i){Cl(e,t);var a=0!==(128&t.flags);if(!r&&!a)return o&&zo(t,n,!1),ql(e,t,i);r=t.stateNode,bl.current=t;var l=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Qi(t,e.child,null,i),t.child=Qi(t,null,l,i)):wl(e,t,l,i),t.memoizedState=r.state,o&&zo(t,n,!0),t.child}function jl(e){var t=e.stateNode;t.pendingContext?Io(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Io(0,t.context,!1),oa(e,t.containerInfo)}function Tl(e,t,n,r,o){return hi(),mi(o),t.flags|=256,wl(e,t,n,r),t.child}var Ml,Rl,Ll,Il,Dl={dehydrated:null,treeContext:null,retryLane:0};function Fl(e){return{baseLanes:e,cachePool:null,transitions:null}}function zl(e,t,n){var r,o=t.pendingProps,a=sa.current,l=!1,s=0!==(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Po(sa,1&a),null===e)return ci(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},0===(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Fu(s,o,0,null),e=Du(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Fl(n),t.memoizedState=Dl,e):Nl(t,s));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,l){if(n)return 256&t.flags?(t.flags&=-257,Bl(e,t,l,r=dl(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Fu({mode:"visible",children:r.children},o,0,null),(a=Du(a,o,l,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&Qi(t,e.child,null,l),t.child.memoizedState=Fl(l),t.memoizedState=Dl,a);if(0===(1&t.mode))return Bl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,Bl(e,t,l,r=dl(a=Error(i(419)),r,void 0))}if(s=0!==(l&e.childLanes),xl||s){if(null!==(r=js)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|l))?0:o)&&o!==a.retryLane&&(a.retryLane=o,ji(e,o),ru(r,e,o,-1))}return vu(),Bl(e,t,l,r=dl(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=_u.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=uo(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Ko[Xo++]=Qo,Ko[Xo++]=Zo,Ko[Xo++]=Yo,Qo=e.id,Zo=e.overflow,Yo=t),t=Nl(t,r.children),t.flags|=4096,t)}(e,t,s,o,r,a,n);if(l){l=o.fallback,s=t.mode,r=(a=e.child).sibling;var u={mode:"hidden",children:o.children};return 0===(1&s)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=Lu(a,u)).subtreeFlags=14680064&a.subtreeFlags,null!==r?l=Lu(r,l):(l=Du(l,s,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?Fl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Dl,o}return e=(l=e.child).sibling,o=Lu(l,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Nl(e,t){return(t=Fu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bl(e,t,n,r){return null!==r&&mi(r),Qi(t,e.child,null,n),(e=Nl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Hl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ai(e.return,t,n)}function Wl(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Vl(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(wl(e,t,r.children,n),0!==(2&(r=sa.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Hl(e,n,t);else if(19===e.tag)Hl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Po(sa,r),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ua(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Wl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ua(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Wl(t,!0,n,null,i);break;case"together":Wl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ul(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ql(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fs|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Lu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Lu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Gl(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function $l(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Kl(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $l(t),null;case 1:case 17:return Ro(t.type)&&Lo(),$l(t),null;case 3:return r=t.stateNode,ia(),Co(jo),Co(Oo),da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ai&&(lu(ai),ai=null))),Rl(e,t),$l(t),null;case 5:la(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Ll(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return $l(t),null}if(e=ra(ea.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=0!==(1&t.mode),n){case"dialog":Nr("cancel",r),Nr("close",r);break;case"iframe":case"object":case"embed":Nr("load",r);break;case"video":case"audio":for(o=0;o<Ir.length;o++)Nr(Ir[o],r);break;case"source":Nr("error",r);break;case"img":case"image":case"link":Nr("error",r),Nr("load",r);break;case"details":Nr("toggle",r);break;case"input":Y(r,a),Nr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Nr("invalid",r);break;case"textarea":oe(r,a),Nr("invalid",r)}for(var s in ye(n,a),o=null,a)if(a.hasOwnProperty(s)){var u=a[s];"children"===s?"string"===typeof u?r.textContent!==u&&(!0!==a.suppressHydrationWarning&&Zr(r.textContent,u,e),o=["children",u]):"number"===typeof u&&r.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Zr(r.textContent,u,e),o=["children",""+u]):l.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Nr("scroll",r)}switch(n){case"input":G(r),J(r,a,!0);break;case"textarea":G(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[po]=t,e[ho]=r,Ml(e,t,!1,!1),t.stateNode=e;e:{switch(s=be(n,r),n){case"dialog":Nr("cancel",e),Nr("close",e),o=r;break;case"iframe":case"object":case"embed":Nr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ir.length;o++)Nr(Ir[o],e);o=r;break;case"source":Nr("error",e),o=r;break;case"img":case"image":case"link":Nr("error",e),Nr("load",e),o=r;break;case"details":Nr("toggle",e),o=r;break;case"input":Y(e,r),o=X(e,r),Nr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=F({},r,{value:void 0}),Nr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Nr("invalid",e)}for(a in ye(n,o),u=o)if(u.hasOwnProperty(a)){var c=u[a];"style"===a?ve(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===a?"string"===typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"===typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(l.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Nr("scroll",e):null!=c&&b(e,a,c,s))}switch(n){case"input":G(e),J(e,r,!1);break;case"textarea":G(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+U(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return $l(t),null;case 6:if(e&&null!=t.stateNode)Il(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Zr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return $l(t),null;case 13:if(Co(sa),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!==(1&t.mode)&&0===(128&t.flags))pi(),hi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else hi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;$l(t),a=!1}else null!==ai&&(lu(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&sa.current)?0===Is&&(Is=3):vu())),null!==t.updateQueue&&(t.flags|=4),$l(t),null);case 4:return ia(),Rl(e,t),null===e&&Wr(t.stateNode.containerInfo),$l(t),null;case 10:return ki(t.type._context),$l(t),null;case 19:if(Co(sa),null===(a=t.memoizedState))return $l(t),null;if(r=0!==(128&t.flags),null===(s=a.rendering))if(r)Gl(a,!1);else{if(0!==Is||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ua(e))){for(t.flags|=128,Gl(a,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(s=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,e=s.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Po(sa,1&sa.current|2),t.child}e=e.sibling}null!==a.tail&&Qe()>Vs&&(t.flags|=128,r=!0,Gl(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ua(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Gl(a,!0),null===a.tail&&"hidden"===a.tailMode&&!s.alternate&&!ii)return $l(t),null}else 2*Qe()-a.renderingStartTime>Vs&&1073741824!==n&&(t.flags|=128,r=!0,Gl(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=a.last)?n.sibling=s:t.child=s,a.last=s)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Qe(),t.sibling=null,n=sa.current,Po(sa,r?1&n|2:1&n),t):($l(t),null);case 22:case 23:return fu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Rs)&&($l(t),6&t.subtreeFlags&&(t.flags|=8192)):$l(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Xl(e,t){switch(ni(t),t.tag){case 1:return Ro(t.type)&&Lo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),Co(jo),Co(Oo),da(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return la(t),null;case 13:if(Co(sa),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Co(sa),null;case 4:return ia(),null;case 10:return ki(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}Ml=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Rl=function(){},Ll=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=X(e,o),r=X(e,r),a=[];break;case"select":o=F({},o,{value:void 0}),r=F({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(c in ye(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var s=o[c];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(i in s)!s.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&s[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(a||(a=[]),a.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!==typeof u&&"number"!==typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Nr("scroll",e),a||s===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Il=function(e,t,n,r){n!==r&&(t.flags|=4)};var Yl=!1,Ql=!1,Zl="function"===typeof WeakSet?WeakSet:Set,Jl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Eu(e,t,r)}else n.current=null}function ts(e,t,n){try{n()}catch(r){Eu(e,t,r)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&ts(t,n,i)}o=o.next}while(o!==r)}}function os(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function is(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function as(e){var t=e.alternate;null!==t&&(e.alternate=null,as(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[vo],delete t[go],delete t[yo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}var ds=null,fs=!1;function ps(e,t,n){for(n=n.child;null!==n;)hs(e,t,n),n=n.sibling}function hs(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(l){}switch(n.tag){case 5:Ql||es(n,t);case 6:var r=ds,o=fs;ds=null,ps(e,t,n),fs=o,null!==(ds=r)&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),Wt(e)):so(ds,n.stateNode));break;case 4:r=ds,o=fs,ds=n.stateNode.containerInfo,fs=!0,ps(e,t,n),ds=r,fs=o;break;case 0:case 11:case 14:case 15:if(!Ql&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!==(2&i)||0!==(4&i))&&ts(n,t,a),o=o.next}while(o!==r)}ps(e,t,n);break;case 1:if(!Ql&&(es(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Eu(n,t,l)}ps(e,t,n);break;case 21:ps(e,t,n);break;case 22:1&n.mode?(Ql=(r=Ql)||null!==n.memoizedState,ps(e,t,n),Ql=r):ps(e,t,n);break;default:ps(e,t,n)}}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zl),t.forEach((function(t){var r=Ou.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vs(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,fs=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,fs=!0;break e}s=s.return}if(null===ds)throw Error(i(160));hs(a,l,o),ds=null,fs=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(c){Eu(o,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vs(t,e),ys(e),4&r){try{rs(3,e,e.return),os(3,e)}catch(v){Eu(e,e.return,v)}try{rs(5,e,e.return)}catch(v){Eu(e,e.return,v)}}break;case 1:vs(t,e),ys(e),512&r&&null!==n&&es(n,n.return);break;case 5:if(vs(t,e),ys(e),512&r&&null!==n&&es(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(v){Eu(e,e.return,v)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,l=null!==n?n.memoizedProps:a,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===a.type&&null!=a.name&&Q(o,a),be(s,l);var c=be(s,a);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?ve(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,c)}switch(s){case"input":Z(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(v){Eu(e,e.return,v)}}break;case 6:if(vs(t,e),ys(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(v){Eu(e,e.return,v)}}break;case 3:if(vs(t,e),ys(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Wt(t.containerInfo)}catch(v){Eu(e,e.return,v)}break;case 4:default:vs(t,e),ys(e);break;case 13:vs(t,e),ys(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Ws=Qe())),4&r&&ms(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Ql=(c=Ql)||d,vs(t,e),Ql=c):vs(t,e),ys(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!==(1&e.mode))for(Jl=e,d=e.child;null!==d;){for(f=Jl=d;null!==Jl;){switch(h=(p=Jl).child,p.tag){case 0:case 11:case 14:case 15:rs(4,p,p.return);break;case 1:es(p,p.return);var m=p.stateNode;if("function"===typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(v){Eu(r,n,v)}}break;case 5:es(p,p.return);break;case 22:if(null!==p.memoizedState){Ss(f);continue}}null!==h?(h.return=p,Jl=h):Ss(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"===typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(s=f.stateNode,l=void 0!==(u=f.memoizedProps.style)&&null!==u&&u.hasOwnProperty("display")?u.display:null,s.style.display=me("display",l))}catch(v){Eu(e,e.return,v)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(v){Eu(e,e.return,v)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vs(t,e),ys(e),4&r&&ms(e);case 21:}}function ys(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ls(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),cs(e,ss(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;us(e,ss(e),a);break;default:throw Error(i(161))}}catch(l){Eu(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bs(e,t,n){Jl=e,xs(e,t,n)}function xs(e,t,n){for(var r=0!==(1&e.mode);null!==Jl;){var o=Jl,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Yl;if(!a){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Ql;l=Yl;var u=Ql;if(Yl=a,(Ql=s)&&!u)for(Jl=o;null!==Jl;)s=(a=Jl).child,22===a.tag&&null!==a.memoizedState?ks(o):null!==s?(s.return=a,Jl=s):ks(o);for(;null!==i;)Jl=i,xs(i,t,n),i=i.sibling;Jl=o,Yl=l,Ql=u}ws(e)}else 0!==(8772&o.subtreeFlags)&&null!==i?(i.return=o,Jl=i):ws(e)}}function ws(e){for(;null!==Jl;){var t=Jl;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Ql||os(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ql)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:gi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Ni(t,a,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Ni(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Wt(f)}}}break;default:throw Error(i(163))}Ql||512&t.flags&&is(t)}catch(p){Eu(t,t.return,p)}}if(t===e){Jl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Jl=n;break}Jl=t.return}}function Ss(e){for(;null!==Jl;){var t=Jl;if(t===e){Jl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Jl=n;break}Jl=t.return}}function ks(e){for(;null!==Jl;){var t=Jl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{os(4,t)}catch(s){Eu(t,n,s)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(s){Eu(t,o,s)}}var i=t.return;try{is(t)}catch(s){Eu(t,i,s)}break;case 5:var a=t.return;try{is(t)}catch(s){Eu(t,a,s)}}}catch(s){Eu(t,t.return,s)}if(t===e){Jl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Jl=l;break}Jl=t.return}}var As,Es=Math.ceil,Cs=x.ReactCurrentDispatcher,Ps=x.ReactCurrentOwner,_s=x.ReactCurrentBatchConfig,Os=0,js=null,Ts=null,Ms=0,Rs=0,Ls=Eo(0),Is=0,Ds=null,Fs=0,zs=0,Ns=0,Bs=null,Hs=null,Ws=0,Vs=1/0,Us=null,qs=!1,Gs=null,$s=null,Ks=!1,Xs=null,Ys=0,Qs=0,Zs=null,Js=-1,eu=0;function tu(){return 0!==(6&Os)?Qe():-1!==Js?Js:Js=Qe()}function nu(e){return 0===(1&e.mode)?1:0!==(2&Os)&&0!==Ms?Ms&-Ms:null!==vi.transition?(0===eu&&(eu=mt()),eu):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Yt(e.type)}function ru(e,t,n,r){if(50<Qs)throw Qs=0,Zs=null,Error(i(185));gt(e,n,r),0!==(2&Os)&&e===js||(e===js&&(0===(2&Os)&&(zs|=n),4===Is&&su(e,Ms)),ou(e,r),1===n&&0===Os&&0===(1&t.mode)&&(Vs=Qe()+500,Bo&&Vo()))}function ou(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),l=1<<a,s=o[a];-1===s?0!==(l&n)&&0===(l&r)||(o[a]=pt(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=ft(e,e===js?Ms:0);if(0===r)null!==n&&Ke(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ke(n),1===t)0===e.tag?function(e){Bo=!0,Wo(e)}(uu.bind(null,e)):Wo(uu.bind(null,e)),ao((function(){0===(6&Os)&&Vo()})),n=null;else{switch(xt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=ju(n,iu.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function iu(e,t){if(Js=-1,eu=0,0!==(6&Os))throw Error(i(327));var n=e.callbackNode;if(ku()&&e.callbackNode!==n)return null;var r=ft(e,e===js?Ms:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=gu(e,r);else{t=r;var o=Os;Os|=2;var a=mu();for(js===e&&Ms===t||(Us=null,Vs=Qe()+500,pu(e,t));;)try{bu();break}catch(s){hu(e,s)}Si(),Cs.current=a,Os=o,null!==Ts?t=0:(js=null,Ms=0,t=Is)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=au(e,o))),1===t)throw n=Ds,pu(e,0),su(e,r),ou(e,Qe()),n;if(6===t)su(e,r);else{if(o=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!lr(i(),o))return!1}catch(l){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=gu(e,r))&&(0!==(a=ht(e))&&(r=a,t=au(e,a))),1===t))throw n=Ds,pu(e,0),su(e,r),ou(e,Qe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:Su(e,Hs,Us);break;case 3:if(su(e,r),(130023424&r)===r&&10<(t=Ws+500-Qe())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(Su.bind(null,e,Hs,Us),t);break}Su(e,Hs,Us);break;case 4:if(su(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-at(r);a=1<<l,(l=t[l])>o&&(o=l),r&=~a}if(r=o,10<(r=(120>(r=Qe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Es(r/1960))-r)){e.timeoutHandle=ro(Su.bind(null,e,Hs,Us),r);break}Su(e,Hs,Us);break;default:throw Error(i(329))}}}return ou(e,Qe()),e.callbackNode===n?iu.bind(null,e):null}function au(e,t){var n=Bs;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Hs,Hs=n,null!==t&&lu(t)),e}function lu(e){null===Hs?Hs=e:Hs.push.apply(Hs,e)}function su(e,t){for(t&=~Ns,t&=~zs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(0!==(6&Os))throw Error(i(327));ku();var t=ft(e,0);if(0===(1&t))return ou(e,Qe()),null;var n=gu(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=au(e,r))}if(1===n)throw n=Ds,pu(e,0),su(e,t),ou(e,Qe()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Su(e,Hs,Us),ou(e,Qe()),null}function cu(e,t){var n=Os;Os|=1;try{return e(t)}finally{0===(Os=n)&&(Vs=Qe()+500,Bo&&Vo())}}function du(e){null!==Xs&&0===Xs.tag&&0===(6&Os)&&ku();var t=Os;Os|=1;var n=_s.transition,r=bt;try{if(_s.transition=null,bt=1,e)return e()}finally{bt=r,_s.transition=n,0===(6&(Os=t))&&Vo()}}function fu(){Rs=Ls.current,Co(Ls)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Ts)for(n=Ts.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Lo();break;case 3:ia(),Co(jo),Co(Oo),da();break;case 5:la(r);break;case 4:ia();break;case 13:case 19:Co(sa);break;case 10:ki(r.type._context);break;case 22:case 23:fu()}n=n.return}if(js=e,Ts=e=Lu(e.current,null),Ms=Rs=t,Is=0,Ds=null,Ns=zs=Fs=0,Hs=Bs=null,null!==Pi){for(t=0;t<Pi.length;t++)if(null!==(r=(n=Pi[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Pi=null}return e}function hu(e,t){for(;;){var n=Ts;try{if(Si(),fa.current=al,ya){for(var r=ma.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ya=!1}if(ha=0,ga=va=ma=null,ba=!1,xa=0,Ps.current=null,null===n||null===n.return){Is=1,Ds=t,Ts=null;break}e:{var a=e,l=n.return,s=n,u=t;if(t=Ms,s.flags|=32768,null!==u&&"object"===typeof u&&"function"===typeof u.then){var c=u,d=s,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gl(l);if(null!==h){h.flags&=-257,yl(h,l,s,0,t),1&h.mode&&vl(a,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(u),t.updateQueue=v}else m.add(u);break e}if(0===(1&t)){vl(a,c,t),vu();break e}u=Error(i(426))}else if(ii&&1&s.mode){var g=gl(l);if(null!==g){0===(65536&g.flags)&&(g.flags|=256),yl(g,l,s,0,t),mi(cl(u,s));break e}}a=u=cl(u,s),4!==Is&&(Is=2),null===Bs?Bs=[a]:Bs.push(a),a=l;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Fi(a,hl(0,u,t));break e;case 1:s=u;var y=a.type,b=a.stateNode;if(0===(128&a.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===$s||!$s.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Fi(a,ml(a,s,t));break e}}a=a.return}while(null!==a)}wu(n)}catch(x){t=x,Ts===n&&null!==n&&(Ts=n=n.return);continue}break}}function mu(){var e=Cs.current;return Cs.current=al,null===e?al:e}function vu(){0!==Is&&3!==Is&&2!==Is||(Is=4),null===js||0===(268435455&Fs)&&0===(268435455&zs)||su(js,Ms)}function gu(e,t){var n=Os;Os|=2;var r=mu();for(js===e&&Ms===t||(Us=null,pu(e,t));;)try{yu();break}catch(o){hu(e,o)}if(Si(),Os=n,Cs.current=r,null!==Ts)throw Error(i(261));return js=null,Ms=0,Is}function yu(){for(;null!==Ts;)xu(Ts)}function bu(){for(;null!==Ts&&!Xe();)xu(Ts)}function xu(e){var t=As(e.alternate,e,Rs);e.memoizedProps=e.pendingProps,null===t?wu(e):Ts=t,Ps.current=null}function wu(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Kl(n,t,Rs)))return void(Ts=n)}else{if(null!==(n=Xl(n,t)))return n.flags&=32767,void(Ts=n);if(null===e)return Is=6,void(Ts=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ts=t);Ts=t=e}while(null!==t);0===Is&&(Is=5)}function Su(e,t,n){var r=bt,o=_s.transition;try{_s.transition=null,bt=1,function(e,t,n,r){do{ku()}while(null!==Xs);if(0!==(6&Os))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===js&&(Ts=js=null,Ms=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Ks||(Ks=!0,ju(tt,(function(){return ku(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=_s.transition,_s.transition=null;var l=bt;bt=1;var s=Os;Os|=4,Ps.current=null,function(e,t){if(eo=Ut,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(w){n=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(s=l+o),f!==a||0!==r&&3!==f.nodeType||(u=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===o&&(s=l),p===a&&++d===r&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Ut=!1,Jl=t;null!==Jl;)if(e=(t=Jl).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Jl=e;else for(;null!==Jl;){t=Jl;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var v=m.memoizedProps,g=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:gi(t.type,v),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(i(163))}}catch(w){Eu(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Jl=e;break}Jl=t.return}m=ns,ns=!1}(e,n),gs(n,e),hr(to),Ut=!!eo,to=eo=null,e.current=n,bs(n,e,o),Ye(),Os=s,bt=l,_s.transition=a}else e.current=n;if(Ks&&(Ks=!1,Xs=e,Ys=o),a=e.pendingLanes,0===a&&($s=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),ou(e,Qe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(qs)throw qs=!1,e=Gs,Gs=null,e;0!==(1&Ys)&&0!==e.tag&&ku(),a=e.pendingLanes,0!==(1&a)?e===Zs?Qs++:(Qs=0,Zs=e):Qs=0,Vo()}(e,t,n,r)}finally{_s.transition=o,bt=r}return null}function ku(){if(null!==Xs){var e=xt(Ys),t=_s.transition,n=bt;try{if(_s.transition=null,bt=16>e?16:e,null===Xs)var r=!1;else{if(e=Xs,Xs=null,Ys=0,0!==(6&Os))throw Error(i(331));var o=Os;for(Os|=4,Jl=e.current;null!==Jl;){var a=Jl,l=a.child;if(0!==(16&Jl.flags)){var s=a.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Jl=c;null!==Jl;){var d=Jl;switch(d.tag){case 0:case 11:case 15:rs(8,d,a)}var f=d.child;if(null!==f)f.return=d,Jl=f;else for(;null!==Jl;){var p=(d=Jl).sibling,h=d.return;if(as(d),d===c){Jl=null;break}if(null!==p){p.return=h,Jl=p;break}Jl=h}}}var m=a.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Jl=a}}if(0!==(2064&a.subtreeFlags)&&null!==l)l.return=a,Jl=l;else e:for(;null!==Jl;){if(0!==(2048&(a=Jl).flags))switch(a.tag){case 0:case 11:case 15:rs(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Jl=y;break e}Jl=a.return}}var b=e.current;for(Jl=b;null!==Jl;){var x=(l=Jl).child;if(0!==(2064&l.subtreeFlags)&&null!==x)x.return=l,Jl=x;else e:for(l=b;null!==Jl;){if(0!==(2048&(s=Jl).flags))try{switch(s.tag){case 0:case 11:case 15:os(9,s)}}catch(S){Eu(s,s.return,S)}if(s===l){Jl=null;break e}var w=s.sibling;if(null!==w){w.return=s.return,Jl=w;break e}Jl=s.return}}if(Os=o,Vo(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(S){}r=!0}return r}finally{bt=n,_s.transition=t}}return!1}function Au(e,t,n){e=Ii(e,t=hl(0,t=cl(n,t),1),1),t=tu(),null!==e&&(gt(e,1,t),ou(e,t))}function Eu(e,t,n){if(3===e.tag)Au(e,e,n);else for(;null!==t;){if(3===t.tag){Au(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===$s||!$s.has(r))){t=Ii(t,e=ml(t,e=cl(n,e),1),1),e=tu(),null!==t&&(gt(t,1,e),ou(t,e));break}}t=t.return}}function Cu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,js===e&&(Ms&n)===n&&(4===Is||3===Is&&(130023424&Ms)===Ms&&500>Qe()-Ws?pu(e,0):Ns|=n),ou(e,t)}function Pu(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=ji(e,t))&&(gt(e,t,n),ou(e,n))}function _u(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Pu(e,n)}function Ou(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Pu(e,n)}function ju(e,t){return $e(e,t)}function Tu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Mu(e,t,n,r){return new Tu(e,t,n,r)}function Ru(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Lu(e,t){var n=e.alternate;return null===n?((n=Mu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Iu(e,t,n,r,o,a){var l=2;if(r=e,"function"===typeof e)Ru(e)&&(l=1);else if("string"===typeof e)l=5;else e:switch(e){case k:return Du(n.children,o,a,t);case A:l=8,o|=8;break;case E:return(e=Mu(12,n,t,2|o)).elementType=E,e.lanes=a,e;case O:return(e=Mu(13,n,t,o)).elementType=O,e.lanes=a,e;case j:return(e=Mu(19,n,t,o)).elementType=j,e.lanes=a,e;case R:return Fu(n,o,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case C:l=10;break e;case P:l=9;break e;case _:l=11;break e;case T:l=14;break e;case M:l=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Mu(l,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Du(e,t,n,r){return(e=Mu(7,e,r,t)).lanes=n,e}function Fu(e,t,n,r){return(e=Mu(22,e,r,t)).elementType=R,e.lanes=n,e.stateNode={isHidden:!1},e}function zu(e,t,n){return(e=Mu(6,e,null,t)).lanes=n,e}function Nu(e,t,n){return(t=Mu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Hu(e,t,n,r,o,i,a,l,s){return e=new Bu(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Mu(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mi(i),e}function Wu(e){if(!e)return _o;e:{if(We(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ro(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Ro(n))return Do(e,n,t)}return t}function Vu(e,t,n,r,o,i,a,l,s){return(e=Hu(n,r,!0,e,0,i,0,l,s)).context=Wu(null),n=e.current,(i=Li(r=tu(),o=nu(n))).callback=void 0!==t&&null!==t?t:null,Ii(n,i,o),e.current.lanes=o,gt(e,o,r),ou(e,r),e}function Uu(e,t,n,r){var o=t.current,i=tu(),a=nu(o);return n=Wu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Li(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ii(o,t,a))&&(ru(e,o,a,i),Di(e,o,a)),a}function qu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Gu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function $u(e,t){Gu(e,t),(e=e.alternate)&&Gu(e,t)}As=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||jo.current)xl=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return xl=!1,function(e,t,n){switch(t.tag){case 3:jl(t),hi();break;case 5:aa(t);break;case 1:Ro(t.type)&&Fo(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Po(yi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Po(sa,1&sa.current),t.flags|=128,null):0!==(n&t.child.childLanes)?zl(e,t,n):(Po(sa,1&sa.current),null!==(e=ql(e,t,n))?e.sibling:null);Po(sa,1&sa.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Vl(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Po(sa,sa.current),r)break;return null;case 22:case 23:return t.lanes=0,El(e,t,n)}return ql(e,t,n)}(e,t,n);xl=0!==(131072&e.flags)}else xl=!1,ii&&0!==(1048576&t.flags)&&ei(t,$o,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ul(e,t),e=t.pendingProps;var o=Mo(t,Oo.current);Ei(t,n),o=Aa(null,t,r,e,o,n);var a=Ea();return t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ro(r)?(a=!0,Fo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Mi(t),o.updater=Wi,t.stateNode=o,o._reactInternals=t,Gi(t,r,e,n),t=Ol(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),wl(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ul(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return Ru(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===_)return 11;if(e===T)return 14}return 2}(r),e=gi(r,e),o){case 0:t=Pl(null,t,r,e,n);break e;case 1:t=_l(null,t,r,e,n);break e;case 11:t=Sl(null,t,r,e,n);break e;case 14:t=kl(null,t,r,gi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Pl(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 1:return r=t.type,o=t.pendingProps,_l(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 3:e:{if(jl(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Ri(e,t),zi(t,r,null,n);var l=t.memoizedState;if(r=l.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Tl(e,t,r,n,o=cl(Error(i(423)),t));break e}if(r!==o){t=Tl(e,t,r,n,o=cl(Error(i(424)),t));break e}for(oi=uo(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Zi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=ql(e,t,n);break e}wl(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&ci(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,no(r,o)?l=null:null!==a&&no(r,a)&&(t.flags|=32),Cl(e,t),wl(e,t,l,n),t.child;case 6:return null===e&&ci(t),null;case 13:return zl(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Qi(t,null,r,n):wl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Sl(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 7:return wl(e,t,t.pendingProps,n),t.child;case 8:case 12:return wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,l=o.value,Po(yi,r._currentValue),r._currentValue=l,null!==a)if(lr(a.value,l)){if(a.children===o.children&&!jo.current){t=ql(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){l=a.child;for(var u=s.firstContext;null!==u;){if(u.context===r){if(1===a.tag){(u=Li(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),Ai(a.return,n,t),s.lanes|=n;break}u=u.next}}else if(10===a.tag)l=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(l=a.return))throw Error(i(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Ai(l,n,t),l=a.sibling}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===t){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}wl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ei(t,n),r=r(o=Ci(o)),t.flags|=1,wl(e,t,r,n),t.child;case 14:return o=gi(r=t.type,t.pendingProps),kl(e,t,r,o=gi(r.type,o),n);case 15:return Al(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gi(r,o),Ul(e,t),t.tag=1,Ro(r)?(e=!0,Fo(t)):e=!1,Ei(t,n),Ui(t,r,o),Gi(t,r,o,n),Ol(null,t,r,!0,e,n);case 19:return Vl(e,t,n);case 22:return El(e,t,n)}throw Error(i(156,t.tag))};var Ku="function"===typeof reportError?reportError:function(e){console.error(e)};function Xu(e){this._internalRoot=e}function Yu(e){this._internalRoot=e}function Qu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ju(){}function ec(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"===typeof o){var l=o;o=function(){var e=qu(a);l.call(e)}}Uu(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"===typeof r){var i=r;r=function(){var e=qu(a);i.call(e)}}var a=Vu(t,r,e,0,null,!1,0,"",Ju);return e._reactRootContainer=a,e[mo]=a.current,Wr(8===e.nodeType?e.parentNode:e),du(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var l=r;r=function(){var e=qu(s);l.call(e)}}var s=Hu(e,0,!1,null,0,!1,0,"",Ju);return e._reactRootContainer=s,e[mo]=s.current,Wr(8===e.nodeType?e.parentNode:e),du((function(){Uu(t,s,n,r)})),s}(n,t,e,o,r);return qu(a)}Yu.prototype.render=Xu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Uu(e,t,null,null)},Yu.prototype.unmount=Xu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du((function(){Uu(null,e,null,null)})),t[mo]=null}},Yu.prototype.unstable_scheduleHydration=function(e){if(e){var t=At();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Rt.length&&0!==t&&t<Rt[n].priority;n++);Rt.splice(n,0,e),0===n&&Ft(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),ou(t,Qe()),0===(6&Os)&&(Vs=Qe()+500,Vo()))}break;case 13:du((function(){var t=ji(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}})),$u(e,1)}},St=function(e){if(13===e.tag){var t=ji(e,134217728);if(null!==t)ru(t,e,134217728,tu());$u(e,134217728)}},kt=function(e){if(13===e.tag){var t=nu(e),n=ji(e,t);if(null!==n)ru(n,e,t,tu());$u(e,t)}},At=function(){return bt},Et=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Se=function(e,t,n){switch(t){case"input":if(Z(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=So(r);if(!o)throw Error(i(90));$(r),Z(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},_e=cu,Oe=du;var tc={usingClientEntryPoint:!1,Events:[xo,wo,So,Ce,Pe,cu]},nc={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=qe(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var oc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oc.isDisabled&&oc.supportsFiber)try{ot=oc.inject(rc),it=oc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qu(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Qu(e))throw Error(i(299));var n=!1,r="",o=Ku;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Hu(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,Wr(8===e.nodeType?e.parentNode:e),new Xu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=qe(t))?null:e.stateNode},t.flushSync=function(e){return du(e)},t.hydrate=function(e,t,n){if(!Zu(t))throw Error(i(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Qu(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",l=Ku;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Vu(t,null,e,1,null!=n?n:null,o,0,a,l),e[mo]=t.current,Wr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Yu(t)},t.render=function(e,t,n){if(!Zu(t))throw Error(i(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zu(e))throw Error(i(40));return!!e._reactRootContainer&&(du((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=cu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zu(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},4391:(e,t,n)=>{"use strict";var r=n(7950);t.H=r.createRoot,r.hydrateRoot},7950:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(2730)},5082:(e,t)=>{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case i:case l:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case v:case m:case s:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=l,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||w(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===v},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===l||e===a||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===g)},t.typeOf=w},2086:(e,t,n)=>{"use strict";e.exports=n(5082)},3819:(e,t,n)=>{"use strict";var r=n(5043),o=n(49),i=n(2086);function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,c=t.renderers[e.type];e.position||(e.position={start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}});var d=e.position.start,f=[e.type,d.line,d.column,u].join("-");if(!i.isValidElementType(c))throw new Error("Renderer for type `".concat(e.type,"` not defined or is not renderable"));var p=function(e,t,n,i,u,c){var d={key:t},f="string"===typeof i||i===r.Fragment;n.sourcePos&&e.position&&(d["data-sourcepos"]=function(e){return[e.start.line,":",e.start.column,"-",e.end.line,":",e.end.column].map(String).join("")}(e.position));n.rawSourcePos&&!f&&(d.sourcePosition=e.position);n.includeNodeIndex&&u.node&&u.node.children&&!f&&(d.index=u.node.children.indexOf(e),d.parentChildCount=u.node.children.length);var p=null!==e.identifier&&void 0!==e.identifier?n.definitions[e.identifier.toUpperCase()]||{}:null;switch(e.type){case"root":l(d,{className:n.className});break;case"text":d.nodeKey=t,d.children=e.value;break;case"heading":d.level=e.depth;break;case"list":d.start=e.start,d.ordered=e.ordered,d.spread=e.spread,d.depth=e.depth;break;case"listItem":d.checked=e.checked,d.spread=e.spread,d.ordered=e.ordered,d.index=e.index,d.children=function(e,t){var n=t&&t.node?function(e){var t=e.children,n=e.spread,r=-1;for(;!n&&++r<t.length;)n=s(t[r]);return n}(t.node):s(e);return n?e.children:function(e){return e.children.reduce((function(e,t){return e.concat("paragraph"===t.type?t.children:[t])}),[])}(e)}(e,u).map((function(t,r){return a(t,n,{node:e,props:d},r)}));break;case"definition":l(d,{identifier:e.identifier,title:e.title,url:e.url});break;case"code":l(d,{language:e.lang&&e.lang.split(/\s/,1)[0]});break;case"inlineCode":d.children=e.value,d.inline=!0;break;case"link":l(d,{title:e.title||void 0,target:"function"===typeof n.linkTarget?n.linkTarget(e.url,e.children,e.title):n.linkTarget,href:n.transformLinkUri?n.transformLinkUri(e.url,e.children,e.title):e.url});break;case"image":l(d,{src:n.transformImageUri?n.transformImageUri(e.url,e.children,e.title,e.alt):e.url,alt:e.alt||"",title:e.title||void 0});break;case"linkReference":l(d,o(p,{href:n.transformLinkUri?n.transformLinkUri(p.href):p.href}));break;case"imageReference":l(d,{src:n.transformImageUri&&p.href?n.transformImageUri(p.href,e.children,p.title,e.alt):p.href,alt:e.alt||"",title:p.title||void 0});break;case"table":case"tableHead":case"tableBody":d.columnAlignment=e.align;break;case"tableRow":d.isHeader="tableHead"===u.node.type,d.columnAlignment=u.props.columnAlignment;break;case"tableCell":l(d,{isHeader:u.props.isHeader,align:u.props.columnAlignment[c]});break;case"virtualHtml":d.tag=e.tag;break;case"html":d.isBlock=e.position.start.line!==e.position.end.line,d.allowDangerousHtml=n.allowDangerousHtml,d.escapeHtml=n.escapeHtml,d.skipHtml=n.skipHtml;break;case"parsedHtml":var h;e.children&&(h=e.children.map((function(t,r){return a(t,n,{node:e,props:d},r)}))),d.allowDangerousHtml=n.allowDangerousHtml,d.escapeHtml=n.escapeHtml,d.skipHtml=n.skipHtml,d.element=e.element?function(e,t){var n=e.element;if(Array.isArray(n)){var o=r.Fragment||"div";return r.createElement(o,null,n)}if(n.props.children||t){var i=r.Children.toArray(n.props.children).concat(t);return r.cloneElement(n,null,i)}return r.cloneElement(n,null)}(e,h):null;break;default:l(d,o(e,{type:void 0,position:void 0,children:void 0}))}!f&&e.value&&(d.value=e.value);f||(d.node=e);return d}(e,f,t,c,n,u);return r.createElement(c,p,p.children||e.children&&e.children.map((function(n,r){return a(n,t,{node:e,props:p},r)}))||void 0)}function l(e,t){for(var n in t)"undefined"!==typeof t[n]&&(e[n]=t[n])}function s(e){var t=e.spread;return void 0===t||null===t?e.children.length>1:t}e.exports=a},6392:(e,t,n)=>{"use strict";var r=n(4910);e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r(e,"definition",(function(e){var n=e.identifier.toUpperCase();n in t||(t[n]={href:e.url,title:e.title})})),t}},5520:(e,t,n)=>{"use strict";var r=n(4910),o=[].splice;function i(e,t){return function(e){return r(e,n),e};function n(n,r,i){if(i&&!e(n,r,i)){var a=[r,1];return"unwrap"===t&&n.children&&(a=a.concat(n.children)),o.apply(i.children,a),r}}}t.ofType=function(e,t){return i((function(t,n,r){return!e.includes(t.type)}),t)},t.ifNotMatch=i},1111:(e,t,n)=>{"use strict";var r=n(4910),o="virtualHtml",i=/^<(area|base|br|col|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\s*\/?>$/i,a=/^<(\/?)([a-z]+)\s*>$/;e.exports=function(e){var t,n;return r(e,"html",(function(e,r,l){n!==l&&(t=[],n=l);var s=function(e){var t=e.value.match(i);return!!t&&t[1]}(e);if(s)return l.children.splice(r,1,{type:o,tag:s,position:e.position}),!0;var u=function(e,t){var n=e.value.match(a);return!!n&&{tag:n[2],opening:!n[1],node:e}}(e);if(!u)return!0;var c=function(e,t){var n=e.length;for(;n--;)if(e[n].tag===t)return e.splice(n,1)[0];return!1}(t,u.tag);return c?l.children.splice(r,0,function(e,t,n){var r=n.children.indexOf(e.node),i=n.children.indexOf(t.node),a=n.children.splice(r,i-r+1),l=a.slice(1,-1);return{type:o,children:l,tag:e.tag,position:{start:e.node.position.start,end:t.node.position.end,indent:[]}}}(u,c,l)):u.opening||t.push(u),!0}),!0),e}},2604:(e,t,n)=>{"use strict";var r=n(49),o=n(7078),i=n(4370),a=n(5173),l=n(5694),s=n(1111),u=n(5520),c=n(3819),d=n(9786),f=n(6392),p=n(1435),h=n(7239),m=n(8282),v=Object.keys(h),g=function(e){var t=e.source||e.children||"";if(e.allowedTypes&&e.disallowedTypes)throw new Error("Only one of `allowedTypes` and `disallowedTypes` should be defined");var n=r(h,e.renderers),a=o().use(i).use(e.plugins||[]),p=a.runSync(a.parse(t)),g=r(e,{renderers:n,definitions:f(p)});return function(e){var t=[d,l()],n=e.disallowedTypes;e.allowedTypes&&(n=v.filter((function(t){return"root"!==t&&-1===e.allowedTypes.indexOf(t)})));var r=e.unwrapDisallowed?"unwrap":"remove";n&&n.length>0&&t.push(u.ofType(n,r));e.allowNode&&t.push(u.ifNotMatch(e.allowNode,r));var o=(e.allowDangerousHtml||!1===e.escapeHtml)&&!e.skipHtml,i=(e.astPlugins||[]).some((function(e){return e.identity===m.HtmlParser}));o&&!i&&t.push(s);e.astPlugins&&(t=t.concat(e.astPlugins));return t.push(c),t}(e).forEach((function(e){p=e(p,g)})),p};g.defaultProps={transformLinkUri:p},g.propTypes={className:a.string,source:a.string,children:a.string,sourcePos:a.bool,rawSourcePos:a.bool,escapeHtml:a.bool,allowDangerousHtml:a.bool,skipHtml:a.bool,allowNode:a.func,allowedTypes:a.arrayOf(a.oneOf(v)),disallowedTypes:a.arrayOf(a.oneOf(v)),transformLinkUri:a.oneOfType([a.func,a.bool]),linkTarget:a.oneOfType([a.func,a.string]),transformImageUri:a.func,astPlugins:a.arrayOf(a.func),unwrapDisallowed:a.bool,renderers:a.object,plugins:a.array},g.types=v,g.renderers=h,g.uriTransformer=p,e.exports=g},7239:(e,t,n)=>{"use strict";var r=n(49),o=n(5043),i=parseInt((o.version||"16").slice(0,2),10)>=16,a=o.createElement;function l(e,t){return a(e,s(t),t.children)}function s(e){var t=e["data-sourcepos"];return t?{"data-sourcepos":t}:{}}e.exports={break:"br",paragraph:"p",emphasis:"em",strong:"strong",thematicBreak:"hr",blockquote:"blockquote",delete:"del",link:"a",image:"img",linkReference:"a",imageReference:"img",table:l.bind(null,"table"),tableHead:l.bind(null,"thead"),tableBody:l.bind(null,"tbody"),tableRow:l.bind(null,"tr"),tableCell:function(e){var t=e.align?{textAlign:e.align}:void 0,n=s(e);return a(e.isHeader?"th":"td",t?r({style:t},n):n,e.children)},root:function(e){var t=e.className,n=!t&&o.Fragment||"div";return a(n,t?{className:t}:null,e.children)},text:function(e){var t=e.children||"";return i?t:a("span",null,t)},list:function(e){var t=s(e);null!==e.start&&1!==e.start&&void 0!==e.start&&(t.start=e.start.toString());return a(e.ordered?"ol":"ul",t,e.children)},listItem:function(e){var t=null;if(null!==e.checked&&void 0!==e.checked){var n=e.checked;t=a("input",{type:"checkbox",checked:n,readOnly:!0})}return a("li",s(e),t,e.children)},definition:function(){return null},heading:function(e){return a("h".concat(e.level),s(e),e.children)},inlineCode:function(e){return a("code",s(e),e.children)},code:function(e){var t=e.language&&"language-".concat(e.language),n=a("code",t?{className:t}:null,e.value);return a("pre",s(e),n)},html:function(e){if(e.skipHtml)return null;var t=e.allowDangerousHtml||!1===e.escapeHtml,n=e.isBlock?"div":"span";if(!t)return a(o.Fragment||n,null,e.value);var r={dangerouslySetInnerHTML:{__html:e.value}};return a(n,r)},virtualHtml:function(e){return a(e.tag,s(e),e.children)},parsedHtml:function(e){return e["data-sourcepos"]?o.cloneElement(e.element,{"data-sourcepos":e["data-sourcepos"]}):e.element}}},8282:(e,t)=>{"use strict";var n="__RMD_HTML_PARSER__";t.HtmlParser="undefined"===typeof Symbol?n:Symbol(n)},1435:e=>{"use strict";var t=["http","https","mailto","tel"];e.exports=function(e){var n=(e||"").trim(),r=n.charAt(0);if("#"===r||"/"===r)return n;var o=n.indexOf(":");if(-1===o)return n;for(var i=t.length,a=-1;++a<i;){var l=t[a];if(o===l.length&&n.slice(0,l.length).toLowerCase()===l)return n}return-1!==(a=n.indexOf("?"))&&o>a||-1!==(a=n.indexOf("#"))&&o>a?n:"javascript:void(0)"}},9786:(e,t,n)=>{"use strict";var r=n(4910);function o(e){var t=e.children;e.children=[{type:"tableHead",align:e.align,children:[t[0]],position:t[0].position}],t.length>1&&e.children.push({type:"tableBody",align:e.align,children:t.slice(1),position:{start:t[1].position.start,end:t[t.length-1].position.end}})}e.exports=function(e){return r(e,"table",o),e}},9998:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v});var r=n(8587),o=n(5540),i=n(5043),a=n(7950);const l=!1;var s=n(8726),u="unmounted",c="exited",d="entering",f="entered",p="exiting",h=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=c,r.appearStatus=d):o=f:o=t.unmountOnExit||t.mountOnEnter?u:c,r.state={status:o},r.nextCallback=null,r}(0,o.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:c}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==d&&n!==f&&(t=d):n!==d&&n!==f||(t=p)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===d){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:u})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[a.findDOMNode(this),r],i=o[0],s=o[1],u=this.getTimeouts(),c=r?u.appear:u.enter;!e&&!n||l?this.safeSetState({status:f},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,s),this.safeSetState({status:d},(function(){t.props.onEntering(i,s),t.onTransitionEnd(c,(function(){t.safeSetState({status:f},(function(){t.props.onEntered(i,s)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:a.findDOMNode(this);t&&!l?(this.props.onExit(r),this.safeSetState({status:p},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:c},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:c},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],l=o[1];this.props.addEndListener(i,l)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(s.A.Provider,{value:null},"function"===typeof n?n(e,o):i.cloneElement(i.Children.only(n),o))},t}(i.Component);function m(){}h.contextType=s.A,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:m,onEntering:m,onEntered:m,onExit:m,onExiting:m,onExited:m},h.UNMOUNTED=u,h.EXITED=c,h.ENTERING=d,h.ENTERED=f,h.EXITING=p;const v=h},8726:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(5043).createContext(null)},1153:(e,t,n)=>{"use strict";var r=n(5043),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,i={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!s.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:i,_owner:l.current}}t.Fragment=i,t.jsx=u,t.jsxs=u},4202:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var x=b.prototype=new y;x.constructor=b,m(x,g.prototype),x.isPureReactComponent=!0;var w=Array.isArray,S=Object.prototype.hasOwnProperty,k={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var o,i={},a=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,o)&&!A.hasOwnProperty(o)&&(i[o]=t[o]);var s=arguments.length-2;if(1===s)i.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(o in s=e.defaultProps)void 0===i[o]&&(i[o]=s[o]);return{$$typeof:n,type:e,key:a,ref:l,props:i,_owner:k.current}}function C(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var P=/\/+/g;function _(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(e,t,o,i,a){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return a=a(s=e),e=""===i?"."+_(s,0):i,w(a)?(o="",null!=e&&(o=e.replace(P,"$&/")+"/"),O(a,t,o,"",(function(e){return e}))):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(P,"$&/")+"/")+e)),t.push(a)),1;if(s=0,i=""===i?".":i+":",w(e))for(var u=0;u<e.length;u++){var c=i+_(l=e[u],u);s+=O(l,t,o,c,a)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=O(l=l.value,t,o,c=i+_(l,u++),a);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function j(e,t,n){if(null==e)return e;var r=[],o=0;return O(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function T(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},R={transition:null},L={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:R,ReactCurrentOwner:k};t.Children={map:j,forEach:function(e,t,n){j(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return j(e,(function(){t++})),t},toArray:function(e){return j(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=o,t.Profiler=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),i=e.key,a=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,l=k.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)S.call(t,u)&&!A.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=R.transition;R.transition={};try{e()}finally{R.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return M.current.useCallback(e,t)},t.useContext=function(e){return M.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return M.current.useDeferredValue(e)},t.useEffect=function(e,t){return M.current.useEffect(e,t)},t.useId=function(){return M.current.useId()},t.useImperativeHandle=function(e,t,n){return M.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return M.current.useMemo(e,t)},t.useReducer=function(e,t,n){return M.current.useReducer(e,t,n)},t.useRef=function(e){return M.current.useRef(e)},t.useState=function(e){return M.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return M.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return M.current.useTransition()},t.version="18.2.0"},5043:(e,t,n)=>{"use strict";e.exports=n(4202)},579:(e,t,n)=>{"use strict";e.exports=n(1153)},4370:(e,t,n)=>{"use strict";e.exports=function(e){var t=this;this.Parser=function(n){return r(n,Object.assign({},t.data("settings"),e,{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}};var r=n(3689)},5820:(e,t,n)=>{"use strict";n.d(t,{default:()=>A});var r=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),o="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i="undefined"!==typeof n.g&&n.g.Math===Math?n.g:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")(),a="function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var l=["top","right","bottom","left","width","height","size","weight"],s="undefined"!==typeof MutationObserver,u=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&s()}function l(){a(i)}function s(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(l,t);o=e}return s}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;l.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),c=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=y(0,0,0,0);function p(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+p(e["border-"+n+"-width"])}),0)}function m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var r=d(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=p(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,l=p(r.width),s=p(r.height);if("border-box"===r.boxSizing&&(Math.round(l+i)!==t&&(l-=h(r,"left","right")+i),Math.round(s+a)!==n&&(s-=h(r,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var u=Math.round(l+i)-t,c=Math.round(s+a)-n;1!==Math.abs(u)&&(l-=u),1!==Math.abs(c)&&(s-=c)}return y(o.left,o.top,l,s)}var v="undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"===typeof e.getBBox};function g(e){return o?v(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):m(e):f}function y(e,t,n,r){return{x:e,y:t,width:n,height:r}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),x=function(e,t){var n=function(e){var t=e.x,n=e.y,r=e.width,o=e.height,i="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(i.prototype);return c(a,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),a}(t);c(this,{target:e,contentRect:n})},w=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new x(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),S="undefined"!==typeof WeakMap?new WeakMap:new r,k=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=u.getInstance(),r=new w(t,n,this);S.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){k.prototype[e]=function(){var t;return(t=S.get(this))[e].apply(t,arguments)}}));const A="undefined"!==typeof i.ResizeObserver?i.ResizeObserver:k},289:function(e,t,n){"use strict";var r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,l=i.length;a<l;a++,o++)r[o]=i[a];return r};t.__esModule=!0,t.buildMethodCb=t.buildCb=t.getPrComplete=t.isRunning=t.cancelAllQueuedCalls=t.getQueuedCallCount=t.buildMethod=t.build=t.createGroupRef=void 0;var o=n(9632),i=function(){function e(){this.queuedCalls=[],this.isRunning=!1,this.prComplete=Promise.resolve()}return e.prototype.cancelAllQueuedCalls=function(){var e;return this.queuedCalls.splice(0,e=this.queuedCalls.length),e},e}(),a={},l=new o.Polyfill;function s(e,t){var n=l.get(e);n||(n=new o.Polyfill,l.set(e,n));var r=n.get(t);return r||(r=new i,n.set(t,r)),r}function u(){return new Array(0)}t.createGroupRef=u,t.build=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];switch(e.length){case 1:return f(!0,u(),e[0]);case 2:return f(!0,e[0],e[1])}},t.buildMethod=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];switch(e.length){case 1:return f(!1,u(),e[0]);case 2:return f(!1,e[0],e[1])}},t.getQueuedCallCount=function(e,t){var n=d(e,t);return n?n.queuedCalls.length:0},t.cancelAllQueuedCalls=function(e,t){var n=d(e,t);return n?n.cancelAllQueuedCalls():0},t.isRunning=function(e,t){var n=d(e,t);return!!n&&n.isRunning},t.getPrComplete=function(e,t){var n=d(e,t);return n?n.prComplete:Promise.resolve()};var c=new o.Polyfill;function d(e,t){void 0===t&&(t=a);var n=c.get(e);if(!n)throw Error("Not a run exclusiveFunction");var r=l.get(t);if(r)return r.get(n)}function f(e,t,n){var r,o=function(){for(var o=this,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(!e){if(!(this instanceof Object))throw new Error("Run exclusive, <this> should be an object");r=s(this,t)}return new Promise((function(e,t){var a;r.prComplete=new Promise((function(e){return a=function(){return e()}}));var l=function(n){a(),r.isRunning=!1,r.queuedCalls.length&&r.queuedCalls.shift()(),"data"in n?e(n.data):t(n.reason)};(function e(){for(var t=this,o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(r.isRunning)r.queuedCalls.push((function(){return e.apply(t,o)}));else{r.isRunning=!0;try{n.apply(this,o).then((function(e){return l({data:e})})).catch((function(e){return l({reason:e})}))}catch(a){l({reason:a})}}}).apply(o,i)}))};return e&&(r=s(a,t)),c.set(o,t),o}function p(e,t,n){var o,i=function(){for(var i=this,a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];if(!e){if(!(this instanceof Object))throw new Error("Run exclusive, <this> should be an object");o=s(this,t)}var u,c=void 0;a.length&&"function"===typeof a[a.length-1]&&(c=a.pop()),o.prComplete=new Promise((function(e){return u=function(){return e()}}));var d=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];u(),o.isRunning=!1,o.queuedCalls.length&&o.queuedCalls.shift()(),c&&c.apply(i,e)};d.hasCallback=!!c,function e(){for(var t=this,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(o.isRunning)o.queuedCalls.push((function(){return e.apply(t,i)}));else{o.isRunning=!0;try{n.apply(this,r(i,[d]))}catch(l){throw l.message+=" ( This exception should not have been thrown, miss use of run-exclusive buildCb )",l}}}.apply(this,a)};return e&&(o=s(a,t)),c.set(i,t),i}t.buildCb=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];switch(e.length){case 1:return p(!0,u(),e[0]);case 2:return p(!0,e[0],e[1])}},t.buildMethodCb=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];switch(e.length){case 1:return p(!1,u(),e[0]);case 2:return p(!1,e[0],e[1])}}},7234:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>i(s,n))u<o&&0>i(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<o&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,f=null,p=3,h=!1,m=!1,v=!1,g="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function x(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function w(e){if(v=!1,x(e),!m)if(null!==r(u))m=!0,R(S);else{var t=r(c);null!==t&&L(w,t.startTime-e)}}function S(e,n){m=!1,v&&(v=!1,y(C),C=-1),h=!0;var i=p;try{for(x(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!O());){var a=f.callback;if("function"===typeof a){f.callback=null,p=f.priorityLevel;var l=a(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?f.callback=l:f===r(u)&&o(u),x(n)}else o(u);f=r(u)}if(null!==f)var s=!0;else{var d=r(c);null!==d&&L(w,d.startTime-n),s=!1}return s}finally{f=null,p=i,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,A=!1,E=null,C=-1,P=5,_=-1;function O(){return!(t.unstable_now()-_<P)}function j(){if(null!==E){var e=t.unstable_now();_=e;var n=!0;try{n=E(!0,e)}finally{n?k():(A=!1,E=null)}}else A=!1}if("function"===typeof b)k=function(){b(j)};else if("undefined"!==typeof MessageChannel){var T=new MessageChannel,M=T.port2;T.port1.onmessage=j,k=function(){M.postMessage(null)}}else k=function(){g(j,0)};function R(e){E=e,A||(A=!0,k())}function L(e,n){C=g((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,R(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(e.sortIndex=i,n(c,e),null===r(u)&&e===r(c)&&(v?(y(C),C=-1):v=!0,L(w,i-a))):(e.sortIndex=l,n(u,e),m||h||(m=!0,R(S))),e},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},8853:(e,t,n)=>{"use strict";e.exports=n(7234)},9849:(e,t,n)=>{"use strict";var r=n(7199),o=Array.prototype.concat,i=Array.prototype.slice,a=e.exports=function(e){for(var t=[],n=0,a=e.length;n<a;n++){var l=e[n];r(l)?t=o.call(t,i.call(l)):t.push(l)}return t};a.wrap=function(e){return function(){return e(a(arguments))}}},7199:e=>{e.exports=function(e){return!(!e||"string"===typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},4276:e=>{"use strict";e.exports=2147483647},2972:(e,t,n)=>{"use strict";var r=n(9818),o=n(4276);e.exports=function(e){if((e=r(e))>o)throw new TypeError(e+" exceeds maximum possible timeout");return e}},3657:(e,t,n)=>{"use strict";var r=n(4017);e.exports=i,i.wrap=r;var o=[].slice;function i(){var e=[],t={run:function(){var t=-1,n=o.call(arguments,0,-1),i=arguments[arguments.length-1];if("function"!==typeof i)throw new Error("Expected function as last argument, not "+i);(function a(l){var s=e[++t],u=o.call(arguments,0).slice(1),c=n.length,d=-1;if(l)i(l);else{for(;++d<c;)null!==u[d]&&void 0!==u[d]||(u[d]=n[d]);n=u,s?r(s,a).apply(null,n):i.apply(null,[null].concat(n))}}).apply(null,[null].concat(n))},use:function(n){if("function"!==typeof n)throw new Error("Expected `fn` to be a function, not "+n);return e.push(n),t}};return t}},4017:e=>{"use strict";var t=[].slice;e.exports=function(e,n){var r;return function(){var n,a=t.call(arguments,0),l=e.length>a.length;l&&a.push(o);try{n=e.apply(null,a)}catch(s){if(l&&r)throw s;return o(s)}l||(n&&"function"===typeof n.then?n.then(i,o):n instanceof Error?o(n):i(n))};function o(){r||(r=!0,n.apply(null,arguments))}function i(e){o(null,e)}}},9820:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Reflect=void 0,t.Reflect=function(){return null}},2719:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__read||function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.assert=t.AssertionError=void 0;var i=n(7695),a=n(9402),l=function(e){function t(t){var n=this.constructor,r=e.call(this,"Wrong assertion encountered"+(t?': "'.concat(t,'"'):""))||this;if(Object.setPrototypeOf(r,n.prototype),!r.stack)return r;try{(0,i.overwriteReadonlyProp)(r,"stack",r.stack.split("\n").filter((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=o(e,2)[1];return 1!==n&&2!==n})).join("\n"))}catch(a){}return r}return r(t,e),t}(Error);t.AssertionError=l,t.assert=function(e,t){if(0===arguments.length&&(e=!0),void 0===a.assertIsRefWrapper.ref){if(!e)throw new l(t)}else a.assertIsRefWrapper.ref=void 0}},2227:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=void 0,t.capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},8251:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exclude=void 0,t.exclude=function(e){var t=e instanceof Object?function(t){return e.indexOf(t)<0}:function(t){return t!==e};return function(e){return t(e)}}},3106:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flip=void 0,t.flip=function(e,t){if(void 0!==e[t])return e[t]=!e[t]}},6428:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.id=void 0;t.id=function(e){return e}},3737:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(2719),t),o(n(8251),t),o(n(3106),t),o(n(6428),t),o(n(1091),t),o(n(1450),t),o(n(9288),t),o(n(4521),t),o(n(1668),t),o(n(9540),t),o(n(1860),t),o(n(9820),t),o(n(2227),t),o(n(1636),t)},4521:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.is=void 0;var r=n(9402),o=["Wrong usage of the ".concat(i.name," function refer to"),"https://docs.tsafe.dev/".concat(i.name.toLowerCase())].join(" ");function i(e){var t={};if(void 0!==r.assertIsRefWrapper.ref)throw r.assertIsRefWrapper.ref=void 0,new Error(o);return r.assertIsRefWrapper.ref=t,Promise.resolve().then((function(){if(r.assertIsRefWrapper.ref===t)throw new Error(o)})),null}t.is=i},1091:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromiseLike=void 0,t.isPromiseLike=function(e){return"object"===typeof e&&null!==e&&"then"in e&&"function"===typeof e.then}},7695:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.overwriteReadonlyProp=void 0;var o=n(2719),i=n(4521);t.overwriteReadonlyProp=function(e,t,n){try{e[t]=n}catch(s){}if(e[t]===n)return n;var a=void 0,l=Object.getOwnPropertyDescriptor(e,t)||{enumerable:!0,configurable:!0};if(l.get)throw new Error("Probably a wrong ides to overwrite ".concat(String(t)," getter"));try{Object.defineProperty(e,t,r(r({},l),{value:n}))}catch(u){(0,o.assert)((0,i.is)(u)),a=u}if(e[t]!==n)throw a||new Error("Can't assign");return n}},1860:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noUndefined=void 0,t.noUndefined=function(e){var t={};for(var n in e)void 0!==e[n]&&(t[n]=e[n]);return t}},1668:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.objectEntries=void 0,t.objectEntries=function(e){return Object.entries(e)}},9540:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.objectFromEntries=void 0,t.objectFromEntries=function(e){return Object.fromEntries(e)}},1450:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.objectKeys=void 0,t.objectKeys=function(e){return Object.keys(e)}},2748:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.symToStr=void 0,t.symToStr=function(e){return Object.keys(e)[0]}},9288:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.typeGuard=void 0,t.typeGuard=function(e,t){return t}},1636:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uncapitalize=void 0,t.uncapitalize=function(e){return e.charAt(0).toLowerCase()+e.slice(1)}},9402:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertIsRefWrapper=void 0;var r=n(6428);t.assertIsRefWrapper={ref:(0,r.id)(void 0)}},831:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(5043),o=n(3290);function i(e){const{styles:t}=e;return r.createElement(o.mL,{styles:o.AH(t)})}},8938:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalStyles:()=>h.k,TssCacheProvider:()=>r.g3,createMakeAndWithStyles:()=>m,createMakeStyles:()=>r.x6,createTss:()=>f.d,createWithStyles:()=>l,keyframes:()=>p.i7,tss:()=>v,useStyles:()=>g});var r=n(512),o=n(5043);function i(e){return e.charAt(0).toUpperCase()+e.slice(1)}var a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function l(e){const{useTheme:t,cache:n}=e,{makeStyles:l}=(0,r.x6)({useTheme:t,cache:n});function u(e,t,n){const r="string"===typeof e?(()=>{const t=e,n=function(e){var{children:n}=e,r=a(e,["children"]);return(0,o.createElement)(t,r,n)};return Object.defineProperty(n,"name",{value:i(t)}),n})():e,u=(()=>{{const{name:e}=null!==n&&void 0!==n?n:{};if(void 0!==e)return"object"!==typeof e?e:Object.keys(e)[0]}let e;{const t=r.displayName;"string"===typeof t&&""!==t&&(e=t)}e:{if(void 0!==e)break e;const t=r.name;"string"===typeof t&&""!==t&&(e=t)}if(void 0!==e)return e=e.replace(/\$/g,"usd"),e=e.replace(/\(/g,"_").replace(/\)/g,"_"),e=e.replace(/[^a-zA-Z0-9-_]/g,"_"),e})(),c=l(Object.assign(Object.assign({},n),{name:u}))("function"===typeof t?(e,n,r)=>d(t(e,n,r)):d(t));function f(e){for(const t in e)if("root"!==t)return!0;return!1}const p=(0,o.forwardRef)((function(t,n){const{className:i,classes:l}=t,u=a(t,["className","classes"]),{classes:d,cx:p}=c(t,{props:t}),h=p(d.root,i);return s.set(d,Object.assign(Object.assign({},d),{root:h})),o.createElement(r,Object.assign({ref:n,className:f(d)?i:h},"string"===typeof e?{}:{classes:d},u))}));return void 0!==u&&(p.displayName="".concat(i(u),"WithStyles"),Object.defineProperty(p,"name",{value:p.displayName})),p}return u.getClasses=c,{withStyles:u}}const s=new WeakMap,u="getClasses should only be used in conjunction with withStyles";function c(e){const t=e.classes;if(void 0===t)throw new Error(u);const n=s.get(t);if(void 0===n)throw new Error(u);return n}function d(e){const t={},n={};return Object.keys(e).forEach((r=>(r.startsWith("@media")?n:t)[r]=e[r])),Object.keys(n).forEach((e=>{const r=n[e];Object.keys(r).forEach((n=>{var o;return t[n]=Object.assign(Object.assign({},null!==(o=t[n])&&void 0!==o?o:{}),{[e]:r[n]})}))})),t}var f=n(117),p=n(3290),h=n(831);function m(e){return Object.assign(Object.assign({},(0,r.x6)(e)),l(e))}const{tss:v}=(0,f.d)({useContext:()=>({})}),g=v.create({})},2738:(e,t,n)=>{"use strict";n.d(t,{n:()=>c});var r=n(2332),o=n(3549);const i=e=>{const t=e.length;let n=0,a="";for(;n<t;n++){const t=e[n];if(null==t)continue;let l;switch(typeof t){case"boolean":break;case"object":if(Array.isArray(t))l=i(t);else{(0,r.v)(!(0,o.E)(t,!1)),l="";for(const e in t)t[e]&&e&&(l&&(l+=" "),l+=e)}break;default:l=t}l&&(a&&(a+=" "),a+=l)}return a};var a=n(2830),l=n(1722),s=n(5043);const{createCssAndCx:u}={createCssAndCx:function(e){const{cache:t}=e,n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];const o=(0,a.J)(n,t.registered);(0,l.sk)(t,o,!1);const i="".concat(t.key,"-").concat(o.name);{const e=n[0];(function(e){return e instanceof Object&&!("styles"in e)&&!("length"in e)&&!("__emotion_styles"in e)})(e)&&d.saveClassNameCSSObjectMapping(t,i,e)}return i};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];const a=i(r),s=d.fixClassName(t,a,n);return function(e,t,n){const r=[],o=(0,l.Rk)(e,r,n);return r.length<2?n:o+t(r)}(t.registered,n,s)}}}};function c(e){const{useCache:t}=e;return{useCssAndCx:function(){const e=t(),{css:n,cx:r}=function(e,t){const n=(0,s.useRef)();return(!n.current||t.length!==n.current.prevDeps.length||n.current.prevDeps.map(((e,n)=>e===t[n])).indexOf(!1)>=0)&&(n.current={v:e(),prevDeps:[...t]}),n.current.v}((()=>u({cache:e})),[e]);return{css:n,cx:r}}}}const d=(()=>{const e=new WeakMap;return{saveClassNameCSSObjectMapping:(t,n,r)=>{let o=e.get(t);void 0===o&&(o=new Map,e.set(t,o)),o.set(n,r)},fixClassName:(t,n,r)=>{const o=e.get(t);return i(function(e){let t=!1;return e.map((e=>{let n,[r,o]=e;if(void 0===o)return r;if(t)n={"&&":o};else{n=r;for(const e in o)if(e.startsWith("@media")){t=!0;break}}return n}))}(n.split(" ").map((e=>[e,null===o||void 0===o?void 0:o.get(e)]))).map((e=>"string"===typeof e?e:r(e))))}}})()},512:(e,t,n)=>{"use strict";n.d(t,{g3:()=>v,x6:()=>h,QS:()=>g});var r=n(5043),o=n(946),i=n(6813),a=n(2738),l=n(7615),s=n(3549),u=n(2332),c=n(2270);const d=e=>{let{classes:t,theme:n,muiStyleOverridesParams:o,css:i,cx:a,name:s}=e;var u,d;if("makeStyle no name"!==s){if(void 0!==o&&void 0===s)throw new Error("To use muiStyleOverridesParams, you must specify a name using .withName('MyComponent')")}else s=void 0;let f;try{f=void 0===s?void 0:(null===(d=null===(u=n.components)||void 0===u?void 0:u[s])||void 0===d?void 0:d.styleOverrides)||void 0}catch(h){}const p=(0,r.useMemo)((()=>{if(void 0===f)return;const e={};for(const t in f){const r=f[t];r instanceof Object&&(e[t]=i("function"===typeof r?r(Object.assign({theme:n,ownerState:null===o||void 0===o?void 0:o.ownerState},null===o||void 0===o?void 0:o.props)):r))}return e}),[f,(0,l.o)(null===o||void 0===o?void 0:o.props),(0,l.o)(null===o||void 0===o?void 0:o.ownerState),i]);return t=(0,r.useMemo)((()=>(0,c.z)(t,p,a)),[t,p,a]),{classes:t}};var f=n(5025);let p=0;function h(e){const{useTheme:t,cache:n}=e,{useCache:f}=g({cacheProvidedAtInception:n}),{useCssAndCx:h}=(0,a.n)({useCache:f});return{makeStyles:function(e){const{name:n,uniqId:a="".concat(p++)}=null!==e&&void 0!==e?e:{},m="object"!==typeof n?n:Object.keys(n)[0];return function(e){const n="function"===typeof e?e:()=>e;return function(e,p){const v=t();let{css:g,cx:y}=h();const b=f();let x=(0,r.useMemo)((()=>{const t={},r="undefined"!==typeof Proxy&&new Proxy({},{get:(e,n)=>("symbol"===typeof n&&(0,u.v)(!1),t[n]="".concat(b.key,"-").concat(a).concat(void 0!==m?"-".concat(m):"","-").concat(n,"-ref"))}),l=n(v,e,r||{}),c=(0,o.M)((0,i.u)(l).map((e=>{const n=l[e];return n.label||(n.label="".concat(void 0!==m?"".concat(m,"-"):"").concat(e)),[e,"".concat(g(n)).concat((0,s.E)(e,e in t)?" ".concat(t[e]):"")]})));return(0,i.u)(t).forEach((e=>{e in c||(c[e]=t[e])})),c}),[b,g,y,v,(0,l.o)(e)]);{const e=null===p||void 0===p?void 0:p.props.classes;x=(0,r.useMemo)((()=>(0,c.z)(x,e,y)),[x,(0,l.o)(e),y])}{const e=d({classes:x,css:g,cx:y,name:null!==m&&void 0!==m?m:"makeStyle no name",idOfUseStyles:a,muiStyleOverridesParams:p,theme:v});void 0!==e.classes&&(x=e.classes),void 0!==e.css&&(g=e.css),void 0!==e.cx&&(y=e.cx)}return{classes:x,theme:v,css:g,cx:y}}}},useStyles:function(){const e=t(),{css:n,cx:r}=h();return{theme:e,css:n,cx:r}}}}const m=(0,r.createContext)(void 0);function v(e){const{children:t,value:n}=e;return r.createElement(m.Provider,{value:n},t)}const{createUseCache:g}={createUseCache:function(e){const{cacheProvidedAtInception:t}=e;return{useCache:function(){var e;const n=(0,f._)(),o=(0,r.useContext)(m),i=null!==(e=null!==t&&void 0!==t?t:o)&&void 0!==e?e:n;if(null===i)throw new Error(["In order to get SSR working with tss-react you need to explicitly provide an Emotion cache.","MUI users be aware: This is not an error strictly related to tss-react, with or without tss-react,","MUI needs an Emotion cache to be provided for SSR to work.","Here is the MUI documentation related to SSR setup: https://mui.com/material-ui/guides/server-rendering/","TSS provides helper that makes the process of setting up SSR easier: https://docs.tss-react.dev/ssr"].join("\n"));return i}}}}},2270:(e,t,n)=>{"use strict";n.d(t,{z:()=>o});var r=n(6813);function o(e,t,n){if(!(t instanceof Object))return e;const o={};return(0,r.u)(e).forEach((r=>o[r]=n(e[r],t[r]))),(0,r.u)(t).forEach((n=>{if(n in e)return;const r=t[n];"string"===typeof r&&(o[n]=r)})),o}},2332:(e,t,n)=>{"use strict";function r(e,t){if(!e)throw new Error(t)}n.d(t,{v:()=>r})},7615:(e,t,n)=>{"use strict";function r(e){if(!(e instanceof Object)||"function"===typeof e)return e;const t=[];for(const n in e){const r=e[n],o=typeof r;if("string"!==o&&("number"!==o||isNaN(r))&&"boolean"!==o&&void 0!==r&&null!==r)return e;t.push("".concat(n,":").concat(o,"_").concat(r))}return"xSqLiJdLMd9s"+t.join("|")}n.d(t,{o:()=>r})},6813:(e,t,n)=>{"use strict";function r(e){return Object.keys(e)}n.d(t,{u:()=>r})},946:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});const r=Object.fromEntries?Object.fromEntries:e=>{if(!e||!e[Symbol.iterator])throw new Error("Object.fromEntries() requires a single iterable argument");const t={};return Object.keys(e).forEach((n=>{const[r,o]=e[n];t[r]=o})),t}},3549:(e,t,n)=>{"use strict";function r(e,t){return t}n.d(t,{E:()=>r})},117:(e,t,n)=>{"use strict";n.d(t,{d:()=>h});var r=n(5043),o=n(512),i=n(2738),a=n(2332),l=n(946),s=n(6813),u=n(3549),c=n(7615),d=n(2270);const f=(()=>{const e="object"===typeof document&&"function"===typeof(null===document||void 0===document?void 0:document.getElementById),t="undefined"!==typeof jest,n="undefined"!==typeof mocha,r="undefined"!==typeof __vitest_worker__;return!e&&!t&&!n&&!r})();var p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function h(e){const{useContext:t,usePlugin:n,cache:r}=e,{useCache:a}=(0,o.QS)({cacheProvidedAtInception:r}),{useCssAndCx:l}=(0,i.n)({useCache:a});return{tss:g({useContext:t,useCache:a,useCssAndCx:l,usePlugin:null!==n&&void 0!==n?n:e=>{let{classes:t,cx:n,css:r}=e;return{classes:t,cx:n,css:r}},name:void 0,doesUseNestedSelectors:!1})}}let m=0;const v=[];function g(e){const{useContext:t,useCache:n,useCssAndCx:o,usePlugin:i,name:h,doesUseNestedSelectors:y}=e;return{withParams:()=>g(Object.assign({},e)),withName:t=>g(Object.assign(Object.assign({},e),{name:"object"!==typeof t?t:Object.keys(t)[0]})),withNestedSelectors:()=>g(Object.assign(Object.assign({},e),{doesUseNestedSelectors:!0})),create:e=>{const g="x".concat(m++),b="function"===typeof e?e:()=>e;return function(e){var m,x,w;const S=null!==e&&void 0!==e?e:{},{classesOverrides:k}=S,A=p(S,["classesOverrides"]),E=t(),{css:C,cx:P}=o(),_=n();let O=(0,r.useMemo)((()=>{const t={},n=b(Object.assign(Object.assign(Object.assign({},e),E),y?{classes:"undefined"===typeof Proxy?{}:new Proxy({},{get:(e,n)=>{if("symbol"===typeof n&&(0,a.v)(!1),f){{let e=v.find((e=>e.name===h&&e.idOfUseStyles===g));void 0===e&&(e={name:h,idOfUseStyles:g,nestedSelectorRuleNames:new Set},v.push(e)),e.nestedSelectorRuleNames.add(n)}if(void 0!==v.find((e=>e.name===h&&e.idOfUseStyles!==g&&e.nestedSelectorRuleNames.has(n))))throw new Error(['tss-react: Duplicate nested selector "'.concat(n,'" detected in ').concat(void 0===h?'useStyles named "'.concat(h,'"'):"anonymous useStyles function","."),"In SSR setups, this may lead to CSS class name collisions, causing nested selectors to target elements outside of the intended scope.",'Solution: Ensure each useStyles using nested selectors has a unique name. Use tss.withName("UniqueName").withNestedSelectors<...>()... to set a name.'].join("\n"))}return t[n]="".concat(_.key,"-").concat(g).concat(void 0!==h?"-".concat(h):"","-").concat(n,"-ref")}})}:{})),r=(0,l.M)((0,s.u)(n).map((e=>{const r=n[e];return r.label||(r.label="".concat(void 0!==h?"".concat(h,"-"):"").concat(e)),[e,"".concat(C(r)).concat((0,u.E)(e,e in t)?" ".concat(t[e]):"")]})));return(0,s.u)(t).forEach((e=>{e in r||(r[e]=t[e])})),r}),[_,C,P,(0,c.o)(e),...Object.values(E)]);O=(0,r.useMemo)((()=>(0,d.z)(O,k,P)),[O,(0,c.o)(k),P]);const j=i(Object.assign(Object.assign({classes:O,css:C,cx:P,idOfUseStyles:g,name:h},E),A));return Object.assign({classes:null!==(m=j.classes)&&void 0!==m?m:O,css:null!==(x=j.css)&&void 0!==x?x:C,cx:null!==(w=j.cx)&&void 0!==w?w:P},E)}}}}},7078:(e,t,n)=>{"use strict";var r=n(1760),o=n(5837),i=n(3240),a=n(8313),l=n(3657),s=n(8852);e.exports=function e(){var t,n=[],o=l(),y={},b=-1;return x.data=function(e,n){if("string"===typeof e)return 2===arguments.length?(m("data",t),y[e]=n,x):c.call(y,e)&&y[e]||null;if(e)return m("data",t),y=e,x;return y},x.freeze=w,x.attachers=n,x.use=function(e){var r;if(m("use",t),null===e||void 0===e);else if("function"===typeof e)c.apply(null,arguments);else{if("object"!==typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?s(e):o(e)}r&&(y.settings=i(y.settings||{},r));return x;function o(e){s(e.plugins),e.settings&&(r=i(r||{},e.settings))}function l(e){if("function"===typeof e)c(e);else{if("object"!==typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?c.apply(null,e):o(e)}}function s(e){var t=-1;if(null===e||void 0===e);else{if("object"!==typeof e||!("length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)l(e[t])}}function c(e,t){var r=S(e);r?(a(r[1])&&a(t)&&(t=i(!0,r[1],t)),r[1]=t):n.push(u.call(arguments))}},x.parse=function(e){var t,n=s(e);if(w(),p("parse",t=x.Parser),f(t,"parse"))return new t(String(n),n).parse();return t(String(n),n)},x.stringify=function(e,t){var n,r=s(t);if(w(),h("stringify",n=x.Compiler),v(e),f(n,"compile"))return new n(e,r).compile();return n(e,r)},x.run=k,x.runSync=function(e,t){var n,o;return k(e,t,i),g("runSync","run",o),n;function i(e,t){o=!0,n=t,r(e)}},x.process=A,x.processSync=function(e){var t,n;return w(),p("processSync",x.Parser),h("processSync",x.Compiler),A(t=s(e),o),g("processSync","process",n),t;function o(e){n=!0,r(e)}},x;function x(){for(var t=e(),r=-1;++r<n.length;)t.use.apply(null,n[r]);return t.data(i(!0,{},y)),t}function w(){var e,r;if(t)return x;for(;++b<n.length;)!1!==(e=n[b])[1]&&(!0===e[1]&&(e[1]=void 0),"function"===typeof(r=e[0].apply(x,e.slice(1)))&&o.use(r));return t=!0,b=1/0,x}function S(e){for(var t=-1;++t<n.length;)if(n[t][0]===e)return n[t]}function k(e,t,n){if(v(e),w(),n||"function"!==typeof t||(n=t,t=null),!n)return new Promise(r);function r(r,i){o.run(e,s(t),(function(t,o,a){o=o||e,t?i(t):r?r(o):n(null,o,a)}))}r(null,n)}function A(e,t){if(w(),p("process",x.Parser),h("process",x.Compiler),!t)return new Promise(n);function n(n,r){var o=s(e);d.run(x,{file:o},(function(e){e?r(e):n?n(o):t(null,o)}))}n(null,t)}}().freeze();var u=[].slice,c={}.hasOwnProperty,d=l().use((function(e,t){t.tree=e.parse(t.file)})).use((function(e,t,n){e.run(t.tree,t.file,(function(e,r,o){e?n(e):(t.tree=r,t.file=o,n())}))})).use((function(e,t){var n=e.stringify(t.tree,t.file);void 0===n||null===n||("string"===typeof n||o(n)?("value"in t.file&&(t.file.value=n),t.file.contents=n):t.file.result=n)}));function f(e,t){return"function"===typeof e&&e.prototype&&(function(e){var t;for(t in e)return!0;return!1}(e.prototype)||t in e.prototype)}function p(e,t){if("function"!==typeof t)throw new Error("Cannot `"+e+"` without `Parser`")}function h(e,t){if("function"!==typeof t)throw new Error("Cannot `"+e+"` without `Compiler`")}function m(e,t){if(t)throw new Error("Cannot invoke `"+e+"` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.")}function v(e){if(!e||"string"!==typeof e.type)throw new Error("Expected node, got `"+e+"`")}function g(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}},4816:e=>{"use strict";function t(e){if(null==e)return n;if("string"===typeof e)return function(e){return t;function t(t){return Boolean(t&&t.type===e)}}(e);if("object"===typeof e)return"length"in e?function(e){var n=[],r=-1;for(;++r<e.length;)n[r]=t(e[r]);return o;function o(){for(var e=-1;++e<n.length;)if(n[e].apply(this,arguments))return!0;return!1}}(e):function(e){return t;function t(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"===typeof e)return e;throw new Error("Expected function, string, or object as test")}function n(){return!0}e.exports=t},4744:e=>{"use strict";var t={}.hasOwnProperty;function n(e){return e&&"object"===typeof e||(e={}),o(e.line)+":"+o(e.column)}function r(e){return e&&"object"===typeof e||(e={}),n(e.start)+"-"+n(e.end)}function o(e){return e&&"number"===typeof e?e:1}e.exports=function(e){if(!e||"object"!==typeof e)return"";if(t.call(e,"position")||t.call(e,"type"))return r(e.position);if(t.call(e,"start")||t.call(e,"end"))return r(e);if(t.call(e,"line")||t.call(e,"column"))return n(e);return""}},5950:e=>{"use strict";e.exports=function(e,t,n){var r=[];"function"===typeof t&&(n=t,t=null);function o(e){var i;return t&&e.type!==t||(i=n(e,r.concat())),e.children&&!1!==i?function(e,t){var n,i=e.length,a=-1;r.push(t);for(;++a<i;)if((n=e[a])&&!1===o(n))return!1;return r.pop(),!0}(e.children,e):i}o(e)}},4910:(e,t,n)=>{"use strict";e.exports=l;var r=n(8448),o=r.CONTINUE,i=r.SKIP,a=r.EXIT;function l(e,t,n,o){"function"===typeof t&&"function"!==typeof n&&(o=n,n=t,t=null),r(e,t,(function(e,t){var r=t[t.length-1],o=r?r.children.indexOf(e):null;return n(e,o,r)}),o)}l.CONTINUE=o,l.SKIP=i,l.EXIT=a},1473:e=>{e.exports=function(e){return e}},8448:(e,t,n)=>{"use strict";e.exports=s;var r=n(4816),o=n(1473),i=!0,a="skip",l=!1;function s(e,t,n,s){var u,c;"function"===typeof t&&"function"!==typeof n&&(s=n,n=t,t=null),c=r(t),u=s?-1:1,function e(r,d,f){var p,h="object"===typeof r&&null!==r?r:{};"string"===typeof h.type&&(p="string"===typeof h.tagName?h.tagName:"string"===typeof h.name?h.name:void 0,m.displayName="node ("+o(h.type+(p?"<"+p+">":""))+")");return m;function m(){var o,p,h=f.concat(r),m=[];if((!t||c(r,d,f[f.length-1]||null))&&(m=function(e){if(null!==e&&"object"===typeof e&&"length"in e)return e;if("number"===typeof e)return[i,e];return[e]}(n(r,f)),m[0]===l))return m;if(r.children&&m[0]!==a)for(p=(s?r.children.length:-1)+u;p>-1&&p<r.children.length;){if((o=e(r.children[p],p,h)())[0]===l)return o;p="number"===typeof o[1]?o[1]:p+u}return m}}(e,null,[])()}s.CONTINUE=i,s.SKIP=a,s.EXIT=l},3574:(e,t,n)=>{"use strict";var r=n(4744);function o(){}e.exports=a,o.prototype=Error.prototype,a.prototype=new o;var i=a.prototype;function a(e,t,n){var o,i,a;"string"===typeof t&&(n=t,t=null),o=function(e){var t,n=[null,null];"string"===typeof e&&(-1===(t=e.indexOf(":"))?n[1]=e:(n[0]=e.slice(0,t),n[1]=e.slice(t+1)));return n}(n),i=r(t)||"1:1",a={start:{line:null,column:null},end:{line:null,column:null}},t&&t.position&&(t=t.position),t&&(t.start?(a=t,t=t.start):a.start=t),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=i,this.reason=e,this.line=t?t.line:null,this.column=t?t.column:null,this.location=a,this.source=o[0],this.ruleId=o[1]}i.file="",i.name="",i.reason="",i.message="",i.stack="",i.fatal=null,i.column=null,i.line=null},8852:(e,t,n)=>{"use strict";e.exports=n(1712)},3769:(e,t,n)=>{"use strict";var r=n(4329),o=n(506),i=n(5837);e.exports=s;var a={}.hasOwnProperty,l=["history","path","basename","stem","extname","dirname"];function s(e){var t,n;if(e){if("string"===typeof e||i(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof s))return new s(e);for(this.data={},this.messages=[],this.history=[],this.cwd=o.cwd(),n=-1;++n<l.length;)t=l[n],a.call(e,t)&&(this[t]=e[t]);for(t in e)l.indexOf(t)<0&&(this[t]=e[t])}function u(e,t){if(e&&e.indexOf(r.sep)>-1)throw new Error("`"+t+"` cannot be a path: did not expect `"+r.sep+"`")}function c(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function d(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}s.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(s.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){c(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(s.prototype,"dirname",{get:function(){return"string"===typeof this.path?r.dirname(this.path):void 0},set:function(e){d(this.path,"dirname"),this.path=r.join(e||"",this.basename)}}),Object.defineProperty(s.prototype,"basename",{get:function(){return"string"===typeof this.path?r.basename(this.path):void 0},set:function(e){c(e,"basename"),u(e,"basename"),this.path=r.join(this.dirname||"",e)}}),Object.defineProperty(s.prototype,"extname",{get:function(){return"string"===typeof this.path?r.extname(this.path):void 0},set:function(e){if(u(e,"extname"),d(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=r.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(s.prototype,"stem",{get:function(){return"string"===typeof this.path?r.basename(this.path,this.extname):void 0},set:function(e){c(e,"stem"),u(e,"stem"),this.path=r.join(this.dirname||"",e+(this.extname||""))}})},1712:(e,t,n)=>{"use strict";var r=n(3574),o=n(3769);e.exports=o,o.prototype.message=function(e,t,n){var o=new r(e,t,n);this.path&&(o.name=this.path+":"+o.name,o.file=this.path);return o.fatal=!1,this.messages.push(o),o},o.prototype.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},o.prototype.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},4329:(e,t)=>{"use strict";function n(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function(e,t){var r,o,i,a,l=0,s=-1;if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');if(n(e),r=e.length,void 0===t||!t.length||t.length>e.length){for(;r--;)if(47===e.charCodeAt(r)){if(i){l=r+1;break}}else s<0&&(i=!0,s=r+1);return s<0?"":e.slice(l,s)}if(t===e)return"";o=-1,a=t.length-1;for(;r--;)if(47===e.charCodeAt(r)){if(i){l=r+1;break}}else o<0&&(i=!0,o=r+1),a>-1&&(e.charCodeAt(r)===t.charCodeAt(a--)?a<0&&(s=r):(a=-1,s=o));l===s?s=o:s<0&&(s=e.length);return e.slice(l,s)},t.dirname=function(e){var t,r,o;if(n(e),!e.length)return".";t=-1,o=e.length;for(;--o;)if(47===e.charCodeAt(o)){if(r){t=o;break}}else r||(r=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function(e){var t,r,o,i=-1,a=0,l=-1,s=0;n(e),o=e.length;for(;o--;)if(47!==(r=e.charCodeAt(o)))l<0&&(t=!0,l=o+1),46===r?i<0?i=o:1!==s&&(s=1):i>-1&&(s=-1);else if(t){a=o+1;break}if(i<0||l<0||0===s||1===s&&i===l-1&&i===a+1)return"";return e.slice(i,l)},t.join=function(){var e,t=-1;for(;++t<arguments.length;)n(arguments[t]),arguments[t]&&(e=void 0===e?arguments[t]:e+"/"+arguments[t]);return void 0===e?".":function(e){var t,r;n(e),t=47===e.charCodeAt(0),r=function(e,t){var n,r,o="",i=0,a=-1,l=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(a===s-1||1===l);else if(a!==s-1&&2===l){if(o.length<2||2!==i||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2))if(o.length>2){if((r=o.lastIndexOf("/"))!==o.length-1){r<0?(o="",i=0):i=(o=o.slice(0,r)).length-1-o.lastIndexOf("/"),a=s,l=0;continue}}else if(o.length){o="",i=0,a=s,l=0;continue}t&&(o=o.length?o+"/..":"..",i=2)}else o.length?o+="/"+e.slice(a+1,s):o=e.slice(a+1,s),i=s-a-1;a=s,l=0}else 46===n&&l>-1?l++:l=-1}return o}(e,!t),r.length||t||(r=".");r.length&&47===e.charCodeAt(e.length-1)&&(r+="/");return t?"/"+r:r}(e)},t.sep="/"},506:(e,t)=>{"use strict";t.cwd=function(){return"/"}},49:e=>{e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var r=arguments[n];for(var o in r)t.call(r,o)&&(e[o]=r[o])}return e};var t=Object.prototype.hasOwnProperty},2613:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},8168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},5540:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>o})},8587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{A:()=>r})},8387:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}n.d(t,{A:()=>o});const o=function(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var l=2&o&&r;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,n.d(i,a),i}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/postgsail/",(()=>{"use strict";var e,t=n(5043),r=n(4391),o=n(8168);!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(e||(e={}));var i=function(e){return e};var a="beforeunload",l="hashchange",s="popstate";function u(t){void 0===t&&(t={});var n=t.window,r=void 0===n?document.defaultView:n,u=r.history;function c(){var e=m(r.location.hash.substr(1)),t=e.pathname,n=void 0===t?"/":t,o=e.search,a=void 0===o?"":o,l=e.hash,s=void 0===l?"":l,c=u.state||{};return[c.idx,i({pathname:n,search:a,hash:s,state:c.usr||null,key:c.key||"default"})]}var v=null;function g(){if(v)k.call(v),v=null;else{var t=e.Pop,n=c(),r=n[0],o=n[1];if(k.length){if(null!=r){var i=x-r;i&&(v={action:t,location:o,retry:function(){O(-1*i)}},O(i))}}else _(t)}}r.addEventListener(s,g),r.addEventListener(l,(function(){h(c()[1])!==h(w)&&g()}));var y=e.Pop,b=c(),x=b[0],w=b[1],S=f(),k=f();function A(e){return function(){var e=document.querySelector("base"),t="";if(e&&e.getAttribute("href")){var n=r.location.href,o=n.indexOf("#");t=-1===o?n:n.slice(0,o)}return t}()+"#"+("string"===typeof e?e:h(e))}function E(e,t){return void 0===t&&(t=null),i((0,o.A)({pathname:w.pathname,hash:"",search:""},"string"===typeof e?m(e):e,{state:t,key:p()}))}function C(e,t){return[{usr:e.state,key:e.key,idx:t},A(e)]}function P(e,t,n){return!k.length||(k.call({action:e,location:t,retry:n}),!1)}function _(e){y=e;var t=c();x=t[0],w=t[1],S.call({action:y,location:w})}function O(e){u.go(e)}null==x&&(x=0,u.replaceState((0,o.A)({},u.state,{idx:x}),""));var j={get action(){return y},get location(){return w},createHref:A,push:function t(n,o){var i=e.Push,a=E(n,o);if(P(i,a,(function(){t(n,o)}))){var l=C(a,x+1),s=l[0],c=l[1];try{u.pushState(s,"",c)}catch(d){r.location.assign(c)}_(i)}},replace:function t(n,r){var o=e.Replace,i=E(n,r);if(P(o,i,(function(){t(n,r)}))){var a=C(i,x),l=a[0],s=a[1];u.replaceState(l,"",s),_(o)}},go:O,back:function(){O(-1)},forward:function(){O(1)},listen:function(e){return S.push(e)},block:function(e){var t=k.push(e);return 1===k.length&&r.addEventListener(a,d),function(){t(),k.length||r.removeEventListener(a,d)}}};return j}function c(e,t,n){return Math.min(Math.max(e,t),n)}function d(e){e.preventDefault(),e.returnValue=""}function f(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function p(){return Math.random().toString(36).substr(2,8)}function h(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,o=void 0===r?"":r,i=e.hash,a=void 0===i?"":i;return o&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function m(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v.apply(this,arguments)}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"===typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function x(e){return'This problem occurred when building the route definition for the "'+e+'" route.'}function w(e){return[x(e.routeName),"The path was constructed as `"+e.rawPath+"`"]}var S=k({Path_may_not_be_an_empty_string:{errorCode:1e3,getDetails:w},Path_must_start_with_a_forward_slash:{errorCode:1001,getDetails:w},Path_may_not_end_with_a_forward_slash:{errorCode:1002,getDetails:w},Path_may_not_include_characters_that_must_be_URL_encoded:{errorCode:1003,getDetails:function(e,t){var n,r,o=t.leading,i=null!=(n=t.trailing)?n:"",a=null!=(r=t.paramId)?r:"",l=(o+i).split("").filter((function(e){return e!==encodeURIComponent(e)}));return[].concat(w(e),["The path segment `"+(o+a+i)+"` has the following invalid characters: "+l.join(", ")])}},Path_may_not_include_empty_segments:{errorCode:1004,getDetails:function(e){return[].concat(w(e),["Empty segments can be spotted by finding the place in the path with two consecutive forward slashes '//'."])}},Path_may_have_at_most_one_parameter_per_segment:{errorCode:1005,getDetails:function(e,t){return[].concat(w(e),["A single segment of the path included the following parameters: "+t,"Consider using ofType with a customer ValueSerializer for this scenario."])}},Path_parameters_may_not_be_used_more_than_once_when_building_a_path:{errorCode:1005,getDetails:function(e,t){return[].concat(w(e),['The parameter "'+t+'" was used more than once.'])}},Optional_path_parameters_may_not_have_any_text_around_the_parameter:{errorCode:1006,getDetails:function(e,t,n,r){var o=w(e);return n&&o.push('The parameter "'+t+'" cannot be preceded by "'+n+'".'),r&&o.push('The parameter "'+t+'" cannot be followed by "'+r+'".'),o}},Path_may_have_at_most_one_optional_or_trailing_parameter:{errorCode:1007,getDetails:function(e,t){return[].concat(w(e),["At most one optional/trailing parameter should be given but "+t+" were provided."])}},Optional_or_trailing_path_parameters_may_only_appear_in_the_last_path_segment:{errorCode:1008,getDetails:w},All_path_parameters_must_be_used_in_path_construction:{errorCode:1009,getDetails:function(e,t){return[].concat(w(e),["The following parameters were not used: "+t.join(", ")])}},Path_parameter_name_must_not_include_curly_brackets_dollar_signs_or_the_forward_slash_character:{errorCode:1010,getDetails:function(e,t){return[x(e),"The $ { } or / character was used in this parameter name: "+t]}},Extension_route_definition_parameter_names_may_not_be_the_same_as_base_route_definition_parameter_names:{errorCode:1011,getDetails:function(e){return["The following parameter names were used in both the base route definition and the extension: "+e.join(", ")]}},Expected_type_does_not_match_actual_type:{errorCode:1012,getDetails:function(e){var t=e.context,n=e.value,r=e.valueName,o=e.expectedType,i=e.actualType;return["Problem found with your usage of `"+t+"`","`"+r+"` was expected to be of type `"+(Array.isArray(o)?o.join(" | "):o)+"` but was of type `"+i+"`","The actual value provided was: "+("object"===b(n)?"\n"+JSON.stringify(n,null,2).split("\n").map((function(e){return" "+e})).join("\n"):"`"+n+"`")]}},Expected_number_of_arguments_does_match_actual_number:{errorCode:1013,getDetails:function(e){var t=e.context,n=e.args,r=e.min,o=e.max;return["Problem found with your usage of `"+t+"`","Expected "+r+(r===o?"":" - "+o)+" but received "+n.length+" argument"+(1===n.length?"":"s")]}},Query_string_array_format_and_custom_query_string_serializer_may_not_both_be_provided:{errorCode:1014,getDetails:function(){return["You may not provide both options.arrayFormat.queryString and options.queryStringSerializer. These options are not compatible."]}},Expected_length_of_array_does_match_actual_length:{errorCode:1015,getDetails:function(e){var t=e.context,n=e.array,r=e.min,o=e.max;return["Problem found with your usage of `"+t+"`","Expected array to be of length "+r+(r===o?"":" - "+o)+" but actual length was "+n.length]}},Encountered_unexpected_parameter_when_building_route:{errorCode:1016,getDetails:function(e){var t=e.routeName,n=e.unexpectedParameterName,r=e.allowedParameterNames;return["Problem found with your usage of routes."+t+"( ... )",'Unexpected parameter passed to route builder named "'+n+'"',0===r.length?"The route does not take any parameters":"This route takes the following parameters: "+r.map((function(e){return'"'+e+'"'})).join(", ")]}},Missing_required_parameter_when_building_route:{errorCode:1017,getDetails:function(e){return["Problem found with your usage of routes."+e.routeName+"( ... )",'The parameter "'+e.missingParameterName+'" is required but was not provided.']}},Base_url_must_start_with_a_forward_slash:{errorCode:1018,getDetails:function(e){return['Base URL must start with a forward slash "/"','The value you provided "'+e+'" does not start with a forward slash.']}},Base_url_must_not_contain_any_characters_that_must_be_url_encoded:{errorCode:1019,getDetails:function(e){return["The following characters are invalid: "+e.replace(/\//g,"").split("").filter((function(e){return e!==encodeURIComponent(e)})).join(", ")+"."]}},App_should_be_wrapped_in_a_RouteProvider_component:{errorCode:1020,getDetails:function(){return["Your application must be wrapped in the `RouteProvider` component returned by `createRouter` in order to use the `useRoute` hook."]}},Invalid_React_version:{errorCode:1021,getDetails:function(e){return["React version must be 16.8 or greater.","You have version "+e+" installed.","If you cannot upgrade the React version try using `type-route/core`."]}}});function k(e){var t={};return Object.keys(e).forEach((function(n){var r=n.replace(/_/g," ")+".",o=e[n],i=o.errorCode,a=o.getDetails,l="TR"+i+" \xb7 "+r;t[n]={errorCode:i,name:r,create:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=(null!=(e=null==a?void 0:a.apply(void 0,n))?e:[]).map((function(e){return"- "+e})).join("\n"),i=new Error(o?"\n\n"+l+"\n\n"+o+"\n":"\n\n"+l+"\n");return i.name="(hopefully helpful \ud83d\ude04) TypeRouteError",i}}})),t}function A(e){return Array.isArray(e)?e:[e]}function E(e,t){t.forEach((function(t){return t(e)}))}function C(e){return"${p."+e+"}"}function P(e,t){var n={};return Object.keys(t).forEach((function(r){var o=t[r];o["~internal"].kind===e&&(n[r]=o)})),n}function _(e,t,n){var r=e["~internal"].valueSerializer.stringify(t);return n?encodeURIComponent(r):r}E.arrayLength=function(e,t,n){return void 0===n&&(n=t),function(r){if(e.length<t||e.length>n)throw S.Expected_length_of_array_does_match_actual_length.create({context:r,array:e,min:t,max:n})}},E.numArgs=function(e,t,n){return void 0===n&&(n=t),function(r){if(e.length<t||e.length>n)throw S.Expected_number_of_arguments_does_match_actual_number.create({context:r,args:e,min:t,max:n})}},E.collectionOfType=function(e,t,n){return function(r){if("object"!==b(n))throw S.Expected_type_does_not_match_actual_type.create({context:r,actualType:b(n),expectedType:"Record<string, "+(Array.isArray(e)?e.join(" | "):e)+">",value:n,valueName:t});for(var o=0,i=Object.keys(n);o<i.length;o++){var a=i[o];E.type(e,t+"."+a,n[a])(r)}}},E.arrayOfType=function(e,t,n){return function(r){if(!Array.isArray(n))throw S.Expected_type_does_not_match_actual_type.create({context:r,actualType:b(n),expectedType:"Array<"+(Array.isArray(e)?e.join(" | "):e)+">",value:n,valueName:t});for(var o=0;o<n.length;o++)E.type(e,t+"["+o+"]",n[o])(r)}},E.type=function(e,t,n){return function(r){for(var o,i=y("string"===typeof e?[e]:e);!(o=i()).done;){var a=o.value,l=a[0].toUpperCase()===a[0];if(l&&("object"===b(n)||"function"===b(n))&&"object"===b(n["~internal"])&&n["~internal"].type===a||!l&&b(n)===a)return}throw S.Expected_type_does_not_match_actual_type.create({context:r,actualType:b(n),expectedType:e,value:n,valueName:t})}};var O={__noMatch:!0},j={startsWith:function(e,t){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0},endsWith:function(e,t){for(var n=1;n<=t.length;n++)if(t[t.length-n]!==e[e.length-n])return!1;return!0},splitFirst:function(e,t){var n=e.split(t),r=n[0],o=n.slice(1);return[r,o.join(t)]}};var T=j.endsWith,M=j.startsWith;function R(e){for(var t,n=e.object,r=e.paramDefs,o=e.urlEncodeDefault,i=e.arraySeparator,a={},l=Object.keys(r).map((function(e){return v({name:e},r[e])})),s=v({},n),u=function(){var e=t.value,r=n[e.name];if(delete s[e.name],void 0===r)return e["~internal"].optional?"continue":{v:!1};var l=void 0;if(null===r){if(!e["~internal"].array)return e["~internal"].optional?"continue":{v:!1};l=[]}else if(e["~internal"].array){if((l=r.split(i).map((function(t){var n;return e["~internal"].valueSerializer.parse((null!=(n=e["~internal"].valueSerializer.urlEncode)?n:o)?decodeURIComponent(t):t)}))).some((function(e){return e===O})))return e["~internal"].optional?"continue":{v:!1}}else{var u;if((l=e["~internal"].valueSerializer.parse((null!=(u=e["~internal"].valueSerializer.urlEncode)?u:o)?decodeURIComponent(r):r))===O)return e["~internal"].optional?"continue":{v:!1}}a[e.name]=l},c=y(l);!(t=c()).done;){var d=u();if("continue"!==d&&"object"===typeof d)return d.v}return{params:a,numExtraneousParams:Object.keys(s).length}}function L(e){var t=e.pathDefs,n=e.params,r=P("query",n),o=P("state",n),i={};return Object.keys(n).forEach((function(e){var t=n[e];void 0!==t["~internal"].default&&(i[e]=t["~internal"].default)})),function(e){var n=e.routerLocation,a=e.arraySeparator,l=e.queryStringSerializer;if(void 0===n.path)return!1;var s=function(e){for(var t=e.path,n=e.pathDefs,r=e.arraySeparator,o=0;o<n.length;o++){var i=a(n[o]);if(!1!==i)return v({},i,{primaryPath:0===o})}return!1;function a(e){var n={};if("/"===t&&0===e.length)return{params:n,numExtraneousParams:0};var o=t.length>1&&T(t,"/");o&&(t=t.slice(0,t.length-1));for(var i=t.split("/").slice(1),a=function(t){var a,l,s=t>=e.length?null:e[t],u=t>=i.length?null:i[t];if(null===s)return{v:!1};var c,d=e.length-1-t;if(null===u)return 0===d&&null!=(c=s.namedParamDef)&&c["~internal"].optional?"break":{v:!1};if(null!=(a=s.namedParamDef)&&a["~internal"].trailing&&(u=i.slice(t).join("/")),!M(u,s.leading))return{v:!1};var f=u.slice(s.leading.length);if(!T(f,s.trailing))return{v:!1};var p=f.slice(0,f.length-s.trailing.length);if(!s.namedParamDef)return""===p?"continue":{v:!1};if(""===p)return s.namedParamDef["~internal"].optional?"continue":{v:!1};var h=null!=(l=s.namedParamDef["~internal"].valueSerializer.urlEncode)?l:!s.namedParamDef["~internal"].trailing,m=void 0;if(s.namedParamDef["~internal"].array){if((m=p.split(r).map((function(e){var t;return null==(t=s.namedParamDef)?void 0:t["~internal"].valueSerializer.parse(h?decodeURIComponent(e):e)}))).some((function(e){return e===O})))return{v:!1}}else if((m=s.namedParamDef["~internal"].valueSerializer.parse(h?decodeURIComponent(p):p))===O)return{v:!1};return s.namedParamDef["~internal"].trailing&&o&&""===s.trailing&&(m+="/"),n[s.namedParamDef.paramName]=m,s.namedParamDef["~internal"].trailing?"break":void 0},l=0;l<Math.max(e.length,i.length);l++){var s=a(l);if("break"===s)break;if("continue"!==s&&"object"===typeof s)return s.v}return{params:n,numExtraneousParams:0}}}({path:n.path,pathDefs:t,arraySeparator:a});if(!1===s)return!1;var u=function(e,t,n,r){var o={};return e&&(o=n.parse(e)),R({object:o,paramDefs:t,urlEncodeDefault:!0,arraySeparator:r})}(n.query,r,l,a);if(!1===u)return!1;var c=function(e,t,n){return R({object:null!=e?e:{},paramDefs:t,urlEncodeDefault:!1,arraySeparator:n})}(n.state,o,a);return!1!==c&&{primaryPath:s.primaryPath,params:v({},i,s.params,u.params,c.params),numExtraneousParams:s.numExtraneousParams+u.numExtraneousParams+c.numExtraneousParams}}}var I=j.startsWith;function D(e){var t=e.routeName,n=e.params,r=e.location,o=e.routerContext,i=o.navigate,a=o.history.createHref({pathname:!1===t?r.fullPath:r.path,search:r.query?"?"+r.query:""});I(a,"#")&&(a="/"+a),!1!==t&&"/"!==o.baseUrl&&(a=o.baseUrl+a);var l={name:t,params:n,href:a,link:{href:a,onClick:function(e){if(function(e){void 0===e&&(e={});var t=e,n=!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey);return!(t.target&&t.target.target&&"_self"!==t.target.target||t.defaultPrevented||0!==t.button||n)&&(t&&t.preventDefault&&t.preventDefault(),!0)}(e))return l.push()}},action:null,push:function(){return i(v({},l,{action:"push"}),!0)},replace:function(){return i(v({},l,{action:"replace"}),!0)}};return l}function F(e,t,n){var r=function(e,t,n){var r=Object.keys(t).map((function(e){return v({paramName:e},t[e])})),o={};return r.forEach((function(e){var t=e.paramName;o[t]=C(t)})),A(n(o)).map((function(e){if(1===e.length)return[];for(var t,n=e.split("/").slice(1),o={},i=[],a=y(n);!(t=a()).done;){for(var l,s=t.value,u=null,c=y(r);!(l=c()).done;){var d=l.value;s.indexOf(C(d.paramName))>=0&&(u=d,o[d.paramName]=!0)}if(u){var f=s.split(C(u.paramName)),p=f[0],h=f[1];i.push({leading:p,trailing:h,namedParamDef:u})}else i.push({leading:s,trailing:"",namedParamDef:null})}return i.filter((function(e){var t,n;return(null==(t=e.namedParamDef)?void 0:t["~internal"].optional)||(null==(n=e.namedParamDef)?void 0:n["~internal"].trailing)})).length,i[i.length-1].namedParamDef,r.map((function(e){return e.paramName})).filter((function(e){return!o[e]})),i}))}(0,P("path",t["~internal"].params),t["~internal"].path),o=function(o){void 0===o&&(o={});var i=n(),a=i.arraySeparator,l=i.queryStringSerializer,s=i.baseUrl,u=v({},o);Object.keys(t["~internal"].params).forEach((function(e){var n=t["~internal"].params[e];void 0===u[e]&&void 0!==n["~internal"].default&&(u[e]=n["~internal"].default)}));var c=function(e){var t=e.paramCollection,n=e.paramDefCollection,r=e.arraySeparator,o=e.queryStringSerializer,i=e.pathDefs,a=e.baseUrl,l={path:{},query:{},state:{}},s=function(e){var o,i=t[e];if(void 0===i)return"continue";var a=n[e],s="state"!==a["~internal"].kind&&!a["~internal"].trailing,u=null!=(o=a["~internal"].valueSerializer.urlEncode)?o:s,c=void 0;a["~internal"].array?(Array.isArray(i),c=0===i.length?null:i.map((function(e){return _(a,e,u)})).join(r)):c=_(a,i,u),l[a["~internal"].kind][e]={valueSerializerId:a["~internal"].valueSerializer.id,array:a["~internal"].array,value:c}};for(var u in n)s(u);var c="/"+i[0].filter((function(e){var t=e.namedParamDef;return!(null!=t&&t["~internal"].optional&&void 0===l.path[t.paramName])})).map((function(e){var t=e.namedParamDef,n=e.leading,r=e.trailing;return n+(t?l.path[t.paramName].value:"")+r})).join("/");return{fullPath:("/"===a?"":a)+c,path:c,query:Object.keys(l.query).length>0?o.stringify(l.query):void 0,state:0===Object.keys(l.state).length?void 0:Object.keys(l.state).reduce((function(e,t){var n;return v({},e,((n={})[t]=l.state[t].value,n))}),{})}}({paramCollection:o,paramDefCollection:t["~internal"].params,arraySeparator:a,queryStringSerializer:l,pathDefs:r,baseUrl:s});return D({routeName:e,params:u,location:c,routerContext:i})};return Object.defineProperty(o,"name",{value:e}),o["~internal"]={type:"RouteBuilder",match:L({pathDefs:r,params:t["~internal"].params}),pathDefs:r,Route:null},o}function z(e,t){var n=t.getRoutes,r=t.queryStringSerializer,o=t.arraySeparator,i=n(),a=!1;for(var l in i){var s=i[l]["~internal"].match({routerLocation:e,queryStringSerializer:r,arraySeparator:o});if(!1!==s){if(0===s.numExtraneousParams)return{route:i[l](s.params),primaryPath:s.primaryPath};(!1===a||s.numExtraneousParams<a.numExtraneousParams)&&(a=v({},s,{routeName:l}))}}return a?{route:i[a.routeName](a.params),primaryPath:a.primaryPath}:{route:D({routeName:!1,params:{},location:e,routerContext:t}),primaryPath:!0}}var N=j.startsWith;function B(e,t){return{fullPath:e.pathname,path:N(e.pathname,t)?"/"!==t?e.pathname.replace(t,""):e.pathname:void 0,query:e.search?N(e.search,"?")?e.search.slice(1):e.search:void 0,state:"object"===typeof e.state&&null!==e.state?e.state.state:void 0}}var H=j.splitFirst;function W(e,t,n){var r=H(e,"?");return z(B({pathname:r[0],search:r[1],state:t},n.baseUrl),n)}function V(e,t){if("push"===e.action&&"object"===typeof window&&null!==window&&"function"===typeof window.scroll&&!1!==t&&"object"===typeof navigator&&null!==navigator&&"string"===typeof navigator.userAgent&&!(navigator.userAgent.indexOf("Node.js")>0||navigator.userAgent.indexOf("jsdom")>0))try{window.scroll(0,0)}catch(n){}}function U(e,t){var n={};if(e.name)for(var r,o=y(Object.keys(e.params).sort());!(r=o()).done;){var i=r.value,a=t[e.name]["~internal"].params[i]["~internal"];if("state"===a.kind){var l=e.params[i];n[i]=a.valueSerializer.stringify(l)}}return n}j.startsWith;var q=j.splitFirst;function G(){for(var t,n,r,l,g,b=arguments.length,x=new Array(b),w=0;w<b;w++)x[w]=arguments[w];var S,k,A=$(x),E=A.routeDefs,C=A.opts,P=function(e){var t=e.startListening,n=e.stopListening,r=[],o=0;return{add:function(e){var i=o++;return r.push({id:i,handler:e}),1===r.length&&t(),function(){var e=r.map((function(e){return e.id})).indexOf(i);e>=0&&(r.splice(e,1),0===r.length&&n())}},getHandlers:function(){return r.map((function(e){return e.handler}))}}}({startListening:function(){k=S.listen((function(e){if(M)M=!1;else{var t=B(e.location,_),n=e.action.toLowerCase(),r=z(t,X()),o=r.route,i=r.primaryPath;K(v({},o,{action:n}),i)}}))},stopListening:function(){return null==k?void 0:k()}}),_=null!=(t=C.baseUrl)?t:"/",O=null!=(n=null==(r=C.arrayFormat)?void 0:r.separator)?n:",",T=null!=(l=C.queryStringSerializer)?l:function(e){var t,n;void 0===e&&(e={});var r=null!=(t=e.queryStringArrayFormat)?t:"singleKeyWithBracket",o=null!=(n=e.arraySeparator)?n:",",i="multiKey"===r||"multiKeyWithBracket"===r,a="multiKey"===r||"singleKey"===r?"":"[]";return{parse:function(e){for(var t,n={},r=y(e.split("&"));!(t=r()).done;){var l=t.value.split("="),s=l[0],u=l[1],c=l.slice(2);if(!(void 0===s||c.length>0)){var d=decodeURIComponent(j.endsWith(s,a)?s.slice(0,s.length-a.length):s);void 0===u?n[d]=null:n[d]&&i?n[d]+=""+o+u:n[d]=u}}return n},stringify:function(e){return Object.keys(e).map((function(t){var n=encodeURIComponent(t),r=e[t].array?""+n+a:n,l=e[t].value;return null===l?r:e[t].array&&i?l.split(o).map((function(e){return r+"="+e})).join("&"):r+"="+l})).join("&")}}}({queryStringArrayFormat:null==(g=C.arrayFormat)?void 0:g.queryString,arraySeparator:O}),M=!1,R=!1,L=null,I=null,D=[];H(C.session);var N=function(e){var t={},n=e(),r=n.routeDefs;for(var o in r){var i=r[o];t[o]=F(o,i,e)}return t}(X);return{routes:N,session:{push:function(e,t){var n=W(e,t,X()),r=n.route,o=n.primaryPath;return G(v({},r,{action:"push"}),o)},replace:function(e,t){var n=W(e,t,X()),r=n.route,o=n.primaryPath;return G(v({},r,{action:"replace"}),o)},back:function(e){void 0===e&&(e=1),S.go(-e)},forward:function(e){void 0===e&&(e=1),S.go(e)},getInitialRoute:function(){if(!L){var e=z(B(S.location,_),X());e.primaryPath||(R=!0,e.route.replace(),e=z(B(S.location,_),X())),L=e.route}return L},reset:function(e){return H(e)},block:function(e){D.push(e);var t=S.block((function(t){var n=z(B(t.location,_),X()).route,r=t.action.toLowerCase();e({route:v({},n,{action:r}),retry:t.retry})}));return function(){D.splice(D.findIndex((function(t){return t===e})),1),t()}},listen:function(e){return P.add(e)}}};function H(t){void 0===t&&(t={type:"undefined"!==typeof window&&"undefined"!==typeof window.document?"browser":"memory"}),L=null,S="memory"===t.type?function(t){void 0===t&&(t={});var n=t,r=n.initialEntries,a=void 0===r?["/"]:r,l=n.initialIndex,s=a.map((function(e){return i((0,o.A)({pathname:"/",search:"",hash:"",state:null,key:p()},"string"===typeof e?m(e):e))})),u=c(null==l?s.length-1:l,0,s.length-1),d=e.Pop,v=s[u],g=f(),y=f();function b(e,t){return void 0===t&&(t=null),i((0,o.A)({pathname:v.pathname,search:"",hash:""},"string"===typeof e?m(e):e,{state:t,key:p()}))}function x(e,t,n){return!y.length||(y.call({action:e,location:t,retry:n}),!1)}function w(e,t){d=e,v=t,g.call({action:d,location:v})}function S(t){var n=c(u+t,0,s.length-1),r=e.Pop,o=s[n];x(r,o,(function(){S(t)}))&&(u=n,w(r,o))}var k={get index(){return u},get action(){return d},get location(){return v},createHref:function(e){return"string"===typeof e?e:h(e)},push:function t(n,r){var o=e.Push,i=b(n,r);x(o,i,(function(){t(n,r)}))&&(u+=1,s.splice(u,s.length,i),w(o,i))},replace:function t(n,r){var o=e.Replace,i=b(n,r);x(o,i,(function(){t(n,r)}))&&(s[u]=i,w(o,i))},go:S,back:function(){S(-1)},forward:function(){S(1)},listen:function(e){return g.push(e)},block:function(e){return y.push(e)}};return k}({initialEntries:t.initialEntries,initialIndex:t.initialIndex}):"hash"===t.type?u({window:t.window}):function(t){void 0===t&&(t={});var n=t.window,r=void 0===n?document.defaultView:n,l=r.history;function u(){var e=r.location,t=e.pathname,n=e.search,o=e.hash,a=l.state||{};return[a.idx,i({pathname:t,search:n,hash:o,state:a.usr||null,key:a.key||"default"})]}var c=null;r.addEventListener(s,(function(){if(c)w.call(c),c=null;else{var t=e.Pop,n=u(),r=n[0],o=n[1];if(w.length){if(null!=r){var i=y-r;i&&(c={action:t,location:o,retry:function(){P(-1*i)}},P(i))}}else C(t)}}));var v=e.Pop,g=u(),y=g[0],b=g[1],x=f(),w=f();function S(e){return"string"===typeof e?e:h(e)}function k(e,t){return void 0===t&&(t=null),i((0,o.A)({pathname:b.pathname,hash:"",search:""},"string"===typeof e?m(e):e,{state:t,key:p()}))}function A(e,t){return[{usr:e.state,key:e.key,idx:t},S(e)]}function E(e,t,n){return!w.length||(w.call({action:e,location:t,retry:n}),!1)}function C(e){v=e;var t=u();y=t[0],b=t[1],x.call({action:v,location:b})}function P(e){l.go(e)}null==y&&(y=0,l.replaceState((0,o.A)({},l.state,{idx:y}),""));var _={get action(){return v},get location(){return b},createHref:S,push:function t(n,o){var i=e.Push,a=k(n,o);if(E(i,a,(function(){t(n,o)}))){var s=A(a,y+1),u=s[0],c=s[1];try{l.pushState(u,"",c)}catch(d){r.location.assign(c)}C(i)}},replace:function t(n,r){var o=e.Replace,i=k(n,r);if(E(o,i,(function(){t(n,r)}))){var a=A(i,y),s=a[0],u=a[1];l.replaceState(s,"",u),C(o)}},go:P,back:function(){P(-1)},forward:function(){P(1)},listen:function(e){return x.push(e)},block:function(e){var t=w.push(e);return 1===w.length&&r.addEventListener(a,d),function(){t(),w.length||r.removeEventListener(a,d)}}};return _}({window:t.window})}function G(e,t){var n;if(D.length>0)D.forEach((function(t){t({route:e,retry:function(){e["push"===e.action?"push":"replace"]()}})}));else{var r=U(e,E);if((null==(n=I)?void 0:n.href)!==e.href||JSON.stringify(U(I,E))!==JSON.stringify(r)){R?R=!1:K(e,t),M=!0;var o=q(e.href,"?"),i=o[0],a=o[1];S["replace"===e.action?"replace":"push"]({pathname:i,search:a?"?"+a:"",hash:""},r?{state:r}:void 0)}}}function K(e,t){if(t){for(var n,r=y(P.getHandlers());!(n=r()).done;){(0,n.value)(e)}V(e,C.scrollToTop),I=e}else e.replace()}function X(){return{queryStringSerializer:T,arraySeparator:O,navigate:G,history:S,routeDefs:E,getRoutes:function(){return N},baseUrl:_}}}function $(e){return{routeDefs:1===e.length?e[0]:e[1],opts:1===e.length?{}:e[0]}}function K(e,t){0}function X(e){return 1===e.length?{params:{},path:function(){return e[0]}}:{params:e[0],path:e[1]}}var Y=n(7611);const Q={home:function e(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];K("defineRoute",n);var o=X(n),i={"~internal":{type:"RouteDef",params:o.params,path:o.path},extend:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];K("extend",n);var i=X(n),a=i.params,l=i.path,s=Object.keys(o.params),u=Object.keys(a);s.filter((function(e){return u.indexOf(e)>=0}));return e(v({},a,o.params),(function(e){var t,n=A(o.path(i(s))),r=A(l(i(u)));return(t=[]).concat.apply(t,n.map((function(e){return r.map((function(t){return"/"===e?t:e+("/"===t?"":t)}))})));function i(t){var n={};return t.forEach((function(t){n[t]=e[t]})),n}}))}};return i}("/")};(0,Y.G)(Q);const{RouteProvider:Z,routes:J,useRoute:ee}=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=$(n),i=o.opts,a=o.routeDefs,l=G(v({},i,{scrollToTop:!1}),a),s=(0,t.createContext)(null);return v({},l,{RouteProvider:function(e){var n=(0,t.useState)(l.session.getInitialRoute()),r=n[0],o=n[1];return(0,t.useLayoutEffect)((function(){return l.session.listen(o)}),[]),(0,t.useEffect)((function(){V(r,i.scrollToTop)}),[r]),(0,t.createElement)(s.Provider,{value:r},e.children)},useRoute:function(){0;return(0,t.useContext)(s)}})}(Q);var te=n(579),ne=n(8938),re=n(570),oe=n(9054),ie=n(7571),ae=n(9307),le=n(8094),se=n(8855),ue=n(2497),ce=n(813),de=n(4423),fe=n(5283),pe=n(5811),he=n(811),me=function(){return me=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},me.apply(this,arguments)};function ve(){var e=(0,he.useStyles)().theme;return me(me({},e),{paddingRightLeft:e.spacing(e.windowInnerWidth>=we.lg?7:e.windowInnerWidth>=we.sm?6:4),customShadow:"2px 3px 35px -1px rgba(0,0,0,0.45)",borderRadius:e.spacing(1)})}var ge=(0,ne.createMakeStyles)({useTheme:ve}).makeStyles,ye=(0,fe.createText)({useTheme:ve}).Text,be=(0,re.createIcon)({brightness4:ae.default,brightness7:le.default,arrowBackIos:se.A,arrowForwardIos:ue.A,dehaze:ce.A,brightness1Rounded:de.A}).Icon,xe=((0,oe.createIconButton)({Icon:be}).IconButton,(0,ie.createButton)({Icon:be}).Button),we=me(me({},pe.breakpointsValues),{"lg+":1440}),Se={Logo:function(){return null},minimumDisplayDuration:0},ke=ge()((function(e,t){var n=t.aspectRatio,r=t.illustrationZoomFactor,o=t.type;return{root:me({},function(){if("custom component"!==o&&void 0!==o){if(isNaN(n))return{opacity:0};var t=(n<=1?600*n:600)*(null!==r&&void 0!==r?r:1);return{maxWidth:t,minWidth:e.windowInnerWidth<we.md?void 0:t,alignSelf:e.windowInnerWidth<we.md?"center":void 0}}}())}})),Ae=n(7786),Ee=n(6520),Ce=n(3440),Pe=n(1076),_e=n(8493),Oe=n(5348),je=n(3608),Te=n(8826),Me=n(6090),Re=n(1510),Le=function(){return Le=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Le.apply(this,arguments)},Ie=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},De=(0,t.memo)((function(e){var n=e.className,r=Ie((0,t.useState)(!1),2),o=r[0],i=r[1],a=Ie((0,t.useState)(void 0),2),l=a[0],s=a[1],u=(0,Ae.useStateRef)(null);(0,t.useEffect)((function(){var e=u.current;e&&s((0,Re.getScrollableParent)({element:e,doReturnElementIfScrollable:!0}))}),[]);var c=(0,Te.useConstCallback)((function(){void 0!==l&&l.scrollTo({top:0,behavior:"smooth"})}));(0,Me.useEvt)((function(e){void 0!==l&&_e.Evt.from(e,l,"scroll").attach((function(){l.scrollTop/(window.innerHeight/100)>=70?i(!0):i(!1)}))}),[l]);var d=Fe({isShown:o},{props:e}),f=d.classes,p=d.cx;return(0,te.jsx)("div",Le({ref:u,onClick:c,className:p(f.root,n)},{children:(0,te.jsx)(je.A,{className:f.arrowIcon})}))})),Fe=ge({name:{GlLinkToTop:De}})((function(e,t){var n=t.isShown;return{root:{transition:"opacity, 500ms",zIndex:1,display:"flex",backgroundColor:e.colors.useCases.surfaces.background,alignItems:"center",borderRadius:5,justifyContent:"center",padding:e.spacing(1),opacity:n?.6:0,pointerEvents:n?void 0:"none",position:"fixed",border:"solid ".concat(e.colors.useCases.typography.textPrimary," 3px"),top:"90%",right:e.paddingRightLeft,cursor:"pointer"},arrowIcon:{}}}));var ze=n(7831),Ne=n.n(ze),Be=function(){return Be=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Be.apply(this,arguments)},He=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},We=(0,t.memo)((function(e){var n=e.header,r=e.body,o=e.footer,i=e.className,a=e.hasTopOfPageLinkButton,l=e.doTakeChargeOfHidingRootSplashScreen,s=e.applyHeaderPadding,u=(0,Ae.useStateRef)(null),c=function(){var t,n,r=e.headerOptions;if(void 0===r)return{position:"top of page",isRetracted:!1};switch(r.position){case"top of page":return Be(Be({},r),{isRetracted:null!==(t=r.isRetracted)&&void 0!==t&&t});case"sticky":return Be(Be({},r),{isRetracted:null!==(n=r.isRetracted)&&void 0!==n&&n})}}(),d=(0,Ee.useSplashScreen)().hideRootSplashScreen;(0,t.useEffect)((function(){l&&d()}),[]);var f=(0,Ce.useDomRect)(),p=f.ref,h=f.domRect.height,m=(0,Ce.useDomRect)(),v=m.ref,g=m.domRect.width,y=He((0,t.useState)(!0),2),b=y[0],x=y[1];(0,Pe.useEvt)((function(e){var t=u.current;if(t){var n=0,r=(0,Re.getScrollableParent)({element:t,doReturnElementIfScrollable:!0});_e.Evt.from(e,r,"scroll").attach((function(){var e=r.scrollTop;x(e<n||e<=h),n=e}))}}),[u.current,h,c.isRetracted]);var w=qe({childrenWrapperWidth:g,headerHeight:h,isHeaderRetracted:"smart"===c.isRetracted?!b:c.isRetracted,headerPosition:c.position,applyHeaderPadding:null!==s&&void 0!==s&&s},{props:e}),S=w.classes,k=w.cx;return(0,te.jsxs)("div",Be({ref:u,className:k(S.root,i)},{children:[(0,te.jsx)("div",Be({ref:p,className:S.headerWrapper},{children:n})),(0,te.jsxs)("div",Be({className:S.bodyAndFooterWrapper,ref:v},{children:[r,a&&(0,te.jsx)(De,{}),(0,te.jsx)("div",Be({className:S.footerWrapper},{children:o}))]}))]}))})),Ve=(0,t.memo)((function(e){var t=Ue().ThemeProvider,n=(0,te.jsx)(We,Be({},e,{doTakeChargeOfHidingRootSplashScreen:void 0!==t}));return void 0===t?n:(0,te.jsx)(t,Be({splashScreen:Se},{children:n}))})),Ue=function(){var e=Ne()((function(e){if(!e)return(0,he.createThemeProvider)({}).ThemeProvider}));return{useThemeProvider:function(){var t=(0,he.useIsThemeProvided)();return{ThemeProvider:e(t)}}}}().useThemeProvider,qe=ge({name:{GlTemplate:Ve}})((function(e,t){var n=t.headerHeight,r=t.childrenWrapperWidth,o=t.isHeaderRetracted,i=t.headerPosition,a=t.applyHeaderPadding;return{root:{},headerWrapper:Be({padding:a?e.spacing({rightLeft:"".concat(e.paddingRightLeft,"px"),topBottom:"".concat(e.spacing(3),"px")}):void 0},function(){var t={zIndex:1};switch("sticky"===i&&(t=Be(Be({},t),{width:r,backgroundColor:(0,Oe.changeColorOpacity)({color:e.colors.useCases.surfaces.background,opacity:.94}),top:o?-n:0,transition:"top 350ms"})),i){case"sticky":t=Be(Be({},t),{position:"sticky",pointerEvents:o?"none":void 0});break;case"top of page":return{}}return t}()),footerWrapper:{marginTop:"auto"},bodyAndFooterWrapper:{overflowX:"hidden",display:"flex",flexDirection:"column",minHeight:window.innerHeight-n}}})),Ge=n(2748),$e=n(4125),Ke=function(){return Ke=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ke.apply(this,arguments)},Xe=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Ye=(0,t.memo)((function(e){var n=e.href,r=e.label,o=e.className,i=e.onClick,a=Xe((0,t.useState)(!1),2),l=a[0],s=a[1],u=Xe((0,t.useState)(!1),2),c=u[0],d=u[1],f=(0,$e.useCallbackFactory)((function(e){switch(Xe(e,1)[0]){case"enter":return void s(!0);case"leave":s(!1)}})),p=(0,$e.useCallbackFactory)((function(e){switch(Xe(e,1)[0]){case"down":return void d(!0);case"up":d(!1)}})),h=(0,Ce.useDomRect)(),m=h.ref,v=h.domRect.width,g=Qe({isUnderlined:l,width:v,isActive:c},{props:e}),y=g.classes,b=g.cx;return(0,te.jsxs)("div",Ke({ref:m,className:b(y.root,o)},{children:[(0,te.jsx)("a",Ke({onMouseLeave:f("leave"),onMouseEnter:f("enter"),onMouseDown:p("down"),onMouseUp:p("up"),className:y.link,href:n,onClick:i},{children:r})),(0,te.jsx)("div",{className:y.underline})]}))})),Qe=ge({name:"".concat((0,Ge.symToStr)({GlHeaderLink:Ye}))})((function(e,t){var n=t.isUnderlined,r=t.isActive,o=t.width;return{root:{display:"flex",flexDirection:"column",alignItems:"center"},link:Ke(Ke({transition:"color 200ms",color:r?e.colors.useCases.buttons.actionActive:e.colors.useCases.typography.textPrimary,textDecoration:"none"},e.spacing.rightLeft("padding","".concat(e.spacing(3),"px"))),{whiteSpace:"nowrap"}),underline:{width:n?o-e.spacing(3):0,marginTop:e.spacing(1),height:1,backgroundColor:r?e.colors.useCases.buttons.actionActive:e.colors.useCases.typography.textPrimary,transition:"width 200ms, background-color 200ms"}}})),Ze=function(){return Ze=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ze.apply(this,arguments)},Je=(0,t.memo)((function(e){var t=e.links,n=e.className,r=e.type,o=(0,Ce.useDomRect)(),i=o.ref,a=o.domRect.height,l=et({type:r,contentWrapperHeight:a,isUnfolded:"largeScreen"===r?void 0:e.isUnfolded},{props:e}),s=l.classes,u=l.cx;return(0,te.jsxs)("div",Ze({className:u(n,s.root)},{children:["smallScreen"===r&&(0,te.jsx)("div",{className:s.overline}),(0,te.jsx)("div",Ze({ref:i,className:s.contentWrapper},{children:t.map((function(e){var t,n,r;return(0,te.jsx)(Ye,Ze({},e,{classes:{root:u(s.linkRoot,null===(t=e.classes)||void 0===t?void 0:t.root),link:u(s.link,null===(n=e.classes)||void 0===n?void 0:n.link),underline:null===(r=e.classes)||void 0===r?void 0:r.underline}}))}))}))]}))})),et=ge()((function(e,t){var n=t.type,r=t.contentWrapperHeight,o=t.isUnfolded;return{root:Ze({},function(){switch(n){case"largeScreen":return{};case"smallScreen":return{overflow:"hidden",transition:"height 300ms",height:o?r:0,backgroundColor:e.colors.useCases.surfaces.background,display:"flex",alignItems:"center",opacity:"0.94"}}}()),overline:{position:"absolute",height:1,top:0,width:"100%",transition:"background-color 300ms",backgroundColor:o?e.colors.useCases.typography.textSecondary:void 0},contentWrapper:Ze({display:"flex",justifyContent:"start"},function(){switch(n){case"largeScreen":return{flexDirection:"row"};case"smallScreen":return{alignItems:"flex-start",flexDirection:"column",padding:e.spacing({rightLeft:"".concat(e.paddingRightLeft,"px"),topBottom:"".concat(e.spacing(3),"px")})}}}()),linkRoot:Ze({},function(){switch(n){case"largeScreen":return{};case"smallScreen":return Ze({alignItems:"flex-start",paddingRight:e.spacing(3)},e.spacing.topBottom("margin","".concat(e.spacing(2),"px")))}}()),link:Ze({},function(){switch(n){case"largeScreen":return{};case"smallScreen":return{paddingLeft:0}}}())}})),tt=n(5620);class nt extends t.PureComponent{constructor(e){super(e),this.$=t.createRef(),this._=t.createRef()}render(){return t.createElement("span",{ref:this.$},t.createElement("a",{...this.props,ref:this._},this.props.children))}componentDidMount(){this.paint()}getSnapshotBeforeUpdate(){return this.reset(),null}componentDidUpdate(){this.paint()}componentWillUnmount(){this.reset()}paint(){const e=this.$.current.appendChild(document.createElement("span"));Promise.resolve().then(n.bind(n,8968)).then((t=>{let{render:n}=t;null!=this._.current&&n(e.appendChild(this._.current),(function(t){try{e.parentNode.replaceChild(t,e)}catch(e){}}))}))}reset(){this.$.current.replaceChild(this._.current,this.$.current.lastChild)}}const rt=nt;var ot=function(){return ot=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ot.apply(this,arguments)},it=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},at=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},lt=(0,t.memo)((function(e){var t=e.repoUrl,n=e.size,r=e.className,o=e.showCount,i=st(),a=i.classes,l=i.cx,s=(0,pe.useIsDarkModeEnabled)().isDarkModeEnabled?"dark":"light";return(0,te.jsx)("div",ot({className:l(a.root,r)},{children:(0,te.jsx)(rt,{href:t,"data-color-scheme":at(["no-preference: light;"],it(["light","dark"].map((function(e){return"".concat(e,": ").concat(s,";")}))),!1).join("\n"),"data-icon":"octicon-star","data-size":"large"===n?n:"","data-show-count":"".concat(null!==o&&void 0!==o&&o)})}))})),st=ge({name:{GlGithubStarCount:lt}})({root:{"& span":{display:"flex",alignItems:"center"}}}),ut=n(6312),ct=n(7176),dt=function(){return dt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},dt.apply(this,arguments)},ft=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},pt=(0,t.memo)((function(e){var n=e.links,r=e.className,o=e.customItemEnd,i=e.customItemStart,a=e.enableDarkModeSwitch,l=e.githubButtonSize,s=e.githubRepoUrl,u=e.showGithubStarCount,c=e.title,d=e.titleDark,f=e.titleSmallScreen,p=e.titleSmallScreenDark,h=e.customBreakpoint,m=ft((0,t.useState)(!1),2),v=m[0],g=m[1],y=ft((0,t.useState)(void 0),2),b=y[0],x=y[1],w=ft((0,t.useState)(void 0),2),S=w[0],k=w[1],A=(0,Te.useConstCallback)((function(){g(!v)})),E=(0,ct.useClickAway)({onClickAway:function(){g(!1)}}).ref,C=(0,Ce.useDomRect)({ref:E}).domRect,P=C.height,_=C.width,O=(0,Ce.useDomRect)(),j=O.ref,T=O.domRect.width,M=(0,Ce.useDomRect)(),R=M.ref,L=M.domRect.width;(0,t.useEffect)((function(){b||g(!1)}),[b]),(0,t.useEffect)((function(){if(!b&&0!==T&&0!==L&&0!==_&&void 0===h){var e=T+L+F.spacing(7)+2*F.paddingRightLeft;_<e&&void 0!==S||k(e)}}),[T,L,_,b]),(0,Pe.useEvt)((function(e){if(E.current){var t=(0,Re.getScrollableParent)({element:E.current,doReturnElementIfScrollable:!0});_e.Evt.from(e,t,"scroll").attach((function(){var e=t.scrollTop;P<e&&g(!1)}))}}),[E.current,P]);var I=(0,t.useCallback)((function(e){var t;return void 0===e?"normal":null!==(t=e.behaviorOnSmallDevice)&&void 0!==t?t:"normal"}),[null===i||void 0===i?void 0:i.behaviorOnSmallDevice,null===o||void 0===o?void 0:o.behaviorOnSmallDevice]),D=ht({isSmallDevice:b,customItemStartSmallBehavior:I(i),customItemEndSmallBehavior:I(o)},{props:e}),F=D.theme,z=D.classes,N=D.cx;return(0,t.useEffect)((function(){void 0===h?void 0!==S&&x(F.windowInnerWidth<S||F.windowInnerWidth<we.sm):x(F.windowInnerWidth<h)}),[F.windowInnerWidth,S]),(0,te.jsxs)("header",dt({ref:E,className:N(z.root,r)},{children:[(0,te.jsxs)("div",dt({className:z.largeScreenContentWrapper},{children:[(0,te.jsx)("div",dt({ref:j,className:z.titleWrapper},{children:function(){var e,t,n=function(e){return"string"===typeof e?(0,te.jsx)(ye,dt({className:z.titleText,typo:"subtitle"},{children:e})):e};return F.windowInnerWidth>=we.md?F.isDarkModeEnabled?n(null!==d&&void 0!==d?d:c):n(c):F.isDarkModeEnabled?n(null!==(t=null!==(e=null!==p&&void 0!==p?p:f)&&void 0!==e?e:d)&&void 0!==t?t:c):n(null!==f&&void 0!==f?f:c)}()})),(0,te.jsxs)("div",dt({ref:R,className:z.linkAndButtonWrapper},{children:[void 0!==i&&(0,te.jsx)("div",dt({className:N(z.commonCustomItemWrapper,z.customItemStartWrapper)},{children:i.item})),(0,te.jsx)("div",dt({className:z.linksWrapperLargeScreen},{children:(0,te.jsx)(Je,{classes:{contentWrapper:z.linksContentWrapper},className:z.links,links:n.map((function(e){return dt(dt({},e),{classes:{link:z.link,underline:z.underline},className:z.linkRoot})})),type:"largeScreen"})})),void 0!==s&&(0,te.jsx)(lt,{repoUrl:s,size:l,showCount:u,className:z.githubStar}),void 0!==a&&a&&(0,te.jsx)(tt.DarkModeSwitch,{className:z.darkModeSwitch}),void 0!==o&&(0,te.jsx)("div",dt({className:N(z.commonCustomItemWrapper,z.customItemEndWrapper)},{children:o.item})),(0,te.jsx)("div",dt({className:z.unfoldIconWrapper,onClick:A},{children:(0,te.jsx)(ut.A,{className:z.unfoldIcon})}))]}))]})),(void 0!==i||void 0!==o)&&(0,te.jsxs)("div",dt({className:z.smallDeviceCustomItemsWrapper},{children:[void 0!==i&&(0,te.jsx)("div",dt({className:N(z.commonSmallDeviceCustomItemWrapper,z.smallDeviceCustomItemStartWrapper)},{children:i.item})),void 0!==o&&(0,te.jsx)("div",dt({className:N(z.commonSmallDeviceCustomItemWrapper,z.smallDeviceCustomItemEndWrapper)},{children:o.item}))]})),(0,te.jsx)(Je,{classes:{contentWrapper:z.linksContentWrapperSmallScreen,overline:z.linksOverline},links:n.map((function(e){return dt(dt({},e),{classes:{link:z.linkSmallScreen,root:z.linkRootSmallScreen,underline:z.underlineSmallScreen}})})),className:z.smallDeviceLinks,type:"smallScreen",isUnfolded:v})]}))})),ht=ge({name:{GlHeader:pt}})((function(e,t){var n=t.isSmallDevice,r=t.customItemEndSmallBehavior,o=t.customItemStartSmallBehavior;function i(e){if(!n||"wrap"!==e)return"none"}function a(e){if(n)return"normal"===e?void 0:"none"}return{root:{padding:e.spacing({rightLeft:"".concat(e.paddingRightLeft,"px"),topBottom:"".concat(e.spacing(3),"px")}),position:"relative",opacity:void 0===n?0:1,maxWidth:"100%",overflowX:n?void 0:"hidden"},largeScreenContentWrapper:{display:"flex",justifyContent:"space-between",alignItems:"center"},titleWrapper:{marginRight:n?void 0:e.spacing(8)},titleText:{whiteSpace:"nowrap"},linkAndButtonWrapper:{display:"grid",gridAutoFlow:"column",alignItems:"center",gap:e.spacing(3)},link:{marginTop:e.spacing(1)},smallDeviceLinks:{position:"absolute",top:"100%",left:0,width:"100%"},unfoldIconWrapper:{display:n?"flex":"none",alignItems:"center"},links:{order:2,display:n?"none":"flex",pointerEvents:n?"none":void 0},linksWrapperLargeScreen:{order:n?-1:void 0},smallDeviceCustomItemsWrapper:dt({display:n?"grid":"none",gridAutoFlow:"row",alignItems:"end"},function(){var t=e.spacing(3);return dt({gap:t},e.spacing.topBottom("margin","".concat(t,"px")))}()),commonSmallDeviceCustomItemWrapper:{display:"flex",justifyContent:"flex-end"},smallDeviceCustomItemStartWrapper:{display:i(o)},smallDeviceCustomItemEndWrapper:{display:i(r)},customItemStartWrapper:{display:a(o)},customItemEndWrapper:{display:a(r)},commonCustomItemWrapper:{},unfoldIcon:{},githubStar:{},darkModeSwitch:{},linkRoot:{},underline:{},linkRootSmallScreen:{},underlineSmallScreen:{},linkSmallScreen:{},linksContentWrapper:{},linksContentWrapperSmallScreen:{},linksOverline:{}}})),mt=n(3716);const{useTranslation:vt,resolveLocalizedString:gt,useLang:yt,$lang:bt,useResolveLocalizedString:xt,getTranslation:wt}=(0,mt.Jj)()({languages:["en","fr","es"],fallbackLanguage:"en"},{en:{FourOhFour:{"not found":"Page not found"},Header:{headerTitle:"PostgSail",link1label:"Example page",link2label:"GitHub",link3label:"Documentation"},Footer:{license:"License Apache",link1label:"Example page",link2label:"GitHub",link3label:"Documentation"},Home:{heroTitle:"Cloud, hosted and fully\u2013managed, designed for all your needs.",heroSubtitle:" Effortless cloud based solution for storing and sharing your SignalK data. Allow to effortlessly log your sails and monitor your boat with historical data.",articleButtonLabel:"Try PostgSail for free now",card1Title:"Open Source",card2Title:"Join the community",card3Title:"Customize",card1Paragraph:"All code is available as open-source on Github. Collaborative cloud development environments (CDEs).",card2Paragraph:"Get support and exchange on Discord. Missing a feature? just ask!",card3Paragraph:"Create and manage your own dashboards.",articleTitle:"Timelapse",articleBody:"- See your real-time or historical track(s) via animated timelapse\n\n- Select one voyage or a date range of multiple trips to animate\n\n- Sharable! Keep tracks private or share with friends\n\t\t\t\t\t\t",article2Title:"Boat Monitoring",article2Body:"- Check your vessel from anywhere in the world in real-time.\n\n- Monitor wind, depth, barometer, temperatures and more\n\n- See historical (up-to 7 days) data\n\n- View power and battery status\n\n- Get automated push or email alerts for significant changes in status or location changes",article2ButtonLabel:"Article button label",article3Title:"Automated Logging",article3Body:"- Automatic. No app to start or button to push.\n\n- Auto-identifies and names your start and stop positions\n\n- Records duration, distance, average and max boat and wind speeds\n\n- Add your own voyage notes or details in text box\n\n- Upon voyage completion, PostgSail will automatically email your trip log and add it to your stats.",article3ButtonLabel:"Article button label",projectCardTitle1:"ROUTE SHARING",projectCardTitle2:"AUTO logging",projectCardTitle3:"boat monitoring",projectCardTitle4:"STATS & Maps",projectCardSubtitle1:"Want to share your real-time location and data with your friends and family? Its easy to toggle on and share a private link with your track and current location mapped & historical track, boat and wind speeds.",projectCardSubtitle2:"Never start (or forget to) start your tracking app again. PostgSail knows when you leave the dock and starts to log your trip automatically. Stats include location names, duration, speed, distance, wind and more. ",projectCardSubtitle3:"Check in on your vessel from anywhere in the world in real-time. Reporting includes temperatures, depth, wind, humidity, location, voltage and many more options if your boat is sensor equipped. ",projectCardSubtitle4:"See all your voyages in a single shot or map. Filter by date, type of moorages and more to see some incredible stats!",checkListHeading:"Amazing features, all automated",checkListElementTitle1:"Timelapse",checkListElementTitle2:"Boat Monitoring",checkListElementTitle3:"Automated Logging",checkListElementTitle4:"Realtime Route Sharing",checkListElementTitle5:"Stats and Maps",checkListElementTitle6:"AI/ML",checkListElementTitle7:"Telegram bot",checkListElementTitle8:"Export",checkListElementTitle9:"Polar performance",checkListElementDescription1:"Timelapse your track. Replay your trips on a interactive map with all weather condition.",checkListElementDescription2:"Monitor your boat.",checkListElementDescription3:"Log your trips.",checkListElementDescription4:"Go social",checkListElementDescription5:"Track your stats. Awesome statistics and graphs. Beautiful map",checkListElementDescription6:"Predictive failure.",checkListElementDescription7:"Control your boat remotely.",checkListElementDescription8:"Export to CSV, GPX, GeoJSON, KML and download your logs.",checkListElementDescription9:"Generate performance information based on a polar diagram."},PageExample:{articleTitle:"Article title",articleBody:"Am finished rejoiced drawings so he \n\t\t\t\t\t\t\telegance. Set lose dear upon had two its what seen. \n\t\t\t\t\t\t\tHeld she sir how know what such whom. \n\t\t\t\t\t\t\tEsteem put uneasy set piqued son depend her others. \n\t\t\t\t\t\t\tTwo dear held mrs feet view her old fine. Bore can \n\t\t\t\t\t\t\tled than how has rank. Discovery any extensive has \n\t\t\t\t\t\t\tcommanded direction. Short at front which blind as. \n\t\t\t\t\t\t\tYe as procuring unwilling principle by.",articleButtonLabel:"Article button label",article2Title:"Article title",article2Body:"Am finished rejoiced drawings so he \n\t\t\t\t\t\t\telegance. Set lose dear upon had two its what seen. \n\t\t\t\t\t\t\tHeld she sir how know what such whom. \n\t\t\t\t\t\t\tEsteem put uneasy set piqued son depend her others. \n\t\t\t\t\t\t\tTwo dear held mrs feet view her old fine. Bore can \n\t\t\t\t\t\t\tled than how has rank. Discovery any extensive has \n\t\t\t\t\t\t\tcommanded direction. Short at front which blind as. \n\t\t\t\t\t\t\tYe as procuring unwilling principle by.",article2ButtonLabel:"Article button label",article3Title:"Article title",article3Body:"Am finished rejoiced drawings so he \n\t\t\t\t\t\t\telegance. Set lose dear upon had two its what seen. \n\t\t\t\t\t\t\tHeld she sir how know what such whom. \n\t\t\t\t\t\t\tEsteem put uneasy set piqued son depend her others. \n\t\t\t\t\t\t\tTwo dear held mrs feet view her old fine. Bore can \n\t\t\t\t\t\t\tled than how has rank. Discovery any extensive has \n\t\t\t\t\t\t\tcommanded direction. Short at front which blind as. \n\t\t\t\t\t\t\tYe as procuring unwilling principle by.",article3ButtonLabel:"Article button label",projectCardTitle1:"ROUTE SHARING",projectCardTitle2:"AUTO logging",projectCardTitle3:"boat monitoring",projectCardTitle4:"STATS & Maps",projectCardSubtitle1:"Want to share your real-time location and data with your friends and family? Its easy to toggle on and share a private link with your track and current location mapped & historical track, boat and wind speeds.",projectCardSubtitle2:"Never start (or forget to) start your tracking app again. PostgSail knows when you leave the dock and starts to log your trip automatically. Stats include location names, duration, speed, distance, wind and more. ",projectCardSubtitle3:"Check in on your vessel from anywhere in the world in real-time. Reporting includes temperatures, depth, wind, humidity, location, voltage and many more options if your boat is sensor equipped. ",projectCardSubtitle4:"See all your voyages in a single shot or map. Filter by date, type of moorages and more to see some incredible stats!",checkListHeading:"Features",checkListElementTitle1:"Timelapse",checkListElementTitle2:"Boat Monitoring",checkListElementTitle3:"Automated Logging",checkListElementTitle4:"Realtime Route Sharing",checkListElementTitle5:"Stats and Maps",checkListElementTitle6:"AI/ML",checkListElementDescription1:"Timelapse your track. Replay your trips on a interactive map with all weather condition.",checkListElementDescription2:"Monitor your boat.",checkListElementDescription3:"Log your trips.",checkListElementDescription4:"Go social",checkListElementDescription5:"Track your stats.",checkListElementDescription6:"Predictive failure."}},fr:{FourOhFour:{"not found":"Page non trouv\xe9e"},Header:{headerTitle:"PostgSail",link1label:"Example page",link2label:"GitHub",link3label:"Documentation"},Footer:{license:"License Apache",link1label:"Example page",link2label:"GitHub",link3label:"Documentation"},Home:{heroTitle:"Cloud, hosted and fully\u2013managed, designed for all your needs.",heroSubtitle:" Effortless cloud based solution for storing and sharing your SignalK data. Allow to effortlessly log your sails and monitor your boat with historical data.",articleButtonLabel:"Try PostgSail for free now",card1Title:"Open Source",card2Title:"Join the community",card3Title:"Customize",card1Paragraph:"Source code is available on Github",card2Paragraph:"Get support and exchange on Discord",card3Paragraph:"Make your own dashboard",articleTitle:"Timelapse",articleBody:"- See your real-time or historical track(s) via animated timelapse\n\n- Select one voyage or a date range of multiple trips to animate\n\n- Sharable! Keep tracks private or share with friends\n\t\t\t\t",article2Title:"Boat Monitoring",article2Body:"- Check your vessel from anywhere in the world in real-time.\n\n- Monitor wind, depth, barometer, temperatures and more\n\n- See historical (up-to 7 days) data\n\n- View power and battery status\n\n- Get automated push or email alerts for significant changes in status or location changes",article2ButtonLabel:"Article button label",article3Title:"Automated Logging",article3Body:"- Automatic. No app to start or button to push.\n\n- Auto-identifies and names your start and stop positions\n\n- Records duration, distance, average and max boat and wind speeds\n\n- Add your own voyage notes or details in text box\n\n- Upon voyage completion, PostgSail will automatically email your trip log and add it to your stats.",article3ButtonLabel:"Article button label",projectCardTitle1:"ROUTE SHARING",projectCardTitle2:"AUTO logging",projectCardTitle3:"boat monitoring",projectCardTitle4:"STATS & Maps",projectCardSubtitle1:"Want to share your real-time location and data with your friends and family? Its easy to toggle on and share a private link with your track and current location mapped & historical track, boat and wind speeds.",projectCardSubtitle2:"Never start (or forget to) start your tracking app again. PostgSail knows when you leave the dock and starts to log your trip automatically. Stats include location names, duration, speed, distance, wind and more. ",projectCardSubtitle3:"Check in on your vessel from anywhere in the world in real-time. Reporting includes temperatures, depth, wind, humidity, location, voltage and many more options if your boat is sensor equipped. ",projectCardSubtitle4:"See all your voyages in a single shot or map. Filter by date, type of moorages and more to see some incredible stats!",checkListHeading:"Amazing features, all automated",checkListElementTitle1:"Timelapse",checkListElementTitle2:"Boat Monitoring",checkListElementTitle3:"Automated Logging",checkListElementTitle4:"Realtime Route Sharing",checkListElementTitle5:"Stats and Maps",checkListElementTitle6:"AI/ML",checkListElementTitle7:"Telegram bot",checkListElementTitle8:"Stats and Maps",checkListElementTitle9:"Polar performance",checkListElementDescription1:"Timelapse your track. Replay your trips on a interactive map with all weather condition.",checkListElementDescription2:"Monitor your boat.",checkListElementDescription3:"Log your trips.",checkListElementDescription4:"Go social",checkListElementDescription5:"Track your stats.",checkListElementDescription6:"Predictive failure.",checkListElementDescription7:"Control your boat remotely.",checkListElementDescription8:"Track your stats.",checkListElementDescription9:"Generate performance information based on a polar diagram."},PageExample:{articleTitle:"Article title",articleBody:"Am finished rejoiced drawings so he \n\t\t\t\t\telegance. Set lose dear upon had two its what seen. \n\t\t\t\t\tHeld she sir how know what such whom. \n\t\t\t\t\tEsteem put uneasy set piqued son depend her others. \n\t\t\t\t\tTwo dear held mrs feet view her old fine. Bore can \n\t\t\t\t\tled than how has rank. Discovery any extensive has \n\t\t\t\t\tcommanded direction. Short at front which blind as. \n\t\t\t\t\tYe as procuring unwilling principle by.",articleButtonLabel:"Article button label",article2Title:"Article title",article2Body:"Am finished rejoiced drawings so he \n\t\t\t\t\telegance. Set lose dear upon had two its what seen. \n\t\t\t\t\tHeld she sir how know what such whom. \n\t\t\t\t\tEsteem put uneasy set piqued son depend her others. \n\t\t\t\t\tTwo dear held mrs feet view her old fine. Bore can \n\t\t\t\t\tled than how has rank. Discovery any extensive has \n\t\t\t\t\tcommanded direction. Short at front which blind as. \n\t\t\t\t\tYe as procuring unwilling principle by.",article2ButtonLabel:"Article button label",article3Title:"Article title",article3Body:"Am finished rejoiced drawings so he \n\t\t\t\t\telegance. Set lose dear upon had two its what seen. \n\t\t\t\t\tHeld she sir how know what such whom. \n\t\t\t\t\tEsteem put uneasy set piqued son depend her others. \n\t\t\t\t\tTwo dear held mrs feet view her old fine. Bore can \n\t\t\t\t\tled than how has rank. Discovery any extensive has \n\t\t\t\t\tcommanded direction. Short at front which blind as. \n\t\t\t\t\tYe as procuring unwilling principle by.",article3ButtonLabel:"Article button label",projectCardTitle1:"ROUTE SHARING",projectCardTitle2:"AUTO logging",projectCardTitle3:"boat monitoring",projectCardTitle4:"STATS & Maps",projectCardSubtitle1:"Want to share your real-time location and data with your friends and family? Its easy to toggle on and share a private link with your track and current location mapped & historical track, boat and wind speeds.",projectCardSubtitle2:"Never start (or forget to) start your tracking app again. PostgSail knows when you leave the dock and starts to log your trip automatically. Stats include location names, duration, speed, distance, wind and more. ",projectCardSubtitle3:"Check in on your vessel from anywhere in the world in real-time. Reporting includes temperatures, depth, wind, humidity, location, voltage and many more options if your boat is sensor equipped. ",projectCardSubtitle4:"See all your voyages in a single shot or map. Filter by date, type of moorages and more to see some incredible stats!",checkListHeading:"Features",checkListElementTitle1:"Timelapse",checkListElementTitle2:"Boat Monitoring",checkListElementTitle3:"Automated Logging",checkListElementTitle4:"Realtime Route Sharing",checkListElementTitle5:"Stats and Maps",checkListElementTitle6:"AI/ML",checkListElementDescription1:"Timelapse your track. Replay your trips on a interactive map with all weather condition.",checkListElementDescription2:"Monitor your boat.",checkListElementDescription3:"Log your trips.",checkListElementDescription4:"Go social",checkListElementDescription5:"Track your stats.",checkListElementDescription6:"Predictive failure."}},es:{FourOhFour:{"not found":"P\xe1gina no encontrada"},Header:{headerTitle:"PostgSail",link1label:"Example page",link2label:"GitHub",link3label:"Documentation"},Footer:{license:"License Apache",link1label:"Example page",link2label:"GitHub",link3label:"Documentation"},Home:{heroTitle:"Cloud, hosted and fully\u2013managed, designed for all your needs.",heroSubtitle:" Effortless cloud based solution for storing and sharing your SignalK data. Allow to effortlessly log your sails and monitor your boat with historical data.",articleButtonLabel:"Try PostgSail for free now",card1Title:"Open Source",card2Title:"Join the community",card3Title:"Customize",card1Paragraph:"Source code is available on Github",card2Paragraph:"Get support and exchange on Discord",card3Paragraph:"Make your own dashboard",articleTitle:"Timelapse",articleBody:"- See your real-time or historical track(s) via animated timelapse\n\n- Select one voyage or a date range of multiple trips to animate\n\n- Sharable! Keep tracks private or share with friends\n\t\t\t\t",article2Title:"Boat Monitoring",article2Body:"- Check your vessel from anywhere in the world in real-time.\n\n- Monitor wind, depth, barometer, temperatures and more\n\n- See historical (up-to 7 days) data\n\n- View power and battery status\n\n- Get automated push or email alerts for significant changes in status or location changes",article2ButtonLabel:"Article button label",article3Title:"Automated Logging",article3Body:"- Automatic. No app to start or button to push.\n\n- Auto-identifies and names your start and stop positions\n\n- Records duration, distance, average and max boat and wind speeds\n\n- Add your own voyage notes or details in text box\n\n- Upon voyage completion, PostgSail will automatically email your trip log and add it to your stats.",article3ButtonLabel:"Article button label",projectCardTitle1:"ROUTE SHARING",projectCardTitle2:"AUTO logging",projectCardTitle3:"boat monitoring",projectCardTitle4:"STATS & Maps",projectCardSubtitle1:"Want to share your real-time location and data with your friends and family? Its easy to toggle on and share a private link with your track and current location mapped & historical track, boat and wind speeds.",projectCardSubtitle2:"Never start (or forget to) start your tracking app again. PostgSail knows when you leave the dock and starts to log your trip automatically. Stats include location names, duration, speed, distance, wind and more. ",projectCardSubtitle3:"Check in on your vessel from anywhere in the world in real-time. Reporting includes temperatures, depth, wind, humidity, location, voltage and many more options if your boat is sensor equipped. ",projectCardSubtitle4:"See all your voyages in a single shot or map. Filter by date, type of moorages and more to see some incredible stats!",checkListHeading:"Amazing features, all automated",checkListElementTitle1:"Timelapse",checkListElementTitle2:"Boat Monitoring",checkListElementTitle3:"Automated Logging",checkListElementTitle4:"Realtime Route Sharing",checkListElementTitle5:"Stats and Maps",checkListElementTitle6:"AI/ML",checkListElementTitle7:"Telegram bot",checkListElementTitle8:"Stats and Maps",checkListElementTitle9:"Polar performance",checkListElementDescription1:"Timelapse your track. Replay your trips on a interactive map with all weather condition.",checkListElementDescription2:"Monitor your boat.",checkListElementDescription3:"Log your trips.",checkListElementDescription4:"Go social",checkListElementDescription5:"Track your stats.",checkListElementDescription6:"Predictive failure.",checkListElementDescription7:"Control your boat remotely.",checkListElementDescription8:"Track your stats.",checkListElementDescription9:"Generate performance information based on a polar diagram."},PageExample:{articleTitle:"Article title",articleBody:"Am finished rejoiced drawings so he \n\t\t\t\t\telegance. Set lose dear upon had two its what seen. \n\t\t\t\t\tHeld she sir how know what such whom. \n\t\t\t\t\tEsteem put uneasy set piqued son depend her others. \n\t\t\t\t\tTwo dear held mrs feet view her old fine. Bore can \n\t\t\t\t\tled than how has rank. Discovery any extensive has \n\t\t\t\t\tcommanded direction. Short at front which blind as. \n\t\t\t\t\tYe as procuring unwilling principle by.",articleButtonLabel:"Article button label",article2Title:"Article title",article2Body:"Am finished rejoiced drawings so he \n\t\t\t\t\telegance. Set lose dear upon had two its what seen. \n\t\t\t\t\tHeld she sir how know what such whom. \n\t\t\t\t\tEsteem put uneasy set piqued son depend her others. \n\t\t\t\t\tTwo dear held mrs feet view her old fine. Bore can \n\t\t\t\t\tled than how has rank. Discovery any extensive has \n\t\t\t\t\tcommanded direction. Short at front which blind as. \n\t\t\t\t\tYe as procuring unwilling principle by.",article2ButtonLabel:"Article button label",article3Title:"Article title",article3Body:"Am finished rejoiced drawings so he \n\t\t\t\t\telegance. Set lose dear upon had two its what seen. \n\t\t\t\t\tHeld she sir how know what such whom. \n\t\t\t\t\tEsteem put uneasy set piqued son depend her others. \n\t\t\t\t\tTwo dear held mrs feet view her old fine. Bore can \n\t\t\t\t\tled than how has rank. Discovery any extensive has \n\t\t\t\t\tcommanded direction. Short at front which blind as. \n\t\t\t\t\tYe as procuring unwilling principle by.",article3ButtonLabel:"Article button label",projectCardTitle1:"ROUTE SHARING",projectCardTitle2:"AUTO logging",projectCardTitle3:"boat monitoring",projectCardTitle4:"STATS & Maps",projectCardSubtitle1:"Want to share your real-time location and data with your friends and family? Its easy to toggle on and share a private link with your track and current location mapped & historical track, boat and wind speeds.",projectCardSubtitle2:"Never start (or forget to) start your tracking app again. PostgSail knows when you leave the dock and starts to log your trip automatically. Stats include location names, duration, speed, distance, wind and more. ",projectCardSubtitle3:"Check in on your vessel from anywhere in the world in real-time. Reporting includes temperatures, depth, wind, humidity, location, voltage and many more options if your boat is sensor equipped. ",projectCardSubtitle4:"See all your voyages in a single shot or map. Filter by date, type of moorages and more to see some incredible stats!",checkListHeading:"Features",checkListElementTitle1:"Timelapse",checkListElementTitle2:"Boat Monitoring",checkListElementTitle3:"Automated Logging",checkListElementTitle4:"Realtime Route Sharing",checkListElementTitle5:"Stats and Maps",checkListElementTitle6:"Predictive failure",checkListElementDescription1:"Il remarquait et en survivants eclaireurs legerement qu. Animaux nos humains fer fut ramassa encourt.",checkListElementDescription2:"Il remarquait et en survivants eclaireurs legerement qu. Animaux nos humains fer fut ramassa encourt.",checkListElementDescription3:"Il remarquait et en survivants eclaireurs legerement qu. Animaux nos humains fer fut ramassa encourt.",checkListElementDescription4:"Il remarquait et en survivants eclaireurs legerement qu. Animaux nos humains fer fut ramassa encourt.",checkListElementDescription5:"Il remarquait et en survivants eclaireurs legerement qu. Animaux nos humains fer fut ramassa encourt.",checkListElementDescription6:"Il remarquait et en survivants eclaireurs legerement qu. Animaux nos humains fer fut ramassa encourt."}}});var St=n(5973);const kt=n.p+"static/media/PostgsailLogo.132516ec587bf04cd61e19103b9c54f8.svg",{LanguageSelect:At}=(0,St.createLanguageSelect)({languagesPrettyPrint:{en:"English",fr:"Francais",es:"Spanish"}}),Et=(0,t.memo)((()=>{const{t:e}=vt({Header:Et}),{lang:t,setLang:n}=yt();return(0,te.jsx)(pt,{title:(0,te.jsx)("a",{...J.home().link,children:(0,te.jsx)("h1",{children:(0,te.jsx)("img",{src:kt,alt:"Postgsail Logo",height:48})})}),links:[{label:e("link2label"),href:"https://github.com/xbgmsharp/postgsail/"},{label:e("link3label"),href:"https://github.com/xbgmsharp/postgsail/tree/main/docs"}],enableDarkModeSwitch:!0,githubRepoUrl:"https://github.com/xbgmsharp/postgsail/",githubButtonSize:"large",showGithubStarCount:!0,customItemEnd:{item:(0,te.jsx)(At,{language:t,onLanguageChange:n,variant:"big"})}})})),{i18n:Ct}=(0,mt.io)()({Header:Et});var Pt=n(8587),_t=n(5540),Ot=function(e,t){return Ot=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Ot(e,t)};function jt(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Ot(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Tt=function(){return Tt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Tt.apply(this,arguments)};function Mt(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function Rt(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function Lt(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"===typeof SuppressedError&&SuppressedError;var It=n(2168),Dt=new Map,Ft=function(e){return e.cloneNode(!0)},zt=function(){return"file:"===window.location.protocol},Nt=function(e,t,n){var r=new XMLHttpRequest;r.onreadystatechange=function(){try{if(!/\.svg/i.test(e)&&2===r.readyState){var t=r.getResponseHeader("Content-Type");if(!t)throw new Error("Content type not found");var o=(0,It.q)(t).type;if("image/svg+xml"!==o&&"text/plain"!==o)throw new Error("Invalid content type: ".concat(o))}if(4===r.readyState){if(404===r.status||null===r.responseXML)throw new Error(zt()?"Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+e);if(!(200===r.status||zt()&&0===r.status))throw new Error("There was a problem injecting the SVG: "+r.status+" "+r.statusText);n(null,r)}}catch(i){if(r.abort(),!(i instanceof Error))throw i;n(i,r)}},r.open("GET",e),r.withCredentials=t,r.overrideMimeType&&r.overrideMimeType("text/xml"),r.send()},Bt={},Ht=function(e,t){Bt[e]=Bt[e]||[],Bt[e].push(t)},Wt=function(e,t,n){if(Dt.has(e)){var r=Dt.get(e);if(void 0===r)return void Ht(e,n);if(r instanceof SVGSVGElement)return void n(null,Ft(r))}Dt.set(e,void 0),Ht(e,n),Nt(e,t,(function(t,n){var r;t?Dt.set(e,t):(null===(r=n.responseXML)||void 0===r?void 0:r.documentElement)instanceof SVGSVGElement&&Dt.set(e,n.responseXML.documentElement),function(e){for(var t=function(t,n){setTimeout((function(){if(Array.isArray(Bt[e])){var n=Dt.get(e),r=Bt[e][t];n instanceof SVGSVGElement&&r(null,Ft(n)),n instanceof Error&&r(n),t===Bt[e].length-1&&delete Bt[e]}}),0)},n=0,r=Bt[e].length;n<r;n++)t(n)}(e)}))},Vt=function(e,t,n){Nt(e,t,(function(e,t){var r;e?n(e):(null===(r=t.responseXML)||void 0===r?void 0:r.documentElement)instanceof SVGSVGElement&&n(null,t.responseXML.documentElement)}))},Ut=0,qt=[],Gt={},$t="http://www.w3.org/1999/xlink",Kt=function(e,t,n,r,o,i,a){var l=e.getAttribute("data-src")||e.getAttribute("src");if(l){if(-1!==qt.indexOf(e))return qt.splice(qt.indexOf(e),1),void(e=null);qt.push(e),e.setAttribute("src",""),(r?Wt:Vt)(l,o,(function(r,o){if(!o)return qt.splice(qt.indexOf(e),1),e=null,void a(r);var s=e.getAttribute("id");s&&o.setAttribute("id",s);var u=e.getAttribute("title");u&&o.setAttribute("title",u);var c=e.getAttribute("width");c&&o.setAttribute("width",c);var d=e.getAttribute("height");d&&o.setAttribute("height",d);var f=Array.from(new Set(Lt(Lt(Lt([],(o.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(e.getAttribute("class")||"").split(" "),!0))).join(" ").trim();o.setAttribute("class",f);var p=e.getAttribute("style");p&&o.setAttribute("style",p),o.setAttribute("data-src",l);var h=[].filter.call(e.attributes,(function(e){return/^data-\w[\w-]*$/.test(e.name)}));if(Array.prototype.forEach.call(h,(function(e){e.name&&e.value&&o.setAttribute(e.name,e.value)})),n){var m,v,g,y,b,x={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],path:[],pattern:["fill","stroke"],radialGradient:["fill","stroke"]};Object.keys(x).forEach((function(e){m=e,g=x[e];for(var t=function(e,t){var n;y=v[e].id,b=y+"-"+ ++Ut,Array.prototype.forEach.call(g,(function(e){for(var t=0,r=(n=o.querySelectorAll("["+e+'*="'+y+'"]')).length;t<r;t++){var i=n[t].getAttribute(e);i&&!i.match(new RegExp('url\\("?#'+y+'"?\\)'))||n[t].setAttribute(e,"url(#"+b+")")}}));for(var r=o.querySelectorAll("[*|href]"),i=[],a=0,l=r.length;a<l;a++){var s=r[a].getAttributeNS($t,"href");s&&s.toString()==="#"+v[e].id&&i.push(r[a])}for(var u=0,c=i.length;u<c;u++)i[u].setAttributeNS($t,"href","#"+b);v[e].id=b},n=0,r=(v=o.querySelectorAll(m+"[id]")).length;n<r;n++)t(n)}))}o.removeAttribute("xmlns:a");for(var w,S,k=o.querySelectorAll("script"),A=[],E=0,C=k.length;E<C;E++)(S=k[E].getAttribute("type"))&&"application/ecmascript"!==S&&"application/javascript"!==S&&"text/javascript"!==S||((w=k[E].innerText||k[E].textContent)&&A.push(w),o.removeChild(k[E]));if(A.length>0&&("always"===t||"once"===t&&!Gt[l])){for(var P=0,_=A.length;P<_;P++)new Function(A[P])(window);Gt[l]=!0}var O=o.querySelectorAll("style");if(Array.prototype.forEach.call(O,(function(e){e.textContent+=""})),o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("xmlns:xlink",$t),i(o),!e.parentNode)return qt.splice(qt.indexOf(e),1),e=null,void a(new Error("Parent node is null"));e.parentNode.replaceChild(o,e),qt.splice(qt.indexOf(e),1),e=null,a(null,o)}))}else a(new Error("Invalid data-src or src attribute"))},Xt=n(5173),Yt=["afterInjection","beforeInjection","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","useRequestCache","wrapper"],Qt="http://www.w3.org/2000/svg",Zt="http://www.w3.org/1999/xlink",Jt=function(e){function n(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).initialState={hasError:!1,isLoading:!0},t.state=t.initialState,t._isMounted=!1,t.reactWrapper=void 0,t.nonReactWrapper=void 0,t.refCallback=function(e){t.reactWrapper=e},t}(0,_t.A)(n,e);var r=n.prototype;return r.renderSVG=function(){var e,t=this;if(this.reactWrapper instanceof(e=this.reactWrapper,((null==e?void 0:e.ownerDocument)||document).defaultView||window).Node){var n,r,o=this.props,i=o.beforeInjection,a=o.evalScripts,l=o.httpRequestWithCredentials,s=o.renumerateIRIElements,u=o.src,c=o.useRequestCache,d=this.props.afterInjection,f=this.props.wrapper;"svg"===f?((n=document.createElementNS(Qt,f)).setAttribute("xmlns",Qt),n.setAttribute("xmlns:xlink",Zt),r=document.createElementNS(Qt,f)):(n=document.createElement(f),r=document.createElement(f)),n.appendChild(r),r.dataset.src=u,this.nonReactWrapper=this.reactWrapper.appendChild(n);!function(e,t){var n=void 0===t?{}:t,r=n.afterAll,o=void 0===r?function(){}:r,i=n.afterEach,a=void 0===i?function(){}:i,l=n.beforeEach,s=void 0===l?function(){}:l,u=n.cacheRequests,c=void 0===u||u,d=n.evalScripts,f=void 0===d?"never":d,p=n.httpRequestWithCredentials,h=void 0!==p&&p,m=n.renumerateIRIElements,v=void 0===m||m;if(e&&"length"in e)for(var g=0,y=0,b=e.length;y<b;y++)Kt(e[y],f,v,c,h,s,(function(t,n){a(t,n),e&&"length"in e&&e.length===++g&&o(g)}));else e?Kt(e,f,v,c,h,s,(function(t,n){a(t,n),o(1),e=null})):o(0)}(r,{afterEach:function(e,n){!e||(t.removeSVG(),t._isMounted)?t._isMounted&&t.setState((function(){return{hasError:!!e,isLoading:!1}}),(function(){d(e,n)})):d(e)},beforeEach:i,cacheRequests:c,evalScripts:a,httpRequestWithCredentials:l,renumerateIRIElements:s})}},r.removeSVG=function(){var e;null!=(e=this.nonReactWrapper)&&e.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},r.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},r.componentDidUpdate=function(e){var t=this;(function(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1})((0,o.A)({},e),this.props)&&this.setState((function(){return t.initialState}),(function(){t.removeSVG(),t.renderSVG()}))},r.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},r.render=function(){var e=this.props;e.afterInjection,e.beforeInjection,e.evalScripts;var n=e.fallback;e.httpRequestWithCredentials;var r=e.loading;e.renumerateIRIElements,e.src,e.useRequestCache;var i=e.wrapper,a=(0,Pt.A)(e,Yt),l=i;return t.createElement(l,(0,o.A)({},a,{ref:this.refCallback},"svg"===i?{xmlns:Qt,xmlnsXlink:Zt}:{}),this.state.isLoading&&r&&t.createElement(r,null),this.state.hasError&&n&&t.createElement(n,null))},n}(t.Component);Jt.defaultProps={afterInjection:function(){},beforeInjection:function(){},evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,renumerateIRIElements:!0,useRequestCache:!0,wrapper:"div"},Jt.propTypes={afterInjection:Xt.func,beforeInjection:Xt.func,evalScripts:Xt.oneOf(["always","once","never"]),fallback:Xt.oneOfType([Xt.func,Xt.object,Xt.string]),httpRequestWithCredentials:Xt.bool,loading:Xt.oneOfType([Xt.func,Xt.object,Xt.string]),renumerateIRIElements:Xt.bool,src:Xt.string.isRequired,useRequestCache:Xt.bool,wrapper:Xt.oneOf(["div","span","svg"])};var en=(0,t.memo)((function(e){var t=e.className,n=e.logoUrl,r=e.fill,o=e.height,i=e.width,a=tn({fill:r,width:i,height:o}),l=a.classes,s=a.cx;return n.endsWith(".svg")?(0,te.jsx)(Jt,{src:n,className:s(l.root,l.svg,t)}):(0,te.jsx)("img",{src:n,className:s(l.root,t),alt:"logo"})})),tn=ge({name:{GlLogo:en}})((function(e,t){var n=t.fill,r=t.height;return{root:{width:t.width,height:r},svg:{"& svg":{fill:null!==n&&void 0!==n?n:e.colors.useCases.typography.textPrimary,width:"100%",height:"100%"}}}})),nn=n(8387),rn=n(8606),on=n(6803),an=n(6671),ln=n(1070),sn=n(2191),un=n(5849),cn=n(3216),dn=n(7758);const fn=["sx"];function pn(e){const{sx:t}=e,n=(0,Pt.A)(e,fn),{systemProps:r,otherProps:i}=(e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:dn.A;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r})(n);let a;return a=Array.isArray(t)?[r,...t]:"function"===typeof t?function(){const e=t(...arguments);return(0,cn.Q)(e)?(0,o.A)({},r,e):r}:(0,o.A)({},r,t),(0,o.A)({},i,{sx:a})}var hn=n(7056),mn=n(2400);function vn(e){return(0,mn.Ay)("MuiTypography",e)}(0,hn.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const gn=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],yn=(0,an.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t["align".concat((0,on.A)(n.align))],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((e=>{let{theme:t,ownerState:n}=e;return(0,o.A)({margin:0},"inherit"===n.variant&&{font:"inherit"},"inherit"!==n.variant&&t.typography[n.variant],"inherit"!==n.align&&{textAlign:n.align},n.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n.gutterBottom&&{marginBottom:"0.35em"},n.paragraph&&{marginBottom:16})})),bn={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},xn={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},wn=t.forwardRef((function(e,t){const n=(0,ln.A)({props:e,name:"MuiTypography"}),r=(e=>xn[e]||e)(n.color),i=pn((0,o.A)({},n,{color:r})),{align:a="inherit",className:l,component:s,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:f="body1",variantMapping:p=bn}=i,h=(0,Pt.A)(i,gn),m=(0,o.A)({},i,{align:a,color:r,className:l,component:s,gutterBottom:u,noWrap:c,paragraph:d,variant:f,variantMapping:p}),v=s||(d?"p":p[f]||bn[f])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e,l={root:["root",i,"inherit"!==e.align&&"align".concat((0,on.A)(t)),n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return(0,rn.A)(l,vn,a)})(m);return(0,te.jsx)(yn,(0,o.A)({as:v,ref:t,ownerState:m,className:(0,nn.A)(g.root,l)},h))})),Sn=wn;function kn(e){return(0,mn.Ay)("MuiLink",e)}const An=(0,hn.A)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var En=n(7162),Cn=n(3650);const Pn={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},_n=e=>{let{theme:t,ownerState:n}=e;const r=(e=>Pn[e]||e)(n.color),o=(0,En.Yn)(t,"palette.".concat(r),!1)||n.color,i=(0,En.Yn)(t,"palette.".concat(r,"Channel"));return"vars"in t&&i?"rgba(".concat(i," / 0.4)"):(0,Cn.X4)(o,.4)},On=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],jn=(0,an.Ay)(Sn,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t["underline".concat((0,on.A)(n.underline))],"button"===n.component&&t.button]}})((e=>{let{theme:t,ownerState:n}=e;return(0,o.A)({},"none"===n.underline&&{textDecoration:"none"},"hover"===n.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===n.underline&&(0,o.A)({textDecoration:"underline"},"inherit"!==n.color&&{textDecorationColor:_n({theme:t,ownerState:n})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===n.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},["&.".concat(An.focusVisible)]:{outline:"auto"}})})),Tn=t.forwardRef((function(e,n){const r=(0,ln.A)({props:e,name:"MuiLink"}),{className:i,color:a="primary",component:l="a",onBlur:s,onFocus:u,TypographyClasses:c,underline:d="always",variant:f="inherit",sx:p}=r,h=(0,Pt.A)(r,On),{isFocusVisibleRef:m,onBlur:v,onFocus:g,ref:y}=(0,sn.A)(),[b,x]=t.useState(!1),w=(0,un.A)(n,y),S=(0,o.A)({},r,{color:a,component:l,focusVisible:b,underline:d,variant:f}),k=(e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e,i={root:["root","underline".concat((0,on.A)(o)),"button"===n&&"button",r&&"focusVisible"]};return(0,rn.A)(i,kn,t)})(S);return(0,te.jsx)(jn,(0,o.A)({color:a,className:(0,nn.A)(k.root,i),classes:c,component:l,onBlur:e=>{v(e),!1===m.current&&x(!1),s&&s(e)},onFocus:e=>{g(e),!0===m.current&&x(!0),u&&u(e)},ref:w,ownerState:S,variant:f,sx:[...Object.keys(Pn).includes(a)?[]:[{color:a}],...Array.isArray(p)?p:[p]]},h))})),Mn=Tn;var Rn=function(){return Rn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Rn.apply(this,arguments)},Ln=(0,t.memo)((function(e){var t=e.email,n=e.phoneNumber,r=e.className;if(void 0!==t&&!function(e){var t=e.split("@");return!(2!==t.length||t[0].length>64||t[1].length>255)&&!t[1].split(".").some((function(e){return e.length>63}))&&/^[-!#$%&'*+/0-9=?A-Z^_a-z`{|}~](\.?[-!#$%&'*+/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/.test(e)}(t))throw new Error("email entered as prop is not valid!");if(void 0!==n&&!function(e){return/^[+]?[(]?[0-9]{3}[)]?[-\s.]?[0-9]{3}[-\s.]?[0-9]{4,6}$/im.test(e)}(n))throw new Error("phone number not valid!");var o=In(),i=o.classes,a=o.cx;return(0,te.jsxs)("div",Rn({className:a(i.root,r)},{children:[void 0!==t&&(0,te.jsx)(Mn,Rn({className:i.email,href:"mailto:".concat(t)},{children:t})),void 0!==n&&(0,te.jsx)(ye,Rn({typo:"body 2"},{children:n}))]}))})),In=ge({name:{GlFooterInfo:Ln}})((function(e){return{root:Rn({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},function(){var t=e.spacing(4);return{paddingTop:t,paddingBottom:t}}()),email:{color:e.colors.useCases.typography.textSecondary,marginBottom:e.spacing(1),textDecoration:"none"}}})),Dn=n(2604),Fn=n.n(Dn),zn=function(){return zn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},zn.apply(this,arguments)},Nn=(0,t.memo)((function(e){var n=e.children,r=e.className,o=(0,t.useMemo)((function(){return{link:function(e){return(0,te.jsx)(Mn,zn({underline:"hover",href:e.href},{children:e.children}))}}}),[]);return(0,te.jsx)(Fn(),zn({className:r,renderers:o},{children:n}))})),Bn=function(){return Bn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Bn.apply(this,arguments)},Hn=(0,t.memo)((function(e){var t=e.bottomDivContent,n=e.className,r=e.email,o=e.phoneNumber,i=e.iconLinks,a=e.links,l=Wn(void 0,{props:e}),s=l.classes,u=l.cx;return(0,te.jsxs)("footer",Bn({className:u(s.root,n)},{children:[void 0!==i&&(0,te.jsx)("div",Bn({className:s.icons},{children:i.map((function(e,t){var n;return(0,te.jsx)("div",Bn({onClick:null!==(n=e.onClick)&&void 0!==n?n:function(){var t;return window.location.href=null!==(t=e.href)&&void 0!==t?t:"#"},className:s.iconWrapper},{children:(0,te.jsx)(en,{className:s.icon,logoUrl:e.iconUrl})}),t)}))})),void 0!==a&&(0,te.jsx)("div",Bn({className:s.links},{children:a.map((function(e,t){return(0,te.jsx)(Mn,Bn({href:e.href,onClick:e.onClick,className:s.link,underline:"hover"},{children:e.label}),t)}))})),(void 0!==r||void 0!==o)&&(0,te.jsx)(Ln,{className:s.info,email:r,phoneNumber:o}),void 0!==t&&(0,te.jsx)("div",Bn({className:s.bottomDiv},{children:(0,te.jsx)(Nn,{children:t})}))]}))})),Wn=ge({name:{GlFooter:Hn}})((function(e){return{root:Bn(Bn({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",marginTop:e.spacing(7),backgroundColor:e.colors.useCases.surfaces.surface2},{paddingTop:e.spacing(4)}),e.spacing.rightLeft("padding","".concat(e.paddingRightLeft,"px"))),icon:Bn({transition:"transform 200ms",":hover":{cursor:"pointer",transform:"scale(1.2)"}},function(){var t=e.spacing(5);return{width:t,height:t,"& svg":{width:t,height:t}}}()),icons:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",gap:e.spacing(4),marginBottom:e.spacing(3),marginTop:e.spacing(2)},link:{color:e.colors.useCases.typography.textPrimary,margin:e.spacing({rightLeft:2,topBottom:2})},links:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",marginTop:e.spacing(3),marginBottom:e.spacing(3)},bottomDiv:{borderTop:"solid ".concat(e.colors.useCases.typography.textDisabled," 1px"),marginTop:e.spacing(3),width:"100%",display:"flex",justifyContent:"center",alignItems:"center"},iconWrapper:{},info:{}}}));const Vn=(0,t.memo)((()=>{const{t:e}=vt({Footer:Vn});return(0,te.jsx)(Hn,{bottomDivContent:e("license"),email:"info@openplotter.cloud",phoneNumber:"+33652584319",links:[{label:e("link2label"),href:"https://github.com/xbgmsharp/postgsail/"},{label:e("link3label"),href:"https://github.com/xbgmsharp/postgsail/tree/main/docs"},{label:"Support",href:"https://discord.gg/cpGqA5sZ"}]})})),{i18n:Un}=(0,mt.io)()({Footer:Vn});var qn=function(){return qn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},qn.apply(this,arguments)},Gn=(0,t.memo)((0,t.forwardRef)((function(e,t){var n=e.hasBorderRadius,r=void 0===n||n,o=e.id,i=e.className,a=e.src,l=e.alt,s=e.height,u=e.width,c=e.hasShadow,d=void 0===c||c,f=e.sources,p=e.onLoad,h=$n({hasShadow:d,hasBorderRadius:r}),m=h.classes,v=h.cx;return(0,te.jsxs)("picture",{children:[void 0!==f&&f.map((function(e){return(0,te.jsx)("source",qn({},e))})),(0,te.jsx)("img",{ref:t,id:o,onLoad:p,className:v(m.root,i),src:a,alt:l,width:u,height:s})]})}))),$n=ge({name:{GlImage:Gn}})((function(e,t){var n=t.hasShadow,r=t.hasBorderRadius;return{root:{boxShadow:n?e.customShadow:void 0,borderRadius:r?e.borderRadius:void 0}}})),Kn=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},Xn={measureLayout:Kn(["layout","layoutId","drag","_layoutResetTransform"]),animation:Kn(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:Kn(["exit"]),drag:Kn(["drag","dragControls"]),focus:Kn(["whileFocus"]),hover:Kn(["whileHover","onHoverStart","onHoverEnd"]),tap:Kn(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Kn(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:Kn(["layout","layoutId"])};var Yn=(0,t.createContext)({strict:!1}),Qn=Object.keys(Xn),Zn=Qn.length;var Jn=(0,t.createContext)({transformPagePoint:function(e){return e},isStatic:!1}),er=(0,t.createContext)({});var tr=(0,t.createContext)(null);function nr(e){var n=(0,t.useRef)(null);return null===n.current&&(n.current=e()),n.current}function rr(){var e=(0,t.useContext)(tr);if(null===e)return[!0,null];var n=e.isPresent,r=e.onExitComplete,o=e.register,i=lr();(0,t.useEffect)((function(){return o(i)}),[]);return!n&&r?[!1,function(){return null===r||void 0===r?void 0:r(i)}]:[!0]}function or(e){return null===e||e.isPresent}var ir=0,ar=function(){return ir++},lr=function(){return nr(ar)},sr=(0,t.createContext)(null),ur="undefined"!==typeof window,cr=ur?t.useLayoutEffect:t.useEffect;function dr(e,n,r,o){var i=(0,t.useContext)(Jn),a=(0,t.useContext)(Yn),l=(0,t.useContext)(er).visualElement,s=(0,t.useContext)(tr),u=function(e){var n=e.layoutId,r=(0,t.useContext)(sr);return r&&void 0!==n?r+"-"+n:n}(r),c=(0,t.useRef)(void 0);o||(o=a.renderer),!c.current&&o&&(c.current=o(e,{visualState:n,parent:l,props:Tt(Tt({},r),{layoutId:u}),presenceId:null===s||void 0===s?void 0:s.id,blockInitialAnimation:!1===(null===s||void 0===s?void 0:s.initial)}));var d=c.current;return cr((function(){d&&(d.setProps(Tt(Tt(Tt({},i),r),{layoutId:u})),d.isPresent=or(s),d.isPresenceRoot=!l||l.presenceId!==(null===s||void 0===s?void 0:s.id),d.syncRender())})),(0,t.useEffect)((function(){var e;d&&(null===(e=d.animationState)||void 0===e||e.animateChanges())})),cr((function(){return function(){return null===d||void 0===d?void 0:d.notifyUnmount()}}),[]),d}function fr(e){return"object"===typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function pr(e){return Array.isArray(e)}function hr(e){return"string"===typeof e||pr(e)}function mr(e,t,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"string"===typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"===typeof t?t(null!==n&&void 0!==n?n:e.custom,r,o):t}function vr(e,t,n){var r=e.getProps();return mr(r,t,null!==n&&void 0!==n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function gr(e){var t;return"function"===typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||hr(e.initial)||hr(e.animate)||hr(e.whileHover)||hr(e.whileDrag)||hr(e.whileTap)||hr(e.whileFocus)||hr(e.exit)}function yr(e){return Boolean(gr(e)||e.variants)}function br(e,n){var r=function(e,t){if(gr(e)){var n=e.initial,r=e.animate;return{initial:!1===n||hr(n)?n:void 0,animate:hr(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,t.useContext)(er)),o=r.initial,i=r.animate;return(0,t.useMemo)((function(){return{initial:o,animate:i}}),n?[xr(o),xr(i)]:[])}function xr(e){return Array.isArray(e)?e.join(" "):e}function wr(e){var n=e.preloadedFeatures,r=e.createVisualElement,o=e.useRender,i=e.useVisualState,a=e.Component;return n&&function(e){for(var t in e){var n=e[t];null!==n&&(Xn[t].Component=n)}}(n),(0,t.forwardRef)((function(e,n){var l=(0,t.useContext)(Jn).isStatic,s=null,u=br(e,l),c=i(e,l);return!l&&ur&&(u.visualElement=dr(a,c,e,r),s=function(e,n,r){var o=[];if((0,t.useContext)(Yn),!n)return null;for(var i=0;i<Zn;i++){var a=Qn[i],l=Xn[a],s=l.isEnabled,u=l.Component;s(e)&&u&&o.push(t.createElement(u,Tt({key:a},e,{visualElement:n})))}return o}(e,u.visualElement)),t.createElement(t.Fragment,null,t.createElement(er.Provider,{value:u},o(a,e,function(e,n,r){return(0,t.useCallback)((function(t){var o;t&&(null===(o=e.mount)||void 0===o||o.call(e,t)),n&&(t?n.mount(t):n.unmount()),r&&("function"===typeof r?r(t):fr(r)&&(r.current=t))}),[n])}(c,u.visualElement,n),c,l)),s)}))}function Sr(e){function t(t,n){return void 0===n&&(n={}),wr(e(t,n))}var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var kr=["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 Ar(e){return"string"===typeof e&&!e.includes("-")&&!!(kr.indexOf(e)>-1||/[A-Z]/.test(e))}var Er={};var Cr=["","X","Y","Z"],Pr=["transformPerspective","x","y","z"];function _r(e,t){return Pr.indexOf(e)-Pr.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return Cr.forEach((function(t){return Pr.push(e+t)}))}));var Or=new Set(Pr);function jr(e){return Or.has(e)}var Tr=new Set(["originX","originY","originZ"]);function Mr(e){return Tr.has(e)}function Rr(e,t){var n=t.layout,r=t.layoutId;return jr(e)||Mr(e)||(n||void 0!==r)&&(!!Er[e]||"opacity"===e)}var Lr=function(e){return null!==e&&"object"===typeof e&&e.getVelocity},Ir={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Dr(e){return e.startsWith("--")}var Fr=function(e,t){return t&&"number"===typeof e?t.transform(e):e},zr=function(e,t){return function(n){return Math.max(Math.min(n,t),e)}},Nr=function(e){return e%1?Number(e.toFixed(5)):e},Br=/(-)?([\d]*\.?[\d])+/g,Hr=/(#[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,Wr=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Vr(e){return"string"===typeof e}var Ur=function(e){return{test:function(t){return Vr(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return""+t+e}}},qr=Ur("deg"),Gr=Ur("%"),$r=Ur("px"),Kr=Ur("vh"),Xr=Ur("vw"),Yr=Tt(Tt({},Gr),{parse:function(e){return Gr.parse(e)/100},transform:function(e){return Gr.transform(100*e)}}),Qr={test:function(e){return"number"===typeof e},parse:parseFloat,transform:function(e){return e}},Zr=Tt(Tt({},Qr),{transform:zr(0,1)}),Jr=Tt(Tt({},Qr),{default:1}),eo=Tt(Tt({},Qr),{transform:Math.round}),to={borderWidth:$r,borderTopWidth:$r,borderRightWidth:$r,borderBottomWidth:$r,borderLeftWidth:$r,borderRadius:$r,radius:$r,borderTopLeftRadius:$r,borderTopRightRadius:$r,borderBottomRightRadius:$r,borderBottomLeftRadius:$r,width:$r,maxWidth:$r,height:$r,maxHeight:$r,size:$r,top:$r,right:$r,bottom:$r,left:$r,padding:$r,paddingTop:$r,paddingRight:$r,paddingBottom:$r,paddingLeft:$r,margin:$r,marginTop:$r,marginRight:$r,marginBottom:$r,marginLeft:$r,rotate:qr,rotateX:qr,rotateY:qr,rotateZ:qr,scale:Jr,scaleX:Jr,scaleY:Jr,scaleZ:Jr,skew:qr,skewX:qr,skewY:qr,distance:$r,translateX:$r,translateY:$r,translateZ:$r,x:$r,y:$r,z:$r,perspective:$r,transformPerspective:$r,opacity:Zr,originX:Yr,originY:Yr,originZ:$r,zIndex:eo,fillOpacity:Zr,strokeOpacity:Zr,numOctaves:eo};function no(e,t,n,r,o,i,a,l){var s,u=e.style,c=e.vars,d=e.transform,f=e.transformKeys,p=e.transformOrigin;f.length=0;var h=!1,m=!1,v=!0;for(var g in t){var y=t[g];if(Dr(g))c[g]=y;else{var b=to[g],x=Fr(y,b);if(jr(g)){if(h=!0,d[g]=x,f.push(g),!v)continue;y!==(null!==(s=b.default)&&void 0!==s?s:0)&&(v=!1)}else if(Mr(g))p[g]=x,m=!0;else if((null===n||void 0===n?void 0:n.isHydrated)&&(null===r||void 0===r?void 0:r.isHydrated)&&Er[g]){var w=Er[g].process(y,r,n),S=Er[g].applyTo;if(S)for(var k=S.length,A=0;A<k;A++)u[S[A]]=w;else u[g]=w}else u[g]=x}}r&&n&&a&&l?(u.transform=a(r.deltaFinal,r.treeScale,h?d:void 0),i&&(u.transform=i(d,u.transform)),u.transformOrigin=l(r)):(h&&(u.transform=function(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,l=void 0===a||a,s=t.allowTransformNone,u=void 0===s||s,c="";i.sort(_r);for(var d=!1,f=i.length,p=0;p<f;p++){var h=i[p];c+=(Ir[h]||h)+"("+o[h]+") ","z"===h&&(d=!0)}return!d&&l?c+="translateZ(0)":c=c.trim(),r?c=r(o,n?"":c):u&&n&&(c="none"),c}(e,o,v,i)),m&&(u.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,o=void 0===r?"50%":r,i=e.originZ;return n+" "+o+" "+(void 0===i?0:i)}(p)))}var ro=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function oo(e,t,n){for(var r in t)Lr(t[r])||Rr(r,n)||(e[r]=t[r])}function io(e,n,r){var o={};return oo(o,e.style||{},e),Object.assign(o,function(e,n,r){var o=e.transformTemplate;return(0,t.useMemo)((function(){var e=ro();no(e,n,void 0,void 0,{enableHardwareAcceleration:!r},o);var t=e.vars,i=e.style;return Tt(Tt({},t),i)}),[n])}(e,n,r)),e.transformValues&&(o=e.transformValues(o)),o}function ao(e,t,n){var r={},o=io(e,t,n);return Boolean(e.drag)&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),r.style=o,r}var lo=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","_layoutResetTransform","onLayoutAnimationComplete","onViewportBoxUpdate","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover"]);function so(e){return lo.has(e)}var uo=function(e){return!so(e)};try{var co=n(1418).A;uo=function(e){return e.startsWith("on")?!so(e):co(e)}}catch(kd){}function fo(e,t,n){return"string"===typeof e?e:$r.transform(t+n*e)}var po=function(e,t){return $r.transform(e*t)},ho={offset:"stroke-dashoffset",array:"stroke-dasharray"},mo={offset:"strokeDashoffset",array:"strokeDasharray"};function vo(e,t,n,r,o,i,a,l){var s=t.attrX,u=t.attrY,c=t.originX,d=t.originY,f=t.pathLength,p=t.pathSpacing,h=void 0===p?1:p,m=t.pathOffset,v=void 0===m?0:m;no(e,Mt(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r,o,i,a,l),e.attrs=e.style,e.style={};var g=e.attrs,y=e.style,b=e.dimensions,x=e.totalPathLength;g.transform&&(b&&(y.transform=g.transform),delete g.transform),b&&(void 0!==c||void 0!==d||y.transform)&&(y.transformOrigin=function(e,t,n){return fo(t,e.x,e.width)+" "+fo(n,e.y,e.height)}(b,void 0!==c?c:.5,void 0!==d?d:.5)),void 0!==s&&(g.x=s),void 0!==u&&(g.y=u),void 0!==x&&void 0!==f&&function(e,t,n,r,o,i){void 0===r&&(r=1),void 0===o&&(o=0),void 0===i&&(i=!0);var a=i?ho:mo;e[a.offset]=po(-o,t);var l=po(n,t),s=po(r,t);e[a.array]=l+" "+s}(g,x,f,h,v,!1)}var go=function(){return Tt(Tt({},ro()),{attrs:{}})};function yo(e,n){var r=(0,t.useMemo)((function(){var t=go();return vo(t,n,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),Tt(Tt({},t.attrs),{style:Tt({},t.style)})}),[n]);if(e.style){var o={};oo(o,e.style,e),r.style=Tt(Tt({},o),r.style)}return r}function bo(e){void 0===e&&(e=!1);return function(n,r,o,i,a){var l=i.latestValues,s=(Ar(n)?yo:ao)(r,l,a),u=function(e,t,n){var r={};for(var o in e)(uo(o)||!0===n&&so(o)||!t&&!so(o))&&(r[o]=e[o]);return r}(r,"string"===typeof n,e),c=Tt(Tt(Tt({},u),s),{ref:o});return(0,t.createElement)(n,c)}}var xo=/([a-z])([A-Z])/g,wo=function(e){return e.replace(xo,"$1-$2").toLowerCase()};function So(e,t){var n=t.style,r=t.vars;for(var o in Object.assign(e.style,n),r)e.style.setProperty(o,r[o])}var ko=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform"]);function Ao(e,t){for(var n in So(e,t),t.attrs)e.setAttribute(ko.has(n)?n:wo(n),t.attrs[n])}function Eo(e){var t=e.style,n={};for(var r in t)(Lr(t[r])||Rr(r,e))&&(n[r]=t[r]);return n}function Co(e){var t=Eo(e);for(var n in e){if(Lr(e[n]))t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]}return t}function Po(e){return"object"===typeof e&&"function"===typeof e.start}var _o=function(e){return Array.isArray(e)},Oo=function(e){return Boolean(e&&"object"===typeof e&&e.mix&&e.toValue)},jo=function(e){return _o(e)?e[e.length-1]||0:e};function To(e){var t=Lr(e)?e.get():e;return Oo(t)?t.toValue():t}function Mo(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,l={latestValues:Lo(t,n,r,o),renderState:i()};return a&&(l.mount=function(e){return a(t,e,l)}),l}var Ro=function(e){return function(n,r){var o=(0,t.useContext)(er),i=(0,t.useContext)(tr);return r?Mo(e,n,o,i):nr((function(){return Mo(e,n,o,i)}))}};function Lo(e,t,n,r){var o={},i=!1===(null===n||void 0===n?void 0:n.initial),a=r(e);for(var l in a)o[l]=To(a[l]);var s=e.initial,u=e.animate,c=gr(e),d=yr(e);t&&d&&!c&&!1!==e.inherit&&(null!==s&&void 0!==s||(s=t.initial),null!==u&&void 0!==u||(u=t.animate));var f=i||!1===s?u:s;f&&"boolean"!==typeof f&&!Po(f)&&(Array.isArray(f)?f:[f]).forEach((function(t){var n=mr(e,t);if(n){var r=n.transitionEnd;n.transition;var i=Mt(n,["transitionEnd","transition"]);for(var a in i)o[a]=i[a];for(var a in r)o[a]=r[a]}}));return o}var Io={useVisualState:Ro({scrapeMotionValuesFromProps:Co,createRenderState:go,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"===typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(i){r.dimensions={x:0,y:0,width:0,height:0}}"path"===t.tagName&&(r.totalPathLength=t.getTotalLength()),vo(r,o,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),Ao(t,r)}})};var Do,Fo={useVisualState:Ro({scrapeMotionValuesFromProps:Eo,createRenderState:ro})};function zo(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function No(e,n,r,o){(0,t.useEffect)((function(){var t=e.current;if(r&&t)return zo(t,n,r,o)}),[e,n,r,o])}function Bo(e){return"undefined"!==typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Ho(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.Exit="exit"}(Do||(Do={}));var Wo={pageX:0,pageY:0};function Vo(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||Wo;return{x:n[t+"X"],y:n[t+"Y"]}}function Uo(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function qo(e,t){return void 0===t&&(t="page"),{point:Ho(e)?Vo(e,t):Uo(e,t)}}var Go=function(e,t){void 0===t&&(t=!1);var n,r=function(t){return e(t,qo(t))};return t?(n=r,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}):r},$o=function(){return ur&&null===window.onpointerdown},Ko=function(){return ur&&null===window.ontouchstart},Xo=function(){return ur&&null===window.onmousedown},Yo={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Qo={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Zo(e){return $o()?e:Ko()?Qo[e]:Xo()?Yo[e]:e}function Jo(e,t,n,r){return zo(e,Zo(t),Go(n,"pointerdown"===t),r)}function ei(e,t,n,r){return No(e,Zo(t),n&&Go(n,"pointerdown"===t),r)}function ti(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var ni=ti("dragHorizontal"),ri=ti("dragVertical");function oi(e){var t=!1;if("y"===e)t=ri();else if("x"===e)t=ni();else{var n=ni(),r=ri();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function ii(){var e=oi(!0);return!e||(e(),!1)}function ai(e,t,n){return function(r,o){var i;Bo(r)&&!ii()&&(null===n||void 0===n||n(r,o),null===(i=e.animationState)||void 0===i||i.setActive(Do.Hover,t))}}var li=function(e,t){return!!t&&(e===t||li(e,t.parentElement))};function si(e){return(0,t.useEffect)((function(){return function(){return e()}}),[])}var ui=function(e,t){return function(n){return t(e(n))}},ci=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce(ui)};var di=function(e){return function(t){return e(t),null}},fi={tap:di((function(e){var n=e.onTap,r=e.onTapStart,o=e.onTapCancel,i=e.whileTap,a=e.visualElement,l=n||r||o||i,s=(0,t.useRef)(!1),u=(0,t.useRef)(null);function c(){var e;null===(e=u.current)||void 0===e||e.call(u),u.current=null}function d(){var e;return c(),s.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(Do.Tap,!1),!ii()}function f(e,t){d()&&(li(a.getInstance(),e.target)?null===n||void 0===n||n(e,t):null===o||void 0===o||o(e,t))}function p(e,t){d()&&(null===o||void 0===o||o(e,t))}ei(a,"pointerdown",l?function(e,t){var n;c(),s.current||(s.current=!0,u.current=ci(Jo(window,"pointerup",f),Jo(window,"pointercancel",p)),null===r||void 0===r||r(e,t),null===(n=a.animationState)||void 0===n||n.setActive(Do.Tap,!0))}:void 0),si(c)})),focus:di((function(e){var t=e.whileFocus,n=e.visualElement;No(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(Do.Focus,!0)}:void 0),No(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(Do.Focus,!1)}:void 0)})),hover:di((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;ei(o,"pointerenter",t||r?ai(o,!0,t):void 0),ei(o,"pointerleave",n||r?ai(o,!1,n):void 0)}))};function pi(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var hi=function(){},mi=function(){};var vi=function(e,t,n){return Math.min(Math.max(n,e),t)},gi=.001,yi=.01,bi=10,xi=.05,wi=1;function Si(e){var t,n,r=e.duration,o=void 0===r?800:r,i=e.bounce,a=void 0===i?.25:i,l=e.velocity,s=void 0===l?0:l,u=e.mass,c=void 0===u?1:u;hi(o<=1e3*bi,"Spring duration must be 10 seconds or less");var d=1-a;d=vi(xi,wi,d),o=vi(yi,bi,o/1e3),d<1?(t=function(e){var t=e*d,n=t*o,r=t-s,i=Ai(e,d),a=Math.exp(-n);return gi-r/i*a},n=function(e){var n=e*d*o,r=n*s+s,i=Math.pow(d,2)*Math.pow(e,2)*o,a=Math.exp(-n),l=Ai(Math.pow(e,2),d);return(-t(e)+gi>0?-1:1)*((r-i)*a)/l}):(t=function(e){return Math.exp(-e*o)*((e-s)*o+1)-gi},n=function(e){return Math.exp(-e*o)*(o*o*(s-e))});var f=function(e,t,n){for(var r=n,o=1;o<ki;o++)r-=e(r)/t(r);return r}(t,n,5/o);if(o*=1e3,isNaN(f))return{stiffness:100,damping:10,duration:o};var p=Math.pow(f,2)*c;return{stiffness:p,damping:2*d*Math.sqrt(c*p),duration:o}}var ki=12;function Ai(e,t){return e*Math.sqrt(1-t*t)}var Ei=["duration","bounce"],Ci=["stiffness","damping","mass"];function Pi(e,t){return t.some((function(t){return void 0!==e[t]}))}function _i(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.restSpeed,a=void 0===i?2:i,l=e.restDelta,s=Mt(e,["from","to","restSpeed","restDelta"]),u={done:!1,value:n},c=function(e){var t=Tt({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Pi(e,Ci)&&Pi(e,Ei)){var n=Si(e);(t=Tt(Tt(Tt({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(s),d=c.stiffness,f=c.damping,p=c.mass,h=c.velocity,m=c.duration,v=c.isResolvedFromDuration,g=Oi,y=Oi;function b(){var e=h?-h/1e3:0,t=o-n,r=f/(2*Math.sqrt(d*p)),i=Math.sqrt(d/p)/1e3;if(null!==l&&void 0!==l||(l=Math.abs(o-n)<=1?.01:.4),r<1){var a=Ai(i,r);g=function(n){var l=Math.exp(-r*i*n);return o-l*((e+r*i*t)/a*Math.sin(a*n)+t*Math.cos(a*n))},y=function(n){var o=Math.exp(-r*i*n);return r*i*o*(Math.sin(a*n)*(e+r*i*t)/a+t*Math.cos(a*n))-o*(Math.cos(a*n)*(e+r*i*t)-a*t*Math.sin(a*n))}}else if(1===r)g=function(n){return o-Math.exp(-i*n)*(t+(e+i*t)*n)};else{var s=i*Math.sqrt(r*r-1);g=function(n){var a=Math.exp(-r*i*n),l=Math.min(s*n,300);return o-a*((e+r*i*t)*Math.sinh(l)+s*t*Math.cosh(l))/s}}}return b(),{next:function(e){var t=g(e);if(v)u.done=e>=m;else{var n=1e3*y(e),r=Math.abs(n)<=a,i=Math.abs(o-t)<=l;u.done=r&&i}return u.value=u.done?o:t,u},flipTarget:function(){var e;h=-h,n=(e=[o,n])[0],o=e[1],b()}}}_i.needsInterpolation=function(e,t){return"string"===typeof e||"string"===typeof t};var Oi=function(e){return 0},ji=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},Ti=function(e,t,n){return-n*e+n*t+e},Mi=function(e,t){return function(n){return Boolean(Vr(n)&&Wr.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},Ri=function(e,t,n){return function(r){var o;if(!Vr(r))return r;var i=r.match(Br),a=i[0],l=i[1],s=i[2],u=i[3];return(o={})[e]=parseFloat(a),o[t]=parseFloat(l),o[n]=parseFloat(s),o.alpha=void 0!==u?parseFloat(u):1,o}},Li=zr(0,255),Ii=Tt(Tt({},Qr),{transform:function(e){return Math.round(Li(e))}}),Di={test:Mi("rgb","red"),parse:Ri("red","green","blue"),transform:function(e){var t=e.red,n=e.green,r=e.blue,o=e.alpha,i=void 0===o?1:o;return"rgba("+Ii.transform(t)+", "+Ii.transform(n)+", "+Ii.transform(r)+", "+Nr(Zr.transform(i))+")"}};var Fi={test:Mi("#"),parse:function(e){var t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:Di.transform},zi={test:Mi("hsl","hue"),parse:Ri("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha,i=void 0===o?1:o;return"hsla("+Math.round(t)+", "+Gr.transform(Nr(n))+", "+Gr.transform(Nr(r))+", "+Nr(Zr.transform(i))+")"}},Ni=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},Bi=[Fi,Di,zi],Hi=function(e){return Bi.find((function(t){return t.test(e)}))},Wi=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},Vi=function(e,t){var n=Hi(e),r=Hi(t);mi(!!n,Wi(e)),mi(!!r,Wi(t)),mi(n.transform===r.transform,"Both colors must be hex/RGBA, OR both must be HSLA.");var o=n.parse(e),i=r.parse(t),a=Tt({},o),l=n===zi?Ti:Ni;return function(e){for(var t in a)"alpha"!==t&&(a[t]=l(o[t],i[t],e));return a.alpha=Ti(o.alpha,i.alpha,e),n.transform(a)}},Ui={test:function(e){return Di.test(e)||Fi.test(e)||zi.test(e)},parse:function(e){return Di.test(e)?Di.parse(e):zi.test(e)?zi.parse(e):Fi.parse(e)},transform:function(e){return Vr(e)?e:e.hasOwnProperty("red")?Di.transform(e):zi.transform(e)}},qi="${c}",Gi="${n}";function $i(e){var t=[],n=0,r=e.match(Hr);r&&(n=r.length,e=e.replace(Hr,qi),t.push.apply(t,r.map(Ui.parse)));var o=e.match(Br);return o&&(e=e.replace(Br,Gi),t.push.apply(t,o.map(Qr.parse))),{values:t,numColors:n,tokenised:e}}function Ki(e){return $i(e).values}function Xi(e){var t=$i(e),n=t.values,r=t.numColors,o=t.tokenised,i=n.length;return function(e){for(var t=o,n=0;n<i;n++)t=t.replace(n<r?qi:Gi,n<r?Ui.transform(e[n]):Nr(e[n]));return t}}var Yi=function(e){return"number"===typeof e?0:e};var Qi={test:function(e){var t,n,r,o;return isNaN(e)&&Vr(e)&&(null!==(n=null===(t=e.match(Br))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(Hr))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:Ki,createTransformer:Xi,getAnimatableNone:function(e){var t=Ki(e);return Xi(e)(t.map(Yi))}},Zi=function(e){return"number"===typeof e};function Ji(e,t){return Zi(e)?function(n){return Ti(e,t,n)}:Ui.test(e)?Vi(e,t):ra(e,t)}var ea=function(e,t){var n=Lt([],e),r=n.length,o=e.map((function(e,n){return Ji(e,t[n])}));return function(e){for(var t=0;t<r;t++)n[t]=o[t](e);return n}},ta=function(e,t){var n=Tt(Tt({},e),t),r={};for(var o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Ji(e[o],t[o]));return function(e){for(var t in r)n[t]=r[t](e);return n}};function na(e){for(var t=Qi.parse(e),n=t.length,r=0,o=0,i=0,a=0;a<n;a++)r||"number"===typeof t[a]?r++:void 0!==t[a].hue?i++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:i}}var ra=function(e,t){var n=Qi.createTransformer(t),r=na(e),o=na(t);return mi(r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers,"Complex values '"+e+"' and '"+t+"' too different to mix. Ensure all colors are of the same type."),ci(ea(r.parsed,o.parsed),n)},oa=function(e,t){return function(n){return Ti(e,t,n)}};function ia(e,t,n){for(var r,o=[],i=n||("number"===typeof(r=e[0])?oa:"string"===typeof r?Ui.test(r)?Vi:ra:Array.isArray(r)?ea:"object"===typeof r?ta:void 0),a=e.length-1,l=0;l<a;l++){var s=i(e[l],e[l+1]);if(t){var u=Array.isArray(t)?t[l]:t;s=ci(u,s)}o.push(s)}return o}function aa(e,t,n){var r=void 0===n?{}:n,o=r.clamp,i=void 0===o||o,a=r.ease,l=r.mixer,s=e.length;mi(s===t.length,"Both input and output ranges must be the same length"),mi(!a||!Array.isArray(a)||a.length===s-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[s-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var u=ia(t,a,l),c=2===s?function(e,t){var n=e[0],r=e[1],o=t[0];return function(e){return o(ji(n,r,e))}}(e,u):function(e,t){var n=e.length,r=n-1;return function(o){var i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){for(var l=1;l<n&&!(e[l]>o||l===r);l++);i=l-1}var s=ji(e[i],e[i+1],o);return t[i](s)}}(e,u);return i?function(t){return c(vi(e[0],e[s-1],t))}:c}var la,sa=function(e){return function(t){return 1-e(1-t)}},ua=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},ca=function(e){return function(t){return t*t*((e+1)*t-e)}},da=function(e){return e},fa=(la=2,function(e){return Math.pow(e,la)}),pa=sa(fa),ha=ua(fa),ma=function(e){return 1-Math.sin(Math.acos(e))},va=sa(ma),ga=ua(va),ya=ca(1.525),ba=sa(ya),xa=ua(ya),wa=function(e){var t=ca(e);return function(e){return(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))}}(1.525),Sa=function(e){if(1===e||0===e)return e;var t=e*e;return e<.36363636363636365?7.5625*t:e<.7272727272727273?9.075*t-9.9*e+3.4:e<.9?12.066481994459833*t-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},ka=sa(Sa);function Aa(e,t){return e.map((function(){return t||ha})).splice(0,e.length-1)}function Ea(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.ease,a=e.offset,l=e.duration,s=void 0===l?300:l,u={done:!1,value:n},c=Array.isArray(o)?o:[n,o],d=function(e,t){return e.map((function(e){return e*t}))}(a&&a.length===c.length?a:function(e){var t=e.length;return e.map((function(e,n){return 0!==n?n/(t-1):0}))}(c),s);function f(){return aa(d,c,{ease:Array.isArray(i)?i:Aa(c,i)})}var p=f();return{next:function(e){return u.value=p(e),u.done=e>=s,u},flipTarget:function(){c.reverse(),p=f()}}}var Ca={keyframes:Ea,spring:_i,decay:function(e){var t=e.velocity,n=void 0===t?0:t,r=e.from,o=void 0===r?0:r,i=e.power,a=void 0===i?.8:i,l=e.timeConstant,s=void 0===l?350:l,u=e.restDelta,c=void 0===u?.5:u,d=e.modifyTarget,f={done:!1,value:o},p=a*n,h=o+p,m=void 0===d?h:d(h);return m!==h&&(p=m-o),{next:function(e){var t=-p*Math.exp(-e/s);return f.done=!(t>c||t<-c),f.value=f.done?m:m+t,f},flipTarget:function(){}}}};var Pa=1/60*1e3,_a="undefined"!==typeof performance?function(){return performance.now()}:function(){return Date.now()},Oa="undefined"!==typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(_a())}),Pa)};var ja=!0,Ta=!1,Ma=!1,Ra={delta:0,timestamp:0},La=["read","update","preRender","render","postRender"],Ia=La.reduce((function(e,t){return e[t]=function(e){var t=[],n=[],r=0,o=!1,i=new WeakSet,a={schedule:function(e,a,l){void 0===a&&(a=!1),void 0===l&&(l=!1);var s=l&&o,u=s?t:n;return a&&i.add(e),-1===u.indexOf(e)&&(u.push(e),s&&o&&(r=t.length)),e},cancel:function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1),i.delete(e)},process:function(l){var s;if(o=!0,t=(s=[n,t])[0],(n=s[1]).length=0,r=t.length)for(var u=0;u<r;u++){var c=t[u];c(l),i.has(c)&&(a.schedule(c),e())}o=!1}};return a}((function(){return Ta=!0})),e}),{}),Da=La.reduce((function(e,t){var n=Ia[t];return e[t]=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),Ta||Ha(),n.schedule(e,t,r)},e}),{}),Fa=La.reduce((function(e,t){return e[t]=Ia[t].cancel,e}),{}),za=La.reduce((function(e,t){return e[t]=function(){return Ia[t].process(Ra)},e}),{}),Na=function(e){return Ia[e].process(Ra)},Ba=function(e){Ta=!1,Ra.delta=ja?Pa:Math.max(Math.min(e-Ra.timestamp,40),1),Ra.timestamp=e,Ma=!0,La.forEach(Na),Ma=!1,Ta&&(ja=!1,Oa(Ba))},Ha=function(){Ta=!0,ja=!0,Ma||Oa(Ba)},Wa=function(){return Ra};const Va=Da;function Ua(e,t,n){return void 0===n&&(n=0),e-t-n}var qa=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return Va.update(t,!0)},stop:function(){return Fa.update(t)}}};function Ga(e){var t,n,r,o,i,a=e.from,l=e.autoplay,s=void 0===l||l,u=e.driver,c=void 0===u?qa:u,d=e.elapsed,f=void 0===d?0:d,p=e.repeat,h=void 0===p?0:p,m=e.repeatType,v=void 0===m?"loop":m,g=e.repeatDelay,y=void 0===g?0:g,b=e.onPlay,x=e.onStop,w=e.onComplete,S=e.onRepeat,k=e.onUpdate,A=Mt(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),E=A.to,C=0,P=A.duration,_=!1,O=!0,j=function(e){if(Array.isArray(e.to))return Ea;if(Ca[e.type])return Ca[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Ea:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?_i:Ea}(A);(null===(n=(t=j).needsInterpolation)||void 0===n?void 0:n.call(t,a,E))&&(i=aa([0,100],[a,E],{clamp:!1}),a=0,E=100);var T=j(Tt(Tt({},A),{from:a,to:E}));function M(){C++,"reverse"===v?f=function(e,t,n,r){return void 0===n&&(n=0),void 0===r&&(r=!0),r?Ua(t+-e,t,n):t-(e-t)+n}(f,P,y,O=C%2===0):(f=Ua(f,P,y),"mirror"===v&&T.flipTarget()),_=!1,S&&S()}function R(e){if(O||(e=-e),f+=e,!_){var t=T.next(Math.max(0,f));o=t.value,i&&(o=i(o)),_=O?t.done:f<=0}null===k||void 0===k||k(o),_&&(0===C&&(null!==P&&void 0!==P||(P=f)),C<h?function(e,t,n,r){return r?e>=t+n:e<=-n}(f,P,y,O)&&M():(r.stop(),w&&w()))}return s&&(null===b||void 0===b||b(),(r=c(R)).start()),{stop:function(){null===x||void 0===x||x(),r.stop()}}}function $a(e,t){return t?e*(1e3/t):0}var Ka=function(e){return 1e3*e},Xa=function(e,t){return 1-3*t+3*e},Ya=function(e,t){return 3*t-6*e},Qa=function(e){return 3*e},Za=function(e,t,n){return((Xa(t,n)*e+Ya(t,n))*e+Qa(t))*e},Ja=function(e,t,n){return 3*Xa(t,n)*e*e+2*Ya(t,n)*e+Qa(t)},el=1e-7,tl=10;var nl=8;var rl=.1;function ol(e,t,n,r){if(e===t&&n===r)return da;for(var o=new Float32Array(11),i=0;i<11;++i)o[i]=Za(i*rl,e,n);function a(t){for(var r=0,i=1;10!==i&&o[i]<=t;++i)r+=rl;--i;var a=r+(t-o[i])/(o[i+1]-o[i])*rl,l=Ja(a,e,n);return l>=.001?function(e,t,n,r){for(var o=0;o<nl;++o){var i=Ja(t,n,r);if(0===i)return t;t-=(Za(t,n,r)-e)/i}return t}(t,a,e,n):0===l?a:function(e,t,n,r,o){var i,a,l=0;do{(i=Za(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a}while(Math.abs(i)>el&&++l<tl);return a}(t,r,r+rl,e,n)}return function(e){return 0===e||1===e?e:Za(a(e),t,r)}}var il={linear:da,easeIn:fa,easeInOut:ha,easeOut:pa,circIn:ma,circInOut:ga,circOut:va,backIn:ya,backInOut:xa,backOut:ba,anticipate:wa,bounceIn:ka,bounceInOut:function(e){return e<.5?.5*(1-Sa(1-2*e)):.5*Sa(2*e-1)+.5},bounceOut:Sa},al=function(e){if(Array.isArray(e)){mi(4===e.length,"Cubic bezier arrays must contain four numerical values.");var t=Rt(e,4);return ol(t[0],t[1],t[2],t[3])}return"string"===typeof e?(mi(void 0!==il[e],"Invalid easing type '"+e+"'"),il[e]):e},ll=function(e){return Array.isArray(e)&&"number"!==typeof e[0]},sl=function(e,t){return"zIndex"!==e&&(!("number"!==typeof t&&!Array.isArray(t))||!("string"!==typeof t||!Qi.test(t)||t.startsWith("url(")))},ul=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},cl=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},dl=function(){return{type:"keyframes",ease:"linear",duration:.3}},fl=function(e){return{type:"keyframes",duration:.8,values:e}},pl={x:ul,y:ul,z:ul,rotate:ul,rotateX:ul,rotateY:ul,rotateZ:ul,scaleX:cl,scaleY:cl,scale:cl,opacity:dl,backgroundColor:dl,color:dl,default:cl},hl=function(e,t){var n;return n=_o(t)?fl:pl[e]||pl.default,Tt({to:t},n(t))},ml=new Set(["brightness","contrast","saturate","opacity"]);function vl(e){var t=e.slice(0,-1).split("("),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=(r.match(Br)||[])[0];if(!o)return e;var i=r.replace(o,""),a=ml.has(n)?1:0;return o!==r&&(a*=100),n+"("+a+i+")"}var gl=/([a-z-]*)\(.*?\)/g,yl=Tt(Tt({},Qi),{getAnimatableNone:function(e){var t=e.match(gl);return t?t.map(vl).join(" "):e}}),bl=Tt(Tt({},to),{color:Ui,backgroundColor:Ui,outlineColor:Ui,fill:Ui,stroke:Ui,borderColor:Ui,borderTopColor:Ui,borderRightColor:Ui,borderBottomColor:Ui,borderLeftColor:Ui,filter:yl,WebkitFilter:yl}),xl=function(e){return bl[e]};function wl(e,t){var n,r=xl(e);return r!==yl&&(r=Qi),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}var Sl=!1;function kl(e,t,n){var r;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=Lt([],Rt(e.to)),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=Mt(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=Tt(Tt({},e),hl(n,t.to))),Tt(Tt({},t),function(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,i=e.loop,a=Mt(e,["ease","times","yoyo","flip","loop"]),l=Tt({},a);return n&&(l.offset=n),a.duration&&(l.duration=Ka(a.duration)),a.repeatDelay&&(l.repeatDelay=Ka(a.repeatDelay)),t&&(l.ease=ll(t)?t.map(al):al(t)),"tween"===a.type&&(l.type="keyframes"),(r||i||o)&&(hi(!Sl,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),Sl=!0,r?l.repeatType="reverse":i?l.repeatType="loop":o&&(l.repeatType="mirror"),l.repeat=i||r||o||a.repeat),"spring"!==a.type&&(l.type="keyframes"),l}(e))}function Al(e,t,n,r,o){var i,a=Pl(r,e),l=null!==(i=a.from)&&void 0!==i?i:t.get(),s=sl(e,n);"none"===l&&s&&"string"===typeof n?l=wl(e,n):El(l)&&"string"===typeof n?l=Cl(n):!Array.isArray(n)&&El(n)&&"string"===typeof l&&(n=Cl(l));var u=sl(e,l);return hi(u===s,"You are trying to animate "+e+' from "'+l+'" to "'+n+'". '+l+" is not an animatable value - to enable this animation set "+l+" to a value animatable to "+n+" via the `style` property."),u&&s&&!1!==a.type?function(){var r={from:l,to:n,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===a.type||"decay"===a.type?function(e){var t,n=e.from,r=void 0===n?0:n,o=e.velocity,i=void 0===o?0:o,a=e.min,l=e.max,s=e.power,u=void 0===s?.8:s,c=e.timeConstant,d=void 0===c?750:c,f=e.bounceStiffness,p=void 0===f?500:f,h=e.bounceDamping,m=void 0===h?10:h,v=e.restDelta,g=void 0===v?1:v,y=e.modifyTarget,b=e.driver,x=e.onUpdate,w=e.onComplete;function S(e){return void 0!==a&&e<a||void 0!==l&&e>l}function k(e){return void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l}function A(e){null===t||void 0===t||t.stop(),t=Ga(Tt(Tt({},e),{driver:b,onUpdate:function(t){var n;null===x||void 0===x||x(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:w}))}function E(e){A(Tt({type:"spring",stiffness:p,damping:m,restDelta:g},e))}if(S(r))E({from:r,velocity:i,to:k(r)});else{var C=u*i+r;"undefined"!==typeof y&&(C=y(C));var P,_,O=k(C),j=O===a?-1:1;A({type:"decay",from:r,velocity:i,timeConstant:d,power:u,restDelta:g,modifyTarget:y,onUpdate:S(C)?function(e){P=_,_=e,i=$a(e-P,Wa().delta),(1===j&&e>O||-1===j&&e<O)&&E({from:e,to:O,velocity:i})}:void 0})}return{stop:function(){return null===t||void 0===t?void 0:t.stop()}}}(Tt(Tt({},r),a)):Ga(Tt(Tt({},kl(a,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=a.onUpdate)||void 0===t||t.call(a,e)},onComplete:function(){var e;r.onComplete(),null===(e=a.onComplete)||void 0===e||e.call(a)}}))}:function(){var e;return t.set(n),o(),null===(e=null===a||void 0===a?void 0:a.onComplete)||void 0===e||e.call(a),{stop:function(){}}}}function El(e){return 0===e||"string"===typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function Cl(e){return"number"===typeof e?0:wl("",e)}function Pl(e,t){return e[t]||e.default||e}function _l(e,t,n,r){return void 0===r&&(r={}),t.start((function(o){var i,a,l=Al(e,t,n,r,o),s=function(e,t){var n;return null!==(n=(Pl(e,t)||{}).delay)&&void 0!==n?n:0}(r,e),u=function(){return a=l()};return s?i=setTimeout(u,Ka(s)):u(),function(){clearTimeout(i),null===a||void 0===a||a.stop()}}))}function Ol(e,t){-1===e.indexOf(t)&&e.push(t)}function jl(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Tl=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return Ol(this.subscriptions,e),function(){return jl(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var i=this.subscriptions[o];i&&i(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),Ml=function(){function e(e){var t,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Tl,this.velocityUpdateSubscribers=new Tl,this.renderSubscribers=new Tl,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=Wa(),o=r.delta,i=r.timestamp;n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,Va.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return Va.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?$a(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.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 Rl(e){return new Ml(e)}var Ll=function(e){return function(t){return t.test(e)}},Il=[Qr,$r,Gr,qr,Xr,Kr,{test:function(e){return"auto"===e},parse:function(e){return e}}],Dl=function(e){return Il.find(Ll(e))},Fl=Lt(Lt([],Rt(Il)),[Ui,Qi]),zl=function(e){return Fl.find(Ll(e))};function Nl(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Rl(n))}function Bl(e,t){var n=vr(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,i=void 0===o?{}:o;r.transition;var a=Mt(r,["transitionEnd","transition"]);for(var l in a=Tt(Tt({},a),i)){Nl(e,l,jo(a[l]))}}function Hl(e,t){if(t)return(t[e]||t.default||t).from}function Wl(e,t,n){var r;void 0===n&&(n={});var o=vr(e,t,n.custom),i=(o||{}).transition,a=void 0===i?e.getDefaultTransition()||{}:i;n.transitionOverride&&(a=n.transitionOverride);var l=o?function(){return Vl(e,o,n)}:function(){return Promise.resolve()},s=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var o=a.delayChildren,i=void 0===o?0:o,l=a.staggerChildren,s=a.staggerDirection;return function(e,t,n,r,o,i){void 0===n&&(n=0);void 0===r&&(r=0);void 0===o&&(o=1);var a=[],l=(e.variantChildren.size-1)*r,s=1===o?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),l-e*r};return Array.from(e.variantChildren).sort(Ul).forEach((function(e,r){a.push(Wl(e,t,Tt(Tt({},i),{delay:n+s(r)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(a)}(e,t,i+r,l,s,n)}:function(){return Promise.resolve()},u=a.when;if(u){var c=Rt("beforeChildren"===u?[l,s]:[s,l],2),d=c[0],f=c[1];return d().then(f)}return Promise.all([l(),s(n.delay)])}function Vl(e,t,n){var r,o=void 0===n?{}:n,i=o.delay,a=void 0===i?0:i,l=o.transitionOverride,s=o.type,u=e.makeTargetAnimatable(t),c=u.transition,d=void 0===c?e.getDefaultTransition():c,f=u.transitionEnd,p=Mt(u,["transition","transitionEnd"]);l&&(d=l);var h=[],m=s&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[s]);for(var v in p){var g=e.getValue(v),y=p[v];if(!(!g||void 0===y||m&&ql(m,v))){var b=_l(v,g,y,Tt({delay:a},d));h.push(b)}}return Promise.all(h).then((function(){f&&Bl(e,f)}))}function Ul(e,t){return e.sortNodePosition(t)}function ql(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var Gl=[Do.Animate,Do.Hover,Do.Tap,Do.Drag,Do.Focus,Do.Exit],$l=Lt([],Rt(Gl)).reverse(),Kl=Gl.length;function Xl(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(),Array.isArray(t)){var o=t.map((function(t){return Wl(e,t,n)}));r=Promise.all(o)}else if("string"===typeof t)r=Wl(e,t,n);else{var i="function"===typeof t?vr(e,t,n.custom):t;r=Vl(e,i,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}function Yl(e){var t=Xl(e),n=function(){var e;return(e={})[Do.Animate]=Ql(!0),e[Do.Hover]=Ql(),e[Do.Tap]=Ql(),e[Do.Drag]=Ql(),e[Do.Focus]=Ql(),e[Do.Exit]=Ql(),e}(),r={},o=!0,i=function(t,n){var r=vr(e,n);if(r){r.transition;var o=r.transitionEnd,i=Mt(r,["transition","transitionEnd"]);t=Tt(Tt(Tt({},t),i),o)}return t};function a(a,l){for(var s,u=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set,p={},h=1/0,m=function(t){var r=$l[t],m=n[r],v=null!==(s=u[r])&&void 0!==s?s:c[r],g=hr(v),y=r===l?m.isActive:null;!1===y&&(h=t);var b=v===c[r]&&v!==u[r]&&g;if(b&&o&&e.manuallyAnimateOnMount&&(b=!1),m.protectedKeys=Tt({},p),!m.isActive&&null===y||!v&&!m.prevProp||Po(v)||"boolean"===typeof v)return"continue";var x=function(e,t){if("string"===typeof t)return t!==e;if(pr(t))return!pi(t,e);return!1}(m.prevProp,v)||r===l&&m.isActive&&!b&&g||t>h&&g,w=Array.isArray(v)?v:[v],S=w.reduce(i,{});!1===y&&(S={});var k=m.prevResolvedValues,A=void 0===k?{}:k,E=Tt(Tt({},A),S),C=function(e){x=!0,f.delete(e),m.needsAnimating[e]=!0};for(var P in E){var _=S[P],O=A[P];p.hasOwnProperty(P)||(_!==O?_o(_)&&_o(O)?pi(_,O)?m.protectedKeys[P]=!0:C(P):void 0!==_?C(P):f.add(P):void 0!==_&&f.has(P)?C(P):m.protectedKeys[P]=!0)}m.prevProp=v,m.prevResolvedValues=S,m.isActive&&(p=Tt(Tt({},p),S)),o&&e.blockInitialAnimation&&(x=!1),x&&!b&&d.push.apply(d,Lt([],Rt(w.map((function(e){return{animation:e,options:Tt({type:r},a)}})))))},v=0;v<Kl;v++)m(v);if(r=Tt({},p),f.size){var g={};f.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(g[t]=n)})),d.push({animation:g})}var y=Boolean(d.length);return o&&!1===u.initial&&!e.manuallyAnimateOnMount&&(y=!1),o=!1,y?t(d):Promise.resolve()}return{isAnimated:function(e){return void 0!==r[e]},animateChanges:a,setActive:function(t,r,o){var i;return n[t].isActive===r?Promise.resolve():(null===(i=e.variantChildren)||void 0===i||i.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r,a(o,t))},setAnimateFunction:function(n){t=n(e)},getState:function(){return n}}}function Ql(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var Zl={animation:di((function(e){var n=e.visualElement,r=e.animate;n.animationState||(n.animationState=Yl(n)),Po(r)&&(0,t.useEffect)((function(){return r.subscribe(n)}),[r])})),exit:di((function(e){var n=e.custom,r=e.visualElement,o=Rt(rr(),2),i=o[0],a=o[1],l=(0,t.useContext)(tr);(0,t.useEffect)((function(){var e,t,o=null===(e=r.animationState)||void 0===e?void 0:e.setActive(Do.Exit,!i,{custom:null!==(t=null===l||void 0===l?void 0:l.custom)&&void 0!==t?t:n});!i&&(null===o||void 0===o||o.then(a))}),[i])}))},Jl=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},es=function(e){return Jl(e)&&e.hasOwnProperty("z")},ts=function(e,t){return Math.abs(e-t)};function ns(e,t){if(Zi(e)&&Zi(t))return ts(e,t);if(Jl(e)&&Jl(t)){var n=ts(e.x,t.x),r=ts(e.y,t.y),o=es(e)&&es(t)?ts(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var rs=function(){function e(e,t,n){var r=this,o=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=as(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=ns(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,i=Wa().timestamp;r.history.push(Tt(Tt({},o),{timestamp:i}));var a=r.handlers,l=a.onStart,s=a.onMove;t||(l&&l(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),s&&s(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=os(t,r.transformPagePoint),Bo(e)&&0===e.buttons?r.handlePointerUp(e,t):Va.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,i=n.onSessionEnd,a=as(os(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,a),i&&i(e,a)},!(Ho(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var i=os(qo(e),this.transformPagePoint),a=i.point,l=Wa().timestamp;this.history=[Tt(Tt({},a),{timestamp:l})];var s=t.onSessionStart;s&&s(e,as(i,this.history)),this.removeListeners=ci(Jo(window,"pointermove",this.handlePointerMove),Jo(window,"pointerup",this.handlePointerUp),Jo(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Fa.update(this.updatePoint)},e}();function os(e,t){return t?{point:t(e.point)}:e}function is(e,t){return{x:e.x-t.x,y:e.y-t.y}}function as(e,t){var n=e.point;return{point:n,delta:is(n,ss(t)),offset:is(n,ls(t)),velocity:us(t,.1)}}function ls(e){return e[0]}function ss(e){return e[e.length-1]}function us(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=ss(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Ka(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function cs(e){return e}function ds(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}var fs={translate:0,scale:1,origin:0,originPoint:0};function ps(){return{x:Tt({},fs),y:Tt({},fs)}}function hs(e){return[e("x"),e("y")]}function ms(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?Ti(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?Ti(o,e,n.max):Math.min(e,o)),e}function vs(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function gs(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=Rt([o,r],2))[0],o=n[1]),{min:e.min+r,max:e.min+o}}function ys(e,t,n){return{min:bs(e,t),max:bs(e,n)}}function bs(e,t){var n;return"number"===typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function xs(e,t){return ds(function(e,t){var n=e.top,r=e.left,o=e.bottom,i=e.right;void 0===t&&(t=cs);var a=t({x:r,y:n}),l=t({x:i,y:o});return{top:a.y,left:a.x,bottom:l.y,right:l.x}}(e.getBoundingClientRect(),t))}function ws(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),ns(e,t)<n}function Ss(e){return e.max-e.min}function ks(e,t){var n=.5,r=Ss(e),o=Ss(t);return o>r?n=ji(t.min,t.max-r,e.min):r>o&&(n=ji(e.min,e.max-o,t.min)),vi(0,1,n)}function As(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=Ti(t.min,t.max,e.origin),e.scale=Ss(n)/Ss(t),ws(e.scale,1,1e-4)&&(e.scale=1),e.translate=Ti(n.min,n.max,e.origin)-e.originPoint,ws(e.translate)&&(e.translate=0)}function Es(e,t,n,r){As(e.x,t.x,n.x,Cs(r.originX)),As(e.y,t.y,n.y,Cs(r.originY))}function Cs(e){return"number"===typeof e?e:.5}function Ps(e,t,n){e.min=n.min+t.min,e.max=e.min+Ss(t)}var _s=function(e,t){return e.depth-t.depth};function Os(e){return e.projection.isEnabled||e.shouldResetTransform()}function js(e,t){void 0===t&&(t=[]);var n=e.parent;return n&&js(n,t),Os(e)&&t.push(e),t}function Ts(e){if(!e.shouldResetTransform()){var t,n=e.getLayoutState();e.notifyBeforeLayoutMeasure(n.layout),n.isHydrated=!0,n.layout=e.measureViewportBox(),n.layoutCorrected=(t=n.layout,{x:Tt({},t.x),y:Tt({},t.y)}),e.notifyLayoutMeasure(n.layout,e.prevViewportBox||n.layout),Va.update((function(){return e.rebaseProjectionTarget()}))}}function Ms(e,t){return{min:t.min-e.min,max:t.max-e.min}}function Rs(e,t){return{x:Ms(e.x,t.x),y:Ms(e.y,t.y)}}function Ls(e){var t=e.getProps(),n=t.drag,r=t._dragX;return n&&!r}function Is(e,t){e.min=t.min,e.max=t.max}function Ds(e,t,n){return n+t*(e-n)}function Fs(e,t,n,r,o){return void 0!==o&&(e=Ds(e,o,r)),Ds(e,n,r)+t}function zs(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=Fs(e.min,t,n,r,o),e.max=Fs(e.max,t,n,r,o)}function Ns(e,t){var n=t.x,r=t.y;zs(e.x,n.translate,n.scale,n.originPoint),zs(e.y,r.translate,r.scale,r.originPoint)}function Bs(e,t,n,r){var o=Rt(r,3),i=o[0],a=o[1],l=o[2];e.min=t.min,e.max=t.max;var s=void 0!==n[l]?n[l]:.5,u=Ti(t.min,t.max,s);zs(e,n[i],n[a],u,n.scale)}var Hs=["x","scaleX","originX"],Ws=["y","scaleY","originY"];function Vs(e,t,n){Bs(e.x,t.x,n,Hs),Bs(e.y,t.y,n,Ws)}function Us(e,t,n,r,o){return e=Ds(e-=t,1/n,r),void 0!==o&&(e=Ds(e,1/o,r)),e}function qs(e,t,n){var r=Rt(n,3),o=r[0],i=r[1],a=r[2];!function(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5);var i=Ti(e.min,e.max,r)-t;e.min=Us(e.min,t,n,i,o),e.max=Us(e.max,t,n,i,o)}(e,t[o],t[i],t[a],t.scale)}function Gs(e,t){qs(e.x,t,Hs),qs(e.y,t,Ws)}var $s=new Set;function Ks(e,t,n){e[n]||(e[n]=[]),e[n].push(t)}function Xs(e){return $s.add(e),function(){return $s.delete(e)}}function Ys(){if($s.size){var e=0,t=[[]],n=[],r=function(n){return Ks(t,n,e)},o=function(t){Ks(n,t,e),e++};$s.forEach((function(t){t(r,o),e=0})),$s.clear();for(var i=n.length,a=0;a<=i;a++)t[a]&&t[a].forEach(Zs),n[a]&&n[a].forEach(Zs)}}var Qs,Zs=function(e){return e()},Js=new WeakMap,eu=function(){function e(e){var t=e.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic={x:{min:0,max:1},y:{min:0,max:1}},this.props={},this.hasMutatedConstraints=!1,this.cursorProgress={x:.5,y:.5},this.originPoint={},this.openGlobalLock=null,this.panSession=null,this.visualElement=t,this.visualElement.enableLayoutProjection(),Js.set(t,this)}return e.prototype.start=function(e,t){var n=this,r=void 0===t?{}:t,o=r.snapToCursor,i=void 0!==o&&o,a=r.cursorProgress,l=this.props.transformPagePoint;this.panSession=new rs(e,{onSessionStart:function(e){var t;n.stopMotion();var r=function(e){return qo(e,"client")}(e).point;null===(t=n.cancelLayout)||void 0===t||t.call(n),n.cancelLayout=Xs((function(e,t){var o=js(n.visualElement),l=function(e){var t=[],n=function(e){Os(e)&&t.push(e),e.children.forEach(n)};return e.children.forEach(n),t.sort(_s)}(n.visualElement),s=Lt(Lt([],Rt(o)),Rt(l)),u=!1;n.isLayoutDrag()&&n.visualElement.lockProjectionTarget(),t((function(){s.forEach((function(e){return e.resetTransform()}))})),e((function(){Ts(n.visualElement),l.forEach(Ts)})),t((function(){s.forEach((function(e){return e.restoreTransform()})),i&&(u=n.snapToCursor(r))})),e((function(){Boolean(n.getAxisMotionValue("x")&&!n.isExternalDrag())||n.visualElement.rebaseProjectionTarget(!0,n.visualElement.measureViewportBox(!1)),n.visualElement.scheduleUpdateLayoutProjection();var e=n.visualElement.projection;hs((function(t){if(!u){var o=e.target[t],i=o.min,l=o.max;n.cursorProgress[t]=a?a[t]:ji(i,l,r[t])}var s=n.getAxisMotionValue(t);s&&(n.originPoint[t]=s.get())}))})),t((function(){za.update(),za.preRender(),za.render(),za.postRender()})),e((function(){return n.resolveDragConstraints()}))}))},onStart:function(e,t){var r,o,i,a=n.props,l=a.drag,s=a.dragPropagation;(!l||s||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=oi(l),n.openGlobalLock))&&(Ys(),n.isDragging=!0,n.currentDirection=null,null===(o=(r=n.props).onDragStart)||void 0===o||o.call(r,e,t),null===(i=n.visualElement.animationState)||void 0===i||i.setActive(Do.Drag,!0))},onMove:function(e,t){var r,o,i,a,l=n.props,s=l.dragPropagation,u=l.dragDirectionLock;if(s||n.openGlobalLock){var c=t.offset;if(u&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(c),void(null!==n.currentDirection&&(null===(o=(r=n.props).onDirectionLock)||void 0===o||o.call(r,n.currentDirection)));n.updateAxis("x",t.point,c),n.updateAxis("y",t.point,c),null===(a=(i=n.props).onDrag)||void 0===a||a.call(i,e,t),Qs=e}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:l})},e.prototype.resolveDragConstraints=function(){var e=this,t=this.props,n=t.dragConstraints,r=t.dragElastic,o=this.visualElement.getLayoutState().layoutCorrected;this.constraints=!!n&&(fr(n)?this.resolveRefConstraints(o,n):function(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:vs(e.x,r,i),y:vs(e.y,n,o)}}(o,n)),this.elastic=function(e){return!1===e?e=0:!0===e&&(e=.35),{x:ys(e,"left","right"),y:ys(e,"top","bottom")}}(r),this.constraints&&!this.hasMutatedConstraints&&hs((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(e,t){var n=this.props,r=n.onMeasureDragConstraints,o=n.transformPagePoint,i=t.current;mi(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop."),this.constraintsBox=xs(i,o);var a=function(e,t){return{x:gs(e.x,t.x),y:gs(e.y,t.y)}}(e,this.constraintsBox);if(r){var l=r(function(e){var t=e.x,n=e.y;return{top:n.min,bottom:n.max,left:t.min,right:t.max}}(a));this.hasMutatedConstraints=!!l,l&&(a=ds(l))}return a},e.prototype.cancelDrag=function(){var e,t;this.visualElement.unlockProjectionTarget(),null===(e=this.cancelLayout)||void 0===e||e.call(this),this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(Do.Drag,!1)},e.prototype.stop=function(e,t){var n,r,o;null===(n=this.panSession)||void 0===n||n.end(),this.panSession=null;var i=this.isDragging;if(this.cancelDrag(),i){var a=t.velocity;this.animateDragEnd(a),null===(o=(r=this.props).onDragEnd)||void 0===o||o.call(r,e,t)}},e.prototype.snapToCursor=function(e){var t=this;return hs((function(n){if(tu(n,t.props.drag,t.currentDirection)){var r=t.getAxisMotionValue(n);if(!r)return t.cursorProgress[n]=.5,!0;var o=t.visualElement.getLayoutState().layout,i=o[n].max-o[n].min,a=o[n].min+i/2,l=e[n]-a;t.originPoint[n]=e[n],r.set(l)}})).includes(!0)},e.prototype.updateAxis=function(e,t,n){if(tu(e,this.props.drag,this.currentDirection))return this.getAxisMotionValue(e)?this.updateAxisMotionValue(e,n):this.updateVisualElementAxis(e,t)},e.prototype.updateAxisMotionValue=function(e,t){var n=this.getAxisMotionValue(e);if(t&&n){var r=this.originPoint[e]+t[e],o=this.constraints?ms(r,this.constraints[e],this.elastic[e]):r;n.set(o)}},e.prototype.updateVisualElementAxis=function(e,t){var n,r=this.visualElement.getLayoutState().layout[e],o=r.max-r.min,i=this.cursorProgress[e],a=function(e,t,n,r,o){var i=e-t*n;return r?ms(i,r,o):i}(t[e],o,i,null===(n=this.constraints)||void 0===n?void 0:n[e],this.elastic[e]);this.visualElement.setProjectionTargetAxis(e,a,a+o)},e.prototype.setProps=function(e){var t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,o=void 0!==r&&r,i=e.dragPropagation,a=void 0!==i&&i,l=e.dragConstraints,s=void 0!==l&&l,u=e.dragElastic,c=void 0===u?.35:u,d=e.dragMomentum,f=void 0===d||d,p=Mt(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=Tt({drag:n,dragDirectionLock:o,dragPropagation:a,dragConstraints:s,dragElastic:c,dragMomentum:f},p)},e.prototype.getAxisMotionValue=function(e){var t=this.props,n=t.layout,r=t.layoutId,o="_drag"+e.toUpperCase();return this.props[o]?this.props[o]:n||void 0!==r?void 0:this.visualElement.getValue(e,0)},e.prototype.isLayoutDrag=function(){return!this.getAxisMotionValue("x")},e.prototype.isExternalDrag=function(){var e=this.props,t=e._dragX,n=e._dragY;return t||n},e.prototype.animateDragEnd=function(e){var t=this,n=this.props,r=n.drag,o=n.dragMomentum,i=n.dragElastic,a=n.dragTransition,l=function(e,t){void 0===t&&(t=!0);var n,r=e.getProjectionParent();return!!r&&(t?Gs(n=Rs(r.projection.target,e.projection.target),r.getLatestValues()):n=Rs(r.getLayoutState().layout,e.getLayoutState().layout),hs((function(t){return e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)})),!0)}(this.visualElement,this.isLayoutDrag()&&!this.isExternalDrag()),s=this.constraints||{};if(l&&Object.keys(s).length&&this.isLayoutDrag()){var u=this.visualElement.getProjectionParent();if(u){var c=Rs(u.projection.targetFinal,s);hs((function(e){var t=c[e],n=t.min,r=t.max;s[e]={min:isNaN(n)?void 0:n,max:isNaN(r)?void 0:r}}))}}var d=hs((function(n){var u;if(tu(n,r,t.currentDirection)){var c=null!==(u=null===s||void 0===s?void 0:s[n])&&void 0!==u?u:{},d=i?200:1e6,f=i?40:1e7,p=Tt(Tt({type:"inertia",velocity:o?e[n]:0,bounceStiffness:d,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10},a),c);return t.getAxisMotionValue(n)?t.startAxisValueAnimation(n,p):t.visualElement.startLayoutAnimation(n,p,l)}}));return Promise.all(d).then((function(){var e,n;null===(n=(e=t.props).onDragTransitionEnd)||void 0===n||n.call(e)}))},e.prototype.stopMotion=function(){var e=this;hs((function(t){var n=e.getAxisMotionValue(t);n?n.stop():e.visualElement.stopLayoutAnimation()}))},e.prototype.startAxisValueAnimation=function(e,t){var n=this.getAxisMotionValue(e);if(n){var r=n.get();return n.set(r),n.set(r),_l(e,n,0,t)}},e.prototype.scalePoint=function(){var e=this,t=this.props,n=t.drag;if(fr(t.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};hs((function(t){r[t]=ks(e.visualElement.projection.target[t],e.constraintsBox[t])})),this.updateConstraints((function(){hs((function(t){if(tu(t,n,null)){var o=function(e,t,n){var r=e.max-e.min,o=Ti(t.min,t.max-r,n);return{min:o,max:o+r}}(e.visualElement.projection.target[t],e.constraintsBox[t],r[t]),i=o.min,a=o.max;e.visualElement.setProjectionTargetAxis(t,i,a)}}))})),setTimeout(Ys,1)}},e.prototype.updateConstraints=function(e){var t=this;this.cancelLayout=Xs((function(n,r){var o=js(t.visualElement);r((function(){return o.forEach((function(e){return e.resetTransform()}))})),n((function(){return Ts(t.visualElement)})),r((function(){return o.forEach((function(e){return e.restoreTransform()}))})),n((function(){t.resolveDragConstraints()})),e&&r(e)}))},e.prototype.mount=function(e){var t=this,n=Jo(e.getInstance(),"pointerdown",(function(e){var n=t.props,r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=zo(window,"resize",(function(){t.scalePoint()})),o=e.onLayoutUpdate((function(){t.isDragging&&t.resolveDragConstraints()})),i=e.prevDragCursor;return i&&this.start(Qs,{cursorProgress:i}),function(){null===n||void 0===n||n(),null===r||void 0===r||r(),null===o||void 0===o||o(),t.cancelDrag()}},e}();function tu(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}var nu,ru,ou={pan:di((function(e){var n=e.onPan,r=e.onPanStart,o=e.onPanEnd,i=e.onPanSessionStart,a=e.visualElement,l=n||r||o||i,s=(0,t.useRef)(null),u=(0,t.useContext)(Jn).transformPagePoint,c={onSessionStart:i,onStart:r,onMove:n,onEnd:function(e,t){s.current=null,o&&o(e,t)}};(0,t.useEffect)((function(){null!==s.current&&s.current.updateHandlers(c)})),ei(a,"pointerdown",l&&function(e){s.current=new rs(e,c,{transformPagePoint:u})}),si((function(){return s.current&&s.current.end()}))})),drag:di((function(e){var n=e.dragControls,r=e.visualElement,o=(0,t.useContext)(Jn).transformPagePoint,i=nr((function(){return new eu({visualElement:r})}));i.setProps(Tt(Tt({},e),{transformPagePoint:o})),(0,t.useEffect)((function(){return n&&n.subscribe(i)}),[i]),(0,t.useEffect)((function(){return i.mount(r)}),[])}))};function iu(e){return"string"===typeof e&&e.startsWith("var(--")}!function(e){e[e.Entering=0]="Entering",e[e.Present=1]="Present",e[e.Exiting=2]="Exiting"}(nu||(nu={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(ru||(ru={}));var au=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;var lu=4;function su(e,t,n){void 0===n&&(n=1),mi(n<=lu,'Max CSS variable fallback depth detected in property "'+e+'". This may indicate a circular fallback dependency.');var r=Rt(function(e){var t=au.exec(e);if(!t)return[,];var n=Rt(t,3);return[n[1],n[2]]}(e),2),o=r[0],i=r[1];if(o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():iu(i)?su(i,t,n+1):i}}function uu(e,t){return e/(t.max-t.min)*100}var cu="_$css";var du={process:function(e,t,n){var r=n.target;if("string"===typeof e){if(!$r.test(e))return e;e=parseFloat(e)}return uu(e,r.x)+"% "+uu(e,r.y)+"%"}},fu={borderRadius:Tt(Tt({},du),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:du,borderTopRightRadius:du,borderBottomLeftRadius:du,borderBottomRightRadius:du,boxShadow:{process:function(e,t){var n=t.delta,r=t.treeScale,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(au,(function(e){return a.push(e),cu})));var l=Qi.parse(e);if(l.length>5)return o;var s=Qi.createTransformer(e),u="number"!==typeof l[0]?1:0,c=n.x.scale*r.x,d=n.y.scale*r.y;l[0+u]/=c,l[1+u]/=d;var f=Ti(c,d,.5);"number"===typeof l[2+u]&&(l[2+u]/=f),"number"===typeof l[3+u]&&(l[3+u]/=f);var p=s(l);if(i){var h=0;p=p.replace(cu,(function(){var e=a[h];return h++,e}))}return p}}},pu=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.frameTarget={x:{min:0,max:1},y:{min:0,max:1}},t.currentAnimationTarget={x:{min:0,max:1},y:{min:0,max:1}},t.isAnimating={x:!1,y:!1},t.stopAxisAnimation={x:void 0,y:void 0},t.isAnimatingTree=!1,t.animate=function(e,n,r){void 0===r&&(r={});var o=r.originBox,i=r.targetBox,a=r.visibilityAction,l=r.shouldStackAnimate,s=r.onComplete,u=r.prevParent,c=Mt(r,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),d=t.props,f=d.visualElement,p=d.layout;if(!1===l)return t.isAnimatingTree=!1,t.safeToRemove();if(!t.isAnimatingTree||!0===l){l&&(t.isAnimatingTree=!0),n=o||n,e=i||e;var h=!1,m=f.getProjectionParent();if(m){var v=m.prevViewportBox,g=m.getLayoutState().layout;u&&(i&&(g=u.getLayoutState().layout),o&&!function(e,t){var n=e.getLayoutId(),r=t.getLayoutId();return n!==r||void 0===r&&e!==t}(u,m)&&u.prevViewportBox&&(v=u.prevViewportBox)),v&&function(e,t,n){return e||!e&&!(t||n)}(u,o,i)&&(h=!0,n=Rs(v,n),e=Rs(g,e))}var y=function(e,t){return!mu(e)&&!mu(t)&&(!vu(e.x,t.x)||!vu(e.y,t.y))}(n,e),b=hs((function(r){var o,i;if("position"===p){var l=e[r].max-e[r].min;n[r].max=n[r].min+l}if(!f.projection.isTargetLocked)return void 0===a?y?t.animateAxis(r,e[r],n[r],Tt(Tt({},c),{isRelative:h})):(null===(i=(o=t.stopAxisAnimation)[r])||void 0===i||i.call(o),f.setProjectionTargetAxis(r,e[r].min,e[r].max,h)):void f.setVisibility(a===ru.Show)}));return f.syncRender(),Promise.all(b).then((function(){t.isAnimatingTree=!1,s&&s(),f.notifyLayoutAnimationComplete()}))}},t}return jt(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.visualElement;t.animateMotionValue=_l,t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate),t.layoutSafeToRemove=function(){return e.safeToRemove()},function(e){for(var t in e)Er[t]=e[t]}(fu)},t.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),hs((function(t){var n,r;return null===(r=(n=e.stopAxisAnimation)[t])||void 0===r?void 0:r.call(n)}))},t.prototype.animateAxis=function(e,t,n,r){var o,i,a=this,l=void 0===r?{}:r,s=l.transition,u=l.isRelative;if(!this.isAnimating[e]||!vu(t,this.currentAnimationTarget[e])){null===(i=(o=this.stopAxisAnimation)[e])||void 0===i||i.call(o),this.isAnimating[e]=!0;var c=this.props.visualElement,d=this.frameTarget[e],f=c.getProjectionAnimationProgress()[e];f.clearListeners(),f.set(0),f.set(0);var p=function(){var r=f.get()/1e3;!function(e,t,n,r){e.min=Ti(t.min,n.min,r),e.max=Ti(t.max,n.max,r)}(d,n,t,r),c.setProjectionTargetAxis(e,d.min,d.max,u)};p();var h=f.onChange(p);this.stopAxisAnimation[e]=function(){a.isAnimating[e]=!1,f.stop(),h()},this.currentAnimationTarget[e]=t;var m=s||c.getDefaultTransition()||gu;return _l("x"===e?"layoutX":"layoutY",f,1e3,m&&Pl(m,"layout")).then(this.stopAxisAnimation[e])}},t.prototype.safeToRemove=function(){var e,t;null===(t=(e=this.props).safeToRemove)||void 0===t||t.call(e)},t.prototype.render=function(){return null},t}(t.Component);var hu={min:0,max:0};function mu(e){return vu(e.x,hu)&&vu(e.y,hu)}function vu(e,t){return e.min===t.min&&e.max===t.max}var gu={duration:.45,ease:[.4,0,.1,1]};var yu={layoutReady:function(e){return e.notifyLayoutReady()}};function bu(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var n=void 0===t?yu:t,r=n.layoutReady,o=n.parent;Xs((function(t,n){var i=Array.from(e).sort(_s),a=o?js(o):[];n((function(){Lt(Lt([],Rt(a)),Rt(i)).forEach((function(e){return e.resetTransform()}))})),t((function(){i.forEach(Ts)})),n((function(){a.forEach((function(e){return e.restoreTransform()})),i.forEach(r)})),t((function(){i.forEach((function(e){e.isPresent&&(e.presence=nu.Present)}))})),n((function(){za.preRender(),za.render()})),t((function(){Va.postRender((function(){return i.forEach(xu)})),e.clear()}))})),Ys()}}}function xu(e){e.prevViewportBox=e.projection.target}var wu=(0,t.createContext)(bu()),Su=(0,t.createContext)(bu());function ku(e){return!!e.forceUpdate}var Au=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return jt(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.syncLayout,n=e.framerSyncLayout,r=e.visualElement;ku(t)&&t.register(r),ku(n)&&n.register(r),r.onUnmount((function(){ku(t)&&t.remove(r),ku(n)&&n.remove(r)}))},t.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;return ku(t)?t.syncUpdate():(!function(e){e.shouldResetTransform()||(e.prevViewportBox=e.measureViewportBox(!1),e.rebaseProjectionTarget(!1,e.prevViewportBox))}(n),t.add(n)),null},t.prototype.componentDidUpdate=function(){var e=this.props.syncLayout;ku(e)||e.flush()},t.prototype.render=function(){return null},t}(t.Component);var Eu={measureLayout:function(e){var n=(0,t.useContext)(wu),r=(0,t.useContext)(Su);return t.createElement(Au,Tt({},e,{syncLayout:n,framerSyncLayout:r}))},layoutAnimation:function(e){var n=Rt(rr(),2)[1];return t.createElement(pu,Tt({},e,{safeToRemove:n}))}};function Cu(){return{isHydrated:!1,layout:{x:{min:0,max:1},y:{min:0,max:1}},layoutCorrected:{x:{min:0,max:1},y:{min:0,max:1}},treeScale:{x:1,y:1},delta:ps(),deltaFinal:ps(),deltaTransform:""}}var Pu=Cu();function _u(e,t,n){var r=e.x,o=e.y,i="translate3d("+r.translate/t.x+"px, "+o.translate/t.y+"px, 0) ";if(n){var a=n.rotate,l=n.rotateX,s=n.rotateY;a&&(i+="rotate("+a+") "),l&&(i+="rotateX("+l+") "),s&&(i+="rotateY("+s+") ")}return i+="scale("+r.scale+", "+o.scale+")",n||i!==ju?i:""}function Ou(e){var t=e.deltaFinal;return 100*t.x.origin+"% "+100*t.y.origin+"% 0"}var ju=_u(Pu.delta,Pu.treeScale,{x:1,y:1}),Tu=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function Mu(e,t,n,r){var o,i,a=e.delta,l=e.layout,s=e.layoutCorrected,u=e.treeScale,c=t.target;i=l,Is((o=s).x,i.x),Is(o.y,i.y),function(e,t,n){var r=n.length;if(r){var o,i;t.x=t.y=1;for(var a=0;a<r;a++)i=(o=n[a]).getLayoutState().delta,t.x*=i.x.scale,t.y*=i.y.scale,Ns(e,i),Ls(o)&&Vs(e,e,o.getLatestValues())}}(s,u,n),Es(a,s,c,r)}var Ru=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){Ol(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){jl(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(_s),this.isDirty=!1,this.children.forEach(e)},e}();var Lu=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,o=e.getBaseTarget,i=e.makeTargetAnimatable,a=e.measureViewportBox,l=e.render,s=e.readValueFromInstance,u=e.resetTransform,c=e.restoreTransform,d=e.removeValueFromRenderState,f=e.sortNodePosition,p=e.scrapeMotionValuesFromProps;return function(e,t){var h=e.parent,m=e.props,v=e.presenceId,g=e.blockInitialAnimation,y=e.visualState;void 0===t&&(t={});var b,x,w,S,k,A,E=y.latestValues,C=y.renderState,P=function(){var e=Tu.map((function(){return new Tl})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){return Tu.forEach((function(r){var o;null===(o=t[r])||void 0===o||o.call(t);var i="on"+r,a=e[i];a&&(t[r]=n[i](a))}))}};return e.forEach((function(e,t){n["on"+Tu[t]]=function(t){return e.add(t)},n["notify"+Tu[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,Lt([],Rt(t)))}})),n}(),_={isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:{x:{min:0,max:1},y:{min:0,max:1}},targetFinal:{x:{min:0,max:1},y:{min:0,max:1}}},O=_,j=E,T=Cu(),M=!1,R=new Map,L=new Map,I={},D=Tt({},E);function F(){b&&(G.isProjectionReady()&&(Vs(O.targetFinal,O.target,j),Es(T.deltaFinal,T.layoutCorrected,O.targetFinal,E)),z(),l(b,C))}function z(){var e=E;if(S&&S.isActive()){var n=S.getCrossfadeState(G);n&&(e=n)}r(G,C,e,O,T,t,m)}function N(){P.notifyUpdate(E)}function B(){G.layoutTree.forEach(Du)}var H=p(m);for(var W in H){var V=H[W];void 0!==E[W]&&Lr(V)&&V.set(E[W],!1)}var U=gr(m),q=yr(m),G=Tt(Tt({treeType:n,current:null,depth:h?h.depth+1:0,parent:h,children:new Set,path:h?Lt(Lt([],Rt(h.path)),[h]):[],layoutTree:h?h.layoutTree:new Ru,presenceId:v,projection:_,variantChildren:q?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null===h||void 0===h?void 0:h.isMounted()),blockInitialAnimation:g,isMounted:function(){return Boolean(b)},mount:function(e){b=G.current=e,G.pointTo(G),q&&h&&!U&&(A=null===h||void 0===h?void 0:h.addVariantChild(G)),null===h||void 0===h||h.children.add(G)},unmount:function(){Fa.update(N),Fa.render(F),Fa.preRender(G.updateLayoutProjection),L.forEach((function(e){return e()})),G.stopLayoutAnimation(),G.layoutTree.remove(G),null===A||void 0===A||A(),null===h||void 0===h||h.children.delete(G),null===w||void 0===w||w(),P.clearAllListeners()},addVariantChild:function(e){var t,n=G.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return f&&n===e.treeType?f(G.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return q?G:null===h||void 0===h?void 0:h.getClosestVariantNode()},scheduleUpdateLayoutProjection:h?h.scheduleUpdateLayoutProjection:function(){return Va.preRender(G.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return m.layoutId},getInstance:function(){return b},getStaticValue:function(e){return E[e]},setStaticValue:function(e,t){return E[e]=t},getLatestValues:function(){return E},setVisibility:function(e){G.isVisible!==e&&(G.isVisible=e,G.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),i(G,e,m,t)},addValue:function(e,t){G.hasValue(e)&&G.removeValue(e),R.set(e,t),E[e]=t.get(),function(e,t){var n=t.onChange((function(t){E[e]=t,m.onUpdate&&Va.update(N,!1,!0)})),r=t.onRenderRequest(G.scheduleRender);L.set(e,(function(){n(),r()}))}(e,t)},removeValue:function(e){var t;R.delete(e),null===(t=L.get(e))||void 0===t||t(),L.delete(e),delete E[e],d(e,C)},hasValue:function(e){return R.has(e)},getValue:function(e,t){var n=R.get(e);return void 0===n&&void 0!==t&&(n=Rl(t),G.addValue(e,n)),n},forEachValue:function(e){return R.forEach(e)},readValue:function(e){var n;return null!==(n=E[e])&&void 0!==n?n:s(b,e,t)},setBaseTarget:function(e,t){D[e]=t},getBaseTarget:function(e){if(o){var t=o(m,e);if(void 0!==t&&!Lr(t))return t}return D[e]}},P),{build:function(){return z(),C},scheduleRender:function(){Va.render(F,!1,!0)},syncRender:F,setProps:function(e){m=e,P.updatePropListeners(e),I=function(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(Lr(i))e.addValue(o,i);else if(Lr(a))e.addValue(o,Rl(i));else if(a!==i)if(e.hasValue(o)){var l=e.getValue(o);!l.hasAnimated&&l.set(i)}else e.addValue(o,Rl(null!==(r=e.getStaticValue(o))&&void 0!==r?r:i))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(G,p(m),I)},getProps:function(){return m},getVariant:function(e){var t;return null===(t=m.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return m.transition},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null===h||void 0===h?void 0:h.getVariantContext();if(!U){var t=(null===h||void 0===h?void 0:h.getVariantContext())||{};return void 0!==m.initial&&(t.initial=m.initial),t}for(var n={},r=0;r<Nu;r++){var o=zu[r],i=m[o];(hr(i)||!1===i)&&(n[o]=i)}return n},enableLayoutProjection:function(){_.isEnabled=!0,G.layoutTree.add(G)},lockProjectionTarget:function(){_.isTargetLocked=!0},unlockProjectionTarget:function(){G.stopLayoutAnimation(),_.isTargetLocked=!1},getLayoutState:function(){return T},setCrossfader:function(e){S=e},isProjectionReady:function(){return _.isEnabled&&_.isHydrated&&T.isHydrated},startLayoutAnimation:function(e,t,n){void 0===n&&(n=!1);var r=G.getProjectionAnimationProgress()[e],o=n?_.relativeTarget[e]:_.target[e],i=o.min,a=o.max-i;return r.clearListeners(),r.set(i),r.set(i),r.onChange((function(t){G.setProjectionTargetAxis(e,t,t+a,n)})),G.animateMotionValue(e,r,0,t)},stopLayoutAnimation:function(){hs((function(e){return G.getProjectionAnimationProgress()[e].stop()}))},measureViewportBox:function(e){void 0===e&&(e=!0);var n=a(b,t);return e||Gs(n,E),n},getProjectionAnimationProgress:function(){return k||(k={x:Rl(0),y:Rl(0)}),k},setProjectionTargetAxis:function(e,t,n,r){var o;void 0===r&&(r=!1),r?(_.relativeTarget||(_.relativeTarget={x:{min:0,max:1},y:{min:0,max:1}}),o=_.relativeTarget[e]):(_.relativeTarget=void 0,o=_.target[e]),_.isHydrated=!0,o.min=t,o.max=n,M=!0,P.notifySetAxisTarget()},rebaseProjectionTarget:function(e,t){void 0===t&&(t=T.layout);var n=G.getProjectionAnimationProgress(),r=n.x,o=n.y,i=!_.relativeTarget&&!_.isTargetLocked&&!r.isAnimating()&&!o.isAnimating();(e||i)&&hs((function(e){var n=t[e],r=n.min,o=n.max;G.setProjectionTargetAxis(e,r,o)}))},notifyLayoutReady:function(e){!function(e){var t=e.getProjectionParent();if(t){var n=Rs(t.getLayoutState().layout,e.getLayoutState().layout);hs((function(t){e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)}))}else e.rebaseProjectionTarget()}(G),G.notifyLayoutUpdate(T.layout,G.prevViewportBox||T.layout,e)},resetTransform:function(){return u(G,b,m)},restoreTransform:function(){return c(b,C)},updateLayoutProjection:function(){if(G.isProjectionReady()){var e=T.delta,t=T.treeScale,n=t.x,r=t.y,o=T.deltaTransform;Mu(T,O,G.path,E),M&&G.notifyViewportBoxUpdate(O.target,e),M=!1;var i=_u(e,t);i===o&&n===t.x&&r===t.y||G.scheduleRender(),T.deltaTransform=i}},updateTreeLayoutProjection:function(){G.layoutTree.forEach(Iu),Va.preRender(B,!1,!0)},getProjectionParent:function(){if(void 0===x){for(var e=!1,t=G.path.length-1;t>=0;t--){var n=G.path[t];if(n.projection.isEnabled){e=n;break}}x=e}return x},resolveRelativeTargetBox:function(){var e=G.getProjectionParent();if(_.relativeTarget&&e&&(function(e,t){Ps(e.target.x,e.relativeTarget.x,t.target.x),Ps(e.target.y,e.relativeTarget.y,t.target.y)}(_,e.projection),Ls(e))){var t=_.target;Vs(t,t,e.getLatestValues())}},shouldResetTransform:function(){return Boolean(m._layoutResetTransform)},pointTo:function(e){O=e.projection,j=e.getLatestValues(),null===w||void 0===w||w(),w=ci(e.onSetAxisTarget(G.scheduleUpdateLayoutProjection),e.onLayoutAnimationComplete((function(){var e;G.isPresent?G.presence=nu.Present:null===(e=G.layoutSafeToRemove)||void 0===e||e.call(G)})))},isPresent:!0,presence:nu.Entering});return G}};function Iu(e){e.resolveRelativeTargetBox()}function Du(e){e.updateLayoutProjection()}var Fu,zu=Lt(["initial"],Rt(Gl)),Nu=zu.length,Bu=new Set(["width","height","top","left","right","bottom","x","y"]),Hu=function(e){return Bu.has(e)},Wu=function(e,t){e.set(t,!1),e.set(t)},Vu=function(e){return e===Qr||e===$r};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Fu||(Fu={}));var Uu=function(e,t){return parseFloat(e.split(", ")[t])},qu=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return Uu(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?Uu(a[1],e):0}},Gu=new Set(["x","y","z"]),$u=Pr.filter((function(e){return!Gu.has(e)}));var Ku={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:qu(4,13),y:qu(5,14)},Xu=function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=Tt({},t),r=Tt({},r);var o=Object.keys(t).filter(Hu),i=[],a=!1,l=[];if(o.forEach((function(o){var s=e.getValue(o);if(e.hasValue(o)){var u,c=n[o],d=t[o],f=Dl(c);if(_o(d))for(var p=d.length,h=null===d[0]?1:0;h<p;h++)u?mi(Dl(d[h])===u,"All keyframes must be of the same type"):(u=Dl(d[h]),mi(u===f||Vu(f)&&Vu(u),"Keyframes must be of the same dimension as the current value"));else u=Dl(d);if(f!==u)if(Vu(f)&&Vu(u)){var m=s.get();"string"===typeof m&&s.set(parseFloat(m)),"string"===typeof d?t[o]=parseFloat(d):Array.isArray(d)&&u===$r&&(t[o]=d.map(parseFloat))}else(null===f||void 0===f?void 0:f.transform)&&(null===u||void 0===u?void 0:u.transform)&&(0===c||0===d)?0===c?s.set(u.transform(c)):t[o]=f.transform(d):(a||(i=function(e){var t=[];return $u.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),a=!0),l.push(o),r[o]=void 0!==r[o]?r[o]:t[o],Wu(s,d))}})),l.length){var s=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,l={top:i.top,left:i.left,bottom:i.bottom,right:i.right,transform:i.transform};"none"===a&&t.setStaticValue("display",e.display||"block"),t.syncRender();var s=t.measureViewportBox();return n.forEach((function(n){var o=t.getValue(n);Wu(o,Ku[n](r,l)),e[n]=Ku[n](s,i)})),e}(t,e,l);return i.length&&i.forEach((function(t){var n=Rt(t,2),r=n[0],o=n[1];e.getValue(r).set(o)})),e.syncRender(),{target:s,transitionEnd:r}}return{target:t,transitionEnd:r}};function Yu(e,t,n,r){return function(e){return Object.keys(e).some(Hu)}(t)?Xu(e,t,n,r):{target:t,transitionEnd:r}}var Qu=function(e,t,n,r){var o=function(e,t,n){var r,o=Mt(t,[]),i=e.getInstance();if(!(i instanceof HTMLElement))return{target:o,transitionEnd:n};for(var a in n&&(n=Tt({},n)),e.forEachValue((function(e){var t=e.get();if(iu(t)){var n=su(t,i);n&&e.set(n)}})),o){var l=o[a];if(iu(l)){var s=su(l,i);s&&(o[a]=s,n&&(null!==(r=n[a])&&void 0!==r||(n[a]=l)))}}return{target:o,transitionEnd:n}}(e,t,r);return Yu(e,t=o.target,n,r=o.transitionEnd)};var Zu={treeType:"dom",readValueFromInstance:function(e,t){if(jr(t)){var n=xl(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(Dr(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return xs(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var o=n.transformValues;void 0===r&&(r=!0);var i=t.transition,a=t.transitionEnd,l=Mt(t,["transition","transitionEnd"]),s=function(e,t,n){var r,o,i={};for(var a in e)i[a]=null!==(r=Hl(a,t))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(l,i||{},e);if(o&&(a&&(a=o(a)),l&&(l=o(l)),s&&(s=o(s))),r){!function(e,t,n){var r,o,i,a,l=Object.keys(t).filter((function(t){return!e.hasValue(t)})),s=l.length;if(s)for(var u=0;u<s;u++){var c=l[u],d=t[c],f=null;Array.isArray(d)&&(f=d[0]),null===f&&(f=null!==(o=null!==(r=n[c])&&void 0!==r?r:e.readValue(c))&&void 0!==o?o:t[c]),void 0!==f&&null!==f&&("string"===typeof f&&/^\-?\d*\.?\d+$/.test(f)?f=parseFloat(f):!zl(f)&&Qi.test(d)&&(f=wl(c,d)),e.addValue(c,Rl(f)),null!==(i=(a=n)[c])&&void 0!==i||(a[c]=f),e.setBaseTarget(c,f))}}(e,l,s);var u=Qu(e,l,s,a);a=u.transitionEnd,l=u.target}return Tt({transition:i,transitionEnd:a},l)},scrapeMotionValuesFromProps:Eo,build:function(e,t,n,r,o,i,a){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden");var l=r.isEnabled&&o.isHydrated;no(t,n,r,o,i,a.transformTemplate,l?_u:void 0,l?Ou:void 0)},render:So},Ju=Lu(Zu),ec=Lu(Tt(Tt({},Zu),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return jr(t)?(null===(n=xl(t))||void 0===n?void 0:n.default)||0:(t=ko.has(t)?t:wo(t),e.getAttribute(t))},scrapeMotionValuesFromProps:Co,build:function(e,t,n,r,o,i,a){var l=r.isEnabled&&o.isHydrated;vo(t,n,r,o,i,a.transformTemplate,l?_u:void 0,l?Ou:void 0)},render:Ao})),tc=function(e,t){return Ar(e)?ec(t,{enableHardwareAcceleration:!1}):Ju(t,{enableHardwareAcceleration:!0})},nc=Tt(Tt(Tt(Tt({},Zl),fi),ou),Eu),rc=Sr((function(e,t){return function(e,t,n,r){var o=t.forwardMotionProps,i=void 0!==o&&o,a=Ar(e)?Io:Fo;return Tt(Tt({},a),{preloadedFeatures:n,useRender:bo(i),createVisualElement:r,Component:e})}(e,t,nc,tc)}));var oc=n(4536),ic=function(){return ic=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ic.apply(this,arguments)},ac=(0,t.memo)((function(e){var t=e.className,n=e.direction,r=e.hasCircularBorder,o=e.onClick,i=e.colorDark,a=e.colorLight,l=lc({direction:n,hasCircularBorder:null!==r&&void 0!==r&&r,colorDark:null!==i&&void 0!==i?i:"",colorLight:null!==a&&void 0!==a?a:""},{props:e}),s=l.classes,u=l.cx;return(0,te.jsx)("div",ic({onClick:o,className:u(s.root,t)},{children:(0,te.jsx)(oc.A,{className:s.arrow})}))})),lc=ge({name:{GlArrow:ac}})((function(e,t){var n=t.direction,r=t.hasCircularBorder,o=t.colorDark,i=t.colorLight,a=e.isDarkModeEnabled?0===o.length?e.colors.palette.light.main:o:0===i.length?e.colors.palette.dark.main:i;return{root:ic(ic({border:r?"\n solid ".concat(a," 2px\n "):void 0,padding:10,borderRadius:"50%"},function(){var t=e.spacing(5);return{width:t,height:t}}()),{transform:function(){switch(n){case"down":return;case"up":return"rotate(180deg)";case"left":return"rotate(90deg)";case"right":return"rotate(-90deg)"}}(),alignItems:"center",justifyContent:"center",display:"flex"}),arrow:{fill:a}}})),sc=function(){return sc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},sc.apply(this,arguments)},uc=(0,t.memo)((function(e){var t=e.children,n=e.className,r=cc(),o=r.classes,i=r.cx;return(0,te.jsx)(ye,sc({className:i(o.root,n),htmlComponent:"h1",typo:"body 1"},{children:t}))})),cc=ge({name:{GlHeroText:uc}})((function(e){return{root:sc({fontWeight:700},function(){var t=e.typography.rootFontSizePx/16*(e.windowInnerWidth>=we.xl?86:e.windowInnerWidth>=600?52:36);return{fontSize:t,lineHeight:"".concat(t,"px")}}())}})),dc=function(){return dc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},dc.apply(this,arguments)},fc=(0,t.memo)((0,t.forwardRef)((function(e,t){var n=e.sources,r=e.className,o=e.hasShadow,i=void 0===o||o,a=e.hasBorderRadius,l=void 0===a||a,s=e.height,u=e.id,c=e.width,d=e.autoPlay,f=e.loop,p=e.muted,h=e.controls,m=e.onLoad,v=pc({hasShadow:i,hasBorderRadius:l}),g=v.classes,y=v.cx;return(0,te.jsx)("video",dc({ref:t,className:y(g.root,r),onLoadedData:m,loop:null===f||void 0===f||f,muted:null===p||void 0===p||p,autoPlay:null===d||void 0===d||d,id:u,width:c,height:s,playsInline:null===d||void 0===d||d,controls:null!==h&&void 0!==h&&h},{children:n.map((function(e){return(0,te.jsx)("source",dc({},e))}))}))}))),pc=ge({name:{GlVideo:fc}})((function(e,t){var n=t.hasShadow,r=t.hasBorderRadius;return{root:{boxShadow:n?e.customShadow:void 0,borderRadius:r?e.borderRadius:void 0}}})),hc=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};function mc(e){var n,r=(0,Ae.useStateRef)(null),o=null!==(n=null===e||void 0===e?void 0:e.ref)&&void 0!==n?n:r,i=(0,Ce.useDomRect)({ref:o}).domRect,a=i.width,l=i.height,s=hc((0,t.useState)(void 0),2),u=s[0],c=s[1];return(0,t.useEffect)((function(){(void 0===u||isNaN(u))&&c(a/l)}),[a,l]),{aspectRatio:void 0===u?NaN:u,ref:o}}var vc=function(){return vc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},vc.apply(this,arguments)},gc=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function l(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},yc=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&l[0]?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,r=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===l[0]||2===l[0])){a=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){a.label=l[1];break}if(6===l[0]&&a.label<o[1]){a.label=o[1],o=l;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(l);break}o[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(s){l=[6,s],r=0}finally{n=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}},bc=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},xc="illustrationId",wc={show:{},hidden:{opacity:0}},Sc={show:{},hidden:{x:-150,opacity:0}},kc={transition:{delay:1,duration:.5},initial:{opacity:0},animate:{}},Ac=(0,t.memo)((function(e){var n,r=e.title,o=e.subTitle,i=e.className,a=e.hasLinkToSectionBellow,l=e.illustration,s=e.hasAnimation,u=e.illustrationZoomFactor,c=bc((0,t.useState)(!1),2),d=c[0],f=c[1],p=bc((0,t.useState)(!1),2),h=p[0],m=p[1],v=(0,Ae.useStateRef)(null),g=mc(),y=g.ref,b=g.aspectRatio,x=(0,Te.useConstCallback)((function(){return gc(void 0,void 0,void 0,(function(){return yc(this,(function(e){switch(e.label){case 0:return[4,new Promise((function(e){return setTimeout(e,50)}))];case 1:return e.sent(),m(!0),[2]}}))}))})),w=(0,Te.useConstCallback)((function(){wc.show={transition:{staggerChildren:.5},opacity:1},Sc.show={opacity:1,x:0,transition:{duration:1,ease:"easeOut"}},kc.animate={opacity:1},f(!0)}));(0,pe.useSplashScreen)({onHidden:function(){h&&d&&(s||void 0===s)&&w()}}),(0,t.useEffect)((function(){!h||d||!s&&void 0!==s||w()}),[h]);var S=(0,Te.useConstCallback)((function(){var e=v.current;e&&(0,Re.getScrollableParent)({element:e,doReturnElementIfScrollable:!0}).scrollTo({behavior:"smooth",top:e.clientHeight})})),k=Ec({hasOnlyText:void 0===l,isImageLoaded:h},{props:e}),A=k.classes,E=k.cx,C=ke({illustrationZoomFactor:u,aspectRatio:b,type:null===(n=e.illustration)||void 0===n?void 0:n.type}).classes;return(0,te.jsxs)("section",vc({ref:v,className:E(A.root,i)},{children:[(0,te.jsxs)("div",vc({className:A.textAndImageWrapper},{children:[(void 0!==r||void 0!==o)&&(0,te.jsxs)(rc.div,vc({className:A.textWrapper},function(){if(s||void 0===s)return{variants:wc,initial:"hidden",animate:"show"}}(),{children:[void 0!==r&&(0,te.jsx)(rc.div,vc({variants:s||void 0===s?Sc:void 0},{children:"string"===typeof r?(0,te.jsx)(uc,vc({className:A.title},{children:r})):r})),void 0!==o&&(0,te.jsx)(rc.div,vc({variants:s||void 0===s?Sc:void 0},{children:"string"===typeof o?(0,te.jsx)(ye,vc({typo:"subtitle",className:A.subtitle},{children:o})):o}))]})),void 0!==l&&(0,te.jsx)(rc.div,vc({},s||void 0===s?kc:void 0,{className:E(C.root,A.illustrationWrapper)},{children:function(){switch(l.type){case"image":return(0,te.jsx)(Gn,vc({ref:y,id:xc,className:A.illustration,alt:"hero image",onLoad:x},l));case"video":return(0,te.jsx)(fc,vc({ref:y,id:xc,className:A.illustration,onLoad:x},l));case"custom component":return(0,te.jsx)(l.Component,{id:xc,className:A.illustration,onLoad:x})}}()}))]})),void 0!==a&&(0,te.jsx)("div",vc({className:A.linkToSectionBelowWrapper},{children:(0,te.jsx)(ac,{onClick:S,className:A.arrow,direction:"down",hasCircularBorder:!0})}))]}))})),Ec=ge({name:{GlHero:Ac}})((function(e,t){var n=t.hasOnlyText,r=t.isImageLoaded;return{root:vc({width:"100%",paddingBottom:e.spacing(7)},e.spacing.rightLeft("padding","".concat(e.paddingRightLeft,"px"))),arrow:{cursor:"pointer"},textAndImageWrapper:vc({margin:e.spacing({topBottom:5,rightLeft:0}),minHeight:window.innerHeight/100*70,display:"flex",alignItems:"center",justifyContent:"center"},e.windowInnerWidth<we.md?{flexDirection:"column",alignItems:"left"}:{}),title:{marginBottom:e.spacing(4)},subtitle:vc({marginTop:e.spacing(4),maxWidth:650,color:e.colors.useCases.typography.textSecondary},function(){if(!(e.windowInnerWidth>=we["lg+"]))return e.typography.variants["body 1"].style}()),textWrapper:vc(vc(vc({textAlign:n&&e.windowInnerWidth>=we.sm?"center":void 0,alignItems:n?"center":void 0,flexDirection:"column"},function(){if(!(e.windowInnerWidth<we.md))return{maxWidth:800}}()),{display:"flex"}),function(){var t=e.spacing(7);return e.windowInnerWidth>=we.md?{marginRight:n?void 0:t}:{marginBottom:t}}()),illustrationWrapper:{},illustration:{display:"inline-block",width:"100%"},linkToSectionBelowWrapper:{display:"flex",justifyContent:"center",transition:"opacity 300ms",opacity:r?1:0}}})),Cc=n(6411),Pc=function(){return Pc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Pc.apply(this,arguments)},_c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function Oc(e,n){var r=e.callback,o=_c(e,["callback"]),i=(0,Cc.useStateRef)(null),a=(0,t.useMemo)((function(){return new IntersectionObserver((function(e){r({entry:e[0],observer:a})}),Pc({},o))}),n);return(0,t.useEffect)((function(){i.current&&a.observe(i.current)}),n),{ref:i}}var jc=function(){return jc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},jc.apply(this,arguments)},Tc=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Mc={ease:"easeOut",duration:.5};var Rc={initial:{opacity:0},animate:{},transition:Mc},Lc=(0,t.memo)((function(e){var n,r=e.illustration,o=e.body,i=e.buttonLabel,a=e.illustrationPosition,l=e.title,s=e.className,u=e.id,c=e.buttonLink,d=e.hasAnimation,f=e.illustrationZoomFactor,p=Tc((0,t.useReducer)((function(e){return e+1}),0),2)[1],h=Tc((0,t.useState)((function(){return void 0===r||"custom component"===r.type})),2),m=h[0],v=h[1],g=(0,t.useMemo)((function(){return{initial:{opacity:0,x:"left"==={illustrationPosition:a}.illustrationPosition?-100:100},animate:{},transition:{delay:.3,duration:.5,ease:"easeOut"}}}),[a]),y=(0,t.useMemo)((function(){return{initial:{opacity:0,x:"left"==={illustrationPosition:a}.illustrationPosition?100:-100},animate:{},transition:Mc}}),[g]),b=Oc({callback:function(e){var t=e.observer,n=e.entry;void 0!==d&&d?n.isIntersecting&&m&&(g.animate={opacity:1,x:0},y.animate={opacity:1,x:0},Rc.animate={opacity:1},t.unobserve(n.target),p()):t.unobserve(n.target)},threshold:.2},[m]).ref,x=mc(),w=x.aspectRatio,S=x.ref,k=(0,Te.useConstCallback)((function(){v(!0)})),A=void 0!==l||void 0!==o||void 0!==i,E=void 0!==r,C=Ic({illustrationPosition:null!==a&&void 0!==a?a:"right",hasIllustration:E,hasArticle:A,isIllustrationLoaded:m,aspectRatio:w},{props:e}),P=C.classes,_=C.cx,O=ke({aspectRatio:w,illustrationZoomFactor:f,type:null===(n=e.illustration)||void 0===n?void 0:n.type}).classes;return(0,te.jsxs)("section",jc({ref:b,id:u,className:_(P.root,s)},{children:[A&&(0,te.jsxs)("article",jc({className:P.article},{children:[l&&(0,te.jsx)(rc.div,jc({},function(){if(d)return y}(),{children:"string"===typeof l?(0,te.jsx)(ye,jc({typo:"page heading"},{children:l})):l})),o&&(0,te.jsx)(rc.div,jc({},function(){if(d)return Rc}(),{children:"string"===typeof o?(0,te.jsx)(Nn,jc({className:P.body},{children:o})):o})),i&&(0,te.jsx)(xe,jc({type:"submit",href:null===c||void 0===c?void 0:c.href,onClick:null===c||void 0===c?void 0:c.onClick,variant:"secondary",className:P.button},{children:i}))]})),E&&(0,te.jsx)(rc.aside,jc({className:_(O.root,P.aside)},function(){if(d)return g}(),{children:function(){switch(r.type){case"custom component":return(0,te.jsx)(r.Component,{onLoad:k,id:"customComponentId",className:P.customComponent});case"image":return(0,te.jsx)(Gn,jc({className:P.image,onLoad:k},r,{ref:S}));case"video":return(0,te.jsx)(fc,jc({className:P.video,onLoad:k},r,{ref:S}))}}()}))]}))})),Ic=ge({name:{GlArticle:Lc}})((function(e,t){var n=t.illustrationPosition,r=t.hasIllustration,o=t.hasArticle,i=t.isIllustrationLoaded,a=t.aspectRatio;return{root:jc(jc(jc({},e.spacing.rightLeft("padding","".concat(e.paddingRightLeft,"px"))),{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:function(){if(e.windowInnerWidth<we.md)return"column";switch(n){case"left":return"row-reverse";case"right":return"row"}}()}),e.spacing.topBottom("margin","".concat(e.spacing(7),"px"))),article:jc({display:"flex",flexDirection:"column",minWidth:isNaN(a)||e.windowInnerWidth>=we.lg?300:e.windowInnerWidth<we.md?void 0:200,flex:r?.7:void 0,marginBottom:e.windowInnerWidth>=we.md||!r?void 0:e.spacing(8)},function(){var t=e.windowInnerWidth>=we.lg?e.spacing(9):e.spacing(5);if(!(e.windowInnerWidth<we.md)&&r)switch(n){case"left":return{marginRight:t};case"right":return{marginLeft:t}}}()),aside:jc({},function(){if(o&&!(e.windowInnerWidth<we.md)){var t=isNaN(a)||e.windowInnerWidth>=we.lg?e.spacing(10):e.spacing(8);switch(n){case"left":return{marginRight:t};case"right":return{marginLeft:t}}}}()),body:{color:e.colors.useCases.typography.textSecondary},button:{alignSelf:"end",opacity:i?1:0},image:{width:"100%",height:"auto",objectFit:"cover",verticalAlign:"middle"},video:{width:"100%"},customComponent:{}}})),Dc=function(){return Dc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Dc.apply(this,arguments)},Fc=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},zc=(0,t.memo)((function(e){var n=e.title,r=e.children,o=e.className,i=e.id,a=(0,Ae.useStateRef)(null),l=Fc((0,t.useState)(0),2),s=l[0],u=l[1];(0,t.useEffect)((function(){a.current&&u(a.current.childElementCount)}),[]);var c=Nc({numberOfCards:s},{props:e}),d=c.classes,f=c.cx;return(0,te.jsxs)("section",Dc({id:i,className:f(d.root,o)},{children:[(0,te.jsx)("div",Dc({className:d.titleWrapper},{children:"string"===typeof n?(0,te.jsx)(ye,Dc({className:d.title,typo:"page heading"},{children:n})):n})),(0,te.jsx)("div",Dc({ref:a,className:d.cardsWrapper},{children:r}))]}))})),Nc=ge({name:{GlCards:zc}})((function(e,t){var n=t.numberOfCards;return{root:Dc(Dc({},e.spacing.rightLeft("padding","".concat(e.paddingRightLeft,"px"))),e.spacing.topBottom("margin","".concat(e.spacing(7),"px"))),titleWrapper:{marginTop:e.spacing(5),marginBottom:e.spacing(7),display:"flex",justifyContent:"center"},title:{},cardsWrapper:{display:"grid",gridTemplateColumns:e.windowInnerWidth>=we.lg?"repeat(".concat(n>4?4:n,", 1fr)"):e.windowInnerWidth>=we.md?"repeat(".concat(n>3?2:n,", 1fr)"):e.windowInnerWidth>=we.sm?"repeat(".concat(n>3?2:1,", 1fr)"):void 0}}})),Bc=function(){return Bc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Bc.apply(this,arguments)},Hc=(0,t.memo)((function(e){var t,n=e.children,r=e.link,o=e.className,i=Wc(),a=i.classes,l=i.cx;return(0,te.jsx)("div",Bc({className:l(a.root,o),onClick:null!==(t=null===r||void 0===r?void 0:r.onClick)&&void 0!==t?t:function(){var e;return window.location.href=null!==(e=null===r||void 0===r?void 0:r.href)&&void 0!==e?e:"#"}},{children:n}))})),Wc=ge({name:{GlCard:Hc}})((function(e){return{root:{borderRadius:16,transition:"box-shadow 200ms",margin:e.spacing(2),boxShadow:e.shadows[1],backgroundColor:e.colors.useCases.surfaces.surface1,":hover":{boxShadow:e.shadows[2],cursor:"pointer"}}}})),Vc=function(){return Vc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Vc.apply(this,arguments)},Uc=(0,t.memo)((function(e){var t=e.className,n=e.iconUrls,r=e.paragraph,o=e.title,i=e.buttonLabel,a=e.overlapIcons,l=e.link,s=qc({overlapIcons:null!==a&&void 0!==a&&a},{props:e}),u=s.classes,c=s.cx,d=s.css;return(0,te.jsxs)(Hc,Vc({link:l,className:c(u.root,t)},{children:[n&&(0,te.jsx)("div",Vc({className:u.iconWrapper},{children:n.map((function(e,t){return(0,te.jsx)(en,{className:c(u.icon,d({})),logoUrl:e},t)})).reverse()})),(0,te.jsxs)("div",Vc({className:u.textWrapper},{children:[void 0!==o&&(0,te.jsx)(ye,Vc({typo:"section heading",className:u.title},{children:o})),void 0!==r&&(0,te.jsx)(ye,Vc({typo:"body 1",className:u.paragraph},{children:r}))]})),void 0!==i&&(0,te.jsx)(xe,Vc({type:"submit",href:null===l||void 0===l?void 0:l.href,variant:"secondary",onClick:null===l||void 0===l?void 0:l.onClick,className:u.button},{children:i}))]}))})),qc=ge({name:{GlLogoCard:Uc}})((function(e,t){var n=t.overlapIcons;return{root:{padding:e.spacing({rightLeft:3,topBottom:4}),boxShadow:e.shadows[1],display:"flex",flexDirection:"column",justifyContent:"space-between",alignItems:"center",margin:function(){if(!(e.windowInnerWidth>=we.lg))return e.spacing(1)}()},iconWrapper:Vc({display:"flex",alignItems:"center",transform:"rotate(180deg)"},n?{marginLeft:-e.spacing(3)}:{}),icon:Vc(Vc({transform:"rotate(180deg)"},n?{marginLeft:-e.spacing(3)}:Vc({},e.spacing.rightLeft("margin","".concat(e.spacing(1),"px")))),function(){var t=e.windowInnerWidth>=we.lg?50:40;return{width:t,fill:e.colors.palette.focus.main,"& svg":{width:t,height:t}}}()),title:{marginTop:e.spacing(4)},paragraph:{marginTop:e.spacing(4)},textWrapper:{textAlign:"center",marginBottom:e.spacing(4)},button:{}}}));const Gc=n.p+"static/media/discord-mark-blue.667df059ddf407979d68.png";var $c=function(){return $c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},$c.apply(this,arguments)},Kc=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Xc=(0,t.memo)((function(e){var n=e.className,r=e.text,o=e.projectImageUrl,i=e.subtitle,a=e.title,l=e.badgeLabel,s=e.link,u=e.badgeBackgroundColor,c=e.badgeColor,d=Kc((0,t.useState)(void 0),2),f=d[0],p=d[1],h=(0,Ce.useDomRect)(),m=h.ref,v=h.domRect.width,g=new Image;(0,t.useEffect)((function(){g.src=o,g.onload=function(){p(g.height/g.width)}}),[o]);var y=Yc({badgeColor:c,badgeBackgroundColor:u,projectImageUrl:o,headerWidth:v,imgAspectRatio:f},{props:e}),b=y.classes,x=y.cx;return(0,te.jsxs)(Hc,$c({link:s,className:x(b.root,n)},{children:[(0,te.jsx)("div",$c({ref:m,className:b.header},{children:void 0!==l&&(0,te.jsx)(xe,$c({type:"submit",className:b.button,variant:"ternary",href:null===s||void 0===s?void 0:s.href,onClick:null===s||void 0===s?void 0:s.onClick},{children:l}))})),(0,te.jsxs)("div",$c({className:b.footer},{children:[(0,te.jsx)(ye,$c({typo:"object heading",className:b.footerTitle},{children:a})),void 0!==i&&(0,te.jsx)(ye,$c({typo:"label 2",className:b.footerSubtitle},{children:i})),void 0!==r&&(0,te.jsx)(ye,$c({className:b.footerText,typo:"label 2"},{children:r}))]}))]}))})),Yc=ge()((function(e,t){var n=t.badgeBackgroundColor,r=t.badgeColor,o=t.projectImageUrl,i=t.headerWidth,a=t.imgAspectRatio;return{root:{transition:"opacity 300ms",opacity:0===i||void 0===a?0:1,display:"flex",flexDirection:"column",overflow:"hidden",margin:function(){if(!(e.windowInnerWidth>=we.lg))return e.spacing(1)}()},footer:{flex:1,backgroundColor:e.isDarkModeEnabled?e.colors.palette.dark.greyVariant1:e.colors.palette.light.light,padding:[4,5,4,5].map((function(t){return"".concat(e.spacing(t),"px")})).join(" ")},footerTitle:{marginBottom:e.spacing(1)},footerSubtitle:{marginBottom:e.spacing(1)},header:{width:"100%",margin:0,background:'url("'.concat(o,'")'),minHeight:void 0===a?void 0:i*a,backgroundSize:"cover",backgroundPosition:"center",display:"flex",justifyContent:"flex-end",alignItems:"flex-start",padding:e.spacing(3)},button:{marinLeft:e.spacing(7),border:"none",backgroundColor:null!==n&&void 0!==n?n:void 0,color:function(){if(void 0!==r)return"".concat(r," !important")}()},footerText:{}}})),Qc=n(5382),Zc=n(5364),Jc=function(){return Jc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Jc.apply(this,arguments)},ed=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},td=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},nd=(0,t.memo)((function(e){var n=e.className,r=e.elements,o=e.heading,i=e.subHeading,a=e.hasAnimation,l=e.Icon,s=e.setIconColor,u=td((0,t.useReducer)((function(e){return e+1}),0),2)[1],c=(0,t.useMemo)((function(){if(void 0!==a&&a)return{show:{},hidden:{opacity:0}}}),[a]),d=(0,t.useMemo)((function(){if(void 0!==a&&a)return{hidden:{opacity:0,y:-40},show:{}}}),[a]),f=Oc({callback:function(e){var t=e.observer,n=e.entry;void 0!==a&&a&&void 0!==c&&void 0!==d?n.isIntersecting&&(c.show={transition:{staggerChildren:.2},opacity:1},d.show={opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}},t.unobserve(n.target),u()):t.unobserve(n.target)},threshold:.4},[]).ref,p=rd({numberOfElements:void 0===r?1:r.length},{props:e}),h=p.classes,m=p.cx,v=p.theme;return(0,te.jsxs)("section",Jc({className:m(h.root,n)},{children:[(void 0!==o||void 0!==i)&&(0,te.jsxs)("div",Jc({className:h.headingWrapper},{children:[void 0!==o&&(0,te.jsx)(ye,Jc({className:h.heading,typo:"section heading"},{children:o})),void 0!==i&&(0,te.jsx)(Nn,Jc({className:h.subHeading},{children:i}))]})),(0,te.jsx)(rc.div,Jc({ref:f,variants:c,initial:"hidden",animate:"show",className:h.elements},{children:void 0!==r&&r.map((function(e){e.setIconColorOverride;var t=ed(e,["setIconColorOverride"]);return(0,te.jsx)(rc.div,Jc({variants:d},{children:(0,te.jsx)(od,Jc({className:h.element,classes:{checkIcon:h.checkIcon,checkIconWrapper:h.checkIconWrapper,description:h.elementDescription,title:h.elementTitle,titleAndDescriptionWrapper:h.elementTitleAndDescriptionWrapper},iconColor:void 0===s?v.colors.palette.greenSuccess.main:s(v.colors).iconColor,Icon:l},t))}),t.title)}))}))]}))})),rd=ge({name:{GlCheckList:nd}})((function(e){return{root:Jc(Jc({},e.spacing.rightLeft("padding","".concat(e.paddingRightLeft,"px"))),e.spacing.topBottom("margin","".concat(e.spacing(7),"px"))),heading:Jc({},function(){var e="2rem";return{fontSize:e,lineHeight:e}}()),headingWrapper:{marginBottom:e.spacing(6),display:"flex",flexDirection:"column",alignItems:"center"},elements:{justifyItems:e.windowInnerWidth<=we.sm?void 0:"center",display:"grid",columnCount:3,gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, max(".concat(300,"px, 25%)), 1fr))"),gap:e.spacing(6)},subHeading:Jc(Jc({},e.typography.variants["body 1"].style),{color:e.colors.useCases.typography.textSecondary}),element:{},checkIconWrapper:{},checkIcon:{},elementTitleAndDescriptionWrapper:{},elementTitle:{},elementDescription:{}}})),od=function(){var e=(0,t.memo)((function(e){var t=e.description,r=e.title,o=e.className,i=e.isIconHidden,a=e.IconOverride,l=e.setIconColorOverride,s=n({isIconHidden:null!==i&&void 0!==i&&i},{props:e}),u=s.classes,c=s.cx,d=s.theme,f=s.css,p=(0,Zc.useGuaranteedMemo)((function(){return{iconColor:void 0===l?e.iconColor:l(d.colors).iconColor}}),[l]).iconColor,h=(0,Zc.useGuaranteedMemo)((function(){var t;return(0,re.createIcon)({check:null!==(t=null!==a&&void 0!==a?a:e.Icon)&&void 0!==t?t:Qc.A})}),[a]).Icon;return(0,te.jsxs)("div",Jc({className:c(u.root,o)},{children:[(0,te.jsx)("div",Jc({className:u.checkIconWrapper},{children:(0,te.jsx)(h,{iconId:"check",className:c(f({fill:p}),u.checkIcon)})})),(0,te.jsxs)("div",Jc({className:u.titleAndDescriptionWrapper},{children:[void 0!==r&&(0,te.jsx)(Nn,Jc({className:u.title},{children:r})),void 0!==t&&(0,te.jsx)(Nn,Jc({className:u.description},{children:t}))]}))]}))})),n=ge()((function(e,t){var n=t.isIconHidden;return{root:{width:e.windowInnerWidth>=we.sm?300:void 0,display:"flex"},checkIcon:{},checkIconWrapper:{paddingTop:e.spacing(3.5),marginRight:e.spacing(3),opacity:n?0:1},description:Jc({color:e.colors.useCases.typography.textSecondary},e.typography.variants["body 1"].style),title:Jc({},e.typography.variants["object heading"].style),titleAndDescriptionWrapper:{}}}));return{CheckListElement:e}}().CheckListElement,id=function(){return id=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},id.apply(this,arguments)},ad=(0,t.memo)((function(e){var t=e.className,n=ld(),r=n.classes,o=n.cx;return(0,te.jsx)("div",id({className:o(r.root,t)},{children:(0,te.jsx)("div",{className:o(r.inner)})}))})),ld=ge({name:{GlSectionDivider:ad}})((function(e){return{root:id({display:"flex",justifyContent:"center"},e.spacing.topBottom("padding","".concat(e.spacing(7),"px"))),inner:{backgroundColor:e.colors.useCases.typography.textTertiary,height:1,width:"60%"}}}));const sd=n.p+"static/media/timelapse.ce6208c83b8bed24a815.png",ud=n.p+"static/media/monitoring.c3474b2b05f71e2dc913.png",cd=n.p+"static/media/logs.d1605a06ac0989f3158a.png",dd=n.p+"static/media/stats.cc978ab82b50bc15aa41.png",fd=n.p+"static/media/demo.129abcade2a4fd793dff.mp4",pd=(0,t.memo)((()=>{const{t:e}=vt({Home:pd});return(0,te.jsxs)(te.Fragment,{children:[(0,te.jsx)(Ac,{title:e("heroTitle"),subTitle:e("heroSubtitle"),illustration:{type:"video",sources:[{src:fd,type:"video/mp4"}]},hasLinkToSectionBellow:!0,illustrationZoomFactor:1.3}),(0,te.jsx)(Lc,{title:e("articleTitle"),body:e("articleBody"),buttonLabel:e("articleButtonLabel"),buttonLink:{href:"https://iot.openplotter.cloud"},illustration:{type:"image",src:sd,hasShadow:!0},illustrationPosition:"left",hasAnimation:!0}),(0,te.jsx)(Lc,{title:e("article2Title"),body:e("article2Body"),buttonLabel:e("articleButtonLabel"),buttonLink:{href:"https://iot.openplotter.cloud"},illustration:{type:"image",src:ud,hasShadow:!0},hasAnimation:!0}),(0,te.jsx)(Lc,{title:e("article3Title"),body:e("article3Body"),buttonLabel:e("articleButtonLabel"),buttonLink:{href:"https://iot.openplotter.cloud"},illustration:{type:"image",src:cd,hasShadow:!0},illustrationPosition:"left",hasAnimation:!0}),(0,te.jsx)(ad,{}),(0,te.jsxs)(zc,{children:[(0,te.jsx)(Xc,{title:e("projectCardTitle1"),subtitle:e("projectCardSubtitle1"),projectImageUrl:sd}),(0,te.jsx)(Xc,{title:e("projectCardTitle2"),subtitle:e("projectCardSubtitle2"),projectImageUrl:cd}),(0,te.jsx)(Xc,{title:e("projectCardTitle3"),subtitle:e("projectCardSubtitle3"),projectImageUrl:ud}),(0,te.jsx)(Xc,{title:e("projectCardTitle4"),subtitle:e("projectCardSubtitle4"),projectImageUrl:dd})]}),(0,te.jsx)(ad,{}),(0,te.jsx)(nd,{heading:e("checkListHeading"),hasAnimation:!0,elements:[{title:e("checkListElementTitle1"),description:e("checkListElementDescription1")},{title:e("checkListElementTitle2"),description:e("checkListElementDescription2")},{title:e("checkListElementTitle3"),description:e("checkListElementDescription3")},{title:e("checkListElementTitle4"),description:e("checkListElementDescription4")},{title:e("checkListElementTitle5"),description:e("checkListElementDescription5")},{title:e("checkListElementTitle6"),description:e("checkListElementDescription6")},{title:e("checkListElementTitle7"),description:e("checkListElementDescription7")},{title:e("checkListElementTitle8"),description:e("checkListElementDescription8")},{title:e("checkListElementTitle9"),description:e("checkListElementDescription9")}]}),(0,te.jsxs)(zc,{children:[(0,te.jsx)(Uc,{title:e("card1Title"),paragraph:e("card1Paragraph"),buttonLabel:"Code in GitHub",iconUrls:["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAyCAYAAADx/eOPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAfHSURBVHgBzZp9UBzlHce/+9wLcGnCHUSkcMgebyG2JAfESu20HrZ/aOqYaKY2ZZoJWE3RtJXYxk7rVKF2nE7/adJp67RpAknHfyuNNo02HS5jGrBEPaMhCRznEl4kEmA1vHO36/Os3snLHs/e5QA/Mzd7u/vd5b7P83t+++zvQUACyXSKHhMhbkDYLBDBraiKXYAgzpHIgCpZLFZZUVTf7Oz06UkTvLIkyUgAAm4QzYDZtFtQsV0F7IgPLxQcLcwvafZ6m+M2FreZ7Jz8asFEHldVxY3EIUGFN0RCDYOSJCFGYjbDesJstvw+wSYWIqmq2jRwJdAQy0WGzYiiaJ9VyDMQhDqsHFJICFUa7SWTEVEmdaKqpJUauRsri52AVK9zpE9fl0faeGKumWyx0L0mydYaDAYzsTok08/da1MduP7h6OmlhEuacd92h3tifKyFGok3SyUMQRA8PENRzbDQmhyfaEX86TbhMEOpjnR8JI/oGiJ6B90VFaJJJS34HBkJQ7NcvdNZ4NE7p5vNssX8Rprvq/XO7fzud7Dj/u3ouHgJ/z75Ktpefx2JYn16Grbecw/uqrwTa9euRdWuakxPT+tJZZrlShdmuUVmcsTCajoNaUQUThx/EUVFhZH9zs4uHDrciObjL7FWW6S3WCzaR1FC9IfN6GryXC7s+n4VqnY+CJPps8jf++M6vPKfU7q/QxCIt0/qqoxqho2TT8JLEPVukJSUhHd951jsLjp3trVNMyWKudhQVARndhays7JgW2ODlZmhJsbGxjEyMoLh4WHaCH74zp/HxuINePihaq0nFnKk6Rie++3vEA0hJFT29fm94X3z3JM2c8rj07MzYrSLb1q/XtcI446vVmifpUhPS0PuLTna92998y7wSE9zLHleNaksglzh/UgCYL0CsvTTPZqR5cJkNvMkYnFJSXV4J2LGFDJ5ogy2CMM0RPRifrkYHLzK1Vz/aGJ3+PtnqZmoz/AunJiYwJXeXqwUb59/x4jMU1Bc7GFfNDNi4a3uaIN+Lk5nNhz2lXv0lJUam5hPTMx42FYzQ4jqMXLR0cN/xbp167BS1OzehXu/vZWro0N5G9tqZqanZrbxLniAPihzc3Ox0vzo0R/CzE0EgttOX1HCY4bbn/fdy2+h5aCgIB9byku5ui8EzW4iim42CJYcCKxlysv4N1wuysvKuJoQUdwk02nn9kphYQFSUlKwWuTkOLkaGmIi6evr4wrTHKs7eXY4HAZUQir5cslGkSdTFKwqoWDQkI6EZkNc0dWr/CfxcjIyMmpIR7r8AYknknp6tOn7ajF07ZohHbFnpHEriAqNs14DY2u5uNzZydWoUHtIZkaGoXLo/9vbsVp0dvm5Gjr9lcnJ5maJCALX0Esvn8BqwF76AoH3uDqTQnzaDIC68vHE7efewJtvcWUJ59CRJkO6ggJn2IzyTyMXNDz7HGZnZ7FSsLrCa6+d4eroePF5vV5ZM1NYUGSoyS90dKD+179ZkRc09ree+lW9IS1dTtHqaFopRAr4pYwvZlUbqVxe6LiI3t4+lLrdWEOLFcvBy/86gbon9mN8fNyQ/qab0x8dHBgYjNR10tff7KBmPHNF7N0lLy+PhtbMvPrVpcudtGZ2Uvt+68ZiA1N0Y1ym9923/0n87XATpjiv8BEE1dfVcUFb+ohUKLQlC9XE0kakd372RB1q9zysPWf+9Pxf8Ic//nlRiLHy05Yt5dixfRtcrlzN/Bobv8dow2Fo6Bq6/H7872wb/tvSAknqQaxYzKRG6u5qmmeGkSXm1QuqMK8WsPexWuyt3QOr1YpXXj2FvT9ZennmK7dtwQvHGrmVnLNtbah5aA9CNzDxo80qDfR0R0pN8wrn6fZUHzFbauniaXL4WHv7OfqOPYlvfP1rKMjPwwcfDOHdCx26NyeE4OiRQ7AbqBPkOJ1aNdTf3Y14oe2177o8Gkle8wrntHQrB1Vl0dJb49FjaG37pKa8/6d12Lxpk+7Ny8vL6Kv1LTBKVdVOxI2Kpn6pu2nuoUWrAP0B/wEaUt6Fx5+uf1bbpqam4sih5/H0U79ARkaGdsxM68ObSkrwCC2zxgJLHvHAwost4i48rhvYLBnMqOStBWv4eOHvTbidjom5sBC0Wi1xZTSWWDZ8aXPMzy0i4P5eqbt50XE9MQs3RVBYhX3enO3Jn/8S778/OE9rs6XEnZrjKffSaxr0jDBItIu0tQ+BVFqtSRFD/QMD2PHg9/CP5uOLXgnYNGdsbAzLCc20DX2Svz7qeXBgC7SqGnpxYcix50ueS0RycjKmpqYwKn+oFe1+ULMbRoklzFiPLGWEwY2PfqnLR1cIKq3E2hIKhcTwcTYjuHjp8jxt0OC7ehhmwoARmY6Rfb2Sv4knJDAAC7kH7ttammS1HgTnx8UCX6362HJf74IUHA1DZhgHDhyQA10X61w5rkranpKeRon1aR7dvJySktTQ3xMojeV/aAybCXPmzCnvQE/ARUdbDR0vEm4AnZ6U2dgYF0Iu/6WOesSIoX830YNNI0aHhw5m5+SeDs4GhYqK28XHah9JTo1hlYAtxrJp/ntSj3dqevKgRVBqrkiBk1OyPIU4SOi63uTkpIe2Niv33klbmE3QxE8/GvQca3mZbtl8qoduvTabzSsYqEEY4WOLYPvj/vYZXwAAAABJRU5ErkJggg=="],link:{href:"https://github.com/xbgmsharp/postgsail/"}}),(0,te.jsx)(Uc,{title:e("card2Title"),paragraph:e("card2Paragraph"),buttonLabel:"Community & Support",iconUrls:[Gc],link:{href:"https://discord.gg/cpGqA5sZ"}}),(0,te.jsx)(Uc,{title:e("card3Title"),paragraph:e("card3Paragraph"),buttonLabel:"Make it yours",iconUrls:["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAF/0lEQVR4nO2Xa2xTZRjH/49CxICiSMy84AeN8RJClEQNghqImGgwBqOSGBUNuiCWjrHu3nFg7ALbCi0buKtdkY3bgExwCEQ0RiJBJ18WJEEFydpzaXt6enrhur3mNAO7ctptbblF/snvS8/z/J/nec97Tt8D3NIt3dhiv2E024exuBkV2o8Hz+zF4XAX/g514TncTFK+w4TwHpw4swdMI7wb/mAXnsXNonAnvgl3gkUT6sRptg3jcKMruBOvh3aC6RHcARNuZIW34ZFgB34MdYDpEexAMLQd34e2oyy8HS8yBjrbgcdDHagOdWBfqAM/sC7ccT0anxbYim8DW9EX3Ao2XAJbcCqwBRcG/bYV76WtMW2FApswU21DdaANhwJtOBlog6S242igHfbAZsxT29AeaAdLF2o7LGkbQHXglcDXYNcSdSOsaRsg0IqZqgMsSRR/K3aoDhQrDrwfcOBVvwNzVAcWqa2oUR044m/FxSvyWrExfQM0Y7JqBxshh9QWvMNsQz+M4a8wyW9HhWqHGu3ht8OYlgGYHWOUZoT9LWBD0oygvxkfJlMnaEeGvwWbL3kpLTivNOH5tAzhb8R+fxNYQhqhKg2pHxeUBixSGnFR81QacYxxGJXyAMqXMCj1YPHw1aNPrsebKRcakFKPeZrngP9CpCq+GmN9GyApG8D08K1H7XB8GIfbPDY8rDZgorY1kUC+9cgb8D+KdEipRaavjlgsci3J/lrclyhXrsMMuY62yXXku5xXR31yLR2X62itx4an9Yb11dKhSOx6TEl5AJ8Nn/rWEYtFttHqhHfORg69vEEe66hPtpFdbsD46HyvFZNlG5332WhlygN4rbRDthKLRSuiF3/SjjHetXRQLyceXiv9pdjwWLSPbKV6r5U6Ux/AQqJsITaIGjqeIN56Kc5bQ/1eC+2QLfhIrsEMnwVzZQs1yTXkj/X0WuiUWIWMSz6+tXjGW0MnUmqer8b93mpiOrToxStr8Kinmi5EYqrI767GLL0431rc462iXTq++7Qz2OXFqKIjSTevWDDBu4pavKuJXQny9XI8q8BdjqnCu4n8GQN5V5Mt1ttdibei/JL7Q5PKMNVdSb2eSmK6VGC+Xp67kg5o192VdHg4dRiHUe4K6onx/wmpSC7HFHcZKZ5yYvFwl+MD3QHKqSdyvQy5w63nqcAng72pTyrDA0k1L3IY5y6lP90riSVCKkWxXr5USr9EYkr1B4xTMyPW31OGuUkN4F5By92lWgOJkUppU5z8dQMx5SOsGxzkvwJLR9y8h8PdEkeqezmxIeFIYA0YHeshcZgqcdQvcXRKu5vDqcsYSFpO56L9JS6JAfgcjJU4+lniNIOhETm8recjLiPbQMzO4ZwovcWYpOOdh2TkzsVdYgntlkqIDYVYQr/rNcjexe1SCW2IxJipWyjBQsmMN8RlmC+ZqZXhv/e8JmkZFlzhb6YzQgmmIRlpBcQSGEQzyZI5YhYX0YzCeD5iCaaLxdQkmWmvVEy7JDM4T+HgwxvTapnpV13/YurRFgPJSs7HeKEQWWIRHRSL6KxYRCwWoYjOC0VJvjEA8IVYoOd72b8Qs5EOnc7GnUI+/SEWELuCfDrHF2DeSD3FArwmFtBZXc8BhAL913VS4gvwAp9PF4V8Ynrw+bTxnwLcO5SPtm34fHws5FEorlce9fJ5yEvLZ2W0BBM4IZdYPHgTBfhcahRNmH6SG/zlpTUj5GG2YKKDurm51C+Y8JknGw+ltPeHWj0hh44JJmJDwefQBSGHevgcOiCY6Ig2XMJ4E63B1Zb2LPDZdI5fSiyduJZS21Vb9Wi5svAUn00sXbiyqd+1hFZdk+Y1OZfiSX4JsbSRRd24lhIXIcOVRUwXI512GanbmUX9cWNicBrJgWstl5GcLmOk4QhOI0kuIzjtGKJdlzMxnjdglsuI+bwBuc7FKHQaSYnOcQ3AGzHnOgyATKeBNkQaM+Cl4exfVxZedhnI61pMLIru2HPRDS1nJia6DGR1fUE+p4ECvVl4AjejWCZG936OSde7j1v63+tfwcXy0Uu5x6EAAAAASUVORK5CYII="],link:{href:"https://iot.openplotter.cloud"},overlapIcons:!0})]})]})})),{i18n:hd}=(0,mt.io)()({Home:pd});var md=n(512);new WeakMap;var vd=n(117);n(831);const{tss:gd}=(0,vd.d)({useContext:()=>({})}),{useTheme:yd,ThemeProvider:bd}=(gd.create({}),(0,pe.createThemeProvider)({getTypographyDesc:e=>({...(0,pe.defaultGetTypographyDesc)(e),fontFamily:'"Open Sans", sans-serif'})})),{makeStyles:xd}=(0,md.x6)({useTheme:yd}),{Text:wd}=(0,fe.createText)({useTheme:yd});function Sd(){const e=ee();return(0,te.jsx)(bd,{children:(0,te.jsx)(Ve,{header:(0,te.jsx)(Et,{}),headerOptions:{position:"sticky",isRetracted:"smart"},footer:(0,te.jsx)(Vn,{}),body:(e.name,(0,te.jsx)(pd,{}))})})}(0,r.H)(document.getElementById("root")).render((0,te.jsx)(t.StrictMode,{children:(0,te.jsx)(Z,{children:(0,te.jsx)(Sd,{})})}))})()})();
//# sourceMappingURL=main.a80ee3e3.js.map