Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/ai-engine/app/

Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64

Upload File :
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/ai-engine/app/vendor.js
/*! For license information please see vendor.js.LICENSE.txt */
(self.wpJsonMwai=self.wpJsonMwai||[]).push([[121],{1919:(e,t,n)=>{"use strict";n.d(t,{A:()=>re});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(e){}}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 s(e){return e.trim()}function l(e,t,n){return e.replace(t,n)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function h(e,t,n){return e.slice(t,n)}function f(e){return e.length}function d(e){return e.length}function p(e,t){return t.push(e),e}var m=1,g=1,y=0,v=0,b=0,x="";function w(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:m,column:g,length:a,return:""}}function k(e,t){return a(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function S(){return b=v>0?u(x,--v):0,g--,10===b&&(g=1,m--),b}function O(){return b=v<y?u(x,v++):0,g++,10===b&&(g=1,m++),b}function _(){return u(x,v)}function E(){return v}function C(e,t){return h(x,e,t)}function A(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 j(e){return m=g=1,y=f(x=e),v=0,[]}function P(e){return x="",e}function M(e){return s(C(v-1,L(91===e?e+2:40===e?e+1:e)))}function R(e){for(;(b=_())&&b<33;)O();return A(e)>2||A(b)>3?"":" "}function T(e,t){for(;--t&&O()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return C(e,E()+(t<6&&32==_()&&32==O()))}function L(e){for(;O();)switch(b){case e:return v;case 34:case 39:34!==e&&39!==e&&L(b);break;case 40:41===e&&L(e);break;case 92:O()}return v}function I(e,t){for(;O()&&e+b!==57&&(e+b!==84||47!==_()););return"/*"+C(t,v-1)+"*"+i(47===e?e:O())}function N(e){for(;!A(_());)O();return C(e,v)}var z="-ms-",D="-moz-",F="-webkit-",B="comm",$="rule",H="decl",W="@keyframes";function q(e,t){for(var n="",r=d(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function V(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case H:return e.return=e.return||e.value;case B:return"";case W:return e.return=e.value+"{"+q(e.children,r)+"}";case $:e.value=e.props.join(",")}return f(n=q(e.children,r))?e.return=e.value+"{"+n+"}":""}function U(e){return P(K("",null,null,null,[""],e=j(e),0,[0],e))}function K(e,t,n,r,o,a,s,h,d){for(var m=0,g=0,y=s,v=0,b=0,x=0,w=1,k=1,C=1,A=0,j="",P=o,L=a,z=r,D=j;k;)switch(x=A,A=O()){case 40:if(108!=x&&58==u(D,y-1)){-1!=c(D+=l(M(A),"&","&\f"),"&\f")&&(C=-1);break}case 34:case 39:case 91:D+=M(A);break;case 9:case 10:case 13:case 32:D+=R(x);break;case 92:D+=T(E()-1,7);continue;case 47:switch(_()){case 42:case 47:p(G(I(O(),E()),t,n),d);break;default:D+="/"}break;case 123*w:h[m++]=f(D)*C;case 125*w:case 59:case 0:switch(A){case 0:case 125:k=0;case 59+g:-1==C&&(D=l(D,/\f/g,"")),b>0&&f(D)-y&&p(b>32?Y(D+";",r,n,y-1):Y(l(D," ","")+";",r,n,y-2),d);break;case 59:D+=";";default:if(p(z=Q(D,t,n,m,g,o,h,j,P=[],L=[],y),a),123===A)if(0===g)K(D,t,z,z,P,a,y,h,L);else switch(99===v&&110===u(D,3)?100:v){case 100:case 108:case 109:case 115:K(e,z,z,r&&p(Q(e,z,z,0,0,o,h,j,o,P=[],y),L),o,L,y,h,r?P:L);break;default:K(D,z,z,z,[""],L,0,h,L)}}m=g=b=0,w=C=1,j=D="",y=s;break;case 58:y=1+f(D),b=x;default:if(w<1)if(123==A)--w;else if(125==A&&0==w++&&125==S())continue;switch(D+=i(A),A*w){case 38:C=g>0?1:(D+="\f",-1);break;case 44:h[m++]=(f(D)-1)*C,C=1;break;case 64:45===_()&&(D+=M(O())),v=_(),g=y=f(j=D+=N(E())),A++;break;case 45:45===x&&2==f(D)&&(w=0)}}return a}function Q(e,t,n,r,i,a,c,u,f,p,m){for(var g=i-1,y=0===i?a:[""],v=d(y),b=0,x=0,k=0;b<r;++b)for(var S=0,O=h(e,g+1,g=o(x=c[b])),_=e;S<v;++S)(_=s(x>0?y[S]+" "+O:l(O,/&\f/g,y[S])))&&(f[k++]=_);return w(e,t,n,0===i?$:u,f,p,m)}function G(e,t,n){return w(e,t,n,B,i(b),h(e,2,-2),0)}function Y(e,t,n,r){return w(e,t,n,H,h(e,0,r),h(e,r+1,-1),r)}var Z=function(e,t,n){for(var r=0,o=0;r=o,o=_(),38===r&&12===o&&(t[n]=1),!A(o);)O();return C(e,v)},X=new WeakMap,J=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)||X.get(n))&&!r){X.set(e,!0);for(var o=[],a=function(e,t){return P(function(e,t){var n=-1,r=44;do{switch(A(r)){case 0:38===r&&12===_()&&(t[n]=1),e[n]+=Z(v-1,t,n);break;case 2:e[n]+=M(r);break;case 4:if(44===r){e[++n]=58===_()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=O());return e}(j(e),t))}(t,o),s=n.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)e.props[c]=o[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[l]}}},ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function te(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return F+"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 F+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return F+e+D+e+z+e+e;case 6828:case 4268:return F+e+z+e+e;case 6165:return F+e+z+"flex-"+e+e;case 5187:return F+e+l(e,/(\w+).+(:[^]+)/,F+"box-$1$2"+z+"flex-$1$2")+e;case 5443:return F+e+z+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return F+e+z+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return F+e+z+l(e,"shrink","negative")+e;case 5292:return F+e+z+l(e,"basis","preferred-size")+e;case 6060:return F+"box-"+l(e,"-grow","")+F+e+z+l(e,"grow","positive")+e;case 4554:return F+l(e,/([^-])(transform)/g,"$1"+F+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,F+"$1"),/(image-set)/,F+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,F+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,F+"box-pack:$3"+z+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+F+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,F+"$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(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+F+"$2-$3$1"+D+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?te(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,f(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+F)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+F+(45===u(e,14)?"inline-":"")+"box$3$1"+F+"$2$3$1"+z+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return F+e+z+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+z+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+z+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return F+e+z+e+e}return e}var ne=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case H:e.return=te(e.value,e.length);break;case W:return q([k(e,{value:l(e.value,"@","@"+F)})],r);case $:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return q([k(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return q([k(e,{props:[l(t,/:(plac\w+)/,":"+F+"input-$1")]}),k(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[l(t,/:(plac\w+)/,z+"input-$1")]})],r)}return""}))}}],re=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,i,a=e.stylisPlugins||ne,s={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;l.push(e)}));var c,u,h,f,p=[V,(f=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&f(e)})],m=(u=[J,ee].concat(a,p),h=d(u),function(e,t,n,r){for(var o="",i=0;i<h;i++)o+=u[i](e,t,n,r)||"";return o});i=function(e,t,n,r){c=n,q(U(e?e+"{"+t.styles+"}":t.styles),m),r&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new r({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return g.sheet.hydrate(l),g}},6289:(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})},85:(e,t,n)=>{"use strict";n.d(t,{C:()=>h,E:()=>y,T:()=>d,c:()=>m,h:()=>c,i:()=>l,w:()=>f});var r=n(1594),o=n(1919),i=n(41),a=n(2142),s=n(1287),l=!0,c={}.hasOwnProperty,u=r.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null),h=u.Provider,f=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(u);return e(t,o,n)}))};l||(f=function(e){return function(t){var n=(0,r.useContext)(u);return null===n?(n=(0,o.A)({key:"css"}),r.createElement(u.Provider,{value:n},e(t,n))):e(t,n)}});var d=r.createContext({}),p="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",m=function(e,t){var n={};for(var r in t)c.call(t,r)&&(n[r]=t[r]);return n[p]=e,n},g=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,i.SF)(t,n,r),(0,s.s)((function(){return(0,i.sk)(t,n,r)})),null},y=f((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var s=e[p],l=[o],u="";"string"==typeof e.className?u=(0,i.Rk)(t.registered,l,e.className):null!=e.className&&(u=e.className+" ");var h=(0,a.J)(l,void 0,r.useContext(d));u+=t.key+"-"+h.name;var f={};for(var m in e)c.call(e,m)&&"css"!==m&&m!==p&&(f[m]=e[m]);return f.ref=n,f.className=u,r.createElement(r.Fragment,null,r.createElement(g,{cache:t,serialized:h,isStringTag:"string"==typeof s}),r.createElement(s,f))}))},7437:(e,t,n)=>{"use strict";n.d(t,{AH:()=>c,i7:()=>u,mL:()=>l});var r=n(85),o=n(1594),i=n(41),a=n(1287),s=n(2142),l=(n(1919),n(4146),(0,r.w)((function(e,t){var n=e.styles,l=(0,s.J)([n],void 0,o.useContext(r.T));if(!r.i){for(var c,u=l.name,h=l.styles,f=l.next;void 0!==f;)u+=" "+f.name,h+=f.styles,f=f.next;var d=!0===t.compat,p=t.insert("",{name:u,styles:h},t.sheet,d);return d?null:o.createElement("style",((c={})["data-emotion"]=t.key+"-global "+u,c.dangerouslySetInnerHTML={__html:p},c.nonce=t.sheet.nonce,c))}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+" "+l.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),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!==l.next&&(0,i.sk)(t,l.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",l,n,!1)}}),[t,l.name]),null})));function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.J)(t)}var u=function(){var e=c.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_"}}}},2142:(e,t,n)=>{"use strict";n.d(t,{J:()=>p});var r=n(3969),o=n(6289),i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},c=(0,o.A)((function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()})),u=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.A[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function h(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+=h(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]+"}":l(a)&&(r+=c(i)+":"+u(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=h(e,t,a);switch(i){case"animation":case"animationName":r+=c(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var f=0;f<a.length;f++)l(a[f])&&(r+=c(i)+":"+u(i,a[f])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=f,i=n(e);return f=o,h(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var f,d=/label:\s*([^\s;\n{]+)\s*(;|$)/g,p=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+=h(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=h(n,t,e[a]),r&&(o+=i[a]);d.lastIndex=0;for(var s,l="";null!==(s=d.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:f}}},3969:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});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}},1287:(e,t,n)=>{"use strict";n.d(t,{i:()=>a,s:()=>i});var r=n(1594),o=!!r.useInsertionEffect&&r.useInsertionEffect,i=o||function(e){return e()},a=o||r.useLayoutEffect},41:(e,t,n)=>{"use strict";function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}n.d(t,{Rk:()=>r,SF:()=>o,sk:()=>i});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)}}},9940:(e,t,n)=>{"use strict";n.d(t,{A:()=>i}),n(1594);var r=n(7437),o=n(4848);function i(e){const{styles:t,defaultTheme:n={}}=e,i="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,o.jsx)(r.mL,{styles:i})}},2532:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalStyles:()=>S.A,StyledEngineProvider:()=>k,ThemeContext:()=>l.T,css:()=>v.AH,default:()=>O,internal_processStyles:()=>_,keyframes:()=>v.i7});var r=n(8168),o=n(1594),i=n(6289),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,i.A)((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=n(85),c=n(41),u=n(2142),h=n(1287),f=s,d=function(e){return"theme"!==e},p=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?f:d},m=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,h.s)((function(){return(0,c.sk)(t,n,r)})),null},y=function e(t,n){var i,a,s=t.__emotion_real===t,h=s&&t.__emotion_base||t;void 0!==n&&(i=n.label,a=n.target);var f=m(t,n,s),d=f||p(h),y=!d("as");return function(){var v=arguments,b=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{b.push(v[0][0]);for(var x=v.length,w=1;w<x;w++)b.push(v[w],v[0][w])}var k=(0,l.w)((function(e,t,n){var r=y&&e.as||h,i="",s=[],m=e;if(null==e.theme){for(var v in m={},e)m[v]=e[v];m.theme=o.useContext(l.T)}"string"==typeof e.className?i=(0,c.Rk)(t.registered,s,e.className):null!=e.className&&(i=e.className+" ");var x=(0,u.J)(b.concat(s),t.registered,m);i+=t.key+"-"+x.name,void 0!==a&&(i+=" "+a);var w=y&&void 0===f?p(r):d,k={};for(var S in e)y&&"as"===S||w(S)&&(k[S]=e[S]);return k.className=i,k.ref=n,o.createElement(o.Fragment,null,o.createElement(g,{cache:t,serialized:x,isStringTag:"string"==typeof r}),o.createElement(r,k))}));return k.displayName=void 0!==i?i:"Styled("+("string"==typeof h?h:h.displayName||h.name||"Component")+")",k.defaultProps=t.defaultProps,k.__emotion_real=k,k.__emotion_base=h,k.__emotion_styles=b,k.__emotion_forwardProp=f,Object.defineProperty(k,"toString",{value:function(){return"."+a}}),k.withComponent=function(t,o){return e(t,(0,r.A)({},n,o,{shouldForwardProp:m(k,o,!0)})).apply(void 0,b)},k}}.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 v=n(7437),b=n(1919),x=n(4848);let w;function k(e){const{injectFirst:t,children:n}=e;return t&&w?(0,x.jsx)(l.C,{value:w,children:n}):n}"object"==typeof document&&(w=(0,b.A)({key:"css",prepend:!0}));var S=n(9940);function O(e,t){return y(e,t)}const _=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},771:(e,t,n)=>{"use strict";var r=n(4994);t.X4=function(e,t){return e=s(e),t=a(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)},t.e$=function(e,t){if(e=s(e),t=a(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 l(e)},t.eM=function(e,t){const n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.a=function(e,t){if(e=s(e),t=a(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 l(e)};var o=r(n(2108)),i=r(n(6379));function a(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);const t=new RegExp(`.{1,${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${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,o.default)(9,e));let r,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),r=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(r))throw new Error((0,o.default)(10,r))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:r}}function l(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]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(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))}},6461:(e,t,n)=>{"use strict";var r=n(4994);t.Ay=function(e={}){const{themeId:t,defaultTheme:n=m,rootShouldForwardProp:r=p,slotShouldForwardProp:l=p}=e,u=e=>(0,c.default)((0,o.default)({},e,{theme:y((0,o.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{(0,a.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:h,slot:d,skipVariantsResolver:m,skipSx:x,overridesResolver:w=v(g(d))}=c,k=(0,i.default)(c,f),S=void 0!==m?m:d&&"Root"!==d&&"root"!==d||!1,O=x||!1;let _=p;"Root"===d||"root"===d?_=r:d?_=l:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(_=void 0);const E=(0,a.default)(e,(0,o.default)({shouldForwardProp:_,label:void 0},k)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>b(e,(0,o.default)({},r,{theme:y({theme:r.theme,defaultTheme:n,themeId:t})})):e,A=(r,...i)=>{let a=C(r);const s=i?i.map(C):[];h&&w&&s.push((e=>{const r=y((0,o.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[h]||!r.components[h].styleOverrides)return null;const i=r.components[h].styleOverrides,a={};return Object.entries(i).forEach((([t,n])=>{a[t]=b(n,(0,o.default)({},e,{theme:r}))})),w(e,a)})),h&&!S&&s.push((e=>{var r;const i=y((0,o.default)({},e,{defaultTheme:n,themeId:t}));return b({variants:null==i||null==(r=i.components)||null==(r=r[h])?void 0:r.variants},(0,o.default)({},e,{theme:i}))})),O||s.push(u);const l=s.length-i.length;if(Array.isArray(r)&&l>0){const e=new Array(l).fill("");a=[...r,...e],a.raw=[...r.raw,...e]}const c=E(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return E.withConfig&&(A.withConfig=E.withConfig),A}},t.MC=p;var o=r(n(4634)),i=r(n(4893)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(2532)),s=n(819),l=(r(n(8217)),r(n(1172)),r(n(3142))),c=r(n(3857));const u=["ownerState"],h=["variants"],f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function p(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const m=(0,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function y({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function v(e){return e?(t,n)=>n[e]:null}function b(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u);const a="function"==typeof e?e((0,o.default)({ownerState:n},r)):e;if(Array.isArray(a))return a.flatMap((e=>b(e,(0,o.default)({ownerState:n},r))));if(a&&"object"==typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,i.default)(a,h);return e.forEach((e=>{let i=!0;"function"==typeof e.props?i=e.props((0,o.default)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(i=!1)})),i&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,o.default)({ownerState:n},r,n)):e.style))})),t}return a}},9452:(e,t,n)=>{"use strict";n.d(t,{EU:()=>a,NI:()=>i,vf:()=>s,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:${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(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function s(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}},8336:(e,t,n)=>{"use strict";function r(e,t){const n=this;return n.vars&&"function"==typeof n.getColorSchemeSelector?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}n.d(t,{A:()=>r})},8094:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});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 s(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:s=5}=e,l=(0,r.A)(e,i),c=a(t),u=Object.keys(c);function h(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function f(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-s/100}${n})`}function d(e,r){const o=u.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:r)-s/100}${n})`}return(0,o.A)({keys:u,values:c,up:h,down:f,between:d,only:function(e){return u.indexOf(e)+1<u.length?d(e,u[u.indexOf(e)+1]):h(e)},not:function(e){const t=u.indexOf(e);return 0===t?h(u[1]):t===u.length-1?f(u[t]):d(e,u[u.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},l)}},8749:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(8168),o=n(8587),i=n(4521),a=n(8094);const s={borderRadius:4};var l=n(8248),c=n(3571),u=n(4188),h=n(8336);const f=["breakpoints","palette","spacing","shape"],d=function(e={},...t){const{breakpoints:n={},palette:d={},spacing:p,shape:m={}}=e,g=(0,o.A)(e,f),y=(0,a.A)(n),v=function(e=8){if(e.mui)return e;const t=(0,l.LX)({spacing:e}),n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}(p);let b=(0,i.A)({breakpoints:y,direction:"ltr",components:{},palette:(0,r.A)({mode:"light"},d),spacing:v,shape:(0,r.A)({},s,m)},g);return b.applyStyles=h.A,b=t.reduce(((e,t)=>(0,i.A)(e,t)),b),b.unstable_sxConfig=(0,r.A)({},u.A,null==g?void 0:g.unstable_sxConfig),b.unstable_sx=function(e){return(0,c.A)({sx:e,theme:this})},b}},3142:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,private_createBreakpoints:()=>o.A,unstable_applyStyles:()=>i.A});var r=n(8749),o=n(8094),i=n(8336)},4620:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(4521);const o=function(e,t){return t?(0,r.A)(e,t,{clone:!1}):e}},8248:(e,t,n)=>{"use strict";n.d(t,{LX:()=>p,MA:()=>d,_W:()=>m,Lc:()=>y,Ms:()=>v});var r=n(9452),o=n(6481),i=n(4620);const a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){const t={};return e=>(void 0===t[e]&&(t[e]=(e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,n]=e.split(""),r=a[t],o=s[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})(e)),t[e])}(),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],h=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],f=[...u,...h];function d(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 p(e){return d(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:`-${n}`}function g(e,t){const n=p(e.theme);return Object.keys(e).map((o=>function(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)),{})}(c(n),o),a=e[n];return(0,r.NI)(e,a,i)}(e,t,o,n))).reduce(i.A,{})}function y(e){return g(e,u)}function v(e){return g(e,h)}function b(e){return g(e,f)}y.propTypes={},y.filterProps=u,v.propTypes={},v.filterProps=h,b.propTypes={},b.filterProps=f},6481:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,BO:()=>a,Yn:()=>i});var r=n(8659),o=n(9452);function i(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${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,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:i(e,n)||r,t&&(o=t(o,r,e)),o}const s=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=i(e.theme,s)||{};return(0,o.NI)(e,c,(e=>{let o=a(u,l,e);return e===o&&"string"==typeof e&&(o=a(u,l,`${t}${"default"===e?"":(0,r.A)(e)}`,e)),!1===n?o:{[n]:o}}))};return c.propTypes={},c.filterProps=[t],c}},4188:(e,t,n)=>{"use strict";n.d(t,{A:()=>L});var r=n(8248),o=n(6481),i=n(4620);const a=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?(0,i.A)(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n};var s=n(9452);function l(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,o.Ay)({prop:e,themeKey:"borders",transform:t})}const u=c("border",l),h=c("borderTop",l),f=c("borderRight",l),d=c("borderBottom",l),p=c("borderLeft",l),m=c("borderColor"),g=c("borderTopColor"),y=c("borderRightColor"),v=c("borderBottomColor"),b=c("borderLeftColor"),x=c("outline",l),w=c("outlineColor"),k=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,s.NI)(e,e.borderRadius,n)}return null};k.propTypes={},k.filterProps=["borderRadius"],a(u,h,f,d,p,m,g,y,v,b,k,x,w);const S=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,s.NI)(e,e.gap,n)}return null};S.propTypes={},S.filterProps=["gap"];const O=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,s.NI)(e,e.columnGap,n)}return null};O.propTypes={},O.filterProps=["columnGap"];const _=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,s.NI)(e,e.rowGap,n)}return null};function E(e,t){return"grey"===t?t:e}function C(e){return e<=1&&0!==e?100*e+"%":e}_.propTypes={},_.filterProps=["rowGap"],a(S,O,_,(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"})),a((0,o.Ay)({prop:"color",themeKey:"palette",transform:E}),(0,o.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:E}),(0,o.Ay)({prop:"backgroundColor",themeKey:"palette",transform:E}));const A=(0,o.Ay)({prop:"width",transform:C}),j=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])||s.zu[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:C(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};j.filterProps=["maxWidth"];const P=(0,o.Ay)({prop:"minWidth",transform:C}),M=(0,o.Ay)({prop:"height",transform:C}),R=(0,o.Ay)({prop:"maxHeight",transform:C}),T=(0,o.Ay)({prop:"minHeight",transform:C}),L=((0,o.Ay)({prop:"size",cssProperty:"width",transform:C}),(0,o.Ay)({prop:"size",cssProperty:"height",transform:C}),a(A,j,P,M,R,T,(0,o.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:k},color:{themeKey:"palette",transform:E},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:E},backgroundColor:{themeKey:"palette",transform:E},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:S},rowGap:{style:_},columnGap:{style:O},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:C},maxWidth:{style:j},minWidth:{transform:C},height:{transform:C},maxHeight:{transform:C},minHeight:{transform:C},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},9599:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(8168),o=n(8587),i=n(4521),a=n(4188);const s=["sx"],l=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:a.A;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function c(e){const{sx:t}=e,n=(0,o.A)(e,s),{systemProps:a,otherProps:c}=l(n);let u;return u=Array.isArray(t)?[a,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return(0,i.Q)(n)?(0,r.A)({},a,n):a}:(0,r.A)({},a,t),(0,r.A)({},c,{sx:u})}},3857:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,extendSxProp:()=>o.A,unstable_createStyleFunctionSx:()=>r.k,unstable_defaultSxConfig:()=>i.A});var r=n(3571),o=n(9599),i=n(4188)},3571:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,k:()=>l});var r=n(8659),o=n(4620),i=n(6481),a=n(9452),s=n(4188);function l(){function e(e,t,n,o){const s={[e]:t,theme:n},l=o[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:h,style:f}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const d=(0,i.Yn)(n,u)||{};return f?f(s):(0,a.NI)(s,t,(t=>{let n=(0,i.BO)(d,h,t);return t===n&&"string"==typeof t&&(n=(0,i.BO)(d,h,`${e}${"default"===t?"":(0,r.A)(t)}`,t)),!1===c?n:{[c]:n}}))}return function t(n){var r;const{sx:i,theme:l={}}=n||{};if(!i)return null;const c=null!=(r=l.unstable_sxConfig)?r:s.A;function u(n){let r=n;if("function"==typeof n)r=n(l);else if("object"!=typeof n)return n;if(!r)return null;const i=(0,a.EU)(l.breakpoints),s=Object.keys(i);let u=i;return Object.keys(r).forEach((n=>{const i="function"==typeof(s=r[n])?s(l):s;var s;if(null!=i)if("object"==typeof i)if(c[n])u=(0,o.A)(u,e(n,i,l,c));else{const e=(0,a.NI)({theme:l},i,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,i)?u=(0,o.A)(u,e):u[n]=t({sx:i,theme:l})}else u=(0,o.A)(u,e(n,i,l,c))})),(0,a.vf)(s,u)}return Array.isArray(i)?i.map(u):u(i)}}const c=l();c.filterProps=["sx"];const u=c},8659:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(5697);function o(e){if("string"!=typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},8217:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(8659)},6379:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},4521:(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,n={clone:!0}){const s=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])?s[r]=a(e[r],t[r],n):n.clone?s[r]=o(t[r])?i(t[r]):t[r]:s[r]=t[r])})),s}},819:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,isPlainObject:()=>r.Q});var r=n(4521)},5697:(e,t,n)=>{"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}n.d(t,{A:()=>r})},2108:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(5697)},1172:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l,getFunctionName:()=>i});var r=n(5492);const o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){const t=`${e}`.match(o);return t&&t[1]||""}function a(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){const r=a(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return a(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo");default:return}}}},7064:(e,t)=>{"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context");var n=Symbol.for("react.forward_ref"),r=(Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"));Symbol.for("react.lazy"),Symbol.for("react.offscreen");Symbol.for("react.module.reference"),t.ForwardRef=n,t.Memo=r},5492:(e,t,n)=>{"use strict";e.exports=n(7064)},4300:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M13 13h-2V7h2m0 10h-2v-2h2M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2Z"/>'}},9057:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M11 4h2v12l5.5-5.5l1.42 1.42L12 19.84l-7.92-7.92L5.5 10.5L11 16V4Z"/>'}},3860:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="m12 7l5 5h-3v4h-4v-4H7l5-5m0 15A10 10 0 0 1 2 12A10 10 0 0 1 12 2a10 10 0 0 1 10 10a10 10 0 0 1-10 10m0-2a8 8 0 0 0 8-8a8 8 0 0 0-8-8a8 8 0 0 0-8 8a8 8 0 0 0 8 8Z"/>'}},6304:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M13 20h-2V8l-5.5 5.5l-1.42-1.42L12 4.16l7.92 7.92l-1.42 1.42L13 8v12Z"/>'}},2600:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M7.5 5.6L5 7l1.4-2.5L5 2l2.5 1.4L10 2L8.6 4.5L10 7L7.5 5.6m12 9.8L22 14l-1.4 2.5L22 19l-2.5-1.4L17 19l1.4-2.5L17 14l2.5 1.4M22 2l-1.4 2.5L22 7l-2.5-1.4L17 7l1.4-2.5L17 2l2.5 1.4L22 2m-8.66 10.78l2.44-2.44l-2.12-2.12l-2.44 2.44l2.12 2.12m1.03-5.49l2.34 2.34c.39.37.39 1.02 0 1.41L5.04 22.71c-.39.39-1.04.39-1.41 0l-2.34-2.34c-.39-.37-.39-1.02 0-1.41L12.96 7.29c.39-.39 1.04-.39 1.41 0Z"/>'}},4196:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M9 10v2H7v-2h2m4 0v2h-2v-2h2m4 0v2h-2v-2h2m2-7a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h1V1h2v2h8V1h2v2h1m0 16V8H5v11h14M9 14v2H7v-2h2m4 0v2h-2v-2h2m4 0v2h-2v-2h2Z"/>'}},2849:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="m12 8l-1.33.09C9.81 7.07 7.4 4.5 5 4.5c0 0-1.97 2.96-.04 6.91c-.55.83-.89 1.26-.96 2.25l-1.93.29l.21.98l1.76-.26l.14.71l-1.57.94l.47.89l1.45-.89C5.68 18.76 8.59 20 12 20s6.32-1.24 7.47-3.68l1.45.89l.47-.89l-1.57-.94l.14-.71l1.76.26l.21-.98l-1.93-.29c-.07-.99-.41-1.42-.96-2.25C20.97 7.46 19 4.5 19 4.5c-2.4 0-4.81 2.57-5.67 3.59L12 8m-3 3a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m6 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m-4 3h2l-.7 1.39c.2.64.76 1.11 1.45 1.11a1.5 1.5 0 0 0 1.5-1.5h.5a2 2 0 0 1-2 2c-.75 0-1.4-.41-1.75-1c-.35.59-1 1-1.75 1a2 2 0 0 1-2-2h.5a1.5 1.5 0 0 0 1.5 1.5c.69 0 1.25-.47 1.45-1.11L11 14Z"/>'}},3594:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10s10-4.5 10-10S17.5 2 12 2m-2 15l-5-5l1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9Z"/>'}},4501:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M21 7L9 19l-5.5-5.5l1.41-1.41L9 16.17L19.59 5.59L21 7Z"/>'}},2027:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M12 20a8 8 0 0 1-8-8a8 8 0 0 1 8-8a8 8 0 0 1 8 8a8 8 0 0 1-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2Z"/>'}},5962:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M18.41 7.41L17 6l-6 6l6 6l1.41-1.41L13.83 12l4.58-4.59m-6 0L11 6l-6 6l6 6l1.41-1.41L7.83 12l4.58-4.59Z"/>'}},6029:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M5.59 7.41L7 6l6 6l-6 6l-1.41-1.41L10.17 12L5.59 7.41m6 0L13 6l6 6l-6 6l-1.41-1.41L16.17 12l-4.58-4.59Z"/>'}},4555:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6l1.41-1.42Z"/>'}},5074:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M15.41 16.58L10.83 12l4.58-4.59L14 6l-6 6l6 6l1.41-1.42Z"/>'}},21:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M8.59 16.58L13.17 12L8.59 7.41L10 6l6 6l-6 6l-1.41-1.42Z"/>'}},6382:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6l1.41 1.41Z"/>'}},5241:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z"/>'}},858:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M12 15.5A3.5 3.5 0 0 1 8.5 12A3.5 3.5 0 0 1 12 8.5a3.5 3.5 0 0 1 3.5 3.5a3.5 3.5 0 0 1-3.5 3.5m7.43-2.53c.04-.32.07-.64.07-.97c0-.33-.03-.66-.07-1l2.11-1.63c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.31-.61-.22l-2.49 1c-.52-.39-1.06-.73-1.69-.98l-.37-2.65A.506.506 0 0 0 14 2h-4c-.25 0-.46.18-.5.42l-.37 2.65c-.63.25-1.17.59-1.69.98l-2.49-1c-.22-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64L4.57 11c-.04.34-.07.67-.07 1c0 .33.03.65.07.97l-2.11 1.66c-.19.15-.25.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1.01c.52.4 1.06.74 1.69.99l.37 2.65c.04.24.25.42.5.42h4c.25 0 .46-.18.5-.42l.37-2.65c.63-.26 1.17-.59 1.69-.99l2.49 1.01c.22.08.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.66Z"/>'}},3104:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M11 17H4a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h12v2H4v12h7v-2l4 3l-4 3v-2m8 4V7H8v6H6V7a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-2h2v2h11Z"/>'}},9300:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M15 9H5V5h10m-3 14a3 3 0 0 1-3-3a3 3 0 0 1 3-3a3 3 0 0 1 3 3a3 3 0 0 1-3 3m5-16H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V7l-4-4Z"/>'}},7073:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M18.68 12.32a4.49 4.49 0 0 0-6.36.01a4.49 4.49 0 0 0 0 6.36a4.508 4.508 0 0 0 5.57.63L21 22.39L22.39 21l-3.09-3.11c1.13-1.77.87-4.09-.62-5.57m-1.41 4.95c-.98.98-2.56.97-3.54 0c-.97-.98-.97-2.56.01-3.54c.97-.97 2.55-.97 3.53 0c.97.98.97 2.56 0 3.54M10.9 20.1a6.527 6.527 0 0 1-1.48-2.32C6.27 17.25 4 15.76 4 14v3c0 2.21 3.58 4 8 4c-.4-.26-.77-.56-1.1-.9M4 9v3c0 1.68 2.07 3.12 5 3.7v-.2c0-.93.2-1.85.58-2.69C6.34 12.3 4 10.79 4 9m8-6C7.58 3 4 4.79 4 7c0 2 3 3.68 6.85 4h.05c1.2-1.26 2.86-2 4.6-2c.91 0 1.81.19 2.64.56A3.215 3.215 0 0 0 20 7c0-2.21-3.58-4-8-4Z"/>'}},1860:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M12 3C7.58 3 4 4.79 4 7s3.58 4 8 4s8-1.79 8-4s-3.58-4-8-4M4 9v3c0 2.21 3.58 4 8 4s8-1.79 8-4V9c0 2.21-3.58 4-8 4s-8-1.79-8-4m0 5v3c0 2.21 3.58 4 8 4s8-1.79 8-4v-3c0 2.21-3.58 4-8 4s-8-1.79-8-4Z"/>'}},4142:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M19 4h-3.5l-1-1h-5l-1 1H5v2h14M6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6v12Z"/>'}},9728:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M12 9a3 3 0 0 0-3 3a3 3 0 0 0 3 3a3 3 0 0 0 3-3a3 3 0 0 0-3-3m0 8a5 5 0 0 1-5-5a5 5 0 0 1 5-5a5 5 0 0 1 5 5a5 5 0 0 1-5 5m0-12.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5Z"/>'}},257:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M12 2.04c-5.5 0-10 4.49-10 10.02c0 5 3.66 9.15 8.44 9.9v-7H7.9v-2.9h2.54V9.85c0-2.51 1.49-3.89 3.78-3.89c1.09 0 2.23.19 2.23.19v2.47h-1.26c-1.24 0-1.63.77-1.63 1.56v1.88h2.78l-.45 2.9h-2.33v7a10 10 0 0 0 8.44-9.9c0-5.53-4.5-10.02-10-10.02Z"/>'}},7326:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M13 9h5.5L13 3.5V9M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m6.16 12.31c-1.56 0-2.97.58-4.05 1.52L6 13.72V19h5.28l-2.13-2.12c.82-.68 1.85-1.1 3.01-1.1c2.07 0 3.84 1.35 4.45 3.22l1.39-.46c-.81-2.45-3.12-4.23-5.84-4.23Z"/>'}},4611:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M14 12v7.88c.04.3-.06.62-.29.83a.996.996 0 0 1-1.41 0l-2.01-2.01a.989.989 0 0 1-.29-.83V12h-.03L4.21 4.62a1 1 0 0 1 .17-1.4c.19-.14.4-.22.62-.22h14c.22 0 .43.08.62.22a1 1 0 0 1 .17 1.4L14.03 12H14Z"/>'}},9538:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M19 20H4a2 2 0 0 1-2-2V6c0-1.11.89-2 2-2h6l2 2h7a2 2 0 0 1 2 2H4v10l2.14-8h17.07l-2.28 8.5c-.23.87-1.01 1.5-1.93 1.5Z"/>'}},9966:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M13 19c0 .34.04.67.09 1H4a2 2 0 0 1-2-2V6c0-1.11.89-2 2-2h6l2 2h8a2 2 0 0 1 2 2v5.81c-.88-.51-1.9-.81-3-.81c-3.31 0-6 2.69-6 6m7-1v-3h-2v3h-3v2h3v3h2v-3h3v-2h-3Z"/>'}},4613:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M10 4H4c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-8l-2-2Z"/>'}},2477:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M7 5h14v2H7V5m0 8v-2h14v2H7M4 4.5A1.5 1.5 0 0 1 5.5 6A1.5 1.5 0 0 1 4 7.5A1.5 1.5 0 0 1 2.5 6A1.5 1.5 0 0 1 4 4.5m0 6A1.5 1.5 0 0 1 5.5 12A1.5 1.5 0 0 1 4 13.5A1.5 1.5 0 0 1 2.5 12A1.5 1.5 0 0 1 4 10.5M7 19v-2h14v2H7m-3-2.5A1.5 1.5 0 0 1 5.5 18A1.5 1.5 0 0 1 4 19.5A1.5 1.5 0 0 1 2.5 18A1.5 1.5 0 0 1 4 16.5Z"/>'}},7894:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M21 17H7V3h14m0-2H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2M3 5H1v16a2 2 0 0 0 2 2h16v-2H3m12.96-10.71l-2.75 3.54l-1.96-2.36L8.5 15h11l-3.54-4.71Z"/>'}},6123:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M22 20.7L3.3 2L2 3.3l1 1V19c0 1.1.9 2 2 2h14.7l1 1l1.3-1.3M5 19V6.3l7.6 7.6l-1.5 1.9L9 13.1L6 17h9.7l2 2H5M8.8 5l-2-2H19c1.1 0 2 .9 2 2v12.2l-2-2V5H8.8"/>'}},9829:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M18 15v3h-3v2h3v3h2v-3h3v-2h-3v-3h-2m-4.7 6H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2v8.3c-.6-.2-1.3-.3-2-.3c-1.1 0-2.2.3-3.1.9L14.5 12L11 16.5l-2.5-3L5 18h8.1c-.1.3-.1.7-.1 1c0 .7.1 1.4.3 2Z"/>'}},3102:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M11 9h2V7h-2m1 13c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2m-1 15h2v-6h-2v6Z"/>'}},9077:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8A1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5a5 5 0 0 1-5 5a5 5 0 0 1-5-5a5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3a3 3 0 0 0 3 3a3 3 0 0 0 3-3a3 3 0 0 0-3-3Z"/>'}},8841:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M16.84 2.73c-.39 0-.77.15-1.07.44l-2.12 2.12l5.3 5.31l2.12-2.1c.6-.61.6-1.56 0-2.14L17.9 3.17c-.3-.29-.68-.44-1.06-.44M12.94 6l-8.1 8.11l2.56.28l.18 2.29l2.28.17l.29 2.56l8.1-8.11m-14 3.74L2.5 21.73l6.7-1.79l-.24-2.16l-2.31-.17l-.18-2.32"/>'}},4753:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M10.59 13.41c.41.39.41 1.03 0 1.42c-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0a5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.982 2.982 0 0 0 0-4.24a2.982 2.982 0 0 0-4.24 0l-3.53 3.53a2.982 2.982 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0a5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.982 2.982 0 0 0 0 4.24a2.982 2.982 0 0 0 4.24 0l3.53-3.53a2.982 2.982 0 0 0 0-4.24a.973.973 0 0 1 0-1.42Z"/>'}},2079:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77Z"/>'}},3271:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M19 13c.34 0 .67.04 1 .09V10a2 2 0 0 0-2-2h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6a2 2 0 0 0-2 2v10c0 1.11.89 2 2 2h7.81c-.51-.88-.81-1.9-.81-3c0-3.31 2.69-6 6-6M9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6m3 11a2 2 0 1 1 2-2c0 1.11-.89 2-2 2m10.5.25L17.75 22L15 19l1.16-1.16l1.59 1.59l3.59-3.59l1.16 1.41Z"/>'}},5207:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M18 1c-2.76 0-5 2.24-5 5v2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12c1.11 0 2-.89 2-2V10a2 2 0 0 0-2-2h-1V6c0-1.66 1.34-3 3-3s3 1.34 3 3v2h2V6c0-2.76-2.24-5-5-5m-8 12a2 2 0 0 1 2 2c0 1.11-.89 2-2 2a2 2 0 1 1 0-4Z"/>'}},146:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M20.94 14c-.28 1.41-2.44 2.96-4.97 3.26c-1.31.15-2.6.3-3.97.24c-2.25-.11-4-.54-4-.54v.62c.32 2.22 2.22 2.35 4.03 2.42c1.82.05 3.44-.46 3.44-.46l.08 1.65s-1.28.68-3.55.81c-1.25.07-2.81-.03-4.62-.5c-3.92-1.05-4.6-5.24-4.7-9.5l-.01-3.43c0-4.34 2.83-5.61 2.83-5.61C6.95 2.3 9.41 2 11.97 2h.06c2.56 0 5.02.3 6.47.96c0 0 2.83 1.27 2.83 5.61c0 0 .04 3.21-.39 5.43M18 8.91c0-1.08-.3-1.91-.85-2.56c-.56-.63-1.3-.96-2.23-.96c-1.06 0-1.87.41-2.42 1.23l-.5.88l-.5-.88c-.56-.82-1.36-1.23-2.43-1.23c-.92 0-1.66.33-2.23.96C6.29 7 6 7.83 6 8.91v5.26h2.1V9.06c0-1.06.45-1.62 1.36-1.62c1 0 1.5.65 1.5 1.93v2.79h2.07V9.37c0-1.28.5-1.93 1.51-1.93c.9 0 1.35.56 1.35 1.62v5.11H18V8.91Z"/>'}},1299:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M14 19h4V5h-4M6 19h4V5H6v14Z"/>'}},6268:(e,t)=>{},9931:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M9.04 21.54c.96.29 1.93.46 2.96.46a10 10 0 0 0 10-10A10 10 0 0 0 12 2A10 10 0 0 0 2 12c0 4.25 2.67 7.9 6.44 9.34c-.09-.78-.18-2.07 0-2.96l1.15-4.94s-.29-.58-.29-1.5c0-1.38.86-2.41 1.84-2.41c.86 0 1.26.63 1.26 1.44c0 .86-.57 2.09-.86 3.27c-.17.98.52 1.84 1.52 1.84c1.78 0 3.16-1.9 3.16-4.58c0-2.4-1.72-4.04-4.19-4.04c-2.82 0-4.48 2.1-4.48 4.31c0 .86.28 1.73.74 2.3c.09.06.09.14.06.29l-.29 1.09c0 .17-.11.23-.28.11c-1.28-.56-2.02-2.38-2.02-3.85c0-3.16 2.24-6.03 6.56-6.03c3.44 0 6.12 2.47 6.12 5.75c0 3.44-2.13 6.2-5.18 6.2c-.97 0-1.92-.52-2.26-1.13l-.67 2.37c-.23.86-.86 2.01-1.29 2.7v-.03Z"/>'}},8843:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M8 5.14v14l11-7l-11-7Z"/>'}},7297:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2Z"/>'}},6761:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2m0 7a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3Z"/>'}},1086:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M12 5V1L7 6l5 5V7a6 6 0 0 1 6 6a6 6 0 0 1-6 6a6 6 0 0 1-6-6H4a8 8 0 0 0 8 8a8 8 0 0 0 8-8a8 8 0 0 0-8-8Z"/>'}},1097:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="m13.13 22.19l-1.63-3.83c1.57-.58 3.04-1.36 4.4-2.27l-2.77 6.1M5.64 12.5l-3.83-1.63l6.1-2.77C7 9.46 6.22 10.93 5.64 12.5M21.61 2.39S16.66.269 11 5.93c-2.19 2.19-3.5 4.6-4.35 6.71c-.28.75-.09 1.57.46 2.13l2.13 2.12c.55.56 1.37.74 2.12.46A19.1 19.1 0 0 0 18.07 13c5.66-5.66 3.54-10.61 3.54-10.61m-7.07 7.07c-.78-.78-.78-2.05 0-2.83s2.05-.78 2.83 0c.77.78.78 2.05 0 2.83c-.78.78-2.05.78-2.83 0m-5.66 7.07l-1.41-1.41l1.41 1.41M6.24 22l3.64-3.64c-.34-.09-.67-.24-.97-.45L4.83 22h1.41M2 22h1.41l4.77-4.76l-1.42-1.41L2 20.59V22m0-2.83l4.09-4.08c-.21-.3-.36-.62-.45-.97L2 17.76v1.41Z"/>'}},2693:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="m18 21l-4-4h3V7h-3l4-4l4 4h-3v10h3M2 19v-2h10v2M2 13v-2h7v2M2 7V5h4v2H2Z"/>'}},757:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.62L12 2L9.19 8.62L2 9.24l5.45 4.73L5.82 21L12 17.27Z"/>'}},8957:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M18 18H6V6h12v12Z"/>'}},67:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M12 20a7 7 0 0 1-7-7a7 7 0 0 1 7-7a7 7 0 0 1 7 7a7 7 0 0 1-7 7m7.03-12.61l1.42-1.42c-.45-.51-.9-.97-1.41-1.41L17.62 6c-1.55-1.26-3.5-2-5.62-2a9 9 0 0 0-9 9a9 9 0 0 0 9 9c5 0 9-4.03 9-9c0-2.12-.74-4.07-1.97-5.61M11 14h2V8h-2m4-7H9v2h6V1Z"/>'}},6982:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="m21.71 20.29l-1.42 1.42a1 1 0 0 1-1.41 0L7 9.85A3.81 3.81 0 0 1 6 10a4 4 0 0 1-3.78-5.3l2.54 2.54l.53-.53l1.42-1.42l.53-.53L4.7 2.22A4 4 0 0 1 10 6a3.81 3.81 0 0 1-.15 1l11.86 11.88a1 1 0 0 1 0 1.41M2.29 18.88a1 1 0 0 0 0 1.41l1.42 1.42a1 1 0 0 0 1.41 0l5.47-5.46l-2.83-2.83M20 2l-4 2v2l-2.17 2.17l2 2L18 8h2l2-4Z"/>'}},552:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3H9m0 5h2v9H9V8m4 0h2v9h-2V8Z"/>'}},9014:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M22.46 6c-.77.35-1.6.58-2.46.69c.88-.53 1.56-1.37 1.88-2.38c-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29c0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15c0 1.49.75 2.81 1.91 3.56c-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07a4.28 4.28 0 0 0 4 2.98a8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21C16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56c.84-.6 1.56-1.36 2.14-2.23Z"/>'}},7695:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88c3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8Z"/>'}},1373:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M13 3v6h8V3m-8 18h8V11h-8M3 21h8v-6H3m0-2h8V3H3v10Z"/>'}},1333:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M3 11h8V3H3m0 18h8v-8H3m10 8h8v-8h-8m0-10v8h8V3"/>'}},6200:(e,t)=>{t.A={width:24,height:24,body:'<path fill="currentColor" d="M9 2a7 7 0 0 1 7 7c0 1.57-.5 3-1.39 4.19l.8.81H16l6 6l-2 2l-6-6v-.59l-.81-.8A6.916 6.916 0 0 1 9 16a7 7 0 0 1-7-7a7 7 0 0 1 7-7M8 5v3H5v2h3v3h2v-3h3V8h-3V5H8Z"/>'}},5977:(e,t,n)=>{"use strict";t.L3=t.In=void 0;var r,o=(r=n(1594))&&r.__esModule?r:{default:r};function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=0,l=/(-?[0-9.]*[0-9]+[0-9.]*)/g,c=/^-?[0-9.]*[0-9]+[0-9.]*$/g,u=["width","height","inline","hFlip","vFlip","flip","rotate","align","color","box"],h={left:0,top:0,width:16,height:16,rotate:0,hFlip:!1,vFlip:!1},f=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._item=t}var t,n,r;return t=e,r=[{key:"splitAttributes",value:function(e){var t={icon:Object.create(null),node:Object.create(null)};return Object.keys(e).forEach((function(n){t[-1===u.indexOf(n)?"node":"icon"][n]=e[n]})),t}},{key:"calculateDimension",value:function(e,t,n){if(1===t)return e;if(n=void 0===n?100:n,"number"==typeof e)return Math.ceil(e*t*n)/n;var r=e.split(l);if(null===r||!r.length)return null;for(var o,i=[],a=r.shift(),s=c.test(a);;){if(s?(o=parseFloat(a),isNaN(o)?i.push(a):i.push(Math.ceil(o*t*n)/n)):i.push(a),void 0===(a=r.shift()))return i.join("");s=!s}}},{key:"replaceIDs",value:function(e){var t,n,r=/\sid="(\S+)"/g,o=[];function i(e,t,n){for(var r=0;-1!==(r=n.indexOf(e,r));)n=n.slice(0,r)+t+n.slice(r+e.length),r+=t.length;return n}for(;t=r.exec(e);)o.push(t[1]);return o.length?(n="IconifyId-"+Date.now().toString(16)+"-"+(16777216*Math.random()|0).toString(16)+"-",o.forEach((function(t){var r=n+s;s++,e=i('="'+t+'"','="'+r+'"',e),e=i('="#'+t+'"','="#'+r+'"',e),e=i("(#"+t+")","(#"+r+")",e)})),e):e}}],(n=[{key:"getAttributes",value:function(t){var n=this._item;"object"!==i(t)&&(t=Object.create(null));var r={horizontal:"center",vertical:"middle",slice:!1},o={rotate:n.rotate,hFlip:n.hFlip,vFlip:n.vFlip},a=Object.create(null),s=Object.create(null),l=!0===t.inline||"true"===t.inline||"1"===t.inline,c={left:n.left,top:l?n.inlineTop:n.top,width:n.width,height:l?n.inlineHeight:n.height};if(["hFlip","vFlip"].forEach((function(e){void 0===t[e]||!0!==t[e]&&"true"!==t[e]&&"1"!==t[e]||(o[e]=!o[e])})),void 0!==t.flip&&t.flip.toLowerCase().split(/[\s,]+/).forEach((function(e){switch(e){case"horizontal":o.hFlip=!o.hFlip;break;case"vertical":o.vFlip=!o.vFlip}})),void 0!==t.rotate){var u=t.rotate;if("number"==typeof u)o.rotate+=u;else if("string"==typeof u){var h=u.replace(/^-?[0-9.]*/,"");if(""===h)u=parseInt(u),isNaN(u)||(o.rotate+=u);else if(h!==u){var f=!1;switch(h){case"%":f=25;break;case"deg":f=90}f&&(u=parseInt(u.slice(0,u.length-h.length)),isNaN(u)||(o.rotate+=Math.round(u/f)))}}}var d,p=[];switch(o.hFlip?o.vFlip?o.rotate+=2:(p.push("translate("+(c.width+c.left)+" "+(0-c.top)+")"),p.push("scale(-1 1)"),c.top=c.left=0):o.vFlip&&(p.push("translate("+(0-c.left)+" "+(c.height+c.top)+")"),p.push("scale(1 -1)"),c.top=c.left=0),o.rotate%4){case 1:d=c.height/2+c.top,p.unshift("rotate(90 "+d+" "+d+")"),0===c.left&&0===c.top||(d=c.left,c.left=c.top,c.top=d),c.width!==c.height&&(d=c.width,c.width=c.height,c.height=d);break;case 2:p.unshift("rotate(180 "+(c.width/2+c.left)+" "+(c.height/2+c.top)+")");break;case 3:d=c.width/2+c.left,p.unshift("rotate(-90 "+d+" "+d+")"),0===c.left&&0===c.top||(d=c.left,c.left=c.top,c.top=d),c.width!==c.height&&(d=c.width,c.width=c.height,c.height=d)}var m,g,y=t.width?t.width:null,v=t.height?t.height:null;null===y&&null===v&&(v="1em"),null!==y&&null!==v?(m=y,g=v):null!==y?(m=y,g=e.calculateDimension(m,c.height/c.width)):(g=v,m=e.calculateDimension(g,c.width/c.height)),!1!==m&&(s.width="auto"===m?c.width:m),!1!==g&&(s.height="auto"===g?c.height:g),l&&0!==n.verticalAlign&&(a["vertical-align"]=n.verticalAlign+"em"),void 0!==t.align&&t.align.toLowerCase().split(/[\s,]+/).forEach((function(e){switch(e){case"left":case"right":case"center":r.horizontal=e;break;case"top":case"bottom":case"middle":r.vertical=e;break;case"crop":r.slice=!0;break;case"meet":r.slice=!1}})),s.preserveAspectRatio=function(e){var t;switch(e.horizontal){case"left":t="xMin";break;case"right":t="xMax";break;default:t="xMid"}switch(e.vertical){case"top":t+="YMin";break;case"bottom":t+="YMax";break;default:t+="YMid"}return t+(e.slice?" slice":" meet")}(r),s.viewBox=c.left+" "+c.top+" "+c.width+" "+c.height;var b=e.replaceIDs(n.body);return void 0!==t.color&&(b=b.replace(/currentColor/g,t.color)),p.length&&(b='<g transform="'+p.join(" ")+'">'+b+"</g>"),!0!==t.box&&"true"!==t.box&&"1"!==t.box||(b+='<rect x="'+c.left+'" y="'+c.top+'" width="'+c.width+'" height="'+c.height+'" fill="rgba(0, 0, 0, 0)" />'),{attributes:s,body:b,style:a}}},{key:"getSVG",value:function(t,n){var r=e.splitAttributes(t),o=this.getAttributes(r.icon),i='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"';return n&&Object.keys(r.node).forEach((function(e){i+=" "+e+'="'+r.node[e]+'"'})),Object.keys(o.attributes).forEach((function(e){i+=" "+e+'="'+o.attributes[e]+'"'})),i+=' style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);',Object.keys(o.style).forEach((function(e){i+=" "+e+": "+o.style[e]+";"})),t&&void 0!==t.style&&(i+=t.style),i+='">',i+=o.body+"</svg>"}}])&&a(t.prototype,n),r&&a(t,r),e}();function d(e,t){if("object"!==i(e.icon))return null;var n=f.splitAttributes(e),r=n.icon,a=n.node;delete a.icon,void 0===r.inline&&(r.inline=t);var s=new f(function(e){var t,n=Object.create(null);for(t in h)n[t]=h[t];for(t in e)n[t]=e[t];return void 0===n.inlineTop&&(n.inlineTop=n.top),void 0===n.inlineHeight&&(n.inlineHeight=n.height),void 0===n.verticalAlign&&(n.verticalAlign=n.height%7==0&&n.height%8!=0?-.143:-.125),n}(e.icon)),l=s.getAttributes(r),c={transform:"rotate(360deg)"};if(void 0!==l.style["vertical-align"]&&(c.verticalAlign=l.style["vertical-align"]),void 0!==e.style)for(var u in e.style)c[u]=e.style[u];var d,p={xmlns:"http://www.w3.org/2000/svg",focusable:!1,style:c};for(d in a)p[d]=a[d];for(d in l.attributes)p[d]=l.attributes[d];return p.dangerouslySetInnerHTML={__html:l.body},o.default.createElement("svg",p,null)}t.In=function(e){return d(e,!1)},t.L3=function(e){return d(e,!0)}},5627:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new o(r,i||e,a),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o<i;o++)a[o]=r[o].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,o,i,a){var s=n?n+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],h=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),h){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,o),!0;case 5:return u.fn.call(u.context,t,r,o,i),!0;case 6:return u.fn.call(u.context,t,r,o,i,a),!0}for(c=1,l=new Array(h-1);c<h;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var f,d=u.length;for(c=0;c<d;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),h){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,r);break;case 4:u[c].fn.call(u[c].context,t,r,o);break;default:if(!l)for(f=1,l=new Array(h-1);f<h;f++)l[f-1]=arguments[f];u[c].fn.apply(u[c].context,l)}}return!0},s.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,o){var i=n?n+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var s=this._events[i];if(s.fn)s.fn!==t||o&&!s.once||r&&s.context!==r||a(this,i);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==t||o&&!s[l].once||r&&s[l].context!==r)&&c.push(s[l]);c.length?this._events[i]=1===c.length?c[0]:c:a(this,i)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s},3948:(e,t,n)=>{var r;function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}!function(){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};"object"===o(n.amdO)&&n.amdO?void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r):e.exports?e.exports=a:window.ExecutionEnvironment=a}()},9186:e=>{"use strict";e.exports=function(e,t){return t=t||function(){},e.then((function(e){return new Promise((function(e){e(t())})).then((function(){return e}))}),(function(e){return new Promise((function(e){e(t())})).then((function(){throw e}))}))}},6815:(e,t,n)=>{"use strict";function r(){r=function(){return t};var e,t={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function h(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(e){h=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof b?t:b,a=Object.create(o.prototype),s=new R(r||[]);return i(a,"_invoke",{value:A(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function x(){}function w(){}var k={};h(k,l,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(T([])));O&&O!==n&&o.call(O,l)&&(k=O);var _=w.prototype=b.prototype=Object.create(k);function E(e){["next","throw","return"].forEach((function(t){h(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(r,i,s,l){var c=d(e[r],e,i);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==a(h)&&o.call(h,"__await")?t.resolve(h.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(h).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var r;i(this,"_invoke",{value:function(e,o){function i(){return new t((function(t,r){n(e,o,t,r)}))}return r=r?r.then(i,i):i()}})}function A(t,n,r){var o=p;return function(i,a){if(o===g)throw new Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=j(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function j(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,j(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r<t.length;)if(o.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(a(t)+" is not iterable")}return x.prototype=w,i(_,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:x,configurable:!0}),x.displayName=h(w,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===x||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,h(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},E(C.prototype),h(C.prototype,c,(function(){return this})),t.AsyncIterator=C,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new C(f(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(_),h(_,u,"Generator"),h(_,l,(function(){return this})),h(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,R.prototype={constructor:R,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(M),!t)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),c=o.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;M(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function o(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function s(e){o(a,r,i,s,l,"next",e)}function l(e){o(a,r,i,s,l,"throw",e)}s(void 0)}))}}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function l(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:String(t)}function c(e,t,n){return t=h(t),function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,u()?Reflect.construct(t,n||[],h(e).constructor):t.apply(e,n))}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}var d=n(5627),p=n(8198),m=n(4093),g=function(){},y=new p.TimeoutError,v=function(e){function t(e){var n,r,o,i,s;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=c(this,t))._intervalCount=0,n._intervalEnd=0,n._pendingCount=0,n._resolveEmpty=g,n._resolveIdle=g,!("number"==typeof(e=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:m.default},e)).intervalCap&&e.intervalCap>=1))throw new TypeError("Expected `intervalCap` to be a number from 1 and up, got `".concat(null!==(o=null===(r=e.intervalCap)||void 0===r?void 0:r.toString())&&void 0!==o?o:"","` (").concat(a(e.intervalCap),")"));if(void 0===e.interval||!(Number.isFinite(e.interval)&&e.interval>=0))throw new TypeError("Expected `interval` to be a finite number >= 0, got `".concat(null!==(s=null===(i=e.interval)||void 0===i?void 0:i.toString())&&void 0!==s?s:"","` (").concat(a(e.interval),")"));return n._carryoverConcurrencyCount=e.carryoverConcurrencyCount,n._isIntervalIgnored=e.intervalCap===1/0||0===e.interval,n._intervalCap=e.intervalCap,n._interval=e.interval,n._queue=new e.queueClass,n._queueClass=e.queueClass,n.concurrency=e.concurrency,n._timeout=e.timeout,n._throwOnTimeout=!0===e.throwOnTimeout,n._isPaused=!1===e.autoStart,n}var n,o,l,u,h,d;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(t,e),n=t,o=[{key:"_doesIntervalAllowAnother",get:function(){return this._isIntervalIgnored||this._intervalCount<this._intervalCap}},{key:"_doesConcurrentAllowAnother",get:function(){return this._pendingCount<this._concurrency}},{key:"_next",value:function(){this._pendingCount--,this._tryToStartAnother(),this.emit("next")}},{key:"_resolvePromises",value:function(){this._resolveEmpty(),this._resolveEmpty=g,0===this._pendingCount&&(this._resolveIdle(),this._resolveIdle=g,this.emit("idle"))}},{key:"_onResumeInterval",value:function(){this._onInterval(),this._initializeIntervalIfNeeded(),this._timeoutId=void 0}},{key:"_isIntervalPaused",value:function(){var e=this,t=Date.now();if(void 0===this._intervalId){var n=this._intervalEnd-t;if(!(n<0))return void 0===this._timeoutId&&(this._timeoutId=setTimeout((function(){e._onResumeInterval()}),n)),!0;this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0}return!1}},{key:"_tryToStartAnother",value:function(){if(0===this._queue.size)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){var e=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){var t=this._queue.dequeue();return!!t&&(this.emit("active"),t(),e&&this._initializeIntervalIfNeeded(),!0)}}return!1}},{key:"_initializeIntervalIfNeeded",value:function(){var e=this;this._isIntervalIgnored||void 0!==this._intervalId||(this._intervalId=setInterval((function(){e._onInterval()}),this._interval),this._intervalEnd=Date.now()+this._interval)}},{key:"_onInterval",value:function(){0===this._intervalCount&&0===this._pendingCount&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}},{key:"_processQueue",value:function(){for(;this._tryToStartAnother(););}},{key:"concurrency",get:function(){return this._concurrency},set:function(e){if(!("number"==typeof e&&e>=1))throw new TypeError("Expected `concurrency` to be a number from 1 and up, got `".concat(e,"` (").concat(a(e),")"));this._concurrency=e,this._processQueue()}},{key:"add",value:(d=i(r().mark((function e(t){var n,o=this,a=arguments;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>1&&void 0!==a[1]?a[1]:{},e.abrupt("return",new Promise((function(e,a){var s=function(){var s=i(r().mark((function i(){var s;return r().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o._pendingCount++,o._intervalCount++,r.prev=2,s=void 0===o._timeout&&void 0===n.timeout?t():p.default(Promise.resolve(t()),void 0===n.timeout?o._timeout:n.timeout,(function(){(void 0===n.throwOnTimeout?o._throwOnTimeout:n.throwOnTimeout)&&a(y)})),r.t0=e,r.next=7,s;case 7:r.t1=r.sent,(0,r.t0)(r.t1),r.next=14;break;case 11:r.prev=11,r.t2=r.catch(2),a(r.t2);case 14:o._next();case 15:case"end":return r.stop()}}),i,null,[[2,11]])})));return function(){return s.apply(this,arguments)}}();o._queue.enqueue(s,n),o._tryToStartAnother(),o.emit("add")})));case 2:case"end":return e.stop()}}),e)}))),function(e){return d.apply(this,arguments)})},{key:"addAll",value:(h=i(r().mark((function e(t,n){var o=this;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(t.map(function(){var e=i(r().mark((function e(t){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",o.add(t,n));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())));case 1:case"end":return e.stop()}}),e)}))),function(e,t){return h.apply(this,arguments)})},{key:"start",value:function(){return this._isPaused?(this._isPaused=!1,this._processQueue(),this):this}},{key:"pause",value:function(){this._isPaused=!0}},{key:"clear",value:function(){this._queue=new this._queueClass}},{key:"onEmpty",value:(u=i(r().mark((function e(){var t=this;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==this._queue.size){e.next=2;break}return e.abrupt("return");case 2:return e.abrupt("return",new Promise((function(e){var n=t._resolveEmpty;t._resolveEmpty=function(){n(),e()}})));case 3:case"end":return e.stop()}}),e,this)}))),function(){return u.apply(this,arguments)})},{key:"onIdle",value:(l=i(r().mark((function e(){var t=this;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==this._pendingCount||0!==this._queue.size){e.next=2;break}return e.abrupt("return");case 2:return e.abrupt("return",new Promise((function(e){var n=t._resolveIdle;t._resolveIdle=function(){n(),e()}})));case 3:case"end":return e.stop()}}),e,this)}))),function(){return l.apply(this,arguments)})},{key:"size",get:function(){return this._queue.size}},{key:"sizeBy",value:function(e){return this._queue.filter(e).length}},{key:"pending",get:function(){return this._pendingCount}},{key:"isPaused",get:function(){return this._isPaused}},{key:"timeout",get:function(){return this._timeout},set:function(e){this._timeout=e}}],o&&s(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),t}(d);t.A=v},6011:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){for(var r=0,o=e.length;o>0;){var i=o/2|0,a=r+i;n(e[a],t)<=0?(r=++a,o-=i+1):o=i}return r}},4093:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i(r.key),r)}}function i(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:String(t)}Object.defineProperty(t,"__esModule",{value:!0});var a=n(6011),s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._queue=[]}var t,n;return t=e,(n=[{key:"enqueue",value:function(e,t){var n={priority:(t=Object.assign({priority:0},t)).priority,run:e};if(this.size&&this._queue[this.size-1].priority>=t.priority)this._queue.push(n);else{var r=a.default(this._queue,n,(function(e,t){return t.priority-e.priority}));this._queue.splice(r,0,n)}}},{key:"dequeue",value:function(){var e=this._queue.shift();return null==e?void 0:e.run}},{key:"filter",value:function(e){return this._queue.filter((function(t){return t.priority===e.priority})).map((function(e){return e.run}))}},{key:"size",get:function(){return this._queue.length}}])&&o(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s},8198:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){var t="function"==typeof Map?new Map:void 0;return o=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(i())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&a(o,n.prototype),o}(e,arguments,s(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),a(n,e)},o(e)}function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(i=function(){return!!e})()}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var l=n(9186),c=function(e){function t(e){var n,o,a,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=this,a=t,l=[e],a=s(a),n=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(o,i()?Reflect.construct(a,l||[],s(o).constructor):a.apply(o,l))).name="TimeoutError",n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e),n=t,Object.defineProperty(n,"prototype",{writable:!1}),n;var n}(o(Error)),u=function(e,t,n){return new Promise((function(r,o){if("number"!=typeof t||t<0)throw new TypeError("Expected `milliseconds` to be a positive number");if(t!==1/0){var i=setTimeout((function(){if("function"!=typeof n){var i="string"==typeof n?n:"Promise timed out after ".concat(t," milliseconds"),a=n instanceof Error?n:new c(i);"function"==typeof e.cancel&&e.cancel(),o(a)}else try{r(n())}catch(e){o(e)}}),t);l(e.then(r,o),(function(){clearTimeout(i)}))}else r(e)}))};e.exports=u,e.exports.default=u,e.exports.TimeoutError=c},3873:(e,t,n)=>{"use strict";var r=n(1274);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}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}},6365:(e,t,n)=>{e.exports=n(3873)()},1274:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9092:(e,t,n)=>{"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var l=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==a?"\n  "+a:"")+(null!==s?"\n  "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}n.r(t),n.d(t,{polyfill:()=>a}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},2781:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var o=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},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(1594),s=m(a),l=m(n(5206)),c=m(n(6365)),u=m(n(9463)),h=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(915)),f=n(9853),d=m(f),p=n(9092);function m(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==r(t)&&"function"!=typeof t?e:t}var y=t.portalClassName="ReactModalPortal",v=t.bodyOpenClassName="ReactModal__Body--open",b=f.canUseDOM&&void 0!==l.default.createPortal,x=function(e){return document.createElement(e)},w=function(){return b?l.default.createPortal:l.default.unstable_renderSubtreeIntoContainer};function k(e){return e()}var S=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),c=0;c<i;c++)a[c]=arguments[c];return n=r=g(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.removePortal=function(){!b&&l.default.unmountComponentAtNode(r.node);var e=k(r.props.parentSelector);e&&e.contains(r.node)?e.removeChild(r.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},r.portalRef=function(e){r.portal=e},r.renderPortal=function(e){var n=w()(r,s.default.createElement(u.default,o({defaultStyles:t.defaultStyles},e)),r.node);r.portalRef(n)},g(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+r(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){f.canUseDOM&&(b||(this.node=x("div")),this.node.className=this.props.portalClassName,k(this.props.parentSelector).appendChild(this.node),!b&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:k(e.parentSelector),nextParent:k(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(f.canUseDOM){var r=this.props,o=r.isOpen,i=r.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||o)&&!b&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(f.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return f.canUseDOM&&b?(!this.node&&b&&(this.node=x("div")),w()(s.default.createElement(u.default,o({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){h.setElement(e)}}]),t}(a.Component);S.propTypes={isOpen:c.default.bool.isRequired,style:c.default.shape({content:c.default.object,overlay:c.default.object}),portalClassName:c.default.string,bodyOpenClassName:c.default.string,htmlOpenClassName:c.default.string,className:c.default.oneOfType([c.default.string,c.default.shape({base:c.default.string.isRequired,afterOpen:c.default.string.isRequired,beforeClose:c.default.string.isRequired})]),overlayClassName:c.default.oneOfType([c.default.string,c.default.shape({base:c.default.string.isRequired,afterOpen:c.default.string.isRequired,beforeClose:c.default.string.isRequired})]),appElement:c.default.oneOfType([c.default.instanceOf(d.default),c.default.instanceOf(f.SafeHTMLCollection),c.default.instanceOf(f.SafeNodeList),c.default.arrayOf(c.default.instanceOf(d.default))]),onAfterOpen:c.default.func,onRequestClose:c.default.func,closeTimeoutMS:c.default.number,ariaHideApp:c.default.bool,shouldFocusAfterRender:c.default.bool,shouldCloseOnOverlayClick:c.default.bool,shouldReturnFocusAfterClose:c.default.bool,preventScroll:c.default.bool,parentSelector:c.default.func,aria:c.default.object,data:c.default.object,role:c.default.string,contentLabel:c.default.string,shouldCloseOnEsc:c.default.bool,overlayRef:c.default.func,contentRef:c.default.func,id:c.default.string,overlayElement:c.default.func,contentElement:c.default.func},S.defaultProps={isOpen:!1,portalClassName:y,bodyOpenClassName:v,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return s.default.createElement("div",e,t)},contentElement:function(e,t){return s.default.createElement("div",e,t)}},S.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,p.polyfill)(S),t.default=S},9463:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=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},i="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(1594),l=y(n(6365)),c=g(n(6518)),u=y(n(2374)),h=g(n(915)),f=g(n(5553)),d=n(9853),p=y(d),m=y(n(6551));function g(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function y(e){return e&&e.__esModule?e:{default:e}}n(9574);var v={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},b=0,x=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==r(t)&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,o=e.htmlOpenClassName,i=e.bodyOpenClassName,a=e.parentSelector,s=a&&a().ownerDocument||document;i&&f.remove(s.body,i),o&&f.remove(s.getElementsByTagName("html")[0],o),r&&b>0&&0==(b-=1)&&h.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(c.returnFocus(n.props.preventScroll),c.teardownScopedFocus()):c.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),m.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(c.setupScopedFocus(n.node),c.markForFocusLater()),n.setState({isOpen:!0},(function(){n.openAnimationFrame=requestAnimationFrame((function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,u.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":i(t))?t:{base:v[e],afterOpen:v[e]+"--after-open",beforeClose:v[e]+"--before-close"},o=r.base;return n.state.afterOpen&&(o=o+" "+r.afterOpen),n.state.beforeClose&&(o=o+" "+r.beforeClose),"string"==typeof t&&t?o+" "+t:o},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+r(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;o&&f.add(a.body,o),r&&f.add(a.getElementsByTagName("html")[0],r),n&&(b+=1,h.hide(t)),m.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.overlayClassName,i=e.defaultStyles,a=e.children,s=n?{}:i.content,l=r?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:o({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=o({id:t,ref:this.setContentRef,style:o({},s,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",o({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),h=this.props.contentElement(u,a);return this.props.overlayElement(c,h)}}]),t}(s.Component);x.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},x.propTypes={isOpen:l.default.bool.isRequired,defaultStyles:l.default.shape({content:l.default.object,overlay:l.default.object}),style:l.default.shape({content:l.default.object,overlay:l.default.object}),className:l.default.oneOfType([l.default.string,l.default.object]),overlayClassName:l.default.oneOfType([l.default.string,l.default.object]),parentSelector:l.default.func,bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,ariaHideApp:l.default.bool,appElement:l.default.oneOfType([l.default.instanceOf(p.default),l.default.instanceOf(d.SafeHTMLCollection),l.default.instanceOf(d.SafeNodeList),l.default.arrayOf(l.default.instanceOf(p.default))]),onAfterOpen:l.default.func,onAfterClose:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,preventScroll:l.default.bool,role:l.default.string,contentLabel:l.default.string,aria:l.default.object,data:l.default.object,children:l.default.node,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,id:l.default.string,overlayElement:l.default.func,contentElement:l.default.func,testId:l.default.string},t.default=x,e.exports=t.default},915:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){a&&(a.removeAttribute?a.removeAttribute("aria-hidden"):null!=a.length?a.forEach((function(e){return e.removeAttribute("aria-hidden")})):document.querySelectorAll(a).forEach((function(e){return e.removeAttribute("aria-hidden")}))),a=null},t.log=function(){},t.assertNodeList=s,t.setElement=function(e){var t=e;if("string"==typeof t&&i.canUseDOM){var n=document.querySelectorAll(t);s(n,t),t=n}return a=t||a},t.validateElement=l,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=l(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0)o.value.setAttribute("aria-hidden","true")}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=l(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0)o.value.removeAttribute("aria-hidden")}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){a=null};var r,o=(r=n(1392))&&r.__esModule?r:{default:r},i=n(9853),a=null;function s(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function l(e){var t=e||a;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,o.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},9574:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[i,a],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}i=a=null,s=[]},t.log=function(){console.log("bodyTrap ----------"),console.log(s.length);for(var e=[i,a],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var r,o=(r=n(6551))&&r.__esModule?r:{default:r},i=void 0,a=void 0,s=[];function l(){0!==s.length&&s[s.length-1].focusContent()}o.default.subscribe((function(e,t){i||a||((i=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),i.style.position="absolute",i.style.opacity="0",i.setAttribute("tabindex","0"),i.addEventListener("focus",l),(a=i.cloneNode()).addEventListener("focus",l)),(s=t).length>0?(document.body.firstChild!==i&&document.body.insertBefore(i,document.body.firstChild),document.body.lastChild!==a&&document.body.appendChild(a)):(i.parentElement&&i.parentElement.removeChild(i),a.parentElement&&a.parentElement.removeChild(a))}))},5553:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)o(e,n[t]);var i=document.body;for(var a in r)o(i,r[a]);n={},r={}},t.log=function(){};var n={},r={};function o(e,t){e.classList.remove(t)}t.add=function(e,t){return o=e.classList,i="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),o.add(e)}));var o,i},t.remove=function(e,t){return o=e.classList,i="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&o.remove(e)}));var o,i}},6518:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){i=[]},t.log=function(){},t.handleBlur=l,t.handleFocus=c,t.markForFocusLater=function(){i.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==i.length&&(t=i.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){i.length>0&&i.pop()},t.setupScopedFocus=function(e){a=e,window.addEventListener?(window.addEventListener("blur",l,!1),document.addEventListener("focus",c,!0)):(window.attachEvent("onBlur",l),document.attachEvent("onFocus",c))},t.teardownScopedFocus=function(){a=null,window.addEventListener?(window.removeEventListener("blur",l),document.removeEventListener("focus",c)):(window.detachEvent("onBlur",l),document.detachEvent("onFocus",c))};var r,o=(r=n(1602))&&r.__esModule?r:{default:r},i=[],a=null,s=!1;function l(){s=!0}function c(){if(s){if(s=!1,!a)return;setTimeout((function(){a.contains(document.activeElement)||((0,o.default)(a)[0]||a).focus()}),0)}}},6551:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach((function(e){return console.log(e)})),console.log("end portalOpenInstances ----------")},t.resetState=function(){r=new n};var n=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},r=new n;t.default=r},9853:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r,o=((r=n(3948))&&r.__esModule?r:{default:r}).default,i=o.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=o.canUseDOM?window.NodeList:{},t.canUseDOM=o.canUseDOM,t.default=i},2374:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e);if(n.length){var r=void 0,a=t.shiftKey,s=n[0],l=n[n.length-1],c=i();if(e===c){if(!a)return;r=l}if(l!==c||a||(r=s),s===c&&a&&(r=l),r)return t.preventDefault(),void r.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=u&&"Chrome"!=u[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var h=n.indexOf(c);if(h>-1&&(h+=a?-1:1),void 0===(r=n[h]))return t.preventDefault(),void(r=a?l:s).focus();t.preventDefault(),r.focus()}}else t.preventDefault()};var r,o=(r=n(1602))&&r.__esModule?r:{default:r};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?i(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default},1602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){return[].slice.call(t.querySelectorAll("*"),0).reduce((function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])}),[]).filter(a)};var n="none",r="contents",o=/input|select|textarea|button|object|iframe/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var o=window.getComputedStyle(e),i=o.getPropertyValue("display");return t?i!==r&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,o):i===n}catch(e){return console.warn("Failed to inspect element style"),!1}}function a(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&function(e,t){var n=e.nodeName.toLowerCase();return(o.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}(e,!n)}e.exports=t.default},8187:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r=n(2781))&&r.__esModule?r:{default:r};t.default=o.default,e.exports=t.default},1392:e=>{"use strict";e.exports=function(){}},2564:(e,t,n)=>{"use strict";n.d(t,{A:()=>h,z:()=>c});var r,o,i,a=n(3185),s={white:"white",black:"black",blue:"hsl(204.25deg 100% 36.47%)",green:"hsl(165deg 100% 34.51%)",red:"hsl(22, 100%, 36%)",orange:"hsl(36deg 73.28% 54.51%)",yellow:"hsl(44.43deg 77.41% 53.14%)",purple:"hsl(270, 38%, 59%)",gray30:"hsl(200deg 10.45% 26.27%)",gray60:"hsl(200deg 10.45% 60%)",gray98:"hsl(0deg 0% 98%)"},l=(0,a.DU)(r||(o=["\n  :root {\n    // Base colors\n    --neko-blue: ",";\n    --neko-white: ",";\n    --neko-black: ",";\n    --neko-purple: ",";\n    --neko-orange: ",";\n    --neko-yellow: ",";\n    --neko-green: ",";\n    --neko-red: ",";\n\n    // Main color\n    --neko-main-color: var(--neko-blue);\n\n    // Variants\n    --neko-success: var(--neko-blue);\n    --neko-primary: var(--neko-main-color);\n    --neko-secondary: #EBF3FF; // TODO: This needs to be updated to a proper color\n    --neko-danger: var(--neko-red);\n\n    // Base styles\n    --neko-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;\n    --neko-font-size: 13px; \n    --neko-small-font-size: 12px; \n    --neko-h1-font-size: 23px;\n    --neko-h2-font-size: 20px;\n    --neko-h3-font-size: 18px;\n    --neko-h4-font-size: 16px;\n    --neko-h5-font-size: 14px;\n    --neko-font-color: var(--neko-gray-30);\n\n    // Gray shades\n    --neko-gray-30: ",";\n    --neko-gray-60: ",";\n    --neko-gray-98: ",";\n    --neko-wp-background-color: #f0f0f1;\n\n    // Main color shades\n    --neko-main-overlay-color: rgb(30 124 186 / 85%);\n    --neko-main-color-10: hsl(206deg 100% 22.35%);\n    --neko-main-color-50: hsl(206deg 61.04% 54.71%);\n    --neko-main-color-80: hsl(206deg 55.93% 88.43%);\n    --neko-main-color-98: hsl(200deg 100% 98.82%);\n\n    // Neko UI\n    --neko-background-color: var(--neko-wp-background-color);\n    --neko-disabled-color: var(--neko-gray-60);\n    --neko-main-color-alternative: var(--neko-main-color-10);\n    --neko-main-color-disabled: var(--neko-main-color-50);\n    --neko-input-background: var(--neko-main-color-98);\n    --neko-input-border: var(--neko-main-color-80);\n  }\n"],i||(i=o.slice(0)),r=Object.freeze(Object.defineProperties(o,{raw:{value:Object.freeze(i)}}))),s.blue,s.white,s.black,s.purple,s.orange,s.yellow,s.green,s.red,s.gray30,s.gray60,s.gray98),c=function(){return{colors:s}},u=function(e){var t=e.children;return React.createElement(React.Fragment,null,React.createElement(l,{key:"neko-ui-styles"}),t)};const h=function(e){var t=e.children;return React.createElement(u,null,t)}},9296:(e,t,n)=>{"use strict";n.d(t,{M:()=>x});var r,o=n(1594),i=n(6365),a=n.n(i),s=n(3185),l=n(5977),c=n(6087),u=n(8922),h=n(1329),f=n(6897),d=["className","disabled","icon","color","onClick","rounded","isBusy","spinning","disabledColor","busyText","hideBusyIcon","busyIconSize","requirePro","isPro","small","width","height","fullWidth","startTime","children"];function p(){return p=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},p.apply(this,arguments)}function m(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}var g,y,v=(0,s.Ay)((function(e){var t=e.className,n=void 0===t?"primary":t,r=e.disabled,i=void 0!==r&&r,a=e.icon,s=void 0===a?null:a,l=e.color,g=void 0===l?null:l,y=e.onClick,v=void 0===y?function(){}:y,b=e.rounded,x=e.isBusy,w=void 0!==x&&x,k=e.spinning,S=void 0!==k&&k,O=(e.disabledColor,e.busyText),_=e.hideBusyIcon,E=void 0!==_&&_,C=e.busyIconSize,A=e.requirePro,j=void 0!==A&&A,P=e.isPro,M=void 0!==P&&P,R=e.small,T=e.width,L=(e.height,e.fullWidth),I=e.startTime,N=void 0===I?null:I,z=e.children,D=function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,d);i=i&&!w;var F,B,$=!!s,H=j&&!M,W=(0,o.useMemo)((function(){var e=null!=T?T:30;return b?e-10:e-6}),[T,b]),q=(0,o.useMemo)((function(){return C||"22px"}),[C]),V=(F=(0,o.useState)(null),B=2,function(e){if(Array.isArray(e))return e}(F)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(F,B)||function(e,t){if(e){if("string"==typeof e)return m(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)?m(e,t):void 0}}(F,B)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),U=V[0],K=V[1];(0,f.$$)((function(){return K(new Date)}),N?1e3:null),(0,o.useEffect)((function(){N||K(null)}),[N]);var Q=(0,o.useMemo)((function(){if(!N||!U)return null;var e=Math.floor((U-N)/1e3),t=Math.floor(e/60),n=e%60;return"".concat(t.toString().padStart(2,"0"),":").concat(n.toString().padStart(2,"0"))}),[U,N]),G=(0,f.gR)("neko-button",n,{"has-icon":$},{"custom-color":g},{small:R},{rounded:b},{busy:w},{"is-pro":H},{full:L});return React.createElement("button",p({type:"button",className:G,onClick:function(e){i||v(),e.stopPropagation(),e.preventDefault()},disabled:i||H},D),w&&!E&&React.createElement(React.Fragment,null,React.createElement(c.X,{type:"circle",color:"#fff",size:q})),w&&Q&&React.createElement("span",{className:"chrono-time"},Q),w&&!!O&&React.createElement("span",{style:{marginLeft:E?0:"4px",marginRight:"2px"}},O),$&&!w&&React.createElement(u.z,{raw:!0,icon:s,width:W,height:W,spinning:S,style:b?{margin:"0 auto"}:{}}),!!z&&!w&&React.createElement("span",{style:{marginLeft:$?"4px":0,marginRight:$?"2px":0}},z),H&&React.createElement(h.K,{style:{marginLeft:"8px"}}))}))(r||(g=["\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  box-sizing: border-box;\n  height: 30px;\n  min-height: 30px;\n  min-width: 40px;\n  border: none;\n  border-radius: 4px;\n  text-align: center;\n  padding: 0 15px;\n  vertical-align: middle;\n  background-color: var(--neko-main-color);\n  color: white;\n\n  span {\n    white-space: nowrap;\n    text-overflow: ellipsis;\n    display: flex;\n    align-items: center;\n  }\n\n  .chrono-time {\n    font-size: 11px;\n    margin-left: 5px;\n  }\n\n  &:not([disabled]):hover {\n    cursor: pointer;\n    background-image: none;\n    filter: brightness(1.1);\n  }\n\n  &:disabled {\n    opacity: 0.35;\n  }\n\n  &:focus {\n    outline: none;\n  }\n\n  &.is-pro {\n    background-image: none;\n    background-color: var(--neko-main-color-disabled);\n    rgb(255 255 255 / 65%);\n    align-items: center;\n    opacity: 1;\n  }\n\n  &.has-icon {\n    align-items: center;\n    padding: 2.5px 8px;\n\n    svg {\n      color: white;\n    }\n  }\n\n  &.secondary {\n    background-image: none;\n    background-color: var(--neko-secondary);\n    color: var(--neko-main-color);\n    border: 1px solid var(--neko-primary);\n\n    svg {\n      color: var(--neko-main-color);\n    }\n\n    &:hover {\n      background-color: var(--neko-secondary);\n      border: 1px solid var(--neko-primary);\n      filter: brightness(1.1);\n    }\n  }\n\n  &.danger {\n    background-image: none;\n    background-color: var(--neko-danger);\n    border-color: var(--neko-danger);\n  }\n\n  &.success {\n    background-image: none;\n    background-color: var(--neko-green);\n    border-color: var(--neko-green);\n\n    &:hover {\n      background-color: var(--neko-lighten-green);\n    }\n  }\n\n  & + button {\n    margin-left: .25rem;\n  }\n\n  &.small {\n    font-size: var(--neko-small-font-size);\n    height: 24px;\n    min-height: 24px;\n  }\n\n  &.header {\n    background-image: none;\n    filter: brightness(1.1);\n    background-color: var(--neko-main-color);\n    height: 40px;\n    padding: 0 20px;\n\n    &:hover {\n      background-color: var(--neko-main-color);\n      filter: brightness(1.2);\n    }\n  }\n\n  &.rounded {\n    border-radius: 100%;\n    min-width: 30px;\n    height: ","px;\n    width: ","px;\n    padding: 3px;\n  }\n\n  &.busy {\n    pointer-events: none;\n  }\n\n  &.full {\n    width: 100%;\n  }\n\n  ","\n"],y||(y=g.slice(0)),r=Object.freeze(Object.defineProperties(g,{raw:{value:Object.freeze(y)}}))),(function(e){var t,n;return null!==(t=e.height)&&void 0!==t?t:null!==(n=e.width)&&void 0!==n?n:30}),(function(e){var t;return null!==(t=e.width)&&void 0!==t?t:30}),(function(e){return b(e.color)})),b=function(e){if(e)return"\n      &.custom-color {\n        background-color: ".concat(e,";\n        border: 1px solid ").concat(e,";\n\n        &:hover {\n          background-color: ").concat(e,";\n          filter: brightness(1.1);\n        }\n      }\n    ")},x=function(e){return React.createElement(v,e)};x.propTypes={className:a().oneOf(["primary","primary-block","secondary","danger","success","header"]),disabled:a().bool,icon:a().oneOfType([a().instanceOf(l.In),a().oneOf(["setting","edit","trash"])]),color:a().string,onClick:a().func.isRequired,rounded:a().bool,isBusy:a().bool,spinning:a().bool,busyText:a().string,hideBusyIcon:a().bool,busyIconSize:a().string,requirePro:a().bool,isPro:a().bool,disabledColor:a().string}},2557:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(1594),o=n.n(r),i=n(6365),a=n.n(i),s=n(6897);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(){return c=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},c.apply(this,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){var r,o,i;r=e,o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(t)?t:String(t)}(o))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(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}var d=function(e){var t,n,i=e.spinner,a=void 0===i||i,l=e.busy,u=void 0!==l&&l,d=e.overlayStyle,p=(t=(0,r.useState)(!0),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return f(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)?f(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=p[0],g=p[1];(0,r.useEffect)((function(){var e;return u?g(!0):e=setTimeout((function(){g(!1),e=null}),250),function(){e&&clearTimeout(e)}}),[u]);var y=(0,s.gR)("neko-overlay",{overlayHidden:!u}),v=m?o().createElement(o().Fragment,null,o().createElement("div",{className:y,style:d},Boolean(a)&&o().createElement("div",{className:"lds-ellipsis "+(u?"":"spinnerHidden")},o().createElement("div",null),o().createElement("div",null),o().createElement("div",null),o().createElement("div",null))),o().createElement("style",{jsx:"true"},"\n        .neko-overlay {\n          position: absolute;\n          top: 0;\n          left: 0;\n          bottom: 0;\n          width: 100%;\n          height: 100%;\n          background: var(--neko-main-overlay-color);\n          border-radius: 8px;\n          transition: opacity 1s ease-out;\n          z-index: 10;\n          display: flex;\n          align-items: center;\n          flex-direction: column;\n          justify-content: center;\n          overflow: hidden;\n        }\n\n        .overlayHidden {\n          opacity: 0;\n          transition: opacity 0.25s ease-out;\n        }\n        .spinnerHidden {\n          opacity: 0;\n          transition: opacity 0.25s ease-out;\n        }\n        .lds-ellipsis {\n          position: relative;\n          width: 80px;\n          height: 80px;\n          display: flex;\n          justify-items: center;\n          align-items: center;\n        }\n        .lds-ellipsis div {\n          position: absolute;\n          width: 13px;\n          height: 13px;\n          border-radius: 50%;\n          background: white;\n          animation-timing-function: cubic-bezier(0, 1, 1, 0);\n        }\n        .lds-ellipsis div:nth-child(1) {\n          left: 8px;\n          animation: lds-ellipsis1 0.6s infinite;\n        }\n        .lds-ellipsis div:nth-child(2) {\n          left: 8px;\n          animation: lds-ellipsis2 0.6s infinite;\n        }\n        .lds-ellipsis div:nth-child(3) {\n          left: 32px;\n          animation: lds-ellipsis2 0.6s infinite;\n        }\n        .lds-ellipsis div:nth-child(4) {\n          left: 56px;\n          animation: lds-ellipsis3 0.6s infinite;\n        }\n        @keyframes lds-ellipsis1 {\n          0% {\n            transform: scale(0);\n          }\n          100% {\n            transform: scale(1);\n          }\n        }\n        @keyframes lds-ellipsis3 {\n          0% {\n            transform: scale(1);\n          }\n          100% {\n            transform: scale(0);\n          }\n        }\n        @keyframes lds-ellipsis2 {\n          0% {\n            transform: translate(0, 0);\n          }\n          100% {\n            transform: translate(24px, 0);\n          }\n        }\n      ")):null,b=h(h({},e),{},{busy:void 0,spinner:void 0});return o().createElement("div",c({style:{position:"relative"}},b),v,e.children)};d.propTypes={busy:a().bool.isRequired,spinner:a().bool,children:a().oneOfType([a().arrayOf(a().node),a().node]).isRequired};const p=d},5263:(e,t,n)=>{"use strict";n.d(t,{R:()=>y});var r,o=n(1594),i=n.n(o),a=n(6365),s=n.n(a),l=n(3185),c=n(1329),u=n(6087),h=n(6897),f=["name","checked","indeterminate","onChange","label","description","isPro","disabled","requirePro","isBusy","small"];function d(){return d=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},d.apply(this,arguments)}var p,m,g=l.Ay.div(r||(p=["\n  user-select: none;\n  transition: color 0.3s ease;\n\n  &.disabled {\n    color: var(--neko-disabled-color);\n\n    .neko-content {\n      cursor: default;\n    }\n\n    .neko-checkbox-check-container, .neko-label, .description {\n      opacity: 0.35;\n    }\n  }\n\n  input {\n    display: none;\n  }\n\n  .neko-content {\n    cursor: pointer;\n    display: flex;\n  }\n\n  .neko-checkbox-check-container {\n    display: flex;\n    padding-top: 2px;\n    align-content: center;\n\n    .neko-checkbox-busy-container {\n      position: relative;\n    }\n  }\n\n  .neko-checkbox-inner-container {\n    margin-left: 6px;\n\n    .neko-label-container {\n      display: flex;\n      margin-top: 5px;\n\n      .neko-label {\n        display: block;\n        ","\n      }\n    }\n\n    .neko-content {\n      display: block;\n      font-size: var(--neko-font-size);\n      line-height: 28px;\n    }\n\n    .description {\n      display: block;\n      font-size: var(--neko-small-font-size);\n      margin-top: 1px;\n      line-height: 14px;\n      color: var(--neko-gray-60);\n\n      * {\n        font-size: var(--neko-small-font-size);\n        line-height: inherit;\n        margin: 0;\n      }\n    }\n  }\n\n  .neko-checkbox {\n    width: 22px;\n    height: 22px;\n    border: 2px solid var(--neko-input-border);\n    border-radius: 5px;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    position: relative;\n\n    .neko-checked-mark {\n      position: absolute;\n      opacity: 0;\n      transition: opacity 0.2s ease-in-out;\n      transform: rotate(45deg);\n      transform-origin: center;\n      margin-top: -8%;\n      height: 45%;\n      width: 18%;\n      border-bottom: 2.5px solid white;\n      border-right: 2.5px solid white;\n    }\n\n    &.small {\n      width: 20px;\n      height: 20px;\n      border: 2px solid var(--neko-input-border);\n      border-radius: 8px;\n\n      .neko-checked-mark {\n        border-bottom-width: 1.5px;\n        border-right-width: 1.5px;\n      }\n    }\n\n    .neko-indeterminate-mark {\n      position: absolute;\n      opacity: 0;\n      transition: opacity 0.2s ease-in-out;\n      width: 50%;\n      border-bottom: 1.5px solid white;\n      border-right: 1.5px solid white;\n    }\n\n    &.disabled {\n      border: 1.5px solid var(--neko-disabled-color);\n      cursor: not-allowed;\n      filter: grayscale(1);\n    }\n  }\n\n  .neko-checked {\n    border: 2px solid var(--neko-main-color);\n\n    &.neko-checkbox {\n      background-color: var(--neko-main-color);\n\n      .neko-checked-mark {\n        opacity: 1;\n      }\n    }\n  }\n\n  .neko-indeterminate {\n    &.neko-checkbox {\n      background-color: var(--neko-main-color);\n\n      .neko-indeterminate-mark {\n        opacity: 1;\n      }\n    }\n  }\n\n  &:hover {\n    .neko-checkbox {\n      ","\n    }\n\n    ","\n    }\n  }\n"],m||(m=p.slice(0)),r=Object.freeze(Object.defineProperties(p,{raw:{value:Object.freeze(m)}}))),(function(e){var t=e.checked;return!e.disabled&&t?"color: var(--neko-main-color); font-weight: 600;":""}),(function(e){var t=e.checked;return!e.disabled&&t?"filter: brightness(1.1);":""}),(function(e){var t=e.checked;return e.disabled||t?"":"border-color: var(--neko-main-color);"})),y=function(e){var t=e.name,n=e.checked,r=void 0!==n&&n,o=e.indeterminate,a=void 0!==o&&o,s=e.onChange,l=e.label,p=e.description,m=e.isPro,y=void 0!==m&&m,v=e.disabled,b=e.requirePro,x=void 0!==b&&b,w=e.isBusy,k=void 0!==w&&w,S=e.small,O=void 0!==S&&S,_=function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,f),E=x&&!y,C=v||E,A=(0,h.gR)("neko-checkbox",e.className,{disabled:C},{small:O}),j=(0,h.gR)("neko-checkbox",{disabled:C,"neko-checked":r,"neko-indeterminate":a,small:O}),P=(0,h.gR)("neko-checked-mark"),M=(0,h.gR)("neko-indeterminate-mark");return i().createElement(g,d({className:A,checked:r,disabled:C,onClick:function(e){return e.stopPropagation()}},_),i().createElement("div",{className:"neko-checkbox-container"},i().createElement("div",{className:"neko-content",onClick:function(n){C||(s?s(!r,t,n):console.log("The onChange handler is not set for the NekoCheckbox.",e))}},i().createElement("div",{className:"neko-checkbox-check-container"},k&&i().createElement("div",{className:"neko-checkbox-busy-container"},i().createElement("div",{className:j},i().createElement(u.X,{type:"circle",size:"16px"}))),!k&&i().createElement(i().Fragment,null,i().createElement("div",{className:j},i().createElement("div",{className:P}),i().createElement("div",{className:M})))),(l||E||p)&&i().createElement("div",{className:"neko-checkbox-inner-container"},i().createElement("span",{className:"neko-label-container"},i().createElement("span",{className:"neko-label"},l),i().createElement(c.K,{className:"inline",show:E,style:{position:"relative",top:-1}})),p?i().createElement("small",{className:"description"},p):null))))};y.propTypes={name:s().string,checked:s().bool,label:s().string,description:s().string,isPro:s().bool,requirePro:s().bool,isBusy:s().bool,small:s().bool}},4536:(e,t,n)=>{"use strict";n.d(t,{E:()=>h});var r,o,i,a=n(1594),s=n.n(a),l=n(6365),c=n.n(l),u=(0,n(3185).Ay)((function(e){var t=e.name,n=(e.max,e.isPro),r=void 0!==n&&n;return s().Children.map(e.children,(function(e){return e.props.name?e:s().cloneElement(e,{name:t,isPro:r})}))}))(r||(o=["\n"],i||(i=o.slice(0)),r=Object.freeze(Object.defineProperties(o,{raw:{value:Object.freeze(i)}})))),h=function(e){return s().createElement(u,e)};h.propTypes={name:c().string,max:c().number,isPro:c().bool}},8696:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r,o=n(1594),i=n.n(o),a=n(6365),s=n.n(a),l=n(3185),c=n(8922),u=n(6897),h=["type","name","value","description","placeholder","onChange","onEnter","onBlur","onFinalChange","readOnly","step","min","max","maxLength","natural","onReset","isCommaSeparatedArray","className","style","inputStyle"];function f(){return f=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},f.apply(this,arguments)}function d(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}var p,m,g=function(e){return e.split(",").map((function(e){return e.trim()})).filter((function(e){return e.length>0}))},y=function(e,t){var n,r,a=e.type,s=void 0===a?"text":a,l=e.name,p=e.value,m=void 0===p?"":p,y=e.description,v=e.placeholder,b=void 0===v?"":v,x=e.onChange,w=e.onEnter,k=e.onBlur,S=e.onFinalChange,O=e.readOnly,_=void 0!==O&&O,E=e.step,C=void 0===E?1:E,A=e.min,j=void 0===A?0:A,P=e.max,M=void 0===P?null:P,R=e.maxLength,T=e.natural,L=void 0!==T&&T,I=e.onReset,N=e.isCommaSeparatedArray,z=void 0!==N&&N,D=e.className,F=e.style,B=e.inputStyle,$=function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,h),H=(n=(0,o.useState)(m||0===m?m:""),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(n,r)||function(e,t){if(e){if("string"==typeof e)return d(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)?d(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),W=H[0],q=H[1],V=!!x,U=R||("number"===s?3:void 0);(0,o.useEffect)((function(){S&&(w||k)&&console.warn("NekoInput: Since onFinalChange is used, onEnter and onBlur are redundant.")}),[S,w,k]),(0,o.useEffect)((function(){var e;V||q(z?(e=m,Array.isArray(e)||(console.warn("The provided value is not an array. Falling back to an empty array."),e=[]),e.join(", ")):m)}),[m]);var K=function(e){var t=e.target.value,n=z?g(t):t;e.stopPropagation(),e.preventDefault(),V?x(n,l):q(t)},Q=function(e){if("Enter"===e.key){e.preventDefault();var t=e.target.value,n=z?g(t):t;S?S(n,l):w&&w(n,l)}},G=function(e){var t=e.target.value,n=z?g(t):t;(z?function(e,t){if(!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(m,n):m===n)||(S?S(n,l):k&&k(n,l))},Y=(0,u.gR)("neko-input",{natural:L});return i().createElement("div",{className:D,style:F},i().createElement("div",{style:{position:"relative"}},"number"===s?i().createElement("input",f({ref:t,className:Y,name:l,value:V?m:W,type:s,disabled:_,step:C,min:j,max:M,maxLength:U,autoComplete:"off","data-form-type":"other",placeholder:b,style:B,onChange:K,onKeyPress:Q,onBlur:function(e){!function(e){var t=Number(e.target.value);j&&t<Number(j)?e.target.value=j:M&&t>Number(M)&&(e.target.value=M)}(e),G(e)},readOnly:_},$)):i().createElement("input",f({ref:t,className:Y},$,{name:l,value:V?m:W,type:s,disabled:_,spellCheck:"false",autoComplete:"off","data-form-type":"other",placeholder:b,style:B,maxLength:U,onChange:K,onKeyPress:Q,onBlur:G,readOnly:_},$)),!!m&&!!I&&i().createElement(c.z,{icon:"close",width:24,style:{position:"absolute",top:"3px",right:"3px"},variant:"blue",onClick:function(){return I()}})),y&&i().createElement("p",{className:"neko-input-description"},y))},v=(0,l.Ay)((0,o.forwardRef)(y))(r||(p=["\n  .neko-input {\n    font-family: var(--neko-font-family);\n    font-size: var(--neko-font-size);\n    border: 1.5px solid var(--neko-input-border);\n    box-sizing: border-box;\n    height: 30px;\n    background: var(--neko-input-background);\n    color: black;\n    padding: 0 10px;\n    width: 100%;\n    transition: background 0.3s ease;\n\n    &.natural {\n      border-color: gray;\n      border-width: 1px;\n    }\n\n    &:placeholder {\n      color: rgba(0, 0, 0, 0.25);\n    }\n\n    &:focus {\n      background-color: white;\n    }\n\n    &:read-only {\n      color: var(--neko-gray-60);\n    }\n\n    &:disabled {\n      color: var(--neko-gray-60);\n      background: var(--neko-gray-98);\n      border: none;\n      box-shadow: none;\n    }\n  }\n\n  .neko-input-description {\n    font-size: var(--neko-small-font-size);\n    color: var(--neko-gray-60);\n    line-height: 14px;\n    margin-top: 5px;\n    margin-bottom: 0;\n  }\n"],m||(m=p.slice(0)),r=Object.freeze(Object.defineProperties(p,{raw:{value:Object.freeze(m)}})))),b=i().forwardRef((function(e,t){return i().createElement(v,f({ref:t},e))}));b.propTypes={type:s().oneOf(["number","text"]),name:s().string,value:s().oneOfType([s().string,s().array]),description:s().string,placeholder:s().string,onChange:s().func,onEnter:s().func,onBlur:s().func,onFinalChange:s().func,readOnly:s().bool,step:s().number,min:s().number,max:s().number,maxLength:s().number,natural:s().bool,onReset:s().func,isCommaSeparatedArray:s().bool}},4677:(e,t,n)=>{"use strict";n.d(t,{j:()=>$,u:()=>B});var r,o,i,a,s,l,c,u=n(1594),h=n.n(u),f=n(6365),d=n.n(f),p=n(1329),m=n(6897),g=n(6087),y=n(5977),v=n(2027),b=n(6761),x=n(4555),w=n(6382),k=n(8922),S=n(8696),O=n(374),_=n(3185);function E(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var C=_.Ay.div(r||(r=E(["\n  border-radius: 8px;\n  user-select: none;\n  cursor: pointer;\n  transition: background 0.3s ease, color 0.3s ease;\n  color: black;\n\n  .neko-select-option-label {\n    overflow: hidden;\n    height: 100%;\n    display: flex;\n    align-items: center;\n  }\n\n  &.show-options {\n    border-radius: 8px 8px 0 0;\n  }\n\n  &[data-is-disabled=true], &.disabled {\n    cursor: none;\n    pointer-events: none;\n    color: var(--neko-gray-60);\n\n    .neko-select-option {\n      pointer-events: none;\n      background: var(--neko-gray-98);\n      border-color: var(--neko-gray-60);\n    }\n  }\n\n  &.neko-dropdown-up {\n    background: red !important;\n  }\n"]))),A=_.Ay.div(o||(o=E(["\n  align-items: center;\n  background-color: var(--neko-input-background);\n  border: 1.5px solid var(--neko-input-border);\n  border-radius: 8px;\n  display: flex;\n  font-size: var(--neko-font-size); \n  padding: 0 5px 0 10px;\n  box-sizing: border-box;\n  height: 30px;\n\n  &.isBusy {\n    padding-left: 5px;\n  }\n\n  .rightContent {\n    align-items: center;\n    display: flex;\n    margin-left: auto;\n  }\n"]))),j=_.Ay.div(i||(i=E(["\n  display: block;\n  margin-top: 5px;\n  font-size: var(--neko-small-font-size);\n  line-height: 14px;\n  color: var(--neko-gray-60);\n\n  * {\n    line-height: inherit;\n    margin: 0;\n  }\n"]))),P=_.Ay.div(a||(a=E(["\n  border-radius: 8px;\n  overflow: hidden;\n  position: absolute;\n  top: 0;\n  width: 100%;\n\n  &.hidden {\n    opacity: 0;\n  }\n\n  &.neko-dropdown-up {\n    margin-top: calc(-200% + 22px);\n  }\n"]))),M=_.Ay.div(s||(s=E(["\n  overflow-y: auto;\n  max-height: 300px;\n  background-color: var(--neko-main-color-alternative);\n\n  &.neko-select-filter-container {\n    background-color: var(--neko-main-color-alternative);\n    padding: 6px;\n    margin-top: 2px;\n    overflow: hidden;\n\n    div {\n      overflow: hidden;\n    }\n  }\n"]))),R=_.Ay.div(l||(l=E(["\n  margin-bottom: 0px;\n\n  input {\n    display: none;\n  }\n\n  label {\n    cursor: pointer;\n    display: flex;\n  }\n\n  .inner-container {\n    margin-left: 4px;\n\n    .label {\n      display: block;\n      font-size: var(--neko-font-size);\n      line-height: 17px;\n      padding-top: 4.5px;\n      padding-bottom: 4px;\n    }\n    .description {\n      display: block;\n      font-size: var(--neko-small-font-size);\n    }\n  }\n\n  &.disabled {\n    color: var(--neko-disabled-color);\n\n    label {\n      cursor: default;\n    }\n  }\n"]))),T=_.Ay.div(c||(c=E(["\n  background-color: var(--neko-main-color-alternative);\n  cursor: pointer;\n  font-size: var(--neko-font-size); \n  padding: 6px 12px;\n\n  &:hover {\n    filter: brightness(80%);\n  }\n\n  input {\n    display: none;\n  }\n\n  .option {\n    align-items: center;\n    color: var(--neko-white);\n    display: flex;\n    justify-content: space-between;\n    font-size: var(--neko-font-size); \n    line-height: 17px;\n\n    .option-group {\n      align-items: center;\n      display: flex;\n    }\n  }\n\n  &.disabled {\n    background-color: rgb(224 156 54);\n    pointer-events: none;\n\n    .option {\n      color: rgb(255 255 255 / 35%);\n    }\n  }\n"]))),L=["name","description","scrolldown","isPro","onChange","isBusy","chevronIconSize","textFiltering","value","className","disabled","requirePro"];function I(){return I=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},I.apply(this,arguments)}function N(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return z(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)?z(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(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}var D=function(e){var t,n=e.name,r=e.description,o=e.scrolldown,i=void 0!==o&&o,a=e.isPro,s=void 0!==a&&a,l=e.onChange,c=e.isBusy,f=void 0!==c&&c,d=e.chevronIconSize,v=void 0===d?24:d,b=e.textFiltering,_=e.value,E=e.className,R=e.disabled,T=(e.requirePro,function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,L)),z=null===(t=h().Children.toArray(e.children).find((function(e){return e.props.value===_||e.props.checked})))||void 0===t?void 0:t.props,D=(null==z?void 0:z.label)||"Select",F=(null==z?void 0:z.description)||r,B=(null==z?void 0:z.requirePro)||!1,$=null==z?void 0:z.icon,H=null==z?void 0:z.iconSize,W=N((0,u.useState)(!1),2),q=W[0],V=W[1],U=N((0,u.useState)(""),2),K=U[0],Q=U[1],G=(0,u.useRef)(),Y=B&&!s,Z=function(t){if(t!==_){if(!l)return void console.log("The onChange handler it not set for this checkbox.",e);l(t,n)}i&&V(!1)},X=h().Children.map(e.children,(function(e){return e?h().cloneElement(e,{name:e.props.name||n,checked:e.props.value===_||e.props.checked,onClick:Z,scrolldown:i,isPro:s,disabled:R}):null})),J=(0,u.useMemo)((function(){if(!K||!X.length)return X;var e=[];return h().Children.forEach(X,(function(t){(t.props.label.includes(K)||t.props.value.includes(K))&&e.push(t)})),e}),[X,K]),ee=(0,m.gR)("neko-select",E,{"show-options":q,disabled:R||f}),te=(0,m.gR)("neko-select-options",{hidden:!q}),ne=(0,m.gR)("neko-select-option",{isBusy:f});return i?h().createElement(C,I({name:n},T,{onClick:function(){return V(!q)},className:ee,"data-is-disabled":R||f}),h().createElement(A,{className:ne,ref:G},f?h().createElement(h().Fragment,null,h().createElement(g.X,{type:"circle",size:"20px"})):h().createElement(h().Fragment,null,$&&h().createElement(k.z,{icon:$,width:H,height:H,style:{marginRight:"".concat(Math.max(H-15,4),"px")}}),h().createElement("span",{className:"neko-select-option-label"},D),h().createElement("div",{className:"rightContent"},Y&&h().createElement(p.K,null),h().createElement(y.In,{icon:q?w.A:x.A,width:v})))),F&&h().createElement(j,null,F),h().createElement(O.G,{visible:q,targetRef:G,onClose:function(){q&&V(!1)}},h().createElement(P,{className:te},b&&h().createElement(M,{className:"neko-select-filter-container"},h().createElement(S.A,{value:K,placeholder:"Search...",onChange:function(e){return Q(e)},onClick:function(e){return e.stopPropagation()},style:{background:"var(--neko-white)"},inputStyle:{margin:0,borderRadius:0},autoFocus:!0})),h().createElement(M,null,[J])))):X},F=function(e){var t=e.id,n=e.name,r=e.value,o=e.checked,i=void 0!==o&&o,a=e.label,s=e.description,l=e.onClick,c=e.scrolldown,u=void 0!==c&&c,f=e.isPro,d=void 0!==f&&f,g=e.optionDisabled,x=void 0!==g&&g,w=e.requirePro,S=void 0!==w&&w,O=e.icon,_=e.iconSize,E=void 0===_?20:_,C=S&&!d,A=(0,m.gR)({"neko-radio":!u},{"neko-select-option":u},e.className,{disabled:C||x}),j=h().createElement(R,{className:A,onClick:function(){return l(r,n)}},h().createElement("label",{htmlFor:t},h().createElement(y.In,{icon:i?b.A:v.A,width:"24px",color:C?"var(--neko-disabled-color)":i?"var(--neko-main-color)":"var(--neko-input-border)"}),h().createElement("div",{className:"inner-container"},h().createElement("span",{className:"label"},a,h().createElement(p.K,{className:"inline",style:{top:-1},show:C})),s?h().createElement("small",{className:"description"},s):null))),P=h().createElement(T,{className:A,onClick:function(){return l(r,n)}},h().createElement("div",{className:"option"},h().createElement("div",{className:"option-group"},O&&h().createElement(k.z,{icon:O,width:E,height:E,style:{marginRight:"".concat(Math.max(E-11,4),"px")}}),a),h().createElement(p.K,{show:C})));return u?P:j},B=function(e){return h().createElement(D,e)};B.propTypes={name:d().string,description:d().string,scrolldown:d().bool,isPro:d().bool,onChange:d().func,isBusy:d().bool,chevronIconSize:d().number,textFiltering:d().bool};var $=function(e){return h().createElement(F,e)};$.propTypes={id:d().string,name:d().string,value:d().string,checked:d().bool,label:d().string,description:d().string,onClick:d().func,scrolldown:d().bool,isPro:d().bool,optionDisabled:d().bool,requirePro:d().bool,icon:d().string,iconSize:d().number}},8482:(e,t,n)=>{"use strict";n.d(t,{S:()=>m});var r,o=n(1594),i=n(6365),a=n.n(i),s=n(3185),l=n(6897),c=["width","height","fontSize","onLabel","offLabel","onBackgroundColor","offBackgroundColor","onValue","offValue","small","checked","onChange","disabled"];function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function h(e){return"number"==typeof e?"".concat(e,"px"):e}var f,d,p=s.Ay.div(r||(f=["\n  color: var(--neko-white);\n  font-family: var(--neko-font-family);\n  font-size: ",";\n  position: relative;\n  display: inline-block;\n  width: ",";\n  height: ",";\n\n  &[data-is-disabled=disabled] {\n    opacity: 0.4;\n\n    .neko-slider {\n      cursor: auto;\n    }\n  }\n\n  input {\n    opacity: 0;\n    width: 0;\n    height: 0;\n    border: 0;\n  }\n\n  .neko-slider {\n    background-color: ",';\n    border-radius: 35px;\n    align-items: center;\n    cursor: pointer;\n    display: inline-flex;\n    position: absolute;\n    top: 0;\n    left: 0;\n    right: 0;\n    bottom: 0;\n    transition: .4s;\n    margin-bottom: -2px;\n  }\n\n  .neko-slider:before {\n    border-radius: 50%;\n    position: absolute;\n    content: "";\n    height: ',";\n    width: ",';\n    left: 4px;\n    bottom: 5px;\n    background-color: white;\n    transition: .3s;\n  }\n\n  .neko-slider:after {\n    content: "','";\n    margin-left: auto;\n    margin-right: ',";\n  }\n\n  &.neko-checked .neko-slider {\n    background-color: ",";\n  }\n\n  &.neko-checked .neko-slider:before {\n    transform: translateX(",');\n  }\n\n  &.neko-checked .neko-slider:after {\n    content: "','";\n    margin-left: ',";\n    margin-right: auto;\n  }\n"],d||(d=f.slice(0)),r=Object.freeze(Object.defineProperties(f,{raw:{value:Object.freeze(d)}}))),(function(e){return e.fontSize}),(function(e){return h(e.width)}),(function(e){return h(e.height)}),(function(e){return e.$offBackgroundColor||"var(--neko-disabled-color)"}),(function(e){return"calc(".concat(h(e.height)," - 8px)")}),(function(e){return"calc(".concat(h(e.height)," - 8px)")}),(function(e){return e.$offLabel}),(function(e){return"calc(".concat(h(e.height)," / 2)")}),(function(e){return e.$onBackgroundColor}),(function(e){return"calc(".concat(h(e.width)," - ").concat(h(e.height),")")}),(function(e){return e.$onLabel}),(function(e){return"calc(".concat(h(e.height)," / 2)")})),m=function(e){var t=e.width,n=void 0===t?40:t,r=e.height,i=void 0===r?24:r,a=e.fontSize,s=void 0===a?"13px":a,h=e.onLabel,f=void 0===h?"Yes":h,d=e.offLabel,m=void 0===d?"No":d,g=e.onBackgroundColor,y=void 0===g?"var(--neko-success)":g,v=e.offBackgroundColor,b=void 0===v?"var(--neko-disabled-color)":v,x=e.onValue,w=e.offValue,k=e.small,S=e.checked,O=void 0!==S&&S,_=e.onChange,E=e.disabled,C=void 0!==E&&E,A=function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,c),j=(0,l.gR)("neko-switch",{small:k,"neko-checked":O}),P=(0,o.useCallback)((function(e){C||_(e?void 0===x||x:void 0!==w&&w)}),[x,w,_,C]);return k&&(i=20,s="11px"),React.createElement(p,u({className:j,width:n,height:i,fontSize:s},A,{$offBackgroundColor:b,$onBackgroundColor:y,$onLabel:f,$offLabel:m,"data-is-disabled":C?"disabled":""}),React.createElement("span",{className:"neko-slider",onClick:function(){return P(!O)}}))};m.propTypes={width:a().number,height:a().number,fontSize:a().string,onValue:a().string,offValue:a().string,checked:a().bool,onBackgroundColor:a().string,offBackgroundColor:a().string,onLabel:a().string,offLabel:a().string}},3896:(e,t,n)=>{"use strict";n.d(t,{m:()=>x});var r=n(1594),o=n.n(r),i=n(6365),a=n.n(i),s=n(3185),l=n(6897);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var u,h=["name","value","rows","description","placeholder","onEnter","onBlurForce","readOnly","avoidOnEnterWithShift","fullHeight","maxLength","className","style","textAreaStyle","countable","disabled","tabToSpaces"];function f(){return f=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},f.apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){var r,o,i;r=e,o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(t)?t:String(t)}(o))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||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)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}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}var y,v,b=(0,s.Ay)((function(e){var t,n=e.name,i=e.value,a=void 0===i?"":i,s=e.rows,c=void 0===s?6:s,u=e.description,d=e.placeholder,g=void 0===d?"":d,y=e.onEnter,v=void 0===y?null:y,b=e.onBlurForce,x=void 0!==b&&b,w=e.readOnly,k=void 0!==w&&w,S=e.avoidOnEnterWithShift,O=void 0!==S&&S,_=e.fullHeight,E=void 0!==_&&_,C=e.maxLength,A=void 0===C?null:C,j=e.className,P=e.style,M=e.textAreaStyle,R=void 0===M?{}:M,T=e.countable,L=void 0!==T&&T,I=e.disabled,N=e.tabToSpaces,z=function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,h),D=m((0,r.useState)(a),2),F=D[0],B=D[1],$=m((0,r.useState)(0),2),H=$[0],W=$[1],q=m((0,r.useState)(!1),2),V=q[0],U=q[1],K=!!e.onChange,Q=(0,r.useRef)(null),G=(0,r.useCallback)((function(e){if(N&&"Tab"===e.key){e.preventDefault();var t=Q.current.selectionStart,n=Q.current.selectionEnd,r=Q.current.value;Q.current.value=r.substring(0,t)+"  "+r.substring(n),Q.current.selectionStart=Q.current.selectionEnd=t+2}else U(e.shiftKey)}),[]),Y=(0,r.useCallback)((function(){U(!1)}),[]);(0,r.useEffect)((function(){return document.addEventListener("keydown",G,!1),document.addEventListener("keyup",Y,!1),function(){document.removeEventListener("keydown",G,!1),document.removeEventListener("keyup",Y,!1)}}),[]),(0,r.useEffect)((function(){if(K||B(a),"words"===L){var e=a.split(" ").filter((function(e){return""!==e})).length;W(e)}else L&&W(a.length)}),[a,L,K]);var Z=(0,r.useCallback)((function(t){var r=A?t.target.value.substr(0,A):t.target.value;t.stopPropagation(),K?e.onChange(r,n):B(r,n)}),[A,K,e,n]),X=(0,l.gR)(j,{disabled:I});return o().createElement("div",{className:X,style:P},o().createElement("div",{className:"neko-textarea-container"},o().createElement("textarea",f({ref:Q,className:"neko-textarea",rows:c,disabled:I},z,{name:n,spellCheck:"false",placeholder:g,onChange:Z,onKeyPress:function(t){if(v&&!t.shiftKey&&"Enter"===t.key){if(O&&V)return;t.preventDefault(),e.onEnter(t.target.value,n)}},onBlur:function(t){(x||e.onBlur&&a!==t.target.value)&&e.onBlur(t.target.value,n)},readOnly:k,style:p(p({},R),{},{height:E?"100%":null!==(t=R.height)&&void 0!==t?t:void 0}),value:K?a:F})),o().createElement("div",{className:"neko-text-area-extra"},u&&o().createElement("div",{className:"neko-input-description"},u),L&&o().createElement("div",{className:"neko-textarea-count"},H,A?" / ".concat(A):""," ","words"===L?"words":"chars"))))}))(u||(y=["\n  .neko-textarea-container {\n    position: relative;\n    height: ","\n  }\n\n  .neko-textarea {\n    font-size: var(--neko-font-size);\n    border: 1.5px solid var(--neko-input-border);\n    box-sizing: border-box;\n    background: var(--neko-input-background);\n    color: black;\n    padding: 5px 10px;\n    width: 100%;\n\n    &::placeholder {\n      color: rgba(0, 0, 0, 0.25);\n    }\n\n    :focus {\n      background-color: white;\n      border-color: #2271b1;\n      box-shadow: 0 0 0 1px #2271b1;\n      outline: 2px solid transparent;\n    }\n\n    :read-only {\n      background-color: var(--neko-gray-60);\n      border: none;\n    }\n  }\n\n  .neko-text-area-extra {\n    display: flex;\n    justify-content: space-between;\n    color: var(--neko-gray-60);\n    font-size: var(--neko-small-font-size);\n    line-height: 14px;\n\n    .neko-textarea-count {\n      margin: 5px 0 0 10px;\n      text-align: right;\n      min-width: 130px;\n      display: block;\n    }\n  \n    .neko-input-description {\n      margin-top: 5px;\n      margin-bottom: 0;\n      flex: auto;\n      font-size: var(--neko-small-font-size);\n    }\n  }\n\n  &.disabled {\n    .neko-textarea {\n      border: 1.5px solid var(--neko-disabled-color);\n      cursor: not-allowed;\n      opacity: 0.35;\n    }\n  }\n"],v||(v=y.slice(0)),u=Object.freeze(Object.defineProperties(y,{raw:{value:Object.freeze(v)}}))),(function(e){return e.fullHeight?"100%":void 0})),x=function(e){return o().createElement(b,e)};x.propTypes={name:a().string,value:a().string,rows:a().number,description:a().string,placeholder:a().string,onChange:a().func,onEnter:a().func,onBlur:a().func,onBlurForce:a().bool,readOnly:a().bool,avoidOnEnterWithShift:a().bool,fullHeight:a().bool}},8135:(e,t,n)=>{"use strict";n.d(t,{YS:()=>T,z3:()=>P,IU:()=>A,F1:()=>_,Tb:()=>j,yy:()=>M,FE:()=>R});var r=n(1594),o=n.n(r);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:String(t)}var c=s((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.url=r,this.message=t,this.code=n,this.body=o,this.debug=i,this.cancelledByUser="USER-ABORTED"===n}));function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,m(r.key),r)}}function h(e,t,n){return t=d(t),function(e,t){if(t&&("object"===S(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,f()?Reflect.construct(t,n||[],d(e).constructor):t.apply(e,n))}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function m(e){var t=function(e,t){if("object"!=S(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=S(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==S(t)?t:String(t)}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||w(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(){y=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof v?t:v,a=Object.create(i.prototype),s=new R(r||[]);return o(a,"_invoke",{value:A(e,n,s)}),a}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",d="suspendedYield",p="executing",m="completed",g={};function v(){}function b(){}function x(){}var w={};c(w,a,(function(){return this}));var k=Object.getPrototypeOf,O=k&&k(k(T([])));O&&O!==n&&r.call(O,a)&&(w=O);var _=x.prototype=v.prototype=Object.create(w);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(o,i,a,s){var l=h(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==S(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function A(t,n,r){var o=f;return function(i,a){if(o===p)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=j(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=p;var c=h(t,n,r);if("normal"===c.type){if(o=r.done?m:d,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=m,r.method="throw",r.arg=c.arg)}}}function j(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,j(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=h(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(S(t)+" is not iterable")}return b.prototype=x,o(_,"constructor",{value:x,configurable:!0}),o(x,"constructor",{value:b,configurable:!0}),b.displayName=c(x,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,c(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},E(C.prototype),c(C.prototype,s,(function(){return this})),t.AsyncIterator=C,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new C(u(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(_),c(_,l,"Generator"),c(_,a,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,R.prototype={constructor:R,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(M),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;M(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function v(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function b(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){v(i,r,o,a,s,"next",e)}function s(e){v(i,r,o,a,s,"throw",e)}a(void 0)}))}}function w(e,t){if(e){if("string"==typeof e)return k(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)?k(e,t):void 0}}function k(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 S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}var O=function(e){var t=[];return function(n,r){if("object"===S(r)&&null!==r){if(-1!==t.indexOf(r)){if(!e)throw console.warn("Circular reference found.",{key:n,value:r,cache:t,cacheIndex:t.indexOf(r)}),new Error("Circular reference found. Cancelled.");return}t.push(r)}return r}};function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return JSON.stringify(e,O(n),t)}var E=function(e){if(!e.data)return e;if(e.data.length>0&&e.data[0].meta){var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=w(e))){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(e.data);try{for(n.s();!(t=n.n()).done;){var r=t.value;try{r.meta=JSON.parse(r.meta)}catch(e){console.error("[JsonFetcher]","Could not decode meta.",r.meta)}}}catch(e){n.e(e)}finally{n.f()}}else if(e.data.meta)try{e.data.meta=JSON.parse(e.data.meta)}catch(e){console.error("[JsonFetcher]","Could not decode meta.",x.meta)}return e},C=function(){var e=b(y().mark((function e(t){var n,r,o,i,a,s,l,u,h,f=arguments;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=f.length>1&&void 0!==f[1]?f[1]:{},r=null,o={},i=null,a=null,e.prev=5,(n=n||{}).headers=n.headers?n.headers:{},n.headers.Pragma="no-cache",n.headers["Cache-Control"]="no-cache",e.next=12,fetch("".concat(t),n);case 12:return a=e.sent,e.next=15,a.text();case 15:r=e.sent,(o=JSON.parse(r)).success||(s=!1===o.success?"NOT-SUCCESS":"N/A",l=o.message?o.message:"Unknown error. Check your Console Logs.","rest_no_route"===o.code?(l="The API can't be accessed. Are you sure the WP REST API is enabled? Check this article: https://meowapps.com/fix-wordpress-rest-api/.",s="NO-ROUTE"):"internal_server_error"===o.code&&(l="Server error. Please check your PHP Error Logs.",s="SERVER-ERROR"),i=new c(l,s,t,r||a)),e.next=27;break;case 20:e.prev=20,e.t0=e.catch(5),console.error("[nekoFetch]",e.t0),u="BROKEN-REPLY",h="The reply sent by the server is broken.","AbortError"===e.t0.name?(u="USER-ABORTED",h="The request was aborted by the user."):a&&a.status&&408===a.status&&(u="REQUEST-TIMEOUT",h="The request generated a timeout."),i=new c(h,u,t,r||a,e.t0);case 27:return i&&(o.success=!1,o.message=i.message,o.error=i),e.abrupt("return",E(o));case 29:case"end":return e.stop()}}),e,null,[[5,20]])})));return function(t){return e.apply(this,arguments)}}(),A=function(){var e=b(y().mark((function e(t){var n,r,o,i,a,s,l,c,u,h,f,d,p,m,v,b,x,w,k,S,O=arguments;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=O.length>1&&void 0!==O[1]?O[1]:{}).json,o=void 0===r?null:r,i=n.method,a=void 0===i?"GET":i,s=n.signal,l=n.file,c=n.nonce,u=n.bearerToken,"GET"!==a||!o){e.next=4;break}throw new Error("NekoFetch: GET method does not support json argument (".concat(t,")."));case 4:if(h=l?new FormData:null,l)for(h.append("file",l),f=0,d=Object.entries(o);f<d.length;f++)p=g(d[f],2),m=p[0],v=p[1],h.append(m,v);return b={},c&&(b["X-WP-Nonce"]=c),u&&(b.Authorization="Bearer ".concat(u)),h||(b["Content-Type"]="application/json"),x={method:a,headers:b,body:h||(o?_(o):null),signal:s},w=null,e.prev=12,e.next=15,C(t,x);case 15:if((w=e.sent).success){e.next=18;break}throw new Error(null!==(k=null===(S=w)||void 0===S?void 0:S.message)&&void 0!==k?k:"Unknown error.");case 18:return e.abrupt("return",w);case 21:throw e.prev=21,e.t0=e.catch(12),e.t0;case 24:case"end":return e.stop()}}),e,null,[[12,21]])})));return function(t){return e.apply(this,arguments)}}(),j=function(){var e=b(y().mark((function e(t){var n,r,o,i,a,s,l,c,u,h,f,d,p,m,v=arguments;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=v.length>1&&void 0!==v[1]?v[1]:{}).json,o=void 0===r?{}:r,i=n.signal,a=n.file,s=n.nonce,l=n.bearerToken,c=a?new FormData:null,a)for(c.append("file",a),u=0,h=Object.entries(o);u<h.length;u++)f=g(h[u],2),d=f[0],p=f[1],c.append(d,p);return m=s?{"X-WP-Nonce":s}:{},l&&(m.Authorization="Bearer ".concat(l)),c||(m["Content-Type"]="application/json"),e.abrupt("return",C(t,{method:"POST",headers:m,body:c||_(o),signal:i}));case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=t<0?0:t,r=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],o=e>0?Math.floor(Math.log(e)/Math.log(1024)):0;return"Bytes"===r[o]&&(o=1),(e=parseFloat((e/Math.pow(1024,o)).toFixed(n))).toFixed(Math.max(n,(e.toString().split(".")[1]||[]).length))+" "+r[o]};function M(e){return new Promise((function(t){return setTimeout(t,e)}))}var R=function(e){return o().createElement("span",{style:{display:"inline"},dangerouslySetInnerHTML:{__html:e}})},T=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=h(this,t,[e])).state={hasError:!1},n}var n,r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(t,e),n=t,i=[{key:"getDerivedStateFromError",value:function(e){return{hasError:e}}}],(r=[{key:"render",value:function(){if(this.state.hasError){var e;return e="string"==typeof this.state.hasError?this.state.hasError:this.state.hasError.message?this.state.hasError.message:this.state.hasError.toString?this.state.hasError.toString():_(this.state.hasError),o().createElement(o().Fragment,null,o().createElement("div",{style:{background:"var(--neko-red)",color:"white",margin:15,padding:15,borderRadius:15}},o().createElement("pre",{style:{margin:0,whiteSpace:"pre-wrap"}},"⚠️ ",o().createElement("b",null,"Error"),o().createElement("br",null),"Sorry, an error occured! Don't worry, I will fix this, so simply let me know about it.",o().createElement("br",null),"Here is some information about it:",o().createElement("br",null),o().createElement("br",null),e)))}return this.props.children}}])&&u(n.prototype,r),i&&u(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(o().Component)},6897:(e,t,n)=>{"use strict";n.d(t,{$$:()=>x,Kt:()=>g,XS:()=>v,gR:()=>w,jz:()=>y,v_:()=>b});var r=n(1594),o=n(6815),i=n(8135),a=n(9794),s=n(9296);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(){c=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function h(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(e){h=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new R(r||[]);return o(a,"_invoke",{value:A(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function x(){}function w(){}var k={};h(k,a,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(T([])));O&&O!==n&&r.call(O,a)&&(k=O);var _=w.prototype=b.prototype=Object.create(k);function E(e){["next","throw","return"].forEach((function(t){h(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(o,i,a,s){var c=d(e[o],e,i);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==l(h)&&r.call(h,"__await")?t.resolve(h.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(h).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function A(t,n,r){var o=p;return function(i,a){if(o===g)throw new Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=j(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function j(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,j(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(l(t)+" is not iterable")}return x.prototype=w,o(_,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:x,configurable:!0}),x.displayName=h(w,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===x||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,h(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},E(C.prototype),h(C.prototype,s,(function(){return this})),t.AsyncIterator=C,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new C(f(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(_),h(_,u,"Generator"),h(_,a,(function(){return this})),h(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,R.prototype={constructor:R,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(M),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;M(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function u(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,s,"next",e)}function s(e){u(i,r,o,a,s,"throw",e)}a(void 0)}))}}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=p(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||p(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){if(e){if("string"==typeof e)return m(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)?m(e,t):void 0}}function m(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}var g=function(){var e=(0,r.useRef)(),t=d((0,r.useState)({}),2),n=t[0],o=t[1];return(0,r.useEffect)((function(){var t=new ResizeObserver((function(e){var t=e[0];t.contentRect&&o({width:t.contentRect.left+t.contentRect.right,height:t.contentRect.top+t.contentRect.bottom})}));if(e.current)return t.observe(e.current),function(){e.current&&t.unobserve(e.current)}}),[e]),{ref:e,width:n.width?n.width:0,height:n.height?n.height:0}},y=function(e,t){var n=(0,r.useRef)(),o=t?Array.isArray(t)?t:[t]:[n],i=function(t){if(e){var n,r=!1,i=f(o);try{for(i.s();!(n=i.n()).done;){var a=n.value;if(null!=a&&a.current&&a.current.contains(t.target)){r=!0;break}}}catch(e){i.e(e)}finally{i.f()}r||e()}};return(0,r.useEffect)((function(){return document.addEventListener("mousedown",i),function(){document.removeEventListener("mousedown",i)}})),n},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.i18n,n=void 0===t?null:t,l=e.onStop,u=void 0===l?function(){}:l,p=d((0,r.useState)(new o.A({concurrency:1,autoStart:!1})),2),m=p[0],g=p[1],y=d((0,r.useState)(new AbortController),2),v=y[0],b=y[1],x=(0,r.useRef)(!1),w=(0,r.useRef)(0),k=(0,r.useRef)(null),S=(0,r.useRef)(0),O=(0,r.useRef)(0),_=d((0,r.useState)(!1),2),E=_[0],C=_[1],A=d((0,r.useState)(null),2),j=A[0],P=A[1],M=d((0,r.useState)(!1),2),R=M[0],T=M[1],L=d((0,r.useState)(0),2),I=L[0],N=L[1],z=d((0,r.useState)(!1),2),D=z[0],F=z[1],B=d((0,r.useState)(!1),2),$=B[0],H=B[1],W=d((0,r.useState)(0),2),q=W[0],V=W[1],U=function(){var e=h(c().mark((function e(){var t;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=new AbortController,b(t),F(!1),w.current=0,x.current=!1,T(!1),H(!1),V(0),N(0),g(new o.A({concurrency:1,autoStart:!1}));case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),K=function(){var e=h(c().mark((function e(t){var n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new Promise(function(){var e=h(c().mark((function e(n,r){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return F(!1),S.current=0,O.current=0,w.current=0,x.current=!1,T(!1),H(!1),ne(t),P(!0),m.start(),e.next=13,m.onIdle();case 13:J(),n();case 15:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),e.abrupt("return",n);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Q=(0,r.useCallback)(h(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:m.pause(),T(!0);case 3:case"end":return e.stop()}}),e)}))),[m]),G=(0,r.useCallback)(h(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:F(!1),T(!1),m.start();case 4:case"end":return e.stop()}}),e)}))),[m]),Y=(0,r.useCallback)(h(c().mark((function e(){var t,n=arguments;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=n.length>0&&void 0!==n[0]?n[0]:5,S.current=t,O.current=t,Z();case 4:case"end":return e.stop()}}),e)}))),[Z]),Z=(0,r.useCallback)(h(c().mark((function e(){var t,n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(F(!1),T(!1),!(O.current>0)){e.next=13;break}if(!(O.current<S.current)){e.next=12;break}return t=S.current-O.current,C(!0),n=5e3*t,e.next=11,(0,i.yy)(n);case 11:C(!1);case 12:O.current--;case 13:if(!k.current){e.next=16;break}return e.next=16,ee(k.current,!0);case 16:case"end":return e.stop()}}),e)}))),[ee]),X=(0,r.useCallback)(h(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:m.pause(),v.abort(),P(!1),F(!1),H(!1),u();case 7:case"end":return e.stop()}}),e)}))),[v,u,m]),J=function(){var e=h(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:H(!0),P(!1);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ee=(0,r.useCallback)(function(){var e=h(c().mark((function e(t){var n,r,o=arguments;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=o.length>1&&void 0!==o[1]&&o[1],e.prev=1,n&&(w.current--,V((function(e){return e-1}))),k.current=t,e.next=6,t(v.signal);case 6:if(!1!==(null==(r=e.sent)?void 0:r.success)){e.next=9;break}throw new Error(r.message);case 9:n&&(O.current=S.current,m.start()),e.next=28;break;case 12:if(e.prev=12,e.t0=e.catch(1),"AbortError"!==(null===e.t0||void 0===e.t0?void 0:e.t0.name)){e.next=19;break}return console.log("[useNekoTasks] Aborted"),e.abrupt("return");case 19:if(w.current++,x.current){e.next=28;break}if(Q(),!(O.current>0)){e.next=27;break}return Z(),e.abrupt("return");case 27:F(e.t0);case 28:return e.prev=28,V((function(e){return e+1})),e.finish(28);case 31:case"end":return e.stop()}}),e,null,[[1,12,28,31]])})));return function(t){return e.apply(this,arguments)}}(),[v.signal,Q,Z,m]),te=function(){var e=h(c().mark((function e(t){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:m.add(h(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",ee(t));case 1:case"end":return e.stop()}}),e)})))),N((function(e){return e+1}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ne=function(){var e=h(c().mark((function e(t){var n,r,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:m.clear(),n=f(t);try{for(n.s();!(r=n.n()).done;)o=r.value,te(o)}catch(e){n.e(e)}finally{n.f()}V(0);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),re=(0,r.useCallback)((function(){x.current=!0}),[]),oe=(0,r.useCallback)((function(){return w.current}),[]),ie=(0,r.useMemo)((function(){return React.createElement(a.n,{isOpen:D,onRequestClose:X,title:n?n.COMMON.ERROR:"Error",content:React.createElement(React.Fragment,null,React.createElement("b",null,null!=D&&D.message?D.message:D||"Unknown error."),React.createElement("p",null)),customButtons:React.createElement("div",{style:{display:"flex",width:"100%",flexDirection:"column"}},React.createElement("div",{style:{display:"flex",alignItems:"center"}},React.createElement(s.M,{style:{flex:2},className:"primary",onClick:Z},n?n.COMMON.RETRY:"Retry"),React.createElement(s.M,{style:{flex:1},className:"secondary",onClick:function(){Y(10)}},React.createElement("small",null,n?n.COMMON.AUTO_RETRY:"Auto Retry")),React.createElement(s.M,{style:{flex:2},className:"primary",onClick:G},n?n.COMMON.SKIP:"Skip"),React.createElement(s.M,{style:{flex:1},className:"secondary",onClick:function(){re(),G()}},React.createElement("small",null,n?n.COMMON.AUTO_SKIP:"Auto Skip")),React.createElement(s.M,{style:{flex:2},className:"danger",onClick:X},n?n.COMMON.STOP:"Stop")),React.createElement("small",{style:{marginTop:10,lineHeight:"13px"}},n?n.COMMON.AUTO_RETRY_DESCRIPTION:"Auto Retry will retry the task 10 times."))})}),[Y,D,n,G,Z,re,X]);return{start:K,stop:X,pause:Q,resume:G,reset:U,retry:Z,autoRetry:Y,isSleeping:E,addTask:te,setAlwaysSkip:re,getErrorCount:oe,TasksErrorModal:ie,error:D,success:$,busy:j,paused:R,value:q,max:I}},b=function(){var e=d((0,r.useState)(!1),2),t=e[0],n=e[1],o=d((0,r.useState)(!1),2),i=o[0],a=o[1],s=(0,r.useCallback)((function(e){n(e.shiftKey),a(e.ctrlKey||e.metaKey)}),[]),l=(0,r.useCallback)((function(){n(!1),a(!1)}),[]);return(0,r.useEffect)((function(){return document.addEventListener("keydown",s,!1),document.addEventListener("keyup",l,!1),function(){document.removeEventListener("keydown",s,!1),document.removeEventListener("keyup",l,!1)}}),[]),{pressShift:t,pressControl:i}},x=function(e,t){var n=(0,r.useRef)();(0,r.useEffect)((function(){n.current=e}),[e]),(0,r.useEffect)((function(){if(null!==t){var e=setInterval((function(){n.current()}),t);return function(){return clearInterval(e)}}}),[t])},w=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)((function(){var e=[];return t.forEach((function(t){"string"==typeof t?t.trim().split(" ").filter((function(e){return e.length>0})).forEach((function(t){return e.push(t)})):"object"===l(t)&&Object.keys(t).forEach((function(n){t[n]&&e.push(n)}))})),e.join(" ")}),[t])}},1329:(e,t,n)=>{"use strict";n.d(t,{K:()=>g});var r,o=n(1594),i=n.n(o),a=n(6365),s=n.n(a),l=n(3185),c=n(6897),u=["show","className"];function h(){return h=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},h.apply(this,arguments)}var f,d,p=l.Ay.a(r||(f=["\n  background-color: var(--neko-yellow);\n  position: relative;\n  border-radius: 10px;\n  color: white !important;\n  font-size: 9px;\n  line-height: 10px;\n  padding: 5px 8px;\n  text-transform: uppercase;\n  text-decoration: none;\n  white-space: nowrap;\n\n  &:hover {\n    filter: brightness(1.1);\n  }\n\n  &.inline {\n    display: inline;\n    margin-left: 5px;\n    vertical-align: middle;\n  }\n"],d||(d=f.slice(0)),r=Object.freeze(Object.defineProperties(f,{raw:{value:Object.freeze(d)}})))),m=function(e){var t=e.show,n=void 0===t||t,r=e.className,o=function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,u),a=(0,c.gR)("neko-pro-only",r);return n?i().createElement(p,h({href:"https://meowapps.com",target:"_blank",className:a},o),"Pro Only"):null},g=function(e){return i().createElement(m,e)};g.propTypes={show:s().bool,className:s().string}},4461:(e,t,n)=>{"use strict";n.d(t,{z:()=>g});var r,o,i,a=n(1594),s=n.n(a),l=n(6365),c=n.n(l),u=n(3185),h=n(4977),f=n(2557),d=n(6897),p=u.Ay.div(r||(o=["\n  font-size: var(--neko-font-size);\n  margin-bottom: 15px;\n\n  .neko-block-header {\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n  }\n\n  .neko-block-title {\n    padding: 5px 10px;\n    margin-bottom: 5px;\n  }\n\n  .neko-block-content {\n    background: white;\n    color: var(--neko-font-color);\n    padding: 15px 15px;\n    box-shadow: 0px 8px 8px -8px rgba(0, 0, 0, 0.35);\n    border-radius: 8px;\n\n    p:first-child {\n      margin-top: 0;\n    }\n\n    p:last-child {\n      margin-bottom: 0;\n    }\n  }\n\n  &.primary {\n    padding: 8px;\n    background-color: var(--neko-main-color);\n    color: white;\n\n    .neko-block-title {\n      color: white;\n    }\n\n    .neko-block-content {\n      background-color: white;\n    }\n  }\n\n  &.standard {\n    .neko-block-content {\n      box-shadow: none;\n    }\n  }\n\n  &.raw {\n    padding: 8px;\n    background-color: var(--neko-main-color);\n    color: white;\n\n    .neko-block-title {\n      color: white;\n    }\n\n    .neko-block-content {\n      padding: 0;\n      background: none;\n    }\n\n    .neko-block-content {\n      box-shadow: none;\n    }\n  }\n"],i||(i=o.slice(0)),r=Object.freeze(Object.defineProperties(o,{raw:{value:Object.freeze(i)}})))),m=function(e){var t=e.title,n=e.children,r=e.className,o=void 0===r?"":r,i=e.busy,a=void 0!==i&&i,l=e.style,c=void 0===l?{}:l,u=e.contentStyle,m=void 0===u?{}:u,g=e.action,y=(0,d.gR)("neko-block",o);return s().createElement(p,{className:y,style:c},t&&s().createElement("div",{className:"neko-block-header"},s().createElement(h.s,{h2:!0,className:"neko-block-title"},t),!!g&&g),s().createElement(f.A,{busy:a},s().createElement("div",{className:"neko-block-content",style:m},n)))},g=function(e){return s().createElement(m,e)};g.propTypes={title:c().string,className:c().oneOf(["","primary","standard","raw"]),style:c().object,action:c().element}},8668:(e,t,n)=>{"use strict";n.d(t,{Y:()=>x,a:()=>b});var r,o,i,a,s=n(1594),l=n.n(s),c=n(6365),u=n.n(c),h=n(3185);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(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)?d(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(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 p(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var m=h.Ay.div(r||(r=p(["\n  margin-bottom: 10px;\n"]))),g=h.Ay.div(o||(o=p(["\n  margin-bottom: 0px;\n  padding-bottom: 2px;\n  border-bottom: 2px solid #d1e3f2;\n  color: var(--neko-main-color);\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  cursor: pointer;\n  font-weight: 600;\n"]))),y=h.Ay.span(i||(i=p(["\n  border: solid var(--neko-main-color);\n  border-width: 0 2px 2px 0;\n  display: inline-block;\n  padding: 3px;\n  transform: ",";\n  transition: transform 0.15s ease-in-out;\n"])),(function(e){return e.$isCollapsed?"rotate(45deg)":"rotate(-135deg)"})),v=h.Ay.div(a||(a=p(["\n  max-height: ",";\n  overflow: hidden;\n  transition: ",";\n"])),(function(e){return e.$isCollapsed?"0":"".concat(e.$contentHeight+15,"px")}),(function(e){return e.$animate?"max-height 0.15s ease-in-out":"none"})),b=function(e){var t=e.children,n=e.keepState,r=f((0,s.useState)(n?JSON.parse(localStorage.getItem(n)):null),2),o=r[0],i=r[1];return(0,s.useEffect)((function(){n&&localStorage.setItem(n,JSON.stringify(o))}),[o,n]),l().createElement("div",null,l().Children.map(t,(function(e,t){return(null==e?void 0:e.type)===x?l().cloneElement(e,{isCollapsed:o!==t,onClick:function(){var e;i(o===(e=t)?null:e)},keepState:n?"".concat(n,"-").concat(t):e.props.keepState}):e})))};b.propTypes={children:u().node.isRequired,keepState:u().string};var x=function(e){var t,n,r=e.isCollapsed,o=void 0!==r&&r,i=e.children,a=e.onClick,c=void 0===a?function(){}:a,u=e.keepState,h=e.disabled,d=void 0!==h&&h,p=e.hide,b=void 0!==p&&p,x=e.title,w=e.style,k=f((0,s.useState)(o),2),S=k[0],O=k[1],_=f((0,s.useState)(!1),2),E=_[0],C=_[1],A=l().Children.count(i)>0,j=(0,s.useRef)(null),P=f((0,s.useState)(0),2),M=P[0],R=P[1];return t=j,n=function(){j.current&&R(j.current.scrollHeight)},(0,s.useEffect)((function(){var e=t.current;if(e){var r=new ResizeObserver((function(e){n()}));return r.observe(e),function(){return r.disconnect()}}}),[t,n]),(0,s.useEffect)((function(){if(u){var e=JSON.parse(localStorage.getItem(u));O(null!==e?e:o)}}),[u,o]),(0,s.useEffect)((function(){u&&localStorage.setItem(u,JSON.stringify(S))}),[S,u]),(0,s.useEffect)((function(){O(o)}),[o]),b?null:l().createElement(m,{style:w},l().createElement(g,{onClick:function(){A&&!d&&(C(!0),O(!S),c())},style:{opacity:d?.5:1,pointerEvents:d?"none":"auto"}},x,A&&l().createElement(y,{$isCollapsed:S})),l().createElement(v,{$isCollapsed:S,$contentHeight:M,$animate:E},l().createElement("div",{ref:j},i)))};x.propTypes={title:u().string.isRequired,isCollapsed:u().bool,children:u().node,onClick:u().func,keepState:u().string,disabled:u().bool,hide:u().bool}},1543:(e,t,n)=>{"use strict";n.d(t,{L:()=>m});var r,o,i=n(1594),a=n.n(i),s=n(6365),l=n.n(s),c=n(3185),u=n(6897);function h(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var f=c.Ay.div(r||(r=h(["\n  font-size: var(--neko-font-size);\n  font-family: var(--neko-font-family);\n  background-color: white;\n  color: var(--neko-font-color);\n  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);\n  margin-bottom: 25px;\n  display: flex;\n  flex-direction: column;\n\n  &.primary {\n    background-color: var(--neko-main-color);\n  }\n\n  p:first-child {\n    margin-top: 0px;\n  }\n\n  p:last-child {\n    margin-bottom: 0px;\n  }\n\n  .neko-container-content {\n    padding: 20px 20px;\n  }\n"]))),d=c.Ay.div(o||(o=h(["\n  justify-content: flex-start;\n  background-color: var(--neko-gray-98);\n  display: flex;\n  align-items: center;\n  padding: 8px 10px;\n\n  &.align-right {\n    justify-content: flex-end;\n  }\n"]))),p=function(e){var t=e.header,n=e.headerAlign,r=void 0===n?"left":n,o=e.footer,i=e.footerAlign,s=void 0===i?"right":i,l=e.className,c=e.style,h=void 0===c?{}:c,p=e.contentStyle,m=void 0===p?{}:p,g=e.children,y=(0,u.gR)("neko-container",l);return a().createElement(f,{className:y,style:h},t&&a().createElement(d,{className:"align-".concat(r)},t),a().createElement("div",{className:"neko-container-content",style:m},g),o&&a().createElement(a().Fragment,null,a().createElement("div",{style:{flex:"auto"}}),a().createElement(d,{className:"align-".concat(s)},o)))},m=function(e){return a().createElement(p,e)};m.propTypes={header:l().element,headerAlign:l().oneOf(["left","right"]),footer:l().element,footerAlign:l().oneOf(["left","right"]),className:l().string,style:l().object,contentStyle:l().object}},6913:(e,t,n)=>{"use strict";n.d(t,{z:()=>v});var r,o=n(1594),i=n.n(o),a=n(6365),s=n.n(a),l=n(3185),c=n(9296),u=n(6897);function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||f(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return d(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)?d(e,t):void 0}}function d(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}var p,m,g=l.Ay.div(r||(p=["\n  position: relative;\n  margin-left: -20px;\n  background: var(--neko-background-color);\n  padding-bottom: 50px;\n  margin-bottom: -26px;\n\n  .neko-rest-error {\n    position: absolute;\n    top: 0;\n    left: 0;\n    width: 100%;\n    height: 100%;\n    background: #1e232deb;\n    z-index: 100;\n\n    .container {\n      color: white;\n      padding: 5px 20px 15px 20px;\n      min-width: 480px;\n      max-width: 600px;\n      border-radius: 20px;\n      background: #883131;\n      margin-left: 50%;\n      transform: translateX(-50%);\n      margin-top: 100px;\n\n      h3 {\n        color: white;\n      }\n\n      .neko-debug {\n        padding: 5px 10px;\n        background: #692426;\n        border-radius: 10px;\n\n        * {\n          margin: 0px;\n          padding: 0px;\n        }\n      }\n    }\n  }\n"],m||(m=p.slice(0)),r=Object.freeze(Object.defineProperties(p,{raw:{value:Object.freeze(m)}})))),y=function(e){var t=e.className,n=e.children,r=e.nekoErrors,a=void 0===r?[]:r,s=e.style,l=void 0===s?{}:s,d=h((0,o.useState)(!1),2),p=d[0],m=d[1],y=h((0,o.useState)(!1),2),v=y[0],b=y[1],x=(0,u.gR)("neko-page",t);if(a&&!p){var w,k=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=f(e))){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(a);try{for(k.s();!(w=k.n()).done;){var S=w.value;if(S){m(S);break}}}catch(e){k.e(e)}finally{k.f()}}return i().createElement(g,{className:x,style:l},p&&i().createElement("div",{className:"neko-rest-error"},i().createElement("div",{className:"container"},!v&&i().createElement(i().Fragment,null,i().createElement("h3",null,"The Rest API is disabled or broken 😢"),i().createElement("p",null,"The Rest API is required for this plugin to work. It is enabled in WordPress by default since December 2016 and used by the Gutenberg Editor since 2019. In short, it allows more robustness and a much cleaner infrastructure. Soon, Wordpress will entirely depends on it, so it is important to keep it enabled."),i().createElement("p",null,i().createElement("i",null,"Last but not least: check your PHP Error Logs and your Debugging Console.")),i().createElement("p",{className:"neko-debug"},i().createElement("small",null,"URL: ",p.url,i().createElement("br",null),"CODE: ",p.code,i().createElement("br",null),"MESSAGE: ",p.message,i().createElement("br",null)))),p.body&&v&&i().createElement("p",{className:"neko-debug"},i().createElement("div",{dangerouslySetInnerHTML:{__html:p.body}})),p.body&&i().createElement(c.M,{color:"#a94242",onClick:function(){return b(!v)}},v?"Hide":"Display"," response from server"),i().createElement(c.M,{color:"#a94242",onClick:function(){window.open("https://meowapps.com/fix-wordpress-rest-api/","_blank")}},"Learn about WordPress Debugging"))),n)},v=function(e){return i().createElement(y,e)};v.propTypes={className:s().string,style:s().object,nekoErrors:s().bool}},7039:(e,t,n)=>{"use strict";n.d(t,{d:()=>m});var r,o=n(1594),i=n.n(o),a=n(6365),s=n.n(a),l=n(3185),c=n(6897),u=["title","contentAlign","titleStyle"];function h(){return h=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},h.apply(this,arguments)}var f,d,p=(0,l.Ay)((function(e){var t=e.title,n=void 0===t?"":t,r=e.contentAlign,o=void 0===r?"left":r,a=e.titleStyle,s=void 0===a?{}:a,l=function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,u),f=(0,c.gR)("neko-settings",e.className);return i().createElement("div",h({className:f},l),n?i().createElement("div",{className:"neko-settings-head",style:s},n):null,i().createElement("div",{className:"neko-settings-content neko-settings-content-align-".concat(o)},e.children))}))(r||(f=["\n  display: flex;\n  font-family: var(--neko-font-family);\n\n  > .neko-settings-head {\n    font-family: var(--neko-font-family);\n    font-size: var(--neko-font-size); \n    line-height: 17px;\n    width: 120px;\n    margin-right: 16px;\n    font-weight: 500;\n    color: var(--neko-main-color);\n  }\n\n  /* Select, Checkbox, Input need to be a bit higher to be in front of the settings title */\n\n  .neko-settings-content > .neko-select:first-child {\n    position: relative;\n    margin-top: -5px;\n  }\n  \n  .neko-settings-content > div:first-child .neko-checkbox-container {\n    margin-top: -5px;\n  }\n\n  .neko-settings-content > .neko-button:first-child {\n    position: relative;\n    margin-top: -5px;\n  }\n\n  .neko-settings-content > div:first-child > .neko-input {\n    position: relative;\n    margin-top: -5px;\n  }\n\n  > .neko-settings-content {\n    flex: 1;\n\n    &.neko-settings-content-align-right {\n      flex: none;\n      margin-left: auto;\n    }\n\n    input[type=text] {\n      width: 100%;\n    }\n\n\n  }\n\n  & + div {\n    margin-top: 10px;\n  }\n"],d||(d=f.slice(0)),r=Object.freeze(Object.defineProperties(f,{raw:{value:Object.freeze(d)}})))),m=function(e){return i().createElement(p,e)};m.propTypes={title:s().string,className:s().string,contentAlign:s().string,titleStyle:s().object}},6734:(e,t,n)=>{"use strict";n.d(t,{g:()=>y});var r,o,i,a=n(1594),s=n.n(a),l=n(6365),c=n.n(l),u=n(3185),h=["height","tiny","small","medium","large","line","style","children"];function f(){return f=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},f.apply(this,arguments)}function d(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var p=u.Ay.div(r||(r=d(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  width: 100%;\n  height: ",";\n"])),(function(e){var t=e.height;return"".concat(t,"px")})),m=u.Ay.div(o||(o=d(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  width: 100%;\n\n  hr {\n    width: 100%;\n    border: none;\n    border-top: 1px solid var(--neko-secondary);\n  }\n"]))),g=u.Ay.span(i||(i=d(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  position: relative;\n  width: 100%;\n  text-align: center;\n\n  &::before,\n  &::after {\n    content: '';\n    flex-grow: 1;\n    border-top: ",";\n    height: 0;\n  }\n\n  &::before {\n    margin-right: 0.5em;\n  }\n\n  &::after {\n    margin-left: 0.5em;\n  }\n"])),(function(e){return e.line?"1px solid var(--neko-secondary)":"none"})),y=function(e){var t=e.height,n=void 0===t?null:t,r=e.tiny,o=void 0!==r&&r,i=e.small,a=void 0===i||i,l=e.medium,c=void 0!==l&&l,u=e.large,d=void 0!==u&&u,y=e.line,v=void 0!==y&&y,b=e.style,x=e.children,w=function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,h);return n||(x||c?n=30:o?n=5:d?n=45:a&&(n=15)),s().createElement(p,f({height:n,style:b},w),x&&s().createElement(g,{line:v},x),!x&&s().createElement(m,null,v&&s().createElement("hr",null)))};y.propTypes={height:c().number,line:c().bool,tiny:c().bool,small:c().bool,medium:c().bool,large:c().bool,style:c().object}},4547:(e,t,n)=>{"use strict";n.d(t,{N:()=>b,Y:()=>x});var r,o,i=n(1594),a=n.n(i),s=n(6365),l=n.n(s),c=n(3185),u=n(6897),h=n(8135),f=["fullWidth","minimal"];function d(){return d=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},d.apply(this,arguments)}function p(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var m=c.Ay.div(r||(r=p(["\n  display: flex;\n  flex-wrap: wrap;\n"]))),g=c.Ay.div(o||(o=p(["\n  flex: 1;\n  padding: 32px 30px;\n\n  .neko-block:not(:first-child) {\n    margin-top: -20px;\n  }\n\n  .neko-block:last-child {\n    margin-bottom: 0px;\n  }\n\n  &.minimal {\n    padding: 0;\n  }\n\n  &.full {\n    flex-basis: 100%;\n    padding-bottom: 0;\n  }\n\n  & + .full {\n    padding-bottom: 32px;\n    padding-top: 0;\n  }\n\n  &:not(.full) + div:not(.full) {\n    padding-left: 0;\n  }\n"]))),y=function(e){return a().createElement(m,{className:"neko-wrapper"},e.children)},v=function(e){var t=e.fullWidth,n=e.minimal,r=function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,f),o=(0,u.gR)("neko-column",{full:t},{minimal:n});return a().createElement(g,d({className:o},r),e.children)},b=function(e){return a().createElement(h.YS,null,a().createElement(y,e))},x=function(e){return a().createElement(h.YS,null,a().createElement(v,e))};b.propTypes={},x.propTypes={fullWidth:l().any}},374:(e,t,n)=>{"use strict";n.d(t,{G:()=>h});var r=n(1594),o=n(5206),i=n.n(o),a=n(6365),s=n.n(a),l=n(6897),c=n(2564);function u(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}var h=function(e){var t,n,o=e.children,a=e.visible,s=void 0!==a&&a,h=e.targetRef,f=e.onClose,d=(0,r.useRef)(),p=(t=(0,r.useState)(0),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return u(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)?u(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=p[0],g=p[1];(0,l.jz)((function(){s&&f()}),[h,d]),(0,r.useEffect)((function(){var e=document.createElement("div");return d.current=e,function(){d.current=null}}),[]);var y=function(){s&&d.current&&h.current&&requestAnimationFrame((function(){for(var e=h.current.getBoundingClientRect(),t=window.innerHeight,n=d.current.querySelector(".neko-portal-content");n&&!n.offsetHeight;)n=n.firstChild;var r=n?n.offsetHeight:0,o=t-e.bottom<r?e.top-r:e.bottom;Object.assign(d.current.style,{position:"fixed",top:"".concat(o,"px"),left:"".concat(e.left,"px"),width:"".concat(e.width,"px"),zIndex:"9999"})}))};if((0,r.useEffect)((function(){if(s&&d.current){document.body.appendChild(d.current);var e=setTimeout((function(){y(),g(1)}),5);return function(){return clearTimeout(e)}}if(d.current){var t=d.current.parentNode;t&&t.removeChild(d.current),g(0)}}),[s,d,h]),(0,r.useLayoutEffect)((function(){y();var e=function(){return y()};return window.addEventListener("resize",e),window.addEventListener("scroll",e),function(){window.removeEventListener("resize",e),window.removeEventListener("scroll",e)}}),[s,d,h]),!s||!d.current)return null;var v={opacity:m,transition:"opacity 0.2s cubic-bezier(0.22, 0.61, 0.36, 1)"};return i().createPortal(React.createElement("div",{className:"neko-portal-content",style:v},React.createElement(c.A,null,o)),d.current)};h.propTypes={children:s().node.isRequired,visible:s().bool,targetRef:s().object.isRequired,onClose:s().func}},197:(e,t,n)=>{"use strict";n.d(t,{X:()=>h});var r,o,i,a=n(1594),s=n.n(a),l=n(6365),c=n.n(l),u=n(3185).Ay.section(r||(o=["\n  .mask {\n    position: absolute;\n    overflow: hidden;\n    display: block;\n    width: ","px;\n    height: ","px;\n  }\n\n  .semi-circle {\n    position: relative;\n    display: block;\n    width: ","px;\n    height: ",'px;\n    background: linear-gradient(to right, #27b775 0%, #f3f32c 50%, #f71b1b 100%);\n    border-radius: 50% 50% 50% 50% / 100% 100% 0% 0% ;\n\n    &::before {\n      content: "";\n      position: absolute;\n      bottom: 0;\n      left: 50%;\n      z-index: 2;\n      display: block;\n      width: 140px;\n      height: 70px;\n      margin-left: -70px;\n      background: ',";\n      border-radius: 50% 50% 50% 50% / 100% 100% 0% 0% ;\n    }      \n  }\n\n  .semi-circle--mask {\n    position: absolute;\n    top: 0;\n    left: 0;\n    width: ","px;\n    height: ",'px;\n    background: transparent;\n    transform-origin: center center;\n    backface-visibility: hidden;\n    transition: all .3s ease-in-out;\n\n    &::before {\n      content: "";\n      position: absolute;\n      top: 0;\n      left: 0%;\n      z-index: 2;\n      display: block;\n      width: ',"px;\n      height: ","px;\n      margin-top: -1px;\n      margin-left: -1px;\n      background: #5396c1d6;\n      border-radius: 50% 50% 50% 50% / 100% 100% 0% 0% ;\n    }      \n  }\n\n  .gauge { \n    width: ","px;\n    height: ","px;\n    \n    .semi-circle--mask {\n      transform: rotate(","deg) translate3d(0,0,0);\n    }\n  }\n\n  .child-container {\n    position: absolute;\n    font-size: 16px;\n    display: flex;\n    width: ","px;\n    height: ","px;\n    z-index: 10;\n\n    .spacing {\n      flex: auto;\n    }\n\n    .child {\n      color: white;\n      flex: 1;\n      display: flex;\n      flex-direction: column;\n      align-items: center;\n    }\n  }\n"],i||(i=o.slice(0)),r=Object.freeze(Object.defineProperties(o,{raw:{value:Object.freeze(i)}}))),(function(e){return e.width}),(function(e){return e.width/2}),(function(e){return e.width}),(function(e){return e.width/2}),(function(e){return e.backgroundColor}),(function(e){return e.width}),(function(e){return e.width}),(function(e){return e.width+2}),(function(e){return e.width/2+2}),(function(e){return e.width}),(function(e){return e.width/2}),(function(e){return e.degrees}),(function(e){return e.width+2}),(function(e){return e.width/2})),h=function(e){var t=e.value,n=void 0===t?1e3:t,r=(e.min,e.max),o=void 0===r?2500:r,i=e.width,a=void 0===i?200:i,l=e.background,c=void 0===l?"#007cba":l,h=e.children,f=180*(n<=o?n:o)/o;return s().createElement(u,{className:"neko-gauge",backgroundColor:c,degrees:f,width:a},s().createElement("div",{class:"gauge"},s().createElement("div",{class:"mask"},s().createElement("div",{class:"semi-circle"}),s().createElement("div",{class:"semi-circle--mask"})),s().createElement("div",{class:"child-container"},s().createElement("div",{class:"child"},s().createElement("div",{class:"spacing"}),h))))};h.propTypes={value:c().number,min:c().number,max:c().number,width:c().number,background:c().string}},3804:(e,t,n)=>{"use strict";n.d(t,{n:()=>b});var r,o,i,a=n(1594),s=n.n(a),l=n(6365),c=n.n(l),u=n(3185),h=u.Ay.div(r||(o=["\n  display: flex;\n  max-width: 128px;\n  max-height: 128px;\n\n  & > * {\n    width: 100%;\n    height: auto;\n    object-fit: contain;\n  }\n"],i||(i=o.slice(0)),r=Object.freeze(Object.defineProperties(o,{raw:{value:Object.freeze(i)}})))),f=function(){return s().createElement(h,{className:"neko-logo"},s().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1434 947"},s().createElement("path",{fill:"#000",d:"M805 777a792 792 0 0 1-262-43 811 811 0 0 1-286-164A959 959 0 0 1 6 200 158 158 0 0 1 304 97c41 96 94 175 159 233a497 497 0 0 0 376 129 60 60 0 0 1 67 60l27 186c4 33-18 63-51 68-6 0-34 4-77 4ZM122 168l2 5a841 841 0 0 0 212 307 692 692 0 0 0 469 177l-11-76a616 616 0 0 1-412-162 769 769 0 0 1-188-276 38 38 0 0 0-50-20c-18 7-27 27-22 45Z"}),s().createElement("path",{fill:"#FDA960",d:"m64 184 4 12a900 900 0 0 0 228 329 752 752 0 0 0 577 188l-27-194a563 563 0 0 1-423-144 709 709 0 0 1-174-255 98 98 0 0 0-185 64Z"}),s().createElement("mask",{id:"a",width:"814",height:"657",x:"60",y:"60",maskUnits:"userSpaceOnUse"},s().createElement("path",{fill:"#fff",d:"m64 184 4 12a900 900 0 0 0 228 329 752 752 0 0 0 577 188l-27-194a563 563 0 0 1-423-144 709 709 0 0 1-174-255 98 98 0 0 0-185 64Z"})),s().createElement("g",{mask:"url(#a)"},s().createElement("path",{fill:"#804625",d:"M120 532c-41 0-84-5-130-15l31-145c101 21 180 12 233-27 70-51 80-141 80-142l149 13a363 363 0 0 1-139 248 351 351 0 0 1-224 68Zm369 175c47-31 84-71 110-116 32-56 46-123 42-192-3-51-15-87-16-91l-141 48a225 225 0 0 1-15 161c-33 58-101 99-203 120l30 146c76-16 141-41 193-76ZM62 269c64-4 122-22 174-53A413 413 0 0 0 421-47L184-92v-1s-16 71-73 103C92 21 70 27 44 29 7 31-37 24-86 8l-74 229a623 623 0 0 0 222 32Z"})),s().createElement("path",{fill:"#000",d:"M1373 947h-110c-33 0-60-27-60-60v-97l-36 87a62 62 0 0 1-56 37h-79c-25 0-46-14-56-37l-36-87v97c0 33-27 60-60 60H769c-33 0-60-27-60-60V316c0-33 27-60 60-60h141c24 0 46 15 55 37l106 258 107-258c9-22 31-37 55-37h140c34 0 60 27 60 60v571c0 33-26 60-60 60Zm-316-188 14 34 15-34-11 1h-7l-11-1Zm199-314h7c21 0 40 11 50 28v-97h-40l-29 70 12-1Zm-427-69v97c11-17 29-28 51-28h6l13 1-29-70h-41Z"}),s().createElement("path",{fill:"#fff",d:"M769 887V316h141l158 384h7l158-384h140v571h-110V505h-7l-145 349h-79L886 505h-6v382H769Z"})))},d=function(e){return s().createElement(f,e)};d.propTypes={};var p,m=n(8922),g=n(9300),y=u.Ay.div(p||(p=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n  position: relative;\n  color: white;\n  font-family: var(--neko-font-family);\n  font-size: var(--neko-font-size);\n  display: flex;\n  height: 60px;\n  overflow: hidden;\n  align-items: center;\n  padding: 15px 32px;\n  background-color: var(--neko-main-color);\n  display: flex;\n\n  .neko-header-logo-container {\n    width: 40px;\n    height: 40px;\n    padding: 10px;\n    margin-right: 15px;\n    background: rgba(0, 0, 0, 0.1);\n    border-radius: 100%;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n  }\n\n  .neko-header-title-container {\n    flex-direction: column;\n    display: flex;\n\n    .neko-header-title {\n      color: white;\n      font-family: var(--neko-font-family);\n      font-size: 23px;\n      line-height: normal;\n      margin: 0;\n    }\n\n    .neko-header-subtitle {\n      color: white;\n      font-family: var(--neko-font-family);\n      line-height: normal;\n      font-size: var(--neko-font-size);\n    }\n  }\n\n  .neko-header-extra-content {\n    flex: 1;\n    margin: 0 20px;\n  }\n"]))),v=function(e){var t=e.title,n=void 0===t?"NekoUI":t,r=e.subtitle,o=void 0===r?"♥️ By Meow Apps":r,i=e.children,a=e.saving,l=void 0!==a&&a;return s().createElement(y,{className:"neko-header"},s().createElement("div",{className:"neko-header-logo-container"},s().createElement(d,null)),s().createElement("div",{className:"neko-header-title-container"},s().createElement("h1",{className:"neko-header-title"},n),s().createElement("small",{className:"neko-header-subtitle"},s().createElement("a",{target:"_blank",href:"https://meowapps.com",style:{color:"white",textDecoration:"none"}},o))),s().createElement("div",{className:"neko-header-extra-content"},i),l&&s().createElement(m.z,{icon:g.A,width:"36",height:"36"}))},b=function(e){return s().createElement(v,e)};b.propTypes={title:c().string,subtitle:c().string,saving:c().bool}},8922:(e,t,n)=>{"use strict";n.d(t,{z:()=>Re});var r=n(1594),o=n.n(r),i=n(6365),a=n.n(i),s=n(3185),l=n(5977),c=n(3271),u=n(5207),h=n(7326),f=n(5962),d=n(6029),p=n(5074),m=n(21),g=n(4555),y=n(6382),v=n(1299),b=n(8843),x=n(1086),w=n(4501),k=n(3594),S=n(8957),O=n(4142),_=n(7695),E=n(4300),C=n(1860),A=(n(6268),n(6982)),j=n(858),P=n(5241),M=n(2849),R=n(552),T=n(8841),L=n(1373),I=n(7073),N=n(4613),z=n(9538),D=n(7894),F=n(7297),B=n(9966),$=n(9829),H=n(1333),W=n(2477),q=n(9014),V=n(9077),U=n(257),K=n(757),Q=n(67),G=n(3860),Y=n(4753),Z=n(2079),X=n(9931),J=n(6200),ee=n(3102),te=n(6123),ne=n(6304),re=n(9057),oe=n(2693),ie=n(9728),ae=n(1097),se=n(4196),le=n(2600),ce=n(146),ue=n(4611);const he={duplicate:n(3104).A,lock:c.A,"lock-open":u.A,"file-undo":h.A,"chevron-double-left":f.A,"chevron-double-right":d.A,"chevron-left":p.A,"chevron-right":m.A,"chevron-down":g.A,"chevron-up":y.A,pause:v.A,play:b.A,replay:x.A,check:w.A,"check-circle":k.A,stop:S.A,delete:O.A,undo:_.A,alert:E.A,database:C.A,tools:A.A,cog:j.A,close:P.A,cat:M.A,upload:G.A,trash:R.A,pencil:T.A,dashboard:L.A,search:I.A,folder:N.A,"folder-open":z.A,"image-multiple-outline":D.A,plus:F.A,"folder-plus":B.A,"image-plus":$.A,"view-grid":H.A,"format-list-bulleted":W.A,twitter:q.A,instagram:V.A,facebook:U.A,star:K.A,"timer-outline":Q.A,link:Y.A,linkedin:Z.A,pinterest:X.A,"zoom-in":J.A,"info-outline":ee.A,"image-off-outline":te.A,"arrow-up":ne.A,"arrow-down":re.A,sort:oe.A,eye:ie.A,"rocket-launch":ae.A,"calendar-month":se.A,wand:le.A,mastodon:ce.A,filter:ue.A};var fe,de,pe=n(6897);function me(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 ge(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ye=s.Ay.div(fe||(fe=ge(["\n\tdisplay: flex;\n"]))),ve=s.Ay.div(de||(de=ge(["\n\tbackground-color: rgba(0, 0, 0, 0.8);\n\tborder-radius: 4px;\n\tcolor: var(--neko-white);\n\tfont-family: var(--neko-font-family);\n\tfont-weight: normal;\n\tmin-width: 180px;\n\tmax-width: 280px;\n\tfont-size: var(--neko-font-size);\n\tpadding: 8px 12px;\n\tposition: absolute;\n \tmax-width: 280px;\n\tword-break: break-word;\n\tdisplay: ",';\n\tz-index: 100;\n\twhite-space: pre-wrap;\n\n\t&:before {\n\t\tcontent: "";\n\t\tposition: absolute;\n\t\tborder: 4px solid transparent;\n\t}\n\n\t&.top {\n\t\t&:before {\n\t\t\tmargin-left: -4px;\n\t\t\ttop: 100%;\n\t\t\tleft: 50%;\n\t\t\tborder-top: 4px solid rgba(0, 0, 0, 0.8);\n\t\t}\n\t}\n\n\t&.left {\n\t\t&:before {\n\t\t\tmargin-top: -4px;\n\t\t\ttop: 50%;\n\t\t\tright: -8px;\n\t\t\tborder-left: 4px solid rgba(0, 0, 0, 0.8);\n\t\t}\n\t}\n\n\t&.right {\n\t\t&:before {\n\t\t\tmargin-top: -4px;\n\t\t\ttop: 50%;\n\t\t\tleft: -8px;\n\t\t\tborder-right: 4px solid rgba(0, 0, 0, 0.8);\n\t\t}\n\t}\n\n\t&.bottom {\n\t\t&:before {\n\t\t\tmargin-left: -4px;\n\t\t\ttop: -8px;\n\t\t\tleft: 50%;\n\t\t\tborder-bottom: 4px solid rgba(0, 0, 0, 0.8);\n\t\t}\n\t}\n\n\t',"\n"])),(function(e){return e.visible?"inline-block":"none"}),(function(e){return e.style})),be=function(e){var t,n,i=e.text,a=void 0===i?"Hello world!":i,s=e.position,l=void 0===s?"top":s,c=(t=(0,r.useState)(!1),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return me(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)?me(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=c[0],h=c[1],f=(0,pe.Kt)(),d=f.ref,p=f.width,m=f.height,g=(0,pe.Kt)(),y=g.ref,v=g.width,b=g.height,x=(0,r.useMemo)((function(){var e=0,t=0;return"top"===l?(e=-1*m-5,t=p/2*-1+v/2):"bottom"===l?(e=b+5,t=p/2*-1+v/2):"left"===l?(e=(m-b)/2*-1,t=-1*p-5):"right"===l&&(e=(m-b)/2*-1,t=v+5),{transform:"translateX(".concat(t,"px) translateY(").concat(e,"px)")}}),[l,p,m,v,b]);return o().createElement(ye,{className:"neko-tooltip"},o().createElement(ve,{ref:d,visible:u,className:l,style:x},a),o().createElement("div",{ref:y,onMouseEnter:function(){return a&&h(!0)},onMouseLeave:function(){return h(!1)}},e.children))},xe=function(e){return o().createElement(be,e)};xe.propTypes={text:a().string,position:a().oneOf(["top","right","bottom","left"])};var we,ke,Se,Oe=["icon","color","spinning","className","tooltip","raw","isBusy","variant","title","containerStyle","hoverColor","disabled"];function _e(){return _e=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},_e.apply(this,arguments)}function Ee(e){return Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ee(e)}function Ce(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Ae=s.Ay.div(we||(we=Ce(["\n  display: flex;\n  align-items: center;\n"]))),je=(0,s.Ay)(l.In)(ke||(ke=Ce(["\n  path {\n    fill: ",";\n  }\n\n  ","\n\n  &.neko-clickable {\n    cursor: pointer;\n  }\n\n  &.spin {\n    animation-name: spin;\n    animation-duration: 700ms;\n    animation-iteration-count: infinite;\n    animation-timing-function: linear;\n\n    @keyframes spin {\n      from {\n        transform: rotate(0deg);\n      }\n      to {\n        transform: rotate(360deg);\n      }\n    }\n  }\n\n  &.disabled {\n    pointer-events: none;\n    opacity: 0.35;\n    cursor: default;\n  }\n"])),(function(e){return e.color}),(function(e){return t=e.color,(n=e.hoverColor)?"\n      &:hover {\n        path {\n          fill: ".concat(n,";\n        }\n      }\n    "):t?"\n      &:hover {\n        path {\n          filter: brightness(1.03);\n        }\n      }\n    ":void 0;var t,n})),Pe=s.Ay.div(Se||(Se=Ce(["\n  width: 25px;\n  height: auto;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n\n  img {\n    width: auto !important;\n    height: 25px !important;\n  }\n"]))),Me={primary:{color:"var(--neko-blue)"},success:{color:"var(--neko-green)"},warning:{color:"var(--neko-yellow)"},danger:{color:"var(--neko-red)"}},Re=function(e){var t=e.icon,n=e.color,i=e.spinning,a=void 0!==i&&i,s=e.className,l=void 0===s?"":s,c=e.tooltip,u=e.raw,h=e.isBusy,f=void 0!==h&&h,d=e.variant,p=e.title,m=e.containerStyle,g=e.hoverColor,y=e.disabled,v=void 0!==y&&y,b=function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Oe),x=d&&Me[d]?Me[d].color:n,w=d&&Me[d]?Me[d].hoverColor:g;b.width||b.height||(b.width=b.height=30);var k=(0,r.useMemo)((function(){return"string"==typeof t&&he[t]?he[t]:t}),[t]),S=(0,r.useMemo)((function(){return!!he[t]||"object"===Ee(t)}),[t]),O=(0,pe.gR)("neko-icon",l,{"neko-clickable":!!b.onClick},{spin:a},{disabled:v});return c?o().createElement(xe,{text:c.text,position:c.position||"top"},o().createElement(Ae,{style:m},o().createElement(je,_e({icon:k,className:O,color:x,hoverColor:w},b)))):u?S?o().createElement(je,_e({icon:k,className:O,color:x,hoverColor:w},b)):o().createElement(Pe,null,k):f&&!v?o().createElement(Pe,null,o().createElement("img",{src:"/wp-includes/images/spinner-2x.gif",alt:"loading"})):o().createElement(Ae,{style:m,title:p},S&&o().createElement(je,_e({icon:k,className:O,color:x,hoverColor:w},b)),!S&&o().createElement(Pe,_e({className:O,color:x,hoverColor:w},b),k),c?o().createElement(xe,null,c):null)};Re.propTypes={icon:a().oneOfType([a().instanceOf(l.In),a().oneOf(["duplicate","lock","lock-open","file-undo","chevron-double-left","chevron-double-right","chevron-left","chevron-right","chevron-down","chevron-up","pause","play","replay","check","check-circle","stop","delete","undo","alert","database","tools","cog","close","cat","upload","trash","pencil","dashboard","search","folder","folder-open","image-multiple-outline","plus","folder-plus","image-plus","view-grid","format-list-bulleted","twitter","instagram","facebook","star","timer-outline","link","linkedin","pinterest","zoom-in","info-outline","image-off-outline","arrow-up","arrow-down","sort","eye","rocket-launch","calendar-month","wand","mastodon","filter"])]),color:a().string,spinning:a().bool,className:a().string,tooltip:a().string,raw:a().bool,isBusy:a().bool,variant:a().string}},1843:(e,t,n)=>{"use strict";n.d(t,{K:()=>v,o:()=>y});var r,o,i=n(1594),a=n.n(i),s=n(6365),l=n.n(s),c=n(3185),u=n(8922),h=n(6897);function f(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var d=c.Ay.div(r||(r=f(["\n  display: flex;\n  align-items: center;\n"]))),p=c.Ay.span(o||(o=f(['\n  color: var(--neko-main-color);\n  cursor: pointer;\n  font-family: var(--neko-font-family);\n  font-style: normal;\n  font-weight: normal;\n  line-height: 17px;\n\n  &:hover:not(.active) {\n    filter: brightness(1.2);\n  }\n\n  &.active {\n    cursor: default;\n    color: var(--neko-gray-30);\n    font-weight: bold;\n  }\n\n  &::after {\n    content: "|";\n    color: var(--neko-disabled-color);\n    font-weight: normal;\n    padding: 0 4px;\n  }\n\n  &:last-child::after {\n    content: none;\n  }\n\n  span {\n    color: var(--neko-disabled-color);\n    font-weight: normal;\n    margin-left: 4px;\n  }\n']))),m=function(e){var t=e.name,n=e.value,r=e.onChange,o=e.busy,i=void 0!==o&&o,s=e.className,l=(0,h.gR)("neko-quick-links",s),c=a().Children.toArray(e.children).filter((function(e){return!!e})).map((function(e){return a().cloneElement(e,{busy:i,isActive:e.props.value===n,onClick:function(e){e!==n&&r(e,t)}})}));return a().createElement(d,{className:l},c)},g=function(e){var t=e.title,n=e.value,r=void 0===n?0:n,o=e.count,i=e.onClick,s=e.busy,l=e.isActive,c=void 0!==l&&l,f=e.className,d=(0,h.gR)("neko-link",f,{active:c});return a().createElement(p,{onClick:function(){return i(r)},className:d},t,void 0===o?null:a().createElement("span",null,"(",s?a().createElement(u.z,{icon:"replay",spinning:!0,width:12,containerStyle:{display:"inline"}}):o,")"))},y=function(e){return a().createElement(m,e)};y.propTypes={name:l().string,value:l().string,onChange:l().func};var v=function(e){return a().createElement(g,e)};v.propTypes={title:l().string,value:l().string,count:l().number,onClick:l().func,isActive:l().bool}},7213:(e,t,n)=>{"use strict";n.d(t,{X:()=>g});var r,o=n(1594),i=n.n(o),a=n(6365),s=n.n(a),l=n(3185),c=n(6897),u=["variant","children"];function h(){return h=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},h.apply(this,arguments)}var f,d,p=l.Ay.div(r||(f=["\n  padding: 20px;\n  color: white;\n  border-radius: 5px;\n\n  &.danger {\n    background: #ba341e;\n  }\n\n  &.success {\n    background: var(--neko-green);\n  }\n\n  &.special {\n    background: var(--neko-purple);\n  }\n\n  &.warning {\n    background: var(--neko-orange);\n  }\n\n  &.info {\n    background: var(--neko-blue);\n  }\n\n  a {\n    color: white;\n    font-weight: bold;\n  }\n"],d||(d=f.slice(0)),r=Object.freeze(Object.defineProperties(f,{raw:{value:Object.freeze(d)}})))),m=function(e){var t=e.variant,n=e.children,r=function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,u);t||(t="info");var o=(0,c.gR)("neko-message",{danger:"danger"===t},{success:"success"===t},{info:"info"===t},{warning:"warning"===t},{special:"special"===t});return i().createElement(p,h({className:o},r),n)},g=function(e){return i().createElement(m,e)};g.propTypes={variant:s().string,children:s().node}},520:(e,t,n)=>{"use strict";n.d(t,{Q:()=>b});var r,o=n(1594),i=n.n(o),a=n(6365),s=n.n(a),l=n(3185),c=n(5977),u=n(5962),h=n(5074),f=n(6029),d=n(21);function p(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}var m,g,y=l.Ay.div(r||(m=["\n  align-items: center;\n  display: flex;\n  user-select: none;\n\n  .neko-paging-text {\n    font-family: var(--neko-font-family);\n    font-style: normal;\n    font-weight: normal;\n    font-size: 15px;\n    line-height: 14px;\n    margin-right: 15px;\n  }\n\n  .neko-paging-controller {\n    box-sizing: border-box;\n    height: 30px;\n    align-items: center;\n    background: var(--neko-main-color);\n    border-radius: 15px;\n    display: flex;\n    padding: 3px 5px;\n\n    .nako-paging-controller-icon {\n      background-color: white;\n      border-radius: 100%;\n      cursor: pointer;\n      margin-right: 2px;\n      height: 22px;\n      width: 22px;\n      transition: transform 0.1s ease-in;\n      box-sizing: border-box;\n\n      :last-child {\n        margin-right: 0;\n      }\n\n      &.disabled {\n        color: var(--neko-disabled-color);\n        cursor: default;\n        pointer-events: none;\n      }\n\n      &:hover {\n        transform: scale(1.2) !important;\n        z-index: 10;\n        position: relative;\n      }\n    }\n\n    .nako-paging-controller-text {\n      color: white;\n      font-family: var(--neko-font-family);\n      font-style: normal;\n      font-weight: normal;\n      font-size: var(--neko-font-size);\n      margin: 0 40px;\n      user-select: none;\n    }\n\n    span.neko-paging-current-page {\n      cursor: pointer;\n      text-decoration: underline;\n    }\n\n    input.neko-paging-current-page {\n      width: 1.5rem;\n    }\n  }\n"],g||(g=m.slice(0)),r=Object.freeze(Object.defineProperties(m,{raw:{value:Object.freeze(g)}})))),v=function(e){var t,n,r=e.currentPage,a=e.limit,s=void 0===a?0:a,l=e.onClick,m=e.total,g=void 0===m?0:m,v=e.onCurrentPageChanged,b=e.infinite,x=void 0!==b&&b,w=e.maxInfinite,k=void 0!==w&&w,S=e.controllerText,O=!!v,_=(0,o.useMemo)((function(){return x||k?0:Math.ceil(0===g?1:s>0?g/s:1)}),[x,k,s,g]),E="nako-paging-controller-icon ".concat(x||1!==r?"":"disabled"),C="nako-paging-controller-icon ".concat(x||k||r!==_?"":"disabled"),A=(t=(0,o.useState)(!1),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return p(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)?p(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),j=A[0],P=A[1],M=function(e){P(!1),l(e)},R=function(e){if(x)return e;var t=Number(e);return k?t<1?1:t:t>_?_:t<1?1:t},T=function(e){var t=e.target.value;isNaN(t)||v(R(t)),P(!1)},L=function(e){if("Enter"===event.key){e.preventDefault();var t=e.target.value;isNaN(t)||v(R(t)),P(!1)}},I=(0,o.useMemo)((function(){return j?i().createElement("input",{autoFocus:!0,type:"text",className:O?"neko-paging-current-page":"",defaultValue:r,onBlur:T,onKeyPress:L}):i().createElement("span",{className:O?"neko-paging-current-page":"",onClick:function(){O&&P(!0)}},r)}),[r,j,v]),N=function(e){j&&e.target===e.currentTarget&&P(!1)};return i().createElement(y,{className:"nako-paging"},!!g&&i().createElement("span",{className:"neko-paging-text"},g," result",g>0?"s":""),i().createElement("div",{className:"neko-paging-controller",onClick:N},!x&&!k&&i().createElement(c.In,{icon:u.A,className:E,onClick:function(){return M(1)}}),i().createElement(c.In,{icon:h.A,className:E,onClick:function(){return M(r-1)}}),i().createElement("p",{className:"nako-paging-controller-text",onClick:N},S||i().createElement(i().Fragment,null,"Page ",I," of ",_)),i().createElement(c.In,{icon:d.A,className:C,onClick:function(){return M(r+1)}}),!x&&!k&&i().createElement(c.In,{icon:f.A,className:C,onClick:function(){return M(_)}})))},b=function(e){return i().createElement(v,e)};b.propTypes={currentPage:s().number,limit:s().number,total:s().number,onClick:s().func,lastPage:s().number,infinite:s().bool,maxInfinite:s().bool,controllerText:s().object}},851:(e,t,n)=>{"use strict";n.d(t,{j:()=>w});var r,o,i=n(1594),a=n.n(i),s=n(6365),l=n.n(s),c=n(3185),u=n(5977),h=n(1299),f=n(8957),d=n(8843),p=n(6897),m=["value","max","busy","paused","status","className"];function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function y(){return y=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},y.apply(this,arguments)}function v(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var b=(0,c.Ay)((function(e){var t=e.value,n=void 0===t?0:t,r=e.max,o=void 0===r?100:r,i=e.busy,s=void 0!==i&&i,l=e.paused,c=void 0!==l&&l,g=e.status,v=e.className,b=function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,m);n=Math.min(n,o);var w=parseFloat(n)/parseFloat(o),k=(0,p.gR)("neko-progress",v);return a().createElement("div",y({className:k},b),a().createElement(x,{ratio:w,busy:e.busy,status:g}),a().createElement("div",{className:"neko-progress-buttons"},s&&e.onPauseClick&&a().createElement("div",{className:"neko-progress-button pause",onClick:e.onPauseClick},c?a().createElement(u.L3,{icon:d.A}):a().createElement(u.L3,{icon:h.A})),s&&e.onStopClick&&a().createElement("div",{className:"neko-progress-button stop",onClick:e.onStopClick},a().createElement(u.L3,{icon:f.A}))))}))(r||(r=v(["\n  position: relative;\n  box-sizing: border-box;\n  height: 30px;\n  background: linear-gradient(\n    180deg,\n    rgba(0, 0, 0, 0.06) 0%,\n    rgba(0, 0, 0, 0.02) 50%,\n    rgba(0, 0, 0, 0.10) 100%\n  );\n  border-radius: 12px;\n\n  .neko-progress-buttons {\n    position: absolute;\n    height: 100%;\n    right: 0px;\n    display: flex;\n    align-items: center;\n    padding-right: 5px;\n\n    .neko-progress-button {\n      border: none;\n      display: flex;\n      justify-content: center;\n      align-items: center;\n      margin-left: 2px;\n      border-radius: 100%;\n      color: white;\n      padding: 2px;\n      width: 18px;\n      height: 18px;\n      background-color: var(--neko-main-color);\n\n      &:hover {\n        background-color: var(--neko-lighten-blue);\n      }\n\n      &.stop {\n        background: var(--neko-red);\n\n        &:hover {\n          background-color: var(--neko-lighten-red);\n        }\n      }\n    }\n  }\n"]))),x=(0,c.Ay)((function(e){var t,n,r,o,i=isNaN(e.ratio)?0:parseInt(Math.round(100*e.ratio)),s=g(e.status),l=(0,p.gR)("neko-progress-current",e.className),c="undefined"!==s?"string"===s?e.status:e.status(i):"".concat(i,"%");return a().createElement("div",{className:l,style:(t={minWidth:28},n="minWidth",r=i+"%",o=function(e,t){if("object"!=g(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n),(n="symbol"==g(o)?o:String(o))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t)},a().createElement("div",null,c))}))(o||(o=v(["\n  box-sizing: border-box;\n  position: absolute;\n  overflow: hidden;\n  top: 0; left: 0;\n  height: 100%;\n  background-color: var(--neko-main-color);\n  border-radius: 12px;\n  text-align: center;\n  padding: 0 10px;\n  vertical-align: middle;\n  color: white;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  transition: min-width .2s ease-out;\n  background-size: 30px 30px;\n  background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%,\n                    transparent 25%,\n                    transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,\n                    transparent 75%, transparent);\n  animation: ",";\n\n  @keyframes animate-stripes {\n    0% { background-position: 0 0; }\n    100% { background-position: 60px 0; }\n  }\n"])),(function(e){return e.busy?"animate-stripes 1.6s linear infinite":"none"})),w=function(e){return a().createElement(b,e)};w.propTypes={value:l().number,max:l().number,busy:l().bool,paused:l().bool,onPauseClick:l().func,onStopClick:l().func,status:l().oneOf([l().string,l().func])}},6087:(e,t,n)=>{"use strict";n.d(t,{X:()=>b});var r,o=n(1594),i=n.n(o),a=n(6365),s=n.n(a),l=n(3185),c=n(6897),u=["className","size"],h=["type"];function f(){return f=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},f.apply(this,arguments)}function d(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var p,m,g=l.Ay.div(r||(p=["\n  width: ",";\n  padding-top: ",";\n  position: relative;\n  margin: 0 auto;\n\n  .double-bounce1, .double-bounce2 {\n    width: 100%;\n    height: 100%;\n    border-radius: 50%;\n    background-color: ",";\n    opacity: 0.6;\n    position: absolute;\n    top: 0;\n    left: 0;\n\n    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;\n    animation: sk-bounce 2.0s infinite ease-in-out;\n  }\n\n  .double-bounce2 {\n    -webkit-animation-delay: -1.0s;\n    animation-delay: -1.0s;\n  }\n\n  @-webkit-keyframes sk-bounce {\n    0%, 100% { -webkit-transform: scale(0.0) }\n    50% { -webkit-transform: scale(1.0) }\n  }\n\n  @keyframes sk-bounce {\n    0%, 100% {\n      transform: scale(0.0);\n      -webkit-transform: scale(0.0);\n    } 50% {\n      transform: scale(1.0);\n      -webkit-transform: scale(1.0);\n    }\n  }\n"],m||(m=p.slice(0)),r=Object.freeze(Object.defineProperties(p,{raw:{value:Object.freeze(m)}}))),(function(e){return e.size||"50%"}),(function(e){return e.size||"50%"}),(function(e){return e.color||"#333"})),y=function(e){e.className;var t=e.size,n=d(e,u),r=(0,c.gR)("neko-spinner",n.className);return i().createElement(g,f({className:r,size:t},n),i().createElement("div",{className:"double-bounce1"}),i().createElement("div",{className:"double-bounce2"}))},v=function(e){var t=e.type,n=void 0===t?"circle":t,r=d(e,h);return"circle"===n?i().createElement(y,r):null},b=function(e){return i().createElement(v,e)};b.propTypes={type:s().string}},4977:(e,t,n)=>{"use strict";n.d(t,{s:()=>I});var r=n(1594),o=n.n(r),i=n(6365),a=n.n(i),s=n(3185),l=n(6897);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var u,h,f,d,p,m,g,y,v,b=["children","style","className","bold","h1","h2","h3","h4","h5","h6","p","span","label"];function x(){return x=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},x.apply(this,arguments)}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){var r,o,i;r=e,o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(t)?t:String(t)}(o))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var O="\n  font-family: var(--neko-font-family);\n  font-weight: normal;\n  line-height: normal;\n  margin-top: 0;\n  margin-bottom: 16px;\n  padding: 0;\n",_=s.Ay.h1(u||(u=S(["\n  ","\n  font-size: var(--neko-h1-font-size);\n"])),O),E=s.Ay.h2(h||(h=S(["\n  ","\n  font-size: var(--neko-h2-font-size);\n"])),O),C=s.Ay.h3(f||(f=S(["\n  ","\n  font-size: var(--neko-h3-font-size);\n"])),O),A=s.Ay.h4(d||(d=S(["\n  ","\n  font-size: var(--neko-h4-font-size);\n"])),O),j=s.Ay.h5(p||(p=S(["\n  ","\n  font-size: var(--neko-h5-font-size);\n"])),O),P=s.Ay.h6(m||(m=S(["\n  ","\n  font-size: var(--neko-h6-font-size);\n"])),O),M=s.Ay.p(g||(g=S(["\n  font-family: var(--neko-font-family);\n  font-size: var(--neko-font-size);\n  line-height: normal;\n  margin: 16px 0 24px;\n  padding: 0;\n"]))),R=s.Ay.span(y||(y=S(["\n  font-family: var(--neko-font-family);\n  font-size: var(--neko-font-size);\n  line-height: normal;\n  margin: 0;\n  padding: 0;\n"]))),T=s.Ay.label(v||(v=S(["\n  font-family: var(--neko-font-family);\n  font-size: var(--neko-font-size);\n  line-height: normal;\n  margin: 0;\n  padding: 0;\n"]))),L=function(e){var t=e.children,n=void 0===t?null:t,r=e.style,i=void 0===r?{}:r,a=e.className,s=void 0===a?"":a,c=e.bold,u=void 0!==c&&c,h=e.h1,f=e.h2,d=e.h3,p=e.h4,m=e.h5,g=e.h6,y=e.p,v=(e.span,e.label),w=function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,b),S=u?{fontWeight:"bold"}:{},O=(0,l.gR)("neko-typo",s,{"neko-typo-h1":h},{"neko-typo-h2":f},{"neko-typo-h3":d},{"neko-typo-h4":p},{"neko-typo-h5":m},{"neko-typo-h6":g},{"neko-typo-p":y},{"neko-typo-label":v});return h?o().createElement(_,x({style:k(k({},S),i),className:O},w),n):f?o().createElement(E,x({style:k(k({},S),i),className:O},w),n):d?o().createElement(C,x({style:k(k({},S),i),className:O},w),n):p?o().createElement(A,x({style:k(k({},S),i),className:O},w),n):m?o().createElement(j,x({style:k(k({},S),i),className:O},w),n):g?o().createElement(P,x({style:k(k({},S),i),className:O},w),n):y?o().createElement(M,x({style:k(k({},S),i),className:O},w),n):v?o().createElement(T,x({style:k(k({},S),i),className:O},w),n):o().createElement(R,x({style:k(k({},S),i),className:O},w),n)},I=function(e){return o().createElement(L,e)};I.propTypes={h1:a().any,h2:a().any,h3:a().any,h4:a().any,h5:a().any,h6:a().any,p:a().any,span:a().any,label:a().any,bold:a().bool,style:a().object,className:a().string,children:a().node}},209:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var r=n(1594),o=n.n(r),i=n(6365),a=n.n(i),s=n(3185),l=n(8135),c=n(2557),u=n(6897);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}var f,d=["onSuccess","onFailure","apiUrl","onSelectFiles","apiConfig","className","disabled","children","multiple","accept"];function p(){return p=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},p.apply(this,arguments)}function m(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||x(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(){g=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new R(r||[]);return o(a,"_invoke",{value:A(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",m="executing",y="completed",v={};function b(){}function x(){}function w(){}var k={};c(k,a,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(T([])));O&&O!==n&&r.call(O,a)&&(k=O);var _=w.prototype=b.prototype=Object.create(k);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==h(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function A(t,n,r){var o=d;return function(i,a){if(o===m)throw new Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=j(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var c=f(t,n,r);if("normal"===c.type){if(o=r.done?y:p,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function j(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,j(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(h(t)+" is not iterable")}return x.prototype=w,o(_,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:x,configurable:!0}),x.displayName=c(w,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===x||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,c(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},E(C.prototype),c(C.prototype,s,(function(){return this})),t.AsyncIterator=C,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new C(u(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(_),c(_,l,"Generator"),c(_,a,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,R.prototype={constructor:R,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(M),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;M(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function y(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){y(i,r,o,a,s,"next",e)}function s(e){y(i,r,o,a,s,"throw",e)}a(void 0)}))}}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||x(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){if(e){if("string"==typeof e)return w(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)?w(e,t):void 0}}function w(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}var k,S,O=s.Ay.div(f||(k=["\n  &.dropping {\n    background: #a4d5ff;\n  }\n"],S||(S=k.slice(0)),f=Object.freeze(Object.defineProperties(k,{raw:{value:Object.freeze(S)}})))),_=(0,r.forwardRef)((function(e,t){var n=e.onSuccess,i=void 0===n?function(){}:n,a=e.onFailure,s=void 0===a?function(){}:a,h=e.apiUrl,f=e.onSelectFiles,y=void 0===f?function(){}:f,x=e.apiConfig,w=e.className,k=e.disabled,S=void 0!==k&&k,_=e.children,E=e.multiple,C=(e.accept,function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,d)),A=b((0,r.useState)(!1),2),j=A[0],P=A[1],M=b((0,r.useState)(!1),2),R=M[0],T=M[1],L=h,I=(0,r.useCallback)(function(){var e=v(g().mark((function e(t){var n,r,o,a;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return T(!0),n=function(){var e=v(g().mark((function e(t){return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return x.file=t,e.next=3,(0,l.Tb)(h,x);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),e.next=4,Promise.all(t.map(function(){var e=v(g().mark((function e(t){return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 4:r=e.sent,o=r.filter((function(e){return e.success})),a=r.filter((function(e){return!e.success})),o.length&&i(E?o:o[0]),a.length&&s(E?a:a[0]),T(!1);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[h,E,x,i,s]),N=(0,r.useCallback)((function(e,t){t.preventDefault(),t.stopPropagation(),P(!1),L?I(e):y(e)}),[L,I]),z=(0,r.useCallback)((function(e){e.preventDefault(),e.stopPropagation()}),[]),D=(0,r.useCallback)((function(e){e.preventDefault(),e.stopPropagation(),S||P(!0)}),[S]),F=(0,r.useCallback)((function(e){e.preventDefault(),e.stopPropagation(),S||P(!1)}),[S]),B=(0,r.useCallback)((function(e){if(!S){var t=m(e.dataTransfer.files);e.target.value=null,N(t,e)}}),[S,N]),$=(0,r.useCallback)((function(e){var t=m(e.target.files);e.target.value=null,N(t,e)}),[N]),H=(0,u.gR)("neko-upload-drop-area",w,{dropping:j});return o().createElement(c.A,{busy:R},o().createElement("input",{type:"file",accept:".csv, .json, .jsonl, .txt",ref:t,onChange:$,style:{display:"none"},multiple:E,disabled:S}),o().createElement(O,p({className:H,onDragOver:z,onDragEnter:D,onDragLeave:F,onDrop:B},C),_))}));_.propTypes={ref:a().ref,onSuccess:a().func,onFailure:a().func,onSelectFiles:a().func,apiUrl:a().string,apiConfig:a().object,disabled:a().bool}},9794:(e,t,n)=>{"use strict";n.d(t,{n:()=>O});var r,o,i=n(1594),a=n.n(i),s=n(6365),l=n.n(s),c=n(8187),u=n.n(c),h=n(3185),f=n(9296),d=n(6897),p=["className","style","title","content","contentWidth","customButtons","okOnEnter","thumbnail","okButton","cancelButton","isOpen","children","customButtonsPosition","fullSize"],m=["label"],g=["label"];function y(){return y=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},y.apply(this,arguments)}function v(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function b(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var x=(0,h.DU)(r||(r=b(["\n  .ReactModal__Overlay {\n    z-index: 9999;\n    display: flex;\n    justify-content: center;\n    flex-direction: column;\n    align-items: center;\n    backdrop-filter: blur(2px);\n    background-color: rgba(0, 0, 0, 0.35) !important;\n    opacity: 0;\n    transition: opacity 200ms ease-in-out;\n  }\n  .ReactModal__Overlay--after-open {\n    opacity: 1;\n  }\n  .ReactModal__Overlay--before-close {\n    opacity: 0;\n  }\n  .ReactModal__Overlay .neko-modal {\n    opacity: 0;\n    transform: scale(0.85);\n    transition: all 200ms ease-in-out;\n  }\n  .ReactModal__Overlay--after-open .neko-modal {\n    transform: scale(1);\n    opacity: 1;\n  }\n  .ReactModal__Overlay--before-close .neko-modal {\n    transform: scale(0.85);\n    opacity: 0;\n  }\n  .neko-modal {\n    background: white;\n    color: var(--neko-font-color);\n    position: relative;\n    box-shadow: 0 1px 2px rgba(0,0,0,0.07), \n                0 2px 4px rgba(0,0,0,0.07), \n                0 4px 8px rgba(0,0,0,0.07), \n                0 8px 16px rgba(0,0,0,0.07),\n                0 16px 32px rgba(0,0,0,0.07), \n                0 32px 64px rgba(0,0,0,0.07);\n    outline: none;\n    padding: 15px;\n    max-width: 1200px;\n    border-radius: 5px;\n    display: flex;\n    flex-direction: column;\n  }\n  .neko-modal.full-size {\n    margin-top: 32px;\n    width: 90vw;\n    height: 85vh;\n    max-width: none;\n    max-height: none;\n  }\n"]))),w=h.Ay.div(o||(o=b(["\n  width: ",";\n  flex: 1;\n  display: flex;\n  flex-direction: column;\n\n  p {\n    margin: 0;\n  }\n  .title {\n    font-family: var(--neko-font-family);\n    font-style: normal;\n    font-weight: bold;\n    font-size: 18px;\n    line-height: 22px;\n    margin-bottom: 15px;\n  }\n  .content-container {\n    display: flex;\n    position: relative;\n    z-index: 1;\n    flex: 1;\n    overflow-y: clip;\n\n    .thumbnail {\n      margin-right: 15px;\n      width: 240px;\n      overflow: hidden;\n\n      img {\n        width: 100%;\n        height: 100%;\n        object-fit: cover;\n      }\n    }\n    .content {\n      flex: auto;\n      font-family: var(--neko-font-family);\n      font-style: normal;\n      font-weight: normal;\n      font-size: var(--neko-font-size);\n      line-height: 14px;\n      width: 100%;\n      margin: 0px !important;\n      padding: 0px !important;\n    }\n  }\n  .button-group {\n    align-items: center;\n    display: flex;\n    justify-content: flex-end;\n    margin-top: 15px;\n    font-size: inherit;\n    white-space: normal;\n  }\n"])),(function(e){var t;return e.fullSize?"100%":null!==(t=e.width)&&void 0!==t?t:"518px"})),k=["disabled","ok","okOnClick","okDisabled","cancel","cancelOnClick","cancelDisabled"],S=function(e){var t=e.className,n=e.style,r=e.title,o=void 0===r?"":r,s=e.content,l=void 0===s?"":s,c=e.contentWidth,h=e.customButtons,b=void 0===h?null:h,S=e.okOnEnter,O=void 0!==S&&S,_=e.thumbnail,E=e.okButton,C=void 0===E?{}:E,A=e.cancelButton,j=void 0===A?{}:A,P=e.isOpen,M=e.children,R=e.customButtonsPosition,T=void 0===R?"right":R,L=e.fullSize,I=void 0!==L&&L,N=v(e,p),z=null!==b,D=(0,d.gR)("neko-modal",t,{"custom-modal":n,"full-size":I}),F=C.label,B=void 0===F?"OK":F,$=v(C,m),H=j.label,W=void 0===H?"Cancel":H,q=v(j,g);(0,i.useEffect)((function(){var t=[];k.forEach((function(n){void 0!==e[n]&&t.push(n)})),t.length>0&&console.warn("[Deprecated] NekoUI: The button attributes, ".concat(t.join(", "),', are deprecated in the NekoModal. Please use an object attribute like this: okButton={{ label: “OK", onClick, disabled }} cancelButton={{ label: “OK", onClick, disabled }}\''),{props:e})}),[e]);var V=(0,i.useRef)(null),U=((0,i.useCallback)((function(){return V.current}),[]),(0,i.useCallback)((function(e){"Enter"===e.key&&$.onClick()}),[$.onClick]));(0,i.useEffect)((function(){if(O&&P)return window.addEventListener("keyup",U),function(){window.removeEventListener("keyup",U)}}),[O,P,U]);var K=M||a().createElement(w,{width:c,fullSize:I},o&&a().createElement("p",{className:"title"},o),a().createElement("div",{className:"content-container"},_&&a().createElement("div",{className:"thumbnail"},_),l&&a().createElement("p",{className:"content"},l)),a().createElement("div",{className:"button-group ".concat(t)},z&&"left"===T&&b,q.onClick&&a().createElement(f.M,y({className:"danger"},q),W),$.onClick&&a().createElement(f.M,$,B),z&&"right"===T&&b));return a().createElement(a().Fragment,null,a().createElement(x,null),a().createElement(u(),y({ariaHideApp:!1,closeTimeoutMS:200,className:D,isOpen:P},N),K))},O=function(e){return a().createElement(S,e)};O.propTypes={className:l().string,style:l().object,title:l().string,content:l().string,contentWidth:l().string,customButtons:l().object,okOnEnter:l().bool,thumbnail:l().element,okButton:l().object,cancelButton:l().object,fullSize:l().bool}},5900:(e,t,n)=>{"use strict";n.d(t,{o:()=>W});var r=n(1594),o=n.n(r),i=n(6365),a=n.n(i),s=n(3185),l=n(5977),c=n(4555),u=n(6382),h=n(2557),f=n(5263),d=n(6897);function p(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return m(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)?m(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(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}var g,y=n(8922),v=n(374),b=n(4536),x=n(4677),w=n(9296),k=n(6734),S=n(8696);function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||_(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){if(e){if("string"==typeof e)return E(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)?E(e,t):void 0}}function E(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}var C,A,j,P=s.Ay.div(g||(C=["\n  min-width: 160px;\n  padding: 8px;\n  border-radius: 8px;\n  overflow: hidden;\n  background: var(--neko-main-color-alternative);\n  color: white;\n  \n  .neko-context-content {\n    max-height: 202px;\n    overflow-y: auto;\n  }\n\n  .neko-checkbox {\n    margin-bottom: 5px;\n\n    &:last-child {\n      margin-bottom: 0;\n    }\n  }\n\n  .neko-radio:last-child {\n    margin-bottom: 0;\n  }\n\n  svg {\n    color: var(--neko-disabled-color);\n\n    &.neko-active {\n      color: white;\n    }\n  }\n"],A||(A=C.slice(0)),g=Object.freeze(Object.defineProperties(C,{raw:{value:Object.freeze(A)}})))),M=function(e){var t=e.accessor,n=e.options,o=e.type,i=void 0===o?"checkbox":o,a=e.onChange,s=e.description,l=e.filters,c=O((0,r.useState)(!1),2),u=c[0],h=c[1],d=O((0,r.useState)(""),2),p=d[0],m=d[1],g=O((0,r.useState)(""),2),C=g[0],A=g[1],j=(0,r.useRef)(null),M=(0,r.useRef)(null),R=l&&l.length>0||p.length>0,T="checkbox"===i,L="select"===i,I="text"===i,N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;void 0!==e&&e!==p&&m((function(){return e})),C!==p&&(a(t,C),m(C))};return(0,r.useEffect)((function(){N(),u&&setTimeout((function(){M.current&&M.current.focus()}),10)}),[u]),React.createElement(React.Fragment,null,React.createElement("div",{ref:j},React.createElement(y.z,{icon:"filter",className:R?"neko-active":"",onClick:function(){return h(!u)},width:16,height:16})),React.createElement(v.G,{visible:u,targetRef:j,onClose:function(){return h(!1)}},React.createElement(P,null,React.createElement("div",{className:"neko-context-menu"},!!s&&React.createElement("p",{style:{marginTop:0,marginBottom:5}},s),React.createElement("div",{className:"neko-context-content"},T&&React.createElement(b.E,{name:"neko-context-menu-checkboxes"},n.map((function(e){return React.createElement(f.R,{small:!0,key:e.value,label:e.label,checked:null==l?void 0:l.includes(e.value),onChange:function(n){if(l)return a(t,n?[].concat(function(e){if(Array.isArray(e))return E(e)}(r=l)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||_(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[e.value]):l.filter((function(t){return t!=e.value})));var r;console.error("[NekoUI] filters needs to be set for the NekoTable.",{accessor:t,option:e.value})}})}))),L&&React.createElement(x.u,{name:"neko-context-menu-select",onChange:function(e){return a(t,e)}},n.map((function(e){return React.createElement(x.j,{id:e.value,key:e.value,label:e.label,value:e.value,checked:l===e.value})})))),I&&React.createElement(S.A,{ref:M,name:"neko-context-menu-text",value:C,onChange:function(e){return A(e)},onEnter:function(e){N(e),h(!1)}}),React.createElement(k.g,{tiny:!0}),React.createElement("div",{className:"neko-context-menu-bottom-actions"},React.createElement(w.M,{fullWidth:!0,disabled:!R,onClick:function(){a(t,T?[]:null),A(""),h(!1),m("")}},"Reset"))))))};function R(e){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(e)}function T(){return T=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},T.apply(this,arguments)}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){var r,o,i;r=e,o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=R(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=R(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==R(t)?t:String(t)}(o))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}M.propTypes={accessor:a().string,options:a().array,type:a().oneOf(["checkbox","select","text"]),onChange:a().func,filters:a().oneOfType([a().string,a().array])};var N=s.Ay.table(j||(j=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n  font-family: var(--neko-font-family);\n  border-spacing: 0;\n  width: 100%;\n  word-break: break-all;\n\n  th, td {\n    margin: 0;\n    padding: 5px;\n    border-bottom: 1px solid rgba(0, 0, 0, 0.05);\n    border-right: 1px solid rgba(0, 0, 0, 0.05);\n    height: 1px;\n\n    a {\n      text-decoration: none;\n    }\n  }\n\n  th:last-child, td:last-child {\n    border-right: 0;\n  }\n\n  th, tfoot td {\n    height: 30px;\n    background-color: var(--neko-main-color);\n    color: var(--neko-white);\n    font-style: normal;\n    font-weight: normal;\n    font-size: var(--neko-font-size);\n    line-height: 16px;\n    text-align: left;\n\n    div {\n      display: flex;\n      align-items: center;\n      justify-content: space-between;\n\n      &.neko-column-action {\n        cursor: pointer;\n\n        svg {\n          color: rgba(255, 255, 255, 0.5);\n        }\n\n        svg.neko-active {\n          color: white;\n        }\n      }\n    }\n  }\n\n  &.neko-table-raw {\n    th, td {\n      border: 0;\n\n      .neko-column-action {\n\n        > svg {\n          color: black;\n          opacity: 0.5;\n        }\n\n        > svg.neko-active {\n          opacity: 1;\n        }\n      }\n    }\n  }\n\n  &.neko-table-raw {\n    th {\n      font-weight: bold;\n    }\n    th, tfoot td {\n      background-color: white;\n      color: var(--neko-font-color);\n    }\n  }\n\n  tbody {\n    background-color: white;\n    color: var(--neko-font-color);\n    \n    tr:nth-child(even) {\n        background-color: var(--neko-gray-98);\n    }\n\n    tr.selected, tr.selected:nth-child(even) {\n        background-color: var(--neko-main-color);\n        filter: brightness(1.2);\n        color: white;\n\n        a {\n          color: #81e8ff;\n        }\n    }\n    \n    img {\n      vertical-align: bottom;\n    }\n}\n\n  &.neko-table-raw {\n\n    svg {\n      &.neko-active {\n        color: var(--neko-main-color) !important;\n        opacity: 1;\n      }\n    }\n\n    tbody {\n      tr {\n        &.selected, &.selected :nth-child(even) {\n          background-color: white;\n          color: var(--neko-black);\n        }\n      }\n    }\n  }\n\n  tfoot tr:last-child {\n    td {\n      border-bottom: 0;\n    }\n  }\n\n  .table-checkbox-cell {\n    width: 23px;\n    text-align: center;\n\n    svg {\n      padding: 5px;\n      cursor: pointer;\n    }\n  }\n\n  &.neko-row-selectable {\n    tbody tr {\n      cursor: pointer;\n    }\n  }\n"]))),z=function(e){var t=e.checked,n=e.indeterminate,r=e.onSelect,i=void 0===r?function(){}:r,a=e.onUnselect,s=void 0===a?function(){}:a,l=e.isBusy,c=void 0!==l&&l;return o().createElement(f.R,{small:!0,onChange:function(e,t,n){return e?i(n):s(n)},checked:t,indeterminate:n,isBusy:t&&c,disabled:c})},D={left:"start",center:"center",right:"end"},F=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={};return e.align&&(n={textAlign:e.align,justifyContent:D[e.align]}),t&&e.verticalAlign&&(n=I(I({},n),{},{verticalAlign:e.verticalAlign})),e.width&&(n=I(I({},n),{},{width:e.width})),e.style&&(n=I(I({},n),e.style)),n},B=function(e){return!0===e?"#edf8ff":e},$=function(e,t){console.log("[NekoUI] Missing implementation for onFilterChange.",{filter:e,value:t})},H=function(e){var t=e.data,n=void 0===t?[]:t,i=e.selectedItems,a=void 0===i?[]:i,s=e.selectedRow,f=e.filters,m=e.onFilterChange,g=void 0===m?$:m,y=e.columns,v=void 0===y?[]:y,b=e.busy,x=void 0!==b&&b,w=e.onSelect,k=e.onSelectRow,S=e.selectOnRowClick,O=void 0===S||S,_=e.onUnselect,E=e.onSortChange,C=void 0===E?function(){}:E,A=e.variant,j=void 0===A?"default":A,P=e.alternateRowColor,R=void 0!==P&&P,L=e.sort,D=e.emptyMessage,H=void 0===D?"Empty.":D,W=v.length+(w?1:0);n.some((function(e){return void 0===e.id}))&&(console.warn('Table data is missing the "id" field. Using the index as id instead, and disabling the row selection.'),n.forEach((function(e,t){e.id||(e.disabled_row=!0,e.id=-t)})));var q,V,U,K,Q,G,Y,Z,X=function(e){return e?{backgroundColor:B(e)}:{}}(R),J=n.map((function(e){var t=v.map((function(t){return{value:e[t.accessor],style:F(t,!0)}}));return{id:e.id,disabled_row:null==e?void 0:e.disabled_row,isBusy:e.isBusy||!1,cells:t}})),ee=(q={list:n.map((function(e){return{id:e.id}})),selectedList:a,callback:w},V=q.list,U=q.selectedList,K=q.callback,G=void 0===(Q=q.key)?"id":Q,Y=(0,d.v_)().pressShift,Z=(0,r.useMemo)((function(){if(!Y||!U.length)return null;var e=U[U.length-1];return V.findIndex((function(t){return t[G]===e}))}),[G,V,Y,U]),{onSelect:(0,r.useCallback)((function(e){if(K)if(null!==Z){var t=e[0],n=V.findIndex((function(e){return e[G]===t})),r=(Z<n?Z:n)+1,o=Z<n?n:Z,i=V.slice(r,o).map((function(e){return e[G]})).filter((function(e){return!U.some((function(t){return t===e}))}));K([].concat(p(i),p(e)))}else K(p(e))}),[Z,V,K,U,G])}).onSelect,te=J.map((function(e){return e.id})),ne=0===te.length,re=te.filter((function(e){return a.includes(e)})),oe=!ne&&re.length===te.length,ie=!oe&&a.length>0,ae=v.reduce((function(e,t,n){return!1===t.visible&&e.push(n),e}),[]),se=o().createElement("tr",null,w&&!ne&&o().createElement("th",{className:"table-checkbox-cell"},o().createElement(z,{checked:oe,indeterminate:ie,onSelect:function(e){return w(te,e)},onUnselect:function(e){_(ie?a:te,e)}})),v.filter((function(e,t){return!ae.includes(t)})).map((function(e){var t,n,r,i=L&&L.accessor===e.accessor,a=L&&"asc"===L.by,s=F(e);return o().createElement("th",{style:s,key:e.accessor},o().createElement("div",{style:I(I({},s),{},{width:"auto"})},o().createElement("div",null,e.title),o().createElement("div",{style:{flex:"auto"}}),o().createElement("div",{className:"neko-column-action"},e.filters&&o().createElement(M,T({accessor:e.accessor},e.filters,{onChange:function(e,t){return g(e,t)},filters:(r=null!==(t=null==f?void 0:f.find((function(t){return t.accessor===e.accessor})))&&void 0!==t?t:null,null!==(n=null==r?void 0:r.value)&&void 0!==n?n:null)}))),o().createElement("div",{className:"neko-column-action",onClick:e.sortable?function(t){var n=L&&L.accessor!==e.accessor;C(e.accessor,n||i&&a?"desc":"asc",t)}:void 0},e.sortable&&o().createElement(l.In,{className:i?"neko-active":"",icon:i&&a?u.A:c.A,width:"26px",height:"26px"}))))}))),le=(0,d.gR)("neko-table","neko-table-".concat(j),{"neko-row-selectable":!!k});return o().createElement(h.A,{busy:x,overlaystyle:{top:"36px",height:"calc(100% - 76px)"}},o().createElement(N,{className:le},o().createElement("thead",null,se),o().createElement("tbody",null,!J.length&&o().createElement("tr",null,o().createElement("td",{colspan:W,style:{textAlign:"center",height:40,color:"gray"}},H)),J.map((function(e,t){var n=t%2==0?X:{},r=!!s&&s===e.id||a.includes(e.id);return o().createElement("tr",{key:"neko-row-".concat(e.id),className:r?"selected":"",style:n,onClick:function(t){t.stopPropagation(),k&&O&&k(e.id,t)}},w&&o().createElement("td",{className:"table-checkbox-cell"},o().createElement(z,{checked:a.includes(e.id),onSelect:function(t){t.stopPropagation(),ee([e.id],t)},onUnselect:function(t){t.stopPropagation(),_([e.id],t)},isBusy:e.isBusy||(null==e?void 0:e.disabled_row)})),e.cells.filter((function(e,t){return!ae.includes(t)})).map((function(n,r){return o().createElement("td",{key:"".concat(e.id).concat(t).concat(r),style:n.style},n.value)})))}))),"default"===j&&o().createElement("tfoot",null,se)))},W=function(e){return o().createElement(H,e)};W.propTypes={columns:a().arrayOf(a().any),data:a().arrayOf(a().any),busy:a().bool,onSelect:a().func,onSelectRow:a().func,selectOnRowClick:a().bool,onUnselect:a().func,selectedItems:a().arrayOf(a().any),onSortChange:a().func,variant:a().string,alternateRowColor:a().oneOfType([a().bool,a().string])}},3676:(e,t,n)=>{"use strict";n.d(t,{V:()=>L,_:()=>T});var r,o,i,a,s,l,c=n(1594),u=n.n(c),h=n(6365),f=n.n(h),d=n(3185),p=n(1329),m=n(8922),g=n(6897),y=n(2557),v=n(9296),b=["inversed","children","action"];function x(){return x=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},x.apply(this,arguments)}function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return k(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)?k(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(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 S(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var O=d.Ay.div(r||(r=S(["\n  display: flex;\n  justify-content: space-between;\n  position: relative;\n  height: 39px;\n"]))),_=d.Ay.div(o||(o=S(["\n  display: flex;\n  height: 39px;\n  position: absolute;\n  overflow: hidden;\n  max-width: ",";\n"])),(function(e){return e.$needsMoreSpace?"calc(100% - 75px - ".concat(e.$actionWidth,"px)"):"100%"})),E=d.Ay.div(i||(i=S(["\n  z-index: 1;\n  display: flex;\n  align-items: center;\n  height: 39px;\n  margin-left: auto;\n"]))),C=d.Ay.div(a||(a=S(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  height: 39px;\n  margin-right: 5px;\n"]))),A=d.Ay.button(s||(s=S(["\n  border-radius: 8px 8px 0px 0px;\n  border: 0;\n  background-color: var(--neko-main-color-disabled);\n  color: rgb(255 255 255 / 65%);\n  display: flex;\n  align-items: center;\n\n  cursor: pointer;\n  margin: 0 5px 0 0;\n  text-align: left;\n  padding: 12px 15px 12px 15px;\n\n  &:not(.active):not(.disabled):hover {\n    filter: brightness(1.1);\n  }\n\n  &:focus {\n    outline: none;\n  }\n\n  &.active {\n    background-color: var(--neko-main-color);\n    color: var(--neko-white);\n  }\n\n  &.disabled {\n    cursor: default;\n    display: inline-flex;\n    padding-bottom: 7px;\n  }\n\n  &.hidden {\n    display: none;\n  }\n\n  &.inversed {\n    &.active {\n      background-color: var(--neko-white);\n      color: var(--neko-font-color);\n    }\n  }\n"]))),j=d.Ay.div(l||(l=S(["\n  background-color: var(--neko-main-color);\n  color: white;\n  display: none;\n  padding: 10px;\n  border-radius: 0px 0px 8px 8px;\n  box-shadow: 0px 8px 8px -8px rgba(0, 0, 0, 0.35);\n\n  &.active {\n    display: block;\n  }\n\n  &.inversed {\n    background-color: var(--neko-white);\n    color: var(--neko-black);\n  }\n"]))),P=function(e,t){var n=e.props,r="tab-"+(t+1);return e.key?r=e.key:"string"==typeof n.title&&(r=(r=n.title.toLowerCase().replace(/[^a-z0-9\u4e00-\u9fa5\u3040-\u309f\u30a0-\u30ff\u2e80-\u2eff\u31f0-\u31ff\u3200-\u32ff\u3400-\u4dbf\uf900-\ufaff ]/gi,"")).replace(/ /g,"-")),r},M=function(e){var t,n=e.inversed,r=e.children,o=e.action,i=function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,b),a=(0,c.useRef)(null),s=(0,c.useRef)(null),l=(0,c.useRef)(null),h=w((0,c.useState)([]),2),f=h[0],d=h[1],y=w((0,c.useState)([]),2),k=y[0],S=y[1],j=w((0,c.useState)(0),2),M=j[0],R=j[1],T=w((0,c.useState)(0),2),L=T[0],I=T[1],N=w((0,c.useState)(!1),2),z=N[0],D=N[1],F=w((0,c.useState)(!1),2),B=F[0],$=F[1],H=w((0,c.useState)(null!==(t=e.currentTab)&&void 0!==t?t:f[0]),2),W=H[0],q=H[1],V=(0,c.useRef)([]),U=(0,c.useCallback)((function(e){if(history.pushState&&"string"==typeof e){var t=new URLSearchParams(window.location.search);t.set("nekoTab",e);var n=window.location.protocol+"//"+window.location.host+window.location.pathname+"?"+t.toString();window.history.replaceState({path:n},"",n)}}),[]),K=(0,c.useCallback)((function(t,n,r){n&&!n.requirePro&&(void 0===e.currentTab&&q(n.key),e.onChange&&e.onChange(t,n,r),e.keepTabOnReload&&U(n.key))}),[e,U]);(0,c.useLayoutEffect)((function(){s.current&&(R(s.current.offsetWidth),$(!0)),l.current&&I(l.current.offsetWidth)}),[]),(0,c.useLayoutEffect)((function(){var e=V.current.reduce((function(e,t){return e+(t?t.offsetWidth+10:0)}),0);D(e>M-L)}),[f,M,L]);var Q=(0,c.useMemo)((function(){return r?r.length?r.filter((function(e){return!!e})):[r]:[]}),[r]);(0,c.useEffect)((function(){var e=[],t=u().Children.map(Q,(function(t,n){var r=P(t,n);return-1!==e.indexOf(r)&&(console.log("NekoTabs: Duplicated key found!",r,t),r=r+"-"+function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:6,t="",n=0;n<e;n++)t+="abcdefghijklmnopqrstuvwxyz0123456789"[Math.floor(36*Math.random())];return t}()),e.push(r),r}));t.length===f.length||d(t)}),[Q]),(0,c.useEffect)((function(){var t=u().Children.map(Q,(function(t,n){var r=t.props.title||"Untitled Tab ".concat(n+1);return{key:P(t,n),title:r,onClick:t.props.onClick||null,requirePro:!e.isPro&&(t.props.requirePro||!1),hidden:t.props.hidden||!1,icon:t.props.icon||!1}}));S(t)}),[Q,e.isPro]),(0,c.useEffect)((function(){void 0!==e.currentTab?f.includes(e.currentTab)?q(e.currentTab):f.length>0&&q(f[0]):!f.includes(W)&&f.length>0&&q(f[0])}),[e.currentTab,f,W]),(0,c.useLayoutEffect)((function(){if(e.keepTabOnReload){var t=new URL(window.location.href).searchParams.get("nekoTab");if(!t)return q(f[0]),void(e.callOnTabChangeFirst&&K(0,k[0]));var n=decodeURIComponent(t),r=f.indexOf(n);if(-1===r)return q(f[0]),void(e.callOnTabChangeFirst&&K(0,k[0]));q(f[r]),e.callOnTabChangeFirst&&K(r,k[r])}else if(e.callOnTabChangeFirst){var o=f.indexOf(W);K(o,k[o])}}),[e.keepTabOnReload,e.callOnTabChangeFirst,f,W,k,K]);var G=(0,c.useMemo)((function(){return u().Children.map(Q,(function(e,t){var r=P(e,t),o=r===W,i=e.props.hidden;if(o&&i){var a=f.find((function(e){var t;return!(null!==(t=k.find((function(t){return t.key===e})))&&void 0!==t&&t.hidden)}));q(a)}return u().cloneElement(e,{isActive:o&&!i,inversed:n,key:r})}))}),[Q,W,f,n,k]),Y=(0,g.gR)("neko-tabs",{inversed:n});return u().createElement("div",x({ref:s,className:Y},i),u().createElement(O,null,u().createElement(_,{ref:a,$needsMoreSpace:z,$actionWidth:L},B&&k.map((function(e,t){return u().createElement(A,{key:e.key,ref:function(e){return V.current[t]=e},onClick:function(n){return K(t,e,n)},className:"neko-tab-title ".concat(e.key===W?"active":""," ").concat(e.requirePro?"disabled":""," ").concat(e.hidden?"hidden":""," ").concat(n?"inversed":"")},e.icon&&u().createElement(m.z,{icon:e.icon,width:15,height:15,style:{marginRight:"2px"},raw:!0}),e.title,u().createElement(p.K,{className:"inline",show:e.requirePro,style:{marginLeft:10,marginRight:-5,top:-1}}))}))),(!!o||z)&&u().createElement(E,{ref:l},z&&u().createElement(C,null,u().createElement(v.M,{rounded:!0,className:"secondary",icon:"chevron-left",onClick:function(){a.current&&a.current.scrollTo({left:a.current.scrollLeft-200,behavior:"smooth"})}}),u().createElement(v.M,{rounded:!0,className:"secondary",icon:"chevron-right",onClick:function(){a.current&&a.current.scrollTo({left:a.current.scrollLeft+200,behavior:"smooth"})}})),!!o&&o)),G)},R=function(e){var t=e.children,n=e.isActive,r=void 0!==n&&n,o=e.busy,i=void 0!==o&&o,a=e.inversed,s=(0,g.gR)("neko-tab-content",{active:r,inversed:a});return u().createElement(y.A,{busy:i},u().createElement(j,{className:s},r&&t))},T=function(e){return u().createElement(M,e)};T.propTypes={isPro:f().bool,onChange:f().func,action:f().node,currentTab:f().string,keepTabOnReload:f().bool,callOnTabChangeFirst:f().bool};var L=function(e){return u().createElement(R,e)};L.propTypes={isActive:f().bool,requirePro:f().bool,title:f().string,icon:f().string}},7494:(e,t,n)=>{"use strict";n.d(t,{V:()=>m});var r,o=n(1594),i=n.n(o),a=n(6365),s=n.n(a),l=n(3185),c=["align"];function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}var h,f,d=l.Ay.div(r||(h=["\n  box-sizing: border-box;\n  display: flex;\n  width: 100%;\n  padding: 10px 10px;\n  background: white;\n  color: var(--neko-font-color);\n  border-radius: 10px;\n  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);\n  align-items: center;\n\n  &.neko-align-left {\n    justify-content: flex-start;\n  }\n\n  &.neko-align-right {\n    justify-content: flex-end;\n  }\n\n  > *:not(:last-child) {\n    margin-right: 5px;\n  }\n"],f||(f=h.slice(0)),r=Object.freeze(Object.defineProperties(h,{raw:{value:Object.freeze(f)}})))),p=function(e){var t=e.align,n=void 0===t?"left":t,r=function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,c);return i().createElement(d,u({className:"neko-toolbar neko-align-".concat(n)},r),r.children)},m=function(e){return i().createElement(p,e)};m.propTypes={align:s().oneOf(["left","right"])}},7965:(e,t,n)=>{"use strict";var r=n(6426),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,s,l,c,u=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),s=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),s.selectNodeContents(c),l.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),c&&document.body.removeChild(c),a()}return u}},4146:(e,t,n)=>{"use strict";var r=n(4363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=d(n);o&&o!==p&&e(t,o,r)}var a=u(n);h&&(a=a.concat(h(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var y=a[g];if(!(i[y]||r&&r[y]||m&&m[y]||s&&s[y])){var v=f(n,y);try{c(t,y,v)}catch(e){}}}}return t}},4809:function(e,t){var n,r;n=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},n=!t.document&&!!t.postMessage,r=t.IS_PAPA_WORKER||!1,o={},i=0,a={parse:function(n,r){var s=(r=r||{}).dynamicTyping||!1;if(w(s)&&(r.dynamicTypingFunction=s,s={}),r.dynamicTyping=s,r.transform=!!w(r.transform)&&r.transform,r.worker&&a.WORKERS_SUPPORTED){var l=function(){if(!a.WORKERS_SUPPORTED)return!1;var n,r,s=(n=t.URL||t.webkitURL||null,r=e.toString(),a.BLOB_URL||(a.BLOB_URL=n.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))),l=new t.Worker(s);return l.onmessage=g,l.id=i++,o[l.id]=l}();return l.userStep=r.step,l.userChunk=r.chunk,l.userComplete=r.complete,l.userError=r.error,r.step=w(r.step),r.chunk=w(r.chunk),r.complete=w(r.complete),r.error=w(r.error),delete r.worker,void l.postMessage({input:n,config:r,workerId:l.id})}var d=null;return a.NODE_STREAM_INPUT,"string"==typeof n?(n=function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}(n),d=r.download?new c(r):new h(r)):!0===n.readable&&w(n.read)&&w(n.on)?d=new f(r):(t.File&&n instanceof File||n instanceof Object)&&(d=new u(r)),d.stream(n)},unparse:function(e,t){var n=!1,r=!0,o=",",i="\r\n",s='"',l=s+s,c=!1,u=null,h=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||a.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(o=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(c=t.skipEmptyLines),"string"==typeof t.newline&&(i=t.newline),"string"==typeof t.quoteChar&&(s=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");u=t.columns}void 0!==t.escapeChar&&(l=t.escapeChar+s),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(h=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var f=new RegExp(p(s),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return d(null,e,c);if("object"==typeof e[0])return d(u||Object.keys(e[0]),e,c)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),d(e.fields||[],e.data||[],c);throw new Error("Unable to serialize unrecognized input");function d(e,t,n){var a="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var s=Array.isArray(e)&&0<e.length,l=!Array.isArray(t[0]);if(s&&r){for(var c=0;c<e.length;c++)0<c&&(a+=o),a+=m(e[c],c);0<t.length&&(a+=i)}for(var u=0;u<t.length;u++){var h=s?e.length:t[u].length,f=!1,d=s?0===Object.keys(t[u]).length:0===t[u].length;if(n&&!s&&(f="greedy"===n?""===t[u].join("").trim():1===t[u].length&&0===t[u][0].length),"greedy"===n&&s){for(var p=[],g=0;g<h;g++){var y=l?e[g]:g;p.push(t[u][y])}f=""===p.join("").trim()}if(!f){for(var v=0;v<h;v++){0<v&&!d&&(a+=o);var b=s&&l?e[v]:v;a+=m(t[u][b],v)}u<t.length-1&&(!n||0<h&&!d)&&(a+=i)}}return a}function m(e,t){if(null==e)return"";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);var r=!1;h&&"string"==typeof e&&h.test(e)&&(e="'"+e,r=!0);var i=e.toString().replace(f,l);return(r=r||!0===n||"function"==typeof n&&n(e,t)||Array.isArray(n)&&n[t]||function(e,t){for(var n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return!1}(i,a.BAD_DELIMITERS)||-1<i.indexOf(o)||" "===i.charAt(0)||" "===i.charAt(i.length-1))?s+i+s:i}}};if(a.RECORD_SEP=String.fromCharCode(30),a.UNIT_SEP=String.fromCharCode(31),a.BYTE_ORDER_MARK="\ufeff",a.BAD_DELIMITERS=["\r","\n",'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!n&&!!t.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=m,a.ParserHandle=d,a.NetworkStreamer=c,a.FileStreamer=u,a.StringStreamer=h,a.ReadableStreamStreamer=f,t.jQuery){var s=t.jQuery;s.fn.parse=function(e){var n=e.config||{},r=[];return this.each((function(e){if("INPUT"!==s(this).prop("tagName").toUpperCase()||"file"!==s(this).attr("type").toLowerCase()||!t.FileReader||!this.files||0===this.files.length)return!0;for(var o=0;o<this.files.length;o++)r.push({file:this.files[o],inputElem:this,instanceConfig:s.extend({},n)})})),o(),this;function o(){if(0!==r.length){var t,n,o,l=r[0];if(w(e.before)){var c=e.before(l.file,l.inputElem);if("object"==typeof c){if("abort"===c.action)return"AbortError",t=l.file,n=l.inputElem,o=c.reason,void(w(e.error)&&e.error({name:"AbortError"},t,n,o));if("skip"===c.action)return void i();"object"==typeof c.config&&(l.instanceConfig=s.extend(l.instanceConfig,c.config))}else if("skip"===c)return void i()}var u=l.instanceConfig.complete;l.instanceConfig.complete=function(e){w(u)&&u(e,l.file,l.inputElem),i()},a.parse(l.file,l.instanceConfig)}else w(e.complete)&&e.complete()}function i(){r.splice(0,1),o()}}}function l(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=b(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new d(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,n){if(this.isFirstChunk&&w(this._config.beforeFirstChunk)){var o=this._config.beforeFirstChunk(e);void 0!==o&&(e=o)}this.isFirstChunk=!1,this._halted=!1;var i=this._partialLine+e;this._partialLine="";var s=this._handle.parse(i,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var l=s.meta.cursor;this._finished||(this._partialLine=i.substring(l-this._baseIndex),this._baseIndex=l),s&&s.data&&(this._rowCount+=s.data.length);var c=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(r)t.postMessage({results:s,workerId:a.WORKER_ID,finished:c});else if(w(this._config.chunk)&&!n){if(this._config.chunk(s,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);s=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(s.data),this._completeResults.errors=this._completeResults.errors.concat(s.errors),this._completeResults.meta=s.meta),this._completed||!c||!w(this._config.complete)||s&&s.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||s&&s.meta.paused||this._nextChunk(),s}this._halted=!0},this._sendError=function(e){w(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function c(e){var t;(e=e||{}).chunkSize||(e.chunkSize=a.RemoteChunkSize),l.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=x(this._chunkLoaded,this),t.onerror=x(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var r in e)t.setRequestHeader(r,e[r])}if(this._config.chunkSize){var o=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+o)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var n=t.statusText||e;this._sendError(new Error(n))}}function u(e){var t,n;(e=e||{}).chunkSize||(e.chunkSize=a.LocalChunkSize),l.call(this,e);var r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=x(this._chunkLoaded,this),t.onerror=x(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var o=Math.min(this._start+this._config.chunkSize,this._input.size);e=n.call(e,this._start,o)}var i=t.readAsText(e,this._config.encoding);r||this._chunkLoaded({target:{result:i}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function h(e){var t;l.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,n=this._config.chunkSize;return n?(e=t.substring(0,n),t=t.substring(n)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function f(e){l.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=x((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=x((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=x((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=x((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function d(e){var t,n,r,o=Math.pow(2,53),i=-o,s=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,u=0,h=0,f=!1,d=!1,g=[],y={data:[],errors:[],meta:{}};if(w(e.step)){var v=e.step;e.step=function(t){if(y=t,S())k();else{if(k(),0===y.data.length)return;u+=t.data.length,e.preview&&u>e.preview?n.abort():(y.data=y.data[0],v(y,c))}}}function x(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function k(){return y&&r&&(_("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(y.data=y.data.filter((function(e){return!x(e)}))),S()&&function(){if(y)if(Array.isArray(y.data[0])){for(var t=0;S()&&t<y.data.length;t++)y.data[t].forEach(n);y.data.splice(0,1)}else y.data.forEach(n);function n(t,n){w(e.transformHeader)&&(t=e.transformHeader(t,n)),g.push(t)}}(),function(){if(!y||!e.header&&!e.dynamicTyping&&!e.transform)return y;function t(t,n){var r,o=e.header?{}:[];for(r=0;r<t.length;r++){var i=r,a=t[r];e.header&&(i=r>=g.length?"__parsed_extra":g[r]),e.transform&&(a=e.transform(a,i)),a=O(i,a),"__parsed_extra"===i?(o[i]=o[i]||[],o[i].push(a)):o[i]=a}return e.header&&(r>g.length?_("FieldMismatch","TooManyFields","Too many fields: expected "+g.length+" fields but parsed "+r,h+n):r<g.length&&_("FieldMismatch","TooFewFields","Too few fields: expected "+g.length+" fields but parsed "+r,h+n)),o}var n=1;return!y.data.length||Array.isArray(y.data[0])?(y.data=y.data.map(t),n=y.data.length):y.data=t(y.data,0),e.header&&y.meta&&(y.meta.fields=g),h+=n,y}()}function S(){return e.header&&0===g.length}function O(t,n){return r=t,e.dynamicTypingFunction&&void 0===e.dynamicTyping[r]&&(e.dynamicTyping[r]=e.dynamicTypingFunction(r)),!0===(e.dynamicTyping[r]||e.dynamicTyping)?"true"===n||"TRUE"===n||"false"!==n&&"FALSE"!==n&&(function(e){if(s.test(e)){var t=parseFloat(e);if(i<t&&t<o)return!0}return!1}(n)?parseFloat(n):l.test(n)?new Date(n):""===n?null:n):n;var r}function _(e,t,n,r){var o={type:e,code:t,message:n};void 0!==r&&(o.row=r),y.errors.push(o)}this.parse=function(o,i,s){var l=e.quoteChar||'"';if(e.newline||(e.newline=function(e,t){e=e.substring(0,1048576);var n=new RegExp(p(t)+"([^]*?)"+p(t),"gm"),r=(e=e.replace(n,"")).split("\r"),o=e.split("\n"),i=1<o.length&&o[0].length<r[0].length;if(1===r.length||i)return"\n";for(var a=0,s=0;s<r.length;s++)"\n"===r[s][0]&&a++;return a>=r.length/2?"\r\n":"\r"}(o,l)),r=!1,e.delimiter)w(e.delimiter)&&(e.delimiter=e.delimiter(o),y.meta.delimiter=e.delimiter);else{var c=function(t,n,r,o,i){var s,l,c,u;i=i||[",","\t","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var h=0;h<i.length;h++){var f=i[h],d=0,p=0,g=0;c=void 0;for(var y=new m({comments:o,delimiter:f,newline:n,preview:10}).parse(t),v=0;v<y.data.length;v++)if(r&&x(y.data[v]))g++;else{var b=y.data[v].length;p+=b,void 0!==c?0<b&&(d+=Math.abs(b-c),c=b):c=b}0<y.data.length&&(p/=y.data.length-g),(void 0===l||d<=l)&&(void 0===u||u<p)&&1.99<p&&(l=d,s=f,u=p)}return{successful:!!(e.delimiter=s),bestDelimiter:s}}(o,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess);c.successful?e.delimiter=c.bestDelimiter:(r=!0,e.delimiter=a.DefaultDelimiter),y.meta.delimiter=e.delimiter}var u=b(e);return e.preview&&e.header&&u.preview++,t=o,n=new m(u),y=n.parse(t,i,s),k(),f?{meta:{paused:!0}}:y||{meta:{paused:!1}}},this.paused=function(){return f},this.pause=function(){f=!0,n.abort(),t=w(e.chunk)?"":t.substring(n.getCharIndex())},this.resume=function(){c.streamer._halted?(f=!1,c.streamer.parseChunk(t,!0)):setTimeout(c.resume,3)},this.aborted=function(){return d},this.abort=function(){d=!0,n.abort(),y.meta.aborted=!0,w(e.complete)&&e.complete(y),t=""}}function p(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function m(e){var t,n=(e=e||{}).delimiter,r=e.newline,o=e.comments,i=e.step,s=e.preview,l=e.fastMode,c=t=void 0===e.quoteChar||null===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&(c=e.escapeChar),("string"!=typeof n||-1<a.BAD_DELIMITERS.indexOf(n))&&(n=","),o===n)throw new Error("Comment character same as delimiter");!0===o?o="#":("string"!=typeof o||-1<a.BAD_DELIMITERS.indexOf(o))&&(o=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var u=0,h=!1;this.parse=function(a,f,d){if("string"!=typeof a)throw new Error("Input must be a string");var m=a.length,g=n.length,y=r.length,v=o.length,b=w(i),x=[],k=[],S=[],O=u=0;if(!a)return U();if(e.header&&!f){var _=a.split(r)[0].split(n),E=[],C={},A=!1;for(var j in _){var P=_[j];w(e.transformHeader)&&(P=e.transformHeader(P,j));var M=P,R=C[P]||0;for(0<R&&(A=!0,M=P+"_"+R),C[P]=R+1;E.includes(M);)M=M+"_"+R;E.push(M)}if(A){var T=a.split(r);T[0]=E.join(n),a=T.join(r)}}if(l||!1!==l&&-1===a.indexOf(t)){for(var L=a.split(r),I=0;I<L.length;I++){if(S=L[I],u+=S.length,I!==L.length-1)u+=r.length;else if(d)return U();if(!o||S.substring(0,v)!==o){if(b){if(x=[],H(S.split(n)),K(),h)return U()}else H(S.split(n));if(s&&s<=I)return x=x.slice(0,s),U(!0)}}return U()}for(var N=a.indexOf(n,u),z=a.indexOf(r,u),D=new RegExp(p(c)+p(t),"g"),F=a.indexOf(t,u);;)if(a[u]!==t)if(o&&0===S.length&&a.substring(u,u+v)===o){if(-1===z)return U();u=z+y,z=a.indexOf(r,u),N=a.indexOf(n,u)}else if(-1!==N&&(N<z||-1===z))S.push(a.substring(u,N)),u=N+g,N=a.indexOf(n,u);else{if(-1===z)break;if(S.push(a.substring(u,z)),V(z+y),b&&(K(),h))return U();if(s&&x.length>=s)return U(!0)}else for(F=u,u++;;){if(-1===(F=a.indexOf(t,F+1)))return d||k.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:x.length,index:u}),q();if(F===m-1)return q(a.substring(u,F).replace(D,t));if(t!==c||a[F+1]!==c){if(t===c||0===F||a[F-1]!==c){-1!==N&&N<F+1&&(N=a.indexOf(n,F+1)),-1!==z&&z<F+1&&(z=a.indexOf(r,F+1));var B=W(-1===z?N:Math.min(N,z));if(a.substr(F+1+B,g)===n){S.push(a.substring(u,F).replace(D,t)),a[u=F+1+B+g]!==t&&(F=a.indexOf(t,u)),N=a.indexOf(n,u),z=a.indexOf(r,u);break}var $=W(z);if(a.substring(F+1+$,F+1+$+y)===r){if(S.push(a.substring(u,F).replace(D,t)),V(F+1+$+y),N=a.indexOf(n,u),F=a.indexOf(t,u),b&&(K(),h))return U();if(s&&x.length>=s)return U(!0);break}k.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:x.length,index:u}),F++}}else F++}return q();function H(e){x.push(e),O=u}function W(e){var t=0;if(-1!==e){var n=a.substring(F+1,e);n&&""===n.trim()&&(t=n.length)}return t}function q(e){return d||(void 0===e&&(e=a.substring(u)),S.push(e),u=m,H(S),b&&K()),U()}function V(e){u=e,H(S),S=[],z=a.indexOf(r,u)}function U(e){return{data:x,errors:k,meta:{delimiter:n,linebreak:r,aborted:h,truncated:!!e,cursor:O+(f||0)}}}function K(){i(U()),x=[],k=[]}},this.abort=function(){h=!0},this.getCharIndex=function(){return u}}function g(e){var t=e.data,n=o[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var i={abort:function(){r=!0,y(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:v,resume:v};if(w(n.userStep)){for(var a=0;a<t.results.data.length&&(n.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},i),!r);a++);delete t.results}else w(n.userChunk)&&(n.userChunk(t.results,i,t.file),delete t.results)}t.finished&&!r&&y(t.workerId,t.results)}function y(e,t){var n=o[e];w(n.userComplete)&&n.userComplete(t),n.terminate(),delete o[e]}function v(){throw new Error("Not implemented.")}function b(e){if("object"!=typeof e||null===e)return e;var t=Array.isArray(e)?[]:{};for(var n in e)t[n]=b(e[n]);return t}function x(e,t){return function(){e.apply(t,arguments)}}function w(e){return"function"==typeof e}return r&&(t.onmessage=function(e){var n=e.data;if(void 0===a.WORKER_ID&&n&&(a.WORKER_ID=n.workerId),"string"==typeof n.input)t.postMessage({workerId:a.WORKER_ID,results:a.parse(n.input,n.config),finished:!0});else if(t.File&&n.input instanceof File||n.input instanceof Object){var r=a.parse(n.input,n.config);r&&t.postMessage({workerId:a.WORKER_ID,results:r,finished:!0})}}),(c.prototype=Object.create(l.prototype)).constructor=c,(u.prototype=Object.create(l.prototype)).constructor=u,(h.prototype=Object.create(h.prototype)).constructor=h,(f.prototype=Object.create(l.prototype)).constructor=f,a},void 0===(r=n.apply(t,[]))||(e.exports=r)},2799:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=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 u:case h:case i:case s:case a:case d:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function k(e){return w(e)===h}t.AsyncMode=u,t.ConcurrentMode=h,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=d,t.isAsyncMode=function(e){return k(e)||w(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===h||e===s||e===a||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===x||e.$$typeof===y)},t.typeOf=w},4363:(e,t,n)=>{"use strict";e.exports=n(2799)},2192:(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:()=>y});var o=n(1594);const i=o.useLayoutEffect;var a=function(e,t){"function"!=typeof e?e.current=t:e(t)};var s={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},l=function(e){Object.keys(s).forEach((function(t){e.style.setProperty(t,s[t],"important")}))},c=null,u=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize},h=function(){},f=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],d=!!document.documentElement.currentStyle;function p(e,t,n){var r,a,s=(r=n,a=o.useRef(r),i((function(){a.current=r})),a);o.useLayoutEffect((function(){var n=function(e){return s.current(e)};if(e)return e.addEventListener(t,n),function(){return e.removeEventListener(t,n)}}),[])}var m=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],g=function(e,t){var n,i=e.cacheMeasurements,s=e.maxRows,g=e.minRows,y=e.onChange,v=void 0===y?h:y,b=e.onHeightChange,x=void 0===b?h:b,w=function(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}(e,m),k=void 0!==w.value,S=o.useRef(null),O=function(e,t){var n=(0,o.useRef)();return(0,o.useCallback)((function(r){e.current=r,n.current&&a(n.current,null),n.current=t,t&&a(t,r)}),[t])}(S,t),_=o.useRef(0),E=o.useRef(),C=function(){var e=S.current,t=i&&E.current?E.current:function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n,r=(n=t,f.reduce((function(e,t){return e[t]=n[t],e}),{})),o=r.boxSizing;return""===o?null:(d&&"border-box"===o&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px"),{sizingStyle:r,paddingSize:parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),borderSize:parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth)})}(e);if(t){E.current=t;var n=function(e,t,n,r){void 0===n&&(n=1),void 0===r&&(r=1/0),c||((c=document.createElement("textarea")).setAttribute("tabindex","-1"),c.setAttribute("aria-hidden","true"),l(c)),null===c.parentNode&&document.body.appendChild(c);var o=e.paddingSize,i=e.borderSize,a=e.sizingStyle,s=a.boxSizing;Object.keys(a).forEach((function(e){var t=e;c.style[t]=a[t]})),l(c),c.value=t;var h=u(c,e);c.value=t,h=u(c,e),c.value="x";var f=c.scrollHeight-o,d=f*n;"border-box"===s&&(d=d+o+i),h=Math.max(d,h);var p=f*r;return"border-box"===s&&(p=p+o+i),[h=Math.min(p,h),f]}(t,e.value||e.placeholder||"x",g,s),r=n[0],o=n[1];_.current!==r&&(_.current=r,e.style.setProperty("height",r+"px","important"),x(r,{rowHeight:o}))}};return o.useLayoutEffect(C),p(window,"resize",C),n=C,p(document.fonts,"loadingdone",n),o.createElement("textarea",r({},w,{onChange:function(e){k||C(),v(e)},ref:O}))},y=o.forwardRef(g)},1020:(e,t,n)=>{"use strict";var r=n(1594),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:s.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},4848:(e,t,n)=>{"use strict";e.exports=n(1020)},2833:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var c=i[l];if(!s(c))return!1;var u=e[c],h=t[c];if(!1===(o=n?n.call(r,u,h,c):void 0)||void 0===o&&u!==h)return!1}return!0}},3185:(e,t,n)=>{"use strict";n.d(t,{DU:()=>Gt,Ay:()=>Kt});var r=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)};function o(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,Object.create,"function"==typeof SuppressedError&&SuppressedError;var i=n(1594),a=n.n(i),s=n(2833),l=n.n(s),c="-ms-",u="-moz-",h="-webkit-",f="comm",d="rule",p="decl",m="@import",g="@keyframes",y="@layer",v=Math.abs,b=String.fromCharCode,x=Object.assign;function w(e){return e.trim()}function k(e,t){return(e=t.exec(e))?e[0]:e}function S(e,t,n){return e.replace(t,n)}function O(e,t,n){return e.indexOf(t,n)}function _(e,t){return 0|e.charCodeAt(t)}function E(e,t,n){return e.slice(t,n)}function C(e){return e.length}function A(e){return e.length}function j(e,t){return t.push(e),e}function P(e,t){return e.filter((function(e){return!k(e,t)}))}var M=1,R=1,T=0,L=0,I=0,N="";function z(e,t,n,r,o,i,a,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:M,column:R,length:a,return:"",siblings:s}}function D(e,t){return x(z("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function F(e){for(;e.root;)e=D(e.root,{children:[e]});j(e,e.siblings)}function B(){return I=L>0?_(N,--L):0,R--,10===I&&(R=1,M--),I}function $(){return I=L<T?_(N,L++):0,R++,10===I&&(R=1,M++),I}function H(){return _(N,L)}function W(){return L}function q(e,t){return E(N,e,t)}function V(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 U(e){return w(q(L-1,G(91===e?e+2:40===e?e+1:e)))}function K(e){for(;(I=H())&&I<33;)$();return V(e)>2||V(I)>3?"":" "}function Q(e,t){for(;--t&&$()&&!(I<48||I>102||I>57&&I<65||I>70&&I<97););return q(e,W()+(t<6&&32==H()&&32==$()))}function G(e){for(;$();)switch(I){case e:return L;case 34:case 39:34!==e&&39!==e&&G(I);break;case 40:41===e&&G(e);break;case 92:$()}return L}function Y(e,t){for(;$()&&e+I!==57&&(e+I!==84||47!==H()););return"/*"+q(t,L-1)+"*"+b(47===e?e:$())}function Z(e){for(;!V(H());)$();return q(e,L)}function X(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function J(e,t,n,r){switch(e.type){case y:if(e.children.length)break;case m:case p:return e.return=e.return||e.value;case f:return"";case g:return e.return=e.value+"{"+X(e.children,r)+"}";case d:if(!C(e.value=e.props.join(",")))return""}return C(n=X(e.children,r))?e.return=e.value+"{"+n+"}":""}function ee(e,t,n){switch(function(e,t){return 45^_(e,0)?(((t<<2^_(e,0))<<2^_(e,1))<<2^_(e,2))<<2^_(e,3):0}(e,t)){case 5103:return h+"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 h+e+e;case 4789:return u+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return h+e+u+e+c+e+e;case 5936:switch(_(e,t+11)){case 114:return h+e+c+S(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return h+e+c+S(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return h+e+c+S(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return h+e+c+e+e;case 6165:return h+e+c+"flex-"+e+e;case 5187:return h+e+S(e,/(\w+).+(:[^]+)/,h+"box-$1$2"+c+"flex-$1$2")+e;case 5443:return h+e+c+"flex-item-"+S(e,/flex-|-self/g,"")+(k(e,/flex-|baseline/)?"":c+"grid-row-"+S(e,/flex-|-self/g,""))+e;case 4675:return h+e+c+"flex-line-pack"+S(e,/align-content|flex-|-self/g,"")+e;case 5548:return h+e+c+S(e,"shrink","negative")+e;case 5292:return h+e+c+S(e,"basis","preferred-size")+e;case 6060:return h+"box-"+S(e,"-grow","")+h+e+c+S(e,"grow","positive")+e;case 4554:return h+S(e,/([^-])(transform)/g,"$1"+h+"$2")+e;case 6187:return S(S(S(e,/(zoom-|grab)/,h+"$1"),/(image-set)/,h+"$1"),e,"")+e;case 5495:case 3959:return S(e,/(image-set\([^]*)/,h+"$1$`$1");case 4968:return S(S(e,/(.+:)(flex-)?(.*)/,h+"box-pack:$3"+c+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+h+e+e;case 4200:if(!k(e,/flex-|baseline/))return c+"grid-column-align"+E(e,t)+e;break;case 2592:case 3360:return c+S(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,k(e.props,/grid-\w+-end/)}))?~O(e+(n=n[t].value),"span",0)?e:c+S(e,"-start","")+e+c+"grid-row-span:"+(~O(n,"span",0)?k(n,/\d+/):+k(n,/\d+/)-+k(e,/\d+/))+";":c+S(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return k(e.props,/grid-\w+-start/)}))?e:c+S(S(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return S(e,/(.+)-inline(.+)/,h+"$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(C(e)-1-t>6)switch(_(e,t+1)){case 109:if(45!==_(e,t+4))break;case 102:return S(e,/(.+:)(.+)-([^]+)/,"$1"+h+"$2-$3$1"+u+(108==_(e,t+3)?"$3":"$2-$3"))+e;case 115:return~O(e,"stretch",0)?ee(S(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return S(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,i,a,s){return c+n+":"+r+s+(o?c+n+"-span:"+(i?a:+a-+r)+s:"")+e}));case 4949:if(121===_(e,t+6))return S(e,":",":"+h)+e;break;case 6444:switch(_(e,45===_(e,14)?18:11)){case 120:return S(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+h+(45===_(e,14)?"inline-":"")+"box$3$1"+h+"$2$3$1"+c+"$2box$3")+e;case 100:return S(e,":",":"+c)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return S(e,"scroll-","scroll-snap-")+e}return e}function te(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case p:return void(e.return=ee(e.value,e.length,n));case g:return X([D(e,{value:S(e.value,"@","@"+h)})],r);case d:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(k(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":F(D(e,{props:[S(t,/:(read-\w+)/,":"+u+"$1")]})),F(D(e,{props:[t]})),x(e,{props:P(n,r)});break;case"::placeholder":F(D(e,{props:[S(t,/:(plac\w+)/,":"+h+"input-$1")]})),F(D(e,{props:[S(t,/:(plac\w+)/,":"+u+"$1")]})),F(D(e,{props:[S(t,/:(plac\w+)/,c+"input-$1")]})),F(D(e,{props:[t]})),x(e,{props:P(n,r)})}return""}))}}function ne(e){return function(e){return N="",e}(re("",null,null,null,[""],e=function(e){return M=R=1,T=C(N=e),L=0,[]}(e),0,[0],e))}function re(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,h=a,f=0,d=0,p=0,m=1,g=1,y=1,x=0,w="",k=o,E=i,A=r,P=w;g;)switch(p=x,x=$()){case 40:if(108!=p&&58==_(P,h-1)){-1!=O(P+=S(U(x),"&","&\f"),"&\f",v(c?s[c-1]:0))&&(y=-1);break}case 34:case 39:case 91:P+=U(x);break;case 9:case 10:case 13:case 32:P+=K(p);break;case 92:P+=Q(W()-1,7);continue;case 47:switch(H()){case 42:case 47:j(ie(Y($(),W()),t,n,l),l);break;default:P+="/"}break;case 123*m:s[c++]=C(P)*y;case 125*m:case 59:case 0:switch(x){case 0:case 125:g=0;case 59+u:-1==y&&(P=S(P,/\f/g,"")),d>0&&C(P)-h&&j(d>32?ae(P+";",r,n,h-1,l):ae(S(P," ","")+";",r,n,h-2,l),l);break;case 59:P+=";";default:if(j(A=oe(P,t,n,c,u,o,s,w,k=[],E=[],h,i),i),123===x)if(0===u)re(P,t,A,A,k,i,h,s,E);else switch(99===f&&110===_(P,3)?100:f){case 100:case 108:case 109:case 115:re(e,A,A,r&&j(oe(e,A,A,0,0,o,s,w,o,k=[],h,E),E),o,E,h,s,r?k:E);break;default:re(P,A,A,A,[""],E,0,s,E)}}c=u=d=0,m=y=1,w=P="",h=a;break;case 58:h=1+C(P),d=p;default:if(m<1)if(123==x)--m;else if(125==x&&0==m++&&125==B())continue;switch(P+=b(x),x*m){case 38:y=u>0?1:(P+="\f",-1);break;case 44:s[c++]=(C(P)-1)*y,y=1;break;case 64:45===H()&&(P+=U($())),f=H(),u=h=C(w=P+=Z(W())),x++;break;case 45:45===p&&2==C(P)&&(m=0)}}return i}function oe(e,t,n,r,o,i,a,s,l,c,u,h){for(var f=o-1,p=0===o?i:[""],m=A(p),g=0,y=0,b=0;g<r;++g)for(var x=0,k=E(e,f+1,f=v(y=a[g])),O=e;x<m;++x)(O=w(y>0?p[x]+" "+k:S(k,/&\f/g,p[x])))&&(l[b++]=O);return z(e,t,n,0===o?d:s,l,c,u,h)}function ie(e,t,n,r){return z(e,t,n,f,b(I),E(e,2,-2),0,r)}function ae(e,t,n,r,o){return z(e,t,n,p,E(e,0,r),E(e,r+1,-1),r,o)}var se=n(3969),le="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ce="active",ue="data-styled-version",he="6.1.11",fe="/*!sc*/\n",de="undefined"!=typeof window&&"HTMLElement"in window,pe=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),me={},ge=(new Set,Object.freeze([])),ye=Object.freeze({});function ve(e,t,n){return void 0===n&&(n=ye),e.theme!==n.theme&&e.theme||t||n.theme}var be=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),xe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,we=/(^-|-$)/g;function ke(e){return e.replace(xe,"-").replace(we,"")}var Se=/(a)(d)/gi,Oe=52,_e=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ee(e){var t,n="";for(t=Math.abs(e);t>Oe;t=t/Oe|0)n=_e(t%Oe)+n;return(_e(t%Oe)+n).replace(Se,"$1-$2")}var Ce,Ae=5381,je=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Pe=function(e){return je(Ae,e)};function Me(e){return Ee(Pe(e)>>>0)}function Re(e){return"string"==typeof e&&!0}var Te="function"==typeof Symbol&&Symbol.for,Le=Te?Symbol.for("react.memo"):60115,Ie=Te?Symbol.for("react.forward_ref"):60112,Ne={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ze={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},De={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Fe=((Ce={})[Ie]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ce[Le]=De,Ce);function Be(e){return("type"in(t=e)&&t.type.$$typeof)===Le?De:"$$typeof"in e?Fe[e.$$typeof]:Ne;var t}var $e=Object.defineProperty,He=Object.getOwnPropertyNames,We=Object.getOwnPropertySymbols,qe=Object.getOwnPropertyDescriptor,Ve=Object.getPrototypeOf,Ue=Object.prototype;function Ke(e,t,n){if("string"!=typeof t){if(Ue){var r=Ve(t);r&&r!==Ue&&Ke(e,r,n)}var o=He(t);We&&(o=o.concat(We(t)));for(var i=Be(e),a=Be(t),s=0;s<o.length;++s){var l=o[s];if(!(l in ze||n&&n[l]||a&&l in a||i&&l in i)){var c=qe(t,l);try{$e(e,l,c)}catch(e){}}}}return e}function Qe(e){return"function"==typeof e}function Ge(e){return"object"==typeof e&&"styledComponentId"in e}function Ye(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Ze(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function Xe(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Je(e,t,n){if(void 0===n&&(n=!1),!n&&!Xe(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=Je(e[r],t[r]);else if(Xe(t))for(var r in t)e[r]=Je(e[r],t[r]);return e}function et(e,t){Object.defineProperty(e,"toString",{value:t})}function tt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var nt=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw tt(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=(i=0,t.length);i<s;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+="".concat(this.tag.getRule(i)).concat(fe);return t},e}(),rt=new Map,ot=new Map,it=1,at=function(e){if(rt.has(e))return rt.get(e);for(;ot.has(it);)it++;var t=it++;return rt.set(e,t),ot.set(t,e),t},st=function(e,t){it=t+1,rt.set(e,t),ot.set(t,e)},lt="style[".concat(le,"][").concat(ue,'="').concat(he,'"]'),ct=new RegExp("^".concat(le,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ut=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},ht=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(fe),o=[],i=0,a=r.length;i<a;i++){var s=r[i].trim();if(s){var l=s.match(ct);if(l){var c=0|parseInt(l[1],10),u=l[2];0!==c&&(st(u,c),ut(e,u,l[3]),e.getTag().insertRules(c,o)),o.length=0}else o.push(s)}}};function ft(){return n.nc}var dt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(le,"]")));return t[t.length-1]}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(le,ce),r.setAttribute(ue,he);var a=ft();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},pt=function(){function e(e){this.element=dt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}throw tt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),mt=function(){function e(e){this.element=dt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),gt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),yt=de,vt={isServer:!de,useCSSOMInjection:!pe},bt=function(){function e(e,t,n){void 0===e&&(e=ye),void 0===t&&(t={});var o=this;this.options=r(r({},vt),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&de&&yt&&(yt=!1,function(e){for(var t=document.querySelectorAll(lt),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(le)!==ce&&(ht(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this)),et(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return ot.get(e)}(n);if(void 0===o)return"continue";var i=e.names.get(o),a=t.getGroup(n);if(void 0===i||0===a.length)return"continue";var s="".concat(le,".g").concat(n,'[id="').concat(o,'"]'),l="";void 0!==i&&i.forEach((function(e){e.length>0&&(l+="".concat(e,","))})),r+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat(fe)},i=0;i<n;i++)o(i);return r}(o)}))}return e.registerId=function(e){return at(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(r(r({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new gt(n):t?new pt(n):new mt(n)}(this.options),new nt(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(at(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(at(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(at(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),xt=/&/g,wt=/^\s*\/\/.*$/gm;function kt(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=kt(e.children,t)),e}))}function St(e){var t,n,r,o=void 0===e?ye:e,i=o.options,a=void 0===i?ye:i,s=o.plugins,l=void 0===s?ge:s,c=function(e,r,o){return o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push((function(e){e.type===d&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(xt,n).replace(r,c))})),a.prefix&&u.push(te),u.push(J);var h=function(e,o,i,s){void 0===o&&(o=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(wt,""),c=ne(i||o?"".concat(i," ").concat(o," { ").concat(l," }"):l);a.namespace&&(c=kt(c,a.namespace));var h,f,d,p=[];return X(c,(h=u.concat((d=function(e){return p.push(e)},function(e){e.root||(e=e.return)&&d(e)})),f=A(h),function(e,t,n,r){for(var o="",i=0;i<f;i++)o+=h[i](e,t,n,r)||"";return o})),p};return h.hash=l.length?l.reduce((function(e,t){return t.name||tt(15),je(e,t.name)}),Ae).toString():"",h}var Ot=new bt,_t=St(),Et=a().createContext({shouldForwardProp:void 0,styleSheet:Ot,stylis:_t}),Ct=(Et.Consumer,a().createContext(void 0));function At(){return(0,i.useContext)(Et)}function jt(e){var t=(0,i.useState)(e.stylisPlugins),n=t[0],r=t[1],o=At().styleSheet,s=(0,i.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,o]),c=(0,i.useMemo)((function(){return St({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})}),[e.enableVendorPrefixes,e.namespace,n]);(0,i.useEffect)((function(){l()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]);var u=(0,i.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:s,stylis:c}}),[e.shouldForwardProp,s,c]);return a().createElement(Et.Provider,{value:u},a().createElement(Ct.Provider,{value:c},e.children))}var Pt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=_t);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,et(this,(function(){throw tt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=_t),this.name+e.hash},e}(),Mt=function(e){return e>="A"&&e<="Z"};function Rt(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Mt(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Tt=function(e){return null==e||!1===e||""===e},Lt=function(e){var t,n,r=[];for(var i in e){var a=e[i];e.hasOwnProperty(i)&&!Tt(a)&&(Array.isArray(a)&&a.isCss||Qe(a)?r.push("".concat(Rt(i),":"),a,";"):Xe(a)?r.push.apply(r,o(o(["".concat(i," {")],Lt(a),!1),["}"],!1)):r.push("".concat(Rt(i),": ").concat((t=i,null==(n=a)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in se.A||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function It(e,t,n,r){return Tt(e)?[]:Ge(e)?[".".concat(e.styledComponentId)]:Qe(e)?!Qe(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:It(e(t),t,n,r):e instanceof Pt?n?(e.inject(n,r),[e.getName(r)]):[e]:Xe(e)?Lt(e):Array.isArray(e)?Array.prototype.concat.apply(ge,e.map((function(e){return It(e,t,n,r)}))):[e.toString()];var o}function Nt(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Qe(n)&&!Ge(n))return!1}return!0}var zt=Pe(he),Dt=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Nt(e),this.componentId=t,this.baseHash=je(zt,t),this.baseStyle=n,bt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Ye(r,this.staticRulesId);else{var o=Ze(It(this.rules,e,t,n)),i=Ee(je(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=n(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}r=Ye(r,i),this.staticRulesId=i}else{for(var s=je(this.baseHash,n.hash),l="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)l+=u;else if(u){var h=Ze(It(u,e,t,n));s=je(s,h+c),l+=h}}if(l){var f=Ee(s>>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(l,".".concat(f),void 0,this.componentId)),r=Ye(r,f)}}return r},e}(),Ft=a().createContext(void 0);Ft.Consumer;var Bt={};function $t(e,t,n){var o=Ge(e),s=e,l=!Re(e),c=t.attrs,u=void 0===c?ge:c,h=t.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":ke(e);Bt[n]=(Bt[n]||0)+1;var r="".concat(n,"-").concat(Me(he+n+Bt[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):h,d=t.displayName,p=void 0===d?function(e){return Re(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):d,m=t.displayName&&t.componentId?"".concat(ke(t.displayName),"-").concat(t.componentId):t.componentId||f,g=o&&s.attrs?s.attrs.concat(u).filter(Boolean):u,y=t.shouldForwardProp;if(o&&s.shouldForwardProp){var v=s.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;y=function(e,t){return v(e,t)&&b(e,t)}}else y=v}var x=new Dt(n,m,o?s.componentStyle:void 0);function w(e,t){return function(e,t,n){var o=e.attrs,s=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,h=e.target,f=a().useContext(Ft),d=At(),p=e.shouldForwardProp||d.shouldForwardProp,m=ve(t,f,l)||ye,g=function(e,t,n){for(var o,i=r(r({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var s=Qe(o=e[a])?o(i):o;for(var l in s)i[l]="className"===l?Ye(i[l],s[l]):"style"===l?r(r({},i[l]),s[l]):s[l]}return t.className&&(i.className=Ye(i.className,t.className)),i}(o,t,m),y=g.as||h,v={};for(var b in g)void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===m||("forwardedAs"===b?v.as=g.forwardedAs:p&&!p(b,y)||(v[b]=g[b]));var x=function(e,t){var n=At();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(s,g),w=Ye(c,u);return x&&(w+=" "+x),g.className&&(w+=" "+g.className),v[Re(y)&&!be.has(y)?"class":"className"]=w,v.ref=n,(0,i.createElement)(y,v)}(k,e,t)}w.displayName=p;var k=a().forwardRef(w);return k.attrs=g,k.componentStyle=x,k.displayName=p,k.shouldForwardProp=y,k.foldedComponentIds=o?Ye(s.foldedComponentIds,s.styledComponentId):"",k.styledComponentId=m,k.target=o?s.target:e,Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)Je(e,o[r],!0);return e}({},s.defaultProps,e):e}}),et(k,(function(){return".".concat(k.styledComponentId)})),l&&Ke(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function Ht(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}new Set;var Wt=function(e){return Object.assign(e,{isCss:!0})};function qt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Qe(e)||Xe(e))return Wt(It(Ht(ge,o([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?It(r):Wt(It(Ht(r,t)))}function Vt(e,t,n){if(void 0===n&&(n=ye),!t)throw tt(1,t);var i=function(r){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return e(t,n,qt.apply(void 0,o([r],i,!1)))};return i.attrs=function(o){return Vt(e,t,r(r({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},i.withConfig=function(o){return Vt(e,t,r(r({},n),o))},i}var Ut=function(e){return Vt($t,e)},Kt=Ut;be.forEach((function(e){Kt[e]=Ut(e)}));var Qt=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Nt(e),bt.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var o=r(Ze(It(this.rules,t,n,r)),""),i=this.componentId+e;n.insertRules(i,i,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&bt.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function Gt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=qt.apply(void 0,o([e],t,!1)),s="sc-global-".concat(Me(JSON.stringify(i))),l=new Qt(i,s),c=function(e){var t=At(),n=a().useContext(Ft),r=a().useRef(t.styleSheet.allocateGSInstance(s)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),a().useLayoutEffect((function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return l.removeStyles(r,t.styleSheet)}}),[r,e,t.styleSheet,n,t.stylis]),null};function u(e,t,n,o,i){if(l.isStatic)l.renderStyles(e,me,n,i);else{var a=r(r({},t),{theme:ve(t,o,c.defaultProps)});l.renderStyles(e,a,n,i)}}return a().memo(c)}(function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=ft(),r=Ze([n&&'nonce="'.concat(n,'"'),"".concat(le,'="true"'),"".concat(ue,'="').concat(he,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw tt(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw tt(2);var n=((t={})[le]="",t[ue]=he,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),o=ft();return o&&(n.nonce=o),[a().createElement("style",r({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new bt({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tt(2);return a().createElement(jt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tt(3)}})(),"__sc-".concat(le,"__")},6426:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},1063:(e,t,n)=>{"use strict";var r=n(1594),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return s((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),a((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},8940:(e,t,n)=>{"use strict";var r=n(1594),o=n(9888),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=o.useSyncExternalStore,s=r.useRef,l=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var h=s(null);if(null===h.current){var f={hasValue:!1,value:null};h.current=f}else f=h.current;h=c((function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,s=n)}var a,s,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,o]);var d=a(e,h[0],h[1]);return l((function(){f.hasValue=!0,f.value=d}),[d]),u(d),d}},9888:(e,t,n)=>{"use strict";e.exports=n(1063)},9242:(e,t,n)=>{"use strict";e.exports=n(8940)},4634:e=>{function t(){return e.exports=t=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},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4994:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},4893:e=>{e.exports=function(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},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})},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})},9658:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(6500),o=n(4880),i=new class extends r.Q{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!o.S$&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){this.listeners.forEach((e=>{e()}))}isFocused(){return"boolean"==typeof this.#e?this.#e:"hidden"!==globalThis.document?.visibilityState}}},6158:(e,t,n)=>{"use strict";n.d(t,{$:()=>s,s:()=>a});var r=n(6261),o=n(1692),i=n(8904),a=class extends o.k{#r;#o;#i;#a;constructor(e){super(),this.mutationId=e.mutationId,this.#o=e.defaultOptions,this.#i=e.mutationCache,this.#r=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.#o,...e},this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#r.includes(e)||(this.#r.push(e),this.clearGcTimeout(),this.#i.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#r=this.#r.filter((t=>t!==e)),this.scheduleGc(),this.#i.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#r.length||("pending"===this.state.status?this.scheduleGc():this.#i.remove(this))}continue(){return this.#a?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>(this.#a=(0,i.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#s({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.#a.promise),n="pending"===this.state.status;try{if(!n){this.#s({type:"pending",variables:e}),await(this.#i.config.onMutate?.(e,this));const t=await(this.options.onMutate?.(e));t!==this.state.context&&this.#s({type:"pending",context:t,variables:e})}const r=await t();return await(this.#i.config.onSuccess?.(r,e,this.state.context,this)),await(this.options.onSuccess?.(r,e,this.state.context)),await(this.#i.config.onSettled?.(r,null,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(r,null,e,this.state.context)),this.#s({type:"success",data:r}),r}catch(t){try{throw await(this.#i.config.onError?.(t,e,this.state.context,this)),await(this.options.onError?.(t,e,this.state.context)),await(this.#i.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(void 0,t,e,this.state.context)),t}finally{this.#s({type:"error",error:t})}}}#s(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!(0,i.v_)(this.options.networkMode),status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),r.j.batch((()=>{this.#r.forEach((t=>{t.onMutationUpdate(e)})),this.#i.notify({mutation:this,type:"updated",action:e})}))}};function s(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},6261:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});var r=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},o=e=>setTimeout(e,0);const i=r=>{t?e.push(r):o((()=>{n(r)}))};return{batch:i=>{let a;t++;try{a=i()}finally{t--,t||(()=>{const t=e;e=[],t.length&&o((()=>{r((()=>{t.forEach((e=>{n(e)}))}))}))})()}return a},batchCalls:e=>(...t)=>{i((()=>{e(...t)}))},schedule:i,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{o=e}}}()},6035:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});var r=n(6500),o=n(4880),i=new class extends r.Q{#l=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!o.S$&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#l!==e&&(this.#l=e,this.listeners.forEach((t=>{t(e)})))}isOnline(){return this.#l}}},5323:(e,t,n)=>{"use strict";n.d(t,{E:()=>g});var r=n(4880),o=n(6261),i=n(8904),a=n(1692),s=class extends a.k{#c;#u;#h;#f;#a;#r;#o;#d;constructor(e){super(),this.#d=!1,this.#o=e.defaultOptions,this.#p(e.options),this.#r=[],this.#h=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#c=e.state||function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=this.#c,this.scheduleGc()}get meta(){return this.options.meta}#p(e){this.options={...this.#o,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.#r.length||"idle"!==this.state.fetchStatus||this.#h.remove(this)}setData(e,t){const n=(0,r.pl)(this.state.data,e,this.options);return this.#s({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#s({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#f;return this.#a?.cancel(e),t?t.then(r.lQ).catch(r.lQ):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#c)}isActive(){return this.#r.some((e=>!1!==e.options.enabled))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||void 0===this.state.data||this.#r.some((e=>e.getCurrentResult().isStale))}isStaleByTime(e=0){return this.state.isInvalidated||void 0===this.state.data||!(0,r.j3)(this.state.dataUpdatedAt,e)}onFocus(){const e=this.#r.find((e=>e.shouldFetchOnWindowFocus()));e?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){const e=this.#r.find((e=>e.shouldFetchOnReconnect()));e?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.#r.includes(e)||(this.#r.push(e),this.clearGcTimeout(),this.#h.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.#r.includes(e)&&(this.#r=this.#r.filter((t=>t!==e)),this.#r.length||(this.#a&&(this.#d?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#h.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.#r.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}fetch(e,t){if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#f)return this.#a?.continueRetry(),this.#f;if(e&&this.#p(e),!this.options.queryFn){const e=this.#r.find((e=>e.options.queryFn));e&&this.#p(e.options)}const n=new AbortController,o={queryKey:this.queryKey,meta:this.meta},a=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#d=!0,n.signal)})};a(o);const s={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn&&this.options.queryFn!==r.hT?(this.#d=!1,this.options.persister?this.options.persister(this.options.queryFn,o,this):this.options.queryFn(o)):Promise.reject(new Error(`Missing queryFn: '${this.options.queryHash}'`))};a(s),this.options.behavior?.onFetch(s,this),this.#u=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===s.fetchOptions?.meta||this.#s({type:"fetch",meta:s.fetchOptions?.meta});const l=e=>{(0,i.wm)(e)&&e.silent||this.#s({type:"error",error:e}),(0,i.wm)(e)||(this.#h.config.onError?.(e,this),this.#h.config.onSettled?.(this.state.data,e,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.#a=(0,i.II)({fn:s.fetchFn,abort:n.abort.bind(n),onSuccess:e=>{void 0!==e?(this.setData(e),this.#h.config.onSuccess?.(e,this),this.#h.config.onSettled?.(e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1):l(new Error(`${this.queryHash} data is undefined`))},onError:l,onFail:(e,t)=>{this.#s({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode}),this.#f=this.#a.promise,this.#f}#s(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:e.meta??null,fetchStatus:(0,i.v_)(this.options.networkMode)?"fetching":"paused",...void 0===t.data&&{error:null,status:"pending"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=e.error;return(0,i.wm)(n)&&n.revert&&this.#u?{...this.#u,fetchStatus:"idle"}:{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),o.j.batch((()=>{this.#r.forEach((e=>{e.onQueryUpdate()})),this.#h.notify({query:this,type:"updated",action:e})}))}},l=n(6500),c=class extends l.Q{constructor(e={}){super(),this.config=e,this.#m=new Map}#m;build(e,t,n){const o=t.queryKey,i=t.queryHash??(0,r.F$)(o,t);let a=this.get(i);return a||(a=new s({cache:this,queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o)}),this.add(a)),a}add(e){this.#m.has(e.queryHash)||(this.#m.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#m.get(e.queryHash);t&&(e.destroy(),t===e&&this.#m.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){o.j.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}get(e){return this.#m.get(e)}getAll(){return[...this.#m.values()]}find(e){const t={exact:!0,...e};return this.getAll().find((e=>(0,r.MK)(t,e)))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter((t=>(0,r.MK)(e,t))):t}notify(e){o.j.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}onFocus(){o.j.batch((()=>{this.getAll().forEach((e=>{e.onFocus()}))}))}onOnline(){o.j.batch((()=>{this.getAll().forEach((e=>{e.onOnline()}))}))}},u=n(6158),h=class extends l.Q{constructor(e={}){super(),this.config=e,this.#g=[],this.#y=0}#g;#y;#v;build(e,t,n){const r=new u.s({mutationCache:this,mutationId:++this.#y,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#g.push(e),this.notify({type:"added",mutation:e})}remove(e){this.#g=this.#g.filter((t=>t!==e)),this.notify({type:"removed",mutation:e})}clear(){o.j.batch((()=>{this.#g.forEach((e=>{this.remove(e)}))}))}getAll(){return this.#g}find(e){const t={exact:!0,...e};return this.#g.find((e=>(0,r.nJ)(t,e)))}findAll(e={}){return this.#g.filter((t=>(0,r.nJ)(e,t)))}notify(e){o.j.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}resumePausedMutations(){return this.#v=(this.#v??Promise.resolve()).then((()=>{const e=this.#g.filter((e=>e.state.isPaused));return o.j.batch((()=>e.reduce(((e,t)=>e.then((()=>t.continue().catch(r.lQ)))),Promise.resolve())))})).then((()=>{this.#v=void 0})),this.#v}},f=n(9658),d=n(6035);function p(e,{pages:t,pageParams:n}){const r=t.length-1;return e.getNextPageParam(t[r],t,n[r],n)}function m(e,{pages:t,pageParams:n}){return e.getPreviousPageParam?.(t[0],t,n[0],n)}var g=class{#b;#i;#o;#x;#w;#k;#S;#O;constructor(e={}){this.#b=e.queryCache||new c,this.#i=e.mutationCache||new h,this.#o=e.defaultOptions||{},this.#x=new Map,this.#w=new Map,this.#k=0}mount(){this.#k++,1===this.#k&&(this.#S=f.m.subscribe((()=>{f.m.isFocused()&&(this.resumePausedMutations(),this.#b.onFocus())})),this.#O=d.t.subscribe((e=>{e&&(this.resumePausedMutations(),this.#b.onOnline())})))}unmount(){this.#k--,0===this.#k&&(this.#S?.(),this.#S=void 0,this.#O?.(),this.#O=void 0)}isFetching(e){return this.#b.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#i.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#b.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);return void 0!==t?Promise.resolve(t):this.fetchQuery(e)}getQueriesData(e){return this.getQueryCache().findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const o=this.defaultQueryOptions({queryKey:e}),i=this.#b.get(o.queryHash),a=i?.state.data,s=(0,r.Zw)(t,a);if(void 0!==s)return this.#b.build(this,o).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return o.j.batch((()=>this.getQueryCache().findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#b.get(t.queryHash)?.state}removeQueries(e){const t=this.#b;o.j.batch((()=>{t.findAll(e).forEach((e=>{t.remove(e)}))}))}resetQueries(e,t){const n=this.#b,r={type:"active",...e};return o.j.batch((()=>(n.findAll(e).forEach((e=>{e.reset()})),this.refetchQueries(r,t))))}cancelQueries(e={},t={}){const n={revert:!0,...t},i=o.j.batch((()=>this.#b.findAll(e).map((e=>e.cancel(n)))));return Promise.all(i).then(r.lQ).catch(r.lQ)}invalidateQueries(e={},t={}){return o.j.batch((()=>{if(this.#b.findAll(e).forEach((e=>{e.invalidate()})),"none"===e.refetchType)return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)}))}refetchQueries(e={},t){const n={...t,cancelRefetch:t?.cancelRefetch??!0},i=o.j.batch((()=>this.#b.findAll(e).filter((e=>!e.isDisabled())).map((e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(r.lQ)),"paused"===e.state.fetchStatus?Promise.resolve():t}))));return Promise.all(i).then(r.lQ)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=this.#b.build(this,t);return n.isStaleByTime(t.staleTime)?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(r.lQ).catch(r.lQ)}fetchInfiniteQuery(e){return e.behavior=(t=e.pages,{onFetch:(e,n)=>{const o=async()=>{const n=e.options,o=e.fetchOptions?.meta?.fetchMore?.direction,i=e.state.data?.pages||[],a=e.state.data?.pageParams||[],s={pages:[],pageParams:[]};let l=!1;const c=e.options.queryFn&&e.options.queryFn!==r.hT?e.options.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.options.queryHash}'`)),u=async(t,n,o)=>{if(l)return Promise.reject();if(null==n&&t.pages.length)return Promise.resolve(t);const i={queryKey:e.queryKey,pageParam:n,direction:o?"backward":"forward",meta:e.options.meta};var a;a=i,Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(e.signal.aborted?l=!0:e.signal.addEventListener("abort",(()=>{l=!0})),e.signal)});const s=await c(i),{maxPages:u}=e.options,h=o?r.ZZ:r.y9;return{pages:h(t.pages,s,u),pageParams:h(t.pageParams,n,u)}};let h;if(o&&i.length){const e="backward"===o,t={pages:i,pageParams:a},r=(e?m:p)(n,t);h=await u(t,r,e)}else{h=await u(s,a[0]??n.initialPageParam);const e=t??i.length;for(let t=1;t<e;t++){const e=p(n,h);h=await u(h,e)}}return h};e.options.persister?e.fetchFn=()=>e.options.persister?.(o,{queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},n):e.fetchFn=o}}),this.fetchQuery(e);var t}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(r.lQ).catch(r.lQ)}resumePausedMutations(){return d.t.isOnline()?this.#i.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#b}getMutationCache(){return this.#i}getDefaultOptions(){return this.#o}setDefaultOptions(e){this.#o=e}setQueryDefaults(e,t){this.#x.set((0,r.EN)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#x.values()];let n={};return t.forEach((t=>{(0,r.Cp)(e,t.queryKey)&&(n={...n,...t.defaultOptions})})),n}setMutationDefaults(e,t){this.#w.set((0,r.EN)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#w.values()];let n={};return t.forEach((t=>{(0,r.Cp)(e,t.mutationKey)&&(n={...n,...t.defaultOptions})})),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#o.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,r.F$)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),!0!==t.enabled&&t.queryFn===r.hT&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#o.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#b.clear(),this.#i.clear()}}},1692:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(4880),o=class{#_;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,r.gn)(this.gcTime)&&(this.#_=setTimeout((()=>{this.optionalRemove()}),this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(r.S$?1/0:3e5))}clearGcTimeout(){this.#_&&(clearTimeout(this.#_),this.#_=void 0)}}},8904:(e,t,n)=>{"use strict";n.d(t,{II:()=>u,v_:()=>s,wm:()=>c});var r=n(9658),o=n(6035),i=n(4880);function a(e){return Math.min(1e3*2**e,3e4)}function s(e){return"online"!==(e??"online")||o.t.isOnline()}var l=class{constructor(e){this.revert=e?.revert,this.silent=e?.silent}};function c(e){return e instanceof l}function u(e){let t,n,c,u=!1,h=0,f=!1;const d=new Promise(((e,t)=>{n=e,c=t})),p=()=>!r.m.isFocused()||"always"!==e.networkMode&&!o.t.isOnline(),m=r=>{f||(f=!0,e.onSuccess?.(r),t?.(),n(r))},g=n=>{f||(f=!0,e.onError?.(n),t?.(),c(n))},y=()=>new Promise((n=>{t=e=>{const t=f||!p();return t&&n(e),t},e.onPause?.()})).then((()=>{t=void 0,f||e.onContinue?.()})),v=()=>{if(f)return;let t;try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(m).catch((t=>{if(f)return;const n=e.retry??(i.S$?0:3),r=e.retryDelay??a,o="function"==typeof r?r(h,t):r,s=!0===n||"number"==typeof n&&h<n||"function"==typeof n&&n(h,t);!u&&s?(h++,e.onFail?.(h,t),(0,i.yy)(o).then((()=>{if(p())return y()})).then((()=>{u?g(t):v()}))):g(t)}))};return s(e.networkMode)?v():y().then(v),{promise:d,cancel:t=>{f||(g(new l(t)),e.abort?.())},continue:()=>{const e=t?.();return e?d:Promise.resolve()},cancelRetry:()=>{u=!0},continueRetry:()=>{u=!1}}}},6500:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});var r=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},4880:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>f,EN:()=>h,F$:()=>u,MK:()=>l,S$:()=>r,ZZ:()=>w,Zw:()=>i,f8:()=>p,gn:()=>a,hT:()=>k,j3:()=>s,lQ:()=>o,nJ:()=>c,pl:()=>b,y9:()=>x,yy:()=>v});var r="undefined"==typeof window||"Deno"in window;function o(){}function i(e,t){return"function"==typeof e?e(t):e}function a(e){return"number"==typeof e&&e>=0&&e!==1/0}function s(e,t){return Math.max(e+(t||0)-Date.now(),0)}function l(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(a)if(r){if(t.queryHash!==u(a,t.options))return!1}else if(!f(t.queryKey,a))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return!("boolean"==typeof s&&t.isStale()!==s||o&&o!==t.state.fetchStatus||i&&!i(t))}function c(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(h(t.options.mutationKey)!==h(i))return!1}else if(!f(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function u(e,t){return(t?.queryKeyHashFn||h)(e)}function h(e){return JSON.stringify(e,((e,t)=>g(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function f(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((n=>!f(e[n],t[n])))}function d(e,t){if(e===t)return e;const n=m(e)&&m(t);if(n||g(e)&&g(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),a=i.length,s=n?[]:{};let l=0;for(let o=0;o<a;o++){const a=n?o:i[o];!n&&void 0===e[a]&&void 0===t[a]&&r.includes(a)?(s[a]=void 0,l++):(s[a]=d(e[a],t[a]),s[a]===e[a]&&void 0!==e[a]&&l++)}return o===a&&l===o?e:s}return t}function p(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function m(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function g(e){if(!y(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!y(n)&&!!n.hasOwnProperty("isPrototypeOf")}function y(e){return"[object Object]"===Object.prototype.toString.call(e)}function v(e){return new Promise((t=>{setTimeout(t,e)}))}function b(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?d(e,t):t}function x(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function w(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var k=Symbol()},7665:(e,t,n)=>{"use strict";n.d(t,{Ht:()=>s,jE:()=>a});var r=n(1594),o=n(4848),i=r.createContext(void 0),a=e=>{const t=r.useContext(i);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},s=({client:e,children:t})=>(r.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]),(0,o.jsx)(i.Provider,{value:e,children:t}))},7097:(e,t,n)=>{"use strict";n.d(t,{n:()=>h});var r=n(1594),o=n(6158),i=n(6261),a=n(6500),s=n(4880),l=class extends a.Q{#E;#C=void 0;#A;#j;constructor(e,t){super(),this.#E=e,this.setOptions(t),this.bindMethods(),this.#P()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const t=this.options;this.options=this.#E.defaultMutationOptions(e),(0,s.f8)(this.options,t)||this.#E.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#A,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,s.EN)(t.mutationKey)!==(0,s.EN)(this.options.mutationKey)?this.reset():this.#A?.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#A?.removeObserver(this)}onMutationUpdate(e){this.#P(),this.#M(e)}getCurrentResult(){return this.#C}reset(){this.#A?.removeObserver(this),this.#A=void 0,this.#P(),this.#M()}mutate(e,t){return this.#j=t,this.#A?.removeObserver(this),this.#A=this.#E.getMutationCache().build(this.#E,this.options),this.#A.addObserver(this),this.#A.execute(e)}#P(){const e=this.#A?.state??(0,o.$)();this.#C={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#M(e){i.j.batch((()=>{if(this.#j&&this.hasListeners()){const t=this.#C.variables,n=this.#C.context;"success"===e?.type?(this.#j.onSuccess?.(e.data,t,n),this.#j.onSettled?.(e.data,null,t,n)):"error"===e?.type&&(this.#j.onError?.(e.error,t,n),this.#j.onSettled?.(void 0,e.error,t,n))}this.listeners.forEach((e=>{e(this.#C)}))}))}},c=n(7665),u=n(4362);function h(e,t){const n=(0,c.jE)(t),[o]=r.useState((()=>new l(n,e)));r.useEffect((()=>{o.setOptions(e)}),[o,e]);const a=r.useSyncExternalStore(r.useCallback((e=>o.subscribe(i.j.batchCalls(e))),[o]),(()=>o.getCurrentResult()),(()=>o.getCurrentResult())),s=r.useCallback(((e,t)=>{o.mutate(e,t).catch(u.l)}),[o]);if(a.error&&(0,u.G)(o.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:s,mutateAsync:a.mutate}}},9270:(e,t,n)=>{"use strict";n.d(t,{I:()=>E});var r=n(4880),o=n(6261),i=n(9658),a=n(6500),s=n(8904),l=class extends a.Q{constructor(e,t){super(),this.options=t,this.#E=e,this.#R=null,this.bindMethods(),this.setOptions(t)}#E;#T=void 0;#L=void 0;#C=void 0;#I;#N;#R;#z;#D;#F;#B;#$;#H;#W=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#T.addObserver(this),c(this.#T,this.options)?this.#q():this.updateResult(),this.#V())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return u(this.#T,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return u(this.#T,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#U(),this.#K(),this.#T.removeObserver(this)}setOptions(e,t){const n=this.options,o=this.#T;if(this.options=this.#E.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.#Q(),(0,r.f8)(this.options,n)||this.#E.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#T,observer:this});const i=this.hasListeners();i&&h(this.#T,o,this.options,n)&&this.#q(),this.updateResult(t),!i||this.#T===o&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.#G();const a=this.#Y();!i||this.#T===o&&this.options.enabled===n.enabled&&a===this.#H||this.#Z(a)}getOptimisticResult(e){const t=this.#E.getQueryCache().build(this.#E,e),n=this.createResult(t,e);return o=this,i=n,!(0,r.f8)(o.getCurrentResult(),i)&&(this.#C=n,this.#N=this.options,this.#I=this.#T.state),n;var o,i}getCurrentResult(){return this.#C}trackResult(e,t){const n={};return Object.keys(e).forEach((r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(r),t?.(r),e[r])})})),n}trackProp(e){this.#W.add(e)}getCurrentQuery(){return this.#T}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#E.defaultQueryOptions(e),n=this.#E.getQueryCache().build(this.#E,t);return n.isFetchingOptimistic=!0,n.fetch().then((()=>this.createResult(n,t)))}fetch(e){return this.#q({...e,cancelRefetch:e.cancelRefetch??!0}).then((()=>(this.updateResult(),this.#C)))}#q(e){this.#Q();let t=this.#T.fetch(this.options,e);return e?.throwOnError||(t=t.catch(r.lQ)),t}#G(){if(this.#U(),r.S$||this.#C.isStale||!(0,r.gn)(this.options.staleTime))return;const e=(0,r.j3)(this.#C.dataUpdatedAt,this.options.staleTime)+1;this.#B=setTimeout((()=>{this.#C.isStale||this.updateResult()}),e)}#Y(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#T):this.options.refetchInterval)??!1}#Z(e){this.#K(),this.#H=e,!r.S$&&!1!==this.options.enabled&&(0,r.gn)(this.#H)&&0!==this.#H&&(this.#$=setInterval((()=>{(this.options.refetchIntervalInBackground||i.m.isFocused())&&this.#q()}),this.#H))}#V(){this.#G(),this.#Z(this.#Y())}#U(){this.#B&&(clearTimeout(this.#B),this.#B=void 0)}#K(){this.#$&&(clearInterval(this.#$),this.#$=void 0)}createResult(e,t){const n=this.#T,o=this.options,i=this.#C,a=this.#I,l=this.#N,u=e!==n?e.state:this.#L,{state:d}=e;let p,{error:m,errorUpdatedAt:g,fetchStatus:y,status:v}=d,b=!1;if(t._optimisticResults){const r=this.hasListeners(),i=!r&&c(e,t),a=r&&h(e,n,t,o);(i||a)&&(y=(0,s.v_)(e.options.networkMode)?"fetching":"paused",void 0===d.data&&(v="pending")),"isRestoring"===t._optimisticResults&&(y="idle")}if(t.select&&void 0!==d.data)if(i&&d.data===a?.data&&t.select===this.#z)p=this.#D;else try{this.#z=t.select,p=t.select(d.data),p=(0,r.pl)(i?.data,p,t),this.#D=p,this.#R=null}catch(e){this.#R=e}else p=d.data;if(void 0!==t.placeholderData&&void 0===p&&"pending"===v){let e;if(i?.isPlaceholderData&&t.placeholderData===l?.placeholderData)e=i.data;else if(e="function"==typeof t.placeholderData?t.placeholderData(this.#F?.state.data,this.#F):t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.#R=null}catch(e){this.#R=e}void 0!==e&&(v="success",p=(0,r.pl)(i?.data,e,t),b=!0)}this.#R&&(m=this.#R,p=this.#D,g=Date.now(),v="error");const x="fetching"===y,w="pending"===v,k="error"===v,S=w&&x,O=void 0!==d.data;return{status:v,fetchStatus:y,isPending:w,isSuccess:"success"===v,isError:k,isInitialLoading:S,isLoading:S,data:p,dataUpdatedAt:d.dataUpdatedAt,error:m,errorUpdatedAt:g,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:x,isRefetching:x&&!w,isLoadingError:k&&!O,isPaused:"paused"===y,isPlaceholderData:b,isRefetchError:k&&O,isStale:f(e,t),refetch:this.refetch}}updateResult(e){const t=this.#C,n=this.createResult(this.#T,this.options);if(this.#I=this.#T.state,this.#N=this.options,void 0!==this.#I.data&&(this.#F=this.#T),(0,r.f8)(n,t))return;this.#C=n;const o={};!1!==e?.listeners&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,n="function"==typeof e?e():e;if("all"===n||!n&&!this.#W.size)return!0;const r=new Set(n??this.#W);return this.options.throwOnError&&r.add("error"),Object.keys(this.#C).some((e=>{const n=e;return this.#C[n]!==t[n]&&r.has(n)}))})()&&(o.listeners=!0),this.#M({...o,...e})}#Q(){const e=this.#E.getQueryCache().build(this.#E,this.options);if(e===this.#T)return;const t=this.#T;this.#T=e,this.#L=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#V()}#M(e){o.j.batch((()=>{e.listeners&&this.listeners.forEach((e=>{e(this.#C)})),this.#E.getQueryCache().notify({query:this.#T,type:"observerResultsUpdated"})}))}};function c(e,t){return function(e,t){return!1!==t.enabled&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&u(e,t,t.refetchOnMount)}function u(e,t,n){if(!1!==t.enabled){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&f(e,t)}return!1}function h(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&f(e,n)}function f(e,t){return e.isStaleByTime(t.staleTime)}var d=n(1594);n(4848);var p=d.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),m=()=>d.useContext(p),g=n(7665),y=d.createContext(!1),v=()=>d.useContext(y),b=(y.Provider,n(4362)),x=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},w=e=>{d.useEffect((()=>{e.clearReset()}),[e])},k=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(0,b.G)(n,[e.error,r]),S=e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)},O=(e,t)=>e?.suspense&&t.isPending,_=(e,t,n)=>t.fetchOptimistic(e).catch((()=>{n.clearReset()}));function E(e,t){return function(e,t,n){const r=(0,g.jE)(n),i=v(),a=m(),s=r.defaultQueryOptions(e);s._optimisticResults=i?"isRestoring":"optimistic",S(s),x(s,a),w(a);const[l]=d.useState((()=>new t(r,s))),c=l.getOptimisticResult(s);if(d.useSyncExternalStore(d.useCallback((e=>{const t=i?()=>{}:l.subscribe(o.j.batchCalls(e));return l.updateResult(),t}),[l,i]),(()=>l.getCurrentResult()),(()=>l.getCurrentResult())),d.useEffect((()=>{l.setOptions(s,{listeners:!1})}),[s,l]),O(s,c))throw _(s,l,a);if(k({result:c,errorResetBoundary:a,throwOnError:s.throwOnError,query:r.getQueryCache().get(s.queryHash)}))throw c.error;return s.notifyOnChangeProps?c:l.trackResult(c)}(e,l,t)}},4362:(e,t,n)=>{"use strict";function r(e,t){return"function"==typeof e?e(...t):!!e}function o(){}n.d(t,{G:()=>r,l:()=>o})},421:(e,t,n)=>{"use strict";n.d(t,{p2:()=>cn});var r=n(4848),o=n(85),i=n(1594),a=(n(1919),n(4146),n(2142),n(1287),r.Fragment);function s(e,t,n){return o.h.call(t,"css")?r.jsx(o.E,(0,o.c)(e,t),n):r.jsx(e,t,n)}function l(e,t,n){return o.h.call(t,"css")?r.jsxs(o.E,(0,o.c)(e,t),n):r.jsxs(e,t,n)}var c=n(8168),u=n(8587);function h(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=h(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const f=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=h(e))&&(r&&(r+=" "),r+=t);return r};var d=n(2532),p=n(3571),m=n(9599),g=n(8749);const y=function(e=null){const t=i.useContext(o.T);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n},v=(0,g.A)(),b=function(e=v){return y(e)},x=["className","component"],w=e=>e,k=(()=>{let e=w;return{configure(t){e=t},generate:t=>e(t),reset(){e=w}}})();var S=n(5697),O=n(4521),_=n(4188),E=n(771);const C={black:"#000",white:"#fff"},A={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"},j={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"},P={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"},M={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"},R={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"},T={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"},L={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"},I=["mode","contrastThreshold","tonalOffset"],N={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:C.white,default:C.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}},z={text:{primary:C.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:C.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 D(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,E.a)(e.main,o):"dark"===t&&(e.dark=(0,E.e$)(e.main,i)))}const F=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],B={textTransform:"uppercase"},$='"Roboto", "Helvetica", "Arial", sans-serif';function H(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=$,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:h=16,allVariants:f,pxToRem:d}=n,p=(0,u.A)(n,F),m=o/14,g=d||(e=>e/h*m+"rem"),y=(e,t,n,o,i)=>{return(0,c.A)({fontFamily:r,fontWeight:e,fontSize:g(t),lineHeight:n},r===$?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5+"em")}:{},i,f);var a},v={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(a,48,1.167,0),h4:y(a,34,1.235,.25),h5:y(a,24,1.334,0),h6:y(s,20,1.6,.15),subtitle1:y(a,16,1.75,.15),subtitle2:y(s,14,1.57,.1),body1:y(a,16,1.5,.15),body2:y(a,14,1.43,.15),button:y(s,14,1.75,.4,B),caption:y(a,12,1.66,.4),overline:y(a,12,2.66,1,B),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,O.A)((0,c.A)({htmlFontSize:h,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},v),p,{clone:!1})}function W(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const q=["none",W(0,2,1,-1,0,1,1,0,0,1,3,0),W(0,3,1,-2,0,2,2,0,0,1,5,0),W(0,3,3,-2,0,3,4,0,0,1,8,0),W(0,2,4,-1,0,4,5,0,0,1,10,0),W(0,3,5,-1,0,5,8,0,0,1,14,0),W(0,3,5,-1,0,6,10,0,0,1,18,0),W(0,4,5,-2,0,7,10,1,0,2,16,1),W(0,5,5,-3,0,8,10,1,0,3,14,2),W(0,5,6,-3,0,9,12,1,0,3,16,2),W(0,6,6,-3,0,10,14,1,0,4,18,3),W(0,6,7,-4,0,11,15,1,0,4,20,3),W(0,7,8,-4,0,12,17,2,0,5,22,4),W(0,7,8,-4,0,13,19,2,0,5,24,4),W(0,7,9,-4,0,14,21,2,0,5,26,4),W(0,8,9,-5,0,15,22,2,0,6,28,5),W(0,8,10,-5,0,16,24,2,0,6,30,5),W(0,8,11,-5,0,17,26,2,0,6,32,5),W(0,9,11,-5,0,18,28,2,0,7,34,6),W(0,9,12,-6,0,19,29,2,0,7,36,6),W(0,10,13,-6,0,20,31,3,0,8,38,7),W(0,10,13,-6,0,21,33,3,0,8,40,7),W(0,10,14,-6,0,22,35,3,0,8,42,7),W(0,11,14,-7,0,23,36,3,0,9,44,8),W(0,11,15,-7,0,24,38,3,0,9,46,8)],V=["duration","easing","delay"],U={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)"},K={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Q(e){return`${Math.round(e)}ms`}function G(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Y(e){const t=(0,c.A)({},U,e.easing),n=(0,c.A)({},K,e.duration);return(0,c.A)({getAutoHeightDuration:G,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r;return(0,u.A)(r,V),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:Q(o)} ${i} ${"string"==typeof a?a:Q(a)}`)).join(",")}},e,{easing:t,duration:n})}const Z={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},X=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const J=function(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=(0,u.A)(e,X);if(e.vars)throw new Error((0,S.A)(18));const s=function(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=(0,u.A)(e,I),i=e.primary||function(e="light"){return"dark"===e?{main:R[200],light:R[50],dark:R[400]}:{main:R[700],light:R[400],dark:R[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:j[200],light:j[50],dark:j[400]}:{main:j[500],light:j[300],dark:j[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:P[500],light:P[300],dark:P[700]}:{main:P[700],light:P[400],dark:P[800]}}(t),l=e.info||function(e="light"){return"dark"===e?{main:T[400],light:T[300],dark:T[700]}:{main:T[700],light:T[500],dark:T[900]}}(t),h=e.success||function(e="light"){return"dark"===e?{main:L[400],light:L[300],dark:L[700]}:{main:L[800],light:L[500],dark:L[900]}}(t),f=e.warning||function(e="light"){return"dark"===e?{main:M[400],light:M[300],dark:M[700]}:{main:"#ed6c02",light:M[500],dark:M[900]}}(t);function d(e){return(0,E.eM)(e,z.text.primary)>=n?z.text.primary:N.text.primary}const p=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=(0,c.A)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error((0,S.A)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error((0,S.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return D(e,"light",o,r),D(e,"dark",i,r),e.contrastText||(e.contrastText=d(e.main)),e},m={dark:z,light:N};return(0,O.A)((0,c.A)({common:(0,c.A)({},C),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:f,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:h,name:"success"}),grey:A,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r},m[t]),o)}(r),l=(0,g.A)(e);let h=(0,O.A)(l,{mixins:(f=l.breakpoints,d=n,(0,c.A)({toolbar:{minHeight:56,[f.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[f.up("sm")]:{minHeight:64}}},d)),palette:s,shadows:q.slice(),typography:H(s,i),transitions:Y(o),zIndex:(0,c.A)({},Z)});var f,d;return h=(0,O.A)(h,a),h=t.reduce(((e,t)=>(0,O.A)(e,t)),h),h.unstable_sxConfig=(0,c.A)({},_.A,null==a?void 0:a.unstable_sxConfig),h.unstable_sx=function(e){return(0,p.A)({sx:e,theme:this})},h},ee="$$material",te={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 ne(e,t,n="Mui"){const r=te[t];return r?`${n}-${r}`:`${k.generate(e)}-${t}`}function re(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=ne(e,t,n)})),r}const oe=re("MuiBox",["root"]),ie=J(),ae=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:o="MuiBox-root",generateClassName:a}=e,s=(0,d.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(p.A);return i.forwardRef((function(e,i){const l=b(n),h=(0,m.A)(e),{className:d,component:p="div"}=h,g=(0,u.A)(h,x);return(0,r.jsx)(s,(0,c.A)({as:p,ref:i,className:f(d,a?a(o):o),theme:t&&l[t]||l},g))}))}({themeId:ee,defaultTheme:ie,defaultClassName:oe.root,generateClassName:k.generate}),se=ae;function le(...e){return i.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(e,t)}))}),e)}function ce(e){const t=function(e){return e&&e.ownerDocument||document}(e);return t.defaultView||window}const ue="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,he=["onChange","maxRows","minRows","style","value"];function fe(e){return parseInt(e,10)||0}const de={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},pe=i.forwardRef((function(e,t){const{onChange:n,maxRows:o,minRows:a=1,style:s,value:l}=e,h=(0,u.A)(e,he),{current:f}=i.useRef(null!=l),d=i.useRef(null),p=le(t,d),m=i.useRef(null),g=i.useCallback((()=>{const t=d.current,n=ce(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0,overflowing:!1};const r=m.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const i=n.boxSizing,s=fe(n.paddingBottom)+fe(n.paddingTop),l=fe(n.borderBottomWidth)+fe(n.borderTopWidth),c=r.scrollHeight;r.value="x";const u=r.scrollHeight;let h=c;return a&&(h=Math.max(Number(a)*u,h)),o&&(h=Math.min(Number(o)*u,h)),h=Math.max(h,u),{outerHeightStyle:h+("border-box"===i?s+l:0),overflowing:Math.abs(h-c)<=1}}),[o,a,e.placeholder]),y=i.useCallback((()=>{const e=g();if(null==(t=e)||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflowing)return;var t;const n=d.current;n.style.height=`${e.outerHeightStyle}px`,n.style.overflow=e.overflowing?"hidden":""}),[g]);return ue((()=>{const e=()=>{y()};const t=function(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}(e),n=d.current,r=ce(n);let o;return r.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(n)),()=>{t.clear(),cancelAnimationFrame(undefined),r.removeEventListener("resize",t),o&&o.disconnect()}}),[g,y]),ue((()=>{y()})),(0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)("textarea",(0,c.A)({value:l,onChange:e=>{f||y(),n&&n(e)},ref:p,rows:a},h)),(0,r.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:m,tabIndex:-1,style:(0,c.A)({},de,s,{paddingTop:0,paddingBottom:0})})]})}));function me(e){return"string"==typeof e}function ge(e,t,n=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}const ye=i.createContext(void 0);var ve=n(6461);const be=J(),xe=(0,ve.Ay)({themeId:ee,defaultTheme:be,rootShouldForwardProp:e=>(0,ve.MC)(e)&&"classes"!==e});function we(e,t){const n=(0,c.A)({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=(0,c.A)({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},i&&Object.keys(i)?o&&Object.keys(o)?(n[r]=(0,c.A)({},i),Object.keys(o).forEach((e=>{n[r][e]=we(o[e],i[e])}))):n[r]=i:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function ke(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?we(t.components[n].defaultProps,r):r}function Se({props:e,name:t}){return function({props:e,name:t,defaultTheme:n,themeId:r}){let o=b(n);return r&&(o=o[r]||o),ke({theme:o,name:t,props:e})}({props:e,name:t,defaultTheme:be,themeId:ee})}const Oe=n(8659).A,_e=le,Ee=ue;var Ce=n(9940);const Ae=function({styles:e,themeId:t,defaultTheme:n={}}){const o=b(n),i="function"==typeof e?e(t&&o[t]||o):e;return(0,r.jsx)(Ce.A,{styles:i})},je=function(e){return(0,r.jsx)(Ae,(0,c.A)({},e,{defaultTheme:be,themeId:ee}))};function Pe(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Me(e){return ne("MuiInputBase",e)}const Re=re("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Te=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Le=xe("div",{name:"MuiInputBase",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Oe(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]}})((({theme:e,ownerState:t})=>(0,c.A)({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Re.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&(0,c.A)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Ie=xe("input",{name:"MuiInputBase",slot:"Input",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=(0,c.A)({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return(0,c.A)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Re.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${Re.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),Ne=(0,r.jsx)(je,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),ze=i.forwardRef((function(e,t){var n;const o=Se({props:e,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:s,autoFocus:l,className:h,components:d={},componentsProps:p={},defaultValue:m,disabled:g,disableInjectingGlobalStyles:y,endAdornment:v,fullWidth:b=!1,id:x,inputComponent:w="input",inputProps:k={},inputRef:O,maxRows:_,minRows:E,multiline:C=!1,name:A,onBlur:j,onChange:P,onClick:M,onFocus:R,onKeyDown:T,onKeyUp:L,placeholder:I,readOnly:N,renderSuffix:z,rows:D,slotProps:F={},slots:B={},startAdornment:$,type:H="text",value:W}=o,q=(0,u.A)(o,Te),V=null!=k.value?k.value:W,{current:U}=i.useRef(null!=V),K=i.useRef(),Q=i.useCallback((e=>{}),[]),G=_e(K,O,k.ref,Q),[Y,Z]=i.useState(!1),X=i.useContext(ye),J=function({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}({props:o,muiFormControl:X,states:["color","disabled","error","hiddenLabel","size","required","filled"]});J.focused=X?X.focused:Y,i.useEffect((()=>{!X&&g&&Y&&(Z(!1),j&&j())}),[X,g,Y,j]);const ee=X&&X.onFilled,te=X&&X.onEmpty,ne=i.useCallback((e=>{!function(e,t=!1){return e&&(Pe(e.value)&&""!==e.value||t&&Pe(e.defaultValue)&&""!==e.defaultValue)}(e)?te&&te():ee&&ee()}),[ee,te]);Ee((()=>{U&&ne({value:V})}),[V,ne,U]),i.useEffect((()=>{ne(K.current)}),[]);let re=w,oe=k;C&&"input"===re&&(oe=D?(0,c.A)({type:void 0,minRows:D,maxRows:D},oe):(0,c.A)({type:void 0,maxRows:_,minRows:E},oe),re=pe),i.useEffect((()=>{X&&X.setAdornedStart(Boolean($))}),[X,$]);const ie=(0,c.A)({},o,{color:J.color||"primary",disabled:J.disabled,endAdornment:v,error:J.error,focused:J.focused,formControl:X,fullWidth:b,hiddenLabel:J.hiddenLabel,multiline:C,size:J.size,startAdornment:$,type:H}),ae=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:h,size:f,startAdornment:d,type:p}=e;return ge({root:["root",`color${Oe(n)}`,r&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",f&&"medium"!==f&&`size${Oe(f)}`,u&&"multiline",d&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",h&&"readOnly"],input:["input",r&&"disabled","search"===p&&"inputTypeSearch",u&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",d&&"inputAdornedStart",i&&"inputAdornedEnd",h&&"readOnly"]},Me,t)})(ie),se=B.root||d.Root||Le,le=F.root||p.root||{},ce=B.input||d.Input||Ie;return oe=(0,c.A)({},oe,null!=(n=F.input)?n:p.input),(0,r.jsxs)(i.Fragment,{children:[!y&&Ne,(0,r.jsxs)(se,(0,c.A)({},le,!me(se)&&{ownerState:(0,c.A)({},ie,le.ownerState)},{ref:t,onClick:e=>{K.current&&e.currentTarget===e.target&&K.current.focus(),M&&M(e)}},q,{className:f(ae.root,le.className,h,N&&"MuiInputBase-readOnly"),children:[$,(0,r.jsx)(ye.Provider,{value:null,children:(0,r.jsx)(ce,(0,c.A)({ownerState:ie,"aria-invalid":J.error,"aria-describedby":a,autoComplete:s,autoFocus:l,defaultValue:m,disabled:J.disabled,id:x,onAnimationStart:e=>{ne("mui-auto-fill-cancel"===e.animationName?K.current:{value:"x"})},name:A,placeholder:I,readOnly:N,required:J.required,rows:D,value:V,onKeyDown:T,onKeyUp:L,type:H},oe,!me(ce)&&{as:re,ownerState:(0,c.A)({},ie,oe.ownerState)},{ref:G,className:f(ae.input,oe.className,N&&"MuiInputBase-readOnly"),onBlur:e=>{j&&j(e),k.onBlur&&k.onBlur(e),X&&X.onBlur?X.onBlur(e):Z(!1)},onChange:(e,...t)=>{if(!U){const t=e.target||K.current;if(null==t)throw new Error((0,S.A)(1));ne({value:t.value})}k.onChange&&k.onChange(e,...t),P&&P(e,...t)},onFocus:e=>{J.disabled?e.stopPropagation():(R&&R(e),k.onFocus&&k.onFocus(e),X&&X.onFocus?X.onFocus(e):Z(!0))}}))}),v,z?z((0,c.A)({},J,{startAdornment:$})):null]}))]})}));function De(e){const{children:t,defer:n=!1,fallback:o=null}=e,[a,s]=i.useState(!1);return ue((()=>{n||s(!0)}),[n]),i.useEffect((()=>{n&&s(!0)}),[n]),(0,r.jsx)(i.Fragment,{children:a?t:o})}function Fe(e){return ne("MuiSvgIcon",e)}re("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Be=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],$e=xe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Oe(n.color)}`],t[`fontSize${Oe(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,i,a,s,l,c,u,h,f,d,p;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(h=null==(f=(e.vars||e).palette)||null==(f=f[t.color])?void 0:f.main)?h:{action:null==(d=(e.vars||e).palette)||null==(d=d.action)?void 0:d.active,disabled:null==(p=(e.vars||e).palette)||null==(p=p.action)?void 0:p.disabled,inherit:void 0}[t.color]}})),He=i.forwardRef((function(e,t){const n=Se({props:e,name:"MuiSvgIcon"}),{children:o,className:a,color:s="inherit",component:l="svg",fontSize:h="medium",htmlColor:d,inheritViewBox:p=!1,titleAccess:m,viewBox:g="0 0 24 24"}=n,y=(0,u.A)(n,Be),v=i.isValidElement(o)&&"svg"===o.type,b=(0,c.A)({},n,{color:s,component:l,fontSize:h,instanceFontSize:e.fontSize,inheritViewBox:p,viewBox:g,hasSvgAsChild:v}),x={};p||(x.viewBox=g);const w=(e=>{const{color:t,fontSize:n,classes:r}=e;return ge({root:["root","inherit"!==t&&`color${Oe(t)}`,`fontSize${Oe(n)}`]},Fe,r)})(b);return(0,r.jsxs)($e,(0,c.A)({as:l,className:f(w.root,a),focusable:"false",color:d,"aria-hidden":!m||void 0,role:m?"img":void 0,ref:t},x,y,v&&o.props,{ownerState:b,children:[v?o.props.children:o,m?(0,r.jsx)("title",{children:m}):null]}))}));He.muiName="SvgIcon";const We=He,qe=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Ve(e){return ne("MuiPaper",e)}re("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 Ue=["className","component","elevation","square","variant"],Ke=xe("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${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return(0,c.A)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&(0,c.A)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,E.X4)("#fff",qe(t.elevation))}, ${(0,E.X4)("#fff",qe(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),Qe=i.forwardRef((function(e,t){const n=Se({props:e,name:"MuiPaper"}),{className:o,component:i="div",elevation:a=1,square:s=!1,variant:l="elevation"}=n,h=(0,u.A)(n,Ue),d=(0,c.A)({},n,{component:i,elevation:a,square:s,variant:l}),p=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return ge({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},Ve,o)})(d);return(0,r.jsx)(Ke,(0,c.A)({as:i,ownerState:d,className:f(p.root,o),ref:t},h))})),Ge=i.createContext(null);function Ye(){return i.useContext(Ge)}const Ze="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",Xe=function(e){const{children:t,theme:n}=e,o=Ye(),a=i.useMemo((()=>{const e=null===o?n:function(e,t){return"function"==typeof t?t(e):(0,c.A)({},e,t)}(o,n);return null!=e&&(e[Ze]=null!==o),e}),[n,o]);return(0,r.jsx)(Ge.Provider,{value:a,children:t})},Je={};function et(e,t,n,r=!1){return i.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),a=e?(0,c.A)({},t,{[e]:i}):i;return r?()=>a:a}return e?(0,c.A)({},t,{[e]:n}):(0,c.A)({},t,n)}),[e,t,n,r])}const tt=function(e){const{children:t,theme:n,themeId:i}=e,a=y(Je),s=Ye()||Je,l=et(i,a,n),c=et(i,s,n,!0);return(0,r.jsx)(Xe,{theme:c,children:(0,r.jsx)(o.T.Provider,{value:l,children:t})})},nt=["theme"];function rt(e){let{theme:t}=e,n=(0,u.A)(e,nt);const o=t[ee];return(0,r.jsx)(tt,(0,c.A)({},n,{themeId:o?ee:void 0,theme:o||t}))}const ot=e=>{let t;const n=new Set,r=(e,r)=>{const o="function"==typeof e?e(t):e;if(!Object.is(o,t)){const e=t;t=(null!=r?r:"object"!=typeof o||null===o)?o:Object.assign({},t,o),n.forEach((n=>n(t,e)))}},o=()=>t,i={setState:r,getState:o,getInitialState:()=>a,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},a=t=e(r,o,i);return i},it=e=>e?ot(e):ot;var at=n(9242);const{useDebugValue:st}=i,{useSyncExternalStoreWithSelector:lt}=at;let ct=!1;const ut=e=>e;function ht(e,t=ut,n){n&&!ct&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),ct=!0);const r=lt(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return st(r),r}const ft=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t="function"==typeof e?it(e):e,n=(e,n)=>ht(t,e,n);return Object.assign(n,t),n};var dt=n(7965);function pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){pt(e,t,n[t])}))}return e}function gt(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function yt(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 vt(e,t){if(e){if("string"==typeof e)return yt(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(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yt(e,t):void 0}}function bt(e){return function(e){if(Array.isArray(e))return yt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||vt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xt(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=xt(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function wt(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=xt(e))&&(r&&(r+=" "),r+=t);return r}function kt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||vt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function St(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var Ot={scheme:"Light Theme",author:"mac gainor (https://github.com/mac-s-g)",base00:"rgba(0, 0, 0, 0)",base01:"rgb(245, 245, 245)",base02:"rgb(235, 235, 235)",base03:"#93a1a1",base04:"rgba(0, 0, 0, 0.3)",base05:"#586e75",base06:"#073642",base07:"#002b36",base08:"#d33682",base09:"#cb4b16",base0A:"#ffd500",base0B:"#859900",base0C:"#6c71c4",base0D:"#586e75",base0E:"#2aa198",base0F:"#268bd2"},_t={scheme:"Dark Theme",author:"Chris Kempson (http://chriskempson.com)",base00:"#181818",base01:"#282828",base02:"#383838",base03:"#585858",base04:"#b8b8b8",base05:"#d8d8d8",base06:"#e8e8e8",base07:"#f8f8f8",base08:"#ab4642",base09:"#dc9656",base0A:"#f7ca88",base0B:"#a1b56c",base0C:"#86c1b9",base0D:"#7cafc2",base0E:"#ba8baf",base0F:"#a16946"},Et=function(){return null};Et.when=function(){return!1};var Ct=(0,i.createContext)(void 0);Ct.Provider;var At=function(e,t){return ht((0,i.useContext)(Ct),e,t)},jt=function(){return At((function(e){return e.colorspace.base07}))};function Pt(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Mt(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Pt(i,r,o,a,s,"next",e)}function s(e){Pt(i,r,o,a,s,"throw",e)}a(void 0)}))}}function Rt(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:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function Tt(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}Object.prototype.constructor.toString();function Lt(e){return null===e?0:Array.isArray(e)?e.length:Tt(e,Map)||Tt(e,Set)?e.size:Tt(e,Date)?1:"object"==typeof e?Object.keys(e).length:"string"==typeof e?e.length:1}function It(e,t){for(var n=[],r=0;r<e.length;)n.push(e.slice(r,r+t)),r+=t;return n}function Nt(e){return zt.apply(this,arguments)}function zt(){return(zt=Mt((function(e){return Rt(this,(function(t){switch(t.label){case 0:if(!("clipboard"in navigator))return[3,4];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,navigator.clipboard.writeText(e)];case 2:case 3:return t.sent(),[3,4];case 4:return dt(e),[2]}}))}))).apply(this,arguments)}function Dt(e,t){var n=At((function(e){return e.value}));return(0,i.useMemo)((function(){return function(e,t,n){if(null===e||null===n)return!1;if("object"!=typeof e)return!1;if("object"!=typeof n)return!1;if(Object.is(e,n)&&0!==t.length)return"";for(var r=[],o=bt(t),i=e;i!==n||0!==o.length;){if("object"!=typeof i||null===i)return!1;if(Object.is(i,n))return r.reduce((function(e,t,n){return"number"==typeof t?e+"[".concat(t,"]"):e+"".concat(0===n?"":".").concat(t)}),"");var a=o.shift();r.push(a),i=i[a]}return!1}(n,e,t)}),[e,t,n])}var Ft=function(e){return s(se,gt(mt({component:"div"},e),{sx:mt({display:"inline-block"},e.sx)}))},Bt=function(e){var t=e.dataType,n=e.enable;return void 0===n||n?s(Ft,{className:"data-type-label",sx:{mx:.5,fontSize:"0.7rem",opacity:.8,userSelect:"none"},children:t}):null};function $t(e,t,n){var r=n.fromString,o=n.colorKey,a=n.displayTypeLabel,c=void 0===a||a,u=(0,i.memo)(t),h=function(t){var n=At((function(e){return e.displayDataTypes})),r=At((function(e){return e.colorspace[o]})),i=At((function(e){return e.onSelect}));return l(Ft,{onClick:function(){return null==i?void 0:i(t.path,t.value)},sx:{color:r},children:[c&&n&&s(Bt,{dataType:e}),s(Ft,{className:"".concat(e,"-value"),children:s(u,{value:t.value})})]})};if(h.displayName="easy-".concat(e,"-type"),!r)return{Component:h};var f=function(e){var t=e.value,n=e.setValue,a=At((function(e){return e.colorspace[o]}));return s(ze,{value:t,onChange:(0,i.useCallback)((function(e){var t=r(e.target.value);n(t)}),[n]),size:"small",multiline:!0,sx:{color:a,padding:.5,borderStyle:"solid",borderColor:"black",borderWidth:1,fontSize:"0.8rem",fontFamily:"monospace",display:"inline-flex"}})};return f.displayName="easy-".concat(e,"-type-editor"),{Component:h,Editor:f}}var Ht=function(e){return l(De,{children:[s(Bt,{dataType:"function"}),l(se,{component:"span",className:"data-function-start",sx:{letterSpacing:.5},children:[(t=e.value,n=t.toString(),-1!==n.indexOf("function")?n.substring(8,n.indexOf("{")).trim():n.substring(0,n.indexOf("=>")+2).trim())," ","{"]})]});var t,n},Wt=function(){return s(De,{children:s(se,{component:"span",className:"data-function-end",children:"}"})})},qt=function(e){var t,n,r,o,i,a=At((function(e){return e.colorspace.base05}));return s(De,{children:s(se,{className:"data-function",sx:{display:e.inspect?"block":"inline-block",pl:e.inspect?2:0,color:a},children:e.inspect?(t=e.value,n=t.toString(),r=!0,o=n.indexOf(")"),i=n.indexOf("=>"),-1!==i&&i>o&&(r=!1),r?n.substring(n.indexOf("{",o)+1,n.lastIndexOf("}")):n.substring(n.indexOf("=>")+2)):s(se,{component:"span",className:"data-function-body",onClick:function(){return e.setInspect(!0)},sx:{"&:hover":{cursor:"pointer"},padding:.5},children:"…"})})})};var Vt=function(e){var t=e.d,n=function(e,t){if(null==e)return{};var n,r,o=function(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}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["d"]);return s(We,gt(mt({},n),{children:s("path",{d:t})}))},Ut=function(e){return s(Vt,mt({d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},e))},Kt=function(e){return s(Vt,mt({d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"},e))},Qt=function(e){return s(Vt,mt({d:"M 12 2 C 10.615 1.998 9.214625 2.2867656 7.890625 2.8847656 L 8.9003906 4.6328125 C 9.9043906 4.2098125 10.957 3.998 12 4 C 15.080783 4 17.738521 5.7633175 19.074219 8.3222656 L 17.125 9 L 21.25 11 L 22.875 7 L 20.998047 7.6523438 C 19.377701 4.3110398 15.95585 2 12 2 z M 6.5097656 4.4882812 L 2.2324219 5.0820312 L 3.734375 6.3808594 C 1.6515335 9.4550558 1.3615962 13.574578 3.3398438 17 C 4.0308437 18.201 4.9801562 19.268234 6.1601562 20.115234 L 7.1699219 18.367188 C 6.3019219 17.710187 5.5922656 16.904 5.0722656 16 C 3.5320014 13.332354 3.729203 10.148679 5.2773438 7.7128906 L 6.8398438 9.0625 L 6.5097656 4.4882812 z M 19.929688 13 C 19.794687 14.08 19.450734 15.098 18.927734 16 C 17.386985 18.668487 14.531361 20.090637 11.646484 19.966797 L 12.035156 17.9375 L 8.2402344 20.511719 L 10.892578 23.917969 L 11.265625 21.966797 C 14.968963 22.233766 18.681899 20.426323 20.660156 17 C 21.355156 15.801 21.805219 14.445 21.949219 13 L 19.929688 13 z"},e))},Gt=function(e){return s(Vt,mt({d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},e))},Yt=function(e){return s(Vt,mt({d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"},e))},Zt=function(e){return s(Vt,mt({d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"},e))},Xt=function(e){return s(Vt,mt({d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"},e))};function Jt(e){var t=Lt(e),n="";return(Tt(e,Map)||Tt(e,Set))&&(n=e[Symbol.toStringTag]),Object.prototype.hasOwnProperty.call(e,Symbol.toStringTag)&&(n=e[Symbol.toStringTag]),"".concat(t," Items").concat(n?" (".concat(n,")"):"")}var en=(0,i.createContext)(void 0);en.Provider;var tn=function(e,t){return ht((0,i.useContext)(en),e,t)},nn={is:function(e){return"object"==typeof e},Component:function(e){var t=jt(),n=At((function(e){return e.colorspace.base02})),r=At((function(e){return e.groupArraysAfterLength})),o=Dt(e.path,e.value),a=kt((0,i.useState)(At((function(e){return e.maxDisplayLength}))),2),c=a[0],u=a[1],h=At((function(e){return e.objectSortKeys})),f=(0,i.useMemo)((function(){if(!e.inspect)return null;var n=e.value,o=function(e){return"function"==typeof(null==e?void 0:e[Symbol.iterator])}(n);if(o&&!Array.isArray(n)){var i=[];if(Tt(n,Map))n.forEach((function(t,n){var r=n.toString(),o=bt(e.path).concat([r]);i.push(s(on,{path:o,value:t,prevValue:Tt(e.prevValue,Map)?e.prevValue.get(n):void 0,editable:!1},r))}));else for(var a=n[Symbol.iterator](),f=a.next(),d=0;!f.done;)i.push(s(on,{path:bt(e.path).concat(["iterator:".concat(d)]),value:f.value,nestedIndex:d,editable:!1},d)),d++,f=a.next();return i}if(Array.isArray(n)){if(n.length<=r){var p=n.slice(0,c).map((function(t,n){var r=bt(e.path).concat([n]);return s(on,{path:r,value:t,prevValue:Array.isArray(e.prevValue)?e.prevValue[n]:void 0},n)}));if(n.length>c){var m=n.length-c;p.push(l(Ft,{sx:{cursor:"pointer",lineHeight:1.5,color:t,letterSpacing:.5,opacity:.8,userSelect:"none"},onClick:function(){return u((function(e){return 2*e}))},children:["hidden ",m," items…"]},"last"))}return p}var g=It(n,r),y=Array.isArray(e.prevValue)?It(e.prevValue,r):void 0;return g.map((function(t,n){var r=bt(e.path);return s(on,{path:r,value:t,nestedIndex:n,prevValue:null==y?void 0:y[n]},n)}))}var v=Object.entries(n);h&&(v=!0===h?v.sort((function(e,t){var n=kt(e,1)[0],r=kt(t,1)[0];return n.localeCompare(r)})):v.sort((function(e,t){var n=kt(e,1)[0],r=kt(t,1)[0];return h(n,r)})));var b=v.slice(0,c).map((function(t){var n,r=kt(t,2),o=r[0],i=r[1],a=bt(e.path).concat([o]);return s(on,{path:a,value:i,prevValue:null===(n=e.prevValue)||void 0===n?void 0:n[o]},o)}));if(v.length>c){var x=v.length-c;b.push(l(Ft,{sx:{cursor:"pointer",lineHeight:1.5,color:t,letterSpacing:.5,opacity:.8,userSelect:"none"},onClick:function(){return u((function(e){return 2*e}))},children:["hidden ",x," items…"]},"last"))}return b}),[e.inspect,e.value,e.prevValue,e.path,r,c,t,h]),d=e.inspect?.6:0,p=At((function(e){return e.indentWidth})),m=e.inspect?p-d:p;return(0,i.useMemo)((function(){return 0===Lt(e.value)}),[e.value])?null:s(se,{className:"data-object",sx:{display:e.inspect?"block":"inline-block",pl:e.inspect?m-.6:0,marginLeft:d,color:t,borderLeft:e.inspect?"1px solid ".concat(n):"none"},children:e.inspect?f:!o&&s(se,{component:"span",className:"data-object-body",onClick:function(){return e.setInspect(!0)},sx:{"&:hover":{cursor:"pointer"},padding:.5,userSelect:"none"},children:"…"})})},PreComponent:function(e){var t=At((function(e){return e.colorspace.base04})),n=jt(),r=(0,i.useMemo)((function(){return Array.isArray(e.value)}),[e.value]),o=(0,i.useMemo)((function(){return 0===Lt(e.value)}),[e.value]),c=(0,i.useMemo)((function(){return Jt(e.value)}),[e.value]),u=At((function(e){return e.displayObjectSize})),h=Dt(e.path,e.value);return l(se,{component:"span",className:"data-object-start",sx:{letterSpacing:.5},children:[r?"[":"{",u&&e.inspect&&!o&&s(se,{component:"span",sx:{pl:.5,fontStyle:"italic",color:t,userSelect:"none"},children:c}),h&&!e.inspect&&l(a,{children:[s(Qt,{sx:{fontSize:12,color:n,mx:.5}}),h]})]})},PostComponent:function(e){var t=At((function(e){return e.colorspace.base04})),n=(0,i.useMemo)((function(){return Array.isArray(e.value)}),[e.value]),r=At((function(e){return e.displayObjectSize})),o=(0,i.useMemo)((function(){return 0===Lt(e.value)}),[e.value]),a=(0,i.useMemo)((function(){return Jt(e.value)}),[e.value]);return l(se,{component:"span",className:"data-object-end",children:[n?"]":"}",!r||!o&&e.inspect?null:s(se,{component:"span",sx:{pl:.5,fontStyle:"italic",color:t,userSelect:"none"},children:a})]})}};var rn=function(e){return s(se,gt(mt({component:"span"},e),{sx:mt({cursor:"pointer",paddingLeft:"0.7rem"},e.sx)}))},on=function(e){var t,n=e.value,r=e.prevValue,o=e.path,c=e.nestedIndex,u=null!==(t=e.editable)&&void 0!==t?t:void 0,h=At((function(e){return e.editable})),f=(0,i.useMemo)((function(){return!1!==h&&!1!==u&&("function"==typeof h?!!h(o,n):h)}),[o,u,h,n]),d=kt((0,i.useState)("function"==typeof n?function(){return n}:n),2),p=d[0],m=d[1],g=o.length,y=o[g-1],v=At((function(e){return e.hoverPath})),b=(0,i.useMemo)((function(){return v&&o.every((function(e,t){return e===v.path[t]&&c===v.nestedIndex}))}),[v,o,c]),x=At((function(e){return e.setHover})),w=At((function(e){return e.value})),k=kt(function(e,t,n){var r=e.length,o=Dt(e,t),a=At((function(e){return e.getInspectCache})),s=At((function(e){return e.setInspectCache})),l=At((function(e){return e.defaultInspectDepth}));(0,i.useEffect)((function(){void 0===a(e,n)&&(void 0!==n?s(e,!1,n):s(e,!o&&r<l))}),[l,r,a,o,n,e,s]);var c=kt((0,i.useState)((function(){var t=a(e,n);return void 0!==t?t:void 0===n&&!o&&r<l})),2),u=c[0],h=c[1];return[u,(0,i.useCallback)((function(t){h((function(r){var o="boolean"==typeof t?t:t(r);return s(e,o,n),o}))}),[n,e,s])]}(o,n,c),2),S=k[0],O=k[1],_=kt((0,i.useState)(!1),2),E=_[0],C=_[1],A=At((function(e){return e.onChange})),j=jt(),P=At((function(e){return e.colorspace.base0C})),M=At((function(e){return e.colorspace.base0A})),R=function(e,t){var n=tn((function(e){return e.registry}));return(0,i.useMemo)((function(){return function(e,t,n){var r,o=!0,i=!1,a=void 0;try{for(var s,l=n[Symbol.iterator]();!(o=(s=l.next()).done);o=!0){var c=s.value;if(c.is(e,t)&&(r=c,"object"==typeof e))return c}}catch(e){i=!0,a=e}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}if(void 0===r){if("object"==typeof e)return nn;throw new Error("this is not possible")}return r}(e,t,n)}),[e,t,n])}(n,o),T=R.Component,L=R.PreComponent,I=R.PostComponent,N=R.Editor,z=At((function(e){return e.quotesOnKeys})),D=At((function(e){return e.rootName})),F=w===n,B=Number.isInteger(Number(y)),$=At((function(e){return e.enableClipboard})),H=function(){var e,t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).timeout,n=void 0===t?2e3:t,r=kt((0,i.useState)(!1),2),o=r[0],a=r[1],s=(0,i.useRef)(null),l=(0,i.useCallback)((function(e){var t=s.current;t&&window.clearTimeout(t),s.current=window.setTimeout((function(){return a(!1)}),n),a(e)}),[n]),c=At((function(e){return e.onCopy})),u=(0,i.useCallback)((e=Mt((function(e,t){var n,r,o;return Rt(this,(function(i){switch(i.label){case 0:if("function"!=typeof c)return[3,5];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,c(e,t,Nt)];case 2:return i.sent(),l(!0),[3,4];case 3:return n=i.sent(),console.error("error when copy ".concat(0===e.length?"src":"src[".concat(e.join(".")),"]"),n),[3,4];case 4:return[3,8];case 5:return i.trys.push([5,7,,8]),a="function"==typeof t?t.toString():t,s=[],r=JSON.stringify(a,(function(e,t){if("bigint"===(void 0===t?"undefined":St(t)))return t.toString();if(Tt(t,Map)){if("toJSON"in t&&"function"==typeof t.toJSON)return t.toJSON();if(0===t.size)return{};if(s.includes(t))return"[Circular]";s.push(t);var n=Array.from(t.entries());return n.every((function(e){var t=kt(e,1)[0];return"string"==typeof t||"number"==typeof t}))?Object.fromEntries(n):{}}if(Tt(t,Set))return"toJSON"in t&&"function"==typeof t.toJSON?t.toJSON():s.includes(t)?"[Circular]":(s.push(t),Array.from(t.values()));if("object"==typeof t&&null!==t&&Object.keys(t).length){var r=s.length;if(r){for(var o=r-1;o>=0&&s[o][e]!==t;--o)s.pop();if(s.includes(t))return"[Circular]"}s.push(t)}return t}),"  "),[4,Nt(r)];case 6:return i.sent(),l(!0),[3,8];case 7:return o=i.sent(),console.error("error when copy ".concat(0===e.length?"src":"src[".concat(e.join(".")),"]"),o),[3,8];case 8:return[2]}var a,s}))})),function(t,n){return e.apply(this,arguments)}),[l,c]);return{copy:u,reset:(0,i.useCallback)((function(){a(!1),s.current&&clearTimeout(s.current)}),[]),copied:o}}(),W=H.copy,q=H.copied,V=At((function(e){return e.highlightUpdates})),U=(0,i.useMemo)((function(){return!(!V||void 0===r||(void 0===n?"undefined":St(n))===(void 0===r?"undefined":St(r))&&("number"==typeof n?isNaN(n)&&isNaN(r)||n===r:Array.isArray(n)===Array.isArray(r)&&("object"==typeof n||"function"==typeof n||n===r)))}),[V,r,n]),K=(0,i.useRef)();(0,i.useEffect)((function(){K.current&&U&&"animate"in K.current&&K.current.animate([{backgroundColor:M},{backgroundColor:""}],{duration:1e3,easing:"ease-in"})}),[M,U,r,n]);var Q=(0,i.useMemo)((function(){return l(a,E?{children:[s(rn,{children:s(Gt,{sx:{fontSize:".8rem"},onClick:function(){C(!1),m(n)}})}),s(rn,{children:s(Ut,{sx:{fontSize:".8rem"},onClick:function(){C(!1),A(o,n,p)}})})]}:{children:[$&&s(rn,{onClick:function(e){e.preventDefault();try{W(o,n,Nt)}catch(e){console.error(e)}},children:s(q?Ut:Yt,{sx:{fontSize:".8rem"}})}),N&&f&&s(rn,{onClick:function(e){e.preventDefault(),C(!0),m(n)},children:s(Zt,{sx:{fontSize:".8rem"}})})]})}),[N,q,W,f,E,$,A,o,p,n]),G=(0,i.useMemo)((function(){return 0===Lt(n)}),[n]),Y=!G&&!(!L||!I),Z=At((function(e){return e.keyRenderer})),X=(0,i.useMemo)((function(){return{path:o,inspect:S,setInspect:O,value:n,prevValue:r}}),[S,o,O,n,r]);return l(se,{className:"data-key-pair","data-testid":"data-key-pair"+o.join("."),sx:{userSelect:"text"},onMouseEnter:(0,i.useCallback)((function(){return x(o,c)}),[x,o,c]),children:[l(Ft,{component:"span",className:"data-key",sx:{lineHeight:1.5,color:j,letterSpacing:.5,opacity:.8},onClick:(0,i.useCallback)((function(e){e.isDefaultPrevented()||G||O((function(e){return!e}))}),[G,O]),children:[Y?s(S?Xt:Kt,{sx:{fontSize:".8rem","&:hover":{cursor:"pointer"}}}):null,s(se,{ref:K,component:"span",children:F?!1!==D?z?l(a,{children:['"',D,'"']}):s(a,{children:D}):null:Z.when(X)?s(Z,mt({},X)):void 0===c&&(B?s(se,{component:"span",style:{color:P},children:y}):z?l(a,{children:['"',y,'"']}):s(a,{children:y}))}),F?!1!==D&&s(Ft,{sx:{mr:.5},children:":"}):void 0===c&&s(Ft,{sx:{mr:.5},children:":"}),L&&s(L,mt({},X)),b&&Y&&S&&Q]}),E&&f?N&&s(N,{value:p,setValue:m}):T?s(T,mt({},X)):s(se,{component:"span",className:"data-value-fallback",children:"fallback: ".concat(n)}),I&&s(I,mt({},X)),b&&Y&&!S&&Q,b&&!Y&&Q]})},an="(prefers-color-scheme: dark)";function sn(e,t){var n=(0,i.useContext)(Ct).setState;(0,i.useEffect)((function(){void 0!==t&&n(pt({},e,t))}),[e,t,n])}var ln=function(e){var t=(0,i.useContext)(Ct).setState;(0,i.useEffect)((function(){t((function(t){return{prevValue:t.value,value:e.value}}))}),[e.value,t]),sn("editable",e.editable),sn("indentWidth",e.indentWidth),sn("onChange",e.onChange),sn("groupArraysAfterLength",e.groupArraysAfterLength),sn("keyRenderer",e.keyRenderer),sn("maxDisplayLength",e.maxDisplayLength),sn("enableClipboard",e.enableClipboard),sn("highlightUpdates",e.highlightUpdates),sn("rootName",e.rootName),sn("displayDataTypes",e.displayDataTypes),sn("displayObjectSize",e.displayObjectSize),sn("onCopy",e.onCopy),sn("onSelect",e.onSelect),(0,i.useEffect)((function(){"light"===e.theme?t({colorspace:Ot}):"dark"===e.theme?t({colorspace:_t}):"object"==typeof e.theme&&t({colorspace:e.theme})}),[t,e.theme]);var n=(0,i.useMemo)((function(){return"object"==typeof e.theme?"json-viewer-theme-custom":"dark"===e.theme?"json-viewer-theme-dark":"json-viewer-theme-light"}),[e.theme]),r=(0,i.useRef)(!0),o=(0,i.useMemo)((function(){return function(){var e=function(e){function n(e,t){var n,r;return Object.is(e.value,t.value)&&e.inspect&&t.inspect&&(null===(n=e.path)||void 0===n?void 0:n.join("."))===(null===(r=t.path)||void 0===r?void 0:r.join("."))}e.Component=(0,i.memo)(e.Component,n),e.Editor&&(e.Editor=(0,i.memo)(e.Editor,(function(e,t){return Object.is(e.value,t.value)}))),e.PreComponent&&(e.PreComponent=(0,i.memo)(e.PreComponent,n)),e.PostComponent&&(e.PostComponent=(0,i.memo)(e.PostComponent,n)),t.push(e)},t=[];e(mt({is:function(e){return"boolean"==typeof e}},$t("bool",(function(e){var t=e.value;return s(a,{children:t?"true":"false"})}),{colorKey:"base0E",fromString:function(e){return Boolean(e)}})));var n={weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"};e(mt({is:function(e){return Tt(e,Date)}},$t("date",(function(e){var t=e.value;return s(a,{children:t.toLocaleTimeString("en-us",n)})}),{colorKey:"base0D"}))),e(mt({is:function(e){return null===e}},$t("null",(function(){var e=At((function(e){return e.colorspace.base02}));return s(se,{sx:{fontSize:"0.8rem",backgroundColor:e,fontWeight:"bold",borderRadius:"3px",padding:"0.5px 2px"},children:"NULL"})}),{colorKey:"base08",displayTypeLabel:!1}))),e(mt({is:function(e){return void 0===e}},$t("undefined",(function(){var e=At((function(e){return e.colorspace.base02}));return s(se,{sx:{fontSize:"0.7rem",backgroundColor:e,borderRadius:"3px",padding:"0.5px 2px"},children:"undefined"})}),{colorKey:"base05",displayTypeLabel:!1}))),e(mt({is:function(e){return"string"==typeof e}},$t("string",(function(e){var t=kt((0,i.useState)(!1),2),n=t[0],r=t[1],o=At((function(e){return e.collapseStringsAfterLength})),a=n?e.value:e.value.slice(0,o),c=e.value.length>o;return l(se,{component:"span",sx:{overflowWrap:"anywhere",cursor:c?"pointer":"inherit"},onClick:function(){c&&r((function(e){return!e}))},children:['"',a,c&&!n&&s(se,{component:"span",sx:{padding:.5},children:"…"}),'"']})}),{colorKey:"base09",fromString:function(e){return e}}))),e({is:function(e){return"function"==typeof e},Component:qt,PreComponent:Ht,PostComponent:Wt});var r=function(e){return e%1==0};return e(mt({is:function(e){return"number"==typeof e&&isNaN(e)}},$t("NaN",(function(){var e=At((function(e){return e.colorspace.base02}));return s(se,{sx:{backgroundColor:e,fontSize:"0.8rem",fontWeight:"bold",borderRadius:"3px"},children:"NaN"})}),{colorKey:"base08",displayTypeLabel:!1}))),e(mt({is:function(e){return"number"==typeof e&&!r(e)}},$t("float",(function(e){var t=e.value;return s(a,{children:t})}),{colorKey:"base0B",fromString:function(e){return parseFloat(e)}}))),e(mt({is:function(e){return"number"==typeof e&&r(e)}},$t("int",(function(e){var t=e.value;return s(a,{children:t})}),{colorKey:"base0F",fromString:function(e){return parseInt(e)}}))),e(mt({is:function(e){return"bigint"===(void 0===e?"undefined":St(e))}},$t("bigint",(function(e){var t=e.value;return s(a,{children:"".concat(t,"n")})}),{colorKey:"base0F",fromString:function(e){return BigInt(e.replace(/\D/g,""))}}))),t}()}),[]),c=tn((function(e){return e.registerTypes}));if(r.current){var u=e.valueTypes?bt(o).concat(bt(e.valueTypes)):bt(o);c(u),r.current=!1}(0,i.useEffect)((function(){var t=e.valueTypes?bt(o).concat(bt(e.valueTypes)):bt(o);c(t)}),[e.valueTypes,o,c]);var h=At((function(e){return e.value})),f=At((function(e){return e.prevValue})),d=At((function(e){return e.setHover})),p=(0,i.useCallback)((function(){return d(null)}),[d]);return s(Qe,{elevation:0,className:wt(n,e.className),style:e.style,sx:mt({fontFamily:"monospace",userSelect:"none",contentVisibility:"auto"},e.sx),onMouseLeave:p,children:s(on,{value:h,prevValue:f,path:(0,i.useMemo)((function(){return[]}),[])})})},cn=function(e){var t,n,r,o,a=(n=(t=kt((0,i.useState)(!1),2))[0],r=t[1],(0,i.useEffect)((function(){var e=function(e){r(e.matches)};r(window.matchMedia(an).matches);var t=window.matchMedia(an);return t.addEventListener("change",e),function(){return t.removeEventListener("change",e)}}),[]),n),l=(0,i.useMemo)((function(){return"auto"===e.theme?a?"light":"dark":null!==(o=e.theme)&&void 0!==o?o:"light"}),[a,e.theme]),c=(0,i.useMemo)((function(){var e="object"==typeof l?l.base00:"dark"===l?_t.base00:Ot.base00;return J({components:{MuiPaper:{styleOverrides:{root:{backgroundColor:e}}}},palette:{mode:"dark"===l?"dark":"light",background:{default:e}}})}),[l]),u=gt(mt({},e),{theme:l}),h=(0,i.useMemo)((function(){return function(e){var t,n,r,o,i,a,s,l,c,u,h,f,d,p,m,g,y,v;return(v?ft(v):ft)((function(v,b){return{enableClipboard:null===(t=e.enableClipboard)||void 0===t||t,highlightUpdates:null!==(n=e.highlightUpdates)&&void 0!==n&&n,indentWidth:null!==(r=e.indentWidth)&&void 0!==r?r:3,groupArraysAfterLength:null!==(o=e.groupArraysAfterLength)&&void 0!==o?o:100,collapseStringsAfterLength:!1===e.collapseStringsAfterLength?Number.MAX_VALUE:null!==(i=e.collapseStringsAfterLength)&&void 0!==i?i:50,maxDisplayLength:null!==(a=e.maxDisplayLength)&&void 0!==a?a:30,rootName:null!==(s=e.rootName)&&void 0!==s?s:"root",onChange:null!==(l=e.onChange)&&void 0!==l?l:function(){},onCopy:null!==(c=e.onCopy)&&void 0!==c?c:void 0,onSelect:null!==(u=e.onSelect)&&void 0!==u?u:void 0,keyRenderer:null!==(h=e.keyRenderer)&&void 0!==h?h:Et,editable:null!==(f=e.editable)&&void 0!==f&&f,defaultInspectDepth:null!==(d=e.defaultInspectDepth)&&void 0!==d?d:5,objectSortKeys:null!==(p=e.objectSortKeys)&&void 0!==p&&p,quotesOnKeys:null===(m=e.quotesOnKeys)||void 0===m||m,displayDataTypes:null===(g=e.displayDataTypes)||void 0===g||g,inspectCache:{},hoverPath:null,colorspace:Ot,value:e.value,prevValue:void 0,displayObjectSize:null===(y=e.displayObjectSize)||void 0===y||y,getInspectCache:function(e,t){var n=void 0!==t?e.join(".")+"[".concat(t,"]nt"):e.join(".");return b().inspectCache[n]},setInspectCache:function(e,t,n){var r=void 0!==n?e.join(".")+"[".concat(n,"]nt"):e.join(".");v((function(e){return{inspectCache:gt(mt({},e.inspectCache),pt({},r,"function"==typeof t?t(e.inspectCache[r]):t))}}))},setHover:function(e,t){v({hoverPath:e?{path:e,nestedIndex:t}:null})}}}))}(e)}),[]),f=(0,i.useMemo)((function(){return it()((function(e){return{registry:[],registerTypes:function(t){e((function(e){return{registry:"function"==typeof t?t(e.registry):t}}))}}}))}),[]);return s(rt,{theme:c,children:s(en.Provider,{value:f,children:s(Ct.Provider,{value:h,children:s(ln,mt({},u))})})})}},2262:(e,t,n)=>{"use strict";function r(e){return e+.5|0}n.d(t,{A6:()=>yn,E8:()=>Vr,PP:()=>fo,t1:()=>Dr,s$:()=>Gr,kc:()=>go,m_:()=>uo});const o=(e,t,n)=>Math.max(Math.min(e,n),t);function i(e){return o(r(2.55*e),0,255)}function a(e){return o(r(255*e),0,255)}function s(e){return o(r(e/2.55)/100,0,1)}function l(e){return o(r(100*e),0,100)}const c={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},u=[..."0123456789ABCDEF"],h=e=>u[15&e],f=e=>u[(240&e)>>4]+u[15&e],d=e=>(240&e)>>4==(15&e);const p=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function m(e,t,n){const r=t*Math.min(n,1-n),o=(t,o=(t+e/30)%12)=>n-r*Math.max(Math.min(o-3,9-o,1),-1);return[o(0),o(8),o(4)]}function g(e,t,n){const r=(r,o=(r+e/60)%6)=>n-n*t*Math.max(Math.min(o,4-o,1),0);return[r(5),r(3),r(1)]}function y(e,t,n){const r=m(e,1,.5);let o;for(t+n>1&&(o=1/(t+n),t*=o,n*=o),o=0;o<3;o++)r[o]*=1-t-n,r[o]+=t;return r}function v(e){const t=e.r/255,n=e.g/255,r=e.b/255,o=Math.max(t,n,r),i=Math.min(t,n,r),a=(o+i)/2;let s,l,c;return o!==i&&(c=o-i,l=a>.5?c/(2-o-i):c/(o+i),s=function(e,t,n,r,o){return e===o?(t-n)/r+(t<n?6:0):t===o?(n-e)/r+2:(e-t)/r+4}(t,n,r,c,o),s=60*s+.5),[0|s,l||0,a]}function b(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(a)}function x(e,t,n){return b(m,e,t,n)}function w(e){return(e%360+360)%360}const k={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},S={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let O;const _=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,E=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,C=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function A(e,t,n){if(e){let r=v(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,0===t?360:1)),r=x(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function j(e,t){return e?Object.assign(t||{},e):e}function P(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=a(e[3]))):(t=j(e,{r:0,g:0,b:0,a:1})).a=a(t.a),t}function M(e){return"r"===e.charAt(0)?function(e){const t=_.exec(e);let n,r,a,s=255;if(t){if(t[7]!==n){const e=+t[7];s=t[8]?i(e):o(255*e,0,255)}return n=+t[1],r=+t[3],a=+t[5],n=255&(t[2]?i(n):o(n,0,255)),r=255&(t[4]?i(r):o(r,0,255)),a=255&(t[6]?i(a):o(a,0,255)),{r:n,g:r,b:a,a:s}}}(e):function(e){const t=p.exec(e);let n,r=255;if(!t)return;t[5]!==n&&(r=t[6]?i(+t[5]):a(+t[5]));const o=w(+t[2]),s=+t[3]/100,l=+t[4]/100;return n="hwb"===t[1]?function(e,t,n){return b(y,e,t,n)}(o,s,l):"hsv"===t[1]?function(e,t,n){return b(g,e,t,n)}(o,s,l):x(o,s,l),{r:n[0],g:n[1],b:n[2],a:r}}(e)}class R{constructor(e){if(e instanceof R)return e;const t=typeof e;let n;var r,o,i;"object"===t?n=P(e):"string"===t&&(i=(r=e).length,"#"===r[0]&&(4===i||5===i?o={r:255&17*c[r[1]],g:255&17*c[r[2]],b:255&17*c[r[3]],a:5===i?17*c[r[4]]:255}:7!==i&&9!==i||(o={r:c[r[1]]<<4|c[r[2]],g:c[r[3]]<<4|c[r[4]],b:c[r[5]]<<4|c[r[6]],a:9===i?c[r[7]]<<4|c[r[8]]:255})),n=o||function(e){O||(O=function(){const e={},t=Object.keys(S),n=Object.keys(k);let r,o,i,a,s;for(r=0;r<t.length;r++){for(a=s=t[r],o=0;o<n.length;o++)i=n[o],s=s.replace(i,k[i]);i=parseInt(S[a],16),e[s]=[i>>16&255,i>>8&255,255&i]}return e}(),O.transparent=[0,0,0,0]);const t=O[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}(e)||M(e)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var e=j(this._rgb);return e&&(e.a=s(e.a)),e}set rgb(e){this._rgb=P(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${s(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0;var e}hexString(){return this._valid?(e=this._rgb,t=(e=>d(e.r)&&d(e.g)&&d(e.b)&&d(e.a))(e)?h:f,e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0):void 0;var e,t}hslString(){return this._valid?function(e){if(!e)return;const t=v(e),n=t[0],r=l(t[1]),o=l(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${o}%, ${s(e.a)})`:`hsl(${n}, ${r}%, ${o}%)`}(this._rgb):void 0}mix(e,t){if(e){const n=this.rgb,r=e.rgb;let o;const i=t===o?.5:t,a=2*i-1,s=n.a-r.a,l=((a*s==-1?a:(a+s)/(1+a*s))+1)/2;o=1-l,n.r=255&l*n.r+o*r.r+.5,n.g=255&l*n.g+o*r.g+.5,n.b=255&l*n.b+o*r.b+.5,n.a=i*n.a+(1-i)*r.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,n){const r=C(s(e.r)),o=C(s(e.g)),i=C(s(e.b));return{r:a(E(r+n*(C(s(t.r))-r))),g:a(E(o+n*(C(s(t.g))-o))),b:a(E(i+n*(C(s(t.b))-i))),a:e.a+n*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new R(this.rgb)}alpha(e){return this._rgb.a=a(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=r(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return A(this._rgb,2,e),this}darken(e){return A(this._rgb,2,-e),this}saturate(e){return A(this._rgb,1,e),this}desaturate(e){return A(this._rgb,1,-e),this}rotate(e){return function(e,t){var n=v(e);n[0]=w(n[0]+t),n=x(n),e.r=n[0],e.g=n[1],e.b=n[2]}(this._rgb,e),this}}function T(){}const L=(()=>{let e=0;return()=>e++})();function I(e){return null==e}function N(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function z(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function D(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)}function F(e,t){return D(e)?e:t}function B(e,t){return void 0===e?t:e}function $(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)}function H(e,t,n,r){let o,i,a;if(N(e))if(i=e.length,r)for(o=i-1;o>=0;o--)t.call(n,e[o],o);else for(o=0;o<i;o++)t.call(n,e[o],o);else if(z(e))for(a=Object.keys(e),i=a.length,o=0;o<i;o++)t.call(n,e[a[o]],a[o])}function W(e,t){let n,r,o,i;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(o=e[n],i=t[n],o.datasetIndex!==i.datasetIndex||o.index!==i.index)return!1;return!0}function q(e){if(N(e))return e.map(q);if(z(e)){const t=Object.create(null),n=Object.keys(e),r=n.length;let o=0;for(;o<r;++o)t[n[o]]=q(e[n[o]]);return t}return e}function V(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function U(e,t,n,r){if(!V(e))return;const o=t[e],i=n[e];z(o)&&z(i)?K(o,i,r):t[e]=q(i)}function K(e,t,n){const r=N(t)?t:[t],o=r.length;if(!z(e))return e;const i=(n=n||{}).merger||U;let a;for(let t=0;t<o;++t){if(a=r[t],!z(a))continue;const o=Object.keys(a);for(let t=0,r=o.length;t<r;++t)i(o[t],e,a,n)}return e}function Q(e,t){return K(e,t,{merger:G})}function G(e,t,n){if(!V(e))return;const r=t[e],o=n[e];z(r)&&z(o)?Q(r,o):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=q(o))}const Y={"":e=>e,x:e=>e.x,y:e=>e.y};function Z(e,t){const n=Y[t]||(Y[t]=function(e){const t=function(e){const t=e.split("."),n=[];let r="";for(const e of t)r+=e,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}(e);return e=>{for(const n of t){if(""===n)break;e=e&&e[n]}return e}}(t));return n(e)}function X(e){return e.charAt(0).toUpperCase()+e.slice(1)}const J=e=>void 0!==e,ee=e=>"function"==typeof e,te=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0},ne=Math.PI,re=2*ne,oe=Number.POSITIVE_INFINITY,ie=ne/180,ae=ne/2,se=ne/4,le=2*ne/3,ce=Math.log10,ue=Math.sign;function he(e,t,n){return Math.abs(e-t)<n}function fe(e){const t=Math.round(e);e=he(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(ce(e))),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function de(e){return!isNaN(parseFloat(e))&&isFinite(e)}function pe(e){return e*(ne/180)}function me(e){if(!D(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function ge(e){return(e%re+re)%re}function ye(e,t,n){return Math.max(t,Math.min(n,e))}function ve(e,t,n,r=1e-6){return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function be(e,t,n){n=n||(n=>e[n]<t);let r,o=e.length-1,i=0;for(;o-i>1;)r=i+o>>1,n(r)?i=r:o=r;return{lo:i,hi:o}}const xe=(e,t,n,r)=>be(e,n,r?r=>{const o=e[r][t];return o<n||o===n&&e[r+1][t]===n}:r=>e[r][t]<n),we=(e,t,n)=>be(e,n,(r=>e[r][t]>=n)),ke=["push","pop","shift","splice","unshift"];function Se(e,t){const n=e._chartjs;if(!n)return;const r=n.listeners,o=r.indexOf(t);-1!==o&&r.splice(o,1),r.length>0||(ke.forEach((t=>{delete e[t]})),delete e._chartjs)}const Oe="undefined"==typeof window?function(e){return e()}:window.requestAnimationFrame;function _e(e,t){let n=[],r=!1;return function(...o){n=o,r||(r=!0,Oe.call(window,(()=>{r=!1,e.apply(t,n)})))}}const Ee=e=>"start"===e?"left":"end"===e?"right":"center",Ce=(e,t,n)=>"start"===e?t:"end"===e?n:(t+n)/2,Ae=e=>0===e||1===e,je=(e,t,n)=>-Math.pow(2,10*(e-=1))*Math.sin((e-t)*re/n),Pe=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*re/n)+1,Me={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>1-Math.cos(e*ae),easeOutSine:e=>Math.sin(e*ae),easeInOutSine:e=>-.5*(Math.cos(ne*e)-1),easeInExpo:e=>0===e?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>Ae(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(2-Math.pow(2,-10*(2*e-1))),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>Ae(e)?e:je(e,.075,.3),easeOutElastic:e=>Ae(e)?e:Pe(e,.075,.3),easeInOutElastic(e){const t=.1125;return Ae(e)?e:e<.5?.5*je(2*e,t,.45):.5+.5*Pe(2*e-1,t,.45)},easeInBack(e){const t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){const t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:e=>1-Me.easeOutBounce(1-e),easeOutBounce(e){const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:e=>e<.5?.5*Me.easeInBounce(2*e):.5*Me.easeOutBounce(2*e-1)+.5};function Re(e){if(e&&"object"==typeof e){const t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function Te(e){return Re(e)?e:new R(e)}function Le(e){return Re(e)?e:new R(e).saturate(.5).darken(.1).hexString()}const Ie=["x","y","borderWidth","radius","tension"],Ne=["color","borderColor","backgroundColor"],ze=new Map;function De(e,t,n){return function(e,t){t=t||{};const n=e+JSON.stringify(t);let r=ze.get(n);return r||(r=new Intl.NumberFormat(e,t),ze.set(n,r)),r}(t,n).format(e)}const Fe={values:e=>N(e)?e:""+e,numeric(e,t,n){if(0===e)return"0";const r=this.chart.options.locale;let o,i=e;if(n.length>1){const t=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(t<1e-4||t>1e15)&&(o="scientific"),i=function(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}(e,n)}const a=ce(Math.abs(i)),s=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:o,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(l,this.options.ticks.format),De(e,r,l)},logarithmic(e,t,n){if(0===e)return"0";const r=n[t].significand||e/Math.pow(10,Math.floor(ce(e)));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?Fe.numeric.call(this,e,t,n):""}};var Be={formatters:Fe};const $e=Object.create(null),He=Object.create(null);function We(e,t){if(!t)return e;const n=t.split(".");for(let t=0,r=n.length;t<r;++t){const r=n[t];e=e[r]||(e[r]=Object.create(null))}return e}function qe(e,t,n){return"string"==typeof t?K(We(e,t),n):K(We(e,""),t)}class Ve{constructor(e,t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>Le(t.backgroundColor),this.hoverBorderColor=(e,t)=>Le(t.borderColor),this.hoverColor=(e,t)=>Le(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return qe(this,e,t)}get(e){return We(this,e)}describe(e,t){return qe(He,e,t)}override(e,t){return qe($e,e,t)}route(e,t,n,r){const o=We(this,e),i=We(this,n),a="_"+t;Object.defineProperties(o,{[a]:{value:o[t],writable:!0},[t]:{enumerable:!0,get(){const e=this[a],t=i[r];return z(e)?Object.assign({},t,e):B(e,t)},set(e){this[a]=e}}})}apply(e){e.forEach((e=>e(this)))}}var Ue=new Ve({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),e.set("animations",{colors:{type:"color",properties:Ne},numbers:{type:"number",properties:Ie}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}})},function(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Be.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e&&"dash"!==e}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e})}]);function Ke(e,t,n,r,o){let i=t[o];return i||(i=t[o]=e.measureText(o).width,n.push(o)),i>r&&(r=i),r}function Qe(e,t,n){const r=e.currentDevicePixelRatio,o=0!==n?Math.max(n/2,.5):0;return Math.round((t-o)*r)/r+o}function Ge(e,t){(t||e)&&((t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function Ye(e,t,n,r){Ze(e,t,n,r,null)}function Ze(e,t,n,r,o){let i,a,s,l,c,u,h,f;const d=t.pointStyle,p=t.rotation,m=t.radius;let g=(p||0)*ie;if(d&&"object"==typeof d&&(i=d.toString(),"[object HTMLImageElement]"===i||"[object HTMLCanvasElement]"===i))return e.save(),e.translate(n,r),e.rotate(g),e.drawImage(d,-d.width/2,-d.height/2,d.width,d.height),void e.restore();if(!(isNaN(m)||m<=0)){switch(e.beginPath(),d){default:o?e.ellipse(n,r,o/2,m,0,0,re):e.arc(n,r,m,0,re),e.closePath();break;case"triangle":u=o?o/2:m,e.moveTo(n+Math.sin(g)*u,r-Math.cos(g)*m),g+=le,e.lineTo(n+Math.sin(g)*u,r-Math.cos(g)*m),g+=le,e.lineTo(n+Math.sin(g)*u,r-Math.cos(g)*m),e.closePath();break;case"rectRounded":c=.516*m,l=m-c,a=Math.cos(g+se)*l,h=Math.cos(g+se)*(o?o/2-c:l),s=Math.sin(g+se)*l,f=Math.sin(g+se)*(o?o/2-c:l),e.arc(n-h,r-s,c,g-ne,g-ae),e.arc(n+f,r-a,c,g-ae,g),e.arc(n+h,r+s,c,g,g+ae),e.arc(n-f,r+a,c,g+ae,g+ne),e.closePath();break;case"rect":if(!p){l=Math.SQRT1_2*m,u=o?o/2:l,e.rect(n-u,r-l,2*u,2*l);break}g+=se;case"rectRot":h=Math.cos(g)*(o?o/2:m),a=Math.cos(g)*m,s=Math.sin(g)*m,f=Math.sin(g)*(o?o/2:m),e.moveTo(n-h,r-s),e.lineTo(n+f,r-a),e.lineTo(n+h,r+s),e.lineTo(n-f,r+a),e.closePath();break;case"crossRot":g+=se;case"cross":h=Math.cos(g)*(o?o/2:m),a=Math.cos(g)*m,s=Math.sin(g)*m,f=Math.sin(g)*(o?o/2:m),e.moveTo(n-h,r-s),e.lineTo(n+h,r+s),e.moveTo(n+f,r-a),e.lineTo(n-f,r+a);break;case"star":h=Math.cos(g)*(o?o/2:m),a=Math.cos(g)*m,s=Math.sin(g)*m,f=Math.sin(g)*(o?o/2:m),e.moveTo(n-h,r-s),e.lineTo(n+h,r+s),e.moveTo(n+f,r-a),e.lineTo(n-f,r+a),g+=se,h=Math.cos(g)*(o?o/2:m),a=Math.cos(g)*m,s=Math.sin(g)*m,f=Math.sin(g)*(o?o/2:m),e.moveTo(n-h,r-s),e.lineTo(n+h,r+s),e.moveTo(n+f,r-a),e.lineTo(n-f,r+a);break;case"line":a=o?o/2:Math.cos(g)*m,s=Math.sin(g)*m,e.moveTo(n-a,r-s),e.lineTo(n+a,r+s);break;case"dash":e.moveTo(n,r),e.lineTo(n+Math.cos(g)*(o?o/2:m),r+Math.sin(g)*m);break;case!1:e.closePath()}e.fill(),t.borderWidth>0&&e.stroke()}}function Xe(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function Je(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function et(e){e.restore()}function tt(e,t,n,r,o){if(o.strikethrough||o.underline){const i=e.measureText(r),a=t-i.actualBoundingBoxLeft,s=t+i.actualBoundingBoxRight,l=n-i.actualBoundingBoxAscent,c=n+i.actualBoundingBoxDescent,u=o.strikethrough?(l+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=o.decorationWidth||2,e.moveTo(a,u),e.lineTo(s,u),e.stroke()}}function nt(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function rt(e,t,n,r,o,i={}){const a=N(t)?t:[t],s=i.strokeWidth>0&&""!==i.strokeColor;let l,c;for(e.save(),e.font=o.string,function(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),I(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}(e,i),l=0;l<a.length;++l)c=a[l],i.backdrop&&nt(e,i.backdrop),s&&(i.strokeColor&&(e.strokeStyle=i.strokeColor),I(i.strokeWidth)||(e.lineWidth=i.strokeWidth),e.strokeText(c,n,r,i.maxWidth)),e.fillText(c,n,r,i.maxWidth),tt(e,n,r,c,i),r+=Number(o.lineHeight);e.restore()}function ot(e,t){const{x:n,y:r,w:o,h:i,radius:a}=t;e.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*ne,ne,!0),e.lineTo(n,r+i-a.bottomLeft),e.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,ne,ae,!0),e.lineTo(n+o-a.bottomRight,r+i),e.arc(n+o-a.bottomRight,r+i-a.bottomRight,a.bottomRight,ae,0,!0),e.lineTo(n+o,r+a.topRight),e.arc(n+o-a.topRight,r+a.topRight,a.topRight,0,-ae,!0),e.lineTo(n+a.topLeft,r)}const it=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,at=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function st(e,t){const n=(""+e).match(it);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e}const lt=e=>+e||0;function ct(e,t){const n={},r=z(t),o=r?Object.keys(t):t,i=z(e)?r?n=>B(e[n],e[t[n]]):t=>e[t]:()=>e;for(const e of o)n[e]=lt(i(e));return n}function ut(e){return ct(e,{top:"y",right:"x",bottom:"y",left:"x"})}function ht(e){return ct(e,["topLeft","topRight","bottomLeft","bottomRight"])}function ft(e){const t=ut(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function dt(e,t){e=e||{},t=t||Ue.font;let n=B(e.size,t.size);"string"==typeof n&&(n=parseInt(n,10));let r=B(e.style,t.style);r&&!(""+r).match(at)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const o={family:B(e.family,t.family),lineHeight:st(B(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:B(e.weight,t.weight),string:""};return o.string=function(e){return!e||I(e.size)||I(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(o),o}function pt(e,t,n,r){let o,i,a,s=!0;for(o=0,i=e.length;o<i;++o)if(a=e[o],void 0!==a&&(void 0!==t&&"function"==typeof a&&(a=a(t),s=!1),void 0!==n&&N(a)&&(a=a[n%a.length],s=!1),void 0!==a))return r&&!s&&(r.cacheable=!1),a}function mt(e,t){return Object.assign(Object.create(e),t)}function gt(e,t=[""],n,r,o=(()=>e[0])){const i=n||e;void 0===r&&(r=Ct("_fallback",e));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:i,_fallback:r,_getTarget:o,override:n=>gt([n,...e],t,i,r)};return new Proxy(a,{deleteProperty:(t,n)=>(delete t[n],delete t._keys,delete e[0][n],!0),get:(n,r)=>wt(n,r,(()=>function(e,t,n,r){let o;for(const i of t)if(o=Ct(bt(i,e),n),void 0!==o)return xt(e,o)?_t(n,r,e,o):o}(r,t,e,n))),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],t),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,t)=>At(e).includes(t),ownKeys:e=>At(e),set(e,t,n){const r=e._storage||(e._storage=o());return e[t]=r[t]=n,delete e._keys,!0}})}function yt(e,t,n,r){const o={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:vt(e,r),setContext:t=>yt(e,t,n,r),override:o=>yt(e.override(o),t,n,r)};return new Proxy(o,{deleteProperty:(t,n)=>(delete t[n],delete e[n],!0),get:(e,t,n)=>wt(e,t,(()=>function(e,t,n){const{_proxy:r,_context:o,_subProxy:i,_descriptors:a}=e;let s=r[t];return ee(s)&&a.isScriptable(t)&&(s=function(e,t,n,r){const{_proxy:o,_context:i,_subProxy:a,_stack:s}=n;if(s.has(e))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+e);s.add(e);let l=t(i,a||r);return s.delete(e),xt(e,l)&&(l=_t(o._scopes,o,e,l)),l}(t,s,e,n)),N(s)&&s.length&&(s=function(e,t,n,r){const{_proxy:o,_context:i,_subProxy:a,_descriptors:s}=n;if(void 0!==i.index&&r(e))return t[i.index%t.length];if(z(t[0])){const n=t,r=o._scopes.filter((e=>e!==n));t=[];for(const l of n){const n=_t(r,o,e,l);t.push(yt(n,i,a&&a[e],s))}}return t}(t,s,e,a.isIndexable)),xt(t,s)&&(s=yt(s,o,i&&i[t],a)),s}(e,t,n))),getOwnPropertyDescriptor:(t,n)=>t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,n)=>Reflect.has(e,n),ownKeys:()=>Reflect.ownKeys(e),set:(t,n,r)=>(e[n]=r,delete t[n],!0)})}function vt(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:o=t.allKeys}=e;return{allKeys:o,scriptable:n,indexable:r,isScriptable:ee(n)?n:()=>n,isIndexable:ee(r)?r:()=>r}}const bt=(e,t)=>e?e+X(t):t,xt=(e,t)=>z(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function wt(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||"constructor"===t)return e[t];const r=n();return e[t]=r,r}function kt(e,t,n){return ee(e)?e(t,n):e}const St=(e,t)=>!0===e?t:"string"==typeof e?Z(t,e):void 0;function Ot(e,t,n,r,o){for(const i of t){const t=St(n,i);if(t){e.add(t);const i=kt(t._fallback,n,o);if(void 0!==i&&i!==n&&i!==r)return i}else if(!1===t&&void 0!==r&&n!==r)return null}return!1}function _t(e,t,n,r){const o=t._rootScopes,i=kt(t._fallback,n,r),a=[...e,...o],s=new Set;s.add(r);let l=Et(s,a,n,i||n,r);return null!==l&&(void 0===i||i===n||(l=Et(s,a,i,l,r),null!==l))&&gt(Array.from(s),[""],o,i,(()=>function(e,t,n){const r=e._getTarget();t in r||(r[t]={});const o=r[t];return N(o)&&z(n)?n:o||{}}(t,n,r)))}function Et(e,t,n,r,o){for(;n;)n=Ot(e,t,n,r,o);return n}function Ct(e,t){for(const n of t){if(!n)continue;const t=n[e];if(void 0!==t)return t}}function At(e){let t=e._keys;return t||(t=e._keys=function(e){const t=new Set;for(const n of e)for(const e of Object.keys(n).filter((e=>!e.startsWith("_"))))t.add(e);return Array.from(t)}(e._scopes)),t}function jt(){return"undefined"!=typeof window&&"undefined"!=typeof document}function Pt(e){let t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t}function Mt(e,t,n){let r;return"string"==typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[n])):r=e,r}Number.EPSILON;const Rt=e=>e.ownerDocument.defaultView.getComputedStyle(e,null),Tt=["top","right","bottom","left"];function Lt(e,t,n){const r={};n=n?"-"+n:"";for(let o=0;o<4;o++){const i=Tt[o];r[i]=parseFloat(e[t+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const It=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function Nt(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:r}=t,o=Rt(n),i="border-box"===o.boxSizing,a=Lt(o,"padding"),s=Lt(o,"border","width"),{x:l,y:c,box:u}=function(e,t){const n=e.touches,r=n&&n.length?n[0]:e,{offsetX:o,offsetY:i}=r;let a,s,l=!1;if(It(o,i,e.target))a=o,s=i;else{const e=t.getBoundingClientRect();a=r.clientX-e.left,s=r.clientY-e.top,l=!0}return{x:a,y:s,box:l}}(e,n),h=a.left+(u&&s.left),f=a.top+(u&&s.top);let{width:d,height:p}=t;return i&&(d-=a.width+s.width,p-=a.height+s.height),{x:Math.round((l-h)/d*n.width/r),y:Math.round((c-f)/p*n.height/r)}}const zt=e=>Math.round(10*e)/10;function Dt(e,t,n){const r=t||1,o=Math.floor(e.height*r),i=Math.floor(e.width*r);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const a=e.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${e.height}px`,a.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==r||a.height!==o||a.width!==i)&&(e.currentDevicePixelRatio=r,a.height=o,a.width=i,e.ctx.setTransform(r,0,0,r,0,0),!0)}const Ft=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};jt()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch(e){}return e}();function Bt(e,t){const n=function(e,t){return Rt(e).getPropertyValue(t)}(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function $t(e,t,n){return e?function(e,t){return{x:n=>e+e+t-n,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,t)=>e-t,leftForLtr:(e,t)=>e-t}}(t,n):{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,t)=>e+t,leftForLtr:(e,t)=>e}}function Ht(e,t){let n,r;"ltr"!==t&&"rtl"!==t||(n=e.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function Wt(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}class qt{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,n,r){const o=t.listeners[r],i=t.duration;o.forEach((r=>r({chart:e,initial:t.initial,numSteps:i,currentStep:Math.min(n-t.start,i)})))}_refresh(){this._request||(this._running=!0,this._request=Oe.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(e=Date.now()){let t=0;this._charts.forEach(((n,r)=>{if(!n.running||!n.items.length)return;const o=n.items;let i,a=o.length-1,s=!1;for(;a>=0;--a)i=o[a],i._active?(i._total>n.duration&&(n.duration=i._total),i.tick(e),s=!0):(o[a]=o[o.length-1],o.pop());s&&(r.draw(),this._notify(r,n,e,"progress")),o.length||(n.running=!1,this._notify(r,n,e,"complete"),n.initial=!1),t+=o.length})),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce(((e,t)=>Math.max(e,t._duration)),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const n=t.items;let r=n.length-1;for(;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var Vt=new qt;const Ut="transparent",Kt={boolean:(e,t,n)=>n>.5?t:e,color(e,t,n){const r=Te(e||Ut),o=r.valid&&Te(t||Ut);return o&&o.valid?o.mix(r,n).hexString():t},number:(e,t,n)=>e+(t-e)*n};class Qt{constructor(e,t,n,r){const o=t[n];r=pt([e.to,r,o,e.from]);const i=pt([e.from,o,r]);this._active=!0,this._fn=e.fn||Kt[e.type||typeof i],this._easing=Me[e.easing]||Me.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=i,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);const r=this._target[this._prop],o=n-this._start,i=this._duration-o;this._start=n,this._duration=Math.floor(Math.max(i,e.duration)),this._total+=o,this._loop=!!e.loop,this._to=pt([e.to,t,r,e.from]),this._from=pt([e.from,r,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,n=this._duration,r=this._prop,o=this._from,i=this._loop,a=this._to;let s;if(this._active=o!==a&&(i||t<n),!this._active)return this._target[r]=a,void this._notify(!0);t<0?this._target[r]=o:(s=t/n%2,s=i&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(o,a,s))}wait(){const e=this._promises||(this._promises=[]);return new Promise(((t,n)=>{e.push({res:t,rej:n})}))}_notify(e){const t=e?"res":"rej",n=this._promises||[];for(let e=0;e<n.length;e++)n[e][t]()}}class Gt{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!z(e))return;const t=Object.keys(Ue.animation),n=this._properties;Object.getOwnPropertyNames(e).forEach((r=>{const o=e[r];if(!z(o))return;const i={};for(const e of t)i[e]=o[e];(N(o.properties)&&o.properties||[r]).forEach((e=>{e!==r&&n.has(e)||n.set(e,i)}))}))}_animateOptions(e,t){const n=t.options,r=function(e,t){if(!t)return;let n=e.options;if(n)return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n;e.options=t}(e,n);if(!r)return[];const o=this._createAnimations(r,n);return n.$shared&&function(e,t){const n=[],r=Object.keys(t);for(let t=0;t<r.length;t++){const o=e[r[t]];o&&o.active()&&n.push(o.wait())}return Promise.all(n)}(e.options.$animations,n).then((()=>{e.options=n}),(()=>{})),o}_createAnimations(e,t){const n=this._properties,r=[],o=e.$animations||(e.$animations={}),i=Object.keys(t),a=Date.now();let s;for(s=i.length-1;s>=0;--s){const l=i[s];if("$"===l.charAt(0))continue;if("options"===l){r.push(...this._animateOptions(e,t));continue}const c=t[l];let u=o[l];const h=n.get(l);if(u){if(h&&u.active()){u.update(h,c,a);continue}u.cancel()}h&&h.duration?(o[l]=u=new Qt(h,e,l,c),r.push(u)):e[l]=c}return r}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const n=this._createAnimations(e,t);return n.length?(Vt.add(this._chart,n),!0):void 0}}function Yt(e,t){const n=e&&e.options||{},r=n.reverse,o=void 0===n.min?t:0,i=void 0===n.max?t:0;return{start:r?i:o,end:r?o:i}}function Zt(e,t){const n=[],r=e._getSortedDatasetMetas(t);let o,i;for(o=0,i=r.length;o<i;++o)n.push(r[o].index);return n}function Xt(e,t,n,r={}){const o=e.keys,i="single"===r.mode;let a,s,l,c;if(null!==t){for(a=0,s=o.length;a<s;++a){if(l=+o[a],l===n){if(r.all)continue;break}c=e.values[l],D(c)&&(i||0===t||ue(t)===ue(c))&&(t+=c)}return t}}function Jt(e,t){const n=e&&e.options.stacked;return n||void 0===n&&void 0!==t.stack}function en(e,t,n){const r=e[t]||(e[t]={});return r[n]||(r[n]={})}function tn(e,t,n,r){for(const o of t.getMatchingVisibleMetas(r).reverse()){const t=e[o.index];if(n&&t>0||!n&&t<0)return o.index}return null}function nn(e,t){const{chart:n,_cachedMeta:r}=e,o=n._stacks||(n._stacks={}),{iScale:i,vScale:a,index:s}=r,l=i.axis,c=a.axis,u=function(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}(i,a,r),h=t.length;let f;for(let e=0;e<h;++e){const n=t[e],{[l]:i,[c]:h}=n;f=(n._stacks||(n._stacks={}))[c]=en(o,u,i),f[s]=h,f._top=tn(f,a,!0,r.type),f._bottom=tn(f,a,!1,r.type),(f._visualValues||(f._visualValues={}))[s]=h}}function rn(e,t){const n=e.scales;return Object.keys(n).filter((e=>n[e].axis===t)).shift()}function on(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const e of t){const t=e._stacks;if(!t||void 0===t[r]||void 0===t[r][n])return;delete t[r][n],void 0!==t[r]._visualValues&&void 0!==t[r]._visualValues[n]&&delete t[r]._visualValues[n]}}}const an=e=>"reset"===e||"none"===e,sn=(e,t)=>t?e:Object.assign({},e);class ln{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Jt(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&on(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,n=this.getDataset(),r=(e,t,n,r)=>"x"===e?t:"r"===e?r:n,o=t.xAxisID=B(n.xAxisID,rn(e,"x")),i=t.yAxisID=B(n.yAxisID,rn(e,"y")),a=t.rAxisID=B(n.rAxisID,rn(e,"r")),s=t.indexAxis,l=t.iAxisID=r(s,o,i,a),c=t.vAxisID=r(s,i,o,a);t.xScale=this.getScaleForId(o),t.yScale=this.getScaleForId(i),t.rScale=this.getScaleForId(a),t.iScale=this.getScaleForId(l),t.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Se(this._data,this),e._stacked&&on(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),n=this._data;if(z(t)){const e=this._cachedMeta;this._data=function(e,t){const{iScale:n,vScale:r}=t,o="x"===n.axis?"x":"y",i="x"===r.axis?"x":"y",a=Object.keys(e),s=new Array(a.length);let l,c,u;for(l=0,c=a.length;l<c;++l)u=a[l],s[l]={[o]:u,[i]:e[u]};return s}(t,e)}else if(n!==t){if(n){Se(n,this);const e=this._cachedMeta;on(e),e._parsed=[]}t&&Object.isExtensible(t)&&(this,(r=t)._chartjs?r._chartjs.listeners.push(this):(Object.defineProperty(r,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[this]}}),ke.forEach((e=>{const t="_onData"+X(e),n=r[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,value(...e){const o=n.apply(this,e);return r._chartjs.listeners.forEach((n=>{"function"==typeof n[t]&&n[t](...e)})),o}})})))),this._syncList=[],this._data=t}var r}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,n=this.getDataset();let r=!1;this._dataCheck();const o=t._stacked;t._stacked=Jt(t.vScale,t),t.stack!==n.stack&&(r=!0,on(t),t.stack=n.stack),this._resyncElements(e),(r||o!==t._stacked)&&nn(this,t._parsed)}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:n,_data:r}=this,{iScale:o,_stacked:i}=n,a=o.axis;let s,l,c,u=0===e&&t===r.length||n._sorted,h=e>0&&n._parsed[e-1];if(!1===this._parsing)n._parsed=r,n._sorted=!0,c=r;else{c=N(r[e])?this.parseArrayData(n,r,e,t):z(r[e])?this.parseObjectData(n,r,e,t):this.parsePrimitiveData(n,r,e,t);const o=()=>null===l[a]||h&&l[a]<h[a];for(s=0;s<t;++s)n._parsed[s+e]=l=c[s],u&&(o()&&(u=!1),h=l);n._sorted=u}i&&nn(this,c)}parsePrimitiveData(e,t,n,r){const{iScale:o,vScale:i}=e,a=o.axis,s=i.axis,l=o.getLabels(),c=o===i,u=new Array(r);let h,f,d;for(h=0,f=r;h<f;++h)d=h+n,u[h]={[a]:c||o.parse(l[d],d),[s]:i.parse(t[d],d)};return u}parseArrayData(e,t,n,r){const{xScale:o,yScale:i}=e,a=new Array(r);let s,l,c,u;for(s=0,l=r;s<l;++s)c=s+n,u=t[c],a[s]={x:o.parse(u[0],c),y:i.parse(u[1],c)};return a}parseObjectData(e,t,n,r){const{xScale:o,yScale:i}=e,{xAxisKey:a="x",yAxisKey:s="y"}=this._parsing,l=new Array(r);let c,u,h,f;for(c=0,u=r;c<u;++c)h=c+n,f=t[h],l[c]={x:o.parse(Z(f,a),h),y:i.parse(Z(f,s),h)};return l}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,n){const r=this.chart,o=this._cachedMeta,i=t[e.axis];return Xt({keys:Zt(r,!0),values:t._stacks[e.axis]._visualValues},i,o.index,{mode:n})}updateRangeFromParsed(e,t,n,r){const o=n[t.axis];let i=null===o?NaN:o;const a=r&&n._stacks[t.axis];r&&a&&(r.values=a,i=Xt(r,o,this._cachedMeta.index)),e.min=Math.min(e.min,i),e.max=Math.max(e.max,i)}getMinMax(e,t){const n=this._cachedMeta,r=n._parsed,o=n._sorted&&e===n.iScale,i=r.length,a=this._getOtherScale(e),s=((e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:Zt(n,!0),values:null})(t,n,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:u}=function(e){const{min:t,max:n,minDefined:r,maxDefined:o}=e.getUserBounds();return{min:r?t:Number.NEGATIVE_INFINITY,max:o?n:Number.POSITIVE_INFINITY}}(a);let h,f;function d(){f=r[h];const t=f[a.axis];return!D(f[e.axis])||c>t||u<t}for(h=0;h<i&&(d()||(this.updateRangeFromParsed(l,e,f,s),!o));++h);if(o)for(h=i-1;h>=0;--h)if(!d()){this.updateRangeFromParsed(l,e,f,s);break}return l}getAllParsedValues(e){const t=this._cachedMeta._parsed,n=[];let r,o,i;for(r=0,o=t.length;r<o;++r)i=t[r][e.axis],D(i)&&n.push(i);return n}getMaxOverflow(){return!1}getLabelAndValue(e){const t=this._cachedMeta,n=t.iScale,r=t.vScale,o=this.getParsed(e);return{label:n?""+n.getLabelForValue(o[n.axis]):"",value:r?""+r.getLabelForValue(o[r.axis]):""}}_update(e){const t=this._cachedMeta;this.update(e||"default"),t._clip=function(e){let t,n,r,o;return z(e)?(t=e.top,n=e.right,r=e.bottom,o=e.left):t=n=r=o=e,{top:t,right:n,bottom:r,left:o,disabled:!1===e}}(B(this.options.clip,function(e,t,n){if(!1===n)return!1;const r=Yt(e,n),o=Yt(t,n);return{top:o.end,right:r.end,bottom:o.start,left:r.start}}(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,t=this.chart,n=this._cachedMeta,r=n.data||[],o=t.chartArea,i=[],a=this._drawStart||0,s=this._drawCount||r.length-a,l=this.options.drawActiveElementsOnTop;let c;for(n.dataset&&n.dataset.draw(e,o,a,s),c=a;c<a+s;++c){const t=r[c];t.hidden||(t.active&&l?i.push(t):t.draw(e,o))}for(c=0;c<i.length;++c)i[c].draw(e,o)}getStyle(e,t){const n=t?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(e||0,n)}getContext(e,t,n){const r=this.getDataset();let o;if(e>=0&&e<this._cachedMeta.data.length){const t=this._cachedMeta.data[e];o=t.$context||(t.$context=function(e,t,n){return mt(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}(this.getContext(),e,t)),o.parsed=this.getParsed(e),o.raw=r.data[e],o.index=o.dataIndex=e}else o=this.$context||(this.$context=function(e,t){return mt(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),o.dataset=r,o.index=o.datasetIndex=this.index;return o.active=!!t,o.mode=n,o}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t="default",n){const r="active"===t,o=this._cachedDataOpts,i=e+"-"+t,a=o[i],s=this.enableOptionSharing&&J(n);if(a)return sn(a,s);const l=this.chart.config,c=l.datasetElementScopeKeys(this._type,e),u=r?[`${e}Hover`,"hover",e,""]:[e,""],h=l.getOptionScopes(this.getDataset(),c),f=Object.keys(Ue.elements[e]),d=l.resolveNamedOptions(h,f,(()=>this.getContext(n,r,t)),u);return d.$shared&&(d.$shared=s,o[i]=Object.freeze(sn(d,s))),d}_resolveAnimations(e,t,n){const r=this.chart,o=this._cachedDataOpts,i=`animation-${t}`,a=o[i];if(a)return a;let s;if(!1!==r.options.animation){const r=this.chart.config,o=r.datasetAnimationScopeKeys(this._type,t),i=r.getOptionScopes(this.getDataset(),o);s=r.createResolver(i,this.getContext(e,n,t))}const l=new Gt(r,s&&s.animations);return s&&s._cacheable&&(o[i]=Object.freeze(l)),l}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||an(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const n=this.resolveDataElementOptions(e,t),r=this._sharedOptions,o=this.getSharedOptions(n),i=this.includeOptions(t,o)||o!==r;return this.updateSharedOptions(o,t,n),{sharedOptions:o,includeOptions:i}}updateElement(e,t,n,r){an(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!an(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,r){e.active=r;const o=this.getStyle(t,r);this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(o)||o})}removeHoverStyle(e,t,n){this._setStyle(e,n,"active",!1)}setHoverStyle(e,t,n){this._setStyle(e,n,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,n=this._cachedMeta.data;for(const[e,t,n]of this._syncList)this[e](t,n);this._syncList=[];const r=n.length,o=t.length,i=Math.min(o,r);i&&this.parse(0,i),o>r?this._insertElements(r,o-r,e):o<r&&this._removeElements(o,r-o)}_insertElements(e,t,n=!0){const r=this._cachedMeta,o=r.data,i=e+t;let a;const s=e=>{for(e.length+=t,a=e.length-1;a>=i;a--)e[a]=e[a-t]};for(s(o),a=e;a<i;++a)o[a]=new this.dataElementType;this._parsing&&s(r._parsed),this.parse(e,t),n&&this.updateElements(o,e,t,"reset")}updateElements(e,t,n,r){}_removeElements(e,t){const n=this._cachedMeta;if(this._parsing){const r=n._parsed.splice(e,t);n._stacked&&on(n,r)}n.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[t,n,r]=e;this[t](n,r)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,t){t&&this._sync(["_removeElements",e,t]);const n=arguments.length-2;n&&this._sync(["_insertElements",e,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function cn(e){const t=e.iScale,n=function(e,t){if(!e._cache.$bar){const n=e.getMatchingVisibleMetas(t);let r=[];for(let t=0,o=n.length;t<o;t++)r=r.concat(n[t].controller.getAllParsedValues(e));e._cache.$bar=function(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}(r.sort(((e,t)=>e-t)))}return e._cache.$bar}(t,e.type);let r,o,i,a,s=t._length;const l=()=>{32767!==i&&-32768!==i&&(J(a)&&(s=Math.min(s,Math.abs(i-a)||s)),a=i)};for(r=0,o=n.length;r<o;++r)i=t.getPixelForValue(n[r]),l();for(a=void 0,r=0,o=t.ticks.length;r<o;++r)i=t.getPixelForTick(r),l();return s}function un(e,t,n,r){return N(e)?function(e,t,n,r){const o=n.parse(e[0],r),i=n.parse(e[1],r),a=Math.min(o,i),s=Math.max(o,i);let l=a,c=s;Math.abs(a)>Math.abs(s)&&(l=s,c=a),t[n.axis]=c,t._custom={barStart:l,barEnd:c,start:o,end:i,min:a,max:s}}(e,t,n,r):t[n.axis]=n.parse(e,r),t}function hn(e,t,n,r){const o=e.iScale,i=e.vScale,a=o.getLabels(),s=o===i,l=[];let c,u,h,f;for(c=n,u=n+r;c<u;++c)f=t[c],h={},h[o.axis]=s||o.parse(a[c],c),l.push(un(f,h,i,c));return l}function fn(e){return e&&void 0!==e.barStart&&void 0!==e.barEnd}function dn(e,t,n,r){let o=t.borderSkipped;const i={};if(!o)return void(e.borderSkipped=i);if(!0===o)return void(e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:a,end:s,reverse:l,top:c,bottom:u}=function(e){let t,n,r,o,i;return e.horizontal?(t=e.base>e.x,n="left",r="right"):(t=e.base<e.y,n="bottom",r="top"),t?(o="end",i="start"):(o="start",i="end"),{start:n,end:r,reverse:t,top:o,bottom:i}}(e);"middle"===o&&n&&(e.enableBorderRadius=!0,(n._top||0)===r?o=c:(n._bottom||0)===r?o=u:(i[pn(u,a,s,l)]=!0,o=c)),i[pn(o,a,s,l)]=!0,e.borderSkipped=i}function pn(e,t,n,r){var o,i,a;return r?(a=n,e=mn(e=(o=e)===(i=t)?a:o===a?i:o,n,t)):e=mn(e,t,n),e}function mn(e,t,n){return"start"===e?t:"end"===e?n:e}function gn(e,{inflateAmount:t},n){e.inflateAmount="auto"===t?1===n?.33:0:t}class yn extends ln{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,t,n,r){return hn(e,t,n,r)}parseArrayData(e,t,n,r){return hn(e,t,n,r)}parseObjectData(e,t,n,r){const{iScale:o,vScale:i}=e,{xAxisKey:a="x",yAxisKey:s="y"}=this._parsing,l="x"===o.axis?a:s,c="x"===i.axis?a:s,u=[];let h,f,d,p;for(h=n,f=n+r;h<f;++h)p=t[h],d={},d[o.axis]=o.parse(Z(p,l),h),u.push(un(Z(p,c),d,i,h));return u}updateRangeFromParsed(e,t,n,r){super.updateRangeFromParsed(e,t,n,r);const o=n._custom;o&&t===this._cachedMeta.vScale&&(e.min=Math.min(e.min,o.min),e.max=Math.max(e.max,o.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const t=this._cachedMeta,{iScale:n,vScale:r}=t,o=this.getParsed(e),i=o._custom,a=fn(i)?"["+i.start+", "+i.end+"]":""+r.getLabelForValue(o[r.axis]);return{label:""+n.getLabelForValue(o[n.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(e){const t=this._cachedMeta;this.updateElements(t.data,0,t.data.length,e)}updateElements(e,t,n,r){const o="reset"===r,{index:i,_cachedMeta:{vScale:a}}=this,s=a.getBasePixel(),l=a.isHorizontal(),c=this._getRuler(),{sharedOptions:u,includeOptions:h}=this._getSharedOptions(t,r);for(let f=t;f<t+n;f++){const t=this.getParsed(f),n=o||I(t[a.axis])?{base:s,head:s}:this._calculateBarValuePixels(f),d=this._calculateBarIndexPixels(f,c),p=(t._stacks||{})[a.axis],m={horizontal:l,base:n.base,enableBorderRadius:!p||fn(t._custom)||i===p._top||i===p._bottom,x:l?n.head:d.center,y:l?d.center:n.head,height:l?d.size:Math.abs(n.size),width:l?Math.abs(n.size):d.size};h&&(m.options=u||this.resolveDataElementOptions(f,e[f].active?"active":r));const g=m.options||e[f].options;dn(m,g,p,i),gn(m,g,c.ratio),this.updateElement(e[f],f,m,r)}}_getStacks(e,t){const{iScale:n}=this._cachedMeta,r=n.getMatchingVisibleMetas(this._type).filter((e=>e.controller.options.grouped)),o=n.options.stacked,i=[],a=e=>{const n=e.controller.getParsed(t),r=n&&n[e.vScale.axis];if(I(r)||isNaN(r))return!0};for(const n of r)if((void 0===t||!a(n))&&((!1===o||-1===i.indexOf(n.stack)||void 0===o&&void 0===n.stack)&&i.push(n.stack),n.index===e))break;return i.length||i.push(void 0),i}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,t,n){const r=this._getStacks(e,n),o=void 0!==t?r.indexOf(t):-1;return-1===o?r.length-1:o}_getRuler(){const e=this.options,t=this._cachedMeta,n=t.iScale,r=[];let o,i;for(o=0,i=t.data.length;o<i;++o)r.push(n.getPixelForValue(this.getParsed(o)[n.axis],o));const a=e.barThickness;return{min:a||cn(t),pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:e.grouped,ratio:a?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:t,_stacked:n,index:r},options:{base:o,minBarLength:i}}=this,a=o||0,s=this.getParsed(e),l=s._custom,c=fn(l);let u,h,f=s[t.axis],d=0,p=n?this.applyStack(t,s,n):f;p!==f&&(d=p-f,p=f),c&&(f=l.barStart,p=l.barEnd-l.barStart,0!==f&&ue(f)!==ue(l.barEnd)&&(d=0),d+=f);const m=I(o)||c?d:o;let g=t.getPixelForValue(m);if(u=this.chart.getDataVisibility(e)?t.getPixelForValue(d+p):g,h=u-g,Math.abs(h)<i){h=function(e,t,n){return 0!==e?ue(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}(h,t,a)*i,f===a&&(g-=h/2);const e=t.getPixelForDecimal(0),o=t.getPixelForDecimal(1),l=Math.min(e,o),d=Math.max(e,o);g=Math.max(Math.min(g,d),l),u=g+h,n&&!c&&(s._stacks[t.axis]._visualValues[r]=t.getValueForPixel(u)-t.getValueForPixel(g))}if(g===t.getPixelForValue(a)){const e=ue(h)*t.getLineWidthForValue(a)/2;g+=e,h-=e}return{size:h,base:g,head:u,center:u+h/2}}_calculateBarIndexPixels(e,t){const n=t.scale,r=this.options,o=r.skipNull,i=B(r.maxBarThickness,1/0);let a,s;if(t.grouped){const n=o?this._getStackCount(e):t.stackCount,l="flex"===r.barThickness?function(e,t,n,r){const o=t.pixels,i=o[e];let a=e>0?o[e-1]:null,s=e<o.length-1?o[e+1]:null;const l=n.categoryPercentage;null===a&&(a=i-(null===s?t.end-t.start:s-i)),null===s&&(s=i+i-a);const c=i-(i-Math.min(a,s))/2*l;return{chunk:Math.abs(s-a)/2*l/r,ratio:n.barPercentage,start:c}}(e,t,r,n):function(e,t,n,r){const o=n.barThickness;let i,a;return I(o)?(i=t.min*n.categoryPercentage,a=n.barPercentage):(i=o*r,a=1),{chunk:i/r,ratio:a,start:t.pixels[e]-i/2}}(e,t,r,n),c=this._getStackIndex(this.index,this._cachedMeta.stack,o?e:void 0);a=l.start+l.chunk*c+l.chunk/2,s=Math.min(i,l.chunk*l.ratio)}else a=n.getPixelForValue(this.getParsed(e)[n.axis],e),s=Math.min(i,t.min*t.ratio);return{base:a-s/2,head:a+s/2,center:a,size:s}}draw(){const e=this._cachedMeta,t=e.vScale,n=e.data,r=n.length;let o=0;for(;o<r;++o)null===this.getParsed(o)[t.axis]||n[o].hidden||n[o].draw(this._ctx)}}function vn(e,t,n,r){const{controller:o,data:i,_sorted:a}=e,s=o._cachedMeta.iScale;if(s&&t===s.axis&&"r"!==t&&a&&i.length){const e=s._reversePixels?we:xe;if(!r)return e(i,t,n);if(o._sharedOptions){const r=i[0],o="function"==typeof r.getRange&&r.getRange(t);if(o){const r=e(i,t,n-o),a=e(i,t,n+o);return{lo:r.lo,hi:a.hi}}}}return{lo:0,hi:i.length-1}}function bn(e,t,n,r,o){const i=e.getSortedVisibleDatasetMetas(),a=n[t];for(let e=0,n=i.length;e<n;++e){const{index:n,data:s}=i[e],{lo:l,hi:c}=vn(i[e],t,a,o);for(let e=l;e<=c;++e){const t=s[e];t.skip||r(t,n,e)}}}function xn(e,t,n,r,o){const i=[];return o||e.isPointInArea(t)?(bn(e,n,t,(function(n,a,s){(o||Xe(n,e.chartArea,0))&&n.inRange(t.x,t.y,r)&&i.push({element:n,datasetIndex:a,index:s})}),!0),i):i}function wn(e,t,n,r,o,i){return i||e.isPointInArea(t)?"r"!==n||r?function(e,t,n,r,o,i){let a=[];const s=function(e){const t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,r){const o=t?Math.abs(e.x-r.x):0,i=n?Math.abs(e.y-r.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(i,2))}}(n);let l=Number.POSITIVE_INFINITY;return bn(e,n,t,(function(n,c,u){const h=n.inRange(t.x,t.y,o);if(r&&!h)return;const f=n.getCenterPoint(o);if(!i&&!e.isPointInArea(f)&&!h)return;const d=s(t,f);d<l?(a=[{element:n,datasetIndex:c,index:u}],l=d):d===l&&a.push({element:n,datasetIndex:c,index:u})})),a}(e,t,n,r,o,i):function(e,t,n,r){let o=[];return bn(e,n,t,(function(e,n,i){const{startAngle:a,endAngle:s}=e.getProps(["startAngle","endAngle"],r),{angle:l}=function(e,t){const n=t.x-e.x,r=t.y-e.y,o=Math.sqrt(n*n+r*r);let i=Math.atan2(r,n);return i<-.5*ne&&(i+=re),{angle:i,distance:o}}(e,{x:t.x,y:t.y});(function(e,t,n,r){const o=ge(e),i=ge(t),a=ge(n),s=ge(i-o),l=ge(a-o),c=ge(o-i),u=ge(o-a);return o===i||o===a||r&&i===a||s>l&&c<u})(l,a,s)&&o.push({element:e,datasetIndex:n,index:i})})),o}(e,t,n,o):[]}function kn(e,t,n,r,o){const i=[],a="x"===n?"inXRange":"inYRange";let s=!1;return bn(e,n,t,((e,r,l)=>{e[a](t[n],o)&&(i.push({element:e,datasetIndex:r,index:l}),s=s||e.inRange(t.x,t.y,o))})),r&&!s?[]:i}var Sn={evaluateInteractionItems:bn,modes:{index(e,t,n,r){const o=Nt(t,e),i=n.axis||"x",a=n.includeInvisible||!1,s=n.intersect?xn(e,o,i,r,a):wn(e,o,i,!1,r,a),l=[];return s.length?(e.getSortedVisibleDatasetMetas().forEach((e=>{const t=s[0].index,n=e.data[t];n&&!n.skip&&l.push({element:n,datasetIndex:e.index,index:t})})),l):[]},dataset(e,t,n,r){const o=Nt(t,e),i=n.axis||"xy",a=n.includeInvisible||!1;let s=n.intersect?xn(e,o,i,r,a):wn(e,o,i,!1,r,a);if(s.length>0){const t=s[0].datasetIndex,n=e.getDatasetMeta(t).data;s=[];for(let e=0;e<n.length;++e)s.push({element:n[e],datasetIndex:t,index:e})}return s},point:(e,t,n,r)=>xn(e,Nt(t,e),n.axis||"xy",r,n.includeInvisible||!1),nearest(e,t,n,r){const o=Nt(t,e),i=n.axis||"xy",a=n.includeInvisible||!1;return wn(e,o,i,n.intersect,r,a)},x:(e,t,n,r)=>kn(e,Nt(t,e),"x",n.intersect,r),y:(e,t,n,r)=>kn(e,Nt(t,e),"y",n.intersect,r)}};const On=["left","top","right","bottom"];function _n(e,t){return e.filter((e=>e.pos===t))}function En(e,t){return e.filter((e=>-1===On.indexOf(e.pos)&&e.box.axis===t))}function Cn(e,t){return e.sort(((e,n)=>{const r=t?n:e,o=t?e:n;return r.weight===o.weight?r.index-o.index:r.weight-o.weight}))}function An(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function jn(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function Pn(e,t,n,r){const{pos:o,box:i}=n,a=e.maxPadding;if(!z(o)){n.size&&(e[o]-=n.size);const t=r[n.stack]||{size:0,count:1};t.size=Math.max(t.size,n.horizontal?i.height:i.width),n.size=t.size/t.count,e[o]+=n.size}i.getPadding&&jn(a,i.getPadding());const s=Math.max(0,t.outerWidth-An(a,e,"left","right")),l=Math.max(0,t.outerHeight-An(a,e,"top","bottom")),c=s!==e.w,u=l!==e.h;return e.w=s,e.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function Mn(e,t){const n=t.maxPadding;return function(e){const r={left:0,top:0,right:0,bottom:0};return e.forEach((e=>{r[e]=Math.max(t[e],n[e])})),r}(e?["left","right"]:["top","bottom"])}function Rn(e,t,n,r){const o=[];let i,a,s,l,c,u;for(i=0,a=e.length,c=0;i<a;++i){s=e[i],l=s.box,l.update(s.width||t.w,s.height||t.h,Mn(s.horizontal,t));const{same:a,other:h}=Pn(t,n,s,r);c|=a&&o.length,u=u||h,l.fullSize||o.push(s)}return c&&Rn(o,t,n,r)||u}function Tn(e,t,n,r,o){e.top=n,e.left=t,e.right=t+r,e.bottom=n+o,e.width=r,e.height=o}function Ln(e,t,n,r){const o=n.padding;let{x:i,y:a}=t;for(const s of e){const e=s.box,l=r[s.stack]||{count:1,placed:0,weight:1},c=s.stackWeight/l.weight||1;if(s.horizontal){const r=t.w*c,i=l.size||e.height;J(l.start)&&(a=l.start),e.fullSize?Tn(e,o.left,a,n.outerWidth-o.right-o.left,i):Tn(e,t.left+l.placed,a,r,i),l.start=a,l.placed+=r,a=e.bottom}else{const r=t.h*c,a=l.size||e.width;J(l.start)&&(i=l.start),e.fullSize?Tn(e,i,o.top,a,n.outerHeight-o.bottom-o.top):Tn(e,i,t.top+l.placed,a,r),l.start=i,l.placed+=r,i=e.right}}t.x=i,t.y=a}var In={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,r){if(!e)return;const o=ft(e.options.layout.padding),i=Math.max(t-o.width,0),a=Math.max(n-o.height,0),s=function(e){const t=function(e){const t=[];let n,r,o,i,a,s;for(n=0,r=(e||[]).length;n<r;++n)o=e[n],({position:i,options:{stack:a,stackWeight:s=1}}=o),t.push({index:n,box:o,pos:i,horizontal:o.isHorizontal(),weight:o.weight,stack:a&&i+a,stackWeight:s});return t}(e),n=Cn(t.filter((e=>e.box.fullSize)),!0),r=Cn(_n(t,"left"),!0),o=Cn(_n(t,"right")),i=Cn(_n(t,"top"),!0),a=Cn(_n(t,"bottom")),s=En(t,"x"),l=En(t,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:o.concat(l).concat(a).concat(s),chartArea:_n(t,"chartArea"),vertical:r.concat(o).concat(l),horizontal:i.concat(a).concat(s)}}(e.boxes),l=s.vertical,c=s.horizontal;H(e.boxes,(e=>{"function"==typeof e.beforeLayout&&e.beforeLayout()}));const u=l.reduce(((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1),0)||1,h=Object.freeze({outerWidth:t,outerHeight:n,padding:o,availableWidth:i,availableHeight:a,vBoxMaxWidth:i/2/u,hBoxMaxHeight:a/2}),f=Object.assign({},o);jn(f,ft(r));const d=Object.assign({maxPadding:f,w:i,h:a,x:o.left,y:o.top},o),p=function(e,t){const n=function(e){const t={};for(const n of e){const{stack:e,pos:r,stackWeight:o}=n;if(!e||!On.includes(r))continue;const i=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});i.count++,i.weight+=o}return t}(e),{vBoxMaxWidth:r,hBoxMaxHeight:o}=t;let i,a,s;for(i=0,a=e.length;i<a;++i){s=e[i];const{fullSize:a}=s.box,l=n[s.stack],c=l&&s.stackWeight/l.weight;s.horizontal?(s.width=c?c*r:a&&t.availableWidth,s.height=o):(s.width=r,s.height=c?c*o:a&&t.availableHeight)}return n}(l.concat(c),h);Rn(s.fullSize,d,h,p),Rn(l,d,h,p),Rn(c,d,h,p)&&Rn(l,d,h,p),function(e){const t=e.maxPadding;function n(n){const r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}(d),Ln(s.leftAndTop,d,h,p),d.x+=d.w,d.y+=d.h,Ln(s.rightAndBottom,d,h,p),e.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h,height:d.h,width:d.w},H(s.chartArea,(t=>{const n=t.box;Object.assign(n,e.chartArea),n.update(d.w,d.h,{left:0,top:0,right:0,bottom:0})}))}};class Nn{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,r){return t=Math.max(0,t||e.width),n=n||e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):n)}}isAttached(e){return!0}updateConfig(e){}}class zn extends Nn{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Dn="$chartjs",Fn={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Bn=e=>null===e||""===e,$n=!!Ft&&{passive:!0};function Hn(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,$n)}function Wn(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function qn(e,t,n){const r=e.canvas,o=new MutationObserver((e=>{let t=!1;for(const n of e)t=t||Wn(n.addedNodes,r),t=t&&!Wn(n.removedNodes,r);t&&n()}));return o.observe(document,{childList:!0,subtree:!0}),o}function Vn(e,t,n){const r=e.canvas,o=new MutationObserver((e=>{let t=!1;for(const n of e)t=t||Wn(n.removedNodes,r),t=t&&!Wn(n.addedNodes,r);t&&n()}));return o.observe(document,{childList:!0,subtree:!0}),o}const Un=new Map;let Kn=0;function Qn(){const e=window.devicePixelRatio;e!==Kn&&(Kn=e,Un.forEach(((t,n)=>{n.currentDevicePixelRatio!==e&&t()})))}function Gn(e,t,n){const r=e.canvas,o=r&&Pt(r);if(!o)return;const i=_e(((e,t)=>{const r=o.clientWidth;n(e,t),r<o.clientWidth&&n()}),window),a=new ResizeObserver((e=>{const t=e[0],n=t.contentRect.width,r=t.contentRect.height;0===n&&0===r||i(n,r)}));return a.observe(o),function(e,t){Un.size||window.addEventListener("resize",Qn),Un.set(e,t)}(e,i),a}function Yn(e,t,n){n&&n.disconnect(),"resize"===t&&function(e){Un.delete(e),Un.size||window.removeEventListener("resize",Qn)}(e)}function Zn(e,t,n){const r=e.canvas,o=_e((t=>{null!==e.ctx&&n(function(e,t){const n=Fn[e.type]||e.type,{x:r,y:o}=Nt(e,t);return{type:n,chart:t,native:e,x:void 0!==r?r:null,y:void 0!==o?o:null}}(t,e))}),e);return function(e,t,n){e&&e.addEventListener(t,n,$n)}(r,t,o),o}class Xn extends Nn{acquireContext(e,t){const n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(function(e,t){const n=e.style,r=e.getAttribute("height"),o=e.getAttribute("width");if(e[Dn]={initial:{height:r,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Bn(o)){const t=Bt(e,"width");void 0!==t&&(e.width=t)}if(Bn(r))if(""===e.style.height)e.height=e.width/(t||2);else{const t=Bt(e,"height");void 0!==t&&(e.height=t)}}(e,t),n):null}releaseContext(e){const t=e.canvas;if(!t[Dn])return!1;const n=t[Dn].initial;["height","width"].forEach((e=>{const r=n[e];I(r)?t.removeAttribute(e):t.setAttribute(e,r)}));const r=n.style||{};return Object.keys(r).forEach((e=>{t.style[e]=r[e]})),t.width=t.width,delete t[Dn],!0}addEventListener(e,t,n){this.removeEventListener(e,t);const r=e.$proxies||(e.$proxies={}),o={attach:qn,detach:Vn,resize:Gn}[t]||Zn;r[t]=o(e,t,n)}removeEventListener(e,t){const n=e.$proxies||(e.$proxies={}),r=n[t];r&&(({attach:Yn,detach:Yn,resize:Yn}[t]||Hn)(e,t,r),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return function(e,t,n,r){const o=Rt(e),i=Lt(o,"margin"),a=Mt(o.maxWidth,e,"clientWidth")||oe,s=Mt(o.maxHeight,e,"clientHeight")||oe,l=function(e,t,n){let r,o;if(void 0===t||void 0===n){const i=e&&Pt(e);if(i){const e=i.getBoundingClientRect(),a=Rt(i),s=Lt(a,"border","width"),l=Lt(a,"padding");t=e.width-l.width-s.width,n=e.height-l.height-s.height,r=Mt(a.maxWidth,i,"clientWidth"),o=Mt(a.maxHeight,i,"clientHeight")}else t=e.clientWidth,n=e.clientHeight}return{width:t,height:n,maxWidth:r||oe,maxHeight:o||oe}}(e,t,n);let{width:c,height:u}=l;if("content-box"===o.boxSizing){const e=Lt(o,"border","width"),t=Lt(o,"padding");c-=t.width+e.width,u-=t.height+e.height}return c=Math.max(0,c-i.width),u=Math.max(0,r?c/r:u-i.height),c=zt(Math.min(c,a,l.maxWidth)),u=zt(Math.min(u,s,l.maxHeight)),c&&!u&&(u=zt(c/2)),(void 0!==t||void 0!==n)&&r&&l.height&&u>l.height&&(u=l.height,c=zt(Math.floor(u*r))),{width:c,height:u}}(e,t,n,r)}isAttached(e){const t=e&&Pt(e);return!(!t||!t.isConnected)}}class Jn{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:t,y:n}=this.getProps(["x","y"],e);return{x:t,y:n}}hasValue(){return de(this.x)&&de(this.y)}getProps(e,t){const n=this.$animations;if(!t||!n)return this;const r={};return e.forEach((e=>{r[e]=n[e]&&n[e].active()?n[e]._to:this[e]})),r}}function er(e,t,n,r,o){const i=B(r,0),a=Math.min(B(o,e.length),e.length);let s,l,c,u=0;for(n=Math.ceil(n),o&&(s=o-r,n=s/Math.floor(s/n)),c=i;c<0;)u++,c=Math.round(i+u*n);for(l=Math.max(i,0);l<a;l++)l===c&&(t.push(e[l]),u++,c=Math.round(i+u*n))}const tr=(e,t,n)=>"top"===t||"left"===t?e[t]+n:e[t]-n,nr=(e,t)=>Math.min(t||e,e);function rr(e,t){const n=[],r=e.length/t,o=e.length;let i=0;for(;i<o;i+=r)n.push(e[Math.floor(i)]);return n}function or(e,t,n){const r=e.ticks.length,o=Math.min(t,r-1),i=e._startPixel,a=e._endPixel,s=1e-6;let l,c=e.getPixelForTick(o);if(!(n&&(l=1===r?Math.max(c-i,a-c):0===t?(e.getPixelForTick(1)-c)/2:(c-e.getPixelForTick(o-1))/2,c+=o<t?l:-l,c<i-s||c>a+s)))return c}function ir(e){return e.drawTicks?e.tickLength:0}function ar(e,t){if(!e.display)return 0;const n=dt(e.font,t),r=ft(e.padding);return(N(e.text)?e.text.length:1)*n.lineHeight+r.height}function sr(e,t,n){let r=Ee(e);return(n&&"right"!==t||!n&&"right"===t)&&(r=(e=>"left"===e?"right":"right"===e?"left":e)(r)),r}class lr extends Jn{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:n,_suggestedMax:r}=this;return e=F(e,Number.POSITIVE_INFINITY),t=F(t,Number.NEGATIVE_INFINITY),n=F(n,Number.POSITIVE_INFINITY),r=F(r,Number.NEGATIVE_INFINITY),{min:F(e,n),max:F(t,r),minDefined:D(e),maxDefined:D(t)}}getMinMax(e){let t,{min:n,max:r,minDefined:o,maxDefined:i}=this.getUserBounds();if(o&&i)return{min:n,max:r};const a=this.getMatchingVisibleMetas();for(let s=0,l=a.length;s<l;++s)t=a[s].controller.getMinMax(this,e),o||(n=Math.min(n,t.min)),i||(r=Math.max(r,t.max));return n=i&&n>r?r:n,r=o&&n>r?n:r,{min:F(n,F(r,n)),max:F(r,F(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){$(this.options.beforeUpdate,[this])}update(e,t,n){const{beginAtZero:r,grace:o,ticks:i}=this.options,a=i.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(e,t,n){const{min:r,max:o}=e,i=(l=(o-r)/2,"string"==typeof(s=t)&&s.endsWith("%")?parseFloat(s)/100*l:+s),a=(e,t)=>n&&0===e?0:e+t;var s,l;return{min:a(r,-Math.abs(i)),max:a(o,i)}}(this,o,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const s=a<this.ticks.length;this._convertTicksToLabels(s?rr(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),i.display&&(i.autoSkip||"auto"===i.source)&&(this.ticks=function(e,t){const n=e.options.ticks,r=function(e){const t=e.options.offset,n=e._tickSize(),r=e._length/n+(t?0:1),o=e._maxLength/n;return Math.floor(Math.min(r,o))}(e),o=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?function(e){const t=[];let n,r;for(n=0,r=e.length;n<r;n++)e[n].major&&t.push(n);return t}(t):[],a=i.length,s=i[0],l=i[a-1],c=[];if(a>o)return function(e,t,n,r){let o,i=0,a=n[0];for(r=Math.ceil(r),o=0;o<e.length;o++)o===a&&(t.push(e[o]),i++,a=n[i*r])}(t,c,i,a/o),c;const u=function(e,t,n){const r=function(e){const t=e.length;let n,r;if(t<2)return!1;for(r=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==r)return!1;return r}(e),o=t.length/n;if(!r)return Math.max(o,1);const i=function(e){const t=[],n=Math.sqrt(e);let r;for(r=1;r<n;r++)e%r==0&&(t.push(r),t.push(e/r));return n===(0|n)&&t.push(n),t.sort(((e,t)=>e-t)).pop(),t}(r);for(let e=0,t=i.length-1;e<t;e++){const t=i[e];if(t>o)return t}return Math.max(o,1)}(i,t,o);if(a>0){let e,n;const r=a>1?Math.round((l-s)/(a-1)):null;for(er(t,c,u,I(r)?0:s-r,s),e=0,n=a-1;e<n;e++)er(t,c,u,i[e],i[e+1]);return er(t,c,u,l,I(r)?t.length:l+r),c}return er(t,c,u),c}(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),s&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e,t,n=this.options.reverse;this.isHorizontal()?(e=this.left,t=this.right):(e=this.top,t=this.bottom,n=!n),this._startPixel=e,this._endPixel=t,this._reversePixels=n,this._length=t-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){$(this.options.afterUpdate,[this])}beforeSetDimensions(){$(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){$(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),$(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){$(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const t=this.options.ticks;let n,r,o;for(n=0,r=e.length;n<r;n++)o=e[n],o.label=$(t.callback,[o.value,n,e],this)}afterTickToLabelConversion(){$(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){$(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,t=e.ticks,n=nr(this.ticks.length,e.ticks.maxTicksLimit),r=t.minRotation||0,o=t.maxRotation;let i,a,s,l=r;if(!this._isVisible()||!t.display||r>=o||n<=1||!this.isHorizontal())return void(this.labelRotation=r);const c=this._getLabelSizes(),u=c.widest.width,h=c.highest.height,f=ye(this.chart.width-u,0,this.maxWidth);i=e.offset?this.maxWidth/n:f/(n-1),u+6>i&&(i=f/(n-(e.offset?.5:1)),a=this.maxHeight-ir(e.grid)-t.padding-ar(e.title,this.chart.options.font),s=Math.sqrt(u*u+h*h),l=Math.min(Math.asin(ye((c.highest.height+6)/i,-1,1)),Math.asin(ye(a/s,-1,1))-Math.asin(ye(h/s,-1,1)))*(180/ne),l=Math.max(r,Math.min(o,l))),this.labelRotation=l}afterCalculateLabelRotation(){$(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){$(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:n,title:r,grid:o}}=this,i=this._isVisible(),a=this.isHorizontal();if(i){const i=ar(r,t.options.font);if(a?(e.width=this.maxWidth,e.height=ir(o)+i):(e.height=this.maxHeight,e.width=ir(o)+i),n.display&&this.ticks.length){const{first:t,last:r,widest:o,highest:i}=this._getLabelSizes(),s=2*n.padding,l=pe(this.labelRotation),c=Math.cos(l),u=Math.sin(l);if(a){const t=n.mirror?0:u*o.width+c*i.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{const t=n.mirror?0:c*o.width+u*i.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,r,u,c)}}this._handleMargins(),a?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,n,r){const{ticks:{align:o,padding:i},position:a}=this.options,s=0!==this.labelRotation,l="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,h=0;s?l?(u=r*e.width,h=n*t.height):(u=n*e.height,h=r*t.width):"start"===o?h=t.width:"end"===o?u=e.width:"inner"!==o&&(u=e.width/2,h=t.width/2),this.paddingLeft=Math.max((u-a+i)*this.width/(this.width-a),0),this.paddingRight=Math.max((h-c+i)*this.width/(this.width-c),0)}else{let n=t.height/2,r=e.height/2;"start"===o?(n=0,r=e.height):"end"===o&&(n=t.height,r=0),this.paddingTop=n+i,this.paddingBottom=r+i}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){$(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,n=e.length;t<n;t++)I(e[t].label)&&(e.splice(t,1),n--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const t=this.options.ticks.sampleSize;let n=this.ticks;t<n.length&&(n=rr(n,t)),this._labelSizes=e=this._computeLabelSizes(n,n.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,t,n){const{ctx:r,_longestTextCache:o}=this,i=[],a=[],s=Math.floor(t/nr(t,n));let l,c,u,h,f,d,p,m,g,y,v,b=0,x=0;for(l=0;l<t;l+=s){if(h=e[l].label,f=this._resolveTickFontOptions(l),r.font=d=f.string,p=o[d]=o[d]||{data:{},gc:[]},m=f.lineHeight,g=y=0,I(h)||N(h)){if(N(h))for(c=0,u=h.length;c<u;++c)v=h[c],I(v)||N(v)||(g=Ke(r,p.data,p.gc,g,v),y+=m)}else g=Ke(r,p.data,p.gc,g,h),y=m;i.push(g),a.push(y),b=Math.max(g,b),x=Math.max(y,x)}!function(e,t){H(e,(e=>{const n=e.gc,r=n.length/2;let o;if(r>t){for(o=0;o<r;++o)delete e.data[n[o]];n.splice(0,r)}}))}(o,t);const w=i.indexOf(b),k=a.indexOf(x),S=e=>({width:i[e]||0,height:a[e]||0});return{first:S(0),last:S(t-1),widest:S(w),highest:S(k),widths:i,heights:a}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return ye(this._alignToPixels?Qe(this.chart,t,0):t,-32768,32767)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&e<t.length){const n=t[e];return n.$context||(n.$context=function(e,t,n){return mt(e,{tick:n,index:t,type:"tick"})}(this.getContext(),e,n))}return this.$context||(this.$context=mt(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const e=this.options.ticks,t=pe(this.labelRotation),n=Math.abs(Math.cos(t)),r=Math.abs(Math.sin(t)),o=this._getLabelSizes(),i=e.autoSkipPadding||0,a=o?o.widest.width+i:0,s=o?o.highest.height+i:0;return this.isHorizontal()?s*n>a*r?a/n:s/r:s*r<a*n?s/n:a/r}_isVisible(){const e=this.options.display;return"auto"!==e?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const t=this.axis,n=this.chart,r=this.options,{grid:o,position:i,border:a}=r,s=o.offset,l=this.isHorizontal(),c=this.ticks.length+(s?1:0),u=ir(o),h=[],f=a.setContext(this.getContext()),d=f.display?f.width:0,p=d/2,m=function(e){return Qe(n,e,d)};let g,y,v,b,x,w,k,S,O,_,E,C;if("top"===i)g=m(this.bottom),w=this.bottom-u,S=g-p,_=m(e.top)+p,C=e.bottom;else if("bottom"===i)g=m(this.top),_=e.top,C=m(e.bottom)-p,w=g+p,S=this.top+u;else if("left"===i)g=m(this.right),x=this.right-u,k=g-p,O=m(e.left)+p,E=e.right;else if("right"===i)g=m(this.left),O=e.left,E=m(e.right)-p,x=g+p,k=this.left+u;else if("x"===t){if("center"===i)g=m((e.top+e.bottom)/2+.5);else if(z(i)){const e=Object.keys(i)[0],t=i[e];g=m(this.chart.scales[e].getPixelForValue(t))}_=e.top,C=e.bottom,w=g+p,S=w+u}else if("y"===t){if("center"===i)g=m((e.left+e.right)/2);else if(z(i)){const e=Object.keys(i)[0],t=i[e];g=m(this.chart.scales[e].getPixelForValue(t))}x=g-p,k=x-u,O=e.left,E=e.right}const A=B(r.ticks.maxTicksLimit,c),j=Math.max(1,Math.ceil(c/A));for(y=0;y<c;y+=j){const e=this.getContext(y),t=o.setContext(e),r=a.setContext(e),i=t.lineWidth,c=t.color,u=r.dash||[],f=r.dashOffset,d=t.tickWidth,p=t.tickColor,m=t.tickBorderDash||[],g=t.tickBorderDashOffset;v=or(this,y,s),void 0!==v&&(b=Qe(n,v,i),l?x=k=O=E=b:w=S=_=C=b,h.push({tx1:x,ty1:w,tx2:k,ty2:S,x1:O,y1:_,x2:E,y2:C,width:i,color:c,borderDash:u,borderDashOffset:f,tickWidth:d,tickColor:p,tickBorderDash:m,tickBorderDashOffset:g}))}return this._ticksLength=c,this._borderValue=g,h}_computeLabelItems(e){const t=this.axis,n=this.options,{position:r,ticks:o}=n,i=this.isHorizontal(),a=this.ticks,{align:s,crossAlign:l,padding:c,mirror:u}=o,h=ir(n.grid),f=h+c,d=u?-c:f,p=-pe(this.labelRotation),m=[];let g,y,v,b,x,w,k,S,O,_,E,C,A="middle";if("top"===r)w=this.bottom-d,k=this._getXAxisLabelAlignment();else if("bottom"===r)w=this.top+d,k=this._getXAxisLabelAlignment();else if("left"===r){const e=this._getYAxisLabelAlignment(h);k=e.textAlign,x=e.x}else if("right"===r){const e=this._getYAxisLabelAlignment(h);k=e.textAlign,x=e.x}else if("x"===t){if("center"===r)w=(e.top+e.bottom)/2+f;else if(z(r)){const e=Object.keys(r)[0],t=r[e];w=this.chart.scales[e].getPixelForValue(t)+f}k=this._getXAxisLabelAlignment()}else if("y"===t){if("center"===r)x=(e.left+e.right)/2-f;else if(z(r)){const e=Object.keys(r)[0],t=r[e];x=this.chart.scales[e].getPixelForValue(t)}k=this._getYAxisLabelAlignment(h).textAlign}"y"===t&&("start"===s?A="top":"end"===s&&(A="bottom"));const j=this._getLabelSizes();for(g=0,y=a.length;g<y;++g){v=a[g],b=v.label;const e=o.setContext(this.getContext(g));S=this.getPixelForTick(g)+o.labelOffset,O=this._resolveTickFontOptions(g),_=O.lineHeight,E=N(b)?b.length:1;const t=E/2,n=e.color,s=e.textStrokeColor,c=e.textStrokeWidth;let h,f=k;if(i?(x=S,"inner"===k&&(f=g===y-1?this.options.reverse?"left":"right":0===g?this.options.reverse?"right":"left":"center"),C="top"===r?"near"===l||0!==p?-E*_+_/2:"center"===l?-j.highest.height/2-t*_+_:-j.highest.height+_/2:"near"===l||0!==p?_/2:"center"===l?j.highest.height/2-t*_:j.highest.height-E*_,u&&(C*=-1),0===p||e.showLabelBackdrop||(x+=_/2*Math.sin(p))):(w=S,C=(1-E)*_/2),e.showLabelBackdrop){const t=ft(e.backdropPadding),n=j.heights[g],r=j.widths[g];let o=C-t.top,i=0-t.left;switch(A){case"middle":o-=n/2;break;case"bottom":o-=n}switch(k){case"center":i-=r/2;break;case"right":i-=r;break;case"inner":g===y-1?i-=r:g>0&&(i-=r/2)}h={left:i,top:o,width:r+t.width,height:n+t.height,color:e.backdropColor}}m.push({label:b,font:O,textOffset:C,options:{rotation:p,color:n,strokeColor:s,strokeWidth:c,textAlign:f,textBaseline:A,translation:[x,w],backdrop:h}})}return m}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-pe(this.labelRotation))return"top"===e?"left":"right";let n="center";return"start"===t.align?n="left":"end"===t.align?n="right":"inner"===t.align&&(n="inner"),n}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:n,mirror:r,padding:o}}=this.options,i=e+o,a=this._getLabelSizes().widest.width;let s,l;return"left"===t?r?(l=this.right+o,"near"===n?s="left":"center"===n?(s="center",l+=a/2):(s="right",l+=a)):(l=this.right-i,"near"===n?s="right":"center"===n?(s="center",l-=a/2):(s="left",l=this.left)):"right"===t?r?(l=this.left+o,"near"===n?s="right":"center"===n?(s="center",l-=a/2):(s="left",l-=a)):(l=this.left+i,"near"===n?s="left":"center"===n?(s="center",l+=a/2):(s="right",l=this.right)):s="right",{textAlign:s,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:n,top:r,width:o,height:i}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,r,o,i),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const n=this.ticks.findIndex((t=>t.value===e));return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(e){const t=this.options.grid,n=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let o,i;const a=(e,t,r)=>{r.width&&r.color&&(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(t.display)for(o=0,i=r.length;o<i;++o){const e=r[o];t.drawOnChartArea&&a({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),t.drawTicks&&a({x:e.tx1,y:e.ty1},{x:e.tx2,y:e.ty2},{color:e.tickColor,width:e.tickWidth,borderDash:e.tickBorderDash,borderDashOffset:e.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:t,options:{border:n,grid:r}}=this,o=n.setContext(this.getContext()),i=n.display?o.width:0;if(!i)return;const a=r.setContext(this.getContext(0)).lineWidth,s=this._borderValue;let l,c,u,h;this.isHorizontal()?(l=Qe(e,this.left,i)-i/2,c=Qe(e,this.right,a)+a/2,u=h=s):(u=Qe(e,this.top,i)-i/2,h=Qe(e,this.bottom,a)+a/2,l=c=s),t.save(),t.lineWidth=o.width,t.strokeStyle=o.color,t.beginPath(),t.moveTo(l,u),t.lineTo(c,h),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;const t=this.ctx,n=this._computeLabelArea();n&&Je(t,n);const r=this.getLabelItems(e);for(const e of r){const n=e.options,r=e.font;rt(t,e.label,0,e.textOffset,r,n)}n&&et(t)}drawTitle(){const{ctx:e,options:{position:t,title:n,reverse:r}}=this;if(!n.display)return;const o=dt(n.font),i=ft(n.padding),a=n.align;let s=o.lineHeight/2;"bottom"===t||"center"===t||z(t)?(s+=i.bottom,N(n.text)&&(s+=o.lineHeight*(n.text.length-1))):s+=i.top;const{titleX:l,titleY:c,maxWidth:u,rotation:h}=function(e,t,n,r){const{top:o,left:i,bottom:a,right:s,chart:l}=e,{chartArea:c,scales:u}=l;let h,f,d,p=0;const m=a-o,g=s-i;if(e.isHorizontal()){if(f=Ce(r,i,s),z(n)){const e=Object.keys(n)[0],r=n[e];d=u[e].getPixelForValue(r)+m-t}else d="center"===n?(c.bottom+c.top)/2+m-t:tr(e,n,t);h=s-i}else{if(z(n)){const e=Object.keys(n)[0],r=n[e];f=u[e].getPixelForValue(r)-g+t}else f="center"===n?(c.left+c.right)/2-g+t:tr(e,n,t);d=Ce(r,a,o),p="left"===n?-ae:ae}return{titleX:f,titleY:d,maxWidth:h,rotation:p}}(this,s,t,a);rt(e,n.text,0,0,o,{color:n.color,maxWidth:u,rotation:h,textAlign:sr(a,t,r),textBaseline:"middle",translation:[l,c]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,t=e.ticks&&e.ticks.z||0,n=B(e.grid&&e.grid.z,-1),r=B(e.border&&e.border.z,0);return this._isVisible()&&this.draw===lr.prototype.draw?[{z:n,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:t,draw:e=>{this.drawLabels(e)}}]:[{z:t,draw:e=>{this.draw(e)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",r=[];let o,i;for(o=0,i=t.length;o<i;++o){const i=t[o];i[n]!==this.id||e&&i.type!==e||r.push(i)}return r}_resolveTickFontOptions(e){return dt(this.options.ticks.setContext(this.getContext(e)).font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class cr{constructor(e,t,n){this.type=e,this.scope=t,this.override=n,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const t=Object.getPrototypeOf(e);let n;(function(e){return"id"in e&&"defaults"in e})(t)&&(n=this.register(t));const r=this.items,o=e.id,i=this.scope+"."+o;if(!o)throw new Error("class does not have id: "+e);return o in r||(r[o]=e,function(e,t,n){const r=K(Object.create(null),[n?Ue.get(n):{},Ue.get(t),e.defaults]);Ue.set(t,r),e.defaultRoutes&&function(e,t){Object.keys(t).forEach((n=>{const r=n.split("."),o=r.pop(),i=[e].concat(r).join("."),a=t[n].split("."),s=a.pop(),l=a.join(".");Ue.route(i,o,l,s)}))}(t,e.defaultRoutes),e.descriptors&&Ue.describe(t,e.descriptors)}(e,i,n),this.override&&Ue.override(e.id,e.overrides)),i}get(e){return this.items[e]}unregister(e){const t=this.items,n=e.id,r=this.scope;n in t&&delete t[n],r&&n in Ue[r]&&(delete Ue[r][n],this.override&&delete $e[n])}}class ur{constructor(){this.controllers=new cr(ln,"datasets",!0),this.elements=new cr(Jn,"elements"),this.plugins=new cr(Object,"plugins"),this.scales=new cr(lr,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,n){[...t].forEach((t=>{const r=n||this._getRegistryForType(t);n||r.isForType(t)||r===this.plugins&&t.id?this._exec(e,r,t):H(t,(t=>{const r=n||this._getRegistryForType(t);this._exec(e,r,t)}))}))}_exec(e,t,n){const r=X(e);$(n["before"+r],[],n),t[e](n),$(n["after"+r],[],n)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){const n=this._typedRegistries[t];if(n.isForType(e))return n}return this.plugins}_get(e,t,n){const r=t.get(e);if(void 0===r)throw new Error('"'+e+'" is not a registered '+n+".");return r}}var hr=new ur;class fr{constructor(){this._init=[]}notify(e,t,n,r){"beforeInit"===t&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const o=r?this._descriptors(e).filter(r):this._descriptors(e),i=this._notify(o,e,t,n);return"afterDestroy"===t&&(this._notify(o,e,"stop"),this._notify(this._init,e,"uninstall")),i}_notify(e,t,n,r){r=r||{};for(const o of e){const e=o.plugin;if(!1===$(e[n],[t,r,o.options],e)&&r.cancelable)return!1}return!0}invalidate(){I(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){const n=e&&e.config,r=B(n.options&&n.options.plugins,{}),o=function(e){const t={},n=[],r=Object.keys(hr.plugins.items);for(let e=0;e<r.length;e++)n.push(hr.getPlugin(r[e]));const o=e.plugins||[];for(let e=0;e<o.length;e++){const r=o[e];-1===n.indexOf(r)&&(n.push(r),t[r.id]=!0)}return{plugins:n,localIds:t}}(n);return!1!==r||t?function(e,{plugins:t,localIds:n},r,o){const i=[],a=e.getContext();for(const s of t){const t=s.id,l=dr(r[t],o);null!==l&&i.push({plugin:s,options:pr(e.config,{plugin:s,local:n[t]},l,a)})}return i}(e,o,r,t):[]}_notifyStateChanges(e){const t=this._oldCache||[],n=this._cache,r=(e,t)=>e.filter((e=>!t.some((t=>e.plugin.id===t.plugin.id))));this._notify(r(t,n),e,"stop"),this._notify(r(n,t),e,"start")}}function dr(e,t){return t||!1!==e?!0===e?{}:e:null}function pr(e,{plugin:t,local:n},r,o){const i=e.pluginScopeKeys(t),a=e.getOptionScopes(r,i);return n&&t.defaults&&a.push(t.defaults),e.createResolver(a,o,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function mr(e,t){const n=Ue.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function gr(e){if("x"===e||"y"===e||"r"===e)return e}function yr(e,...t){if(gr(e))return e;for(const r of t){const t=r.axis||("top"===(n=r.position)||"bottom"===n?"x":"left"===n||"right"===n?"y":void 0)||e.length>1&&gr(e[0].toLowerCase());if(t)return t}var n;throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function vr(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function br(e){const t=e.options||(e.options={});t.plugins=B(t.plugins,{}),t.scales=function(e,t){const n=$e[e.type]||{scales:{}},r=t.scales||{},o=mr(e.type,t),i=Object.create(null);return Object.keys(r).forEach((t=>{const a=r[t];if(!z(a))return console.error(`Invalid scale configuration for scale: ${t}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const s=yr(t,a,function(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter((t=>t.xAxisID===e||t.yAxisID===e));if(n.length)return vr(e,"x",n[0])||vr(e,"y",n[0])}return{}}(t,e),Ue.scales[a.type]),l=function(e,t){return e===t?"_index_":"_value_"}(s,o),c=n.scales||{};i[t]=Q(Object.create(null),[{axis:s},a,c[s],c[l]])})),e.data.datasets.forEach((n=>{const o=n.type||e.type,a=n.indexAxis||mr(o,t),s=($e[o]||{}).scales||{};Object.keys(s).forEach((e=>{const t=function(e,t){let n=e;return"_index_"===e?n=t:"_value_"===e&&(n="x"===t?"y":"x"),n}(e,a),o=n[t+"AxisID"]||t;i[o]=i[o]||Object.create(null),Q(i[o],[{axis:t},r[o],s[e]])}))})),Object.keys(i).forEach((e=>{const t=i[e];Q(t,[Ue.scales[t.type],Ue.scale])})),i}(e,t)}function xr(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}const wr=new Map,kr=new Set;function Sr(e,t){let n=wr.get(e);return n||(n=t(),wr.set(e,n),kr.add(n)),n}const Or=(e,t,n)=>{const r=Z(t,n);void 0!==r&&e.add(r)};class _r{constructor(e){this._config=function(e){return(e=e||{}).data=xr(e.data),br(e),e}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=xr(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),br(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Sr(e,(()=>[[`datasets.${e}`,""]]))}datasetAnimationScopeKeys(e,t){return Sr(`${e}.transition.${t}`,(()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]]))}datasetElementScopeKeys(e,t){return Sr(`${e}-${t}`,(()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]]))}pluginScopeKeys(e){const t=e.id;return Sr(`${this.type}-plugin-${t}`,(()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]]))}_cachedScopes(e,t){const n=this._scopeCache;let r=n.get(e);return r&&!t||(r=new Map,n.set(e,r)),r}getOptionScopes(e,t,n){const{options:r,type:o}=this,i=this._cachedScopes(e,n),a=i.get(t);if(a)return a;const s=new Set;t.forEach((t=>{e&&(s.add(e),t.forEach((t=>Or(s,e,t)))),t.forEach((e=>Or(s,r,e))),t.forEach((e=>Or(s,$e[o]||{},e))),t.forEach((e=>Or(s,Ue,e))),t.forEach((e=>Or(s,He,e)))}));const l=Array.from(s);return 0===l.length&&l.push(Object.create(null)),kr.has(t)&&i.set(t,l),l}chartOptionScopes(){const{options:e,type:t}=this;return[e,$e[t]||{},Ue.datasets[t]||{},{type:t},Ue,He]}resolveNamedOptions(e,t,n,r=[""]){const o={$shared:!0},{resolver:i,subPrefixes:a}=Er(this._resolverCache,e,r);let s=i;(function(e,t){const{isScriptable:n,isIndexable:r}=vt(e);for(const o of t){const t=n(o),i=r(o),a=(i||t)&&e[o];if(t&&(ee(a)||Cr(a))||i&&N(a))return!0}return!1})(i,t)&&(o.$shared=!1,s=yt(i,n=ee(n)?n():n,this.createResolver(e,n,a)));for(const e of t)o[e]=s[e];return o}createResolver(e,t,n=[""],r){const{resolver:o}=Er(this._resolverCache,e,n);return z(t)?yt(o,t,void 0,r):o}}function Er(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));const o=n.join();let i=r.get(o);return i||(i={resolver:gt(t,n),subPrefixes:n.filter((e=>!e.toLowerCase().includes("hover")))},r.set(o,i)),i}const Cr=e=>z(e)&&Object.getOwnPropertyNames(e).some((t=>ee(e[t]))),Ar=["top","bottom","left","right","chartArea"];function jr(e,t){return"top"===e||"bottom"===e||-1===Ar.indexOf(e)&&"x"===t}function Pr(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function Mr(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),$(n&&n.onComplete,[e],t)}function Rr(e){const t=e.chart,n=t.options.animation;$(n&&n.onProgress,[e],t)}function Tr(e){return jt()&&"string"==typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const Lr={},Ir=e=>{const t=Tr(e);return Object.values(Lr).filter((e=>e.canvas===t)).pop()};function Nr(e,t,n){const r=Object.keys(e);for(const o of r){const r=+o;if(r>=t){const i=e[o];delete e[o],(n>0||r>t)&&(e[r+n]=i)}}}function zr(e,t,n){return e.options.clip?e[n]:t[n]}class Dr{static defaults=Ue;static instances=Lr;static overrides=$e;static registry=hr;static version="4.4.3";static getChart=Ir;static register(...e){hr.add(...e),Fr()}static unregister(...e){hr.remove(...e),Fr()}constructor(e,t){const n=this.config=new _r(t),r=Tr(e),o=Ir(r);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const i=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||function(e){return!jt()||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?zn:Xn}(r)),this.platform.updateConfig(n);const a=this.platform.acquireContext(r,i.aspectRatio),s=a&&a.canvas,l=s&&s.height,c=s&&s.width;this.id=L(),this.ctx=a,this.canvas=s,this.width=c,this.height=l,this._options=i,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new fr,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}((e=>this.update(e)),i.resizeDelay||0),this._dataChanges=[],Lr[this.id]=this,a&&s?(Vt.listen(this,"complete",Mr),Vt.listen(this,"progress",Rr),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:r,_aspectRatio:o}=this;return I(e)?t&&o?o:r?n/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return hr}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Dt(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Ge(this.canvas,this.ctx),this}stop(){return Vt.stop(this),this}resize(e,t){Vt.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const n=this.options,r=this.canvas,o=n.maintainAspectRatio&&this.aspectRatio,i=this.platform.getMaximumSize(r,e,t,o),a=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?"resize":"attach";this.width=i.width,this.height=i.height,this._aspectRatio=this.aspectRatio,Dt(this,a,!0)&&(this.notifyPlugins("resize",{size:i}),$(n.onResize,[this,i],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){H(this.options.scales||{},((e,t)=>{e.id=t}))}buildOrUpdateScales(){const e=this.options,t=e.scales,n=this.scales,r=Object.keys(n).reduce(((e,t)=>(e[t]=!1,e)),{});let o=[];t&&(o=o.concat(Object.keys(t).map((e=>{const n=t[e],r=yr(e,n),o="r"===r,i="x"===r;return{options:n,dposition:o?"chartArea":i?"bottom":"left",dtype:o?"radialLinear":i?"category":"linear"}})))),H(o,(t=>{const o=t.options,i=o.id,a=yr(i,o),s=B(o.type,t.dtype);void 0!==o.position&&jr(o.position,a)===jr(t.dposition)||(o.position=t.dposition),r[i]=!0;let l=null;i in n&&n[i].type===s?l=n[i]:(l=new(hr.getScale(s))({id:i,type:s,ctx:this.ctx,chart:this}),n[l.id]=l),l.init(o,e)})),H(r,((e,t)=>{e||delete n[t]})),H(n,(e=>{In.configure(this,e,e.options),In.addBox(this,e)}))}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,n=e.length;if(e.sort(((e,t)=>e.index-t.index)),n>t){for(let e=t;e<n;++e)this._destroyDatasetMeta(e);e.splice(t,n-t)}this._sortedMetasets=e.slice(0).sort(Pr("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach(((e,n)=>{0===t.filter((t=>t===e._dataset)).length&&this._destroyDatasetMeta(n)}))}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let n,r;for(this._removeUnreferencedMetasets(),n=0,r=t.length;n<r;n++){const r=t[n];let o=this.getDatasetMeta(n);const i=r.type||this.config.type;if(o.type&&o.type!==i&&(this._destroyDatasetMeta(n),o=this.getDatasetMeta(n)),o.type=i,o.indexAxis=r.indexAxis||mr(i,this.options),o.order=r.order||0,o.index=n,o.label=""+r.label,o.visible=this.isDatasetVisible(n),o.controller)o.controller.updateIndex(n),o.controller.linkScales();else{const t=hr.getController(i),{datasetElementType:r,dataElementType:a}=Ue.datasets[i];Object.assign(t,{dataElementType:hr.getElement(a),datasetElementType:r&&hr.getElement(r)}),o.controller=new t(this,n),e.push(o.controller)}}return this._updateMetasets(),e}_resetElements(){H(this.data.datasets,((e,t)=>{this.getDatasetMeta(t).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const n=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let i=0;for(let e=0,t=this.data.datasets.length;e<t;e++){const{controller:t}=this.getDatasetMeta(e),n=!r&&-1===o.indexOf(t);t.buildOrUpdateElements(n),i=Math.max(+t.getMaxOverflow(),i)}i=this._minPadding=n.layout.autoPadding?i:0,this._updateLayout(i),r||H(o,(e=>{e.reset()})),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(Pr("z","_idx"));const{_active:a,_lastEvent:s}=this;s?this._eventHandler(s,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){H(this.scales,(e=>{In.removeBox(this,e)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),n=new Set(e.events);te(t,n)&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:n,start:r,count:o}of t)Nr(e,r,"_removeElements"===n?-o:o)}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,n=t=>new Set(e.filter((e=>e[0]===t)).map(((e,t)=>t+","+e.splice(1).join(",")))),r=n(0);for(let e=1;e<t;e++)if(!te(r,n(e)))return;return Array.from(r).map((e=>e.split(","))).map((e=>({method:e[1],start:+e[2],count:+e[3]})))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;In.update(this,this.width,this.height,e);const t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],H(this.boxes,(e=>{n&&"chartArea"===e.position||(e.configure&&e.configure(),this._layers.push(...e._layers()))}),this),this._layers.forEach(((e,t)=>{e._idx=t})),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let e=0,t=this.data.datasets.length;e<t;++e)this.getDatasetMeta(e).controller.configure();for(let t=0,n=this.data.datasets.length;t<n;++t)this._updateDataset(t,ee(e)?e({datasetIndex:t}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,t){const n=this.getDatasetMeta(e),r={meta:n,index:e,mode:t,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(n.controller._update(t),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(Vt.has(this)?this.attached&&!Vt.running(this)&&Vt.start(this):(this.draw(),Mr({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:e,height:t}=this._resizeBeforeDraw;this._resize(e,t),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const t=this._sortedMetasets,n=[];let r,o;for(r=0,o=t.length;r<o;++r){const o=t[r];e&&!o.visible||n.push(o)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,n=e._clip,r=!n.disabled,o=function(e,t){const{xScale:n,yScale:r}=e;return n&&r?{left:zr(n,t,"left"),right:zr(n,t,"right"),top:zr(r,t,"top"),bottom:zr(r,t,"bottom")}:t}(e,this.chartArea),i={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",i)&&(r&&Je(t,{left:!1===n.left?0:o.left-n.left,right:!1===n.right?this.width:o.right+n.right,top:!1===n.top?0:o.top-n.top,bottom:!1===n.bottom?this.height:o.bottom+n.bottom}),e.controller.draw(),r&&et(t),i.cancelable=!1,this.notifyPlugins("afterDatasetDraw",i))}isPointInArea(e){return Xe(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){const o=Sn.modes[t];return"function"==typeof o?o(this,e,n,r):[]}getDatasetMeta(e){const t=this.data.datasets[e],n=this._metasets;let r=n.filter((e=>e&&e._dataset===t)).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||(this.$context=mt(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const n=this.getDatasetMeta(e);return"boolean"==typeof n.hidden?!n.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,n){const r=n?"show":"hide",o=this.getDatasetMeta(e),i=o.controller._resolveAnimations(void 0,r);J(t)?(o.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),i.update(o,{visible:n}),this.update((t=>t.datasetIndex===e?r:void 0)))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),Vt.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),Ge(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),delete Lr[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(e,t,n)=>{e.offsetX=t,e.offsetY=n,this._eventHandler(e)};H(this.options.events,(e=>n(e,r)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(n,r)=>{e[n]&&(t.removeEventListener(this,n,r),delete e[n])},o=(e,t)=>{this.canvas&&this.resize(e,t)};let i;const a=()=>{r("attach",a),this.attached=!0,this.resize(),n("resize",o),n("detach",i)};i=()=>{this.attached=!1,r("resize",o),this._stop(),this._resize(0,0),n("attach",a)},t.isAttached(this.canvas)?a():i()}unbindEvents(){H(this._listeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._listeners={},H(this._responsiveListeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._responsiveListeners=void 0}updateHoverStyle(e,t,n){const r=n?"set":"remove";let o,i,a,s;for("dataset"===t&&(o=this.getDatasetMeta(e[0].datasetIndex),o.controller["_"+r+"DatasetHoverStyle"]()),a=0,s=e.length;a<s;++a){i=e[a];const t=i&&this.getDatasetMeta(i.datasetIndex).controller;t&&t[r+"HoverStyle"](i.element,i.datasetIndex,i.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const t=this._active||[],n=e.map((({datasetIndex:e,index:t})=>{const n=this.getDatasetMeta(e);if(!n)throw new Error("No dataset found at index "+e);return{datasetIndex:e,element:n.data[t],index:t}}));!W(n,t)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return 1===this._plugins._cache.filter((t=>t.plugin.id===e)).length}_updateHoverStyles(e,t,n){const r=this.options.hover,o=(e,t)=>e.filter((e=>!t.some((t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)))),i=o(t,e),a=n?e:o(e,t);i.length&&this.updateHoverStyle(i,r.mode,!1),a.length&&r.mode&&this.updateHoverStyle(a,r.mode,!0)}_eventHandler(e,t){const n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",n,r))return;const o=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,r),(o||n.changed)&&this.render(),this}_handleEvent(e,t,n){const{_active:r=[],options:o}=this,i=t,a=this._getActiveElements(e,r,n,i),s=function(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}(e),l=function(e,t,n,r){return n&&"mouseout"!==e.type?r?t:e:null}(e,this._lastEvent,n,s);n&&(this._lastEvent=null,$(o.onHover,[e,a,this],this),s&&$(o.onClick,[e,a,this],this));const c=!W(a,r);return(c||t)&&(this._active=a,this._updateHoverStyles(a,r,t)),this._lastEvent=l,c}_getActiveElements(e,t,n,r){if("mouseout"===e.type)return[];if(!n)return t;const o=this.options.hover;return this.getElementsAtEventForMode(e,o.mode,o,r)}}function Fr(){return H(Dr.instances,(e=>e._plugins.invalidate()))}function Br(e,t){const{x:n,y:r,base:o,width:i,height:a}=e.getProps(["x","y","base","width","height"],t);let s,l,c,u,h;return e.horizontal?(h=a/2,s=Math.min(n,o),l=Math.max(n,o),c=r-h,u=r+h):(h=i/2,s=n-h,l=n+h,c=Math.min(r,o),u=Math.max(r,o)),{left:s,top:c,right:l,bottom:u}}function $r(e,t,n,r){return e?0:ye(t,n,r)}function Hr(e,t,n,r){const o=null===t,i=null===n,a=e&&!(o&&i)&&Br(e,r);return a&&(o||ve(t,a.left,a.right))&&(i||ve(n,a.top,a.bottom))}function Wr(e,t){e.rect(t.x,t.y,t.w,t.h)}function qr(e,t,n={}){const r=e.x!==n.x?-t:0,o=e.y!==n.y?-t:0,i=(e.x+e.w!==n.x+n.w?t:0)-r,a=(e.y+e.h!==n.y+n.h?t:0)-o;return{x:e.x+r,y:e.y+o,w:e.w+i,h:e.h+a,radius:e.radius}}class Vr extends Jn{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:t,options:{borderColor:n,backgroundColor:r}}=this,{inner:o,outer:i}=function(e){const t=Br(e),n=t.right-t.left,r=t.bottom-t.top,o=function(e,t,n){const r=e.options.borderWidth,o=e.borderSkipped,i=ut(r);return{t:$r(o.top,i.top,0,n),r:$r(o.right,i.right,0,t),b:$r(o.bottom,i.bottom,0,n),l:$r(o.left,i.left,0,t)}}(e,n/2,r/2),i=function(e,t,n){const{enableBorderRadius:r}=e.getProps(["enableBorderRadius"]),o=e.options.borderRadius,i=ht(o),a=Math.min(t,n),s=e.borderSkipped,l=r||z(o);return{topLeft:$r(!l||s.top||s.left,i.topLeft,0,a),topRight:$r(!l||s.top||s.right,i.topRight,0,a),bottomLeft:$r(!l||s.bottom||s.left,i.bottomLeft,0,a),bottomRight:$r(!l||s.bottom||s.right,i.bottomRight,0,a)}}(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r,radius:i},inner:{x:t.left+o.l,y:t.top+o.t,w:n-o.l-o.r,h:r-o.t-o.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(o.t,o.l)),topRight:Math.max(0,i.topRight-Math.max(o.t,o.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(o.b,o.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(o.b,o.r))}}}}(this),a=(s=i.radius).topLeft||s.topRight||s.bottomLeft||s.bottomRight?ot:Wr;var s;e.save(),i.w===o.w&&i.h===o.h||(e.beginPath(),a(e,qr(i,t,o)),e.clip(),a(e,qr(o,-t,i)),e.fillStyle=n,e.fill("evenodd")),e.beginPath(),a(e,qr(o,t)),e.fillStyle=r,e.fill(),e.restore()}inRange(e,t,n){return Hr(this,e,t,n)}inXRange(e,t){return Hr(this,e,null,t)}inYRange(e,t){return Hr(this,null,e,t)}getCenterPoint(e){const{x:t,y:n,base:r,horizontal:o}=this.getProps(["x","y","base","horizontal"],e);return{x:o?(t+r)/2:t,y:o?n:(n+r)/2}}getRange(e){return"x"===e?this.width/2:this.height/2}}const Ur=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}};class Kr extends Jn{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=$(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter((t=>e.filter(t,this.chart.data)))),e.sort&&(t=t.sort(((t,n)=>e.sort(t,n,this.chart.data)))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display)return void(this.width=this.height=0);const n=e.labels,r=dt(n.font),o=r.size,i=this._computeTitleHeight(),{boxWidth:a,itemHeight:s}=Ur(n,o);let l,c;t.font=r.string,this.isHorizontal()?(l=this.maxWidth,c=this._fitRows(i,o,a,s)+10):(c=this.maxHeight,l=this._fitCols(i,r,a,s)+10),this.width=Math.min(l,e.maxWidth||this.maxWidth),this.height=Math.min(c,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,r){const{ctx:o,maxWidth:i,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],l=this.lineWidths=[0],c=r+a;let u=e;o.textAlign="left",o.textBaseline="middle";let h=-1,f=-c;return this.legendItems.forEach(((e,d)=>{const p=n+t/2+o.measureText(e.text).width;(0===d||l[l.length-1]+p+2*a>i)&&(u+=c,l[l.length-(d>0?0:1)]=0,f+=c,h++),s[d]={left:0,top:f,row:h,width:p,height:r},l[l.length-1]+=p+a})),u}_fitCols(e,t,n,r){const{ctx:o,maxHeight:i,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],l=this.columnSizes=[],c=i-e;let u=a,h=0,f=0,d=0,p=0;return this.legendItems.forEach(((e,i)=>{const{itemWidth:m,itemHeight:g}=function(e,t,n,r,o){const i=function(e,t,n,r){let o=e.text;return o&&"string"!=typeof o&&(o=o.reduce(((e,t)=>e.length>t.length?e:t))),t+n.size/2+r.measureText(o).width}(r,e,t,n),a=function(e,t,n){let r=e;return"string"!=typeof t.text&&(r=Qr(t,n)),r}(o,r,t.lineHeight);return{itemWidth:i,itemHeight:a}}(n,t,o,e,r);i>0&&f+g+2*a>c&&(u+=h+a,l.push({width:h,height:f}),d+=h+a,p++,h=f=0),s[i]={left:d,top:f,col:p,width:m,height:g},h=Math.max(h,m),f+=g+a})),u+=h,l.push({width:h,height:f}),u}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:n,labels:{padding:r},rtl:o}}=this,i=$t(o,this.left,this.width);if(this.isHorizontal()){let o=0,a=Ce(n,this.left+r,this.right-this.lineWidths[o]);for(const s of t)o!==s.row&&(o=s.row,a=Ce(n,this.left+r,this.right-this.lineWidths[o])),s.top+=this.top+e+r,s.left=i.leftForLtr(i.x(a),s.width),a+=s.width+r}else{let o=0,a=Ce(n,this.top+e+r,this.bottom-this.columnSizes[o].height);for(const s of t)s.col!==o&&(o=s.col,a=Ce(n,this.top+e+r,this.bottom-this.columnSizes[o].height)),s.top=a,s.left+=this.left+r,s.left=i.leftForLtr(i.x(s.left),s.width),a+=s.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;Je(e,this),this._draw(),et(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:n,ctx:r}=this,{align:o,labels:i}=e,a=Ue.color,s=$t(e.rtl,this.left,this.width),l=dt(i.font),{padding:c}=i,u=l.size,h=u/2;let f;this.drawTitle(),r.textAlign=s.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=l.string;const{boxWidth:d,boxHeight:p,itemHeight:m}=Ur(i,u),g=this.isHorizontal(),y=this._computeTitleHeight();f=g?{x:Ce(o,this.left+c,this.right-n[0]),y:this.top+c+y,line:0}:{x:this.left+c,y:Ce(o,this.top+y+c,this.bottom-t[0].height),line:0},Ht(this.ctx,e.textDirection);const v=m+c;this.legendItems.forEach(((b,x)=>{r.strokeStyle=b.fontColor,r.fillStyle=b.fontColor;const w=r.measureText(b.text).width,k=s.textAlign(b.textAlign||(b.textAlign=i.textAlign)),S=d+h+w;let O=f.x,_=f.y;if(s.setWidth(this.width),g?x>0&&O+S+c>this.right&&(_=f.y+=v,f.line++,O=f.x=Ce(o,this.left+c,this.right-n[f.line])):x>0&&_+v>this.bottom&&(O=f.x=O+t[f.line].width+c,f.line++,_=f.y=Ce(o,this.top+y+c,this.bottom-t[f.line].height)),function(e,t,n){if(isNaN(d)||d<=0||isNaN(p)||p<0)return;r.save();const o=B(n.lineWidth,1);if(r.fillStyle=B(n.fillStyle,a),r.lineCap=B(n.lineCap,"butt"),r.lineDashOffset=B(n.lineDashOffset,0),r.lineJoin=B(n.lineJoin,"miter"),r.lineWidth=o,r.strokeStyle=B(n.strokeStyle,a),r.setLineDash(B(n.lineDash,[])),i.usePointStyle){const a={radius:p*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:o},l=s.xPlus(e,d/2);Ze(r,a,l,t+h,i.pointStyleWidth&&d)}else{const i=t+Math.max((u-p)/2,0),a=s.leftForLtr(e,d),l=ht(n.borderRadius);r.beginPath(),Object.values(l).some((e=>0!==e))?ot(r,{x:a,y:i,w:d,h:p,radius:l}):r.rect(a,i,d,p),r.fill(),0!==o&&r.stroke()}r.restore()}(s.x(O),_,b),O=((e,t,n,r)=>e===(r?"left":"right")?n:"center"===e?(t+n)/2:t)(k,O+d+h,g?O+S:this.right,e.rtl),function(e,t,n){rt(r,n.text,e,t+m/2,l,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})}(s.x(O),_,b),g)f.x+=S+c;else if("string"!=typeof b.text){const e=l.lineHeight;f.y+=Qr(b,e)+c}else f.y+=v})),Wt(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,n=dt(t.font),r=ft(t.padding);if(!t.display)return;const o=$t(e.rtl,this.left,this.width),i=this.ctx,a=t.position,s=n.size/2,l=r.top+s;let c,u=this.left,h=this.width;if(this.isHorizontal())h=Math.max(...this.lineWidths),c=this.top+l,u=Ce(e.align,u,this.right-h);else{const t=this.columnSizes.reduce(((e,t)=>Math.max(e,t.height)),0);c=l+Ce(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}const f=Ce(a,u,u+h);i.textAlign=o.textAlign(Ee(a)),i.textBaseline="middle",i.strokeStyle=t.color,i.fillStyle=t.color,i.font=n.string,rt(i,t.text,f,c,n)}_computeTitleHeight(){const e=this.options.title,t=dt(e.font),n=ft(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,r,o;if(ve(e,this.left,this.right)&&ve(t,this.top,this.bottom))for(o=this.legendHitBoxes,n=0;n<o.length;++n)if(r=o[n],ve(e,r.left,r.left+r.width)&&ve(t,r.top,r.top+r.height))return this.legendItems[n];return null}handleEvent(e){const t=this.options;if(!function(e,t){return!("mousemove"!==e&&"mouseout"!==e||!t.onHover&&!t.onLeave)||!(!t.onClick||"click"!==e&&"mouseup"!==e)}(e.type,t))return;const n=this._getLegendItemAt(e.x,e.y);if("mousemove"===e.type||"mouseout"===e.type){const i=this._hoveredItem,a=(o=n,null!==(r=i)&&null!==o&&r.datasetIndex===o.datasetIndex&&r.index===o.index);i&&!a&&$(t.onLeave,[e,i,this],this),this._hoveredItem=n,n&&!a&&$(t.onHover,[e,n,this],this)}else n&&$(t.onClick,[e,n,this],this);var r,o}}function Qr(e,t){return t*(e.text?e.text.length:0)}var Gr={id:"legend",_element:Kr,start(e,t,n){const r=e.legend=new Kr({ctx:e.ctx,options:n,chart:e});In.configure(e,r,n),In.addBox(e,r)},stop(e){In.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const r=e.legend;In.configure(e,r,n),r.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const r=t.datasetIndex,o=n.chart;o.isDatasetVisible(r)?(o.hide(r),t.hidden=!0):(o.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:o,color:i,useBorderRadius:a,borderRadius:s}}=e.legend.options;return e._getSortedDatasetMetas().map((e=>{const l=e.controller.getStyle(n?0:void 0),c=ft(l.borderWidth);return{text:t[e.index].label,fillStyle:l.backgroundColor,fontColor:i,hidden:!e.visible,lineCap:l.borderCapStyle,lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:(c.width+c.height)/4,strokeStyle:l.borderColor,pointStyle:r||l.pointStyle,rotation:l.rotation,textAlign:o||l.textAlign,borderRadius:a&&(s||l.borderRadius),datasetIndex:e.index}}),this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};new WeakMap;const Yr={average(e){if(!e.length)return!1;let t,n,r=new Set,o=0,i=0;for(t=0,n=e.length;t<n;++t){const n=e[t].element;if(n&&n.hasValue()){const e=n.tooltipPosition();r.add(e.x),o+=e.y,++i}}return{x:[...r].reduce(((e,t)=>e+t))/r.size,y:o/i}},nearest(e,t){if(!e.length)return!1;let n,r,o,i=t.x,a=t.y,s=Number.POSITIVE_INFINITY;for(n=0,r=e.length;n<r;++n){const r=e[n].element;if(r&&r.hasValue()){const e=(l=t,c=r.getCenterPoint(),Math.sqrt(Math.pow(c.x-l.x,2)+Math.pow(c.y-l.y,2)));e<s&&(s=e,o=r)}}var l,c;if(o){const e=o.tooltipPosition();i=e.x,a=e.y}return{x:i,y:a}}};function Zr(e,t){return t&&(N(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Xr(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function Jr(e,t){const{element:n,datasetIndex:r,index:o}=t,i=e.getDatasetMeta(r).controller,{label:a,value:s}=i.getLabelAndValue(o);return{chart:e,label:a,parsed:i.getParsed(o),raw:e.data.datasets[r].data[o],formattedValue:s,dataset:i.getDataset(),dataIndex:o,datasetIndex:r,element:n}}function eo(e,t){const n=e.chart.ctx,{body:r,footer:o,title:i}=e,{boxWidth:a,boxHeight:s}=t,l=dt(t.bodyFont),c=dt(t.titleFont),u=dt(t.footerFont),h=i.length,f=o.length,d=r.length,p=ft(t.padding);let m=p.height,g=0,y=r.reduce(((e,t)=>e+t.before.length+t.lines.length+t.after.length),0);y+=e.beforeBody.length+e.afterBody.length,h&&(m+=h*c.lineHeight+(h-1)*t.titleSpacing+t.titleMarginBottom),y&&(m+=d*(t.displayColors?Math.max(s,l.lineHeight):l.lineHeight)+(y-d)*l.lineHeight+(y-1)*t.bodySpacing),f&&(m+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let v=0;const b=function(e){g=Math.max(g,n.measureText(e).width+v)};return n.save(),n.font=c.string,H(e.title,b),n.font=l.string,H(e.beforeBody.concat(e.afterBody),b),v=t.displayColors?a+2+t.boxPadding:0,H(r,(e=>{H(e.before,b),H(e.lines,b),H(e.after,b)})),v=0,n.font=u.string,H(e.footer,b),n.restore(),g+=p.width,{width:g,height:m}}function to(e,t,n,r){const{x:o,width:i}=n,{width:a,chartArea:{left:s,right:l}}=e;let c="center";return"center"===r?c=o<=(s+l)/2?"left":"right":o<=i/2?c="left":o>=a-i/2&&(c="right"),function(e,t,n,r){const{x:o,width:i}=r,a=n.caretSize+n.caretPadding;return"left"===e&&o+i+a>t.width||"right"===e&&o-i-a<0||void 0}(c,e,t,n)&&(c="center"),c}function no(e,t,n){const r=n.yAlign||t.yAlign||function(e,t){const{y:n,height:r}=t;return n<r/2?"top":n>e.height-r/2?"bottom":"center"}(e,n);return{xAlign:n.xAlign||t.xAlign||to(e,t,n,r),yAlign:r}}function ro(e,t,n,r){const{caretSize:o,caretPadding:i,cornerRadius:a}=e,{xAlign:s,yAlign:l}=n,c=o+i,{topLeft:u,topRight:h,bottomLeft:f,bottomRight:d}=ht(a);let p=function(e,t){let{x:n,width:r}=e;return"right"===t?n-=r:"center"===t&&(n-=r/2),n}(t,s);const m=function(e,t,n){let{y:r,height:o}=e;return"top"===t?r+=n:r-="bottom"===t?o+n:o/2,r}(t,l,c);return"center"===l?"left"===s?p+=c:"right"===s&&(p-=c):"left"===s?p-=Math.max(u,f)+o:"right"===s&&(p+=Math.max(h,d)+o),{x:ye(p,0,r.width-t.width),y:ye(m,0,r.height-t.height)}}function oo(e,t,n){const r=ft(n.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-r.right:e.x+r.left}function io(e){return Zr([],Xr(e))}function ao(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const so={beforeTitle:T,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return n[t.dataIndex]}return""},afterTitle:T,beforeBody:T,beforeLabel:T,label(e){if(this&&this.options&&"dataset"===this.options.mode)return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return I(n)||(t+=n),t},labelColor(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:T,afterBody:T,beforeFooter:T,footer:T,afterFooter:T};function lo(e,t,n,r){const o=e[t].call(n,r);return void 0===o?so[t].call(n,r):o}class co extends Jn{static positioners=Yr;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const t=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&t.options.animation&&n.animations,o=new Gt(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=(this,mt(this.chart.getContext(),{tooltip:this,tooltipItems:this._tooltipItems,type:"tooltip"})))}getTitle(e,t){const{callbacks:n}=t,r=lo(n,"beforeTitle",this,e),o=lo(n,"title",this,e),i=lo(n,"afterTitle",this,e);let a=[];return a=Zr(a,Xr(r)),a=Zr(a,Xr(o)),a=Zr(a,Xr(i)),a}getBeforeBody(e,t){return io(lo(t.callbacks,"beforeBody",this,e))}getBody(e,t){const{callbacks:n}=t,r=[];return H(e,(e=>{const t={before:[],lines:[],after:[]},o=ao(n,e);Zr(t.before,Xr(lo(o,"beforeLabel",this,e))),Zr(t.lines,lo(o,"label",this,e)),Zr(t.after,Xr(lo(o,"afterLabel",this,e))),r.push(t)})),r}getAfterBody(e,t){return io(lo(t.callbacks,"afterBody",this,e))}getFooter(e,t){const{callbacks:n}=t,r=lo(n,"beforeFooter",this,e),o=lo(n,"footer",this,e),i=lo(n,"afterFooter",this,e);let a=[];return a=Zr(a,Xr(r)),a=Zr(a,Xr(o)),a=Zr(a,Xr(i)),a}_createItems(e){const t=this._active,n=this.chart.data,r=[],o=[],i=[];let a,s,l=[];for(a=0,s=t.length;a<s;++a)l.push(Jr(this.chart,t[a]));return e.filter&&(l=l.filter(((t,r,o)=>e.filter(t,r,o,n)))),e.itemSort&&(l=l.sort(((t,r)=>e.itemSort(t,r,n)))),H(l,(t=>{const n=ao(e.callbacks,t);r.push(lo(n,"labelColor",this,t)),o.push(lo(n,"labelPointStyle",this,t)),i.push(lo(n,"labelTextColor",this,t))})),this.labelColors=r,this.labelPointStyles=o,this.labelTextColors=i,this.dataPoints=l,l}update(e,t){const n=this.options.setContext(this.getContext()),r=this._active;let o,i=[];if(r.length){const e=Yr[n.position].call(this,r,this._eventPosition);i=this._createItems(n),this.title=this.getTitle(i,n),this.beforeBody=this.getBeforeBody(i,n),this.body=this.getBody(i,n),this.afterBody=this.getAfterBody(i,n),this.footer=this.getFooter(i,n);const t=this._size=eo(this,n),a=Object.assign({},e,t),s=no(this.chart,n,a),l=ro(n,a,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,o={opacity:1,x:l.x,y:l.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(o={opacity:0});this._tooltipItems=i,this.$context=void 0,o&&this._resolveAnimations().update(this,o),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,r){const o=this.getCaretPosition(e,n,r);t.lineTo(o.x1,o.y1),t.lineTo(o.x2,o.y2),t.lineTo(o.x3,o.y3)}getCaretPosition(e,t,n){const{xAlign:r,yAlign:o}=this,{caretSize:i,cornerRadius:a}=n,{topLeft:s,topRight:l,bottomLeft:c,bottomRight:u}=ht(a),{x:h,y:f}=e,{width:d,height:p}=t;let m,g,y,v,b,x;return"center"===o?(b=f+p/2,"left"===r?(m=h,g=m-i,v=b+i,x=b-i):(m=h+d,g=m+i,v=b-i,x=b+i),y=m):(g="left"===r?h+Math.max(s,c)+i:"right"===r?h+d-Math.max(l,u)-i:this.caretX,"top"===o?(v=f,b=v-i,m=g-i,y=g+i):(v=f+p,b=v+i,m=g+i,y=g-i),x=v),{x1:m,x2:g,x3:y,y1:v,y2:b,y3:x}}drawTitle(e,t,n){const r=this.title,o=r.length;let i,a,s;if(o){const l=$t(n.rtl,this.x,this.width);for(e.x=oo(this,n.titleAlign,n),t.textAlign=l.textAlign(n.titleAlign),t.textBaseline="middle",i=dt(n.titleFont),a=n.titleSpacing,t.fillStyle=n.titleColor,t.font=i.string,s=0;s<o;++s)t.fillText(r[s],l.x(e.x),e.y+i.lineHeight/2),e.y+=i.lineHeight+a,s+1===o&&(e.y+=n.titleMarginBottom-a)}}_drawColorBox(e,t,n,r,o){const i=this.labelColors[n],a=this.labelPointStyles[n],{boxHeight:s,boxWidth:l}=o,c=dt(o.bodyFont),u=oo(this,"left",o),h=r.x(u),f=s<c.lineHeight?(c.lineHeight-s)/2:0,d=t.y+f;if(o.usePointStyle){const t={radius:Math.min(l,s)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},n=r.leftForLtr(h,l)+l/2,c=d+s/2;e.strokeStyle=o.multiKeyBackground,e.fillStyle=o.multiKeyBackground,Ye(e,t,n,c),e.strokeStyle=i.borderColor,e.fillStyle=i.backgroundColor,Ye(e,t,n,c)}else{e.lineWidth=z(i.borderWidth)?Math.max(...Object.values(i.borderWidth)):i.borderWidth||1,e.strokeStyle=i.borderColor,e.setLineDash(i.borderDash||[]),e.lineDashOffset=i.borderDashOffset||0;const t=r.leftForLtr(h,l),n=r.leftForLtr(r.xPlus(h,1),l-2),a=ht(i.borderRadius);Object.values(a).some((e=>0!==e))?(e.beginPath(),e.fillStyle=o.multiKeyBackground,ot(e,{x:t,y:d,w:l,h:s,radius:a}),e.fill(),e.stroke(),e.fillStyle=i.backgroundColor,e.beginPath(),ot(e,{x:n,y:d+1,w:l-2,h:s-2,radius:a}),e.fill()):(e.fillStyle=o.multiKeyBackground,e.fillRect(t,d,l,s),e.strokeRect(t,d,l,s),e.fillStyle=i.backgroundColor,e.fillRect(n,d+1,l-2,s-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){const{body:r}=this,{bodySpacing:o,bodyAlign:i,displayColors:a,boxHeight:s,boxWidth:l,boxPadding:c}=n,u=dt(n.bodyFont);let h=u.lineHeight,f=0;const d=$t(n.rtl,this.x,this.width),p=function(n){t.fillText(n,d.x(e.x+f),e.y+h/2),e.y+=h+o},m=d.textAlign(i);let g,y,v,b,x,w,k;for(t.textAlign=i,t.textBaseline="middle",t.font=u.string,e.x=oo(this,m,n),t.fillStyle=n.bodyColor,H(this.beforeBody,p),f=a&&"right"!==m?"center"===i?l/2+c:l+2+c:0,b=0,w=r.length;b<w;++b){for(g=r[b],y=this.labelTextColors[b],t.fillStyle=y,H(g.before,p),v=g.lines,a&&v.length&&(this._drawColorBox(t,e,b,d,n),h=Math.max(u.lineHeight,s)),x=0,k=v.length;x<k;++x)p(v[x]),h=u.lineHeight;H(g.after,p)}f=0,h=u.lineHeight,H(this.afterBody,p),e.y-=o}drawFooter(e,t,n){const r=this.footer,o=r.length;let i,a;if(o){const s=$t(n.rtl,this.x,this.width);for(e.x=oo(this,n.footerAlign,n),e.y+=n.footerMarginTop,t.textAlign=s.textAlign(n.footerAlign),t.textBaseline="middle",i=dt(n.footerFont),t.fillStyle=n.footerColor,t.font=i.string,a=0;a<o;++a)t.fillText(r[a],s.x(e.x),e.y+i.lineHeight/2),e.y+=i.lineHeight+n.footerSpacing}}drawBackground(e,t,n,r){const{xAlign:o,yAlign:i}=this,{x:a,y:s}=e,{width:l,height:c}=n,{topLeft:u,topRight:h,bottomLeft:f,bottomRight:d}=ht(r.cornerRadius);t.fillStyle=r.backgroundColor,t.strokeStyle=r.borderColor,t.lineWidth=r.borderWidth,t.beginPath(),t.moveTo(a+u,s),"top"===i&&this.drawCaret(e,t,n,r),t.lineTo(a+l-h,s),t.quadraticCurveTo(a+l,s,a+l,s+h),"center"===i&&"right"===o&&this.drawCaret(e,t,n,r),t.lineTo(a+l,s+c-d),t.quadraticCurveTo(a+l,s+c,a+l-d,s+c),"bottom"===i&&this.drawCaret(e,t,n,r),t.lineTo(a+f,s+c),t.quadraticCurveTo(a,s+c,a,s+c-f),"center"===i&&"left"===o&&this.drawCaret(e,t,n,r),t.lineTo(a,s+u),t.quadraticCurveTo(a,s,a+u,s),t.closePath(),t.fill(),r.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,n=this.$animations,r=n&&n.x,o=n&&n.y;if(r||o){const n=Yr[e.position].call(this,this._active,this._eventPosition);if(!n)return;const i=this._size=eo(this,e),a=Object.assign({},n,this._size),s=no(t,e,a),l=ro(e,a,s,t);r._to===l.x&&o._to===l.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=i.width,this.height=i.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(e){const t=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(t);const r={width:this.width,height:this.height},o={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const i=ft(t.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&a&&(e.save(),e.globalAlpha=n,this.drawBackground(o,e,r,t),Ht(e,t.textDirection),o.y+=i.top,this.drawTitle(o,e,t),this.drawBody(o,e,t),this.drawFooter(o,e,t),Wt(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const n=this._active,r=e.map((({datasetIndex:e,index:t})=>{const n=this.chart.getDatasetMeta(e);if(!n)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:n.data[t],index:t}})),o=!W(n,r),i=this._positionChanged(r,t);(o||i)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,n=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,o=this._active||[],i=this._getActiveElements(e,o,t,n),a=this._positionChanged(i,e),s=t||!W(i,o)||a;return s&&(this._active=i,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,n,r){const o=this.options;if("mouseout"===e.type)return[];if(!r)return t.filter((e=>this.chart.data.datasets[e.datasetIndex]&&void 0!==this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index)));const i=this.chart.getElementsAtEventForMode(e,o.mode,o,n);return o.reverse&&i.reverse(),i}_positionChanged(e,t){const{caretX:n,caretY:r,options:o}=this,i=Yr[o.position].call(this,e,t);return!1!==i&&(n!==i.x||r!==i.y)}}var uo={id:"tooltip",_element:co,positioners:Yr,afterInit(e,t,n){n&&(e.tooltip=new co({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(!1===e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0}))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:so},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function ho(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class fo extends lr{static id="category";static defaults={ticks:{callback:ho}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const e=this.getLabels();for(const{index:n,label:r}of t)e[n]===r&&e.splice(n,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(I(e))return null;const n=this.getLabels();return((e,t)=>null===e?null:ye(Math.round(e),0,t))(t=isFinite(t)&&n[t]===e?t:function(e,t,n,r){const o=e.indexOf(t);return-1===o?((e,t,n,r)=>("string"==typeof t?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n))(e,t,n,r):o!==e.lastIndexOf(t)?n:o}(n,e,B(t,e),this._addedLabels),n.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:n,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(n=0),t||(r=this.getLabels().length-1)),this.min=n,this.max=r}buildTicks(){const e=this.min,t=this.max,n=this.options.offset,r=[];let o=this.getLabels();o=0===e&&t===o.length-1?o:o.slice(e,t+1),this._valueRange=Math.max(o.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let n=e;n<=t;n++)r.push({value:n});return r}getLabelForValue(e){return ho.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function po(e,t,{horizontal:n,minRotation:r}){const o=pe(r),i=(n?Math.sin(o):Math.cos(o))||.001,a=.75*t*(""+e).length;return Math.min(t/i,a)}class mo extends lr{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return I(e)||("number"==typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:r,max:o}=this;const i=e=>r=t?r:e,a=e=>o=n?o:e;if(e){const e=ue(r),t=ue(o);e<0&&t<0?a(0):e>0&&t>0&&i(0)}if(r===o){let t=0===o?1:Math.abs(.05*o);a(o+t),e||i(r-t)}this.min=r,this.max=o}getTickLimit(){const e=this.options.ticks;let t,{maxTicksLimit:n,stepSize:r}=e;return r?(t=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,t>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${t} ticks. Limiting to 1000.`),t=1e3)):(t=this.computeTickLimit(),n=n||11),n&&(t=Math.min(n,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let n=this.getTickLimit();n=Math.max(2,n);const r=function(e,t){const n=[],{bounds:r,step:o,min:i,max:a,precision:s,count:l,maxTicks:c,maxDigits:u,includeBounds:h}=e,f=o||1,d=c-1,{min:p,max:m}=t,g=!I(i),y=!I(a),v=!I(l),b=(m-p)/(u+1);let x,w,k,S,O=fe((m-p)/d/f)*f;if(O<1e-14&&!g&&!y)return[{value:p},{value:m}];S=Math.ceil(m/O)-Math.floor(p/O),S>d&&(O=fe(S*O/d/f)*f),I(s)||(x=Math.pow(10,s),O=Math.ceil(O*x)/x),"ticks"===r?(w=Math.floor(p/O)*O,k=Math.ceil(m/O)*O):(w=p,k=m),g&&y&&o&&function(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}((a-i)/o,O/1e3)?(S=Math.round(Math.min((a-i)/O,c)),O=(a-i)/S,w=i,k=a):v?(w=g?i:w,k=y?a:k,S=l-1,O=(k-w)/S):(S=(k-w)/O,S=he(S,Math.round(S),O/1e3)?Math.round(S):Math.ceil(S));const _=Math.max(me(O),me(w));x=Math.pow(10,I(s)?_:s),w=Math.round(w*x)/x,k=Math.round(k*x)/x;let E=0;for(g&&(h&&w!==i?(n.push({value:i}),w<i&&E++,he(Math.round((w+E*O)*x)/x,i,po(i,b,e))&&E++):w<i&&E++);E<S;++E){const e=Math.round((w+E*O)*x)/x;if(y&&e>a)break;n.push({value:e})}return y&&h&&k!==a?n.length&&he(n[n.length-1].value,a,po(a,b,e))?n[n.length-1].value=a:n.push({value:a}):y&&k!==a||n.push({value:k}),n}({maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&function(e,t,n){let r,o,i;for(r=0,o=e.length;r<o;r++)i=e[r][n],isNaN(i)||(t.min=Math.min(t.min,i),t.max=Math.max(t.max,i))}(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const e=this.ticks;let t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){const r=(n-t)/Math.max(e.length-1,1)/2;t-=r,n+=r}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return De(e,this.chart.options.locale,this.options.ticks.format)}}class go extends mo{static id="linear";static defaults={ticks:{callback:Be.formatters.numeric}};determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=D(e)?e:0,this.max=D(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,n=pe(this.options.ticks.minRotation),r=(e?Math.sin(n):Math.cos(n))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,o.lineHeight/r))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}Be.formatters.logarithmic,Be.formatters.numeric},6841:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>Xe});var r=n(1594);function o(){return o=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},o.apply(this,arguments)}const i=["children","options"];var a,s,l;(l=a||(a={})).blockQuote="0",l.breakLine="1",l.breakThematic="2",l.codeBlock="3",l.codeFenced="4",l.codeInline="5",l.footnote="6",l.footnoteReference="7",l.gfmTask="8",l.heading="9",l.headingSetext="10",l.htmlBlock="11",l.htmlComment="12",l.htmlSelfClosing="13",l.image="14",l.link="15",l.linkAngleBraceStyleDetector="16",l.linkBareUrlDetector="17",l.linkMailtoDetector="18",l.newlineCoalescer="19",l.orderedList="20",l.paragraph="21",l.ref="22",l.refImage="23",l.refLink="24",l.table="25",l.tableSeparator="26",l.text="27",l.textBolded="28",l.textEmphasized="29",l.textEscaped="30",l.textMarked="31",l.textStrikethroughed="32",l.unorderedList="33",function(e){e[e.MAX=0]="MAX",e[e.HIGH=1]="HIGH",e[e.MED=2]="MED",e[e.LOW=3]="LOW",e[e.MIN=4]="MIN"}(s||(s={}));const c=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{for:"htmlFor"}),u={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},h=["style","script"],f=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,d=/mailto:/i,p=/\n{2,}$/,m=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,g=/^ *> ?/gm,y=/^ {2,}\n/,v=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,b=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,x=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,w=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,k=/^(?:\n *)*\n/,S=/\r\n?/g,O=/^\[\^([^\]]+)](:.*)\n/,_=/^\[\^([^\]]+)]/,E=/\f/g,C=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,A=/^\s*?\[(x|\s)\]/,j=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,P=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,M=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,R=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,T=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,L=/^<!--[\s\S]*?(?:-->)/,I=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,N=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,z=/^\{.*\}$/,D=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,F=/^<([^ >]+@[^ >]+)>/,B=/^<([^ >]+:\/[^ >]+)>/,$=/-([a-z])?/gi,H=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,W=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,q=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,V=/^\[([^\]]*)\] ?\[([^\]]*)\]/,U=/(\[|\])/g,K=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,Q=/\t/g,G=/^ *\| */,Y=/(^ *\||\| *$)/g,Z=/ *$/,X=/^ *:-+: *$/,J=/^ *:-+ *$/,ee=/^ *-+: *$/,te=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,ne=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,re=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,oe=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,ie=/^\\([^0-9A-Za-z\s])/,ae=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,se=/^\n+/,le=/^([ \t]*)/,ce=/\\([^\\])/g,ue=/ *\n+$/,he=/(?:^|\n)( *)$/,fe="(?:\\d+\\.)",de="(?:[*+-])";function pe(e){return"( *)("+(1===e?fe:de)+") +"}const me=pe(1),ge=pe(2);function ye(e){return new RegExp("^"+(1===e?me:ge))}const ve=ye(1),be=ye(2);function xe(e){return new RegExp("^"+(1===e?me:ge)+"[^\\n]*(?:\\n(?!\\1"+(1===e?fe:de)+" )[^\\n]*)*(\\n|$)","gm")}const we=xe(1),ke=xe(2);function Se(e){const t=1===e?fe:de;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const Oe=Se(1),_e=Se(2);function Ee(e,t){const n=1===t,r=n?Oe:_e,o=n?we:ke,i=n?ve:be;return{match(e,t,n){const o=he.exec(n);return o&&(t.list||!t.inline&&!t.simple)?r.exec(e=o[1]+e):null},order:1,parse(e,t,r){const a=n?+e[2]:void 0,s=e[0].replace(p,"\n").match(o);let l=!1;return{items:s.map((function(e,n){const o=i.exec(e)[0].length,a=new RegExp("^ {1,"+o+"}","gm"),c=e.replace(a,"").replace(i,""),u=n===s.length-1,h=-1!==c.indexOf("\n\n")||u&&l;l=h;const f=r.inline,d=r.list;let p;r.list=!0,h?(r.inline=!1,p=c.replace(ue,"\n\n")):(r.inline=!0,p=c.replace(ue,""));const m=t(p,r);return r.inline=f,r.list=d,m})),ordered:n,start:a}},render:(t,n,r)=>e(t.ordered?"ol":"ul",{key:r.key,start:"20"===t.type?t.start:void 0},t.items.map((function(t,o){return e("li",{key:o},n(t,r))})))}}const Ce=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,Ae=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,je=[m,b,x,j,M,P,L,H,we,Oe,ke,_e],Pe=[...je,/^[^\n]+(?:  \n|\n{2,})/,R,N];function Me(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function Re(e){return ee.test(e)?"right":X.test(e)?"center":J.test(e)?"left":null}function Te(e,t,n){const r=n.inTable;n.inTable=!0;const o=t(e.trim(),n);n.inTable=r;let i=[[]];return o.forEach((function(e,t){"26"===e.type?0!==t&&t!==o.length-1&&i.push([]):("27"!==e.type||null!=o[t+1]&&"26"!==o[t+1].type||(e.text=e.text.replace(Z,"")),i[i.length-1].push(e))})),i}function Le(e,t,n){n.inline=!0;const r=Te(e[1],t,n),o=e[2].replace(Y,"").split("|").map(Re),i=function(e,t,n){return e.trim().split("\n").map((function(e){return Te(e,t,n)}))}(e[3],t,n);return n.inline=!1,{align:o,cells:i,header:r,type:"25"}}function Ie(e,t){return null==e.align[t]?{}:{textAlign:e.align[t]}}function Ne(e){return function(t,n){return n.inline?e.exec(t):null}}function ze(e){return function(t,n){return n.inline||n.simple?e.exec(t):null}}function De(e){return function(t,n){return n.inline||n.simple?null:e.exec(t)}}function Fe(e){return function(t){return e.exec(t)}}function Be(e,t,n){if(t.inline||t.simple)return null;if(n&&!n.endsWith("\n"))return null;let r="";e.split("\n").every((e=>!je.some((t=>t.test(e)))&&(r+=e+"\n",e.trim())));const o=r.trimEnd();return""==o?null:[r,o]}function $e(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch(e){return null}return e}function He(e){return e.replace(ce,"$1")}function We(e,t,n){const r=n.inline||!1,o=n.simple||!1;n.inline=!0,n.simple=!0;const i=e(t,n);return n.inline=r,n.simple=o,i}function qe(e,t,n){const r=n.inline||!1,o=n.simple||!1;n.inline=!1,n.simple=!0;const i=e(t,n);return n.inline=r,n.simple=o,i}function Ve(e,t,n){return n.inline=!1,e(t,n)}const Ue=(e,t,n)=>({children:We(t,e[1],n)});function Ke(){return{}}function Qe(){return null}function Ge(...e){return e.filter(Boolean).join(" ")}function Ye(e,t,n){let r=e;const o=t.split(".");for(;o.length&&(r=r[o[0]],void 0!==r);)o.shift();return r||n}function Ze(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||Me,t.namedCodesToUnicode=t.namedCodesToUnicode?o({},u,t.namedCodesToUnicode):u;const n=t.createElement||r.createElement;function i(e,r,...i){const a=Ye(t.overrides,`${e}.props`,{});return n(function(e,t){const n=Ye(t,e);return n?"function"==typeof n||"object"==typeof n&&"render"in n?n:Ye(t,`${e}.component`,e):e}(e,t.overrides),o({},r,a,{className:Ge(null==r?void 0:r.className,a.className)||void 0}),...i)}function a(e){e=e.replace(C,"");let n=!1;t.forceInline?n=!0:t.forceBlock||(n=!1===K.test(e));const o=X(Z(n?e:`${e.trimEnd().replace(se,"")}\n\n`,{inline:n}));for(;"string"==typeof o[o.length-1]&&!o[o.length-1].trim();)o.pop();if(null===t.wrapper)return o;const a=t.wrapper||(n?"span":"div");let s;if(o.length>1||t.forceWrapper)s=o;else{if(1===o.length)return s=o[0],"string"==typeof s?i("span",{key:"outer"},s):s;s=null}return r.createElement(a,{key:"outer"},s)}function s(e){const t=e.match(f);return t?t.reduce((function(e,t,n){const o=t.indexOf("=");if(-1!==o){const i=function(e){return-1!==e.indexOf("-")&&null===e.match(I)&&(e=e.replace($,(function(e,t){return t.toUpperCase()}))),e}(t.slice(0,o)).trim(),s=function(e){const t=e[0];return('"'===t||"'"===t)&&e.length>=2&&e[e.length-1]===t?e.slice(1,-1):e}(t.slice(o+1).trim()),l=c[i]||i,u=e[l]=function(e,t){return"style"===e?t.split(/;\s?/).reduce((function(e,t){const n=t.slice(0,t.indexOf(":"));return e[n.replace(/(-[a-z])/g,(e=>e[1].toUpperCase()))]=t.slice(n.length+1).trim(),e}),{}):"href"===e||"src"===e?$e(t):(t.match(z)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}(i,s);"string"==typeof u&&(R.test(u)||N.test(u))&&(e[l]=r.cloneElement(a(u.trim()),{key:n}))}else"style"!==t&&(e[c[t]||t]=!0);return e}),{}):null}const l=[],p={},Y={0:{match:De(m),order:1,parse:(e,t,n)=>({children:t(e[0].replace(g,""),n)}),render:(e,t,n)=>i("blockquote",{key:n.key},t(e.children,n))},1:{match:Fe(y),order:1,parse:Ke,render:(e,t,n)=>i("br",{key:n.key})},2:{match:De(v),order:1,parse:Ke,render:(e,t,n)=>i("hr",{key:n.key})},3:{match:De(x),order:0,parse:e=>({lang:void 0,text:e[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(e,t,n)=>i("pre",{key:n.key},i("code",o({},e.attrs,{className:e.lang?`lang-${e.lang}`:""}),e.text))},4:{match:De(b),order:0,parse:e=>({attrs:s(e[3]||""),lang:e[2]||void 0,text:e[4],type:"3"})},5:{match:ze(w),order:3,parse:e=>({text:e[2]}),render:(e,t,n)=>i("code",{key:n.key},e.text)},6:{match:De(O),order:0,parse:e=>(l.push({footnote:e[2],identifier:e[1]}),{}),render:Qe},7:{match:Ne(_),order:1,parse:e=>({target:`#${t.slugify(e[1])}`,text:e[1]}),render:(e,t,n)=>i("a",{key:n.key,href:$e(e.target)},i("sup",{key:n.key},e.text))},8:{match:Ne(A),order:1,parse:e=>({completed:"x"===e[1].toLowerCase()}),render:(e,t,n)=>i("input",{checked:e.completed,key:n.key,readOnly:!0,type:"checkbox"})},9:{match:De(t.enforceAtxHeadings?P:j),order:1,parse:(e,n,r)=>({children:We(n,e[2],r),id:t.slugify(e[2]),level:e[1].length}),render:(e,t,n)=>i(`h${e.level}`,{id:e.id,key:n.key},t(e.children,n))},10:{match:De(M),order:0,parse:(e,t,n)=>({children:We(t,e[1],n),level:"="===e[2]?1:2,type:"9"})},11:{match:Fe(R),order:1,parse(e,t,n){const[,r]=e[3].match(le),o=new RegExp(`^${r}`,"gm"),i=e[3].replace(o,""),a=(l=i,Pe.some((e=>e.test(l)))?Ve:We);var l;const c=e[1].toLowerCase(),u=-1!==h.indexOf(c),f={attrs:s(e[2]),noInnerParse:u,tag:u?c:e[1]};return n.inAnchor=n.inAnchor||"a"===c,u?f.text=e[3]:f.children=a(t,i,n),n.inAnchor=!1,f},render:(e,t,n)=>i(e.tag,o({key:n.key},e.attrs),e.text||t(e.children,n))},13:{match:Fe(N),order:1,parse:e=>({attrs:s(e[2]||""),tag:e[1]}),render:(e,t,n)=>i(e.tag,o({},e.attrs,{key:n.key}))},12:{match:Fe(L),order:1,parse:()=>({}),render:Qe},14:{match:ze(Ae),order:1,parse:e=>({alt:e[1],target:He(e[2]),title:e[3]}),render:(e,t,n)=>i("img",{key:n.key,alt:e.alt||void 0,title:e.title||void 0,src:$e(e.target)})},15:{match:Ne(Ce),order:3,parse:(e,t,n)=>({children:qe(t,e[1],n),target:He(e[2]),title:e[3]}),render:(e,t,n)=>i("a",{key:n.key,href:$e(e.target),title:e.title},t(e.children,n))},16:{match:Ne(B),order:0,parse:e=>({children:[{text:e[1],type:"27"}],target:e[1],type:"15"})},17:{match:(e,t)=>t.inAnchor?null:Ne(D)(e,t),order:0,parse:e=>({children:[{text:e[1],type:"27"}],target:e[1],title:void 0,type:"15"})},18:{match:Ne(F),order:0,parse(e){let t=e[1],n=e[1];return d.test(n)||(n="mailto:"+n),{children:[{text:t.replace("mailto:",""),type:"27"}],target:n,type:"15"}}},20:Ee(i,1),33:Ee(i,2),19:{match:De(k),order:3,parse:Ke,render:()=>"\n"},21:{match:Be,order:3,parse:Ue,render:(e,t,n)=>i("p",{key:n.key},t(e.children,n))},22:{match:Ne(W),order:0,parse:e=>(p[e[1]]={target:e[2],title:e[4]},{}),render:Qe},23:{match:ze(q),order:0,parse:e=>({alt:e[1]||void 0,ref:e[2]}),render:(e,t,n)=>i("img",{key:n.key,alt:e.alt,src:$e(p[e.ref].target),title:p[e.ref].title})},24:{match:Ne(V),order:0,parse:(e,t,n)=>({children:t(e[1],n),fallbackChildren:t(e[0].replace(U,"\\$1"),n),ref:e[2]}),render:(e,t,n)=>p[e.ref]?i("a",{key:n.key,href:$e(p[e.ref].target),title:p[e.ref].title},t(e.children,n)):i("span",{key:n.key},t(e.fallbackChildren,n))},25:{match:De(H),order:1,parse:Le,render:(e,t,n)=>i("table",{key:n.key},i("thead",null,i("tr",null,e.header.map((function(r,o){return i("th",{key:o,style:Ie(e,o)},t(r,n))})))),i("tbody",null,e.cells.map((function(r,o){return i("tr",{key:o},r.map((function(r,o){return i("td",{key:o,style:Ie(e,o)},t(r,n))})))}))))},26:{match:function(e,t){return t.inTable?(t.inline=!0,G.exec(e)):null},order:1,parse:function(){return{type:"26"}},render:()=>" | "},27:{match:Fe(ae),order:4,parse:e=>({text:e[0].replace(T,((e,n)=>t.namedCodesToUnicode[n]?t.namedCodesToUnicode[n]:e))}),render:e=>e.text},28:{match:ze(te),order:2,parse:(e,t,n)=>({children:t(e[2],n)}),render:(e,t,n)=>i("strong",{key:n.key},t(e.children,n))},29:{match:ze(ne),order:3,parse:(e,t,n)=>({children:t(e[2],n)}),render:(e,t,n)=>i("em",{key:n.key},t(e.children,n))},30:{match:ze(ie),order:1,parse:e=>({text:e[1],type:"27"})},31:{match:ze(re),order:3,parse:Ue,render:(e,t,n)=>i("mark",{key:n.key},t(e.children,n))},32:{match:ze(oe),order:3,parse:Ue,render:(e,t,n)=>i("del",{key:n.key},t(e.children,n))}};!0===t.disableParsingRawHTML&&(delete Y[11],delete Y[13]);const Z=function(e){let t=Object.keys(e);function n(r,o){let i=[],a="";for(;r;){let s=0;for(;s<t.length;){const l=t[s],c=e[l],u=c.match(r,o,a);if(u){const e=u[0];r=r.substring(e.length);const t=c.parse(u,n,o);null==t.type&&(t.type=l),i.push(t),a=e;break}s++}}return i}return t.sort((function(t,n){let r=e[t].order,o=e[n].order;return r!==o?r-o:1})),function(e,t){return n(function(e){return e.replace(S,"\n").replace(E,"").replace(Q,"    ")}(e),t)}}(Y),X=(J=function(e,t){return function(n,r,o){const i=e[n.type].render;return t?t((()=>i(n,r,o)),n,r,o):i(n,r,o)}}(Y,t.renderRule),function e(t,n={}){if(Array.isArray(t)){const r=n.key,o=[];let i=!1;for(let r=0;r<t.length;r++){n.key=r;const a=e(t[r],n),s="string"==typeof a;s&&i?o[o.length-1]+=a:null!==a&&o.push(a),i=s}return n.key=r,o}return J(t,e,n)});var J;const ee=a(e);return l.length?i("div",null,ee,i("footer",{key:"footer"},l.map((function(e){return i("div",{id:t.slugify(e.identifier),key:e.identifier},e.identifier,X(Z(e.footnote,{inline:!0})))})))):ee}const Xe=e=>{let{children:t,options:n}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(e,i);return r.cloneElement(Ze(t,n),o)}},4731:(e,t,n)=>{"use strict";n.d(t,{yP:()=>d});var r=n(1594),o=n(2262);const i="label";function a(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function s(e,t){e.labels=t}function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i;const r=[];e.datasets=t.map((t=>{const o=e.datasets.find((e=>e[n]===t[n]));return o&&t.data&&!r.includes(o)?(r.push(o),Object.assign(o,t),o):{...t}}))}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;const n={labels:[],datasets:[]};return s(n,e.labels),l(n,e.datasets,t),n}function u(e,t){const{height:n=150,width:i=300,redraw:u=!1,datasetIdKey:h,type:f,data:d,options:p,plugins:m=[],fallbackContent:g,updateMode:y,...v}=e,b=(0,r.useRef)(null),x=(0,r.useRef)(),w=()=>{b.current&&(x.current=new o.t1(b.current,{type:f,data:c(d,h),options:p&&{...p},plugins:m}),a(t,x.current))},k=()=>{a(t,null),x.current&&(x.current.destroy(),x.current=null)};return(0,r.useEffect)((()=>{!u&&x.current&&p&&function(e,t){const n=e.options;n&&t&&Object.assign(n,t)}(x.current,p)}),[u,p]),(0,r.useEffect)((()=>{!u&&x.current&&s(x.current.config.data,d.labels)}),[u,d.labels]),(0,r.useEffect)((()=>{!u&&x.current&&d.datasets&&l(x.current.config.data,d.datasets,h)}),[u,d.datasets]),(0,r.useEffect)((()=>{x.current&&(u?(k(),setTimeout(w)):x.current.update(y))}),[u,p,d.labels,d.datasets,y]),(0,r.useEffect)((()=>{x.current&&(k(),setTimeout(w))}),[f]),(0,r.useEffect)((()=>(w(),()=>k())),[]),r.createElement("canvas",Object.assign({ref:b,role:"img",height:n,width:i},v),g)}const h=(0,r.forwardRef)(u);function f(e,t){return o.t1.register(t),(0,r.forwardRef)(((t,n)=>r.createElement(h,Object.assign({},t,{ref:n,type:e}))))}const d=f("bar",o.A6)},7612:(e,t,n)=>{"use strict";n.d(t,{jI:()=>M});var r=n(1594);function o(){return(o=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}).apply(this,arguments)}function i(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}function a(e){var t=(0,r.useRef)(e),n=(0,r.useRef)((function(e){t.current&&t.current(e)}));return t.current=e,n.current}var s=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e<t?t:e},l=function(e){return"touches"in e},c=function(e){return e&&e.ownerDocument.defaultView||self},u=function(e,t,n){var r=e.getBoundingClientRect(),o=l(t)?function(e,t){for(var n=0;n<e.length;n++)if(e[n].identifier===t)return e[n];return e[0]}(t.touches,n):t;return{left:s((o.pageX-(r.left+c(e).pageXOffset))/r.width),top:s((o.pageY-(r.top+c(e).pageYOffset))/r.height)}},h=function(e){!l(e)&&e.preventDefault()},f=r.memo((function(e){var t=e.onMove,n=e.onKey,s=i(e,["onMove","onKey"]),f=(0,r.useRef)(null),d=a(t),p=a(n),m=(0,r.useRef)(null),g=(0,r.useRef)(!1),y=(0,r.useMemo)((function(){var e=function(e){h(e),(l(e)?e.touches.length>0:e.buttons>0)&&f.current?d(u(f.current,e,m.current)):n(!1)},t=function(){return n(!1)};function n(n){var r=g.current,o=c(f.current),i=n?o.addEventListener:o.removeEventListener;i(r?"touchmove":"mousemove",e),i(r?"touchend":"mouseup",t)}return[function(e){var t=e.nativeEvent,r=f.current;if(r&&(h(t),!function(e,t){return t&&!l(e)}(t,g.current)&&r)){if(l(t)){g.current=!0;var o=t.changedTouches||[];o.length&&(m.current=o[0].identifier)}r.focus(),d(u(r,t,m.current)),n(!0)}},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),p({left:39===t?.05:37===t?-.05:0,top:40===t?.05:38===t?-.05:0}))},n]}),[p,d]),v=y[0],b=y[1],x=y[2];return(0,r.useEffect)((function(){return x}),[x]),r.createElement("div",o({},s,{onTouchStart:v,onMouseDown:v,className:"react-colorful__interactive",ref:f,onKeyDown:b,tabIndex:0,role:"slider"}))})),d=function(e){return e.filter(Boolean).join(" ")},p=function(e){var t=e.color,n=e.left,o=e.top,i=void 0===o?.5:o,a=d(["react-colorful__pointer",e.className]);return r.createElement("div",{className:a,style:{top:100*i+"%",left:100*n+"%"}},r.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},m=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n},g=(Math.PI,function(e){return k(y(e))}),y=function(e){return"#"===e[0]&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?m(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?m(parseInt(e.substring(6,8),16)/255,2):1}},v=function(e){var t=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:m(e.h),s:m(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:m(o/2),a:m(r,2)}}(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},b=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var i=Math.floor(t),a=r*(1-n),s=r*(1-(t-i)*n),l=r*(1-(1-t+i)*n),c=i%6;return{r:m(255*[r,s,a,a,l,r][c]),g:m(255*[l,r,r,s,a,a][c]),b:m(255*[a,a,l,r,r,s][c]),a:m(o,2)}},x=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},w=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=o<1?x(m(255*o)):"";return"#"+x(t)+x(n)+x(r)+i},k=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=Math.max(t,n,r),a=i-Math.min(t,n,r),s=a?i===t?(n-r)/a:i===n?2+(r-t)/a:4+(t-n)/a:0;return{h:m(60*(s<0?s+6:s)),s:m(i?a/i*100:0),v:m(i/255*100),a:o}},S=r.memo((function(e){var t=e.hue,n=e.onChange,o=d(["react-colorful__hue",e.className]);return r.createElement("div",{className:o},r.createElement(f,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:s(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuenow":m(t),"aria-valuemax":"360","aria-valuemin":"0"},r.createElement(p,{className:"react-colorful__hue-pointer",left:t/360,color:v({h:t,s:100,v:100,a:1})})))})),O=r.memo((function(e){var t=e.hsva,n=e.onChange,o={backgroundColor:v({h:t.h,s:100,v:100,a:1})};return r.createElement("div",{className:"react-colorful__saturation",style:o},r.createElement(f,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+m(t.s)+"%, Brightness "+m(t.v)+"%"},r.createElement(p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:v(t)})))})),_=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0};function E(e,t,n){var o=a(n),i=(0,r.useState)((function(){return e.toHsva(t)})),s=i[0],l=i[1],c=(0,r.useRef)({color:t,hsva:s});(0,r.useEffect)((function(){if(!e.equal(t,c.current.color)){var n=e.toHsva(t);c.current={hsva:n,color:t},l(n)}}),[t,e]),(0,r.useEffect)((function(){var t;_(s,c.current.hsva)||e.equal(t=e.fromHsva(s),c.current.color)||(c.current={hsva:s,color:t},o(t))}),[s,e,o]);var u=(0,r.useCallback)((function(e){l((function(t){return Object.assign({},t,e)}))}),[]);return[s,u]}var C="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,A=new Map,j=function(e){var t,a=e.className,s=e.colorModel,l=e.color,c=void 0===l?s.defaultColor:l,u=e.onChange,h=i(e,["className","colorModel","color","onChange"]),f=(0,r.useRef)(null);t=f,C((function(){var e=t.current?t.current.ownerDocument:document;if(void 0!==e&&!A.has(e)){var r=e.createElement("style");r.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',A.set(e,r);var o=n.nc;o&&r.setAttribute("nonce",o),e.head.appendChild(r)}}),[]);var p=E(s,c,u),m=p[0],g=p[1],y=d(["react-colorful",a]);return r.createElement("div",o({},h,{ref:f,className:y}),r.createElement(O,{hsva:m,onChange:g}),r.createElement(S,{hue:m.h,onChange:g,className:"react-colorful__last-control"}))},P={defaultColor:"000",toHsva:g,fromHsva:function(e){return function(e){return w(b(e))}({h:e.h,s:e.s,v:e.v,a:1})},equal:function(e,t){return e.toLowerCase()===t.toLowerCase()||_(y(e),y(t))}},M=function(e){return r.createElement(j,o({},e,{colorModel:P}))}},2902:(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:()=>s});var o={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onBegin:function(e){},onComplete:function(e){},preStringTyped:function(e,t){},onStringTyped:function(e,t){},onLastStringBackspaced:function(e){},onTypingPaused:function(e,t){},onTypingResumed:function(e,t){},onReset:function(e){},onStop:function(e,t){},onStart:function(e,t){},onDestroy:function(e){}},i=new(function(){function e(){}var t=e.prototype;return t.load=function(e,t,n){if(e.el="string"==typeof n?document.querySelector(n):n,e.options=r({},o,t),e.isInput="input"===e.el.tagName.toLowerCase(),e.attr=e.options.attr,e.bindInputFocusEvents=e.options.bindInputFocusEvents,e.showCursor=!e.isInput&&e.options.showCursor,e.cursorChar=e.options.cursorChar,e.cursorBlinking=!0,e.elContent=e.attr?e.el.getAttribute(e.attr):e.el.textContent,e.contentType=e.options.contentType,e.typeSpeed=e.options.typeSpeed,e.startDelay=e.options.startDelay,e.backSpeed=e.options.backSpeed,e.smartBackspace=e.options.smartBackspace,e.backDelay=e.options.backDelay,e.fadeOut=e.options.fadeOut,e.fadeOutClass=e.options.fadeOutClass,e.fadeOutDelay=e.options.fadeOutDelay,e.isPaused=!1,e.strings=e.options.strings.map((function(e){return e.trim()})),e.stringsElement="string"==typeof e.options.stringsElement?document.querySelector(e.options.stringsElement):e.options.stringsElement,e.stringsElement){e.strings=[],e.stringsElement.style.cssText="clip: rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;";var i=Array.prototype.slice.apply(e.stringsElement.children),a=i.length;if(a)for(var s=0;s<a;s+=1)e.strings.push(i[s].innerHTML.trim())}for(var l in e.strPos=0,e.currentElContent=this.getCurrentElContent(e),e.currentElContent&&e.currentElContent.length>0&&(e.strPos=e.currentElContent.length-1,e.strings.unshift(e.currentElContent)),e.sequence=[],e.strings)e.sequence[l]=l;e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.autoInsertCss=e.options.autoInsertCss,e.autoInsertCss&&(this.appendCursorAnimationCss(e),this.appendFadeOutAnimationCss(e))},t.getCurrentElContent=function(e){return e.attr?e.el.getAttribute(e.attr):e.isInput?e.el.value:"html"===e.contentType?e.el.innerHTML:e.el.textContent},t.appendCursorAnimationCss=function(e){var t="data-typed-js-cursor-css";if(e.showCursor&&!document.querySelector("["+t+"]")){var n=document.createElement("style");n.setAttribute(t,"true"),n.innerHTML="\n        .typed-cursor{\n          opacity: 1;\n        }\n        .typed-cursor.typed-cursor--blink{\n          animation: typedjsBlink 0.7s infinite;\n          -webkit-animation: typedjsBlink 0.7s infinite;\n                  animation: typedjsBlink 0.7s infinite;\n        }\n        @keyframes typedjsBlink{\n          50% { opacity: 0.0; }\n        }\n        @-webkit-keyframes typedjsBlink{\n          0% { opacity: 1; }\n          50% { opacity: 0.0; }\n          100% { opacity: 1; }\n        }\n      ",document.body.appendChild(n)}},t.appendFadeOutAnimationCss=function(e){var t="data-typed-fadeout-js-css";if(e.fadeOut&&!document.querySelector("["+t+"]")){var n=document.createElement("style");n.setAttribute(t,"true"),n.innerHTML="\n        .typed-fade-out{\n          opacity: 0;\n          transition: opacity .25s;\n        }\n        .typed-cursor.typed-cursor--blink.typed-fade-out{\n          -webkit-animation: 0;\n          animation: 0;\n        }\n      ",document.body.appendChild(n)}},e}()),a=new(function(){function e(){}var t=e.prototype;return t.typeHtmlChars=function(e,t,n){if("html"!==n.contentType)return t;var r=e.substring(t).charAt(0);if("<"===r||"&"===r){var o;for(o="<"===r?">":";";e.substring(t+1).charAt(0)!==o&&!(1+ ++t>e.length););t++}return t},t.backSpaceHtmlChars=function(e,t,n){if("html"!==n.contentType)return t;var r=e.substring(t).charAt(0);if(">"===r||";"===r){var o;for(o=">"===r?"<":"&";e.substring(t-1).charAt(0)!==o&&!(--t<0););t--}return t},e}()),s=function(){function e(e,t){i.load(this,t,e),this.begin()}var t=e.prototype;return t.toggle=function(){this.pause.status?this.start():this.stop()},t.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},t.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},t.destroy=function(){this.reset(!1),this.options.onDestroy(this)},t.reset=function(e){void 0===e&&(e=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,e&&(this.insertCursor(),this.options.onReset(this),this.begin())},t.begin=function(){var e=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout((function(){0===e.strPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],e.strPos):e.backspace(e.strings[e.sequence[e.arrayPos]],e.strPos)}),this.startDelay)},t.typewrite=function(e,t){var n=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var r=this.humanizer(this.typeSpeed),o=1;!0!==this.pause.status?this.timeout=setTimeout((function(){t=a.typeHtmlChars(e,t,n);var r=0,i=e.substring(t);if("^"===i.charAt(0)&&/^\^\d+/.test(i)){var s=1;s+=(i=/\d+/.exec(i)[0]).length,r=parseInt(i),n.temporaryPause=!0,n.options.onTypingPaused(n.arrayPos,n),e=e.substring(0,t)+e.substring(t+s),n.toggleBlinking(!0)}if("`"===i.charAt(0)){for(;"`"!==e.substring(t+o).charAt(0)&&(o++,!(t+o>e.length)););var l=e.substring(0,t),c=e.substring(l.length+1,t+o),u=e.substring(t+o+1);e=l+c+u,o--}n.timeout=setTimeout((function(){n.toggleBlinking(!1),t>=e.length?n.doneTyping(e,t):n.keepTyping(e,t,o),n.temporaryPause&&(n.temporaryPause=!1,n.options.onTypingResumed(n.arrayPos,n))}),r)}),r):this.setPauseStatus(e,t,!0)},t.keepTyping=function(e,t,n){0===t&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this));var r=e.substring(0,t+=n);this.replaceText(r),this.typewrite(e,t)},t.doneTyping=function(e,t){var n=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout((function(){n.backspace(e,t)}),this.backDelay))},t.backspace=function(e,t){var n=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var r=this.humanizer(this.backSpeed);this.timeout=setTimeout((function(){t=a.backSpaceHtmlChars(e,t,n);var r=e.substring(0,t);if(n.replaceText(r),n.smartBackspace){var o=n.strings[n.arrayPos+1];n.stopNum=o&&r===o.substring(0,t)?t:0}t>n.stopNum?(t--,n.backspace(e,t)):t<=n.stopNum&&(n.arrayPos++,n.arrayPos===n.strings.length?(n.arrayPos=0,n.options.onLastStringBackspaced(),n.shuffleStringsIfNeeded(),n.begin()):n.typewrite(n.strings[n.sequence[n.arrayPos]],t))}),r)}else this.setPauseStatus(e,t,!1)},t.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},t.setPauseStatus=function(e,t,n){this.pause.typewrite=n,this.pause.curString=e,this.pause.curStrPos=t},t.toggleBlinking=function(e){this.cursor&&(this.pause.status||this.cursorBlinking!==e&&(this.cursorBlinking=e,e?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},t.humanizer=function(e){return Math.round(Math.random()*e/2)+e},t.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort((function(){return Math.random()-.5})))},t.initFadeOut=function(){var e=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout((function(){e.arrayPos++,e.replaceText(""),e.strings.length>e.arrayPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],0):(e.typewrite(e.strings[0],0),e.arrayPos=0)}),this.fadeOutDelay)},t.replaceText=function(e){this.attr?this.el.setAttribute(this.attr,e):this.isInput?this.el.value=e:"html"===this.contentType?this.el.innerHTML=e:this.el.textContent=e},t.bindFocusEvents=function(){var e=this;this.isInput&&(this.el.addEventListener("focus",(function(t){e.stop()})),this.el.addEventListener("blur",(function(t){e.el.value&&0!==e.el.value.length||e.start()})))},t.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},e}()}}]);

ESTRELLA Pharma – Affy Pharma Pvt Ltd

TREPODOX

POWDER FOR ORAL SUSPENSION
30ML (HDPE BOTTLE)

Composition

Cefpodoxime 50mg/5ml

Indications & Uses

UTIs, LRTs

TREPODOX – CV

POWDER FOR ORAL SUSPENSION
30ML (GLASS BOTTLE)

Composition

Cefpodoxime 50mg + Potassium Clavulanate 31.25mg/ 5ml

Indications & Uses

Upper & lower respiratory infections, Uncomplicated skin infections, Urinary Tract Infections

ESTY CLAV

POWDER FOR ORAL SUSPENSION
30ML (GLASS +HDPE BOTTLE)

Composition

Amoxycillin 200mg + Potassium clavulanate 28.50 mg/ 5ml

Indications & Uses

Community Acquired Pneumonia, Acute Exacerbations of Chronic Bronchitis, Upper Respiratory Tract Infections, Urinary Tract Infections

ESTRIXIME – CV

POWDER FOR ORAL SUSPENSION
30ML (GLASS BOTTLE)

Composition

Cefixime 50mg + Potassium clavulanate 31.25mg/5ml

Indications & Uses

Urinary Tract Inefctions, AECB, Otitis Media, Typhoid/p>

ESTRIXIME

POWDER FOR ORAL SUSPENSION
30ML (HDPE BOTTLE)

Composition

Cefixime 50mg/5ml

Indications & Uses

Urinary Tract Inefctions, Gastroenteritis

REOMELL

ORAL SUSPENSION
15 ml

Composition

Azithromycin 200mg/5ml

Indications & Uses

Community Acquired Pneumonia, Acute Exacerbations of Chronic Bronchitis,

TAMEST – DS

ORAL SUSPENSION
60 ml

Composition

Paracetamol 250mg/5ml

Indications & Uses

Fever, Pain

STREFEN

ORAL SUSPENSION
60 ml

Composition

Paracetamol 125mg + Mefenamic Acid 50mg/5ml

Indications & Uses

Pain, Fever

STREFOX

ORAL SUSPENSION
30 ml

Composition

Ofloxacin 50mg/5ml

Indications & Uses

Acute exacerbations of chronic Bronchitis, Diarrhoea

TAMACET-P

SYRUP
60 ml

Composition

Paracetamol 125mg + PPH 5mg + Cetirizine HCI 2mg/5ml

Indications & Uses

Fever, common cold & Flu

HEPTRELL

ORAL SUSPENSION
200ml

Composition

Cyproheptadine HCI 2mg + Tricholine citrate 0.275mg/5ml

Indications & Uses

Stimulate Apetite, Induces Weight Gain, Cure Allergies

TREP-DSR

CAPSULES ( HARD GELATIN)
10X10 (Alu-Alu)

Composition

Pantoprazole 40mg (EC) + Domperidone 30mg (SR)

Indications & Uses

GERD, Dyspepsia, Acid Peptic Disorders, Gastritis

RALE-DSR

CAPSULES ( HARD GELATIN)
11X10 (Alu-Alu)

Composition

Rabeprazole 20mg (EC) + Domperidone SR

Indications & Uses

GERD, Dyspepsia, Acid Peptic Disorders, Gastritis

STRETOP-40

INJECTION
40ml

Composition

Pantoprazole Sodium 40mg + NaCL

Indications & Uses

Acid-peptic disorders in hospitalized patients, Zollinger – Ellison Syndrome, Treatment of GERD Associated with Erasive Esophagitis, GL Bleed

DIMACID

SUSPENSION
170ml

Composition

Activated Dimethicone 25mg + Magnesium Hydroxide 200mg+ Aluminium Hydroxide Gel 200mg/10ml

Indications & Uses

Heartburn, Acid Indigestion

ELLAZYME

SYRUP
200ml

Composition

Alpha Amylase (1:2000) 50mg, Pepsin(1:3000) 10mg/5ml

Indications & Uses

Dyspepsia, Flatulence, Anorexia, Pancreatic Insufficiency

ARBOLL-Z

CAPSULES (HARD GELATIN)
10X3X10

Composition

Vitamin C 75mg + Vitamin B12 5mcg + Carbonyl Iron 100mg + Folic Acid 1.5mg + Zinc Sulphate 61.8mg

Indications & Uses

Hyphocromic Anemia in Pregnancy, Chronic and / or Acute Blood Loss, Post-gynaesurgery, Iron Deficiency Anemia

EST-D3 60K

CAPSULES (SOFT GELATIN)
10X1X4

Composition

Cholecalciferol 60000 UI

Indications & Uses

Osteoporosis, Osteoarthritis, Musculoskeletal Pain, Type- 2 Diabetes, Menstrual Irregularities, Pre-eclampsia, IUGR

STREBONA

ORAL SUSPENSION
200ml

Composition

Calcium Carbonate 625mg, Vitamin D3 125 IU/5ml

Indications & Uses

Osteomalacia, Osteoporosis, Fractures, Premenstrual Syndrome

STREFE-III

SYRUP (IRON TONIC)
300 ml

Composition

Iron (III) Hydroxide Polymaltose 50mg, Folic Acid 0.5mg/15ml

Indications & Uses

Pregnancy and lactation, Iron Deficiency Anaemia, Anaemia due to Excessive Haemorrhage, Anaemia Associated with Infections and Malignant Disease

STRECIUM

CAPSULES (SOFT GELATIN)
5X2X15

Composition

Calcitriol 0.25mcg + Calcium Carbonate 500mg + Zinc Sulphate 7.5mg

Indications & Uses

Osteoporosis, Hypoparathyroidism, Pregnancy & Lactation, Premenstrual Syndrome

ESTRE-SPAS

TABLETS
20X10

Composition

Mefenamic Acid 250mg + Dicyclomine HCI 10mg

Indications & Uses

Dysmenorrhea, Irritable Bowel Syndrome, Colic and Bladder Spasm, Abdominal Pain

TAMEST-A

TABLETS (BLISTERS)
20X10

Composition

Nimeulide 100mg + Paracetamo; 325mg

Indications & Uses

Arthritis Pain, Soft Tissue Trauma Including Sprains, Musculoskeletal Pain, Pain Following Dental Extraction

PARTRA FORTE

TABLETS

20X10

Composition

Tramadol 37.5mg + Paracetamol 325mg

Indications & Uses

Chronic Back Pain, Osteoarthritis, Postoperative Pain

UMRELY GEL

GEL
30g

Composition

Diclofenac Diethylamine 1.16% w/w + Oleum Linseed Oil 3 % w/w + Menthol 5% w/w +Methyl Salicylate 10% w/w

Indications & Uses

Sprains & Strains, Lower Back Pain, Joint Pain, Knee Pain

MOISTACT

CREAM
20g

Composition

Urea 10% +Lactic Acid 10% + Propylene Glycol 10% + Liquid Paraffin 10%

Indications & Uses

Foot Cracks, Keratolytic

BELODIP

OINTMENT
15g

Composition

Clotrimazole 1% w/w + Beclomethasone Dipropionate 0.025% w/w + Neomycin 0.5% w/w

Indications & Uses

Eczema, Psoriasis, Corticosteroid Responsive Dermatoses

MIN-DAND

LOTION
100 ml

Composition

Ketoconazole 2% w/v

Indications & Uses

Pityriasis, Dandruff

MIN-DAND-Z

LOTION
100 ml

Composition

Ketoconazole Shampoo 2% w/v + ZPTO 1% w/v

Indications & Uses

Pityriasis, Dandruff

MIN-DAND

SOAP
75g

Composition

Ketoconazole 1% w/w

Indications & Uses

Tinea Versicolor, Prophylaxis of Pityriasis Versicolor

FLUTRELLA

TABLETS
20X1X1

Composition

Fluconazole 200mg

Indications & Uses

Vaginal Candidiasis, Brochopulmonary Infections, Candiduria, Tinea Pedis, Corposis, Cruris, Versicolor

ESTRAVIT

SYRUP
200ml

Composition

L-Iysine HCI 25mg + Vitamin B1 2.5mg + Vitamin B2 2.5mg + Vitamin B6 0.75mg + D-panthenol 3mg +Niacinamide 25mg + Mecobalamin 2mcg/10ml

Indications & Uses

Sub-optimal Growth, Poor Weight Gain, Malnutrition, Prolonged Illness

LYCOSTER PLUS

SYRUP
225ml

Composition

Each 10ml Contains: Lycopene 6% 1000mcg + Vitamin A Palmitate 2500 IU + Vitamin E 10 IU + Ascorbic Acid 50mg + Selenium (as Sodium Selenate) 35mcg + Zinc (As Zinc Gluconate) 3mg + Manganese (as Manganese Gluconate) 2mg + Iodine ( As Potassium Iodine) 100mcg + Copper (As Copper Sulphate0 500mcg + Thiamine HCI 2mg + Riboflavine 3mg + Pyridoxine HCI 1.5mg

Indications & Uses

Tiredness, Stress, Feeling of Weakness, Vitality Deficiency

OSERON

CAPSULES (SOFT GELATIN)
10X1X10

Composition

Antioxidant, Multivitamin & Multiminerals

Indications & Uses

Tiredness, Stress, Feeling of Weakness, Vitality Deficiency

GERMELLA

CAPSULES (SOFT GELATIN)
10X1X10

Composition

Vitamin E (Natural) 400 IU + Wheat Germ Oil 100mg + Omega 3 Fatty Acids 30mg

Indications & Uses

Ulcerative colitis, Metabolic Syndrome, Rheumatoid Arthritis, Type-2 Diabetes, Cardiovascular Diseases

LYCOSTER GOLD

CAPSULES (SOFT GELATIN)
10X1X10

Composition

Each SG Contains Lycopene 6% 2000 IU + Vitamin A 2500 IU + Vitamin E Acetate 10 IU + Vitamin C 50 mg + Zinc sulphate Monohydrate 27.45mg + Selenium Dioxide 70mcg

Indications & Uses

Idiopathic Male Infertility, Pre-eclampsia, Prostate Cancer, Cardiovascular Diseases, Diabetes Mellitus

OSERON -G

CAPSULES (SOFT GELATIN)
10X1X11

Composition

Ginseng + Multivitamin + Multimineral

Indications & Uses

Tiredness, Stress, Feeling of Weakness, Vitality Deficiency

OSERON -G

CAPSULES (SOFT GELATIN)
10X1X11

Composition

Ginseng + Multivitamin + Multimineral

Indications & Uses

Tiredness, Stress, Feeling of Weakness, Vitality Deficiency

ESTRIXIME-200 LB

TABLETS (Alu-Alu)
20X10

Composition

Cefixime 200mg + Lactic Acid Bacilus 2.5 billion spores

Indications & Uses

Otitis Media, Pharyngitis & Tonsillitis, Uncomplicated Urinary Tract Infections, Acute Exacerbations of Chronic Bronchitis, Enteric Fever

ESTRIXIME-CV-325

TABLETS (Alu-Alu)
10X1X6

Composition

Cefixime 200mg + Potassium Clavulanate 125mg

Indications & Uses

Respiratory Tract Infections, Urinary Tract Infections, Skin & Skin Structure Infections

ESTY CLAV-625 LB

TABLETS (Alu-Alu)
10X1X6

Composition

Amoxycillin 500mg + Potassium Clavulanate 125mg

Indications & Uses

Respiratory Tract Infections, Community Acquired Pneumonia, Gynaecological Infections, Acute Exacerbations of Chronic Bronchitis, Skin and Soft Tissue Infections

FLOXEST

TABLETS (Blister)
20X10

Composition

Ofloxacin 200mg + Ornidazole 500mg

Indications & Uses

Surgical ions, Diarrheas of Mixed Etiology, Gynaecological Infections, Orofacial and Dental Infections

VOFLOX-500

TABLETS
10X10

Composition

Levofloxacin 500mg

Indications & Uses

Acute Bacterial Sinusitis, Acute Bacterial Exacerbations of Chronic Bronchitis, Skin & Skin Structure Infections, Chronic Bacterial Prostatitis, Urinary Tract Infections

FLOXEST – O

TABLETS (Alu-Alu)
20X10

Composition

Cefixime 200mg + Ofloxacin 200mg

Indications & Uses

Community Acquired Pneumonia, Multiple Drug Resistant-TB, Typhoid

FLOXEST

TABLETS (Alu-Alu)
20X10

Composition

Ofloxacin 200mg

Indications & Uses

Community Acquired Pneumonia, Multiple Drug Resistant-TB, Typhoid

ESTY CLAV- 1.2

INJECTIONS
1.2g

Composition

Amoxycillin 1000mg + Potassium Clavulanate 200mg + WFI

Indications & Uses

Community Acquired Pneumonia, Gynaecological Infections, Upper Respiratory Tract Infections, Skin and Soft Tissue Infections, Urinary Tract Infections, Acute Exacerbations of Chronic Bronchitis

TRELLON-SB 1.5

INJECTIONS
1.5g

Composition

Ceftriaxone 1000mg + Sulbactam 500mg + WFI

Indications & Uses

Gynaecological Infections, Lower Respiratory Tract Infections, Intra-abdominal Infections with Aerobic Organisms, Surgical Prophylaxis

TRELLON-TZ 1.125

INJECTIONS
1.125gm

Composition

Ceftriaxone 1000mg + Tazobactam 500 mg + WFI

Indications & Uses

Bone & Joint Infections, Intra-abdominal Infections, Bacterial Meningitis, Pre-operative Surgical Prophylaxis

RELLAM

INJECTIONS
1gm

Composition

Meropenem 1gm + WFI

Indications & Uses

Complicated Intra-abdominal Infection (cIAI), Complicated Skin & Skin Structure Infections (cSSSI), Bacterial Meningitis, Noscocomial Pneumonia

TRELIN-Z 4.5

INJECTIONS
4.5gm

Composition

Piperacillin 4000mg + Tazobactam 500mg + WFI

Indications & Uses

Intra-abdominal Infections, Complicated Urinary Tract Infections, Febrile Neutropenia, Lower Respiratory Tract Infections

TRELIN-Z 4.5

INJECTIONS
4.5gm

Composition

Piperacillin 4000mg + Tazobactam 500mg + WFI

Indications & Uses

Intra-abdominal Infections, Complicated Urinary Tract Infections, Febrile Neutropenia, Lower Respiratory Tract Infections

BUTRELLA

SYRUP

100ml

Composition

Ambroxol HCI 15mg + Guaiphensin 50mg + Terbutaline Sulphate 1.5mg + Mentholated Base/5ml

Indications & Uses

Bronchitis, Productive Cough, Emphysema, Bronchial Asthma

BUTRELLA-BR

SYRUP

100ml

Composition

Terbutaline Sulphate 1.25mg + Bromhexine HCI 4mg + Guaiphenesin 50mg + Methalated Base/5ml

Indications & Uses

Acute Cough, Abnormal Mucus Secretion, Productive Cough

DEXTRIN

SYRUP
100ml

Composition

Dextromethorphan Hydrobromide 10mg + Phenylpherine 5 mg + Cetrizine 5mg + Mentholated Base/5ml

Indications & Uses

Commom Cold and Flu, Nasal Congestion, Sore Throat

VOTRELL-M

TABLETS (Alu-Alu)
20X10

Composition

Levocetirizine 5mg + Montelukast 10mg

Indications & Uses

Allergic Rhinitis, Nasal Congestion, Asthma

VOTRELL

TABLETS (Alu-Alu)
20X11

Composition

Levocetirizine 5mg

Indications & Uses

Chronic Idiopathic Urticaria (CIU), Seasonal Allergic Rhinitis (SAR), Perennial Allergic Rhinitis (PAR)

Arrange A Callback
[]
1 Step 1
Full Name
Telephone
Departmentyour full name
Postal Address
Message
0 /
Previous
Next
Shopping Basket