PageSourceSearch

https://mindthegraph.com/_next/static/chunks/pages/_app-21df5a8a0c583bd3.js

js mindthegraph.com collected 2026-09-24 17:17:54 UTC 646,537 bytes, 75 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{48711:function(e,t,r){"use strict";r.d(t,{Z:function(){return ie}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=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,r),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 r=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{r.insertRule(e,r.cssRules.length)}catch(n){}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 3,585 bytes, line 1
1,t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),i=Math.abs,o=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function u(e,t,r){return e.replace(t,r)}function c(e,t){return e.indexOf(t)}function l(e,t){return 0|e.charCodeAt(t)}function f(e,t,r){return e.slice(t,r)}function d(e){return e.length}function p(e){return e.length}function h(e,t){return t.push(e),e}var g=1,m=1,y=0,b=0,v=0,w="";function x(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:g,column:m,length:a,return:""}}function S(e,t){return a(x("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return v=b>0?l(w,--b):0,m--,10===v&&(m=1,g--),v}function E(){return v=b<y?l(w,b++):0,m++,10===v&&(m=1,g++),v}function _(){return l(w,b)}function O(){return b}function A(e,t){return f(w,e,t)}function T(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 C(e){return g=m=1,y=d(w=e),b=0,[]}function R(e){return w="",e}function P(e){return s(A(b-1,L(91===e?e+2:40===e?e+1:e)))}function j(e){for(;(v=_())&&v<33;)E();return T(e)>2||T(v)>3?"":" "}function I(e,t){for(;--t&&E()&&!(v<48||v>102||v>57&&v<65||v>70&&v<97););return A(e,O()+(t<6&&32==_()&&32==E()))}function L(e){for(;E();)switch(v){case e:return b;case 34:case 39:34!==e&&39!==e&&L(v);break;case 40:41===e&&L(e);break;case 92:E()}return b}function N(e,t){for(;E()&&e+v!==57&&(e+v!==84||47!==_()););return"/*"+A(t,b-1)+"*"+o(47===e?e:E())}function M(e){for(;!T(_());)E();return A(e,b)}var U="-ms-",D="-moz-",F="-webkit-",B="comm",Z="rule",$="decl",q="@keyframes";function z(e,t){for(var r="",n=p(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function H(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case $:return e.return=e.return||e.value;case B:return"";case q:return e.return=e.value+"{"+z(e.children,n)+"}";case Z:e.value=e.props.join(",")}return d(r=z(e.children,n))?e.return=e.value+"{"+r+"}":""}function G(e){return R(W("",null,null,null,[""],e=C(e),0,[0],e))}function W(e,t,r,n,i,a,s,f,p){for(var g=0,m=0,y=s,b=0,v=0,w=0,x=1,S=1,A=1,T=0,C="",R=i,L=a,U=n,D=C;S;)switch(w=T,T=E()){case 40:if(108!=w&&58==l(D,y-1)){-1!=c(D+=u(P(T),"&","&\f"),"&\f")&&(A=-1);break}case 34:case 39:case 91:D+=P(T);break;case 9:case 10:case 13:case 32:D+=j(w);break;case 92:D+=I(O()-1,7);continue;case 47:switch(_()){case 42:case 47:h(K(N(E(),O()),t,r),p);break;default:D+="/"}break;case 123*x:f[g++]=d(D)*A;case 125*x:case 59:case 0:switch(T){case 0:case 125:S=0;case 59+m:-1==A&&(D=u(D,/\f/g,"")),v>0&&d(D)-y&&h(v>32?Y(D+";",n,r,y-1):Y(u(D," ","")+";",n,r,y-2),p);break;case 59:D+=";";default:if(h(U=V(D,t,r,g,m,i,f,C,R=[],L=[],y),a),123===T)if(0===m)W(D,t,U,U,R,a,y,f,L);else switch(99===b&&110===l(D,3)?100:b){case 100:case 108:case 109:case 115:W(e,U,U,n&&h(V(e,U,U,0,0,i,f,C,i,R=[],y),L),i,L,y,f,n?R:L);break;default:W(D,U,U,U,[""],L,0,f,L)}}g=m=v=0,x=A=1,C=D="",y=s;break;case 58:y=1+d(D),v=w;default:if(x<1)if(123==T)--x;else if(125==T&&0==x++&&125==k())continue;switch(D+=o(T),T*x){case 38:A=m>0?1:(D+="\f",-1);break;case 44:f[g++]=(d(D)-1)*A,A=1;break;case 64:45===_()&&(D+=P(E())),b=_(),m=y=d(C=D+=M(O())),T++;break;case 45:45===w&&2==d(D)&&(x=0)}}return a}function V(e,t,r,n,o,a,c,l,d,h,g){for(var m=o-1,y=0===o?a:[""],b=p(y),v=0,w=0,S=0;v<n;++v)for(var k=0,E=f(e,m+1,m=i(w=c[v])),_=e;k<b;
vendor: 4,671 bytes, line 1
1++k)(_=s(w>0?y[k]+" "+E:u(E,/&\f/g,y[k])))&&(d[S++]=_);return x(e,t,r,0===o?Z:l,d,h,g)}function K(e,t,r){return x(e,t,r,B,o(v),f(e,2,-2),0)}function Y(e,t,r,n){return x(e,t,r,$,f(e,0,n),f(e,n+1,-1),n)}var Q=function(e,t,r){for(var n=0,i=0;n=i,i=_(),38===n&&12===i&&(t[r]=1),!T(i);)E();return A(e,b)},J=function(e,t){return R(function(e,t){var r=-1,n=44;do{switch(T(n)){case 0:38===n&&12===_()&&(t[r]=1),e[r]+=Q(b-1,t,r);break;case 2:e[r]+=P(n);break;case 4:if(44===n){e[++r]=58===_()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=o(n)}}while(n=E());return e}(C(e),t))},X=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||X.get(r))&&!n){X.set(e,!0);for(var i=[],o=J(t,i),a=r.props,s=0,u=0;s<o.length;s++)for(var c=0;c<a.length;c++,u++)e.props[u]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function re(e,t){switch(function(e,t){return 45^l(e,0)?(((t<<2^l(e,0))<<2^l(e,1))<<2^l(e,2))<<2^l(e,3):0}(e,t)){case 5103:return"-webkit-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+U+e+e;case 6828:case 4268:return F+e+U+e+e;case 6165:return F+e+U+"flex-"+e+e;case 5187:return F+e+u(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return F+e+U+"flex-item-"+u(e,/flex-|-self/,"")+e;case 4675:return F+e+U+"flex-line-pack"+u(e,/align-content|flex-|-self/,"")+e;case 5548:return F+e+U+u(e,"shrink","negative")+e;case 5292:return F+e+U+u(e,"basis","preferred-size")+e;case 6060:return"-webkit-box-"+u(e,"-grow","")+F+e+U+u(e,"grow","positive")+e;case 4554:return F+u(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return u(u(u(e,/(zoom-|grab)/,"-webkit-$1"),/(image-set)/,"-webkit-$1"),e,"")+e;case 5495:case 3959:return u(e,/(image-set\([^]*)/,"-webkit-$1$`$1");case 4968:return u(u(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+F+e+e;case 4095:case 3583:case 4068:case 2532:return u(e,/(.+)-inline(.+)/,"-webkit-$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(d(e)-1-t>6)switch(l(e,t+1)){case 109:if(45!==l(e,t+4))break;case 102:return u(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1-moz-"+(108==l(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?re(u(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==l(e,t+1))break;case 6444:switch(l(e,d(e)-3-(~c(e,"!important")&&10))){case 107:return u(e,":",":-webkit-")+e;case 101:return u(e,/(.+:)([^;!]+)(;|!.+)?/,"$1-webkit-"+(45===l(e,14)?"inline-":"")+"box$3$1"+"-webkit-$2$3$1"+"-ms-$2box$3")+e}break;case 5936:switch(l(e,t+11)){case 114:return F+e+U+u(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+U+u(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+U+u(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return F+e+U+e+e}return e}var ne=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case $:e.return=re(e.value,e.length);break;case q:return z([S(e,{value:u(e.value,"@","@-webkit-")})],n);case Z:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return z([S(e,{props:[u(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return z([S(e,{props:[u(t,/:(plac\w+)/,":-webkit-input-$1")]}),S(e,{props:[u(t,/:(plac\w+)/,":-moz-$1")]}),S(e,{props:[u(t,/:(plac\w+)/,"-ms-input-$1")]})],n)}return""}))}}],ie=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i,o,a=e.stylisPlugins||ne,s={},u=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;u.push(e)}));var c,l,f=[H,(l=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],d=function(e){var t=p(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}([ee,te].concat(a,f));
1o=function(e,t,r,n){c=r,z(G(e?e+"{"+t.styles+"}":t.styles),d),n&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new n({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:o};return h.sheet.hydrate(u),h}},71068:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(45042),i=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=(0,n.Z)((function(e){return i.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},45042:function(e,t,r){"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{Z:function(){return n}})},87685:function(e,t,r){"use strict";r.d(t,{C:function(){return c},E:function(){return m},T:function(){return f},c:function(){return h},h:function(){return d},w:function(){return l}});var n=r(67294),i=r(48711),o=r(70444),a=r(2303),s=r(27278),u=n.createContext("undefined"!==typeof HTMLElement?(0,i.Z)({key:"css"}):null),c=u.Provider,l=function(e){return(0,n.forwardRef)((function(t,r){var i=(0,n.useContext)(u);return e(t,i,r)}))},f=n.createContext({});var d={}.hasOwnProperty,p="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",h=function(e,t){var r={};for(var n in t)d.call(t,n)&&(r[n]=t[n]);return r[p]=e,r},g=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,o.hC)(t,r,n),(0,s.L)((function(){return(0,o.My)(t,r,n)})),null},m=l((function(e,t,r){var i=e.css;"string"===typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var s=e[p],u=[i],c="";"string"===typeof e.className?c=(0,o.fp)(t.registered,u,e.className):null!=e.className&&(c=e.className+" ");var l=(0,a.O)(u,void 0,n.useContext(f));c+=t.key+"-"+l.name;var h={};for(var m in e)d.call(e,m)&&"css"!==m&&m!==p&&(h[m]=e[m]);return h.className=c,r&&(h.ref=r),n.createElement(n.Fragment,null,n.createElement(g,{cache:t,serialized:l,isStringTag:"string"===typeof s}),n.createElement(s,h))}))},70917:function(e,t,r){"use strict";r.d(t,{F4:function(){return f},iv:function(){return l},xB:function(){return c}});var n=r(87685),i=r(67294),o=r(70444),a=r(27278),s=r(2303),u=(r(48711),r(8679),function(e,t){var r=arguments;if(null==t||!n.h.call(t,"css"))return i.createElement.apply(void 0,r);var o=r.length,a=new Array(o);a[0]=n.E,a[1]=(0,n.c)(e,t);for(var s=2;s<o;s++)a[s]=r[s];return i.createElement.apply(null,a)});!function(e){var t;t||(t=e.JSX||(e.JSX={}))}(u||(u={}));var c=(0,n.w)((function(e,t){var r=e.styles,u=(0,s.O)([r],void 0,i.useContext(n.T)),c=i.useRef();return(0,a.j)((function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,i=document.querySelector('style[data-emotion="'+e+" "+u.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==i&&(n=!0,i.setAttribute("data-emotion",e),r.hydrate([i])),c.current=[r,n],function(){r.flush()}}),[t]),(0,a.j)((function(){var e=c.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==u.next&&(0,o.My)(t,u.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",u,r,!1)}}),[t,u.name]),null}));function l(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,s.O)(t)}function f(){var e=l.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_"}}}},2303:function(e,t,r){"use strict";r.d(t,{O:function(){return h}});var n={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGr
1idRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=r(45042),o=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!==typeof e},c=(0,i.Z)((function(e){return s(e)?e:e.replace(o,"-$&").toLowerCase()})),l=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(a,(function(e,t,r){return d={name:t,styles:r,next:d},t}))}return 1===n[e]||s(e)||"number"!==typeof t||0===t?t:t+"px"};function f(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var i=r;if(1===i.anim)return d={name:i.name,styles:i.styles,next:d},i.name;var o=r;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)d={name:a.name,styles:a.styles,next:d},a=a.next;return o.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=f(e,t,r[i])+";";else for(var o in r){var a=r[o];if("object"!==typeof a){var s=a;null!=t&&void 0!==t[s]?n+=o+"{"+t[s]+"}":u(s)&&(n+=c(o)+":"+l(o,s)+";")}else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var d=f(e,t,a);switch(o){case"animation":case"animationName":n+=c(o)+":"+d+";";break;default:n+=o+"{"+d+"}"}}else for(var p=0;p<a.length;
1p++)u(a[p])&&(n+=c(o)+":"+l(o,a[p])+";")}return n}(e,t,r);case"function":if(void 0!==e){var s=d,p=r(e);return d=s,f(e,t,p)}}var h=r;if(null==t)return h;var g=t[h];return void 0!==g?g:h}var d,p=/label:\s*([^\s;{]+)\s*(;|$)/g;function h(e,t,r){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,i="";d=void 0;var o=e[0];null==o||void 0===o.raw?(n=!1,i+=f(r,t,o)):i+=o[0];for(var a=1;a<e.length;a++){if(i+=f(r,t,e[a]),n)i+=o[a]}p.lastIndex=0;for(var s,u="";null!==(s=p.exec(i));)u+="-"+s[1];var c=function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(i)+u;return{name:c,styles:i,next:d}}},26601:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var n=r(87462),i=r(87685),o=r(2303),a=r(27278),s=r(70444),u=r(67294),c=r(71068),l=c.Z,f=function(e){return"theme"!==e},d=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?l:f},p=function(e,t,r){var n;if(t){var i=t.shouldForwardProp;n=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!==typeof n&&r&&(n=e.__emotion_forwardProp),n},h=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,s.hC)(t,r,n),(0,a.L)((function(){return(0,s.My)(t,r,n)})),null},g=function e(t,r){var a,c,l=t.__emotion_real===t,f=l&&t.__emotion_base||t;void 0!==r&&(a=r.label,c=r.target);var g=p(t,r,l),m=g||d(f),y=!m("as");return function(){var b=arguments,v=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==a&&v.push("label:"+a+";"),null==b[0]||void 0===b[0].raw)v.push.apply(v,b);else{var w=b[0];v.push(w[0]);for(var x=b.length,S=1;S<x;S++)v.push(b[S],w[S])}var k=(0,i.w)((function(e,t,r){var n=y&&e.as||f,a="",l=[],p=e;if(null==e.theme){for(var b in p={},e)p[b]=e[b];p.theme=u.useContext(i.T)}"string"===typeof e.className?a=(0,s.fp)(t.registered,l,e.className):null!=e.className&&(a=e.className+" ");var w=(0,o.O)(v.concat(l),t.registered,p);a+=t.key+"-"+w.name,void 0!==c&&(a+=" "+c);var x=y&&void 0===g?d(n):m,S={};for(var k in e)y&&"as"===k||x(k)&&(S[k]=e[k]);return S.className=a,r&&(S.ref=r),u.createElement(u.Fragment,null,u.createElement(h,{cache:t,serialized:w,isStringTag:"string"===typeof n}),u.createElement(n,S))}));return k.displayName=void 0!==a?a:"Styled("+("string"===typeof f?f:f.displayName||f.name||"Component")+")",k.defaultProps=t.defaultProps,k.__emotion_real=k,k.__emotion_base=f,k.__emotion_styles=v,k.__emotion_forwardProp=g,Object.defineProperty(k,"toString",{value:function(){return"."+c}}),k.withComponent=function(t,i){return e(t,(0,n.Z)({},r,i,{shouldForwardProp:p(k,i,!0)})).apply(void 0,v)},k}}.bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){g[e]=g(e)}))},27278:function(e,t,r){"use strict";var n;r.d(t,{L:function(){return a},j:function(){return s}});var i=r(67294),o=!!(n||(n=r.t(i,2))).useInsertionEffect&&(n||(n=r.t(i,2))).useInsertionEffect,a=o||function(e){return e()},s=o||i.useLayoutEffect},70444:function(e,t,r){"use strict";r.d(t,{My:function(){return o},fp:function(){return n},hC:function(){return i}});function n(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")})),n}var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},o=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}},94253:function(e,t,r){"use strict";r.d(t,{Z:function(){return v}});var n=r(87462),i=r(63366),o=r(67294),a=r(63961),s=r(79936),u=r(18784),c=r(87893),l=r(71713),f=r(85893);const d=["className","component"];var p=r(37078),h=r(68239),g=r(10606);var m=(0,r(1588).Z)("MuiBox",["root"]);const y=(0,h.Z)(),b=function(e={}){const{themeId:t,defaultTheme:r,defaultClassName:p="MuiBox-root",generateClassName:h}=e,g=(0,s.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(u.Z);return o.forwardRef((function(e,o){const s=(0,l.Z)(r),u=(0,c.Z)(e),{className:m,component:y="div"}=u,b=(0,i.Z)(u,d);return(0,f.jsx)(g,(0,n.Z)({as:y,ref:o,className:(0,a.Z)(m,h?h(p):p),theme:t&&s[t]||s},b))}))}({themeId:g.Z,defaultTheme:y,defaultClassName:m.root,generateClassName:p.Z.generate});var v=b},11057:function(e,t,r){"use strict";r.d(t,{Z:function(){return A}});var n=r(63366),i=r(87462),o=r(67294),a=r(63961),s=r(35971),u=r(94780),c=r(51025),l=r(90948),f=r(14136),d=r(28628),p=r(49990),h=r(98216),g=r(1588),m=r(34867);function y(e){return(0,m.ZP)("MuiButton",e)}var b=(0,g.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),v=r(98363),w=r(93326),x=r(85893);const S=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],k=e=>(0,i.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),E=(0,l.ZP)(p.Z,{shouldForwardProp:e=>(0,f.Z)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${(0,h.Z)(r.color)}`],t[`size${(0,h.Z)(r.size)}`],t[`${r.variant}Size${(0,h.Z)(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var r,n;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,i.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,i.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainCh
1annel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,i.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${b.focusVisible}`]:(0,i.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${b.disabled}`]:(0,i.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,c.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(n=e.palette).getContrastText)?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${b.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${b.disabled}`]:{boxShadow:"none"}})),_=(0,l.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${(0,h.Z)(r.size)}`]]}})((({ownerState:e})=>(0,i.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},k(e)))),O=(0,l.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${(0,h.Z)(r.size)}`]]}})((({ownerState:e})=>(0,i.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},k(e))));var A=o.forwardRef((function(e,t){const r=o.useContext(v.Z),c=o.useContext(w.Z),l=(0,s.Z)(r,e),f=(0,d.i)({props:l,name:"MuiButton"}),{children:p,color:g="primary",component:m="button",className:b,disabled:k=!1,disableElevation:A=!1,disableFocusRipple:T=!1,endIcon:C,focusVisibleClassName:R,fullWidth:P=!1,size:j="medium",startIcon:I,type:L,variant:N="text"}=f,M=(0,n.Z)(f,S),U=(0,i.Z)({},f,{color:g,component:m,disabled:k,disableElevation:A,disableFocusRipple:T,fullWidth:P,size:j,type:L,variant:N}),D=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:a,classes:s}=e,c={root:["root",a,`${a}${(0,h.Z)(t)}`,`size${(0,h.Z)(o)}`,`${a}Size${(0,h.Z)(o)}`,`color${(0,h.Z)(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${(0,h.Z)(o)}`],endIcon:["icon","endIcon",`iconSize${(0,h.Z)(o)}`]},l=(0,u.Z)(c,y,s);return(0,i.Z)({},s,l)})(U),F=I&&(0,x.jsx)(_,{className:D.startIcon,ownerState:U,children:I}),B=C&&(0,x.jsx)(O,{className:D.endIcon,ownerState:U,children:C}),Z=c||"";return(0,x.jsxs)(E,(0,i.Z)({ownerState:U,className:(0,a.Z)(r.className,D.root,b,Z),component:m,disabled:k,focusRipple:!T,focusVisibleClassName:(0,a.Z)(D.focusVisible,R),ref:t,type:L},M,{classes:D,children:[F,p,B]}))}))},49990:function(e,t,r){"use strict";r.d(t,{Z:function(){return U}});var n=r(87462),i=r(63366),o=r(67294),a=r(63961),s=r(94780),u=r(90948),c=r(28628),l=r(51705
vendor: 9,125 bytes, lines 1-74
1),f=r(2068),d=r(79674),p=r(73350),h=r(70917),g=r(88276),m=r(85893);var y=function(e){const{className:t,classes:r,pulsate:n=!1,rippleX:i,rippleY:s,rippleSize:u,in:c,onExited:l,timeout:f}=e,[d,p]=o.useState(!1),h=(0,a.Z)(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),g={width:u,height:u,top:-u/2+s,left:-u/2+i},y=(0,a.Z)(r.child,d&&r.childLeaving,n&&r.childPulsate);return c||d||p(!0),o.useEffect((()=>{if(!c&&null!=l){const e=setTimeout(l,f);return()=>{clearTimeout(e)}}}),[l,c,f]),(0,m.jsx)("span",{className:h,style:g,children:(0,m.jsx)("span",{className:y})})},b=r(1588);var v=(0,b.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const w=["center","classes","className"];let x,S,k,E,_=e=>e;const O=(0,h.F4)(x||(x=_`
2  0% {
3    transform: scale(0);
4    opacity: 0.1;
5  }
6
7  100% {
8    transform: scale(1);
9    opacity: 0.3;
10  }
11`)),A=(0,h.F4)(S||(S=_`
12  0% {
13    opacity: 1;
14  }
15
16  100% {
17    opacity: 0;
18  }
19`)),T=(0,h.F4)(k||(k=_`
20  0% {
21    transform: scale(1);
22  }
23
24  50% {
25    transform: scale(0.92);
26  }
27
28  100% {
29    transform: scale(1);
30  }
31`)),C=(0,u.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),R=(0,u.ZP)(y,{name:"MuiTouchRipple",slot:"Ripple"})(E||(E=_`
32  opacity: 0;
33  position: absolute;
34
35  &.${0} {
36    opacity: 0.3;
37    transform: scale(1);
38    animation-name: ${0};
39    animation-duration: ${0}ms;
40    animation-timing-function: ${0};
41  }
42
43  &.${0} {
44    animation-duration: ${0}ms;
45  }
46
47  & .${0} {
48    opacity: 1;
49    display: block;
50    width: 100%;
51    height: 100%;
52    border-radius: 50%;
53    background-color: currentColor;
54  }
55
56  & .${0} {
57    opacity: 0;
58    animation-name: ${0};
59    animation-duration: ${0}ms;
60    animation-timing-function: ${0};
61  }
62
63  & .${0} {
64    position: absolute;
65    /* @noflip */
66    left: 0px;
67    top: 0;
68    animation-name: ${0};
69    animation-duration: 2500ms;
70    animation-timing-function: ${0};
71    animation-iteration-count: infinite;
72    animation-delay: 200ms;
73  }
74`),v.rippleVisible,O,550,(({theme:e})=>e.transitions.easing.easeInOut),v.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),v.child,v.childLeaving,A,550,(({theme:e})=>e.transitions.easing.easeInOut),v.childPulsate,T,(({theme:e})=>e.transitions.easing.easeInOut));var P=o.forwardRef((function(e,t){const r=(0,c.i)({props:e,name:"MuiTouchRipple"}),{center:s=!1,classes:u={},className:l}=r,f=(0,i.Z)(r,w),[d,h]=o.useState([]),y=o.useRef(0),b=o.useRef(null);o.useEffect((()=>{b.current&&(b.current(),b.current=null)}),[d]);const x=o.useRef(!1),S=(0,g.Z)(),k=o.useRef(null),E=o.useRef(null),_=o.useCallback((e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:i,cb:o}=e;h((e=>[...e,(0,m.jsx)(R,{classes:{ripple:(0,a.Z)(u.ripple,v.ripple),rippleVisible:(0,a.Z)(u.rippleVisible,v.rippleVisible),ripplePulsate:(0,a.Z)(u.ripplePulsate,v.ripplePulsate),child:(0,a.Z)(u.child,v.child),childLeaving:(0,a.Z)(u.childLeaving,v.childLeaving),childPulsate:(0,a.Z)(u.childPulsate,v.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:i},y.current)])),y.current+=1,b.current=o}),[u]),O=o.useCallback(((e={},t={},r=(()=>{}))=>{const{pulsate:n=!1,center:i=s||t.pulsate,fakeElement:o=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&x.current)return void(x.current=!1);"touchstart"===(null==e?void 0:e.type)&&(x.current=!0);const a=o?null:E.current,u=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,l,f;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(u.width/2),l=Math.round(u.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-u.left),l=Math.round(r-u.top)}if(i)f=Math.sqrt((2*u.width**2+u.height**2)/3),f%2===0&&(f+=1);else{const e=2*Math.max(Math.abs((a?a.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((a?a.clientHeight:0)-l),l)+2;f=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===k.current&&(k.current=()=>{_({pulsate:n,rippleX:c,rippleY:l,rippleSize:f,cb:r})},S.start(80,(()=>{k.current&&(k.current(),k.current=null)}))):_({pulsate:n,rippleX:c,rippleY:l,rippleSize:f,cb:r})}),[s,_,S]),A=o.useCallback((()=>{O({},{pulsate:!0})}),[O]),T=o.useCallback(((e,t)=>{if(S.clear(),"touchend"===(null==e?void 0:e.type)&&k.current)return k.current(),k.current=null,void S.start(0,(()=>{T(e,t)}));k.current=null,h((e=>e.length>0?e.slice(1):e)),b.current=t}),[S]);return o.useImperativeHandle(t,(()=>({pulsate:A,start:O,stop:T})),[A,O,T]),(0,m.jsx)(C,(0,n.Z)({className:(0,a.Z)(v.root,u.root,l),ref:E},f,{children:(0,m.jsx)(p.Z,{component:null,exit:!0,children:d})}))})),j=r(34867);function I(e){return(0,j.ZP)("MuiButtonBase",e)}var L=(0,b.Z)("MuiButtonBase",["root","disabled","focusVisible"]);const N=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],M=(0,u.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${L.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});var U=o.forwardRef((function(e,t){const r=(0,c.i)({props:e,name:"MuiButtonBase"}),{action:u,centerRipple:p=!1,children:h,className:g,component:y="button",disabled:b=!1,disableRipple:v=!1,disableTouchRipple:w=!1,focusRipple:x=!1,LinkComponent:S="a",onBlur:k,onClick:E,onContextMenu:_,onDragLeave:O,onFocus:A,onFocusVisible:T,onKeyDown:C,onKeyUp:R,onMouseDown:j,onMouseLeave:L,onMouseUp:U,onTouchEnd:D,onTouchMove:F,onTouchStart:B,tabIndex:Z=0,TouchRippleProps:$,touchRippleRef:q,type:z}=r,H=(0,i.Z)(r,N),G=o.useRef(null),W=o.useRef(null),V=(0,l.Z)(W,q),{isFocusVisibleRef:K,onFocus:Y,onBlur:Q,ref:J}=(0,d.Z)(),[X,ee]=o.useState(!1);b&&X&&ee(!1),o.useImperativeHandle(u,(()=>({focusVisible:()=>{ee(!0),G.current.focus()}})),[]);const[te,re]=o.useState(!1);o.useEffect((()=>{re(!0)}),[]);const ne=te&&!v&&!b;function ie(e,t,r=w){return(0,f.Z)((n=>{t&&t(n);return!r&&W.current&&W.current[e](n),!0}))}o.useEffect((()=>{X&&x&&!v&&te&&W.current.pulsate()}),[v,x,X,te]);const oe=ie("start",j),ae=ie("stop",_),se=ie("stop",O),ue=ie("stop",U),ce=ie("stop",(e=>{X&&e.preventDefault(),L&&L(e)})),le=ie("start",B),fe=ie("stop",D),de=ie("stop",F),pe=ie("stop",(e=>{Q(e),!1===K.current&&ee(!1),k&&k(e)}),!1),he=(0,f.Z)((e=>{G.current||(G.current=e.currentTarget),Y(e),!0===K.current&&(ee(!0),T&&T(e)),A&&A(e)})),ge=()=>{const e=G.current;return y&&"button"!==y&&!("A"===e.tagName&&e.href)},me=o.useRef(!1),ye=(0,f.Z)((e=>{x&&!me.current&&X&&W.current&&" "===e.key&&(me.current=!0,W.current.stop(e,(()=>{W.current.start(e)}))),e.target===e.currentTarget&&ge()&&" "===e.key&&e.preventDefault(),C&&C(e),e.target===e.currentTarget&&ge()&&"Enter"===e.key&&!b&&(e.preventDefault(),E&&E(e))})),be=(0,f.Z)((e=>{x&&" "===e.key&&W.current&&X&&!e.defaultPrevented&&(me.current=!1,W.current.stop(e,(()=>{W.current.pulsate(e)}))),R&&R(e),E&&e.target===e.currentTarget&&ge()&&" "===e.key&&!e.defaultPrevented&&E(e)}));let ve=y;"button"===ve&&(H.href||H.to)&&(ve=S);const we={};"button"===ve?(we.type=void 0===z?"button":z,we.disabled=b):(H.href||H.to||(we.role="button"),b&&(we["aria-disabled"]=b));const xe=(0,l.Z)(t,J,G);const Se=(0,n.Z)({},r,{centerRipple:p,component:y,disabled:b,disableRipple:v,disableTouchRipple:w,focusRipple:x,tabIndex:Z,focusVisible:X}),ke=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:i}=e,o={root:["root",t&&"disabled",r&&"focusVisible"]},a=(0,s.Z)(o,I,i);return r&&n&&(a.root+=` ${n}`),a})(Se);return(0,m.jsxs)(M,(0,n.Z)({as:ve,className:(0,a.Z)(ke.root,g),ownerState:Se,onBlur:pe,onClick:E,onContextMenu:ae,onFocus:he,onKeyDown:ye,onKeyUp:be,onMouseDown:oe,onMouseLeave:ce,onMouseUp:ue,onDragLeave:se,onTouchEnd:fe,onTouchMove:de,onTouchStart:le,ref:xe,tabIndex:b?-1:Z,type:z},we,H,{children:[h,ne?(0,m.jsx)(P,(0,n.Z)({ref:V,center:p},$)):null]}))}))},93326:function(e,t,r){"use strict";const n=r(67294).createContext(void 0);t.Z=n},98363:function(e,t,r){"use strict";const n=r(67294).createContext({});t.Z=n},28628:function(e,t,r){"use strict";r.d(t,{i:function(){return i}});r(67294);var n=r(58117);r(85893);function i(e){return(0,n.i)(e)}},15861:function(e,t,r){"use strict";r.d(t,{Z:function(){return w}});var n=r(63366),i=r(87462),o=r(67294),a=r(63961),s=r(87893),u=r(94780),c=r(90948),l=r(28628),f=r(98216),d=r(1588),p=r(34867);function h(e){return(0,p.ZP)("MuiTypography",e)}
74(0,d.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var g=r(85893);const m=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],y=(0,c.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${(0,f.Z)(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>(0,i.Z)({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),b={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},v={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var w=o.forwardRef((function(e,t){const r=(0,l.i)({props:e,name:"MuiTypography"}),o=(e=>v[e]||e)(r.color),c=(0,s.Z)((0,i.Z)({},r,{color:o})),{align:d="inherit",className:p,component:w,gutterBottom:x=!1,noWrap:S=!1,paragraph:k=!1,variant:E="body1",variantMapping:_=b}=c,O=(0,n.Z)(c,m),A=(0,i.Z)({},c,{align:d,color:o,className:p,component:w,gutterBottom:x,noWrap:S,paragraph:k,variant:E,variantMapping:_}),T=w||(k?"p":_[E]||b[E])||"span",C=(e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:i,variant:o,classes:a}=e,s={root:["root",o,"inherit"!==e.align&&`align${(0,f.Z)(t)}`,r&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return(0,u.Z)(s,h,a)})(A);return(0,g.jsx)(y,(0,i.Z)({as:T,ref:t,ownerState:A,className:(0,a.Z)(C.root,p)},O))}))},75574:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});r(67294);var n=r(70917),i=r(85893);function o(e){const{styles:t,defaultTheme:r={}}=e,o="function"===typeof t?e=>{return t(void 0===(n=e)||null===n||0===Object.keys(n).length?r:e);var n}:t;return(0,i.jsx)(n.xB,{styles:o})}},80355:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});r(67294);var n=r(87685),i=r(48711),o=r(85893);let a;function s(e){const{injectFirst:t,children:r}=e;return t&&a?(0,o.jsx)(n.C,{value:a,children:r}):r}"object"===typeof document&&(a=(0,i.Z)({key:"css",prepend:!0}))},79936:function(e,t,r){"use strict";r.r(t),r.d(t,{GlobalStyles:function(){return s.Z},StyledEngineProvider:function(){return a.Z},ThemeContext:function(){return i.T},css:function(){return o.iv},default:function(){return u},internal_processStyles:function(){return c},keyframes:function(){return o.F4}});var n=r(26601),i=r(87685),o=r(70917),a=r(80355),s=r(75574);function u(e,t){return(0,n.Z)(e,t)}const c=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},51025:function(e,t,r){"use strict";var n=r(64836);t.Fq=p,t._j=h,t._4=m,t.mi=function(e,t){const r=d(e),n=d(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.$n=g;var i=n(r(55480)),o=n(r(14800));function a(e,t=0,r=1){return(0,o.default)(e,t,r)}function s(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function u(e){if(e.type)return e;if("#"===e.charAt(0))return u(s(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,i.default)(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,i.default)(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}const c=e=>{const t=u(e);return t.values.slice(0,3).map(((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?`${e}%`:e)).join(" ")};function l(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function f(e){e=u(e);const{values:t}=e,r=t[0],n=t[1]/100,i=t[2]/100,o=n*Math.min(i,1-i),a=(e,t=(e+r/30)%12)=>i-o*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const c=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",c.push(t[3])),l({type:s,values:c})}function d(e){let t="hsl"===(e=u(e)).type||"hsla"===e.type?u(f(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function p(e,t){return e=u(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)}function h(e,t){if(e=u(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 r=0;r<3;r+=1)e.values[r]*=1-t;return l(e)}function g(e,t){if(e=u(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 r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return l(e)}function m(e,t=.15){return d(e)>.5?h(e,t):g(e,t)}},39835:function(e,t,r){"use strict";var n=r(64836);t.ZP=function(e={}){const{themeId:t,defaultTheme:r=g,rootShouldForwardProp:n=h,slotShouldForwardProp:u=h}=e,l=e=>(0,c.default)((0,i.default)({},e,{theme:y((0,i.default)({},e,{defaultTheme:r,themeId:t}))}));return l.__mui_systemSx=!0,(e,c={})=>{(0,a.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:f,slot:p,skipVariantsResolver:g,skipSx:w,overridesResolver:x=b(m(p))}=c,S=(0,o.default)(c,d),k=void 0!==g?g:p&&"Root"!==p&&"root"!==p||!1,E=w||!1;let _=h;"Root"===p||"root"===p?_=n:p?_=u:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(_=void 0);const O=(0,a.default)(e,(0,i.default)({shouldForwardProp:_,label:undefined},S)),A=e=>"function"===typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?n=>v(e,(0,i.default)({},n,{theme:y({theme:n.theme,defaultTheme:r,themeId:t})})):e,T=(n,...o)=>{let a=A(n);const s=o?o.map(A):[];f&&x&&s.push((e=>{const n=y((0,i.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[f]||!n.components[f].styleOverrides)return null;const o=n.components[f].styleOverrides,a={};
74return Object.entries(o).forEach((([t,r])=>{a[t]=v(r,(0,i.default)({},e,{theme:n}))})),x(e,a)})),f&&!k&&s.push((e=>{var n;const o=y((0,i.default)({},e,{defaultTheme:r,themeId:t}));return v({variants:null==o||null==(n=o.components)||null==(n=n[f])?void 0:n.variants},(0,i.default)({},e,{theme:o}))})),E||s.push(l);const u=s.length-o.length;if(Array.isArray(n)&&u>0){const e=new Array(u).fill("");a=[...n,...e],a.raw=[...n.raw,...e]}const c=O(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return O.withConfig&&(T.withConfig=O.withConfig),T}};var i=n(r(10434)),o=n(r(7071)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(r(79936)),s=r(58524),u=(n(r(87641)),n(r(92125)),n(r(17426))),c=n(r(53634));const l=["ownerState"],f=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const g=(0,u.default)(),m=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function y({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function b(e){return e?(t,r)=>r[e]:null}function v(e,t){let{ownerState:r}=t,n=(0,o.default)(t,l);const a="function"===typeof e?e((0,i.default)({ownerState:r},n)):e;if(Array.isArray(a))return a.flatMap((e=>v(e,(0,i.default)({ownerState:r},n))));if(a&&"object"===typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,o.default)(a,f);return e.forEach((e=>{let o=!0;"function"===typeof e.props?o=e.props((0,i.default)({ownerState:r},n,r)):Object.keys(e.props).forEach((t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"===typeof e.style?e.style((0,i.default)({ownerState:r},n,r)):e.style))})),t}return a}},58117:function(e,t,r){"use strict";r.d(t,{i:function(){return s}});var n=r(67294),i=r(35971),o=r(85893);const a=n.createContext(void 0);function s({props:e,name:t}){return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?(0,i.Z)(o.defaultProps,n):o.styleOverrides||o.variants?n:(0,i.Z)(o,n)}({props:e,name:t,theme:{components:n.useContext(a)}})}t.Z=function({value:e,children:t}){return(0,o.jsx)(a.Provider,{value:e,children:t})}},11716:function(e,t,r){"use strict";r.d(t,{V:function(){return c}});var n=r(87462),i=r(63366),o=r(67294),a=r(85893);const s=["value"],u=o.createContext();const c=()=>{const e=o.useContext(u);return null!=e&&e};t.Z=function(e){let{value:t}=e,r=(0,i.Z)(e,s);return(0,a.jsx)(u.Provider,(0,n.Z)({value:null==t||t},r))}},46663:function(e,t,r){"use strict";r.d(t,{L7:function(){return u},P$:function(){return l},VO:function(){return i},W8:function(){return s},dt:function(){return c},k9:function(){return a}});var n=r(4953);const i={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${i[e]}px)`};function a(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||o;return t.reduce(((n,i,o)=>(n[e.up(e.keys[o])]=r(t[o]),n)),{})}if("object"===typeof t){const e=n.breakpoints||o;return Object.keys(t).reduce(((n,o)=>{if(-1!==Object.keys(e.values||i).indexOf(o)){n[e.up(o)]=r(t[o],o)}else{const e=o;n[e]=t[e]}return n}),{})}return r(t)}function s(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}function u(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}function c(e,...t){const r=s(e),i=[r,...t].reduce(((e,t)=>(0,n.Z)(e,t)),{});return u(Object.keys(r),i)}function l({values:e,breakpoints:t,base:r}){const n=r||function(e,t){if("object"!==typeof e)return{};const r={},n=Object.keys(t);
74return Array.isArray(e)?n.forEach(((t,n)=>{n<e.length&&(r[t]=!0)})):n.forEach((t=>{null!=e[t]&&(r[t]=!0)})),r}(e,t),i=Object.keys(n);if(0===i.length)return e;let o;return i.reduce(((t,r,n)=>(Array.isArray(e)?(t[r]=null!=e[n]?e[n]:e[o],o=n):"object"===typeof e?(t[r]=null!=e[r]?e[r]:e[o],o=r):t[r]=e,t)),{})}},86800:function(e,t,r){"use strict";function n(e,t){const r=this;if(r.vars&&"function"===typeof r.getColorSchemeSelector){return{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}}return r.palette.mode===e?t:{}}r.d(t,{Z:function(){return n}})},21182:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(63366),i=r(87462);const o=["values","unit","step"];function a(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:a=5}=e,s=(0,n.Z)(e,o),u=(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,i.Z)({},e,{[t.key]:t.val})),{})})(t),c=Object.keys(u);function l(e){return`@media (min-width:${"number"===typeof t[e]?t[e]:e}${r})`}function f(e){return`@media (max-width:${("number"===typeof t[e]?t[e]:e)-a/100}${r})`}function d(e,n){const i=c.indexOf(n);return`@media (min-width:${"number"===typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"===typeof t[c[i]]?t[c[i]]:n)-a/100}${r})`}return(0,i.Z)({keys:c,values:u,up:l,down:f,between:d,only:function(e){return c.indexOf(e)+1<c.length?d(e,c[c.indexOf(e)+1]):l(e)},not:function(e){const t=c.indexOf(e);return 0===t?l(c[1]):t===c.length-1?f(c[t]):d(e,c[c.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},s)}},67348:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(87462),i=r(63366),o=r(4953),a=r(21182);var s={borderRadius:4},u=r(60976);var c=r(18784),l=r(13780),f=r(86800);const d=["breakpoints","palette","spacing","shape"];var p=function(e={},...t){const{breakpoints:r={},palette:p={},spacing:h,shape:g={}}=e,m=(0,i.Z)(e,d),y=(0,a.Z)(r),b=function(e=8){if(e.mui)return e;const t=(0,u.hB)({spacing:e}),r=(...e)=>(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"===typeof r?`${r}px`:r})).join(" ");return r.mui=!0,r}(h);let v=(0,o.Z)({breakpoints:y,direction:"ltr",components:{},palette:(0,n.Z)({mode:"light"},p),spacing:b,shape:(0,n.Z)({},s,g)},m);return v.applyStyles=f.Z,v=t.reduce(((e,t)=>(0,o.Z)(e,t)),v),v.unstable_sxConfig=(0,n.Z)({},l.Z,null==m?void 0:m.unstable_sxConfig),v.unstable_sx=function(e){return(0,c.Z)({sx:e,theme:this})},v}},17426:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},private_createBreakpoints:function(){return i.Z},unstable_applyStyles:function(){return o.Z}});var n=r(67348),i=r(21182),o=r(86800)},4155:function(e,t,r){"use strict";var n=r(4953);t.Z=function(e,t){return t?(0,n.Z)(e,t,{clone:!1}):e}},60976:function(e,t,r){"use strict";r.d(t,{hB:function(){return h},eI:function(){return p},NA:function(){return g},e6:function(){return b},o3:function(){return v}});var n=r(46663),i=r(34439),o=r(4155);const a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},u={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!u[e])return[e];e=u[e]}const[t,r]=e.split(""),n=a[t],i=s[r]||"";return Array.isArray(i)?i.map((e=>n+e)):[n+i]})),l=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...l,...f];function p(e,t,r,n){var o;const a=null!=(o=(0,i.DW)(e,t,!1))?o:r;return"number"===typeof a?e=>"string"===typeof e?e:a*e:Array.isArray(a)?e=>"string"===typeof e?e:a[e]:"function"===typeof a?a:()=>{}}function h(e){return p(e,"spacing",8)}function g(e,t){if("string"===typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"===typeof r?-r:`-${r}`}
vendor: 5,111 bytes, line 74
74function m(e,t,r,i){if(-1===t.indexOf(r))return null;const o=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=g(t,r),e)),{})}(c(r),i),a=e[r];return(0,n.k9)(e,a,o)}function y(e,t){const r=h(e.theme);return Object.keys(e).map((n=>m(e,t,n,r))).reduce(o.Z,{})}function b(e){return y(e,l)}function v(e){return y(e,f)}function w(e){return y(e,d)}b.propTypes={},b.filterProps=l,v.propTypes={},v.filterProps=f,w.propTypes={},w.filterProps=d},34439:function(e,t,r){"use strict";r.d(t,{DW:function(){return o},Jq:function(){return a}});var n=r(14142),i=r(46663);function o(e,t,r=!0){if(!t||"string"!==typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,r,n=r){let i;return i="function"===typeof e?e(r):Array.isArray(e)?e[r]||n:o(e,r)||n,t&&(i=t(i,n,e)),i}t.ZP=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:s,transform:u}=e,c=e=>{if(null==e[t])return null;const c=e[t],l=o(e.theme,s)||{};return(0,i.k9)(e,c,(e=>{let i=a(l,u,e);return e===i&&"string"===typeof e&&(i=a(l,u,`${t}${"default"===e?"":(0,n.Z)(e)}`,e)),!1===r?i:{[r]:i}}))};return c.propTypes={},c.filterProps=[t],c}},13780:function(e,t,r){"use strict";r.d(t,{Z:function(){return L}});var n=r(60976),i=r(34439),o=r(4155);var a=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?(0,o.Z)(r,t[n](e)):r),{});return r.propTypes={},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r},s=r(46663);function u(e){return"number"!==typeof e?e:`${e}px solid`}function c(e,t){return(0,i.ZP)({prop:e,themeKey:"borders",transform:t})}const l=c("border",u),f=c("borderTop",u),d=c("borderRight",u),p=c("borderBottom",u),h=c("borderLeft",u),g=c("borderColor"),m=c("borderTopColor"),y=c("borderRightColor"),b=c("borderBottomColor"),v=c("borderLeftColor"),w=c("outline",u),x=c("outlineColor"),S=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,n.eI)(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:(0,n.NA)(t,e)});return(0,s.k9)(e,e.borderRadius,r)}return null};S.propTypes={},S.filterProps=["borderRadius"];a(l,f,d,p,h,g,m,y,b,v,S,w,x);const k=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,n.eI)(e.theme,"spacing",8,"gap"),r=e=>({gap:(0,n.NA)(t,e)});return(0,s.k9)(e,e.gap,r)}return null};k.propTypes={},k.filterProps=["gap"];const E=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,n.eI)(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:(0,n.NA)(t,e)});return(0,s.k9)(e,e.columnGap,r)}return null};E.propTypes={},E.filterProps=["columnGap"];const _=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,n.eI)(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:(0,n.NA)(t,e)});return(0,s.k9)(e,e.rowGap,r)}return null};_.propTypes={},_.filterProps=["rowGap"];a(k,E,_,(0,i.ZP)({prop:"gridColumn"}),(0,i.ZP)({prop:"gridRow"}),(0,i.ZP)({prop:"gridAutoFlow"}),(0,i.ZP)({prop:"gridAutoColumns"}),(0,i.ZP)({prop:"gridAutoRows"}),(0,i.ZP)({prop:"gridTemplateColumns"}),(0,i.ZP)({prop:"gridTemplateRows"}),(0,i.ZP)({prop:"gridTemplateAreas"}),(0,i.ZP)({prop:"gridArea"}));function O(e,t){return"grey"===t?t:e}a((0,i.ZP)({prop:"color",themeKey:"palette",transform:O}),(0,i.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:O}),(0,i.ZP)({prop:"backgroundColor",themeKey:"palette",transform:O}));function A(e){return e<=1&&0!==e?100*e+"%":e}const T=(0,i.ZP)({prop:"width",transform:A}),C=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const i=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||s.VO[t];return i?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:A(t)}};return(0,s.k9)(e,e.maxWidth,t)}return null};C.filterProps=["maxWidth"];const R=(0,i.ZP)({prop:"minWidth",transform:A}),P=(0,i.ZP)({prop:"height",transform:A}),j=(0,i.ZP)({prop:"maxHeight",transform:A}),I=(0,i.ZP)({prop:"minHeight",transform:A});(0,i.ZP)({prop:"size",cssProperty:"width",transform:A}),(0,i.ZP)({prop:"size",cssProperty:"height",transform:A}),a(T,C,R,P,j,I,(0,i.ZP)({prop:"boxSizing"}));var L={border:{themeKey:"borders",transform:u},borderTop:{themeKey:"borders",transform:u},borderRight:{themeKey:"borders",transform:u},borderBottom:{themeKey:"borders",transform:u},borderLeft:{themeKey:"borders",transform:u},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:u},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:S},color:{themeKey:"palette",transform:O},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:O},backgroundColor:{themeKey:"palette",transform:O},p:{style:n.o3},pt:{style:n.o3},pr:{style:n.o3},pb:{style:n.o3},pl:{style:n.o3},px:{style:n.o3},py:{style:n.o3},padding:{style:n.o3},paddingTop:{style:n.o3},paddingRight:{style:n.o3}
74,paddingBottom:{style:n.o3},paddingLeft:{style:n.o3},paddingX:{style:n.o3},paddingY:{style:n.o3},paddingInline:{style:n.o3},paddingInlineStart:{style:n.o3},paddingInlineEnd:{style:n.o3},paddingBlock:{style:n.o3},paddingBlockStart:{style:n.o3},paddingBlockEnd:{style:n.o3},m:{style:n.e6},mt:{style:n.e6},mr:{style:n.e6},mb:{style:n.e6},ml:{style:n.e6},mx:{style:n.e6},my:{style:n.e6},margin:{style:n.e6},marginTop:{style:n.e6},marginRight:{style:n.e6},marginBottom:{style:n.e6},marginLeft:{style:n.e6},marginX:{style:n.e6},marginY:{style:n.e6},marginInline:{style:n.e6},marginInlineStart:{style:n.e6},marginInlineEnd:{style:n.e6},marginBlock:{style:n.e6},marginBlockStart:{style:n.e6},marginBlockEnd:{style:n.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:k},rowGap:{style:_},columnGap:{style:E},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:A},maxWidth:{style:C},minWidth:{transform:A},height:{transform:A},maxHeight:{transform:A},minHeight:{transform:A},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},87893:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(87462),i=r(63366),o=r(4953),a=r(13780);const s=["sx"];function u(e){const{sx:t}=e,r=(0,i.Z)(e,s),{systemProps:u,otherProps:c}=(e=>{var t,r;const n={systemProps:{},otherProps:{}},i=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:a.Z;return Object.keys(e).forEach((t=>{i[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n})(r);let l;return l=Array.isArray(t)?[u,...t]:"function"===typeof t?(...e)=>{const r=t(...e);return(0,o.P)(r)?(0,n.Z)({},u,r):u}:(0,n.Z)({},u,t),(0,n.Z)({},c,{sx:l})}},53634:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},extendSxProp:function(){return i.Z},unstable_createStyleFunctionSx:function(){return n.n},unstable_defaultSxConfig:function(){return o.Z}});var n=r(18784),i=r(87893),o=r(13780)},18784:function(e,t,r){"use strict";r.d(t,{n:function(){return u}});
74var n=r(14142),i=r(4155),o=r(34439),a=r(46663),s=r(13780);function u(){function e(e,t,r,i){const s={[e]:t,theme:r},u=i[e];if(!u)return{[e]:t};const{cssProperty:c=e,themeKey:l,transform:f,style:d}=u;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const p=(0,o.DW)(r,l)||{};if(d)return d(s);return(0,a.k9)(s,t,(t=>{let r=(0,o.Jq)(p,f,t);return t===r&&"string"===typeof t&&(r=(0,o.Jq)(p,f,`${e}${"default"===t?"":(0,n.Z)(t)}`,t)),!1===c?r:{[c]:r}}))}return function t(r){var n;const{sx:o,theme:u={}}=r||{};if(!o)return null;const c=null!=(n=u.unstable_sxConfig)?n:s.Z;function l(r){let n=r;if("function"===typeof r)n=r(u);else if("object"!==typeof r)return r;if(!n)return null;const o=(0,a.W8)(u.breakpoints),s=Object.keys(o);let l=o;return Object.keys(n).forEach((r=>{const o=(s=n[r],f=u,"function"===typeof s?s(f):s);var s,f;if(null!==o&&void 0!==o)if("object"===typeof o)if(c[r])l=(0,i.Z)(l,e(r,o,u,c));else{const e=(0,a.k9)({theme:u},o,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,o)?l=(0,i.Z)(l,e):l[r]=t({sx:o,theme:u})}else l=(0,i.Z)(l,e(r,o,u,c))})),(0,a.L7)(s,l)}return Array.isArray(o)?o.map(l):l(o)}}const c=u();c.filterProps=["sx"],t.Z=c},71713:function(e,t,r){"use strict";var n=r(67348),i=r(2952);const o=(0,n.Z)();t.Z=function(e=o){return(0,i.Z)(e)}},2952:function(e,t,r){"use strict";var n=r(67294),i=r(87685);t.Z=function(e=null){const t=n.useContext(i.T);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}},68239:function(e,t,r){"use strict";r.d(t,{Z:function(){return L}});var n=r(87462),i=r(63366),o=r(56535),a=r(4953),s=r(13780),u=r(18784),c=r(67348);var l=r(51025);var f={black:"#000",white:"#fff"};var d={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"};var p={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"};var h={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"};var g={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"};var m={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"};var y={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var b={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};const v=["mode","contrastThreshold","tonalOffset"],w={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:f.white,default:f.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},x={text:{primary:f.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:f.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackgroun
vendor: 4,550 bytes, line 74
74d:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function S(e,t,r,n){const i=n.light||n,o=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,l.$n)(e.main,i):"dark"===t&&(e.dark=(0,l._j)(e.main,o)))}function k(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:s=.2}=e,u=(0,i.Z)(e,v),c=e.primary||function(e="light"){return"dark"===e?{main:m[200],light:m[50],dark:m[400]}:{main:m[700],light:m[400],dark:m[800]}}(t),k=e.secondary||function(e="light"){return"dark"===e?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(t),E=e.error||function(e="light"){return"dark"===e?{main:h[500],light:h[300],dark:h[700]}:{main:h[700],light:h[400],dark:h[800]}}(t),_=e.info||function(e="light"){return"dark"===e?{main:y[400],light:y[300],dark:y[700]}:{main:y[700],light:y[500],dark:y[900]}}(t),O=e.success||function(e="light"){return"dark"===e?{main:b[400],light:b[300],dark:b[700]}:{main:b[800],light:b[500],dark:b[900]}}(t),A=e.warning||function(e="light"){return"dark"===e?{main:g[400],light:g[300],dark:g[700]}:{main:"#ed6c02",light:g[500],dark:g[900]}}(t);function T(e){return(0,l.mi)(e,x.text.primary)>=r?x.text.primary:w.text.primary}const C=({color:e,name:t,mainShade:r=500,lightShade:i=300,darkShade:a=700})=>{if(!(e=(0,n.Z)({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error((0,o.Z)(11,t?` (${t})`:"",r));if("string"!==typeof e.main)throw new Error((0,o.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return S(e,"light",i,s),S(e,"dark",a,s),e.contrastText||(e.contrastText=T(e.main)),e},R={dark:x,light:w};return(0,a.Z)((0,n.Z)({common:(0,n.Z)({},f),mode:t,primary:C({color:c,name:"primary"}),secondary:C({color:k,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:C({color:E,name:"error"}),warning:C({color:A,name:"warning"}),info:C({color:_,name:"info"}),success:C({color:O,name:"success"}),grey:d,contrastThreshold:r,getContrastText:T,augmentColor:C,tonalOffset:s},R[t]),u)}const E=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const _={textTransform:"uppercase"},O='"Roboto", "Helvetica", "Arial", sans-serif';function A(e,t){const r="function"===typeof t?t(e):t,{fontFamily:o=O,fontSize:s=14,fontWeightLight:u=300,fontWeightRegular:c=400,fontWeightMedium:l=500,fontWeightBold:f=700,htmlFontSize:d=16,allVariants:p,pxToRem:h}=r,g=(0,i.Z)(r,E);const m=s/14,y=h||(e=>e/d*m+"rem"),b=(e,t,r,i,a)=>{return(0,n.Z)({fontFamily:o,fontWeight:e,fontSize:y(t),lineHeight:r},o===O?{letterSpacing:(s=i/t,Math.round(1e5*s)/1e5)+"em"}:{},a,p);var s},v={h1:b(u,96,1.167,-1.5),h2:b(u,60,1.2,-.5),h3:b(c,48,1.167,0),h4:b(c,34,1.235,.25),h5:b(c,24,1.334,0),h6:b(l,20,1.6,.15),subtitle1:b(c,16,1.75,.15),subtitle2:b(l,14,1.57,.1),body1:b(c,16,1.5,.15),body2:b(c,14,1.43,.15),button:b(l,14,1.75,.4,_),caption:b(c,12,1.66,.4),overline:b(c,12,2.66,1,_),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.Z)((0,n.Z)({htmlFontSize:d,pxToRem:y,fontFamily:o,fontSize:s,fontWeightLight:u,fontWeightRegular:c,fontWeightMedium:l,fontWeightBold:f},v),g,{clone:!1})}function T(...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(",")}var C=["none",T(0,2,1,-1,0,1,1,0,0,1,3,0),T(0,3,1,-2,0,2,2,0,0,1,5,0),T(0,3,3,-2,0,3,4,0,0,1,8,0),T(0,2,4,-1,0,4,5,0,0,1,10,0),T(0,3,5,-1,0,5,8,0,0,1,14,0),T(0,3,5,-1,0,6,10,0,0,1,18,0),T(0,4,5,-2,0,7,10,1,0,2,16,1),T(0,5,5,-3,0,8,10,1,0,3,14,2),T(0,5,6,-3,0,9,12,1,0,3,16,2),T(0,6,6,-3,0,10,14,1,0,4,18,3),T(0,6,7,-4,0,11,15,1,0,4,20,3),T(0,7,8,-4,0,12,17,2,0,5,22,4),T(0,7,8,-4,0,13,19,2,0,5,24,4),T(0,7,9,-4,0,14,21,2,0,5,26,4),T(0,8,9,-5,0,15,22,2,0,6,28,5),T(0,8,10,-5,0,16,24,2,0,6,30,5),T(0,8,11,-5,0,17,26,2,0,6,32,5),T(0,9,11,-5,0,18,28,2,0,7,34,6),T(0,9,12,-6,0,19,29,2,0,7,36,6),T(0,10,13,-6,0,20,31,3,0,8,38,7),T(0,10,13,-6,0,21,33,3,0,8,40,7),T(0,10,14,-6,0,22,35,3,0,8,42,7),T(0,11,14,-7,0,23,36,3,0,9,44,8),T(0,11,15,-7,0,24,38,3,0,9,46,8)],R=r(96067);var P={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const j=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function I(e={},...t){const{mixins:r={},palette:l={},transitions:f={},typography:d={}}
74=e,p=(0,i.Z)(e,j);if(e.vars)throw new Error((0,o.Z)(18));const h=k(l),g=(0,c.Z)(e);let m=(0,a.Z)(g,{mixins:(y=g.breakpoints,b=r,(0,n.Z)({toolbar:{minHeight:56,[y.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[y.up("sm")]:{minHeight:64}}},b)),palette:h,shadows:C.slice(),typography:A(h,d),transitions:(0,R.ZP)(f),zIndex:(0,n.Z)({},P)});var y,b;return m=(0,a.Z)(m,p),m=t.reduce(((e,t)=>(0,a.Z)(e,t)),m),m.unstable_sxConfig=(0,n.Z)({},s.Z,null==p?void 0:p.unstable_sxConfig),m.unstable_sx=function(e){return(0,u.Z)({sx:e,theme:this})},m}var L=I},96067:function(e,t,r){"use strict";r.d(t,{ZP:function(){return l},x9:function(){return s}});var n=r(63366),i=r(87462);const o=["duration","easing","delay"],a={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function u(e){return`${Math.round(e)}ms`}function c(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function l(e){const t=(0,i.Z)({},a,e.easing),r=(0,i.Z)({},s,e.duration);return(0,i.Z)({getAutoHeightDuration:c,create:(e=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:c=0}=i;(0,n.Z)(i,o);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"===typeof a?a:u(a)} ${s} ${"string"===typeof c?c:u(c)}`)).join(",")}},e,{easing:t,duration:r})}},90247:function(e,t,r){"use strict";const n=(0,r(68239).Z)();t.Z=n},10606:function(e,t){"use strict";t.Z="$$material"},14136:function(e,t,r){"use strict";var n=r(75536);t.Z=e=>(0,n.Z)(e)&&"classes"!==e},75536:function(e,t){"use strict";t.Z=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}},90948:function(e,t,r){"use strict";var n=r(39835),i=r(90247),o=r(10606),a=r(14136);const s=(0,n.ZP)({themeId:o.Z,defaultTheme:i.Z,rootShouldForwardProp:a.Z});t.ZP=s},98216:function(e,t,r){"use strict";var n=r(14142);t.Z=n.Z},2068:function(e,t,r){"use strict";var n=r(59948);t.Z=n.Z},51705:function(e,t,r){"use strict";var n=r(33703);t.Z=n.Z},79674:function(e,t,r){"use strict";var n=r(36728);t.Z=n.Z},69980:function(e,t,r){"use strict";var n=r(87462),i=r(67294),o=r(44819),a=r(56760),s=r(51825),u=r(85893);t.Z=function(e){const{children:t,theme:r}=e,c=(0,a.Z)(),l=i.useMemo((()=>{const e=null===c?r:function(e,t){if("function"===typeof t)return t(e);return(0,n.Z)({},e,t)}(c,r);return null!=e&&(e[s.Z]=null!==c),e}),[r,c]);return(0,u.jsx)(o.Z.Provider,{value:l,children:t})}},51825:function(e,t){"use strict";const r="function"===typeof Symbol&&Symbol.for;t.Z=r?Symbol.for("mui.nested"):"__THEME_NESTED__"},44819:function(e,t,r){"use strict";const n=r(67294).createContext(null);t.Z=n},56760:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(67294),i=r(44819);function o(){return n.useContext(i.Z)}},37078:function(e,t){"use strict";const r=e=>e,n=(()=>{let e=r;return{configure(t){e=t},generate:t=>e(t),reset(){e=r}}})();t.Z=n},14142:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(56535);function i(e){if("string"!==typeof e)throw new Error((0,n.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},87641:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z}});var n=r(14142)},7610:function(e,t){"use strict";t.Z=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}},14800:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z}});var n=r(7610)},94780:function(e,t,r){"use strict";function n(e,t,r){const n={};return Object.keys(e).forEach((i=>{n[i]=e[i].reduce(((e,n)=>{if(n){const i=t(n);""!==i&&e.push(i),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}r.d(t,{Z:function(){return n}})},4953:function(e,t,r){"use strict";r.d(t,{P:function(){return o},Z:function(){return s}});var n=r(87462),i=r(67294);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 a(e){if(i.isValidElement(e)||!o(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=a(e[r])})),t}function s(e,t,r={clone:!0}){const u=r.clone?(0,n.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((n=>{i.isValidElement(t[n])?u[n]=t[n]:o(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&o(e[n])?u[n]=s(e[n],t[n],r):r.clone?u[n]=o(t[n])?a(t[n]):t[n]:u[n]=t[n]})),u}},58524:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},isPlainObject:function(){return n.P}});var n=r(4953)},56535:function(e,t,r){"use strict";function n(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}r.d(t,{Z:function(){return n}})},55480:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z}});var n=r(56535)},34867:function(e,t,r){"use strict";r.d(t,{ZP:function(){return o}});var n=r(37078);const i={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 o(e,t,r="Mui"){const o=i[t];return o?`${r}-${o}`:`${n.Z.generate(e)}-${t}`}},1588:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(34867);function i(e,t,r="Mui"){const i={};return t.forEach((t=>{i[t]=(0,n.ZP)(e,t,r)})),i}},92125:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return u},getFunctionName:function(){return o}});var n=r(80217);const i=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function o(e){const t=`${e}`.match(i);return t&&t[1]||""}function a(e,t=""){return e.displayName||e.name||o(e)||t}function s(e,t,r){const n=a(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function u(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 n.ForwardRef:return s(e,e.render,"ForwardRef");case n.Memo:return s(e,e.type,"memo");default:return}}}},35971:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(87462);function i(e,t){const r=(0,n.Z)({},t);return Object.keys(e).forEach((o=>
74{if(o.toString().match(/^(components|slots)$/))r[o]=(0,n.Z)({},e[o],r[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){const a=e[o]||{},s=t[o];r[o]={},s&&Object.keys(s)?a&&Object.keys(a)?(r[o]=(0,n.Z)({},s),Object.keys(a).forEach((e=>{r[o][e]=i(a[e],s[e])}))):r[o]=s:r[o]=a}else void 0===r[o]&&(r[o]=e[o])})),r}},27364:function(e,t,r){"use strict";function n(e,t){"function"===typeof e?e(t):e&&(e.current=t)}r.d(t,{Z:function(){return n}})},73546:function(e,t,r){"use strict";var n=r(67294);const i="undefined"!==typeof window?n.useLayoutEffect:n.useEffect;t.Z=i},59948:function(e,t,r){"use strict";var n=r(67294),i=r(73546);t.Z=function(e){const t=n.useRef(e);return(0,i.Z)((()=>{t.current=e})),n.useRef(((...e)=>(0,t.current)(...e))).current}},33703:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(67294),i=r(27364);function o(...e){return n.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{(0,i.Z)(e,t)}))}),e)}},36728:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(67294),i=r(88276);let o=!0,a=!1;const s=new i.V,u={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(e){e.metaKey||e.altKey||e.ctrlKey||(o=!0)}function l(){o=!1}function f(){"hidden"===this.visibilityState&&a&&(o=!0)}function d(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(r){}return o||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!u[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}function p(){const e=n.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",c,!0),t.addEventListener("mousedown",l,!0),t.addEventListener("pointerdown",l,!0),t.addEventListener("touchstart",l,!0),t.addEventListener("visibilitychange",f,!0))}),[]),t=n.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,s.start(100,(()=>{a=!1})),t.current=!1,!0)},ref:e}}},49230:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(67294);const i={};function o(e,t){const r=n.useRef(i);return r.current===i&&(r.current=e(t)),r}},76447:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(67294);const i=[];function o(e){n.useEffect(e,i)}},88276:function(e,t,r){"use strict";r.d(t,{V:function(){return o},Z:function(){return a}});var n=r(49230),i=r(76447);class o{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new o}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function a(){const e=(0,n.Z)(o.create).current;return(0,i.Z)(e.disposeEffect),e}},27001:function(e,t){"use strict";var r,n=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function y(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case s:case a:case d:case p:return e;default:switch(e=e&&e.$$typeof){case l:case c:case f:case g:case h:case u:return e;default:return t}}case i:return t}}}r=Symbol.for("react.module.reference"),t.ForwardRef=f,t.Memo=h},80217:function(e,t,r){"use strict";e.exports=r(27001)},9669:function(e,t,r){e.exports=r(51609)},55448:function(e,t,r){"use strict";var n=r(64867),i=r(36026),o=r(4372),a=r(15327),s=r(94097),u=r(84109),c=r(67985),l=r(77874),f=r(82648),d=r(60644),p=r(90205),h=r(31068);e.exports=function(e){return new Promise((function(t,r){var g,m=e.data,y=e.headers,b=e.responseType,v=e.withXSRFToken;function w(){e.cancelToken&&e.cancelToken.unsubscribe(g),e.signal&&e.signal.removeEventListener("abort",g)}n.isFormData(m)&&n.isStandardBrowserEnv()&&delete y["Content-Type"];var x=new XMLHttpRequest;if(e.auth){var S=e.auth.username||"",k=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";y.Authorization="Basic "+btoa(S+":"+k)}var E=s(e.baseURL,e.url,e.allowAbsoluteUrls);function _(){if(x){var n="getAllResponseHeaders"in x?u(x.getAllResponseHeaders()):null,o={data:b&&"text"!==b&&"json"!==b?x.response:x.responseText,status:x.status,statusText:x.statusText,headers:n,config:e,request:x};i((function(e){t(e),w()}),(function(e){r(e),w()}),o),x=null}}if(x.open(e.method.toUpperCase(),a(E,e.params,e.paramsSerializer),!0),x.timeout=e.timeout,"onloadend"in x?x.onloadend=_:x.onreadystatechange=function(){x&&4===x.readyState&&(0!==x.status||x.responseURL&&0===x.responseURL.indexOf("file:"))&&setTimeout(_)},x.onabort=function(){x&&(r(new f("Request aborted",f.ECONNABORTED,e,x)),x=null)},x.onerror=function(){r(new f("Network Error",f.ERR_NETWORK,e,x)),x=null},x.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||l;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new f(t,n.clarifyTimeoutError?f.ETIMEDOUT:f.ECONNABORTED,e,x)),x=null},n.isStandardBrowserEnv()&&(v&&n.isFunction(v)&&(v=v(e)),v||!1!==v&&c(E))){var O=e.xsrfHeaderName&&e.xsrfCookieName&&o.read(e.xsrfCookieName);O&&(y[e.xsrfHeaderName]=O)}
74"setRequestHeader"in x&&n.forEach(y,(function(e,t){"undefined"===typeof m&&"content-type"===t.toLowerCase()?delete y[t]:x.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(x.withCredentials=!!e.withCredentials),b&&"json"!==b&&(x.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&x.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&x.upload&&x.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(g=function(t){x&&(r(!t||t.type?new d(null,e,x):t),x.abort(),x=null)},e.cancelToken&&e.cancelToken.subscribe(g),e.signal&&(e.signal.aborted?g():e.signal.addEventListener("abort",g))),m||!1===m||0===m||""===m||(m=null);var A=p(E);A&&-1===h.protocols.indexOf(A)?r(new f("Unsupported protocol "+A+":",f.ERR_BAD_REQUEST,e)):x.send(m)}))}},51609:function(e,t,r){"use strict";var n=r(64867),i=r(91849),o=r(30321),a=r(47185),s=r(45546),u=r(53224);var c=function e(t){var r=new o(t),s=i(o.prototype.request,r);return n.extend(s,o.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))},s}(s);c.Axios=o,c.CanceledError=r(60644),c.CancelToken=r(14972),c.isCancel=r(26502),c.VERSION=r(97288).version,c.toFormData=r(47675),c.AxiosError=r(82648),c.Cancel=c.CanceledError,c.all=function(e){return Promise.all(e)},c.spread=r(8713),c.isAxiosError=r(16268),c.formToJSON=function(e){return u(n.isHTMLForm(e)?new FormData(e):e)},e.exports=c,e.exports.default=c},14972:function(e,t,r){"use strict";var n=r(60644);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){for(var t=r._listeners.length;t-- >0;)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e,i,o){r.reason||(r.reason=new n(e,i,o),t(r.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},60644:function(e,t,r){"use strict";var n=r(82648);function i(e,t,r){n.call(this,null==e?"canceled":e,n.ERR_CANCELED,t,r),this.name="CanceledError"}r(64867).inherits(i,n,{__CANCEL__:!0}),e.exports=i},26502:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},30321:function(e,t,r){"use strict";var n=r(64867),i=r(15327),o=r(80782),a=r(13572),s=r(47185),u=r(94097),c=r(54875),l=c.validators;function f(e){this.defaults=e,this.interceptors={request:new o,response:new o}}f.prototype.request=function(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var i=t.paramsSerializer;null!=i&&(n.isFunction(i)?t.paramsSerializer={serialize:i}:c.assertOptions(i,{encode:l.function,serialize:l.function},!0));var o=[],u=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(u=u&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));var f,d=[];if(this.interceptors.response.forEach((function(e){d.push(e.fulfilled,e.rejected)})),!u){var p=[a,void 0];for(Array.prototype.unshift.apply(p,o),p=p.concat(d),f=Promise.resolve(t);p.length;)f=f.then(p.shift(),p.shift());return f}for(var h=t;o.length;){var g=o.shift(),m=o.shift();try{h=g(h)}catch(y){m(y);break}}try{f=a(h)}catch(y){return Promise.reject(y)}for(;d.length;)f=f.then(d.shift(),d.shift());return f},f.prototype.getUri=function(e){e=s(this.defaults,e);var t=u(e.baseURL,e.url,e.allowAbsoluteUrls);return i(t,e.params,e.paramsSerializer)}
74,n.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,i){return this.request(s(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}f.prototype[e]=t(),f.prototype[e+"Form"]=t(!0)})),e.exports=f},82648:function(e,t,r){"use strict";var n=r(64867);function i(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}n.inherits(i,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var o=i.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(i,a),Object.defineProperty(o,"isAxiosError",{value:!0}),i.from=function(e,t,r,a,s,u){var c=Object.create(o);return n.toFlatObject(e,c,(function(e){return e!==Error.prototype})),i.call(c,e.message,t,r,a,s),c.cause=e,c.name=e.name,u&&Object.assign(c,u),c},e.exports=i},80782:function(e,t,r){"use strict";var n=r(64867);function i(){this.handlers=[]}i.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.clear=function(){this.handlers&&(this.handlers=[])},i.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},94097:function(e,t,r){"use strict";var n=r(91793),i=r(7303);e.exports=function(e,t,r){var o=!n(t);return e&&(o||!1===r)?i(e,t):t}},13572:function(e,t,r){"use strict";var n=r(64867),i=r(18527),o=r(26502),a=r(45546),s=r(60644),u=r(16016);function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,null,e.transformRequest),u(e.headers,"Accept"),u(e.headers,"Content-Type"),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return c(e),t.data=i.call(e,t.data,t.headers,t.status,e.transformResponse),t}),(function(t){return o(t)||(c(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,t.response.status,e.transformResponse))),Promise.reject(t)}))}},47185:function(e,t,r){"use strict";var n=r(64867);e.exports=function(e,t){t=t||{};var r={};function i(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isEmptyObject(t)?n.merge({},e):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function o(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return i(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(void 0,t[r])}function u(r){return r in t?i(e[r],t[r]):r in e?i(void 0,e[r]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,i=t(e);n.isUndefined(i)&&t!==u||(r[e]=i)})),r}},36026:function(e,t,r){"use strict";var n=r(82648);e.exports=function(e,t,r){var i=r.config.validateStatus;
74r.status&&i&&!i(r.status)?t(new n("Request failed with status code "+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}},18527:function(e,t,r){"use strict";var n=r(64867),i=r(45546);e.exports=function(e,t,r,o){var a=this||i;return n.forEach(o,(function(n){e=n.call(a,e,t,r)})),e}},45546:function(e,t,r){"use strict";var n=r(34155),i=r(64867),o=r(16016),a=r(82648),s=r(77874),u=r(47675),c=r(30306),l=r(31068),f=r(53224),d={"Content-Type":"application/x-www-form-urlencoded"};function p(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var h={transitional:s,adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof n&&"[object process]"===Object.prototype.toString.call(n))&&(e=r(55448)),e}(),transformRequest:[function(e,t){o(t,"Accept"),o(t,"Content-Type");var r,n=t&&t["Content-Type"]||"",a=n.indexOf("application/json")>-1,s=i.isObject(e);if(s&&i.isHTMLForm(e)&&(e=new FormData(e)),i.isFormData(e))return a?JSON.stringify(f(e)):e;if(i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e))return e;if(i.isArrayBufferView(e))return e.buffer;if(i.isURLSearchParams(e))return p(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();if(s){if(-1!==n.indexOf("application/x-www-form-urlencoded"))return c(e,this.formSerializer).toString();if((r=i.isFileList(e))||n.indexOf("multipart/form-data")>-1){var l=this.env&&this.env.FormData;return u(r?{"files[]":e}:e,l&&new l,this.formSerializer)}}return s||a?(p(t,"application/json"),function(e,t,r){if(i.isString(e))try{return(t||JSON.parse)(e),i.trim(e)}catch(n){if("SyntaxError"!==n.name)throw n}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||h.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(e&&i.isString(e)&&(r&&!this.responseType||n)){var o=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(s){if(o){if("SyntaxError"===s.name)throw a.from(s,a.ERR_BAD_RESPONSE,this,null,this.response);throw s}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:l.classes.FormData,Blob:l.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(e){h.headers[e]={}})),i.forEach(["post","put","patch"],(function(e){h.headers[e]=i.merge
74(d)})),e.exports=h},77874:function(e){"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},11601:function(e,t,r){e.exports=r(6230)},97288:function(e){e.exports={version:"0.30.2"}},42276:function(e,t,r){"use strict";var n=r(47675);function i(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,(function(e){return t[e]}))}function o(e,t){this._pairs=[],e&&n(e,this,t)}var a=o.prototype;a.append=function(e,t){this._pairs.push([e,t])},a.toString=function(e){var t=e?function(t){return e.call(this,t,i)}:i;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")},e.exports=o},91849:function(e){"use strict";e.exports=function(e,t){return function(){return e.apply(t,arguments)}}},15327:function(e,t,r){"use strict";var n=r(64867),i=r(42276);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a));var s,u=r&&r.encode||o,c=r&&r.serialize;return(s=c?c(t,r):n.isURLSearchParams(t)?t.toString():new i(t,r).toString(u))&&(e+=(-1===e.indexOf("?")?"?":"&")+s),e}},7303:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:function(e,t,r){"use strict";var n=r(64867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},53224:function(e,t,r){"use strict";var n=r(64867);e.exports=function(e){function t(e,r,i,o){var a=e[o++];if("__proto__"===a)return!0;var s=Number.isFinite(+a),u=o>=e.length;return a=!a&&n.isArray(i)?i.length:a,u?(n.hasOwnProperty(i,a)?i[a]=[i[a],r]:i[a]=r,!s):(i[a]&&n.isObject(i[a])||(i[a]=[]),t(e,r,i[a],o)&&n.isArray(i[a])&&(i[a]=function(e){var t,r,n={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)n[r=i[t]]=e[r];return n}(i[a])),!s)}if(n.isFormData(e)&&n.isFunction(e.entries)){var r={};return n.forEachEntry(e,(function(e,i){t(function(e){return n.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),i,r,0)})),r}return null}},91793:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},16268:function(e,t,r){"use strict";var n=r(64867);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},67985:function(e,t,r){"use strict";var n=r(64867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=i(window.location.href),function(t){var r=n.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},16016:function(e,t,r){"use strict";var n=r(64867);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},84109:function(e,t,r){"use strict";var n=r(64867),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,o,a={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.slice(0,o)).toLowerCase(),r=n.trim(e.slice(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}}
74)),a):a}},90205:function(e){"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},8713:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},47675:function(e,t,r){"use strict";var n=r(48764).Buffer,i=r(64867),o=r(82648),a=r(11601);function s(e){return i.isPlainObject(e)||i.isArray(e)}function u(e){return i.endsWith(e,"[]")?e.slice(0,-2):e}function c(e,t,r){return e?e.concat(t).map((function(e,t){return e=u(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}var l=i.toFlatObject(i,{},null,(function(e){return/^is[A-Z]/.test(e)}));e.exports=function(e,t,r){if(!i.isObject(e))throw new TypeError("target must be an object");t=t||new(a||FormData);var f,d=(r=i.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!i.isUndefined(t[e])}))).metaTokens,p=r.visitor||b,h=r.dots,g=r.indexes,m=(r.Blob||"undefined"!==typeof Blob&&Blob)&&((f=t)&&i.isFunction(f.append)&&"FormData"===f[Symbol.toStringTag]&&f[Symbol.iterator]);if(!i.isFunction(p))throw new TypeError("visitor must be a function");function y(e){if(null===e)return"";if(i.isDate(e))return e.toISOString();if(!m&&i.isBlob(e))throw new o("Blob is not supported. Use a Buffer instead.");return i.isArrayBuffer(e)||i.isTypedArray(e)?m&&"function"===typeof Blob?new Blob([e]):n.from(e):e}function b(e,r,n){var o=e;if(e&&!n&&"object"===typeof e)if(i.endsWith(r,"{}"))r=d?r:r.slice(0,-2),e=JSON.stringify(e);else if(i.isArray(e)&&function(e){return i.isArray(e)&&!e.some(s)}(e)||i.isFileList(e)||i.endsWith(r,"[]")&&(o=i.toArray(e)))return r=u(r),o.forEach((function(e,n){!i.isUndefined(e)&&null!==e&&t.append(!0===g?c([r],n,h):null===g?r:r+"[]",y(e))})),!1;return!!s(e)||(t.append(c(n,r,h),y(e)),!1)}var v=[],w=Object.assign(l,{defaultVisitor:b,convertValue:y,isVisitable:s});if(!i.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!i.isUndefined(r)){if(-1!==v.indexOf(r))throw Error("Circular reference detected in "+n.join("."));v.push(r),i.forEach(r,(function(r,o){!0===(!(i.isUndefined(r)||null===r)&&p.call(t,r,i.isString(o)?o.trim():o,n,w))&&e(r,n?n.concat(o):[o])})),v.pop()}}(e),t}},30306:function(e,t,r){"use strict";var n=r(64867),i=r(47675),o=r(31068);e.exports=function(e,t){return i(e,new o.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,i){return o.isNode&&n.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}},54875:function(e,t,r){"use strict";var n=r(97288).version,i=r(82648),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var a={};o.transitional=function(e,t,r){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new i(o(n," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!a[n]&&(a[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:function(e,t,r){if("object"!==typeof e)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),o=n.length;o-- >0;){var a=n[o],s=t[a];if(s){var u=e[a],c=void 0===u||s(u,a,e);if(!0!==c)throw new i("option "+a+" must be "+c,i.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new i("Unknown option "+a,i.ERR_BAD_OPTION)}},validators:o}},95233:function(e){"use strict";e.exports=FormData},9913:function(e,t,r){"use strict";var n=r(42276);e.exports="undefined"!==typeof URLSearchParams?URLSearchParams:n},69059:function(e,t,r){"use strict";e.exports={isBrowser:!0,classes:{URLSearchParams:r(9913),FormData:r(95233),Blob:Blob},protocols:["http","https","file","blob","url","data"]}},31068:function(e,t,r){"use strict";e.exports=r(69059)},64867:function(e,t,r){"use strict";var n,i=r(91849),o=Object.prototype.toString,a=(n=Object.create(null),function(e){var t=o.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function u(e){return Array.isArray(e)}function c(e){return"undefined"===typeof e}var l=s("ArrayBuffer");function f(e){return"number"===typeof e}function d(e){return null!==e&&"object"===typeof e}function p(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var h=s("Date"),g=s("File"),m=s("Blob"),y=s("FileList");function b(e){return"[object Function]"===o.call(e)}var v=s("URLSearchParams");function w(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),u(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}var x,S=(x="undefined"!==typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return x&&e instanceof x});var k,E=s("HTMLFormElement"),_=(k=Object.prototype.hasOwnProperty,function(e,t){return k.call(e,t)});e.exports={isArray:u,isArrayBuffer:l,isBuffer:function(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"===typeof FormData&&e instanceof FormData||o.call(e)===t||b(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&l(e.buffer)},isString:function(e){return"string"===typeof e},isNumber:f,isObject:d,isPlainObject:p,isEmptyObject:function(e){return e&&0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype},isUndefined:c,isDate:h,isFile:g,isBlob:m,isFunction:b,isStream:function(e){return d(e)&&b(e.pipe)},isURLSearchParams:v,isStandardBrowserEnv:function(){var e;return("undefined"===typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&("undefined"!==typeof window&&"undefined"!==typeof document)}
74,forEach:w,merge:function e(){var t={};function r(r,n){p(t[n])&&p(r)?t[n]=e(t[n],r):p(r)?t[n]=e({},r):u(r)?t[n]=r.slice():t[n]=r}for(var n=0,i=arguments.length;n<i;n++)w(arguments[n],r);return t},extend:function(e,t,r){return w(t,(function(t,n){e[n]=r&&"function"===typeof t?i(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,r,n){e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,r&&Object.assign(e.prototype,r)},toFlatObject:function(e,t,r,n){var i,o,a,s={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)a=i[o],n&&!n(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==r&&Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;if(u(e))return e;var t=e.length;if(!f(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:S,isFileList:y,forEachEntry:function(e,t){for(var r,n=(e&&e[Symbol.iterator]).call(e);(r=n.next())&&!r.done;){var i=r.value;t.call(e,i[0],i[1])}},matchAll:function(e,t){for(var r,n=[];null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:E,hasOwnProperty:_}},79742:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,o=u(e),a=o[0],s=o[1],c=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),l=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[l++]=255&t);1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=16383,s=0,u=n-i;s<u;s+=a)o.push(c(e,s,s+a>u?u:s+a));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],n=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,n){for(var i,o,a=[],s=t;s<n;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:function(e,t,r){"use strict";var n=r(79742),i=r(80645),o="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50;var a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return f(e)}return c(e,t,r)}function c(e,t,r){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|g(e,t),n=s(r),i=n.write(e,t);i!==r&&(n=n.slice(0,i));return n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(Z(e,Uint8Array)){var t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Z(e,ArrayBuffer)||e&&Z(e.buffer,ArrayBuffer))return p(e,t,r);if("undefined"!==typeof SharedArrayBuffer&&(Z(e,SharedArrayBuffer)||e&&Z(e.buffer,SharedArrayBuffer)))return p(e,t,r);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return u.from(n,t,r);var i=function(e){if(u.isBuffer(e)){var t=0|h(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}if(void 0!==e.length)return"number"!==typeof e.length||$(e.length)?s(0):d(e);if("Buffer"===e.type&&Array.isArray(e.data))return d(e.data)}(e);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');
vendor: 7,458 bytes, line 74
74if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return l(e),s(e<0?0:0|h(e))}function d(e){for(var t=e.length<0?0:0|h(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function p(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,u.prototype),n}function h(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function g(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Z(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return D(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return F(e).length;default:if(i)return n?-1:D(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return R(this,t,r);case"utf8":case"utf-8":return O(this,t,r);case"ascii":return T(this,t,r);case"latin1":case"binary":return C(this,t,r);case"base64":return _(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function y(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function b(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),$(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):v(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){var o,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=r;o<s;o++)if(c(e,o)===c(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){for(var f=!0,d=0;d<u;d++)if(c(e,o+d)!==c(t,d)){f=!1;break}if(f)return o}return-1}function w(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if($(s))return a;e[r+a]=s}return a}function x(e,t,r,n){return B(D(t,e.length-r),e,r,n)}function S(e,t,r,n){return B(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function k(e,t,r,n){return B(F(t),e,r,n)}function E(e,t,r,n){return B(function(e,t){for(var r,n,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function _(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function O(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,u,c=e[i],l=null,f=c>239?4:c>223?3:c>191?2:1;if(i+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:128===(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=f}return function(e){var t=e.length;if(t<=A)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=A));return r}(n)}t.kMaxLength=a,u.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(r){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,r){return c(e,t,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,r){return function(e,t,r){return l(e),e<=0?s(e):void 0!==t?"string"===typeof r?s(e).fill(t,r):s(e).fill(t):s(e)}(e,t,r)},u.allocUnsafe=function(e){return f(e)},u.allocUnsafeSlow=function(e){return f(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(Z(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),Z(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=u.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(Z(o,Uint8Array))i+o.length>n.length?u.from(o).copy(n,i):Uint8Array.prototype.set.call(n,o,i);else{if(!u.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i)}i+=o.length}return n},u.byteLength=g,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},u.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?O(this,0,e):m.apply(this,arguments)}
vendor: 9,912 bytes, line 74
74,u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,i){if(Z(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(n,i),l=e.slice(t,r),f=0;f<s;++f)if(c[f]!==l[f]){o=c[f],a=l[f];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return b(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return b(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return w(this,e,t,r);case"utf8":case"utf-8":return x(this,e,t,r);case"ascii":case"latin1":case"binary":return S(this,e,t,r);case"base64":return k(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var A=4096;function T(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function C(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function R(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=q[e[o]];return i}function P(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function j(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function L(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function N(e,t,r,n,o){return t=+t,r>>>=0,o||L(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function M(e,t,r,n,o){return t=+t,r>>>=0,o||L(e,0,r,8),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||j(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||j(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||j(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||j(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||j(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||j(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||j(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return e>>>=0,t||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||j(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||j(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||j(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||j(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return e>>>=0,t||j(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||j(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||j(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||j(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||I(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||I(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);I(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);I(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeFloatLE=function(e,t,r){return N(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return N(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return M(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return M(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"===typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},u.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"===typeof e?e&=255:"boolean"===typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=u.isBuffer(e)?e:u.from(e,n),s=a.length;
74if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var U=/[^+/0-9A-Za-z-_]/g;function D(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function F(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(U,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function B(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function Z(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function $(e){return e!==e}var q=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},44020:function(e){"use strict";var t="%[a-f0-9]{2}",r=new RegExp("("+t+")|([^%]+?)","gi"),n=new RegExp("("+t+")+","gi");function i(e,t){try{return[decodeURIComponent(e.join(""))]}catch(o){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],i(r),i(n))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(r)||[],n=1;n<t.length;n++)t=(e=i(t,n).join("")).match(r)||[];return e}}e.exports=function(e){if("string"!==typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var r={"%FE%FF":"\ufffd\ufffd","%FF%FE":"\ufffd\ufffd"},i=n.exec(e);i;){try{r[i[0]]=decodeURIComponent(i[0])}catch(t){var a=o(i[0]);a!==i[0]&&(r[i[0]]=a)}i=n.exec(e)}r["%C2"]="\ufffd";for(var s=Object.keys(r),u=0;u<s.length;u++){var c=s[u];e=e.replace(new RegExp(c,"g"),r[c])}return e}(e)}}},92806:function(e){"use strict";e.exports=function(e,t){for(var r={},n=Object.keys(e),i=Array.isArray(t),o=0;o<n.length;o++){var a=n[o],s=e[a];(i?-1!==t.indexOf(a):t(a,s,e))&&(r[a]=s)}return r}},6230:function(e){"use strict";e.exports="object"===typeof self?self.FormData:window.FormData},8679:function(e,t,r){"use strict";var n=r(21296),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={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 u(e){return n.isMemo(e)?a:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!==typeof r){if(h){var i=p(r);i&&i!==h&&e(t,i,n)}var a=l(r);f&&(a=a.concat(f(r)));for(var s=u(t),g=u(r),m=0;m<a.length;++m){var y=a[m];if(!o[y]&&(!n||!n[y])&&(!g||!g[y])&&(!s||!s[y])){var b=d(r,y);try{c(t,y,b)}catch(v){}}}}return t}},96103:function(e,t){"use strict";var r="function"===typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case l:case f:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case m:case g:case u:return e;default:return t}}case i:return t}}}function S(e){return x(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=u,t.Element=n,t.ForwardRef=d,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||x(e)===l},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===f||e===s||e===a||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===u||e.$$typeof===c||e.$$typeof===d||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},21296:function(e,t,r){"use strict";e.exports=r(96103)},80645:function(e,t){t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,c=u>>1,l=-7,f=r?i-1:0,d=r?-1:1,p=e[t+f];for(f+=d,o=p&(1<<-l)-1,p>>=-l,l+=s;l>0;o=256*o+e[t+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),o-=c}return(p?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,h=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[r+p]=255&a,p+=h,a/=256,c-=8);e[r+p-h]|=128*g}},33310:function(e){"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},70942:function(e,t,r){"use strict";const n=r(33310),{hasOwnProperty:i}=Object.prototype,{propertyIsEnumerable:o}=Object,a=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}),s=this,u={concatArrays:!1,ignoreUndefined:!1},c=e=>{const t=[];for(const r in e)i.call(e,r)&&t.push(r);if(Object.getOwnPropertySymbols){const r=Object.getOwnPropertySymbols(e);
74for(const n of r)o.call(e,n)&&t.push(n)}return t};function l(e){return Array.isArray(e)?function(e){const t=e.slice(0,0);return c(e).forEach((r=>{a(t,r,l(e[r]))})),t}(e):n(e)?function(e){const t=null===Object.getPrototypeOf(e)?Object.create(null):{};return c(e).forEach((r=>{a(t,r,l(e[r]))})),t}(e):e}const f=(e,t,r,n)=>(r.forEach((r=>{"undefined"===typeof t[r]&&n.ignoreUndefined||(r in e&&e[r]!==Object.getPrototypeOf(e)?a(e,r,d(e[r],t[r],n)):a(e,r,l(t[r])))})),e);function d(e,t,r){return r.concatArrays&&Array.isArray(e)&&Array.isArray(t)?((e,t,r)=>{let n=e.slice(0,0),o=0;return[e,t].forEach((t=>{const s=[];for(let r=0;r<t.length;r++)i.call(t,r)&&(s.push(String(r)),a(n,o++,t===e?t[r]:l(t[r])));n=f(n,t,c(t).filter((e=>!s.includes(e))),r)})),n})(e,t,r):n(t)&&n(e)?f(e,t,c(t),r):l(t)}e.exports=function(...e){const t=d(l(u),this!==s&&this||{},u);let r={_:{}};for(const i of e)if(void 0!==i){if(!n(i))throw new TypeError("`"+i+"` is not an Option Object");r=d(r,{_:i},t)}return r._}},54004:function(e,t,r){"use strict";r.d(t,{Jc:function(){return Re},$G:function(){return b}});var n=r(67294);r(71739);Object.create(null);const i={},o=(e,t,r,n)=>{c(r)&&i[r]||(c(r)&&(i[r]=new Date),((e,t,r,n)=>{const i=[r,{code:t,...n||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,"warn","react-i18next::",!0);c(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)})(e,t,r,n))},a=(e,t)=>()=>{if(e.isInitialized)t();else{const r=()=>{setTimeout((()=>{e.off("initialized",r)}),0),t()};e.on("initialized",r)}},s=(e,t,r)=>{e.loadNamespaces(t,a(e,r))},u=(e,t,r,n)=>{if(c(r)&&(r=[r]),e.options.preload&&e.options.preload.indexOf(t)>-1)return s(e,r,n);r.forEach((t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,a(e,n))},c=e=>"string"===typeof e,l=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,f={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"\xa9","&#169;":"\xa9","&reg;":"\xae","&#174;":"\xae","&hellip;":"\u2026","&#8230;":"\u2026","&#x2F;":"/","&#47;":"/"},d=e=>f[e];let p={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(l,d)};let h;const g=(0,n.createContext)();class m{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach((e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)}))}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const y=(e,t,r,n)=>e.getFixedT(t,r,n),b=(e,t={})=>{const{i18n:r}=t,{i18n:i,defaultNS:a}=(0,n.useContext)(g)||{},l=r||i||h;if(l&&!l.reportNamespaces&&(l.reportNamespaces=new m),!l){o(l,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>{return c(t)?t:"object"===typeof(r=t)&&null!==r&&c(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e;var r},t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}l.options.react?.wait&&o(l,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const f={...p,...l.options.react,...t},{useSuspense:d,keyPrefix:b}=f;let v=e||a||l.options?.defaultNS;v=c(v)?[v]:v||["translation"],l.reportNamespaces.addUsedNamespaces?.(v);const w=(l.isInitialized||l.initializedStoreOnce)&&v.every((e=>((e,t,r={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(t,n)=>{if(r.bindI18n?.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!n(t.
74isLanguageChangingTo,e))return!1}}):(o(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,l,f))),x=((e,t,r,i)=>(0,n.useCallback)(y(e,t,r,i),[e,t,r,i]))(l,t.lng||null,"fallback"===f.nsMode?v:v[0],b),S=()=>x,k=()=>y(l,t.lng||null,"fallback"===f.nsMode?v:v[0],b),[E,_]=(0,n.useState)(S);let O=v.join();t.lng&&(O=`${t.lng}${O}`);const A=((e,t)=>{const r=(0,n.useRef)();return(0,n.useEffect)((()=>{r.current=t?r.current:e}),[e,t]),r.current})(O),T=(0,n.useRef)(!0);(0,n.useEffect)((()=>{const{bindI18n:e,bindI18nStore:r}=f;T.current=!0,w||d||(t.lng?u(l,t.lng,v,(()=>{T.current&&_(k)})):s(l,v,(()=>{T.current&&_(k)}))),w&&A&&A!==O&&T.current&&_(k);const n=()=>{T.current&&_(k)};return e&&l?.on(e,n),r&&l?.store.on(r,n),()=>{T.current=!1,l&&e?.split(" ").forEach((e=>l.off(e,n))),r&&l&&r.split(" ").forEach((e=>l.store.off(e,n)))}}),[l,O]),(0,n.useEffect)((()=>{T.current&&w&&_(S)}),[l,b,w]);const C=[E,l,w];if(C.t=E,C.i18n=l,C.ready=w,w)return C;if(!w&&!d)return C;throw new Promise((e=>{t.lng?u(l,t.lng,v,(()=>e())):s(l,v,(()=>e()))}))};function v({i18n:e,defaultNS:t,children:r}){const i=(0,n.useMemo)((()=>({i18n:e,defaultNS:t})),[e,t]);return(0,n.createElement)(g.Provider,{value:i},r)}var w=r(87462),x=r(4942),S=r(8679),k=r.n(S),E=r(41451),_=r(71002),O=r(86854),A=r(63366);function T(e,t){if(null==e)return{};var r,n,i=(0,A.Z)(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var C={defaultNS:"common",errorStackTraceLimit:0,i18n:{defaultLocale:"en",locales:["en"]},get initImmediate(){return"undefined"!==typeof window},get initAsync(){return"undefined"!==typeof window},interpolation:{escapeValue:!1},load:"currentOnly",localeExtension:"json",localePath:"./public/locales",localeStructure:"{{lng}}/{{ns}}",react:{useSuspense:!1},reloadOnPrerender:!1,serializeConfig:!0,use:[]},R="undefined"!==typeof window?n.useLayoutEffect:n.useEffect,P=["i18n"],j=["i18n"];function I(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function L(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?I(Object(r),!0).forEach((function(t){(0,x.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var N=["backend","detection"],M=function(e){var t,r,n;if("string"!==typeof(null===e||void 0===e?void 0:e.lng))throw new Error("config.lng was not passed into createConfig");var i=e.i18n,o=T(e,P),a=C.i18n,s=L(L(L(L({},T(C,j)),o),a),i),u=s.defaultNS,c=s.lng,l=s.localeExtension,f=s.localePath,d=s.nonExplicitSupportedLngs,p=s.locales.filter((function(e){return"default"!==e}));if("cimode"===c)return s;if("undefined"===typeof s.fallbackLng&&(s.fallbackLng=s.defaultLocale,"default"===s.fallbackLng)){var h=(0,O.Z)(p,1);s.fallbackLng=h[0]}var g=null===e||void 0===e||null===(t=e.interpolation)||void 0===t?void 0:t.prefix,m=null===e||void 0===e||null===(r=e.interpolation)||void 0===r?void 0:r.suffix,y=null!==g&&void 0!==g?g:"{{",b=null!==m&&void 0!==m?m:"}}";"string"!==typeof(null===e||void 0===e?void 0:e.localeStructure)&&(g||m)&&(s.localeStructure="".concat(y,"lng").concat(b,"/").concat(y,"ns").concat(b));var v=s.fallbackLng,w=s.localeStructure;if(d){var x=function(e,t){var r=t.split("-"),n=(0,O.Z)(r,1)[0];return e[t]=[n],e};if("string"===typeof v)s.fallbackLng=s.locales.filter((function(e){return e.includes("-")})).reduce(x,{default:[v]});else if(Array.isArray(v))s.fallbackLng=s.locales.filter((function(e){return e.includes("-")})).reduce(x,{default:v});else if("object"===(0,_.Z)(v))s.fallbackLng=Object.entries(s.fallbackLng).reduce((function(e,t){var r,n=(0,O.Z)(t,2),i=n[0],o=n[1];return e[i]=i.includes("-")?(r=[i.split("-")[0]].concat((0,E.Z)(o)),Array.from(new Set(r))):o,e}),v);else if("function"===typeof v)throw new Error("If nonExplicitSupportedLngs is true, no functions are allowed for fallbackLng")}return(null===e||void 0===e||null===(n=e.use)||void 0===n?void 0:n.some((function(e){return"backend"===e.type})))||("string"===typeof f?s.backend={addPath:"".concat(f,"/").concat(w,".missing.").concat(l),loadPath:"".concat(f,"/").concat(w,".").concat(l)}:"function"===typeof f&&(s.backend={addPath:function(e,t){return f(e,t,!0)},loadPath:function(e,t){return f(e,t,!1)}})),"string"===typeof s.ns||Array.isArray(s.ns)||(s.ns=[u]),N.forEac
74h((function(t){e[t]&&(s[t]=L(L({},s[t]),e[t]))})),s};const U=e=>"string"===typeof e,D=()=>{let e,t;const r=new Promise(((r,n)=>{e=r,t=n}));return r.resolve=e,r.reject=t,r},F=e=>null==e?"":""+e,B=/###/g,Z=e=>e&&e.indexOf("###")>-1?e.replace(B,"."):e,$=e=>!e||U(e),q=(e,t,r)=>{const n=U(t)?t.split("."):t;let i=0;for(;i<n.length-1;){if($(e))return{};const t=Z(n[i]);!e[t]&&r&&(e[t]=new r),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return $(e)?{}:{obj:e,k:Z(n[i])}},z=(e,t,r)=>{const{obj:n,k:i}=q(e,t,Object);if(void 0!==n||1===t.length)return void(n[i]=r);let o=t[t.length-1],a=t.slice(0,t.length-1),s=q(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=q(e,a,Object),s?.obj&&"undefined"!==typeof s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=r},H=(e,t)=>{const{obj:r,k:n}=q(e,t);if(r&&Object.prototype.hasOwnProperty.call(r,n))return r[n]},G=(e,t,r)=>{const n=H(e,r);return void 0!==n?n:H(t,r)},W=(e,t,r)=>{for(const n in t)"__proto__"!==n&&"constructor"!==n&&(n in e?U(e[n])||e[n]instanceof String||U(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):W(e[n],t[n],r):e[n]=t[n]);return e},V=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var K={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const Y=e=>U(e)?e.replace(/[&<>"'\/]/g,(e=>K[e])):e;const Q=[" ",",","?","!",";"],J=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}(20),X=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}const n=t.split(r);let i=e;for(let o=0;o<n.length;){if(!i||"object"!==typeof i)return;let e,t="";for(let a=o;a<n.length;++a)if(a!==o&&(t+=r),t+=n[a],e=i[t],void 0!==e){if(["string","number","boolean"].indexOf(typeof e)>-1&&a<n.length-1)continue;o+=a-o+1;break}i=e}return i},ee=e=>e?.replace("_","-"),te={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class re{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||te,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,r,n){return n&&!this.debug?null:(U(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new re(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new re(this.logger,e)}}var ne=new re;class ie{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]||(this.observers[e]=new Map);const r=this.observers[e].get(t)||0;this.observers[e].set(t,r+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(this.observers[e]){Array.from(this.observers[e].entries()).forEach((e=>{let[t,n]=e;for(let i=0;i<n;i++)t(...r)}))}if(this.observers["*"]){Array.from(this.observers["*"].entries()).forEach((t=>{let[n,i]=t;for(let o=0;o<i;o++)n.apply(n,[e,...r])}))}}}class oe extends ie{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,o=void 0!==n.ignoreJSONStructure?n.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],r&&(Array.isArray(r)?a.push(...r):U(r)&&i?a.push(...r.split(i)):a.push(r)));const s=H(this.data,a);return!s&&!t&&!r&&e.indexOf(".")>-1&&(e=a[0],t=a[1],r=a.slice(2).join(".")),!s&&o&&U(r)?X(this.data?.[e]?.[t],r,i):s}addResource(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let a=[e,t];r&&(a=a.concat(o?r.split(o):r)),e.indexOf(".")>-1&&(a=e.split("."),n=t,t=a[1]),this.addNamespaces(t),z(this.data,a,n),i.silent||this.emit
74("added",e,t,r,n)}addResources(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const i in r)(U(r[i])||Array.isArray(r[i]))&&this.addResource(e,t,i,r[i],{silent:!0});n.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,n,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),n=r,r=t,t=a[1]),this.addNamespaces(t);let s=H(this.data,a)||{};o.skipCopy||(r=JSON.parse(JSON.stringify(r))),n?W(s,r,i):s={...s,...r},z(this.data,a,s),o.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var ae={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,i){return e.forEach((e=>{t=this.processors[e]?.process(t,r,n,i)??t})),t}};const se={},ue=e=>!U(e)&&"boolean"!==typeof e&&"number"!==typeof e;class ce extends ie{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),((e,t,r)=>{e.forEach((e=>{t[e]&&(r[e]=t[e])}))})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
74i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=ne.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;return void 0!==this.resolve(e,t)?.res}extractFromKey(e,t){let r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");const n=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const o=r&&e.indexOf(r)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!((e,t,r)=>{t=t||"",r=r||"";const n=Q.filter((e=>t.indexOf(e)<0&&r.indexOf(e)<0));if(0===n.length)return!0;const i=J.getRegExp(`(${n.map((e=>"?"===e?"\\?":e)).join("|")})`);let o=!i.test(e);if(!o){const t=e.indexOf(r);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o})(e,r,n);if(o&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:U(i)?[i]:i};const o=e.split(r);(r!==n||r===n&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(n)}return{key:e,namespaces:U(i)?[i]:i}}translate(e,t,r){if("object"!==typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"===typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const n=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:o,namespaces:a}=this.extractFromKey(e[e.length-1],t),s=a[a.length-1],u=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===u?.toLowerCase()){if(c){const e=t.nsSeparator||this.options.nsSeparator;return n?{res:`${s}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:`${s}${e}${o}`}return n?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:o}const l=this.resolve(e,t);let f=l?.res;const d=l?.usedKey||o,p=l?.exactUsedKey||o,h=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,g=!this.i18nFormat||this.i18nFormat.handleAsObject,m=void 0!==t.count&&!U(t.count),y=ce.hasDefaultValue(t),b=m?this.pluralResolver.getSuffix(u,t.count,t):"",v=t.ordinal&&m?this.pluralResolver.getSuffix(u,t.count,{ordinal:!1}):"",w=m&&!t.ordinal&&0===t.count,x=w&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${b}`]||t[`defaultValue${v}`]||t.defaultValue;let S=f;g&&!f&&y&&(S=x);const k=ue(S),E=Object.prototype.toString.apply(S);if(!(g&&S&&k&&["[object Number]","[object Function]","[object RegExp]"].indexOf(E)<0)||U(h)&&Array.isArray(S))if(g&&U(h)&&Array.isArray(f))f=f.join(h),f&&(f=this.extendTranslation(f,e,t,r));else{let n=!1,a=!1;!this.isValidLookup(f)&&y&&(n=!0,f=x),this.isValidLookup(f)||(a=!0,f=o);const c=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:f,d=y&&x!==f&&this.options.updateMissing;if(a||n||d){if(this.logger.log(d?"updateKey":"missingKey",u,s,o,d?x:f),i){const e=this.resolve(o,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const r=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&r&&r[0])for(let t=0;t<r.length;t++)e.push(r[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const n=(e,r,n)=>{const i=y&&n!==f?n:c;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,r,i,d,t):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,s,r,i,d,t),this.emit("missingKey",e,s,r,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&m?e.forEach((e=>{const r=this.pluralResolver.getSuffixes(e,t);w&&t[`defaultValue${this.options.pluralSeparator}zero`]&&r.indexOf(`${this.options.pluralSeparator}zero`)<0&&r.push(`${this.options.pluralSeparator}zero`),r.forEach((r=>{n([e],o+r,t[`defaultValue${r}`]||x)}))})):n(e,o,x))}f=this.extendTranslation(f,e,t,l,r),a&&f===o&&this.options.appendNamespaceToMissingKey&&(f=`${s}:${o}`),(a||n)&&this.options.parseMissingKeyHandler&&(f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${o}`:o,n?f:void 0))}else{if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(d,S,{...t,ns:a}):`key '${o} (${this.language})' returned an object instead of string.`;return n?(l.res=e,l.usedParams=this.getUsedParamsDetails(t),l):e}if(i){const e=Array.isArray(S),r=e?[]:{},n=e?p:d;for(const o in S)if(Object.prototype.hasOwnProperty.call(S,o)){const e=`${n}${i}${o}`;r[o]=y&&!f?this.translate(e,{...t,defaultValue:ue(x)?x[o]:void 0,joinArrays:!1,ns:a}):this.translate(e,{...t,joinArrays:!1,ns:a}),r[o]===e&&(r[o]=S[o])}f=r}}return n?(l.res=f,l.usedParams=this.getUsedParamsDetails(t),l):f}extendTranslation(e,t,r,n,i){var o=this;if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});
74else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const a=U(e)&&(void 0!==r?.interpolation?.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let s;if(a){const t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let u=r.replace&&!U(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(u={...this.options.interpolation.defaultVariables,...u}),e=this.interpolator.interpolate(e,u,r.lng||this.language||n.usedLng,r),a){const t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(r.nest=!1)}!r.lng&&n&&n.res&&(r.lng=this.language||n.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return i?.[0]!==n[0]||r.context?o.translate(...n,t):(o.logger.warn(`It seems you are nesting recursively key: ${n[0]} in key: ${t[0]}`),null)}),r)),r.interpolation&&this.interpolator.reset()}const a=r.postProcess||this.options.postProcess,s=U(a)?[a]:a;return null!=e&&s?.length&&!1!==r.applyPostProcessor&&(e=ae.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...n,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e){let t,r,n,i,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return U(e)&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const s=this.extractFromKey(e,a),u=s.key;r=u;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const l=void 0!==a.count&&!U(a.count),f=l&&!a.ordinal&&0===a.count,d=void 0!==a.context&&(U(a.context)||"number"===typeof a.context)&&""!==a.context,p=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);
74c.forEach((e=>{this.isValidLookup(t)||(o=e,se[`${p[0]}-${e}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(o)||(se[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach((r=>{if(this.isValidLookup(t))return;i=r;const o=[u];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,u,r,e,a);else{let e;l&&(e=this.pluralResolver.getSuffix(r,a.count,a));const t=`${this.options.pluralSeparator}zero`,n=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(l&&(o.push(u+e),a.ordinal&&0===e.indexOf(n)&&o.push(u+e.replace(n,this.options.pluralSeparator)),f&&o.push(u+t)),d){const r=`${u}${this.options.contextSeparator}${a.context}`;o.push(r),l&&(o.push(r+e),a.ordinal&&0===e.indexOf(n)&&o.push(r+e.replace(n,this.options.pluralSeparator)),f&&o.push(r+t))}}let s;for(;s=o.pop();)this.isValidLookup(t)||(n=s,t=this.getResource(r,e,s,a))})))}))})),{res:t,usedKey:r,exactUsedKey:n,usedLng:i,usedNS:o}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,r,n):this.resourceStore.getResource(e,t,r,n)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&!U(e.replace);let n=r?e.replace:e;if(r&&"undefined"!==typeof e.count&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!r){n={...n};for(const e of t)delete n[e]}return n}static hasDefaultValue(e){const t="defaultValue";for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&void 0!==e[r])return!0;return!1}}class le{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ne.create("languageUtils")}getScriptPartFromCode(e){if(!(e=ee(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=ee(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(U(e)&&e.indexOf("-")>-1){let r;try{r=Intl.getCanonicalLocales(e)[0]}catch(t){}return r&&this.options.lowerCaseLng&&(r=r.toLowerCase()),r||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const r=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(r)||(t=r)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find((e=>e===r?e:e.indexOf("-")<0&&r.indexOf("-")<0?void 0:e.indexOf("-")>0&&r.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"===typeof e&&(e=e(t)),U(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){const r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),n=[],i=e=>{e&&(this.isSupportedCode(e)?n.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return U(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):U(e)&&i(this.formatLanguageCode(e)),r.forEach((e=>{n.indexOf(e)<0&&i(this.formatLanguageCode(e))})),n}}const fe={zero:0,one:1,two:2,few:3,many:4,other:5},de={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class pe{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=ne.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=ee("dev"===e?"en":e),n=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:r,type:n});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let o;try{o=new Intl.PluralRules(r,{type:n})}catch(a){if(!Intl)return this.logger.error("No Intl support, please use an Intl pol
74yfill!"),de;if(!e.match(/-|_/))return de;const r=this.languageUtils.getLanguagePartFromCode(e);o=this.getRule(r,t)}return this.pluralRulesCache[i]=o,o}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,r).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),r?r.resolvedOptions().pluralCategories.sort(((e,t)=>fe[e]-fe[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):[]}getSuffix(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.getRule(e,r);return n?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,r))}}const he=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=G(e,t,r);return!o&&i&&U(r)&&(o=X(e,r,n),void 0===o&&(o=X(t,r,n))),o},ge=e=>e.replace(/\$/g,"$$$$");class me{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=ne.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:r,useRawValueToEscape:n,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:s,formatSeparator:u,unescapeSuffix:c,unescapePrefix:l,nestingPrefix:f,nestingPrefixEscaped:d,nestingSuffix:p,nestingSuffixEscaped:h,nestingOptionsSeparator:g,maxReplaces:m,alwaysFormat:y}=e.interpolation;this.escape=void 0!==t?t:Y,this.escapeValue=void 0===r||r,this.useRawValueToEscape=void 0!==n&&n,this.prefix=i?V(i):o||"{{",this.suffix=a?V(a):s||"}}",this.formatSeparator=u||",",this.unescapePrefix=c?"":l||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=f?V(f):d||V("$t("),this.nestingSuffix=p?V(p):h||V(")"),this.nestingOptionsSeparator=g||",",this.maxReplaces=m||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,r,n){let i,o,a;const s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=e=>{if(e.indexOf(this.formatSeparator)<0){const i=he(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,r,{...n,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),o=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(he(t,s,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,r,{...n,...t,interpolationkey:o})};this.resetRegExp();const c=n?.missingInterpolationHandler||this.options.missingInterpolationHandler,l=void 0!==n?.interpolation?.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>ge(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?ge(this.escape(e)):ge(e)}].forEach((t=>{for(a=0;i=t.regex.exec(e);){const r=i[1].trim();if(o=u(r),void 0===o)if("function"===typeof c){const t=c(e,i,n);o=U(t)?t:""}else if(n&&Object.prototype.hasOwnProperty.call(n,r))o="";else{if(l){o=i[0];continue}this.logger.warn(`missed to pass in variable ${r} for interpolating ${e}`),o=""}else U(o)||this.useRawValueToEscape||(o=F(o));const s=t.safeValue(o);if(e=e.replace(i[0],s),l?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,a++,a>=this.maxReplaces)break}})),e}nest(e,t){let r,n,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(e,t)=>{const r=this.nestingOptionsSeparator;if(e.indexOf(r)<0)return e;const n=e.split(new RegExp(`${r}[ ]*{`));let o=`{${n[1]}`;e=n[0],o=this.interpolate(o,i);const a=o.match(/'/g),s=o.match(/"/g);((a?.length??0)%2===0&&!s||s.length%2!==0)&&(o=o.replace(/'/g,'"'));try{i=JSON.parse(o),t&&(i={...t,...i})}catch(u){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,u),`${e}${r}${o}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];i={...o},i=i.replace&&!U(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let u=!1;if(-1!==r[0].indexOf(this.formatSeparator)&&!/{.*}/.test(r[1])){const e=r[1].split(this.formatSeparator).map((e=>e.trim()));r[1]=e.shift(),s=e,u=!0}
vendor: 4,207 bytes, line 74
74if(n=t(a.call(this,r[1].trim(),i),i),n&&r[0]===e&&!U(n))return n;U(n)||(n=F(n)),n||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),n=""),u&&(n=s.reduce(((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:r[1].trim()})),n.trim())),e=e.replace(r[0],n),this.regexp.lastIndex=0}return e}}const ye=e=>{const t={};return(r,n,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});const a=n+JSON.stringify(o);let s=t[a];return s||(s=e(ee(n),i),t[a]=s),s(r)}};class be{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=ne.create("formatter"),this.options=e,this.formats={number:ye(((e,t)=>{const r=new Intl.NumberFormat(e,{...t});return e=>r.format(e)})),currency:ye(((e,t)=>{const r=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>r.format(e)})),datetime:ye(((e,t)=>{const r=new Intl.DateTimeFormat(e,{...t});return e=>r.format(e)})),relativetime:ye(((e,t)=>{const r=new Intl.RelativeTimeFormat(e,{...t});return e=>r.format(e,t.range||"day")})),list:ye(((e,t)=>{const r=new Intl.ListFormat(e,{...t});return e=>r.format(e)}))},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=ye(t)}format(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find((e=>e.indexOf(")")>-1))){const e=i.findIndex((e=>e.indexOf(")")>-1));i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce(((e,t)=>{const{formatName:i,formatOptions:o}=(e=>{let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const i=n[1].substring(0,n[1].length-1);"currency"===t&&i.indexOf(":")<0?r.currency||(r.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?r.range||(r.range=i.trim()):i.split(";").forEach((e=>{if(e){const[t,...n]=e.split(":"),i=n.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();r[o]||(r[o]=i),"false"===i&&(r[o]=!1),"true"===i&&(r[o]=!0),isNaN(i)||(r[o]=parseInt(i,10))}}))}return{formatName:t,formatOptions:r}})(t);if(this.formats[i]){let t=e;try{const a=n?.formatParams?.[n.interpolationkey]||{},s=a.locale||a.lng||n.locale||n.lng||r;t=this.formats[i](e,s,{...o,...n,...a})}catch(a){this.logger.warn(a)}return t}return this.logger.warn(`there was no format function for ${i}`),e}),e)}}class ve extends ie{constructor(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=n,this.logger=ne.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,n.backend,n)}queueLoad(e,t,r,n){const i={},o={},a={},s={};return e.forEach((e=>{let n=!0;t.forEach((t=>{const a=`${e}|${t}`;!r.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,n=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))})),n||(a[e]=!0)})),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,r){const n=e.split("|"),i=n[0],o=n[1];t&&this.emit("failedLoading",i,o,t),!t&&r&&this.store.addResourceBundle(i,o,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&r&&(this.state[e]=0);const a={};this.queue.forEach((r=>{((e,t,r,n)=>{const{obj:i,k:o}=q(e,t,Object);i[o]=i[o]||[],i[o].push(r)})(r.loaded,[i],o),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(r,e),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEac
74h((e=>{a[e]||(a[e]={});const t=r.loaded[e];t.length&&t.forEach((t=>{void 0===a[e][t]&&(a[e][t]=!0)}))})),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((e=>!e.done))}read(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:r,tried:n,wait:i,callback:o});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&n<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,r,n+1,2*i,o)}),i):o(a,s)},s=this.backend[r].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const r=s(e,t);r&&"function"===typeof r.then?r.then((e=>a(null,e))).catch(a):a(null,r)}catch(u){a(u)}}prepareLoading(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();U(e)&&(e=this.languageUtils.toResolveHierarchy(e)),U(t)&&(t=[t]);const i=this.queueLoad(e,t,r,n);if(!i.toLoad.length)return i.pending.length||n(),null;i.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const r=e.split("|"),n=r[0],i=r[1];this.read(n,i,"read",void 0,void 0,((r,o)=>{r&&this.logger.warn(`${t}loading namespace ${i} for language ${n} failed`,r),!r&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${n}`,o),this.loaded(e,r,o)}))}saveMissing(e,t,r,n,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(t)){if(void 0!==r&&null!==r&&""!==r){if(this.backend?.create){const u={...o,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=5===c.length?c(e,t,r,n,u):c(e,t,r,n),i&&"function"===typeof i.then?i.then((e=>a(null,e))).catch(a):a(null,i)}catch(s){a(s)}else c(e,t,r,n,a,u)}e&&e[0]&&this.store.addResource(e[0],t,r,n)}}else this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}const we=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"===typeof e[1]&&(t=e[1]),U(e[1])&&(t.defaultValue=e[1]),U(e[2])&&(t.tDescription=e[2]),"object"===typeof e[2]||"object"===typeof e[3]){const r=e[3]||e[2];Object.keys(r).forEach((e=>{t[e]=r[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),xe=e=>(U(e.ns)&&(e.ns=[e.ns]),U(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),U(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"===typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),Se=()=>{};class ke extends ie{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var r;if(super(),this.options=xe(e),this.services={},this.logger=ne,this.modules={external:[]},r=this,Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEac
74h((e=>{"function"===typeof r[e]&&(r[e]=r[e].bind(r))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"===typeof t&&(r=t,t={}),null==t.defaultNS&&t.ns&&(U(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const n=we();this.options={...n,...this.options,...xe(t)},this.options.interpolation={...n.interpolation,...this.options.interpolation},void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);const i=e=>e?"function"===typeof e?new e:e:null;if(!this.options.isClone){let t;this.modules.logger?ne.init(i(this.modules.logger),this.options):ne.init(null,this.options),t=this.modules.formatter?this.modules.formatter:be;const r=new le(this.options);this.store=new oe(this.options.resources,this.options);const o=this.services;o.logger=ne,o.resourceStore=this.store,o.languageUtils=r,o.pluralResolver=new pe(r,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format||(o.formatter=i(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new me(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new ve(i(this.modules.backend),o.resourceStore,o,this.options),o.backendConnector.on("*",(function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];e.emit(t,...n)})),this.modules.languageDetector&&(o.languageDetector=i(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=i(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new ce(this.services,this.options),this.translator.on("*",(function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];e.emit(t,...n)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,r||(r=Se),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=function(){return e.store[t](...arguments)}}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const o=D(),a=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(t),r(e,t)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),o}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Se;const r=U(e)?e:this.language;if("function"===typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===r?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],n=t=>{if(!t)return;if("cimode"===t)return;this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};if(r)n(r);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>n(e)))}this.options.preload?.forEach?.((e=>n(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,r){const n=D();return"function"===typeof e&&(r=e,e=void 0),"function"===typeof t&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=Se),this.services.backendConnector.reload(e,t,(e=>{n.resolve(),r(e)})),n}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&ae.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let t=0;t<this.languages.length;t++){const e=this.languages[t];if(!(["cimode","dev"].indexOf(e)>-1)&&this.store.hasLanguageSomeTranslations(e)){this.resolvedLanguage=e;break}}}changeLanguage(e,t){var r=this;this.isLanguageChangingTo=e;const n=D();
74this.emit("languageChanging",e);const i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(e,o)=>{o?(i(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,n.resolve((function(){return r.t(...arguments)})),t&&t(e,(function(){return r.t(...arguments)}))},a=t=>{e||t||!this.services.languageDetector||(t=[]);const r=U(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);r&&(this.language||i(r),this.translator.language||this.translator.changeLanguage(r),this.services.languageDetector?.cacheUserLanguage?.(r)),this.loadResources(r,(e=>{o(e,r)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),n}getFixedT(e,t,r){var n=this;const i=function(e,t){let o;if("object"!==typeof t){for(var a=arguments.length,s=new Array(a>2?a-2:0),u=2;u<a;u++)s[u-2]=arguments[u];o=n.options.overloadTranslationOptionHandler([e,t].concat(s))}else o={...t};o.lng=o.lng||i.lng,o.lngs=o.lngs||i.lngs,o.ns=o.ns||i.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||r||i.keyPrefix);const c=n.options.keySeparator||".";let l;return l=o.keyPrefix&&Array.isArray(e)?e.map((e=>`${o.keyPrefix}${c}${e}`)):o.keyPrefix?`${o.keyPrefix}${c}${e}`:e,n.t(l,o)};return U(e)?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=r,i}t(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.translator?.translate(...t)}exists(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.translator?.exists(...t)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
74if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=t.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;const o=(e,t)=>{const r=this.services.backendConnector.state[`${e}|${t}`];return-1===r||0===r||2===r};if(t.precheck){const e=t.precheck(this,o);if(void 0!==e)return e}return!!this.hasResourceBundle(r,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!o(r,e)||n&&!o(i,e)))}loadNamespaces(e,t){const r=D();return this.options.ns?(U(e)&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){const r=D();U(e)&&(e=[e]);const n=this.options.preload||[],i=e.filter((e=>n.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e)));return i.length?(this.options.preload=n.concat(i),this.loadResources((e=>{r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services?.languageUtils||new le(we());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new ke(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Se;const r=e.forkResourceStore;r&&delete e.forkResourceStore;const n={...this.options,...e,isClone:!0},i=new ke(n);void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e));if(["store","services","language"].forEach((e=>{i[e]=this[e]})),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r){const e=Object.keys(this.store.data).reduce(((e,t)=>(e[t]={...this.store.data[t]},Object.keys(e[t]).reduce(((r,n)=>(r[n]={...e[t][n]},r)),{}))),{});i.store=new oe(e,n),i.services.resourceStore=i.store}return i.translator=new ce(i.services,n),i.translator.on("*",(function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];i.emit(e,...r)})),i.init(n,t),i.translator.options=n,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Ee=ke.createInstance();Ee.createInstance=ke.createInstance;Ee.createInstance,Ee.dir,Ee.init,Ee.loadResources,Ee.reloadResources,Ee.use,Ee.changeLanguage,Ee.getFixedT,Ee.t,Ee.exists,Ee.setDefaultNamespace,Ee.hasLoadedNamespace,Ee.loadNamespaces,Ee.loadLanguages;var _e=function(e){void 0===e.ns&&(e.ns=[]);var t,r,n=Ee.createInstance(e);n.isInitialized?t=Promise.resolve(Ee.t):(null===e||void 0===e||null===(r=e.use)||void 0===r||r.forEach((function(e){return n.use(e)})),"function"===typeof e.onPreInitI18next&&e.onPreInitI18next(n),t=n.init(e));return{i18n:n,initPromise:t}},Oe=n.createElement;function Ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Te(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(r),!0).forEach((function(t){(0,x.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ae(Object(r)).forEac
74h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ce=function(e,t){if(t&&e.isInitialized)for(var r=0,n=Object.keys(t);r<n.length;r++)for(var i=n[r],o=0,a=Object.keys(t[i]);o<a.length;o++){var s,u=a[o];null!==e&&void 0!==e&&null!==(s=e.store)&&void 0!==s&&s.data&&e.store.data[i]&&e.store.data[i][u]||e.addResourceBundle(i,u,t[i][u],!0,!0)}},Re=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=function(r){var i,o,a=(r.pageProps||{})._nextI18Next,s=null!==(i=null===a||void 0===a?void 0:a.initialLocale)&&void 0!==i?i:null===r||void 0===r||null===(o=r.router)||void 0===o?void 0:o.locale,u=null===a||void 0===a?void 0:a.ns,c=(0,n.useRef)(null),l=(0,n.useMemo)((function(){var e;if(!a&&!t)return null;var r=null!==t&&void 0!==t?t:null===a||void 0===a?void 0:a.userConfig;if(!r)throw new Error("appWithTranslation was called without a next-i18next config");if(null===r||void 0===r||!r.i18n)throw new Error("appWithTranslation was called without config.i18n");if(null===r||void 0===r||null===(e=r.i18n)||void 0===e||!e.defaultLocale)throw new Error("config.i18n does not include a defaultLocale property");var n=(a||{}).initialI18nStore,i=null!==t&&void 0!==t&&t.resources?t.resources:n;s||(s=r.i18n.defaultLocale);var o=c.current;return o?Ce(o,i):(o=_e(Te(Te(Te({},M(Te(Te({},r),{},{lng:s}))),{},{lng:s},u&&{ns:u}),{},{resources:i})).i18n,Ce(o,i),o,c.current=o),o}),[a,s,u]);return R((function(){l&&s&&l.changeLanguage(s)}),[l,s]),null!==l?Oe(v,{i18n:l},Oe(e,r)):Oe(e,(0,w.Z)({key:s},r))};return k()(r,e)}},78e3:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AmpStateContext=void 0;var n=(0,r(92648).Z)(r(67294)).default.createContext({});t.AmpStateContext=n},9470:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInAmpMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ampFirst,r=void 0!==t&&t,n=e.hybrid,i=void 0!==n&&n,o=e.hasQuery,a=void 0!==o&&o;return r||i&&a}},72717:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHead=l,t.default=void 0;var n=r(6495).Z,i=r(92648).Z,o=(0,r(91598).Z)(r(67294)),a=i(r(11585)),s=r(78e3),u=r(15850),c=r(9470);r(99475);function l(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[o.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"===typeof t||"number"===typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((function(e,t){return"string"===typeof t||"number"===typeof t?e:e.concat(t)}),[])):e.concat(t)}var d=["name","httpEquiv","charSet","itemProp"];function p(e,t){var r=t.inAmpMode;return e.reduce(f,[]).reverse().concat(l(r).reverse()).filter(function(){var e=new Set,t=new Set,r=new Set,n={};return function(i){var o=!0,a=!1;if(i.key&&"number"!==typeof i.key&&i.key.indexOf("$")>0){a=!0;var s=i.key.slice(i.key.indexOf("$")+1);e.has(s)?o=!1:e.add(s)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(var u=0,c=d.length;u<c;u++){var l=d[u];if(i.props.hasOwnProperty(l))if("charSet"===l)r.has(l)?o=!1:r.add(l);else{var f=i.props[l],p=n[l]||new Set;"name"===l&&a||!p.has(f)?(p.add(f),n[l]=p):o=!1}}}return o}}()).reverse().map((function(e,t){var i=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some((function(t){return e.props.href.startsWith(t)}))){var a=n({},e.props||{});return a["data-href"]=a.href,a.href=void 0,a["data-optimized-fonts"]=!0,o.default.cloneElement(e,a)}return o.default.cloneElement(e,{key:i})}))}var h=function(e){var t=e.children,r=o.useContext(s.AmpStateContext),n=o.useContext(u.HeadManagerContext);return o.default.createElement(a.default,{reduceComponentsToState:p,headManager:n,inAmpMode:c.isInAmpMode(r)},t)};t.default=h,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
74dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},11585:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.headManager,r=e.reduceComponentsToState;function s(){if(t&&t.mountedInstances){var i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}if(i){var u;null==t||null==(u=t.mountedInstances)||u.add(e.children),s()}return o((function(){var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),function(){var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}})),o((function(){return t&&(t._pendingUpdate=s),function(){t&&(t._pendingUpdate=s)}})),a((function(){return t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),function(){t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)}})),null};var n=(0,r(91598).Z)(r(67294));var i=!1,o=i?function(){}:n.useLayoutEffect,a=i?function(){}:n.useEffect},66805:function(e,t,r){"use strict";r(67294),r(11163);var n=r(59499),i=r(90948),o=r(94253),a=r(15861),s=r(11057),u=r(34631),c="#3b82f6";(0,i.ZP)(o.Z)((function(e){var t=e.theme;return(0,n.Z)({backgroundColor:"#1e3a8a",paddingBottom:"8px",paddingTop:"8px",paddingLeft:"40px",paddingRight:"40px",display:"flex",justifyContent:"space-between",alignItems:"center",gap:t.spacing(.75),width:"100%",position:"relative",flexDirection:"column"},t.breakpoints.up("md"),{gap:t.spacing(4),flexDirection:"row",justifyContent:"center"})})),(0,i.ZP)(o.Z)((function(e){return{display:"flex",alignItems:"center",gap:e.theme.spacing(.55)}})),(0,i.ZP)("span")((function(e){e.theme;return{fontSize:"20px"}})),(0,i.ZP)(a.Z)((function(e){var t=e.theme;return(0,n.Z)({color:u.Yf,fontWeight:700,fontSize:"18px",lineHeight:"18px",textAlign:"center"},t.breakpoints.down("md"),{fontSize:"10px",lineHeight:"16px"})})),(0,i.ZP)(s.Z)((function(e){var t=e.theme;return(0,n.Z)({backgroundColor:"".concat(c," !important"),color:"".concat(u.Yf," !important"),fontFamily:"Lato, sans-serif",fontWeight:700,fontSize:"12px",lineHeight:"16px",padding:t.spacing(1,2),borderRadius:"20px !important",textTransform:"none",border:"none",cursor:"pointer",transition:"all 0.3s ease",minWidth:"100px",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.2)","&:hover":{backgroundColor:"".concat(c," !important"),opacity:.9},"&:active":{transform:"translateY(0)"}},t.breakpoints.up("md"),{fontSize:"13px",lineHeight:"18px",padding:t.spacing(1.5,3)})})),r(90101),r(53497),r(49089),r(96493),r(97839),r(85893)},14434:function(e,t,r){"use strict";r.d(t,{R:function(){return n}});var n="Mind the Graph"},90101:function(e,t,r){"use strict";var n={IN:{discount:75,isDifferential:!0,saleType:"Republic Day",couponCode:"REPUBLIC2026",couponDiscount:20},CN:{exclude:!0},JP:{exclude:!0},KR:{exclude:!0},GB:{discount:30,isDifferential:!1,saleType:"New Year",couponCode:"NY2026"},UK:{discount:30,isDifferential:!1,saleType:"New Year",couponCode:"NY2026"},US:{discount:30,isDifferential:!1,saleType:"New Year",couponCode:"PPNY"},AU:{discount:30,isDifferential:!1,saleType:"New Year",couponCode:"PPNY"},DEFAULT:{discount:30,isDifferential:!0,saleType:"New Year"}};["AZ","BH","IQ","JO","KW","LB","OM","PS","QA","SA","SY","TR","AE"].forEach((function(e){n[e]={discount:30,isDifferential:!1,saleType:"New Year",couponCode:"NY2026"}})),["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE"].forEach((function(e){n[e]={discount:30,isDifferential:!1,saleType:"New Year",couponCode:"NY2026"}})),["AL","AD","AM","AZ","BY","BA","GE","IS","XK","LI","MD","MC","ME","MK","NO","SM","RS","CH","UA","GB","VA"].forEach((function(e){n[e]={discount:30,isDifferential:!1,saleType:"New Year",couponCode:"NY2026"}})),["AR","BO","BZ","CL","CO","CR","CU","DO","EC","SV","GT","HN","MX","NI","PA","PY","PE","PR","UY","VE"].forEach((function(e){n[e]="BR"===e?{discount:75,isDifferential:!0,saleType:"New Year",couponCode:"NY20",couponDiscount:20}:{discount:30,isDifferential:!1,saleType:"New Year",couponCode:"PPNY"}})),n.DEFAULT={discount:75,isDifferential:!0,saleType:"New Year",couponCode:"NY20",couponDiscount:20}},31085:function(e,t,r){"use strict";r.d(t,{z:function(){return i}});var n="https://".concat("app",".editage"),i={cookies:{auidCookieKey:"__auid",idCookieKey:"__id"},sso:{federatedDomain:"https://sso.mindthegraph.com",mainDomain:"https://sso.editage.com",chineseDomain:"https://sso.editage.cn"},partnerUrl:{1:"".concat(n,".jp"),2:"".concat(n,".com.tw"),5:"".concat(n,".co.kr"),10:"".concat(n,".cn"),11:"".concat(n,".com"),13:"".concat(n,".de"),15:"".concat(n,".in"),16:"".concat(n,".com.br")}
74,geoIp:{endpoint:"https://geoip.cactusglobal.io/json/"}}},41876:function(e,t,r){"use strict";r.d(t,{d:function(){return s},o:function(){return a}});var n=r(67294),i=r(85893),o=(0,n.createContext)();function a(e){var t=e.children,r=(0,n.useState)(!1),a=r[0],s=r[1];return(0,i.jsx)(o.Provider,{value:{isModalOpen:a,setIsModalOpen:s},children:t})}function s(){return(0,n.useContext)(o)}},61419:function(e,t,r){"use strict";r.d(t,{d:function(){return a},y:function(){return s}});var n=r(67294),i=r(85893),o=(0,n.createContext)();function a(e){var t=e.children,r=(0,n.useState)(),a=r[0],s=r[1];return(0,i.jsx)(o.Provider,{value:{template:a,setTemplate:s},children:t})}function s(){return(0,n.useContext)(o)}},51308:function(e,t,r){"use strict";r.d(t,{O:function(){return l},m:function(){return c}});var n=r(67294),i=r(31955),o=r(85893),a=i.Z.get("breadcrumbs")?JSON.parse(i.Z.get("breadcrumbs")):[],s=(0,n.createContext)(),u=(0,n.createContext)();function c(e){var t=e.children,r=(0,n.useState)(a),c=r[0],l=r[1];return(0,o.jsx)(s.Provider,{value:c,children:(0,o.jsx)(u.Provider,{value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t&&i.Z.set("breadcrumbs",JSON.stringify(e)),l(e)},children:t})})}function l(){var e=(0,n.useContext)(s),t=(0,n.useContext)(u);if(void 0===e||void 0===t)throw new Error("useBreadcrumbsContext must be used within a BreadcrumbsProvider");return[e,t]}},17964:function(e,t,r){"use strict";r.d(t,{F0:function(){return d},kN:function(){return u},zc:function(){return p}});var n=r(59499),i=r(67294),o=r(85893);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u={Illustration:"ILLUSTRATION",Template:"TEMPLATE"},c={type:u.Illustration,tags:[],activeTag:void 0},l=(0,i.createContext)(),f=(0,i.createContext)();function d(e){var t=e.children,r=(0,i.useState)(c),n=r[0],a=r[1];(0,i.useEffect)((function(){var e=localStorage.getItem("gallery");e&&a(JSON.parse(e))}),[]);return(0,o.jsx)(l.Provider,{value:n,children:(0,o.jsx)(f.Provider,{value:function(e){var t=s(s({},n),e);localStorage.setItem("gallery",JSON.stringify(t)),a(t)},children:t})})}function p(){var e=(0,i.useContext)(l),t=(0,i.useContext)(f);if(void 0===e||void 0===t)throw new Error("useTermsModalContext must be used within a TermsModalProvider");return[e,t]}},53864:function(e,t,r){"use strict";r.d(t,{H:function(){return d},V:function(){return p}});var n=r(50029),i=r(87794),o=r.n(i),a=r(67294),s=r(57972),u=r(61897),c=r(97839),l=r(85893),f=(0,a.createContext)({creations:[],setCreations:function(){}});function d(e){var t=e.children,r=(0,a.useState)([]),n=r[0],i=r[1],o=(0,a.useMemo)((function(){return{creations:n,setCreations:i}}),[n]);return(0,l.jsx)(f.Provider,{value:o,children:t})}function p(){var e=(0,c.fC)().user,t=(0,a.useContext)(f),r=t.creations,i=t.setCreations,l=(0,u.a)({queryKey:["creations"],queryFn:function(){var t=(0,n.Z)(o().mark((function t(){var r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null===e||void 0===e||!e.id){t.next=6;break}return t.next=3,s.Z.findAll({status:"available"});case 3:return r=t.sent,i(r.data),t.abrupt("return",r.data);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),options:{enabled:!1}}),d=l.refetch,p=l.isFetching;return(0,a.useEffect)((function(){null!==e&&void 0!==e&&e.id&&d()}),[null===e||void 0===e?void 0:e.id,d]),[r,d,p]}},79965:function(e,t,r){"use strict";r.d(t,{L:function(){return l},b:function(){return f}});var n=r(59499),i=r(67294),o=r(85893);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
74t%2?a(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u={id:null,userName:null,userEmail:null,type:"graphical_abstract",quantity:1,express:!1,total:200,specs:[]},c=(0,i.createContext)();function l(e){var t=e.children,r=(0,i.useState)(s({},u)),n=r[0],a=r[1],l=[n,function(e){return a(e||s({},u))}];return(0,o.jsx)(c.Provider,{value:l,children:t})}function f(){var e=(0,i.useContext)(c);return[e[0],e[1]]}},65097:function(e,t,r){"use strict";r.d(t,{go:function(){return l},jb:function(){return c}});var n=r(59499),i=r(67294),o=r(85893);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var s={template:{id:null,topicsCount:0,imageSrc:null,highlightImages:{title:null,highlight:null,topics:[]}},color:{id:null,primary:null,secondary:null},content:{title:"",highlight:"",logo:{name:null,content:null}},topics:[],currentHighlight:{name:null},suggestions:{templates:[{id:1,topicsCount:6,imageSrc:"/images/graphical-abstract/templates/template-1.png",highlightImages:{title:"/images/graphical-abstract/templates/template-1-title.png",highlight:"/images/graphical-abstract/templates/template-1-highlight.png",topics:["/images/graphical-abstract/templates/template-1-topic-1.png","/images/graphical-abstract/templates/template-1-topic-2.png","/images/graphical-abstract/templates/template-1-topic-3.png","/images/graphical-abstract/templates/template-1-topic-4.png","/images/graphical-abstract/templates/template-1-topic-5.png","/images/graphical-abstract/templates/template-1-topic-6.png"]}},{id:2,topicsCount:4,imageSrc:"/images/graphical-abstract/templates/template-2.png",highlightImages:{title:"/images/graphical-abstract/templates/template-2-title.png",highlight:"/images/graphical-abstract/templates/template-2-highlight.png",topics:["/images/graphical-abstract/templates/template-2-topic-1.png","/images/graphical-abstract/templates/template-2-topic-2.png","/images/graphical-abstract/templates/template-2-topic-3.png","/images/graphical-abstract/templates/template-2-topic-4.png"]}},{id:3,topicsCount:4,imageSrc:"/images/graphical-abstract/templates/template-3.png",highlightImages:{title:"/images/graphical-abstract/templates/template-3-title.png",highlight:"/images/graphical-abstract/templates/template-3-highlight.png",topics:["/images/graphical-abstract/templates/template-3-topic-1.png","/images/graphical-abstract/templates/template-3-topic-2.png","/images/graphical-abstract/templates/template-3-topic-3.png","/images/graphical-abstract/templates/template-3-topic-4.png"]}},{id:4,topicsCount:3,imageSrc:"/images/graphical-abstract/templates/template-4.png",highlightImages:{title:"/images/graphical-abstract/templates/template-4-title.png",highlight:"/images/graphical-abstract/templates/template-4-highlight.png",topics:["/images/graphical-abstract/templates/template-4-topic-1.png","/images/graphical-abstract/templates/template-4-topic-2.png","/images/graphical-abstract/templates/template-4-topic-3.png"]}},{id:5,topicsCount:3,imageSrc:"/images/graphical-abstract/templates/template-5.png",highlightImages:{title:"/images/graphical-abstract/templates/template-5-title.png",highlight:"/images/graphical-abstract/templates/template-5-highlight.png",topics:["/images/graphical-abstract/templates/template-5-topic-1.png","/images/graphical-abstract/templates/template-5-topic-2.png","/images/graphical-abstract/templates/template-5-topic-3.png"]}}],colors:[{id:1,primary:"#8DADCB",secondary:"#8FD6F0"},{id:2,primary:"#58227E",secondary:"#C1ABD2"},{id:3,primary:"#EC4215",secondary:"#FBD2CE"},{id:4,primary:"#3AA036",secondary:"#DDE8B5"},{id:5,primary:"#008ACE",secondary:"#C5E9F4"},{id:6,primary:"#81197C",secondary:"#9FCE54"},{id:7,primary:"#040D4D",secondary:"#ED9C1C"}],topicTitles:[],topicDescriptions:[],highlights:[]}},u=(0,i.createContext)([s,function(){}]);function c(e){var t=e.children,r=(0,i.useState)(s),n=r[0],a=r[1],c=[n,function(e){return a(e)}];return(0,o.jsx)(u.Provider,{value:c,children:t})}function l(){var e=(0,i.useContext)(u),t=e[0],r=e[1];return[t,function(e){if(e){for(var i in s)e[i]||(e[i]=t[i]);r(e)}else r(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
74t%2?a(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},s))}]}},8239:function(e,t,r){"use strict";r.d(t,{D:function(){return m},G:function(){return g}});var n=r(50029),i=r(59499),o=r(87794),a=r.n(o),s=r(67294),u=r(17545),c=r(97839),l=r(85893);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p={id:null,name:"",invites:[]},h=(0,s.createContext)([d({},p),function(){}]);function g(e){var t=e.children,r=(0,s.useState)(d({},p)),n=r[0],i=r[1],o=[n,function(e){return i(e)}];return(0,l.jsx)(h.Provider,{value:o,children:t})}function m(){var e=(0,s.useContext)(h),t=e[0],r=e[1],i=(0,c.fC)(),o=i.user,l=i.isAuthenticated;function f(){return p.apply(this,arguments)}function p(){return(p=(0,n.Z)(a().mark((function e(){var t,n,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=new u.Z,e.next=4,t.myTeam();case 4:n=e.sent,i=n.data,r(i),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}return(0,s.useEffect)((function(){o&&l&&f()}),[o,l]),[t,function(e){e?r(d(d({},t),e)):f()}]}},63149:function(e,t,r){"use strict";r.d(t,{$T:function(){return S},EW:function(){return x},E_:function(){return n},J1:function(){return u},N7:function(){return _},Nw:function(){return E},P_:function(){return y},Po:function(){return b},TA:function(){return m},U:function(){return v},b$:function(){return s},bv:function(){return w},c8:function(){return a},dx:function(){return c},fu:function(){return o},hk:function(){return k},k8:function(){return i},kp:function(){return g},mu:function(){return d},oz:function(){return l},p6:function(){return h},vY:function(){return f},zR:function(){return p}});var n={TRIAL:"T",STUDENT:"S",RESEARCHER:"R",LAB_RESEARCHER:"L",JOURNAL:"J",ADMIN:"A"},i={INDIVIDUAL:"INDIVIDUAL",TEAMS:"TEAMS"},o={TRIAL:"T",STUDENT:"S",RESEARCHER:"R",LAB_RESEARCHER:"L",JOURNAL:"J"},a={T:4,S:10,R:1/0,J:1/0,L:1/0},s={T:1/0,S:2,R:1/0,L:1/0},u={T:"Starter",S:"Student",R:"Researcher",L:"Teams and Institutions",J:"Journal",A:"Admin"},c={CARD:"card",PAYPAL:"paypal",ALIPAY:"alipay",SEPA_DEBIT:"sepa_debit",WECHAT_PAY:"wechat_pay"},l={YEAR:"year",MONTH:"month",SEMESTER:"semester",QUARTER:"quarter"},f={STRIPE:"stripe",PAYPAL:"paypal"},d={AVAILABLE:"available",REDEEMED:"redeemed",INVALIDATED:"invalidated"},p={PAYMENT_ISSUE:"payment_issue",NOT_READY:"not_ready",WRONG_PLAN:"wrong_plan",TOO_EXPENSIVE:"too_expensive",OTHER:"other"},h={MISSING_PAYMENT_METHOD:"missing_payment_method",CARD_DECLINED:"card_declined",SLOW_PROCESSING:"slow_processing",PAYPAL_VALIDATION:"paypal_validation",ALIPAY_VALIDATION:"alipay_validation",COMPARING_PRICES:"comparing_prices",KNOWING_PLATFORM:"knowing_platform",NOT_MEET_NEEDS:"not_meet_needs",MISTAKE_ACCESS:"mistake_access",OTHER:"other"},g={SHAPE:"shape",DYNAMIC_SHAPE:"dynamic_shape",DYNAMIC_LINE:"DynamicLine",RIGHT_ANGLE_LINE:"right_angle_line",ILLUSTRATION:"illustration",ICON:"icon",ACTIVE_SELECTION:"activeSelection",GROUP:"group",MOLECULE:"molecule",ARROW:"arrow",TEXT:"textbox",UPLOAD:"upload",CHART:"chart",GENERATION:"generation",SVG_PART:"svg_part",RECT:"rect",CIRCLE:"circle",PATH:"path",POLYGON:"polygon",LINE:"line"},m={LEFT:"left",RIGHT:"right",CENTER:"center",JUSTIFY:"justify"}
74,y={NORMAL:"normal",BULLET:"bullet",NUMERED:"numered"},b={TAB:9,ENTER:13,BACKSPACE:8,DELETE:46,CTRL:17,CMD:91,C:67,V:86,Z:90,Y:89,LEFT:37,UP:38,RIGHT:39,DOWN:40},v={EDIT:"editor",COMMENT:"commentor"},w={ILLUSTRATION_REQUEST_FORM:"illustration_request_form",ILLUSTRATION_REQUEST_UPSELL:"illustration_request_upsell",ILLUSTRATION_REQUEST_SUCCEDED:"illustration_request_succeded",ILLUSTRATION_LIMIT:"illustration_limit",ILLUSTRATION_LIMIT_NEW:"illustration_limit_new",TRIAL_REQUEST_SUBSCRIPTION_CONFIRMED:"trial_request_subscription_confirmed",TRIAL_REQUEST_CANCELLED:"trial_request_cancelled",LIMITATION_MODAL:"limitation_modal",LIMITATION_REQUEST_ILLUSTRATION_MODAL:"limitation_request_illustration_modal",EDIT_LIMITATION_MODAL:"edit_limitation_modal",CHECKOUT_FORM:"checkout_form",UPLOAD_LIMIT:"upload_limit",UPLOAD_LIMIT_NEW:"upload_limit_new",TRIAL_OFFER:"trial_offer",UPGRADE_OFFER:"upgrade_offer",BLACK_NOVEMBER:"black_november",PLANS_COMPARISON:"plans_comparison",PRESENTATION:"presentation",SLIDE_LIMIT:"slide_limit",DOWNLOAD:"download",DOWNLOAD_NEW:"download_new",DOWNLOAD_UPSELL:"download-upsell",CREATIONS_UPSELL:"creations_upsell",IMAGE_EDITION:"image_edition",MARCELATOR:"marcelator",REMOVE_FAVORITE:"remove_favorite",REMOVE_UPLOAD:"remove_upload",RENAME:"rename",SAVE_AS:"save_as",SAVE_AS_UPSELL:"save_as_upsell",SHARE:"share",SHARE_UPSELL:"share_upsell",SLIDE_COPY:"slide_copy",CONTACT_US:"contact_us",PROFILE:"profile",SLIDE_DELETE:"slide_delete",CREATION_WIZARD:"creation_wizard",NEW_CREATION:"new_creation",TEMPLATE_APPLY:"template_apply",CHART:"chart",BANNER_TRIAL_OFFER:"banner_trial_offer",ANNIVERSARY_MTG:"anniversary_mtg",TEXT_TO_IMAGE_OFFER:"text_to_image_offer",TEXT_TO_IMAGE_LIMIT:"text_to_image_limit",TEXT_TO_IMAGE_CUSTOM:"text_to_image_custom",TRIAL_MINUTES_LIMITATION_MODAL:"trial_minutes_limitation_modal",UPGRADE_MODAL:"upgrade_modal",REMOVE_WATERMARK:"remove_watermark",AI_GENERATION_LIMIT_REACHED:"ai_generation_limit_reached",BG_REMOVAL_LIMIT_REACHED:"bg_removal_limit_reached"},x={ABSTRACT:"abstract",SLIDE:"slide",INFOGRAPHIC:"infographic",POSTER:"poster",CUSTOM:"custom"},S={GRAPHICAL_ABSTRACT_MAKER:"graphical_abstract",POSTER_MAKER:"poster_maker",SCIENCE_FIGURES:"science_figures",CREATE_GRAPHICAL_ABSTRACT:"create_graphical_abstract",KOREA_TECH:"korea_tech",HOME_PAGE:"home_page"},k={MIN_WIDTH:100,MAX_WIDTH:2500,MIN_HEIGHT:100,MAX_HEIGHT:2500,MIN:100,MAX:2500},E={STUDENT:"student",RESEARCHER:"researcher",MTG_PRIME:"mtg-prime"},_={LAB:"teams-and-labs"}},97839:function(e,t,r){"use strict";r.d(t,{Ek:function(){return _},Lt:function(){return O},fC:function(){return k},s1:function(){return S},wU:function(){return E}});var n=r(50029),i=r(87794),o=r.n(i),a=r(11163),s=r(67294),u=r(22969),c=r(93484),l=r(847),f=r(31085),d=r(31955),p=r(62425),h=r(47108),g=r(85893),m=(0,s.createContext)(),y=(0,s.createContext)(null),b=(0,s.createContext)(null),v=(0,s.createContext)(null),w="/auth/logout",x=6e5;function S(e){var t=e.children,r=(0,s.useState)(!1),i=r[0],S=r[1],k=(0,s.use
74State)(null),E=k[0],_=k[1],O=(0,s.useState)(!0),A=O[0],T=O[1],C=(0,s.useState)(null),R=C[0],P=C[1],j=(0,s.useState)(null),I=j[0],L=j[1],N=(0,s.useState)(null),M=N[0],U=N[1],D=(0,s.useState)(!1),F=D[0],B=D[1],Z=(0,s.useState)(c.xK.SSO),$=Z[0],q=Z[1],z=(0,a.useRouter)(),H=(0,s.useCallback)(function(){var e=(0,n.Z)(o().mark((function e(t){var r,n,i,a,s,u=arguments;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=u.length>1&&void 0!==u[1]?u[1]:c.xK.SSO,n=t,t){e.next=7;break}return e.next=5,(new l.Z).getUser(null===R||void 0===R?void 0:R.id);case 5:i=e.sent,n=i.data;case 7:return P(n),e.next=10,(0,c.$y)(n.id);case 10:return a=e.sent,L(a),e.next=14,h.Z.getUserSettings();case 14:s=e.sent,U(s.data),B(!!0),S(!0),q(r),(0,c.fd)(a,n);case 21:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[null===R||void 0===R?void 0:R.id]),G=(0,s.useCallback)(function(){var e=(0,n.Z)(o().mark((function e(t){var r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.e.completeProfile(t);case 2:r=e.sent,L(r.data),B(!1);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[]),W=(0,s.useCallback)((function(e){try{if(e){var t="mindthegraph_favorites_all_".concat(e);sessionStorage.removeItem(t)}else{for(var r=[],n=0;n<sessionStorage.length;n++){var i=sessionStorage.key(n);i&&i.startsWith("mindthegraph_favorites_all_")&&r.push(i)}r.forEach((function(e){return sessionStorage.removeItem(e)}))}}catch(o){console.error("Error clearing favorites from session storage:",o)}}),[]),V=(0,s.useCallback)((function(){W(null===R||void 0===R?void 0:R.id),(0,c.S3)(),P(null),L(null),U(null),S(!1)}),[W,null===R||void 0===R?void 0:R.id]),K=(0,s.useCallback)((0,n.Z)(o().mark((function e(){var t,r,n,i,a,s,u,c,l=arguments;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=l.length>0&&void 0!==l[0]?l[0]:{},r=t.redirectPage,n=t.isFullUrl,i=r||"/my-creations",a=n?r:"".concat(window.location.origin).concat(i),s=localStorage.getItem("geoData"),u=s?JSON.parse(s).country_code:"US",c="CN"===u?f.z.sso.chineseDomain:f.z.sso.mainDomain,window.location.href="".concat(c,"/login?continue=").concat(encodeURIComponent(a));case 7:case"end":return e.stop()}}),e)}))),[]),Y=(0,s.useCallback)((0,n.Z)(o().mark((function e(){var t,r,n,a,s,l,f,d,p,h,g,m,y,b,v=arguments;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=v.length>0&&void 0!==v[0]?v[0]:{},r=t.triggerLogin,n=void 0!==r&&r,a=t.backgroundValidation,s=void 0!==a&&a,l=t.redirectTo,s||T(!0),e.prev=2,f=(0,c.gA)(),d=!E||Date.now()-E>=x,f!==c.Jp.FULLY_AUTHENTICATED||i&&!d){e.next=19;break}return e.next=8,u.n.validate();case 8:if(h=e.sent,null!==(p=h.data)&&void 0!==p&&p.active){e.next=13;break}return V(),n&&K({redirectPage:l||z.pathname}),e.abrupt("return",!1);case 13:if(i){e.next=17;break}return g=h.data.user,e.next=17,H(g);case 17:case 26:return _(Date.now()),e.abrupt("return",!0);case 19:if(f!==c.Jp.FULLY_AUTHENTICATED_SAML||i&&!d){e.next=28;break}return e.next=22,u.e.validateSamlUser();case 22:if(m=e.sent,i||!m.data){e.next=26;break}return e.next=26,H(m.data.user,c.xK.SAML);case 28:if(f!==c.Jp.SSO_AUTHENTICATED||z.pathname===w){e.next=37;break}return e.next=31,u.n.authenticate();case 31:return y=e.sent,(b=y.data.user).isNewUser=y.data.isNewUser,e.next=36,H(b);case 36:return e.abrupt("return",!0);case 37:if(f!==c.Jp.SSO_UNAUTHENTICATED&&f!==c.Jp.FULLY_UNAUTHENTICATED){e.next=41;break}return V(),n&&K({redirectPage:l||z.pathname}),e.abrupt("return",!1);case 41:return e.abrupt("return",f===c.Jp.FULLY_AUTHENTICATED||f===c.Jp.FULLY_AUTHENTICATED_SAML);case 44:return e.prev=44,e.t0=e.catch(2),console.error("Error validating session:",e.t0),n&&K({redirectPage:l||z.pathname}),e.abrupt("return",!1);case 49:return e.prev=49,T(!1),e.finish(49);case 52:case"end":return e.stop()}}),e,null,[[2,44,49,52]])}))),[i,E,K,V,z.pathname,H]),Q=(0,s.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="/auth/complete-profile?";if(e.length>0)z.push("".concat(t).concat(encodeURIComponent(e)));else{var r="".concat(window.location.origin).concat(z.asPath);z.push("".concat(t,"redirect=").concat(encodeURIComponent(r)))}}),[z]),J=(0,s.useCallback)((0,n.Z)(o().mark((function e(){var t,r,n,i,a,s,u,c=arguments;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=c.length>0&&void 0!==c[0]?c[0]:{}
74,r=t.redirectPage,n=t.isFullUrl,i=t.issLogoutUrl,a=r||"/my-creations",s=n?r:"".concat(window.location.origin).concat(a),(u="https://".concat(i,"/logout?continue=").concat(encodeURIComponent(s))).includes("https://https://")&&(u=u.replace("https://https://","https://")),window.location.href=u;case 6:case"end":return e.stop()}}),e)}))),[]),X=(0,s.useCallback)(function(){var e=(0,n.Z)(o().mark((function e(t){var r,n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t||z.pathname,n="".concat(window.location.origin).concat(r),window.location.href="".concat(f.z.sso.mainDomain,"/register?continue=").concat(encodeURIComponent(n));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[z.pathname]),ee=(0,s.useCallback)(function(){var e=(0,n.Z)(o().mark((function e(t){var r,n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.redirectPage,n=t.isFullUrl,e.prev=1,i){e.next=5;break}return K({redirectPage:r,isFullUrl:n}),e.abrupt("return");case 5:return e.next=7,Y();case 7:e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),K({redirectPage:r,isFullUrl:n});case 12:r?z.push(r):z.push(z.pathname);case 13:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(t){return e.apply(this,arguments)}}(),[i,K,z,Y]),te=(0,s.useCallback)((0,n.Z)(o().mark((function e(){var t,r,n,i,a,s,u;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if($!==c.xK.SAML){e.next=4;break}return V(),z.push("/"),e.abrupt("return");case 4:r=localStorage.getItem("geoData"),n=r?JSON.parse(r).country_code:"US",i="CN"===n?f.z.sso.chineseDomain:f.z.sso.mainDomain,a=d.Z.get(f.z.cookies.idCookieKey),s=a?(0,p.aj)(a):{},u=null!==(t=s.iss)&&void 0!==t?t:i,V(),J({issLogoutUrl:u});case 12:case"end":return e.stop()}}),e)}))),[$,J,V]);(0,s.useEffect)((function(){Y()}),[Y]),(0,s.useEffect)((function(){var e=function(){Y()};return z.events.on("routeChangeComplete",e),function(){return z.events.off("routeChangeComplete",e)}}),[Y]);var re=(0,s.useMemo)((function(){return{isAuthenticated:i,isLoading:A,user:R,profile:I,userJournalSettings:M,shouldCompleteProfile:F,login:ee,logout:te,register:X,redirectToCompleteProfile:Q,completeProfile:G,updateUser:H,authType:$,validateSession:Y}}),[i,A,R,I,M,F,ee,te,X,Q,G,H,$,Y]),ne=(0,s.useMemo)((function(){return{login:ee,logout:te,register:X,redirectToCompleteProfile:Q,completeProfile:G,updateUser:H,validateSession:Y}}),[ee,te,X,Q,G,H,Y]),ie=(0,s.useMemo)((function(){return R?{id:R.id,email:R.email,country_code:R.country_code,tp_user:R.tp_user,team:R.team}:null}),[null===R||void 0===R?void 0:R.id,null===R||void 0===R?void 0:R.email,null===R||void 0===R?void 0:R.country_code,null===R||void 0===R?void 0:R.tp_user,null===R||void 0===R?void 0:R.team]);return(0,g.jsx)(y.Provider,{value:R,children:(0,g.jsx)(v.Provider,{value:ie,children:(0,g.jsx)(b.Provider,{value:ne,children:(0,g.jsx)(m.Provider,{value:re,children:t})})})})}var k=function(){var e=(0,s.useContext)(m);if(!e)throw new Error("useAuthUser must be used within an AuthUserProvider");return e},E=function(){return(0,s.useContext)(y)},_=function(){var e=(0,s.useContext)(b);if(!e)throw new Error("useAuthUserActions must be used within an AuthUserProvider");return e},O=function(){return(0,s.useContext)(v)}},93484:function(e,t,r){"use strict";r.d(t,{$y:function(){return m},Ew:function(){return w},Jp:function(){return p},RR:function(){return v},S3:function(){return y},dv:function(){return b},fd:function(){return x},gA:function(){return g},hI:function(){return h},xK:function(){return d}});var n=r(50029),i=r(16835),o=r(87794),a=r.n(o),s=r(31085),u=r(31955),c=r(49089),l=r(847),f=r(53497),d={SAML:"SAML",SSO:"SSO"},p={FULLY_AUTHENTICATED_SAML:"FULLY_AUTHENTICATED_SAML",FULLY_AUTHENTICATED:"FULLY_AUTHENTICATED",SSO_AUTHENTICATED:"SSO_AUTHENTICATED",FULLY_UNAUTHENTICATED:"FULLY_UNAUTHENTICATED",SSO_UNAUTHENTICATED:"SSO_UNAUTHENTICATED"},h=function(e){u.Z.set(s.z.cookies.idCookieKey,e,{expires:30,path:"/",domain:".mindthegraph.com"})},g=function(){var e=function(){var e=s.z.cookies.auidCookieKey;return u.Z.get(e)}(),t=function(){var e=s.z.cookies.idCookieKey;return u.Z.get(e)}(),r=function(e){if(!e)return null;var t=e.split("|"),r=(0,i.Z)(t,2);return r[0],r[1]}(t),n=!!e;return!!t?r?n?e===r?p.FULLY_AUTHENTICATED:p.SSO_AUTHENTICATED:p.SSO_UNAUTHENTICATED:p.FULLY_AUTHENTICATED_SAML:n?p.SSO_AUTHENTICATED:p.FULLY_UNAUTHENTICATED},m=function(){var e=(0,n.Z)(a().mark((function e(t){var r,n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new l.Z,e.next=3,r.fetchOne(t);case 3:return n=e.sent,e.abrupt("return",n.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),y=function(){u.Z.remove(s.z.cookies.idCookieKey,{path:"/",domain:".mindthegraph.com"})},b=function(){return"true"===(localStorage.getItem("showComments")||"true")},v=function(e){localStorage.setItem("showComments",e?"true":"false")},w=function(e,t,r){r&&c.ZP.gtag("event","mtg_first_login",{sso_id:e,login_method:"email",language:"en",market:t})},x=function(){var e=(0,n.Z)(a().mark((function e(t,r){var n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,r&&r.cactusId){e.next=4;break}return console.error("User or cactusId is missing"),e.abrupt("return");case 4:return e.next=6,(0,f.Z)();case 6:if(n=e.sent){e.next=10;break}return console.error("CleverTap is not available"),e.abrupt("return");case 10:n.onUserLogin.push({Site:{Identity:r.cactusId,Name:t.name||"",Email:r.email||"","Plan Type MTG":r.tp_user||"",Partner:r.partner||""}}),"undefined"!==typeof r.isNewUser&&r.isNewUser&&n.event.push("sign-up",{Product:"MTG",Email:r.email,"Country code":r.country_code,Description:"Sign up"}),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(0),console.error("Error in onUserLoginCT:",e.t0);case 17:case"end":return e.stop()}}),e,null,[[0,14]])}
74)));return function(t,r){return e.apply(this,arguments)}}()},96493:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(50029),i=r(87794),o=r.n(i),a=r(31085),s=r(67294),u=r(9669),c=r.n(u),l=r(97839),f={ip:"127.0.0.1",country_code:"US",country_name:"United States",region_code:"NY",region_name:"New York",city:"New York",zip_code:"10001",time_zone:"America/New_York",latitude:40.7128,longitude:-74.006,metro_code:0};function d(){var e=(0,s.useState)(f),t=e[0],r=e[1],i=(0,l.fC)().isLoading,u=(0,s.useState)(!0),d=u[0],p=u[1];return(0,s.useEffect)((function(){function e(){return(e=(0,n.Z)(o().mark((function e(){var t,n,i,s;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(p(!0),e.prev=1,!(t=localStorage.getItem("geoData"))){e.next=7;break}r(JSON.parse(t)),e.next=14;break;case 7:return n="".concat(a.z.geoIp.endpoint),e.next=10,c().get(n);case 10:i=e.sent,s=i.data,r(s),localStorage.setItem("geoData",JSON.stringify(s));case 14:e.next=19;break;case 16:e.prev=16,e.t0=e.catch(1),console.error(e.t0);case 19:return e.prev=19,p(!1),e.finish(19);case 22:case"end":return e.stop()}}),e,null,[[1,16,19,22]])})))).apply(this,arguments)}i||function(){e.apply(this,arguments)}()}),[i]),{geoData:t,setGeoData:r,isLoadingGeoData:d}}},94126:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return So}});var n=r(59499),i=r(50029),o=r(4730),a=r(87794),s=r.n(a),u=r(9008),c=r.n(u),l=r(49089),f=r(11163),d=r(67294),p=r(186),h=r(17704),g=r(64616),m=r(34631),y=(0,p.css)(["@font-face{font-family:'Lato';font-style:normal;font-weight:300;font-display:swap;src:local('Lato Light'),local('Lato-Light'),url(/fonts/lato-light.woff2) format('woff2');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;}@font-face{font-family:'Lato';font-style:normal;font-weight:300;font-display:swap;src:local('Lato Light'),local('Lato-Light'),url(/fonts/lato-light-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:local('Lato Regular'),local('Lato-Regular'),url(/fonts/lato-regular-latinext.woff2) format('woff2');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;}@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:local('Lato Regular'),local('Lato-Regular'),url(/fonts/lato-regular-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;src:local('Lato Bold'),local('Lato-Bold'),url(/fonts/lato-bold-latinext.woff2) format('woff2');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;}@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;src:local('Lato Bold'),local('Lato-Bold'),url(/fonts/lato-bold-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}@font-face{font-family:'Lato';font-style:normal;font-weight:900;font-display:swap;src:local('Lato Black'),local('Lato-Black'),url(/fonts/lato-black-latinext.woff2) format('woff2');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;}@font-face{font-family:'Lato';font-style:normal;font-weight:900;font-display:swap;src:local('Lato Black'),local('Lato-Black'),url(/fonts/lato-black-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(/fonts/material-icons.woff2) format('woff2');font-display:swap;}.material-icons{font-family:'Material Icons';font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';-webkit-font-smoothing:antialiased;}@font-face{font-family:'museo_slab500';src:url('/fonts/museo_slab_500_2-webfont.eot');src:url('/fonts/museo_slab_500_2-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/museo_slab_500_2-webfont.woff') format('woff'),url('/fonts/museo_slab_500_2-webfont.ttf') format('truetype'),url('/fonts/museo_slab_500_2-webfont.svg#museo_slab500') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'francois_oneregular';src:url('/fonts/francoisone-webfont.eot');src:url('/fonts/francoisone-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/francoisone-webfont.woff') format('woff'),url('/fonts/francoisone-webfont.ttf') format('truetype'),url('/fonts/francoisone-webfont.svg#francois_oneregular') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'roboto_slabbold';src:url('/fonts/robotoslab-bold-webfont.eot');src:url('/fonts/robotoslab-bold-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/robotoslab-bold-webfont.woff') format('woff'),url('/fonts/robotoslab-bold-webfont.ttf') format('truetype'),url('/fonts/robotoslab-bold-webfont.svg#roboto_slabbold') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'roboto_slabregular';src:url('/fonts/robotoslab-regular-webfont.eot');src:url('/fonts/robotoslab-regular-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/robotoslab-regular-webfont.woff') format('woff'),url('/fonts/robotoslab-regular-webfont.ttf') format('truetype'),url('/fonts/robotoslab-regular-webfont.svg#roboto_slabregular') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'caviar_dreamsbold_italic';src:url('/fonts/caviardreams_bolditalic-webfont.eot');src:url('/fonts/caviardreams_bolditalic-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/caviardreams_bolditalic-webfont.woff') format('woff'),url('/fonts/caviardreams_bolditalic-webfont.ttf') format('truetype'),url('/fonts/caviardreams_bolditalic-webfont.svg#caviar_dreamsbold_italic') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'caviar_dreamsregular';src:url('/fonts/caviardreams-webfont.eot');src:url('/fonts/caviardreams-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/caviardreams-webfont.woff') format('woff'),url('/fonts/caviardreams-webfont.ttf') format('truetype'),url('/fonts/caviardreams-webfont.svg#caviar_dreamsregular') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'caviar_dreamsitalic';src:url('/fonts/caviardreams_italic-webfont.eot');src:url('/fonts/caviardreams_italic-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/caviardreams_italic-webfont.woff') format('woff'),url('/fonts/caviardreams_italic-webfont.ttf') format('truetype'),url('/fonts/caviardreams_italic-webfont.svg#caviar_dreamsitalic') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'caviar_dreamsbold';src:url('/fonts/caviar_dreams_bold-webfont.eot');src:url('/fonts/caviar_dreams_bold-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/caviar_dreams_bold-webfont.woff') format('woff'),url('/fonts/caviar_dreams_bold-webfont.ttf') format('truetype'),url('/fonts/caviar_dreams_bold-webfont.svg#caviar_dreamsbold') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'misobold';src:url('/fonts/miso-bold-webfont.eot');src:url('/fonts/miso-bold-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/miso-bold-webfont.woff') format('woff'),url('/fonts/miso-bold-webfont.ttf') format('truetype'),url('/fonts/miso-bold-webfont.svg#misobold') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'misoregular';src:url('/fonts/miso-regular-webfont.eot');src:url('/fonts/miso-regular-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/miso-regular-webfont.woff') format('woff'),url('/fonts/miso-regular-webfont.ttf') format('truetype'),url('/fonts/miso-regular-webfont.svg#misoregular') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'nunitobold';src:url('/fonts/nunito-bold-webfont.eot');src:url('/fonts/nunito-bold-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/nunito-bold-webfont.woff') format('woff'),url('/fonts/nunito-bold-webfont.ttf') format('truetype'),url('/fonts/nunito-bold-webfont.svg#nunitobold') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'nunitoregular';src:url('/fonts/nunito-regular-webfont.eot');src:url('/fonts/nunito-regular-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/nunito-regular-webfont.woff') format('woff'),url('/fonts/nunito-regular-webfont.ttf') format('truetype'),url('/fonts/nunito-regular-webfont.svg#nunitoregular') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'signikabold';src:url('/fonts/signika-bold-webfont.eot');src:url('/fonts/signika-bold-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/signika-bold-webfont.woff') format('woff'),url('/fonts/signika-bold-webfont.ttf') format('truetype'),url('/fonts/signika-bold-webfont.svg#signikabold') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'signikaregular';src:url('/fonts/signika-regular-webfont.eot');src:url('/fonts/signika-regular-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/signika-regular-webfont.woff') format('woff'),url('/fonts/signika-regular-webfont.ttf') format('truetype'),url('/fonts/signika-regular-webfont.svg#signikaregular') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'breeserifregular';src:url('/fonts/breeserif-regular-webfont.eot');src:url('/fonts/breeserif-regular-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/breeserif-regular-webfont.woff') format('woff'),url('/fonts/breeserif-regular-webfont.ttf') format('truetype'),url('/fonts/breeserif-regular-webfont.svg#breeserifregular') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'comfortaaregular';src:url('/fonts/comfortaa-regular-webfont.eot');src:url('/fonts/comfortaa-regular-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/comfortaa-regular-webfont.woff') format('woff'),url('/fonts/comfortaa-regular-webfont.ttf') format('truetype'),url('/fonts/comfortaa-regular-webfont.svg#comfortaaregular') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'comfortaabold';src:url('/fonts/comfortaa-bold-webfont.eot');src:url('/fonts/comfortaa-bold-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/comfortaa-bold-webfont.woff') format('woff'),url('/fonts/comfortaa-bold-webfont.ttf') format('truetype'),url('/fonts/comfortaa-bold-webfont.svg#comfortaabold') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'grandhotelregular';src:url('/fonts/grandhotel-regular-webfont.eot');src:url('/fonts/grandhotel-regular-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/grandhotel-regular-webfont.woff') format('woff'),url('/fonts/grandhotel-regular-webfont.ttf') format('truetype'),url('/fonts/grandhotel-regular-webfont.svg#grandhotelregular') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'merriweatherregular';src:url('/fonts/merriweather-regular-webfont.eot');src:url('/fonts/merriweather-regular-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/merriweather-regular-webfont.woff') format('woff'),url('/fonts/merriweather-regular-webfont.ttf') format('truetype'),url('/fonts/merriweather-regular-webfont.svg#merriweatherregular') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'merriweatherbold';src:url('/fonts/merriweather-bold-webfont.eot');src:url('/fonts/merriweather-bold-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/merriweather-bold-webfont.woff') format('woff'),url('/fonts/merriweather-bold-webfont.ttf') format('truetype'),url('/fonts/merriweather-bold-webfont.svg#merriweatherbold') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'merriweatheritalic';src:url('/fonts/merriweather-italic-webfont.eot');src:url('/fonts/merriweather-italic-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/merriweather-italic-webfont.woff') format('woff'),url('/fonts/merriweather-italic-webfont.ttf') format('truetype'),url('/fonts/merriweather-italic-webfont.svg#merriweatheritalic') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'merriweatherbold_italic';src:url('/fonts/merriweather-bolditalic-webfont.eot');src:url('/fonts/merriweather-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/merriweather-bolditalic-webfont.woff') format('woff'),url('/fonts/merriweather-bolditalic-webfont.ttf') format('truetype'),url('/fonts/merriweather-bolditalic-webfont.svg#merriweatherbold_italic') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'oleoscriptregular';src:url('/fonts/oleoscript-regular-webfont.eot');src:url('/fonts/oleoscript-regular-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/oleoscript-regular-webfont.woff') format('woff'),url('/fonts/oleoscript-regular-webfont.ttf') format('truetype'),url('/fonts/oleoscript-regular-webfont.svg#oleoscriptregular') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'oleoscriptbold';src:url('/fonts/oleoscript-bold-webfont.eot');src:url('/fonts/oleoscript-bold-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/oleoscript-bold-webfont.woff') format('woff'),url('/fonts/oleoscript-bold-webfont.ttf') format('truetype'),url('/fonts/oleoscript-bold-webfont.svg#oleoscriptbold') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'questrialregular';src:url('/fonts/questrial-regular-webfont.eot');src:url('/fonts/questrial-regular-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/questrial-regular-webfont.woff') format('woff'),url('/fonts/questrial-regular-webfont.ttf') format('truetype'),url('/fonts/questrial-regular-webfont.svg#questrialregular') format('svg');font-weight:normal;font-style:normal;}
74@font-face{font-family:'open_sansbold';src:url('/fonts/opensans-bold-webfont.eot');src:url('/fonts/opensans-bold-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/opensans-bold-webfont.woff') format('woff'),url('/fonts/opensans-bold-webfont.ttf') format('truetype'),url('/fonts/opensans-bold-webfont.svg#open_sansbold') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'open_sansbold_italic';src:url('/fonts/opensans-bolditalic-webfont.eot');src:url('/fonts/opensans-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/opensans-bolditalic-webfont.woff') format('woff'),url('/fonts/opensans-bolditalic-webfont.ttf') format('truetype'),url('/fonts/opensans-bolditalic-webfont.svg#open_sansbold_italic') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'open_sansitalic';src:url('/fonts/opensans-italic-webfont.eot');src:url('/fonts/opensans-italic-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/opensans-italic-webfont.woff') format('woff'),url('/fonts/opensans-italic-webfont.ttf') format('truetype'),url('/fonts/opensans-italic-webfont.svg#open_sansitalic') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'open_sansregular';src:url('/fonts/opensans-regular-webfont.eot');src:url('/fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),url('/fonts/opensans-regular-webfont.woff') format('woff'),url('/fonts/opensans-regular-webfont.ttf') format('truetype'),url('/fonts/opensans-regular-webfont.svg#open_sansregular') format('svg');font-weight:normal;font-style:normal;}"]),b=r(62425),v=(0,b.dU)("CDN_PUBLIC_ASSETS_URL"),w=(0,p.css)([".sprite-wrapper-20{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;}.sprite-icon{background-repeat:no-repeat;display:block;flex-shrink:0;}.sprite-top-black-download-icon{background-image:url('","/spritesheet-top.png');width:40px;height:32px;background-position:-5px -5px;transform:scale(0.6);transform-origin:center center;}.sprite-top-black-help-icon{background-image:url('","/spritesheet-top.png');width:40px;height:40px;background-position:-55px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-top-black-presentation-icon{background-image:url('","/spritesheet-top.png');width:40px;height:40px;background-position:-5px -55px;transform:scale(0.5);transform-origin:center center;}.sprite-top-black-saved-icon{background-image:url('","/spritesheet-top.png');width:50px;height:30px;background-position:-105px -5px;transform:scale(0.7);transform-origin:center center;margin-right:12px;}.sprite-top-black-share-icon{background-image:url('","/spritesheet-top.png');width:28px;height:30px;background-position:-105px -45px;transform:scale(0.666);transform-origin:center center;}.sprite-top-pink-download-icon{background-image:url('","/spritesheet-pink-top.png');width:40px;height:32px;background-position:-5px -5px;transform:scale(0.6);transform-origin:center center;}.sprite-top-pink-help-icon{background-image:url('","/spritesheet-pink-top.png');width:40px;height:40px;background-position:-5px -47px;transform:scale(0.5);transform-origin:center center;}.sprite-top-pink-presentation-icon{background-image:url('","/spritesheet-pink-top.png');width:40px;height:40px;background-position:-55px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-top-pink-share-icon{background-image:url('","/spritesheet-pink-top.png');width:28px;height:30px;background-position:-105px -5px;transform:scale(0.666);transform-origin:center center;}.sprite-workspace-black-backgrounds-icon{background-image:url('","/spritesheet-left.png');width:49px;height:50px;background-position:-5px -5px;transform:scale(0.4);transform-origin:center center;}.sprite-workspace-black-charts-icon{background-image:url('","/spritesheet-left.png');width:46px;height:46px;background-position:-64px -5px;transform:scale(0.435);transform-origin:center center;}.sprite-workspace-black-generative-ai-icon{background-image:url('","/spritesheet-left.png');width:40px;height:40px;background-position:-120px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-workspace-black-heart-icon{background-image:url('","/spritesheet-left.png');width:48px;height:52px;background-position:-64px -61px;transform:scale(0.417);transform-origin:center center;}.sprite-workspace-black-icon-request-icon{background-image:url('","/spritesheet-left.png');width:49px;height:65px;background-position:-170px -5px;transform:scale(0.308);transform-origin:center center;}.sprite-workspace-black-shapes-icon{background-image:url('","/spritesheet-left.png');width:51px;height:49px;background-position:-122px -80px;transform:scale(0.351);transform-origin:center center;}.sprite-workspace-black-templates-icon{background-image:url('","/spritesheet-left.png');width:57px;height:41px;background-position:-5px -137px;transform:scale(0.351);transform-origin:center center;}.sprite-workspace-black-text-icon{background-image:url('","/spritesheet-left.png');width:38px;height:37px;background-position:-5px -80px;transform:scale(0.526);transform-origin:center center;}.sprite-workspace-black-uploads-icon{background-image:url('","/spritesheet-left.png');width:40px;height:40px;background-position:-183px -80px;transform:scale(0.5);transform-origin:center center;}.sprite-workspace-pink-backgrounds-icon{background-image:url('","/spritesheet-pink-left.png');width:40px;height:40px;background-position:-5px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-workspace-pink-charts-icon{background-image:url('","/spritesheet-pink-left.png');width:40px;height:40px;background-position:-55px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-workspace-pink-generative-ai-icon{background-image:url('","/spritesheet-pink-left.png');width:40px;height:40px;background-position:-105px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-workspace-pink-heart-icon{background-image:url('","/spritesheet-pink-left.png');width:47px;height:49px;background-position:-5px -55px;transform:scale(0.4,0.45);transform-origin:center center;}.sprite-workspace-pink-icon-request-icon{background-image:url('","/spritesheet-pink-left.png');width:49px;height:65px;background-position:-63px -55px;transform:scale(0.308);transform-origin:center center;}.sprite-workspace-pink-shapes-icon{background-image:url('","/spritesheet-pink-left.png');width:40px;height:38px;background-position:-155px -5px;transform:scale(0.45);transform-origin:center center;}.sprite-workspace-pink-templates-icon{background-image:url('","/spritesheet-pink-left.png');width:43px;height:30px;background-position:-155px -53px;transform:scale(0.47,0.48);transform-origin:center center;}.sprite-workspace-pink-text-icon{background-image:url('","/spritesheet-pink-left.png');width:40px;height:40px;background-position:-122px -93px;transform:scale(0.5);transform-origin:center center;}.sprite-workspace-pink-uploads-icon{background-image:url('","/spritesheet-pink-left.png');width:40px;height:40px;background-position:-5px -143px;transform:scale(0.5);transform-origin:center center;}.sprite-workspace-black-backups-icon{background-image:url('","/spritesheet-right.png');width:48px;height:48px;background-position:-5px -5px;transform:scale(0.417);transform-origin:center center;}.sprite-workspace-black-comments-icon{background-image:url('","/spritesheet-right.png');width:40px;height:36px;background-position:-63px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-workspace-black-custom-services-icon{background-image:url('","/spritesheet-right.png');width:48px;height:64px;background-position:-63px -51px;transform:scale(0.313);transform-origin:center center;}.sprite-workspace-black-settings-icon{background-image:url('","/spritesheet-right.png');width:48px;height:51px;background-position:-121px -5px;transform:scale(0.392);transform-origin:center center;}.sprite-workspace-black-slides-icon{background-image:url('","/spritesheet-right.png');width:66px;height:50px;background-position:-121px -66px;transform:scale(0.303);transform-origin:center center;}.sprite-workspace-pink-backups-icon{background-image:url('","/spritesheet-pink-right.png');width:40px;height:40px;background-position:-5px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-workspace-pink-comments-icon{background-image:url('","/spritesheet-pink-right.png');width:40px;height:36px;background-position:-55px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-workspace-pink-custom-services-icon{background-image:url('","/spritesheet-pink-right.png');width:48px;height:64px;background-position:-105px -5px;transform:scale(0.313);transform-origin:center center;}.sprite-workspace-pink-settings-icon{background-image:url('","/spritesheet-pink-right.png');width:38px;height:40px;background-position:-5px -79px;transform:scale(0.5);transform-origin:center center;}
74.sprite-workspace-pink-slides-icon{background-image:url('","/spritesheet-pink-right.png');width:40px;height:30px;background-position:-53px -79px;transform:scale(0.5);transform-origin:center center;}.sprite-toolbar-bottom-redo-icon{background-image:url('","/spritesheet-toolbar-bottom.png');width:36px;height:34px;background-position:-5px -5px;transform:scale(0.456);transform-origin:center center;}.sprite-toolbar-bottom-undo-icon{background-image:url('","/spritesheet-toolbar-bottom.png');width:36px;height:34px;background-position:-51px -5px;transform:scale(0.456);transform-origin:center center;}.sprite-toolbar-bottom-zoom-decrease-icon{background-image:url('","/spritesheet-toolbar-bottom.png');width:18px;height:4px;background-position:-97px -5px;transform:scale(0.6);transform-origin:center center;}.sprite-toolbar-bottom-zoom-increase-icon{background-image:url('","/spritesheet-toolbar-bottom.png');width:18px;height:16px;background-position:-97px -19px;transform:scale(0.6);transform-origin:center center;}.sprite-toolbar-bottom-zoom-reset-icon{background-image:url('","/spritesheet-toolbar-bottom.png');width:30px;height:28px;background-position:-5px -49px;transform:scale(0.5);transform-origin:center center;}.sprite-toolbar-one-bring-forward-icon{background-image:url('","/spritesheet-toolbar-one.png');width:42px;height:38px;background-position:-5px -5px;transform:scale(0.476);transform-origin:center center;}.sprite-toolbar-one-bring-to-front-icon{background-image:url('","/spritesheet-toolbar-one.png');width:42px;height:50px;background-position:-57px -5px;transform:scale(0.4);transform-origin:center center;}.sprite-toolbar-one-fill-color-icon{background-image:url('","/spritesheet-toolbar-one.png');width:40px;height:38px;background-position:-109px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-toolbar-one-fit-to-canvas-icon{background-image:url('","/spritesheet-toolbar-one.png');width:40px;height:40px;background-position:-5px -53px;transform:scale(0.5);transform-origin:center center;}.sprite-toolbar-one-flip-icon{background-image:url('","/spritesheet-toolbar-one.png');width:48px;height:40px;background-position:-109px -53px;transform:scale(0.417);transform-origin:center center;}.sprite-toolbar-one-lock-icon{background-image:url('","/spritesheet-toolbar-one.png');width:30px;height:40px;background-position:-5px -103px;transform:scale(0.5);transform-origin:center center;}.sprite-toolbar-one-opacity-icon{background-image:url('","/spritesheet-toolbar-one.png');width:36px;height:42px;background-position:-45px -103px;transform:scale(0.476);transform-origin:center center;}.sprite-toolbar-one-remove-icon{background-image:url('","/spritesheet-toolbar-one.png');width:34px;height:40px;background-position:-91px -103px;transform:scale(0.5);transform-origin:center center;}.sprite-toolbar-one-send-backward-icon{background-image:url('","/spritesheet-toolbar-one.png');width:42px;height:40px;background-position:-167px -5px;transform:scale(0.476);transform-origin:center center;}.sprite-toolbar-one-send-to-back-icon{background-image:url('","/spritesheet-toolbar-one.png');width:42px;height:50px;background-position:-167px -55px;transform:scale(0.4);transform-origin:center center;}.sprite-toolbar-one-stroke-edit-icon{background-image:url('","/spritesheet-toolbar-one.png');width:48px;height:34px;background-position:-135px -115px;transform:scale(0.417);transform-origin:center center;}.sprite-align-bottom-icon{background-image:url('","/spritesheet-toolbar-all.png');width:34px;height:32px;background-position:-5px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-align-center-horizontal-icon{background-image:url('","/spritesheet-toolbar-all.png');width:26px;height:32px;background-position:-49px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-align-center-vertical-icon{background-image:url('","/spritesheet-toolbar-all.png');width:34px;height:26px;background-position:-85px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-align-icon{background-image:url('","/spritesheet-toolbar-all.png');width:42px;height:40px;background-position:-129px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-align-left-icon{background-image:url('","/spritesheet-toolbar-all.png');width:34px;height:32px;background-position:-181px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-align-right-icon{background-image:url('","/spritesheet-toolbar-all.png');width:34px;height:32px;background-position:-225px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-align-top-icon{background-image:url('","/spritesheet-toolbar-all.png');width:34px;height:32px;background-position:-269px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-bring-forward-icon{background-image:url('","/spritesheet-toolbar-all.png');width:42px;height:38px;background-position:-313px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-bring-to-front-icon{background-image:url('","/spritesheet-toolbar-all.png');width:42px;height:50px;background-position:-365px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-bullet-list-icon{background-image:url('","/spritesheet-toolbar-all.png');width:36px;height:40px;background-position:-5px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-change-case-icon{background-image:url('","/spritesheet-toolbar-all.png');width:52px;height:32px;background-position:-5px -55px;transform:scale(0.5);transform-origin:center center;}.sprite-chart-edition-icon{background-image:url('","/spritesheet-toolbar-all.png');width:44px;height:42px;background-position:-67px -55px;transform:scale(0.5);transform-origin:center center;}.sprite-convert-to-curve-icon{background-image:url('","/spritesheet-toolbar-all.png');width:44px;height:44px;background-position:-121px -55px;transform:scale(0.5);transform-origin:center center;}.sprite-convert-to-line-icon-dark{background-image:url('","/spritesheet-toolbar-all.png');width:44px;height:44px;
74background-position:-175px -55px;transform:scale(0.5);transform-origin:center center;}.sprite-crop-icon{background-image:url('","/spritesheet-toolbar-all.png');width:48px;height:44px;background-position:-229px -55px;transform:scale(0.5);transform-origin:center center;}.sprite-crop-square-icon{background-image:url('","/spritesheet-toolbar-all.png');width:42px;height:42px;background-position:-287px -55px;transform:scale(0.5);transform-origin:center center;}.sprite-dashed-border-icon{background-image:url('","/spritesheet-toolbar-all.png');width:268px;height:6px;background-position:-5px -109px;transform:scale(0.5);transform-origin:center center;}.sprite-dotted-border-icon{background-image:url('","/spritesheet-toolbar-all.png');width:268px;height:6px;background-position:-5px -125px;transform:scale(0.5);transform-origin:center center;}.sprite-drag-icon{background-image:url('","/spritesheet-toolbar-all.png');width:12px;height:58px;background-position:-339px -55px;transform:scale(0.5);transform-origin:center center;}.sprite-edit-icon{background-image:url('","/spritesheet-toolbar-all.png');width:48px;height:48px;background-position:-5px -55px;transform:scale(0.5);transform-origin:center center;}.sprite-effects-icon{background-image:url('","/spritesheet-toolbar-all.png');width:50px;height:52px;background-position:-361px -113px;transform:scale(0.5);transform-origin:center center;}.sprite-favorite-icon{background-image:url('","/spritesheet-toolbar-all.png');width:46px;height:44px;background-position:-283px -113px;transform:scale(0.5);transform-origin:center center;}.sprite-favorite-icon-active{background-image:url('","/spritesheet-toolbar-all.png');width:46px;height:44px;background-position:-421px -113px;transform:scale(0.5);transform-origin:center center;}.sprite-fill-color-icon{background-image:url('","/spritesheet-toolbar-all.png');width:42px;height:40px;background-position:-5px -167px;transform:scale(0.5);transform-origin:center center;}.sprite-fit-to-canvas-icon{background-image:url('","/spritesheet-toolbar-all.png');width:40px;height:40px;background-position:-57px -167px;transform:scale(0.5);transform-origin:center center;}.sprite-flip-icon{background-image:url('","/spritesheet-toolbar-all.png');width:48px;height:40px;background-position:-107px -167px;transform:scale(0.5);transform-origin:center center;}.sprite-group-icon{background-image:url('","/spritesheet-toolbar-all.png');width:48px;height:48px;background-position:-165px -167px;transform:scale(0.5);transform-origin:center center;}.sprite-regroup-icon{background-image:url('","/spritesheet-toolbar-all.png');width:40px;height:40px;background-position:-225px -167px;transform:scale(0.5);transform-origin:center center;}.sprite-image-edition-icon{background-image:url('","/spritesheet-toolbar-all.png');width:44px;height:42px;background-position:-223px -167px;transform:scale(0.5);transform-origin:center center;}.sprite-left-pointer-icon{background-image:url('","/spritesheet-toolbar-all.png');width:36px;height:26px;background-position:-277px -167px;transform:scale(0.5);transform-origin:center center;}.sprite-line-spacing-icon{background-image:url('","/spritesheet-toolbar-all.png');width:44px;height:42px;background-position:-421px -167px;transform:scale(0.5);transform-origin:center center;}.sprite-lock-icon{background-image:url('","/spritesheet-toolbar-all.png');width:32px;height:40px;background-position:-5px -219px;transform:scale(0.5);transform-origin:center center;}.sprite-normal-list-icon{background-image:url('","/spritesheet-toolbar-all.png');width:34px;height:34px;background-position:-47px -219px;transform:scale(0.5);transform-origin:center center;}.sprite-numered-list-icon{background-image:url('","/spritesheet-toolbar-all.png');width:36px;height:44px;background-position:-91px -219px;transform:scale(0.5);transform-origin:center center;}.sprite-opacity-icon{background-image:url('","/spritesheet-toolbar-all.png');width:36px;height:42px;background-position:-223px -219px;transform:scale(0.5);transform-origin:center center;}.sprite-pointer-option-1-icon{background-image:url('","/spritesheet-toolbar-all.png');width:30px;height:20px;background-position:-269px -219px;transform:scale(0.5);transform-origin:center center;}.sprite-pointer-option-2-icon{background-image:url('","/spritesheet-toolbar-all.png');width:30px;height:22px;background-position:-309px -219px;transform:scale(0.5);transform-origin:center center;}.sprite-pointer-option-3-icon{background-image:url('","/spritesheet-toolbar-all.png');width:34px;height:20px;background-position:-349px -219px;transform:scale(0.5);transform-origin:center center;}.sprite-pointer-option-4-icon{background-image:url('","/spritesheet-toolbar-all.png');width:36px;height:24px;background-position:-393px -219px;transform:scale(0.5);transform-origin:center center;}.sprite-pointer-option-5-icon{background-image:url('","/spritesheet-toolbar-all.png');width:38px;height:22px;background-position:-137px -253px;transform:scale(0.5);transform-origin:center center;}.sprite-power-edit-icon{background-image:url('","/spritesheet-toolbar-all.png');width:176px;height:36px;background-position:-269px -253px;transform:scale(0.5);transform-origin:center center;}.sprite-remove-bg-black-icon{background-image:url('","/spritesheet-toolbar-all.png');width:128px;height:18px;background-position:-5px -299px;transform:scale(0.5);transform-origin:center center;}.sprite-remove-bg-white-icon{background-image:url('","/spritesheet-toolbar-all.png');width:128px;height:18px;background-position:-143px -299px;transform:scale(0.5);transform-origin:center center;}.sprite-remove-icon{background-image:url('","/spritesheet-toolbar-all.png');width:36px;height:40px;background-position:-281px -299px;transform:scale(0.5);transform-origin:center center;}.sprite-right-pointer-icon{background-image:url('","/spritesheet-toolbar-all.png');width:36px;height:26px;background-position:-327px -299px;transform:scale(0.5);transform-origin:center center;}.sprite-send-backward-icon{background-image:url('","/spritesheet-toolbar-all.png');width:42px;height:40px;background-position:-373px -299px;transform:scale(0.5);transform-origin:center center;}.sprite-send-to-back-icon{background-image:url('","/spritesheet-toolbar-all.png');width:42px;height:50px;background-position:-425px -299px;transform:scale(0.5);transform-origin:center center;}.sprite-solid-border-icon{background-image:url('","/spritesheet-toolbar-all.png');width:268px;height:6px;background-position:-5px -141px;transform:scale(0.5);transform-origin:center center;}.sprite-stroke-color-icon{background-image:url('","/spritesheet-toolbar-all.png');width:42px;height:38px;background-position:-5px -359px;transform:scale(0.5);transform-origin:center center;}.sprite-stroke-edit-icon{background-image:url('","/spritesheet-toolbar-all.png');width:48px;height:34px;background-position:-57px -359px;transform:scale(0.5);transform-origin:center center;}.sprite-text-align-center-icon{background-image:url('","/spritesheet-toolbar-all.png');width:46px;height:34px;background-position:-115px -359px;transform:scale(0.5);transform-origin:center center;}.sprite-text-align-justify-icon{background-image:url('","/spritesheet-toolbar-all.png');width:46px;height:34px;background-position:-171px -359px;transform:scale(0.5);transform-origin:center center;}.sprite-text-align-left-icon{background-image:url('","/spritesheet-toolbar-all.png');width:46px;height:34px;background-position:-227px -359px;transform:scale(0.5);transform-origin:center center;}.sprite-text-align-right-icon{background-image:url('","/spritesheet-toolbar-all.png');width:46px;height:34px;background-position:-283px -359px;transform:scale(0.5);transform-origin:center center;}.sprite-text-bold-icon{background-image:url('","/spritesheet-toolbar-all.png');width:24px;height:32px;background-position:-323px -167px;transform:scale(0.5);transform-origin:center center;}.sprite-text-effect-none-icon{background-image:url('","/spritesheet-toolbar-all.png');width:158px;height:156px;background-position:-477px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-text-effect-outline-icon{background-image:url('","/spritesheet-toolbar-all.png');width:156px;height:156px;background-position:-477px -171px;transform:scale(0.5);transform-origin:center center;}.sprite-text-effect-shadow-icon{background-image:url('","/spritesheet-toolbar-all.png');width:156px;height:156px;background-position:-477px -337px;transform:scale(0.5);transform-origin:center center;}.sprite-text-italic-icon{background-image:url('","/spritesheet-text-toolbar.png');width:30px;height:32px;background-position:-5px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-text-subscript-icon{background-image:url('","/spritesheet-text-toolbar.png');width:30px;height:32px;background-position:-45px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-text-superscript-icon{background-image:url('","/spritesheet-text-toolbar.png');width:32px;height:34px;background-position:-85px -5px;transform:scale(0.5);transform-origin:center center;}.sprite-text-underline-icon{background-image:url('","/spritesheet-text-toolbar.png');width:28px;height:34px;background-position:-5px -49px;transform:scale(0.5);transform-origin:center center;}"],v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v,v),x=(0,p.createGlobalStyle)([""," "," "," *{box-sizing:border-box;}body{color:",";font-family:",";}html{scroll-behavior:smooth;}li,label,input{font-family:"," !important;}button,a{outline:0;cursor:pointer;}a{text-decoration:underline;color:",";}@media (min-width:1280px){.MuiContainer-root.MuiContainer-maxWidthLg{max-width:1280px !important;}}"],h.Fv,y,w,m.gU,g.u,g.u,m.n6),S=r(87685),k=r(48711);var E=r(4298),_=r.n(E),O=r(1785),A=r.n(O),T=r(51308),C=r(53864),R=r(17964),P=r(65097),j=r(79965),I=r(8239),L=r(14434),N=r(97839),M=(r(66805),r(85893));function U(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function D(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
74t%2?U(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function F(e){var t=e.Component,r=e.pageProps,n=(0,f.useRouter)(),i=(0,N.fC)();i.user,i.isLoading;return(0,d.useEffect)((function(){if(n.asPath.includes("#help")){var e=setTimeout((function(){if(!t()){var e,r=new MutationObserver((function(){clearTimeout(e),e=setTimeout((function(){t()&&r.disconnect()}),100)}));r.observe(document.body,{childList:!0,subtree:!1}),setTimeout((function(){clearTimeout(e),r.disconnect()}),1e4)}}),1e3);return function(){return clearTimeout(e)}}function t(){try{var e=document.querySelector("mtg-chatbot");if(e&&e.shadowRoot){var t=e.shadowRoot.querySelector(".mtg-bubble");if(t)return t.click(),!0}return!1}catch(Vn){return console.error("Failed to open MTG chatbot:",Vn),!1}}}),[n.asPath]),(0,M.jsx)(M.Fragment,{children:(0,M.jsx)(t,D({},r))})}var B=r(41876),Z=r(61419),$=r(24139),q=r(56888),z=r(27037),H=r(7506),G=class extends H.l{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,r){const n=t.queryKey,i=t.queryHash??(0,$.Rm)(n,t);let o=this.get(i);return o||(o=new q.A({cache:this,queryKey:n,queryHash:i,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(n)}),this.add(o)),o}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){z.V.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find((e=>(0,$._x)(t,e)))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter((t=>(0,$._x)(e,t))):t}notify(e){z.V.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}onFocus(){z.V.batch((()=>{this.getAll().forEach((e=>{e.onFocus()}))}))}onOnline(){z.V.batch((()=>{this.getAll().forEach((e=>{e.onOnline()}))}))}},W=r(48907),V=r(72008),K=class extends W.F{#t;#r;#n;constructor(e){super(),this.mutationId=e.mutationId,this.#r=e.mutationCache,this.#t=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter((t=>t!==e)),this.scheduleGc(),this.#r.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||("pending"===this.state.status?this.scheduleGc():this.#r.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(e){this.#n=(0,V.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#i({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#r.canRun(this)});const t="pending"===this.state.status,r=!this.#n.canStart();try{if(!t){this.#i({type:"pending",variables:e,isPaused:r}),await(this.#r.config.onMutate?.(e,this));const t=await(this.options.onMutate?.(e));t!==this.state.context&&this.#i({type:"pending",context:t,variables:e,isPaused:r})}const n=await this.#n.start();return await(this.#r.config.onSuccess?.(n,e,this.state.context,this)),await(this.options.onSuccess?.(n,e,this.state.context)),await(this.#r.config.onSettled?.(n,null,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(n,null,e,this.state.context)),this.#i({type:"success",data:n}),n}catch(n){try{throw await(this.#r.config.onError?.(n,e,this.state.context,this)),await(this.options.onError?.(n,e,this.state.context)),await(this.#r.config.onSettled?.(void 0,n,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(void 0,n,e,this.state.context)),n}finally{this.#i({type:"error",error:n})}}finally{this.#r.runNext(this)}}#i(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};
74case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),z.V.batch((()=>{this.#t.forEach((t=>{t.onMutationUpdate(e)})),this.#r.notify({mutation:this,type:"updated",action:e})}))}};var Y=class extends H.l{constructor(e={}){super(),this.config=e,this.#o=new Map,this.#a=Date.now()}#o;#a;build(e,t,r){const n=new K({mutationCache:this,mutationId:++this.#a,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){const t=Q(e),r=this.#o.get(t)??[];r.push(e),this.#o.set(t,r),this.notify({type:"added",mutation:e})}remove(e){const t=Q(e);if(this.#o.has(t)){const r=this.#o.get(t)?.filter((t=>t!==e));r&&(0===r.length?this.#o.delete(t):this.#o.set(t,r))}this.notify({type:"removed",mutation:e})}canRun(e){const t=this.#o.get(Q(e))?.find((e=>"pending"===e.state.status));return!t||t===e}runNext(e){const t=this.#o.get(Q(e))?.find((t=>
74t!==e&&t.state.isPaused));return t?.continue()??Promise.resolve()}clear(){z.V.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}getAll(){return[...this.#o.values()].flat()}find(e){const t={exact:!0,...e};return this.getAll().find((e=>(0,$.X7)(t,e)))}findAll(e={}){return this.getAll().filter((t=>(0,$.X7)(e,t)))}notify(e){z.V.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}resumePausedMutations(){const e=this.getAll().filter((e=>e.state.isPaused));return z.V.batch((()=>Promise.all(e.map((e=>e.continue().catch($.ZT))))))}};function Q(e){return e.options.scope?.id??String(e.mutationId)}var J=r(66474),X=r(14304);function ee(e){return{onFetch:(t,r)=>{const n=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,o=t.state.data?.pages||[],a=t.state.data?.pageParams||[];let s={pages:[],pageParams:[]},u=0;const c=async()=>{let r=!1;const c=(0,$.cG)(t.options,t.fetchOptions),l=async(e,n,i)=>{if(r)return Promise.reject();if(null==n&&e.pages.length)return Promise.resolve(e);const o={queryKey:t.queryKey,pageParam:n,direction:i?"backward":"forward",meta:t.options.meta};var a;a=o,Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(t.signal.aborted?r=!0:t.signal.addEventListener("abort",(()=>{r=!0})),t.signal)});const s=await c(o),{maxPages:u}=t.options,l=i?$.Ht:$.VX;return{pages:l(e.pages,s,u),pageParams:l(e.pageParams,n,u)}};if(i&&o.length){const e="backward"===i,t={pages:o,pageParams:a},r=(e?re:te)(n,t);s=await l(t,r,e)}else{const t=e??o.length;do{const e=0===u?a[0]??n.initialPageParam:te(n,s);if(u>0&&null==e)break;s=await l(s,e),u++}while(u<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=c}}}function te(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function re(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}const ne=r(70942).bind({concatArrays:!0,ignoreUndefined:!0});function ie(e,t){return new Promise(((r,n)=>{try{const n=e();null===t||void 0===t||t(null,n),r(n)}catch(i){null===t||void 0===t||t(i),n(i)}}))}function oe(e,t,r){return Promise.all(e).then((e=>{const n=(null===r||void 0===r?void 0:r(e))??null;return null===t||void 0===t||t(null,n),Promise.resolve(n)}),(e=>(null===t||void 0===t||t(e),Promise.reject(e))))}const ae={getItem:(e,t)=>ie((()=>window.localStorage.getItem(e)),t),setItem:(e,t,r)=>ie((()=>window.localStorage.setItem(e,t)),r),removeItem:(e,t)=>ie((()=>window.localStorage.removeItem(e)),t),mergeItem:(e,t,r)=>ie((()=>function(e,t){const r=window.localStorage.getItem(e);if(r){const n=JSON.parse(r),i=JSON.parse(t),o=JSON.stringify(ne(n,i));window.localStorage.setItem(e,o)}else window.localStorage.setItem(e,t)}(e,t)),r),clear:e=>ie((()=>window.localStorage.clear()),e),getAllKeys:e=>ie((()=>{const e=window.localStorage.length,t=[];for(let r=0;r<e;r+=1){const e=window.localStorage.key(r)||"";t.push(e)}return t}),e),flushGetRequests:()=>{},multiGet:(e,t)=>oe(e.map((e=>ae.getItem(e))),t,(t=>t.map(((t,r)=>[e[r],t])))),multiSet:(e,t)=>oe(e.map((e=>ae.setItem(e[0],e[1]))),t),multiRemove:(e,t)=>oe(e.map((e=>ae.removeItem(e))),t),multiMerge:(e,t)=>oe(e.map((e=>ae.mergeItem(e[0],e[1]))),t)};var se=ae;function ue(e){return e}function ce(e){return{mutationKey:e.options.mutationKey,state:e.state,...e.options.scope&&{scope:e.options.scope},...e.meta&&{meta:e.meta}}}function le(e,t){return{state:{...e.state,...void 0!==e.state.data&&{data:t(e.state.data)}},queryKey:e.queryKey,queryHash:e.queryHash,..."pending"===e.state.status&&{promise:e.promise?.then(t).catch((e=>Promise.reject(new Error("redacted"))))},...e.meta&&{meta:e.meta}}}
74function fe(e){return e.state.isPaused}function de(e){return"success"===e.state.status}function pe(e,t={}){const r=t.shouldDehydrateMutation??e.getDefaultOptions().dehydrate?.shouldDehydrateMutation??fe,n=e.getMutationCache().getAll().flatMap((e=>r(e)?[ce(e)]:[])),i=t.shouldDehydrateQuery??e.getDefaultOptions().dehydrate?.shouldDehydrateQuery??de,o=t.serializeData??e.getDefaultOptions().dehydrate?.serializeData??ue;return{mutations:n,queries:e.getQueryCache().getAll().flatMap((e=>i(e)?[le(e,o)]:[]))}}var he=["added","removed","updated"];function ge(e){return he.includes(e)}async function me({queryClient:e,persister:t,maxAge:r=864e5,buster:n="",hydrateOptions:i}){try{const o=await t.restoreClient();if(o)if(o.timestamp){const a=Date.now()-o.timestamp>r,s=o.buster!==n;a||s?t.removeClient():function(e,t,r){if("object"!==typeof t||null===t)return;const n=e.getMutationCache(),i=e.getQueryCache(),o=r?.defaultOptions?.deserializeData??e.getDefaultOptions().hydrate?.deserializeData??ue,a=t.mutations||[],s=t.queries||[];a.forEach((({state:t,...i})=>{n.build(e,{...e.getDefaultOptions().hydrate?.mutations,...r?.defaultOptions?.mutations,...i},t)})),s.forEach((({queryKey:t,state:n,queryHash:a,meta:s,promise:u})=>{let c=i.get(a);const l=void 0===n.data?n.data:o(n.data);if(c){if(c.state.dataUpdatedAt<n.dataUpdatedAt){const{fetchStatus:e,...t}=n;c.setState({...t,data:l})}}else c=i.build(e,{...e.getDefaultOptions().hydrate?.queries,...r?.defaultOptions?.queries,queryKey:t,queryHash:a,meta:s},{...n,data:l,fetchStatus:"idle"});if(u){const e=Promise.resolve(u).then(o);c.fetch(void 0,{initialPromise:e})}}))}(e,o.clientState,i)}else t.removeClient()}catch(o){0,t.removeClient()}}async function ye({queryClient:e,persister:t,buster:r="",dehydrateOptions:n}){const i={buster:r,timestamp:Date.now(),clientState:pe(e,n)};await t.persistClient(i)}function be(e){const t=e.queryClient.getQueryCache().subscribe((t=>{ge(t.type)&&ye(e)})),r=e.queryClient.getMutationCache().subscribe((t=>{ge(t.type)&&ye(e)}));return()=>{t(),r()}}var ve=r(30202),we=r(2762),xe=({client:e,children:t,persistOptions:r,onSuccess:n,...i})=>{const[o,a]=d.useState(!0),s=d.useRef({persistOptions:r,onSuccess:n}),u=d.useRef(!1);return d.useEffect((()=>{s.current={persistOptions:r,onSuccess:n}})),d.useEffect((()=>{const t={...s.current.persistOptions,queryClient:e};return u.current||(u.current=!0,me(t).then((async()=>{try{await(s.current.onSuccess?.())}finally{a(!1)}}))),o?void 0:be(t)}),[e,o]),(0,M.jsx)(ve.aH,{client:e,...i,children:(0,M.jsx)(we.u,{value:o,children:t})})};function Se(){}function ke(e,{interval:t=1e3,onError:r=Se}={}){if("function"!==typeof e)throw new Error("argument is not function.");let n=0,i=null,o=!1,a=!1;return async(...s)=>{if(i=s,!a){for(a=!0;o;)await new Promise((e=>setTimeout(e,t)));for(;Date.now()<n;)await new Promise((e=>setTimeout(e,n-Date.now())));a=!1,o=!0;try{await e(...i)}catch(u){try{r(u)}catch{}}n=Date.now()+t,o=!1}}}var Ee=r(68239),_e=r(80355),Oe=r(87462),Ae=r(63366),Te=r(56760),Ce=r(69980),Re=r(2952),Pe=r(11716),je=r(58117);const Ie={};function Le(e,t,r,n=!1){return d.useMemo((()=>{const i=e&&t[e]||t;if("function"===typeof r){const o=r(i),a=e?(0,Oe.Z)({},t,{[e]:o}):o;return n?()=>a:a}return e?(0,Oe.Z)({},t,{[e]:r}):(0,Oe.Z)({},t,r)}),[e,t,r,n])}var Ne=function(e){const{children:t,theme:r,themeId:n}=e,i=(0,Re.Z)(Ie),o=(0,Te.Z)()||Ie,a=Le(n,i,r),s=Le(n,o,r,!0),u="rtl"===a.direction;return(0,M.jsx)(Ce.Z,{theme:s,children:(0,M.jsx)(S.T.Provider,{value:a,children:(0,M.jsx)(Pe.Z,{value:u,children:(0,M.jsx)(je.Z,{value:null==a?void 0:a.components,children:t})})})})},Me=r(10606);const Ue=["theme"];function De(e){let{theme:t}=e,r=(0,Ae.Z)(e,Ue);const n=t[Me.Z];return(0,M.jsx)(Ne,(0,Oe.Z)({},r,{themeId:n?Me.Z:void 0,theme:n||t}))}function Fe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Be=null;var Ze,$e=function(e){var t=function(t){var r=(0,d.useCallback)((function(){localStorage.getItem("mtg_user")&&(Be&&clearTimeout(Be),Be=setTimeout((function(){localStorage.removeItem("mtg_user"),window.location.href="/auth/login-register"}),72e5))}),[]);return(0,d.useEffect)((function(){r();
74var e=["load","mousemove","mousedown","click","scroll","keypress"];return e.forEach((function(e){window.addEventListener(e,r)})),function(){Be&&clearTimeout(Be),e.forEach((function(e){window.removeEventListener(e,r)}))}}),[r,window.localStorage.getItem("mtg_user")]),(0,M.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t))};return t.displayName="WithActivityTimeout(".concat(function(e){return e.displayName||e.name||"Component"}(e),")"),t},qe=r(54004);!function(e){e.EXCEPTION="exception",e.LOG="log",e.MEASUREMENT="measurement",e.TRACE="trace",e.EVENT="event"}(Ze||(Ze={}));const ze={[Ze.EXCEPTION]:"exceptions",[Ze.LOG]:"logs",[Ze.MEASUREMENT]:"measurements",[Ze.TRACE]:"traces",[Ze.EVENT]:"events"};function He(e,t){return typeof e===t}function Ge(e,t){return Object.prototype.toString.call(e)===`[object ${t}]`}function We(e,t){try{return e instanceof t}catch(r){return!1}}const Ve=e=>He(e,"null"),Ke=e=>He(e,"string"),Ye=e=>He(e,"number")&&!isNaN(e)||He(e,"bigint"),Qe=e=>!Ve(e)&&He(e,"object"),Je=e=>He(e,"function"),Xe=e=>Ge(e,"Array"),et="undefined"!==typeof Event,tt="undefined"!==typeof Error,rt=e=>tt&&We(e,Error);function nt(e){return null==e||(Xe(e)||Ke(e)?0===e.length:!!Qe(e)&&0===Object.keys(e).length)}function it(e={}){return JSON.stringify(null!==e&&void 0!==e?e:{},function(){const e=new WeakSet;return function(t,r){if(Qe(r)&&null!==r){if(e.has(r))return null;e.add(r)}return r}}())}function ot(e={}){const t={};for(const[r,n]of Object.entries(e))t[r]=Qe(n)&&null!==n?it(n):String(n);return t}function at(){return Date.now()}function st(){return"undefined"!==typeof performance&&"function"===typeof performance.now?performance.now():Date.now()}function ut(){return(new Date).toISOString()}function ct(e){return new Date(e).toISOString()}function lt(e,t){if(e===t)return!0;if(He(e,"number")&&isNaN(e))return He(t,"number")&&isNaN(t);const r=Xe(e),n=Xe(t);if(r!==n)return!1;if(r&&n){const r=e.length;if(r!==t.length)return!1;for(let n=r;0!==n--;)if(!lt(e[n],t[n]))return!1;return!0}const i=Qe(e),o=Qe(t);if(i!==o)return!1;if(e&&t&&i&&o){const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let e of r)if(!n.includes(e))return!1;for(let i of r)if(!lt(e[i],t[i]))return!1;return!0}return!1}class ft{constructor(){this.subscribers=[]}subscribe(e){return this.subscribers.push(e),{unsubscribe:()=>this.unsubscribe(e)}}unsubscribe(e){this.subscribers=this.subscribers.filter((t=>t!==e))}notify(e){this.subscribers.forEach((t=>t(e)))}first(){const e=new ft,t=t=>{e.notify(t),r.unsubscribe()},r=this.subscribe(t),n=e.unsubscribe.bind(e);return this.withUnsubscribeOverride(e,n,t)}takeWhile(e){const t=new ft,r=n=>{e(n)?t.notify(n):t.unsubscribe(r)};this.subscribe(r);const n=t.unsubscribe.bind(t);return this.withUnsubscribeOverride(t,n,r)}filter(e){const t=new ft,r=r=>{e(r)&&t.notify(r)};this.subscribe(r);const n=t.unsubscribe.bind(t);return this.withUnsubscribeOverride(t,n,r)}merge(...e){const t=new ft,r=[];e.forEach((e=>{const n=e.subscribe((e=>{t.notify(e)}));r.push(n)}));const n=t.unsubscribeAll.bind(t);return t.unsubscribe=()=>{r.forEach((e=>e.unsubscribe())),n()},t}withUnsubscribeOverride(e,t,r){return e.unsubscribe=e=>{t(e),this.unsubscribe(r)},e}unsubscribeAll(){this.subscribers=[]}}const dt="normal";var pt;!function(e){e[e.Started=0]="Started",e[e.Halted=1]="Halted",e[e.Cancelled=2]="Cancelled",e[e.Ended=3]="Ended"}(pt||(pt={}));const ht="abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ0123456789";function gt(e=10){const t=new Uint32Array(e),r="undefined"!==typeof globalThis?globalThis.crypto:void 0;if(null===r||void 0===r?void 0:r.getRandomValues)r.getRandomValues(t);else for(let i=0;i<e;i++)t[i]=Math.floor(4294967296*Math.random());let n="";for(let i=0;i<e;i++)n+=ht[t[i]%ht.length];return n}class mt{constructor(){this.buffer=[]}addItem(e){this.buffer.push(e)}flushBuffer(e){if(Je(e))for(const t of this.buffer)e(t);this.buffer.length=0}size(){return this.buffer.length}}class yt extends ft{constructor({name:e,parentId:t,trigger:r,transports:n,attributes:i,trackUserActionsExcludeItem:o,importance:a=dt,pushEvent:s}){super(),this.name=e,this.attributes=i,this.id=gt(),this.trigger=r,this.parentId=null!==t&&void 0!==t?t:this.id,this.trackUserActionsExcludeItem=o,this.importance=a,this._pushEvent=s,this._itemBuffer=new mt,this._transports=n,this._state=pt.Started,this._start()}addItem(e){return this._state===pt.Started&&(this._itemBuffer.addItem(e),!0)}_start(){this._state=pt.Started,this._state===pt.Started&&(this.startTime=at(),this._startTimeMono=st(
74))}halt(){this._state===pt.Started&&(this._state=pt.Halted,this.notify(this._state))}cancel(){this._state===pt.Started&&this._itemBuffer.flushBuffer((e=>{this._transports.execute(e)})),this._state=pt.Cancelled,this.notify(this._state)}end(){if(this._state===pt.Cancelled)return;const e=at(),t=st()-this._startTimeMono;this._state=pt.Ended,this._itemBuffer.flushBuffer((e=>{if(function(e,t){return(null===t||void 0===t?void 0:t(e))||e.type===Ze.MEASUREMENT&&"web-vitals"===e.payload.type}(e,this.trackUserActionsExcludeItem))return void this._transports.execute(e);const t=Object.assign(Object.assign({},e),{payload:Object.assign(Object.assign({},e.payload),{action:{parentId:this.id,name:this.name}})});this._transports.execute(t)})),this._state=pt.Ended,this.notify(this._state),this._pushEvent("faro.user.action",Object.assign({userActionName:this.name,userActionStartTime:this.startTime.toString(),userActionEndTime:e.toString(),userActionDuration:t.toString(),userActionTrigger:this.trigger,userActionImportance:this.importance},ot(this.attributes)),void 0,{timestampOverwriteMs:this.startTime,customPayloadTransformer:e=>(e.action={id:this.id,name:this.name},e)})}getState(){return this._state}}const bt=new ft;function vt(e,t){if(!e)return!1;return(null===e||void 0===e?void 0:e.getState())===pt.Started&&(e.addItem(t),!0)}const wt="Error",xt=e=>e.map((e=>Qe(e)?it(e):String(e))).join(" ");let St;function kt({internalLogger:e,config:t,metas:r,transports:n,tracesApi:i,userActionsApi:o}){var a;e.debug("Initializing exceptions API");let s=null;St=null!==(a=t.parseStacktrace)&&void 0!==a?a:St;const u=t=>{e.debug("Changing stacktrace parser"),St=null!==t&&void 0!==t?t:St},{ignoreErrors:c=[],preserveOriginalError:l}=t;return u(t.parseStacktrace),{changeStacktraceParser:u,getStacktraceParser:()=>St,pushError:(a,{skipDedupe:u,stackFrames:f,type:d,context:p,spanContext:h,timestampOverwriteMs:g,originalError:m,fingerprint:y,fatal:b}={})=>{var v;if(!function(e,t){const{message:r,name:n,stack:i}=t;return o=e,a=r+" "+n+" "+i,o.some((e=>Ke(e)?a.includes(e):!!a.match(e)));var o,a}(c,null!==m&&void 0!==m?m:a))try{const c=ot(Object.assign(Object.assign({},function(e){let t=e.cause;rt(t)?t=e.cause.toString():null!==t&&(Qe(e.cause)||Xe(e.cause))?t=it(e.cause):null!=t&&(t=e.cause.toString());return null==t?{}:{cause:t}}(null!==m&&void 0!==m?m:a)),null!==p&&void 0!==p?p:{})),w={meta:r.value,payload:Object.assign(Object.assign(Object.assign(Object.assign({type:d||a.name||wt,value:a.message,timestamp:g?ct(g):ut(),trace:h?{trace_id:h.traceId,span_id:h.spanId}:i.getTraceContext()},nt(c)?{}:{context:c}),l?{originalError:m}:{}),y?{fingerprint:y}:{}),void 0!==b?{fatal:b}:{}),type:Ze.EXCEPTION};(null===(f=null!==f&&void 0!==f?f:a.stack?null===St||void 0===St?void 0:St(a).frames:void 0)||void 0===f?void 0:f.length)&&(w.payload.stacktrace={frames:f});const x={type:w.payload.type,value:w.payload.value,stacktrace:w.payload.stacktrace,context:w.payload.context,fingerprint:w.payload.fingerprint,fatal:null!==(v=w.payload.fatal)&&void 0!==v&&v};if(!u&&t.dedupe&&!Ve(s)&&lt(x,s))return void e.debug("Skipping error push because it is the same as the last one\n",w.payload);s=x,e.debug("Pushing exception\n",w),vt(o.getActiveUserAction(),w)||n.execute(w)}catch(w){e.error("Error pushing event",w)}}}}var Et;!function(e){e.TRACE="trace",e.DEBUG="debug",e.INFO="info",e.LOG="log",e.WARN="warn",e.ERROR="error"}(Et||(Et={}));const _t=Et.LOG,Ot=[Et.TRACE,Et.DEBUG,Et.INFO,Et.LOG,Et.WARN,Et.ERROR],At=e=>e.map((e=>{try{return String(e)}catch(t){return""}})).join(" ");function Tt(e,t,r,n,i){t.debug("Initializing API");let o=null;const a=function({transports:e,internalLogger:t,config:r,pushEvent:n}){var i;const o=null===(i=r.userActionsInstrumentation)||void 0===i?void 0:i.excludeItem;let a;const s=()=>a,u={startUserAction:(r,i,u)=>{if(void 0===s()){const t=new yt({name:r,transports:e,attributes:i,trigger:(null===u||void 0===u?void 0:u.triggerName)||"faroApiCall",importance:(null===u||void 0===u?void 0:u.importance)||dt,trackUserActionsExcludeItem:o,pushEvent:n});return t.filter((e=>[pt.Ended,pt.Cancelled].includes(e))).first().subscribe((()=>{a=void 0})),bt.notify({type:"user_action_start",userAction:t}),a=t,a}t.error("Attempted to create a new user action while one is already running. This is not possible.")},getActiveUserAction:s};return u}({transports:i,config:r,internalLogger:t,pushEvent:(e,r,n,i)=>{o?o(e,r,n,i):t.warn("pushEventImpl is not initialized. Event dropped:",{name:e,attributes:r,domain:n,options:i})}}),s=function(e,t,r,n,i){let o;return t.debug("Initializing traces API"),{getOTEL:()=>o,getTraceContext:()=>{const e=null===o||void 0===o?void 0:o.trace.getSpanContext(o.context.active());return e?{trace_id:e.traceId,span_id:e.spanId}:void 0},initOTEL:(e,r)=>{t.debug("Initializing OpenTelemetry"),o={trace:e,context:r}},isOTELInitialized:()=>!!o,pushTraces:e=>{try{const r={type:Ze.TRACE,payload:e,meta:n.value};t.debug("Pushing trace\n",r),i.execute(r)}catch(r){t.error("Error pushing trace\n",r)}}}}(0,t,0,n,i),u={unpatchedConsole:e,internalLogger:t,userActionsApi:a,config:r,metas:n,transports:i,tracesApi:s},c=function({internalLogger:e,config:t,metas:r,transports:n,tracesApi:i,userActionsApi:o}){let a=null;return{pushEvent:(s,u,c,{skipDedupe:l,spanContext:f,timestampOverwriteMs:d,customPayloadTransformer:p=(e=>e)}={})=>{try{const h=ot(u),g={meta:r.value,payload:p({name:s,domain:null!==c&&void 0!==c?c:t.eventDomain,attributes:nt(h)?void 0:h,timestamp:d?ct(d):ut(),trace:f?{trace_id:f.traceId,span_id:f.spanId}:i.getTraceContext()}),type:Ze.EVENT},m={name:g.payload.name,attributes:g.payload.attributes,domain:g.payload.domain};if(!l&&t.dedupe&&!Ve(a)&&lt(m,a))return void e.debug("Skipping event push because it is the same as the last one\n",g.payload);a=m,e.debug("Pushing event\n",g),vt(o.getActiveUserAction(),g)||n.execute(g)}catch(h){e.error("Error pushing event",h)}}}}(u);return o=c.pushEvent,Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},s),kt(u)),function({internalLogger:e,metas:t}){let r,n,i,o;e.debug("Initializing meta API");const a=e=>{n&&t.remove(n),n={user:e},t.add(n)},s=(e,n)=>{var i;const o=null===n||void 0===n?void 0:n.overrides,a=o?{overrides:Object.assign(Object.assign({},null===(i=null===r||void 0===r?void 0:r.session)||void 0===i?void 0:i.overrides),o)}:{};r&&t.remove(r),r={session:Object.assign(Object.assign({},nt(e)?void 0:e),a)},t.add(r)},u=()=>t.value.session,c=()=>t.value.page;return{setUser:a,resetUser:a,setSession:s,resetSession:s,getSession:u,setView:(e,r)=>{var n;if((null===r||void 0===r?void 0:r.overrides)&&s(u(),{overrides:r.overrides}),(null===(n=null===i||void 0===i?void 0:i.view)||void 0===n?void 0:n.name)===(null===e||void 0===e?void 0:e.name))return;const o=i;i={view:e},t.add(i),o&&t.remove(o)},getView:()=>t.value.view,setPage:e=>{var r;const n=Ke(e)?Object.assign(Object.assign({},null!==(r=null===o||void 0===o?void 0:o.page)&&void 0!==r?r:c()),{id:e}):e;o&&t.remove(o),o={page:n},t.add(o)},getPage:c}}(u)),function({internalLogger:e,config:t,metas:r,transports:n,tracesApi:i,userActionsApi:o}){var a;e.debug("Initializing logs API");let s=null;
74const u=null!==(a=t.logArgsSerializer)&&void 0!==a?a:At;return{pushLog:(a,{context:c,level:l,skipDedupe:f,spanContext:d,timestampOverwriteMs:p}={})=>{try{const h=ot(c),g={type:Ze.LOG,payload:{message:u(a),level:null!==l&&void 0!==l?l:_t,context:nt(h)?void 0:h,timestamp:p?ct(p):ut(),trace:d?{trace_id:d.traceId,span_id:d.spanId}:i.getTraceContext()},meta:r.value},m={message:g.payload.message,level:g.payload.level,context:g.payload.context};if(!f&&t.dedupe&&!Ve(s)&&lt(m,s))return void e.debug("Skipping log push because it is the same as the last one\n",g.payload);s=m,e.debug("Pushing log\n",g),vt(o.getActiveUserAction(),g)||n.execute(g)}catch(h){e.error("Error pushing log\n",h)}}}}(u)),function({internalLogger:e,config:t,metas:r,transports:n,tracesApi:i,userActionsApi:o}){e.debug("Initializing measurements API");let a=null;return{pushMeasurement:(s,{skipDedupe:u,context:c,spanContext:l,timestampOverwriteMs:f}={})=>{try{const d=ot(c),p={type:Ze.MEASUREMENT,payload:Object.assign(Object.assign({},s),{trace:l?{trace_id:l.traceId,span_id:l.spanId}:i.getTraceContext(),timestamp:f?ct(f):ut(),context:nt(d)?void 0:d}),meta:r.value},h={type:p.payload.type,values:p.payload.values,context:p.payload.context};if(!u&&t.dedupe&&!Ve(a)&&lt(h,a))return void e.debug("Skipping measurement push because it is the same as the last one\n",p.payload);a=h,e.debug("Pushing measurement\n",p),vt(o.getActiveUserAction(),p)||n.execute(p)}catch(d){e.error("Error pushing measurement\n",d)}}}}(u)),c),a)}function Ct(){}var Rt;!function(e){e[e.OFF=0]="OFF",e[e.ERROR=1]="ERROR",e[e.WARN=2]="WARN",e[e.INFO=3]="INFO",e[e.VERBOSE=4]="VERBOSE"}(Rt||(Rt={}));const Pt={debug:Ct,error:Ct,info:Ct,prefix:"Faro",warn:Ct},jt=Rt.ERROR,It=Object.assign({},console);function Lt(e=It,t=jt){const r=Pt;return t>Rt.OFF&&(r.error=t>=Rt.ERROR?function(...t){e.error(`${r.prefix}\n`,...t)}:Ct,r.warn=t>=Rt.WARN?function(...t){e.warn(`${r.prefix}\n`,...t)}:Ct,r.info=t>=Rt.INFO?function(...t){e.info(`${r.prefix}\n`,...t)}:Ct,r.debug=t>=Rt.VERBOSE?function(...t){e.debug(`${r.prefix}\n`,...t)}:Ct),r}let Nt=Pt;function Mt(e,t){return Nt=Lt(e,t.internalLoggerLevel),Nt}const Ut="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof r.g?r.g:"undefined"!==typeof self?self:void 0;function Dt(e){const t=`__faroBundleId_${e}`,r=null===Ut||void 0===Ut?void 0:Ut[t];if("string"===typeof r&&""!==r)return r;const n="undefined"!==typeof window?window[t]:void 0;return"string"===typeof n&&""!==n?n:void 0}const Ft="2.8.2";function Bt(e){var t,r;const n=e.config.app.name,i=n?function(e){return null===Ut||void 0===Ut?void 0:Ut[`__faroGitHash_${e}`]}(n):void 0,o={sdk:{version:Ft,name:"faro"},app:Object.assign({bundleId:n&&Dt(n)},void 0!==i?{gitHash:i}:{})},a=null===(t=e.config.sessionTracking)||void 0===t?void 0:t.session;a&&e.api.setSession(a),e.config.app&&(o.app=Object.assign(Object.assign({},e.config.app),o.app)),e.config.user&&(o.user=e.config.user),e.config.view&&(o.view=e.config.view),e.metas.add(o,...null!==(r=e.config.metas)&&void 0!==r?r:[])}const Zt="_faroInternal";let $t={api:{pushLog:()=>{},pushError:()=>{},changeStacktraceParser:()=>{},getStacktraceParser:()=>{},pushMeasurement:()=>{},pushTraces:()=>{},getOTEL:()=>{},getTraceContext:()=>{},initOTEL:()=>{},isOTELInitialized:()=>!1,setUser:()=>{},resetUser:()=>{},setSession:()=>{},resetSession:()=>{},getSession:()=>{},setView:()=>{},getView:()=>{},setPage:()=>{},getPage:()=>{},pushEvent:()=>{},startUserAction:()=>{},getActiveUserAction:()=>{}}};function qt(e,t,r,n,i,o,a){return t.debug("Initializing Faro"),$t={api:o,config:r,instrumentations:a,internalLogger:t,metas:n,pause:i.pause,transports:i,unpatchedConsole:e,unpause:i.unpause},function(e){e.config.isolate?e.internalLogger.debug("Skipping registering internal Faro instance on global object"):(e.internalLogger.debug("Registering internal Faro instance on global object"),Object.defineProperty(Ut,Zt,{configurable:!1,enumerable:!1,writable:!1,value:e}))}($t),function(e){if(e.config.preventGlobalExposure)e.internalLogger.debug("Skipping registering public Faro instance in the global scope");else{if(e.internalLogger.debug(`Registering public faro reference in the global scope using "${e.config.globalObjectKey}" key`),e.config.globalObjectKey in Ut)return void e.internalLogger.w
74arn(`Skipping global registration due to key "${e.config.globalObjectKey}" being used already. Please set "globalObjectKey" to something else or set "preventGlobalExposure" to "true"`);Object.defineProperty(Ut,e.config.globalObjectKey,{configurable:!1,writable:!1,value:e})}}($t),$t}class zt{constructor(e,t){var r,n;this.signalBuffer=[],this.itemLimit=null!==(r=null===t||void 0===t?void 0:t.itemLimit)&&void 0!==r?r:50,this.sendTimeout=null!==(n=null===t||void 0===t?void 0:t.sendTimeout)&&void 0!==n?n:250,this.paused=(null===t||void 0===t?void 0:t.paused)||!1,this.sendFn=e,this.paused||this.start(),"undefined"!==typeof document&&document.addEventListener("visibilitychange",(()=>{"hidden"===document.visibilityState&&this.flush()}))}addItem(e){this.paused||(this.signalBuffer.push(e),this.signalBuffer.length>=this.itemLimit&&this.flush())}start(){this.paused=!1,this.sendTimeout>0&&(this.flushInterval=setInterval((()=>this.flush()),this.sendTimeout))}pause(){this.paused=!0,clearInterval(this.flushInterval)}groupItems(e){const t=new Map;return e.forEach((e=>{const r=JSON.stringify(e.meta);let n=t.get(r);n=void 0===n?[e]:[...n,e],t.set(r,n)})),Array.from(t.values())}flush(){if(this.paused||0===this.signalBuffer.length)return;this.groupItems(this.signalBuffer).forEach(this.sendFn),this.signalBuffer=[]}}function Ht(e,t,r,n){var i;t.debug("Initializing transports");const o=[];let a=r.paused,s=[];const u=e=>{let t=e;for(const n of s){const e=t.map(n).filter(Boolean);if(0===e.length)return[];t=Gt(e,r)}return t},c=e=>{const r=u(e);if(0!==r.length)for(const n of o)t.debug(`Transporting item using ${n.name}\n`,r),n.isBatched()&&n.send(r)};let l;(null===(i=r.batching)||void 0===i?void 0:i.enabled)&&(l=new zt(c,{sendTimeout:r.batching.sendTimeout,itemLimit:r.batching.itemLimit,paused:a}));return{add:(...i)=>{t.debug("Adding transports"),i.forEach((i=>{t.debug(`Adding "${i.name}" transport`);o.some((e=>e===i))?t.warn(`Transport ${i.name} is already added`):(i.unpatchedConsole=e,i.internalLogger=t,i.config=r,i.metas=n,o.push(i))}))},addBeforeSendHooks:(...e)=>{t.debug("Adding beforeSendHooks\n",s),e.forEach((e=>{e&&s.push(e)}))},getBeforeSendHooks:()=>[...s],execute:e=>{var n;a||((null===(n=r.batching)||void 0===n?void 0:n.enabled)&&(null===l||void 0===l||l.addItem(e)),(e=>{var n,i;if((null===(n=r.batching)||void 0===n?void 0:n.enabled)&&o.every((e=>e.isBatched())))return;const[a]=u([e]);if(void 0!==a)for(const s of o)t.debug(`Transporting item using ${s.name}\n`,a),s.isBatched()?(null===(i=r.batching)||void 0===i?void 0:i.enabled)||s.send([a]):s.send(a)})(e))},isPaused:()=>a,pause:()=>{t.debug("Pausing transports"),null===l||void 0===l||l.pause(),a=!0},remove:(...e)=>{t.debug("Removing transports"),e.forEach((e=>{t.debug(`Removing "${e.name}" transport`);const r=o.indexOf(e);-1!==r?o.splice(r,1):t.warn(`Transport "${e.name}" is not added`)}))},removeBeforeSendHooks:(...e)=>{s.filter((t=>!e.includes(t)))},get transports(){return[...o]},unpause:()=>{t.debug("Unpausing transports"),null===l||void 0===l||l.start(),a=!1}}}function Gt(e,t){if(t.preserveOriginalError)for(const r of e)r.type===Ze.EXCEPTION&&delete r.payload.originalError;return e}let Wt=It;function Vt(e){var t;return Wt=null!==(t=e.unpatchedConsole)&&void 0!==t?t:Wt,Wt}function Kt(e){const t=Vt(e),r=Mt(t,e);if(Zt in Ut&&!e.isolate)return void r.error('Faro is already registered. Either add instrumentations, transports etc. to the global faro instance or use the "isolate" property');r.debug("Initializing");const n=function(e,t,r){let n=[],i=[];const o=()=>n.reduce(((e,t)=>Object.assign(e,Je(t)?t():t)),{}),a=()=>{if(i.length){const e=o();i.forEach((t=>t(e)))}};return{add:(...e)=>{t.debug("Adding metas\n",e),n.push(...e),a()},remove:(...e)=>{t.debug("Removing metas\n",e),n=n.filter((t=>!e.includes(t))),a()},addListener:e=>{t.debug("Adding metas listener\n",e),i.push(e)},removeListener:e=>{t.debug("Removing metas listener\n",e),i=i.filter((t=>t!==e))},get value(){return o()}}}(0,r),i=Ht(t,r,e,n),o=Tt(t,r,e,n,i),a=function(e,t,r,n,i,o){t.debug("Initializing instrumentations");const a=[];return{add:(...s)=>
74{t.debug("Adding instrumentations"),s.forEach((s=>{t.debug(`Adding "${s.name}" instrumentation`),a.some((e=>e.name===s.name))?t.warn(`Instrumentation ${s.name} is already added`):(s.unpatchedConsole=e,s.internalLogger=t,s.config=r,s.metas=n,s.transports=i,s.api=o,a.push(s),s.initialize())}))},get instrumentations(){return[...a]},remove:(...e)=>{t.debug("Removing instrumentations"),e.forEach((e=>{var r,n;t.debug(`Removing "${e.name}" instrumentation`);const i=a.reduce(((t,r,n)=>null===t&&r.name===e.name?n:null),null);null!==i?(null===(n=(r=a[i]).destroy)||void 0===n||n.call(r),a.splice(i,1)):t.warn(`Instrumentation "${e.name}" is not added`)}))}}}(t,r,e,n,i,o),s=qt(t,r,e,n,i,o,a);return Bt(s),function(e){e.transports.add(...e.config.transports),e.transports.addBeforeSendHooks(e.config.beforeSend)}(s),function(e){e.instrumentations.add(...e.config.instrumentations)}(s),s}const Yt="faro",Qt={enabled:!0,sendTimeout:250,itemLimit:50},Jt="browser",Xt=/^\s*at (?:(?![a-z]+:\/\/)([^(]+?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,er=/\((\S*)(?::(\d+))(?::(\d+))\)/,tr="address at ",rr=tr.length,nr=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\/.*?|\[native code]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,ir=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,or="safari-extension",ar="safari-web-extension",sr=/Minified React error #\d+;/i;function ur(e,t,r,n){const i={filename:e||document.location.href,function:t||"?"};return void 0!==r&&(i.lineno=r),void 0!==n&&(i.colno=n),i}function cr(e,t){const r=null===e||void 0===e?void 0:e.includes(or),n=!r&&(null===e||void 0===e?void 0:e.includes(ar));return r||n?[(null===e||void 0===e?void 0:e.includes("@"))?e.split("@")[0]:e,r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]}function lr(e){let t=[];e.stacktrace?t=e.stacktrace.split("\n").filter(((e,t)=>t%2===0)):e.stack&&(t=e.stack.split("\n"));const r=t.reduce(((t,r,n)=>{if(r.length>1024)return t;let i,o,a,s,u;if(i=Xt.exec(r)){if(o=i[1],a=i[2],s=i[3],u=i[4],null===a||void 0===a?void 0:a.startsWith("eval")){const e=er.exec(a);e&&(a=e[1],s=e[2],u=e[3])}a=(null===a||void 0===a?void 0:a.startsWith(tr))?a.substring(rr):a,[o,a]=cr(o,a)}else if(i=nr.exec(r)){if(o=i[1],a=i[3],s=i[4],u=i[5],a&&a.includes(" > eval")){const e=ir.exec(a);e&&(o=o||"eval",a=e[1],s=e[2])}else 0===n&&!u&&Ye(e.columnNumber)&&(u=String(e.columnNumber+1));[o,a]=cr(o,a)}return(a||o)&&t.push(ur(a,o,s?Number(s):void 0,u?Number(u):void 0)),t}),[]);return sr.test(e.message)?r.slice(1):r}function fr(e){return{frames:lr(e)}}const dr="com.grafana.faro.session",pr=9e5,hr={enabled:!0,persistent:!1,maxSessionPersistenceTime:9e5},gr="unknown";var mr=r(42238);let yr,br;function vr(){const e="undefined"!==typeof navigator?navigator.userAgent:"";return yr===e&&br||(br=new mr.UAParser(e).getResult(),yr=e),br}const wr=()=>{const{browser:e,os:t,ua:r}=vr(),{name:n,version:i}=e,{name:o,version:a}=t,s=navigator.language,u=r.includes("Mobi"),c=function(){if(!n||!i)return;if("userAgentData"in navigator&&navigator.userAgentData)return navigator.userAgentData.brands;return}();return{browser:{name:null!==n&&void 0!==n?n:gr,version:null!==i&&void 0!==i?i:gr,os:`${null!==o&&void 0!==o?o:gr} ${null!==a&&void 0!==a?a:gr}`,userAgent:null!==r&&void 0!==r?r:gr,language:null!==s&&void 0!==s?s:gr,mobile:u,brands:null!==c&&void 0!==c?c:gr,viewportWidth:`${window.innerWidth}`,viewportHeight:`${window.innerHeight}`}}},xr=()=>{const{name:e,version:t}=vr().os;if(!e&&!t)return{};const r={};return e&&(r.name=e),t&&(r.version=t),{os:r}},Sr=()=>({sdk:{name:"faro-web",version:Ft}}),kr=()=>{const e=window.k6;return{k6:Object.assign({isK6Browser:!0},(null===e||void 0===e?void 0:e.testRunId)&&{testRunId:null===e||void 0===e?void 0:e.testRunId})}};let Er,_r;function Or({generatePageId:e,initialPageMeta:t}={}){return()=>{const r=location.href;return Je(e)&&Er!==r&&(Er=r,_r=e(location)),{page:Object.assign(Object.assign({url:r},_r?{id:_r}:{}),t)}}}class Ar{constructor(){this.unpatchedConsole=It,this.internalLogger=Pt,this.config={},this.metas={}}logDebug(...e){this.internalLogger.debug(`${this.name}\n`,...e)}logInfo(...e){this.internalLogger.info(`${this.name}\n`,...e)}
74logWarn(...e){this.internalLogger.warn(`${this.name}\n`,...e)}logError(...e){this.internalLogger.error(`${this.name}\n`,...e)}}class Tr extends Ar{isBatched(){return!1}getIgnoreUrls(){return[]}}function Cr(e,t){var r,n;if(void 0===t)return e;if(void 0===e)return{resourceSpans:t};const i=null===(r=e.resourceSpans)||void 0===r?void 0:r[0];if(void 0===i)return e;const o=(null===i||void 0===i?void 0:i.scopeSpans)||[],a=(null===(n=null===t||void 0===t?void 0:t[0])||void 0===n?void 0:n.scopeSpans)||[];return Object.assign(Object.assign({},e),{resourceSpans:[Object.assign(Object.assign({},i),{scopeSpans:[...o,...a]})]})}function Rr(e,t){let r,n=!1;const i=()=>{null!=r?(e(...r),r=null,setTimeout(i,t)):n=!1};return(...o)=>{n?r=o:(e(...o),n=!0,setTimeout(i,t))}}const Pr="sessionStorage",jr="localStorage";function Ir(e){var t;try{let t;t=window[e];const r="__faro_storage_test__";return t.setItem(r,r),t.removeItem(r),!0}catch(r){return null===(t=$t.internalLogger)||void 0===t||t.info(`Web storage of type ${e} is not available. Reason: ${r}`),!1}}function Lr(e,t){return Fr(t)?window[t].getItem(e):null}function Nr(e,t,r){if(Fr(r))try{window[r].setItem(e,t)}catch(n){}}function Mr(e,t){Fr(t)&&window[t].removeItem(e)}const Ur=Ir(jr),Dr=Ir(Pr);function Fr(e){return e===jr?Ur:e===Pr&&Dr}const Br="session_start",Zr="session_resume",$r="service_name_override";function qr(){var e,t,r;const n=$t.config.sessionTracking,i=null!==(r=null!==(t=null===(e=null===n||void 0===n?void 0:n.sampler)||void 0===e?void 0:e.call(n,{metas:$t.metas.value}))&&void 0!==t?t:null===n||void 0===n?void 0:n.samplingRate)&&void 0!==r?r:1,o="number"===typeof i?function(e){return Math.min(1,Math.max(0,e))}(i):0;return Math.random()<o}function zr({sessionId:e,started:t,lastActivity:r,isSampled:n=!0}={}){var i,o;const a=at(),s=null===(o=null===(i=$t.config)||void 0===i?void 0:i.sessionTracking)||void 0===o?void 0:o.generateSessionId;return null==e&&(e="function"===typeof s?s():gt()),{sessionId:e,lastActivity:null!==r&&void 0!==r?r:a,started:null!==t&&void 0!==t?t:a,isSampled:n}}function Hr(e){if(null==e)return!1;const t=at();if(!(t-e.started<144e5))return!1;return t-e.lastActivity<pr}function Gr({fetchUserSession:e,storeUserSession:t,adoptSession:r}){return function({forceSessionExtend:n}={forceSessionExtend:!1}){var i,o,a,s;if(!e||!t)return;const u=$t.config.sessionTracking,c=null===u||void 0===u?void 0:u.persistent;if(c&&!Ur||!c&&!Dr)return;const l=e();if(!1===n&&Hr(l)){t(Object.assign(Object.assign({},l),{lastActivity:at()}));const e=null===(i=$t.metas.value.session)||void 0===i?void 0:i.id;null!=r&&null!=l.sessionMeta&&l.sessionId!==e&&r(l.sessionMeta)}else{let e=Wr(zr({isSampled:qr()}),l);t(e),null===(o=$t.api)||void 0===o||o.setSession(e.sessionMeta),null===(a=null===u||void 0===u?void 0:u.onSessionChange)||void 0===a||a.call(u,null!==(s=null===l||void 0===l?void 0:l.sessionMeta)&&void 0!==s?s:null,e.sessionMeta)}}}function Wr(e,t){var r,n,i,o,a,s,u;const c=Object.assign(Object.assign({},e),{sessionMeta:{id:e.sessionId,attributes:Kr(Object.assign(Object.assign(Object.assign({},null===(n=null===(r=$t.config.sessionTracking)||void 0===r?void 0:r.session)||void 0===n?void 0:n.attributes),null!==(o=null===(i=$t.metas.value.session)||void 0===i?void 0:i.attributes)&&void 0!==o?o:{}),{isSampled:e.isSampled.toString()}))}}),l=null!==(s=null===(a=$t.metas.value.session)||void 0===a?void 0:a.overrides)&&void 0!==s?s:null===(u=null===t||void 0===t?void 0:t.sessionMeta)||void 0===u?void 0:u.overrides;nt(l)||(c.sessionMeta.overrides=l);const f=null===t||void 0===t?void 0:t.sessionId;return null!=f&&(c.sessionMeta.attributes.previousSession=f),c}function Vr({fetchUserSession:e,storeUserSession:t}){let r=!1;return function(n){if(r)return;const i=n.session,o=e();let a=null===i||void 0===i?void 0:i.id;const s=null===i||void 0===i?void 0:i.attributes,u=null===i||void 0===i?void 0:i.overrides,c=null===o||void 0===o?void 0:o.sessionMeta,l=null===c||void 0===c?void 0:c.overrides,f=!!u&&!lt(u,l),d=!!s&&!lt(s,null===c||void 0===c?void 0:c.attributes);if(!!i&&a!==(null===o||void 0===o?void 0:o.sessionId)||d||f){const e=Wr(zr({sessionId:a,isSampled:qr()}),o);t(e),function(e,t={},r={}){var n,i,o;if(!e)return;const a=t.serviceName,s=null!==(o=null!==(n=r.serviceName)&&void 0!==n?n:null===(i=$t.metas.value.app)||void 0===i?void 0:i.name)&&void 0!==o?o:"";a&&a!==s&&$t.api.pushEvent($r,{serviceName:a,previousServiceName:s})}(f,u,l),r=!0;try{$t.api.setSession(e.sessionMeta)}finally{r=!1}}}}function Kr(e){const t={};for(const r of Object.keys(e)){const n=e[r];void 0!==n&&(t[r]=n)}return t}class Yr{constructor(){this.adopting=!1,this.isAdopting=()=>this.adopting,this.adoptSession=e=>{var t;this.adopting=!0;try{null===(t=$t.api)||void 0===t||t.setSession(e)}finally{this.adopting=!1}},this.updateSession=Rr((()=>this.updateUserSession()),1e3),this.updateUserSession=Gr({fetchUserSession:Yr.fetchUserSession,storeUserSession:Yr.storeUserSession,adoptSession:this.adoptSession}),this.init()}static removeUserSession(){Mr(dr,Yr.storageTypeLocal)}static storeUserSession(e){Nr(dr,it(e),Yr.storageTypeLocal)}
74static fetchUserSession(){const e=Lr(dr,Yr.storageTypeLocal);return e?JSON.parse(e):null}init(){document.addEventListener("visibilitychange",(()=>{"visible"===document.visibilityState&&this.updateSession()})),$t.metas.addListener(Vr({fetchUserSession:Yr.fetchUserSession,storeUserSession:Yr.storeUserSession}))}}Yr.storageTypeLocal=jr;class Qr{constructor(){this.isAdopting=()=>!1,this.updateSession=Rr((()=>this.updateUserSession()),1e3),this.updateUserSession=Gr({fetchUserSession:Qr.fetchUserSession,storeUserSession:Qr.storeUserSession}),this.init()}static removeUserSession(){Mr(dr,Qr.storageTypeSession)}static storeUserSession(e){Nr(dr,it(e),Qr.storageTypeSession)}static fetchUserSession(){const e=Lr(dr,Qr.storageTypeSession);return e?JSON.parse(e):null}init(){document.addEventListener("visibilitychange",(()=>{"visible"===document.visibilityState&&this.updateSession()})),$t.metas.addListener(Vr({fetchUserSession:Qr.fetchUserSession,storeUserSession:Qr.storeUserSession}))}}function Jr(e){return(null===e||void 0===e?void 0:e.persistent)?Yr:Qr}Qr.storageTypeSession=Pr;var Xr=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(Vn){o(Vn)}}function s(e){try{u(n.throw(e))}catch(Vn){o(Vn)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},en=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r};let tn=0,rn=0;class nn extends Tr{constructor(e){var t,r,n,i,o;super(),this.options=e,this.name="@grafana/faro-web-sdk:transport-fetch",this.version=Ft,this.disabledUntil=new Date(0),this.rateLimitBackoffMs=null!==(t=e.defaultRateLimitBackoffMs)&&void 0!==t?t:5e3,this.getNow=null!==(r=e.getNow)&&void 0!==r?r:()=>Date.now();const a=null!==(n=e.requestCompression)&&void 0!==n&&n;a&&"undefined"===typeof CompressionStream?(this.compressionEnabled=!1,this.logWarn("requestCompression is enabled but CompressionStream is not available. Falling back to uncompressed.")):this.compressionEnabled=a,this.promiseBuffer=function(e){const{size:t,concurrency:r}=e,n=[];let i=0;const o=()=>{if(i<r&&n.length){const{producer:e,resolve:t,reject:r}=n.shift();i++,e().then((e=>{i--,o(),t(e)}),(e=>{i--,o(),r(e)}))}};return{add:e=>{if(n.length+i>=t)throw new Error("Task buffer full");return new Promise(((t,r)=>{n.push({producer:e,resolve:t,reject:r}),o()}))}}}({size:null!==(i=e.bufferSize)&&void 0!==i?i:30,concurrency:null!==(o=e.concurrency)&&void 0!==o?o:5})}send(e){return Xr(this,void 0,void 0,(function*(){try{if(this.disabledUntil>new Date(this.getNow()))return this.logWarn(`Dropping transport item due to too many requests. Backoff until ${this.disabledUntil}`),Promise.resolve();yield this.promiseBuffer.add((()=>Xr(this,void 0,void 0,(function*(){const t=JSON.stringify(function(e){let t={meta:{}};return void 0!==e[0]&&(t.meta=e[0].meta),e.forEach((e=>{switch(e.type){case Ze.LOG:case Ze.EVENT:case Ze.EXCEPTION:case Ze.MEASUREMENT:{const r=ze[e.type],n=t[r];t=Object.assign(Object.assign({},t),{[r]:void 0===n?[e.payload]:[...n,e.payload]});break}case Ze.TRACE:t=Object.assign(Object.assign({},t),{traces:Cr(t.traces,e.payload.resourceSpans)})}})),t}(e)),{url:r,requestOptions:n,apiKey:i}=this.options,o=null!==n&&void 0!==n?n:{},{headers:a={}}=o,s=en(o,["headers"]),{keepalive:u}=s,c=en(s,["keepalive"]);let l;const f=this.metas.value.session;null!=f&&(l=f.id);const d={};for(const[e,y]of Object.entries(a))d[e]="function"===typeof y?yield Promise.resolve(y()):y;let p=t,h=t.length;const g={};this.compressionEnabled&&(p=yield this.compress(t),h=p.size,g["Content-Encoding"]="gzip");const m=Object.assign({method:"POST",headers:Object.assign(Object.assign(Object.assign(Object.assign({"Content-Type":"application/json"},g),d),i?{"x-api-key":i}:{}),l?{"x-faro-session-id":l}:{}),body:p},null!==c&&void 0!==c?c:{});return this.fetchWithKeepaliveRetry(r,m,h,u).catch((e=>{this.logError("Failed sending payload to the receiver\n",JSON.parse(t),e)}))}))))}catch(t){this.logError(t)}}))}getIgnoreUrls(){var e;return[this.options.url].concat(null!==(e=this.config.ignoreUrls)&&void 0!==e?e:[])}isBatched(){return!0}getRetryAfterDate(e){const t=this.getNow(),r=e.headers.get("Retry-After");if(r){const e=Number(r);
74if(!isNaN(e))return new Date(1e3*e+t);const n=Date.parse(r);if(!isNaN(n))return new Date(n)}return new Date(t+this.rateLimitBackoffMs)}reserveKeepalive(e,t){if(!1===t)return{keepalive:!1,release:Ct};if(e>6e4||tn+e>6e4||rn>=9)return this.logDebug("Disabling keepalive because the pending keepalive request budget would be exceeded."),{keepalive:!1,release:Ct};tn+=e,rn++;let r=!1;return{keepalive:!0,release:()=>{r||(r=!0,tn=Math.max(0,tn-e),rn=Math.max(0,rn-1))}}}fetchWithKeepaliveRetry(e,t,r,n){return Xr(this,void 0,void 0,(function*(){const i=this.reserveKeepalive(r,n);try{const r=yield fetch(e,Object.assign(Object.assign({},t),{keepalive:i.keepalive}));return this.handleResponse(r)}catch(o){if(i.keepalive&&this.isFetchNetworkError(o)){this.logDebug("Retrying failed keepalive request with keepalive disabled.");const r=yield fetch(e,Object.assign(Object.assign({},t),{keepalive:!1}));return this.handleResponse(r)}throw o}finally{i.release()}}))}handleResponse(e){return Xr(this,void 0,void 0,(function*(){if(202===e.status){"invalid"===e.headers.get("X-Faro-Session-Status")&&this.extendFaroSession(this.config,this.logDebug)}return 429===e.status&&(this.disabledUntil=this.getRetryAfterDate(e),this.logWarn(`Too many requests, backing off until ${this.disabledUntil}`)),e.text().catch(Ct),e}))}isFetchNetworkError(e){return e instanceof TypeError}compress(e){return Xr(this,void 0,void 0,(function*(){const t=new ReadableStream({start(t){t.enqueue((new TextEncoder).encode(e)),t.close()}}).pipeThrough(new CompressionStream("gzip")).getReader(),r=[];for(;;){const{done:e,value:n}=yield t.read();if(e)break;r.push(n)}return new Blob(r)}))}extendFaroSession(e,t){const r=e.sessionTracking;if(null===r||void 0===r?void 0:r.enabled){const{fetchUserSession:e,storeUserSession:n}=Jr(r);Gr({fetchUserSession:e,storeUserSession:n})({forceSessionExtend:!0}),t("Session expired created new session.")}else t("Session expired.")}}class on extends Ar{constructor(){super(...arguments),this.api={},this.transports={}}}const an="http-request-start",sn="http-request-end";let un,cn;function ln(){return un||(un=new ft),cn||(cn=new MutationObserver(((e,t)=>{un.notify({type:"dom-mutation"})})),cn.observe(document,{attributes:!0,childList:!0,subtree:!0,characterData:!0})),un}function fn(e=""){return $t.transports.transports.flatMap((e=>e.getIgnoreUrls())).some((t=>e&&null!=e.match(t)))}function dn(e){return Ke(e)?e:e instanceof URL?e.href:!nt(e)&&Je(null===e||void 0===e?void 0:e.toString)?e.toString():void 0}const pn="fetch",hn="xhr";let gn,mn,yn,bn=!1;function vn(){if(gn)return gn;function e(e){gn.notify({type:an,request:e})}function t(e){gn.notify({type:sn,request:e})}return gn=new ft,bn||(!function({onRequestEnd:e,onRequestStart:t}){yn||(yn=window.fetch);window.fetch=function(){var r,n;const i=null!==(r=dn(arguments[0]))&&void 0!==r?r:"",o=fn(i),a=(null!==(n=arguments[1])&&void 0!==n?n:{}).method,s=gt();return o||t({url:i,method:a,requestId:s,apiType:pn}),yn.apply(this,arguments).then((t=>(o||e({url:i,method:a,requestId:s,apiType:pn}),t))).catch((t=>{throw o||e({url:i,method:a,requestId:s,apiType:pn}),t}))}}({onRequestStart:e,onRequestEnd:t}),function({onRequestStart:e,onRequestEnd:t}){mn||(mn=XMLHttpRequest.prototype.open);XMLHttpRequest.prototype.open=function(){const r=arguments[1],n=fn(r),i=arguments[0],o=gt();this.addEventListener("loadstart",(function(){n||e({url:r,method:i,requestId:o,apiType:hn})})),this.addEventListener("load",(function(){n||t({url:r,method:i,requestId:o,apiType:hn})})),this.addEventListener("error",(function(){n||t({url:r,method:i,requestId:o,apiType:hn})})),this.addEventListener("abort",(function(){n||t({url:r,method:i,requestId:o,apiType:hn})})),mn.apply(this,arguments)}}({onRequestStart:e,onRequestEnd:t}),bn=!0),gn}const wn="com.grafana.faro.lastNavigationId",xn="resource",Sn=/^00-[a-f0-9]{32}-[a-f0-9]{16}-[0-9]{1,2}$/;function kn(e=[]){for(const t of e)if("traceparent"===t.name){if(!Sn.test(t.description))continue;const[,e,r]=t.description.split("-");if(null!=e&&null!=r)return{traceId:e,spanId:r};break}}function En(e,t={}){for(const[r,n]of Object.entries(t)){const t=e[r];return null!=t&&(Xe(n)?n.includes(t):t===n)}return!0}function _n(e){const{connectEnd:t,connectStart:r,decodedBodySize:n,domainLookupEnd:i,domainLookupStart:o,duration:a,encodedBodySize:s,fetchStart:u,initiatorType:c,name:l,nextHopProtocol:f,redirectEnd:d,redirectStart:p,renderBlockingStatus:h,requestStart:g,responseEnd:m,responseStart:y,responseStatus:b,secureConnectionStart:v,transferSize:w,workerStart:x}=e;return{name:l,httpHost:An(l),duration:Tn(a),tcpHandshakeTime:Tn(t-r),dnsLookupTime:Tn(i-o),tlsNegotiationTime:Tn(t-v),responseStatus:T
74n(b),redirectTime:Tn(d-p),requestTime:Tn(y-g),responseTime:Tn(m-y),fetchTime:Tn(m-u),serviceWorkerTime:Tn(x>0?u-x:0),decodedBodySize:Tn(n),encodedBodySize:Tn(s),cacheHitStatus:function(){let e="fullLoad";0===w?n>0&&(e="cache"):null!=b?304===b&&(e="conditionalFetch"):s>0&&w<s&&(e="conditionalFetch");return e}(),renderBlockingStatus:Tn(h),protocol:f,initiatorType:c,visibilityState:document.visibilityState,ttfb:Tn(y-g),transferSize:Tn(w)}}function On(e){const{activationStart:t,domComplete:r,domContentLoadedEventEnd:n,domContentLoadedEventStart:i,domInteractive:o,fetchStart:a,loadEventEnd:s,loadEventStart:u,responseStart:c,type:l}=e,f=function(){var e;if(null!=(null===(e=performance.timing)||void 0===e?void 0:e.domLoading))return performance.timing.domLoading-performance.timeOrigin;return null}();return Object.assign(Object.assign({},_n(e)),{pageLoadTime:Tn(r-a),documentParsingTime:Tn(f?o-f:null),domProcessingTime:Tn(r-o),domContentLoadHandlerTime:Tn(n-i),onLoadTime:Tn(s-u),ttfb:Tn(Math.max(c-(null!==t&&void 0!==t?t:0),0)),type:l})}function An(e){try{return new URL(e).host||gr}catch(t){return gr}}function Tn(e){return null==e?gr:"number"===typeof e?Math.round(e>0?e:0).toString():e.toString()}const Cn={initiatorType:["xmlhttprequest","fetch"]};var Rn=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(Vn){o(Vn)}}function s(e){try{u(n.throw(e))}catch(Vn){o(Vn)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))};const Pn=new ft;class jn extends on{constructor(){super(...arguments),this.name="@grafana/faro-web-sdk:instrumentation-performance",this.version=Ft}initialize(){"PerformanceObserver"in window?function(e){if("complete"===document.readyState)e();else{const t=()=>{"complete"===document.readyState&&(e(),document.removeEventListener("readystatechange",t))};document.addEventListener("readystatechange",t)}}((()=>Rn(this,void 0,void 0,(function*(){const e=this.api.pushEvent,{faroNavigationId:t}=yield function(e){let t;const r=new Promise((e=>{t=e}));return new PerformanceObserver((r=>{var n;const[i]=r.getEntries();if(null==i||fn(i.name))return;const o=i.toJSON();let a=kn(null===o||void 0===o?void 0:o.serverTiming);const s=null!==(n=Lr(wn,Pr))&&void 0!==n?n:gr,u=Object.assign(Object.assign({},On(o)),{faroNavigationId:gt(),faroPreviousNavigationId:s});Nr(wn,u.faroNavigationId,Pr),e("faro.performance.navigation",u,void 0,{spanContext:a,timestampOverwriteMs:performance.timeOrigin+o.startTime}),t(u)}
74)).observe({type:"navigation",buffered:!0}),r}(e);null!=t&&function(e,t,r){const n=$t.config.trackResources;new PerformanceObserver((i=>{const o=i.getEntries();for(const a of o){if(fn(a.name))continue;null===r||void 0===r||r.notify({type:xn});const i=a.toJSON();let o=kn(null===i||void 0===i?void 0:i.serverTiming);if(null==n&&En(i,Cn)||n){const r=Object.assign(Object.assign({},_n(i)),{faroNavigationId:e,faroResourceId:gt()});t("faro.performance.resource",r,void 0,{spanContext:o,timestampOverwriteMs:performance.timeOrigin+i.startTime})}}})).observe({type:xn,buffered:!0})}(t,e,Pn)})))):this.logDebug("performance observer not supported. Disable performance instrumentation.")}}let In,Ln,Nn=!1;function Mn(e){return e.type===sn}class Un{constructor(e){this.userAction=e,this.http=vn(),this.dom=ln(),this.perf=(In||(In=new ft),Nn||(Ln=Pn.subscribe((e=>{e.type===xn&&In.notify({type:"resource-entry"})})),Nn=!0),In),this.isValid=!1,this.runningRequests=new Map}attach(){this.allMonitorsSub=(new ft).merge(this.http,this.dom,this.perf).takeWhile((()=>[pt.Started,pt.Halted].includes(this.userAction.getState()))).filter((e=>!!(this.userAction.getState()!==pt.Halted||Mn(e)&&this.runningRequests.has(e.request.requestId)))).subscribe((e=>{(function(e){return e.type===an})(e)&&this.runningRequests.set(e.request.requestId,e.request),Mn(e)&&this.runningRequests.delete(e.request.requestId),Mn(e)?this.userAction.getState()===pt.Halted&&0===this.runningRequests.size&&this.endAction():(this.isValid||(this.isValid=!0),this.scheduleFollowUp())})),this.stateSub=this.userAction.filter((e=>[pt.Ended,pt.Cancelled].includes(e))).first().subscribe((()=>this.cleanup())),this.scheduleFollowUp()}scheduleFollowUp(){this.clearTimer(this.followUpTid),this.followUpTid=setTimeout((()=>{this.userAction.getState()===pt.Started&&this.runningRequests.size>0?this.haltAction():this.isValid?this.endAction():this.cancelAction()}),100)}haltAction(){this.userAction.getState()===pt.Started&&(this.userAction.halt(),this.startHaltTimeout())}startHaltTimeout(){this.clearTimer(this.haltTid),this.haltTid=function(e,t,r){return e&&clearTimeout(e),setTimeout((()=>{t()}),r)}(this.haltTid,(()=>{this.userAction.getState()===pt.Halted&&this.endAction()}),1e4)}endAction(){this.userAction.end(),this.cleanup()}cancelAction(){this.userAction.cancel(),this.cleanup()}cleanup(){var e,t;this.clearTimer(this.followUpTid),this.clearTimer(this.haltTid),null===(e=this.allMonitorsSub)||void 0===e||e.unsubscribe(),null===(t=this.stateSub)||void 0===t||t.unsubscribe(),this.allMonitorsSub=void 0,this.stateSub=void 0,this.runningRequests.clear()}clearTimer(e){e&&clearTimeout(e)}}function Dn(e){const{api:t,config:r}=e;function n(e){new Un(e).attach()}return{processUserEvent:function(e){var i,o;const a=function(e,t){const r=function(e){const t=e.split("data-")[1],r=null===t||void 0===t?void 0:t.replace(/-(.)/g,((e,t)=>t.toUpperCase()));return null===r||void 0===r?void 0:r.replace(/-/g,"")}(t),n=e.dataset;for(const i in n)if(i===r)return n[i];return}(e.target,null!==(o=null===(i=r.userActionsInstrumentation)||void 0===i?void 0:i.dataAttributeName)&&void 0!==o?o:"faroUserActionName");if(!a)return;const s=t.startUserAction(a,{},{triggerName:e.type});s&&n(s)},processUserActionStarted:n}}class Fn extends on{constructor(){super(...arguments),this.name="@grafana/faro-web-sdk:instrumentation-user-action",this.version=Ft}initialize(){const{processUserEvent:e,processUserActionStarted:t}=Dn($t);window.addEventListener("pointerdown",e),window.addEventListener("keydown",(t=>{[" ","Enter"].includes(t.key)&&e(t)})),this._userActionSub=bt.subscribe((({type:e,userAction:r})=>{"user_action_start"===e&&t(r)}))}destroy(){var e;null===(e=this._userActionSub)||void 0===e||e.unsubscribe()}}const Bn=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;function Zn(e){let t,r,n,i,o=[];if((e=>Ge(e,"ErrorEvent"))(e)&&e.error)t=e.error.message,r=e.error.name,o=lr(e.error);else if((n=(e=>Ge(e,"DOMError"))(e))||(e=>Ge(e,"DOMException"))(e)){const{name:i,message:o}=e;r=null!==i&&void 0!==i?i:n?"DOMError":"DOMException",t=o?`${r}: ${o}`:r}else rt(e)?(r=e.name,t=e.message,o=lr(e)):(Qe(e)||(i=(e=>et&&We(e,Event))(e)))&&(r=i?e.constructor.name:void 0,t=`Non-Error exception captured with keys: ${Object.keys(e)}`);return[t,r,o]}function $n(e){const[t,r,n,i,o]=e;let a,s,u=[];const c=Ke(t),l=ur(r,"?",n,i);return o||!c?([a,s,u]=Zn(null!==o&&void 0!==o?o:t),0===u.length&&(u=[l])):c&&([a,s]=function(e){var t,r;const n=e.match(Bn),i=null!==(t=null===n||void 0===n?void 0:n[1])&&void 0!==t?t:wt;return[null!==(r=null===n||void 0===n?void 0:n[2])&&void 0!==r?r:e,i]}(t),u=[l]),{value:a,type:s,stackFrames:u}}function qn(e,t){return rt(e[0])?$n(e):{value:t(e)}}const zn=[];function Hn(e){const t=t=>{var r,n;let i,o,a=t;a.reason?a=t.reason:(null===(r=t.detail)||void 0===r?void 0:r.reason)&&(a=null===(n=t.detail)||void 0===n?void 0:n.reason);let s=[];(e=>!Qe(e)&&!Je(e))(a)?(i=`Non-Error promise rejection captured with value: ${String(a)}`,o="UnhandledRejection"):[i,o,s]=Zn(a),i&&e.pushError(new Error(i),{t
74ype:o,stackFrames:s})};window.addEventListener("unhandledrejection",t),zn.push(t)}class Gn extends on{constructor(){super(...arguments),this.name="@grafana/faro-web-sdk:instrumentation-errors",this.version=Ft}initialize(){this.logDebug("Initializing"),function(e){const t=window.onerror;window.onerror=(...r)=>{try{const{value:n,type:i,stackFrames:o}=$n(r),a=r[4];if(n){const t={type:i,stackFrames:o};null!=a&&(t.originalError=a),e.pushError(new Error(n),t)}}finally{null===t||void 0===t||t.apply(window,r)}}}(this.api),Hn(this.api)}}class Wn{t;o=0;i=[];u(e){if(e.hadRecentInput)return;const t=this.i[0],r=this.i.at(-1);this.o&&t&&r&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(this.o+=e.value,this.i.push(e)):(this.o=e.value,this.i=[e]),this.t?.(e)}}const Vn=()=>{const e=performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},Kn=e=>{if("loading"===document.readyState)return"loading";const t=Vn();if(t){if(e<t.domInteractive)return"loading";if(0===t.domContentLoadedEventStart||e<t.domContentLoadedEventStart)return"dom-interactive";if(0===t.domComplete||e<t.domComplete)return"dom-content-loaded"}return"complete"},Yn=e=>{const t=e.nodeName;return 1===e.nodeType?t.toLowerCase():t.toUpperCase().replace(/^#/,"")},Qn=e=>{let t="";try{for(;9!==e?.nodeType;){const r=e,n=r.id?"#"+r.id:[Yn(r),...Array.from(r.classList).sort()].join(".");if(t.length+n.length>99)return t||n;if(t=t?n+">"+t:n,r.id)break;e=r.parentNode}}catch{}return t},Jn=new WeakMap;function Xn(e,t){let r=Jn.get(t);return r||(r=new WeakMap,Jn.set(t,r)),r.get(e)||r.set(e,new t),r.get(e)}let ei=-1;const ti=()=>ei,ri=e=>{addEventListener("pageshow",(t=>{t.persisted&&(ei=t.timeStamp,e(t))}),!0)},ni=(e,t,r,n)=>{let i,o;return a=>{t.value>=0&&(a||n)&&(o=t.value-(i??0),(o||void 0===i)&&(i=t.value,t.delta=o,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,r),e(t)))}},ii=e=>{requestAnimationFrame((()=>requestAnimationFrame(e)))},oi=()=>Vn()?.activationStart??0,ai=(e,t=-1)=>{const r=Vn();let n="navigate";return ti()>=0?n="back-forward-cache":r&&(document.prerendering||oi()>0?n="prerender":document.wasDiscarded?n="restore":r.type&&(n=r.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:n}},si=(e,t,r={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const n=new PerformanceObserver((e=>{queueMicrotask((()=>{t(e.getEntries())}))}));return n.observe({type:e,buffered:!0,...r}),n}}catch{}},ui=e=>{let t=!1;return()=>{t||(e(),t=!0)}};let ci=-1;const li=new Set,fi=()=>"hidden"!==document.visibilityState||document.prerendering?1/0:0,di=e=>{if("hidden"===document.visibilityState){if("visibilitychange"===e.type)for(const e of li)e();isFinite(ci)||(ci="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("prerenderingchange",di,!0))}},pi=()=>{if(ci<0){const e=oi(),t=document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").find((t=>"hidden"===t.name&&t.startTime>=e))?.startTime;ci=t??fi(),addEventListener("visibilitychange",di,!0),addEventListener("prerenderingchange",di,!0),ri((()=>{setTimeout((()=>{ci=fi()}))}))}return{get firstHiddenTime(){return ci},onHidden(e){li.add(e)}}},hi=e=>{document.prerendering?addEventListener("prerenderingchange",e,!0):e()},gi=[1800,3e3],mi=(e,t={})=>{hi((()=>{const r=pi();let n,i=ai("FCP");const o=si("paint",(e=>{for(const t of e)"first-contentful-paint"===t.name&&(o.disconnect(),t.startTime<r.firstHiddenTime&&(i.value=Math.max(t.startTime-oi(),0),i.entries.push(t),n(!0)))}));o&&(n=ni(e,i,gi,t.reportAllChanges),ri((r=>{i=ai("FCP"),n=ni(e,i,gi,t.reportAllChanges),ii((()=>{i.value=performance.now()-r.timeStamp,n(!0)}))})))}))},yi=[.1,.25],bi=e=>e.find((e=>1===e.node?.nodeType))||e[0];let vi=0,wi=1/0,xi=0;const Si=e=>{for(const t of e)t.interactionId&&(wi=Math.min(wi,t.interactionId),xi=Math.max(xi,t.interactionId),vi=xi?(xi-wi)/7+1:0)};let ki;const Ei=()=>ki?vi:performance.interactionCount??0;let _i=0;class Oi{l=[];h=new Map;m;p;v(){_i=Ei(),this.l.length=0,this.h.clear()}M(){const e=Math.min(this.l.length-1,Math.floor((Ei()-_i)/50));return this.l[e]}u(e){if(this.m?.(e),!e.interactionId&&"first-input"!==e.entryType)return;const t=this.l.at(-1);let r=this.h.get(e.interactionId);if(r||this.l.length<10||e.duration>t.T){if(r?e.duration>r.T?(r.entries=[e],r.T=e.duration):e.duration===r.T&&e.startTime===r.entries[0].startTime&&r.entries.push(e):(r={id:e.interactionId,entries:[e],T:e.duration},this.h.set(r.id,r),this.l.push(r)),this.l.sort(((e,t)=>t.T-e.T)),this.l.length>10){const e=this.l.splice(10);for(const t of e)this.h.delete(t.id)}this.p?.(r)}}}const Ai=e=>{const t=globalThis.requestIdleCallback||setTimeout,r=globalThis.cancelIdleCallback||clearTimeout;if("hidden"===document.visibilityState)e();else{const n=ui(e);let i=-1;const o=()=>{r(i),n()};addEventListener("visibilitychange",o,{once:!0,capture:!0}),i=t((()=>{removeEventListener("visibilitychange",o,{capture:!0}),n()}))}},Ti=[200,500],Ci=(e,t={})=>{const r=Xn(t=Object.assign({},t),Oi);let n=[],i=[],o=0;const a=new WeakMap,s=new WeakMap;let u=!1;const c=()=>{u||(Ai(l),u=!0)},l=()=>{const e=new Set(r.l.map((e=>a.get(e.entries[0])))),t=i.length-10;i=i.filter(((r,n)=>n>=t||e.has(r)));const s=new Set;for(const r of i){const e=f(r.startTime,r.processingEnd);for(const t of e)s.add(t)}n=n.filter((e=>e.startTime>o||s.has(e))),u=!1};r.m=e=>{const r=e.startTime+e.duration;let n;o=Math.max(o,e.processingEnd);for(let o=i.length-1;o>=0;o--){const a=i[o];if(Math.abs(r-a.renderTime)<=8){n=a,n.startTime=Math.min(e.startTime,n.startTime),n.processingStart=Math.min(e.processingStart,n.processingStart),n.processingEnd=Math.max(e.processingEnd,n.processingEnd),!1!==t.includeProcessedEventEntries&&n.entries.push(e);break}}n||(n={startTime:e.startTime,processingStart:e.processingStart,processingEnd:e.processingEnd,renderTime:r,entries:!1!==t.includeProcessedEventEntries?[e]:[]},i.push(n)),(e.interactionId||"first-input"===e.entryType)&&a.set(e,n),c()},r.p=e=>{if(!s.get(e)){const r=e.entries.find((e=>e.target))?.target;if(r){const n=t.generateTarget?.(r)??Qn(r);s.set(e,n)}else{const t=e.entries.find((e=>e.targetSelector))?.targetSelector;t&&s.set(e,t)}}};const f=(e,t)=>{const r=[];
74for(const i of n)if(!(i.startTime+i.duration<e)){if(i.startTime>t)break;r.push(i)}return r};si("long-animation-frame",(e=>{n=n.concat(e),c()})),((e,t={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const r=pi();hi((()=>{"interactionCount"in performance||ki||(ki=si("event",Si,{durationThreshold:0}));let n,i=ai("INP");const o=Xn(t,Oi),a=e=>{Ai((()=>{for(const r of e)o.u(r);const t=o.M();t&&t.T!==i.value&&(i.value=t.T,i.entries=t.entries,n())}))},s=si("event",a,{durationThreshold:t.durationThreshold??40});n=ni(e,i,Ti,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),r.onHidden((()=>{a(s.takeRecords()),n(!0)})),ri((()=>{o.v(),i=ai("INP"),n=ni(e,i,Ti,t.reportAllChanges)})))}))})((t=>{e((e=>{const t=e.entries[0],n=a.get(t),i=t.processingStart,o=Math.max(t.startTime+t.duration,i),u=Math.min(n.processingEnd,o),c=n.entries.sort(((e,t)=>e.processingStart-t.processingStart)),l=f(t.startTime,u),d=r.h.get(t.interactionId),p={interactionTarget:s.get(d),interactionType:t.name.startsWith("key")?"keyboard":"pointer",interactionTime:t.startTime,nextPaintTime:o,processedEventEntries:c,longAnimationFrameEntries:l,inputDelay:i-t.startTime,processingDuration:u-i,presentationDelay:o-u,loadState:Kn(t.startTime),longestScript:void 0,totalScriptDuration:void 0,totalStyleAndLayoutDuration:void 0,totalPaintDuration:void 0,totalUnattributedDuration:void 0};return(e=>{if(!e.longAnimationFrameEntries?.length)return;const t=e.interactionTime,r=e.inputDelay,n=e.processingDuration;let i,o,a=0,s=0,u=0,c=0;for(const d of e.longAnimationFrameEntries){s=s+d.startTime+d.duration-d.styleAndLayoutStart;for(const e of d.scripts){const u=e.startTime+e.duration;if(u<t)continue;const l=u-Math.max(t,e.startTime),f=e.duration?l/e.duration*e.forcedStyleAndLayoutDuration:0;a+=l-f,s+=f,l>c&&(o=e.startTime<t+r?"input-delay":e.startTime>=t+r+n?"presentation-delay":"processing-duration",i=e,c=l)}}const l=e.longAnimationFrameEntries.at(-1),f=l?l.startTime+l.duration:0;f>=t+r+n&&(u=e.nextPaintTime-f),i&&o&&(e.longestScript={entry:i,subpart:o,intersectingDuration:c}),e.totalScriptDuration=a,e.totalStyleAndLayoutDuration=s,e.totalPaintDuration=u,e.totalUnattributedDuration=e.nextPaintTime-t-a-s-u})(p),Object.assign(e,{attribution:p})})(t))}),t)};class Ri{m;u(e){this.m?.(e)}}const Pi=[2500,4e3],ji=[800,1800],Ii=e=>{document.prerendering?hi((()=>Ii(e))):"complete"!==document.readyState?addEventListener("load",(()=>Ii(e)),!0):setTimeout(e)},Li="load_state",Ni="time_to_first_byte";class Mi{constructor(e,t){this.corePushMeasurement=e,this.webVitalConfig=t}initialize(){this.measureCLS(),this.measureFCP(),this.measureINP(),this.measureLCP(),this.measureTTFB()}measureCLS(){var e;((e,t={})=>{const r=Xn(t=Object.assign({},t),Wn),n=new WeakMap;r.t=e=>{if(e?.sources?.length){const r=bi(e.sources),i=r?.node;if(i){const e=t.generateTarget?.(i)??Qn(i);n.set(r,e)}}},((e,t={})=>{const r=pi();mi(ui((()=>{let n,i=ai("CLS",0);const o=Xn(t,Wn),a=e=>{for(const t of e)o.u(t);o.o>i.value&&(i.value=o.o,i.entries=o.i,n())},s=si("layout-shift",a);s&&(n=ni(e,i,yi,t.reportAllChanges),r.onHidden((()=>{a(s.takeRecords()),n(!0)})),ri((()=>{o.o=0,i=ai("CLS",0),n=ni(e,i,yi,t.reportAllChanges),ii(n)})),setTimeout(n))})))})((t=>{e((e=>{let t={};if(e.entries.length){const r=e.entries.reduce(((e,t)=>e.value>t.value?e:t));if(r?.sources?.length){const e=bi(r.sources);e&&(t={largestShiftTarget:n.get(e),largestShiftTime:r.startTime,largestShiftValue:r.value,largestShiftSource:e,largestShiftEntry:r,loadState:Kn(r.startTime)})}}return Object.assign(e,{attribution:t})})(t))}),t)})((e=>{const{loadState:t,largestShiftValue:r,largestShiftTime:n,largestShiftTarget:i}=e.attribution,o=this.buildInitialValues(e);this.addIfPresent(o,"largest_shift_value",r),this.addIfPresent(o,"largest_shift_time",n);const a=this.buildInitialContext(e);this.addIfPresent(a,Li,t),this.addIfPresent(a,"largest_shift_target",i),this.pushMeasurement(o,a)}),{reportAllChanges:null===(e=this.webVitalConfig)||void 0===e?void 0:e.reportAllChanges})}measureFCP(){var e;((e,t={})=>{mi((t=>{e((e=>{let t={timeToFirstByte:0,firstByteToFCP:e.value,loadState:Kn(ti())};if(e.entries.length){const r=Vn(),n=e.entries.at(-1);if(r){const i=r.activationStart||0,o=Math.max(0,r.responseStart-i);t={timeToFirstByte:o,firstByteToFCP:e.value-o,loadState:Kn(e.entries[0].startTime),navigationEntry:r,fcpEntry:n}}}return Object.assign(e,{attribution:t})})(t))}),t)})((e=>{const{firstByteToFCP:t,timeToFirstByte:r,loadState:n}=e.attribution,i=this.buildInitialValues(e);this.addIfPresent(i,"first_byte_to_fcp",t),this.addIfPresent(i,Ni,r);const o=this.buildInitialContext(e);this.addIfPresent(o,Li,n),this.pushMeasurement(i,o)}),{reportAllChanges:null===(e=this.webVitalConfig)||void 0===e?void 0:e.reportAllChanges})}measureINP(){var e;Ci((e=>{const{interactionTime:t,presentationDelay:r,inputDelay:n,processingDuration:i,nextPaintTime:o,loadState:a,interactionTarget:s,interactionType:u}=e.attribution,c=this.buildInitialValues(e);this.addIfPresent(c,"interaction_time",t),this.addIfPresent(c,"presentation_delay",r),this.addIfPresent(c,"input_delay",n),this.addIfPresent(c,"processing_duration",i),this.addIfPresent(c,"next_paint_time",o);const l=this.buildInitialContext(e);this.addIfPresent(l,Li,a),this.addIfPresent(l,"interaction_target",s),this.addIfPresent(l,"interaction_type",u),this.pushMeasurement(c,l)}),{reportAllChanges:null===(e=this.webVitalConfig)||void 0===e?void 0:e.reportAllChanges})}measureLCP(){var e;((e,t={})=>{const r=Xn(t=Object.assign({},t),Ri),n=new WeakMap;r.m=e=>{const r=e.element;if(r){const i=t.generateTarget?.(r)??Qn(r);n.set(e,i)}else e.id&&n.set(e,`#${e.id}`)},((e,t={})=>{hi((()=>{const r=pi();let n,i=ai("LCP");const o=Xn(t,Ri),a=e=>{t.reportAllChanges||(e=e.slice(-1));for(const t of e)o.u(t),t.startTime<r.firstHiddenTime&&(i.value=Math.max(t.startTime-oi(),0),i.entries=[t],n())},s=si("largest-contentful-paint",a);if(s){n=ni(e,i,Pi,t.reportAllChanges);const r=ui((()=>{a(s.takeRecords()),s.disconnect(),n(!0)})),o=e=>{e.isTrusted&&(Ai(r),removeEventListener(e.type,o,{capture:!0}))};
74for(const e of["keydown","click","visibilitychange"])addEventListener(e,o,{capture:!0});ri((r=>{i=ai("LCP"),n=ni(e,i,Pi,t.reportAllChanges),ii((()=>{i.value=performance.now()-r.timeStamp,n(!0)}))}))}}))})((t=>{e((e=>{let t={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:e.value};if(e.entries.length){const r=e.entries.at(-1),i=r.url&&performance.getEntriesByType("resource").find((e=>e.name===r.url));t.target=n.get(r),t.lcpEntry=r,r.url&&(t.url=r.url),i&&(t.lcpResourceEntry=i);const o=Vn();if(o){const r=o.activationStart||0,n=Math.max(0,o.responseStart-r),a=Math.max(n,i?(i.requestStart||i.startTime)-r:0),s=Math.min(e.value,Math.max(a,i?i.responseEnd-r:0));t={...t,timeToFirstByte:n,resourceLoadDelay:a-n,resourceLoadDuration:s-a,elementRenderDelay:e.value-s,navigationEntry:o}}}return Object.assign(e,{attribution:t})})(t))}),t)})((e=>{const{elementRenderDelay:t,resourceLoadDelay:r,resourceLoadDuration:n,timeToFirstByte:i,target:o}=e.attribution,a=this.buildInitialValues(e);this.addIfPresent(a,"element_render_delay",t),this.addIfPresent(a,"resource_load_delay",r),this.addIfPresent(a,"resource_load_duration",n),this.addIfPresent(a,Ni,i);const s=this.buildInitialContext(e);this.addIfPresent(s,"element",o),this.pushMeasurement(a,s)}),{reportAllChanges:null===(e=this.webVitalConfig)||void 0===e?void 0:e.reportAllChanges})}measureTTFB(){var e;((e,t={})=>{((e,t={})=>{let r=ai("TTFB"),n=ni(e,r,ji,t.reportAllChanges);Ii((()=>{const i=Vn();i&&(r.value=Math.max(i.responseStart-oi(),0),r.entries=[i],n(!0),ri((()=>{r=ai("TTFB",0),n=ni(e,r,ji,t.reportAllChanges),n(!0)})))}))})((t=>{e((e=>{let t={waitingDuration:0,cacheDuration:0,dnsDuration:0,connectionDuration:0,requestDuration:0};if(e.entries.length){const r=e.entries[0],n=r.activationStart||0,i=Math.max((r.workerStart||r.fetchStart)-n,0),o=Math.max(r.domainLookupStart-n,0),a=Math.max(r.connectStart-n,0),s=Math.max(r.connectEnd-n,0);t={waitingDuration:i,cacheDuration:o-i,dnsDuration:a-o,connectionDuration:s-a,requestDuration:e.value-s,navigationEntry:r}}return Object.assign(e,{attribution:t})})(t))}),t)})((e=>{const{dnsDuration:t,connectionDuration:r,requestDuration:n,waitingDuration:i,cacheDuration:o}=e.attribution,a=this.buildInitialValues(e);this.addIfPresent(a,"dns_duration",t),this.addIfPresent(a,"connection_duration",r),this.addIfPresent(a,"request_duration",n),this.addIfPresent(a,"waiting_duration",i),this.addIfPresent(a,"cache_duration",o);const s=this.buildInitialContext(e);this.pushMeasurement(a,s)}),{reportAllChanges:null===(e=this.webVitalConfig)||void 0===e?void 0:e.reportAllChanges})}buildInitialValues(e){return{[e.name.toLowerCase()]:e.value,delta:e.delta}}buildInitialContext(e){var t;const r=null!==(t=Lr(wn,Pr))&&void 0!==t?t:gr;return{id:e.id,rating:e.rating,navigation_type:e.navigationType,navigation_entry_id:r}}pushMeasurement(e,t){this.corePushMeasurement({type:"web-vitals",values:e},{context:t})}addIfPresent(e,t,r){r&&(e[t]=r)}}class Ui extends on{constructor(){super(...arguments),this.name="@grafana/faro-web-sdk:instrumentation-web-vitals",this.version=Ft}initialize(){this.logDebug("Initializing");new Mi(this.api.pushMeasurement,this.config.webVitalsInstrumentation).initialize()}}class Di extends on{constructor(){super(...arguments),this.name="@grafana/faro-web-sdk:instrumentation-session",this.version=Ft,this.isAdoptingSession=()=>!1}sendSessionStartEvent(e){var t,r;const n=e.session;if(n&&n.id!==(null===(t=this.notifiedSession)||void 0===t?void 0:t.id)){if(this.isAdoptingSession())return void(this.notifiedSession=n);if(this.notifiedSession&&this.notifiedSession.id===(null===(r=n.attributes)||void 0===r?void 0:r.previousSession))return this.api.pushEvent("session_extend",{},void 0,{skipDedupe:!0}),void(this.notifiedSession=n);this.notifiedSession=n,this.api.pushEvent(Br,{},void 0,{skipDedupe:!0})}}createInitialSession(e,t){var r,n,i,o,a,s;let u,c,l=e.fetchUserSession();if(t.persistent&&t.maxSessionPersistenceTime&&l){const e=at();l.lastActivity<e-t.maxSessionPersistenceTime&&(Yr.removeUserSession(),l=null)}if(Hr(l)){const e=null===l||void 0===l?void 0:l.sessionId;c=zr({sessionId:e,isSampled:l.isSampled||!1,started:null===l||void 0===l?void 0:l.started});const i=null===l||void 0===l?void 0:l.sessionMeta,o=Object.assign(Object.assign({},null===(r=t.session)||void 0===r?void 0:r.overrides),null===i||void 0===i?void 0:i.overrides);c.sessionMeta=Object.assign(Object.assign({},t.session),{id:e,attributes:Object.assign(Object.assign(Object.assign({},null===(n=t.session)||void 0===n?void 0:n.attributes),null===i||void 0===i?void 0:i.attributes),{isSampled:c.isSampled.toString()}),overrides:o}),u=Zr}else{const e=null!==(o=null===(i=t.session)||void 0===i?void 0:i.id)&&void 0!==o?o:function(e){var t,r,n,i;return{id:null!==(i=null===(n=null===(r=null===(t=$t.config)||void 0===t?void 0:t.sessionTracking)||void 0===r?void 0:r.generateSessionId)||void 0===n?void 0:n.call(r))&&void 0!==i?i:gt(),attributes:e}}().id;c=zr({sessionId:e,isSampled:qr()});const r=null===(a=t.session)||void 0===a?void 0:a.overrides;c.sessionMeta=Object.assign({id:e,attributes:Object.assign({isSampled:c.isSampled.toString()},null===(s=t.session)||void 0===s?void 0:s.attributes)},r?{overrides:r}:{}),u=Br}return{initialSession:c,lifecycleType:u}}registerBeforeSendHook(e){var t;const r=new e;this.isAdoptingSession=r.isAdopting;const{updateSession:n}=r;let i;null===(t=this.transports)||void 0===t||t.addBeforeSendHooks((e=>{var t,r,o,a;const s=null===(t=this.metas.value.session)||void 0===t?void 0:t.id;n();const u=this.metas.value.session;null!=u&&null!=s&&u.id!==s&&(i={from:s,to:u});const c=null!=i&&(null===(r=e.meta.session)||void 0===r?void 0:r.id)===i.from,l=c?i.to:e.meta.session,f=null===l||void 0===l?void 0:l.attributes;if(f&&"true"===(null===f||void 0===f?void 0:f.isSampled)){let t=JSON.parse(JSON.stringify(e));c&&(t.meta.session=JSON.parse(JSON.stringify(i.to)));const r=null===(o=t.meta.session)||void 0===o?void 0:o.attributes;return null===r||void 0===r||delete r.isSampled,0===Object.keys(null!==r&&void 0!==r?r:{}).length&&(null===(a=t.meta.session)||void 0===a||delete a.attributes),t}return null}))}initialize(){this.logDebug("init session instrumentation");const e=this.config.sessionTracking;if(null===e||void 0===e?void 0:e.enabled){const t=Jr(e);this.registerBeforeSendHook(t);const{initialSession:r,lifecycleType:n}=this.createInitialSession(t,e);t.storeUserSession(r);const i=r.sessionMeta;this.notifiedSession=i,this.api.setSession(i),n===Br&&this.api.pushEvent(Br,{},void 0,{skipDedupe:!0}),n===Zr&&this.api.pushEvent(Zr,{},void 0,{skipDedupe:!0})}this.metas.addListener(this.sendSessionStartEvent.bind(this))}}class Fi extends on{constructor(){super(...arguments),this.name="@grafana/faro-web-sdk:instrumentation-view",this.version=Ft}sendViewChangedEvent(e){var t,r,n,i;const o=e.view;o&&o.name!==(null===(t=this.notifiedView)||void 0===t?void 0:t.name)&&(this.api.pushEvent("view_changed",{fromView:null!==(n=null===(r=this.notifiedView)||void 0===r?void 0:r.name)&&void 0!==n?n:gr,toView:null!==(i=o.name)&&void 0!==i?i:gr},void 0,{skipDedupe:!0}),this.notifiedView=o)}initialize(){this.metas.addListener(this.sendViewChangedEvent.bind(this))}}class Bi extends ft{constructor(e,t){var r,n,i,o;super(),this._tracking=!1,this.eventsObservable=e,this._options={inactivityMs:null!==(r=null===t||void 0===t?void 0:t.inactivityMs)&&void 0!==r?r:100,drainTimeoutMs:null!==(n=null===t||void 0===t?void 0:t.drainTimeoutMs)&&void 0!==n?n:1e4,isOperationStart:null!==(i=null===t||void 0===t?void 0:t.isOperationStart)&&void 0!==i?i:()=>{},isOperationEnd:null!==(o=null===t||void 0===t?void 0:t.isOperationEnd)&&void 0!==o?o:()=>{}},this._initialize()}_initialize(){this.eventsObservable.filter((()=>this._tracking)).subscribe((e=>{var t,r,n;this._lastEventTime=st(),null===(t=this._currentEvents)||void 0===t||t.push(e);const i=this._options.isOperationStart(e);i&&(null===(r=this._activeOperations)||void 0===r||r.set(i,!0));const o=this._options.isOperationEnd(e);o&&(null===(n=this._activeOperations)||void 0===n||n.delete(o)),this._scheduleInactivityCheck()}))}startTracking(){this._tracking||(this._tracking=!0,this._startTime=st(),this._lastEventTime=this._startTime,this.notify({message:"tracking-started"}),this._currentEvents=[],this._activeOperations=new Map,this._scheduleInactivityCheck())}stopTracking(){let e;this._tracking=!1,this._clearTimer(this._inactivityTid),this._clearTimer(this._drainTid),e=this.hasActiveOperations()?st()-this._startTime:this._lastEventTime?this._lastEventTime-this._startTime:0,this.notify({message:"tracking-ended",events:this._currentEvents,duration:e})}
74_scheduleInactivityCheck(){this._inactivityTid=Zi(this._inactivityTid,(()=>{this.hasActiveOperations()?this._startDrainTimeout():this.stopTracking()}),this._options.inactivityMs)}_startDrainTimeout(){this._drainTid=Zi(this._drainTid,(()=>{this.stopTracking()}),this._options.drainTimeoutMs)}hasActiveOperations(){return!!this._activeOperations&&this._activeOperations.size>0}_clearTimer(e){e&&clearTimeout(e)}}function Zi(e,t,r){return e&&clearTimeout(e),e=setTimeout((()=>{t()}),r)}let $i;const qi=new Set,zi=new Map;let Hi,Gi,Wi,Vi,Ki,Yi,Qi,Ji,Xi,eo=!1;class to extends on{constructor(){super(...arguments),this.name="@grafana/faro-web-sdk:instrumentation-navigation",this.version=Ft}initialize(){const e=vn(),t=ln(),r=function(){function e(e,t){const r=null!==t&&void 0!==t?t:location.href;r!==Gi&&(Hi.notify({type:"url-change",from:Gi,to:r,trigger:e}),Gi=r)}if(Hi||(Hi=new ft,Gi=location.href),!eo)if("navigation"in window&&"NavigateEvent"in window){Qi=t=>{try{const r=null===t||void 0===t?void 0:t.destination;(null===r||void 0===r?void 0:r.sameDocument)&&"string"===typeof r.url&&e("navigate",r.url)}catch(r){}},window.navigation.addEventListener("navigate",Qi);const t=window.NavigateEvent;t&&t.prototype&&"function"===typeof t.prototype.intercept&&(Ji||(Ji=t.prototype.intercept),t.prototype.intercept=function(t){try{const t=!!(null===this||void 0===this?void 0:this.canIntercept),r=null===this||void 0===this?void 0:this.destination;
74t&&r&&!1===r.sameDocument&&"string"===typeof r.url&&e("navigate-intercept",r.url)}catch(r){}return Ji.call(this,t)}),eo=!0}else Wi||(Wi=window.history.pushState),window.history.pushState=function(...t){const r=Wi.apply(window.history,t);return e("pushState"),r},Vi||(Vi=window.history.replaceState),window.history.replaceState=function(...t){const r=Vi.apply(window.history,t);return e("replaceState"),r},Ki=()=>e("popstate"),Yi=()=>e("hashchange"),window.addEventListener("popstate",Ki),window.addEventListener("hashchange",Yi),eo=!0;return Hi}(),n=(i=["pointerdown","keydown"],$i||($i=new ft),i.forEach((e=>{if(!qi.has(e)){const t=()=>{$i.notify({type:"interaction",name:e})};window.addEventListener(e,t),qi.add(e),zi.set(e,t)}})),$i);var i;const o=new Bi((new ft).merge(e,t,r),{inactivityMs:100,drainTimeoutMs:1e4,isOperationStart:e=>function(e){return e.type===an}(e)?e.request.requestId:void 0,isOperationEnd:e=>function(e){return e.type===sn}(e)?e.request.requestId:void 0});o.filter((e=>"tracking-ended"===e.message)).subscribe((e=>{var t,r,n;if((null===(t=e.events)||void 0===t?void 0:t.some((e=>"url-change"===e.type)))&&(null===(r=e.events)||void 0===r?void 0:r.some((e=>"dom-mutation"===e.type)))){const t=null===(n=e.events)||void 0===n?void 0:n.find((e=>"url-change"===e.type));$t.api.pushEvent("faro.navigation",{fromUrl:null===t||void 0===t?void 0:t.from,toUrl:null===t||void 0===t?void 0:t.to,sameDocument:String(!0),duration:e.duration})}})),n.subscribe((()=>{o.startTracking()}))}}class ro extends on{constructor(){super(),this.name="@grafana/faro-web-sdk:instrumentation-csp",this.version=Ft}initialize(){document.addEventListener("securitypolicyviolation",this.securitypolicyviolationHandler.bind(this))}destroy(){document.removeEventListener("securitypolicyviolation",this.securitypolicyviolationHandler)}securitypolicyviolationHandler(e){const t={blockedURI:e.blockedURI,columnNumber:e.columnNumber,disposition:e.disposition,documentURI:e.documentURI,effectiveDirective:e.effectiveDirective,lineNumber:e.lineNumber,originalPolicy:e.originalPolicy,referrer:e.referrer,sample:e.sample,sourceFile:e.sourceFile,statusCode:e.statusCode,violatedDirective:e.violatedDirective};this.api.pushEvent("securitypolicyviolation",ot(t))}}let no=!1;class io extends on{constructor(){super(...arguments),this.name="@grafana/faro-web-sdk:instrumentation-console",this.version=Ft,this.errorSerializer=At}initialize(){var e,t;const r=this.config.consoleInstrumentation,n=(null===r||void 0===r?void 0:r.serializeErrors)||!!(null===r||void 0===r?void 0:r.errorSerializer);this.errorSerializer=n?null!==(e=null===r||void 0===r?void 0:r.errorSerializer)&&void 0!==e?e:xt:At;const i=null!==(t=null===r||void 0===r?void 0:r.disabledLevels)&&void 0!==t?t:io.defaultDisabledLevels,o=function(e){if(Xi||(Xi=new ft),!no){const t=null!==e&&void 0!==e?e:It;Ot.forEach((e=>{console[e]=(...r)=>{var n;Xi.notify({type:"console",level:e,args:r}),null===(n=t[e])||void 0===n||n.apply(console,r)}})),no=!0}return Xi}(this.unpatchedConsole);this.subscription=o.subscribe((({level:e,args:t})=>{if(!i.includes(e))try{if(e!==Et.ERROR||(null===r||void 0===r?void 0:r.consoleErrorAsLog))if(e===Et.ERROR&&(null===r||void 0===r?void 0:r.consoleErrorAsLog)){const{value:r,type:n,stackFrames:i}=qn(t,this.errorSerializer);this.api.pushLog(r?[io.consoleErrorPrefix+r]:t,{level:e,context:{value:null!==r&&void 0!==r?r:"",type:null!==n&&void 0!==n?n:"",stackFrames:(null===i||void 0===i?void 0:i.length)?xt(i):""}})}else this.api.pushLog(t,{level:e});else{const{value:e,type:r,stackFrames:n}=qn(t,this.errorSerializer);if(e&&!r&&!n)return void this.api.pushError(new Error(io.consoleErrorPrefix+e));this.api.pushError(new Error(io.consoleErrorPrefix+e),{type:r,stackFrames:n})}}catch(n){this.logError(n)}}))}destroy(){var e;null===(e=this.subscription)||void 0===e||e.unsubscribe(),this.subscription=void 0}}function oo(e={}){const t=[new Fn,new Gn,new Ui,new Di,new Fi,new to];return!1!==e.enablePerformanceInstrumentation&&t.unshift(new jn),!1!==e.enableContentSecurityPolicyInstrumentation&&t.push(new ro),!1!==e.captureConsole&&t.push(new io),t}io.defaultDisabledLevels=[Et.DEBUG,Et.TRACE,Et.LOG],io.consoleErrorPrefix="console.error: ";var ao=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r};function so(e,{experimental:t}){var r;const n=null!==(r=null===t||void 0===t?void 0:t.trackNavigation)&&void 0!==r&&r;return e.filter((e=>!("@grafana/faro-web-sdk:instrumentation-navigation"===e.name&&!n)))}function uo(e){var t,r;const{page:n,generatePageId:i}=null!==(t=null===e||void 0===e?void 0:e.pageTracking)&&void 0!==t?t:{},o=[wr,xr,Or({generatePageId:i,initialPageMeta:n}),...null!==(r=e.metas)&&void 0!==r?r:[],Sr];return Qe(null===window||void 0===window?void 0:window.k6)?[...o,kr]:o}function co({trackGeolocation:e,sessionTracking:t}){var r;const n={};return He(e,"boolean")&&(n.geoLocationTrackingEnabled=e),nt(n)?{}:{session:Object.assign(Object.assign({},null!==(r=null===t||void 0===t?void 0:t.session)&&void 0!==r?r:{}),{overrides:n})}}function lo(e){const t=function(e){var t,r,n,i,o;const a=[],s=Lt(e.unpatchedConsole,e.internalLoggerLevel);e.transports?((e.url||e.apiKey)&&s.error('if "transports" is defined, "url" and "apiKey" should not be defined'),a.push(...e.transports)):e.url?a.push(new nn({url:e.url,apiKey:e.apiKey,requestCompression:e.requestCompression})):s.error('either "url" or "transports" must be defined');const{dedupe:u=!0,eventDomain:c=Jt,globalObjectKey:l=Yt,instrumentations:f=oo(),internalLoggerLevel:d=jt,isolate:p=!1,logArgsSerializer:h=At,metas:g=uo(e),paused:m=!1,preventGlobalExposure:y=!1,unpatchedConsole:b=It,url:v,experimental:w}=e,x=ao(e,["dedupe","eventDomain","globalObjectKey","instrumentations","internalLoggerLevel","isolate","logArg
74sSerializer","metas","paused","preventGlobalExposure","unpatchedConsole","url","experimental"]),S=null!==(t=null===w||void 0===w?void 0:w.trackNavigation)&&void 0!==t&&t,k={dataAttributeName:null!==(n=null===(r=e.userActionsInstrumentation)||void 0===r?void 0:r.dataAttributeName)&&void 0!==n?n:"data-faro-user-action-name",excludeItem:null===(i=e.userActionsInstrumentation)||void 0===i?void 0:i.excludeItem};return Object.assign(Object.assign({},x),{batching:Object.assign(Object.assign({},Qt),e.batching),dedupe:u,globalObjectKey:l,instrumentations:so(f,e),internalLoggerLevel:d,isolate:p,logArgsSerializer:h,metas:g,parseStacktrace:fr,paused:m,preventGlobalExposure:y,transports:a,unpatchedConsole:b,eventDomain:c,ignoreUrls:[...null!==(o=e.ignoreUrls)&&void 0!==o?o:[],...v?[v]:[],/\/collect(?:\/[\w]*)?$/],sessionTracking:Object.assign(Object.assign(Object.assign({},hr),e.sessionTracking),co({trackGeolocation:e.trackGeolocation,sessionTracking:e.sessionTracking})),userActionsInstrumentation:k,experimental:{trackNavigation:S}})}(e);if(t)return Kt(t)}var fo=r(34155),po=(0,d.createContext)(null),ho=function(e){var t=e.children,r=e.grafana,n=e.app,o=e.env,a=e.version,u=(0,d.useState)(null),c=u[0],l=u[1],p=(0,N.fC)(),h=p.user,g=p.isAuthenticated,m=(0,f.useRouter)(),y=(0,d.useCallback)((function(e){try{if("log"===e.type&&"level"in e.payload){var t,r=e.payload.level,n=(null===(t=e.payload)||void 0===t?void 0:t.message)||"";if("warn"===r&&(n.includes("Missing Translation")||n.includes("Failed prop type")))return null}else if("exception"===e.type&&"level"in e.payload){var i,o=e.payload.level,a=(null===(i=e.payload)||void 0===i?void 0:i.message)||"";if("error"===o&&[/Position \d+ outside of fragment/,/ResizeObserver loop/,/Non-Error promise rejection captured/].some((function(e){return e.test(a)}
74)))return null}return e}catch(s){return console.error("Rum Machine error: Error in beforeSend filtering:",s),e}}),[]);return(0,d.useEffect)((function(){var e=function(){var e=(0,i.Z)(s().mark((function e(){var t,i;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.next=2;break;case 2:if(!window.faro){e.next=5;break}return l(window.faro),e.abrupt("return");case 5:if(null!==r&&void 0!==r&&r.host&&null!==r&&void 0!==r&&r.key){e.next=8;break}return console.warn("Grafana Faro config missing. Skipping initialization."),e.abrupt("return");case 8:if("development"!==o||fo.env.NEXT_PUBLIC_ENABLE_FARO){e.next=11;break}return console.log("Grafana Faro disabled in development. Set NEXT_PUBLIC_ENABLE_FARO=true to enable."),e.abrupt("return");case 11:try{try{(t=sessionStorage.getItem("faro_anonymous_id"))||(t="".concat(Math.random().toString(36).substring(2,15),"_").concat(Date.now()),sessionStorage.setItem("faro_anonymous_id",t))}catch(s){t=Math.random().toString(36).substring(2,15)}i=lo({url:r.host,apiKey:r.key,app:{name:n||"mtg-frontend",version:a||"1.0.0",environment:o||"development"},batching:{enabled:!0,itemLimit:100,sendTimeout:6e4},sessionTracking:{enabled:!0,persistent:!0,samplingRate:1},beforeSend:y,user:{email:g&&null!==h&&void 0!==h&&h.email?h.email:void 0,attributes:{anonymousId:t,userId:g&&null!==h&&void 0!==h&&h.id?String(h.id):void 0}}}),l(i),window.faro&&(window.faroAPI={pushError:window.faro.api.pushError,pushMeasurement:window.faro.api.pushMeasurement,getSession:window.faro.api.getSession,setSession:window.faro.api.setSession,setUser:window.faro.api.setUser})}catch(u){console.error("Failed to initialize Grafana Faro:",u)}case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[y]),(0,d.useEffect)((function(){if(c&&window.faro){var e=function(e){try{window.faro.api.pushEvent("route_change",{url:e,referrer:document.referrer})}catch(t){console.error("Failed to track route change:",t)}};return m.events.on("routeChangeComplete",e),function(){m.events.off("routeChangeComplete",e)}}}),[c,m.events]),(0,d.useEffect)((function(){if(c&&window.faro&&g&&null!==h&&void 0!==h&&h.email)try{window.faro.api.setUser({email:h.email,attributes:{userId:String(h.id),anonymousId:sessionStorage.getItem("faro_anonymous_id")||""}})}catch(e){console.error("Failed to update Faro user:",e)}}),[c,g,null===h||void 0===h?void 0:h.email,null===h||void 0===h?void 0:h.id]),(0,M.jsx)(po.Provider,{value:c,children:t})},go=r(5044),mo=r(53497),yo=r(34155),bo=["emotionCache"];function vo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function wo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vo(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var xo=(0,k.Z)({key:"css",prepend:!0}),So=(0,qe.Jc)($e((function(e){var t=e.emotionCache,n=void 0===t?xo:t,a=(0,o.Z)(e,bo),u=(0,f.useRouter)(),p=(0,d.useState)(""),h=p[0],g=p[1],y=(0,d.useState)(null),v=y[0],w=y[1],k=u.asPath.includes("admin")||u.asPath.includes("presentation");(0,d.useEffect)((function(){var e=u.pathname;u.query&&Object.keys(u.query).forEach((function(t){e=e.replace("[".concat(t,"]"),u.query[t])}));var t="".concat((0,b.dU)("MTG_URL_APP")).concat(e);g(t)}),[u.pathname,u.query]),(0,d.useEffect)((function(){(0,go.p)()}),[]);var E=new class{#s;#r;#u;#c;#l;#f;#d;#p;constructor(e={}){this.#s=e.queryCache||new G,this.#r=e.mutationCache||new Y,this.#u=e.defaultOptions||{},this.#c=new Map,this.#l=new Map,this.#f=0}mount(){this.#f++,1===this.#f&&(this.#d=J.j.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#s.onFocus())})),this.#p=X.N.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#s.onOnline())})))}unmount(){this.#f--,0===this.#f&&(this.#d?.(),this.#d=void 0,this.#p?.(),this.#p=void 0)}isFetching(e){return this.#s.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#r.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#s.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),r=this.#s.build(this,t),n=r.state.data;return void 0===n?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime((0,$.KC)(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return this.#s.findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,r){const n=this.defaultQueryOptions({queryKey:e}),i=this.#s.get(n.queryHash)?.state.data,o=(0,$.SE)(t,i);if(void 0!==o)return this.#s.build(this,n).setData(o,{...r,manual:!0})}
74setQueriesData(e,t,r){return z.V.batch((()=>this.#s.findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,r)]))))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#s.get(t.queryHash)?.state}removeQueries(e){const t=this.#s;z.V.batch((()=>{t.findAll(e).forEach((e=>{t.remove(e)}))}))}resetQueries(e,t){const r=this.#s,n={type:"active",...e};return z.V.batch((()=>(r.findAll(e).forEach((e=>{e.reset()})),this.refetchQueries(n,t))))}cancelQueries(e,t={}){const r={revert:!0,...t},n=z.V.batch((()=>this.#s.findAll(e).map((e=>e.cancel(r)))));return Promise.all(n).then($.ZT).catch($.ZT)}invalidateQueries(e,t={}){return z.V.batch((()=>{if(this.#s.findAll(e).forEach((e=>{e.invalidate()})),"none"===e?.refetchType)return Promise.resolve();const r={...e,type:e?.refetchType??e?.type??"active"};return this.refetchQueries(r,t)}))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},n=z.V.batch((()=>this.#s.findAll(e).filter((e=>!e.isDisabled())).map((e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch($.ZT)),"paused"===e.state.fetchStatus?Promise.resolve():t}))));return Promise.all(n).then($.ZT)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const r=this.#s.build(this,t);return r.isStaleByTime((0,$.KC)(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then($.ZT).catch($.ZT)}fetchInfiniteQuery(e){return e.behavior=ee(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then($.ZT).catch($.ZT)}ensureInfiniteQueryData(e){return e.behavior=ee(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return X.N.isOnline()?this.#r.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#s}getMutationCache(){return this.#r}getDefaultOptions(){return this.#u}setDefaultOptions(e){this.#u=e}setQueryDefaults(e,t){this.#c.set((0,$.Ym)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#c.values()],r={};return t.forEach((t=>{(0,$.to)(e,t.queryKey)&&Object.assign(r,t.defaultOptions)})),r}setMutationDefaults(e,t){this.#l.set((0,$.Ym)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#l.values()];let r={};return t.forEach((t=>{(0,$.to)(e,t.mutationKey)&&(r={...r,...t.defaultOptions})})),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#u.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,$.Rm)(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"),t.queryFn===$.CN&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#u.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#s.clear(),this.#r.clear()}}({defaultOptions:{queries:{gcTime:432e5,staleTime:2e3,refetchOnWindowFocus:!1,refetchOnMount:!1}}}),O=(({storage:e,key:t="REACT_QUERY_OFFLINE_CACHE",throttleTime:r=1e3,serialize:n=JSON.stringify,deserialize:i=JSON.parse,retry:o})=>{if(e){const a=async r=>{try{const i=await n(r);return void(await e.setItem(t,i))}catch(i){return i}};return{persistClient:ke((async e=>{let t=e,r=await a(t),n=0;for(;r&&t;)n++,t=await(o?.({persistedClient:t,error:r,errorCount:n})),t&&(r=await a(t))}),{interval:r}),restoreClient:async()=>{const r=await e.getItem(t);if(r)return await i(r)},removeClient:()=>e.removeItem(t)}}return{persistClient:Se,restoreClient:()=>Promise.resolve(void 0),removeClient:Se}})({storage:se}),U=(0,Ee.Z)({typography:{fontFamily:"Lato, sans-serif"},palette:{primary:{main:m.n6},secondary:{main:m.l$}}});function D(){return q.apply(this,arguments)}function q(){return q=(0,i.Z)(s().mark((function e(){var t;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.e(5707).then(r.t.bind(r,88739,23));case 2:return(t=e.sent).default.init("869-599-495Z"),t.default.privacy.push({optOut:!1}),t.default.privacy.push({useIP:!1}),t.default.setLogLevel(3),e.abrupt("return",t.default);case 8:case"end":return e.stop()}}),e)}))),q.apply(this,arguments)}function H(){return H=(0,i.Z)(s().mark((function e(){var t;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=v){e.next=6;break}return e.next=4,D();case 4:t=e.sent,w(t);case 6:case"end":return e.stop()}}),e)}))),H.apply(this,arguments)}return(0,d.useEffect)((function(){!function(){var e=function(){A().initialize({gtmId:(0,b.dU)("GTM_TRACKING_ID")}
74),l.ZP.set({anonymizeIp:!0}),l.ZP.set({gaOptions:{allowAdFeatures:!1}});try{window.location.pathname;var e={Product:"MTG",URL:window.location.pathname+window.location.search,ram:"undefined"!==typeof navigator&&"deviceMemory"in navigator?navigator.deviceMemory:null};(0,mo.Z)().event.push("Page Viewed",e)}catch(t){console.error("Clevertap event error:",t)}};"undefined"!==typeof document&&("complete"===document.readyState?e():window.addEventListener("load",e))}(),function(){var e=document.createElement("script");e.src="/assets/js/cactustech-gdpr.lib.js",e.async=!0,document.body.appendChild(e);var t=document.createElement("link");t.rel="stylesheet",t.href="/assets/js/styles.css",document.head.appendChild(t),window.addEventListener("load",(function(){window._policies={_config:{domain:window.location.hostname,revalidate:!0}}})),document.addEventListener("consent_available",(function(e){e.detail.consent.functional,"yes"===e.detail.consent.targeting&&(l.ZP.set({anonymizeIp:!1}),l.ZP.set({gaOptions:{allowAdFeatures:!0}}))}))}()}),[u.events]),(0,d.useEffect)((function(){window.recaptchaOptions={useRecaptchaNet:!0},function(){H.apply(this,arguments)}()}),[]),(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)(c(),{children:[(0,M.jsx)("title",{children:L.R}),(0,M.jsx)("meta",{name:"og:locale",property:"og:locale",content:"en"},"og:locale"),(0,M.jsx)("meta",{name:"og:type",property:"og:type",content:"website"},"og:type"),(0,M.jsx)("meta",{name:"og:site_name",property:"og:site_name",content:"Mind the Graph"},"og:site_name"),(0,M.jsx)("meta",{name:"og:title",property:"og:title",content:"Free Infographic Maker - Online Graphs and Infographics Creator for Doctors and Scientists - Mind the Graph"},"og:title"),(0,M.jsx)("meta",{name:"og:description",property:"og:description",content:"A free infographic maker & creator for medical doctors and scientists. Exclusive scientific illustrations, graphs and infographics for your papers, classes and graphical abstracts."},"og:description"),(0,M.jsx)("meta",{name:"og:url",property:"og:url",content:"".concat((0,b.dU)("MTG_URL_APP")).concat(u.basePath).concat(u.asPath)},"og:url"),(0,M.jsx)("meta",{name:"og:image",property:"og:image",content:"/images/mtg-site-face.jpg"},"og:image"),(0,M.jsx)("meta",{name:"og:image:width",property:"og:image:width",content:"450"},"og:image:width"),(0,M.jsx)("meta",{name:"og:image:height",property:"og:image:height",content:"286"},"og:image:height"),(0,M.jsx)("meta",{name:"facebook-domain-verification",content:"9j8ybgnsr62elhhbq1esghljijvvtg"},"facebook-domain-verification"),(0,M.jsx)("link",{rel:"canonical",href:h})]}),!k&&(0,M.jsx)(M.Fragment,{children:(0,M.jsx)(_(),{src:"https://chatbot.mindthegraph.com/widget.js",strategy:"afterInteractive"})}),(0,M.jsx)(_(),{id:"google-analytics",strategy:"afterInteractive",children:"(function(w,d,s,l,i){w[l] = w[l] || [];w[l].push({'gtm.start':\n          new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n          j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
74j.src=\n          'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n          })(window,document,'script','dataLayer','GTM-5P3SCHR');"}),(0,M.jsx)(x,{}),(0,M.jsx)(S.C,{value:n,children:(0,M.jsx)(xe,{client:E,persistOptions:{persister:O},children:(0,M.jsx)(N.s1,{children:(0,M.jsx)(ho,{grafana:{host:"https://grafana-faro.monitoring.cicd.k8s.paperpal.com/collect",key:"5UmpavUEe2N3"},app:yo.env.NEXT_PUBLIC_PRODUCT||"mtg-frontend",env:yo.env.NEXT_PUBLIC_ENV||"production",version:yo.env.NEXT_PUBLIC_VERSION||"1.0.0",children:(0,M.jsx)(R.F0,{children:(0,M.jsx)(T.m,{children:(0,M.jsx)(I.G,{children:(0,M.jsx)(C.H,{children:(0,M.jsx)(P.jb,{children:(0,M.jsx)(j.L,{children:(0,M.jsx)(Z.d,{children:(0,M.jsx)(B.o,{children:(0,M.jsx)(_e.Z,{injectFirst:!0,children:(0,M.jsx)(De,{theme:U,children:(0,M.jsx)(F,wo({},a))})})})})})})})})})})})})})})]})})))},24128:function(e,t,r){"use strict";var n=r(50029),i=r(87794),o=r.n(i),a=r(9669),s=r.n(a),u=r(31085),c=r(31955),l=r(62425),f=r(78428),d=r.n(f),p=(r(93484),s().create({baseURL:(0,l.dU)("MTG_URL_API"),httpsAgent:new(d().Agent)({rejectUnauthorized:!0})}));p.create({baseURL:u.z.sso.federatedDomain}).interceptors.request.use(function(){var e=(0,n.Z)(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.withCredentials=!0,e.abrupt("return",t);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),p.interceptors.request.use(function(){var e=(0,n.Z)(o().mark((function e(t){var r,n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=u.z.cookies.idCookieKey,(n=c.Z.get(r))&&(t.headers.Authorization="Bearer ".concat(n)),e.abrupt("return",t);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),p.interceptors.response.use((function(e){return e}),function(){var e=(0,n.Z)(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.response){e.next=9;break}if(401!==t.response.status){e.next=7;break}return 0,2,t.config,window.location.href="/auth/logout",e.abrupt("return",Promise.reject(null));case 7:e.next=10;break;case 9:t.request?console.error("Request error, no response received"):console.error("Error setting up request:",t.message);case 10:return e.abrupt("return",Promise.reject(t));case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),t.Z=p},22969:function(e,t,r){"use strict";r.d(t,{e:function(){return p},n:function(){return g}});var n=r(50029),i=r(87794),o=r.n(i),a=r(31955),s=r(9669),u=r.n(s),c=r(24128),l=r(62425),f=r(31085),d=r(93484),p={loginWithFacebook:function(e){return c.Z.post("/auth/login-with-facebook",e)},verifyTokenValidity:function(e){return c.Z.get("/auth/verify-token-validity",{headers:{Authorization:"Bearer ".concat(e)}})},loginWithGoogle:function(e){return c.Z.post("/auth/login-with-google",e)},login:function(e){return c.Z.post("/auth/login",e)},tokenLogin:function(e){return c.Z.post("/auth/token-login",e)},sendEmailUnlockindUser:function(e){var t=new URLSearchParams;return t.append("email",e.email),t.append("key",e.key_unlockind),u().post("".concat((0,l.dU)("MTG_URL_LEGACY"),"/ajax/unlockind_email"),t,{withCredentials:!0})},logoutLegacy:function(){u().post("".concat((0,l.dU)("MTG_URL_LEGACY"),"/login/logout"),null,{withCredentials:!0})},register:function(e,t){return c.Z.post("/auth/register",e,{headers:{Recaptcha:t}})},roles:function(){return c.Z.get("/roles")},customInformation:function(){return c.Z.get("/customInformation")},completeProfile:function(e){return c.Z.patch("/auth/complete-profile",e)},data:function(){return c.Z.get("/payments/data")},usacoEmail:function(e){return c.Z.post("/auth/usaco-email",e)},getUserFromToken:function(e){return(0,n.Z)(o().mark((function t(){var r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,u().get("".concat((0,l.dU)("MTG_URL_API"),"/auth/profile/?token=").concat(e),{withCredentials:!0});case 3:if(200===(r=t.sent).status){t.next=6;break}throw new Error("Failed to fetch user profile");case 6:return t.abrupt("return",r.data);case 9:throw t.prev=9,t.t0=t.catch(0),console.error(t.t0),new Error("Error retrieving user profile");case 13:case"end":return t.stop()}}),t,null,[[0,9]])})))()},logout:function(){return(0,n.Z)(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",u().post("/auth/logout",{},{withCredentials:!0}));case 1:case"end":return e.stop()}}),e)})))()}
74,getIdentityProviderConfigs:function(){return(0,n.Z)(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",c.Z.get("/auth/saml/idp-config"));case 1:case"end":return e.stop()}}),e)})))()},getIdentityProviderConfig:function(e){return(0,n.Z)(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",c.Z.get("/auth/saml/idp-config/".concat(e)));case 1:case"end":return t.stop()}}),t)})))()},createIdentityProviderConfig:function(e){return(0,n.Z)(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",c.Z.post("/auth/saml/idp-config",e));case 1:case"end":return t.stop()}}),t)})))()},updateIdentityProviderConfig:function(e,t){return(0,n.Z)(o().mark((function r(){return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",c.Z.put("/auth/saml/idp-config/".concat(e),t));case 1:case"end":return r.stop()}}),r)})))()},getIdpAuthenticationUrl:function(e){return(0,n.Z)(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",c.Z.get("/auth/saml/initiate/".concat(e)));case 1:case"end":return t.stop()}}),t)})))()},authenticateWithSAML:function(e){return(0,n.Z)(o().mark((function t(){var r,n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c.Z.get("/auth/saml/complete-authentication?token=".concat(e));case 2:return r=t.sent,n=r.data.access_token,(0,d.hI)(n),t.abrupt("return",r.data.user);case 6:case"end":return t.stop()}}),t)})))()},validateSamlUser:function(){return(0,n.Z)(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",c.Z.get("/auth/saml/validate"));case 1:case"end":return e.stop()}}),e)})))()}},h=u().create({baseURL:f.z.sso.federatedDomain});h.interceptors.request.use(function(){var e=(0,n.Z)(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.withCredentials=!0,e.abrupt("return",t);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());var g={authenticate:function(){return(0,n.Z)(o().mark((function e(){var t,r,n,i,s,l,p,g,m;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h.get("/oauth/token");case 2:if(t=e.sent,r=a.Z.get(f.z.cookies.auidCookieKey),n="".concat(t.data.access_token,"|").concat(r),(0,d.hI)(n),i=new URL(window.location.href),s=i.searchParams.get("mode"),e.prev=8,!!s){e.next=13;break}return e.next=13,u().get("".concat(f.z.sso.mainDomain,"/api/user-product-association"),{method:"POST",headers:{Authorization:"Bearer ".concat(t.data.access_token)},data:{product:"mtg",onboarding_status:"pending"}});case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(8),console.error("Error trying to post user product association: ".concat(e.t0));case 18:return l={token:n},e.next=21,c.Z.post("/auth/onelogin/callback",l);case 21:return p=e.sent,g=p.data,m=g.isNewUser,(0,d.Ew)(g.user.cactusId,g.user.partner,m),e.abrupt("return",p);case 26:case"end":return e.stop()}}),e,null,[[8,15]])})))()},validate:function(){return c.Z.get("/auth/onelogin/validate")},shortSignup:function(e){return(0,n.Z)(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",c.Z.post("/auth/short-signup",e));case 1:case"end":return t.stop()}}),t)})))()}}},57972:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(92777),i=r(82262),o=r(24128),a=r(17563),s=function(){function e(){(0,n.Z)(this,e)}return(0,i.Z)(e,null,[{key:"findAll",value:function(e){return o.Z.get("/user-creations?".concat(a.stringify(e)))}},{key:"findOne",value:function(e){return o.Z.get("/user-creations/".concat(e))}},{key:"findOneBySlug",value:function(e){return o.Z.get("/user-creations/slug/".concat(e))}},{key:"findAllShared",value:function(e){return o.Z.get("/user-creations/shared?".concat(a.stringify(e)))}},{key:"findAllDeleted",value:function(e){return o.Z.get("/user-creations/deleted?".concat(a.stringify(e)))}},{key:"create",value:function(e){return o.Z.post("/user-creations",e)}},{key:"update",value:function(e,t){return o.Z.put("/user-creations/".concat(e),t)}},{key:"delete",value:function(e){return o.Z.delete("/user-creations/".concat(e))}},{key:"restore",value:function(e){return o.Z.put("/user-creations/".concat(e,"/restore"))}},{key:"deleteSharing",value:function(e){return o.Z.delete("/user-creations/".concat(e,"/sharing"))}},{key:"findAllFolders",value:function(){return o.Z.get("/user-creations/folders")}},{key:"createFolder",value:function(e){return o.Z.post("/user-creations/folders",e)}},{key:"updateFolder",value:function(e,t){return o.Z.put("/user-creations/folders/".concat(e),t)}},{key:"deleteFolder",value:function(e){return o.Z.delete("/user-creations/folders/".concat(e))}},{key:"createSlide",value:function(e,t){return o.Z.post("/user-creations/".concat(e,"/slide"),t)}},{key:"duplicateSlide",value:function(e,t){return o.Z.post("/user-creations/".concat(e,"/slide/").concat(t,"/duplicate"))}},{key:"deleteSlide",value:function(e,t){return o.Z.delete("/user-creations/".concat(e,"/slide/").concat(t))}},{key:"updateSlideContent",value:function(e,t,r){return o.Z.put("/user-creations/".concat(e,"/slide/").concat(t,"/content"),r)}},{key:"getSlideContent",value:function(e,t){return o.Z.get("/user-creations/".concat(e,"/slide/").concat(t,"/content"))}},{key:"copySlide",value:function(e,t,r){return o.Z.post("/user-creations/".concat(e,"/slide/").concat(t,"/copy"),r)}},{key:"download",value:function(e,t){return o.Z.post("/user-creations/".concat(e,"/download"),t,{responseType:"blob"})}},{key:"downloadSlide",value:function(e,t,r){return o.Z.post("/user-creations/".concat(e,"/slide/").concat(t,"/download"),r,{responseType:"blob"})}},{key:"downloadSlideAsSvg",value:function(e,t,r){return o.Z.post("/user-creations/".concat(e,"/slide/").concat(t,"/download-svg"),r)}},{key:"updateSlideByCreation",value:function(e,t){return o.Z.put("/user-creations/".concat(e,"/slide"),t)}},{key:"updateSlidesSequences",value:function(e,t){return o.Z.put("/user-creations/".concat(e,"/slide/sequences"),t)}},{key:"getAllShares",value:function(e){return o.Z.get("/user-creations/".concat(e,"/share"))}},{key:"share",value:function(e,t,r,n){var i={permission:t,email:r,user:n};return o.Z.post("/user-creations/".concat(e,"/share"),i)}},{key:"updateShare",value:function(e,t,r){return o.Z.put("/user-creations/".concat(e,"/share/").concat(t),{permission:r})}},{key:"deleteShare",value:function(e,t){return o.Z.delete("/user-creations/".concat(e,"/share/").concat(t))}},{key:"getAllComments",value:function(e,t){return o.Z.get("/user-creations/".concat(e,"/slide/").concat(t,"/comment"))}},{key:"createComment",value:function(e,t,r,n){return o.Z.post("/user-creations/".concat(e,"/slide/").concat(t,"/comment"),{elementId:r,comment:n})}},{key:"updateComment",value:function(e,t,r,n,i){return o.Z.put("/user-creations/".concat(e,"/slide/").concat(t,"/comment/").concat(r),{comment:n,checked:i})}},{key:"deleteComment",value:function(e,t,r){return o.Z.delete("/user-creations/".concat(e,"/slide/").concat(t,"/comment/").concat(r))}},{key:"getAllBackups",value:function(e,t){return o.Z.get("/user-creations/".concat(e,"/slide/").concat(t,"/backups"))}},{key:"getVersion",value:function(e,t){return o.Z.post("/user-creations/get-slide-version",{key:e,versionId:t})}},{key:"convertCreationToNewWorkspace",value:function(e){return o.Z.post("/user-creations/".concat(e,"/convertCreationToNewWorkspace"))}}]),e}()},47108:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(92777),i=r(82262),o=r(24128),a=function(){function e(){(0,n.Z)(this,e)}return(0,i.Z)(e,null,[{key:"getUserSettings",value:function(){return o.Z.get("journals/settings")}},{key:"getMembershipStatus",value:function(){return o.Z.get("journals/memberships")}},{key:"getPublishersPageData",value:function(e){return o.Z.get("journals/".concat(encodeURIComponent(e),"/publishers-page-section"))}},{key:"updateUserJournal",value:function(e){return o.Z.put("journals/user",{user_t
74ype:"publisher-user",journal_id:e})}}]),e}()},847:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(92777),i=r(82262),o=r(24128),a=function(){function e(){(0,n.Z)(this,e)}return(0,i.Z)(e,[{key:"fetchOne",value:function(e){return o.Z.get("/profiles/".concat(e))}},{key:"update",value:function(e,t){return o.Z.patch("/profiles/".concat(e),t)}},{key:"updatePassword",value:function(e,t){return o.Z.patch("/profiles/".concat(e,"/password"),t)}},{key:"getPlan",value:function(){return o.Z.get("/profiles/plan")}},{key:"getGatewayLastInvoice",value:function(){return o.Z.get("/profiles/plan/gateway-last-invoice")}},{key:"getLastInvoice",value:function(){return o.Z.get("/profiles/plan/last-invoice")}},{key:"getUser",value:function(e){return o.Z.get("/profiles/".concat(e,"/user"))}},{key:"getBillingHistory",value:function(e){return o.Z.get("/profiles/".concat(e,"/invoice"))}},{key:"getCreations",value:function(e){return o.Z.get("/profiles/".concat(e,"/creations"))}},{key:"createFeedback",value:function(e){return o.Z.post("/profiles/plan/feedback",e)}},{key:"cancelPlan",value:function(){return o.Z.put("/profiles/plan/cancel")}},{key:"deleteAccount",value:function(){return o.Z.delete("profiles")}}]),e}()},17545:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(92777),i=r(82262),o=r(24128),a=function(){function e(){(0,n.Z)(this,e)}return(0,i.Z)(e,[{key:"fetchAll",value:function(){return o.Z.get("/teams")}},{key:"myTeam",value:function(){return o.Z.get("/teams/my-team")}},{key:"myTeamAdmin",value:function(e){return o.Z.get("/teams/my-team-admin/".concat(e))}},{key:"findInviteByToken",value:function(e){return o.Z.get("/teams/invites/".concat(e))}},{key:"create",value:function(e){return o.Z.post("/teams/",e)}},{key:"update",value:function(e,t){return o.Z.put("/teams/".concat(e),t)}},{key:"createInvite",value:function(e,t){return o.Z.post("/teams/".concat(e,"/invites"),t)}},{key:"removeInvite",value:function(e,t){return o.Z.delete("/teams/".concat(e,"/invites/").concat(t))}},{key:"removeMember",value:function(e,t){return o.Z.delete("/teams/".concat(e,"/member/").concat(t))}},{key:"acceptInvite",value:function(e){return o.Z.put("/teams/invites/".concat(e,"/accept"))}},{key:"createTeamByAdmin",value:function(e){return o.Z.post("/teams/create-team-by-admin",e)}},{key:"getTeamLimit",value:function(e){return o.Z.get("/teams/get-team-limit/".concat(e))}},{key:"updateTeamLimit",value:function(e,t){return o.Z.put("/teams/update-team-limit/".concat(e),t)}}]),e}()},34631:function(e,t,r){"use strict";r.d(t,{C5:function(){return u},ES:function(){return E},F1:function(){return f},G6:function(){return i},Lq:function(){return s},Lx:function(){return v},O8:function(){return b},PM:function(){return y},Po:function(){return h},Yf:function(){return n},Yl:function(){return x},ZP:function(){return p},_x:function(){return k},gU:function(){return S},hx:function(){return A},iD:function(){return a},l$:function(){return c},lH:function(){return w},n6:function(){return o},oQ:function(){return g},pI:function(){return l},vh:function(){return O},yR:function(){return _},yg:function(){return d},zD:function(){return m}});var n="#ffffff",i="#ff9226",o="#7833ff",a="#5F29CC",s="#6119ff",u="#dc1866",c="#d6246e",l="#113dcd",f="#20A445",d="#f01c10",p="#fafafa",h="#f5f5f5",g="#eeeeee",m="#e0e0e0",y="#bdbdbd",b="#9e9E9e",v="#757575",w="#616161",x="#424242",S="#212121",k="#1977f3",E="#024CAE",_="#007BB9",O="#2EAAE2",A="linear-gradient(\n  190.99deg,\n  ".concat(c," 8.64%,\n  ").concat(i," 107.82%\n)")},64616:function(e,t,r){"use strict";r.d(t,{u:function(){return n}});var n="'Lato', sans-serif"},53497:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(93484),i={event:{push:function(){}},onUserLogin:{push:function(){}},profile:{push:function(){}}};function o(){return window.clevertap?(0,n.gA)()===n.Jp.FULLY_UNAUTHENTICATED?i:window.clevertap:i}},62425:function(e,t,r){"use strict";r.d(t,{Od:function(){return E},rJ:function(){return S},oy:function(){return j},lm:function(){return w},AY:function(){return h},sT:function(){return g},q6:function(){return b},wz:function(){return d},p6:function(){return U},o0:function(){return D},dU:function(){return p},e$:function(){return x},Xt:function(){return q},Dz:function(){return B},yn:function(){return Z},mV:function(){return H},Gb:function(){return A},Ys:function(){return R},SH:function(){return _},l0:function(){return O},h:function(){return $},PD:function(){return z},$s:function(){return T},aj:function(){return F},Wm:function(){return M},kI:function(){return k},jy:function(){return L},oi:function(){return C},dy:function(){return P}});var n=r(50029),i=r(87794),o=r.n(i),a=r(57972),s=r(847),u=r(63149),c=JSON.parse('{"z":["\'ll","\'tis","\'twas","\'ve","10","39","a","a\'s","able","ableabout","about","above","abroad","abst","accordance","according","accordingly","across","act","actually","ad","added","adj","adopted","ae","af","affected","affecting","affects","after","afterwards","ag","again","against","ago","ah","ahead","ai","ain\'t","aint","al","all","allow","allows","almost","alone","along","alongside","already","also","although","always","am","amid","am
74idst","among","amongst","amoungst","amount","an","and","announce","another","any","anybody","anyhow","anymore","anyone","anything","anyway","anyways","anywhere","ao","apart","apparently","appear","appreciate","appropriate","approximately","aq","ar","are","area","areas","aren","aren\'t","arent","arise","around","arpa","as","aside","ask","asked","asking","asks","associated","at","au","auth","available","aw","away","awfully","az","b","ba","back","backed","backing","backs","backward","backwards","bb","bd","be","became","because","become","becomes","becoming","been","before","beforehand","began","begin","beginning","beginnings","begins","behind","being","beings","believe","below","beside","besides","best","better","between","beyond","bf","bg","bh","bi","big","bill","billion","biol","bj","bm","bn","bo","both","bottom","br","brief","briefly","bs","bt","but","buy","bv","bw","by","bz","c","c\'mon","c\'s","ca","call","came","can","can\'t","cannot","cant","caption","case","cases","cause","causes","cc","cd","certain","certainly","cf","cg","ch","changes","ci","ck","cl","clear","clearly","click","cm","cmon","cn","co","co.","com","come","comes","computer","con","concerning","consequently","consider","considering","contain","containing","contains","copy","corresponding","could","could\'ve","couldn","couldn\'t","couldnt","course","cr","cry","cs","cu","currently","cv","cx","cy","cz","d","dare","daren\'t","darent","date","de","dear","definitely","describe","described","despite","detail","did","didn","didn\'t","didnt","differ","different","differently","directly","dj","dk","dm","do","does","doesn","doesn\'t","doesnt","doing","don","don\'t","done","dont","doubtful","down","downed","downing","downs","downwards","due","during","dz","e","each","early","ec","ed","edu","ee","effect","eg","eh","eight","eighty","either","eleven","else","elsewhere","empty","end","ended","ending","ends","enough","entirely","er","es","especially","et","et-al","etc","even","evenly","ever","evermore","every","everybody","everyone","everything","everywhere","ex","exactly","example","except","f","face","faces","fact","facts","fairly","far","farther","felt","few","fewer","ff","fi","fifteen","fifth","fifty","fify","fill","find","finds","fire","first","five","fix","fj","fk","fm","fo","followed","following","follows","for","forever","former","formerly","forth","forty","forward","found","four","fr","free","from","front","full","fully","further","furthered","furthering","furthermore","furthers","fx","g","ga","gave","gb","gd","ge","general","generally","get","gets","getting","gf","gg","gh","gi","give","given","gives","giving","gl","gm","gmt","gn","go","goes","going","gone","good","goods","got","gotten","gov","gp","gq","gr","great","greater","greatest","greetings","group","grouped","grouping","groups","gs","gt","gu","gw","gy","h","had","hadn\'t","hadnt","half","happens","hardly","has","hasn","hasn\'t","hasnt","have","haven","haven\'t","havent","having","he","he\'d","he\'ll","he\'s","hed","hell","hello","help","hence","her","here","here\'s","hereafter","hereby","herein","heres","hereupon","hers","herself","herse\u201d","hes","hi","hid","high","higher","highest","him","himself","himse\u201d","his","hither","hk","hm","hn","home","homepage","hopefully","how","how\'d","how\'ll","how\'s","howbeit","however","hr","ht","htm","html","http","hu","hundred","i","i\'d","i\'ll","i\'m","i\'ve","i.e.","id","ie","if","ignored","ii","il","ill","im","immediate","immediately","importance","important","in","inasmuch","inc","inc.","indeed","index","indicate","indicated","indicates","information","inner","inside","insofar","instead","int","interest","interested","interesting","interests","into","invention","inward","io","iq","ir","is","isn","isn\'t","isnt","it","it\'d","it\'ll","it\'s","itd","itll","its","itself","itse\u201d","ive","j","je","jm","jo","join","jp","just","k","ke","keep","keeps","kept","keys","kg","kh","ki","kind","km","kn","knew","know","known","knows","kp","kr","kw","ky","kz","l","la","large","largely","last","lately","later","latest","latter","latterly","lb","lc","least","length","less","lest","let","let\'s","lets","li","like","liked","likely","likewise","line","little","lk","ll","long","longer","longest","look","looking","looks","low","lower","lr","ls","lt","ltd","lu","lv","ly","m","ma","made","mainly","make","makes","making","man","many","may","maybe","mayn\'t","maynt","mc","md","me","mean","means","meantime","meanwhile","member","members","men","merely","mg","mh","microsoft","might","might\'ve","mightn\'t","mightnt","mil","mill","million","mine","minus","miss","mk","ml","mm","mn","mo","more","moreover","most","mostly","move","mp","mq","mr","mrs","ms","msie","mt","mu","much","mug","must","must\'ve","mustn\'t","mustnt","mv","mw","mx","my","myself","myse\u201d","mz","n","na","name","namely","nay","nc","nd","ne","near","nearly","necessarily","necessary","need","needed","needing","needn\'t","neednt","needs","neither","net","netscape","never","neverf","neverless","nevertheless","new","newer","newest","next","nf","ng","ni","nine","ninety","nl","no","no-one","nobody","non","none","nonetheless","noone","nor","normally","nos","not","noted","nothing","notwithstanding","novel","now","nowhere","np","nr","nu","null","number","numbers","nz","o","obtain","obtained","obviously","of","off","often","oh","ok","okay","old","older","oldest","om","omitted","on","once","one","one\'s","ones","only","onto","open","opened","opening","opens","opposite","or","ord","order","ordered","ordering","orders","org","other","others","otherwise","ought","oughtn\'t","oughtnt","our","ours","ourselves","out","outside","over","overall","owing","own","p","pa","page","pages","part","parted","particular","particularly","parting","parts","past","pe","per","perhaps","pf","pg","ph","pk","pl","place","placed","places","please","plus","pm","pmid","pn","point","pointed","pointing","points","poorly","possible","possibly","potentially","pp","pr","predominantly","present","presented","presenting","presents","presumably","previously","primarily","probably","problem","problems","promptly","proud","provided","provides","pt","put","puts","pw","py","q","qa","que","quickly","quite","qv","r","ran","rather","rd","re","readily","really","reasonably","recent","recently","ref","refs","regarding","regardless","regards","related","relatively","research","reserved","respectively","resulted","resulting","results","right","ring","ro","room","rooms","round","ru","run","rw","s","sa","said","same","saw","say","saying","says","sb","sc","sd","se","sec","second","secondly","seconds","section","see","seeing","seem","seemed","seeming","seems","seen","sees","self","selves","sensible","sent","serious","seriously","seven","seventy","several","sg","sh","shall","shan\'t","shant","she","she\'d","she\'ll","she\'s","shed","shell","shes","should","should\'ve","shouldn","shouldn\'t","shouldnt","show","showed","showing","shown","showns","shows","si","side","sides","significant","significantly","similar","similarly","since","sincere","site","six","sixty","sj","sk","sl","slightly","sm","small","smaller","smallest","sn","
74so","some","somebody","someday","somehow","someone","somethan","something","sometime","sometimes","somewhat","somewhere","soon","sorry","specifically","specified","specify","specifying","sr","st","state","states","still","stop","strongly","su","sub","substantially","successfully","such","sufficiently","suggest","sup","sure","sv","sy","system","sz","t","t\'s","take","taken","taking","tc","td","tell","ten","tends","test","text","tf","tg","th","than","thank","thanks","thanx","that","that\'ll","that\'s","that\'ve","thatll","thats","thatve","the","their","theirs","them","themselves","then","thence","there","there\'d","there\'ll","there\'re","there\'s","there\'ve","thereafter","thereby","thered","therefore","therein","therell","thereof","therere","theres","thereto","thereupon","thereve","these","they","they\'d","they\'ll","they\'re","they\'ve","theyd","theyll","theyre","theyve","thick","thin","thing","things","think","thinks","third","thirty","this","thorough","thoroughly","those","thou","though","thoughh","thought","thoughts","thousand","three","throug","through","throughout","thru","thus","til","till","tip","tis","tj","tk","tm","tn","to","today","together","too","took","top","toward","towards","tp","tr","tried","tries","trillion","truly","try","trying","ts","tt","turn","turned","turning","turns","tv","tw","twas","twelve","twenty","twice","two","tz","u","ua","ug","uk","um","un","under","underneath","undoing","unfortunately","unless","unlike","unlikely","until","unto","up","upon","ups","upwards","us","use","used","useful","usefully","usefulness","uses","using","usually","uucp","uy","uz","v","va","value","various","vc","ve","versus","very","vg","vi","via","viz","vn","vol","vols","vs","vu","w","want","wanted","wanting","wants","was","wasn","wasn\'t","wasnt","way","ways","we","we\'d","we\'ll","we\'re","we\'ve","web","webpage","website","wed","welcome","well","wells","went","were","weren","weren\'t","werent","weve","wf","what","what\'d","what\'ll","what\'s","what\'ve","whatever","whatll","whats","whatve","when","when\'d","when\'ll","when\'s","whence","whenever","where","where\'d","where\'ll","where\'s","whereafter","whereas","whereby","wherein","wheres","whereupon","wherever","whether","which","whichever","while","whilst","whim","whither","who","who\'d","who\'ll","who\'s","whod","whoever","whole","wholl","whom","whomever","whos","whose","why","why\'d","why\'ll","why\'s","widely","width","will","willing","wish","with","within","without","won","won\'t","wonder","wont","words","work","worked","working","works","world","would","would\'ve","wouldn","wouldn\'t","wouldnt","ws","www","x","y","ye","year","years","yes","yet","you","you\'d","you\'ll","you\'re","you\'ve","youd","youll","young","younger","youngest","your","youre","yours","yourself","yourselves","youve","yt","yu","z","za","zero","zm","zr"]}'),l=r(17563),f=r(31085),d=!1;function p(e){var t="";switch(e){case"APP_ENV":t="production";break;case"MTG_URL_APP":t="https://mindthegraph.com";break;case"MTG_URL_API":t="https://mindthegraph.com/api/v1";break;case"MTG_URL_SEARCH":t="https://search.mindthegraph.com/api";break;case"MTG_URL_LEGACY":t="https://platform.mindthegraph.com";break;case"MTG_URL_PUBLISHERS":t="https://publishers.mindthegraph.com";break;case"MTG_BUCKET_URL_TEMPLATES":t="https://templates.mindthegraph.com";break;case"MTG_BUCKET_URL_USERS":t="https://users.mindthegraph.com";break;case"STRIPE_API_KEY":t="pk_live_51KmH1MCnJzNgjPh4sPjUI315ziCZiCbvfumQH0rvskRUybpJ2PbdX3uqGZl6aNV9LQZq0LZFFzDYrC1ux2DJ1EG000pknssg66";break;case"STRIPE_JAPAN_API_KEY":t="pk_live_51MvFpQAGN0ENVU3dOqfWSDYcUwAQGpopWZ1a1DM9UC52zQbmdWLu7p50aLOh2Gzg2ihGq5HoSP1xXzfIMvS7FSzh00dezkSS85";break;case"GTM_TRACKING_ID":t="GTM-5P3SCHR";break;case"GA_TRACKING_ID":t="UA-51518825-2";break;case"GA_TRACKING_ID_ALT":case"GA_MEASUREMENT_ID":t="G-D6YF5PDFJ1";break;case"GO_TRACKING_ID":t="GTM-K7GM4VN";break;case"FB_PIXEL_ID":t="275120313863591,758495034739687";break;case"R_LIFE_BILLING":t="https://billing.editage.com";break;case"R_LIFE_BILLING_CHINA":t="https://billing.editage.cn";break;case"R_LIFE_SUBSCRIPTION_API_URL":t="https://product.editage.com/api/subscription/v1";break;case"NEXT_PUBLIC_GRAFANA_FARO_HOST":t="https://grafana-faro.monitoring.cicd.k8s.paperpal.com/collect";break;case"NEXT_PUBLIC_GRAFANA_FARO_KEY":t="5UmpavUEe2N3";break;case"CDN_PUBLIC_ASSETS_URL":t="https://mindthegraph.com/assets"}return t||console.error('Missing value for environment variable "'.concat(e,'".')),t}function h(e){return e.split(";")[1].replace("base64,","")}function g(e){return m.apply(this,arguments)}function m(){return(m=(0,n.Z)(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,r){var n=new FileReader;n.addEventListener("load",(function(){e({content:h(n.result),url:n.result})})),n.addEventListener("error",(function(e){return r(e)})),n.readAsDataURL(t)})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(e){return new Promise((function(t,r){var n=new FileReader;n.addEventListener("load",(function(){var e=n.result.split(";")[1].replace("base64,","");t({content:e,url:n.result})})),n.addEventListener("error",(function(e){return r(e)})),n.readAsDataURL(e)}))}function b(e){return v.apply(this,arguments)}function v(){return(v=(0,n.Z)(o().mark((function e(t){var r,n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t);case 2:return r=e.sent,e.next=5,r.blob();case 5:return n=e.sent,e.next=8,y(n);case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(e,t){var r=document.createElement("a");r.href=URL.createObjectURL(new Blob([e])),r.setAttribute("download",t),document.body.appendChild(r),r.click(),r.remove()}function x(e){var t,r=e.response.data;return((null===r||void 0===r?void 0:r.message)instanceof Array?null===r||void 0===r||null===(t=r.message)||void 0===t?void 0:t[0]:null===r||void 0===r?void 0:r.message)||"Unexpected error."}function S(e){return parseInt(28.346456693*parseInt(e))}function k(e){var t="string"===typeof e?document.getElementById(e):e;t&&t.scrollIntoView({behavior:"smooth",block:"center"})}function E(){var e=(new Date).getTime(),t=new Date("2023-10-28T00:00:00").getTime(),r=new Date("2023-11-01T00:00:00").getTime(),n=new Date("2023-11-01T00:00:00").getTime(),i=new Date("2023-12-04T00:00:00").getTime();return{isPreActive:e>t&&e<r,preActiveStartDate:t,preActiveEndDate:r,isActive:e>n&&e<i,activeStartDate:n,activeEndDate:i}}function _(e,t){return[u.E_.TRIAL,u.E_.STUDENT].includes(null===e||void 0===e?void 0:e.tp_user)&&!(null!==t&&void 0!==t&&t.journal)}function O(e){return!(!e||!e.journal)&&["journal_urology","plastic_reconstructive_surgery"].includes(e.journal)}function A(){var e=(new Date).getTime();return e>new Date("2024-01-22T00:00:00").getTime()&&e<new Date("2024-03-01T00:00:00").getTime()}function T(){try{var e=document.querySelector("mtg-chatbot");if(e&&e.shadowRoot){var t=e.shadowRoot.querySelector(".mtg-bubble");t&&t.click()}}catch(r){console.error("Failed to open MTG chat:",r)}}function C(e){var t=JSON.stringify(e).replaceAll("cf-","");return t=t.replaceAll("s3-us-west-2.amazonaws.com/",""),JSON.parse(t)}function R(e,t){return[u.E_.TRIAL,u.E_.STUDENT].includes(null===e||void 0===e?void 0:e.tp_user)&&!(null!==t&&void 0!==t&&t.journal)}function P(e){var t=new Date(e.dt_begin).getTime(),r=new Date("2024-04-02T01:00:00").getTime();return"T"===e.tp_user&&t>r}function j(e){return I.apply(this,arguments)}function I(){return I=(0,n.Z)(o().mark((function e(t){var r,i,a,c,l,f,p,h,g;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(p=function(){return(p=(0,n.Z)(o().mark((function e(){var n,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=6;break}return e.next=3,r.getLastInvoice();case 3:return n=e.sent,i=n.data,e.abrupt("return",!!i);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)},f=function(){return p.apply(this,arguments)},t){e.next=4;break}return e.abrupt("return",!1);case 4:return r=new s.Z,i=["CN","JP"].includes(null===t||void 0===t?void 0:t.country_code),a=new Date(t.dt_begin).getTime(),c=new Date("2024-04-02T01:00:00").getTime(),l=a>c,e.next=11,f();case 11:return h=e.sent,g=d&&!i&&!h&&t.tp_user===u.E_.TRIAL&&l,e.abrupt("return",g);case 14:case"end":return e.stop()}}),e)}))),I.apply(this,arguments)}function L(){return N.apply(this,arguments)}function N(){return(N=(0,n.Z)(o().mark((function e(){var t,r,n,i,s;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.Z.findAll({status:"available"});case 2:return t=e.sent,r=t.data,n=Date.now(),i=new Date(r[0].created).getTime(),s=(n-i)/6e4,e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function M(e){var t=c.z;return e.split(" ").filter((function(e){return!t.includes(e)})).join(" ")}function U(e){var t=new Date(e),r="".concat(("0"+t.getDate()).slice(-2)),n="".concat(("0"+(t.getMonth()+1)).slice(-2)),i=t.getFullYear();return"".concat(r,"/").concat(n,"/").concat(i)}function D(e){var t=new Date(e),r="".concat(("0"+t.getDate()).slice(-2)),n="".concat(("0"+(t.getMonth()+1)).slice(-2)),i=t.getFullYear(),o="".concat(("0"+t.getHours()).slice(-2)),a="".concat(("0"+t.getMinutes()).slice(-2));return"".concat(r,"/").concat(n,"/").concat(i," ").concat(o,":").concat(a)}function F(e){try{return JSON.parse(atob(e.split(".")[1]))}catch(t){return null}}function B(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/my-account/overview/";return p("MTG_URL_APP")+e}var Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e&&"cn"===e.toLowerCase()?p("R_LIFE_BILLING_CHINA"):p("R_LIFE_BILLING")},$=function(e,t,r){var n=Z(t),i=l.stringify(r);return[u.fu.LAB_RESEARCHER,u.fu.STUDENT,u.fu.JOURNAL].includes(e)||"cn"===t.toLowerCase()?"".concat(n,"/checkout?").concat(i,"&continue=").concat(B()):"".concat(n,"/checkout-subscribe?").concat(i,"&continue=").concat(B())};function q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/my-creations",r=(null===e||void 0===e?void 0:e.country_code)||"US",n="CN"===r?f.z.sso.chineseDomain:f.z.sso.mainDomain,i="social/google/redirect",o=encodeURIComponent(B(t));
74return"".concat(n,"/").concat(i,"?continue=").concat(o)}function z(e){return"".concat("https://users.mindthegraph.com","/uploads/").concat(e)}function H(e){return{illustration:1,shape:2,molecule:3,icon:4,generation:5}[e]}},5044:function(e,t,r){"use strict";r.d(t,{p:function(){return o}});var n=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","coupon"];function i(e){if(!e)return"";try{return decodeURIComponent(e).replace(/[\u0000-\u001F\u007F-\u009F]/g,"").replace(/[\\'"<>&]/g,(function(e){switch(e){case"\\":return"\\\\";case"'":return"\\'";case'"':return'\\"';case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return e}})).trim()}catch(t){return e.replace(/[\u0000-\u001F\u007F-\u009F]/g,"").trim()}}function o(){try{0;var e=new URLSearchParams(window.location.search),t={},r=!1;return n.forEach((function(n){e.has(n)&&(t[n]=i(e.get(n)),r=!0)})),r?(localStorage.setItem("mtg_utm_params",JSON.stringify(t)),t):function(){try{0;var e=localStorage.getItem("mtg_utm_params");if(!e)return{};var t=JSON.parse(e),r={};return Object.keys(t).forEach((function(e){r[e]=i(t[e])})),r}catch(n){return console.error("Error retrieving UTM params:",n),{}}}()}catch(o){return console.error("Error capturing UTM params:",o),{}}}},91118:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(94126)}])},25293:function(e){!function(){"use strict";var t={864:function(e){var t,r="object"===typeof Reflect?Reflect:null,n=r&&"function"===typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"===typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!==e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(r,n){function i(r){e.removeListener(t,o),n(r)}function o(){"function"===typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}g(e,t,o,{once:!0}),"error"!==t&&function(e,t,r){"function"===typeof e.on&&g(e,"error",t,r)}(e,i,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,r,n){var i,o,a;if(s(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),a=o[t]),void 0===a)a=o[t]=r,++e._eventsCount;else if("function"===typeof a?a=o[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,function(e){console&&console.warn&&console.warn(e)}(c)}return e}function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=l.bind(n);return i.listener=r,n.wrapFn=i,i}function d(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"===typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):h(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function h(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function g(e,t,r,n){if("function"===typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!==typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){n.once&&e.removeEventListener(t,i),r(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a}
74,set:function(e){if("number"!==typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"===typeof u)n(u,this,t);else{var c=u.length,l=h(u,c);for(r=0;r<c;++r)n(l[r],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,f(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,f(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,n,i,o,a;if(s(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!==typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"===typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,n),a=!1}finally{a&&delete r[e]}return o.exports}n.ab="//";var i=n(864);e.exports=i}()},78428:function(e,t,r){!function(){var t={528:function(e,t,r){var n=r(685),i=r(310),o=e.exports;for(var a in n)n.hasOwnProperty(a)&&(o[a]=n[a]);function s(e){if("string"===typeof e&&(e=i.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}o.request=function(e,t){return e=s(e),n.request.call(this,e,t)},o.get=function(e,t){return e=s(e),n.get.call(this,e,t)}},685:function(e){"use strict";e.exports=r(22321)},310:function(e){"use strict";e.exports=r(11987)}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,i),a=!1}finally{a&&delete n[e]}return o.exports}i.ab="//";var o=i(528);e.exports=o}()},11987:function(e,t,r){!function(){var t={477:function(e){"use strict";e.exports=r(97334)}},n={};function i(e){var r=n[e];
74if(void 0!==r)return r.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,i),a=!1}finally{a&&delete n[e]}return o.exports}i.ab="//";var o={};!function(){var e,t=o,r=(e=i(477))&&"object"==typeof e&&"default"in e?e.default:e,n=/https?|ftp|gopher|file/;function a(e){"string"==typeof e&&(e=v(e));var t=function(e,t,r){var n=e.auth,i=e.hostname,o=e.protocol||"",a=e.pathname||"",s=e.hash||"",u=e.query||"",c=!1;n=n?encodeURIComponent(n).replace(/%3A/i,":")+"@":"",e.host?c=n+e.host:i&&(c=n+(~i.indexOf(":")?"["+i+"]":i),e.port&&(c+=":"+e.port)),u&&"object"==typeof u&&(u=t.encode(u));var l=e.search||u&&"?"+u||"";return o&&":"!==o.substr(-1)&&(o+=":"),e.slashes||(!o||r.test(o))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),s&&"#"!==s[0]&&(s="#"+s),l&&"?"!==l[0]&&(l="?"+l),{protocol:o,host:c,pathname:a=a.replace(/[?#]/g,encodeURIComponent),search:l=l.replace("#","%23"),hash:s}}(e,r,n);return""+t.protocol+t.host+t.pathname+t.search+t.hash}var s="http://",u="w.w",c=s+u,l=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,f=/https?|ftp|gopher|file/;function d(e,t){var r="string"==typeof e?v(e):e;e="object"==typeof e?a(e):e;var n=v(t),i="";r.protocol&&!r.slashes&&(i=r.protocol,e=e.replace(r.protocol,""),i+="/"===t[0]||"/"===e[0]?"/":""),i&&n.protocol&&(i="",n.slashes||(i=n.protocol,t=t.replace(n.protocol,"")));var o=e.match(l);o&&!n.protocol&&(e=e.substr((i=o[1]+(o[2]||"")).length),/^\/\/[^/]/.test(t)&&(i=i.slice(0,-1)));var u=new URL(e,c+"/"),d=new URL(t,u).toString().replace(c,""),p=n.protocol||r.protocol;return p+=r.slashes||n.slashes?"//":"",!i&&p?d=d.replace(s,p):i&&(d=d.replace(s,"")),f.test(d)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==d.slice(-1)||(d=d.slice(0,-1)),i&&(d=i+("/"===d[0]?d.substr(1):d)),d}function p(){}p.prototype.parse=v,p.prototype.format=a,p.prototype.resolve=d,p.prototype.resolveObject=d;var h=/^https?|ftp|gopher|file/,g=/^(.*?)([#?].*)/,m=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,y=/^([a-z0-9.+-]*:)?\/\/\/*/i,b=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function v(e,t,n){if(void 0===t&&(t=!1),void 0===n&&(n=!1),e&&"object"==typeof e&&e instanceof p)return e;var i=(e=e.trim()).match(g);e=i?i[1].replace(/\\/g,"/")+i[2]:e.replace(/\\/g,"/"),b.test(e)&&"/"!==e.slice(-1)&&(e+="/");var o=!/(^javascript)/.test(e)&&e.match(m),s=y.test(e),l="";o&&(h.test(o[1])||(l=o[1].toLowerCase(),e=""+o[2]+o[3]),o[2]||(s=!1,h.test(o[1])?(l=o[1],e=""+o[3]):e="//"+o[3]),3!==o[2].length&&1!==o[2].length||(l=o[1],e="/"+o[3]));var f,d=(i?i[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),v=d&&d[1],w=new p,x="",S="";try{f=new URL(e)}catch(t){x=t,l||n||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(S="/",e=e.substr(1));try{f=new URL(e,c)}catch(e){return w.protocol=l,w.href=l,w}}w.slashes=s&&!S,w.host=f.host===u?"":f.host,w.hostname=f.hostname===u?"":f.hostname.replace(/(\[|\])/g,""),w.protocol=x?l||null:f.protocol,w.search=f.search.replace(/\\/g,"%5C"),w.hash=f.hash.replace(/\\/g,"%5C");var k=e.split("#");!w.search&&~k[0].indexOf("?")&&(w.search="?"),w.hash||""!==k[1]||(w.hash="#"),w.query=t?r.decode(f.search.substr(1)):w.search.substr(1),w.pathname=S+(o?function(e){return e.replace(/['^|`]/g,(function(e){return"%"+e.charCodeAt().toString(16).toUpperCase()})).replace(/((?:%[0-9A-F]{2})+)/g,(function(e,t){try{return decodeURIComponent(t).split("").map((function(e){var t=e.charCodeAt();return t>256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()})).join("")}catch(e){return t}}))}(f.pathname):f.pathname),"about:"===w.protocol&&"blank"===w.pathname&&(w.protocol="",w.pathname=""),x&&"/"!==e[0]&&(w.pathname=w.pathname.substr(1)),l&&!h.test(l)&&"/"!==e.slice(-1)&&"/"===w.pathname&&(w.pathname=""),w.path=w.pathname+w.search,w.auth=[f.username,f.password].map(decodeURIComponent).filter(Boolean).join(":"),w.port=f.port,v&&!w.host.endsWith(v)&&(w.host+=v,w.port=v.slice(1)),w.href=S?""+w.pathname+w.search+w.hash:a(w);var E=/^(file)/.test(w.href)?["host","hostname"]:[];
74return Object.keys(w).forEach((function(e){~E.indexOf(e)||(w[e]=w[e]||null)})),w}t.parse=v,t.format=a,t.resolve=d,t.resolveObject=function(e,t){return v(d(e,t))},t.Url=p}(),e.exports=o}()},97334:function(e){!function(){"use strict";var t={815:function(e){function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,i,o){n=n||"&",i=i||"=";var a={};if("string"!==typeof e||0===e.length)return a;var s=/\+/g;e=e.split(n);var u=1e3;o&&"number"===typeof o.maxKeys&&(u=o.maxKeys);var c=e.length;u>0&&c>u&&(c=u);for(var l=0;l<c;++l){var f,d,p,h,g=e[l].replace(s,"%20"),m=g.indexOf(i);m>=0?(f=g.substr(0,m),d=g.substr(m+1)):(f=g,d=""),p=decodeURIComponent(f),h=decodeURIComponent(d),t(a,p)?r(a[p])?a[p].push(h):a[p]=[a[p],h]:a[p]=h}return a};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,o,a,s){return o=o||"&",a=a||"=",null===e&&(e=void 0),"object"===typeof e?n(i(e),(function(i){var s=encodeURIComponent(t(i))+a;return r(e[i])?n(e[i],(function(e){return s+encodeURIComponent(t(e))})).join(o):s+encodeURIComponent(t(e[i]))})).join(o):s?encodeURIComponent(t(s))+a+encodeURIComponent(t(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var i=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,n),a=!1}finally{a&&delete r[e]}return o.exports}n.ab="//";var i={};!function(){var e=i;e.decode=e.parse=n(815),e.encode=e.stringify=n(577)}(),e.exports=i}()},79681:function(e,t,r){var n=r(34155);!function(){var t={782:function(e){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},646:function(e){"use strict";const t={};function r(e,r,n){function i(e,t,n){return"string"===typeof r?r:r(e,t,n)}n||(n=Error);class o extends n{constructor(e,t,r){super(i(e,t,r))}}o.prototype.name=n.name,o.prototype.code=e,t[e]=o}function n(e,t){if(Array.isArray(e)){const r=e.length;return e=e.map((e=>String(e))),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:2===r?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}return`of ${t} ${String(e)}`}r("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),r("ERR_INVALID_ARG_TYPE",(function(e,t,r){let i,o;if("string"===typeof t&&function(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}(t,"not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))o=`The ${e} ${i} ${n(t,"type")}`;else{const r=function(e,t,r){return"number"!==typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";o=`The "${e}" ${r} ${i} ${n(t,"type")}`}return o+=". Received type "+typeof r,o}),TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},403:function(e,t,r){"use strict";var i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=l;var o=r(709),a=r(337);r(782)(l,o);for(var s=i(a.prototype),u=0;u<s.length;u++){var c=s[u];l.prototype[c]||(l.prototype[c]=a.prototype[c])}function l(e){if(!(this instanceof l))return new l(e);o.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",f)))}function f(){this._writableState.ended||n.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},889:function(e,t,r){"use strict";e.exports=i;var n=r(170);function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}r(782)(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},709:function(e,t,i){"use strict";var o;e.exports=O,O.ReadableState=_;i(361).EventEmitter;var a=function(e,t){return e.listeners(t).length},s=i(678),u=i(300).Buffer,c=r.g.Uint8Array||function(){};var l,f=i(837);l=f&&f.debuglog?f.debuglog("stream"):function(){};var d,p,h,g=i(379),m=i(25),y=i(776).getHighWaterMark,b=i(646).q,v=b.ERR_INVALID_ARG_TYPE,w=b.ERR_STREAM_PUSH_AFTER_EOF,x=b.ERR_METHOD_NOT_IMPLEMENT
vendor: 5,864 bytes, line 74
74ED,S=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;i(782)(O,s);var k=m.errorOrDestroy,E=["error","close","destroy","pause","resume"];function _(e,t,r){o=o||i(403),e=e||{},"boolean"!==typeof r&&(r=t instanceof o),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=y(this,e,"readableHighWaterMark",r),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=i(704).s),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function O(e){if(o=o||i(403),!(this instanceof O))return new O(e);var t=this instanceof o;this._readableState=new _(e,this,t),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function A(e,t,r,n,i){l("readableAddChunk",t);var o,a=e._readableState;if(null===t)a.reading=!1,function(e,t){if(l("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?P(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,j(e)))}(e,a);else if(i||(o=function(e,t){var r;(function(e){return u.isBuffer(e)||e instanceof c})(t)||"string"===typeof t||void 0===t||e.objectMode||(r=new v("chunk",["string","Buffer","Uint8Array"],t));return r}(a,t)),o)k(e,o);else if(a.objectMode||t&&t.length>0)if("string"===typeof t||a.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=function(e){return u.from(e)}(t)),n)a.endEmitted?k(e,new S):T(e,a,t,!0);else if(a.ended)k(e,new w);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||0!==t.length?T(e,a,t,!1):I(e,a)):T(e,a,t,!1)}else n||(a.reading=!1,I(e,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function T(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&P(e)),I(e,t)}Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),O.prototype.destroy=m.destroy,O.prototype._undestroy=m.undestroy,O.prototype._destroy=function(e,t){t(e)},O.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=u.from(e,t),t=""),r=!0),A(this,e,t,!1,r)},O.prototype.unshift=function(e){return A(this,e,null,!0,!1)},O.prototype.isPaused=function(){return!1===this._readableState.flowing},O.prototype.setEncoding=function(e){d||(d=i(704).s);var t=new d(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";null!==r;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==n&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var C=1073741824;function R(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=C?e=C:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function P(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(j,e))}function j(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,D(e)}function I(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(L,e,t))}function L(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(l("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function N(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function M(e){l("readable nexttick read 0"),e.read(0)}function U(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),D(e),t.flowing&&!t.reading&&e.read(0)}function D(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function F(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function B(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(Z,t,e))}function Z(e,t){if(l("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function $(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}O.prototype.read=function(e){l("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?B(this):P(this),null;if(0===(e=R(e,t))&&t.ended)return 0===t.length&&B(this),null;var n,i=t.needReadable;
vendor: 2,056 bytes, line 74
74return l("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&l("length less than watermark",i=!0),t.ended||t.reading?l("reading or ended",i=!1):i&&(l("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=R(r,t))),null===(n=e>0?F(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&B(this)),null!==n&&this.emit("data",n),n},O.prototype._read=function(e){k(this,new x("_read()"))},O.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,l("pipe count=%d opts=%j",i.pipesCount,t);var o=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?u:y;function s(e,t){l("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,d())}function u(){l("onend"),e.end()}i.endEmitted?n.nextTick(o):r.once("end",o),e.on("unpipe",s);var c=function(e){return function(){var t=e._readableState;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,D(e))}}(r);e.on("drain",c);var f=!1;function d(){l("cleanup"),e.removeListener("close",g),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",h),e.removeListener("unpipe",s),r.removeListener("end",u),r.removeListener("end",y),r.removeListener("data",p),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||c()}function p(t){l("ondata");var n=e.write(t);l("dest.write",n),!1===n&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==$(i.pipes,e))&&!f&&(l("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function h(t){l("onerror",t),y(),e.removeListener("error",h),0===a(e,"error")&&k(e,t)}function g(){e.removeListener("finish",m),y()}function m(){l("onfinish"),e.removeListener("close",g),y()}function y(){l("unpipe"),r.unpipe(e)}return r.on("data",p),function(e,t,r){if("function"===typeof e.prependListener)return e.prepe
vendor: 5,794 bytes, line 74
74ndListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",h),e.once("close",g),e.once("finish",m),e.emit("pipe",r),i.flowing||(l("pipe resume"),r.resume()),e},O.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=$(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},O.prototype.on=function(e,t){var r=s.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,l("on readable",i.length,i.reading),i.length?P(this):i.reading||n.nextTick(M,this))),r},O.prototype.addListener=O.prototype.on,O.prototype.removeListener=function(e,t){var r=s.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(N,this),r},O.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(N,this),t},O.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(U,e,t))}(this,e)),e.paused=!1,this},O.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},O.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(l("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(l("wrapped data"),r.decoder&&(i=r.decoder.write(i)),!r.objectMode||null!==i&&void 0!==i)&&((r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause())))})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<E.length;o++)e.on(E[o],this.emit.bind(this,E[o]));return this._read=function(t){l("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"===typeof Symbol&&(O.prototype[Symbol.asyncIterator]=function(){return void 0===p&&(p=i(871)),p(this)}),Object.defineProperty(O.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(O.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(O.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),O._fromList=F,Object.defineProperty(O.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"===typeof Symbol&&(O.from=function(e,t){return void 0===h&&(h=i(727)),h(O,e,t)})},170:function(e,t,r){"use strict";e.exports=l;var n=r(646).q,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,u=r(403);function c(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function l(e){if(!(this instanceof l))return new l(e);u.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",f)}function f(){var e=this;"function"!==typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush((function(t,r){d(e,t,r)}))}function d(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}r(782)(l,u),l.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},l.prototype._transform=function(e,t,r){r(new i("_transform()"))},l.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},l.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},l.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,(function(e){t(e)}))}},337:function(e,t,i){"use strict";function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var a;e.exports=O,O.WritableState=_;var s={deprecate:i(769)},u=i(678),c=i(300).Buffer,l=r.g.Uint8Array||function(){};var f,d=i(25),p=i(776).getHighWaterMark,h=i(646).q,g=h.ERR_INVALID_ARG_TYPE,m=h.ERR_METHOD_NOT_IMPLEMENT
vendor: 11,444 bytes, line 74
74ED,y=h.ERR_MULTIPLE_CALLBACK,b=h.ERR_STREAM_CANNOT_PIPE,v=h.ERR_STREAM_DESTROYED,w=h.ERR_STREAM_NULL_VALUES,x=h.ERR_STREAM_WRITE_AFTER_END,S=h.ERR_UNKNOWN_ENCODING,k=d.errorOrDestroy;function E(){}function _(e,t,r){a=a||i(403),e=e||{},"boolean"!==typeof r&&(r=t instanceof a),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=p(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,i=r.sync,o=r.writecb;if("function"!==typeof o)throw new y;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,i,o){--t.pendingcb,r?(n.nextTick(o,i),n.nextTick(I,e,t),e._writableState.errorEmitted=!0,k(e,i)):(o(i),e._writableState.errorEmitted=!0,k(e,i),I(e,t))}(e,r,i,t,o);else{var a=P(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||R(e,r),i?n.nextTick(C,e,r,a,o):C(e,r,a,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function O(e){var t=this instanceof(a=a||i(403));if(!t&&!f.call(O,this))return new O(e);this._writableState=new _(e,this,t),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),u.call(this)}function A(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=c.from(t,r)),t}function T(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new v("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function C(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),I(e,t)}function R(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var s=0,u=!0;r;)i[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;i.allBuffers=u,T(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,l=r.encoding,f=r.callback;if(T(e,t,!1,t.objectMode?1:c.length,c,l,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function P(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function j(e,t){e._final((function(r){t.pendingcb--,r&&k(e,r),t.prefinished=!0,e.emit("prefinish"),I(e,t)}))}function I(e,t){var r=P(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!==typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,n.nextTick(j,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return r}i(782)(O,u),_.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(_.prototype,"buffer",{get:s.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(e){return!!f.call(this,e)||this===O&&(e&&e._writableState instanceof _)}})):f=function(e){return e instanceof this},O.prototype.pipe=function(){k(this,new b)},O.prototype.write=function(e,t,r){var i=this._writableState,o=!1,a=!i.objectMode&&function(e){return c.isBuffer(e)||e instanceof l}(e);return a&&!c.isBuffer(e)&&(e=function(e){return c.from(e)}(e)),"function"===typeof t&&(r=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!==typeof r&&(r=E),i.ending?function(e,t){var r=new x;k(e,r),n.nextTick(t,r)}(this,r):(a||function(e,t,r,i){var o;return null===r?o=new w:"string"===typeof r||t.objectMode||(o=new g("chunk",["string","Buffer"],r)),!o||(k(e,o),n.nextTick(i,o),!1)}(this,i,e,r))&&(i.pendingcb++,o=function(e,t,r,n,i,o){if(!r){var a=A(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else T(e,t,!1,s,n,i,o);return u}(this,i,a,e,t,r)),o},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||R(this,e))},O.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new S(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),O.prototype._write=function(e,t,r){r(new m("_write()"))},O.prototype._writev=null,O.prototype.end=function(e,t,r){var i=this._writableState;return"function"===typeof e?(r=e,e=null,t=null):"function"===typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,r){t.ending=!0,I(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,i,r),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),O.prototype.destroy=d.destroy,O.prototype._undestroy=d.undestroy,O.prototype._destroy=function(e,t){t(e)}},871:function(e,t,r){"use strict";var i;function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(698),s=Symbol("lastResolve"),u=Symbol("lastReject"),c=Symbol("error"),l=Symbol("ended"),f=Symbol("lastPromise"),d=Symbol("handlePromise"),p=Symbol("stream");function h(e,t){return{value:e,done:t}}function g(e){var t=e[s];if(null!==t){var r=e[p].read();null!==r&&(e[f]=null,e[s]=null,e[u]=null,t(h(r,!1)))}}function m(e){n.nextTick(g,e)}var y=Object.getPrototypeOf((function(){})),b=Object.setPrototypeOf((i={get stream(){return this[p]},next:function(){var e=this,t=this[c];if(null!==t)return Promise.reject(t);if(this[l])return Promise.resolve(h(void 0,!0));if(this[p].destroyed)return new Promise((function(t,r){n.nextTick((function(){e[c]?r(e[c]):t(h(void 0,!0))}))}));var r,i=this[f];if(i)r=new Promise(function(e,t){return function(r,n){e.then((function(){t[l]?r(h(void 0,!0)):t[d](r,n)}),n)}}(i,this));else{var o=this[p].read();if(null!==o)return Promise.resolve(h(o,!1));r=new Promise(this[d])}return this[f]=r,r}},o(i,Symbol.asyncIterator,(function(){return this})),o(i,"return",(function(){var e=this;return new Promise((function(t,r){e[p].destroy(null,(function(e){e?r(e):t(h(void 0,!0))}))}))})),i),y);e.exports=function(e){var t,r=Object.create(b,(o(t={},p,{value:e,writable:!0}),o(t,s,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,c,{value:null,writable:!0}),o(t,l,{value:e._readableState.endEmitted,writable:!0}),o(t,d,{value:function(e,t){var n=r[p].read();n?(r[f]=null,r[s]=null,r[u]=null,e(h(n,!1))):(r[s]=e,r[u]=t)},writable:!0}),t));return r[f]=null,a(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[u];return null!==t&&(r[f]=null,r[s]=null,r[u]=null,t(e)),void(r[c]=e)}var n=r[s];null!==n&&(r[f]=null,r[s]=null,r[u]=null,n(h(void 0,!0))),r[l]=!0})),e.on("readable",m.bind(null,r)),r}},379:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=r(300).Buffer,s=r(837).inspect,u=s&&s.custom||"inspect";function c(e,t,r){a.prototype.copy.call(e,t,r)}e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return function(e,t,r){t&&o(e.prototype,t),r&&o(e,r)}(e,[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t=a.allocUnsafe(e>>>0),r=this.head,n=0;r;)c(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0===(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0===(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:u,value:function(e,t){return s(this,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
74t%2?n(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{depth:0,customInspect:!1}))}}]),e}()},25:function(e){"use strict";function t(e,t){i(e,t),r(e)}function r(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,o){var a=this,s=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return s||u?(o?o(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(i,this,e)):n.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!o&&e?a._writableState?a._writableState.errorEmitted?n.nextTick(r,a):(a._writableState.errorEmitted=!0,n.nextTick(t,a,e)):n.nextTick(t,a,e):o?(n.nextTick(r,a),o(e)):n.nextTick(r,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}},698:function(e,t,r){"use strict";var n=r(646).q.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,r,o){if("function"===typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&t.readable,s=r.writable||!1!==r.writable&&t.writable,u=function(){t.writable||l()},c=t._writableState&&t._writableState.finished,l=function(){s=!1,c=!0,a||o.call(t)},f=t._readableState&&t._readableState.endEmitted,d=function(){a=!1,f=!0,s||o.call(t)},p=function(e){o.call(t,e)},h=function(){var e;return a&&!f?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):s&&!c?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},g=function(){t.req.on("finish",l)};return!function(e){return e.setHeader&&"function"===typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",l),t.on("abort",h),t.req?g():t.on("request",g)),t.on("end",d),t.on("finish",l),!1!==r.error&&t.on("error",p),t.on("close",h),function(){t.removeListener("complete",l),t.removeListener("abort",h),t.removeListener("request",g),t.req&&t.req.removeListener("finish",l),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",l),t.removeListener("end",d),t.removeListener("error",p),t.removeListener("close",h)}}},727:function(e,t,r){"use strict";function n(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,i)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,u,"next",e)}function u(e){n(a,i,o,s,u,"throw",e)}s(void 0)}))}}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(646).q.ERR_INVALID_ARG_TYPE;e.exports=function(e,t,r){var n;if(t&&"function"===typeof t.next)n=t;else if(t&&t[Symbol.asyncIterator])n=t[Symbol.asyncIterator]();else{if(!t||!t[Symbol.iterator])throw new s("iterable",["Iterable"],t);n=t[Symbol.iterator]()}var u=new e(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
74t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({objectMode:!0},r)),c=!1;function l(){return f.apply(this,arguments)}function f(){return f=i((function*(){try{var e=yield n.next(),t=e.value;e.done?u.push(null):u.push(yield t)?l():c=!1}catch(e){u.destroy(e)}})),f.apply(this,arguments)}return u._read=function(){c||(c=!0,l())},u}},442:function(e,t,r){"use strict";var n;var i=r(646).q,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function u(e,t,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var s=!1;e.on("close",(function(){s=!0})),void 0===n&&(n=r(698)),n(e,{readable:t,writable:i},(function(e){if(e)return o(e);s=!0,o()}));var u=!1;return function(t){if(!s&&!u)return u=!0,function(e){return e.setHeader&&"function"===typeof e.abort}(e)?e.abort():"function"===typeof e.destroy?e.destroy():void o(t||new a("pipe"))}}function c(e){e()}function l(e,t){return e.pipe(t)}function f(e){return e.length?"function"!==typeof e[e.length-1]?s:e.pop():s}e.exports=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=f(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var a=t.map((function(e,r){var o=r<t.length-1;return u(e,o,r>0,(function(e){n||(n=e),e&&a.forEach(c),o||(a.forEach(c),i(n))}))}));return t.reduce(l)}},776:function(e,t,r){"use strict";var n=r(646).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,i){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},678:function(e,t,r){e.exports=r(781)},55:function(e,t,r){var n=r(300),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},173:function(e,t,r){e.exports=i;var n=r(361).EventEmitter;function i(){n.call(this)}r(782)(i,n),i.Readable=r(709),i.Writable=r(337),i.Duplex=r(403),i.Transform=r(170),i.PassThrough=r(889),i.finished=r(698),i.pipeline=r(442),i.Stream=i,i.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",u));var a=!1;function s(){a||(a=!0,e.end())}function u(){a||(a=!0,"function"===typeof e.destroy&&e.destroy())}function c(e){if(l(),0===n.listenerCount(this,"error"))throw e}function l(){r.removeListener("data",i),e.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",u),r.removeListener("error",c),e.removeListener("error",c),r.removeListener("end",l),r.removeListener("close",l),e.removeListener("close",l)}return r.on("error",c),e.on("error",c),r.on("end",l),r.on("close",l),e.on("close",l),e.emit("pipe",r),e}},704:function(e,t,r){"use strict";var n=r(55).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";
74case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!==typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=f,t=3;break;default:return this.write=d,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!==(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"\ufffd"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function l(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.s=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\ufffd":t},o.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=a(t[n]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if((i=a(t[n]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if((i=a(t[n]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},769:function(e){function t(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,r){if(t("noDeprecation"))return e;var n=!1;return function(){if(!n){if(t("throwDeprecation"))throw new Error(r);t("traceDeprecation")?console.trace(r):console.warn(r),n=!0}return e.apply(this,arguments)}}},300:function(e){"use strict";e.exports=r(48764)},361:function(e){"use strict";e.exports=r(25293)},781:function(e){"use strict";e.exports=r(25293).EventEmitter},837:function(e){"use strict";e.exports=r(79720)}},i={};function o(e){var r=i[e];if(void 0!==r)return r.exports;var n=i[e]={exports:{}},a=!0;try{t[e](n,n.exports,o),a=!1}finally{a&&delete i[e]}return n.exports}o.ab="//";var a=o(173);e.exports=a}()},22321:function(e,t,r){var n=r(34155),i=r(48764).Buffer;!function(){var t={523:function(e){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Parti
74al Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},782:function(e){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},646:function(e){"use strict";const t={};function r(e,r,n){function i(e,t,n){return"string"===typeof r?r:r(e,t,n)}n||(n=Error);class o extends n{constructor(e,t,r){super(i(e,t,r))}}o.prototype.name=n.name,o.prototype.code=e,t[e]=o}function n(e,t){if(Array.isArray(e)){const r=e.length;return e=e.map((e=>String(e))),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:2===r?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}return`of ${t} ${String(e)}`}r("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),r("ERR_INVALID_ARG_TYPE",(function(e,t,r){let i,o;if("string"===typeof t&&function(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}(t,"not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))o=`The ${e} ${i} ${n(t,"type")}`;else{const r=function(e,t,r){return"number"!==typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";o=`The "${e}" ${r} ${i} ${n(t,"type")}`}return o+=". Received type "+typeof r,o}),TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},403:function(e,t,r){"use strict";var i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=l;var o=r(709),a=r(337);r(782)(l,o);for(var s=i(a.prototype),u=0;u<s.length;u++){var c=s[u];l.prototype[c]||(l.prototype[c]=a.prototype[c])}function l(e){if(!(this instanceof l))return new l(e);o.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",f)))}function f(){this._writableState.ended||n.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},889:function(e,t,r){"use strict";e.exports=i;var n=r(170);function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}r(782)(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},709:function(e,t,i){"use strict";var o;e.exports=O,O.ReadableState=_;i(361).EventEmitter;var a=function(e,t){return e.listeners(t).length},s=i(678),u=i(300).Buffer,c=r.g.Uint8Array||function(){};var l,f=i(837);l=f&&f.debuglog?f.debuglog("stream"):function(){};var d,p,h,g=i(379),m=i(25),y=i(776).getHighWaterMark,b=i(646).q,v=b.ERR_INVALID_ARG_TYPE,w=b.ERR_STREAM_PUSH_AFTER_EOF,x=b.ERR_METHOD_NOT_IMPLEMENT
vendor: 5,864 bytes, line 74
74ED,S=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;i(782)(O,s);var k=m.errorOrDestroy,E=["error","close","destroy","pause","resume"];function _(e,t,r){o=o||i(403),e=e||{},"boolean"!==typeof r&&(r=t instanceof o),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=y(this,e,"readableHighWaterMark",r),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=i(704).s),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function O(e){if(o=o||i(403),!(this instanceof O))return new O(e);var t=this instanceof o;this._readableState=new _(e,this,t),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function A(e,t,r,n,i){l("readableAddChunk",t);var o,a=e._readableState;if(null===t)a.reading=!1,function(e,t){if(l("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?P(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,j(e)))}(e,a);else if(i||(o=function(e,t){var r;(function(e){return u.isBuffer(e)||e instanceof c})(t)||"string"===typeof t||void 0===t||e.objectMode||(r=new v("chunk",["string","Buffer","Uint8Array"],t));return r}(a,t)),o)k(e,o);else if(a.objectMode||t&&t.length>0)if("string"===typeof t||a.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=function(e){return u.from(e)}(t)),n)a.endEmitted?k(e,new S):T(e,a,t,!0);else if(a.ended)k(e,new w);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||0!==t.length?T(e,a,t,!1):I(e,a)):T(e,a,t,!1)}else n||(a.reading=!1,I(e,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function T(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&P(e)),I(e,t)}Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),O.prototype.destroy=m.destroy,O.prototype._undestroy=m.undestroy,O.prototype._destroy=function(e,t){t(e)},O.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=u.from(e,t),t=""),r=!0),A(this,e,t,!1,r)},O.prototype.unshift=function(e){return A(this,e,null,!0,!1)},O.prototype.isPaused=function(){return!1===this._readableState.flowing},O.prototype.setEncoding=function(e){d||(d=i(704).s);var t=new d(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";null!==r;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==n&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var C=1073741824;function R(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=C?e=C:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function P(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(j,e))}function j(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,D(e)}function I(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(L,e,t))}function L(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(l("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function N(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function M(e){l("readable nexttick read 0"),e.read(0)}function U(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),D(e),t.flowing&&!t.reading&&e.read(0)}function D(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function F(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function B(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(Z,t,e))}function Z(e,t){if(l("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function $(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}O.prototype.read=function(e){l("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?B(this):P(this),null;if(0===(e=R(e,t))&&t.ended)return 0===t.length&&B(this),null;var n,i=t.needReadable;
vendor: 2,056 bytes, line 74
74return l("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&l("length less than watermark",i=!0),t.ended||t.reading?l("reading or ended",i=!1):i&&(l("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=R(r,t))),null===(n=e>0?F(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&B(this)),null!==n&&this.emit("data",n),n},O.prototype._read=function(e){k(this,new x("_read()"))},O.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,l("pipe count=%d opts=%j",i.pipesCount,t);var o=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?u:y;function s(e,t){l("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,d())}function u(){l("onend"),e.end()}i.endEmitted?n.nextTick(o):r.once("end",o),e.on("unpipe",s);var c=function(e){return function(){var t=e._readableState;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,D(e))}}(r);e.on("drain",c);var f=!1;function d(){l("cleanup"),e.removeListener("close",g),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",h),e.removeListener("unpipe",s),r.removeListener("end",u),r.removeListener("end",y),r.removeListener("data",p),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||c()}function p(t){l("ondata");var n=e.write(t);l("dest.write",n),!1===n&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==$(i.pipes,e))&&!f&&(l("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function h(t){l("onerror",t),y(),e.removeListener("error",h),0===a(e,"error")&&k(e,t)}function g(){e.removeListener("finish",m),y()}function m(){l("onfinish"),e.removeListener("close",g),y()}function y(){l("unpipe"),r.unpipe(e)}return r.on("data",p),function(e,t,r){if("function"===typeof e.prependListener)return e.prepe
vendor: 5,794 bytes, line 74
74ndListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",h),e.once("close",g),e.once("finish",m),e.emit("pipe",r),i.flowing||(l("pipe resume"),r.resume()),e},O.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=$(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},O.prototype.on=function(e,t){var r=s.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,l("on readable",i.length,i.reading),i.length?P(this):i.reading||n.nextTick(M,this))),r},O.prototype.addListener=O.prototype.on,O.prototype.removeListener=function(e,t){var r=s.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(N,this),r},O.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(N,this),t},O.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(U,e,t))}(this,e)),e.paused=!1,this},O.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},O.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(l("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(l("wrapped data"),r.decoder&&(i=r.decoder.write(i)),!r.objectMode||null!==i&&void 0!==i)&&((r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause())))})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<E.length;o++)e.on(E[o],this.emit.bind(this,E[o]));return this._read=function(t){l("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"===typeof Symbol&&(O.prototype[Symbol.asyncIterator]=function(){return void 0===p&&(p=i(871)),p(this)}),Object.defineProperty(O.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(O.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(O.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),O._fromList=F,Object.defineProperty(O.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"===typeof Symbol&&(O.from=function(e,t){return void 0===h&&(h=i(727)),h(O,e,t)})},170:function(e,t,r){"use strict";e.exports=l;var n=r(646).q,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,u=r(403);function c(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function l(e){if(!(this instanceof l))return new l(e);u.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",f)}function f(){var e=this;"function"!==typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush((function(t,r){d(e,t,r)}))}function d(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}r(782)(l,u),l.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},l.prototype._transform=function(e,t,r){r(new i("_transform()"))},l.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},l.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},l.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,(function(e){t(e)}))}},337:function(e,t,i){"use strict";function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var a;e.exports=O,O.WritableState=_;var s={deprecate:i(769)},u=i(678),c=i(300).Buffer,l=r.g.Uint8Array||function(){};var f,d=i(25),p=i(776).getHighWaterMark,h=i(646).q,g=h.ERR_INVALID_ARG_TYPE,m=h.ERR_METHOD_NOT_IMPLEMENT
vendor: 11,444 bytes, line 74
74ED,y=h.ERR_MULTIPLE_CALLBACK,b=h.ERR_STREAM_CANNOT_PIPE,v=h.ERR_STREAM_DESTROYED,w=h.ERR_STREAM_NULL_VALUES,x=h.ERR_STREAM_WRITE_AFTER_END,S=h.ERR_UNKNOWN_ENCODING,k=d.errorOrDestroy;function E(){}function _(e,t,r){a=a||i(403),e=e||{},"boolean"!==typeof r&&(r=t instanceof a),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=p(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,i=r.sync,o=r.writecb;if("function"!==typeof o)throw new y;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,i,o){--t.pendingcb,r?(n.nextTick(o,i),n.nextTick(I,e,t),e._writableState.errorEmitted=!0,k(e,i)):(o(i),e._writableState.errorEmitted=!0,k(e,i),I(e,t))}(e,r,i,t,o);else{var a=P(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||R(e,r),i?n.nextTick(C,e,r,a,o):C(e,r,a,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function O(e){var t=this instanceof(a=a||i(403));if(!t&&!f.call(O,this))return new O(e);this._writableState=new _(e,this,t),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),u.call(this)}function A(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=c.from(t,r)),t}function T(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new v("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function C(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),I(e,t)}function R(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var s=0,u=!0;r;)i[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;i.allBuffers=u,T(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,l=r.encoding,f=r.callback;if(T(e,t,!1,t.objectMode?1:c.length,c,l,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function P(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function j(e,t){e._final((function(r){t.pendingcb--,r&&k(e,r),t.prefinished=!0,e.emit("prefinish"),I(e,t)}))}function I(e,t){var r=P(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!==typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,n.nextTick(j,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return r}i(782)(O,u),_.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(_.prototype,"buffer",{get:s.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(e){return!!f.call(this,e)||this===O&&(e&&e._writableState instanceof _)}})):f=function(e){return e instanceof this},O.prototype.pipe=function(){k(this,new b)},O.prototype.write=function(e,t,r){var i=this._writableState,o=!1,a=!i.objectMode&&function(e){return c.isBuffer(e)||e instanceof l}(e);return a&&!c.isBuffer(e)&&(e=function(e){return c.from(e)}(e)),"function"===typeof t&&(r=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!==typeof r&&(r=E),i.ending?function(e,t){var r=new x;k(e,r),n.nextTick(t,r)}(this,r):(a||function(e,t,r,i){var o;return null===r?o=new w:"string"===typeof r||t.objectMode||(o=new g("chunk",["string","Buffer"],r)),!o||(k(e,o),n.nextTick(i,o),!1)}(this,i,e,r))&&(i.pendingcb++,o=function(e,t,r,n,i,o){if(!r){var a=A(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else T(e,t,!1,s,n,i,o);return u}(this,i,a,e,t,r)),o},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||R(this,e))},O.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new S(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),O.prototype._write=function(e,t,r){r(new m("_write()"))},O.prototype._writev=null,O.prototype.end=function(e,t,r){var i=this._writableState;return"function"===typeof e?(r=e,e=null,t=null):"function"===typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,r){t.ending=!0,I(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,i,r),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),O.prototype.destroy=d.destroy,O.prototype._undestroy=d.undestroy,O.prototype._destroy=function(e,t){t(e)}},871:function(e,t,r){"use strict";var i;function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(698),s=Symbol("lastResolve"),u=Symbol("lastReject"),c=Symbol("error"),l=Symbol("ended"),f=Symbol("lastPromise"),d=Symbol("handlePromise"),p=Symbol("stream");function h(e,t){return{value:e,done:t}}function g(e){var t=e[s];if(null!==t){var r=e[p].read();null!==r&&(e[f]=null,e[s]=null,e[u]=null,t(h(r,!1)))}}function m(e){n.nextTick(g,e)}var y=Object.getPrototypeOf((function(){})),b=Object.setPrototypeOf((i={get stream(){return this[p]},next:function(){var e=this,t=this[c];if(null!==t)return Promise.reject(t);if(this[l])return Promise.resolve(h(void 0,!0));if(this[p].destroyed)return new Promise((function(t,r){n.nextTick((function(){e[c]?r(e[c]):t(h(void 0,!0))}))}));var r,i=this[f];if(i)r=new Promise(function(e,t){return function(r,n){e.then((function(){t[l]?r(h(void 0,!0)):t[d](r,n)}),n)}}(i,this));else{var o=this[p].read();if(null!==o)return Promise.resolve(h(o,!1));r=new Promise(this[d])}return this[f]=r,r}},o(i,Symbol.asyncIterator,(function(){return this})),o(i,"return",(function(){var e=this;return new Promise((function(t,r){e[p].destroy(null,(function(e){e?r(e):t(h(void 0,!0))}))}))})),i),y);e.exports=function(e){var t,r=Object.create(b,(o(t={},p,{value:e,writable:!0}),o(t,s,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,c,{value:null,writable:!0}),o(t,l,{value:e._readableState.endEmitted,writable:!0}),o(t,d,{value:function(e,t){var n=r[p].read();n?(r[f]=null,r[s]=null,r[u]=null,e(h(n,!1))):(r[s]=e,r[u]=t)},writable:!0}),t));return r[f]=null,a(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[u];return null!==t&&(r[f]=null,r[s]=null,r[u]=null,t(e)),void(r[c]=e)}var n=r[s];null!==n&&(r[f]=null,r[s]=null,r[u]=null,n(h(void 0,!0))),r[l]=!0})),e.on("readable",m.bind(null,r)),r}},379:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=r(300).Buffer,s=r(837).inspect,u=s&&s.custom||"inspect";function c(e,t,r){a.prototype.copy.call(e,t,r)}e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return function(e,t,r){t&&o(e.prototype,t),r&&o(e,r)}(e,[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t=a.allocUnsafe(e>>>0),r=this.head,n=0;r;)c(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0===(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0===(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:u,value:function(e,t){return s(this,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
74t%2?n(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{depth:0,customInspect:!1}))}}]),e}()},25:function(e){"use strict";function t(e,t){i(e,t),r(e)}function r(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,o){var a=this,s=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return s||u?(o?o(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(i,this,e)):n.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!o&&e?a._writableState?a._writableState.errorEmitted?n.nextTick(r,a):(a._writableState.errorEmitted=!0,n.nextTick(t,a,e)):n.nextTick(t,a,e):o?(n.nextTick(r,a),o(e)):n.nextTick(r,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}},698:function(e,t,r){"use strict";var n=r(646).q.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,r,o){if("function"===typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&t.readable,s=r.writable||!1!==r.writable&&t.writable,u=function(){t.writable||l()},c=t._writableState&&t._writableState.finished,l=function(){s=!1,c=!0,a||o.call(t)},f=t._readableState&&t._readableState.endEmitted,d=function(){a=!1,f=!0,s||o.call(t)},p=function(e){o.call(t,e)},h=function(){var e;return a&&!f?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):s&&!c?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},g=function(){t.req.on("finish",l)};return!function(e){return e.setHeader&&"function"===typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",l),t.on("abort",h),t.req?g():t.on("request",g)),t.on("end",d),t.on("finish",l),!1!==r.error&&t.on("error",p),t.on("close",h),function(){t.removeListener("complete",l),t.removeListener("abort",h),t.removeListener("request",g),t.req&&t.req.removeListener("finish",l),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",l),t.removeListener("end",d),t.removeListener("error",p),t.removeListener("close",h)}}},727:function(e,t,r){"use strict";function n(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,i)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,u,"next",e)}function u(e){n(a,i,o,s,u,"throw",e)}s(void 0)}))}}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(646).q.ERR_INVALID_ARG_TYPE;e.exports=function(e,t,r){var n;if(t&&"function"===typeof t.next)n=t;else if(t&&t[Symbol.asyncIterator])n=t[Symbol.asyncIterator]();else{if(!t||!t[Symbol.iterator])throw new s("iterable",["Iterable"],t);n=t[Symbol.iterator]()}var u=new e(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
74t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({objectMode:!0},r)),c=!1;function l(){return f.apply(this,arguments)}function f(){return f=i((function*(){try{var e=yield n.next(),t=e.value;e.done?u.push(null):u.push(yield t)?l():c=!1}catch(e){u.destroy(e)}})),f.apply(this,arguments)}return u._read=function(){c||(c=!0,l())},u}},442:function(e,t,r){"use strict";var n;var i=r(646).q,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function u(e,t,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var s=!1;e.on("close",(function(){s=!0})),void 0===n&&(n=r(698)),n(e,{readable:t,writable:i},(function(e){if(e)return o(e);s=!0,o()}));var u=!1;return function(t){if(!s&&!u)return u=!0,function(e){return e.setHeader&&"function"===typeof e.abort}(e)?e.abort():"function"===typeof e.destroy?e.destroy():void o(t||new a("pipe"))}}function c(e){e()}function l(e,t){return e.pipe(t)}function f(e){return e.length?"function"!==typeof e[e.length-1]?s:e.pop():s}e.exports=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=f(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var a=t.map((function(e,r){var o=r<t.length-1;return u(e,o,r>0,(function(e){n||(n=e),e&&a.forEach(c),o||(a.forEach(c),i(n))}))}));return t.reduce(l)}},776:function(e,t,r){"use strict";var n=r(646).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,i){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},678:function(e,t,r){e.exports=r(781)},726:function(e,t,r){var i=r(781);"disable"===n.env.READABLE_STREAM&&i?(e.exports=i.Readable,Object.assign(e.exports,i),e.exports.Stream=i):((t=e.exports=r(709)).Stream=i||t,t.Readable=t,t.Writable=r(337),t.Duplex=r(403),t.Transform=r(170),t.PassThrough=r(889),t.finished=r(698),t.pipeline=r(442))},55:function(e,t,r){var n=r(300),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},813:function(e,t,n){var i=n(450),o=n(254),a=n(911),s=n(523),u=n(310),c=t;c.request=function(e,t){e="string"===typeof e?u.parse(e):a(e);var n=-1===r.g.location.protocol.search(/^https?:$/)?"http:":"",o=e.protocol||n,s=e.hostname||e.host,c=e.port,l=e.path||"/";s&&-1!==s.indexOf(":")&&(s="["+s+"]"),e.url=(s?o+"//"+s:"")+(c?":"+c:"")+l,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var f=new i(e);return t&&f.on("response",t),f},c.get=function(e,t){var r=c.request(e,t);return r.end(),r},c.ClientRequest=i,c.IncomingMessage=o.IncomingMessage,c.Agent=function(){},c.Agent.defaultMaxSockets=4,c.globalAgent=new c.Agent,c.STATUS_CODES=s,c.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]},301:function(e,t){var n;function i(){if(void 0!==n)return n;if(r.g.XMLHttpRequest){n=new r.g.XMLHttpRequest;try{n.open("GET",r.g.XDomainRequest?"/":"https://example.com")}catch(e){n=null}}else n=null;return n}function o(e){var t=i();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}function a(e){return"function"===typeof e}t.fetch=a(r.g.fetch)&&a(r.g.ReadableStream),t.writableStream=a(r.g.WritableStream),t.abortController=a(r.g.AbortController),t.arraybuffer=t.fetch||o("arraybuffer"),t.msstream=!t.fetch&&o("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&o("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!i()&&a(i().overrideMimeType),n=null},450:function(e,t,o){var a=o(301),s=o(782),u=o(254),c=o(726),l=u.IncomingMessage,f=u.readyStates;var d=e.exports=function(e){var t,r=this;c.Writable.call(r),r._opts=e,r._body=[],r._headers={},e.auth&&r.setHeader("Authorization","Basic "+i.from(e.auth).toString("base64")),Object.keys(e.headers).forEac
vendor: 1,086 bytes, line 74
74h((function(t){r.setHeader(t,e.headers[t])}));var n=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!a.abortController)n=!1,t=!0;else if("prefer-streaming"===e.mode)t=!1;else if("allow-wrong-content-type"===e.mode)t=!a.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");t=!0}r._mode=function(e,t){return a.fetch&&t?"fetch":a.mozchunkedarraybuffer?"moz-chunked-arraybuffer":a.msstream?"ms-stream":a.arraybuffer&&e?"arraybuffer":"text"}(t,n),r._fetchTimer=null,r.on("finish",(function(){r._onFinish()}))};s(d,c.Writable),d.prototype.setHeader=function(e,t){var r=e.toLowerCase();-1===p.indexOf(r)&&(this._headers[r]={name:e,value:t})},d.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},d.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},d.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts,i=e._headers,o=null;"GET"!==t.method&&"HEAD"!==t.method&&(o=new Blob(e._body,{type:(i["content-type"]||{}).value||""}));var s=[];
74if(Object.keys(i).forEach((function(e){var t=i[e].name,r=i[e].value;Array.isArray(r)?r.forEach((function(e){s.push([t,e])})):s.push([t,r])})),"fetch"===e._mode){var u=null;if(a.abortController){var c=new AbortController;u=c.signal,e._fetchAbortController=c,"requestTimeout"in t&&0!==t.requestTimeout&&(e._fetchTimer=r.g.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),t.requestTimeout))}r.g.fetch(e._opts.url,{method:e._opts.method,headers:s,body:o||void 0,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:u}).then((function(t){e._fetchResponse=t,e._connect()}),(function(t){r.g.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)}))}else{var l=e._xhr=new r.g.XMLHttpRequest;try{l.open(e._opts.method,e._opts.url,!0)}catch(t){return void n.nextTick((function(){e.emit("error",t)}))}"responseType"in l&&(l.responseType=e._mode),"withCredentials"in l&&(l.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in l&&l.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(l.timeout=t.requestTimeout,l.ontimeout=function(){e.emit("requestTimeout")}),s.forEach((function(e){l.setRequestHeader(e[0],e[1])})),e._response=null,l.onreadystatechange=function(){switch(l.readyState){case f.LOADING:case f.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(l.onprogress=function(){e._onXHRProgress()}),l.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{l.send(o)}catch(t){return void n.nextTick((function(){e.emit("error",t)}))}}}},d.prototype._onXHRProgress=function(){var e=this;(function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}})(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},d.prototype._connect=function(){var e=this;e._destroyed||(e._response=new l(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},d.prototype._write=function(e,t,r){this._body.push(e),r()},d.prototype.abort=d.prototype.destroy=function(){var e=this;e._destroyed=!0,r.g.clearTimeout(e._fetchTimer),e._response&&(e._response._destroyed=!0),e._xhr?e._xhr.abort():e._fetchAbortController&&e._fetchAbortController.abort()},d.prototype.end=function(e,t,r){"function"===typeof e&&(r=e,e=void 0),c.Writable.prototype.end.call(this,e,t,r)},d.prototype.flushHeaders=function(){},d.prototype.setTimeout=function(){},d.prototype.setNoDelay=function(){},d.prototype.setSocketKeepAlive=function(){};var p=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]},254:function(e,t,o){var a=o(301),s=o(782),u=o(726),c=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},l=t.IncomingMessage=function(e,t,o,s){var c=this;if(u.Readable.call(c),c._mode=o,c.headers={},c.rawHeaders=[],c.trailers={},c.rawTrailers=[],c.on("end",(function(){n.nextTick((function(){c.emit("close")}))})),"fetch"===o){if(c._fetchResponse=t,c.url=t.url,c.statusCode=t.status,c.statusMessage=t.statusText,t.headers.forEach((function(e,t){c.headers[t.toLowerCase()]=e,c.rawHeaders.push(t,e)})),a.writableStream){var l=new WritableStream({write:function(e){return new Promise((function(t,r){c._destroyed?r():c.push(i.from(e))?t():c._resumeFetch=t}))},close:function(){r.g.clearTimeout(s),c._destroyed||c.push(null)},abort:function(e){c._destroyed||c.emit("error",e)}});try{return void t.body.pipeTo(l).catch((function(e){r.g.clearTimeout(s),c._destroyed||c.emit("error",e)}))}catch(e){}}var f=t.body.getReader();!function e(){f.read().then((function(t){if(!c._destroyed){if(t.done)return r.g.clearTimeout(s),void c.push(null);c.push(i.from(t.value)),e()}})).catch((function(e){r.g.clearTimeout(s),c._destroyed||c.emit("error",e)}))}()}else{if(c._xhr=e,c._pos=0,c.url=e.responseURL,c.statusCode=e.status,c.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEac
vendor: 5,239 bytes, line 74
74h((function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var r=t[1].toLowerCase();"set-cookie"===r?(void 0===c.headers[r]&&(c.headers[r]=[]),c.headers[r].push(t[2])):void 0!==c.headers[r]?c.headers[r]+=", "+t[2]:c.headers[r]=t[2],c.rawHeaders.push(t[1],t[2])}})),c._charset="x-user-defined",!a.overrideMimeType){var d=c.rawHeaders["mime-type"];if(d){var p=d.match(/;\s*charset=([^;])(;|$)/);p&&(c._charset=p[1].toLowerCase())}c._charset||(c._charset="utf-8")}}};s(l,u.Readable),l.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},l.prototype._onXHRProgress=function(){var e=this,t=e._xhr,n=null;switch(e._mode){case"text":if((n=t.responseText).length>e._pos){var o=n.substr(e._pos);if("x-user-defined"===e._charset){for(var a=i.alloc(o.length),s=0;s<o.length;s++)a[s]=255&o.charCodeAt(s);e.push(a)}else e.push(o,e._charset);e._pos=n.length}break;case"arraybuffer":if(t.readyState!==c.DONE||!t.response)break;n=t.response,e.push(i.from(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=t.response,t.readyState!==c.LOADING||!n)break;e.push(i.from(new Uint8Array(n)));break;case"ms-stream":if(n=t.response,t.readyState!==c.LOADING)break;var u=new r.g.MSStreamReader;u.onprogress=function(){u.result.byteLength>e._pos&&(e.push(i.from(new Uint8Array(u.result.slice(e._pos)))),e._pos=u.result.byteLength)},u.onload=function(){e.push(null)},u.readAsArrayBuffer(n)}e._xhr.readyState===c.DONE&&"ms-stream"!==e._mode&&e.push(null)}},704:function(e,t,r){"use strict";var n=r(55).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!==typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=f,t=3;break;default:return this.write=d,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!==(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"\ufffd"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function l(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.s=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\ufffd":t},o.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=a(t[n]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if((i=a(t[n]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if((i=a(t[n]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},769:function(e){function t(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}
74e.exports=function(e,r){if(t("noDeprecation"))return e;var n=!1;return function(){if(!n){if(t("throwDeprecation"))throw new Error(r);t("traceDeprecation")?console.trace(r):console.warn(r),n=!0}return e.apply(this,arguments)}}},911:function(e){e.exports=function(){for(var e={},r=0;r<arguments.length;r++){var n=arguments[r];for(var i in n)t.call(n,i)&&(e[i]=n[i])}return e};var t=Object.prototype.hasOwnProperty},300:function(e){"use strict";e.exports=r(48764)},361:function(e){"use strict";e.exports=r(25293)},781:function(e){"use strict";e.exports=r(79681)},310:function(e){"use strict";e.exports=r(11987)},837:function(e){"use strict";e.exports=r(79720)}},o={};function a(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={exports:{}},i=!0;try{t[e](n,n.exports,a),i=!1}finally{i&&delete o[e]}return n.exports}a.ab="//";var s=a(813);e.exports=s}()},79720:function(e,t,r){var n=r(48764).Buffer,i=r(34155);!function(){var t={992:function(e){e.exports=function(e,r,n){if(e.filter)return e.filter(r,n);if(void 0===e||null===e)throw new TypeError;if("function"!=typeof r)throw new TypeError;for(var i=[],o=0;o<e.length;o++)if(t.call(e,o)){var a=e[o];r.call(n,a,o,e)&&i.push(a)}return i};var t=Object.prototype.hasOwnProperty},256:function(e,t,r){"use strict";var n=r(838),i=r(139),o=i(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"===typeof r&&o(e,".prototype.")>-1?i(r):r}},139:function(e,t,r){"use strict";var n=r(174),i=r(838),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||n.call(a,o),u=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),l=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(n,a,arguments);if(u&&c){var r=u(t,"length");r.configurable&&c(t,"length",{value:1+l(0,e.length-(arguments.length-1))})}return t};var f=function(){return s(n,o,arguments)};c?c(e.exports,"apply",{value:f}):e.exports.apply=f},144:function(e){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(e,n,i){if("[object Function]"!==r.call(n))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var a=0;a<o;a++)n.call(i,e[a],a,e);else for(var s in e)t.call(e,s)&&n.call(i,e[s],s,e)}},426:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,i="[object Function]";e.exports=function(e){var o=this;if("function"!==typeof o||n.call(o)!==i)throw new TypeError(t+o);for(var a,s=r.call(arguments,1),u=function(){if(this instanceof a){var t=o.apply(this,s.concat(r.call(arguments)));return Object(t)===t?t:this}return o.apply(e,s.concat(r.call(arguments)))},c=Math.max(0,o.length-s.length),l=[],f=0;f<c;f++)l.push("$"+f);if(a=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(u),o.prototype){var d=function(){};d.prototype=o.prototype,a.prototype=new d,d.prototype=null}return a}},174:function(e,t,r){"use strict";var n=r(426);e.exports=Function.prototype.bind||n},838:function(e,t,r){"use strict";var n,i=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null}var c=function(){throw new a},l=u?function(){try{return c}catch(e){try{return u(arguments,"callee").get}catch(e){return c}}}():c,f=r(115)(),d=Object.getPrototypeOf||function(e){return e.__proto__},p={},h="undefined"===typeof Uint8Array?n:d(Uint8Array),g={"%AggregateError%":"undefined"===typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":f?d([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"===typeof Atomics?n:Atomics,"%BigInt%":"undefined"===typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":p,"%Int8Array%":"undefined"===typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
74IteratorPrototype%":f?d(d([][Symbol.iterator]())):n,"%JSON%":"object"===typeof JSON?JSON:n,"%Map%":"undefined"===typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&f?d((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?n:Promise,"%Proxy%":"undefined"===typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&f?d((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?d(""[Symbol.iterator]()):n,"%Symbol%":f?Symbol:n,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":h,"%TypeError%":a,"%Uint8Array%":"undefined"===typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?n:WeakSet},m=function e(t){var r;if("%AsyncFunction%"===t)r=s("async function () {}");else if("%GeneratorFunction%"===t)r=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=s("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&(r=d(i.prototype))}return g[t]=r,r},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=r(174),v=r(101),w=b.call(Function.call,Array.prototype.concat),x=b.call(Function.apply,Array.prototype.splice),S=b.call(Function.call,String.prototype.replace),k=b.call(Function.call,String.prototype.slice),E=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,O=function(e){var t=k(e,0,1),r=k(e,-1);if("%"===t&&"%"!==r)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var n=[];return S(e,E,(function(e,t,r,i){n[n.length]=r?S(i,_,"$1"):t||e})),n},A=function(e,t){var r,n=e;if(v(y,n)&&(n="%"+(r=y[n])[0]+"%"),v(g,n)){var o=g[n];if(o===p&&(o=m(n)),"undefined"===typeof o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new a('"allowMissing" argument must be a boolean');var r=O(e),n=r.length>0?r[0]:"",o=A("%"+n+"%",t),s=o.name,c=o.value,l=!1,f=o.alias;f&&(n=f[0],x(r,w([0,1],f)));for(var d=1,p=!0;d<r.length;d+=1){var h=r[d],m=k(h,0,1),y=k(h,-1);if(('"'===m||"'"===m||"`"===m||'"'===y||"'"===y||"`"===y)&&m!==y)throw new i("property names with quotes must have matching quotes");if("constructor"!==h&&p||(l=!0),v(g,s="%"+(n+="."+h)+"%"))c=g[s];else if(null!=c){if(!(h in c)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&d+1>=r.length){var b=u(c,h);c=(p=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:c[h]}else p=v(c,h),c=c[h];p&&!l&&(g[s]=c)}}return c}},942:function(e,t,r){"use strict";var n="undefined"!==typeof Symbol&&Symbol,i=r(773);e.exports=function(){return"function"===typeof n&&("function"===typeof Symbol&&("symbol"===typeof n("foo")&&("symbol"===typeof Symbol("bar")&&i())))}},773:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},115:function(e,t,r){"use strict";var n="undefined"!==typeof Symbol&&Symbol,i=r(832);e.exports=function(){return"function"===typeof n&&("function"===typeof Symbol&&("symbol"===typeof n("foo")&&("symbol"===typeof Symbol("bar")&&i())))}},832:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},101:function(e,t,r){"use strict";var n=r(174);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},782:function(e){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},157:function(e){"use strict";var t="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,r=Object.prototype.toString,n=function(e){return!(t&&e&&"object"===typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===r.call(e)},i=function(e){return!!n(e)||null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Array]"!==r.call(e)&&"[object Function]"===r.call(e.callee)},o=function(){return n(arguments)}();n.isLegacyArguments=i,e.exports=o?n:i},391:function(e){"use strict";var t=Object.prototype.toString,r=Function.prototype.toString,n=/^\s*(?:function)?\*/,i="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,o=Object.getPrototypeOf,a=function(){if(!i)return!1;try{return Function("return function*() {}")()}catch(e){}}(),s=a?o(a):{};e.exports=function(e){return"function"===typeof e&&(!!n.test(r.call(e))||(i?o(e)===s:"[object GeneratorFunction]"===t.call(e)))}},994:function(e,t,n){"use strict";var i=n(144),o=n(349),a=n(256),s=a("Object.prototype.toString"),u=n(942)()&&"symbol"===typeof Symbol.toStringTag,c=o(),l=a("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return-1},f=a("String.prototype.slice"),d={},p=n(466),h=Object.getPrototypeOf;u&&p&&h&&i(c,(function(e){var t=new r.g[e];
74if(!(Symbol.toStringTag in t))throw new EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var n=h(t),i=p(n,Symbol.toStringTag);if(!i){var o=h(n);i=p(o,Symbol.toStringTag)}d[e]=i.get}));e.exports=function(e){if(!e||"object"!==typeof e)return!1;if(!u){var t=f(s(e),8,-1);return l(c,t)>-1}return!!p&&function(e){var t=!1;return i(d,(function(r,n){if(!t)try{t=r.call(e)===n}catch(e){}})),t}(e)}},369:function(e){e.exports=function(e){return e instanceof n}},584:function(e,t,r){"use strict";var n=r(157),i=r(391),o=r(490),a=r(994);function s(e){return e.call.bind(e)}var u="undefined"!==typeof BigInt,c="undefined"!==typeof Symbol,l=s(Object.prototype.toString),f=s(Number.prototype.valueOf),d=s(String.prototype.valueOf),p=s(Boolean.prototype.valueOf);if(u)var h=s(BigInt.prototype.valueOf);if(c)var g=s(Symbol.prototype.valueOf);function m(e,t){if("object"!==typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function y(e){return"[object Map]"===l(e)}function b(e){return"[object Set]"===l(e)}function v(e){return"[object WeakMap]"===l(e)}function w(e){return"[object WeakSet]"===l(e)}function x(e){return"[object ArrayBuffer]"===l(e)}function S(e){return"undefined"!==typeof ArrayBuffer&&(x.working?x(e):e instanceof ArrayBuffer)}function k(e){return"[object DataView]"===l(e)}function E(e){return"undefined"!==typeof DataView&&(k.working?k(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!==typeof Promise&&e instanceof Promise||null!==e&&"object"===typeof e&&"function"===typeof e.then&&"function"===typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||E(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},y.working="undefined"!==typeof Map&&y(new Map),t.isMap=function(e){return"undefined"!==typeof Map&&(y.working?y(e):e instanceof Map)},b.working="undefined"!==typeof Set&&b(new Set),t.isSet=function(e){return"undefined"!==typeof Set&&(b.working?b(e):e instanceof Set)},v.working="undefined"!==typeof WeakMap&&v(new WeakMap),t.isWeakMap=function(e){return"undefined"!==typeof WeakMap&&(v.working?v(e):e instanceof WeakMap)},w.working="undefined"!==typeof WeakSet&&w(new WeakSet),t.isWeakSet=function(e){return w(e)},x.working="undefined"!==typeof ArrayBuffer&&x(new ArrayBuffer),t.isArrayBuffer=S,k.working="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView&&k(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=E;var _="undefined"!==typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function O(e){return"[object SharedArrayBuffer]"===l(e)}function A(e){return"undefined"!==typeof _&&("undefined"===typeof O.working&&(O.working=O(new _)),O.working?O(e):e instanceof _)}function T(e){return m(e,f)}function C(e){return m(e,d)}function R(e){return m(e,p)}function P(e){return u&&m(e,h)}function j(e){return c&&m(e,g)}t.isSharedArrayBuffer=A,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},t.isGeneratorObject=function(e){return"[object Generator]"===l(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},t.isNumberObject=T,t.isStringObject=C,t.isBooleanObject=R,t.isBigIntObject=P,t.isSymbolObject=j,t.isBoxedPrimitive=function(e){return T(e)||C(e)||R(e)||P(e)||j(e)},t.isAnyArrayBuffer=function(e){return"undefined"!==typeof Uint8Array&&(S(e)||A(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},177:function(e,t,r){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},o=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(c(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,a=String(e).replace(o,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),s=n[r];r<i;s=n[++r])y(s)||!S(s)?a+=" "+s:a+=" "+c(s);return a},t.deprecate=function(e,r){if("undefined"!==typeof i&&!0===i.noDeprecation)return e;if("undefined"===typeof i)return function(){return t.deprecate(e,r).apply(this,arguments)};var n=!1;
vendor: 4,743 bytes, line 74
74return function(){if(!n){if(i.throwDeprecation)throw new Error(r);i.traceDeprecation?console.trace(r):console.error(r),n=!0}return e.apply(this,arguments)}};var a={},s=/^$/;if(i.env.NODE_DEBUG){var u=i.env.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+u+"$","i")}function c(e,r){var n={seen:[],stylize:f};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(r)?n.showHidden=r:r&&t._extend(n,r),w(n.showHidden)&&(n.showHidden=!1),w(n.depth)&&(n.depth=2),w(n.colors)&&(n.colors=!1),w(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),d(n,e,n.depth)}function l(e,t){var r=c.styles[t];return r?"\x1b["+c.colors[r][0]+"m"+e+"\x1b["+c.colors[r][1]+"m":e}function f(e,t){return e}function d(e,r,n){if(e.customInspect&&r&&_(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return v(i)||(i=d(e,i,n)),i}var o=function(e,t){if(w(t))return e.stylize("undefined","undefined");if(v(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(b(t))return e.stylize(""+t,"number");if(m(t))return e.stylize(""+t,"boolean");if(y(t))return e.stylize("null","null")}(e,r);if(o)return o;var a=Object.keys(r),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),E(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return p(r);if(0===a.length){if(_(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(x(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(k(r))return e.stylize(Date.prototype.toString.call(r),"date");if(E(r))return p(r)}var c,l="",f=!1,S=["{","}"];(g(r)&&(f=!0,S=["[","]"]),_(r))&&(l=" [Function"+(r.name?": "+r.name:"")+"]");return x(r)&&(l=" "+RegExp.prototype.toString.call(r)),k(r)&&(l=" "+Date.prototype.toUTCString.call(r)),E(r)&&(l=" "+p(r)),0!==a.length||f&&0!=r.length?n<0?x(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=f?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a<s;++a)R(t,String(a))?o.push(h(e,t,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(h(e,t,r,n,i,!0))})),o}(e,r,n,s,a):a.map((function(t){return h(e,r,n,s,t,f)})),e.seen.pop(),function(e,t,r){var n=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(c,l,S)):S[0]+l+S[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,r,n,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),R(n,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=y(r)?d(e,u.value,null):d(e,u.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return"  "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return"   "+e})).join("\n")):s=e.stylize("[Circular]","special")),w(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function g(e){return Array.isArray(e)}function m(e){return"boolean"===typeof e}function y(e){return null===e}function b(e){return"number"===typeof e}function v(e){return"string"===typeof e}function w(e){return void 0===e}function x(e){return S(e)&&"[object RegExp]"===O(e)}function S(e){return"object"===typeof e&&null!==e}function k(e){return S(e)&&"[object Date]"===O(e)}function E(e){return S(e)&&("[object Error]"===O(e)||e instanceof Error)}function _(e){return"function"===typeof e}function O(e){return Object.prototype.toString.call(e)}function A(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!a[e])if(s.test(e)){var r=i.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){};return a[e]},t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(584),t.isArray=g,t.isBoolean=m,t.isNull=y,t.isNullOrUndefined=function(e){return null==e}
74,t.isNumber=b,t.isString=v,t.isSymbol=function(e){return"symbol"===typeof e},t.isUndefined=w,t.isRegExp=x,t.types.isRegExp=x,t.isObject=S,t.isDate=k,t.types.isDate=k,t.isError=E,t.types.isNativeError=E,t.isFunction=_,t.isPrimitive=function(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e},t.isBuffer=r(369);var T=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(){var e=new Date,t=[A(e.getHours()),A(e.getMinutes()),A(e.getSeconds())].join(":");return[e.getDate(),T[e.getMonth()],t].join(" ")}function R(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",C(),t.format.apply(t,arguments))},t.inherits=r(782),t._extend=function(e,t){if(!t||!S(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var P="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function j(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(P&&e[P]){var t;if("function"!==typeof(t=e[P]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),P&&Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=P,t.callbackify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var n=t.pop();if("function"!==typeof n)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return n.apply(o,arguments)};e.apply(this,t).then((function(e){i.nextTick(a.bind(null,null,e))}),(function(e){i.nextTick(j.bind(null,e,a))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,n(e)),t}},490:function(e,t,n){"use strict";var i=n(144),o=n(349),a=n(256),s=a("Object.prototype.toString"),u=n(942)()&&"symbol"===typeof Symbol.toStringTag,c=o(),l=a("String.prototype.slice"),f={},d=n(466),p=Object.getPrototypeOf;u&&d&&p&&i(c,(function(e){if("function"===typeof r.g[e]){var t=new r.g[e];if(!(Symbol.toStringTag in t))throw new EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var n=p(t),i=d(n,Symbol.toStringTag);if(!i){var o=p(n);i=d(o,Symbol.toStringTag)}f[e]=i.get}}));var h=n(994);e.exports=function(e){return!!h(e)&&(u?function(e){var t=!1;return i(f,(function(r,n){if(!t)try{var i=r.call(e);i===n&&(t=i)}catch(e){}})),t}(e):l(s(e),8,-1))}},349:function(e,t,n){"use strict";var i=n(992);e.exports=function(){return i(["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],(function(e){return"function"===typeof r.g[e]}))}},466:function(e,t,r){"use strict";var n=r(838)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n}},o={};function a(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={exports:{}},i=!0;try{t[e](n,n.exports,a),i=!1}finally{i&&delete o[e]}return n.exports}a.ab="//";var s=a(177);e.exports=s}()},9008:function(e,t,r){e.exports=r(72717)},11163:function(e,t,r){e.exports=r(69898)},4298:function(e,t,r){e.exports=r(72189)},34155:function(e){var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"===typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var s,u=[],c=!1,l=-1;function f(){c&&s&&(c=!1,s.length?u=s.concat(u):l=-1,u.length&&d())}function d(){if(!c){var e=a(f);c=!0;for(var t=u.length;t;){for(s=u,u=[];++l<t;)s&&s[l].run();l=-1,t=u.length}s=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new p(e,t)),1!==u.length||c||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=h,n.addListener=h,n.once=h,n.off=h,n.removeListener=h,n.removeAllListeners=h,n.emit=h,n.prependListener=h,n.prependOnceListener=h,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},17563:function(e,t,r){"use strict";const n=r(70610),i=r(44020),o=r(80500),a=r(92806),s=Symbol("encodeFragmentIdentifier");function u(e){if("string"!==typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function l(e,t){return t.decode?i(e):e}function f(e){return Array.isArray(e)?e.sort():"object"===typeof e?f(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function d(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function p(e){const t=(e=d(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"===typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function g(e,t){u((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const r=function(e){let t;switch(e.arrayFormat){case"index":return(e,r,n)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return(e,r,n)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};case"colon-list-separator":return(e,r,n)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};case"comma":case"separator":return(t,r,n)=>{const i="string"===typeof r&&r.includes(e.arrayFormatSeparator),o="string"===typeof r&&!i&&l(r,e).includes(e.arrayFormatSeparator);r=o?l(r,e):r;const a=i||o?r.split(e.arrayFormatSeparator).map((t=>l(t,e))):null===r?r:l(r,e);n[t]=a};case"bracket-separator":return(t,r,n)=>{const i=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!i)return void(n[t]=r?l(r,e):r);const o=null===r?[]:r.split(e.arrayFormatSeparator).map((t=>l(t,e)));void 0!==n[t]?n[t]=[].concat(n[t],o):n[t]=o};default:return(e,t,r)=>{void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t),n=Object.create(null);if("string"!==typeof e)return n;if(!(e=e.trim().replace(/^[?#&]/,"")))return n;for(const i of e.split("&")){if(""===i)continue;let[e,a]=o(t.decode?i.replace(/\+/g," "):i,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:l(a,t),r(l(e,t),a,n)}for(const i of Object.keys(n)){const e=n[i];if("object"===typeof e&&null!==e)for(const r of Object.keys(e))e[r]=h(e[r],t);else n[i]=h(e,t)}return!1===t.sort?n:(!0===t.sort?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce(((e,t)=>{const r=n[t];return Boolean(r)&&"object"===typeof r&&!Array.isArray(r)?e[t]=f(r):e[t]=r,e}
74),Object.create(null))}t.extract=p,t.parse=g,t.stringify=(e,t)=>{if(!e)return"";u((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const r=r=>{return t.skipNull&&(null===(n=e[r])||void 0===n)||t.skipEmptyString&&""===e[r];var n},n=function(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{const i=r.length;return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),"[",i,"]"].join("")]:[...r,[c(t,e),"[",c(i,e),"]=",c(n,e)].join("")]};case"bracket":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),"[]"].join("")]:[...r,[c(t,e),"[]=",c(n,e)].join("")];case"colon-list-separator":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),":list="].join("")]:[...r,[c(t,e),":list=",c(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return r=>(n,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:(i=null===i?"":i,0===n.length?[[c(r,e),t,c(i,e)].join("")]:[[n,c(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,c(t,e)]:[...r,[c(t,e),"=",c(n,e)].join("")]}}(t),i={};for(const a of Object.keys(e))r(a)||(i[a]=e[a]);const o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map((r=>{const i=e[r];return void 0===i?"":null===i?c(r,t):Array.isArray(i)?0===i.length&&"bracket-separator"===t.arrayFormat?c(r,t)+"[]":i.reduce(n(r),[]).join("&"):c(r,t)+"="+c(i,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>
74{t=Object.assign({decode:!0},t);const[r,n]=o(e,"#");return Object.assign({url:r.split("?")[0]||"",query:g(p(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:l(n,t)}:{})},t.stringifyUrl=(e,r)=>{r=Object.assign({encode:!0,strict:!0,[s]:!0},r);const n=d(e.url).split("?")[0]||"",i=t.extract(e.url),o=t.parse(i,{sort:!1}),a=Object.assign(o,e.query);let u=t.stringify(a,r);u&&(u=`?${u}`);let l=function(e){let t="";const r=e.indexOf("#");return-1!==r&&(t=e.slice(r)),t}(e.url);return e.fragmentIdentifier&&(l=`#${r[s]?c(e.fragmentIdentifier,r):e.fragmentIdentifier}`),`${n}${u}${l}`},t.pick=(e,r,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[s]:!1},n);const{url:i,query:o,fragmentIdentifier:u}=t.parseUrl(e,n);return t.stringifyUrl({url:i,query:a(o,r),fragmentIdentifier:u},n)},t.exclude=(e,r,n)=>{const i=Array.isArray(r)?e=>!r.includes(e):(e,t)=>!r(e,t);return t.pick(e,i,n)}},49559:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=e||"";t&&(o=n(e));r&&(o=i(o));return o};var r=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;function n(e){return e.toString().trim().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,(function(e,t,n){return t>0&&t+e.length!==n.length&&e.search(r)>-1&&":"!==n.charAt(t-2)&&("-"!==n.charAt(t+e.length)||"-"===n.charAt(t-1))&&n.charAt(t-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)}))}function i(e){return"string"===typeof(t=e)&&-1!==t.indexOf("@")?(console.warn("This arg looks like an email address, redacting."),"REDACTED (Potential Email Address)"):e;var t}}
vendor: 10,049 bytes, line 74
74,41638:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GA4=void 0;var n=u(r(76161)),i=u(r(49559)),o=["eventCategory","eventAction","eventLabel","eventValue","hitType"],a=["title","location"],s=["page","hitType"];function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}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 f(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)||g(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 d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],u=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(l){c=!0,i=l}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||g(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){if(e){if("string"===typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,v(n.key),n)}}function b(e,t,r){return(t=v(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){var t=function(e,t){if("object"!==l(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===l(t)?t:String(t)}var w=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),b(this,"reset",(function(){t.isInitialized=!1,t._testMode=!1,t._currentMeasurementId,t._hasLoadedGA=!1,t._isQueuing=!1,t._queueGtag=[]})),b(this,"_gtag",(function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];t._testMode||t._isQueuing?t._queueGtag.push(r):n.default.apply(void 0,r)})),b(this,"_loadGA",(function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"https://www.googletagmanager.com/gtag/js";if("undefined"!==typeof window&&"undefined"!==typeof document&&!t._hasLoadedGA){var i=document.createElement("script");i.async=!0,i.src="".concat(n,"?id=").concat(e),r&&i.setAttribute("nonce",r),document.body.appendChild(i),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},t._hasLoadedGA=!0}})),b(this,"_toGtagOptions",(function(e){if(e){var t={cookieUpdate:"cookie_update",cookieExpires:"cookie_expires",cookieDomain:"cookie_domain",cookieFlags:"cookie_flags",userId:"user_id",clientId:"client_id",anonymizeIp:"anonymize_ip",contentGroup1:"content_group1",contentGroup2:"content_group2",contentGroup3:"content_group3",contentGroup4:"content_group4",contentGroup5:"content_group5",allowAdFeatures:"allow_google_signals",allowAdPersonalizationSignals:"allow_ad_personalization_signals",nonInteraction:"non_interaction",page:"page_path",hitCallback:"event_callback"};return Object.entries(e).reduce((function(e,r){var n=h(r,2),i=n[0],o=n[1];return t[i]?e[t[i]]=o:e[i]=o,e}),{})}})),b(this,"initialize",(function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Require GA_MEASUREMENT_ID");var n="string"===typeof e?[{trackingId:e}]:e;t._currentMeasurementId=n[0].trackingId;var i=r.gaOptions,o=r.gtagOptions,a=r.nonce,s=r.testMode,u=void 0!==s&&s,c=r.gtagUrl;if(t._testMode=u,u||t._loadGA(t._currentMeasurementId,a,c),t.isInitialized||(t._gtag("js",new Date),n.forEach((function(e){var r=p(p(p({},t._toGtagOptions(p(p({},i),e.gaOptions))),o),e.gtagOptions);Object.keys(r).length?t._gtag("config",e.trackingId,r):t._gtag("config",e.trackingId)}))),t.isInitialized=!0,!u){var l=f(t._queueGtag);for(t._queueGtag=[],t._isQueuing=!1;l.length;){var d=l.shift();t._gtag.apply(t,f(d)),"get"===d[0]&&(t._isQueuing=!0)}}})),b(this,"set",(function(e){e?"object"===l(e)?(0===Object.keys(e).length&&console.warn("empty `fieldsObject` given to .set()"),t._gaCommand("set",e)):console.warn("Expected `fieldsObject` arg to be an Object"):console.warn("`fieldsObject` is required in .set()")})),b(this,"_gaCommandSendEvent",(function(e,r,n,i,o){t._gtag("event",r,p(p({event_category:e,event_label:n,value:i},o&&{non_interaction:o.nonInteraction}),t._toGtagOptions(o)))})),b(this,"_gaCommandSendEventParameters",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];if("string"===typeof r[0])t._gaCommandSendEvent.apply(t,f(r.slice(1)));else{var i=r[0],a=i.eventCategory,s=i.eventAction,u=i.eventLabel,l=i.eventValue,d=(i.hitType,c(i,o));t._gaCommandSendEvent(a,s,u,l,d)}})),b(this,"_gaCommandSendTiming",(function(e,r,n,i){t._gtag("event","timing_complete",{name:r,value:n,event_category:e,event_label:i})})),b(this,"_gaCommandSendPageview",(function(e,r){if(r&&Object.keys(r).length){var n=t._toGtagOptions(r),i=n.title,o=n.location,s=c(n,a);t._gtag("event","page_view",p(p(p(p({},e&&{page_path:e}),i&&{page_title:i}),o&&{page_location:o}),s))}else e?t._gtag("event","page_view",{page_path:e}):t._gtag("event","page_view")})),b(this,"_gaCommandSendPageviewParameters",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];if("string"===typeof r[0])t._gaCommandSendPageview.apply(t,f(r.slice(1)));else{var i=r[0],o=i.page,a=(i.hitType,c(i,s));t._gaCommandSendPageview(o,a)}})),b(this,"_gaCommandSend",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i="string"===typeof r[0]?r[0]:r[0].hitType;switch(i){case"event":t._gaCommandSendEventParameters.apply(t,r);break;case"pageview":t._gaCommandSendPageviewParameters.apply(t,r);break;case"timing":t._gaCommandSendTiming.apply(t,f(r.slice(1)));break;case"screenview":case"transaction":case"item":case"social":case"exception":console.warn("Unsupported send command: ".concat(i));break;default:console.warn("Send command doesn't exist: ".concat(i))}})),b(this,"_gaCommandSet",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];"string"===typeof r[0]&&(r[0]=b({},r[0],r[1])),t._gtag("set",t._toGtagOptions(r[0]))})),b(this,"_gaCommand",(function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];switch(e){case"send":t._gaCommandSend.apply(t,n);break;case"set":t._gaCommandSet.apply(t,n);break;default:console.warn("Command doesn't exist: ".concat(e))}})),b(this,"ga",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];if("string"===typeof r[0])t._gaCommand.apply(t,r);else{var i=r[0];t._gtag("get",t._currentMeasurementId,"client_id",(function(e){t._isQueuing=!1;var r=t._queueGtag;for(i({get:function(r){return"clientId"===r?e:"trackingId"===r?t._currentMeasurementId:"apiVersion"===r?"1":void 0}});r.length;){var n=r.shift();t._gtag.apply(t,f(n))}})),t._isQueuing=!0}return t.ga})),b(this,"event",(function(e,r){if("string"===typeof e)t._gtag("event",e,t._toGtagOptions(r));else{var n=e.action,o=e.category,a=e.label,s=e.value,u=e.nonInteraction,c=e.transport;if(!o||!n)return void console.warn("args.category AND args.action are required in event()");var l={hitType:"event",eventCategory:(0,i.default)(o),eventAction:(0,i.default)(n)};a&&(l.eventLabel=(0,i.default)(a)),"undefined"!==typeof s&&("number"!==typeof s?console.warn("Expected `args.value` arg to be a Number."):l.eventValue=s),"undefined"!==typeof u&&("boolean"!==typeof u?console.warn("`args.nonInteraction` must be a boolean."):l.nonInteraction=u),"undefined"!==typeof c&&("string"!==typeof c?console.warn("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(c)&&console.warn("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),l.transport=c)),t._gaCommand("send",l)}})),b(this,"send",(function(e){t._gaCommand("send",e)})),this.reset()}var t,r,u;return t=e,r=[{key:"gtag",value:function(){this._gtag.apply(this,arguments)}}],r&&y(t.prototype,r),u&&y(t,u),Object.defineProperty(t,"prototype",{writable:!1}),e}();
74t.GA4=w;var x=new w;t.default=x},76161:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n;"undefined"!==typeof window&&("undefined"===typeof window.gtag&&(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)}),(n=window).gtag.apply(n,t))};t.default=r},49089:function(e,t,r){"use strict";function n(e){return n="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},n(e)}t.ZP=void 0;var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=a?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(i,s,u):i[s]=e[s]}i.default=e,r&&r.set(e,i);return i}(r(41638));function o(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}i.GA4;var a=i.default;t.ZP=a},56421:function(e,t,r){"use strict";var n,i=r(96425),o=(n=i)&&n.__esModule?n:{default:n};var a={tags:function(e){var t=e.id,r=e.events,n=e.dataLayer,i=e.dataLayerName,a=e.preview,s="&gtm_auth="+e.auth,u="&gtm_preview="+a;return t||(0,o.default)("GTM Id is required"),{iframe:'\n      <iframe src="https://www.googletagmanager.com/ns.html?id='+t+s+u+'&gtm_cookies_win=x"\n        height="0" width="0" style="display:none;visibility:hidden" id="tag-manager"></iframe>',script:"\n      (function(w,d,s,l,i){w[l]=w[l]||[];\n        w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js', "+JSON.stringify(r).slice(1,-1)+"});\n        var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';\n        j.async=true;
74j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl+'"+s+u+"&gtm_cookies_win=x';\n        f.parentNode.insertBefore(j,f);\n      })(window,document,'script','"+i+"','"+t+"');",dataLayerVar:this.dataLayer(n,i)}},dataLayer:function(e,t){return"\n      window."+t+" = window."+t+" || [];\n      window."+t+".push("+JSON.stringify(e)+")"}};e.exports=a},58676:function(e,t,r){"use strict";var n,i=r(56421),o=(n=i)&&n.__esModule?n:{default:n};var a={dataScript:function(e){var t=document.createElement("script");return t.innerHTML=e,t},gtm:function(e){var t=o.default.tags(e);return{noScript:function(){var e=document.createElement("noscript");return e.innerHTML=t.iframe,e},script:function(){var e=document.createElement("script");return e.innerHTML=t.script,e},dataScript:this.dataScript(t.dataLayerVar)}},initialize:function(e){var t=e.gtmId,r=e.events,n=void 0===r?{}:r,i=e.dataLayer,o=e.dataLayerName,a=void 0===o?"dataLayer":o,s=e.auth,u=void 0===s?"":s,c=e.preview,l=void 0===c?"":c,f=this.gtm({id:t,events:n,dataLayer:i||void 0,dataLayerName:a,auth:u,preview:l});i&&document.head.appendChild(f.dataScript),document.head.insertBefore(f.script(),document.head.childNodes[0]),document.body.insertBefore(f.noScript(),document.body.childNodes[0])},dataLayer:function(e){var t=e.dataLayer,r=e.dataLayerName,n=void 0===r?"dataLayer":r;if(window[n])return window[n].push(t);var i=o.default.dataLayer(t,n),a=this.dataScript(i);document.head.insertBefore(a,document.head.childNodes[0])}};e.exports=a},1785:function(e,t,r){"use strict";var n,i=r(58676),o=(n=i)&&n.__esModule?n:{default:n};e.exports=o.default},96425:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){console.warn("[react-gtm]",e)}},79593:function(e,t){"use strict";var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler");Symbol.for("react.provider");var s=Symbol.for("react.consumer"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");function m(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case a:case o:case l:case f:case h:return e;default:switch(e=e&&e.$$typeof){case u:case c:case p:case d:case s:return e;default:return t}}case n:return t}}}t.iY=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===a||e===o||e===l||e===f||"object"===typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===u||e.$$typeof===s||e.$$typeof===c||e.$$typeof===g||void 0!==e.getModuleId)},t.kM=m},73350:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(63366),i=r(87462),o=r(97326),a=r(75068),s=r(67294),u=r(220);function c(e,t){var r=Object.create(null);return e&&s.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return t&&(0,s.isValidElement)(e)?t(e):e}(e)})),r}function l(e,t,r){return null!=r[t]?r[t]:e.props[t]}function f(e,t,r){var n=c(e.children),i=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in t){if(i[u])for(n=0;n<i[u].length;n++){var c=i[u][n];s[i[u][n]]=r(c)}s[u]=r(u)}for(n=0;n<o.length;n++)s[o[n]]=r(o[n]);return s}(t,n);
74return Object.keys(i).forEach((function(o){var a=i[o];if((0,s.isValidElement)(a)){var u=o in t,c=o in n,f=t[o],d=(0,s.isValidElement)(f)&&!f.props.in;!c||u&&!d?c||!u||d?c&&u&&(0,s.isValidElement)(f)&&(i[o]=(0,s.cloneElement)(a,{onExited:r.bind(null,a),in:f.props.in,exit:l(a,"exit",e),enter:l(a,"enter",e)})):i[o]=(0,s.cloneElement)(a,{in:!1}):i[o]=(0,s.cloneElement)(a,{onExited:r.bind(null,a),in:!0,exit:l(a,"exit",e),enter:l(a,"enter",e)})}})),i}var d=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},p=function(e){function t(t,r){var n,i=(n=e.call(this,t,r)||this).handleExited.bind((0,o.Z)(n));return n.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},n}(0,a.Z)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,i=t.children,o=t.handleExited;return{children:t.firstRender?(r=e,n=o,c(r.children,(function(e){return(0,s.cloneElement)(e,{onExited:n.bind(null,e),in:!0,appear:l(e,"appear",r),enter:l(e,"enter",r),exit:l(e,"exit",r)})}))):f(e,i,o),firstRender:!1}},r.handleExited=function(e,t){var r=c(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=(0,i.Z)({},t.children);return delete r[e.key],{children:r}})))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,i=(0,n.Z)(e,["component","childFactory"]),o=this.state.contextValue,a=d(this.state.children).map(r);return delete i.appear,delete i.enter,delete i.exit,null===t?s.createElement(u.Z.Provider,{value:o},a):s.createElement(u.Z.Provider,{value:o},s.createElement(t,i,a))},t}(s.Component);p.propTypes={},p.defaultProps={component:"div",childFactory:function(e){return e}};var h=p},220:function(e,t,r){"use strict";var n=r(67294);t.Z=n.createContext(null)},96774:function(e){e.exports=function(e,t,r,n){var i=r?r.call(n,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),u=0;u<o.length;u++){var c=o[u];if(!s(c))return!1;var l=e[c],f=t[c];if(!1===(i=r?r.call(n,l,f,c):void 0)||void 0===i&&l!==f)return!1}return!0}},80500:function(e){"use strict";e.exports=(e,t)=>{if("string"!==typeof e||"string"!==typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const r=e.indexOf(t);return-1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},70610:function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},186:function(e,t,r){"use strict";r.r(t),r.d(t,{ServerStyleSheet:function(){return Be},StyleSheetConsumer:function(){return ie},StyleSheetContext:function(){return ne},StyleSheetManager:function(){return le},ThemeConsumer:function(){return je},ThemeContext:function(){return Pe},ThemeProvider:function(){return Ie},__PRIVATE__:function(){return qe},createGlobalStyle:function(){return De},css:function(){return we},default:function(){return ze},isStyledComponent:function(){return w},keyframes:function(){return Fe},useTheme:function(){return $e},version:function(){return S},withTheme:function(){return Ze}});var n=r(79593),i=r(67294),o=r(96774),a=r.n(o);var s=function(e){function t(e,n,u,c,d){for(var p,h,g,m,w,S=0,k=0,E=0,_=0,O=0,j=0,L=g=p=0,M=0,U=0,D=0,F=0,B=u.length,Z=B-1,$="",q="",z="",H="";M<B;){if(h=u.charCodeAt(M),M===Z&&0!==k+_+E+S&&(0!==k&&(h=47===k?10:47),_=E=S=0,B++,Z++),0===k+_+E+S){if(M===Z&&(0<U&&($=$.replace(f,"")),0<$.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:$+=u.charAt(M)}h=59}switch(h){case 123:for(p=($=$.trim()).charCodeAt(0),g=1,F=++M;M<B;){switch(h=u.charCodeAt(M)){case 123:g++;break;case 125:g--;break;case 47:switch(h=u.charCodeAt(M+1)){case 42:case 47:e:{for(L=M+1;L<Z;++L)switch(u.charCodeAt(L)){case 47:if(42===h&&42===u.charCodeAt(L-1)&&M+2!==L){M=L+1;break e}break;case 10:if(47===h){M=L+1;break e}}M=L}}break;case 91:h++;case 40:h++;case 34:case 39:for(;M++<Z&&u.charCodeAt(M)!==h;);}if(0===g)break;M++}if(g=u.substring(F,M),0===p&&(p=($=$.replace(l,"").trim()).charCo
vendor: 4,088 bytes, line 74
74deAt(0)),64===p){switch(0<U&&($=$.replace(f,"")),h=$.charCodeAt(1)){case 100:case 109:case 115:case 45:U=n;break;default:U=P}if(F=(g=t(n,U,g,h,d+1)).length,0<I&&(w=s(3,g,U=r(P,$,D),n,T,A,F,h,d,c),$=U.join(""),void 0!==w&&0===(F=(g=w.trim()).length)&&(h=0,g="")),0<F)switch(h){case 115:$=$.replace(x,a);case 100:case 109:case 45:g=$+"{"+g+"}";break;case 107:g=($=$.replace(y,"$1 $2"))+"{"+g+"}",g=1===R||2===R&&o("@"+g,3)?"@-webkit-"+g+"@"+g:"@"+g;break;default:g=$+g,112===c&&(q+=g,g="")}else g=""}else g=t(n,r(n,$,D),g,c,d+1);z+=g,g=D=U=L=p=0,$="",h=u.charCodeAt(++M);break;case 125:case 59:if(1<(F=($=(0<U?$.replace(f,""):$).trim()).length))switch(0===L&&(p=$.charCodeAt(0),45===p||96<p&&123>p)&&(F=($=$.replace(" ",":")).length),0<I&&void 0!==(w=s(1,$,n,e,T,A,q.length,c,d,c))&&0===(F=($=w.trim()).length)&&($="\0\0"),p=$.charCodeAt(0),h=$.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){H+=$+u.charAt(M);break}default:58!==$.charCodeAt(F-1)&&(q+=i($,p,h,$.charCodeAt(2)))}D=U=L=p=0,$="",h=u.charCodeAt(++M)}}switch(h){case 13:case 10:47===k?k=0:0===1+p&&107!==c&&0<$.length&&(U=1,$+="\0"),0<I*N&&s(0,$,n,e,T,A,q.length,c,d,c),A=1,T++;break;case 59:case 125:if(0===k+_+E+S){A++;break}default:switch(A++,m=u.charAt(M),h){case 9:case 32:if(0===_+S+k)switch(O){case 44:case 58:case 9:case 32:m="";break;default:32!==h&&(m=" ")}break;case 0:m="\\0";break;case 12:m="\\f";break;case 11:m="\\v";break;case 38:0===_+k+S&&(U=D=1,m="\f"+m);break;case 108:if(0===_+k+S+C&&0<L)switch(M-L){case 2:112===O&&58===u.charCodeAt(M-3)&&(C=O);case 8:111===j&&(C=j)}break;case 58:0===_+k+S&&(L=M);break;case 44:0===k+E+_+S&&(U=1,m+="\r");break;case 34:case 39:0===k&&(_=_===h?0:0===_?h:_);break;case 91:0===_+k+E&&S++;break;case 93:0===_+k+E&&S--;break;case 41:0===_+k+S&&E--;break;case 40:if(0===_+k+S){if(0===p)if(2*O+3*j===533);else p=1;E++}break;case 64:0===k+E+_+S+L+g&&(g=1);break;case 42:case 47:if(!(0<_+S+E))switch(k){case 0:switch(2*h+3*u.charCodeAt(M+1)){case 235:k=47;break;case 220:F=M,k=42}break;case 42:47===h&&42===O&&F+2!==M&&(33===u.charCodeAt(F+2)&&(q+=u.substring(F,M+1)),m="",k=0)}}0===k&&($+=m)}j=O,O=h,M++}if(0<(F=q.length)){if(U=n,0<I&&(void 0!==(w=s(2,q,U,e,T,A,F,c,d,c))&&0===(q=w).length))return H+q+z;if(q=U.join(",")+"{"+q+"}",0!==R*C){switch(2!==R||o(q,2)||(C=0),C){case 111:q=q.replace(v,":-moz-$1")+q;break;case 112:q=q.replace(b,"::-webkit-input-$1")+q.replace(b,"::-moz-$1")+q.replace(b,":-ms-input-$1")+q}C=0}}return H+q+z}function r(e,t,r){var i=t.trim().split(g);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=n(e,t[s],r).trim();break;default:var u=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[u++]=n(e[c]+" ",i[s],r).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,r,n){var a=e+";",s=2*t+3*r+4*n;if(944===s){e=a.indexOf(":",9)+1;var u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===R||2===R&&o(u,1)?"-webkit-"+u+u:u}if(0===R||2===R&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(O,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;
vendor: 6,332 bytes, line 74
74case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return p.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=a.replace(w,"tb");break;case 232:u=a.replace(w,"tb-rl");break;case 220:u=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(u=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(k,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(k,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===_.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===r+n&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function o(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),L(2!==t?n:n.replace(E,"$1"),r,t)}function a(e,t){var r=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(S," or ($1)").substring(4):"("+t+")"}function s(e,t,r,n,i,o,a,s,u,l){for(var f,d=0,p=t;d<I;++d)switch(f=j[d].call(c,e,p,r,n,i,o,a,s,u,l)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function u(e){return void 0!==(e=e.prefix)&&(L=null,e?"function"!==typeof e?R=1:(R=2,L=e):R=0),u}function c(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<I){var i=s(-1,r,n,n,T,A,0,0,0,0);void 0!==i&&"string"===typeof i&&(r=i)}var o=t(P,n,r,0,0);return 0<I&&(void 0!==(i=s(-2,o,n,n,T,A,o.length,0,0,0))&&(o=i)),"",C=0,A=T=1,o}var l=/^\0+/g,f=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,g=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,v=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,k=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,_=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,A=1,T=1,C=0,R=1,P=[],j=[],I=0,L=null,N=0;return c.use=function e(t){switch(t){case void 0:case null:I=j.length=0;break;default:if("function"===typeof t)j[I++]=t;else if("object"===typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else N=0|!!t}return e},c.set=u,void 0!==e&&u(e),c},u={animationIterationCount: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},c=r(71068),l=r(8679),f=r.n(l),d=r(34155);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var h=function(e,t){for(var r=[e[0]],n=0,i=t.length;n<i;n+=1)r.push(t[n],e[n+1]);return r},g=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,n.kM)(e)},m=Object.freeze([]),y=Object.freeze({});function b(e){return"function"==typeof e}function v(e){return e.displayName||e.name||"Component"}function w(e){return e&&"string"==typeof e.styledComponentId}var x="undefined"!=typeof d&&void 0!==d.env&&(d.env.REACT_APP_SC_ATTR||d.env.SC_ATTR)||"data-styled",S="5.3.11",k="undefined"!=typeof window&&"HTMLElement"in window,E=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof d&&void 0!==d.env&&(void 0!==d.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==d.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==d.env.REACT_APP_SC_DISABLE_SPEEDY&&d.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==d.env.SC_DISABLE_SPEEDY&&""!==d.env.SC_DISABLE_SPEEDY&&("false"!==d.env.SC_DISABLE_SPEEDY&&d.env.SC_DISABLE_SPEEDY))),_={};function O(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var A=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,i=n;e>=i;)(i<<=1)<0&&O(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var o=n;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,u=t.length;s<u;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var i=r;i<n;i++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),i=n+r,o=n;o<i;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),T=new Map,C=new Map,R=1,P=function(e){if(T.has(e))return T.get(e);for(;C.has(R);)R++;var t=R++;
vendor: 5,985 bytes, line 74
74return T.set(e,t),C.set(t,e),t},j=function(e){return C.get(e)},I=function(e,t){t>=R&&(R=t+1),T.set(e,t),C.set(t,e)},L="style["+x+'][data-styled-version="5.3.11"]',N=new RegExp("^"+x+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),M=function(e,t,r){for(var n,i=r.split(","),o=0,a=i.length;o<a;o++)(n=i[o])&&e.registerName(t,n)},U=function(e,t){for(var r=(t.textContent||"").split("/*!sc*/\n"),n=[],i=0,o=r.length;i<o;i++){var a=r[i].trim();if(a){var s=a.match(N);if(s){var u=0|parseInt(s[1],10),c=s[2];0!==u&&(I(c,u),M(e,c,s[3]),e.getTag().insertRules(u,n)),n.length=0}else n.push(a)}}},D=function(){return r.nc},F=function(e){var t=document.head,r=e||t,n=document.createElement("style"),i=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(x))return n}}(r),o=void 0!==i?i.nextSibling:null;n.setAttribute(x,"active"),n.setAttribute("data-styled-version","5.3.11");var a=D();return a&&n.setAttribute("nonce",a),r.insertBefore(n,o),n},B=function(){function e(e){var t=this.element=F(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var i=t[r];if(i.ownerNode===e)return i}O(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),Z=function(){function e(e){var t=this.element=F(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),$=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),q=k,z={isServer:!k,useCSSOMInjection:!E},H=function(){function e(e,t,r){void 0===e&&(e=y),void 0===t&&(t={}),this.options=p({},z,{},e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&k&&q&&(q=!1,function(e){for(var t=document.querySelectorAll(L),r=0,n=t.length;r<n;r++){var i=t[r];i&&"active"!==i.getAttribute(x)&&(U(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return P(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(p({},this.options,{},t),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(r=(t=this.options).isServer,n=t.useCSSOMInjection,i=t.target,e=r?new $(i):n?new B(i):new Z(i),new A(e)));var e,t,r,n,i},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(P(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(P(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(P(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",i=0;i<r;i++){var o=j(i);if(void 0!==o){var a=e.names.get(o),s=t.getGroup(i);if(a&&s&&a.size){var u=x+".g"+i+'[id="'+o+'"]',c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+=e+",")})),n+=""+s+u+'{content:"'+c+'"}/*!sc*/\n'}}}return n}(this)},e}(),G=/(a)(d)/gi,W=function(e){return String.fromCharCode(e+(e>25?39:97))};function V(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=W(t%52)+r;return(W(t%52)+r).replace(G,"$1-$2")}var K=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Y=function(e){return K(5381,e)};function Q(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(b(r)&&!w(r))return!1}return!0}var J=Y("5.3.11"),X=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&Q(e),this.componentId=t,this.baseHash=K(J,t),this.baseStyle=r,H.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))i.push(this.staticRulesId);else{var o=be(this.rules,e,t,r).join(""),a=V(K(this.baseHash,o)>>>0);if(!t.hasNameForId(n,a)){var s=r(o,"."+a,void 0,n);t.insertRules(n,a,s)}i.push(a),this.staticRulesId=a}else{for(var u=this.rules.length,c=K(this.baseHash,r.hash),l="",f=0;f<u;f++){var d=this.rules[f];if("string"==typeof d)l+=d;else if(d){var p=be(d,e,t,r),h=Array.isArray(p)?p.join(""):p;c=K(c,h+f),l+=h}}if(l){var g=V(c>>>0);if(!t.hasNameForId(n,g)){var m=r(l,"."+g,void 0,n);t.insertRules(n,g,m)}i.push(g)}}return i.join(" ")},e}(),ee=/^\s*\/\/.*$/gm,te=[":","[",".","#"];function re(e){var t,r,n,i,o=void 0===e?y:e,a=o.options,u=void 0===a?y:a,c=o.plugins,l=void 0===c?m:c,f=new s(u),d=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,i,o,a,s,u,c,l,f){switch(r){case 1:if(0===l&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===c)return n+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(i[0]+n),"";default:return n+(0===f?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),h=function(e,n,o){return 0===n&&-1!==te.indexOf(o[r.length])||o.match(i)?e:"."+t};function g(e,o,a,s){void 0===s&&(s="&");var u=e.replace(ee,""),c=o&&a?a+" "+o+" { "+u+" }":u;
74return t=s,r=o,n=new RegExp("\\"+r+"\\b","g"),i=new RegExp("(\\"+r+"\\b){2,}"),f(a||!o?"":o,c)}return f.use([].concat(l,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(r)>0&&(i[0]=i[0].replace(n,h))},p,function(e){if(-2===e){var t=d;return d=[],t}}])),g.hash=l.length?l.reduce((function(e,t){return t.name||O(15),K(e,t.name)}),5381).toString():"",g}var ne=i.createContext(),ie=ne.Consumer,oe=i.createContext(),ae=(oe.Consumer,new H),se=re();function ue(){return(0,i.useContext)(ne)||ae}function ce(){return(0,i.useContext)(oe)||se}function le(e){var t=(0,i.useState)(e.stylisPlugins),r=t[0],n=t[1],o=ue(),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]),u=(0,i.useMemo)((function(){return re({options:{prefix:!e.disableVendorPrefixes},plugins:r})}),[e.disableVendorPrefixes,r]);return(0,i.useEffect)((function(){a()(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]),i.createElement(ne.Provider,{value:s},i.createElement(oe.Provider,{value:u},e.children))}var fe=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=se);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return O(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=se),this.name+e.hash},e}(),de=/([A-Z])/,pe=/([A-Z])/g,he=/^ms-/,ge=function(e){return"-"+e.toLowerCase()};function me(e){return de.test(e)?e.replace(pe,ge).replace(he,"-ms-"):e}var ye=function(e){return null==e||!1===e||""===e};function be(e,t,r,n){if(Array.isArray(e)){for(var i,o=[],a=0,s=e.length;a<s;a+=1)""!==(i=be(e[a],t,r,n))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return ye(e)?"":w(e)?"."+e.styledComponentId:b(e)?"function"!=typeof(c=e)||c.prototype&&c.prototype.isReactComponent||!t?e:be(e(t),t,r,n):e instanceof fe?r?(e.inject(r,n),e.getName(n)):e:g(e)?function e(t,r){var n,i,o=[];for(var a in t)t.hasOwnProperty(a)&&!ye(t[a])&&(Array.isArray(t[a])&&t[a].isCss||b(t[a])?o.push(me(a)+":",t[a],";"):g(t[a])?o.push.apply(o,e(t[a],a)):o.push(me(a)+": "+(n=a,(null==(i=t[a])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||n in u||n.startsWith("--")?String(i).trim():i+"px")+";")));return r?[r+" {"].concat(o,["}"]):o}(e):e.toString();var c}var ve=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function we(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return b(e)||g(e)?ve(be(h(m,[e].concat(r)))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:ve(be(h(e,r)))}new Set;var xe=function(e,t,r){return void 0===r&&(r=y),e.theme!==r.theme&&e.theme||t||r.theme},Se=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ke=/(^-|-$)/g;function Ee(e){return e.replace(Se,"-").replace(ke,"")}var _e=function(e){return V(Y(e)>>>0)};function Oe(e){return"string"==typeof e&&!0}var Ae=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Te=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ce(e,t,r){var n=e[r];Ae(t)&&Ae(n)?Re(n,t):e[r]=t}function Re(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var i=0,o=r;i<o.length;i++){var a=o[i];if(Ae(a))for(var s in a)Te(s)&&Ce(e,a[s],s)}return e}var Pe=i.createContext(),je=Pe.Consumer;function Ie(e){var t=(0,i.useContext)(Pe),r=(0,i.useMemo)((function(){return function(e,t){return e?b(e)?e(t):Array.isArray(e)||"object"!=typeof e?O(8):t?p({},t,{},e):e:O(14)}(e.theme,t)}),[e.theme,t]);return e.children?i.createElement(Pe.Provider,{value:r},e.children):null}var Le={};function Ne(e,t,r){var n=w(e),o=!Oe(e),a=t.attrs,s=void 0===a?m:a,u=t.componentId,l=void 0===u?function(e,t){var r="string"!=typeof e?"sc":Ee(e);Le[r]=(Le[r]||0)+1;var n=r+"-"+_e("5.3.11"+r+Le[r]);return t?t+"-"+n:n}(t.displayName,t.parentComponentId):u,d=t.displayName,h=void 0===d?function(e){return Oe(e)?"styled."+e:"Styled("+v(e)+")"}(e):d,g=t.displayName&&t.componentId?Ee(t.displayName)+"-"+t.componentId:t.componentId||l,x=n&&e.attrs?Array.prototype.concat(e.attrs,s).filter(
74Boolean):s,S=t.shouldForwardProp;n&&e.shouldForwardProp&&(S=t.shouldForwardProp?function(r,n,i){return e.shouldForwardProp(r,n,i)&&t.shouldForwardProp(r,n,i)}:e.shouldForwardProp);var k,E=new X(r,g,n?e.componentStyle:void 0),_=E.isStatic&&0===s.length,O=function(e,t){return function(e,t,r,n){var o=e.attrs,a=e.componentStyle,s=e.defaultProps,u=e.foldedComponentIds,l=e.shouldForwardProp,f=e.styledComponentId,d=e.target,h=function(e,t,r){void 0===e&&(e=y);var n=p({},t,{theme:e}),i={};return r.forEach((function(e){var t,r,o,a=e;for(t in b(a)&&(a=a(n)),a)n[t]=i[t]="className"===t?(r=i[t],o=a[t],r&&o?r+" "+o:r||o):a[t]})),[n,i]}(xe(t,(0,i.useContext)(Pe),s)||y,t,o),g=h[0],m=h[1],v=function(e,t,r,n){var i=ue(),o=ce();return t?e.generateAndInjectStyles(y,i,o):e.generateAndInjectStyles(r,i,o)}(a,n,g),w=r,x=m.$as||t.$as||m.as||t.as||d,S=Oe(x),k=m!==t?p({},t,{},m):t,E={};for(var _ in k)"$"!==_[0]&&"as"!==_&&("forwardedAs"===_?E.as=k[_]:(l?l(_,c.Z,x):!S||(0,c.Z)(_))&&(E[_]=k[_]));return t.style&&m.style!==t.style&&(E.style=p({},t.style,{},m.style)),E.className=Array.prototype.concat(u,f,v!==f?v:null,t.className,m.className).filter(Boolean).join(" "),E.ref=w,(0,i.createElement)(x,E)}(k,e,t,_)};return O.displayName=h,(k=i.forwardRef(O)).attrs=x,k.componentStyle=E,k.displayName=h,k.shouldForwardProp=S,k.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):m,k.styledComponentId=g,k.target=n?e.target:e,k.withComponent=function(e){var n=t.componentId,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(t,["componentId"]),o=n&&n+"-"+(Oe(e)?e:Ee(v(e)));return Ne(e,p({},i,{attrs:x,componentId:o}),r)},Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?Re({},e.defaultProps,t):t}}),Object.defineProperty(k,"toString",{value:function(){return"."+k.styledComponentId}}),o&&f()(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),k}var Me=function(e){return function e(t,r,i){if(void 0===i&&(i=y),!(0,n.iY)(r))return O(1,String(r));var o=function(){return t(r,i,we.apply(void 0,arguments))};return o.withConfig=function(n){return e(t,r,p({},i,{},n))},o.attrs=function(n){return e(t,r,p({},i,{attrs:Array.prototype.concat(i.attrs,n).filter(Boolean)}))},o}(Ne,e)};["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","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Me[e]=Me(e)}));var Ue=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Q(e),H.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,r,n){var i=n(be(this.rules,t,r,n).join(""),""),o=this.componentId+e;r.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,r,n){e>2&&H.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function De(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=we.apply(void 0,[e].concat(r)),a="sc-global-"+_e(JSON.stringify(o)),s=new Ue(o,a);function u(e){var t=ue(),r=ce(),n=(0,i.useContext)(Pe),o=(0,i.useRef)(t.allocateGSInstance(a)).current;return t.server&&c(o,e,t,n,r),(0,i.useLayoutEffect)((function(){if(!t.server)return c(o,e,t,n,r),function(){return s.removeStyles(o,t)}}),[o,e,t,n,r]),null}function c(e,t,r,n,i){if(s.isStatic)s.renderStyles(e,_,r,i);else{var o=p({},t,{theme:xe(t,n,u.defaultProps)});s.renderStyles(e,o,r,i)}}return i.memo(u)}function Fe(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=we.apply(void 0,[e].concat(r)).join(""),o=_e(i);return new fe(o,i)}var Be=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=D();return"<style "+[r&&'nonce="'+r+'"',x+'="true"','data-styled-version="5.3.11"'].filter(
74Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?O(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return O(2);var r=((t={})[x]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=D();return n&&(r.nonce=n),[i.createElement("style",p({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new H({isServer:!0}),this.sealed=!1}var t=e.prototype;return t.collectStyles=function(e){return this.sealed?O(2):i.createElement(le,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return O(3)},e}(),Ze=function(e){var t=i.forwardRef((function(t,r){var n=(0,i.useContext)(Pe),o=e.defaultProps,a=xe(t,n,o);return i.createElement(e,p({},t,{theme:a,ref:r}))}));return f()(t,e),t.displayName="WithTheme("+v(e)+")",t},$e=function(){return(0,i.useContext)(Pe)},qe={StyleSheet:H,masterSheet:ae},ze=Me},17704:function(e,t,r){"use strict";t.Fv=void 0;var n=r(186),i=(0,n.css)(['html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0;}main{display:block;}h1{font-size:2em;margin:0.67em 0;}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace,monospace;font-size:1em;}a{background-color:transparent;}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder;}code,kbd,samp{font-family:monospace,monospace;font-size:1em;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sub{bottom:-0.25em;}sup{top:-0.5em;}img{border-style:none;}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible;}button,select{text-transform:none;}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button;}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0;}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText;}fieldset{padding:0.35em 0.75em 0.625em;}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline;}textarea{overflow:auto;}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0;}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto;}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px;}[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block;}summary{display:list-item;}template{display:none;}[hidden]{display:none;}']);t.Fv=i;var o=(0,n.createGlobalStyle)(i);o.displayName="Normalize"},42238:function(e,t,r){var n;!function(i,o){"use strict";var a="function",s="undefined",u="object",c="string",l="major",f="model",d="name",p="type",h="vendor",g="version",m="architecture",y="console",b="mobile",v="tablet",w="smarttv",x="wearable",S="embedded",k="Amazon",E="Apple",_="ASUS",O="BlackBerry",A="Firefox",T="Google",C="Honor",R="Huawei",P="LG",j="Microsoft",I="Motorola",L="Nvidia",N="OnePlus",M="Opera",U="OPPO",D="Samsung",F="Sharp",B="Sony",Z="Xiaomi",$="Zebra",q="Facebook",z="Chromium OS",H="Mac OS",G=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},W=function(e,t){return typeof e===c&&-1!==V(t).indexOf(V(e))},V=function(e){return e.toLowerCase()},K=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},Y=function(e,t){for(var r,n,i,s,c,l,f=0;f<t.length&&!c;){var d=t[f],p=t[f+1];for(r=n=0;r<d.length&&!c&&d[r];)if(c=d[r++].exec(e))for(i=0;i<p.length;i++)l=c[++n],typeof(s=p[i])===u&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):o:this[s[0]]=l?s[1].call(this,l,s[2]):o:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):o):this[s]=l||o;f+=2}},Q=function(e,t){for(var r in t)if(typeof t[r]===u&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(W(t[r][n],e))return"?"===r?o:r}
74else if(W(t[r],e))return"?"===r?o:r;return t.hasOwnProperty("*")?t["*"]:e},J={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},X={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[d,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[d,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[d,g],[/opios[\/ ]+([\w\.]+)/i],[g,[d,"Opera Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[g,[d,"Opera GX"]],[/\bopr\/([\w\.]+)/i],[g,[d,M]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[g,[d,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[g,[d,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[d,g],[/quark(?:pc)?\/([-\w\.]+)/i],[g,[d,"Quark"]],[/\bddg\/([\w\.]+)/i],[g,[d,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[d,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[g,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[d,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[d,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[d,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[g,[d,"Smart Lenovo Browser"]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure Browser"],g],[/\bfocus\/([\w\.]+)/i],[g,[d,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[g,[d,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[d,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[d,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[g,[d,A]],[/\bqihoobrowser\/?([\w\.]*)/i],[g,[d,"360"]],[/\b(qq)\/([\w\.]+)/i],[[d,/(.+)/,"$1Browser"],g],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1 Browser"],g],[/samsungbrowser\/([\w\.]+)/i],[g,[d,"Samsung Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[g,[d,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[d,"Sogou Mobile"],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[d,g],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[d],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[g,d],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[d,q],g],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[d,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[d,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[g,[d,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[d,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[d,"Chrome WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[d,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[d,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[d,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,d],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[d,[g,Q,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[d,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[d,"Netscape"],g],[/(wolvic|librewolf)\/([\w\.]+)/i],[d,g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[d,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[d,[g,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[d,[g,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[m,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[m,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[m,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[m,/ower/,"",V]],[/ sun4\w[;\)]/i],[[m,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;
vendor: 8,018 bytes, line 74
74|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[m,V]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[h,D],[p,v]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[f,[h,D],[p,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[h,E],[p,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[h,E],[p,v]],[/(macintosh);/i],[f,[h,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[h,F],[p,b]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[f,[h,C],[p,v]],[/honor([-\w ]+)[;\)]/i],[f,[h,C],[p,b]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[f,[h,R],[p,v]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[h,R],[p,b]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[f,/_/g," "],[h,Z],[p,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[f,/_/g," "],[h,Z],[p,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[h,U],[p,b]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[f,[h,Q,{OnePlus:["304","403","203"],"*":U}],[p,v]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[h,"Vivo"],[p,b]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[f,[h,"Realme"],[p,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[h,I],[p,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[h,I],[p,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[h,P],[p,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[h,P],[p,b]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[f,[h,"Lenovo"],[p,v]],[/(nokia) (t[12][01])/i],[h,f,[p,v]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[f,/_/g," "],[p,b],[h,"Nokia"]],[/(pixel (c|tablet))\b/i],[f,[h,T],[p,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[h,T],[p,b]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[h,B],[p,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[h,B],[p,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[h,N],[p,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[h,k],[p,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[h,k],[p,b]],[/(playbook);[-\w\),; ]+(rim)/i],[f,h,[p,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[h,O],[p,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[h,_],[p,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[h,_],[p,b]],[/(nexus 9)/i],[f,[h,"HTC"],[p,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[f,/_/g," "],[p,b]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[f,[h,"TCL"],[p,v]],[/(itel) ((\w+))/i],[[h,V],f,[p,Q,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[h,"Acer"],[p,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[h,"Meizu"],[p,b]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[f,[h,"Ulefone"],[p,b]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[f,[h,"Energizer"],[p,b]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[f,[h,"Cat"],[p,b]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[f,[h,"Smartfren"],[p,b]],[/droid.+; (a(?:015|06[35]|142p?))/i],[f,[h,"Nothing"],[p,b]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[f,[h,"Archos"],[p,v]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[f,[h,"Archos"],[p,b]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[h,f,[p,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[h,f,[p,b]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,f,[p,v]],[/(surface duo)/i],[f,[h,j],[p,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[h,"Fairphone"],[p,b]],[/(u304aa)/i],[f,[h,"AT&T"],[p,b]],[/\bsie-(\w*)/i],[f,[h,"Siemens"],[p,b]],[/\b(rct\w+) b/i],[f,[h,"RCA"],[p,v]],[/\b(venue[\d ]{2,7}) b/i],[f,[h,"Dell"],[p,v]],[/\b(q(?:mv|ta)\w+) b/i],[f,[h,"Verizon"],[p,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[h,"Barnes & Noble"],[p,v]],[/\b(tm\d{3}\w+) b/i],[f,[h,"NuVision"],[p,v]],[/\b(k88) b/i],[f,[h,"ZTE"],[p,v]],[/\b(nx\d{3}j) b/i],[f,[h,"ZTE"],[p,b]],[/\b(gen\d{3}) b.+49h/i],[f,[h,"Swiss"],[p,b]],[/\b(zur\d{3}) b/i],[f,[h,"Swiss"],[p,v]],[/\b((zeki)?tb.*\b) b/i],[f,[h,"Zeki"],[p,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],f,[p,v]],[/\b(ns-?\w{0,9}) b/i],[f,[h,"Insignia"],[p,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[h,"NextBook"],[p,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],f,[p,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],f,[p,b]],[/\b(ph-1) /i],[f,[h,"Essential"],[p,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[h,"Envizen"],[p,v]],[/\b(trio[-\w\. ]+) b/i],[f,[h,"MachSpeed"],[p,v]],[/\btu_(1491) b/i],[f,[h,"Rotor"],[p,v]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[f,[h,L],[p,v]],[/(sprint) (\w+)/i],[h,f,[p,b]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[h,j],[p,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[h,$],[p,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[h,$],[p,b]],[/smart-tv.+(samsung)/i],[h,[p,w]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[h,D],[p,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,P],[p,w]],[/(apple) ?tv/i],[h,[f,"Apple TV"],[p,w]],[/crkey/i],[[f,"Chromecast"],[h,T],[p,w]],[/droid.+aft(\w+)( bui|\))/i],[f,[h,k],[p,w]],[/(shield \w+ tv)/i],[f,[h,L],[p,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[h,F],[p,w]],[/(bravia[\w ]+)( bui|\))/i],[f,[h,B],[p,w]],[/(mi(tv|box)-?\w+) bui/i],[f,[h,Z],[p,w]],[/Hbbtv.*(technisat) (.*);/i],[h,f,[p,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,K],[f,K],[p,w]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[f,[p,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,f,[p,y]],[/droid.+; (shield)( bui|\))/i],[f,[h,L],[p,y]],[/(playstation \w+)/i],[f,[h,B],[p,y]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[h,j],[p,y]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[f,[h,D],[p,x]],[/((pebble))app/i,/(asu
74s|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[h,f,[p,x]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[f,[h,U],[p,x]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[h,E],[p,x]],[/(opwwe\d{3})/i],[f,[h,N],[p,x]],[/(moto 360)/i],[f,[h,I],[p,x]],[/(smartwatch 3)/i],[f,[h,B],[p,x]],[/(g watch r)/i],[f,[h,P],[p,x]],[/droid.+; (wt63?0{2,3})\)/i],[f,[h,$],[p,x]],[/droid.+; (glass) \d/i],[f,[h,T],[p,x]],[/(pico) (4|neo3(?: link|pro)?)/i],[h,f,[p,x]],[/; (quest( \d| pro)?)/i],[f,[h,q],[p,x]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[p,S]],[/(aeobc)\b/i],[f,[h,k],[p,S]],[/(homepod).+mac os/i],[f,[h,E],[p,S]],[/windows iot/i],[[p,S]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[f,[p,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[p,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,b]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[f,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[d,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[d,g],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[d,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[d,g],[/ladybird\//i],[[d,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,g],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[d,[g,Q,J]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,Q,J],[d,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[d,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[d,H],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,d],[/(ubuntu) ([\w\.]+) like android/i],[[d,/(.+)/,"$1 Touch"],g],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[d,g],[/\(bb(10);/i],[g,[d,O]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[g,[d,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[d,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[d,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[d,"watchOS"]],[/crkey\/([\d\.]+)/i],[g,[d,"Chromecast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[d,z],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[d,g],[/(sunos) ?([\w\.\d]*)/i],[[d,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[d,g]]},ee=function(e,t){if(typeof e===u&&(t=e,e=o),!(this instanceof ee))return new ee(e,t).getResult();var r=typeof i!==s&&i.navigator?i.navigator:o,n=e||(r&&r.userAgent?r.userAgent:""),l=r&&r.userAgentData?r.userAgentData:o,f=t?function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2===0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r}(X,t):X,d=r&&r.userAgent==n;return this.getBrowser=function(){var e,t={};return t.name=o,t.version=o,Y.call(t,n,f.browser),t.major=typeof(e=t.version)===c?e.replace(/[^\d\.]/g,"").split(".")[0]:o,d&&r&&r.brave&&typeof r.brave.isBrave==a&&(t.name="Brave"),t},this.getCPU=function(){var e={};return e.architecture=o,Y.call(e,n,f.cpu),e},this.getDevice=function(){var e={};return e.vendor=o,e.model=o,e.type=o,Y.call(e,n,f.device),d&&!e.type&&l&&l.mobile&&(e.type=b),d&&"Macintosh"==e.model&&r&&typeof r.standalone!==s&&r.maxTouchPoints&&r.maxTouchPoints>2&&(e.model="iPad",e.type=v),e},this.getEngine=function(){var e={};return e.name=o,e.version=o,Y.call(e,n,f.engine),e},this.getOS=function(){var e={};return e.name=o,e.version=o,Y.call(e,n,f.os),d&&!e.name&&l&&l.platform&&"Unknown"!=l.platform&&(e.name=l.platform.replace(/chrome os/i,z).replace(/macos/i,H)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===c&&e.length>500?K(e,500):e,this},this.setUA(n),this};ee.VERSION="1.0.41",ee.BROWSER=G([d,g,l]),ee.CPU=G([m]),ee.DEVICE=G([f,h,p,y,b,w,v,x,S]),ee.ENGINE=ee.OS=G([d,g]),typeof t!==s?(e.exp
74orts&&(t=e.exports=ee),t.UAParser=ee):r.amdO?(n=function(){return ee}.call(t,r,t,e))===o||(e.exports=n):typeof i!==s&&(i.UAParser=ee);var te=typeof i!==s&&(i.jQuery||i.Zepto);if(te&&!te.ua){var re=new ee;te.ua=re.getResult(),te.ua.get=function(){return re.getUA()},te.ua.set=function(e){re.setUA(e);var t=re.getResult();for(var r in t)te.ua[r]=t[r]}}}("object"===typeof window?window:this)},71739:function(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},10434:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},64836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},7071:function(e){e.exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports},30907:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,{Z:function(){return n}})},97326:function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,{Z:function(){return n}})},4942:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(83997);function i(e,t,r){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},87462:function(e,t,r){"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}r.d(t,{Z:function(){return n}})},75068:function(e,t,r){"use strict";
74function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}r.d(t,{Z:function(){return i}})},63366:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}r.d(t,{Z:function(){return n}})},86854:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(40181);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],u=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){c=!0,i=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||(0,n.Z)(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.")}()}},41451:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(30907);var i=r(40181);function o(e){return function(e){if(Array.isArray(e))return(0,n.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,i.Z)(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.")}()}},83997:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(71002);function i(e){var t=function(e,t){if("object"!=(0,n.Z)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=(0,n.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,n.Z)(t)?t:t+""}},71002:function(e,t,r){"use strict";function n(e){return n="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},n(e)}r.d(t,{Z:function(){return n}})},40181:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(30907);function i(e,t){if(e){if("string"==typeof e)return(0,n.Z)(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.Z)(e,t):void 0}}},63961:function(e,t,r){"use strict";function n(e){var t,r,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=n(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}t.Z=function(){for(var e,t,r=0,i="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=n(e))&&(i&&(i+=" "),i+=t);return i}},66474:function(e,t,r){"use strict";r.d(t,{j:function(){return o}});var n=r(7506),i=r(24139),o=new class extends n.l{#h;#g;#m;constructor(){super(),this.#m=e=>{if(!i.sk&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#g||this.setEventListener(this.#m)}onUnsubscribe(){this.hasListeners()||(this.#g?.(),this.#g=void 0)}setEventListener(e){this.#m=e,this.#g?.(),this.#g=e((e=>{"boolean"===typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.#h!==e&&(this.#h=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach((t=>{t(e)}))}isFocused(){return"boolean"===typeof this.#h?this.#h:"hidden"!==globalThis.document?.visibilityState}}},27037:function(e,t,r){"use strict";r.d(t,{V:function(){return n}});var n=function(){let e=[],t=0,r=e=>{e()},n=e=>{e()},i=e=>setTimeout(e,0);const o=n=>{t?e.push(n):i((()=>{r(n)}))};return{batch:o=>{let a;t++;try{a=o()}finally{t--,t||(()=>{const t=e;e=[],t.length&&i((()=>{n((()=>{t.forEach((e=>{r(e)}))}))}))})()}return a},batchCalls:e=>(...t)=>{o((()=>{e(...t)}))},schedule:o,setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{n=e},setScheduler:e=>{i=e}}}()},14304:function(e,t,r){"use strict";r.d(t,{N:function(){return o}});var n=r(7506),i=r(24139),o=new class extends n.l{#y=!0;#g;#m;constructor(){super(),this.#m=e=>{if(!i.sk&&window.addEventListener){const t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#g||this.setEventListener(this.#m)}onUnsubscribe(){this.hasListeners()||(this.#g?.(),this.#g=void 0)}setEventListener(e){this.#m=e,this.#g?.(),this.#g=e(this.setOnline.bind(this))}
74setOnline(e){this.#y!==e&&(this.#y=e,this.listeners.forEach((t=>{t(e)})))}isOnline(){return this.#y}}},56888:function(e,t,r){"use strict";r.d(t,{A:function(){return s},z:function(){return u}});var n=r(24139),i=r(27037),o=r(72008),a=r(48907),s=class extends a.F{#b;#v;#w;#n;#u;#x;constructor(e){super(),this.#x=!1,this.#u=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#w=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#b=function(e){const t="function"===typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"===typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=e.state??this.#b,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#n?.promise}setOptions(e){this.options={...this.#u,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#w.remove(this)}setData(e,t){const r=(0,n.oE)(this.state.data,e,this.options);return this.#i({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#i({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#n?.promise;return this.#n?.cancel(e),t?t.then(n.ZT).catch(n.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#b)}isActive(){return this.observers.some((e=>!1!==(0,n.Nc)(e.options.enabled,this)))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===n.CN||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some((e=>e.getCurrentResult().isStale)):void 0===this.state.data)}isStaleByTime(e=0){return this.state.isInvalidated||void 0===this.state.data||!(0,n.Kp)(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find((e=>e.shouldFetchOnWindowFocus()))?.refetch({cancelRefetch:!1}),this.#n?.continue()}onOnline(){this.observers.find((e=>e.shouldFetchOnReconnect()))?.refetch({cancelRefetch:!1}),this.#n?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#w.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.#n&&(this.#x?this.#n.cancel({revert:!0}):this.#n.cancelRetry()),this.scheduleGc()),this.#w.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#i({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.#n)return this.#n.continueRetry(),this.#n.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}const r=new AbortController,i=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#x=!0,r.signal)})},a={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{const e=(0,n.cG)(this.options,t),r={queryKey:this.queryKey,meta:this.meta};return i(r),this.#x=!1,this.options.persister?this.options.persister(e,r,this):e(r)}};i(a),this.options.behavior?.onFetch(a,this),this.#v=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===a.fetchOptions?.meta||this.#i({type:"fetch",meta:a.fetchOptions?.meta});const s=e=>{(0,o.DV)(e)&&e.silent||this.#i({type:"error",error:e}),(0,o.DV)(e)||(this.#w.config.onError?.(e,this),this.#w.config.onSettled?.(this.state.data,e,this)),this.scheduleGc()};return this.#n=(0,o.Mz)({initialPromise:t?.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:e=>{if(void 0!==e){try{this.setData(e)}catch(t){return void s(t)}this.#w.config.onSuccess?.(e,this),this.#w.config.onSettled?.(e,this.state.error,this),this.scheduleGc()}else s(new Error(`${this.queryHash} data is undefined`))},onError:s,onFail:(e,t)=>{this.#i({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}),this.#n.start()}#i(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,...u(t.data,this.options),fetchMeta:e.meta??null};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const r=e.error;return(0,o.DV)(r)&&r.revert&&this.#v?{...this.#v,fetchStatus:"idle"}
74:{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),i.V.batch((()=>{this.observers.forEach((e=>{e.onQueryUpdate()})),this.#w.notify({query:this,type:"updated",action:e})}))}};function u(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,o.Kw)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}},48907:function(e,t,r){"use strict";r.d(t,{F:function(){return i}});var n=r(24139),i=class{#S;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,n.PN)(this.gcTime)&&(this.#S=setTimeout((()=>{this.optionalRemove()}),this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(n.sk?1/0:3e5))}clearGcTimeout(){this.#S&&(clearTimeout(this.#S),this.#S=void 0)}}},72008:function(e,t,r){"use strict";r.d(t,{DV:function(){return l},Kw:function(){return u},Mz:function(){return f}});var n=r(66474),i=r(14304),o=r(13820),a=r(24139);function s(e){return Math.min(1e3*2**e,3e4)}function u(e){return"online"!==(e??"online")||i.N.isOnline()}var c=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function l(e){return e instanceof c}function f(e){let t,r=!1,l=0,f=!1;const d=(0,o.O)(),p=()=>n.j.isFocused()&&("always"===e.networkMode||i.N.isOnline())&&e.canRun(),h=()=>u(e.networkMode)&&e.canRun(),g=r=>{f||(f=!0,e.onSuccess?.(r),t?.(),d.resolve(r))},m=r=>{f||(f=!0,e.onError?.(r),t?.(),d.reject(r))},y=()=>new Promise((r=>{t=e=>{(f||p())&&r(e)},e.onPause?.()})).then((()=>{t=void 0,f||e.onContinue?.()})),b=()=>{if(f)return;let t;const n=0===l?e.initialPromise:void 0;try{t=n??e.fn()}catch(i){t=Promise.reject(i)}Promise.resolve(t).then(g).catch((t=>{if(f)return;const n=e.retry??(a.sk?0:3),i=e.retryDelay??s,o="function"===typeof i?i(l,t):i,u=!0===n||"number"===typeof n&&l<n||"function"===typeof n&&n(l,t);!r&&u?(l++,e.onFail?.(l,t),(0,a._v)(o).then((()=>p()?void 0:y())).then((()=>{r?m(t):b()}))):m(t)}))};return{promise:d,cancel:t=>{f||(m(new c(t)),e.abort?.())},continue:()=>(t?.(),d),cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1},canStart:h,start:()=>(h()?b():y().then(b),d)}}},7506:function(e,t,r){"use strict";r.d(t,{l:function(){return n}});var n=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(){}}},13820:function(e,t,r){"use strict";function n(){let e,t;const r=new Promise(((r,n)=>{e=r,t=n}));function n(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch((()=>{})),r.resolve=t=>{n({status:"fulfilled",value:t}),e(t)},r.reject=e=>{n({status:"rejected",reason:e}),t(e)},r}r.d(t,{O:function(){return n}})},24139:function(e,t,r){"use strict";r.d(t,{CN:function(){return E},Ht:function(){return k},KC:function(){return u},Kp:function(){return s},Nc:function(){return c},PN:function(){return a},Rm:function(){return d},SE:function(){return o},VS:function(){return m},VX:function(){return S},X7:function(){return f},Ym:function(){return p},ZT:function(){return i},_v:function(){return w},_x:function(){return l},cG:function(){return _},oE:function(){return x},sk:function(){return n},to:function(){return h}});var n="undefined"===typeof window||"Deno"in globalThis;function i(){}function o(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 u(e,t){return"function"===typeof e?e(t):e}function c(e,t){return"function"===typeof e?e(t):e}function l(e,t){const{type:r="all",exact:n,fetchStatus:i,predicate:o,queryKey:a,stale:s}=e;if(a)if(n){if(t.queryHash!==d(a,t.options))return!1}else if(!h(t.queryKey,a))return!1;if("all"!==r){const e=t.isActive();if("active"===r&&!e)return!1;if("inactive"===r&&e)return!1}return("boolean"!==typeof s||t.isStale()===s)&&((!i||i===t.state.fetchStatus)&&!(o&&!o(t)))}function f(e,t){const{exact:r,status:n,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(r){if(p(t.options.mutationKey)!==p(o))return!1}else if(!h(t.options.mutationKey,o))return!1}return(!n||t.state.status===n)&&!(i&&!i(t))}function d(e,t){return(t?.queryKeyHashFn||p)(e)}function p(e){return JSON.stringify(e,((e,t)=>
74b(t)?Object.keys(t).sort().reduce(((e,r)=>(e[r]=t[r],e)),{}):t))}function h(e,t){return e===t||typeof e===typeof t&&(!(!e||!t||"object"!==typeof e||"object"!==typeof t)&&!Object.keys(t).some((r=>!h(e[r],t[r]))))}function g(e,t){if(e===t)return e;const r=y(e)&&y(t);if(r||b(e)&&b(t)){const n=r?e:Object.keys(e),i=n.length,o=r?t:Object.keys(t),a=o.length,s=r?[]:{};let u=0;for(let c=0;c<a;c++){const i=r?c:o[c];(!r&&n.includes(i)||r)&&void 0===e[i]&&void 0===t[i]?(s[i]=void 0,u++):(s[i]=g(e[i],t[i]),s[i]===e[i]&&void 0!==e[i]&&u++)}return i===a&&u===i?e:s}return t}function m(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function y(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function b(e){if(!v(e))return!1;const t=e.constructor;if(void 0===t)return!0;const r=t.prototype;return!!v(r)&&(!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype)}function v(e){return"[object Object]"===Object.prototype.toString.call(e)}function w(e){return new Promise((t=>{setTimeout(t,e)}))}function x(e,t,r){return"function"===typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?g(e,t):t}function S(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function k(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var E=Symbol();function _(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==E?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}},30202:function(e,t,r){"use strict";r.d(t,{NL:function(){return a},aH:function(){return s}});var n=r(67294),i=r(85893),o=n.createContext(void 0),a=e=>{const t=n.useContext(o);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},s=({client:e,children:t})=>(n.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]),(0,i.jsx)(o.Provider,{value:e,children:t}))},2762:function(e,t,r){"use strict";r.d(t,{S:function(){return o},u:function(){return a}});var n=r(67294),i=n.createContext(!1),o=()=>n.useContext(i),a=i.Provider},61897:function(e,t,r){"use strict";r.d(t,{a:function(){return S}});var n=r(66474),i=r(27037),o=r(56888),a=r(7506),s=r(13820),u=r(24139),c=class extends a.l{constructor(e,t){super(),this.options=t,this.#k=e,this.#E=null,this.#_=(0,s.O)(),this.options.experimental_prefetchInRender||this.#_.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(t)}#k;#O=void 0;#A=void 0;#T=void 0;#C;#R;#_;#E;#P;#j;#I;#L;#N;#M;#U=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#O.addObserver(this),l(this.#O,this.options)?this.#D():this.updateResult(),this.#F())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return f(this.#O,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return f(this.#O,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#B(),this.#Z(),this.#O.removeObserver(this)}setOptions(e,t){const r=this.options,n=this.#O;if(this.options=this.#k.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!==typeof this.options.enabled&&"function"!==typeof this.options.enabled&&"boolean"!==typeof(0,u.Nc)(this.options.enabled,this.#O))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#$(),this.#O.setOptions(this.options),r._defaulted&&!(0,u.VS)(this.options,r)&&this.#k.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#O,observer:this});const i=this.hasListeners();i&&d(this.#O,n,this.options,r)&&this.#D(),this.updateResult(t),!i||this.#O===n&&(0,u.Nc)(this.options.enabled,this.#O)===(0,u.Nc)(r.enabled,this.#O)&&(0,u.KC)(this.options.staleTime,this.#O)===(0,u.KC)(r.staleTime,this.#O)||this.#q();const o=this.#z();!i||this.#O===n&&(0,u.Nc)(this.options.enabled,this.#O)===(0,u.Nc)(r.enabled,this.#O)&&o===this.#M||this.#H(o)}getOptimisticResult(e){const t=this.#k.getQueryCache().build(this.#k,e),r=this.createResult(t,e);return function(e,t){if(!(0,u.VS)(e.getCurrentResult(),t))return!0;return!1}(this,r)&&(this.#T=r,this.#R=this.options,this.#C=this.#O.state),r}getCurrentResult(){return this.#T}trackResult(e,t){const r={};return Object.keys(e).forEach((n=>{Object.defineProperty(r,n,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(n),t?.(n),e[n])})})),r}trackProp(e){this.#U.add(e)}getCurrentQuery(){return this.#O}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#k.defaultQueryOptions(e),r=this.#k.getQueryCache().build(this.#k,t);return r.fetch().then((()=>this.createResult(r,t)))}fetch(e){return this.#D({...e,cancelRefetch:e.cancelRefetch??!0}).then((()=>(this.updateResult(),this.#T)))}#D(e){this.#$();let t=this.#O.fetch(this.options,e);return e?.throwOnError||(t=t.catch(u.ZT)),t}#q(){this.#B();const e=(0,u.KC)(this.options.staleTime,this.#O);if(u.sk||this.#T.isStale||!(0,u.PN)(e))return;const t=(0,u.Kp)(this.#T.dataUpdatedAt,e)+1;this.#L=setTimeout((()=>{this.#T.isStale||this.updateResult()}),t)}#z(){return("function"===typeof this.options.refetchInterval?this.options.refetchInterval(this.#O):this.options.refetchInterval)??!1}#H(e){this.#Z(),this.#M=e,!u.sk&&!1!==(0,u.Nc)(this.options.enabled,this.#O)&&(0,u.PN)(this.#M)&&0!==this.#M&&(this.#N=setInterval((()=>
74{(this.options.refetchIntervalInBackground||n.j.isFocused())&&this.#D()}),this.#M))}#F(){this.#q(),this.#H(this.#z())}#B(){this.#L&&(clearTimeout(this.#L),this.#L=void 0)}#Z(){this.#N&&(clearInterval(this.#N),this.#N=void 0)}createResult(e,t){const r=this.#O,n=this.options,i=this.#T,a=this.#C,c=this.#R,f=e!==r?e.state:this.#A,{state:h}=e;let g,m={...h},y=!1;if(t._optimisticResults){const i=this.hasListeners(),a=!i&&l(e,t),s=i&&d(e,r,t,n);(a||s)&&(m={...m,...(0,o.z)(h.data,e.options)}),"isRestoring"===t._optimisticResults&&(m.fetchStatus="idle")}let{error:b,errorUpdatedAt:v,status:w}=m;if(t.select&&void 0!==m.data)if(i&&m.data===a?.data&&t.select===this.#P)g=this.#j;else try{this.#P=t.select,g=t.select(m.data),g=(0,u.oE)(i?.data,g,t),this.#j=g,this.#E=null}catch(A){this.#E=A}else g=m.data;if(void 0!==t.placeholderData&&void 0===g&&"pending"===w){let e;if(i?.isPlaceholderData&&t.placeholderData===c?.placeholderData)e=i.data;else if(e="function"===typeof t.placeholderData?t.placeholderData(this.#I?.state.data,this.#I):t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.#E=null}catch(A){this.#E=A}void 0!==e&&(w="success",g=(0,u.oE)(i?.data,e,t),y=!0)}this.#E&&(b=this.#E,g=this.#j,v=Date.now(),w="error");const x="fetching"===m.fetchStatus,S="pending"===w,k="error"===w,E=S&&x,_=void 0!==g,O={status:w,fetchStatus:m.fetchStatus,isPending:S,isSuccess:"success"===w,isError:k,isInitialLoading:E,isLoading:E,data:g,dataUpdatedAt:m.dataUpdatedAt,error:b,errorUpdatedAt:v,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>f.dataUpdateCount||m.errorUpdateCount>f.errorUpdateCount,isFetching:x,isRefetching:x&&!S,isLoadingError:k&&!_,isPaused:"paused"===m.fetchStatus,isPlaceholderData:y,isRefetchError:k&&_,isStale:p(e,t),refetch:this.refetch,promise:this.#_};if(this.options.experimental_prefetchInRender){const t=e=>{"error"===O.status?e.reject(O.error):void 0!==O.data&&e.resolve(O.data)},n=()=>{const e=this.#_=O.promise=(0,s.O)();t(e)},i=this.#_;switch(i.status){case"pending":e.queryHash===r.queryHash&&t(i);break;case"fulfilled":"error"!==O.status&&O.data===i.value||n();break;case"rejected":"error"===O.status&&O.error===i.reason||n()}}return O}updateResult(e){const t=this.#T,r=this.createResult(this.#O,this.options);if(this.#C=this.#O.state,this.#R=this.options,void 0!==this.#C.data&&(this.#I=this.#O),(0,u.VS)(r,t))return;this.#T=r;const n={};!1!==e?.listeners&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,r="function"===typeof e?e():e;if("all"===r||!r&&!this.#U.size)return!0;const n=new Set(r??this.#U);return this.options.throwOnError&&n.add("error"),Object.keys(this.#T).some((e=>{const r=e;return this.#T[r]!==t[r]&&n.has(r)}))})()&&(n.listeners=!0),this.#G({...n,...e})}#$(){const e=this.#k.getQueryCache().build(this.#k,this.options);if(e===this.#O)return;const t=this.#O;this.#O=e,this.#A=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#F()}#G(e){i.V.batch((()=>{e.listeners&&this.listeners.forEach((e=>{e(this.#T)})),this.#k.getQueryCache().notify({query:this.#O,type:"observerResultsUpdated"})}))}};function l(e,t){return function(e,t){return!1!==(0,u.Nc)(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&f(e,t,t.refetchOnMount)}function f(e,t,r){if(!1!==(0,u.Nc)(t.enabled,e)){const n="function"===typeof r?r(e):r;return"always"===n||!1!==n&&p(e,t)}return!1}function d(e,t,r,n){return(e!==t||!1===(0,u.Nc)(n.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&p(e,r)}function p(e,t){return!1!==(0,u.Nc)(t.enabled,e)&&e.isStaleByTime((0,u.KC)(t.staleTime,e))}var h=r(67294),g=r(30202);r(85893);function m(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var y=h.createContext(m());function b(){}var v=r(2762),w=(e,t,r)=>t.fetchOptimistic(e).catch((()=>{r.clearReset()}));function x(e,t,r){const n=(0,g.NL)(r),o=(0,v.S)(),a=h.useContext(y),s=n.defaultQueryOptions(e);
74n.getDefaultOptions().queries?._experimental_beforeQuery?.(s),s._optimisticResults=o?"isRestoring":"optimistic",(e=>{e.suspense&&(void 0===e.staleTime&&(e.staleTime=1e3),"number"===typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3)))})(s),((e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))})(s,a),(e=>{h.useEffect((()=>{e.clearReset()}),[e])})(a);const c=!n.getQueryCache().get(s.queryHash),[l]=h.useState((()=>new t(n,s))),f=l.getOptimisticResult(s);if(h.useSyncExternalStore(h.useCallback((e=>{const t=o?b:l.subscribe(i.V.batchCalls(e));return l.updateResult(),t}),[l,o]),(()=>l.getCurrentResult()),(()=>l.getCurrentResult())),h.useEffect((()=>{l.setOptions(s,{listeners:!1})}),[s,l]),((e,t)=>e?.suspense&&t.isPending)(s,f))throw w(s,l,a);if((({result:e,errorResetBoundary:t,throwOnError:r,query:n})=>{return e.isError&&!t.isReset()&&!e.isFetching&&n&&(i=r,o=[e.error,n],"function"===typeof i?i(...o):!!i);var i,o})({result:f,errorResetBoundary:a,throwOnError:s.throwOnError,query:n.getQueryCache().get(s.queryHash)}))throw f.error;if(n.getDefaultOptions().queries?._experimental_afterQuery?.(s,f),s.experimental_prefetchInRender&&!u.sk&&((e,t)=>e.isLoading&&e.isFetching&&!t)(f,o)){(c?w(s,l,a):n.getQueryCache().get(s.queryHash)?.promise)?.catch(b).finally((()=>{l.updateResult()}))}return s.notifyOnChangeProps?f:l.trackResult(f)}function S(e,t){return x(e,c,t)}},31955:function(e,t,r){"use strict";function n(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}r.d(t,{Z:function(){return i}});var i=function e(t,r){function i(e,i,o){if("undefined"!==typeof document){"number"===typeof(o=n({},r,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+a}}return Object.create({set:i,get:function(e){if("undefined"!==typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},i=0;i<r.length;i++){var o=r[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(n[s]=t.read(a,s),e===s)break}catch(u){}}return e?n[e]:n}},remove:function(e,t){i(e,"",n({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,n({},this.attributes,t))},withConverter:function(t){return e(n({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},52587:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,{Z:function(){return n}})},50029:function(e,t,r){"use strict";function n(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,u,"next",e)}function u(e){n(a,i,o,s,u,"throw",e)}s(void 0)}))}}r.d(t,{Z:function(){return i}})},92777:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,{Z:function(){return n}})},82262:function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}r.d(t,{Z:function(){return i}})},59499:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{Z:function(){return n}})},4730:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}r.d(t,{Z:function(){return n}})},16835:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(2937);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(e,t)||(0,n.Z)(e,t)||function(){throw new TypeError("Invalid attempt to de
74structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},2937:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(52587);function i(e,t){if(e){if("string"===typeof e)return(0,n.Z)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.Z)(e,t):void 0}}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],(function(){return t(91118),t(69898)}));var r=e.O();_N_E=r}]);
75//# sourceMappingURL=_app-21df5a8a0c583bd3.js.map

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