@rsdoctor/client 0.4.2 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- (self.webpackChunk_rsdoctor_client=self.webpackChunk_rsdoctor_client||[]).push([["641"],{88189:function(t,e){var n;n=0,function(t){"use strict";function e(t){return"string"==typeof t?function(e){return e===t}:t?t:function(){return!0}}var n=function(t,e){this.node=t,this.state=e};function r(t,e){var n=Object.create(e||s);for(var r in t)n[r]=t[r];return n}function i(t,e,n){n(t,e)}function o(t,e,n){}var s={};s.Program=s.BlockStatement=s.StaticBlock=function(t,e,n){for(var r=0,i=t.body;r<i.length;r+=1)n(i[r],e,"Statement")},s.Statement=i,s.EmptyStatement=o,s.ExpressionStatement=s.ParenthesizedExpression=s.ChainExpression=function(t,e,n){return n(t.expression,e,"Expression")},s.IfStatement=function(t,e,n){n(t.test,e,"Expression"),n(t.consequent,e,"Statement"),t.alternate&&n(t.alternate,e,"Statement")},s.LabeledStatement=function(t,e,n){return n(t.body,e,"Statement")},s.BreakStatement=s.ContinueStatement=o,s.WithStatement=function(t,e,n){n(t.object,e,"Expression"),n(t.body,e,"Statement")},s.SwitchStatement=function(t,e,n){n(t.discriminant,e,"Expression");for(var r=0,i=t.cases;r<i.length;r+=1){var o=i[r];o.test&&n(o.test,e,"Expression");for(var s=0,a=o.consequent;s<a.length;s+=1)n(a[s],e,"Statement")}},s.SwitchCase=function(t,e,n){t.test&&n(t.test,e,"Expression");for(var r=0,i=t.consequent;r<i.length;r+=1)n(i[r],e,"Statement")},s.ReturnStatement=s.YieldExpression=s.AwaitExpression=function(t,e,n){t.argument&&n(t.argument,e,"Expression")},s.ThrowStatement=s.SpreadElement=function(t,e,n){return n(t.argument,e,"Expression")},s.TryStatement=function(t,e,n){n(t.block,e,"Statement"),t.handler&&n(t.handler,e),t.finalizer&&n(t.finalizer,e,"Statement")},s.CatchClause=function(t,e,n){t.param&&n(t.param,e,"Pattern"),n(t.body,e,"Statement")},s.WhileStatement=s.DoWhileStatement=function(t,e,n){n(t.test,e,"Expression"),n(t.body,e,"Statement")},s.ForStatement=function(t,e,n){t.init&&n(t.init,e,"ForInit"),t.test&&n(t.test,e,"Expression"),t.update&&n(t.update,e,"Expression"),n(t.body,e,"Statement")},s.ForInStatement=s.ForOfStatement=function(t,e,n){n(t.left,e,"ForInit"),n(t.right,e,"Expression"),n(t.body,e,"Statement")},s.ForInit=function(t,e,n){"VariableDeclaration"===t.type?n(t,e):n(t,e,"Expression")},s.DebuggerStatement=o,s.FunctionDeclaration=function(t,e,n){return n(t,e,"Function")},s.VariableDeclaration=function(t,e,n){for(var r=0,i=t.declarations;r<i.length;r+=1)n(i[r],e)},s.VariableDeclarator=function(t,e,n){n(t.id,e,"Pattern"),t.init&&n(t.init,e,"Expression")},s.Function=function(t,e,n){t.id&&n(t.id,e,"Pattern");for(var r=0,i=t.params;r<i.length;r+=1)n(i[r],e,"Pattern");n(t.body,e,t.expression?"Expression":"Statement")},s.Pattern=function(t,e,n){"Identifier"===t.type?n(t,e,"VariablePattern"):"MemberExpression"===t.type?n(t,e,"MemberPattern"):n(t,e)},s.VariablePattern=o,s.MemberPattern=i,s.RestElement=function(t,e,n){return n(t.argument,e,"Pattern")},s.ArrayPattern=function(t,e,n){for(var r=0,i=t.elements;r<i.length;r+=1){var o=i[r];o&&n(o,e,"Pattern")}},s.ObjectPattern=function(t,e,n){for(var r=0,i=t.properties;r<i.length;r+=1){var o=i[r];"Property"===o.type?(o.computed&&n(o.key,e,"Expression"),n(o.value,e,"Pattern")):"RestElement"===o.type&&n(o.argument,e,"Pattern")}},s.Expression=i,s.ThisExpression=s.Super=s.MetaProperty=o,s.ArrayExpression=function(t,e,n){for(var r=0,i=t.elements;r<i.length;r+=1){var o=i[r];o&&n(o,e,"Expression")}},s.ObjectExpression=function(t,e,n){for(var r=0,i=t.properties;r<i.length;r+=1)n(i[r],e)},s.FunctionExpression=s.ArrowFunctionExpression=s.FunctionDeclaration,s.SequenceExpression=function(t,e,n){for(var r=0,i=t.expressions;r<i.length;r+=1)n(i[r],e,"Expression")},s.TemplateLiteral=function(t,e,n){for(var r=0,i=t.quasis;r<i.length;r+=1)n(i[r],e);for(var o=0,s=t.expressions;o<s.length;o+=1)n(s[o],e,"Expression")},s.TemplateElement=o,s.UnaryExpression=s.UpdateExpression=function(t,e,n){n(t.argument,e,"Expression")},s.BinaryExpression=s.LogicalExpression=function(t,e,n){n(t.left,e,"Expression"),n(t.right,e,"Expression")},s.AssignmentExpression=s.AssignmentPattern=function(t,e,n){n(t.left,e,"Pattern"),n(t.right,e,"Expression")},s.ConditionalExpression=function(t,e,n){n(t.test,e,"Expression"),n(t.consequent,e,"Expression"),n(t.alternate,e,"Expression")},s.NewExpression=s.CallExpression=function(t,e,n){if(n(t.callee,e,"Expression"),t.arguments)for(var r=0,i=t.arguments;r<i.length;r+=1)n(i[r],e,"Expression")},s.MemberExpression=function(t,e,n){n(t.object,e,"Expression"),t.computed&&n(t.property,e,"Expression")},s.ExportNamedDeclaration=s.ExportDefaultDeclaration=function(t,e,n){t.declaration&&n(t.declaration,e,"ExportNamedDeclaration"===t.type||t.declaration.id?"Statement":"Expression"),t.source&&n(t.source,e,"Expression")},s.ExportAllDeclaration=function(t,e,n){t.exported&&n(t.exported,e),n(t.source,e,"Expression")},s.ImportDeclaration=function(t,e,n){for(var r=0,i=t.specifiers;r<i.length;r+=1)n(i[r],e);n(t.source,e,"Expression")},s.ImportExpression=function(t,e,n){n(t.source,e,"Expression")},s.ImportSpecifier=s.ImportDefaultSpecifier=s.ImportNamespaceSpecifier=s.Identifier=s.PrivateIdentifier=s.Literal=o,s.TaggedTemplateExpression=function(t,e,n){n(t.tag,e,"Expression"),n(t.quasi,e,"Expression")},s.ClassDeclaration=s.ClassExpression=function(t,e,n){return n(t,e,"Class")},s.Class=function(t,e,n){t.id&&n(t.id,e,"Pattern"),t.superClass&&n(t.superClass,e,"Expression"),n(t.body,e)},s.ClassBody=function(t,e,n){for(var r=0,i=t.body;r<i.length;r+=1)n(i[r],e)},s.MethodDefinition=s.PropertyDefinition=s.Property=function(t,e,n){t.computed&&n(t.key,e,"Expression"),t.value&&n(t.value,e,"Expression")},t.ancestor=function(t,e,n,r,i){var o=[];!n&&(n=s),!function t(r,i,s){var a=s||r.type,c=r!==o[o.length-1];c&&o.push(r),n[a](r,i,t),e[a]&&e[a](r,i||o,o),c&&o.pop()}(t,r,i)},t.base=s,t.findNodeAfter=function(t,r,i,o,a){i=e(i),!o&&(o=s);try{!function t(e,s,a){if(!(e.end<r)){var c=a||e.type;if(e.start>=r&&i(c,e))throw new n(e,s);o[c](e,s,t)}}(t,a)}catch(t){if(t instanceof n)return t;throw t}},t.findNodeAround=function(t,r,i,o,a){i=e(i),!o&&(o=s);try{!function t(e,s,a){var c=a||e.type;if(!(e.start>r)&&!(e.end<r)){if(o[c](e,s,t),i(c,e))throw new n(e,s)}}(t,a)}catch(t){if(t instanceof n)return t;throw t}},t.findNodeAt=function(t,r,i,o,a,c){!a&&(a=s),o=e(o);try{!function t(e,s,c){var u=c||e.type;if((null==r||e.start<=r)&&(null==i||e.end>=i)&&a[u](e,s,t),(null==r||e.start===r)&&(null==i||e.end===i)&&o(u,e))throw new n(e,s)}(t,c)}catch(t){if(t instanceof n)return t;throw t}},t.findNodeBefore=function(t,r,i,o,a){var c;return i=e(i),!o&&(o=s),!function t(e,s,a){if(!(e.start>r)){var u=a||e.type;e.end<=r&&(!c||c.node.end<e.end)&&i(u,e)&&(c=new n(e,s)),o[u](e,s,t)}}(t,a),c},t.full=function(t,e,n,r,i){var o;!n&&(n=s),!function t(r,i,s){var a=s||r.type;n[a](r,i,t),o!==r&&(e(r,i,a),o=r)}(t,r,i)},t.fullAncestor=function(t,e,n,r){!n&&(n=s);var i,o=[];!function t(r,s,a){var c=a||r.type,u=r!==o[o.length-1];u&&o.push(r),n[c](r,s,t),i!==r&&(e(r,s||o,o,c),i=r),u&&o.pop()}(t,r)},t.make=r,t.recursive=function(t,e,n,i,o){var s=n?r(n,i||void 0):i;!function t(e,n,r){s[r||e.type](e,n,t)}(t,e,o)},t.simple=function(t,e,n,r,i){!n&&(n=s),!function t(r,i,o){var s=o||r.type;n[s](r,i,t),e[s]&&e[s](r,i)}(t,r,i)}}(e)},50795:function(t,e,n){"use strict";n.d(e,{X:function(){return o}});var r=n(56856);let i="assert";function o(t){let{tokTypes:e,TokenType:n}=t.acorn||r;return class extends t{constructor(...t){super(...t),this.assertToken=new n(i)}_codeAt(t){return this.input.charCodeAt(t)}_eat(t){this.type!==t&&this.unexpected(),this.next()}readToken(t){let e=0;for(;e<i.length;e++)if(this._codeAt(this.pos+e)!==i.charCodeAt(e))return super.readToken(t);for(;123!==this._codeAt(this.pos+e);e++){;if(32===this._codeAt(this.pos+e))continue;else return super.readToken(t)}return"{"===this.type.label?super.readToken(t):(this.pos+=i.length,this.finishToken(this.assertToken))}parseDynamicImport(t){if(this.next(),t.source=this.parseMaybeAssign(),this.eat(e.comma)){let e=this.parseObj(!1);t.arguments=[e]}return this._eat(e.parenR),this.finishNode(t,"ImportExpression")}parseExport(t,n){if(this.next(),this.eat(e.star)){if(this.options.ecmaVersion>=11&&(this.eatContextual("as")?(t.exported=this.parseIdent(!0),this.checkExport(n,t.exported.name,this.lastTokStart)):t.exported=null),this.expectContextual("from"),this.type!==e.string&&this.unexpected(),t.source=this.parseExprAtom(),this.type===this.assertToken||this.type===e._with){this.next();let e=this.parseImportAssertions();e&&(t.assertions=e)}return this.semicolon(),this.finishNode(t,"ExportAllDeclaration")}if(this.eat(e._default)){if(this.checkExport(n,"default",this.lastTokStart),this.type===e._function||(r=this.isAsyncFunction())){var r,i=this.startNode();this.next(),r&&this.next(),t.declaration=this.parseFunction(i,5,!1,r)}else if(this.type===e._class){var o=this.startNode();t.declaration=this.parseClass(o,"nullableID")}else t.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(t,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())t.declaration=this.parseStatement(null),"VariableDeclaration"===t.declaration.type?this.checkVariableExport(n,t.declaration.declarations):this.checkExport(n,t.declaration.id.name,t.declaration.id.start),t.specifiers=[],t.source=null;else{if(t.declaration=null,t.specifiers=this.parseExportSpecifiers(n),this.eatContextual("from")){if(this.type!==e.string&&this.unexpected(),t.source=this.parseExprAtom(),this.type===this.assertToken||this.type===e._with){this.next();let e=this.parseImportAssertions();e&&(t.assertions=e)}}else{for(var s=0,a=t.specifiers;s<a.length;s+=1){var c=a[s];this.checkUnreserved(c.local),this.checkLocalExport(c.local)}t.source=null}this.semicolon()}return this.finishNode(t,"ExportNamedDeclaration")}parseImport(t){if(this.next(),this.type===e.string?(t.specifiers=[],t.source=this.parseExprAtom()):(t.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),t.source=this.type===e.string?this.parseExprAtom():this.unexpected()),this.type===this.assertToken||this.type==e._with){this.next();let e=this.parseImportAssertions();e&&(t.assertions=e)}return this.semicolon(),this.finishNode(t,"ImportDeclaration")}parseImportAssertions(){this._eat(e.braceL);let t=this.parseAssertEntries();return this._eat(e.braceR),t}parseAssertEntries(){let t=[],n=new Set;do{let r;if(this.type===e.braceR)break;let i=this.startNode();r=this.type===e.string?this.parseLiteral(this.value):this.parseIdent(!0),this.next(),i.key=r,n.has(i.key.name)&&this.raise(this.pos,"Duplicated key in assertions"),n.add(i.key.name),this.type!==e.string&&this.raise(this.pos,"Only string is supported as an assertion value"),i.value=this.parseLiteral(this.value),t.push(this.finishNode(i,"ImportAttribute"))}while(this.eat(e.comma));return t}}}},49061:function(t,e,n){"use strict";function r(t){return!!(t&&t.__CANCEL__)}n.d(e,{Z:function(){return r}})},43739:function(t,e,n){"use strict";var r=n(91267);function i(t,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}r.Z.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:r.Z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let o=i.prototype,s={};["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(t=>{s[t]={value:t}}),Object.defineProperties(i,s),Object.defineProperty(o,"isAxiosError",{value:!0}),i.from=(t,e,n,s,a,c)=>{let u=Object.create(o);return r.Z.toFlatObject(t,u,function(t){return t!==Error.prototype},t=>"isAxiosError"!==t),i.call(u,t.message,e,n,s,a),u.cause=t,u.name=t.name,c&&Object.assign(u,c),u},e.Z=i},26965:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(91267),i=n(88168);let o=t=>t instanceof i.Z?{...t}:t;function s(t,e){e=e||{};let n={};function i(t,e,n){if(r.Z.isPlainObject(t)&&r.Z.isPlainObject(e))return r.Z.merge.call({caseless:n},t,e);if(r.Z.isPlainObject(e))return r.Z.merge({},e);if(r.Z.isArray(e))return e.slice();return e}function s(t,e,n){return r.Z.isUndefined(e)?r.Z.isUndefined(t)?void 0:i(void 0,t,n):i(t,e,n)}function a(t,e){if(!r.Z.isUndefined(e))return i(void 0,e)}function c(t,e){return r.Z.isUndefined(e)?r.Z.isUndefined(t)?void 0:i(void 0,t):i(void 0,e)}function u(n,r,o){return o in e?i(n,r):o in t?i(void 0,n):void 0}let l={url:a,method:a,data:a,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:u,headers:(t,e)=>s(o(t),o(e),!0)};return r.Z.forEach(Object.keys(Object.assign({},t,e)),function(i){let o=l[i]||s,a=o(t[i],e[i],i);r.Z.isUndefined(a)&&o!==u||(n[i]=a)}),n}},6850:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(43739);function i(t,e,n){let i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):e(new r.Z("Request failed with status code "+n.status,[r.Z.ERR_BAD_REQUEST,r.Z.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}},80217:function(t,e,n){"use strict";function r(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}n.d(e,{Z:function(){return r}})},9025:function(t,e,n){"use strict";var r=n(91267);e.Z=function(t){if(r.Z.isFormData(t)&&r.Z.isFunction(t.entries)){let e={};return r.Z.forEachEntry(t,(t,n)=>{var i;!function t(e,n,i,o){let s=e[o++];if("__proto__"===s)return!0;let a=Number.isFinite(+s),c=o>=e.length;return(s=!s&&r.Z.isArray(i)?i.length:s,c)?(r.Z.hasOwnProp(i,s)?i[s]=[i[s],n]:i[s]=n,!a):((!i[s]||!r.Z.isObject(i[s]))&&(i[s]=[]),t(e,n,i[s],o)&&r.Z.isArray(i[s])&&(i[s]=function(t){let e,n;let r={},i=Object.keys(t),o=i.length;for(e=0;e<o;e++)r[n=i[e]]=t[n];return r}(i[s])),!a)}((i=t,r.Z.matchAll(/\w+|\[(\w*)]/g,i).map(t=>"[]"===t[0]?"":t[1]||t[0])),n,e,0)}),e}return null}},29599:function(t,e,n){"use strict";var r=n(91267),i=n(21232);e.Z=i.Z.hasStandardBrowserEnv?function(){let t;let e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){let r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){let n=r.Z.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},24752:function(t,e,n){"use strict";var r=n(21232),i=n(91267),o=n(29599),s=n(91873),a=n(82074),c=n(26965),u=n(88168),l=n(4818);e.Z=t=>{let e;let n=(0,c.Z)({},t),{data:f,withXSRFToken:p,xsrfHeaderName:h,xsrfCookieName:d,headers:g,auth:v}=n;if(n.headers=g=u.Z.from(g),n.url=(0,l.Z)((0,a.Z)(n.baseURL,n.url),t.params,t.paramsSerializer),v&&g.set("Authorization","Basic "+btoa((v.username||"")+":"+(v.password?unescape(encodeURIComponent(v.password)):""))),i.Z.isFormData(f)){if(r.Z.hasStandardBrowserEnv||r.Z.hasStandardBrowserWebWorkerEnv)g.setContentType(void 0);else if(!1!==(e=g.getContentType())){let[t,...n]=e?e.split(";").map(t=>t.trim()).filter(Boolean):[];g.setContentType([t||"multipart/form-data",...n].join("; "))}}if(r.Z.hasStandardBrowserEnv&&(p&&i.Z.isFunction(p)&&(p=p(n)),p||!1!==p&&(0,o.Z)(n.url))){let t=h&&d&&s.Z.read(d);t&&g.set(h,t)}return n}},32545:function(t,e,n){"use strict";var r=n(91267),i=n(43739),o=n(25746),s=n(57861).Buffer;function a(t){return r.Z.isPlainObject(t)||r.Z.isArray(t)}function c(t){return r.Z.endsWith(t,"[]")?t.slice(0,-2):t}function u(t,e,n){return t?t.concat(e).map(function(t,e){return t=c(t),!n&&e?"["+t+"]":t}).join(n?".":""):e}let l=r.Z.toFlatObject(r.Z,{},null,function(t){return/^is[A-Z]/.test(t)});e.Z=function(t,e,n){if(!r.Z.isObject(t))throw TypeError("target must be an object");e=e||new(o.Z||FormData);let f=(n=r.Z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,e){return!r.Z.isUndefined(e[t])})).metaTokens,p=n.visitor||y,h=n.dots,d=n.indexes,g=(n.Blob||"undefined"!=typeof Blob&&Blob)&&r.Z.isSpecCompliantForm(e);if(!r.Z.isFunction(p))throw TypeError("visitor must be a function");function v(t){if(null===t)return"";if(r.Z.isDate(t))return t.toISOString();if(!g&&r.Z.isBlob(t))throw new i.Z("Blob is not supported. Use a Buffer instead.");return r.Z.isArrayBuffer(t)||r.Z.isTypedArray(t)?g&&"function"==typeof Blob?new Blob([t]):s.from(t):t}function y(t,n,i){let o=t;if(t&&!i&&"object"==typeof t){if(r.Z.endsWith(n,"{}"))n=f?n:n.slice(0,-2),t=JSON.stringify(t);else{var s;if(r.Z.isArray(t)&&(s=t,r.Z.isArray(s)&&!s.some(a))||(r.Z.isFileList(t)||r.Z.endsWith(n,"[]"))&&(o=r.Z.toArray(t)))return n=c(n),o.forEach(function(t,i){r.Z.isUndefined(t)||null===t||e.append(!0===d?u([n],i,h):null===d?n:n+"[]",v(t))}),!1}}return!!a(t)||(e.append(u(i,n,h),v(t)),!1)}let m=[],b=Object.assign(l,{defaultVisitor:y,convertValue:v,isVisitable:a});if(!r.Z.isObject(t))throw TypeError("data must be an object");return!function t(n,i){if(!r.Z.isUndefined(n)){if(-1!==m.indexOf(n))throw Error("Circular reference detected in "+i.join("."));m.push(n),r.Z.forEach(n,function(n,o){!0===(!(r.Z.isUndefined(n)||null===n)&&p.call(e,n,r.Z.isString(o)?o.trim():o,i,b))&&t(n,i?i.concat(o):[o])}),m.pop()}}(t),e}},21232:function(t,e,n){"use strict";var r=n(65646),i=n(86963);e.Z={...i,...r.Z}},81346:function(t,e,n){"use strict";var r=n(46415),i=n(1682),o=n(83493),s=n(84146),a=n(32857),c=n(68976),u=n(80189),l=n(88766),f=n(2058);function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?p(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var d={type:"logger",log:function(t){this.output("log",t)},warn:function(t){this.output("warn",t)},error:function(t){this.output("error",t)},output:function(t,e){console&&console[t]&&console[t].apply(console,e)}},g=new(function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.Z)(this,t),this.init(e,n)}return(0,o.Z)(t,[{key:"init",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=t||d,this.options=e,this.debug=e.debug}},{key:"setDebug",value:function(t){this.debug=t}},{key:"log",value:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"log","",!0)}},{key:"warn",value:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","",!0)}},{key:"error",value:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"error","")}},{key:"deprecate",value:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(t,e,n,r){return r&&!this.debug?null:("string"==typeof t[0]&&(t[0]="".concat(n).concat(this.prefix," ").concat(t[0])),this.logger[e](t))}},{key:"create",value:function(e){return new t(this.logger,h(h({},{prefix:"".concat(this.prefix,":").concat(e,":")}),this.options))}},{key:"clone",value:function(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new t(this.logger,e)}}]),t}()),v=function(){function t(){(0,i.Z)(this,t),this.observers={}}return(0,o.Z)(t,[{key:"on",value:function(t,e){var n=this;return t.split(" ").forEach(function(t){n.observers[t]=n.observers[t]||[],n.observers[t].push(e)}),this}},{key:"off",value:function(t,e){if(this.observers[t]){if(!e){delete this.observers[t];return}this.observers[t]=this.observers[t].filter(function(t){return t!==e})}}},{key:"emit",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];this.observers[t]&&[].concat(this.observers[t]).forEach(function(t){t.apply(void 0,n)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(function(e){e.apply(e,[t].concat(n))})}}]),t}();function y(){var t,e,n=new Promise(function(n,r){t=n,e=r});return n.resolve=t,n.reject=e,n}function m(t){return null==t?"":""+t}function b(t,e,n){function r(t){return t&&t.indexOf("###")>-1?t.replace(/###/g,"."):t}function i(){return!t||"string"==typeof t}for(var o="string"!=typeof e?[].concat(e):e.split(".");o.length>1;){if(i())return{};var s=r(o.shift());!t[s]&&n&&(t[s]=new n),t=Object.prototype.hasOwnProperty.call(t,s)?t[s]:{}}return i()?{}:{obj:t,k:r(o.shift())}}function x(t,e,n){var r=b(t,e,Object);r.obj[r.k]=n}function k(t,e){var n=b(t,e),r=n.obj,i=n.k;if(r)return r[i]}function O(t,e,n){var r=k(t,n);return void 0!==r?r:k(e,n)}function Z(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var S={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function w(t){return"string"==typeof t?t.replace(/[&<>"'\/]/g,function(t){return S[t]}):t}var E="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,j=[" ",",","?","!",";"];function R(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function P(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?R(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var N=function(t){(0,a.Z)(l,t);var e,n,r=(e=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=(0,u.Z)(e);return t=n?Reflect.construct(r,arguments,(0,u.Z)(this).constructor):r.apply(this,arguments),(0,c.Z)(this,t)});function l(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(0,i.Z)(this,l),e=r.call(this),E&&v.call((0,s.Z)(e)),e.data=t||{},e.options=n,void 0===e.options.keySeparator&&(e.options.keySeparator="."),void 0===e.options.ignoreJSONStructure&&(e.options.ignoreJSONStructure=!0),e}return(0,o.Z)(l,[{key:"addNamespaces",value:function(t){0>this.options.ns.indexOf(t)&&this.options.ns.push(t)}},{key:"removeNamespaces",value:function(t){var e=this.options.ns.indexOf(t);e>-1&&this.options.ns.splice(e,1)}},{key:"getResource",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,s=[t,e];n&&"string"!=typeof n&&(s=s.concat(n)),n&&"string"==typeof n&&(s=s.concat(i?n.split(i):n)),t.indexOf(".")>-1&&(s=t.split("."));var a=k(this.data,s);return a||!o||"string"!=typeof n?a:function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[n])return e[n];for(var i=n.split(r),o=e,s=0;s<i.length;++s){if(!o||"string"==typeof o[i[s]]&&s+1<i.length)return;if(void 0===o[i[s]]){for(var a=2,c=i.slice(s,s+a).join(r),u=o[c];void 0===u&&i.length>s+a;)a++,u=o[c=i.slice(s,s+a).join(r)];if(void 0===u)return;if(null===u)return null;if(n.endsWith(c)){if("string"==typeof u)return u;if(c&&"string"==typeof u[c])return u[c]}var l=i.slice(s+a).join(r);if(l)return t(u,l,r);return}o=o[i[s]]}return o}}(this.data&&this.data[t]&&this.data[t][e],n,i)}},{key:"addResource",value:function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var s=[t,e];n&&(s=s.concat(o?n.split(o):n)),t.indexOf(".")>-1&&(s=t.split("."),r=e,e=s[1]),this.addNamespaces(e),x(this.data,s,r),!i.silent&&this.emit("added",t,e,n,r)}},{key:"addResources",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in n)("string"==typeof n[i]||"[object Array]"===Object.prototype.toString.apply(n[i]))&&this.addResource(t,e,i,n[i],{silent:!0});!r.silent&&this.emit("added",t,e,n)}},{key:"addResourceBundle",value:function(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},s=[t,e];t.indexOf(".")>-1&&(s=t.split("."),r=n,n=e,e=s[1]),this.addNamespaces(e);var a=k(this.data,s)||{};r?!function t(e,n,r){for(var i in n)"__proto__"!==i&&"constructor"!==i&&(i in e?"string"==typeof e[i]||e[i]instanceof String||"string"==typeof n[i]||n[i]instanceof String?r&&(e[i]=n[i]):t(e[i],n[i],r):e[i]=n[i]);return e}(a,n,i):a=P(P({},a),n),x(this.data,s,a),!o.silent&&this.emit("added",t,e,n)}},{key:"removeResourceBundle",value:function(t,e){this.hasResourceBundle(t,e)&&delete this.data[t][e],this.removeNamespaces(e),this.emit("removed",t,e)}},{key:"hasResourceBundle",value:function(t,e){return void 0!==this.getResource(t,e)}},{key:"getResourceBundle",value:function(t,e){return(!e&&(e=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?P(P({},{}),this.getResource(t,e)):this.getResource(t,e)}},{key:"getDataByLanguage",value:function(t){return this.data[t]}},{key:"hasLanguageSomeTranslations",value:function(t){var e=this.getDataByLanguage(t);return!!(e&&Object.keys(e)||[]).find(function(t){return e[t]&&Object.keys(e[t]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),l}(v),L={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,e,n,r,i){var o=this;return t.forEach(function(t){o.processors[t]&&(e=o.processors[t].process(e,n,r,i))}),e}};function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function C(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var A={},D=function(t){(0,a.Z)(f,t);var e,n,l=(e=f,n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=(0,u.Z)(e);return t=n?Reflect.construct(r,arguments,(0,u.Z)(this).constructor):r.apply(this,arguments),(0,c.Z)(this,t)});function f(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,i.Z)(this,f),e=l.call(this),E&&v.call((0,s.Z)(e)),!function(t,e,n){t.forEach(function(t){e[t]&&(n[t]=e[t])})}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,(0,s.Z)(e)),e.options=n,void 0===e.options.keySeparator&&(e.options.keySeparator="."),e.logger=g.create("translator"),e}return(0,o.Z)(f,[{key:"changeLanguage",value:function(t){t&&(this.language=t)}},{key:"exists",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==t)return!1;var n=this.resolve(t,e);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(t,e){var n=void 0!==e.nsSeparator?e.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==e.keySeparator?e.keySeparator:this.options.keySeparator,i=e.ns||this.options.defaultNS||[],o=n&&t.indexOf(n)>-1,s=!this.options.userDefinedKeySeparator&&!e.keySeparator&&!this.options.userDefinedNsSeparator&&!e.nsSeparator&&!function(t,e,n){e=e||"",n=n||"";var r=j.filter(function(t){return 0>e.indexOf(t)&&0>n.indexOf(t)});if(0===r.length)return!0;var i=new RegExp("(".concat(r.map(function(t){return"?"===t?"\\?":t}).join("|"),")")),o=!i.test(t);if(!o){var s=t.indexOf(n);s>0&&!i.test(t.substring(0,s))&&(o=!0)}return o}(t,n,r);if(o&&!s){var a=t.match(this.interpolator.nestingRegexp);if(a&&a.length>0)return{key:t,namespaces:i};var c=t.split(n);(n!==r||n===r&&this.options.ns.indexOf(c[0])>-1)&&(i=c.shift()),t=c.join(r)}return"string"==typeof i&&(i=[i]),{key:t,namespaces:i}}},{key:"translate",value:function(t,e,n){var i=this;if("object"!==(0,r.Z)(e)&&this.options.overloadTranslationOptionHandler&&(e=this.options.overloadTranslationOptionHandler(arguments)),!e&&(e={}),null==t)return"";!Array.isArray(t)&&(t=[String(t)]);var o=void 0!==e.returnDetails?e.returnDetails:this.options.returnDetails,s=void 0!==e.keySeparator?e.keySeparator:this.options.keySeparator,a=this.extractFromKey(t[t.length-1],e),c=a.key,u=a.namespaces,l=u[u.length-1],p=e.lng||this.language,h=e.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p&&"cimode"===p.toLowerCase()){if(h){var d=e.nsSeparator||this.options.nsSeparator;return o?(g.res="".concat(l).concat(d).concat(c),g):"".concat(l).concat(d).concat(c)}return o?(g.res=c,g):c}var g=this.resolve(t,e),v=g&&g.res,y=g&&g.usedKey||c,m=g&&g.exactUsedKey||c,b=Object.prototype.toString.apply(v),x=void 0!==e.joinArrays?e.joinArrays:this.options.joinArrays,k=!this.i18nFormat||this.i18nFormat.handleAsObject,O="string"!=typeof v&&"boolean"!=typeof v&&"number"!=typeof v;if(k&&v&&O&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(b)&&!("string"==typeof x&&"[object Array]"===b)){if(!e.returnObjects&&!this.options.returnObjects){!this.options.returnedObjectHandler&&this.logger.warn("accessing an object - but returnObjects options is not enabled!");var Z=this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,v,C(C({},e),{},{ns:u})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");return o?(g.res=Z,g):Z}if(s){var S="[object Array]"===b,w=S?[]:{},E=S?m:y;for(var j in v)if(Object.prototype.hasOwnProperty.call(v,j)){var R="".concat(E).concat(s).concat(j);w[j]=this.translate(R,C(C({},e),{joinArrays:!1,ns:u})),w[j]===R&&(w[j]=v[j])}v=w}}else if(k&&"string"==typeof x&&"[object Array]"===b)(v=v.join(x))&&(v=this.extendTranslation(v,t,e,n));else{var P=!1,N=!1,L=void 0!==e.count&&"string"!=typeof e.count,_=f.hasDefaultValue(e),A=L?this.pluralResolver.getSuffix(p,e.count,e):"",D=e["defaultValue".concat(A)]||e.defaultValue;!this.isValidLookup(v)&&_&&(P=!0,v=D),!this.isValidLookup(v)&&(N=!0,v=c);var F=(e.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&N?void 0:v,T=_&&D!==v&&this.options.updateMissing;if(N||P||T){if(this.logger.log(T?"updateKey":"missingKey",p,l,c,T?D:v),s){var I=this.resolve(c,C(C({},e),{},{keySeparator:!1}));I&&I.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.")}var B=[],U=this.languageUtils.getFallbackCodes(this.options.fallbackLng,e.lng||this.language);if("fallback"===this.options.saveMissingTo&&U&&U[0])for(var V=0;V<U.length;V++)B.push(U[V]);else"all"===this.options.saveMissingTo?B=this.languageUtils.toResolveHierarchy(e.lng||this.language):B.push(e.lng||this.language);var M=function(t,n,r){var o=_&&r!==v?r:F;i.options.missingKeyHandler?i.options.missingKeyHandler(t,l,n,o,T,e):i.backendConnector&&i.backendConnector.saveMissing&&i.backendConnector.saveMissing(t,l,n,o,T,e),i.emit("missingKey",t,l,n,v)};this.options.saveMissing&&(this.options.saveMissingPlurals&&L?B.forEach(function(t){i.pluralResolver.getSuffixes(t,e).forEach(function(n){M([t],c+n,e["defaultValue".concat(n)]||D)})}):M(B,c,D))}v=this.extendTranslation(v,t,e,g,n),N&&v===c&&this.options.appendNamespaceToMissingKey&&(v="".concat(l,":").concat(c)),(N||P)&&this.options.parseMissingKeyHandler&&(v="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(l,":").concat(c):c,P?v:void 0):this.options.parseMissingKeyHandler(v))}return o?(g.res=v,g):v}},{key:"extendTranslation",value:function(t,e,n,r,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,C(C({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(C(C({},n),{interpolation:C(C({},this.options.interpolation),n.interpolation)}));var s,a="string"==typeof t&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(a){var c=t.match(this.interpolator.nestingRegexp);s=c&&c.length}var u=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(u=C(C({},this.options.interpolation.defaultVariables),u)),t=this.interpolator.interpolate(t,u,n.lng||this.language,n),a){var l=t.match(this.interpolator.nestingRegexp);s<(l&&l.length)&&(n.nest=!1)}!1!==n.nest&&(t=this.interpolator.nest(t,function(){for(var t=arguments.length,r=Array(t),s=0;s<t;s++)r[s]=arguments[s];return i&&i[0]===r[0]&&!n.context?(o.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(e[0])),null):o.translate.apply(o,r.concat([e]))},n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,p="string"==typeof f?[f]:f;return null!=t&&p&&p.length&&!1!==n.applyPostProcessor&&(t=L.handle(p,t,e,this.options&&this.options.postProcessPassResolved?C({i18nResolved:r},n):n,this)),t}},{key:"resolve",value:function(t){var e,n,r,i,o,s=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof t&&(t=[t]),t.forEach(function(t){if(!s.isValidLookup(e)){var c=s.extractFromKey(t,a),u=c.key;n=u;var l=c.namespaces;s.options.fallbackNS&&(l=l.concat(s.options.fallbackNS));var f=void 0!==a.count&&"string"!=typeof a.count,p=f&&!a.ordinal&&0===a.count&&s.pluralResolver.shouldUseIntlApi(),h=void 0!==a.context&&("string"==typeof a.context||"number"==typeof a.context)&&""!==a.context,d=a.lngs?a.lngs:s.languageUtils.toResolveHierarchy(a.lng||s.language,a.fallbackLng);l.forEach(function(t){!s.isValidLookup(e)&&(o=t,!A["".concat(d[0],"-").concat(t)]&&s.utils&&s.utils.hasLoadedNamespace&&!s.utils.hasLoadedNamespace(o)&&(A["".concat(d[0],"-").concat(t)]=!0,s.logger.warn('key "'.concat(n,'" for languages "').concat(d.join(", "),'" won\'t get resolved as namespace "').concat(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!!!")),d.forEach(function(n){if(!s.isValidLookup(e)){i=n;var o,c=[u];if(s.i18nFormat&&s.i18nFormat.addLookupKeys)s.i18nFormat.addLookupKeys(c,u,n,t,a);else{f&&(l=s.pluralResolver.getSuffix(n,a.count,a));var l,d="".concat(s.options.pluralSeparator,"zero");if(f&&(c.push(u+l),p&&c.push(u+d)),h){var g="".concat(u).concat(s.options.contextSeparator).concat(a.context);c.push(g),f&&(c.push(g+l),p&&c.push(g+d))}}for(;o=c.pop();)!s.isValidLookup(e)&&(r=o,e=s.getResource(n,t,o,a))}}))})}}),{res:e,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}},{key:"isValidLookup",value:function(t){return void 0!==t&&!(!this.options.returnNull&&null===t)&&!(!this.options.returnEmptyString&&""===t)}},{key:"getResource",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,e,n,r):this.resourceStore.getResource(t,e,n,r)}}],[{key:"hasDefaultValue",value:function(t){var e="defaultValue";for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e===n.substring(0,e.length)&&void 0!==t[n])return!0;return!1}}]),f}(v);function F(t){return t.charAt(0).toUpperCase()+t.slice(1)}var T=function(){function t(e){(0,i.Z)(this,t),this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=g.create("languageUtils")}return(0,o.Z)(t,[{key:"getScriptPartFromCode",value:function(t){if(!t||0>t.indexOf("-"))return null;var e=t.split("-");return 2===e.length?null:(e.pop(),"x"===e[e.length-1].toLowerCase())?null:this.formatLanguageCode(e.join("-"))}},{key:"getLanguagePartFromCode",value:function(t){if(!t||0>t.indexOf("-"))return t;var e=t.split("-");return this.formatLanguageCode(e[0])}},{key:"formatLanguageCode",value:function(t){if("string"==typeof t&&t.indexOf("-")>-1){var e=["hans","hant","latn","cyrl","cans","mong","arab"],n=t.split("-");return this.options.lowerCaseLng?n=n.map(function(t){return t.toLowerCase()}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=F(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=F(n[1].toLowerCase())),e.indexOf(n[2].toLowerCase())>-1&&(n[2]=F(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}},{key:"isSupportedCode",value:function(t){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}},{key:"getBestMatchFromCodes",value:function(t){var e,n=this;return t?(t.forEach(function(t){if(!e){var r=n.formatLanguageCode(t);(!n.options.supportedLngs||n.isSupportedCode(r))&&(e=r)}}),!e&&this.options.supportedLngs&&t.forEach(function(t){if(!e){var r=n.getLanguagePartFromCode(t);if(n.isSupportedCode(r))return e=r;e=n.options.supportedLngs.find(function(t){if(0===t.indexOf(r))return t})}}),!e&&(e=this.getFallbackCodes(this.options.fallbackLng)[0]),e):null}},{key:"getFallbackCodes",value:function(t,e){if(!t)return[];if("function"==typeof t&&(t=t(e)),"string"==typeof t&&(t=[t]),"[object Array]"===Object.prototype.toString.apply(t))return t;if(!e)return t.default||[];var n=t[e];return!n&&(n=t[this.getScriptPartFromCode(e)]),!n&&(n=t[this.formatLanguageCode(e)]),!n&&(n=t[this.getLanguagePartFromCode(e)]),!n&&(n=t.default),n||[]}},{key:"toResolveHierarchy",value:function(t,e){var n=this,r=this.getFallbackCodes(e||this.options.fallbackLng||[],t),i=[],o=function(t){t&&(n.isSupportedCode(t)?i.push(t):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(t)))};return"string"==typeof t&&t.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(t)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(t)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(t))):"string"==typeof t&&o(this.formatLanguageCode(t)),r.forEach(function(t){0>i.indexOf(t)&&o(n.formatLanguageCode(t))}),i}}]),t}(),I=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],B={1:function(t){return Number(t>1)},2:function(t){return Number(1!=t)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(0==t?0:1==t?1:2==t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(1==t?0:t>=2&&t<=4?1:2)},7:function(t){return Number(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(1==t?0:2==t?1:8!=t&&11!=t?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(1==t?0:2==t?1:t<7?2:t<11?3:4)},11:function(t){return Number(1==t||11==t?0:2==t||12==t?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(0!==t)},14:function(t){return Number(1==t?0:2==t?1:3==t?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:0!==t?1:2)},17:function(t){return Number(1==t||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(0==t?0:1==t?1:2)},19:function(t){return Number(1==t?0:0==t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(1==t?0:0==t||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(1==t?0:2==t?1:(t<0||t>10)&&t%10==0?2:3)}},U=["v1","v2","v3"],V={zero:0,one:1,two:2,few:3,many:4,other:5},M=function(){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.Z)(this,t),this.languageUtils=e,this.options=r,this.logger=g.create("pluralResolver"),(!this.options.compatibilityJSON||"v4"===this.options.compatibilityJSON)&&("undefined"==typeof Intl||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(n={},I.forEach(function(t){t.lngs.forEach(function(e){n[e]={numbers:t.nr,plurals:B[t.fc]}})}),n)}return(0,o.Z)(t,[{key:"addRule",value:function(t,e){this.rules[t]=e}},{key:"getRule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(t,{type:e.ordinal?"ordinal":"cardinal"})}catch(t){return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}},{key:"needsPlural",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(t,e);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(t,n).map(function(t){return"".concat(e).concat(t)})}},{key:"getSuffixes",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort(function(t,e){return V[t]-V[e]}).map(function(t){return"".concat(e.options.prepend).concat(t)}):r.numbers.map(function(r){return e.getSuffix(t,r,n)}):[]}},{key:"getSuffix",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(t,n);if(r)return this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(e)):this.getSuffixRetroCompatible(r,e);return this.logger.warn("no plural rule found for: ".concat(t)),""}},{key:"getSuffixRetroCompatible",value:function(t,e){var n=this,r=t.noAbs?t.plurals(e):t.plurals(Math.abs(e)),i=t.numbers[r];this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var o=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};if("v1"===this.options.compatibilityJSON)return 1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):o();if("v2"===this.options.compatibilityJSON)return o();if(this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0])return o();return this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!U.includes(this.options.compatibilityJSON)}}]),t}();function z(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function K(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?z(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var q=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,i.Z)(this,t),this.logger=g.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||function(t){return t},this.init(e)}return(0,o.Z)(t,[{key:"init",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!t.interpolation&&(t.interpolation={escapeValue:!0});var e=t.interpolation;this.escape=void 0!==e.escape?e.escape:w,this.escapeValue=void 0===e.escapeValue||e.escapeValue,this.useRawValueToEscape=void 0!==e.useRawValueToEscape&&e.useRawValueToEscape,this.prefix=e.prefix?Z(e.prefix):e.prefixEscaped||"{{",this.suffix=e.suffix?Z(e.suffix):e.suffixEscaped||"}}",this.formatSeparator=e.formatSeparator?e.formatSeparator:e.formatSeparator||",",this.unescapePrefix=e.unescapeSuffix?"":e.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":e.unescapeSuffix||"",this.nestingPrefix=e.nestingPrefix?Z(e.nestingPrefix):e.nestingPrefixEscaped||Z("$t("),this.nestingSuffix=e.nestingSuffix?Z(e.nestingSuffix):e.nestingSuffixEscaped||Z(")"),this.nestingOptionsSeparator=e.nestingOptionsSeparator?e.nestingOptionsSeparator:e.nestingOptionsSeparator||",",this.maxReplaces=e.maxReplaces?e.maxReplaces:1e3,this.alwaysFormat=void 0!==e.alwaysFormat&&e.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var t="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=RegExp(t,"g");var e="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=RegExp(e,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=RegExp(n,"g")}},{key:"interpolate",value:function(t,e,n,r){var i,o,s,a=this,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(t){return t.replace(/\$/g,"$$$$")}var l=function(t){if(0>t.indexOf(a.formatSeparator)){var i=O(e,c,t);return a.alwaysFormat?a.format(i,void 0,n,K(K(K({},r),e),{},{interpolationkey:t})):i}var o=t.split(a.formatSeparator),s=o.shift().trim(),u=o.join(a.formatSeparator).trim();return a.format(O(e,c,s),u,n,K(K(K({},r),e),{},{interpolationkey:s}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,p=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(t){return u(t)}},{regex:this.regexp,safeValue:function(t){return a.escapeValue?u(a.escape(t)):u(t)}}].forEach(function(e){for(s=0;i=e.regex.exec(t);){var n=i[1].trim();if(void 0===(o=l(n))){if("function"==typeof f){var c=f(t,i,r);o="string"==typeof c?c:""}else if(r&&r.hasOwnProperty(n))o="";else if(p){o=i[0];continue}else a.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(t)),o=""}else"string"!=typeof o&&!a.useRawValueToEscape&&(o=m(o));var u=e.safeValue(o);if(t=t.replace(i[0],u),p?(e.regex.lastIndex+=o.length,e.regex.lastIndex-=i[0].length):e.regex.lastIndex=0,++s>=a.maxReplaces)break}}),t}},{key:"nest",value:function(t,e){var n,r,i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=K({},o);function a(t,e){var n=this.nestingOptionsSeparator;if(0>t.indexOf(n))return t;var r=t.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);t=r[0];var o=(i=this.interpolate(i,s)).match(/'/g),a=i.match(/"/g);(o&&o.length%2==0&&!a||a.length%2!=0)&&(i=i.replace(/'/g,'"'));try{s=JSON.parse(i),e&&(s=K(K({},e),s))}catch(e){return this.logger.warn("failed parsing options string in nesting for key ".concat(t),e),"".concat(t).concat(n).concat(i)}return delete s.defaultValue,t}for(s.applyPostProcessor=!1,delete s.defaultValue;n=this.nestingRegexp.exec(t);){var c=[],u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var l=n[1].split(this.formatSeparator).map(function(t){return t.trim()});n[1]=l.shift(),c=l,u=!0}if((r=e(a.call(this,n[1].trim(),s),s))&&n[0]===t&&"string"!=typeof r)return r;"string"!=typeof r&&(r=m(r)),!r&&(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(t)),r=""),u&&(r=c.reduce(function(t,e){return i.format(t,e,o.lng,K(K({},o),{},{interpolationkey:n[1].trim()}))},r.trim())),t=t.replace(n[0],r),this.regexp.lastIndex=0}return t}}]),t}();function H(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function J(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?H(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function W(t){var e={};return function(n,r,i){var o=r+JSON.stringify(i),s=e[o];return!s&&(s=t(r,i),e[o]=s),s(n)}}var $=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,i.Z)(this,t),this.logger=g.create("formatter"),this.options=e,this.formats={number:W(function(t,e){var n=new Intl.NumberFormat(t,e);return function(t){return n.format(t)}}),currency:W(function(t,e){var n=new Intl.NumberFormat(t,J(J({},e),{},{style:"currency"}));return function(t){return n.format(t)}}),datetime:W(function(t,e){var n=new Intl.DateTimeFormat(t,J({},e));return function(t){return n.format(t)}}),relativetime:W(function(t,e){var n=new Intl.RelativeTimeFormat(t,J({},e));return function(t){return n.format(t,e.range||"day")}}),list:W(function(t,e){var n=new Intl.ListFormat(t,J({},e));return function(t){return n.format(t)}})},this.init(e)}return(0,o.Z)(t,[{key:"init",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=e.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}},{key:"add",value:function(t,e){this.formats[t.toLowerCase().trim()]=e}},{key:"addCached",value:function(t,e){this.formats[t.toLowerCase().trim()]=W(e)}},{key:"format",value:function(t,e,n,r){var i=this;return e.split(this.formatSeparator).reduce(function(t,e){var o=function(t){var e=t.toLowerCase().trim(),n={};if(t.indexOf("(")>-1){var r=t.split("(");e=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);"currency"===e&&0>i.indexOf(":")?!n.currency&&(n.currency=i.trim()):"relativetime"===e&&0>i.indexOf(":")?!n.range&&(n.range=i.trim()):i.split(";").forEach(function(t){if(t){var e=t.split(":"),r=(0,f.Z)(e),i=r[0],o=r.slice(1).join(":").trim().replace(/^'+|'+$/g,"");!n[i.trim()]&&(n[i.trim()]=o),"false"===o&&(n[i.trim()]=!1),"true"===o&&(n[i.trim()]=!0),!isNaN(o)&&(n[i.trim()]=parseInt(o,10))}})}return{formatName:e,formatOptions:n}}(e),s=o.formatName,a=o.formatOptions;if(i.formats[s]){var c=t;try{var u=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},l=u.locale||u.lng||r.locale||r.lng||n;c=i.formats[s](t,l,J(J(J({},a),r),u))}catch(t){i.logger.warn(t)}return c}return i.logger.warn("there was no format function for ".concat(s)),t},t)}}]),t}();function Y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function G(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Y(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Q=function(t){(0,a.Z)(l,t);var e,n,r=(e=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=(0,u.Z)(e);return t=n?Reflect.construct(r,arguments,(0,u.Z)(this).constructor):r.apply(this,arguments),(0,c.Z)(this,t)});function l(t,e,n){var o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(0,i.Z)(this,l),o=r.call(this),E&&v.call((0,s.Z)(o)),o.backend=t,o.store=e,o.services=n,o.languageUtils=n.languageUtils,o.options=a,o.logger=g.create("backendConnector"),o.waitingReads=[],o.maxParallelReads=a.maxParallelReads||10,o.readingCalls=0,o.maxRetries=a.maxRetries>=0?a.maxRetries:5,o.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(n,a.backend,a),o}return(0,o.Z)(l,[{key:"queueLoad",value:function(t,e,n,r){var i=this,o={},s={},a={},c={};return t.forEach(function(t){var r=!0;e.forEach(function(e){var a="".concat(t,"|").concat(e);!n.reload&&i.store.hasResourceBundle(t,e)?i.state[a]=2:i.state[a]<0||(1===i.state[a]?void 0===s[a]&&(s[a]=!0):(i.state[a]=1,r=!1,void 0===s[a]&&(s[a]=!0),void 0===o[a]&&(o[a]=!0),void 0===c[e]&&(c[e]=!0)))}),!r&&(a[t]=!0)}),(Object.keys(o).length||Object.keys(s).length)&&this.queue.push({pending:s,pendingCount:Object.keys(s).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(s),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(c)}}},{key:"loaded",value:function(t,e,n){var r=t.split("|"),i=r[0],o=r[1];e&&this.emit("failedLoading",i,o,e),n&&this.store.addResourceBundle(i,o,n),this.state[t]=e?-1:2;var s={};this.queue.forEach(function(n){var r,a,c,u,l,f,p,h,d;r=n.loaded,a=[i],c=o,f=(l=b(r,a,Object)).obj,f[p=l.k]=f[p]||[],u||f[p].push(c),h=n,d=t,void 0!==h.pending[d]&&(delete h.pending[d],h.pendingCount--),e&&n.errors.push(e),0===n.pendingCount&&!n.done&&(Object.keys(n.loaded).forEach(function(t){!s[t]&&(s[t]={});var e=n.loaded[t];e.length&&e.forEach(function(e){void 0===s[t][e]&&(s[t][e]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(function(t){return!t.done})}},{key:"read",value:function(t,e,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,s=arguments.length>5?arguments[5]:void 0;if(!t.length)return s(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:e,fcName:n,tried:i,wait:o,callback:s});return}return this.readingCalls++,this.backend[n](t,e,function(a,c){if(r.readingCalls--,r.waitingReads.length>0){var u=r.waitingReads.shift();r.read(u.lng,u.ns,u.fcName,u.tried,u.wait,u.callback)}if(a&&c&&i<r.maxRetries){setTimeout(function(){r.read.call(r,t,e,n,i+1,2*o,s)},o);return}s(a,c)})}},{key:"prepareLoading",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=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."),i&&i();"string"==typeof t&&(t=this.languageUtils.toResolveHierarchy(t)),"string"==typeof e&&(e=[e]);var o=this.queueLoad(t,e,r,i);if(!o.toLoad.length)return!o.pending.length&&i(),null;o.toLoad.forEach(function(t){n.loadOne(t)})}},{key:"load",value:function(t,e,n){this.prepareLoading(t,e,{},n)}},{key:"reload",value:function(t,e,n){this.prepareLoading(t,e,{reload:!0},n)}},{key:"loadOne",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=t.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,function(r,s){r&&e.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(i," failed"),r),!r&&s&&e.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(i),s),e.loaded(t,r,s)})}},{key:"saveMissing",value:function(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(e)){this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(e,'" 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!!!");return}if(null!=n&&""!==n)this.backend&&this.backend.create&&this.backend.create(t,e,n,r,null,G(G({},o),{},{isUpdate:i})),t&&t[0]&&this.store.addResource(t[0],e,n,r)}}]),l}(v);function X(t){return"string"==typeof t.ns&&(t.ns=[t.ns]),"string"==typeof t.fallbackLng&&(t.fallbackLng=[t.fallbackLng]),"string"==typeof t.fallbackNS&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&0>t.supportedLngs.indexOf("cimode")&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t}function tt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function te(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tt(Object(n),!0).forEach(function(e){(0,l.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function tn(){}var tr=function(t){(0,a.Z)(f,t);var e,n,l=(e=f,n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=(0,u.Z)(e);return t=n?Reflect.construct(r,arguments,(0,u.Z)(this).constructor):r.apply(this,arguments),(0,c.Z)(this,t)});function f(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if((0,i.Z)(this,f),t=l.call(this),E&&v.call((0,s.Z)(t)),t.options=X(e),t.services={},t.logger=g,t.modules={external:[]},!function(t){Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(function(e){"function"==typeof t[e]&&(t[e]=t[e].bind(t))})}((0,s.Z)(t)),n&&!t.isInitialized&&!e.isClone){if(!t.options.initImmediate)return t.init(e,n),(0,c.Z)(t,(0,s.Z)(t));setTimeout(function(){t.init(e,n)},0)}return t}return(0,o.Z)(f,[{key:"init",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof e&&(n=e,e={}),!e.defaultNS&&!1!==e.defaultNS&&e.ns&&("string"==typeof e.ns?e.defaultNS=e.ns:0>e.ns.indexOf("translation")&&(e.defaultNS=e.ns[0]));var i={debug:!1,initImmediate:!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:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var e={};if("object"===(0,r.Z)(t[1])&&(e=t[1]),"string"==typeof t[1]&&(e.defaultValue=t[1]),"string"==typeof t[2]&&(e.tDescription=t[2]),"object"===(0,r.Z)(t[2])||"object"===(0,r.Z)(t[3])){var n=t[3]||t[2];Object.keys(n).forEach(function(t){e[t]=n[t]})}return e},interpolation:{escapeValue:!0,format:function(t,e,n,r){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function o(t){return t?"function"==typeof t?new t:t:null}if(this.options=te(te(te({},i),this.options),X(e)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=te(te({},i.interpolation),this.options.interpolation)),void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),!this.options.isClone){this.modules.logger?g.init(o(this.modules.logger),this.options):g.init(null,this.options),this.modules.formatter?s=this.modules.formatter:"undefined"!=typeof Intl&&(s=$);var s,a=new T(this.options);this.store=new N(this.options.resources,this.options);var c=this.services;c.logger=g,c.resourceStore=this.store,c.languageUtils=a,c.pluralResolver=new M(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),s&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(c.formatter=o(s),c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new q(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new Q(o(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t.emit.apply(t,[e].concat(r))}),this.modules.languageDetector&&(c.languageDetector=o(this.modules.languageDetector),c.languageDetector.init(c,this.options.detection,this.options)),this.modules.i18nFormat&&(c.i18nFormat=o(this.modules.i18nFormat),c.i18nFormat.init&&c.i18nFormat.init(this)),this.translator=new D(this.services,this.options),this.translator.on("*",function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t.emit.apply(t,[e].concat(r))}),this.modules.external.forEach(function(e){e.init&&e.init(t)})}if(this.format=this.options.interpolation.format,!n&&(n=tn),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&"dev"!==u[0]&&(this.options.lng=u[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(function(e){t[e]=function(){var n;return(n=t.store)[e].apply(n,arguments)}});["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(function(e){t[e]=function(){var n;return(n=t.store)[e].apply(n,arguments),t}});var l=y(),f=function(){var e=function(e,r){t.isInitialized&&!t.initializedStoreOnce&&t.logger.warn("init: i18next is already initialized. You should call init just once!"),t.isInitialized=!0,!t.options.isClone&&t.logger.log("initialized",t.options),t.emit("initialized",t.options),l.resolve(r),n(e,r)};if(t.languages&&"v1"!==t.options.compatibilityAPI&&!t.isInitialized)return e(null,t.t.bind(t));t.changeLanguage(t.options.lng,e)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),l}},{key:"loadResources",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tn,r=n,i="string"==typeof t?t:this.language;if("function"==typeof t&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase())return r();var o=[],s=function(t){t&&e.services.languageUtils.toResolveHierarchy(t).forEach(function(t){0>o.indexOf(t)&&o.push(t)})};i?s(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(t){return s(t)}),this.options.preload&&this.options.preload.forEach(function(t){return s(t)}),this.services.backendConnector.load(o,this.options.ns,function(t){!t&&!e.resolvedLanguage&&e.language&&e.setResolvedLanguage(e.language),r(t)})}else r(null)}},{key:"reloadResources",value:function(t,e,n){var r=y();return!t&&(t=this.languages),!e&&(e=this.options.ns),!n&&(n=tn),this.services.backendConnector.reload(t,e,function(t){r.resolve(),n(t)}),r}},{key:"use",value:function(t){if(!t)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===t.type&&(this.modules.backend=t),("logger"===t.type||t.log&&t.warn&&t.error)&&(this.modules.logger=t),"languageDetector"===t.type&&(this.modules.languageDetector=t),"i18nFormat"===t.type&&(this.modules.i18nFormat=t),"postProcessor"===t.type&&L.addPostProcessor(t),"formatter"===t.type&&(this.modules.formatter=t),"3rdParty"===t.type&&this.modules.external.push(t),this}},{key:"setResolvedLanguage",value:function(t){if(!!t&&!!this.languages){if(!(["cimode","dev"].indexOf(t)>-1))for(var e=0;e<this.languages.length;e++){var n=this.languages[e];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}}},{key:"changeLanguage",value:function(t,e){var n=this;this.isLanguageChangingTo=t;var r=y();this.emit("languageChanging",t);var i=function(t){n.language=t,n.languages=n.services.languageUtils.toResolveHierarchy(t),n.resolvedLanguage=void 0,n.setResolvedLanguage(t)},o=function(t,o){o?(i(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve(function(){return n.t.apply(n,arguments)}),e&&e(t,function(){return n.t.apply(n,arguments)})},s=function(e){!t&&!e&&n.services.languageDetector&&(e=[]);var r="string"==typeof e?e:n.services.languageUtils.getBestMatchFromCodes(e);r&&(!n.language&&i(r),!n.translator.language&&n.translator.changeLanguage(r),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(r)),n.loadResources(r,function(t){o(t,r)})};return t||!this.services.languageDetector||this.services.languageDetector.async?!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(s):s(t):s(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(t,e,n){var i=this,o=function t(e,o){if("object"!==(0,r.Z)(o)){for(var s,a=arguments.length,c=Array(a>2?a-2:0),u=2;u<a;u++)c[u-2]=arguments[u];s=i.options.overloadTranslationOptionHandler([e,o].concat(c))}else s=te({},o);s.lng=s.lng||t.lng,s.lngs=s.lngs||t.lngs,s.ns=s.ns||t.ns,s.keyPrefix=s.keyPrefix||n||t.keyPrefix;var l=i.options.keySeparator||".",f=s.keyPrefix?"".concat(s.keyPrefix).concat(l).concat(e):e;return i.t(f,s)};return"string"==typeof t?o.lng=t:o.lngs=t,o.ns=e,o.keyPrefix=n,o}},{key:"t",value:function(){var t;return this.translator&&(t=this.translator).translate.apply(t,arguments)}},{key:"exists",value:function(){var t;return this.translator&&(t=this.translator).exists.apply(t,arguments)}},{key:"setDefaultNamespace",value:function(t){this.options.defaultNS=t}},{key:"hasLoadedNamespace",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var s=function(t,n){var r=e.services.backendConnector.state["".concat(t,"|").concat(n)];return -1===r||2===r};if(n.precheck){var a=n.precheck(this,s);if(void 0!==a)return a}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||s(r,t)&&(!i||s(o,t)))||!1}},{key:"loadNamespaces",value:function(t,e){var n=this,r=y();return this.options.ns?("string"==typeof t&&(t=[t]),t.forEach(function(t){0>n.options.ns.indexOf(t)&&n.options.ns.push(t)}),this.loadResources(function(t){r.resolve(),e&&e(t)}),r):(e&&e(),Promise.resolve())}},{key:"loadLanguages",value:function(t,e){var n=y();"string"==typeof t&&(t=[t]);var r=this.options.preload||[],i=t.filter(function(t){return 0>r.indexOf(t)});return i.length?(this.options.preload=r.concat(i),this.loadResources(function(t){n.resolve(),e&&e(t)}),n):(e&&e(),Promise.resolve())}},{key:"dir",value:function(t){return(!t&&(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),t)?["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(this.services.languageUtils.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tn,r=te(te(te({},this.options),e),{isClone:!0}),i=new f(r);return(void 0!==e.debug||void 0!==e.prefix)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(function(e){i[e]=t[e]}),i.services=te({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new D(i.services,i.options),i.translator.on("*",function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];i.emit.apply(i,[t].concat(n))}),i.init(r,n),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),f}(v);(0,l.Z)(tr,"createInstance",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return new tr(t,e)});var ti=tr.createInstance();ti.createInstance=tr.createInstance,ti.createInstance,ti.init,ti.loadResources,ti.reloadResources,ti.use,ti.changeLanguage,ti.getFixedT,ti.t,ti.exists,ti.setDefaultNamespace,ti.hasLoadedNamespace,ti.loadNamespaces,ti.loadLanguages,e.ZP=ti},64250:function(t,e,n){"use strict";var r=n(60246),i=n(58081),o=n(28631),s=n(83663),a=n(2827);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r.Z,c.prototype.delete=i.Z,c.prototype.get=o.Z,c.prototype.has=s.Z,c.prototype.set=a.Z,e.Z=c},3091:function(t,e,n){"use strict";var r=n(83574),i=n(83764),o=n(77624);function s(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r.Z;++e<n;)this.add(t[e])}s.prototype.add=s.prototype.push=i.Z,s.prototype.has=o.Z,e.Z=s},26894:function(t,e,n){"use strict";var r=n(25676).Z.Symbol;e.Z=r},69828:function(t,e,n){"use strict";var r=n(25676).Z.Uint8Array;e.Z=r},21535:function(t,e,n){"use strict";e.Z=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}},84749:function(t,e,n){"use strict";var r=n(33805);e.Z=function(t,e,n,i){return(0,r.Z)(t,function(t,r,o){e(i,t,n(t),o)}),i}},393:function(t,e,n){"use strict";var r=n(5089),i=n(82332);e.Z=function t(e,n,o,s,a){var c=-1,u=e.length;for(o||(o=i.Z),a||(a=[]);++c<u;){var l=e[c];n>0&&o(l)?n>1?t(l,n-1,o,s,a):(0,r.Z)(a,l):!s&&(a[a.length]=l)}return a}},10982:function(t,e,n){"use strict";var r=n(38472),i=n(49647);e.Z=function(t,e){return t&&(0,r.Z)(t,e,i.Z)}},30380:function(t,e,n){"use strict";var r=n(76651),i=n(26784),o=n(28530);e.Z=function(t,e,n){return e==e?(0,o.Z)(t,e,n):(0,r.Z)(t,i.Z,n)}},73095:function(t,e,n){"use strict";var r=n(6905),i=n(94388);e.Z=function t(e,n,o,s,a){return e===n||(null!=e&&null!=n&&((0,i.Z)(e)||(0,i.Z)(n))?(0,r.Z)(e,n,o,s,t,a):e!=e&&n!=n)}},6905:function(t,e,n){"use strict";var r=n(79972),i=n(65710),o=n(39140),s=n(74619),a=n(62450),c=n(40521),u=n(753),l=n(12815),f="[object Arguments]",p="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;e.Z=function(t,e,n,g,v,y){var m=(0,c.Z)(t),b=(0,c.Z)(e),x=m?p:(0,a.Z)(t),k=b?p:(0,a.Z)(e);x=x==f?h:x,k=k==f?h:k;var O=x==h,Z=k==h,S=x==k;if(S&&(0,u.Z)(t)){if(!(0,u.Z)(e))return!1;m=!0,O=!1}if(S&&!O)return y||(y=new r.Z),m||(0,l.Z)(t)?(0,i.Z)(t,e,n,g,v,y):(0,o.Z)(t,e,x,n,g,v,y);if(!(1&n)){var w=O&&d.call(t,"__wrapped__"),E=Z&&d.call(e,"__wrapped__");if(w||E){var j=w?t.value():t,R=E?e.value():e;return y||(y=new r.Z),v(j,R,n,g,y)}}return!!S&&(y||(y=new r.Z),(0,s.Z)(t,e,n,g,v,y))}},52600:function(t,e,n){"use strict";var r=n(79972),i=n(73095);e.Z=function(t,e,n,o){var s=n.length,a=s,c=!o;if(null==t)return!a;for(t=Object(t);s--;){var u=n[s];if(c&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++s<a;){var l=(u=n[s])[0],f=t[l],p=u[1];if(c&&u[2]){if(void 0===f&&!(l in t))return!1}else{var h=new r.Z;if(o)var d=o(f,p,l,t,e,h);if(!(void 0===d?(0,i.Z)(p,f,3,o,h):d))return!1}}return!0}},9643:function(t,e,n){"use strict";var r=n(33805),i=n(80174);e.Z=function(t,e){var n=-1,o=(0,i.Z)(t)?Array(t.length):[];return(0,r.Z)(t,function(t,r,i){o[++n]=e(t,r,i)}),o}},21812:function(t,e,n){"use strict";var r=n(73095),i=n(50002),o=n(5237),s=n(49899),a=n(35588),c=n(50030),u=n(15143);e.Z=function(t,e){return(0,s.Z)(t)&&(0,a.Z)(e)?(0,c.Z)((0,u.Z)(t),e):function(n){var s=(0,i.Z)(n,t);return void 0===s&&s===e?(0,o.Z)(n,t):(0,r.Z)(e,s,3)}}},48217:function(t,e,n){"use strict";e.Z=function(t){return function(e){return null==e?void 0:e[t]}}},28002:function(t,e,n){"use strict";var r=n(57246),i=n(3770),o=n(26389),s=n(54054),a=n(15143);e.Z=function(t,e,n,c){if(!(0,s.Z)(t))return t;e=(0,i.Z)(e,t);for(var u=-1,l=e.length,f=l-1,p=t;null!=p&&++u<l;){var h=(0,a.Z)(e[u]),d=n;if("__proto__"===h||"constructor"===h||"prototype"===h)break;if(u!=f){var g=p[h];void 0===(d=c?c(g,h,p):void 0)&&(d=(0,s.Z)(g)?g:(0,o.Z)(e[u+1])?[]:{})}(0,r.Z)(p,h,d),p=p[h]}return t}},99263:function(t,e,n){"use strict";e.Z=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},30190:function(t,e,n){"use strict";var r=n(55236),i=(0,r.Z)({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});e.Z=i},27848:function(t,e,n){"use strict";var r=n(21535),i=n(95702),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(t){return null==t?[]:(t=Object(t),(0,r.Z)(s(t),function(e){return o.call(t,e)}))}:i.Z;e.Z=a},59301:function(t,e,n){"use strict";var r=n(3770),i=n(69102),o=n(40521),s=n(26389),a=n(35870),c=n(15143);e.Z=function(t,e,n){e=(0,r.Z)(e,t);for(var u=-1,l=e.length,f=!1;++u<l;){var p=(0,c.Z)(e[u]);if(!(f=null!=t&&n(t,p)))break;t=t[p]}return f||++u!=l?f:!!(l=null==t?0:t.length)&&(0,a.Z)(l)&&(0,s.Z)(p,l)&&((0,o.Z)(t)||(0,i.Z)(t))}},28631:function(t,e,n){"use strict";var r=n(79315),i=Object.prototype.hasOwnProperty;e.Z=function(t){var e=this.__data__;if(r.Z){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(e,t)?e[t]:void 0}},26392:function(t,e,n){"use strict";var r,i=n(2519);var o=(r=/[^.]+$/.exec(i.Z&&i.Z.keys&&i.Z.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.Z=function(t){return!!o&&o in t}},5494:function(t,e,n){"use strict";var r=n(16449);e.Z=function(t){var e=this.__data__,n=(0,r.Z)(e,t);return n<0?void 0:e[n][1]}},29350:function(t,e,n){"use strict";var r=n(16449);e.Z=function(t){return(0,r.Z)(this.__data__,t)>-1}},45554:function(t,e,n){"use strict";var r=n(16449);e.Z=function(t,e){var n=this.__data__,i=(0,r.Z)(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},63724:function(t,e,n){"use strict";var r=n(64250),i=n(6198),o=n(98133);e.Z=function(){this.size=0,this.__data__={hash:new r.Z,map:new(o.Z||i.Z),string:new r.Z}}},53030:function(t,e,n){"use strict";var r=n(93309);e.Z=function(t){return(0,r.Z)(this,t).get(t)}},74157:function(t,e,n){"use strict";e.Z=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}},94484:function(t,e,n){"use strict";var r=n(32226);e.Z=function(t){var e=(0,r.Z)(t,function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}},79315:function(t,e,n){"use strict";var r=(0,n(24665).Z)(Object,"create");e.Z=r},12050:function(t,e,n){"use strict";var r=Object.prototype.toString;e.Z=function(t){return r.call(t)}},77624:function(t,e,n){"use strict";e.Z=function(t){return this.__data__.has(t)}},7019:function(t,e,n){"use strict";e.Z=function(t){return this.__data__.get(t)}},19354:function(t,e,n){"use strict";var r=n(14508),i=n(22873),o=n(10479);e.Z=function(t){return(0,i.Z)(t)?(0,o.Z)(t):(0,r.Z)(t)}},15143:function(t,e,n){"use strict";var r=n(89221),i=1/0;e.Z=function(t){if("string"==typeof t||(0,r.Z)(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}},73117:function(t,e,n){"use strict";var r=Function.prototype.toString;e.Z=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},68723:function(t,e,n){"use strict";var r=/\s/;e.Z=function(t){for(var e=t.length;e--&&r.test(t.charAt(e)););return e}},86938:function(t,e,n){"use strict";e.Z=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i}},45641:function(t,e,n){"use strict";var r=n(3489),i=n(45327),o=n(1586),s=n(98355);e.Z=function(t,e,n){t=(0,s.Z)(t),e=(0,i.Z)(e);var a=t.length,c=n=void 0===n?a:(0,r.Z)((0,o.Z)(n),0,a);return(n-=e.length)>=0&&t.slice(n,c)==e}},45307:function(t,e,n){"use strict";var r=n(30190),i=n(98355),o=/[&<>"']/g,s=RegExp(o.source);e.Z=function(t){return(t=(0,i.Z)(t))&&s.test(t)?t.replace(o,r.Z):t}},46985:function(t,e,n){"use strict";var r=n(76651),i=n(68151),o=n(1586),s=Math.max;e.Z=function(t,e,n){var a=null==t?0:t.length;if(!a)return -1;var c=null==n?0:(0,o.Z)(n);return c<0&&(c=s(a+c,0)),(0,r.Z)(t,(0,i.Z)(e,3),c)}},86395:function(t,e,n){"use strict";var r=n(59535),i=n(55037),o=Object.prototype.hasOwnProperty,s=(0,i.Z)(function(t,e,n){o.call(t,n)?t[n].push(e):(0,r.Z)(t,n,[e])});e.Z=s},5237:function(t,e,n){"use strict";var r=n(74865),i=n(59301);e.Z=function(t,e){return null!=t&&(0,i.Z)(t,e,r.Z)}},80174:function(t,e,n){"use strict";var r=n(3820),i=n(35870);e.Z=function(t){return null!=t&&(0,i.Z)(t.length)&&!(0,r.Z)(t)}},35870:function(t,e,n){"use strict";e.Z=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},94388:function(t,e,n){"use strict";e.Z=function(t){return null!=t&&"object"==typeof t}},24682:function(t,e,n){"use strict";var r=n(82884),i=n(40521),o=n(94388);e.Z=function(t){return"string"==typeof t||!(0,i.Z)(t)&&(0,o.Z)(t)&&"[object String]"==(0,r.Z)(t)}},78398:function(t,e,n){"use strict";var r=n(60864),i=n(40521);e.Z=function(t,e,n,o){return null==t?[]:(!(0,i.Z)(e)&&(e=null==e?[]:[e]),n=o?void 0:n,!(0,i.Z)(n)&&(n=null==n?[]:[n]),(0,r.Z)(t,e,n))}},96883:function(t,e,n){"use strict";var r=n(3489),i=n(45327),o=n(1586),s=n(98355);e.Z=function(t,e,n){return t=(0,s.Z)(t),n=null==n?0:(0,r.Z)((0,o.Z)(n),0,t.length),e=(0,i.Z)(e),t.slice(n,n+e.length)==e}},20942:function(t,e,n){"use strict";var r=n(68151),i=n(71745);e.Z=function(t,e){return t&&t.length?(0,i.Z)(t,(0,r.Z)(e,2)):0}},1586:function(t,e,n){"use strict";var r=n(73857);e.Z=function(t){var e=(0,r.Z)(t),n=e%1;return e==e?n?e-n:e:0}},79555:function(t,e,n){"use strict";var r=n(26238),i=n(54054),o=n(89221),s=0/0,a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.Z=function(t){if("number"==typeof t)return t;if((0,o.Z)(t))return s;if((0,i.Z)(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=(0,i.Z)(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=(0,r.Z)(t);var n=c.test(t);return n||u.test(t)?l(t.slice(2),n?2:8):a.test(t)?s:+t}},42689:function(t,e,n){"use strict";var r=(0,n(35857).Z)("toUpperCase");e.Z=r},69153:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(89735);function i(t){let e=this;e.parser=function(n){return(0,r.V)(n,{...e.data("settings"),...t,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}},99524:function(t,e,n){"use strict";n.d(e,{io:function(){return a}});var r=n(15182),i=n(23620),o=n(89165);n(11559);let s={};function a(t,e){let n;"object"==typeof t&&(e=t,t=void 0),e=e||{};let o=(0,r.H)(t,e.path||"/socket.io"),a=o.source,c=o.id,u=o.path,l=s[c]&&u in s[c].nsps;return e.forceNew||e["force new connection"]||!1===e.multiplex||l?n=new i.d(a,e):(!s[c]&&(s[c]=new i.d(a,e)),n=s[c]),o.query&&!e.query&&(e.query=o.queryKey),n.socket(o.path,e)}Object.assign(a,{Manager:i.d,Socket:o.s,io:a,connect:a})},23620:function(t,e,n){"use strict";n.d(e,{d:function(){return u}});var r=n(21618),i=n(89165),o=n(11559),s=n(51278),a=n(89130),c=n(66403);class u extends c.Q{constructor(t,e){var n;super(),this.nsps={},this.subs=[],t&&"object"==typeof t&&(e=t,t=void 0),(e=e||{}).path=e.path||"/socket.io",this.opts=e,(0,r.Vq)(this,e),this.reconnection(!1!==e.reconnection),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(n=e.randomizationFactor)&&void 0!==n?n:.5),this.backoff=new a.V({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==e.timeout?2e4:e.timeout),this._readyState="closed",this.uri=t;let i=e.parser||o;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=!1!==e.autoConnect,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return void 0===t?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var e;return void 0===t?this._reconnectionDelay:(this._reconnectionDelay=t,null===(e=this.backoff)||void 0===e||e.setMin(t),this)}randomizationFactor(t){var e;return void 0===t?this._randomizationFactor:(this._randomizationFactor=t,null===(e=this.backoff)||void 0===e||e.setJitter(t),this)}reconnectionDelayMax(t){var e;return void 0===t?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,null===(e=this.backoff)||void 0===e||e.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new r.sk(this.uri,this.opts);let e=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;let i=(0,s.on)(e,"open",function(){n.onopen(),t&&t()}),o=(0,s.on)(e,"error",e=>{n.cleanup(),n._readyState="closed",this.emitReserved("error",e),t?t(e):n.maybeReconnectOnOpen()});if(!1!==this._timeout){let t=this._timeout;0===t&&i();let n=this.setTimeoutFn(()=>{i(),e.close(),e.emit("error",Error("timeout"))},t);this.opts.autoUnref&&n.unref(),this.subs.push(function(){clearTimeout(n)})}return this.subs.push(i),this.subs.push(o),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");let t=this.engine;this.subs.push((0,s.on)(t,"ping",this.onping.bind(this)),(0,s.on)(t,"data",this.ondata.bind(this)),(0,s.on)(t,"error",this.onerror.bind(this)),(0,s.on)(t,"close",this.onclose.bind(this)),(0,s.on)(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(t){this.onclose("parse error",t)}}ondecoded(t){(0,r.Y3)(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,e){let n=this.nsps[t];return n?this._autoConnect&&!n.active&&n.connect():(n=new i.s(this,t,e),this.nsps[t]=n),n}_destroy(t){for(let t of Object.keys(this.nsps))if(this.nsps[t].active)return;this._close()}_packet(t){let e=this.encoder.encode(t);for(let n=0;n<e.length;n++)this.engine.write(e[n],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,e){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,e),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{let e=this.backoff.duration();this._reconnecting=!0;let n=this.setTimeoutFn(()=>{if(!t.skipReconnect)this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(e=>{e?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",e)):t.onreconnect()})},e);this.opts.autoUnref&&n.unref(),this.subs.push(function(){clearTimeout(n)})}}onreconnect(){let t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}},67023:function(t,e,n){"use strict";n.d(e,{O:function(){return function t(e,n){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n<r;n++)if(t(e[n]))return!0;return!1}if(c(e))return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1==arguments.length)return t(e.toJSON(),!0);for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return!0;return!1}},h:function(){return c}});let r="function"==typeof ArrayBuffer,i=t=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,o=Object.prototype.toString,s="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===o.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===o.call(File);function c(t){return r&&(t instanceof ArrayBuffer||i(t))||s&&t instanceof Blob||a&&t instanceof File}}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_rsdoctor_client=self.webpackChunk_rsdoctor_client||[]).push([["301"],{81709:function(t,e){var i;i=0,function(t){"use strict";var e=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],i=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],s="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},n="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",a={5:n,"5module":n+" export import",6:n+" const class extends export import super"},o=/^in(stanceof)?$/,h=RegExp("["+s+"]"),c=RegExp("["+s+"\u200C\u200D\xb7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65]");function p(t,e){for(var i=65536,s=0;s<e.length&&!((i+=e[s])>t);s+=2){;if((i+=e[s+1])>=t)return!0}return!1}function u(t,e){return t<65?36===t:!!(t<91)||(t<97?95===t:!!(t<123)||(t<=65535?t>=170&&h.test(String.fromCharCode(t)):!1!==e&&p(t,i)))}function l(t,s){return t<48?36===t:!!(t<58)||!(t<65)&&(!!(t<91)||(t<97?95===t:!!(t<123)||(t<=65535?t>=170&&c.test(String.fromCharCode(t)):!1!==s&&(p(t,i)||p(t,e)))))}var d=function(t,e){void 0===e&&(e={}),this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop||null,this.updateContext=null};function f(t,e){return new d(t,{beforeExpr:!0,binop:e})}var m={beforeExpr:!0},g={startsExpr:!0},x={};function v(t,e){return void 0===e&&(e={}),e.keyword=t,x[t]=new d(t,e)}var y={num:new d("num",g),regexp:new d("regexp",g),string:new d("string",g),name:new d("name",g),privateId:new d("privateId",g),eof:new d("eof"),bracketL:new d("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new d("]"),braceL:new d("{",{beforeExpr:!0,startsExpr:!0}),braceR:new d("}"),parenL:new d("(",{beforeExpr:!0,startsExpr:!0}),parenR:new d(")"),comma:new d(",",m),semi:new d(";",m),colon:new d(":",m),dot:new d("."),question:new d("?",m),questionDot:new d("?."),arrow:new d("=>",m),template:new d("template"),invalidTemplate:new d("invalidTemplate"),ellipsis:new d("...",m),backQuote:new d("`",g),dollarBraceL:new d("${",{beforeExpr:!0,startsExpr:!0}),eq:new d("=",{beforeExpr:!0,isAssign:!0}),assign:new d("_=",{beforeExpr:!0,isAssign:!0}),incDec:new d("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new d("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:f("||",1),logicalAND:f("&&",2),bitwiseOR:f("|",3),bitwiseXOR:f("^",4),bitwiseAND:f("&",5),equality:f("==/!=/===/!==",6),relational:f("</>/<=/>=",7),bitShift:f("<</>>/>>>",8),plusMin:new d("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:f("%",10),star:f("*",10),slash:f("/",10),starstar:new d("**",{beforeExpr:!0}),coalesce:f("??",1),_break:v("break"),_case:v("case",m),_catch:v("catch"),_continue:v("continue"),_debugger:v("debugger"),_default:v("default",m),_do:v("do",{isLoop:!0,beforeExpr:!0}),_else:v("else",m),_finally:v("finally"),_for:v("for",{isLoop:!0}),_function:v("function",g),_if:v("if"),_return:v("return",m),_switch:v("switch"),_throw:v("throw",m),_try:v("try"),_var:v("var"),_const:v("const"),_while:v("while",{isLoop:!0}),_with:v("with"),_new:v("new",{beforeExpr:!0,startsExpr:!0}),_this:v("this",g),_super:v("super",g),_class:v("class",g),_extends:v("extends",m),_export:v("export"),_import:v("import",g),_null:v("null",g),_true:v("true",g),_false:v("false",g),_in:v("in",{beforeExpr:!0,binop:7}),_instanceof:v("instanceof",{beforeExpr:!0,binop:7}),_typeof:v("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:v("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:v("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},b=/\r\n?|\n|\u2028|\u2029/,_=RegExp(b.source,"g");function k(t){return 10===t||13===t||8232===t||8233===t}function S(t,e,i){void 0===i&&(i=t.length);for(var s=e;s<i;s++){var r=t.charCodeAt(s);if(k(r))return s<i-1&&13===r&&10===t.charCodeAt(s+1)?s+2:s+1}return -1}var C=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,w=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,E=Object.prototype,A=E.hasOwnProperty,I=E.toString,P=Object.hasOwn||function(t,e){return A.call(t,e)},N=Array.isArray||function(t){return"[object Array]"===I.call(t)},T=Object.create(null);function L(t){return T[t]||(T[t]=RegExp("^(?:"+t.replace(/ /g,"|")+")$"))}function V(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(((t-=65536)>>10)+55296,(1023&t)+56320)}var R=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,O=function(t,e){this.line=t,this.column=e};O.prototype.offset=function(t){return new O(this.line,this.column+t)};var Z=function(t,e,i){this.start=e,this.end=i,null!==t.sourceFile&&(this.source=t.sourceFile)};function D(t,e){for(var i=1,s=0;;){var r=S(t,s,e);if(r<0)return new O(i,e-s);++i,s=r}}var B={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},M=!1,F=259;function U(t,e){return 2|(t?4:0)|(e?8:0)}var j=function(t,e,i){this.options=t=function(t){var e={};for(var i in B)e[i]=t&&P(t,i)?t[i]:B[i];if("latest"===e.ecmaVersion?e.ecmaVersion=1e8:null==e.ecmaVersion?(!M&&"object"==typeof console&&console.warn&&(M=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),e.ecmaVersion=11):e.ecmaVersion>=2015&&(e.ecmaVersion-=2009),null==e.allowReserved&&(e.allowReserved=e.ecmaVersion<5),(!t||null==t.allowHashBang)&&(e.allowHashBang=e.ecmaVersion>=14),N(e.onToken)){var s=e.onToken;e.onToken=function(t){return s.push(t)}}return N(e.onComment)&&(e.onComment=function(t,e){return function(i,s,r,n,a,o){var h={type:i?"Block":"Line",value:s,start:r,end:n};t.locations&&(h.loc=new Z(this,a,o)),t.ranges&&(h.range=[r,n]),e.push(h)}}(e,e.onComment)),e}(t),this.sourceFile=t.sourceFile,this.keywords=L(a[t.ecmaVersion>=6?6:"module"===t.sourceType?"5module":5]);var s="";!0!==t.allowReserved&&(s=r[t.ecmaVersion>=6?6:5===t.ecmaVersion?5:3],"module"===t.sourceType&&(s+=" await")),this.reservedWords=L(s);var n=(s?s+" ":"")+r.strict;this.reservedWordsStrict=L(n),this.reservedWordsStrictBind=L(n+" "+r.strictBind),this.input=String(e),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf("\n",i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(b).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=y.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===t.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&t.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},q={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};j.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},q.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},q.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},q.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},q.canAwait.get=function(){for(var t=this.scopeStack.length-1;t>=0;t--){var e=this.scopeStack[t];if(e.inClassFieldInit||256&e.flags)return!1;if(2&e.flags)return(4&e.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},q.allowSuper.get=function(){var t=this.currentThisScope(),e=t.flags,i=t.inClassFieldInit;return(64&e)>0||i||this.options.allowSuperOutsideMethod},q.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},q.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},q.allowNewDotTarget.get=function(){var t=this.currentThisScope(),e=t.flags,i=t.inClassFieldInit;return(258&e)>0||i},q.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},j.extend=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];for(var i=this,s=0;s<t.length;s++)i=t[s](i);return i},j.parse=function(t,e){return new this(e,t).parse()},j.parseExpressionAt=function(t,e,i){var s=new this(i,t,e);return s.nextToken(),s.parseExpression()},j.tokenizer=function(t,e){return new this(e,t)},Object.defineProperties(j.prototype,q);var z=j.prototype,G=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;z.strictDirective=function(t){if(this.options.ecmaVersion<5)return!1;for(;;){w.lastIndex=t,t+=w.exec(this.input)[0].length;var e=G.exec(this.input.slice(t));if(!e)return!1;if("use strict"===(e[1]||e[2])){w.lastIndex=t+e[0].length;var i=w.exec(this.input),s=i.index+i[0].length,r=this.input.charAt(s);return";"===r||"}"===r||b.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(r)||"!"===r&&"="===this.input.charAt(s+1))}t+=e[0].length,w.lastIndex=t,t+=w.exec(this.input)[0].length,";"===this.input[t]&&t++}},z.eat=function(t){return this.type===t&&(this.next(),!0)},z.isContextual=function(t){return this.type===y.name&&this.value===t&&!this.containsEsc},z.eatContextual=function(t){return!!this.isContextual(t)&&(this.next(),!0)},z.expectContextual=function(t){!this.eatContextual(t)&&this.unexpected()},z.canInsertSemicolon=function(){return this.type===y.eof||this.type===y.braceR||b.test(this.input.slice(this.lastTokEnd,this.start))},z.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},z.semicolon=function(){!this.eat(y.semi)&&!this.insertSemicolon()&&this.unexpected()},z.afterTrailingComma=function(t,e){if(this.type===t)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),!e&&this.next(),!0},z.expect=function(t){this.eat(t)||this.unexpected()},z.unexpected=function(t){this.raise(null!=t?t:this.start,"Unexpected token")};var H=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};z.checkPatternErrors=function(t,e){if(!!t){t.trailingComma>-1&&this.raiseRecoverable(t.trailingComma,"Comma is not permitted after the rest element");var i=e?t.parenthesizedAssign:t.parenthesizedBind;i>-1&&this.raiseRecoverable(i,e?"Assigning to rvalue":"Parenthesized pattern")}},z.checkExpressionErrors=function(t,e){if(!t)return!1;var i=t.shorthandAssign,s=t.doubleProto;if(!e)return i>=0||s>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),s>=0&&this.raiseRecoverable(s,"Redefinition of __proto__ property")},z.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},z.isSimpleAssignTarget=function(t){return"ParenthesizedExpression"===t.type?this.isSimpleAssignTarget(t.expression):"Identifier"===t.type||"MemberExpression"===t.type};var W=j.prototype;W.parseTopLevel=function(t){var e=Object.create(null);for(!t.body&&(t.body=[]);this.type!==y.eof;){var i=this.parseStatement(null,!0,e);t.body.push(i)}if(this.inModule)for(var s=0,r=Object.keys(this.undefinedExports);s<r.length;s+=1){var n=r[s];this.raiseRecoverable(this.undefinedExports[n].start,"Export '"+n+"' is not defined")}return this.adaptDirectivePrologue(t.body),this.next(),t.sourceType=this.options.sourceType,this.finishNode(t,"Program")};var Q={kind:"loop"},K={kind:"switch"};W.isLet=function(t){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;w.lastIndex=this.pos;var e=w.exec(this.input),i=this.pos+e[0].length,s=this.input.charCodeAt(i);if(91===s||92===s)return!0;if(t)return!1;if(123===s||s>55295&&s<56320)return!0;if(u(s,!0)){for(var r=i+1;l(s=this.input.charCodeAt(r),!0);)++r;if(92===s||s>55295&&s<56320)return!0;var n=this.input.slice(i,r);if(!o.test(n))return!0}return!1},W.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;w.lastIndex=this.pos;var t=w.exec(this.input),e,i=this.pos+t[0].length;return!b.test(this.input.slice(this.pos,i))&&"function"===this.input.slice(i,i+8)&&(i+8===this.input.length||!(l(e=this.input.charCodeAt(i+8))||e>55295&&e<56320))},W.parseStatement=function(t,e,i){var s,r=this.type,n=this.startNode();switch(this.isLet(t)&&(r=y._var,s="let"),r){case y._break:case y._continue:return this.parseBreakContinueStatement(n,r.keyword);case y._debugger:return this.parseDebuggerStatement(n);case y._do:return this.parseDoStatement(n);case y._for:return this.parseForStatement(n);case y._function:return t&&(this.strict||"if"!==t&&"label"!==t)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(n,!1,!t);case y._class:return t&&this.unexpected(),this.parseClass(n,!0);case y._if:return this.parseIfStatement(n);case y._return:return this.parseReturnStatement(n);case y._switch:return this.parseSwitchStatement(n);case y._throw:return this.parseThrowStatement(n);case y._try:return this.parseTryStatement(n);case y._const:case y._var:return s=s||this.value,t&&"var"!==s&&this.unexpected(),this.parseVarStatement(n,s);case y._while:return this.parseWhileStatement(n);case y._with:return this.parseWithStatement(n);case y.braceL:return this.parseBlock(!0,n);case y.semi:return this.parseEmptyStatement(n);case y._export:case y._import:if(this.options.ecmaVersion>10&&r===y._import){w.lastIndex=this.pos;var a=w.exec(this.input),o=this.pos+a[0].length,h=this.input.charCodeAt(o);if(40===h||46===h)return this.parseExpressionStatement(n,this.parseExpression())}return!this.options.allowImportExportEverywhere&&(!e&&this.raise(this.start,"'import' and 'export' may only appear at the top level"),!this.inModule&&this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===y._import?this.parseImport(n):this.parseExport(n,i);default:if(this.isAsyncFunction())return t&&this.unexpected(),this.next(),this.parseFunctionStatement(n,!0,!t);var c=this.value,p=this.parseExpression();if(r===y.name&&"Identifier"===p.type&&this.eat(y.colon))return this.parseLabeledStatement(n,c,p,t);return this.parseExpressionStatement(n,p)}},W.parseBreakContinueStatement=function(t,e){var i="break"===e;this.next(),this.eat(y.semi)||this.insertSemicolon()?t.label=null:this.type!==y.name?this.unexpected():(t.label=this.parseIdent(),this.semicolon());for(var s=0;s<this.labels.length;++s){var r=this.labels[s];if((null==t.label||r.name===t.label.name)&&(null!=r.kind&&(i||"loop"===r.kind)||t.label&&i))break}return s===this.labels.length&&this.raise(t.start,"Unsyntactic "+e),this.finishNode(t,i?"BreakStatement":"ContinueStatement")},W.parseDebuggerStatement=function(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")},W.parseDoStatement=function(t){return this.next(),this.labels.push(Q),t.body=this.parseStatement("do"),this.labels.pop(),this.expect(y._while),t.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(y.semi):this.semicolon(),this.finishNode(t,"DoWhileStatement")},W.parseForStatement=function(t){this.next();var e=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Q),this.enterScope(0),this.expect(y.parenL),this.type===y.semi)return e>-1&&this.unexpected(e),this.parseFor(t,null);var i=this.isLet();if(this.type===y._var||this.type===y._const||i){var s=this.startNode(),r=i?"let":this.value;return(this.next(),this.parseVar(s,!0,r),this.finishNode(s,"VariableDeclaration"),(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===s.declarations.length)?(this.options.ecmaVersion>=9&&(this.type===y._in?e>-1&&this.unexpected(e):t.await=e>-1),this.parseForIn(t,s)):(e>-1&&this.unexpected(e),this.parseFor(t,s))}var n=this.isContextual("let"),a=!1,o=this.containsEsc,h=new H,c=this.start,p=e>-1?this.parseExprSubscripts(h,"await"):this.parseExpression(!0,h);return this.type===y._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))?(e>-1?(this.type===y._in&&this.unexpected(e),t.await=!0):a&&this.options.ecmaVersion>=8&&(p.start!==c||o||"Identifier"!==p.type||"async"!==p.name?this.options.ecmaVersion>=9&&(t.await=!1):this.unexpected()),n&&a&&this.raise(p.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(p,!1,h),this.checkLValPattern(p),this.parseForIn(t,p)):(this.checkExpressionErrors(h,!0),e>-1&&this.unexpected(e),this.parseFor(t,p))},W.parseFunctionStatement=function(t,e,i){return this.next(),this.parseFunction(t,X|(i?0:$),!1,e)},W.parseIfStatement=function(t){return this.next(),t.test=this.parseParenExpression(),t.consequent=this.parseStatement("if"),t.alternate=this.eat(y._else)?this.parseStatement("if"):null,this.finishNode(t,"IfStatement")},W.parseReturnStatement=function(t){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(y.semi)||this.insertSemicolon()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")},W.parseSwitchStatement=function(t){this.next(),t.discriminant=this.parseParenExpression(),t.cases=[],this.expect(y.braceL),this.labels.push(K),this.enterScope(0);for(var e,i=!1;this.type!==y.braceR;)if(this.type===y._case||this.type===y._default){var s=this.type===y._case;e&&this.finishNode(e,"SwitchCase"),t.cases.push(e=this.startNode()),e.consequent=[],this.next(),s?e.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,e.test=null),this.expect(y.colon)}else!e&&this.unexpected(),e.consequent.push(this.parseStatement(null));return this.exitScope(),e&&this.finishNode(e,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(t,"SwitchStatement")},W.parseThrowStatement=function(t){return this.next(),b.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")};var Y=[];W.parseCatchClauseParam=function(){var t=this.parseBindingAtom(),e="Identifier"===t.type;return this.enterScope(e?32:0),this.checkLValPattern(t,e?4:2),this.expect(y.parenR),t},W.parseTryStatement=function(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.type===y._catch){var e=this.startNode();this.next(),this.eat(y.parenL)?e.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),e.param=null,this.enterScope(0)),e.body=this.parseBlock(!1),this.exitScope(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(y._finally)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(t.start,"Missing catch or finally clause"),this.finishNode(t,"TryStatement")},W.parseVarStatement=function(t,e,i){return this.next(),this.parseVar(t,!1,e,i),this.semicolon(),this.finishNode(t,"VariableDeclaration")},W.parseWhileStatement=function(t){return this.next(),t.test=this.parseParenExpression(),this.labels.push(Q),t.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(t,"WhileStatement")},W.parseWithStatement=function(t){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),t.object=this.parseParenExpression(),t.body=this.parseStatement("with"),this.finishNode(t,"WithStatement")},W.parseEmptyStatement=function(t){return this.next(),this.finishNode(t,"EmptyStatement")},W.parseLabeledStatement=function(t,e,i,s){for(var r=0,n=this.labels;r<n.length;r+=1)n[r].name===e&&this.raise(i.start,"Label '"+e+"' is already declared");for(var a=this.type.isLoop?"loop":this.type===y._switch?"switch":null,o=this.labels.length-1;o>=0;o--){var h=this.labels[o];if(h.statementStart===t.start)h.statementStart=this.start,h.kind=a;else break}return this.labels.push({name:e,kind:a,statementStart:this.start}),t.body=this.parseStatement(s?-1===s.indexOf("label")?s+"label":s:"label"),this.labels.pop(),t.label=i,this.finishNode(t,"LabeledStatement")},W.parseExpressionStatement=function(t,e){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")},W.parseBlock=function(t,e,i){for(void 0===t&&(t=!0),void 0===e&&(e=this.startNode()),e.body=[],this.expect(y.braceL),t&&this.enterScope(0);this.type!==y.braceR;){var s=this.parseStatement(null);e.body.push(s)}return i&&(this.strict=!1),this.next(),t&&this.exitScope(),this.finishNode(e,"BlockStatement")},W.parseFor=function(t,e){return t.init=e,this.expect(y.semi),t.test=this.type===y.semi?null:this.parseExpression(),this.expect(y.semi),t.update=this.type===y.parenR?null:this.parseExpression(),this.expect(y.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,"ForStatement")},W.parseForIn=function(t,e){var i=this.type===y._in;return this.next(),"VariableDeclaration"===e.type&&null!=e.declarations[0].init&&(!i||this.options.ecmaVersion<8||this.strict||"var"!==e.kind||"Identifier"!==e.declarations[0].id.type)&&this.raise(e.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),t.left=e,t.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(y.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,i?"ForInStatement":"ForOfStatement")},W.parseVar=function(t,e,i,s){for(t.declarations=[],t.kind=i;;){var r=this.startNode();if(this.parseVarId(r,i),this.eat(y.eq)?r.init=this.parseMaybeAssign(e):s||"const"!==i||this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of")?s||"Identifier"===r.id.type||e&&(this.type===y._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),t.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(y.comma))break}return t},W.parseVarId=function(t,e){t.id=this.parseBindingAtom(),this.checkLValPattern(t.id,"var"===e?1:2,!1)};var X=1,$=2;W.parseFunction=function(t,e,i,s,r){this.initFunction(t),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s)&&(this.type===y.star&&e&$&&this.unexpected(),t.generator=this.eat(y.star)),this.options.ecmaVersion>=8&&(t.async=!!s),e&X&&(t.id=4&e&&this.type!==y.name?null:this.parseIdent(),t.id&&!(e&$)&&this.checkLValSimple(t.id,this.strict||t.generator||t.async?this.treatFunctionsAsVar?1:2:3));var n=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(U(t.async,t.generator)),!(e&X)&&(t.id=this.type===y.name?this.parseIdent():null),this.parseFunctionParams(t),this.parseFunctionBody(t,i,!1,r),this.yieldPos=n,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(t,e&X?"FunctionDeclaration":"FunctionExpression")},W.parseFunctionParams=function(t){this.expect(y.parenL),t.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},W.parseClass=function(t,e){this.next();var i=this.strict;this.strict=!0,this.parseClassId(t,e),this.parseClassSuper(t);var s=this.enterClassBody(),r=this.startNode(),n=!1;for(r.body=[],this.expect(y.braceL);this.type!==y.braceR;){var a=this.parseClassElement(null!==t.superClass);a&&(r.body.push(a),"MethodDefinition"===a.type&&"constructor"===a.kind?(n&&this.raiseRecoverable(a.start,"Duplicate constructor in the same class"),n=!0):a.key&&"PrivateIdentifier"===a.key.type&&function(t,e){var i=e.key.name,s=t[i],r="true";return("MethodDefinition"===e.type&&("get"===e.kind||"set"===e.kind)&&(r=(e.static?"s":"i")+e.kind),"iget"===s&&"iset"===r||"iset"===s&&"iget"===r||"sget"===s&&"sset"===r||"sset"===s&&"sget"===r)?(t[i]="true",!1):!!s||(t[i]=r,!1)}(s,a)&&this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared"))}return this.strict=i,this.next(),t.body=this.finishNode(r,"ClassBody"),this.exitClassBody(),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")},W.parseClassElement=function(t){if(this.eat(y.semi))return null;var e=this.options.ecmaVersion,i=this.startNode(),s="",r=!1,n=!1,a="method",o=!1;if(this.eatContextual("static")){if(e>=13&&this.eat(y.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===y.star?o=!0:s="static"}if(i.static=o,!s&&e>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===y.star)&&!this.canInsertSemicolon()?n=!0:s="async"),!s&&(e>=9||!n)&&this.eat(y.star)&&(r=!0),!s&&!n&&!r){var h=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?a=h:s=h)}if(s?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=s,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),e<13||this.type===y.parenL||"method"!==a||r||n){var c=!i.static&&J(i,"constructor");c&&"method"!==a&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=c?"constructor":a,this.parseClassMethod(i,r,n,c&&t)}else this.parseClassField(i);return i},W.isClassElementNameStart=function(){return this.type===y.name||this.type===y.privateId||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword},W.parseClassElementName=function(t){this.type===y.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),t.computed=!1,t.key=this.parsePrivateIdent()):this.parsePropertyName(t)},W.parseClassMethod=function(t,e,i,s){var r=t.key;"constructor"===t.kind?(e&&this.raise(r.start,"Constructor can't be a generator"),i&&this.raise(r.start,"Constructor can't be an async method")):t.static&&J(t,"prototype")&&this.raise(r.start,"Classes may not have a static property named prototype");var n=t.value=this.parseMethod(e,i,s);return"get"===t.kind&&0!==n.params.length&&this.raiseRecoverable(n.start,"getter should have no params"),"set"===t.kind&&1!==n.params.length&&this.raiseRecoverable(n.start,"setter should have exactly one param"),"set"===t.kind&&"RestElement"===n.params[0].type&&this.raiseRecoverable(n.params[0].start,"Setter cannot use rest params"),this.finishNode(t,"MethodDefinition")},W.parseClassField=function(t){if(J(t,"constructor")?this.raise(t.key.start,"Classes can't have a field named 'constructor'"):t.static&&J(t,"prototype")&&this.raise(t.key.start,"Classes can't have a static field named 'prototype'"),this.eat(y.eq)){var e=this.currentThisScope(),i=e.inClassFieldInit;e.inClassFieldInit=!0,t.value=this.parseMaybeAssign(),e.inClassFieldInit=i}else t.value=null;return this.semicolon(),this.finishNode(t,"PropertyDefinition")},W.parseClassStaticBlock=function(t){t.body=[];var e=this.labels;for(this.labels=[],this.enterScope(320);this.type!==y.braceR;){var i=this.parseStatement(null);t.body.push(i)}return this.next(),this.exitScope(),this.labels=e,this.finishNode(t,"StaticBlock")},W.parseClassId=function(t,e){this.type===y.name?(t.id=this.parseIdent(),e&&this.checkLValSimple(t.id,2,!1)):(!0===e&&this.unexpected(),t.id=null)},W.parseClassSuper=function(t){t.superClass=this.eat(y._extends)?this.parseExprSubscripts(null,!1):null},W.enterClassBody=function(){var t={declared:Object.create(null),used:[]};return this.privateNameStack.push(t),t.declared},W.exitClassBody=function(){var t=this.privateNameStack.pop(),e=t.declared,i=t.used;if(!!this.options.checkPrivateFields)for(var s=this.privateNameStack.length,r=0===s?null:this.privateNameStack[s-1],n=0;n<i.length;++n){var a=i[n];!P(e,a.name)&&(r?r.used.push(a):this.raiseRecoverable(a.start,"Private field '#"+a.name+"' must be declared in an enclosing class"))}};function J(t,e){var i=t.computed,s=t.key;return!i&&("Identifier"===s.type&&s.name===e||"Literal"===s.type&&s.value===e)}W.parseExportAllDeclaration=function(t,e){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(t.exported=this.parseModuleExportName(),this.checkExport(e,t.exported,this.lastTokStart)):t.exported=null),this.expectContextual("from"),this.type!==y.string&&this.unexpected(),t.source=this.parseExprAtom(),this.semicolon(),this.finishNode(t,"ExportAllDeclaration")},W.parseExport=function(t,e){if(this.next(),this.eat(y.star))return this.parseExportAllDeclaration(t,e);if(this.eat(y._default))return this.checkExport(e,"default",this.lastTokStart),t.declaration=this.parseExportDefaultDeclaration(),this.finishNode(t,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())t.declaration=this.parseExportDeclaration(t),"VariableDeclaration"===t.declaration.type?this.checkVariableExport(e,t.declaration.declarations):this.checkExport(e,t.declaration.id,t.declaration.id.start),t.specifiers=[],t.source=null;else{if(t.declaration=null,t.specifiers=this.parseExportSpecifiers(e),this.eatContextual("from"))this.type!==y.string&&this.unexpected(),t.source=this.parseExprAtom();else{for(var i=0,s=t.specifiers;i<s.length;i+=1){var r=s[i];this.checkUnreserved(r.local),this.checkLocalExport(r.local),"Literal"===r.local.type&&this.raise(r.local.start,"A string literal cannot be used as an exported binding without `from`.")}t.source=null}this.semicolon()}return this.finishNode(t,"ExportNamedDeclaration")},W.parseExportDeclaration=function(t){return this.parseStatement(null)},W.parseExportDefaultDeclaration=function(){if(this.type===y._function||(t=this.isAsyncFunction())){var t,e=this.startNode();return this.next(),t&&this.next(),this.parseFunction(e,4|X,!1,t)}if(this.type===y._class){var i=this.startNode();return this.parseClass(i,"nullableID")}var s=this.parseMaybeAssign();return this.semicolon(),s},W.checkExport=function(t,e,i){if(!!t)"string"!=typeof e&&(e="Identifier"===e.type?e.name:e.value),P(t,e)&&this.raiseRecoverable(i,"Duplicate export '"+e+"'"),t[e]=!0},W.checkPatternExport=function(t,e){var i=e.type;if("Identifier"===i)this.checkExport(t,e,e.start);else if("ObjectPattern"===i)for(var s=0,r=e.properties;s<r.length;s+=1){var n=r[s];this.checkPatternExport(t,n)}else if("ArrayPattern"===i)for(var a=0,o=e.elements;a<o.length;a+=1){var h=o[a];h&&this.checkPatternExport(t,h)}else"Property"===i?this.checkPatternExport(t,e.value):"AssignmentPattern"===i?this.checkPatternExport(t,e.left):"RestElement"===i&&this.checkPatternExport(t,e.argument)},W.checkVariableExport=function(t,e){if(!!t)for(var i=0;i<e.length;i+=1){var s=e[i];this.checkPatternExport(t,s.id)}},W.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},W.parseExportSpecifier=function(t){var e=this.startNode();return e.local=this.parseModuleExportName(),e.exported=this.eatContextual("as")?this.parseModuleExportName():e.local,this.checkExport(t,e.exported,e.exported.start),this.finishNode(e,"ExportSpecifier")},W.parseExportSpecifiers=function(t){var e=[],i=!0;for(this.expect(y.braceL);!this.eat(y.braceR);){if(i)i=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;e.push(this.parseExportSpecifier(t))}return e},W.parseImport=function(t){return this.next(),this.type===y.string?(t.specifiers=Y,t.source=this.parseExprAtom()):(t.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),t.source=this.type===y.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(t,"ImportDeclaration")},W.parseImportSpecifier=function(){var t=this.startNode();return t.imported=this.parseModuleExportName(),this.eatContextual("as")?t.local=this.parseIdent():(this.checkUnreserved(t.imported),t.local=t.imported),this.checkLValSimple(t.local,2),this.finishNode(t,"ImportSpecifier")},W.parseImportDefaultSpecifier=function(){var t=this.startNode();return t.local=this.parseIdent(),this.checkLValSimple(t.local,2),this.finishNode(t,"ImportDefaultSpecifier")},W.parseImportNamespaceSpecifier=function(){var t=this.startNode();return this.next(),this.expectContextual("as"),t.local=this.parseIdent(),this.checkLValSimple(t.local,2),this.finishNode(t,"ImportNamespaceSpecifier")},W.parseImportSpecifiers=function(){var t=[],e=!0;if(this.type===y.name&&(t.push(this.parseImportDefaultSpecifier()),!this.eat(y.comma)))return t;if(this.type===y.star)return t.push(this.parseImportNamespaceSpecifier()),t;for(this.expect(y.braceL);!this.eat(y.braceR);){if(e)e=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;t.push(this.parseImportSpecifier())}return t},W.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===y.string){var t=this.parseLiteral(this.value);return R.test(t.value)&&this.raise(t.start,"An export name cannot include a lone surrogate."),t}return this.parseIdent(!0)},W.adaptDirectivePrologue=function(t){for(var e=0;e<t.length&&this.isDirectiveCandidate(t[e]);++e)t[e].directive=t[e].expression.raw.slice(1,-1)},W.isDirectiveCandidate=function(t){return this.options.ecmaVersion>=5&&"ExpressionStatement"===t.type&&"Literal"===t.expression.type&&"string"==typeof t.expression.value&&('"'===this.input[t.start]||"'"===this.input[t.start])};var tt=j.prototype;tt.toAssignable=function(t,e,i){if(this.options.ecmaVersion>=6&&t)switch(t.type){case"Identifier":this.inAsync&&"await"===t.name&&this.raise(t.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var s=0,r=t.properties;s<r.length;s+=1){var n=r[s];this.toAssignable(n,e),"RestElement"===n.type&&("ArrayPattern"===n.argument.type||"ObjectPattern"===n.argument.type)&&this.raise(n.argument.start,"Unexpected token")}break;case"Property":"init"!==t.kind&&this.raise(t.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(t.value,e);break;case"ArrayExpression":t.type="ArrayPattern",i&&this.checkPatternErrors(i,!0),this.toAssignableList(t.elements,e);break;case"SpreadElement":t.type="RestElement",this.toAssignable(t.argument,e),"AssignmentPattern"===t.argument.type&&this.raise(t.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==t.operator&&this.raise(t.left.end,"Only '=' operator can be used for specifying default value."),t.type="AssignmentPattern",delete t.operator,this.toAssignable(t.left,e);break;case"ParenthesizedExpression":this.toAssignable(t.expression,e,i);break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!e)break;default:this.raise(t.start,"Assigning to rvalue")}else i&&this.checkPatternErrors(i,!0);return t},tt.toAssignableList=function(t,e){for(var i=t.length,s=0;s<i;s++){var r=t[s];r&&this.toAssignable(r,e)}if(i){var n=t[i-1];6===this.options.ecmaVersion&&e&&n&&"RestElement"===n.type&&"Identifier"!==n.argument.type&&this.unexpected(n.argument.start)}return t},tt.parseSpread=function(t){var e=this.startNode();return this.next(),e.argument=this.parseMaybeAssign(!1,t),this.finishNode(e,"SpreadElement")},tt.parseRestBinding=function(){var t=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==y.name&&this.unexpected(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")},tt.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case y.bracketL:var t=this.startNode();return this.next(),t.elements=this.parseBindingList(y.bracketR,!0,!0),this.finishNode(t,"ArrayPattern");case y.braceL:return this.parseObj(!0)}return this.parseIdent()},tt.parseBindingList=function(t,e,i,s){for(var r=[],n=!0;!this.eat(t);)if(n?n=!1:this.expect(y.comma),e&&this.type===y.comma)r.push(null);else if(i&&this.afterTrailingComma(t))break;else if(this.type===y.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),r.push(a),this.type===y.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(t);break}else r.push(this.parseAssignableListItem(s));return r},tt.parseAssignableListItem=function(t){var e=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(e),e},tt.parseBindingListItem=function(t){return t},tt.parseMaybeDefault=function(t,e,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(y.eq))return i;var s=this.startNodeAt(t,e);return s.left=i,s.right=this.parseMaybeAssign(),this.finishNode(s,"AssignmentPattern")},tt.checkLValSimple=function(t,e,i){void 0===e&&(e=0);var s=0!==e;switch(t.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(t.name)&&this.raiseRecoverable(t.start,(s?"Binding ":"Assigning to ")+t.name+" in strict mode"),s&&(2===e&&"let"===t.name&&this.raiseRecoverable(t.start,"let is disallowed as a lexically bound name"),i&&(P(i,t.name)&&this.raiseRecoverable(t.start,"Argument name clash"),i[t.name]=!0),5!==e&&this.declareName(t.name,e,t.start));break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":s&&this.raiseRecoverable(t.start,"Binding member expression");break;case"ParenthesizedExpression":return s&&this.raiseRecoverable(t.start,"Binding parenthesized expression"),this.checkLValSimple(t.expression,e,i);default:this.raise(t.start,(s?"Binding":"Assigning to")+" rvalue")}},tt.checkLValPattern=function(t,e,i){switch(void 0===e&&(e=0),t.type){case"ObjectPattern":for(var s=0,r=t.properties;s<r.length;s+=1){var n=r[s];this.checkLValInnerPattern(n,e,i)}break;case"ArrayPattern":for(var a=0,o=t.elements;a<o.length;a+=1){var h=o[a];h&&this.checkLValInnerPattern(h,e,i)}break;default:this.checkLValSimple(t,e,i)}},tt.checkLValInnerPattern=function(t,e,i){switch(void 0===e&&(e=0),t.type){case"Property":this.checkLValInnerPattern(t.value,e,i);break;case"AssignmentPattern":this.checkLValPattern(t.left,e,i);break;case"RestElement":this.checkLValPattern(t.argument,e,i);break;default:this.checkLValPattern(t,e,i)}};var te=function(t,e,i,s,r){this.token=t,this.isExpr=!!e,this.preserveSpace=!!i,this.override=s,this.generator=!!r},ti={b_stat:new te("{",!1),b_expr:new te("{",!0),b_tmpl:new te("${",!1),p_stat:new te("(",!1),p_expr:new te("(",!0),q_tmpl:new te("`",!0,!0,function(t){return t.tryReadTemplateToken()}),f_stat:new te("function",!1),f_expr:new te("function",!0),f_expr_gen:new te("function",!0,!1,null,!0),f_gen:new te("function",!1,!1,null,!0)},ts=j.prototype;ts.initialContext=function(){return[ti.b_stat]},ts.curContext=function(){return this.context[this.context.length-1]},ts.braceIsBlock=function(t){var e=this.curContext();return e===ti.f_expr||e===ti.f_stat||(t===y.colon&&(e===ti.b_stat||e===ti.b_expr)?!e.isExpr:t===y._return||t===y.name&&this.exprAllowed?b.test(this.input.slice(this.lastTokEnd,this.start)):t===y._else||t===y.semi||t===y.eof||t===y.parenR||t===y.arrow||(t===y.braceL?e===ti.b_stat:t!==y._var&&t!==y._const&&t!==y.name&&!this.exprAllowed))},ts.inGeneratorContext=function(){for(var t=this.context.length-1;t>=1;t--){var e=this.context[t];if("function"===e.token)return e.generator}return!1},ts.updateContext=function(t){var e,i=this.type;i.keyword&&t===y.dot?this.exprAllowed=!1:(e=i.updateContext)?e.call(this,t):this.exprAllowed=i.beforeExpr},ts.overrideContext=function(t){this.curContext()!==t&&(this.context[this.context.length-1]=t)},y.parenR.updateContext=y.braceR.updateContext=function(){if(1===this.context.length){this.exprAllowed=!0;return}var t=this.context.pop();t===ti.b_stat&&"function"===this.curContext().token&&(t=this.context.pop()),this.exprAllowed=!t.isExpr},y.braceL.updateContext=function(t){this.context.push(this.braceIsBlock(t)?ti.b_stat:ti.b_expr),this.exprAllowed=!0},y.dollarBraceL.updateContext=function(){this.context.push(ti.b_tmpl),this.exprAllowed=!0},y.parenL.updateContext=function(t){var e=t===y._if||t===y._for||t===y._with||t===y._while;this.context.push(e?ti.p_stat:ti.p_expr),this.exprAllowed=!0},y.incDec.updateContext=function(){},y._function.updateContext=y._class.updateContext=function(t){!t.beforeExpr||t===y._else||t===y.semi&&this.curContext()!==ti.p_stat||t===y._return&&b.test(this.input.slice(this.lastTokEnd,this.start))||(t===y.colon||t===y.braceL)&&this.curContext()===ti.b_stat?this.context.push(ti.f_stat):this.context.push(ti.f_expr),this.exprAllowed=!1},y.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},y.backQuote.updateContext=function(){this.curContext()===ti.q_tmpl?this.context.pop():this.context.push(ti.q_tmpl),this.exprAllowed=!1},y.star.updateContext=function(t){if(t===y._function){var e=this.context.length-1;this.context[e]===ti.f_expr?this.context[e]=ti.f_expr_gen:this.context[e]=ti.f_gen}this.exprAllowed=!0},y.name.updateContext=function(t){var e=!1;this.options.ecmaVersion>=6&&t!==y.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(e=!0),this.exprAllowed=e};var tr=j.prototype;tr.checkPropClash=function(t,e,i){if((!(this.options.ecmaVersion>=9)||"SpreadElement"!==t.type)&&(!(this.options.ecmaVersion>=6)||!t.computed&&!t.method&&!t.shorthand)){var s,r,n=t.key;switch(n.type){case"Identifier":s=n.name;break;case"Literal":s=String(n.value);break;default:return}var a=t.kind;if(this.options.ecmaVersion>=6){"__proto__"===s&&"init"===a&&(e.proto&&(i?i.doubleProto<0&&(i.doubleProto=n.start):this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),e.proto=!0);return}var o=e[s="$"+s];o?(r="init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(n.start,"Redefinition of property"):o=e[s]={init:!1,get:!1,set:!1},o[a]=!0}},tr.parseExpression=function(t,e){var i=this.start,s=this.startLoc,r=this.parseMaybeAssign(t,e);if(this.type===y.comma){var n=this.startNodeAt(i,s);for(n.expressions=[r];this.eat(y.comma);)n.expressions.push(this.parseMaybeAssign(t,e));return this.finishNode(n,"SequenceExpression")}return r},tr.parseMaybeAssign=function(t,e,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(t);this.exprAllowed=!1}var s=!1,r=-1,n=-1,a=-1;e?(r=e.parenthesizedAssign,n=e.trailingComma,a=e.doubleProto,e.parenthesizedAssign=e.trailingComma=-1):(e=new H,s=!0);var o=this.start,h=this.startLoc;(this.type===y.parenL||this.type===y.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===t);var c=this.parseMaybeConditional(t,e);if(i&&(c=i.call(this,c,o,h)),this.type.isAssign){var p=this.startNodeAt(o,h);return p.operator=this.value,this.type===y.eq&&(c=this.toAssignable(c,!1,e)),!s&&(e.parenthesizedAssign=e.trailingComma=e.doubleProto=-1),e.shorthandAssign>=c.start&&(e.shorthandAssign=-1),this.type===y.eq?this.checkLValPattern(c):this.checkLValSimple(c),p.left=c,this.next(),p.right=this.parseMaybeAssign(t),a>-1&&(e.doubleProto=a),this.finishNode(p,"AssignmentExpression")}return s&&this.checkExpressionErrors(e,!0),r>-1&&(e.parenthesizedAssign=r),n>-1&&(e.trailingComma=n),c},tr.parseMaybeConditional=function(t,e){var i=this.start,s=this.startLoc,r=this.parseExprOps(t,e);if(this.checkExpressionErrors(e))return r;if(this.eat(y.question)){var n=this.startNodeAt(i,s);return n.test=r,n.consequent=this.parseMaybeAssign(),this.expect(y.colon),n.alternate=this.parseMaybeAssign(t),this.finishNode(n,"ConditionalExpression")}return r},tr.parseExprOps=function(t,e){var i=this.start,s=this.startLoc,r=this.parseMaybeUnary(e,!1,!1,t);return this.checkExpressionErrors(e)?r:r.start===i&&"ArrowFunctionExpression"===r.type?r:this.parseExprOp(r,i,s,-1,t)},tr.parseExprOp=function(t,e,i,s,r){var n=this.type.binop;if(null!=n&&(!r||this.type!==y._in)&&n>s){var a=this.type===y.logicalOR||this.type===y.logicalAND,o=this.type===y.coalesce;o&&(n=y.logicalAND.binop);var h=this.value;this.next();var c=this.start,p=this.startLoc,u=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,r),c,p,n,r),l=this.buildBinary(e,i,t,u,h,a||o);return(a&&this.type===y.coalesce||o&&(this.type===y.logicalOR||this.type===y.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(l,e,i,s,r)}return t},tr.buildBinary=function(t,e,i,s,r,n){"PrivateIdentifier"===s.type&&this.raise(s.start,"Private identifier can only be left side of binary expression");var a=this.startNodeAt(t,e);return a.left=i,a.operator=r,a.right=s,this.finishNode(a,n?"LogicalExpression":"BinaryExpression")},tr.parseMaybeUnary=function(t,e,i,s){var r,n=this.start,a=this.startLoc;if(this.isContextual("await")&&this.canAwait)r=this.parseAwait(s),e=!0;else if(this.type.prefix){var o=this.startNode(),h=this.type===y.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,h,s),this.checkExpressionErrors(t,!0),h?this.checkLValSimple(o.argument):this.strict&&"delete"===o.operator&&function t(e){return"Identifier"===e.type||"ParenthesizedExpression"===e.type&&t(e.expression)}(o.argument)?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):"delete"===o.operator&&function t(e){return"MemberExpression"===e.type&&"PrivateIdentifier"===e.property.type||"ChainExpression"===e.type&&t(e.expression)||"ParenthesizedExpression"===e.type&&t(e.expression)}(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):e=!0,r=this.finishNode(o,h?"UpdateExpression":"UnaryExpression")}else if(e||this.type!==y.privateId){if(r=this.parseExprSubscripts(t,s),this.checkExpressionErrors(t))return r;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(n,a);c.operator=this.value,c.prefix=!1,c.argument=r,this.checkLValSimple(r),this.next(),r=this.finishNode(c,"UpdateExpression")}}else(s||0===this.privateNameStack.length)&&this.options.checkPrivateFields&&this.unexpected(),r=this.parsePrivateIdent(),this.type!==y._in&&this.unexpected();if(!(!i&&this.eat(y.starstar)))return r;if(!e)return this.buildBinary(n,a,r,this.parseMaybeUnary(null,!1,!1,s),"**",!1);this.unexpected(this.lastTokStart)};tr.parseExprSubscripts=function(t,e){var i=this.start,s=this.startLoc,r=this.parseExprAtom(t,e);if("ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return r;var n=this.parseSubscripts(r,i,s,!1,e);return t&&"MemberExpression"===n.type&&(t.parenthesizedAssign>=n.start&&(t.parenthesizedAssign=-1),t.parenthesizedBind>=n.start&&(t.parenthesizedBind=-1),t.trailingComma>=n.start&&(t.trailingComma=-1)),n},tr.parseSubscripts=function(t,e,i,s,r){for(var n=this.options.ecmaVersion>=8&&"Identifier"===t.type&&"async"===t.name&&this.lastTokEnd===t.end&&!this.canInsertSemicolon()&&t.end-t.start==5&&this.potentialArrowAt===t.start,a=!1;;){var o=this.parseSubscript(t,e,i,s,n,a,r);if(o.optional&&(a=!0),o===t||"ArrowFunctionExpression"===o.type){if(a){var h=this.startNodeAt(e,i);h.expression=o,o=this.finishNode(h,"ChainExpression")}return o}t=o}},tr.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(y.arrow)},tr.parseSubscriptAsyncArrow=function(t,e,i,s){return this.parseArrowExpression(this.startNodeAt(t,e),i,!0,s)},tr.parseSubscript=function(t,e,i,s,r,n,a){var o=this.options.ecmaVersion>=11,h=o&&this.eat(y.questionDot);s&&h&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(y.bracketL);if(c||h&&this.type!==y.parenL&&this.type!==y.backQuote||this.eat(y.dot)){var p=this.startNodeAt(e,i);p.object=t,c?(p.property=this.parseExpression(),this.expect(y.bracketR)):this.type===y.privateId&&"Super"!==t.type?p.property=this.parsePrivateIdent():p.property=this.parseIdent("never"!==this.options.allowReserved),p.computed=!!c,o&&(p.optional=h),t=this.finishNode(p,"MemberExpression")}else if(!s&&this.eat(y.parenL)){var u=new H,l=this.yieldPos,d=this.awaitPos,f=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var m=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1,u);if(r&&!h&&this.shouldParseAsyncArrow())return this.checkPatternErrors(u,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=l,this.awaitPos=d,this.awaitIdentPos=f,this.parseSubscriptAsyncArrow(e,i,m,a);this.checkExpressionErrors(u,!0),this.yieldPos=l||this.yieldPos,this.awaitPos=d||this.awaitPos,this.awaitIdentPos=f||this.awaitIdentPos;var g=this.startNodeAt(e,i);g.callee=t,g.arguments=m,o&&(g.optional=h),t=this.finishNode(g,"CallExpression")}else if(this.type===y.backQuote){(h||n)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var x=this.startNodeAt(e,i);x.tag=t,x.quasi=this.parseTemplate({isTagged:!0}),t=this.finishNode(x,"TaggedTemplateExpression")}return t},tr.parseExprAtom=function(t,e,i){this.type===y.slash&&this.readRegexp();var s,r=this.potentialArrowAt===this.start;switch(this.type){case y._super:return!this.allowSuper&&this.raise(this.start,"'super' keyword outside a method"),s=this.startNode(),this.next(),this.type===y.parenL&&!this.allowDirectSuper&&this.raise(s.start,"super() call outside constructor of a subclass"),this.type!==y.dot&&this.type!==y.bracketL&&this.type!==y.parenL&&this.unexpected(),this.finishNode(s,"Super");case y._this:return s=this.startNode(),this.next(),this.finishNode(s,"ThisExpression");case y.name:var n=this.start,a=this.startLoc,o=this.containsEsc,h=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&"async"===h.name&&!this.canInsertSemicolon()&&this.eat(y._function))return this.overrideContext(ti.f_expr),this.parseFunction(this.startNodeAt(n,a),0,!1,!0,e);if(r&&!this.canInsertSemicolon()){if(this.eat(y.arrow))return this.parseArrowExpression(this.startNodeAt(n,a),[h],!1,e);if(this.options.ecmaVersion>=8&&"async"===h.name&&this.type===y.name&&!o&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return h=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(y.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,a),[h],!0,e)}return h;case y.regexp:var c=this.value;return(s=this.parseLiteral(c.value)).regex={pattern:c.pattern,flags:c.flags},s;case y.num:case y.string:return this.parseLiteral(this.value);case y._null:case y._true:case y._false:return(s=this.startNode()).value=this.type===y._null?null:this.type===y._true,s.raw=this.type.keyword,this.next(),this.finishNode(s,"Literal");case y.parenL:var p=this.start,u=this.parseParenAndDistinguishExpression(r,e);return t&&(t.parenthesizedAssign<0&&!this.isSimpleAssignTarget(u)&&(t.parenthesizedAssign=p),t.parenthesizedBind<0&&(t.parenthesizedBind=p)),u;case y.bracketL:return s=this.startNode(),this.next(),s.elements=this.parseExprList(y.bracketR,!0,!0,t),this.finishNode(s,"ArrayExpression");case y.braceL:return this.overrideContext(ti.b_expr),this.parseObj(!1,t);case y._function:return s=this.startNode(),this.next(),this.parseFunction(s,0);case y._class:return this.parseClass(this.startNode(),!1);case y._new:return this.parseNew();case y.backQuote:return this.parseTemplate();case y._import:if(this.options.ecmaVersion>=11)return this.parseExprImport(i);return this.unexpected();default:return this.parseExprAtomDefault()}},tr.parseExprAtomDefault=function(){this.unexpected()},tr.parseExprImport=function(t){var e=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===y.parenL&&!t)return this.parseDynamicImport(e);if(this.type===y.dot){var i=this.startNodeAt(e.start,e.loc&&e.loc.start);return i.name="import",e.meta=this.finishNode(i,"Identifier"),this.parseImportMeta(e)}this.unexpected()},tr.parseDynamicImport=function(t){if(this.next(),t.source=this.parseMaybeAssign(),!this.eat(y.parenR)){var e=this.start;this.eat(y.comma)&&this.eat(y.parenR)?this.raiseRecoverable(e,"Trailing comma is not allowed in import()"):this.unexpected(e)}return this.finishNode(t,"ImportExpression")},tr.parseImportMeta=function(t){this.next();var e=this.containsEsc;return t.property=this.parseIdent(!0),"meta"!==t.property.name&&this.raiseRecoverable(t.property.start,"The only valid meta property for import is 'import.meta'"),e&&this.raiseRecoverable(t.start,"'import.meta' must not contain escaped characters"),"module"!==this.options.sourceType&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(t.start,"Cannot use 'import.meta' outside a module"),this.finishNode(t,"MetaProperty")},tr.parseLiteral=function(t){var e=this.startNode();return e.value=t,e.raw=this.input.slice(this.start,this.end),110===e.raw.charCodeAt(e.raw.length-1)&&(e.bigint=e.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(e,"Literal")},tr.parseParenExpression=function(){this.expect(y.parenL);var t=this.parseExpression();return this.expect(y.parenR),t},tr.shouldParseArrow=function(t){return!this.canInsertSemicolon()},tr.parseParenAndDistinguishExpression=function(t,e){var i,s=this.start,r=this.startLoc,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,h=this.startLoc,c=[],p=!0,u=!1,l=new H,d=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==y.parenR;){if(p?p=!1:this.expect(y.comma),n&&this.afterTrailingComma(y.parenR,!0)){u=!0;break}if(this.type===y.ellipsis){a=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===y.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else c.push(this.parseMaybeAssign(!1,l,this.parseParenItem))}var m=this.lastTokEnd,g=this.lastTokEndLoc;if(this.expect(y.parenR),t&&this.shouldParseArrow(c)&&this.eat(y.arrow))return this.checkPatternErrors(l,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=d,this.awaitPos=f,this.parseParenArrowList(s,r,c,e);(!c.length||u)&&this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(l,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=f||this.awaitPos,c.length>1?((i=this.startNodeAt(o,h)).expressions=c,this.finishNodeAt(i,"SequenceExpression",m,g)):i=c[0]}else i=this.parseParenExpression();if(!this.options.preserveParens)return i;var x=this.startNodeAt(s,r);return x.expression=i,this.finishNode(x,"ParenthesizedExpression")},tr.parseParenItem=function(t){return t},tr.parseParenArrowList=function(t,e,i,s){return this.parseArrowExpression(this.startNodeAt(t,e),i,!1,s)};var tn=[];tr.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var t=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===y.dot){var e=this.startNodeAt(t.start,t.loc&&t.loc.start);e.name="new",t.meta=this.finishNode(e,"Identifier"),this.next();var i=this.containsEsc;return t.property=this.parseIdent(!0),"target"!==t.property.name&&this.raiseRecoverable(t.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(t.start,"'new.target' must not contain escaped characters"),!this.allowNewDotTarget&&this.raiseRecoverable(t.start,"'new.target' can only be used in functions and class static block"),this.finishNode(t,"MetaProperty")}var s=this.start,r=this.startLoc;return t.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),s,r,!0,!1),this.eat(y.parenL)?t.arguments=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1):t.arguments=tn,this.finishNode(t,"NewExpression")},tr.parseTemplateElement=function(t){var e=t.isTagged,i=this.startNode();return this.type===y.invalidTemplate?(!e&&this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),i.tail=this.type===y.backQuote,this.finishNode(i,"TemplateElement")},tr.parseTemplate=function(t){void 0===t&&(t={});var e=t.isTagged;void 0===e&&(e=!1);var i=this.startNode();this.next(),i.expressions=[];var s=this.parseTemplateElement({isTagged:e});for(i.quasis=[s];!s.tail;)this.type===y.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(y.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(y.braceR),i.quasis.push(s=this.parseTemplateElement({isTagged:e}));return this.next(),this.finishNode(i,"TemplateLiteral")},tr.isAsyncProp=function(t){return!t.computed&&"Identifier"===t.key.type&&"async"===t.key.name&&(this.type===y.name||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===y.star)&&!b.test(this.input.slice(this.lastTokEnd,this.start))},tr.parseObj=function(t,e){var i=this.startNode(),s=!0,r={};for(i.properties=[],this.next();!this.eat(y.braceR);){if(s)s=!1;else if(this.expect(y.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(y.braceR))break;var n=this.parseProperty(t,e);!t&&this.checkPropClash(n,r,e),i.properties.push(n)}return this.finishNode(i,t?"ObjectPattern":"ObjectExpression")},tr.parseProperty=function(t,e){var i,s,r,n,a=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(y.ellipsis))return t?(a.argument=this.parseIdent(!1),this.type===y.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(a.argument=this.parseMaybeAssign(!1,e),this.type===y.comma&&e&&e.trailingComma<0&&(e.trailingComma=this.start),this.finishNode(a,"SpreadElement"));this.options.ecmaVersion>=6&&(a.method=!1,a.shorthand=!1,(t||e)&&(r=this.start,n=this.startLoc),!t&&(i=this.eat(y.star)));var o=this.containsEsc;return this.parsePropertyName(a),!t&&!o&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(a)?(s=!0,i=this.options.ecmaVersion>=9&&this.eat(y.star),this.parsePropertyName(a)):s=!1,this.parsePropertyValue(a,t,i,s,r,n,e,o),this.finishNode(a,"Property")},tr.parseGetterSetter=function(t){t.kind=t.key.name,this.parsePropertyName(t),t.value=this.parseMethod(!1);var e="get"===t.kind?0:1;if(t.value.params.length!==e){var i=t.value.start;"get"===t.kind?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"setter should have exactly one param")}else"set"===t.kind&&"RestElement"===t.value.params[0].type&&this.raiseRecoverable(t.value.params[0].start,"Setter cannot use rest params")},tr.parsePropertyValue=function(t,e,i,s,r,n,a,o){(i||s)&&this.type===y.colon&&this.unexpected(),this.eat(y.colon)?(t.value=e?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),t.kind="init"):this.options.ecmaVersion>=6&&this.type===y.parenL?(e&&this.unexpected(),t.kind="init",t.method=!0,t.value=this.parseMethod(i,s)):e||o||!(this.options.ecmaVersion>=5)||t.computed||"Identifier"!==t.key.type||"get"!==t.key.name&&"set"!==t.key.name||this.type===y.comma||this.type===y.braceR||this.type===y.eq?this.options.ecmaVersion>=6&&!t.computed&&"Identifier"===t.key.type?((i||s)&&this.unexpected(),this.checkUnreserved(t.key),"await"===t.key.name&&!this.awaitIdentPos&&(this.awaitIdentPos=r),t.kind="init",e?t.value=this.parseMaybeDefault(r,n,this.copyNode(t.key)):this.type===y.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),t.value=this.parseMaybeDefault(r,n,this.copyNode(t.key))):t.value=this.copyNode(t.key),t.shorthand=!0):this.unexpected():((i||s)&&this.unexpected(),this.parseGetterSetter(t))},tr.parsePropertyName=function(t){if(this.options.ecmaVersion>=6){if(this.eat(y.bracketL))return t.computed=!0,t.key=this.parseMaybeAssign(),this.expect(y.bracketR),t.key;t.computed=!1}return t.key=this.type===y.num||this.type===y.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},tr.initFunction=function(t){t.id=null,this.options.ecmaVersion>=6&&(t.generator=t.expression=!1),this.options.ecmaVersion>=8&&(t.async=!1)},tr.parseMethod=function(t,e,i){var s=this.startNode(),r=this.yieldPos,n=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(s),this.options.ecmaVersion>=6&&(s.generator=t),this.options.ecmaVersion>=8&&(s.async=!!e),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|U(e,s.generator)|(i?128:0)),this.expect(y.parenL),s.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(s,!1,!0,!1),this.yieldPos=r,this.awaitPos=n,this.awaitIdentPos=a,this.finishNode(s,"FunctionExpression")},tr.parseArrowExpression=function(t,e,i,s){var r=this.yieldPos,n=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(16|U(i,!1)),this.initFunction(t),this.options.ecmaVersion>=8&&(t.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,t.params=this.toAssignableList(e,!0),this.parseFunctionBody(t,!0,!1,s),this.yieldPos=r,this.awaitPos=n,this.awaitIdentPos=a,this.finishNode(t,"ArrowFunctionExpression")},tr.parseFunctionBody=function(t,e,i,s){var r=e&&this.type!==y.braceL,n=this.strict,a=!1;if(r)t.body=this.parseMaybeAssign(s),t.expression=!0,this.checkParams(t,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(t.params);(!n||o)&&(a=this.strictDirective(this.end))&&o&&this.raiseRecoverable(t.start,"Illegal 'use strict' directive in function with non-simple parameter list");var h=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(t,!n&&!a&&!e&&!i&&this.isSimpleParamList(t.params)),this.strict&&t.id&&this.checkLValSimple(t.id,5),t.body=this.parseBlock(!1,void 0,a&&!n),t.expression=!1,this.adaptDirectivePrologue(t.body.body),this.labels=h}this.exitScope()},tr.isSimpleParamList=function(t){for(var e=0;e<t.length;e+=1)if("Identifier"!==t[e].type)return!1;return!0},tr.checkParams=function(t,e){for(var i=Object.create(null),s=0,r=t.params;s<r.length;s+=1){var n=r[s];this.checkLValInnerPattern(n,1,e?null:i)}},tr.parseExprList=function(t,e,i,s){for(var r=[],n=!0;!this.eat(t);){if(n)n=!1;else if(this.expect(y.comma),e&&this.afterTrailingComma(t))break;var a=void 0;i&&this.type===y.comma?a=null:this.type===y.ellipsis?(a=this.parseSpread(s),s&&this.type===y.comma&&s.trailingComma<0&&(s.trailingComma=this.start)):a=this.parseMaybeAssign(!1,s),r.push(a)}return r},tr.checkUnreserved=function(t){var e=t.start,i=t.end,s=t.name;if(this.inGenerator&&"yield"===s&&this.raiseRecoverable(e,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===s&&this.raiseRecoverable(e,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&"arguments"===s&&this.raiseRecoverable(e,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&("arguments"===s||"await"===s)&&this.raise(e,"Cannot use "+s+" in class static initialization block"),this.keywords.test(s)&&this.raise(e,"Unexpected keyword '"+s+"'"),!(this.options.ecmaVersion<6)||-1===this.input.slice(e,i).indexOf("\\"))(this.strict?this.reservedWordsStrict:this.reservedWords).test(s)&&(!this.inAsync&&"await"===s&&this.raiseRecoverable(e,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(e,"The keyword '"+s+"' is reserved"))},tr.parseIdent=function(t){var e=this.parseIdentNode();return this.next(!!t),this.finishNode(e,"Identifier"),!t&&(this.checkUnreserved(e),"await"===e.name&&!this.awaitIdentPos&&(this.awaitIdentPos=e.start)),e},tr.parseIdentNode=function(){var t=this.startNode();return this.type===y.name?t.name=this.value:this.type.keyword?(t.name=this.type.keyword,("class"===t.name||"function"===t.name)&&(this.lastTokEnd!==this.lastTokStart+1||46!==this.input.charCodeAt(this.lastTokStart))&&this.context.pop(),this.type=y.name):this.unexpected(),t},tr.parsePrivateIdent=function(){var t=this.startNode();return this.type===y.privateId?t.name=this.value:this.unexpected(),this.next(),this.finishNode(t,"PrivateIdentifier"),this.options.checkPrivateFields&&(0===this.privateNameStack.length?this.raise(t.start,"Private field '#"+t.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(t)),t},tr.parseYield=function(t){!this.yieldPos&&(this.yieldPos=this.start);var e=this.startNode();return this.next(),this.type===y.semi||this.canInsertSemicolon()||this.type!==y.star&&!this.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(y.star),e.argument=this.parseMaybeAssign(t)),this.finishNode(e,"YieldExpression")},tr.parseAwait=function(t){!this.awaitPos&&(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!0,!1,t),this.finishNode(e,"AwaitExpression")};var ta=j.prototype;ta.raise=function(t,e){var i=D(this.input,t),s=SyntaxError(e+=" ("+i.line+":"+i.column+")");throw s.pos=t,s.loc=i,s.raisedAt=this.pos,s},ta.raiseRecoverable=ta.raise,ta.curPosition=function(){if(this.options.locations)return new O(this.curLine,this.pos-this.lineStart)};var to=j.prototype,th=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};to.enterScope=function(t){this.scopeStack.push(new th(t))},to.exitScope=function(){this.scopeStack.pop()},to.treatFunctionsAsVarInScope=function(t){return 2&t.flags||!this.inModule&&1&t.flags},to.declareName=function(t,e,i){var s=!1;if(2===e){var r=this.currentScope();s=r.lexical.indexOf(t)>-1||r.functions.indexOf(t)>-1||r.var.indexOf(t)>-1,r.lexical.push(t),this.inModule&&1&r.flags&&delete this.undefinedExports[t]}else if(4===e)this.currentScope().lexical.push(t);else if(3===e){var n=this.currentScope();s=this.treatFunctionsAsVar?n.lexical.indexOf(t)>-1:n.lexical.indexOf(t)>-1||n.var.indexOf(t)>-1,n.functions.push(t)}else for(var a=this.scopeStack.length-1;a>=0;--a){var o=this.scopeStack[a];if(o.lexical.indexOf(t)>-1&&!(32&o.flags&&o.lexical[0]===t)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(t)>-1){s=!0;break}if(o.var.push(t),this.inModule&&1&o.flags&&delete this.undefinedExports[t],o.flags&F)break}s&&this.raiseRecoverable(i,"Identifier '"+t+"' has already been declared")},to.checkLocalExport=function(t){-1===this.scopeStack[0].lexical.indexOf(t.name)&&-1===this.scopeStack[0].var.indexOf(t.name)&&(this.undefinedExports[t.name]=t)},to.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},to.currentVarScope=function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(e.flags&F)return e}},to.currentThisScope=function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(e.flags&F&&!(16&e.flags))return e}};var tc=function(t,e,i){this.type="",this.start=e,this.end=0,t.options.locations&&(this.loc=new Z(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[e,0])},tp=j.prototype;function tu(t,e,i,s){return t.type=e,t.end=i,this.options.locations&&(t.loc.end=s),this.options.ranges&&(t.range[1]=i),t}tp.startNode=function(){return new tc(this,this.start,this.startLoc)},tp.startNodeAt=function(t,e){return new tc(this,t,e)},tp.finishNode=function(t,e){return tu.call(this,t,e,this.lastTokEnd,this.lastTokEndLoc)},tp.finishNodeAt=function(t,e,i,s){return tu.call(this,t,e,i,s)},tp.copyNode=function(t){var e=new tc(this,t.start,this.startLoc);for(var i in t)e[i]=t[i];return e};for(var tl="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",td=tl+" Extended_Pictographic",tf=td+" EBase EComp EMod EPres ExtPict",tm={9:tl,10:td,11:td,12:tf,13:tf,14:tf},tg={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},tx="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",tv="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ty=tv+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",tb=ty+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",t_=tb+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",tk=t_+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",tS={9:tv,10:ty,11:tb,12:t_,13:tk,14:tk+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz"},tC={},tw=0,tE=[9,10,11,12,13,14];tw<tE.length;tw+=1)!function(t){var e=tC[t]={binary:L(tm[t]+" "+tx),binaryOfStrings:L(tg[t]),nonBinary:{General_Category:L(tx),Script:L(tS[t])}};e.nonBinary.Script_Extensions=e.nonBinary.Script,e.nonBinary.gc=e.nonBinary.General_Category,e.nonBinary.sc=e.nonBinary.Script,e.nonBinary.scx=e.nonBinary.Script_Extensions}(tE[tw]);var tA=j.prototype,tI=function(t,e){this.parent=t,this.base=e||this};tI.prototype.separatedFrom=function(t){for(var e=this;e;e=e.parent)for(var i=t;i;i=i.parent)if(e.base===i.base&&e!==i)return!0;return!1},tI.prototype.sibling=function(){return new tI(this.parent,this.base)};var tP=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=tC[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};tP.prototype.reset=function(t,e,i){var s=-1!==i.indexOf("v"),r=-1!==i.indexOf("u");this.start=0|t,this.source=e+"",this.flags=i,s&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=r&&this.parser.options.ecmaVersion>=9)},tP.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},tP.prototype.at=function(t,e){void 0===e&&(e=!1);var i=this.source,s=i.length;if(t>=s)return -1;var r=i.charCodeAt(t);if(!(e||this.switchU)||r<=55295||r>=57344||t+1>=s)return r;var n=i.charCodeAt(t+1);return n>=56320&&n<=57343?(r<<10)+n-56613888:r},tP.prototype.nextIndex=function(t,e){void 0===e&&(e=!1);var i=this.source,s=i.length;if(t>=s)return s;var r,n=i.charCodeAt(t);return!(e||this.switchU)||n<=55295||n>=57344||t+1>=s||(r=i.charCodeAt(t+1))<56320||r>57343?t+1:t+2},tP.prototype.current=function(t){return void 0===t&&(t=!1),this.at(this.pos,t)},tP.prototype.lookahead=function(t){return void 0===t&&(t=!1),this.at(this.nextIndex(this.pos,t),t)},tP.prototype.advance=function(t){void 0===t&&(t=!1),this.pos=this.nextIndex(this.pos,t)},tP.prototype.eat=function(t,e){return void 0===e&&(e=!1),this.current(e)===t&&(this.advance(e),!0)},tP.prototype.eatChars=function(t,e){void 0===e&&(e=!1);for(var i=this.pos,s=0;s<t.length;s+=1){var r=t[s],n=this.at(i,e);if(-1===n||n!==r)return!1;i=this.nextIndex(i,e)}return this.pos=i,!0},tA.validateRegExpFlags=function(t){for(var e=t.validFlags,i=t.flags,s=!1,r=!1,n=0;n<i.length;n++){var a=i.charAt(n);-1===e.indexOf(a)&&this.raise(t.start,"Invalid regular expression flag"),i.indexOf(a,n+1)>-1&&this.raise(t.start,"Duplicate regular expression flag"),"u"===a&&(s=!0),"v"===a&&(r=!0)}this.options.ecmaVersion>=15&&s&&r&&this.raise(t.start,"Invalid regular expression flag")};function tN(t){return 36===t||t>=40&&t<=43||46===t||63===t||t>=91&&t<=94||t>=123&&t<=125}tA.validateRegExpPattern=function(t){this.regexp_pattern(t),!t.switchN&&this.options.ecmaVersion>=9&&function(t){for(var e in t)return!0;return!1}(t.groupNames)&&(t.switchN=!0,this.regexp_pattern(t))},tA.regexp_pattern=function(t){t.pos=0,t.lastIntValue=0,t.lastStringValue="",t.lastAssertionIsQuantifiable=!1,t.numCapturingParens=0,t.maxBackReference=0,t.groupNames=Object.create(null),t.backReferenceNames.length=0,t.branchID=null,this.regexp_disjunction(t),t.pos!==t.source.length&&(t.eat(41)&&t.raise("Unmatched ')'"),(t.eat(93)||t.eat(125))&&t.raise("Lone quantifier brackets")),t.maxBackReference>t.numCapturingParens&&t.raise("Invalid escape");for(var e=0,i=t.backReferenceNames;e<i.length;e+=1){var s=i[e];!t.groupNames[s]&&t.raise("Invalid named capture referenced")}},tA.regexp_disjunction=function(t){var e=this.options.ecmaVersion>=16;for(e&&(t.branchID=new tI(t.branchID,null)),this.regexp_alternative(t);t.eat(124);)e&&(t.branchID=t.branchID.sibling()),this.regexp_alternative(t);e&&(t.branchID=t.branchID.parent),this.regexp_eatQuantifier(t,!0)&&t.raise("Nothing to repeat"),t.eat(123)&&t.raise("Lone quantifier brackets")},tA.regexp_alternative=function(t){for(;t.pos<t.source.length&&this.regexp_eatTerm(t););},tA.regexp_eatTerm=function(t){return this.regexp_eatAssertion(t)?(t.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(t)&&t.switchU&&t.raise("Invalid quantifier"),!0):(t.switchU?!!this.regexp_eatAtom(t):!!this.regexp_eatExtendedAtom(t))&&(this.regexp_eatQuantifier(t),!0)},tA.regexp_eatAssertion=function(t){var e=t.pos;if(t.lastAssertionIsQuantifiable=!1,t.eat(94)||t.eat(36))return!0;if(t.eat(92)){if(t.eat(66)||t.eat(98))return!0;t.pos=e}if(t.eat(40)&&t.eat(63)){var i=!1;if(this.options.ecmaVersion>=9&&(i=t.eat(60)),t.eat(61)||t.eat(33))return this.regexp_disjunction(t),!t.eat(41)&&t.raise("Unterminated group"),t.lastAssertionIsQuantifiable=!i,!0}return t.pos=e,!1},tA.regexp_eatQuantifier=function(t,e){return void 0===e&&(e=!1),!!this.regexp_eatQuantifierPrefix(t,e)&&(t.eat(63),!0)},tA.regexp_eatQuantifierPrefix=function(t,e){return t.eat(42)||t.eat(43)||t.eat(63)||this.regexp_eatBracedQuantifier(t,e)},tA.regexp_eatBracedQuantifier=function(t,e){var i=t.pos;if(t.eat(123)){var s=0,r=-1;if(this.regexp_eatDecimalDigits(t)&&(s=t.lastIntValue,t.eat(44)&&this.regexp_eatDecimalDigits(t)&&(r=t.lastIntValue),t.eat(125)))return -1!==r&&r<s&&!e&&t.raise("numbers out of order in {} quantifier"),!0;t.switchU&&!e&&t.raise("Incomplete quantifier"),t.pos=i}return!1},tA.regexp_eatAtom=function(t){return this.regexp_eatPatternCharacters(t)||t.eat(46)||this.regexp_eatReverseSolidusAtomEscape(t)||this.regexp_eatCharacterClass(t)||this.regexp_eatUncapturingGroup(t)||this.regexp_eatCapturingGroup(t)},tA.regexp_eatReverseSolidusAtomEscape=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatAtomEscape(t))return!0;t.pos=e}return!1},tA.regexp_eatUncapturingGroup=function(t){var e=t.pos;if(t.eat(40)){if(t.eat(63)&&t.eat(58)){if(this.regexp_disjunction(t),t.eat(41))return!0;t.raise("Unterminated group")}t.pos=e}return!1},tA.regexp_eatCapturingGroup=function(t){if(t.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(t):63===t.current()&&t.raise("Invalid group"),this.regexp_disjunction(t),t.eat(41))return t.numCapturingParens+=1,!0;t.raise("Unterminated group")}return!1},tA.regexp_eatExtendedAtom=function(t){return t.eat(46)||this.regexp_eatReverseSolidusAtomEscape(t)||this.regexp_eatCharacterClass(t)||this.regexp_eatUncapturingGroup(t)||this.regexp_eatCapturingGroup(t)||this.regexp_eatInvalidBracedQuantifier(t)||this.regexp_eatExtendedPatternCharacter(t)},tA.regexp_eatInvalidBracedQuantifier=function(t){return this.regexp_eatBracedQuantifier(t,!0)&&t.raise("Nothing to repeat"),!1},tA.regexp_eatSyntaxCharacter=function(t){var e=t.current();return!!tN(e)&&(t.lastIntValue=e,t.advance(),!0)},tA.regexp_eatPatternCharacters=function(t){for(var e=t.pos,i=0;-1!==(i=t.current())&&!tN(i);)t.advance();return t.pos!==e},tA.regexp_eatExtendedPatternCharacter=function(t){var e=t.current();return -1!==e&&36!==e&&(!(e>=40)||!(e<=43))&&46!==e&&63!==e&&91!==e&&94!==e&&124!==e&&(t.advance(),!0)},tA.regexp_groupSpecifier=function(t){if(t.eat(63)){!this.regexp_eatGroupName(t)&&t.raise("Invalid group");var e=this.options.ecmaVersion>=16,i=t.groupNames[t.lastStringValue];if(i){if(e)for(var s=0;s<i.length;s+=1)!i[s].separatedFrom(t.branchID)&&t.raise("Duplicate capture group name");else t.raise("Duplicate capture group name")}e?(i||(t.groupNames[t.lastStringValue]=[])).push(t.branchID):t.groupNames[t.lastStringValue]=!0}},tA.regexp_eatGroupName=function(t){if(t.lastStringValue="",t.eat(60)){if(this.regexp_eatRegExpIdentifierName(t)&&t.eat(62))return!0;t.raise("Invalid capture group name")}return!1},tA.regexp_eatRegExpIdentifierName=function(t){if(t.lastStringValue="",this.regexp_eatRegExpIdentifierStart(t)){for(t.lastStringValue+=V(t.lastIntValue);this.regexp_eatRegExpIdentifierPart(t);)t.lastStringValue+=V(t.lastIntValue);return!0}return!1},tA.regexp_eatRegExpIdentifierStart=function(t){var e=t.pos,i=this.options.ecmaVersion>=11,s=t.current(i);return(t.advance(i),92===s&&this.regexp_eatRegExpUnicodeEscapeSequence(t,i)&&(s=t.lastIntValue),function(t){return u(t,!0)||36===t||95===t}(s))?(t.lastIntValue=s,!0):(t.pos=e,!1)};tA.regexp_eatRegExpIdentifierPart=function(t){var e=t.pos,i=this.options.ecmaVersion>=11,s=t.current(i);return(t.advance(i),92===s&&this.regexp_eatRegExpUnicodeEscapeSequence(t,i)&&(s=t.lastIntValue),function(t){return l(t,!0)||36===t||95===t||8204===t||8205===t}(s))?(t.lastIntValue=s,!0):(t.pos=e,!1)};function tT(t){return t>=65&&t<=90||t>=97&&t<=122}tA.regexp_eatAtomEscape=function(t){return!!(this.regexp_eatBackReference(t)||this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)||t.switchN&&this.regexp_eatKGroupName(t))||(t.switchU&&(99===t.current()&&t.raise("Invalid unicode escape"),t.raise("Invalid escape")),!1)},tA.regexp_eatBackReference=function(t){var e=t.pos;if(this.regexp_eatDecimalEscape(t)){var i=t.lastIntValue;if(t.switchU)return i>t.maxBackReference&&(t.maxBackReference=i),!0;if(i<=t.numCapturingParens)return!0;t.pos=e}return!1},tA.regexp_eatKGroupName=function(t){if(t.eat(107)){if(this.regexp_eatGroupName(t))return t.backReferenceNames.push(t.lastStringValue),!0;t.raise("Invalid named reference")}return!1},tA.regexp_eatCharacterEscape=function(t){return this.regexp_eatControlEscape(t)||this.regexp_eatCControlLetter(t)||this.regexp_eatZero(t)||this.regexp_eatHexEscapeSequence(t)||this.regexp_eatRegExpUnicodeEscapeSequence(t,!1)||!t.switchU&&this.regexp_eatLegacyOctalEscapeSequence(t)||this.regexp_eatIdentityEscape(t)},tA.regexp_eatCControlLetter=function(t){var e=t.pos;if(t.eat(99)){if(this.regexp_eatControlLetter(t))return!0;t.pos=e}return!1},tA.regexp_eatZero=function(t){return!(48!==t.current()||tV(t.lookahead()))&&(t.lastIntValue=0,t.advance(),!0)},tA.regexp_eatControlEscape=function(t){var e=t.current();return 116===e?(t.lastIntValue=9,t.advance(),!0):110===e?(t.lastIntValue=10,t.advance(),!0):118===e?(t.lastIntValue=11,t.advance(),!0):102===e?(t.lastIntValue=12,t.advance(),!0):114===e&&(t.lastIntValue=13,t.advance(),!0)},tA.regexp_eatControlLetter=function(t){var e=t.current();return!!tT(e)&&(t.lastIntValue=e%32,t.advance(),!0)},tA.regexp_eatRegExpUnicodeEscapeSequence=function(t,e){void 0===e&&(e=!1);var i=t.pos,s=e||t.switchU;if(t.eat(117)){if(this.regexp_eatFixedHexDigits(t,4)){var r=t.lastIntValue;if(s&&r>=55296&&r<=56319){var n=t.pos;if(t.eat(92)&&t.eat(117)&&this.regexp_eatFixedHexDigits(t,4)){var a=t.lastIntValue;if(a>=56320&&a<=57343)return t.lastIntValue=(r-55296)*1024+(a-56320)+65536,!0}t.pos=n,t.lastIntValue=r}return!0}if(s&&t.eat(123)&&this.regexp_eatHexDigits(t)&&t.eat(125)&&function(t){return t>=0&&t<=1114111}(t.lastIntValue))return!0;s&&t.raise("Invalid unicode escape"),t.pos=i}return!1};tA.regexp_eatIdentityEscape=function(t){if(t.switchU)return!!this.regexp_eatSyntaxCharacter(t)||!!t.eat(47)&&(t.lastIntValue=47,!0);var e=t.current();return 99!==e&&(!t.switchN||107!==e)&&(t.lastIntValue=e,t.advance(),!0)},tA.regexp_eatDecimalEscape=function(t){t.lastIntValue=0;var e=t.current();if(e>=49&&e<=57){do t.lastIntValue=10*t.lastIntValue+(e-48),t.advance();while((e=t.current())>=48&&e<=57);return!0}return!1};tA.regexp_eatCharacterClassEscape=function(t){var e,i=t.current();if(function(t){return 100===t||68===t||115===t||83===t||119===t||87===t}(i))return t.lastIntValue=-1,t.advance(),1;var s=!1;if(t.switchU&&this.options.ecmaVersion>=9&&((s=80===i)||112===i)){if(t.lastIntValue=-1,t.advance(),t.eat(123)&&(e=this.regexp_eatUnicodePropertyValueExpression(t))&&t.eat(125))return s&&2===e&&t.raise("Invalid property name"),e;t.raise("Invalid property name")}return 0};function tL(t){return tT(t)||95===t}tA.regexp_eatUnicodePropertyValueExpression=function(t){var e=t.pos;if(this.regexp_eatUnicodePropertyName(t)&&t.eat(61)){var i=t.lastStringValue;if(this.regexp_eatUnicodePropertyValue(t)){var s=t.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(t,i,s),1}}if(t.pos=e,this.regexp_eatLoneUnicodePropertyNameOrValue(t)){var r=t.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(t,r)}return 0},tA.regexp_validateUnicodePropertyNameAndValue=function(t,e,i){!P(t.unicodeProperties.nonBinary,e)&&t.raise("Invalid property name"),!t.unicodeProperties.nonBinary[e].test(i)&&t.raise("Invalid property value")},tA.regexp_validateUnicodePropertyNameOrValue=function(t,e){return t.unicodeProperties.binary.test(e)?1:t.switchV&&t.unicodeProperties.binaryOfStrings.test(e)?2:void t.raise("Invalid property name")},tA.regexp_eatUnicodePropertyName=function(t){var e=0;for(t.lastStringValue="";tL(e=t.current());)t.lastStringValue+=V(e),t.advance();return""!==t.lastStringValue},tA.regexp_eatUnicodePropertyValue=function(t){var e=0;for(t.lastStringValue="";function(t){return tL(t)||tV(t)}(e=t.current());)t.lastStringValue+=V(e),t.advance();return""!==t.lastStringValue};tA.regexp_eatLoneUnicodePropertyNameOrValue=function(t){return this.regexp_eatUnicodePropertyValue(t)},tA.regexp_eatCharacterClass=function(t){if(t.eat(91)){var e=t.eat(94),i=this.regexp_classContents(t);return!t.eat(93)&&t.raise("Unterminated character class"),e&&2===i&&t.raise("Negated character class may contain strings"),!0}return!1},tA.regexp_classContents=function(t){return 93===t.current()?1:t.switchV?this.regexp_classSetExpression(t):(this.regexp_nonEmptyClassRanges(t),1)},tA.regexp_nonEmptyClassRanges=function(t){for(;this.regexp_eatClassAtom(t);){var e=t.lastIntValue;if(t.eat(45)&&this.regexp_eatClassAtom(t)){var i=t.lastIntValue;t.switchU&&(-1===e||-1===i)&&t.raise("Invalid character class"),-1!==e&&-1!==i&&e>i&&t.raise("Range out of order in character class")}}},tA.regexp_eatClassAtom=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatClassEscape(t))return!0;if(t.switchU){var i=t.current();(99===i||tZ(i))&&t.raise("Invalid class escape"),t.raise("Invalid escape")}t.pos=e}var s=t.current();return 93!==s&&(t.lastIntValue=s,t.advance(),!0)},tA.regexp_eatClassEscape=function(t){var e=t.pos;if(t.eat(98))return t.lastIntValue=8,!0;if(t.switchU&&t.eat(45))return t.lastIntValue=45,!0;if(!t.switchU&&t.eat(99)){if(this.regexp_eatClassControlLetter(t))return!0;t.pos=e}return this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)},tA.regexp_classSetExpression=function(t){var e,i=1;if(this.regexp_eatClassSetRange(t));else if(e=this.regexp_eatClassSetOperand(t)){2===e&&(i=2);for(var s=t.pos;t.eatChars([38,38]);){if(38!==t.current()&&(e=this.regexp_eatClassSetOperand(t))){2!==e&&(i=1);continue}t.raise("Invalid character in character class")}if(s!==t.pos)return i;for(;t.eatChars([45,45]);){if(!this.regexp_eatClassSetOperand(t))t.raise("Invalid character in character class")}if(s!==t.pos)return i}else t.raise("Invalid character in character class");for(;;){if(!this.regexp_eatClassSetRange(t)){if(!(e=this.regexp_eatClassSetOperand(t)))return i;2===e&&(i=2)}}},tA.regexp_eatClassSetRange=function(t){var e=t.pos;if(this.regexp_eatClassSetCharacter(t)){var i=t.lastIntValue;if(t.eat(45)&&this.regexp_eatClassSetCharacter(t)){var s=t.lastIntValue;return -1!==i&&-1!==s&&i>s&&t.raise("Range out of order in character class"),!0}t.pos=e}return!1},tA.regexp_eatClassSetOperand=function(t){return this.regexp_eatClassSetCharacter(t)?1:this.regexp_eatClassStringDisjunction(t)||this.regexp_eatNestedClass(t)},tA.regexp_eatNestedClass=function(t){var e=t.pos;if(t.eat(91)){var i=t.eat(94),s=this.regexp_classContents(t);if(t.eat(93))return i&&2===s&&t.raise("Negated character class may contain strings"),s;t.pos=e}if(t.eat(92)){var r=this.regexp_eatCharacterClassEscape(t);if(r)return r;t.pos=e}return null},tA.regexp_eatClassStringDisjunction=function(t){var e=t.pos;if(t.eatChars([92,113])){if(t.eat(123)){var i=this.regexp_classStringDisjunctionContents(t);if(t.eat(125))return i}else t.raise("Invalid escape");t.pos=e}return null},tA.regexp_classStringDisjunctionContents=function(t){for(var e=this.regexp_classString(t);t.eat(124);)2===this.regexp_classString(t)&&(e=2);return e},tA.regexp_classString=function(t){for(var e=0;this.regexp_eatClassSetCharacter(t);)e++;return 1===e?1:2},tA.regexp_eatClassSetCharacter=function(t){var e=t.pos;if(t.eat(92))return!!(this.regexp_eatCharacterEscape(t)||this.regexp_eatClassSetReservedPunctuator(t))||(t.eat(98)?(t.lastIntValue=8,!0):(t.pos=e,!1));var i=t.current();return!(i<0||i===t.lookahead()&&function(t){return 33===t||t>=35&&t<=38||t>=42&&t<=44||46===t||t>=58&&t<=64||94===t||96===t||126===t}(i)||function(t){return 40===t||41===t||45===t||47===t||t>=91&&t<=93||t>=123&&t<=125}(i))&&(t.advance(),t.lastIntValue=i,!0)};tA.regexp_eatClassSetReservedPunctuator=function(t){var e=t.current();return!!function(t){return 33===t||35===t||37===t||38===t||44===t||45===t||t>=58&&t<=62||64===t||96===t||126===t}(e)&&(t.lastIntValue=e,t.advance(),!0)};function tV(t){return t>=48&&t<=57}function tR(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function tO(t){return t>=65&&t<=70?10+(t-65):t>=97&&t<=102?10+(t-97):t-48}function tZ(t){return t>=48&&t<=55}tA.regexp_eatClassControlLetter=function(t){var e=t.current();return(!!tV(e)||95===e)&&(t.lastIntValue=e%32,t.advance(),!0)},tA.regexp_eatHexEscapeSequence=function(t){var e=t.pos;if(t.eat(120)){if(this.regexp_eatFixedHexDigits(t,2))return!0;t.switchU&&t.raise("Invalid escape"),t.pos=e}return!1},tA.regexp_eatDecimalDigits=function(t){var e=t.pos,i=0;for(t.lastIntValue=0;tV(i=t.current());)t.lastIntValue=10*t.lastIntValue+(i-48),t.advance();return t.pos!==e},tA.regexp_eatHexDigits=function(t){var e=t.pos,i=0;for(t.lastIntValue=0;tR(i=t.current());)t.lastIntValue=16*t.lastIntValue+tO(i),t.advance();return t.pos!==e},tA.regexp_eatLegacyOctalEscapeSequence=function(t){if(this.regexp_eatOctalDigit(t)){var e=t.lastIntValue;if(this.regexp_eatOctalDigit(t)){var i=t.lastIntValue;e<=3&&this.regexp_eatOctalDigit(t)?t.lastIntValue=64*e+8*i+t.lastIntValue:t.lastIntValue=8*e+i}else t.lastIntValue=e;return!0}return!1},tA.regexp_eatOctalDigit=function(t){var e=t.current();return tZ(e)?(t.lastIntValue=e-48,t.advance(),!0):(t.lastIntValue=0,!1)},tA.regexp_eatFixedHexDigits=function(t,e){var i=t.pos;t.lastIntValue=0;for(var s=0;s<e;++s){var r=t.current();if(!tR(r))return t.pos=i,!1;t.lastIntValue=16*t.lastIntValue+tO(r),t.advance()}return!0};var tD=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Z(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},tB=j.prototype;tB.next=function(t){!t&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new tD(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},tB.getToken=function(){return this.next(),new tD(this)},"undefined"!=typeof Symbol&&(tB[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===y.eof,value:e}}}}),tB.nextToken=function(){var t=this.curContext();return((!t||!t.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)?this.finishToken(y.eof):t.override?t.override(this):void this.readToken(this.fullCharCodeAtPos())},tB.readToken=function(t){return u(t,this.options.ecmaVersion>=6)||92===t?this.readWord():this.getTokenFromCode(t)},tB.fullCharCodeAtPos=function(){var t=this.input.charCodeAt(this.pos);if(t<=55295||t>=56320)return t;var e=this.input.charCodeAt(this.pos+1);return e<=56319||e>=57344?t:(t<<10)+e-56613888},tB.skipBlockComment=function(){var t=this.options.onComment&&this.curPosition(),e=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(-1===i&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(var s=void 0,r=e;(s=S(this.input,r,this.pos))>-1;)++this.curLine,r=this.lineStart=s;this.options.onComment&&this.options.onComment(!0,this.input.slice(e+2,i),e,this.pos,t,this.curPosition())},tB.skipLineComment=function(t){for(var e=this.pos,i=this.options.onComment&&this.curPosition(),s=this.input.charCodeAt(this.pos+=t);this.pos<this.input.length&&!k(s);)s=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(e+t,this.pos),e,this.pos,i,this.curPosition())},tB.skipSpace=function(){t:for(;this.pos<this.input.length;){var t=this.input.charCodeAt(this.pos);switch(t){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break t}break;default:if(t>8&&t<14||t>=5760&&C.test(String.fromCharCode(t)))++this.pos;else break t}}},tB.finishToken=function(t,e){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=t,this.value=e,this.updateContext(i)},tB.readToken_dot=function(){var t=this.input.charCodeAt(this.pos+1);if(t>=48&&t<=57)return this.readNumber(!0);var e=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===t&&46===e?(this.pos+=3,this.finishToken(y.ellipsis)):(++this.pos,this.finishToken(y.dot))},tB.readToken_slash=function(){var t=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===t?this.finishOp(y.assign,2):this.finishOp(y.slash,1)},tB.readToken_mult_modulo_exp=function(t){var e=this.input.charCodeAt(this.pos+1),i=1,s=42===t?y.star:y.modulo;return(this.options.ecmaVersion>=7&&42===t&&42===e&&(++i,s=y.starstar,e=this.input.charCodeAt(this.pos+2)),61===e)?this.finishOp(y.assign,i+1):this.finishOp(s,i)},tB.readToken_pipe_amp=function(t){var e=this.input.charCodeAt(this.pos+1);if(e===t)return this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(y.assign,3):this.finishOp(124===t?y.logicalOR:y.logicalAND,2);return 61===e?this.finishOp(y.assign,2):this.finishOp(124===t?y.bitwiseOR:y.bitwiseAND,1)},tB.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(y.assign,2):this.finishOp(y.bitwiseXOR,1)},tB.readToken_plus_min=function(t){var e=this.input.charCodeAt(this.pos+1);if(e===t)return 45===e&&!this.inModule&&62===this.input.charCodeAt(this.pos+2)&&(0===this.lastTokEnd||b.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(y.incDec,2);return 61===e?this.finishOp(y.assign,2):this.finishOp(y.plusMin,1)},tB.readToken_lt_gt=function(t){var e=this.input.charCodeAt(this.pos+1),i=1;if(e===t)return(i=62===t&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+i))?this.finishOp(y.assign,i+1):this.finishOp(y.bitShift,i);return 33!==e||60!==t||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===e&&(i=2),this.finishOp(y.relational,i)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},tB.readToken_eq_excl=function(t){var e=this.input.charCodeAt(this.pos+1);return 61===e?this.finishOp(y.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===t&&62===e&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(y.arrow)):this.finishOp(61===t?y.eq:y.prefix,1)},tB.readToken_question=function(){var t=this.options.ecmaVersion;if(t>=11){var e=this.input.charCodeAt(this.pos+1);if(46===e){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(y.questionDot,2)}if(63===e)return t>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(y.assign,3):this.finishOp(y.coalesce,2)}return this.finishOp(y.question,1)},tB.readToken_numberSign=function(){var t=this.options.ecmaVersion,e=35;if(t>=13&&(++this.pos,u(e=this.fullCharCodeAtPos(),!0)||92===e))return this.finishToken(y.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+V(e)+"'")},tB.getTokenFromCode=function(t){switch(t){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(y.parenL);case 41:return++this.pos,this.finishToken(y.parenR);case 59:return++this.pos,this.finishToken(y.semi);case 44:return++this.pos,this.finishToken(y.comma);case 91:return++this.pos,this.finishToken(y.bracketL);case 93:return++this.pos,this.finishToken(y.bracketR);case 123:return++this.pos,this.finishToken(y.braceL);case 125:return++this.pos,this.finishToken(y.braceR);case 58:return++this.pos,this.finishToken(y.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(y.backQuote);case 48:var e=this.input.charCodeAt(this.pos+1);if(120===e||88===e)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===e||79===e)return this.readRadixNumber(8);if(98===e||66===e)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(t);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(t);case 124:case 38:return this.readToken_pipe_amp(t);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(t);case 60:case 62:return this.readToken_lt_gt(t);case 61:case 33:return this.readToken_eq_excl(t);case 63:return this.readToken_question();case 126:return this.finishOp(y.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+V(t)+"'")},tB.finishOp=function(t,e){var i=this.input.slice(this.pos,this.pos+e);return this.pos+=e,this.finishToken(t,i)},tB.readRegexp=function(){for(var t,e,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var s=this.input.charAt(this.pos);if(b.test(s)&&this.raise(i,"Unterminated regular expression"),t)t=!1;else{if("["===s)e=!0;else if("]"===s&&e)e=!1;else if("/"===s&&!e)break;t="\\"===s}++this.pos}var r=this.input.slice(i,this.pos);++this.pos;var n=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(n);var o=this.regexpState||(this.regexpState=new tP(this));o.reset(i,r,a),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var h=null;try{h=new RegExp(r,a)}catch(t){}return this.finishToken(y.regexp,{pattern:r,flags:a,value:h})},tB.readInt=function(t,e,i){for(var s=this.options.ecmaVersion>=12&&void 0===e,r=i&&48===this.input.charCodeAt(this.pos),n=this.pos,a=0,o=0,h=0,c=null==e?1/0:e;h<c;++h,++this.pos){var p=this.input.charCodeAt(this.pos),u=void 0;if(s&&95===p){r&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===o&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===h&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),o=p;continue}if((u=p>=97?p-97+10:p>=65?p-65+10:p>=48&&p<=57?p-48:1/0)>=t)break;o=p,a=a*t+u}return(s&&95===o&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===n||null!=e&&this.pos-n!==e)?null:a};function tM(t){return"function"!=typeof BigInt?null:BigInt(t.replace(/_/g,""))}tB.readRadixNumber=function(t){var e=this.pos;this.pos+=2;var i=this.readInt(t);return null==i&&this.raise(this.start+2,"Expected number in radix "+t),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(i=tM(this.input.slice(e,this.pos)),++this.pos):u(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,i)},tB.readNumber=function(t){var e,i=this.pos;!t&&null===this.readInt(10,void 0,!0)&&this.raise(i,"Invalid number");var s=this.pos-i>=2&&48===this.input.charCodeAt(i);s&&this.strict&&this.raise(i,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!s&&!t&&this.options.ecmaVersion>=11&&110===r){var n=tM(this.input.slice(i,this.pos));return++this.pos,u(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,n)}s&&/[89]/.test(this.input.slice(i,this.pos))&&(s=!1),46===r&&!s&&(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),(69===r||101===r)&&!s&&((43===(r=this.input.charCodeAt(++this.pos))||45===r)&&++this.pos,null===this.readInt(10)&&this.raise(i,"Invalid number")),u(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=(e=this.input.slice(i,this.pos),s?parseInt(e,8):parseFloat(e.replace(/_/g,"")));return this.finishToken(y.num,a)},tB.readCodePoint=function(){var t;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var e=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(e,"Code point out of bounds")}else t=this.readHexChar(4);return t},tB.readString=function(t){for(var e="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var s=this.input.charCodeAt(this.pos);if(s===t)break;92===s?(e+=this.input.slice(i,this.pos)+this.readEscapedChar(!1),i=this.pos):8232===s||8233===s?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(k(s)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return e+=this.input.slice(i,this.pos++),this.finishToken(y.string,e)};var tF={};tB.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(t){if(t===tF)this.readInvalidTemplateToken();else throw t}this.inTemplateElement=!1},tB.invalidStringToken=function(t,e){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw tF;this.raise(t,e)},tB.readTmplToken=function(){for(var t="",e=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(96===i||36===i&&123===this.input.charCodeAt(this.pos+1)){if(this.pos===this.start&&(this.type===y.template||this.type===y.invalidTemplate)){if(36===i)return this.pos+=2,this.finishToken(y.dollarBraceL);return++this.pos,this.finishToken(y.backQuote)}return t+=this.input.slice(e,this.pos),this.finishToken(y.template,t)}if(92===i)t+=this.input.slice(e,this.pos)+this.readEscapedChar(!0),e=this.pos;else if(k(i)){switch(t+=this.input.slice(e,this.pos),++this.pos,i){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:t+="\n";break;default:t+=String.fromCharCode(i)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),e=this.pos}else++this.pos}},tB.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(y.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":"\n"===this.input[this.pos+1]&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},tB.readEscapedChar=function(t){var e=this.input.charCodeAt(++this.pos);switch(++this.pos,e){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return V(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),t){var i=this.pos-1;this.invalidStringToken(i,"Invalid escape sequence in template string")}default:if(e>=48&&e<=55){var s=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(s,8);return r>255&&(r=parseInt(s=s.slice(0,-1),8)),this.pos+=s.length-1,e=this.input.charCodeAt(this.pos),("0"!==s||56===e||57===e)&&(this.strict||t)&&this.invalidStringToken(this.pos-1-s.length,t?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}if(k(e))return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";return String.fromCharCode(e)}},tB.readHexChar=function(t){var e=this.pos,i=this.readInt(16,t);return null===i&&this.invalidStringToken(e,"Bad character escape sequence"),i},tB.readWord1=function(){this.containsEsc=!1;for(var t="",e=!0,i=this.pos,s=this.options.ecmaVersion>=6;this.pos<this.input.length;){var r=this.fullCharCodeAtPos();if(l(r,s))this.pos+=r<=65535?1:2;else if(92===r){this.containsEsc=!0,t+=this.input.slice(i,this.pos);var n=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var a=this.readCodePoint();!(e?u:l)(a,s)&&this.invalidStringToken(n,"Invalid Unicode escape"),t+=V(a),i=this.pos}else break;e=!1}return t+this.input.slice(i,this.pos)},tB.readWord=function(){var t=this.readWord1(),e=y.name;return this.keywords.test(t)&&(e=x[t]),this.finishToken(e,t)};var tU="8.12.1";j.acorn={Parser:j,version:tU,defaultOptions:B,Position:O,SourceLocation:Z,getLineInfo:D,Node:tc,TokenType:d,tokTypes:y,keywordTypes:x,TokContext:te,tokContexts:ti,isIdentifierChar:l,isIdentifierStart:u,Token:tD,isNewLine:k,lineBreak:b,lineBreakG:_,nonASCIIwhitespace:C};t.Node=tc,t.Parser=j,t.Position=O,t.SourceLocation=Z,t.TokContext=te,t.Token=tD,t.TokenType=d,t.defaultOptions=B,t.getLineInfo=D,t.isIdentifierChar=l,t.isIdentifierStart=u,t.isNewLine=k,t.keywordTypes=x,t.lineBreak=b,t.lineBreakG=_,t.nonASCIIwhitespace=C,t.parse=function(t,e){return j.parse(t,e)},t.parseExpressionAt=function(t,e,i){return j.parseExpressionAt(t,e,i)},t.tokContexts=ti,t.tokTypes=y,t.tokenizer=function(t,e){return j.tokenizer(t,e)},t.version=tU}(e)},72128:function(t,e,i){"use strict";let s;var r,n=i(21232),a=i(91267),o=i(43739),h=i(47096),c=i(95848),p=i(88168),u=i(67855),l=i(24752),d=i(6850);let f="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,m=f&&"function"==typeof ReadableStream;let g=f&&("function"==typeof TextEncoder?(s=new TextEncoder,t=>s.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer())),x=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},v=m&&x(()=>{let t=!1,e=new Request(n.Z.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),y=m&&x(()=>a.Z.isReadableStream(new Response("").body)),b={stream:y&&(t=>t.body)};f&&(r=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(t=>{b[t]||(b[t]=a.Z.isFunction(r[t])?e=>e[t]():(e,i)=>{throw new o.Z(`Response type '${t}' is not supported`,o.Z.ERR_NOT_SUPPORT,i)})}));let _=async t=>null==t?0:a.Z.isBlob(t)?t.size:a.Z.isSpecCompliantForm(t)?(await new Request(t).arrayBuffer()).byteLength:a.Z.isArrayBufferView(t)||a.Z.isArrayBuffer(t)?t.byteLength:(a.Z.isURLSearchParams(t)&&(t+=""),a.Z.isString(t))?(await g(t)).byteLength:void 0,k=async(t,e)=>{let i=a.Z.toFiniteNumber(t.getContentLength());return null==i?_(e):i};e.Z=f&&(async t=>{let e,i,s,{url:r,method:n,data:f,signal:m,cancelToken:x,timeout:_,onDownloadProgress:S,onUploadProgress:C,responseType:w,headers:E,withCredentials:A="same-origin",fetchOptions:I}=(0,l.Z)(t);w=w?(w+"").toLowerCase():"text";let[P,N]=m||x||_?(0,h.Z)([m,x],_):[],T=()=>{e||setTimeout(()=>{P&&P.unsubscribe()}),e=!0};try{if(C&&v&&"get"!==n&&"head"!==n&&0!==(s=await k(E,f))){let t,e=new Request(r,{method:"POST",body:f,duplex:"half"});if(a.Z.isFormData(f)&&(t=e.headers.get("content-type"))&&E.setContentType(t),e.body){let[t,i]=(0,u.sg)(s,(0,u.Iz)((0,u.Mj)(C)));f=(0,c.A6)(e.body,65536,t,i,g)}}!a.Z.isString(A)&&(A=A?"include":"omit"),i=new Request(r,{...I,signal:P,method:n.toUpperCase(),headers:E.normalize().toJSON(),body:f,duplex:"half",credentials:A});let e=await fetch(i),o=y&&("stream"===w||"response"===w);if(y&&(S||o)){let t={};["status","statusText","headers"].forEach(i=>{t[i]=e[i]});let i=a.Z.toFiniteNumber(e.headers.get("content-length")),[s,r]=S&&(0,u.sg)(i,(0,u.Iz)((0,u.Mj)(S),!0))||[];e=new Response((0,c.A6)(e.body,65536,s,()=>{r&&r(),o&&T()},g),t)}w=w||"text";let h=await b[a.Z.findKey(b,w)||"text"](e,t);return o||T(),N&&N(),await new Promise((s,r)=>{(0,d.Z)(s,r,{data:h,headers:p.Z.from(e.headers),status:e.status,statusText:e.statusText,config:t,request:i})})}catch(e){if(T(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new o.Z("Network Error",o.Z.ERR_NETWORK,t,i),{cause:e.cause||e});throw o.Z.from(e,e&&e.code,t,i)}})},92219:function(t,e,i){"use strict";var s=i(91267);e.Z=class t{constructor(){this.handlers=[]}use(t,e,i){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!i&&i.synchronous,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){s.Z.forEach(this.handlers,function(e){null!==e&&t(e)})}}},82074:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});var s=i(28391),r=i(80217);function n(t,e){return t&&!(0,s.Z)(e)?(0,r.Z)(t,e):e}},71941:function(t,e,i){"use strict";let s={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(s).forEach(([t,e])=>{s[e]=t}),e.Z=s},90720:function(t,e,i){"use strict";function s(t,e){return function(){return t.apply(e,arguments)}}i.d(e,{Z:function(){return s}})},91873:function(t,e,i){"use strict";var s=i(91267),r=i(21232);e.Z=r.Z.hasStandardBrowserEnv?{write(t,e,i,r,n,a){let o=[t+"="+encodeURIComponent(e)];s.Z.isNumber(i)&&o.push("expires="+new Date(i).toGMTString()),s.Z.isString(r)&&o.push("path="+r),s.Z.isString(n)&&o.push("domain="+n),!0===a&&o.push("secure"),document.cookie=o.join("; ")},read(t){let e=document.cookie.match(RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}}},25746:function(t,e){"use strict";e.Z=null},85101:function(t,e,i){"use strict";function s(t){return function(e){return t.apply(null,e)}}i.d(e,{Z:function(){return s}})},49771:function(t,e,i){"use strict";var s=i(32515),r=i(43739);let n={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{n[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}});let a={};n.transitional=function(t,e,i){function n(t,e){return"[Axios v"+s.q+"] Transitional option '"+t+"'"+e+(i?". "+i:"")}return(i,s,o)=>{if(!1===t)throw new r.Z(n(s," has been removed"+(e?" in "+e:"")),r.Z.ERR_DEPRECATED);return e&&!a[s]&&(a[s]=!0,console.warn(n(s," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(i,s,o)}};e.Z={assertOptions:function(t,e,i){if("object"!=typeof t)throw new r.Z("options must be an object",r.Z.ERR_BAD_OPTION_VALUE);let s=Object.keys(t),n=s.length;for(;n-- >0;){let a=s[n],o=e[a];if(o){let e=t[a],i=void 0===e||o(e,a,t);if(!0!==i)throw new r.Z("option "+a+" must be "+i,r.Z.ERR_BAD_OPTION_VALUE);continue}if(!0!==i)throw new r.Z("Unknown option "+a,r.Z.ERR_BAD_OPTION)}},validators:n}},89018:function(t,e,i){"use strict";e.Z="undefined"!=typeof Blob?Blob:null},12952:function(t,e,i){"use strict";e.Z="undefined"!=typeof FormData?FormData:null},14537:function(t,e,i){"use strict";var s=i(34507);e.Z="undefined"!=typeof URLSearchParams?URLSearchParams:s.Z},6198:function(t,e,i){"use strict";var s=i(71697),r=i(78723),n=i(5494),a=i(29350),o=i(45554);function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var s=t[e];this.set(s[0],s[1])}}h.prototype.clear=s.Z,h.prototype.delete=r.Z,h.prototype.get=n.Z,h.prototype.has=a.Z,h.prototype.set=o.Z,e.Z=h},68238:function(t,e,i){"use strict";var s=i(24665),r=i(25676),n=(0,s.Z)(r.Z,"Set");e.Z=n},79972:function(t,e,i){"use strict";var s=i(6198),r=i(78929),n=i(93345),a=i(7019),o=i(12276),h=i(30988);function c(t){var e=this.__data__=new s.Z(t);this.size=e.size}c.prototype.clear=r.Z,c.prototype.delete=n.Z,c.prototype.get=a.Z,c.prototype.has=o.Z,c.prototype.set=h.Z,e.Z=c},38472:function(t,e,i){"use strict";var s=(0,i(94351).Z)();e.Z=s},82884:function(t,e,i){"use strict";var s=i(26894),r=i(92374),n=i(12050),a=s.Z?s.Z.toStringTag:void 0;e.Z=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?(0,r.Z)(t):(0,n.Z)(t)}},2746:function(t,e,i){"use strict";var s=i(41817),r=i(26e3),n=Object.prototype.hasOwnProperty;e.Z=function(t){if(!(0,s.Z)(t))return(0,r.Z)(t);var e=[];for(var i in Object(t))n.call(t,i)&&"constructor"!=i&&e.push(i);return e}},13175:function(t,e,i){"use strict";var s=i(54054),r=i(41817),n=i(17515),a=Object.prototype.hasOwnProperty;e.Z=function(t){if(!(0,s.Z)(t))return(0,n.Z)(t);var e=(0,r.Z)(t),i=[];for(var o in t)!("constructor"==o&&(e||!a.call(t,o)))&&i.push(o);return i}},60864:function(t,e,i){"use strict";var s=i(62773),r=i(56048),n=i(68151),a=i(9643),o=i(82920),h=i(53339),c=i(91117),p=i(25903),u=i(40521);e.Z=function(t,e,i){e=e.length?(0,s.Z)(e,function(t){return(0,u.Z)(t)?function(e){return(0,r.Z)(e,1===t.length?t[0]:t)}:t}):[p.Z];var l=-1;e=(0,s.Z)(e,(0,h.Z)(n.Z));var d=(0,a.Z)(t,function(t,i,r){return{criteria:(0,s.Z)(e,function(e){return e(t)}),index:++l,value:t}});return(0,o.Z)(d,function(t,e){return(0,c.Z)(t,e,i)})}},25639:function(t,e,i){"use strict";var s=i(49593),r=i(48201),n=i(25903),a=r.Z?function(t,e){return(0,r.Z)(t,"toString",{configurable:!0,enumerable:!1,value:(0,s.Z)(e),writable:!0})}:n.Z;e.Z=a},64567:function(t,e,i){"use strict";e.Z=function(t,e){return t.has(e)}},2519:function(t,e,i){"use strict";var s=i(25676).Z["__core-js_shared__"];e.Z=s},63906:function(t,e,i){"use strict";var s=i(68151),r=i(80174),n=i(49647);e.Z=function(t){return function(e,i,a){var o=Object(e);if(!(0,r.Z)(e)){var h=(0,s.Z)(i,3);e=(0,n.Z)(e),i=function(t){return h(o[t],t,o)}}var c=t(e,i,a);return c>-1?o[h?e[c]:c]:void 0}}},74619:function(t,e,i){"use strict";var s=i(9582),r=Object.prototype.hasOwnProperty;e.Z=function(t,e,i,n,a,o){var h=1&i,c=(0,s.Z)(t),p=c.length;if(p!=(0,s.Z)(e).length&&!h)return!1;for(var u=p;u--;){var l=c[u];if(!(h?l in e:r.call(e,l)))return!1}var d=o.get(t),f=o.get(e);if(d&&f)return d==e&&f==t;var m=!0;o.set(t,e),o.set(e,t);for(var g=h;++u<p;){var x=t[l=c[u]],v=e[l];if(n)var y=h?n(v,x,l,e,t,o):n(x,v,l,t,e,o);if(!(void 0===y?x===v||a(x,v,i,n,o):y)){m=!1;break}g||(g="constructor"==l)}if(m&&!g){var b=t.constructor,_=e.constructor;b!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _)&&(m=!1)}return o.delete(t),o.delete(e),m}},49354:function(t,e,i){"use strict";var s=i(51445),r=i(64712),n=i(31284);e.Z=function(t){return(0,n.Z)((0,r.Z)(t,void 0,s.Z),t+"")}},72268:function(t,e,i){"use strict";var s="object"==typeof global&&global&&global.Object===Object&&global;e.Z=s},62450:function(t,e,i){"use strict";var s=i(97674),r=i(98133),n=i(85593),a=i(68238),o=i(19847),h=i(82884),c=i(73117),p="[object Map]",u="[object Promise]",l="[object Set]",d="[object WeakMap]",f="[object DataView]",m=(0,c.Z)(s.Z),g=(0,c.Z)(r.Z),x=(0,c.Z)(n.Z),v=(0,c.Z)(a.Z),y=(0,c.Z)(o.Z),b=h.Z;(s.Z&&b(new s.Z(new ArrayBuffer(1)))!=f||r.Z&&b(new r.Z)!=p||n.Z&&b(n.Z.resolve())!=u||a.Z&&b(new a.Z)!=l||o.Z&&b(new o.Z)!=d)&&(b=function(t){var e=(0,h.Z)(t),i="[object Object]"==e?t.constructor:void 0,s=i?(0,c.Z)(i):"";if(s)switch(s){case m:return f;case g:return p;case x:return u;case v:return l;case y:return d}return e}),e.Z=b},22873:function(t,e,i){"use strict";var s=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.Z=function(t){return s.test(t)}},2827:function(t,e,i){"use strict";var s=i(79315);e.Z=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=s.Z&&void 0===e?"__lodash_hash_undefined__":e,this}},82332:function(t,e,i){"use strict";var s=i(26894),r=i(69102),n=i(40521),a=s.Z?s.Z.isConcatSpreadable:void 0;e.Z=function(t){return(0,n.Z)(t)||(0,r.Z)(t)||!!(a&&t&&t[a])}},26389:function(t,e,i){"use strict";var s=/^(?:0|[1-9]\d*)$/;e.Z=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&s.test(t))&&t>-1&&t%1==0&&t<e}},71697:function(t,e,i){"use strict";e.Z=function(){this.__data__=[],this.size=0}},28475:function(t,e,i){"use strict";var s=i(93309);e.Z=function(t){return(0,s.Z)(this,t).has(t)}},67601:function(t,e,i){"use strict";var s=i(93309);e.Z=function(t,e){var i=(0,s.Z)(this,t),r=i.size;return i.set(t,e),this.size+=i.size==r?0:1,this}},50030:function(t,e,i){"use strict";e.Z=function(t,e){return function(i){return null!=i&&i[t]===e&&(void 0!==e||t in Object(i))}}},26e3:function(t,e,i){"use strict";var s=(0,i(15683).Z)(Object.keys,Object);e.Z=s},64712:function(t,e,i){"use strict";var s=i(26896),r=Math.max;e.Z=function(t,e,i){return e=r(void 0===e?t.length-1:e,0),function(){for(var n=arguments,a=-1,o=r(n.length-e,0),h=Array(o);++a<o;)h[a]=n[e+a];a=-1;for(var c=Array(e+1);++a<e;)c[a]=n[a];return c[e]=i(h),(0,s.Z)(t,this,c)}}},36661:function(t,e,i){"use strict";var s=Date.now;e.Z=function(t){var e=0,i=0;return function(){var r=s(),n=16-(r-i);if(i=r,n>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},78929:function(t,e,i){"use strict";var s=i(6198);e.Z=function(){this.__data__=new s.Z,this.size=0}},80728:function(t,e,i){"use strict";var s=i(94484),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,a=(0,s.Z)(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(r,function(t,i,s,r){e.push(s?r.replace(n,"$1"):i||t)}),e});e.Z=a},10479:function(t,e,i){"use strict";var s="\ud800-\udfff",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\ud83c[\udffb-\udfff]",a="[^"+s+"]",o="(?:\ud83c[\udde6-\uddff]){2}",h="[\ud800-\udbff][\udc00-\udfff]",c="(?:"+r+"|"+n+")?",p="[\\ufe0e\\ufe0f]?",u="(?:\\u200d(?:"+[a,o,h].join("|")+")"+p+c+")*",l=RegExp(n+"(?="+n+")|"+("(?:"+[a+r+"?",r,o,h,"["+s+"]"].join("|")+")")+(p+c+u),"g");e.Z=function(t){return t.match(l)||[]}},49593:function(t,e,i){"use strict";e.Z=function(t){return function(){return t}}},52136:function(t,e,i){"use strict";var s=i(21535),r=i(84457),n=i(68151),a=i(40521);e.Z=function(t,e){return((0,a.Z)(t)?s.Z:r.Z)(t,(0,n.Z)(e,3))}},51445:function(t,e,i){"use strict";var s=i(393);e.Z=function(t){return(null==t?0:t.length)?(0,s.Z)(t,1):[]}},12815:function(t,e,i){"use strict";var s=i(40026),r=i(53339),n=i(3958),a=n.Z&&n.Z.isTypedArray,o=a?(0,r.Z)(a):s.Z;e.Z=o},24837:function(t,e,i){"use strict";var s=i(5888),r=i(88763),n=i(68151);e.Z=function(t,e){return t&&t.length?(0,s.Z)(t,(0,n.Z)(e,2),r.Z):void 0}},45002:function(t,e,i){"use strict";var s=i(62773),r=i(68151),n=i(37394),a=i(78053);e.Z=function(t,e){if(null==t)return{};var i=(0,s.Z)((0,a.Z)(t),function(t){return[t]});return e=(0,r.Z)(e),(0,n.Z)(t,i,function(t,i){return e(t,i[0])})}},95702:function(t,e,i){"use strict";e.Z=function(){return[]}},61550:function(t,e,i){"use strict";var s=i(17943),r=i(49647);e.Z=function(t){return null==t?[]:(0,s.Z)(t,(0,r.Z)(t))}},89165:function(t,e,i){"use strict";i.d(e,{s:function(){return o}});var s=i(11559),r=i(51278),n=i(66403);let a=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class o extends n.Q{constructor(t,e,i){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=e,i&&i.auth&&(this.auth=i.auth),this._opts=Object.assign({},i),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;let t=this.io;this.subs=[(0,r.on)(t,"open",this.onopen.bind(this)),(0,r.on)(t,"packet",this.onpacket.bind(this)),(0,r.on)(t,"error",this.onerror.bind(this)),(0,r.on)(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),!this.io._reconnecting&&this.io.open(),"open"===this.io._readyState&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...e){if(a.hasOwnProperty(t))throw Error('"'+t.toString()+'" is a reserved event name');if(e.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(e),this;let i={type:s.PacketType.EVENT,data:e};if(i.options={},i.options.compress=!1!==this.flags.compress,"function"==typeof e[e.length-1]){let t=this.ids++,s=e.pop();this._registerAckCallback(t,s),i.id=t}let r=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!r||!this.connected)||(this.connected?(this.notifyOutgoingListeners(i),this.packet(i)):this.sendBuffer.push(i)),this.flags={},this}_registerAckCallback(t,e){var i;let s=null!==(i=this.flags.timeout)&&void 0!==i?i:this._opts.ackTimeout;if(void 0===s){this.acks[t]=e;return}let r=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let e=0;e<this.sendBuffer.length;e++)this.sendBuffer[e].id===t&&this.sendBuffer.splice(e,1);e.call(this,Error("operation has timed out"))},s);this.acks[t]=(...t)=>{this.io.clearTimeoutFn(r),e.apply(this,[null,...t])}}emitWithAck(t,...e){let i=void 0!==this.flags.timeout||void 0!==this._opts.ackTimeout;return new Promise((s,r)=>{e.push((t,e)=>i?t?r(t):s(e):s(t)),this.emit(t,...e)})}_addToQueue(t){let e;"function"==typeof t[t.length-1]&&(e=t.pop());let i={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((t,...s)=>{if(i===this._queue[0])return null!==t?i.tryCount>this._opts.retries&&(this._queue.shift(),e&&e(t)):(this._queue.shift(),e&&e(null,...s)),i.pending=!1,this._drainQueue()}),this._queue.push(i),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||0===this._queue.length)return;let e=this._queue[0];if(!e.pending||!!t)e.pending=!0,e.tryCount++,this.flags=e.flags,this.emit.apply(this,e.args)}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){"function"==typeof this.auth?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:s.PacketType.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){!this.connected&&this.emitReserved("connect_error",t)}onclose(t,e){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,e)}onpacket(t){if(!(t.nsp!==this.nsp))switch(t.type){case s.PacketType.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case s.PacketType.EVENT:case s.PacketType.BINARY_EVENT:this.onevent(t);break;case s.PacketType.ACK:case s.PacketType.BINARY_ACK:this.onack(t);break;case s.PacketType.DISCONNECT:this.ondisconnect();break;case s.PacketType.CONNECT_ERROR:this.destroy();let e=Error(t.data.message);e.data=t.data.data,this.emitReserved("connect_error",e)}}onevent(t){let e=t.data||[];null!=t.id&&e.push(this.ack(t.id)),this.connected?this.emitEvent(e):this.receiveBuffer.push(Object.freeze(e))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length)for(let e of this._anyListeners.slice())e.apply(this,t);super.emit.apply(this,t),this._pid&&t.length&&"string"==typeof t[t.length-1]&&(this._lastOffset=t[t.length-1])}ack(t){let e=this,i=!1;return function(...r){!i&&(i=!0,e.packet({type:s.PacketType.ACK,id:t,data:r}))}}onack(t){let e=this.acks[t.id];"function"==typeof e&&(e.apply(this,t.data),delete this.acks[t.id])}onconnect(t,e){this.id=t,this.recovered=e&&this._pid===e,this._pid=e,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:s.PacketType.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){let e=this._anyListeners;for(let i=0;i<e.length;i++)if(t===e[i]){e.splice(i,1);break}}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){let e=this._anyOutgoingListeners;for(let i=0;i<e.length;i++)if(t===e[i]){e.splice(i,1);break}}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length)for(let e of this._anyOutgoingListeners.slice())e.apply(this,t.data)}}},19643:function(t,e,i){"use strict";i.d(e,{n:function(){return r},v:function(){return n}});var s=i(67023);function r(t){let e=[],i=t.data;return t.data=function t(e,i){if(!e)return e;if((0,s.h)(e)){let t={_placeholder:!0,num:i.length};return i.push(e),t}if(Array.isArray(e)){let s=Array(e.length);for(let r=0;r<e.length;r++)s[r]=t(e[r],i);return s}if("object"==typeof e&&!(e instanceof Date)){let s={};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(s[r]=t(e[r],i));return s}return e}(i,e),t.attachments=e.length,{packet:t,buffers:e}}function n(t,e){return t.data=function t(e,i){if(!e)return e;if(e&&!0===e._placeholder){if("number"==typeof e.num&&e.num>=0&&e.num<i.length)return i[e.num];throw Error("illegal attachments")}if(Array.isArray(e))for(let s=0;s<e.length;s++)e[s]=t(e[s],i);else if("object"==typeof e)for(let s in e)Object.prototype.hasOwnProperty.call(e,s)&&(e[s]=t(e[s],i));return e}(t.data,e),delete t.attachments,t}}}]);