@next-bricks/ai-portal 0.50.1 → 0.50.3
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.
- package/dist/bricks.json +41 -41
- package/dist/chunks/1334.aae33a33.js +2 -0
- package/dist/chunks/1334.aae33a33.js.map +1 -0
- package/dist/chunks/2142.c02a98d9.js +2 -0
- package/dist/chunks/{2142.44c752fe.js.map → 2142.c02a98d9.js.map} +1 -1
- package/dist/chunks/3199.0220cf6e.js +3 -0
- package/dist/chunks/3199.0220cf6e.js.map +1 -0
- package/dist/chunks/3735.8c1d82e7.js +15 -0
- package/dist/chunks/3735.8c1d82e7.js.LICENSE.txt +5 -0
- package/dist/chunks/3735.8c1d82e7.js.map +1 -0
- package/dist/chunks/4317.d0f5904b.js +3 -0
- package/dist/chunks/{3151.d1fdecfb.js.LICENSE.txt → 4317.d0f5904b.js.LICENSE.txt} +8 -0
- package/dist/chunks/4317.d0f5904b.js.map +1 -0
- package/dist/chunks/6201.993201cb.js +2 -0
- package/dist/chunks/6201.993201cb.js.map +1 -0
- package/dist/chunks/6593.f25cfd6b.js +2 -0
- package/dist/chunks/6593.f25cfd6b.js.map +1 -0
- package/dist/chunks/8135.3255c5ba.js +2 -0
- package/dist/chunks/8135.3255c5ba.js.map +1 -0
- package/dist/chunks/8717.feabd75d.js +2 -0
- package/dist/chunks/8717.feabd75d.js.map +1 -0
- package/dist/chunks/8889.bcfc6cab.js +3 -0
- package/dist/chunks/8889.bcfc6cab.js.map +1 -0
- package/dist/chunks/{ai-employees.941aaa1b.js → ai-employees.b8e937d4.js} +3 -3
- package/dist/chunks/{ai-employees.941aaa1b.js.map → ai-employees.b8e937d4.js.map} +1 -1
- package/dist/chunks/elevo-sidebar.e53ce03a.js +3 -0
- package/dist/chunks/elevo-sidebar.e53ce03a.js.map +1 -0
- package/dist/chunks/{main.a75af455.js → main.c5d23a2b.js} +2 -2
- package/dist/chunks/{main.a75af455.js.map → main.c5d23a2b.js.map} +1 -1
- package/dist/chunks/page-container.bfb9337e.js +2 -0
- package/dist/chunks/page-container.bfb9337e.js.map +1 -0
- package/dist/chunks/preview-container.6b29ee97.js +2 -0
- package/dist/chunks/preview-container.6b29ee97.js.map +1 -0
- package/dist/chunks/show-case.be5d82fd.js +2 -0
- package/dist/chunks/show-case.be5d82fd.js.map +1 -0
- package/dist/examples.json +15 -15
- package/dist/index.e0156b47.js +2 -0
- package/dist/index.e0156b47.js.map +1 -0
- package/dist/manifest.json +307 -307
- package/dist/types.json +322 -313
- package/dist-types/elevo-sidebar/bricks.d.ts +3 -1
- package/dist-types/elevo-sidebar/index.d.ts +0 -2
- package/dist-types/page-container/index.d.ts +2 -0
- package/dist-types/shared/interfaces.d.ts +2 -2
- package/dist-types/shared/workers/tsxParser.d.ts +2 -2
- package/package.json +2 -2
- package/dist/chunks/2142.44c752fe.js +0 -2
- package/dist/chunks/3151.d1fdecfb.js +0 -3
- package/dist/chunks/3151.d1fdecfb.js.map +0 -1
- package/dist/chunks/3735.0389cba2.js +0 -15
- package/dist/chunks/3735.0389cba2.js.map +0 -1
- package/dist/chunks/3832.9b48b5f5.js +0 -2
- package/dist/chunks/3832.9b48b5f5.js.map +0 -1
- package/dist/chunks/6201.01557568.js +0 -2
- package/dist/chunks/6201.01557568.js.map +0 -1
- package/dist/chunks/7580.5dca4f97.js +0 -3
- package/dist/chunks/7580.5dca4f97.js.LICENSE.txt +0 -9
- package/dist/chunks/7580.5dca4f97.js.map +0 -1
- package/dist/chunks/8414.8b8390cb.js +0 -2
- package/dist/chunks/8414.8b8390cb.js.map +0 -1
- package/dist/chunks/8717.4f49d4f6.js +0 -2
- package/dist/chunks/8717.4f49d4f6.js.map +0 -1
- package/dist/chunks/8889.0e3616d2.js +0 -3
- package/dist/chunks/8889.0e3616d2.js.map +0 -1
- package/dist/chunks/elevo-sidebar.d95cf869.js +0 -3
- package/dist/chunks/elevo-sidebar.d95cf869.js.map +0 -1
- package/dist/chunks/page-container.e187d00a.js +0 -2
- package/dist/chunks/page-container.e187d00a.js.map +0 -1
- package/dist/chunks/preview-container.631389f7.js +0 -2
- package/dist/chunks/preview-container.631389f7.js.map +0 -1
- package/dist/chunks/show-case.22cdff4b.js +0 -2
- package/dist/chunks/show-case.22cdff4b.js.map +0 -1
- package/dist/index.a8d6d207.js +0 -2
- package/dist/index.a8d6d207.js.map +0 -1
- /package/dist/chunks/{3735.0389cba2.js.LICENSE.txt → 3199.0220cf6e.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{8889.0e3616d2.js.LICENSE.txt → 8889.bcfc6cab.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{ai-employees.941aaa1b.js.LICENSE.txt → ai-employees.b8e937d4.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{elevo-sidebar.d95cf869.js.LICENSE.txt → elevo-sidebar.e53ce03a.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*! For license information please see 3735.8c1d82e7.js.LICENSE.txt */
|
|
2
|
+
(globalThis.webpackChunk_next_bricks_ai_portal=globalThis.webpackChunk_next_bricks_ai_portal||[]).push([[3735],{2235:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.generate=o;var s=n(9305),i=n(82475);function r(e,t,n){if(t.experimental_preserveFormat){if("string"!=typeof e)throw new Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!t.retainLines)throw new Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(t.compact&&"auto"!==t.compact)throw new Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(t.minified)throw new Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(t.jsescOption)throw new Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(n.tokens))throw new Error("`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.")}const s={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,preserveFormat:t.experimental_preserveFormat,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:null==t.comments||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},t.jsescOption),topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};var i;s.decoratorsBeforeExport=t.decoratorsBeforeExport,s.jsescOption.json=t.jsonCompatibleStrings,s.recordAndTupleSyntaxType=null!=(i=t.recordAndTupleSyntaxType)?i:"hash",s.minified?(s.compact=!0,s.shouldPrintComment=s.shouldPrintComment||(()=>s.comments)):s.shouldPrintComment=s.shouldPrintComment||(e=>s.comments||e.includes("@license")||e.includes("@preserve")),"auto"===s.compact&&(s.compact="string"==typeof e&&e.length>5e5,s.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${t.filename} as it exceeds the max of 500KB.`)),(s.compact||s.preserveFormat)&&(s.indent.adjustMultilineComment=!1);const{auxiliaryCommentBefore:r,auxiliaryCommentAfter:o,shouldPrintComment:a}=s;return r&&!a(r)&&(s.auxiliaryCommentBefore=void 0),o&&!a(o)&&(s.auxiliaryCommentAfter=void 0),s}function o(e,t={},n){const o=r(n,t,e),a=t.sourceMaps?new s.default(t,n):null;return new i.default(o,a,e.tokens,"string"==typeof n?n:null).generate(e)}t.CodeGenerator=class{constructor(e,t={},n){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=e,this._format=r(n,t,e),this._map=t.sourceMaps?new s.default(t,n):null}generate(){return new i.default(this._format,this._map).generate(this._ast)}},t.default=o},4131:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const{placeholderWhitelist:s,placeholderPattern:o,preserveComments:a,syntacticPlaceholders:l}=n,c=function(e,t,n){const s=(t.plugins||[]).slice();!1!==n&&s.push("placeholders"),t=Object.assign({allowAwaitOutsideFunction:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowYieldOutsideFunction:!0,sourceType:"module"},t,{plugins:s});try{return(0,i.parse)(e,t)}catch(t){const n=t.loc;throw n&&(t.message+="\n"+(0,r.codeFrameColumns)(e,{start:n}),t.code="BABEL_TEMPLATE_PARSE_ERROR"),t}}(t,n.parser,l);m(c,{preserveComments:a}),e.validate(c);const u={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:s,placeholderPattern:o,syntacticPlaceholders:l};return g(c,b,u),Object.assign({ast:c},u.syntactic.placeholders.length?u.syntactic:u.legacy)};var s=n(58135),i=n(40580),r=n(56611);const{isCallExpression:o,isExpressionStatement:a,isFunction:l,isIdentifier:c,isJSXIdentifier:u,isNewExpression:h,isPlaceholder:f,isStatement:p,isStringLiteral:d,removePropertiesDeep:m,traverse:g}=s,y=/^[_$A-Z0-9]+$/;function b(e,t,n){var s;let i,r=n.syntactic.placeholders.length>0;if(f(e)){if(!1===n.syntacticPlaceholders)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");i=e.name.name,r=!0}else{if(r||n.syntacticPlaceholders)return;if(c(e)||u(e))i=e.name;else{if(!d(e))return;i=e.value}}if(r&&(null!=n.placeholderPattern||null!=n.placeholderWhitelist))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!(r||!1!==n.placeholderPattern&&(n.placeholderPattern||y).test(i)||null!=(s=n.placeholderWhitelist)&&s.has(i)))return;t=t.slice();const{node:m,key:g}=t[t.length-1];let b;d(e)||f(e,{expectedNode:"StringLiteral"})?b="string":h(m)&&"arguments"===g||o(m)&&"arguments"===g||l(m)&&"params"===g?b="param":a(m)&&!f(e)?(b="statement",t=t.slice(0,-1)):b=p(e)&&f(e)?"statement":"other";const{placeholders:C,placeholderNames:v}=r?n.syntactic:n.legacy;C.push({name:i,type:b,resolve:e=>function(e,t){let n=e;for(let e=0;e<t.length-1;e++){const{key:s,index:i}=t[e];n=void 0===i?n[s]:n[s][i]}const{key:s,index:i}=t[t.length-1];return{parent:n,key:s,index:i}}(e,t),isDuplicate:v.has(i)}),v.add(i)}},6385:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=function(e){this.print(e.left),this.space(),"in"===e.operator||"instanceof"===e.operator?this.word(e.operator):(this.token(e.operator),this._endsWithDiv="/"===e.operator),this.space(),this.print(e.right)},t.AssignmentPattern=function(e){this.print(e.left),("Identifier"===e.left.type||c(e.left))&&(e.left.optional&&this.tokenChar(63),this.print(e.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(e.right)},t.AwaitExpression=function(e){this.word("await"),this.space(),this.print(e.argument)},t.BindExpression=function(e){this.print(e.object),this.token("::"),this.print(e.callee)},t.CallExpression=function(e){this.print(e.callee),this.print(e.typeArguments),this.print(e.typeParameters),this.tokenChar(40);const t=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),t(),this.rightParens(e)},t.ConditionalExpression=function(e){this.print(e.test),this.space(),this.tokenChar(63),this.space(),this.print(e.consequent),this.space(),this.tokenChar(58),this.space(),this.print(e.alternate)},t.Decorator=function(e){this.tokenChar(64),this.print(e.expression),this.newline()},t.DoExpression=function(e){e.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(e.body)},t.EmptyStatement=function(){this.semicolon(!0)},t.ExpressionStatement=function(e){this.tokenContext|=i.TokenContext.expressionStatement,this.print(e.expression),this.semicolon()},t.Import=function(){this.word("import")},t.MemberExpression=function(e){if(this.print(e.object),!e.computed&&a(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;if(o(e.property)&&"number"==typeof e.property.value&&(t=!0),t){const t=this.enterDelimited();this.tokenChar(91),this.print(e.property),this.tokenChar(93),t()}else this.tokenChar(46),this.print(e.property)},t.MetaProperty=function(e){this.print(e.meta),this.tokenChar(46),this.print(e.property)},t.ModuleExpression=function(e){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();const{body:t}=e;(t.body.length||t.directives.length)&&this.newline(),this.print(t),this.dedent(),this.rightBrace(e)},t.NewExpression=function(e,t){if(this.word("new"),this.space(),this.print(e.callee),this.format.minified&&0===e.arguments.length&&!e.optional&&!r(t,{callee:e})&&!a(t)&&!l(t))return;if(this.print(e.typeArguments),this.print(e.typeParameters),e.optional&&this.token("?."),0===e.arguments.length&&this.tokenMap&&!this.tokenMap.endMatches(e,")"))return;this.tokenChar(40);const n=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),n(),this.rightParens(e)},t.OptionalCallExpression=function(e){this.print(e.callee),this.print(e.typeParameters),e.optional&&this.token("?."),this.print(e.typeArguments),this.tokenChar(40);const t=this.enterDelimited();this.printList(e.arguments),t(),this.rightParens(e)},t.OptionalMemberExpression=function(e){let{computed:t}=e;const{optional:n,property:s}=e;if(this.print(e.object),!t&&a(s))throw new TypeError("Got a MemberExpression for MemberExpression property");o(s)&&"number"==typeof s.value&&(t=!0),n&&this.token("?."),t?(this.tokenChar(91),this.print(s),this.tokenChar(93)):(n||this.tokenChar(46),this.print(s))},t.ParenthesizedExpression=function(e){this.tokenChar(40);const t=this.enterDelimited();this.print(e.expression),t(),this.rightParens(e)},t.PrivateName=function(e){this.tokenChar(35),this.print(e.id)},t.SequenceExpression=function(e){this.printList(e.expressions)},t.Super=function(){this.word("super")},t.ThisExpression=function(){this.word("this")},t.UnaryExpression=function(e){const{operator:t}=e;"void"===t||"delete"===t||"typeof"===t||"throw"===t?(this.word(t),this.space()):this.token(t),this.print(e.argument)},t.UpdateExpression=function(e){e.prefix?(this.token(e.operator),this.print(e.argument)):(this.print(e.argument,!0),this.token(e.operator))},t.V8IntrinsicIdentifier=function(e){this.tokenChar(37),this.word(e.name)},t.YieldExpression=function(e){e.delegate?(this.word("yield",!0),this.tokenChar(42),e.argument&&(this.space(),this.print(e.argument))):e.argument?(this.word("yield",!0),this.space(),this.print(e.argument)):this.word("yield")},t._shouldPrintDecoratorsBeforeExport=function(e){return"boolean"==typeof this.format.decoratorsBeforeExport?this.format.decoratorsBeforeExport:"number"==typeof e.start&&e.start===e.declaration.start};var s=n(58135),i=n(21956);const{isCallExpression:r,isLiteral:o,isMemberExpression:a,isNewExpression:l,isPattern:c}=s},7946:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._assertUnremoved=m,t._callRemovalHooks=f,t._markRemoved=d,t._remove=p,t._removeFromScope=h,t.remove=function(){var e;m.call(this),c.resync.call(this),f.call(this)||(null!=(e=this.opts)&&e.noScope||h.call(this),this.shareCommentsWithSiblings(),p.call(this)),d.call(this)};var s=n(16643),i=n(56266),r=n(94834),o=n(32670),a=n(58135),l=n(11064),c=n(44537);const{getBindingIdentifiers:u}=a;function h(){const e=u(this.node,!1,!1,!0);Object.keys(e).forEach((e=>this.scope.removeBinding(e)))}function f(){if(this.parentPath)for(const e of s.hooks)if(e(this,this.parentPath))return!0}function p(){Array.isArray(this.container)?(this.container.splice(this.key,1),l.updateSiblingKeys.call(this,this.key,-1)):r._replaceWith.call(this,null)}function d(){var e;this._traverseFlags|=o.SHOULD_SKIP|o.REMOVED,this.parent&&(null==(e=(0,i.getCachedPaths)(this))||e.delete(this.node)),this.node=null}function m(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}},9305:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(75267),i=n(41969);t.default=class{constructor(e,t){var n;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;const r=this._map=new s.GenMapping({sourceRoot:e.sourceRoot});if(this._sourceFileName=null==(n=e.sourceFileName)?void 0:n.replace(/\\/g,"/"),this._rawMappings=void 0,e.inputSourceMap){this._inputMap=new i.TraceMap(e.inputSourceMap);const t=this._inputMap.resolvedSources;if(t.length)for(let e=0;e<t.length;e++){var o;(0,s.setSourceContent)(r,t[e],null==(o=this._inputMap.sourcesContent)?void 0:o[e])}}if("string"!=typeof t||e.inputSourceMap){if("object"==typeof t)for(const e of Object.keys(t))(0,s.setSourceContent)(r,e.replace(/\\/g,"/"),t[e])}else(0,s.setSourceContent)(r,this._sourceFileName,t)}get(){return(0,s.toEncodedMap)(this._map)}getDecoded(){return(0,s.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,s.allMappings)(this._map))}mark(e,t,n,r,o,a){var l;let c;if(this._rawMappings=void 0,null!=t)if(this._inputMap){if(c=(0,i.originalPositionFor)(this._inputMap,{line:t,column:n}),!c.name&&o){const e=(0,i.originalPositionFor)(this._inputMap,o);e.name&&(r=e.name)}}else c={source:(null==a?void 0:a.replace(/\\/g,"/"))||this._sourceFileName,line:t,column:n};(0,s.maybeAddMapping)(this._map,{name:r,generated:e,source:null==(l=c)?void 0:l.source,original:c})}}},9783:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,n=TypeError){return new n(t)}}},10215:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){const l=new WeakMap,c=new WeakMap,u=n||(0,s.validate)(null);return Object.assign(((n,...o)=>{if("string"==typeof n){if(o.length>1)throw new Error("Unexpected extra params.");return a((0,i.default)(t,n,(0,s.merge)(u,(0,s.validate)(o[0]))))}if(Array.isArray(n)){let e=l.get(n);return e||(e=(0,r.default)(t,n,u),l.set(n,e)),a(e(o))}if("object"==typeof n&&n){if(o.length>0)throw new Error("Unexpected extra params.");return e(t,(0,s.merge)(u,(0,s.validate)(n)))}throw new Error("Unexpected template param "+typeof n)}),{ast:(e,...n)=>{if("string"==typeof e){if(n.length>1)throw new Error("Unexpected extra params.");return(0,i.default)(t,e,(0,s.merge)((0,s.merge)(u,(0,s.validate)(n[0])),o))()}if(Array.isArray(e)){let i=c.get(e);return i||(i=(0,r.default)(t,e,(0,s.merge)(u,o)),c.set(e,i)),i(n)()}throw new Error("Unexpected template param "+typeof e)}})};var s=n(95838),i=n(41199),r=n(17667);const o=(0,s.validate)({placeholderPattern:!1});function a(e){let t="";try{throw new Error}catch(e){e.stack&&(t=e.stack.split("\n").slice(3).join("\n"))}return n=>{try{return e(n)}catch(e){throw e.stack+=`\n =============\n${t}`,e}}}},10899:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nodes=void 0;var s=n(58135);const{FLIPPED_ALIAS_KEYS:i,isArrayExpression:r,isAssignmentExpression:o,isBinary:a,isBlockStatement:l,isCallExpression:c,isFunction:u,isIdentifier:h,isLiteral:f,isMemberExpression:p,isObjectExpression:d,isOptionalCallExpression:m,isOptionalMemberExpression:g,isStringLiteral:y}=s;function b(e,t){return e?(p(e)||g(e)?(b(e.object,t),e.computed&&b(e.property,t)):a(e)||o(e)?(b(e.left,t),b(e.right,t)):c(e)||m(e)?(t.hasCall=!0,b(e.callee,t)):u(e)?t.hasFunction=!0:h(e)&&(t.hasHelper=t.hasHelper||e.callee&&v(e.callee)),t):t}function C(e){return b(e,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function v(e){return!!e&&(p(e)?v(e.object)||v(e.property):h(e)?"require"===e.name||95===e.name.charCodeAt(0):c(e)?v(e.callee):!(!a(e)&&!o(e))&&(h(e.left)&&v(e.left)||v(e.right)))}function S(e){return f(e)||d(e)||r(e)||h(e)||p(e)}const E=t.nodes={AssignmentExpression(e){const t=C(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction)return t.hasFunction?3:2},SwitchCase:(e,t)=>(e.consequent.length||t.cases[0]===e?1:0)|(e.consequent.length||t.cases[t.cases.length-1]!==e?0:2),LogicalExpression(e){if(u(e.left)||u(e.right))return 2},Literal(e){if(y(e)&&"use strict"===e.value)return 2},CallExpression(e){if(u(e.callee)||v(e))return 3},OptionalCallExpression(e){if(u(e.callee))return 3},VariableDeclaration(e){for(let t=0;t<e.declarations.length;t++){const n=e.declarations[t];let s=v(n.id)&&!S(n.init);if(!s&&n.init){const e=C(n.init);s=v(n.init)&&e.hasCall||e.hasFunction}if(s)return 3}},IfStatement(e){if(l(e.consequent))return 3}};E.ObjectProperty=E.ObjectTypeProperty=E.ObjectMethod=function(e,t){if(t.properties[0]===e)return 1},E.ObjectTypeCallProperty=function(e,t){var n;if(t.callProperties[0]===e&&(null==(n=t.properties)||!n.length))return 1},E.ObjectTypeIndexer=function(e,t){var n,s;if(!(t.indexers[0]!==e||null!=(n=t.properties)&&n.length||null!=(s=t.callProperties)&&s.length))return 1},E.ObjectTypeInternalSlot=function(e,t){var n,s,i;if(!(t.internalSlots[0]!==e||null!=(n=t.properties)&&n.length||null!=(s=t.callProperties)&&s.length||null!=(i=t.indexers)&&i.length))return 1},[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach((function([e,t]){[e].concat(i[e]||[]).forEach((function(e){const n=t?3:0;E[e]=()=>n}))}))},11064:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._containerInsert=k,t._containerInsertAfter=T,t._containerInsertBefore=w,t._verifyNodeList=M,t.insertAfter=function(e){if(o._assertUnremoved.call(this),this.isSequenceExpression())return _(this.get("expressions")).insertAfter(e);const t=M.call(this,e),{parentPath:n,parent:s}=this;if(n.isExpressionStatement()||n.isLabeledStatement()||b(s)||n.isExportDefaultDeclaration()&&this.isDeclaration())return n.insertAfter(t.map((e=>C(e)?m(e):e)));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!n.isJSXElement()||n.isForStatement()&&"init"===this.key){const e=this;if(e.node){const s=e.node;let{scope:i}=this;if(i.path.isPattern())return u(s),e.replaceWith(p(c([],s),[])),e.get("callee.body").insertAfter(t),[e];if(P(e))t.unshift(s);else if(y(s)&&E(s.callee))t.unshift(s),t.push(x());else if(function(e,t){if(!g(e)||!v(e.left))return!1;const n=t.getBlockParent();return n.hasOwnBinding(e.left.name)&&n.getOwnBinding(e.left.name).constantViolations.length<=1}(s,i))t.unshift(s),t.push(d(s.left));else if(i.isPure(s,!0))t.push(s);else{n.isMethod({computed:!0,key:s})&&(i=i.parent);const e=i.generateDeclaredUidIdentifier();t.unshift(m(h("=",d(e),s))),t.push(m(d(e)))}}return this.replaceExpressionWithStatements(t)}if(Array.isArray(this.container))return T.call(this,t);if(this.isStatementOrBlock()){const e=this.node,n=e&&(!this.isExpressionStatement()||null!=e.expression);return this.replaceWith(f(n?[e]:[])),this.pushContainer("body",t)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},t.insertBefore=function(e){o._assertUnremoved.call(this);const t=M.call(this,e),{parentPath:n,parent:s}=this;if(n.isExpressionStatement()||n.isLabeledStatement()||b(s)||n.isExportDefaultDeclaration()&&this.isDeclaration())return n.insertBefore(t);if(this.isNodeType("Expression")&&!this.isJSXElement()||n.isForStatement()&&"init"===this.key)return this.node&&t.push(this.node),this.replaceExpressionWithStatements(t);if(Array.isArray(this.container))return w.call(this,t);if(this.isStatementOrBlock()){const e=this.node,n=e&&(!this.isExpressionStatement()||null!=e.expression);return this.replaceWith(f(n?[e]:[])),this.unshiftContainer("body",t)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},t.pushContainer=function(e,t){o._assertUnremoved.call(this);const n=M.call(this,t),s=this.node[e];return i.default.get({parentPath:this,parent:this.node,container:s,listKey:e,key:s.length}).setContext(this.context).replaceWithMultiple(n)},t.unshiftContainer=function(e,t){o._assertUnremoved.call(this),t=M.call(this,t);const n=i.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).setContext(this.context);return w.call(n,t)},t.updateSiblingKeys=A;var s=n(56266),i=n(32670),r=n(44537),o=n(7946),a=n(58135),l=n(82738);const{arrowFunctionExpression:c,assertExpression:u,assignmentExpression:h,blockStatement:f,callExpression:p,cloneNode:d,expressionStatement:m,isAssignmentExpression:g,isCallExpression:y,isExportNamedDeclaration:b,isExpression:C,isIdentifier:v,isSequenceExpression:S,isSuper:E,thisExpression:x}=a;function k(e,t){A.call(this,e,t.length);const n=[];this.container.splice(e,0,...t);for(let i=0;i<t.length;i++){var s;const t=e+i,o=this.getSibling(t);n.push(o),null!=(s=this.context)&&s.queue&&r.pushContext.call(o,this.context)}const i=r._getQueueContexts.call(this);for(const e of n){r.setScope.call(e),e.debug("Inserted.");for(const t of i)t.maybeQueue(e,!0)}return n}function w(e){return k.call(this,this.key,e)}function T(e){return k.call(this,this.key+1,e)}const _=e=>e[e.length-1];function P(e){return S(e.parent)&&(_(e.parent.expressions)!==e.node||P(e.parentPath))}function A(e,t){if(!this.parent)return;const n=(0,s.getCachedPaths)(this);if(n)for(const[,s]of n)"number"==typeof s.key&&s.container===this.container&&s.key>=e&&(s.key+=t)}function M(e){if(!e)return[];Array.isArray(e)||(e=[e]);for(let t=0;t<e.length;t++){const n=e[t];let s;if(n?"object"!=typeof n?s="contains a non-object node":n.type?n instanceof i.default&&(s="has a NodePath when it expected a raw object"):s="without a type":s="has falsy node",s){const e=Array.isArray(n)?"array":typeof n;throw new Error(`Node list ${s} with the index of ${t} and type of ${e}`)}}return e}t.hoist=function(e=this.scope){return new l.default(this,e).run()}},14017:function(e,t){!function(e){"use strict";const t=",".charCodeAt(0),n=";".charCodeAt(0),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(64),r=new Uint8Array(128);for(let e=0;e<64;e++){const t=s.charCodeAt(e);i[e]=t,r[t]=e}const o="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}};function a(e,t){const n=e.indexOf(";",t);return-1===n?e.length:n}function l(e,t,n,s){let i=0,o=0,a=0;do{const n=e.charCodeAt(t++);a=r[n],i|=(31&a)<<o,o+=5}while(32&a);const l=1&i;return i>>>=1,l&&(i=-2147483648|-i),n[s]+=i,t}function c(e,n,s){return!(n>=s)&&e.charCodeAt(n)!==t}function u(e){e.sort(h)}function h(e,t){return e[0]-t[0]}function f(e,t,n,s,r){const o=s[r];let a=o-n[r];n[r]=o,a=a<0?-a<<1|1:a<<1;do{let n=31&a;a>>>=5,a>0&&(n|=32),e[t++]=i[n]}while(a>0);return t}e.decode=function(e){const t=new Int32Array(5),n=[];let s=0;do{const i=a(e,s),r=[];let o=!0,h=0;t[0]=0;for(let n=s;n<i;n++){let s;n=l(e,n,t,0);const a=t[0];a<h&&(o=!1),h=a,c(e,n,i)?(n=l(e,n,t,1),n=l(e,n,t,2),n=l(e,n,t,3),c(e,n,i)?(n=l(e,n,t,4),s=[a,t[1],t[2],t[3],t[4]]):s=[a,t[1],t[2],t[3]]):s=[a],r.push(s)}o||u(r),n.push(r),s=i+1}while(s<=e.length);return n},e.encode=function(e){const s=new Int32Array(5),i=16384,r=16348,a=new Uint8Array(i),l=a.subarray(0,r);let c=0,u="";for(let h=0;h<e.length;h++){const p=e[h];if(h>0&&(c===i&&(u+=o.decode(a),c=0),a[c++]=n),0!==p.length){s[0]=0;for(let e=0;e<p.length;e++){const n=p[e];c>r&&(u+=o.decode(l),a.copyWithin(0,r,c),c-=r),e>0&&(a[c++]=t),c=f(a,c,s,n,0),1!==n.length&&(c=f(a,c,s,n,1),c=f(a,c,s,n,2),c=f(a,c,s,n,3),4!==n.length&&(c=f(a,c,s,n,4)))}}}return u+o.decode(a.subarray(0,c))},Object.defineProperty(e,"__esModule",{value:!0})}(t)},16643:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hooks=void 0,t.hooks=[function(e,t){if("test"===e.key&&(t.isWhile()||t.isSwitchCase())||"declaration"===e.key&&t.isExportDeclaration()||"body"===e.key&&t.isLabeledStatement()||"declarations"===e.listKey&&t.isVariableDeclaration()&&1===t.node.declarations.length||"expression"===e.key&&t.isExpressionStatement())return t.remove(),!0},function(e,t){if(t.isSequenceExpression()&&1===t.node.expressions.length)return t.replaceWith(t.node.expressions[0]),!0},function(e,t){if(t.isBinary())return"left"===e.key?t.replaceWith(t.node.right):t.replaceWith(t.node.left),!0},function(e,t){if(t.isIfStatement()&&"consequent"===e.key||"body"===e.key&&(t.isLoop()||t.isArrowFunctionExpression()))return e.replaceWith({type:"BlockStatement",body:[]}),!0}]},17667:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const{metadata:o,names:a}=function(e,t,n){let s="BABEL_TPL$";const r=t.join("");do{s="$$"+s}while(r.includes(s));const{names:o,code:a}=function(e,t){const n=[];let s=e[0];for(let i=1;i<e.length;i++){const r=`${t}${i-1}`;n.push(r),s+=r+e[i]}return{names:n,code:s}}(t,s);return{metadata:(0,i.default)(e,e.code(a),{parser:n.parser,placeholderWhitelist:new Set(o.concat(n.placeholderWhitelist?Array.from(n.placeholderWhitelist):[])),placeholderPattern:n.placeholderPattern,preserveComments:n.preserveComments,syntacticPlaceholders:n.syntacticPlaceholders}),names:o}}(e,t,n);return t=>{const n={};return t.forEach(((e,t)=>{n[a[t]]=e})),t=>{const i=(0,s.normalizeReplacements)(t);return i&&Object.keys(i).forEach((e=>{if(hasOwnProperty.call(n,e))throw new Error("Unexpected replacement overlap.")})),e.unwrap((0,r.default)(o,i?Object.assign(i,n):n))}}};var s=n(95838),i=n(4131),r=n(72064)},18398:e=>{"use strict";const t={},n=t.hasOwnProperty,s=(e,t)=>{for(const s in e)n.call(e,s)&&t(s,e[s])},i=e=>"\\u"+("0000"+e).slice(-4),r=(e,t)=>{let n=e.toString(16);return t?n:n.toUpperCase()},o=t.toString,a=Array.isArray,l=e=>"bigint"==typeof e,c={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},u=/[\\\b\f\n\r\t]/,h=/[0-9]/,f=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,p=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,d=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,m=(e,t)=>{const n=()=>{k=x,++t.indentLevel,x=t.indent.repeat(t.indentLevel)},g={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},y=t&&t.json;var b,C;y&&(g.quotes="double",g.wrap=!0),b=g,t=(C=t)?(s(C,((e,t)=>{b[e]=t})),b):b,"single"!=t.quotes&&"double"!=t.quotes&&"backtick"!=t.quotes&&(t.quotes="single");const v="double"==t.quotes?'"':"backtick"==t.quotes?"`":"'",S=t.compact,E=t.lowercaseHex;let x=t.indent.repeat(t.indentLevel),k="";const w=t.__inline1__,T=t.__inline2__,_=S?"":"\n";let P,A=!0;const M="binary"==t.numbers,I="octal"==t.numbers,O="decimal"==t.numbers,F="hexadecimal"==t.numbers;if(y&&e&&"function"==typeof e.toJSON&&(e=e.toJSON()),"string"!=typeof(B=e)&&"[object String]"!=o.call(B)){if((e=>"[object Map]"==o.call(e))(e))return 0==e.size?"new Map()":(S||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+m(Array.from(e),t)+")");if((e=>"[object Set]"==o.call(e))(e))return 0==e.size?"new Set()":"new Set("+m(Array.from(e),t)+")";if((e=>"function"==typeof Buffer&&Buffer.isBuffer(e))(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+m(Array.from(e),t)+")";if(a(e))return P=[],t.wrap=!0,w&&(t.__inline1__=!1,t.__inline2__=!0),T||n(),((e,t)=>{const n=e.length;let s=-1;for(;++s<n;)t(e[s])})(e,(e=>{A=!1,T&&(t.__inline2__=!1),P.push((S||T?"":x)+m(e,t))})),A?"[]":T?"["+P.join(", ")+"]":"["+_+P.join(","+_)+_+(S?"":k)+"]";if((e=>"number"==typeof e||"[object Number]"==o.call(e))(e)||l(e)){if(y)return JSON.stringify(Number(e));let t;if(O)t=String(e);else if(F){let n=e.toString(16);E||(n=n.toUpperCase()),t="0x"+n}else M?t="0b"+e.toString(2):I&&(t="0o"+e.toString(8));return l(e)?t+"n":t}return l(e)?y?JSON.stringify(Number(e)):e+"n":(e=>"[object Object]"==o.call(e))(e)?(P=[],t.wrap=!0,n(),s(e,((e,n)=>{A=!1,P.push((S?"":x)+m(e,t)+":"+(S?"":" ")+m(n,t))})),A?"{}":"{"+_+P.join(","+_)+_+(S?"":k)+"}"):y?JSON.stringify(e)||"null":String(e)}var B;const L=t.escapeEverything?p:d;return P=e.replace(L,((e,n,s,o,a,l)=>{if(n){if(t.minimal)return n;const e=n.charCodeAt(0),s=n.charCodeAt(1);return t.es6?"\\u{"+r(1024*(e-55296)+s-56320+65536,E)+"}":i(r(e,E))+i(r(s,E))}if(s)return i(r(s.charCodeAt(0),E));if("\0"==e&&!y&&!h.test(l.charAt(a+1)))return"\\0";if(o)return o==v||t.escapeEverything?"\\"+o:o;if(u.test(e))return c[e];if(t.minimal&&!f.test(e))return e;const p=r(e.charCodeAt(0),E);return y||p.length>2?i(p):"\\x"+("00"+p).slice(-2)})),"`"==v&&(P=P.replace(/\$\{/g,"\\${")),t.isScriptContext&&(P=P.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,y?"\\u003C!--":"\\x3C!--")),t.wrap&&(P=v+P+v),P};m.version="3.0.2",e.exports=m},19534:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClassAccessorProperty=function(e){var t;this.printJoin(e.decorators);const n=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;n&&this.catchUp(n),this.tsPrintClassMemberModifiers(e),this.word("accessor",!0),this.space(),e.computed?(this.tokenChar(91),this.print(e.key),this.tokenChar(93)):(this._variance(e),this.print(e.key)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value)),this.semicolon()},t.ClassBody=function(e){if(this.tokenChar(123),0===e.body.length)this.tokenChar(125);else{this.newline();const t=function(e,t){if(!e.tokenMap||null==t.start||null==t.end)return null;const n=e.tokenMap.getIndexes(t);if(!n)return null;let s=1,i=0,r=0;const o=()=>{for(;r<t.body.length&&null==t.body[r].start;)r++};return o(),a=>{r<=a&&(r=a+1,o());const l=r===t.body.length?t.end:t.body[r].start;let c;for(;s<n.length&&e.tokenMap.matchesOriginal(c=e._tokens[n[s]],";")&&c.start<l;)e.token(";",void 0,i++),s++}}(this,e);null==t||t(-1);const n=this.enterDelimited();this.printJoin(e.body,!0,!0,t,!0),n(),this.endsWith(10)||this.newline(),this.rightBrace(e)}},t.ClassExpression=t.ClassDeclaration=function(e,t){(i(t)||r(t))&&this._shouldPrintDecoratorsBeforeExport(t)||this.printJoin(e.decorators),e.declare&&(this.word("declare"),this.space()),e.abstract&&(this.word("abstract"),this.space()),this.word("class"),e.id&&(this.space(),this.print(e.id)),this.print(e.typeParameters),e.superClass&&(this.space(),this.word("extends"),this.space(),this.print(e.superClass),this.print(e.superTypeParameters)),e.implements&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements)),this.space(),this.print(e.body)},t.ClassMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body)},t.ClassPrivateMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body)},t.ClassPrivateProperty=function(e){this.printJoin(e.decorators),this.tsPrintClassMemberModifiers(e),this.print(e.key),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value)),this.semicolon()},t.ClassProperty=function(e){if(this.printJoin(e.decorators),!e.static&&!this.format.preserveFormat){var t;const n=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;n&&this.catchUp(n)}this.tsPrintClassMemberModifiers(e),e.computed?(this.tokenChar(91),this.print(e.key),this.tokenChar(93)):(this._variance(e),this.print(e.key)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value)),this.semicolon()},t.StaticBlock=function(e){this.word("static"),this.space(),this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,!0),this.rightBrace(e))},t._classMethodHead=function(e){if(this.printJoin(e.decorators),!this.format.preserveFormat){var t;const n=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;n&&this.catchUp(n)}this.tsPrintClassMemberModifiers(e),this._methodHead(e)};var s=n(58135);const{isExportDefaultDeclaration:i,isExportNamedDeclaration:r}=s},19724:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrayExpression=T,t.AssignmentExpression=function(){return this.get("right").getTypeAnnotation()},t.BinaryExpression=function(e){const t=e.operator;if(l.includes(t))return b();if(o.includes(t))return p();if("+"===t){const e=this.get("right"),t=this.get("left");return t.isBaseType("number")&&e.isBaseType("number")?b():t.isBaseType("string")||e.isBaseType("string")?C():S([C(),b()])}},t.BooleanLiteral=function(){return p()},t.CallExpression=function(){const{callee:e}=this.node;return A(e)?f(C()):P(e)||M(e)||x(e,{name:"Array"})?f(h()):I(e)?f(v([C(),h()])):O(this.get("callee"))},t.ConditionalExpression=function(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,r.createUnionType)(e)},t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=function(){return m(g("Function"))},Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return i.default}}),t.LogicalExpression=function(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,r.createUnionType)(e)},t.NewExpression=function(e){if("Identifier"===e.callee.type)return m(e.callee)},t.NullLiteral=function(){return y()},t.NumericLiteral=function(){return b()},t.ObjectExpression=function(){return m(g("Object"))},t.ParenthesizedExpression=function(){return this.get("expression").getTypeAnnotation()},t.RegExpLiteral=function(){return m(g("RegExp"))},t.RestElement=_,t.SequenceExpression=function(){return this.get("expressions").pop().getTypeAnnotation()},t.StringLiteral=function(){return C()},t.TSAsExpression=w,t.TSNonNullExpression=function(){return this.get("expression").getTypeAnnotation()},t.TaggedTemplateExpression=function(){return O(this.get("tag"))},t.TemplateLiteral=function(){return C()},t.TypeCastExpression=k,t.UnaryExpression=function(e){const t=e.operator;return"void"===t?E():c.includes(t)?b():u.includes(t)?C():a.includes(t)?p():void 0},t.UpdateExpression=function(e){const t=e.operator;if("++"===t||"--"===t)return b()},t.VariableDeclarator=function(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()};var s=n(58135),i=n(61593),r=n(58252);const{BOOLEAN_BINARY_OPERATORS:o,BOOLEAN_UNARY_OPERATORS:a,NUMBER_BINARY_OPERATORS:l,NUMBER_UNARY_OPERATORS:c,STRING_UNARY_OPERATORS:u,anyTypeAnnotation:h,arrayTypeAnnotation:f,booleanTypeAnnotation:p,buildMatchMemberExpression:d,genericTypeAnnotation:m,identifier:g,nullLiteralTypeAnnotation:y,numberTypeAnnotation:b,stringTypeAnnotation:C,tupleTypeAnnotation:v,unionTypeAnnotation:S,voidTypeAnnotation:E,isIdentifier:x}=s;function k(e){return e.typeAnnotation}function w(e){return e.typeAnnotation}function T(){return m(g("Array"))}function _(){return T()}k.validParent=!0,w.validParent=!0,_.validParent=!0;const P=d("Array.from"),A=d("Object.keys"),M=d("Object.values"),I=d("Object.entries");function O(e){if((e=e.resolve()).isFunction()){const{node:t}=e;if(t.async)return t.generator?m(g("AsyncIterator")):m(g("Promise"));if(t.generator)return m(g("Iterator"));if(e.node.returnType)return e.node.returnType}}},21956:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenContext=void 0,t.isLastChild=function(e,t){const n=a[e.type];for(let s=n.length-1;s>=0;s--){const i=e[n[s]];if(i===t)return!0;if(Array.isArray(i)){let e=i.length-1;for(;e>=0&&null===i[e];)e--;return e>=0&&i[e]===t}if(i)return!1}return!1},t.needsParens=function(e,t,n,s){var i;return!!t&&(!(!f(t)||t.callee!==e||!y(e))||(c(t)?!(C(e)||l(e)&&C(e.callee)||p(e)):null==(i=m.get(e.type))?void 0:i(e,t,n,s)))},t.needsWhitespace=b,t.needsWhitespaceAfter=function(e,t){return b(e,t,2)},t.needsWhitespaceBefore=function(e,t){return b(e,t,1)};var s=n(10899),i=n(45584),r=n(58135);const{FLIPPED_ALIAS_KEYS:o,VISITOR_KEYS:a,isCallExpression:l,isDecorator:c,isExpressionStatement:u,isMemberExpression:h,isNewExpression:f,isParenthesizedExpression:p}=r;function d(e){const t=new Map;function n(e,n){const s=t.get(e);t.set(e,s?function(e,t,i,r){var o;return null!=(o=s(e,t,i,r))?o:n(e,t,i,r)}:n)}for(const t of Object.keys(e)){const s=o[t];if(s)for(const i of s)n(i,e[t]);else n(t,e[t])}return t}t.TokenContext={normal:0,expressionStatement:1,arrowBody:2,exportDefault:4,arrowFlowReturnType:8,forInitHead:16,forInHead:32,forOfHead:64,forInOrInitHeadAccumulate:128,forInOrInitHeadAccumulatePassThroughMask:128};const m=d(i),g=d(s.nodes);function y(e){return!!l(e)||h(e)&&y(e.object)}function b(e,t,n){var s;if(!e)return!1;u(e)&&(e=e.expression);const i=null==(s=g.get(e.type))?void 0:s(e,t);return"number"==typeof i&&!!(i&n)}function C(e){switch(e.type){case"Identifier":return!0;case"MemberExpression":return!e.computed&&"Identifier"===e.property.type&&C(e.object);default:return!1}}},22005:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockStatement=function(e){var t;this.tokenChar(123);const n=this.enterDelimited(),s=null==(t=e.directives)?void 0:t.length;if(s){var i;const t=e.body.length?2:1;this.printSequence(e.directives,!0,t),null!=(i=e.directives[s-1].trailingComments)&&i.length||this.newline(t)}this.printSequence(e.body,!0),n(),this.rightBrace(e)},t.Directive=function(e){this.print(e.value),this.semicolon()},t.DirectiveLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.token(t);const{value:i}=e;if(s.test(i)){if(n.test(i))throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.");this.token(`'${i}'`)}else this.token(`"${i}"`)},t.File=function(e){e.program&&this.print(e.program.interpreter),this.print(e.program)},t.InterpreterDirective=function(e){this.token(`#!${e.value}`),this.newline(1,!0)},t.Placeholder=function(e){this.token("%%"),this.print(e.name),this.token("%%"),"Statement"===e.expectedNode&&this.semicolon()},t.Program=function(e){var t;this.noIndentInnerCommentsHere(),this.printInnerComments();const n=null==(t=e.directives)?void 0:t.length;if(n){var s;const t=e.body.length?2:1;this.printSequence(e.directives,void 0,t),null!=(s=e.directives[n-1].trailingComments)&&s.length||this.newline(t)}this.printSequence(e.body)};const n=/(?:^|[^\\])(?:\\\\)*'/,s=/(?:^|[^\\])(?:\\\\)*"/},25083:(e,t)=>{"use strict";function n(){this.space()}Object.defineProperty(t,"__esModule",{value:!0}),t.JSXAttribute=function(e){this.print(e.name),e.value&&(this.tokenChar(61),this.print(e.value))},t.JSXClosingElement=function(e){this.tokenChar(60),this.tokenChar(47),this.print(e.name),this.tokenChar(62)},t.JSXClosingFragment=function(){this.token("</"),this.tokenChar(62)},t.JSXElement=function(e){const t=e.openingElement;if(this.print(t),!t.selfClosing){this.indent();for(const t of e.children)this.print(t);this.dedent(),this.print(e.closingElement)}},t.JSXEmptyExpression=function(){this.printInnerComments()},t.JSXExpressionContainer=function(e){this.tokenChar(123),this.print(e.expression),this.rightBrace(e)},t.JSXFragment=function(e){this.print(e.openingFragment),this.indent();for(const t of e.children)this.print(t);this.dedent(),this.print(e.closingFragment)},t.JSXIdentifier=function(e){this.word(e.name)},t.JSXMemberExpression=function(e){this.print(e.object),this.tokenChar(46),this.print(e.property)},t.JSXNamespacedName=function(e){this.print(e.namespace),this.tokenChar(58),this.print(e.name)},t.JSXOpeningElement=function(e){this.tokenChar(60),this.print(e.name),e.typeArguments&&this.print(e.typeArguments),this.print(e.typeParameters),e.attributes.length>0&&(this.space(),this.printJoin(e.attributes,void 0,void 0,n)),e.selfClosing&&(this.space(),this.tokenChar(47)),this.tokenChar(62)},t.JSXOpeningFragment=function(){this.tokenChar(60),this.tokenChar(62)},t.JSXSpreadAttribute=function(e){this.tokenChar(123),this.token("..."),this.print(e.argument),this.rightBrace(e)},t.JSXSpreadChild=function(e){this.tokenChar(123),this.token("..."),this.print(e.expression),this.rightBrace(e)},t.JSXText=function(e){const t=this.getPossibleRaw(e);void 0!==t?this.token(t,!0):this.token(e.value,!0)}},25460:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrowFunctionToExpression=function({allowInsertArrow:e=!0,allowInsertArrowWithRest:t=e,noNewArrows:n=!(e=>null==(e=arguments[0])?void 0:e.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let s=this;var i;n||(s=null!=(i=s.ensureFunctionName(!1))?i:s);const{thisBinding:r,fnPath:o}=G(s,n,e,t);if(o.ensureBlock(),o.node.type="FunctionExpression",!n){const e=r?null:o.scope.generateUidIdentifier("arrowCheckId");return e&&o.parentPath.scope.push({id:e,init:E([])}),o.get("body").unshiftContainer("body",p(h(this.hub.addHelper("newArrowCheck"),[A(),d(e?e.name:r)]))),o.replaceWith(h(C(o.node,d("bind")),[e?d(e.name):A()])),o.get("callee.object")}return o},t.ensureBlock=function(){const e=this.get("body"),t=e.node;if(Array.isArray(e))throw new Error("Can't convert array path to a block statement");if(!t)throw new Error("Can't convert node without a body");if(e.isBlockStatement())return t;const n=[];let s,i,r="body";e.isStatement()?(i="body",s=0,n.push(e.node)):(r+=".body.0",this.isFunction()?(s="argument",n.push(k(e.node))):(s="expression",n.push(p(e.node)))),this.node.body=u(n);const a=this.get(r);return o.setup.call(e,a,i?a.node[i]:a.node,i,s),this.node},t.ensureFunctionName=function(e){if(this.node.id)return this;const t=D(this.node,this.parent);if(null==t)return this;let{name:n}=t;if(!e&&/[\uD800-\uDFFF]/.test(n))return null;if(n.startsWith("get ")||n.startsWith("set "))return null;n=O(n.replace(/[/ ]/g,"_"));const s=d(n);U(s,t.originalNode);const r={needsRename:!1,name:n},{scope:o}=this,a=o.getOwnBinding(n);if(a?"param"===a.kind&&(r.needsRename=!0):(o.parent.hasBinding(n)||o.hasGlobal(n))&&this.traverse(X,r),!r.needsRename)return this.node.id=s,o.getProgramParent().references[s.name]=!0,this;if(o.hasBinding(s.name)&&!o.hasGlobal(s.name))return o.rename(s.name),this.node.id=s,o.getProgramParent().references[s.name]=!0,this;if(!F(this.node))return null;const l=o.generateUidIdentifier(s.name),c=[];for(let e=0,t=function(e){const t=e.params.findIndex((e=>B(e)||L(e)));return-1===t?e.params.length:t}(this.node);e<t;e++)c.push(o.generateUidIdentifier("x"));const u=i.default.expression.ast`
|
|
3
|
+
(function (${l}) {
|
|
4
|
+
function ${s}(${c}) {
|
|
5
|
+
return ${N(l)}.apply(this, arguments);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
${N(s)}.toString = function () {
|
|
9
|
+
return ${N(l)}.toString();
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
return ${N(s)};
|
|
13
|
+
})(${M(this.node)})
|
|
14
|
+
`;return this.replaceWith(u)[0].get("arguments.0")},t.splitExportDeclaration=function(){if(!this.isExportDeclaration()||this.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(this.isExportNamedDeclaration()&&this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");const e=this.get("declaration");if(this.isExportDefaultDeclaration()){const t=e.isFunctionDeclaration()||e.isClassDeclaration(),n=e.isFunctionExpression()||e.isClassExpression(),s=e.isScope()?e.scope.parent:e.scope;let i=e.node.id,r=!1;i?n&&s.hasBinding(i.name)&&(r=!0,i=s.generateUidIdentifier(i.name)):(r=!0,i=s.generateUidIdentifier("default"),(t||n)&&(e.node.id=N(i)));const o=t?e.node:R("var",[j(N(i),e.node)]),a=W(null,[V(N(i),d("default"))]);return this.insertAfter(a),this.replaceWith(o),r&&s.registerDeclaration(this),this}if(this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");const t=e.getOuterBindingIdentifiers(),n=Object.keys(t).map((e=>V(d(e),d(e)))),s=W(null,n);return this.insertAfter(s),this.replaceWith(e.node),this},t.toComputedKey=function(){let e;if(this.isMemberExpression())e=this.node.property;else{if(!this.isProperty()&&!this.isMethod())throw new ReferenceError("todo");e=this.node.key}return this.node.computed||m(e)&&(e=_(e.name)),e},t.unwrapFunctionEnvironment=function(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");G(this)};var s=n(58135),i=n(50240),r=n(95957),o=n(44537);const{arrowFunctionExpression:a,assignmentExpression:l,binaryExpression:c,blockStatement:u,callExpression:h,conditionalExpression:f,expressionStatement:p,identifier:d,isIdentifier:m,jsxIdentifier:g,logicalExpression:y,LOGICAL_OPERATORS:b,memberExpression:C,metaProperty:v,numericLiteral:S,objectExpression:E,restElement:x,returnStatement:k,sequenceExpression:w,spreadElement:T,stringLiteral:_,super:P,thisExpression:A,toExpression:M,unaryExpression:I,toBindingIdentifierName:O,isFunction:F,isAssignmentPattern:B,isRestElement:L,getFunctionName:D,cloneNode:N,variableDeclaration:R,variableDeclarator:j,exportNamedDeclaration:W,exportSpecifier:V,inherits:U}=s;t.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};const q=(0,r.environmentVisitor)({CallExpression(e,{allSuperCalls:t}){e.get("callee").isSuper()&&t.push(e)}});function G(e,t=!0,n=!0,s=!0){let i,r=e.findParent((e=>e.isArrowFunctionExpression()?(null!=i||(i=e),!1):e.isFunction()||e.isProgram()||e.isClassProperty({static:!1})||e.isClassPrivateProperty({static:!1})));const o=r.isClassMethod({kind:"constructor"});if(r.isClassProperty()||r.isClassPrivateProperty())if(i)r=i;else{if(!n)throw e.buildCodeFrameError("Unable to transform arrow inside class property");e.replaceWith(h(a([],M(e.node)),[])),r=e.get("callee"),e=r.get("body")}const{thisPaths:u,argumentsPaths:p,newTargetPaths:m,superProps:E,superCalls:k}=function(e){const t=[],n=[],s=[],i=[],r=[];return e.traverse(J,{thisPaths:t,argumentsPaths:n,newTargetPaths:s,superProps:i,superCalls:r}),{thisPaths:t,argumentsPaths:n,newTargetPaths:s,superProps:i,superCalls:r}}(e);if(o&&k.length>0){if(!n)throw k[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super()` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");if(!s)throw k[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");const e=[];r.traverse(q,{allSuperCalls:e});const t=function(e){return $(e,"supercall",(()=>{const t=e.scope.generateUidIdentifier("args");return a([x(t)],h(P(),[T(d(t.name))]))}))}(r);e.forEach((e=>{const n=d(t);n.loc=e.node.callee.loc,e.get("callee").replaceWith(n)}))}if(p.length>0){const e=$(r,"arguments",(()=>{const e=()=>d("arguments");return r.scope.path.isProgram()?f(c("===",I("typeof",e()),_("undefined")),r.scope.buildUndefinedNode(),e()):e()}));p.forEach((t=>{const n=d(e);n.loc=t.node.loc,t.replaceWith(n)}))}if(m.length>0){const e=$(r,"newtarget",(()=>v(d("new"),d("target"))));m.forEach((t=>{const n=d(e);n.loc=t.node.loc,t.replaceWith(n)}))}if(E.length>0){if(!n)throw E[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");E.reduce(((e,t)=>e.concat(function(e){if(e.parentPath.isAssignmentExpression()&&"="!==e.parentPath.node.operator){const n=e.parentPath,s=n.node.operator.slice(0,-1),i=n.node.right,r=function(e){return b.includes(e)}(s);if(e.node.computed){const o=e.scope.generateDeclaredUidIdentifier("tmp"),a=e.node.object,c=e.node.property;n.get("left").replaceWith(C(a,l("=",o,c),!0)),n.get("right").replaceWith(t(r?"=":s,C(a,d(o.name),!0),i))}else{const o=e.node.object,a=e.node.property;n.get("left").replaceWith(C(o,a)),n.get("right").replaceWith(t(r?"=":s,C(o,d(a.name)),i))}return r?n.replaceWith(y(s,n.node.left,n.node.right)):n.node.operator="=",[n.get("left"),n.get("right").get("left")]}if(e.parentPath.isUpdateExpression()){const t=e.parentPath,n=e.scope.generateDeclaredUidIdentifier("tmp"),s=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null,i=[l("=",n,C(e.node.object,s?l("=",s,e.node.property):e.node.property,e.node.computed)),l("=",C(e.node.object,s?d(s.name):e.node.property,e.node.computed),c(e.parentPath.node.operator[0],d(n.name),S(1)))];return e.parentPath.node.prefix||i.push(d(n.name)),t.replaceWith(w(i)),[t.get("expressions.0.right"),t.get("expressions.1.left")]}return[e];function t(e,t,n){return"="===e?l("=",t,n):c(e,t,n)}}(t))),[]).forEach((e=>{const t=e.node.computed?"":e.get("property").node.name,n=e.parentPath,s=n.isAssignmentExpression({left:e.node}),i=n.isCallExpression({callee:e.node}),o=n.isTaggedTemplateExpression({tag:e.node}),c=function(e,t,n){return $(e,`superprop_${t?"set":"get"}:${n||""}`,(()=>{const s=[];let i;if(n)i=C(P(),d(n));else{const t=e.scope.generateUidIdentifier("prop");s.unshift(t),i=C(P(),d(t.name),!0)}if(t){const t=e.scope.generateUidIdentifier("value");s.push(t),i=l("=",i,d(t.name))}return a(s,i)}))}(r,s,t),f=[];if(e.node.computed&&f.push(e.get("property").node),s){const e=n.node.right;f.push(e)}const p=h(d(c),f);i?(n.unshiftContainer("arguments",A()),e.replaceWith(C(p,d("call"))),u.push(n.get("arguments.0"))):s?n.replaceWith(p):o?(e.replaceWith(h(C(p,d("bind"),!1),[A()])),u.push(e.get("arguments.0"))):e.replaceWith(p)}))}let O;return(u.length>0||!t)&&(O=function(e,t){return $(e,"this",(n=>{if(!t||!H(e))return A();e.traverse(K,{supers:new WeakSet,thisBinding:n})}))}(r,o),(t||o&&H(r))&&(u.forEach((e=>{const t=e.isJSX()?g(O):d(O);t.loc=e.node.loc,e.replaceWith(t)})),t||(O=null))),{thisBinding:O,fnPath:e}}function H(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}const K=(0,r.environmentVisitor)({CallExpression(e,{supers:t,thisBinding:n}){e.get("callee").isSuper()&&(t.has(e.node)||(t.add(e.node),e.replaceWithMultiple([e.node,l("=",d(n),d("this"))])))}});function $(e,t,n){const s="binding:"+t;let i=e.getData(s);if(!i){const r=e.scope.generateUidIdentifier(t);i=r.name,e.setData(s,i),e.scope.push({id:r,init:n(i)})}return i}const J=(0,r.environmentVisitor)({ThisExpression(e,{thisPaths:t}){t.push(e)},JSXIdentifier(e,{thisPaths:t}){"this"===e.node.name&&(e.parentPath.isJSXMemberExpression({object:e.node})||e.parentPath.isJSXOpeningElement({name:e.node}))&&t.push(e)},CallExpression(e,{superCalls:t}){e.get("callee").isSuper()&&t.push(e)},MemberExpression(e,{superProps:t}){e.get("object").isSuper()&&t.push(e)},Identifier(e,{argumentsPaths:t}){if(!e.isReferencedIdentifier({name:"arguments"}))return;let n=e.scope;do{if(n.hasOwnBinding("arguments"))return void n.rename("arguments");if(n.path.isFunction()&&!n.path.isArrowFunctionExpression())break}while(n=n.parent);t.push(e)},MetaProperty(e,{newTargetPaths:t}){e.get("meta").isIdentifier({name:"new"})&&e.get("property").isIdentifier({name:"target"})&&t.push(e)}}),X={"ReferencedIdentifier|BindingIdentifier"(e,t){e.node.name===t.name&&(t.needsRename=!0,e.stop())},Scope(e,t){e.scope.hasOwnBinding(t.name)&&e.skip()}}},26801:function(e,t){!function(e){"use strict";function t(e,t){return e._indexes[t]}e.SetArray=class{constructor(){this._indexes={__proto__:null},this.array=[]}},e.get=t,e.pop=function(e){const{array:t,_indexes:n}=e;0!==t.length&&(n[t.pop()]=void 0)},e.put=function(e,n){const s=t(e,n);if(void 0!==s)return s;const{array:i,_indexes:r}=e,o=i.push(n);return r[n]=o-1},e.remove=function(e,n){const s=t(e,n);if(void 0===s)return;const{array:i,_indexes:r}=e;for(let e=s+1;e<i.length;e++){const t=i[e];i[e-1]=t,r[t]--}r[n]=void 0,i.pop()},Object.defineProperty(e,"__esModule",{value:!0})}(t)},27250:e=>{var t=1e3,n=60*t,s=60*n,i=24*s,r=7*i;function o(e,t,n,s){var i=t>=1.5*n;return Math.round(e/n)+" "+s+(i?"s":"")}e.exports=function(e,a){a=a||{};var l,c,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var a=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return a*r;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*s;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===u&&isFinite(e))return a.long?(l=e,(c=Math.abs(l))>=i?o(l,c,i,"day"):c>=s?o(l,c,s,"hour"):c>=n?o(l,c,n,"minute"):c>=t?o(l,c,t,"second"):l+" ms"):function(e){var r=Math.abs(e);return r>=i?Math.round(e/i)+"d":r>=s?Math.round(e/s)+"h":r>=n?Math.round(e/n)+"m":r>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},27891:(e,t,n)=>{e.exports=function(e){function t(e){let n,i,r,o=null;function a(...e){if(!a.enabled)return;const s=a,i=Number(new Date),r=i-(n||i);s.diff=r,s.prev=n,s.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,i)=>{if("%%"===n)return"%";o++;const r=t.formatters[i];if("function"==typeof r){const t=e[o];n=r.call(s,t),e.splice(o,1),o--}return n})),t.formatArgs.call(s,e),(s.log||t.log).apply(s,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=s,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(i!==t.namespaces&&(i=t.namespaces,r=t.enabled(e)),r),set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function s(e,n){const s=t(this.namespace+(void 0===n?":":n)+e);return s.log=this.log,s}function i(e,t){let n=0,s=0,i=-1,r=0;for(;n<e.length;)if(s<t.length&&(t[s]===e[n]||"*"===t[s]))"*"===t[s]?(i=s,r=n,s++):(n++,s++);else{if(-1===i)return!1;s=i+1,r++,n=r}for(;s<t.length&&"*"===t[s];)s++;return s===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(i(e,n))return!1;for(const n of t.names)if(i(e,n))return!0;return!1},t.humanize=n(27250),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},32387:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentPlaceholder=function(){this.tokenChar(63)},t.ArrayPattern=t.ArrayExpression=function(e){const t=e.elements,n=t.length;this.tokenChar(91);const s=this.enterDelimited();for(let e=0;e<t.length;e++){const s=t[e];s?(e>0&&this.space(),this.print(s),(e<n-1||this.shouldPrintTrailingComma("]"))&&this.token(",",!1,e)):this.token(",",!1,e)}s(),this.tokenChar(93)},t.BigIntLiteral=function(e){const t=this.getPossibleRaw(e);this.format.minified||void 0===t?this.word(e.value+"n"):this.word(t)},t.BooleanLiteral=function(e){this.word(e.value?"true":"false")},t.Identifier=function(e){var t;this.sourceIdentifierName((null==(t=e.loc)?void 0:t.identifierName)||e.name),this.word(this.tokenMap?this._getRawIdentifier(e):e.name)},t.NullLiteral=function(){this.word("null")},t.NumericLiteral=function(e){const t=this.getPossibleRaw(e),n=this.format.jsescOption,s=e.value,r=s+"";n.numbers?this.number(i(s,n),s):null==t?this.number(r,s):this.format.minified?this.number(t.length<r.length?t:r,s):this.number(t,s)},t.ObjectPattern=t.ObjectExpression=function(e){const t=e.properties;if(this.tokenChar(123),t.length){const e=this.enterDelimited();this.space(),this.printList(t,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),e()}this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)},t.ObjectMethod=function(e){this.printJoin(e.decorators),this._methodHead(e),this.space(),this.print(e.body)},t.ObjectProperty=function(e){if(this.printJoin(e.decorators),e.computed)this.tokenChar(91),this.print(e.key),this.tokenChar(93);else{if(r(e.value)&&o(e.key)&&e.key.name===e.value.left.name)return void this.print(e.value);if(this.print(e.key),e.shorthand&&o(e.key)&&o(e.value)&&e.key.name===e.value.name)return}this.tokenChar(58),this.space(),this.print(e.value)},t.PipelineBareFunction=function(e){this.print(e.callee)},t.PipelinePrimaryTopicReference=function(){this.tokenChar(35)},t.PipelineTopicExpression=function(e){this.print(e.expression)},t.RecordExpression=function(e){const t=e.properties;let n,s;if("bar"===this.format.recordAndTupleSyntaxType)n="{|",s="|}";else{if("hash"!==this.format.recordAndTupleSyntaxType&&null!=this.format.recordAndTupleSyntaxType)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);n="#{",s="}"}this.token(n),t.length&&(this.space(),this.printList(t,this.shouldPrintTrailingComma(s),!0,!0),this.space()),this.token(s)},t.RegExpLiteral=function(e){this.word(`/${e.pattern}/${e.flags}`)},t.SpreadElement=t.RestElement=function(e){this.token("..."),this.print(e.argument)},t.StringLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.token(t);const n=i(e.value,this.format.jsescOption);this.token(n)},t.TopicReference=function(){const{topicToken:e}=this.format;if(!c.has(e)){const t=JSON.stringify(e),n=Array.from(c,(e=>JSON.stringify(e)));throw new Error(`The "topicToken" generator option must be one of ${n.join(", ")} (${t} received instead).`)}this.token(e)},t.TupleExpression=function(e){const t=e.elements,n=t.length;let s,i;if("bar"===this.format.recordAndTupleSyntaxType)s="[|",i="|]";else{if("hash"!==this.format.recordAndTupleSyntaxType)throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);s="#[",i="]"}this.token(s);for(let e=0;e<t.length;e++){const s=t[e];s&&(e>0&&this.space(),this.print(s),(e<n-1||this.shouldPrintTrailingComma(i))&&this.token(",",!1,e))}this.token(i)},t._getRawIdentifier=function(e){if(e===a)return l;a=e;const{name:t}=e,n=this.tokenMap.find(e,(e=>e.value===t));return n?(l=this._originalCode.slice(n.start,n.end),l):l=e.name};var s=n(58135),i=n(18398);const{isAssignmentPattern:r,isIdentifier:o}=s;let a=null,l="";const c=new Set(["^^","@@","^","%","#"])},32670:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SHOULD_STOP=t.SHOULD_SKIP=t.REMOVED=void 0;var s=n(44057),i=n(97743),r=n(80004),o=n(54683),a=n(58135),l=a,c=n(56266),u=n(2235),h=n(90157),f=n(83810),p=n(94834),d=n(80366),m=n(25460),g=n(74145),y=n(44537),b=y,C=n(7946),v=n(11064),S=n(53476),E=n(68418),x=n(37494);const{validate:k}=a,w=i("babel"),T=(t.REMOVED=1,t.SHOULD_STOP=2,t.SHOULD_SKIP=4,t.default=class e{constructor(e,t){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this._store=null,this.parent=t,this.hub=e,this.data=null,this.context=null,this.scope=null}get removed(){return(1&this._traverseFlags)>0}set removed(e){e?this._traverseFlags|=1:this._traverseFlags&=-2}get shouldStop(){return(2&this._traverseFlags)>0}set shouldStop(e){e?this._traverseFlags|=2:this._traverseFlags&=-3}get shouldSkip(){return(4&this._traverseFlags)>0}set shouldSkip(e){e?this._traverseFlags|=4:this._traverseFlags&=-5}static get({hub:t,parentPath:n,parent:s,container:i,listKey:r,key:o}){if(!t&&n&&(t=n.hub),!s)throw new Error("To get a node path the parent needs to exist");const a=i[o],l=c.getOrCreateCachedPaths(s,n);let u=l.get(a);return u||(u=new e(t,s),a&&l.set(a,u)),y.setup.call(u,n,i,r,o),u}getScope(e){return this.isScope()?new o.default(this):e}setData(e,t){return null==this.data&&(this.data=Object.create(null)),this.data[e]=t}getData(e,t){null==this.data&&(this.data=Object.create(null));let n=this.data[e];return void 0===n&&void 0!==t&&(n=this.data[e]=t),n}hasNode(){return null!=this.node}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,r.default)(this.node,e,this.scope,t,this)}set(e,t){k(this.node,e,t),this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let n=t.key;t.inList&&(n=`${t.listKey}[${n}]`),e.unshift(n)}while(t=t.parentPath);return e.join(".")}debug(e){w.enabled&&w(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){e||(this.listKey=null)}get parentKey(){return this.listKey||this.key}}),_={findParent:h.findParent,find:h.find,getFunctionParent:h.getFunctionParent,getStatementParent:h.getStatementParent,getEarliestCommonAncestorFrom:h.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:h.getDeepestCommonAncestorFrom,getAncestry:h.getAncestry,isAncestor:h.isAncestor,isDescendant:h.isDescendant,inType:h.inType,getTypeAnnotation:f.getTypeAnnotation,isBaseType:f.isBaseType,couldBeBaseType:f.couldBeBaseType,baseTypeStrictlyMatches:f.baseTypeStrictlyMatches,isGenericType:f.isGenericType,replaceWithMultiple:p.replaceWithMultiple,replaceWithSourceString:p.replaceWithSourceString,replaceWith:p.replaceWith,replaceExpressionWithStatements:p.replaceExpressionWithStatements,replaceInline:p.replaceInline,evaluateTruthy:d.evaluateTruthy,evaluate:d.evaluate,toComputedKey:m.toComputedKey,ensureBlock:m.ensureBlock,unwrapFunctionEnvironment:m.unwrapFunctionEnvironment,arrowFunctionToExpression:m.arrowFunctionToExpression,splitExportDeclaration:m.splitExportDeclaration,ensureFunctionName:m.ensureFunctionName,matchesPattern:g.matchesPattern,isStatic:g.isStatic,isNodeType:g.isNodeType,canHaveVariableDeclarationOrExpression:g.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:g.canSwapBetweenExpressionAndStatement,isCompletionRecord:g.isCompletionRecord,isStatementOrBlock:g.isStatementOrBlock,referencesImport:g.referencesImport,getSource:g.getSource,willIMaybeExecuteBefore:g.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:g._guessExecutionStatusRelativeTo,resolve:g.resolve,isConstantExpression:g.isConstantExpression,isInStrictMode:g.isInStrictMode,isDenylisted:b.isDenylisted,visit:b.visit,skip:b.skip,skipKey:b.skipKey,stop:b.stop,setContext:b.setContext,requeue:b.requeue,requeueComputedKeyAndDecorators:b.requeueComputedKeyAndDecorators,remove:C.remove,insertBefore:v.insertBefore,insertAfter:v.insertAfter,unshiftContainer:v.unshiftContainer,pushContainer:v.pushContainer,getOpposite:S.getOpposite,getCompletionRecords:S.getCompletionRecords,getSibling:S.getSibling,getPrevSibling:S.getPrevSibling,getNextSibling:S.getNextSibling,getAllNextSiblings:S.getAllNextSiblings,getAllPrevSiblings:S.getAllPrevSiblings,get:S.get,getAssignmentIdentifiers:S.getAssignmentIdentifiers,getBindingIdentifiers:S.getBindingIdentifiers,getOuterBindingIdentifiers:S.getOuterBindingIdentifiers,getBindingIdentifierPaths:S.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:S.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:E.shareCommentsWithSiblings,addComment:E.addComment,addComments:E.addComments};Object.assign(T.prototype,_),T.prototype.arrowFunctionToShadowed=m[String("arrowFunctionToShadowed")],Object.assign(T.prototype,{has:g[String("has")],is:g[String("is")],isnt:g[String("isnt")],equals:g[String("equals")],hoist:v[String("hoist")],updateSiblingKeys:v.updateSiblingKeys,call:b.call,isBlacklisted:b[String("isBlacklisted")],setScope:b.setScope,resync:b.resync,popContext:b.popContext,pushContext:b.pushContext,setup:b.setup,setKey:b.setKey}),T.prototype._guessExecutionStatusRelativeToDifferentFunctions=g._guessExecutionStatusRelativeTo,T.prototype._guessExecutionStatusRelativeToDifferentFunctions=g._guessExecutionStatusRelativeTo,Object.assign(T.prototype,{_getTypeAnnotation:f._getTypeAnnotation,_replaceWith:p._replaceWith,_resolve:g._resolve,_call:b._call,_resyncParent:b._resyncParent,_resyncKey:b._resyncKey,_resyncList:b._resyncList,_resyncRemoved:b._resyncRemoved,_getQueueContexts:b._getQueueContexts,_removeFromScope:C._removeFromScope,_callRemovalHooks:C._callRemovalHooks,_remove:C._remove,_markRemoved:C._markRemoved,_assertUnremoved:C._assertUnremoved,_containerInsert:v._containerInsert,_containerInsertBefore:v._containerInsertBefore,_containerInsertAfter:v._containerInsertAfter,_verifyNodeList:v._verifyNodeList,_getKey:S._getKey,_getPattern:S._getPattern});for(const e of l.TYPES){const t=`is${e}`,n=l[t];T.prototype[t]=function(e){return n(this.node,e)},T.prototype[`assert${e}`]=function(t){if(!n(this.node,t))throw new TypeError(`Expected node path of type ${e}`)}}Object.assign(T.prototype,x);for(const e of Object.keys(s))"_"!==e[0]&&(l.TYPES.includes(e)||l.TYPES.push(e))},37494:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBindingIdentifier=function(){const{node:e,parent:t}=this,n=this.parentPath.parent;return h(e)&&i(e,t,n)},t.isBlockScoped=function(){return r(this.node)},t.isExpression=function(){return this.isIdentifier()?this.isReferencedIdentifier():a(this.node)},t.isFlow=function(){const{node:e}=this;return!(!l(e)&&(f(e)?"type"!==e.importKind&&"typeof"!==e.importKind:o(e)?"type"!==e.exportKind:!p(e)||"type"!==e.importKind&&"typeof"!==e.importKind))},t.isForAwaitStatement=function(){return k(this.node,{await:!0})},t.isGenerated=function(){return!this.isUser()},t.isPure=function(e){return this.scope.isPure(this.node,e)},t.isReferenced=function(){return b(this.node,this.parent)},t.isReferencedIdentifier=function(e){const{node:t,parent:n}=this;if(!h(t,e)&&!m(n,e)){if(!d(t,e))return!1;if(w(t.name))return!1}return b(t,n,this.parentPath.parent)},t.isReferencedMemberExpression=function(){const{node:e,parent:t}=this;return g(e)&&b(e,t)},t.isRestProperty=function(){var e;return y(this.node)&&(null==(e=this.parentPath)?void 0:e.isObjectPattern())},t.isScope=function(){return C(this.node,this.parent)},t.isSpreadProperty=function(){var e;return y(this.node)&&(null==(e=this.parentPath)?void 0:e.isObjectExpression())},t.isStatement=function(){const{node:e,parent:t}=this;if(v(e)){if(E(e)){if(u(t,{left:e}))return!1;if(c(t,{init:e}))return!1}return!0}return!1},t.isUser=function(){return this.node&&!!this.node.loc},t.isVar=function(){return S(this.node)};var s=n(58135);const{isBinding:i,isBlockScoped:r,isExportDeclaration:o,isExpression:a,isFlow:l,isForStatement:c,isForXStatement:u,isIdentifier:h,isImportDeclaration:f,isImportSpecifier:p,isJSXIdentifier:d,isJSXMemberExpression:m,isMemberExpression:g,isRestElement:y,isReferenced:b,isScope:C,isStatement:v,isVar:S,isVariableDeclaration:E,react:x,isForOfStatement:k}=s,{isCompatTag:w}=x;t.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},t.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}},39813:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statements=t.statement=t.smart=t.program=t.expression=void 0;var s=n(58135);const{assertExpressionStatement:i}=s;function r(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}t.smart=r((e=>e.length>1?e:e[0])),t.statements=r((e=>e)),t.statement=r((e=>{if(0===e.length)throw new Error("Found nothing to return.");if(e.length>1)throw new Error("Found multiple statements but wanted one");return e[0]}));const o=t.expression={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(0===o.unwrap(e).start)throw new Error("Parse result included parens.")},unwrap:({program:e})=>{const[t]=e.body;return i(t),t.expression}};t.program={code:e=>e,validate:()=>{},unwrap:e=>e.program}},39919:(e,t)=>{"use strict";function n(e,t){e.tokenMap&&t.start&&t.end?e.tokenMap.endMatches(t,",")?e.token(","):e.tokenMap.endMatches(t,";")&&e.semicolon():e.semicolon()}function s(e,t,n){var s;let i=0;null!=(s=e.tokenMap)&&s.startMatches(t,n)&&(i=1,e.token(n)),e.printJoin(t.types,void 0,void 0,(function(e){this.space(),this.token(n,null,e+i),this.space()}))}function i(e,t){!0!==t&&e.token(t)}function r(e){o(this,e,(()=>{var t;return this.printList(e.members,null==(t=this.shouldPrintTrailingComma("}"))||t,!0,!0)}))}function o(e,t,n){e.token("{");const s=e.enterDelimited();n(),s(),e.rightBrace(t)}function a(e,t,n){var s;const i=new Set;for(const e of n)e&&i.add(e);null==(s=e.tokenMap)||s.find(t,(t=>{if(i.has(t.value))return e.token(t.value),e.space(),i.delete(t.value),0===i.size}));for(const t of i)e.word(t),e.space()}Object.defineProperty(t,"__esModule",{value:!0}),t.TSAnyKeyword=function(){this.word("any")},t.TSArrayType=function(e){this.print(e.elementType,!0),this.tokenChar(91),this.tokenChar(93)},t.TSSatisfiesExpression=t.TSAsExpression=function(e){const{type:t,expression:n,typeAnnotation:s}=e;this.print(n,!0),this.space(),this.word("TSAsExpression"===t?"as":"satisfies"),this.space(),this.print(s)},t.TSBigIntKeyword=function(){this.word("bigint")},t.TSBooleanKeyword=function(){this.word("boolean")},t.TSCallSignatureDeclaration=function(e){this.tsPrintSignatureDeclarationBase(e),n(this,e)},t.TSInterfaceHeritage=t.TSClassImplements=function(e){this.print(e.expression),this.print(e.typeArguments)},t.TSConditionalType=function(e){this.print(e.checkType),this.space(),this.word("extends"),this.space(),this.print(e.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(e.trueType),this.space(),this.tokenChar(58),this.space(),this.print(e.falseType)},t.TSConstructSignatureDeclaration=function(e){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(e),n(this,e)},t.TSConstructorType=function(e){e.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(e)},t.TSDeclareFunction=function(e,t){e.declare&&(this.word("declare"),this.space()),this._functionHead(e,t),this.semicolon()},t.TSDeclareMethod=function(e){this._classMethodHead(e),this.semicolon()},t.TSEnumBody=r,t.TSEnumDeclaration=function(e){const{declare:t,const:n,id:s}=e;t&&(this.word("declare"),this.space()),n&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(s),this.space(),r.call(this,e)},t.TSEnumMember=function(e){const{id:t,initializer:n}=e;this.print(t),n&&(this.space(),this.tokenChar(61),this.space(),this.print(n))},t.TSExportAssignment=function(e){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(e.expression),this.semicolon()},t.TSExternalModuleReference=function(e){this.token("require("),this.print(e.expression),this.tokenChar(41)},t.TSFunctionType=function(e){this.tsPrintFunctionOrConstructorType(e)},t.TSImportEqualsDeclaration=function(e){const{id:t,moduleReference:n}=e;e.isExport&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(t),this.space(),this.tokenChar(61),this.space(),this.print(n),this.semicolon()},t.TSImportType=function(e){const{argument:t,qualifier:n,options:s}=e;this.word("import"),this.tokenChar(40),this.print(t),s&&(this.tokenChar(44),this.print(s)),this.tokenChar(41),n&&(this.tokenChar(46),this.print(n));const i=e.typeParameters;i&&this.print(i)},t.TSIndexSignature=function(e){const{readonly:t,static:s}=e;s&&(this.word("static"),this.space()),t&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(e.parameters,"]"),this.print(e.typeAnnotation),n(this,e)},t.TSIndexedAccessType=function(e){this.print(e.objectType,!0),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)},t.TSInferType=function(e){this.word("infer"),this.print(e.typeParameter)},t.TSInstantiationExpression=function(e){this.print(e.expression),this.print(e.typeParameters)},t.TSInterfaceBody=function(e){o(this,e,(()=>this.printJoin(e.body,!0,!0)))},t.TSInterfaceDeclaration=function(e){const{declare:t,id:n,typeParameters:s,extends:i,body:r}=e;t&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(n),this.print(s),null!=i&&i.length&&(this.space(),this.word("extends"),this.space(),this.printList(i)),this.space(),this.print(r)},t.TSIntersectionType=function(e){s(this,e,"&")},t.TSIntrinsicKeyword=function(){this.word("intrinsic")},t.TSLiteralType=function(e){this.print(e.literal)},t.TSMappedType=function(e){const{nameType:t,optional:n,readonly:s,typeAnnotation:r}=e;this.tokenChar(123);const o=this.enterDelimited();this.space(),s&&(i(this,s),this.word("readonly"),this.space()),this.tokenChar(91),this.word(e.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(e.typeParameter.constraint),t&&(this.space(),this.word("as"),this.space(),this.print(t)),this.tokenChar(93),n&&(i(this,n),this.tokenChar(63)),r&&(this.tokenChar(58),this.space(),this.print(r)),this.space(),o(),this.tokenChar(125)},t.TSMethodSignature=function(e){const{kind:t}=e;"set"!==t&&"get"!==t||(this.word(t),this.space()),this.tsPrintPropertyOrMethodName(e),this.tsPrintSignatureDeclarationBase(e),n(this,e)},t.TSModuleBlock=function(e){o(this,e,(()=>this.printSequence(e.body,!0)))},t.TSModuleDeclaration=function(e){const{declare:t,id:n,kind:s}=e;t&&(this.word("declare"),this.space());{if(e.global||(this.word(null!=s?s:"Identifier"===n.type?"namespace":"module"),this.space()),this.print(n),!e.body)return void this.semicolon();let t=e.body;for(;"TSModuleDeclaration"===t.type;)this.tokenChar(46),this.print(t.id),t=t.body;this.space(),this.print(t)}},t.TSNamedTupleMember=function(e){this.print(e.label),e.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(e.elementType)},t.TSNamespaceExportDeclaration=function(e){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(e.id),this.semicolon()},t.TSNeverKeyword=function(){this.word("never")},t.TSNonNullExpression=function(e){this.print(e.expression),this.tokenChar(33)},t.TSNullKeyword=function(){this.word("null")},t.TSNumberKeyword=function(){this.word("number")},t.TSObjectKeyword=function(){this.word("object")},t.TSOptionalType=function(e){this.print(e.typeAnnotation),this.tokenChar(63)},t.TSParameterProperty=function(e){e.accessibility&&(this.word(e.accessibility),this.space()),e.readonly&&(this.word("readonly"),this.space()),this._param(e.parameter)},t.TSParenthesizedType=function(e){this.tokenChar(40),this.print(e.typeAnnotation),this.tokenChar(41)},t.TSPropertySignature=function(e){const{readonly:t}=e;t&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(e),this.print(e.typeAnnotation),n(this,e)},t.TSQualifiedName=function(e){this.print(e.left),this.tokenChar(46),this.print(e.right)},t.TSRestType=function(e){this.token("..."),this.print(e.typeAnnotation)},t.TSStringKeyword=function(){this.word("string")},t.TSSymbolKeyword=function(){this.word("symbol")},t.TSTemplateLiteralType=function(e){this._printTemplate(e,e.types)},t.TSThisType=function(){this.word("this")},t.TSTupleType=function(e){this.tokenChar(91),this.printList(e.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)},t.TSTypeAliasDeclaration=function(e){const{declare:t,id:n,typeParameters:s,typeAnnotation:i}=e;t&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(n),this.print(s),this.space(),this.tokenChar(61),this.space(),this.print(i),this.semicolon()},t.TSTypeAnnotation=function(e,t){this.token("TSFunctionType"!==t.type&&"TSConstructorType"!==t.type||t.typeAnnotation!==e?":":"=>"),this.space(),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)},t.TSTypeAssertion=function(e){const{typeAnnotation:t,expression:n}=e;this.tokenChar(60),this.print(t),this.tokenChar(62),this.space(),this.print(n)},t.TSTypeLiteral=function(e){o(this,e,(()=>this.printJoin(e.members,!0,!0)))},t.TSTypeOperator=function(e){this.word(e.operator),this.space(),this.print(e.typeAnnotation)},t.TSTypeParameter=function(e){e.const&&(this.word("const"),this.space()),e.in&&(this.word("in"),this.space()),e.out&&(this.word("out"),this.space()),this.word(e.name),e.constraint&&(this.space(),this.word("extends"),this.space(),this.print(e.constraint)),e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default))},t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=function(e,t){this.tokenChar(60);let n="ArrowFunctionExpression"===t.type&&1===e.params.length;this.tokenMap&&null!=e.start&&null!=e.end&&(n&&(n=!!this.tokenMap.find(e,(e=>this.tokenMap.matchesOriginal(e,",")))),n||(n=this.shouldPrintTrailingComma(">"))),this.printList(e.params,n),this.tokenChar(62)},t.TSTypePredicate=function(e){e.asserts&&(this.word("asserts"),this.space()),this.print(e.parameterName),e.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(e.typeAnnotation.typeAnnotation))},t.TSTypeQuery=function(e){this.word("typeof"),this.space(),this.print(e.exprName);const t=e.typeParameters;t&&this.print(t)},t.TSTypeReference=function(e){const t=e.typeParameters;this.print(e.typeName,!!t),this.print(t)},t.TSUndefinedKeyword=function(){this.word("undefined")},t.TSUnionType=function(e){s(this,e,"|")},t.TSUnknownKeyword=function(){this.word("unknown")},t.TSVoidKeyword=function(){this.word("void")},t.tsPrintClassMemberModifiers=function(e){const t="ClassPrivateProperty"===e.type,n="ClassAccessorProperty"===e.type||"ClassProperty"===e.type;a(this,e,[n&&e.declare&&"declare",!t&&e.accessibility]),e.static&&(this.word("static"),this.space()),a(this,e,[!t&&e.abstract&&"abstract",!t&&e.override&&"override",(n||t)&&e.readonly&&"readonly"])},t.tsPrintFunctionOrConstructorType=function(e){const{typeParameters:t}=e,n=e.parameters;this.print(t),this.tokenChar(40),this._parameters(n,")"),this.space();const s=e.typeAnnotation;this.print(s)},t.tsPrintPropertyOrMethodName=function(e){e.computed&&this.tokenChar(91),this.print(e.key),e.computed&&this.tokenChar(93),e.optional&&this.tokenChar(63)},t.tsPrintSignatureDeclarationBase=function(e){const{typeParameters:t}=e,n=e.parameters;this.print(t),this.tokenChar(40),this._parameters(n,")");const s=e.typeAnnotation;this.print(s)}},41199:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){let o;return t=e.code(t),a=>{const l=(0,s.normalizeReplacements)(a);return o||(o=(0,i.default)(e,t,n)),e.unwrap((0,r.default)(o,l))}};var s=n(95838),i=n(4131),r=n(72064)},41969:function(e,t,n){!function(e,t,n){"use strict";function s(e,t){return t&&!t.endsWith("/")&&(t+="/"),n(e,t)}function i(e,t){for(let n=t;n<e.length;n++)if(!r(e[n]))return n;return e.length}function r(e){for(let t=1;t<e.length;t++)if(e[t][0]<e[t-1][0])return!1;return!0}function o(e,t){return t||(e=e.slice()),e.sort(a)}function a(e,t){return e[0]-t[0]}let l=!1;function c(e,t,n){for(let s=n+1;s<e.length&&e[s][0]===t;n=s++);return n}function u(e,t,n){for(let s=n-1;s>=0&&e[s][0]===t;n=s--);return n}function h(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function f(e,t,n,s){const{lastKey:i,lastNeedle:r,lastIndex:o}=n;let a=0,c=e.length-1;if(s===i){if(t===r)return l=-1!==o&&e[o][0]===t,o;t>=r?a=-1===o?0:o:c=o}return n.lastKey=s,n.lastNeedle=t,n.lastIndex=function(e,t,n,s){for(;n<=s;){const i=n+(s-n>>1),r=e[i][0]-t;if(0===r)return l=!0,i;r<0?n=i+1:s=i-1}return l=!1,n-1}(e,t,a,c)}function p(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function d(){return{__proto__:null}}function m(e){return"string"==typeof e?JSON.parse(e):e}function g(e,t,n,s,i,r,o,a,l,c,u){const{sections:h}=e;for(let e=0;e<h.length;e++){const{map:f,offset:p}=h[e];let d=c,m=u;if(e+1<h.length){const t=h[e+1].offset;d=Math.min(c,a+t.line),d===c?m=Math.min(u,l+t.column):d<c&&(m=l+t.column)}y(f,t,n,s,i,r,o,a+p.line,l+p.column,d,m)}}function y(e,t,n,s,i,r,o,a,l,c,u){const h=m(e);if("sections"in h)return g(...arguments);const f=new E(h,t),p=s.length,d=r.length,y=k(f),{resolvedSources:v,sourcesContent:S,ignoreList:x}=f;if(b(s,v),b(r,f.names),S)b(i,S);else for(let e=0;e<v.length;e++)i.push(null);if(x)for(let e=0;e<x.length;e++)o.push(x[e]+p);for(let e=0;e<y.length;e++){const t=a+e;if(t>c)return;const s=C(n,t),i=0===e?l:0,r=y[e];for(let e=0;e<r.length;e++){const n=r[e],o=i+n[0];if(t===c&&o>=u)return;if(1===n.length){s.push([o]);continue}const a=p+n[1],l=n[2],h=n[3];s.push(4===n.length?[o,a,l,h]:[o,a,l,h,d+n[4]])}}}function b(e,t){for(let n=0;n<t.length;n++)e.push(t[n])}function C(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}const v="`line` must be greater than 0 (lines start at line 1)",S="`column` must be greater than or equal to 0 (columns start at column 0)";class E{constructor(e,t){const n="string"==typeof e;if(!n&&e._decodedMemo)return e;const r=n?JSON.parse(e):e,{version:a,file:l,names:c,sourceRoot:u,sources:h,sourcesContent:f}=r;this.version=a,this.file=l,this.names=c||[],this.sourceRoot=u,this.sources=h,this.sourcesContent=f,this.ignoreList=r.ignoreList||r.x_google_ignoreList||void 0;const p=s(u||"",function(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t));this.resolvedSources=h.map((e=>s(e||"",p)));const{mappings:d}=r;"string"==typeof d?(this._encoded=d,this._decoded=void 0):(this._encoded=void 0,this._decoded=function(e,t){const n=i(e,0);if(n===e.length)return e;t||(e=e.slice());for(let s=n;s<e.length;s=i(e,s+1))e[s]=o(e[s],t);return e}(d,n)),this._decodedMemo={lastKey:-1,lastNeedle:-1,lastIndex:-1},this._bySources=void 0,this._bySourceMemos=void 0}}function x(e){var n,s;return null!==(n=(s=e)._encoded)&&void 0!==n?n:s._encoded=t.encode(e._decoded)}function k(e){var n;return(n=e)._decoded||(n._decoded=t.decode(e._encoded))}function w(e,t){const{sources:n,resolvedSources:s}=e;let i=n.indexOf(t);return-1===i&&(i=s.indexOf(t)),i}function T(e,t){const n=new E(_(e,[]),t);return n._decoded=e.mappings,n}function _(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t,ignoreList:e.ignoreList||e.x_google_ignoreList}}function P(e,t,n,s){return{source:e,line:t,column:n,name:s}}function A(e,t){return{line:e,column:t}}function M(e,t,n,s,i){let r=f(e,s,t,n);return l?r=(-1===i?c:u)(e,s,r):-1===i&&r++,-1===r||r===e.length?-1:r}function I(e,t,n,s,i,r){var o;if(--n<0)throw new Error(v);if(s<0)throw new Error(S);const{sources:a,resolvedSources:m}=e;let g=a.indexOf(t);if(-1===g&&(g=m.indexOf(t)),-1===g)return r?[]:A(null,null);const y=((o=e)._bySources||(o._bySources=function(e,t){const n=t.map(d);for(let s=0;s<e.length;s++){const i=e[s];for(let e=0;e<i.length;e++){const r=i[e];if(1===r.length)continue;const o=r[1],a=r[2],l=r[3],u=n[o],h=u[a]||(u[a]=[]),d=t[o];let m=c(h,l,f(h,l,d,a));d.lastIndex=++m,p(h,m,[l,s,r[0]])}}return n}(k(e),e._bySourceMemos=a.map(h))))[g][n];if(null==y)return r?[]:A(null,null);const b=e._bySourceMemos[g];if(r)return function(e,t,n,s,i){let r=M(e,t,n,s,1);if(l||-1!==i||r++,-1===r||r===e.length)return[];const o=l?s:e[r][0];l||(r=u(e,o,r));const a=c(e,o,r),h=[];for(;r<=a;r++){const t=e[r];h.push(A(t[1]+1,t[2]))}return h}(y,b,n,s,i);const C=M(y,b,n,s,i);if(-1===C)return A(null,null);const E=y[C];return A(E[1]+1,E[2])}e.AnyMap=function(e,t){const n=m(e);if(!("sections"in n))return new E(n,t);const s=[],i=[],r=[],o=[],a=[];return g(n,t,s,i,r,o,a,0,0,1/0,1/0),T({version:3,file:n.file,names:o,sources:i,sourcesContent:r,mappings:s,ignoreList:a})},e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=-1,e.TraceMap=E,e.allGeneratedPositionsFor=function(e,t){const{source:n,line:s,column:i,bias:r}=t;return I(e,n,s,i,r||-1,!0)},e.decodedMap=function(e){return _(e,k(e))},e.decodedMappings=k,e.eachMapping=function(e,t){const n=k(e),{names:s,resolvedSources:i}=e;for(let e=0;e<n.length;e++){const r=n[e];for(let n=0;n<r.length;n++){const o=r[n],a=e+1,l=o[0];let c=null,u=null,h=null,f=null;1!==o.length&&(c=i[o[1]],u=o[2]+1,h=o[3]),5===o.length&&(f=s[o[4]]),t({generatedLine:a,generatedColumn:l,source:c,originalLine:u,originalColumn:h,name:f})}}},e.encodedMap=function(e){return _(e,x(e))},e.encodedMappings=x,e.generatedPositionFor=function(e,t){const{source:n,line:s,column:i,bias:r}=t;return I(e,n,s,i,r||1,!1)},e.isIgnored=function(e,t){const{ignoreList:n}=e;if(null==n)return!1;const s=w(e,t);return-1!==s&&n.includes(s)},e.originalPositionFor=function(e,t){let{line:n,column:s,bias:i}=t;if(n--,n<0)throw new Error(v);if(s<0)throw new Error(S);const r=k(e);if(n>=r.length)return P(null,null,null,null);const o=r[n],a=M(o,e._decodedMemo,n,s,i||1);if(-1===a)return P(null,null,null,null);const l=o[a];if(1===l.length)return P(null,null,null,null);const{names:c,resolvedSources:u}=e;return P(u[l[1]],l[2]+1,l[3],5===l.length?c[l[4]]:null)},e.presortedDecodedMap=T,e.sourceContentFor=function(e,t){const{sourcesContent:n}=e;if(null==n)return null;const s=w(e,t);return-1===s?null:n[s]},e.traceSegment=function(e,t,n){const s=k(e);if(t>=s.length)return null;const i=s[t],r=M(i,e._decodedMemo,t,n,1);return-1===r?null:i[r]}}(t,n(14017),n(98079))},44057:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Var=t.User=t.Statement=t.SpreadProperty=t.Scope=t.RestProperty=t.ReferencedMemberExpression=t.ReferencedIdentifier=t.Referenced=t.Pure=t.NumericLiteralTypeAnnotation=t.Generated=t.ForAwaitStatement=t.Flow=t.Expression=t.ExistentialTypeParam=t.BlockScoped=t.BindingIdentifier=void 0,t.ReferencedIdentifier=["Identifier","JSXIdentifier"],t.ReferencedMemberExpression=["MemberExpression"],t.BindingIdentifier=["Identifier"],t.Statement=["Statement"],t.Expression=["Expression"],t.Scope=["Scopable","Pattern"],t.Referenced=null,t.BlockScoped=null,t.Var=["VariableDeclaration"],t.User=null,t.Generated=null,t.Pure=null,t.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],t.RestProperty=["RestElement"],t.SpreadProperty=["RestElement"],t.ExistentialTypeParam=["ExistsTypeAnnotation"],t.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],t.ForAwaitStatement=["ForOfStatement"]},44537:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._call=l,t._getQueueContexts=function(){let e=this,t=this.contexts;for(;!t.length&&(e=e.parentPath,e);)t=e.contexts;return t},t._resyncKey=p,t._resyncList=d,t._resyncParent=f,t._resyncRemoved=function(){null!=this.key&&this.container&&this.container[this.key]===this.node||r._markRemoved.call(this)},t.call=a,t.isDenylisted=c,t.popContext=function(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)},t.pushContext=function(e){this.contexts.push(e),this.setContext(e)},t.requeue=function(e=this){if(e.removed)return;const t=this.contexts;for(const n of t)n.maybeQueue(e)},t.requeueComputedKeyAndDecorators=function(){const{context:e,node:t}=this;if(!o.isPrivate(t)&&t.computed&&e.maybeQueue(this.get("key")),t.decorators)for(const t of this.get("decorators"))e.maybeQueue(t)},t.resync=function(){this.removed||(f.call(this),d.call(this),p.call(this))},t.setContext=function(e){return null!=this.skipKeys&&(this.skipKeys={}),this._traverseFlags=0,e&&(this.context=e,this.state=e.state,this.opts=e.opts),h.call(this),this},t.setKey=m,t.setScope=h,t.setup=function(e,t,n,s){this.listKey=n,this.container=t,this.parentPath=e||this.parentPath,m.call(this,s)},t.skip=function(){this.shouldSkip=!0},t.skipKey=function(e){null==this.skipKeys&&(this.skipKeys={}),this.skipKeys[e]=!0},t.stop=function(){this._traverseFlags|=i.SHOULD_SKIP|i.SHOULD_STOP},t.visit=function(){var e,t;if(!this.node)return!1;if(this.isDenylisted())return!1;if(null!=(e=(t=this.opts).shouldSkip)&&e.call(t,this))return!1;const n=this.context;return this.shouldSkip||a.call(this,"enter")?(this.debug("Skip..."),this.shouldStop):(u(this,n),this.debug("Recursing into..."),this.shouldStop=(0,s.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),u(this,n),a.call(this,"exit"),this.shouldStop)};var s=n(51597),i=n(32670),r=n(7946),o=n(58135);function a(e){const t=this.opts;return this.debug(e),!(!this.node||!l.call(this,t[e]))||!!this.node&&l.call(this,null==(n=t[this.node.type])?void 0:n[e]);var n}function l(e){if(!e)return!1;for(const t of e){if(!t)continue;const e=this.node;if(!e)return!0;const n=t.call(this.state,this,this.state);if(n&&"object"==typeof n&&"function"==typeof n.then)throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(n)throw new Error(`Unexpected return value from visitor method ${t}`);if(this.node!==e)return!0;if(this._traverseFlags>0)return!0}return!1}function c(){var e;const t=null!=(e=this.opts.denylist)?e:this.opts.blacklist;return null==t?void 0:t.includes(this.node.type)}function u(e,t){e.context!==t&&(e.context=t,e.state=t.state,e.opts=t.opts)}function h(){var e,t;if(null!=(e=this.opts)&&e.noScope)return;let n,s=this.parentPath;for((("key"===this.key||"decorators"===this.listKey)&&s.isMethod()||"discriminant"===this.key&&s.isSwitchStatement())&&(s=s.parentPath);s&&!n;){var i;if(null!=(i=s.opts)&&i.noScope)return;n=s.scope,s=s.parentPath}this.scope=this.getScope(n),null==(t=this.scope)||t.init()}function f(){this.parentPath&&(this.parent=this.parentPath.node)}function p(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let e=0;e<this.container.length;e++)if(this.container[e]===this.node)return void m.call(this,e)}else for(const e of Object.keys(this.container))if(this.container[e]===this.node)return void m.call(this,e);this.key=null}}function d(){if(!this.parent||!this.inList)return;const e=this.parent[this.listKey];this.container!==e&&(this.container=e||null)}function m(e){var t;this.key=e,this.node=this.container[this.key],this.type=null==(t=this.node)?void 0:t.type}t.isBlacklisted=c},45584:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AssignmentExpression=function(e,t,n){return!(!v(n)||!h(e.left))||x(e,t)},t.Binary=S,t.BinaryExpression=function(e,t,n){return"in"===e.operator&&Boolean(n&i.TokenContext.forInOrInitHeadAccumulate)},t.ClassExpression=function(e,t,n){return Boolean(n&(i.TokenContext.expressionStatement|i.TokenContext.exportDefault))},t.ArrowFunctionExpression=t.ConditionalExpression=x,t.DoExpression=function(e,t,n){return!e.async&&Boolean(n&i.TokenContext.expressionStatement)},t.FunctionExpression=function(e,t,n){return Boolean(n&(i.TokenContext.expressionStatement|i.TokenContext.exportDefault))},t.FunctionTypeAnnotation=function(e,t,n){const s=t.type;return"UnionTypeAnnotation"===s||"IntersectionTypeAnnotation"===s||"ArrayTypeAnnotation"===s||Boolean(n&i.TokenContext.arrowFlowReturnType)},t.Identifier=function(e,t,n,s){var r;const o=t.type;if(null!=(r=e.extra)&&r.parenthesized&&"AssignmentExpression"===o&&t.left===e){const e=t.right.type;if(("FunctionExpression"===e||"ClassExpression"===e)&&null==t.right.id)return!0}return(!s||s(e)===e.name)&&("let"===e.name?!!((u(t,{object:e,computed:!0})||f(t,{object:e,computed:!0,optional:!1}))&&n&(i.TokenContext.expressionStatement|i.TokenContext.forInitHead|i.TokenContext.forInHead))||Boolean(n&i.TokenContext.forOfHead):"async"===e.name&&l(t,{left:e,await:!1}))},t.LogicalExpression=function(e,t){const n=t.type;if(y(n))return!0;if("LogicalExpression"!==n)return!1;switch(e.operator){case"||":return"??"===t.operator||"&&"===t.operator;case"&&":return"??"===t.operator;case"??":return"??"!==t.operator}},t.NullableTypeAnnotation=function(e,t){return r(t)},t.ObjectExpression=function(e,t,n){return v(n)},t.OptionalIndexedAccessType=function(e,t){return c(t)&&t.objectType===e},t.OptionalCallExpression=t.OptionalMemberExpression=function(e,t){return a(t)&&t.callee===e||u(t)&&t.object===e},t.SequenceExpression=function(e,t){const n=t.type;return!("SequenceExpression"===n||"ParenthesizedExpression"===n||"MemberExpression"===n&&t.property===e||"OptionalMemberExpression"===n&&t.property===e||"TemplateLiteral"===n)&&("ClassDeclaration"===n||("ForOfStatement"===n?t.right===e:"ExportDefaultDeclaration"===n||!d(t)))},t.TSSatisfiesExpression=t.TSAsExpression=function(e,t){return("AssignmentExpression"===t.type||"AssignmentPattern"===t.type)&&t.left===e||("BinaryExpression"===t.type&&("|"===t.operator||"&"===t.operator)&&e===t.left||S(e,t))},t.TSConditionalType=function(e,t){const n=t.type;return"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n||"TSTypeOperator"===n||"TSTypeParameter"===n||(("TSIntersectionType"===n||"TSUnionType"===n)&&t.types[0]===e||"TSConditionalType"===n&&(t.checkType===e||t.extendsType===e))},t.TSConstructorType=t.TSFunctionType=function(e,t){const n=t.type;return"TSIntersectionType"===n||"TSUnionType"===n||"TSTypeOperator"===n||"TSOptionalType"===n||"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSConditionalType"===n&&(t.checkType===e||t.extendsType===e)},t.TSInferType=function(e,t){const n=t.type;return"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n||!(!e.typeParameter.constraint||"TSIntersectionType"!==n&&"TSUnionType"!==n||t.types[0]!==e)},t.TSInstantiationExpression=function(e,t){const n=t.type;return("CallExpression"===n||"OptionalCallExpression"===n||"NewExpression"===n||"TSInstantiationExpression"===n)&&!!t.typeParameters},t.TSIntersectionType=function(e,t){const n=t.type;return"TSTypeOperator"===n||"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n},t.UnaryLike=t.TSTypeAssertion=E,t.TSTypeOperator=function(e,t){const n=t.type;return"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n},t.TSUnionType=function(e,t){const n=t.type;return"TSIntersectionType"===n||"TSTypeOperator"===n||"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n},t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=function(e,t){const n=t.type;return"ArrayTypeAnnotation"===n||"NullableTypeAnnotation"===n||"IntersectionTypeAnnotation"===n||"UnionTypeAnnotation"===n},t.UpdateExpression=function(e,t){return C(e,t)||b(e,t)},t.AwaitExpression=t.YieldExpression=function(e,t){const n=t.type;return"BinaryExpression"===n||"LogicalExpression"===n||"UnaryExpression"===n||"SpreadElement"===n||C(e,t)||"AwaitExpression"===n&&p(e)||"ConditionalExpression"===n&&e===t.test||b(e,t)||y(n)};var s=n(58135),i=n(21956);const{isArrayTypeAnnotation:r,isBinaryExpression:o,isCallExpression:a,isForOfStatement:l,isIndexedAccessType:c,isMemberExpression:u,isObjectPattern:h,isOptionalMemberExpression:f,isYieldExpression:p,isStatement:d}=s,m=new Map([["||",0],["??",0],["|>",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function g(e,t){return"BinaryExpression"===t||"LogicalExpression"===t?m.get(e.operator):"TSAsExpression"===t||"TSSatisfiesExpression"===t?m.get("in"):void 0}function y(e){return"TSAsExpression"===e||"TSSatisfiesExpression"===e||"TSTypeAssertion"===e}const b=(e,t)=>{const n=t.type;return("ClassDeclaration"===n||"ClassExpression"===n)&&t.superClass===e},C=(e,t)=>{const n=t.type;return("MemberExpression"===n||"OptionalMemberExpression"===n)&&t.object===e||("CallExpression"===n||"OptionalCallExpression"===n||"NewExpression"===n)&&t.callee===e||"TaggedTemplateExpression"===n&&t.tag===e||"TSNonNullExpression"===n};function v(e){return Boolean(e&(i.TokenContext.expressionStatement|i.TokenContext.arrowBody))}function S(e,t){const n=t.type;if("BinaryExpression"===e.type&&"**"===e.operator&&"BinaryExpression"===n&&"**"===t.operator)return t.left===e;if(b(e,t))return!0;if(C(e,t)||"UnaryExpression"===n||"SpreadElement"===n||"AwaitExpression"===n)return!0;const s=g(t,n);if(null!=s){const i=g(e,e.type);if(s===i&&"BinaryExpression"===n&&t.right===e||s>i)return!0}}function E(e,t){return C(e,t)||o(t)&&"**"===t.operator&&t.left===e||b(e,t)}function x(e,t){const n=t.type;return!!("UnaryExpression"===n||"SpreadElement"===n||"BinaryExpression"===n||"LogicalExpression"===n||"ConditionalExpression"===n&&t.test===e||"AwaitExpression"===n||y(n))||E(e,t)}},46026:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor({identifier:e,scope:t,path:n,kind:s}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=e,this.scope=t,this.path=n,this.kind=s,"var"!==s&&"hoisted"!==s||!function(e){const t=!e.isVariableDeclarator()||e.node.init;for(let{parentPath:n,key:s}=e;n;({parentPath:n,key:s}=n)){if(n.isFunctionParent())return!1;if("left"===s&&n.isForXStatement()||t&&"body"===s&&n.isLoop())return!0}return!1}(n)||this.reassign(n),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(e){this.constant=!1,this.constantViolations.includes(e)||this.constantViolations.push(e)}reference(e){this.referencePaths.includes(e)||(this.referenced=!0,this.references++,this.referencePaths.push(e))}dereference(){this.references--,this.referenced=!!this.references}}},47695:(e,t,n)=>{"use strict";n.d(t,{p:()=>h});const s=Symbol("Comlink.proxy"),i=Symbol("Comlink.endpoint"),r=Symbol("Comlink.releaseProxy"),o=Symbol("Comlink.finalizer"),a=Symbol("Comlink.thrown"),l=e=>"object"==typeof e&&null!==e||"function"==typeof e,c={canHandle:e=>l(e)&&e[s],serialize(e){const{port1:t,port2:n}=new MessageChannel;return h(e,t),[n,[n]]},deserialize:e=>(e.start(),function(e){const t=new Map;return e.addEventListener("message",(function(e){const{data:n}=e;if(!n||!n.id)return;const s=t.get(n.id);if(s)try{s(n)}finally{t.delete(n.id)}})),y(e,t,[],void 0)}(e))},u=new Map([["proxy",c],["throw",{canHandle:e=>l(e)&&a in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function h(e,t=globalThis,n=["*"]){t.addEventListener("message",(function i(r){if(!r||!r.data)return;if(!function(e,t){for(const n of e){if(t===n||"*"===n)return!0;if(n instanceof RegExp&&n.test(t))return!0}return!1}(n,r.origin))return void console.warn(`Invalid origin '${r.origin}' for comlink proxy`);const{id:l,type:c,path:u}=Object.assign({path:[]},r.data),p=(r.data.argumentList||[]).map(S);let d;try{const t=u.slice(0,-1).reduce(((e,t)=>e[t]),e),n=u.reduce(((e,t)=>e[t]),e);switch(c){case"GET":d=n;break;case"SET":t[u.slice(-1)[0]]=S(r.data.value),d=!0;break;case"APPLY":d=n.apply(t,p);break;case"CONSTRUCT":d=function(e){return Object.assign(e,{[s]:!0})}(new n(...p));break;case"ENDPOINT":{const{port1:t,port2:n}=new MessageChannel;h(e,n),d=function(e,t){return C.set(e,t),e}(t,[t])}break;case"RELEASE":d=void 0;break;default:return}}catch(e){d={value:e,[a]:0}}Promise.resolve(d).catch((e=>({value:e,[a]:0}))).then((n=>{const[s,r]=v(n);t.postMessage(Object.assign(Object.assign({},s),{id:l}),r),"RELEASE"===c&&(t.removeEventListener("message",i),f(t),o in e&&"function"==typeof e[o]&&e[o]())})).catch((e=>{const[n,s]=v({value:new TypeError("Unserializable return value"),[a]:0});t.postMessage(Object.assign(Object.assign({},n),{id:l}),s)}))})),t.start&&t.start()}function f(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function p(e){if(e)throw new Error("Proxy has been released and is not useable")}function d(e){return E(e,new Map,{type:"RELEASE"}).then((()=>{f(e)}))}const m=new WeakMap,g="FinalizationRegistry"in globalThis&&new FinalizationRegistry((e=>{const t=(m.get(e)||0)-1;m.set(e,t),0===t&&d(e)}));function y(e,t,n=[],s=function(){}){let o=!1;const a=new Proxy(s,{get(s,i){if(p(o),i===r)return()=>{!function(e){g&&g.unregister(e)}(a),d(e),t.clear(),o=!0};if("then"===i){if(0===n.length)return{then:()=>a};const s=E(e,t,{type:"GET",path:n.map((e=>e.toString()))}).then(S);return s.then.bind(s)}return y(e,t,[...n,i])},set(s,i,r){p(o);const[a,l]=v(r);return E(e,t,{type:"SET",path:[...n,i].map((e=>e.toString())),value:a},l).then(S)},apply(s,r,a){p(o);const l=n[n.length-1];if(l===i)return E(e,t,{type:"ENDPOINT"}).then(S);if("bind"===l)return y(e,t,n.slice(0,-1));const[c,u]=b(a);return E(e,t,{type:"APPLY",path:n.map((e=>e.toString())),argumentList:c},u).then(S)},construct(s,i){p(o);const[r,a]=b(i);return E(e,t,{type:"CONSTRUCT",path:n.map((e=>e.toString())),argumentList:r},a).then(S)}});return function(e,t){const n=(m.get(t)||0)+1;m.set(t,n),g&&g.register(e,t,e)}(a,e),a}function b(e){const t=e.map(v);return[t.map((e=>e[0])),(n=t.map((e=>e[1])),Array.prototype.concat.apply([],n))];var n}const C=new WeakMap;function v(e){for(const[t,n]of u)if(n.canHandle(e)){const[s,i]=n.serialize(e);return[{type:"HANDLER",name:t,value:s},i]}return[{type:"RAW",value:e},C.get(e)||[]]}function S(e){switch(e.type){case"HANDLER":return u.get(e.name).deserialize(e.value);case"RAW":return e.value}}function E(e,t,n,s){return new Promise((i=>{const r=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-");t.set(r,i),e.start&&e.start(),e.postMessage(Object.assign({id:r},n),s)}))}},50240:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statements=t.statement=t.smart=t.program=t.expression=t.default=void 0;var s=n(39813),i=n(10215);const r=t.smart=(0,i.default)(s.smart),o=t.statement=(0,i.default)(s.statement),a=t.statements=(0,i.default)(s.statements),l=t.expression=(0,i.default)(s.expression),c=t.program=(0,i.default)(s.program);t.default=Object.assign(r.bind(void 0),{smart:r,statement:o,statements:a,expression:l,program:c,ast:r.ast})},51597:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.traverseNode=function(e,t,n,i,o,a,l){const c=r[e.type];if(!c)return!1;const u=new s.default(n,t,i,o);if(l)return(null==a||!a[o.parentKey])&&u.visitQueue([o]);for(const t of c)if((null==a||!a[t])&&u.visit(e,t))return!0;return!1};var s=n(96647),i=(n(32670),n(58135));n(44537);const{VISITOR_KEYS:r}=i},52658:(e,t,n)=>{"use strict";e.exports=n(62949)},53476:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getKey=y,t._getPattern=b,t.get=function(e,t=!0){!0===t&&(t=this.context);const n=e.split(".");return 1===n.length?y.call(this,e,t):b.call(this,n,t)},t.getAllNextSiblings=function(){let e=this.key,t=this.getSibling(++e);const n=[];for(;t.node;)n.push(t),t=this.getSibling(++e);return n},t.getAllPrevSiblings=function(){let e=this.key,t=this.getSibling(--e);const n=[];for(;t.node;)n.push(t),t=this.getSibling(--e);return n},t.getAssignmentIdentifiers=function(){return r(this.node)},t.getBindingIdentifierPaths=function(e=!1,t=!1){const n=[this],s=Object.create(null);for(;n.length;){const i=n.shift();if(!i)continue;if(!i.node)continue;const r=o.keys[i.node.type];if(i.isIdentifier())e?(s[i.node.name]=s[i.node.name]||[]).push(i):s[i.node.name]=i;else if(i.isExportDeclaration()){const e=i.get("declaration");e.isDeclaration()&&n.push(e)}else{if(t){if(i.isFunctionDeclaration()){n.push(i.get("id"));continue}if(i.isFunctionExpression())continue}if(r)for(let e=0;e<r.length;e++){const t=r[e],s=i.get(t);Array.isArray(s)?n.push(...s):s.node&&n.push(s)}}}return s},t.getBindingIdentifiers=function(e){return o(this.node,e)},t.getCompletionRecords=function(e=!1){return g(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1,shouldPreserveBreak:e}).map((e=>e.path))},t.getNextSibling=function(){return this.getSibling(this.key+1)},t.getOpposite=function(){return"left"===this.key?this.getSibling("right"):"right"===this.key?this.getSibling("left"):null},t.getOuterBindingIdentifierPaths=function(e=!1){return this.getBindingIdentifierPaths(e,!0)},t.getOuterBindingIdentifiers=function(e){return a(this.node,e)},t.getPrevSibling=function(){return this.getSibling(this.key-1)},t.getSibling=function(e){return s.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)};var s=n(32670),i=n(58135);const{getAssignmentIdentifiers:r,getBindingIdentifiers:o,getOuterBindingIdentifiers:a,numericLiteral:l,unaryExpression:c}=i,u=0,h=1;function f(e,t,n){return e&&t.push(...g(e,n)),t}function p(e){e.forEach((e=>{e.type=h}))}function d(e,t){e.forEach((e=>{e.path.isBreakStatement({label:null})&&(t?e.path.replaceWith(c("void",l(0))):e.path.remove())}))}function m(e,t){const n=[];if(t.canHaveBreak){let s=[];for(let i=0;i<e.length;i++){const r=e[i],o=Object.assign({},t,{inCaseClause:!1});r.isBlockStatement()&&(t.inCaseClause||t.shouldPopulateBreak)?o.shouldPopulateBreak=!0:o.shouldPopulateBreak=!1;const a=g(r,o);if(a.length>0&&a.every((e=>e.type===h))){s.length>0&&a.every((e=>e.path.isBreakStatement({label:null})))?(p(s),n.push(...s),s.some((e=>e.path.isDeclaration()))&&(n.push(...a),t.shouldPreserveBreak||d(a,!0)),t.shouldPreserveBreak||d(a,!1)):(n.push(...a),t.shouldPopulateBreak||t.shouldPreserveBreak||d(a,!0));break}if(i===e.length-1)n.push(...a);else{s=[];for(let e=0;e<a.length;e++){const t=a[e];t.type===h&&n.push(t),t.type===u&&s.push(t)}}}}else if(e.length)for(let s=e.length-1;s>=0;s--){const i=g(e[s],t);if(i.length>1||1===i.length&&!i[0].path.isVariableDeclaration()&&!i[0].path.isEmptyStatement()){n.push(...i);break}}return n}function g(e,t){let n=[];if(e.isIfStatement())n=f(e.get("consequent"),n,t),n=f(e.get("alternate"),n,t);else{if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement())return f(e.get("body"),n,t);if(e.isProgram()||e.isBlockStatement())return m(e.get("body"),t);if(e.isFunction())return g(e.get("body"),t);if(e.isTryStatement())n=f(e.get("block"),n,t),n=f(e.get("handler"),n,t);else{if(e.isCatchClause())return f(e.get("body"),n,t);if(e.isSwitchStatement())return function(e,t,n){let s=[];for(let i=0;i<e.length;i++){const r=g(e[i],n),o=[],a=[];for(const e of r)e.type===u&&o.push(e),e.type===h&&a.push(e);o.length&&(s=o),t.push(...a)}return t.push(...s),t}(e.get("cases"),n,t);if(e.isSwitchCase())return m(e.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0,shouldPreserveBreak:t.shouldPreserveBreak});e.isBreakStatement()?n.push(function(e){return{type:h,path:e}}(e)):n.push(function(e){return{type:u,path:e}}(e))}}return n}function y(e,t){const n=this.node,i=n[e];return Array.isArray(i)?i.map(((r,o)=>s.default.get({listKey:e,parentPath:this,parent:n,container:i,key:o}).setContext(t))):s.default.get({parentPath:this,parent:n,container:n,key:e}).setContext(t)}function b(e,t){let n=this;for(const s of e)n="."===s?n.parentPath:Array.isArray(n)?n[s]:n.get(s,t);return n}},54683:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(58431),i=n(80004),r=n(46026),o=n(52658),a=n(58135),l=a,c=n(56266);const{assignmentExpression:u,callExpression:h,cloneNode:f,getBindingIdentifiers:p,identifier:d,isArrayExpression:m,isBinary:g,isCallExpression:y,isClass:b,isClassBody:C,isClassDeclaration:v,isExportAllDeclaration:S,isExportDefaultDeclaration:E,isExportNamedDeclaration:x,isFunctionDeclaration:k,isIdentifier:w,isImportDeclaration:T,isLiteral:_,isMemberExpression:P,isMethod:A,isModuleSpecifier:M,isNullLiteral:I,isObjectExpression:O,isProperty:F,isPureish:B,isRegExpLiteral:L,isSuper:D,isTaggedTemplateExpression:N,isTemplateLiteral:R,isThisExpression:j,isUnaryExpression:W,isVariableDeclaration:V,expressionStatement:U,matchesPattern:q,memberExpression:G,numericLiteral:H,toIdentifier:K,variableDeclaration:$,variableDeclarator:J,isRecordExpression:X,isTupleExpression:z,isObjectProperty:Y,isTopicReference:Q,isMetaProperty:Z,isPrivateName:ee,isExportDeclaration:te,buildUndefinedNode:ne,sequenceExpression:se}=a;function ie(e,t){switch(null==e?void 0:e.type){default:var n;if(T(e)||te(e))if((S(e)||x(e)||T(e))&&e.source)ie(e.source,t);else if((x(e)||T(e))&&null!=(n=e.specifiers)&&n.length)for(const n of e.specifiers)ie(n,t);else(E(e)||x(e))&&e.declaration&&ie(e.declaration,t);else M(e)?ie(e.local,t):!_(e)||I(e)||L(e)||R(e)||t.push(e.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":ie(e.object,t),ie(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":ie(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const n of e.properties)ie(n,t);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":ie(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":ie(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield"),ie(e.argument,t);break;case"AwaitExpression":t.push("await"),ie(e.argument,t);break;case"AssignmentExpression":ie(e.left,t);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":ie(e.id,t);break;case"ParenthesizedExpression":ie(e.expression,t);break;case"MetaProperty":ie(e.meta,t),ie(e.property,t);break;case"JSXElement":ie(e.openingElement,t);break;case"JSXOpeningElement":ie(e.name,t);break;case"JSXFragment":ie(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":ie(e.namespace,t),ie(e.name,t)}}function re(e){e.references=Object.create(null),e.uids=Object.create(null),e.bindings=Object.create(null),e.globals=Object.create(null)}var oe=Symbol.for("should not be considered a local binding");const ae={ForStatement(e){const t=e.get("init");if(t.isVar()){const{scope:n}=e;(n.getFunctionParent()||n.getProgramParent()).registerBinding("var",t)}},Declaration(e){e.isBlockScoped()||e.isImportDeclaration()||e.isExportDeclaration()||(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerDeclaration(e)},ImportDeclaration(e){e.scope.getBlockParent().registerDeclaration(e)},TSImportEqualsDeclaration(e){e.scope.getBlockParent().registerDeclaration(e)},ReferencedIdentifier(e,t){l.isTSQualifiedName(e.parent)&&e.parent.right===e.node||e.parentPath.isTSImportEqualsDeclaration()||t.references.push(e)},ForXStatement(e,t){const n=e.get("left");if(n.isPattern()||n.isIdentifier())t.constantViolations.push(e);else if(n.isVar()){const{scope:t}=e;(t.getFunctionParent()||t.getProgramParent()).registerBinding("var",n)}},ExportDeclaration:{exit(e){const{node:t,scope:n}=e;if(S(t))return;const s=t.declaration;if(v(s)||k(s)){const t=s.id;if(!t)return;const i=n.getBinding(t.name);null==i||i.reference(e)}else if(V(s))for(const t of s.declarations)for(const s of Object.keys(p(t))){const t=n.getBinding(s);null==t||t.reference(e)}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){"delete"===e.node.operator&&t.constantViolations.push(e)},BlockScoped(e){let t=e.scope;if(t.path===e&&(t=t.parent),t.getBlockParent().registerDeclaration(e),e.isClassDeclaration()&&e.node.id){const t=e.node.id.name;e.scope.bindings[t]=e.scope.parent.getBinding(t)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){const t=e.get("params");for(const n of t)e.scope.registerBinding("param",n);e.isFunctionExpression()&&e.node.id&&!e.node.id[oe]&&e.scope.registerBinding("local",e.get("id"),e)},ClassExpression(e){e.node.id&&!e.node.id[oe]&&e.scope.registerBinding("local",e.get("id"),e)},TSTypeAnnotation(e){e.skip()}};let le,ce=0;class ue{constructor(e){this.uid=void 0,this.path=void 0,this.block=void 0,this.inited=void 0,this.labels=void 0,this.bindings=void 0,this.referencesSet=void 0,this.globals=void 0,this.uidsSet=void 0,this.data=void 0,this.crawling=void 0;const{node:t}=e,n=c.scope.get(t);if((null==n?void 0:n.path)===e)return n;c.scope.set(t,this),this.uid=ce++,this.block=t,this.path=e,this.labels=new Map,this.inited=!1,Object.defineProperties(this,{references:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)},uids:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)}})}get parent(){var e;let t,n=this.path;do{var s;const e="key"===n.key||"decorators"===n.listKey;n=n.parentPath,e&&n.isMethod()&&(n=n.parentPath),null!=(s=n)&&s.isScope()&&(t=n)}while(n&&!t);return null==(e=t)?void 0:e.scope}get references(){throw new Error("Scope#references is not available in Babel 8. Use Scope#referencesSet instead.")}get uids(){throw new Error("Scope#uids is not available in Babel 8. Use Scope#uidsSet instead.")}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);return this.push({id:t}),f(t)}generateUidIdentifier(e){return d(this.generateUid(e))}generateUid(e="temp"){let t;e=K(e).replace(/^_+/,"").replace(/\d+$/g,"");let n=0;do{t=`_${e}`,n>=11?t+=n-1:n>=9?t+=n-9:n>=1&&(t+=n+1),n++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const s=this.getProgramParent();return s.references[t]=!0,s.uids[t]=!0,t}generateUidBasedOnNode(e,t){const n=[];ie(e,n);let s=n.join("$");return s=s.replace(/^_/,"")||t||"ref",this.generateUid(s.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return d(this.generateUidBasedOnNode(e,t))}isStatic(e){if(j(e)||D(e)||Q(e))return!0;if(w(e)){const t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1}maybeGenerateMemoised(e,t){if(this.isStatic(e))return null;{const n=this.generateUidIdentifierBasedOnNode(e);return t?n:(this.push({id:n}),f(n))}}checkBlockScopedCollisions(e,t,n,s){if("param"!==t&&"local"!==e.kind&&("let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&"const"===t))throw this.path.hub.buildError(s,`Duplicate declaration "${n}"`,TypeError)}rename(e,t){const n=this.getBinding(e);n&&(t||(t=this.generateUidIdentifier(e).name),new s.default(n,e,t).rename(arguments[2]))}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const n=t.bindings[e];console.log(" -",e,{constant:n.constant,references:n.references,violations:n.constantViolations.length,kind:n.kind})}}while(t=t.parent);console.log(e)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement())this.registerLabel(e);else if(e.isFunctionDeclaration())this.registerBinding("hoisted",e.get("id"),e);else if(e.isVariableDeclaration()){const t=e.get("declarations"),{kind:n}=e.node;for(const e of t)this.registerBinding("using"===n||"await using"===n?"const":n,e)}else if(e.isClassDeclaration()){if(e.node.declare)return;this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t="type"===e.node.importKind||"typeof"===e.node.importKind,n=e.get("specifiers");for(const e of n){const n=t||e.isImportSpecifier()&&("type"===e.node.importKind||"typeof"===e.node.importKind);this.registerBinding(n?"unknown":"module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration())&&this.registerDeclaration(t)}else this.registerBinding("unknown",e)}buildUndefinedNode(){return ne()}registerConstantViolation(e){const t=e.getAssignmentIdentifiers();for(const s of Object.keys(t)){var n;null==(n=this.getBinding(s))||n.reassign(e)}}registerBinding(e,t,n=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const n=t.get("declarations");for(const t of n)this.registerBinding(e,t);return}const s=this.getProgramParent(),i=t.getOuterBindingIdentifiers(!0);for(const t of Object.keys(i)){s.references[t]=!0;for(const s of i[t]){const i=this.getOwnBinding(t);if(i){if(i.identifier===s)continue;this.checkBlockScopedCollisions(i,e,t,s)}i?i.reassign(n):this.bindings[t]=new r.default({identifier:s,scope:this,path:n,kind:e})}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){{let t=this;do{if(t.uids[e])return!0}while(t=t.parent);return!1}}hasGlobal(e){let t=this;do{if(t.globals[e])return!0}while(t=t.parent);return!1}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(w(e)){const n=this.getBinding(e.name);return!!n&&(!t||n.constant)}if(j(e)||Z(e)||Q(e)||ee(e))return!0;var n,s,i;if(b(e))return!(e.superClass&&!this.isPure(e.superClass,t))&&!((null==(n=e.decorators)?void 0:n.length)>0)&&this.isPure(e.body,t);if(C(e)){for(const n of e.body)if(!this.isPure(n,t))return!1;return!0}if(g(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(m(e)||z(e)){for(const n of e.elements)if(null!==n&&!this.isPure(n,t))return!1;return!0}if(O(e)||X(e)){for(const n of e.properties)if(!this.isPure(n,t))return!1;return!0}if(A(e))return!(e.computed&&!this.isPure(e.key,t)||(null==(s=e.decorators)?void 0:s.length)>0);if(F(e))return!(e.computed&&!this.isPure(e.key,t)||(null==(i=e.decorators)?void 0:i.length)>0||(Y(e)||e.static)&&null!==e.value&&!this.isPure(e.value,t));if(W(e))return this.isPure(e.argument,t);if(R(e)){for(const n of e.expressions)if(!this.isPure(n,t))return!1;return!0}return N(e)?q(e.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(e.quasi,t):P(e)?!e.computed&&w(e.object)&&"Symbol"===e.object.name&&w(e.property)&&"for"!==e.property.name&&!this.hasBinding("Symbol",{noGlobals:!0}):y(e)?q(e.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&1===e.arguments.length&&l.isStringLiteral(e.arguments[0]):B(e)}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const n=t.data[e];if(null!=n)return n}while(t=t.parent)}removeData(e){let t=this;do{null!=t.data[e]&&(t.data[e]=null)}while(t=t.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){const e=this.path;re(this),this.data=Object.create(null);let t=this;do{if(t.crawling)return;if(t.path.isProgram())break}while(t=t.parent);const n=t,s={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,le||(le=i.default.visitors.merge([{Scope(e){re(e.scope)}},ae])),"Program"!==e.type){for(const t of le.enter)t.call(s,e,s);const t=le[e.type];if(t)for(const n of t.enter)n.call(s,e,s)}e.traverse(le,s),this.crawling=!1;for(const e of s.assignments){const t=e.getAssignmentIdentifiers();for(const s of Object.keys(t))e.scope.getBinding(s)||n.addGlobal(t[s]);e.scope.registerConstantViolation(e)}for(const e of s.references){const t=e.scope.getBinding(e.node.name);t?t.reference(e):n.addGlobal(e.node)}for(const e of s.constantViolations)e.scope.registerConstantViolation(e)}push(e){let t=this.path;t.isPattern()?t=this.getPatternParent().path:t.isBlockStatement()||t.isProgram()||(t=this.getBlockParent().path),t.isSwitchStatement()&&(t=(this.getFunctionParent()||this.getProgramParent()).path);const{init:n,unique:s,kind:i="var",id:r}=e;if(!n&&!s&&("var"===i||"let"===i)&&t.isFunction()&&!t.node.name&&y(t.parent,{callee:t.node})&&t.parent.arguments.length<=t.node.params.length&&w(r))return t.pushContainer("params",r),void t.scope.registerBinding("param",t.get("params")[t.node.params.length-1]);(t.isLoop()||t.isCatchClause()||t.isFunction())&&(t.ensureBlock(),t=t.get("body"));const o=null==e._blockHoist?2:e._blockHoist,a=`declaration:${i}:${o}`;let l=!s&&t.getData(a);if(!l){const e=$(i,[]);e._blockHoist=o,[l]=t.unshiftContainer("body",[e]),s||t.setData(a,l)}const c=J(r,n),u=l.node.declarations.push(c);t.scope.registerBinding(i,l.get("declarations")[u-1])}getProgramParent(){let e=this;do{if(e.path.isProgram())return e}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent())return e}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent())return e}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let e=this;do{if(!e.path.isPattern())return e.getBlockParent()}while(e=e.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const n of Object.keys(t.bindings))n in e==0&&(e[n]=t.bindings[n]);t=t.parent}while(t);return e}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t,n=this;do{const i=n.getOwnBinding(e);var s;if(i){if(null==(s=t)||!s.isPattern()||"param"===i.kind||"local"===i.kind)return i}else if(!i&&"arguments"===e&&n.path.isFunction()&&!n.path.isArrowFunctionExpression())break;t=n.path}while(n=n.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return null==(t=this.getBinding(e))?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return null==t?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){if(!e)return!1;let n,s,i;"object"==typeof t?(n=t.noGlobals,s=t.noUids,i=t.upToScope):"boolean"==typeof t&&(n=t);let r=this;do{if(i===r)break;if(r.hasOwnBinding(e))return!0}while(r=r.parent);return!(s||!this.hasUid(e))||!(n||!ue.globals.includes(e))||!(n||!ue.contextVariables.includes(e))}parentHasBinding(e,t){var n;return null==(n=this.parent)?void 0:n.hasBinding(e,t)}moveBindingTo(e,t){const n=this.getBinding(e);n&&(n.scope.removeOwnBinding(e),n.scope=t,t.bindings[e]=n)}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;null==(t=this.getBinding(e))||t.scope.removeOwnBinding(e);{let t=this;do{t.uids[e]&&(t.uids[e]=!1)}while(t=t.parent)}}hoistVariables(e=e=>this.push({id:e})){this.crawl();const t=new Set;for(const n of Object.keys(this.bindings)){const s=this.bindings[n];if(!s)continue;const{path:i}=s;if(!i.isVariableDeclarator())continue;const{parent:r,parentPath:o}=i;if("var"!==r.kind||t.has(r))continue;let a;t.add(i.parent);const l=[];for(const t of r.declarations){null!=a||(a=t.id),t.init&&l.push(u("=",t.id,t.init));const n=Object.keys(p(t,!1,!0,!0));for(const s of n)e(d(s),null!=t.init)}if(o.parentPath.isFor({left:r}))o.replaceWith(a);else if(0===l.length)o.remove();else{const e=1===l.length?l[0]:se(l);o.parentPath.isForStatement({init:r})?o.replaceWith(e):o.replaceWith(U(e))}}}}t.default=ue,ue.globals=Object.keys(o.builtin),ue.contextVariables=["arguments","undefined","Infinity","NaN"],ue.prototype._renameFromMap=function(e,t,n,s){e[t]&&(e[n]=s,e[t]=null)},ue.prototype.traverse=function(e,t,n){(0,i.default)(e,t,this,n,this.path)},ue.prototype._generateUid=function(e,t){let n=e;return t>1&&(n+=t),`_${n}`},ue.prototype.toArray=function(e,t,n){if(w(e)){const t=this.getBinding(e.name);if(null!=t&&t.constant&&t.path.isGenericType("Array"))return e}if(m(e))return e;if(w(e,{name:"arguments"}))return h(G(G(G(d("Array"),d("prototype")),d("slice")),d("call")),[e]);let s;const i=[e];return!0===t?s="toConsumableArray":"number"==typeof t?(i.push(H(t)),s="slicedToArray"):s="toArray",n&&(i.unshift(this.path.hub.addHelper(s)),s="maybeArrayLike"),h(this.path.hub.addHelper(s),i)},ue.prototype.getAllBindingsOfKind=function(...e){const t=Object.create(null);for(const n of e){let e=this;do{for(const s of Object.keys(e.bindings)){const i=e.bindings[s];i.kind===n&&(t[s]=i)}e=e.parent}while(e)}return t},Object.defineProperties(ue.prototype,{parentBlock:{configurable:!0,enumerable:!0,get(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get(){return this.path.hub}}})},56266:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clear=function(){i(),r()},t.clearPath=i,t.clearScope=r,t.getCachedPaths=function(e){const{parent:t,parentPath:s}=e;return n.get(t)},t.getOrCreateCachedPaths=function(e,t){let s=n.get(e);return s||n.set(e,s=new Map),s},t.scope=t.path=void 0;let n=t.path=new WeakMap,s=t.scope=new WeakMap;function i(){t.path=n=new WeakMap}function r(){t.scope=s=new WeakMap}},56611:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(98952),i=n(96230),r=n(14007);const o=(e,t)=>n=>e(t(n));function a(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:o(o(e.white,e.bgRed),e.bold),gutter:e.gray,marker:o(e.red,e.bold),message:o(e.red,e.bold),reset:e.reset}}const l=a(s.createColors(!0)),c=a(s.createColors(!1));function u(e){return e?l:c}const h=new Set(["as","async","from","get","of","set"]),f=/\r\n|[\n\r\u2028\u2029]/,p=/^[()[\]{}]$/;let d;{const e=/^[a-z][\w-]*$/i,t=function(t,n,s){if("name"===t.type){if(r.isKeyword(t.value)||r.isStrictReservedWord(t.value,!0)||h.has(t.value))return"keyword";if(e.test(t.value)&&("<"===s[n-1]||"</"===s.slice(n-2,n)))return"jsxIdentifier";if(t.value[0]!==t.value[0].toLowerCase())return"capitalized"}return"punctuator"===t.type&&p.test(t.value)?"bracket":"invalid"!==t.type||"@"!==t.value&&"#"!==t.value?t.type:"punctuator"};d=function*(e){let n;for(;n=i.default.exec(e);){const s=i.matchToToken(n);yield{type:t(s,n.index,e),value:s.value}}}}function m(e){if(""===e)return"";const t=u(!0);let n="";for(const{type:s,value:i}of d(e))n+=s in t?i.split(f).map((e=>t[s](e))).join("\n"):i;return n}let g=!1;const y=/\r\n|[\n\r\u2028\u2029]/;function b(e,t,n={}){const i=n.forceColor||("object"!=typeof process||"0"!==process.env.FORCE_COLOR&&"false"!==process.env.FORCE_COLOR)&&s.isColorSupported&&n.highlightCode,r=u(i),o=e.split(y),{start:a,end:l,markerLines:c}=function(e,t,n){const s=Object.assign({column:0,line:-1},e.start),i=Object.assign({},s,e.end),{linesAbove:r=2,linesBelow:o=3}=n||{},a=s.line,l=s.column,c=i.line,u=i.column;let h=Math.max(a-(r+1),0),f=Math.min(t.length,c+o);-1===a&&(h=0),-1===c&&(f=t.length);const p=c-a,d={};if(p)for(let e=0;e<=p;e++){const n=e+a;if(l)if(0===e){const e=t[n-1].length;d[n]=[l,e-l+1]}else if(e===p)d[n]=[0,u];else{const s=t[n-e].length;d[n]=[0,s]}else d[n]=!0}else d[a]=l===u?!l||[l,0]:[l,u-l];return{start:h,end:f,markerLines:d}}(t,o,n),h=t.start&&"number"==typeof t.start.column,f=String(l).length;let p=(i?m(e):e).split(y,l).slice(a,l).map(((e,t)=>{const s=a+1+t,i=` ${` ${s}`.slice(-f)} |`,o=c[s],l=!c[s+1];if(o){let t="";if(Array.isArray(o)){const s=e.slice(0,Math.max(o[0]-1,0)).replace(/[^\t]/g," "),a=o[1]||1;t=["\n ",r.gutter(i.replace(/\d/g," "))," ",s,r.marker("^").repeat(a)].join(""),l&&n.message&&(t+=" "+r.message(n.message))}return[r.marker(">"),r.gutter(i),e.length>0?` ${e}`:"",t].join("")}return` ${r.gutter(i)}${e.length>0?` ${e}`:""}`})).join("\n");return n.message&&!h&&(p=`${" ".repeat(f+1)}${n.message}\n${p}`),i?r.reset(p):p}t.codeFrameColumns=b,t.default=function(e,t,n,s={}){if(!g){g=!0;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";process.emitWarning?process.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return b(e,{start:{column:n=Math.max(n,0),line:t}},s)},t.highlight=m},57734:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BreakStatement=function(e){this.word("break"),u(this,e.label)},t.CatchClause=function(e){this.word("catch"),this.space(),e.param&&(this.tokenChar(40),this.print(e.param),this.print(e.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(e.body)},t.ContinueStatement=function(e){this.word("continue"),u(this,e.label)},t.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},t.DoWhileStatement=function(e){this.word("do"),this.space(),this.print(e.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.semicolon()},t.ForOfStatement=t.ForInStatement=void 0,t.ForStatement=function(e){this.word("for"),this.space(),this.tokenChar(40);{const t=this.enterForStatementInit();this.print(e.init),t()}this.tokenChar(59),e.test&&(this.space(),this.print(e.test)),this.token(";",!1,1),e.update&&(this.space(),this.print(e.update)),this.tokenChar(41),this.printBlock(e)},t.IfStatement=function(e){this.word("if"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.space();const t=e.alternate&&o(l(e.consequent));t&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(e.consequent),t&&(this.dedent(),this.newline(),this.tokenChar(125)),e.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(e.alternate))},t.LabeledStatement=function(e){this.print(e.label),this.tokenChar(58),this.space(),this.print(e.body)},t.ReturnStatement=function(e){this.word("return"),u(this,e.argument)},t.SwitchCase=function(e){e.test?(this.word("case"),this.space(),this.print(e.test),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),e.consequent.length&&(this.newline(),this.printSequence(e.consequent,!0))},t.SwitchStatement=function(e){this.word("switch"),this.space(),this.tokenChar(40),this.print(e.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(e.cases,!0,void 0,(function(t,n){if(!t&&e.cases[e.cases.length-1]===n)return-1})),this.rightBrace(e)},t.ThrowStatement=function(e){this.word("throw"),u(this,e.argument)},t.TryStatement=function(e){this.word("try"),this.space(),this.print(e.block),this.space(),e.handlers?this.print(e.handlers[0]):this.print(e.handler),e.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(e.finalizer))},t.VariableDeclaration=function(e,t){e.declare&&(this.word("declare"),this.space());const{kind:n}=e;"await using"===n?(this.word("await"),this.space(),this.word("using",!0)):this.word(n,"using"===n),this.space();let s=!1;if(!i(t))for(const t of e.declarations)t.init&&(s=!0);if(this.printList(e.declarations,void 0,void 0,e.declarations.length>1,s?function(e){this.token(",",!1,e),this.newline()}:void 0),i(t))if(r(t)){if(t.init===e)return}else if(t.left===e)return;this.semicolon()},t.VariableDeclarator=function(e){this.print(e.id),e.definite&&this.tokenChar(33),this.print(e.id.typeAnnotation),e.init&&(this.space(),this.tokenChar(61),this.space(),this.print(e.init))},t.WhileStatement=function(e){this.word("while"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.printBlock(e)},t.WithStatement=function(e){this.word("with"),this.space(),this.tokenChar(40),this.print(e.object),this.tokenChar(41),this.printBlock(e)};var s=n(58135);const{isFor:i,isForStatement:r,isIfStatement:o,isStatement:a}=s;function l(e){const{body:t}=e;return!1===a(t)?e:l(t)}function c(e){this.word("for"),this.space();const t="ForOfStatement"===e.type;t&&e.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40);{const n=this.enterForXStatementInit(t);this.print(e.left),null==n||n()}this.space(),this.word(t?"of":"in"),this.space(),this.print(e.right),this.tokenChar(41),this.printBlock(e)}function u(e,t){t&&(e.space(),e.printTerminatorless(t)),e.semicolon()}t.ForInStatement=c,t.ForOfStatement=c},58121:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addDeprecatedGenerators=function(e){{const t={Noop(){},TSExpressionWithTypeArguments(e){this.print(e.expression),this.print(e.typeParameters)},DecimalLiteral(e){const t=this.getPossibleRaw(e);this.format.minified||void 0===t?this.word(e.value+"m"):this.word(t)}};Object.assign(e.prototype,t)}}},58231:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExportAllDeclaration=function(e){var t,n;this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(n=e.assertions)&&n.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,!1)):this.print(e.source),this.semicolon()},t.ExportDefaultDeclaration=function(e){f(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=i.TokenContext.exportDefault;const t=e.declaration;this.print(t),u(t)||this.semicolon()},t.ExportDefaultSpecifier=function(e){this.print(e.exported)},t.ExportNamedDeclaration=function(e){if(f(this,e),this.word("export"),this.space(),e.declaration){const t=e.declaration;this.print(t),u(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());const s=e.specifiers.slice(0);let i=!1;for(;;){const e=s[0];if(!o(e)&&!a(e))break;i=!0,this.print(s.shift()),s.length&&(this.tokenChar(44),this.space())}let r=!1;var t,n;(s.length||!s.length&&!i)&&(r=!0,this.tokenChar(123),s.length&&(this.space(),this.printList(s,this.shouldPrintTrailingComma("}")),this.space()),this.tokenChar(125)),e.source&&(this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(n=e.assertions)&&n.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,r)):this.print(e.source)),this.semicolon()}},t.ExportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported)},t.ExportSpecifier=function(e){"type"===e.exportKind&&(this.word("type"),this.space()),this.print(e.local),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported))},t.ImportAttribute=function(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)},t.ImportDeclaration=function(e){var t,n;this.word("import"),this.space();const s="type"===e.importKind||"typeof"===e.importKind;s?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):e.phase&&(this.noIndentInnerCommentsHere(),this.word(e.phase),this.space());const i=e.specifiers.slice(0),r=!!i.length;for(;r;){const e=i[0];if(!l(e)&&!c(e))break;this.print(i.shift()),i.length&&(this.tokenChar(44),this.space())}let o=!1;i.length?(o=!0,this.tokenChar(123),this.space(),this.printList(i,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125)):s&&!r&&(o=!0,this.tokenChar(123),this.tokenChar(125)),(r||s)&&(this.space(),this.word("from"),this.space()),null!=(t=e.attributes)&&t.length||null!=(n=e.assertions)&&n.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,o)):this.print(e.source),this.semicolon()},t.ImportDefaultSpecifier=function(e){this.print(e.local)},t.ImportExpression=function(e){this.word("import"),e.phase&&(this.tokenChar(46),this.word(e.phase)),this.tokenChar(40);const t=this.shouldPrintTrailingComma(")");this.print(e.source),null!=e.options&&(this.tokenChar(44),this.space(),this.print(e.options)),t&&this.tokenChar(44),this.rightParens(e)},t.ImportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local)},t.ImportSpecifier=function(e){"type"!==e.importKind&&"typeof"!==e.importKind||(this.word(e.importKind),this.space()),this.print(e.imported),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local))},t._printAttributes=function(e,t){var n;const{importAttributesKeyword:s}=this.format,{attributes:i,assertions:r}=e;i&&!s&&e.extra&&(e.extra.deprecatedAssertSyntax||e.extra.deprecatedWithLegacySyntax)&&!h&&(h=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));const o="assert"===s||!s&&r;if(this.word(o?"assert":"with"),this.space(),!o&&("with-legacy"===s||!s&&null!=(n=e.extra)&&n.deprecatedWithLegacySyntax))return void this.printList(i||r);const a=t?1:0;this.token("{",null,a),this.space(),this.printList(i||r,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",null,a)};var s=n(58135),i=n(21956);const{isClassDeclaration:r,isExportDefaultSpecifier:o,isExportNamespaceSpecifier:a,isImportDefaultSpecifier:l,isImportNamespaceSpecifier:c,isStatement:u}=s;let h=!1;function f(e,t){r(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators)}},58252:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUnionType=function(e){return e.every((e=>a(e)))?i?i(e):o(e):e.every((e=>l(e)))&&r?r(e):void 0};var s=n(58135);const{createFlowUnionType:i,createTSUnionType:r,createUnionTypeAnnotation:o,isFlowType:a,isTSType:l}=s},58431:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(58135),i=s,r=n(51597),o=n(95957),a=n(44537);const{getAssignmentIdentifiers:l}=i,c={ReferencedIdentifier({node:e},t){e.name===t.oldName&&(e.name=t.newName)},Scope(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||(e.skip(),e.isMethod()&&(e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():a.requeueComputedKeyAndDecorators.call(e)))},ObjectProperty({node:e,scope:t},n){const{name:s}=e.key;var i;!e.shorthand||s!==n.oldName&&s!==n.newName||t.getBindingIdentifier(s)!==n.binding.identifier||(e.shorthand=!1,null!=(i=e.extra)&&i.shorthand&&(e.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const n=e.isAssignmentExpression()?l(e.node):e.getOuterBindingIdentifiers();for(const e in n)e===t.oldName&&(n[e].name=t.newName)}};t.default=class{constructor(e,t,n){this.newName=n,this.oldName=t,this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(t.isExportDeclaration()){if(t.isExportDefaultDeclaration()){const{declaration:e}=t.node;if(s.isDeclaration(e)&&!e.id)return}t.isExportAllDeclaration()||t.splitExportDeclaration()}}maybeConvertFromClassFunctionDeclaration(e){return e}maybeConvertFromClassFunctionExpression(e){return e}rename(){const{binding:e,oldName:t,newName:n}=this,{scope:i,path:a}=e,l=a.find((e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()));l&&l.getOuterBindingIdentifiers()[t]===e.identifier&&this.maybeConvertFromExportDeclaration(l);const u=arguments[0]||i.block,h={discriminant:!0};s.isMethod(u)&&(u.computed&&(h.key=!0),s.isObjectMethod(u)||(h.decorators=!0)),(0,r.traverseNode)(u,(0,o.explode)(c),i,this,i.path,h),arguments[0]||(i.removeOwnBinding(t),i.bindings[n]=e,this.binding.identifier.name=n),l&&(this.maybeConvertFromClassFunctionDeclaration(a),this.maybeConvertFromClassFunctionExpression(a))}}},61593:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);return t?t.identifier.typeAnnotation?t.identifier.typeAnnotation:function(e,t,n){const s=[],r=[];let o=c(e,t,r);const a=h(e,t,n);if(a){const t=c(e,a.ifStatement);o=o.filter((e=>!t.includes(e))),s.push(a.typeAnnotation)}if(o.length){o.push(...r);for(const e of o)s.push(e.getTypeAnnotation())}if(s.length)return(0,i.createUnionType)(s)}(t,this,e.name):"undefined"===e.name?l():"NaN"===e.name||"Infinity"===e.name?a():void e.name};var s=n(58135),i=n(58252);const{BOOLEAN_NUMBER_BINARY_OPERATORS:r,createTypeAnnotationBasedOnTypeof:o,numberTypeAnnotation:a,voidTypeAnnotation:l}=s;function c(e,t,n){const s=e.constantViolations.slice();return s.unshift(e.path),s.filter((e=>{const s=(e=e.resolve())._guessExecutionStatusRelativeTo(t);return n&&"unknown"===s&&n.push(e),"before"===s}))}function u(e,t){const n=t.node.operator,s=t.get("right").resolve(),i=t.get("left").resolve();let l,c,u;if(i.isIdentifier({name:e})?l=s:s.isIdentifier({name:e})&&(l=i),l)return"==="===n?l.getTypeAnnotation():r.includes(n)?a():void 0;if("==="!==n&&"=="!==n)return;if(i.isUnaryExpression({operator:"typeof"})?(c=i,u=s):s.isUnaryExpression({operator:"typeof"})&&(c=s,u=i),!c)return;if(!c.get("argument").isIdentifier({name:e}))return;if(u=u.resolve(),!u.isLiteral())return;const h=u.node.value;return"string"==typeof h?o(h):void 0}function h(e,t,n){const s=function(e,t,n){let s;for(;s=t.parentPath;){if(s.isIfStatement()||s.isConditionalExpression()){if("test"===t.key)return;return s}if(s.isFunction()&&s.parentPath.scope.getBinding(n)!==e)return;t=s}}(e,t,n);if(!s)return;const r=[s.get("test")],o=[];for(let e=0;e<r.length;e++){const t=r[e];if(t.isLogicalExpression())"&&"===t.node.operator&&(r.push(t.get("left")),r.push(t.get("right")));else if(t.isBinaryExpression()){const e=u(n,t);e&&o.push(e)}}return o.length?{typeAnnotation:(0,i.createUnionType)(o),ifStatement:s}:h(e,s,n)}},62798:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(94403);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var i=n(6385);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var r=n(57734);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var o=n(19534);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var a=n(74564);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var l=n(58231);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var c=n(32387);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var u=n(93464);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var h=n(22005);Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}));var f=n(25083);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var p=n(39919);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}))},62949:e=>{"use strict";e.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')},68418:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addComment=function(e,t,n){i(this.node,e,t,n)},t.addComments=function(e,t){r(this.node,e,t)},t.shareCommentsWithSiblings=function(){if("string"==typeof this.key)return;const e=this.node;if(!e)return;const t=e.trailingComments,n=e.leadingComments;if(!t&&!n)return;const s=this.getSibling(this.key-1),i=this.getSibling(this.key+1),r=Boolean(s.node),a=Boolean(i.node);r&&(n&&s.addComments("trailing",o(n,s.node.trailingComments)),t&&!a&&s.addComments("trailing",t)),a&&(t&&i.addComments("leading",o(t,i.node.leadingComments)),n&&!r&&i.addComments("leading",n))};var s=n(58135);const{addComment:i,addComments:r}=s;function o(e,t){if(null==t||!t.length)return e;const n=new Set(t);return e.filter((e=>!n.has(e)))}},72064:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=r(e.ast);return t&&(e.placeholders.forEach((e=>{if(!hasOwnProperty.call(t,e.name)){const t=e.name;throw new Error(`Error: No substitution given for "${t}". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set(['${t}'])}\n - { placeholderPattern: /^${t}$/ }`)}})),Object.keys(t).forEach((t=>{if(!e.placeholderNames.has(t))throw new Error(`Unknown substitution "${t}" given`)}))),e.placeholders.slice().reverse().forEach((e=>{try{var s;!function(e,t,n){e.isDuplicate&&(Array.isArray(n)?n=n.map((e=>r(e))):"object"==typeof n&&(n=r(n)));const{parent:s,key:p,index:d}=e.resolve(t);if("string"===e.type){if("string"==typeof n&&(n=h(n)),!n||!u(n))throw new Error("Expected string substitution")}else if("statement"===e.type)void 0===d?n?Array.isArray(n)?n=i(n):"string"==typeof n?n=a(l(n)):c(n)||(n=a(n)):n=o():n&&!Array.isArray(n)&&("string"==typeof n&&(n=l(n)),c(n)||(n=a(n)));else if("param"===e.type){if("string"==typeof n&&(n=l(n)),void 0===d)throw new Error("Assertion failure.")}else if("string"==typeof n&&(n=l(n)),Array.isArray(n))throw new Error("Cannot replace single expression with an array.");function m(e,t,n){const s=e[t];e[t]=n,"Identifier"!==s.type&&"Placeholder"!==s.type||(s.typeAnnotation&&(n.typeAnnotation=s.typeAnnotation),s.optional&&(n.optional=s.optional),s.decorators&&(n.decorators=s.decorators))}if(void 0===d)f(s,p,n),m(s,p,n);else{const t=s[p].slice();"statement"===e.type||"param"===e.type?null==n?t.splice(d,1):Array.isArray(n)?t.splice(d,1,...n):m(t,d,n):m(t,d,n),f(s,p,t),s[p]=t}}(e,n,null!=(s=t&&t[e.name])?s:null)}catch(t){throw t.message=`@babel/template placeholder "${e.name}": ${t.message}`,t}})),n};var s=n(58135);const{blockStatement:i,cloneNode:r,emptyStatement:o,expressionStatement:a,identifier:l,isStatement:c,isStringLiteral:u,stringLiteral:h,validate:f}=s},74145:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._guessExecutionStatusRelativeTo=function(e){return y(this,e,new Map)},t._resolve=b,t.canHaveVariableDeclarationOrExpression=function(){return("init"===this.key||"left"===this.key)&&this.parentPath.isFor()},t.canSwapBetweenExpressionAndStatement=function(e){return!("body"!==this.key||!this.parentPath.isArrowFunctionExpression())&&(this.isExpression()?o(e):!!this.isBlockStatement()&&a(e))},t.getSource=function(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""},t.isCompletionRecord=function(e){let t=this,n=!0;do{const{type:s,container:i}=t;if(!n&&(t.isFunction()||"StaticBlock"===s))return!!e;if(n=!1,Array.isArray(i)&&t.key!==i.length-1)return!1}while((t=t.parentPath)&&!t.isProgram()&&!t.isDoExpression());return!0},t.isConstantExpression=function(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);return!!e&&e.constant}if(this.isLiteral())return!this.isRegExpLiteral()&&(!this.isTemplateLiteral()||this.get("expressions").every((e=>e.isConstantExpression())));if(this.isUnaryExpression())return"void"===this.node.operator&&this.get("argument").isConstantExpression();if(this.isBinaryExpression()){const{operator:e}=this.node;return"in"!==e&&"instanceof"!==e&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return this.isMemberExpression()?!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0}):!!this.isCallExpression()&&(1===this.node.arguments.length&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral())},t.isInStrictMode=function(){return!!(this.isProgram()?this:this.parentPath).find((e=>{if(e.isProgram({sourceType:"module"}))return!0;if(e.isClass())return!0;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement())return!1;let t;if(e.isFunction())t=e.node.body;else{if(!e.isProgram())return!1;t=e.node}for(const e of t.directives)if("use strict"===e.value.value)return!0}))},t.isNodeType=function(e){return h(this.type,e)},t.isStatementOrBlock=function(){return!this.parentPath.isLabeledStatement()&&!o(this.container)&&i.includes(this.key)},t.isStatic=function(){return this.scope.isStatic(this.node)},t.matchesPattern=function(e,t){return f(this.node,e,t)},t.referencesImport=function(e,t){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===t||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?u(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return!1}const n=this.scope.getBinding(this.node.name);if(!n||"module"!==n.kind)return!1;const s=n.path,i=s.parentPath;return!!i.isImportDeclaration()&&(i.node.source.value===e&&(!t||(!(!s.isImportDefaultSpecifier()||"default"!==t)||(!(!s.isImportNamespaceSpecifier()||"*"!==t)||!(!s.isImportSpecifier()||!l(s.node.imported,{name:t}))))))},t.resolve=function(e,t){return b.call(this,e,t)||this},t.willIMaybeExecuteBefore=function(e){return"after"!==this._guessExecutionStatusRelativeTo(e)};var s=n(58135);const{STATEMENT_OR_BLOCK_KEYS:i,VISITOR_KEYS:r,isBlockStatement:o,isExpression:a,isIdentifier:l,isLiteral:c,isStringLiteral:u,isType:h,matchesPattern:f}=s;function p(e){return e.isProgram()?e:(e.parentPath.scope.getFunctionParent()||e.parentPath.scope.getProgramParent()).path}function d(e,t){switch(e){case"LogicalExpression":case"AssignmentPattern":return"right"===t;case"ConditionalExpression":case"IfStatement":return"consequent"===t||"alternate"===t;case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return"body"===t;case"ForStatement":return"body"===t||"update"===t;case"SwitchStatement":return"cases"===t;case"TryStatement":return"handler"===t;case"OptionalMemberExpression":return"property"===t;case"OptionalCallExpression":return"arguments"===t;default:return!1}}function m(e,t){for(let n=0;n<t;n++){const t=e[n];if(d(t.parent.type,t.parentKey))return!0}return!1}t.has=function(e){var t;const n=null==(t=this.node)?void 0:t[e];return n&&Array.isArray(n)?!!n.length:!!n},t.is=t.has,t.isnt=function(e){return!this.has(e)},t.equals=function(e,t){return this.node[e]===t};const g=Symbol();function y(e,t,n){const s={this:p(e),target:p(t)};if(s.target.node!==s.this.node)return function(e,t,n){let s,i=n.get(e.node);if(i){if(s=i.get(t.node))return s===g?"unknown":s}else n.set(e.node,i=new Map);i.set(t.node,g);const r=function(e,t,n){if(!t.isFunctionDeclaration())return"before"===y(e,t,n)?"before":"unknown";if(t.parentPath.isExportDeclaration())return"unknown";const s=t.scope.getBinding(t.node.id.name);if(!s.references)return"before";const i=s.referencePaths;let r;for(const s of i){if(s.find((e=>e.node===t.node)))continue;if("callee"!==s.key||!s.parentPath.isCallExpression())return"unknown";const i=y(e,s,n);if(r&&r!==i)return"unknown";r=i}return r}(e,t,n);return i.set(t.node,r),r}(e,s.target,n);const i={target:t.getAncestry(),this:e.getAncestry()};if(i.target.includes(e))return"after";if(i.this.includes(t))return"before";let o;const a={target:0,this:0};for(;!o&&a.this<i.this.length;){const e=i.this[a.this];a.target=i.target.indexOf(e),a.target>=0?o=e:a.this++}if(!o)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(m(i.this,a.this-1)||m(i.target,a.target-1))return"unknown";const l={this:i.this[a.this-1],target:i.target[a.target-1]};if(l.target.listKey&&l.this.listKey&&l.target.container===l.this.container)return l.target.key>l.this.key?"before":"after";const c=r[o.type],u=c.indexOf(l.this.parentKey);return c.indexOf(l.target.parentKey)>u?"before":"after"}function b(e,t){var n;if(null==(n=t)||!n.includes(this))if((t=t||[]).push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(e,t)}else if(this.isReferencedIdentifier()){const n=this.scope.getBinding(this.node.name);if(!n)return;if(!n.constant)return;if("module"===n.kind)return;if(n.path!==this){const s=n.path.resolve(e,t);if(this.find((e=>e.node===s.node)))return;return s}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(e,t);if(e&&this.isMemberExpression()){const n=this.toComputedKey();if(!c(n))return;const s=n.value,i=this.get("object").resolve(e,t);if(i.isObjectExpression()){const n=i.get("properties");for(const i of n){if(!i.isProperty())continue;const n=i.get("key");let r=i.isnt("computed")&&n.isIdentifier({name:s});if(r=r||n.isLiteral({value:s}),r)return i.get("value").resolve(e,t)}}else if(i.isArrayExpression()&&!isNaN(+s)){const n=i.get("elements")[s];if(n)return n.resolve(e,t)}}}}},74564:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowFunctionExpression=function(e,t){e.async&&(this.word("async",!0),this.space()),this._shouldPrintArrowParamsParens(e)?this._params(e,void 0,t):this.print(e.params[0],!0),this._predicate(e,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=i.TokenContext.arrowBody,this.print(e.body)},t.FunctionDeclaration=t.FunctionExpression=function(e,t){this._functionHead(e,t),this.space(),this.print(e.body)},t._functionHead=function(e,t){e.async&&(this.word("async"),this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.space()),this.word("function"),e.generator&&(this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.tokenChar(42)),this.space(),e.id&&this.print(e.id),this._params(e,e.id,t),"TSDeclareFunction"!==e.type&&this._predicate(e)},t._methodHead=function(e){const t=e.kind,n=e.key;"get"!==t&&"set"!==t||(this.word(t),this.space()),e.async&&(this.word("async",!0),this.space()),"method"!==t&&"init"!==t||e.generator&&this.tokenChar(42),e.computed?(this.tokenChar(91),this.print(n),this.tokenChar(93)):this.print(n),e.optional&&this.tokenChar(63),this._params(e,e.computed&&"StringLiteral"!==e.key.type?void 0:e.key,void 0)},t._param=function(e){this.printJoin(e.decorators),this.print(e),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)},t._parameters=function(e,t){const n=this.enterDelimited(),s=this.shouldPrintTrailingComma(t),i=e.length;for(let t=0;t<i;t++)this._param(e[t]),(s||t<i-1)&&(this.token(",",null,t),this.space());this.token(t),n()},t._params=function(e,t,n){this.print(e.typeParameters);const s=o.call(this,t,n);s&&this.sourceIdentifierName(s.name,s.pos),this.tokenChar(40),this._parameters(e.params,")");const i="ArrowFunctionExpression"===e.type;this.print(e.returnType,i),this._noLineTerminator=i},t._predicate=function(e,t){e.predicate&&(e.returnType||this.tokenChar(58),this.space(),this.print(e.predicate,t))},t._shouldPrintArrowParamsParens=function(e){var t,n;if(1!==e.params.length)return!0;if(e.typeParameters||e.returnType||e.predicate)return!0;const s=e.params[0];if(!r(s)||s.typeAnnotation||s.optional||null!=(t=s.leadingComments)&&t.length||null!=(n=s.trailingComments)&&n.length)return!0;if(this.tokenMap){if(null==e.loc)return!0;if(null!==this.tokenMap.findMatching(e,"("))return!0;const t=this.tokenMap.findMatching(e,"=>");return null==(null==t?void 0:t.loc)||t.loc.start.line!==e.loc.start.line}return!!this.format.retainLines};var s=n(58135),i=n(21956);const{isIdentifier:r}=s;function o(e,t){let n,s=e;if(!s&&t){const e=t.type;"VariableDeclarator"===e?s=t.id:"AssignmentExpression"===e||"AssignmentPattern"===e?s=t.left:"ObjectProperty"===e||"ClassProperty"===e?t.computed&&"StringLiteral"!==t.key.type||(s=t.key):"ClassPrivateProperty"!==e&&"ClassAccessorProperty"!==e||(s=t.key)}if(s){var i,r;if("Identifier"===s.type)n={pos:null==(i=s.loc)?void 0:i.start,name:(null==(r=s.loc)?void 0:r.identifierName)||s.name};else if("PrivateName"===s.type){var o;n={pos:null==(o=s.loc)?void 0:o.start,name:"#"+s.id.name}}else if("StringLiteral"===s.type){var a;n={pos:null==(a=s.loc)?void 0:a.start,name:s.value}}return n}}},75267:function(e,t,n){!function(e,t,n,s){"use strict";class i{constructor({file:e,sourceRoot:n}={}){this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=n,this._ignoreList=new t.SetArray}}function r(e){const{_mappings:t,_sources:n,_sourcesContent:s,_names:i,_ignoreList:r}=e;return function(e){const{length:t}=e;let n=t;for(let t=n-1;t>=0&&!(e[t].length>0);n=t,t--);n<t&&(e.length=n)}(t),{version:3,file:e.file||void 0,names:i.array,sourceRoot:e.sourceRoot||void 0,sources:n.array,sourcesContent:s,mappings:t,ignoreList:r.array}}function o(e,n,s,i,r,o,l,c,u){const{_mappings:h,_sources:f,_sourcesContent:p,_names:d}=n,m=function(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}(h,s),g=function(e,t){let n=e.length;for(let s=n-1;s>=0&&!(t>=e[s][0]);n=s--);return n}(m,i);if(!r){if(e&&function(e,t){return 0===t||1===e[t-1].length}(m,g))return;return a(m,g,[i])}const y=t.put(f,r),b=c?t.put(d,c):-1;if(y===p.length&&(p[y]=null!=u?u:null),!e||!function(e,t,n,s,i,r){if(0===t)return!1;const o=e[t-1];return 1!==o.length&&n===o[1]&&s===o[2]&&i===o[3]&&r===(5===o.length?o[4]:-1)}(m,g,y,o,l,b))return a(m,g,c?[i,y,o,l,b]:[i,y,o,l])}function a(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function l(e,n){for(let s=0;s<n.length;s++)t.put(e,n[s])}function c(e,t,n){const{generated:s,source:i,original:r,name:a,content:l}=n;return i?o(e,t,s.line-1,s.column,i,r.line-1,r.column,a,l):o(e,t,s.line-1,s.column,null,null,null,null,null)}e.GenMapping=i,e.addMapping=function(e,t){return c(!1,e,t)},e.addSegment=function(e,t,n,s,i,r,a,l){return o(!1,e,t,n,s,i,r,a,l)},e.allMappings=function(e){const t=[],{_mappings:n,_sources:s,_names:i}=e;for(let e=0;e<n.length;e++){const r=n[e];for(let n=0;n<r.length;n++){const o=r[n],a={line:e+1,column:o[0]};let l,c,u;1!==o.length&&(l=s.array[o[1]],c={line:o[2]+1,column:o[3]},5===o.length&&(u=i.array[o[4]])),t.push({generated:a,source:l,original:c,name:u})}}return t},e.fromMap=function(e){const t=new s.TraceMap(e),n=new i({file:t.file,sourceRoot:t.sourceRoot});return l(n._names,t.names),l(n._sources,t.sources),n._sourcesContent=t.sourcesContent||t.sources.map((()=>null)),n._mappings=s.decodedMappings(t),t.ignoreList&&l(n._ignoreList,t.ignoreList),n},e.maybeAddMapping=(e,t)=>c(!0,e,t),e.maybeAddSegment=(e,t,n,s,i,r,a,l)=>o(!0,e,t,n,s,i,r,a,l),e.setIgnore=function(e,n,s=!0){const{_sources:i,_sourcesContent:r,_ignoreList:o}=e,a=t.put(i,n);a===r.length&&(r[a]=null),s?t.put(o,a):t.remove(o,a)},e.setSourceContent=function(e,n,s){const{_sources:i,_sourcesContent:r}=e;r[t.put(i,n)]=s},e.toDecodedMap=r,e.toEncodedMap=function(e){const t=r(e);return Object.assign(Object.assign({},t),{mappings:n.encode(t.mappings)})},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(26801),n(14017),n(41969))},76697:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenMap=void 0;var s=n(58135);const{traverseFast:i,VISITOR_KEYS:r}=s;t.TokenMap=class{constructor(e,t,n){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=t,this._source=n,i(e,(e=>{const t=this._getTokensIndexesOfNode(e);t.length>0&&this._nodesToTokenIndexes.set(e,t)})),this._tokensCache=null}has(e){return this._nodesToTokenIndexes.has(e)}getIndexes(e){return this._nodesToTokenIndexes.get(e)}find(e,t){const n=this._nodesToTokenIndexes.get(e);if(n)for(let e=0;e<n.length;e++){const s=n[e],i=this._tokens[s];if(t(i,s))return i}return null}findLastIndex(e,t){const n=this._nodesToTokenIndexes.get(e);if(n)for(let e=n.length-1;e>=0;e--){const s=n[e];if(t(this._tokens[s],s))return s}return-1}findMatching(e,t,n=0){const s=this._nodesToTokenIndexes.get(e);if(s){let i=0;const r=n;if(r>1){const s=this._nodesOccurrencesCountCache.get(e);s&&s.test===t&&s.count<r&&(i=s.i+1,n-=s.count+1)}for(;i<s.length;i++){const o=this._tokens[s[i]];if(this.matchesOriginal(o,t)){if(0===n)return r>0&&this._nodesOccurrencesCountCache.set(e,{test:t,count:r,i}),o;n--}}}return null}matchesOriginal(e,t){return e.end-e.start===t.length&&(null!=e.value?e.value===t:this._source.startsWith(t,e.start))}startMatches(e,t){const n=this._nodesToTokenIndexes.get(e);if(!n)return!1;const s=this._tokens[n[0]];return s.start===e.start&&this.matchesOriginal(s,t)}endMatches(e,t){const n=this._nodesToTokenIndexes.get(e);if(!n)return!1;const s=this._tokens[n[n.length-1]];return s.end===e.end&&this.matchesOriginal(s,t)}_getTokensIndexesOfNode(e){if(null==e.start||null==e.end)return[];const{first:t,last:n}=this._findTokensOfNode(e,0,this._tokens.length-1);let s=t;const i=function*(e){if("TemplateLiteral"===e.type){yield e.quasis[0];for(let t=1;t<e.quasis.length;t++)yield e.expressions[t-1],yield e.quasis[t];return}const t=r[e.type];for(const n of t){const t=e[n];t&&(Array.isArray(t)?yield*t:yield t)}}(e);"ExportNamedDeclaration"!==e.type&&"ExportDefaultDeclaration"!==e.type||!e.declaration||"ClassDeclaration"!==e.declaration.type||i.next();const o=[];for(const e of i){if(null==e)continue;if(null==e.start||null==e.end)continue;const t=this._findTokensOfNode(e,s,n),i=t.first;for(let e=s;e<i;e++)o.push(e);s=t.last+1}for(let e=s;e<=n;e++)o.push(e);return o}_findTokensOfNode(e,t,n){const s=this._tokensCache.get(e);if(s)return s;const i=this._findFirstTokenOfNode(e.start,t,n),r=this._findLastTokenOfNode(e.end,i,n);return this._tokensCache.set(e,{first:i,last:r}),{first:i,last:r}}_findFirstTokenOfNode(e,t,n){for(;t<=n;){const s=n+t>>1;if(e<this._tokens[s].start)n=s-1;else{if(!(e>this._tokens[s].start))return s;t=s+1}}return t}_findLastTokenOfNode(e,t,n){for(;t<=n;){const s=n+t>>1;if(e<this._tokens[s].end)n=s-1;else{if(!(e>this._tokens[s].end))return s;t=s+1}}return n}}},80004:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Hub",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"NodePath",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return l.default}}),t.visitors=t.default=void 0,n(44537);var s=n(95957);t.visitors=s;var i=n(58135),r=n(56266),o=n(51597),a=n(32670),l=n(54683),c=n(9783);const{VISITOR_KEYS:u,removeProperties:h,traverseFast:f}=i;function p(e,t={},n,i,r,a){if(e){if(!t.noScope&&!n&&"Program"!==e.type&&"File"!==e.type)throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${e.type} node without passing scope and parentPath.`);if(!r&&a)throw new Error("visitSelf can only be used when providing a NodePath.");u[e.type]&&(s.explode(t),(0,o.traverseNode)(e,t,n,i,r,null,a))}}t.default=p,p.visitors=s,p.verify=s.verify,p.explode=s.explode,p.cheap=function(e,t){f(e,t)},p.node=function(e,t,n,s,i,r){(0,o.traverseNode)(e,t,n,s,i,r)},p.clearNode=function(e,t){h(e,t)},p.removeProperties=function(e,t){return f(e,p.clearNode,t),e},p.hasType=function(e,t,n){return(null==n||!n.includes(e.type))&&(e.type===t||f(e,(function(e){return null!=n&&n.includes(e.type)?f.skip:e.type===t?f.stop:void 0})))},p.cache=r},80366:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.evaluate=function(){const e={confident:!0,deoptPath:null,seen:new Map};let t=c(this,e);return e.confident||(t=void 0),{confident:e.confident,deopt:e.deoptPath,value:t}},t.evaluateTruthy=function(){const e=this.evaluate();if(e.confident)return!!e.value};const s=["Number","String","Math"],i=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],r=["random"];function o(e){return s.includes(e)}function a(e,t){t.confident&&(t.deoptPath=e,t.confident=!1)}const l=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function c(e,t){const{node:s}=e,{seen:h}=t;if(h.has(s)){const n=h.get(s);return n.resolved?n.value:void a(e,t)}{const f={resolved:!1};h.set(s,f);const p=function(e,t){if(t.confident){if(e.isSequenceExpression()){const n=e.get("expressions");return c(n[n.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral())return e.node.value;if(e.isNullLiteral())return null;if(e.isTemplateLiteral())return u(e,e.node.quasis,t);if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const n=e.get("tag.object"),{node:{name:s}}=n,i=e.get("tag.property");if(n.isIdentifier()&&"String"===s&&!e.scope.getBinding(s)&&i.isIdentifier()&&"raw"===i.node.name)return u(e,e.node.quasi.quasis,t,!0)}if(e.isConditionalExpression()){const n=c(e.get("test"),t);if(!t.confident)return;return c(n?e.get("consequent"):e.get("alternate"),t)}if(e.isExpressionWrapper())return c(e.get("expression"),t);if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const n=e.get("property"),s=e.get("object");if(s.isLiteral()){const i=s.node.value,r=typeof i;let o=null;if(e.node.computed){if(o=c(n,t),!t.confident)return}else n.isIdentifier()&&(o=n.node.name);if(!("number"!==r&&"string"!==r||null==o||"number"!=typeof o&&"string"!=typeof o))return i[o]}}if(e.isReferencedIdentifier()){const n=e.scope.getBinding(e.node.name);if(n){if(n.constantViolations.length>0||e.node.start<n.path.node.end)return void a(n.path,t);const i=n.path.scope;if("var"===n.kind&&i!==n.scope){let r=!i.path.parentPath.isBlockStatement();for(let o=i.parent;o;o=o.parent){var s;if(o===e.scope){if(r)return void a(n.path,t);break}null!=(s=o.path.parentPath)&&s.isBlockStatement()&&(r=!0)}}if(n.hasValue)return n.value}const i=e.node.name;if(l.has(i))return n?void a(n.path,t):l.get(i);const r=e.resolve();if(r===e)return void a(e,t);const o=c(r,t);return"object"==typeof o&&null!==o&&n.references>1?void a(r,t):o}if(e.isUnaryExpression({prefix:!0})){if("void"===e.node.operator)return;const n=e.get("argument");if("typeof"===e.node.operator&&(n.isFunction()||n.isClass()))return"function";const s=c(n,t);if(!t.confident)return;switch(e.node.operator){case"!":return!s;case"+":return+s;case"-":return-s;case"~":return~s;case"typeof":return typeof s}}if(e.isArrayExpression()){const n=[],s=e.get("elements");for(const e of s){const s=e.evaluate();if(!s.confident)return void a(s.deopt,t);n.push(s.value)}return n}if(e.isObjectExpression()){const n={},s=e.get("properties");for(const e of s){if(e.isObjectMethod()||e.isSpreadElement())return void a(e,t);const s=e.get("key");let i;if(e.node.computed){if(i=s.evaluate(),!i.confident)return void a(i.deopt,t);i=i.value}else i=s.isIdentifier()?s.node.name:s.node.value;let r=e.get("value").evaluate();if(!r.confident)return void a(r.deopt,t);r=r.value,n[i]=r}return n}if(e.isLogicalExpression()){const n=t.confident,s=c(e.get("left"),t),i=t.confident;t.confident=n;const r=c(e.get("right"),t),o=t.confident;switch(e.node.operator){case"||":if(t.confident=i&&(!!s||o),!t.confident)return;return s||r;case"&&":if(t.confident=i&&(!s||o),!t.confident)return;return s&&r;case"??":if(t.confident=i&&(null!=s||o),!t.confident)return;return null!=s?s:r}}if(e.isBinaryExpression()){const n=c(e.get("left"),t);if(!t.confident)return;const s=c(e.get("right"),t);if(!t.confident)return;switch(e.node.operator){case"-":return n-s;case"+":return n+s;case"/":return n/s;case"*":return n*s;case"%":return n%s;case"**":return Math.pow(n,s);case"<":return n<s;case">":return n>s;case"<=":return n<=s;case">=":return n>=s;case"==":return n==s;case"!=":return n!=s;case"===":return n===s;case"!==":return n!==s;case"|":return n|s;case"&":return n&s;case"^":return n^s;case"<<":return n<<s;case">>":return n>>s;case">>>":return n>>>s}}if(e.isCallExpression()){const s=e.get("callee");let a,l;if(s.isIdentifier()&&!e.scope.getBinding(s.node.name)&&(o(s.node.name)||function(e){return i.includes(e)}(s.node.name))&&(l=n.g[s.node.name]),s.isMemberExpression()){const e=s.get("object"),t=s.get("property");if(e.isIdentifier()&&t.isIdentifier()&&o(e.node.name)&&!function(e){return r.includes(e)}(t.node.name)){a=n.g[e.node.name];const s=t.node.name;hasOwnProperty.call(a,s)&&(l=a[s])}if(e.isLiteral()&&t.isIdentifier()){const n=typeof e.node.value;"string"!==n&&"number"!==n||(a=e.node.value,l=a[t.node.name])}}if(l){const n=e.get("arguments").map((e=>c(e,t)));if(!t.confident)return;return l.apply(a,n)}}a(e,t)}}(e,t);return t.confident&&(f.resolved=!0,f.value=p),p}}function u(e,t,n,s=!1){let i="",r=0;const o=e.isTemplateLiteral()?e.get("expressions"):e.get("quasi.expressions");for(const e of t){if(!n.confident)break;i+=s?e.value.raw:e.value.cooked;const t=o[r++];t&&(i+=String(c(t,n)))}if(n.confident)return i}},82475:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(96405),i=n(21956),r=i,o=n(58135),a=n(76697),l=n(62798),c=n(58121);const{isExpression:u,isFunction:h,isStatement:f,isClassBody:p,isTSInterfaceBody:d,isTSEnumMember:m}=o,g=/e/i,y=/\.0+$/,b=/[\n\r\u2028\u2029]/,C=/[\n\r\u2028\u2029]|\*\//;function v(e){return"CommentLine"===e.type||b.test(e.value)}const{needsParens:S}=r;class E{constructor(e,t,n,r){this.tokenContext=i.TokenContext.normal,this._tokens=null,this._originalCode=null,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._noLineTerminator=!1,this._noLineTerminatorAfterNode=null,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._endsWithDiv=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.tokenMap=null,this._boundGetRawIdentifier=this._getRawIdentifier.bind(this),this._printSemicolonBeforeNextNode=-1,this._printSemicolonBeforeNextToken=-1,this.format=e,this._tokens=n,this._originalCode=r,this._indentRepeat=e.indent.style.length,this._inputMap=null==t?void 0:t._inputMap,this._buf=new s.default(t,e.indent.style[0])}enterForStatementInit(){return this.tokenContext|=i.TokenContext.forInitHead|i.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=i.TokenContext.normal}enterForXStatementInit(e){return e?(this.tokenContext|=i.TokenContext.forOfHead,null):(this.tokenContext|=i.TokenContext.forInHead|i.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=i.TokenContext.normal)}enterDelimited(){const e=this.tokenContext,t=this._noLineTerminatorAfterNode;return e&i.TokenContext.forInOrInitHeadAccumulate||null!==t?(this._noLineTerminatorAfterNode=null,this.tokenContext=i.TokenContext.normal,()=>{this._noLineTerminatorAfterNode=t,this.tokenContext=e}):()=>{}}generate(e){return this.format.preserveFormat&&(this.tokenMap=new a.TokenMap(e,this._tokens,this._originalCode)),this.print(e),this._maybeAddAuxComment(),this._buf.get()}indent(){const{format:e}=this;e.preserveFormat||e.compact||e.concise||this._indent++}dedent(){const{format:e}=this;e.preserveFormat||e.compact||e.concise||this._indent--}semicolon(e=!1){if(this._maybeAddAuxComment(),e)return this._appendChar(59),void(this._noLineTerminator=!1);if(this.tokenMap){const e=this._currentNode;if(null!=e.start&&null!=e.end){if(!this.tokenMap.endMatches(e,";"))return void(this._printSemicolonBeforeNextNode=this._buf.getCurrentLine());const t=this.tokenMap.getIndexes(this._currentNode);this._catchUpTo(this._tokens[t[t.length-1]].loc.start)}}this._queue(59),this._noLineTerminator=!1}rightBrace(e){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)}rightParens(e){this.sourceWithOffset("end",e.loc,-1),this.tokenChar(41)}space(e=!1){const{format:t}=this;if(!t.compact&&!t.preserveFormat)if(e)this._space();else if(this._buf.hasContent()){const e=this.getLastChar();32!==e&&10!==e&&this._space()}}word(e,t=!1){this.tokenContext&=i.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(e),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(e),(this._endsWithWord||this._endsWithDiv&&47===e.charCodeAt(0))&&this._space(),this._append(e,!1),this._endsWithWord=!0,this._noLineTerminator=t}number(e,t){this.word(e),this._endsWithInteger=Number.isInteger(t)&&!function(e){if(e.length>2&&48===e.charCodeAt(0)){const t=e.charCodeAt(1);return 98===t||111===t||120===t}return!1}(e)&&!g.test(e)&&!y.test(e)&&46!==e.charCodeAt(e.length-1)}token(e,t=!1,n=0){this.tokenContext&=i.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(e,n),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(e,n);const s=this.getLastChar(),r=e.charCodeAt(0);(33===s&&("--"===e||61===r)||43===r&&43===s||45===r&&45===s||46===r&&this._endsWithInteger)&&this._space(),this._append(e,t),this._noLineTerminator=!1}tokenChar(e){this.tokenContext&=i.TokenContext.forInOrInitHeadAccumulatePassThroughMask;const t=String.fromCharCode(e);this._maybePrintInnerComments(t),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(t);const n=this.getLastChar();(43===e&&43===n||45===e&&45===n||46===e&&this._endsWithInteger)&&this._space(),this._appendChar(e),this._noLineTerminator=!1}newline(e=1,t){if(!(e<=0)){if(!t){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space()}e>2&&(e=2),e-=this._buf.getNewlineCount();for(let t=0;t<e;t++)this._newline()}}endsWith(e){return this.getLastChar()===e}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(e,t){e?(this._catchUp("start",e),this._buf.exactSource(e,t)):t()}source(e,t){t&&(this._catchUp(e,t),this._buf.source(e,t))}sourceWithOffset(e,t,n){t&&!this.format.preserveFormat&&(this._catchUp(e,t),this._buf.sourceWithOffset(e,t,n))}sourceIdentifierName(e,t){if(!this._buf._canMarkIdName)return;const n=this._buf._sourcePosition;n.identifierNamePos=t,n.identifierName=e}_space(){this._queue(32)}_newline(){this._queue(10)}_catchUpToCurrentToken(e,t=0){const n=this.tokenMap.findMatching(this._currentNode,e,t);n&&this._catchUpTo(n.loc.start),-1!==this._printSemicolonBeforeNextToken&&this._printSemicolonBeforeNextToken===this._buf.getCurrentLine()&&(this._buf.appendChar(59),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1),this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1}_append(e,t){this._maybeIndent(e.charCodeAt(0)),this._buf.append(e,t),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(e){this._maybeIndent(e),this._buf.appendChar(e),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(e){this._maybeIndent(e),this._buf.queue(e),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(e){this._indent&&10!==e&&this.endsWith(10)&&this._buf.queueIndentation(this._getIndent())}_shouldIndent(e){if(this._indent&&10!==e&&this.endsWith(10))return!0}catchUp(e){if(!this.format.retainLines)return;const t=e-this._buf.getCurrentLine();for(let e=0;e<t;e++)this._newline()}_catchUp(e,t){const{format:n}=this;if(!n.preserveFormat)return void(n.retainLines&&null!=t&&t[e]&&this.catchUp(t[e].line));const s=null==t?void 0:t[e];null!=s&&this._catchUpTo(s)}_catchUpTo({line:e,column:t,index:n}){const s=e-this._buf.getCurrentLine();if(s>0&&this._noLineTerminator)return;for(let e=0;e<s;e++)this._newline();const i=s>0?t:t-this._buf.getCurrentColumn();if(i>0){const e=this._originalCode?this._originalCode.slice(n-i,n).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu," "):" ".repeat(i);this._append(e,!1)}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(e){this._noLineTerminator=!0,this.print(e)}print(e,t,n){var s,o,a;if(!e)return;this._endsWithInnerRaw=!1;const l=e.type,c=this.format,h=c.concise;e._compact&&(c.concise=!0);const f=this[l];if(void 0===f)throw new ReferenceError(`unknown node of type ${JSON.stringify(l)} with constructor ${JSON.stringify(e.constructor.name)}`);const p=this._currentNode;this._currentNode=e,this.tokenMap&&(this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode);const d=this._insideAux;this._insideAux=null==e.loc,this._maybeAddAuxComment(this._insideAux&&!d);const m=null==(s=e.extra)?void 0:s.parenthesized;let g=m&&c.preserveFormat||m&&c.retainFunctionParens&&"FunctionExpression"===l||S(e,p,this.tokenContext,c.preserveFormat?this._boundGetRawIdentifier:void 0);if(!g&&m&&null!=(o=e.leadingComments)&&o.length&&"CommentBlock"===e.leadingComments[0].type)switch(null==p?void 0:p.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(p.callee!==e)break;default:g=!0}let y,b,C=!1;var E;!g&&this._noLineTerminator&&(null!=(a=e.leadingComments)&&a.some(v)||this.format.retainLines&&e.loc&&e.loc.start.line>this._buf.getCurrentLine())&&(g=!0,C=!0),g||(t||(t=p&&this._noLineTerminatorAfterNode===p&&r.isLastChild(p,e)),t&&(null!=(E=e.trailingComments)&&E.some(v)?u(e)&&(g=!0):(y=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=e))),g&&(this.tokenChar(40),C&&this.indent(),this._endsWithInnerRaw=!1,this.tokenContext&i.TokenContext.forInOrInitHeadAccumulate&&(b=this.tokenContext,this.tokenContext=i.TokenContext.normal),y=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null),this._lastCommentLine=0,this._printLeadingComments(e,p);const x="Program"===l||"File"===l?null:e.loc;this.exactSource(x,f.bind(this,e,p)),g?(this._printTrailingComments(e,p),C&&(this.dedent(),this.newline()),this.tokenChar(41),this._noLineTerminator=t,b&&(this.tokenContext=b)):t&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(e,p)):this._printTrailingComments(e,p,n),this._currentNode=p,c.concise=h,this._insideAux=d,void 0!==y&&(this._noLineTerminatorAfterNode=y),this._endsWithInnerRaw=!1}_maybeAddAuxComment(e){e&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;const e=this.format.auxiliaryCommentBefore;e&&this._printComment({type:"CommentBlock",value:e},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;const e=this.format.auxiliaryCommentAfter;e&&this._printComment({type:"CommentBlock",value:e},0)}getPossibleRaw(e){const t=e.extra;if(null!=(null==t?void 0:t.raw)&&null!=t.rawValue&&e.value===t.rawValue)return t.raw}printJoin(e,t,n,s,i,r,o,a){if(null==e||!e.length)return;if(null==n&&this.format.retainLines){var l;const t=null==(l=e[0].loc)?void 0:l.start.line;null!=t&&t!==this._buf.getCurrentLine()&&(n=!0)}n&&this.indent();const c={addNewlines:r,nextNodeStartLine:0},u=null==s?void 0:s.bind(this),h=e.length;for(let n=0;n<h;n++){const s=e[n];var f;if(s&&(t&&this._printNewline(0===n,c),this.print(s,void 0,a||0),null==o||o(s,n),null!=u&&(n<h-1?u(n,!1):i&&u(n,!0)),t))if(null!=(f=s.trailingComments)&&f.length||(this._lastCommentLine=0),n+1===h)this.newline(1);else{var p;const t=e[n+1];c.nextNodeStartLine=(null==(p=t.loc)?void 0:p.start.line)||0,this._printNewline(!0,c)}}n&&this.dedent()}printAndIndentOnComments(e){const t=e.leadingComments&&e.leadingComments.length>0;t&&this.indent(),this.print(e),t&&this.dedent()}printBlock(e){const t=e.body;"EmptyStatement"!==t.type&&this.space(),this.print(t)}_printTrailingComments(e,t,n){const{innerComments:s,trailingComments:i}=e;null!=s&&s.length&&this._printComments(2,s,e,t,n),null!=i&&i.length&&this._printComments(2,i,e,t,n)}_printLeadingComments(e,t){const n=e.leadingComments;null!=n&&n.length&&this._printComments(0,n,e,t)}_maybePrintInnerComments(e,t){var n;this._endsWithInnerRaw&&this.printInnerComments(null==(n=this.tokenMap)?void 0:n.findMatching(this._currentNode,e,t)),this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(e){const t=this._currentNode,n=t.innerComments;if(null==n||!n.length)return;const s=this.endsWith(32),i=this._indentInnerComments,r=this._printedComments.size;i&&this.indent(),this._printComments(1,n,t,void 0,void 0,e),s&&r!==this._printedComments.size&&this.space(),i&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(e,t,n,s){this.printJoin(e,!0,null!=t&&t,void 0,void 0,s,void 0,n)}printList(e,t,n,s,i,r){this.printJoin(e,n,s,null!=i?i:x,t,void 0,r)}shouldPrintTrailingComma(e){if(!this.tokenMap)return null;const t=this.tokenMap.findLastIndex(this._currentNode,(t=>this.tokenMap.matchesOriginal(t,e)));return t<=0?null:this.tokenMap.matchesOriginal(this._tokens[t-1],",")}_printNewline(e,t){const n=this.format;if(n.retainLines||n.compact)return;if(n.concise)return void this.space();if(!e)return;const s=t.nextNodeStartLine,i=this._lastCommentLine;if(s>0&&i>0){const e=s-i;if(e>=0)return void this.newline(e||1)}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(e,t){if(e.ignore)return 0;if(this._printedComments.has(e))return 0;if(this._noLineTerminator&&C.test(e.value))return 2;if(t&&this.tokenMap){const n=this.tokenMap.find(this._currentNode,(t=>t.value===e.value));if(n&&n.start>t.start)return 2}return this._printedComments.add(e),this.format.shouldPrintComment(e.value)?1:0}_printComment(e,t){const n=this._noLineTerminator,s="CommentBlock"===e.type,i=s&&1!==t&&!this._noLineTerminator;i&&this._buf.hasContent()&&2!==t&&this.newline(1);const r=this.getLastChar();let o;if(91!==r&&123!==r&&40!==r&&this.space(),s){if(o=`/*${e.value}*/`,this.format.indent.adjustMultilineComment){var a;const t=null==(a=e.loc)?void 0:a.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");o=o.replace(e,"\n")}if(this.format.concise)o=o.replace(/\n(?!$)/g,"\n");else{let e=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(e+=this._getIndent()),o=o.replace(/\n(?!$)/g,`\n${" ".repeat(e)}`)}}}else o=n?`/*${e.value}*/`:`//${e.value}`;if(this._endsWithDiv&&this._space(),this.tokenMap){const{_printSemicolonBeforeNextToken:t,_printSemicolonBeforeNextNode:n}=this;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1,this.source("start",e.loc),this._append(o,s),this._printSemicolonBeforeNextNode=n,this._printSemicolonBeforeNextToken=t}else this.source("start",e.loc),this._append(o,s);s||n||this.newline(1,!0),i&&3!==t&&this.newline(1)}_printComments(e,t,n,s,i=0,r){const o=n.loc,a=t.length;let l=!!o;const c=l?o.start.line:0,u=l?o.end.line:0;let g=0,y=0;const C=this._noLineTerminator?function(){}:this.newline.bind(this);for(let o=0;o<a;o++){const v=t[o],S=this._shouldPrintComment(v,r);if(2===S){l=!1;break}if(l&&v.loc&&1===S){const t=v.loc.start.line,n=v.loc.end.line;if(0===e){let e=0;0===o?!this._buf.hasContent()||"CommentLine"!==v.type&&t===n||(e=y=1):e=t-g,g=n,C(e),this._printComment(v,1),o+1===a&&(C(Math.max(c-g,y)),g=c)}else if(1===e){const e=t-(0===o?c:g);g=n,C(e),this._printComment(v,1),o+1===a&&(C(Math.min(1,u-g)),g=u)}else{const e=t-(0===o?u-i:g);g=n,C(e),this._printComment(v,1)}}else{if(l=!1,1!==S)continue;if(1===a){const t=v.loc?v.loc.start.line===v.loc.end.line:!b.test(v.value),i=t&&!f(n)&&!p(s)&&!d(s)&&!m(n);0===e?this._printComment(v,i&&"ObjectExpression"!==n.type||t&&h(s,{body:n})?1:0):i&&2===e?this._printComment(v,1):this._printComment(v,0)}else 1!==e||"ObjectExpression"===n.type&&n.properties.length>1||"ClassBody"===n.type||"TSInterfaceBody"===n.type?this._printComment(v,0):this._printComment(v,0===o?2:o===a-1?3:0)}}2===e&&l&&g&&(this._lastCommentLine=g)}}function x(e,t){this.token(",",!1,e),t||this.space()}Object.assign(E.prototype,l),(0,c.addDeprecatedGenerators)(E),t.default=E},82738:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(58135),i=s;const{react:r}=s,{cloneNode:o,jsxExpressionContainer:a,variableDeclaration:l,variableDeclarator:c}=i,u={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&r.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression())return;if("this"===e.node.name){let n=e.scope;do{if(n.path.isFunction()&&!n.path.isArrowFunctionExpression())break}while(n=n.parent);n&&t.breakOnScopePaths.push(n.path)}const n=e.scope.getBinding(e.node.name);if(n){for(const s of n.constantViolations)if(s.scope!==n.path.scope)return t.mutableBinding=!0,void e.stop();n===t.scope.getBinding(e.node.name)&&(t.bindings[e.node.name]=n)}}};t.default=class{constructor(e,t){this.breakOnScopePaths=void 0,this.bindings=void 0,this.mutableBinding=void 0,this.scopes=void 0,this.scope=void 0,this.path=void 0,this.attachAfter=void 0,this.breakOnScopePaths=[],this.bindings={},this.mutableBinding=!1,this.scopes=[],this.scope=t,this.path=e,this.attachAfter=!1}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const n=this.bindings[t];if(!e.bindingIdentifierEquals(t,n.identifier))return!1}return!0}getCompatibleScopes(){let e=this.path.scope;do{if(!this.isCompatibleScope(e))break;if(this.scopes.push(e),this.breakOnScopePaths.includes(e.path))break}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e&&(t=e.scope.parent),t.path.isProgram()||t.path.isFunction())for(const n of Object.keys(this.bindings)){if(!t.hasOwnBinding(n))continue;const s=this.bindings[n];if("param"!==s.kind&&"params"!==s.path.parentKey&&this.getAttachmentParentForPath(s.path).key>=e.key){this.attachAfter=!0,e=s.path;for(const t of s.constantViolations)this.getAttachmentParentForPath(t).key>e.key&&(e=t)}}return e}_getAttachmentPath(){const e=this.scopes.pop();if(e)if(e.path.isFunction()){if(!this.hasOwnParamBindings(e))return this.getNextScopeAttachmentParent();{if(this.scope===e)return;const t=e.path.get("body").get("body");for(let e=0;e<t.length;e++)if(!t[e].node._blockHoist)return t[e]}}else if(e.path.isProgram())return this.getNextScopeAttachmentParent()}getNextScopeAttachmentParent(){const e=this.scopes.pop();if(e)return this.getAttachmentParentForPath(e.path)}getAttachmentParentForPath(e){do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())return e}while(e=e.parentPath)}hasOwnParamBindings(e){for(const t of Object.keys(this.bindings)){if(!e.hasOwnBinding(t))continue;const n=this.bindings[t];if("param"===n.kind&&n.constant)return!0}return!1}run(){if(this.path.traverse(u,this),this.mutableBinding)return;this.getCompatibleScopes();const e=this.getAttachmentPath();if(!e)return;if(e.getFunctionParent()===this.path.getFunctionParent())return;let t=e.scope.generateUidIdentifier("ref");const n=c(t,this.path.node),s=this.attachAfter?"insertAfter":"insertBefore",[i]=e[s]([e.isVariableDeclarator()?n:l("var",[n])]),r=this.path.parentPath;return r.isJSXElement()&&this.path.container===r.node.children&&(t=a(t)),this.path.replaceWith(o(t)),e.isVariableDeclarator()?i.get("init"):i.get("declarations.0.init")}}},83810:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getTypeAnnotation=T,t.baseTypeStrictlyMatches=function(e){const t=this.getTypeAnnotation(),n=e.getTypeAnnotation();return!(o(t)||!u(t))&&n.type===t.type},t.couldBeBaseType=function(e){const t=this.getTypeAnnotation();if(o(t))return!0;if(S(t)){for(const n of t.types)if(o(n)||_(e,n,!0))return!0;return!1}return _(e,t,!0)},t.getTypeAnnotation=function(){let e=this.getData("typeAnnotation");return null!=e||(e=T.call(this)||r(),(v(e)||y(e))&&(e=e.typeAnnotation),this.setData("typeAnnotation",e)),e},t.isBaseType=function(e,t){return _(e,this.getTypeAnnotation(),t)},t.isGenericType=function(e){const t=this.getTypeAnnotation();return!("Array"!==e||!(g(t)||a(t)||C(t)))||(h(t)&&f(t.id,{name:e})||b(t)&&f(t.typeName,{name:e}))};var s=n(19724),i=n(58135);const{anyTypeAnnotation:r,isAnyTypeAnnotation:o,isArrayTypeAnnotation:a,isBooleanTypeAnnotation:l,isEmptyTypeAnnotation:c,isFlowBaseAnnotation:u,isGenericTypeAnnotation:h,isIdentifier:f,isMixedTypeAnnotation:p,isNumberTypeAnnotation:d,isStringTypeAnnotation:m,isTSArrayType:g,isTSTypeAnnotation:y,isTSTypeReference:b,isTupleTypeAnnotation:C,isTypeAnnotation:v,isUnionTypeAnnotation:S,isVoidTypeAnnotation:E,stringTypeAnnotation:x,voidTypeAnnotation:k}=i,w=new WeakSet;function T(){const e=this.node;if(e){if(e.typeAnnotation)return e.typeAnnotation;if(!w.has(e)){w.add(e);try{var t;let n=s[e.type];if(n)return n.call(this,e);if(n=s[this.parentPath.type],null!=(t=n)&&t.validParent)return this.parentPath.getTypeAnnotation()}finally{w.delete(e)}}}else if("init"===this.key&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath,t=e.parentPath;return"left"===e.key&&t.isForInStatement()?x():"left"===e.key&&t.isForOfStatement()?r():k()}}function _(e,t,n){if("string"===e)return m(t);if("number"===e)return d(t);if("boolean"===e)return l(t);if("any"===e)return o(t);if("mixed"===e)return p(t);if("empty"===e)return c(t);if("void"===e)return E(t);if(n)return!1;throw new Error(`Unknown base type ${e}`)}},90157:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.find=function(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null},t.findParent=function(e){let t=this;for(;t=t.parentPath;)if(e(t))return t;return null},t.getAncestry=function(){let e=this;const t=[];do{t.push(e)}while(e=e.parentPath);return t},t.getDeepestCommonAncestorFrom=function(e,t){if(!e.length)return this;if(1===e.length)return e[0];let n,s,i=1/0;const r=e.map((e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);return t.length<i&&(i=t.length),t})),o=r[0];e:for(let e=0;e<i;e++){const t=o[e];for(const n of r)if(n[e]!==t)break e;n=e,s=t}if(s)return t?t(s,n,r):s;throw new Error("Couldn't find intersection")},t.getEarliestCommonAncestorFrom=function(e){return this.getDeepestCommonAncestorFrom(e,(function(e,t,n){let s;const r=i[e.type];for(const e of n){const n=e[t+1];s?(n.listKey&&s.listKey===n.listKey&&n.key<s.key||r.indexOf(s.parentKey)>r.indexOf(n.parentKey))&&(s=n):s=n}return s}))},t.getFunctionParent=function(){return this.findParent((e=>e.isFunction()))},t.getStatementParent=function(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())break;e=e.parentPath}while(e);if(e&&(e.isProgram()||e.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return e},t.inType=function(...e){let t=this;for(;t;){if(e.includes(t.node.type))return!0;t=t.parentPath}return!1},t.isAncestor=function(e){return e.isDescendant(this)},t.isDescendant=function(e){return!!this.findParent((t=>t===e))};var s=n(58135);const{VISITOR_KEYS:i}=s},93464:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnyTypeAnnotation=function(){this.word("any")},t.ArrayTypeAnnotation=function(e){this.print(e.elementType,!0),this.tokenChar(91),this.tokenChar(93)},t.BooleanLiteralTypeAnnotation=function(e){this.word(e.value?"true":"false")},t.BooleanTypeAnnotation=function(){this.word("boolean")},t.DeclareClass=function(e,t){a(t)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(e)},t.DeclareExportAllDeclaration=function(e){this.word("declare"),this.space(),i.ExportAllDeclaration.call(this,e)},t.DeclareExportDeclaration=function(e){this.word("declare"),this.space(),this.word("export"),this.space(),e.default&&(this.word("default"),this.space()),f.call(this,e)},t.DeclareFunction=function(e,t){a(t)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(e.id),this.print(e.id.typeAnnotation.typeAnnotation),e.predicate&&(this.space(),this.print(e.predicate)),this.semicolon()},t.DeclareInterface=function(e){this.word("declare"),this.space(),this.InterfaceDeclaration(e)},t.DeclareModule=function(e){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(e.id),this.space(),this.print(e.body)},t.DeclareModuleExports=function(e){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(e.typeAnnotation)},t.DeclareOpaqueType=function(e,t){a(t)||(this.word("declare"),this.space()),this.OpaqueType(e)},t.DeclareTypeAlias=function(e){this.word("declare"),this.space(),this.TypeAlias(e)},t.DeclareVariable=function(e,t){a(t)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(e.id),this.print(e.id.typeAnnotation),this.semicolon()},t.DeclaredPredicate=function(e){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(e.value),this.tokenChar(41)},t.EmptyTypeAnnotation=function(){this.word("empty")},t.EnumBooleanBody=function(e){const{explicitType:t}=e;c(this,"boolean",t),u(this,e)},t.EnumBooleanMember=function(e){h(this,e)},t.EnumDeclaration=function(e){const{id:t,body:n}=e;this.word("enum"),this.space(),this.print(t),this.print(n)},t.EnumDefaultedMember=function(e){const{id:t}=e;this.print(t),this.tokenChar(44)},t.EnumNumberBody=function(e){const{explicitType:t}=e;c(this,"number",t),u(this,e)},t.EnumNumberMember=function(e){h(this,e)},t.EnumStringBody=function(e){const{explicitType:t}=e;c(this,"string",t),u(this,e)},t.EnumStringMember=function(e){h(this,e)},t.EnumSymbolBody=function(e){c(this,"symbol",!0),u(this,e)},t.ExistsTypeAnnotation=function(){this.tokenChar(42)},t.FunctionTypeAnnotation=function(e,t){this.print(e.typeParameters),this.tokenChar(40),e.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(e.this.typeAnnotation),(e.params.length||e.rest)&&(this.tokenChar(44),this.space())),this.printList(e.params),e.rest&&(e.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(e.rest)),this.tokenChar(41);const n=null==t?void 0:t.type;null!=n&&("ObjectTypeCallProperty"===n||"ObjectTypeInternalSlot"===n||"DeclareFunction"===n||"ObjectTypeProperty"===n&&t.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(e.returnType)},t.FunctionTypeParam=function(e){this.print(e.name),e.optional&&this.tokenChar(63),e.name&&(this.tokenChar(58),this.space()),this.print(e.typeAnnotation)},t.IndexedAccessType=function(e){this.print(e.objectType,!0),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)},t.InferredPredicate=function(){this.tokenChar(37),this.word("checks")},t.InterfaceDeclaration=function(e){this.word("interface"),this.space(),this._interfaceish(e)},t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=function(e){this.print(e.id),this.print(e.typeParameters,!0)},t.InterfaceTypeAnnotation=function(e){var t;this.word("interface"),null!=(t=e.extends)&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends)),this.space(),this.print(e.body)},t.IntersectionTypeAnnotation=function(e){this.printJoin(e.types,void 0,void 0,p)},t.MixedTypeAnnotation=function(){this.word("mixed")},t.NullLiteralTypeAnnotation=function(){this.word("null")},t.NullableTypeAnnotation=function(e){this.tokenChar(63),this.print(e.typeAnnotation)},Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return o.NumericLiteral}}),t.NumberTypeAnnotation=function(){this.word("number")},t.ObjectTypeAnnotation=function(e){e.exact?this.token("{|"):this.tokenChar(123);const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];t.length&&(this.newline(),this.space(),this.printJoin(t,!0,!0,void 0,void 0,(function(e){if(e&&!t[0])return 1}),(()=>{(1!==t.length||e.inexact)&&(this.tokenChar(44),this.space())})),this.space()),e.inexact&&(this.indent(),this.token("..."),t.length&&this.newline(),this.dedent()),e.exact?this.token("|}"):this.tokenChar(125)},t.ObjectTypeCallProperty=function(e){e.static&&(this.word("static"),this.space()),this.print(e.value)},t.ObjectTypeIndexer=function(e){e.static&&(this.word("static"),this.space()),this._variance(e),this.tokenChar(91),e.id&&(this.print(e.id),this.tokenChar(58),this.space()),this.print(e.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(e.value)},t.ObjectTypeInternalSlot=function(e){e.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(e.id),this.tokenChar(93),this.tokenChar(93),e.optional&&this.tokenChar(63),e.method||(this.tokenChar(58),this.space()),this.print(e.value)},t.ObjectTypeProperty=function(e){e.proto&&(this.word("proto"),this.space()),e.static&&(this.word("static"),this.space()),"get"!==e.kind&&"set"!==e.kind||(this.word(e.kind),this.space()),this._variance(e),this.print(e.key),e.optional&&this.tokenChar(63),e.method||(this.tokenChar(58),this.space()),this.print(e.value)},t.ObjectTypeSpreadProperty=function(e){this.token("..."),this.print(e.argument)},t.OpaqueType=function(e){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(e.id),this.print(e.typeParameters),e.supertype&&(this.tokenChar(58),this.space(),this.print(e.supertype)),e.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(e.impltype)),this.semicolon()},t.OptionalIndexedAccessType=function(e){this.print(e.objectType),e.optional&&this.token("?."),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)},t.QualifiedTypeIdentifier=function(e){this.print(e.qualification),this.tokenChar(46),this.print(e.id)},Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return o.StringLiteral}}),t.StringTypeAnnotation=function(){this.word("string")},t.SymbolTypeAnnotation=function(){this.word("symbol")},t.ThisTypeAnnotation=function(){this.word("this")},t.TupleTypeAnnotation=function(e){this.tokenChar(91),this.printList(e.types),this.tokenChar(93)},t.TypeAlias=function(e){this.word("type"),this.space(),this.print(e.id),this.print(e.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(e.right),this.semicolon()},t.TypeAnnotation=function(e,t){this.tokenChar(58),this.space(),"ArrowFunctionExpression"===t.type?this.tokenContext|=r.TokenContext.arrowFlowReturnType:e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)},t.TypeCastExpression=function(e){this.tokenChar(40),this.print(e.expression),this.print(e.typeAnnotation),this.tokenChar(41)},t.TypeParameter=function(e){this._variance(e),this.word(e.name),e.bound&&this.print(e.bound),e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default))},t.TypeParameterDeclaration=t.TypeParameterInstantiation=function(e){this.tokenChar(60),this.printList(e.params),this.tokenChar(62)},t.TypeofTypeAnnotation=function(e){this.word("typeof"),this.space(),this.print(e.argument)},t.UnionTypeAnnotation=function(e){this.printJoin(e.types,void 0,void 0,d)},t.Variance=function(e){"plus"===e.kind?this.tokenChar(43):this.tokenChar(45)},t.VoidTypeAnnotation=function(){this.word("void")},t._interfaceish=function(e){var t,n,s;(this.print(e.id),this.print(e.typeParameters),null!=(t=e.extends)&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends)),"DeclareClass"===e.type)&&(null!=(n=e.mixins)&&n.length&&(this.space(),this.word("mixins"),this.space(),this.printList(e.mixins)),null!=(s=e.implements)&&s.length&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements)));this.space(),this.print(e.body)},t._variance=function(e){var t;const n=null==(t=e.variance)?void 0:t.kind;null!=n&&("plus"===n?this.tokenChar(43):"minus"===n&&this.tokenChar(45))};var s=n(58135),i=n(58231),r=n(21956),o=n(32387);const{isDeclareExportDeclaration:a,isStatement:l}=s;function c(e,t,n){n&&(e.space(),e.word("of"),e.space(),e.word(t)),e.space()}function u(e,t){const{members:n}=t;e.token("{"),e.indent(),e.newline();for(const t of n)e.print(t),e.newline();t.hasUnknownMembers&&(e.token("..."),e.newline()),e.dedent(),e.token("}")}function h(e,t){e.print(t.id),e.space(),e.token("="),e.space(),e.print(t.init),e.token(",")}function f(e){if(e.declaration){const t=e.declaration;this.print(t),l(t)||this.semicolon()}else this.tokenChar(123),e.specifiers.length&&(this.space(),this.printList(e.specifiers),this.space()),this.tokenChar(125),e.source&&(this.space(),this.word("from"),this.space(),this.print(e.source)),this.semicolon()}function p(e){this.space(),this.token("&",!1,e),this.space()}function d(e){this.space(),this.token("|",!1,e),this.space()}},94403:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TaggedTemplateExpression=function(e){this.print(e.tag),this.print(e.typeParameters),this.print(e.quasi)},t.TemplateElement=function(){throw new Error("TemplateElement printing is handled in TemplateLiteral")},t.TemplateLiteral=function(e){this._printTemplate(e,e.expressions)},t._printTemplate=function(e,t){const n=e.quasis;let s="`";for(let i=0;i<n.length-1;i++)if(s+=n[i].value.raw,this.token(s+"${",!0),this.print(t[i]),s="}",this.tokenMap){const t=this.tokenMap.findMatching(e,"}",i);t&&this._catchUpTo(t.loc.start)}s+=n[n.length-1].value.raw,this.token(s+"`",!0)}},94834:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._replaceWith=j,t.replaceExpressionWithStatements=function(e){u.resync.call(this);const t=[],n=W(e,t);if(n){for(const e of t)this.scope.push({id:e});return this.replaceWith(n)[0].get("expressions")}const s=this.getFunctionParent(),r=null==s?void 0:s.node.async,o=null==s?void 0:s.node.generator,a=f([],m(e));this.replaceWith(y(a,[]));const l=this.get("callee");l.get("body").scope.hoistVariables((e=>this.scope.push({id:e})));const c=l.getCompletionRecords();for(const e of c){if(!e.isExpressionStatement())continue;const t=e.findParent((e=>e.isLoop()));if(t){let n=t.getData("expressionReplacementReturnUid");n?n=E(n.name):(n=l.scope.generateDeclaredUidIdentifier("ret"),l.get("body").pushContainer("body",L(b(n))),t.setData("expressionReplacementReturnUid",n)),e.get("expression").replaceWith(p("=",b(n),e.node.expression))}else e.replaceWith(L(e.node.expression))}l.arrowFunctionToExpression();const g=l,C=r&&i.default.hasType(this.get("callee.body").node,"AwaitExpression",h),v=o&&i.default.hasType(this.get("callee.body").node,"YieldExpression",h);return C&&(g.set("async",!0),v||this.replaceWith(d(this.node))),v&&(g.set("generator",!0),this.replaceWith(R(this.node,!0))),g.get("body.body")},t.replaceInline=function(e){if(u.resync.call(this),Array.isArray(e)){if(Array.isArray(this.container)){e=a._verifyNodeList.call(this,e);const t=a._containerInsertAfter.call(this,e);return this.remove(),t}return this.replaceWithMultiple(e)}return this.replaceWith(e)},t.replaceWith=function(e){if(u.resync.call(this),this.removed)throw new Error("You can't replace this node, we've already removed it");let t=e instanceof r.default?e.node:e;if(!t)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===t)return[this];if(this.isProgram()&&!I(t))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(t))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if("string"==typeof t)throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let n="";if(this.isNodeType("Statement")&&P(t)&&(this.canHaveVariableDeclarationOrExpression()||this.canSwapBetweenExpressionAndStatement(t)||this.parentPath.isExportDefaultDeclaration()||(t=v(t),n="expression")),this.isNodeType("Expression")&&O(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t))return this.replaceExpressionWithStatements([t]);const s=this.node;return s&&(w(t,s),B(s)),j.call(this,t),this.type=t.type,u.setScope.call(this),this.requeue(),[n?this.get(n):this]},t.replaceWithMultiple=function(e){var t;u.resync.call(this),e=a._verifyNodeList.call(this,e),x(e[0],this.node),k(e[e.length-1],this.node),null==(t=(0,o.getCachedPaths)(this))||t.delete(this.node),this.node=this.container[this.key]=null;const n=this.insertAfter(e);return this.node?this.requeue():this.remove(),n},t.replaceWithSourceString=function(e){let t;u.resync.call(this);try{e=`(${e})`,t=(0,l.parse)(e)}catch(t){const n=t.loc;throw n&&(t.message+=" - make sure this is an expression.\n"+(0,s.codeFrameColumns)(e,{start:{line:n.line,column:n.column+1}}),t.code="BABEL_REPLACE_SOURCE_ERROR"),t}const n=t.program.body[0].expression;return i.default.removeProperties(n),this.replaceWith(n)};var s=n(56611),i=n(80004),r=n(32670),o=n(56266),a=n(11064),l=n(40580),c=n(58135),u=n(44537);const{FUNCTION_TYPES:h,arrowFunctionExpression:f,assignmentExpression:p,awaitExpression:d,blockStatement:m,buildUndefinedNode:g,callExpression:y,cloneNode:b,conditionalExpression:C,expressionStatement:v,getBindingIdentifiers:S,identifier:E,inheritLeadingComments:x,inheritTrailingComments:k,inheritsComments:w,isBlockStatement:T,isEmptyStatement:_,isExpression:P,isExpressionStatement:A,isIfStatement:M,isProgram:I,isStatement:O,isVariableDeclaration:F,removeComments:B,returnStatement:L,sequenceExpression:D,validate:N,yieldExpression:R}=c;function j(e){var t;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?N(this.parent,this.key,[e]):N(this.parent,this.key,e),this.debug(`Replace with ${null==e?void 0:e.type}`),null==(t=(0,o.getCachedPaths)(this))||t.set(e,this).delete(this.node),this.node=this.container[this.key]=e}function W(e,t){const n=[];let s=!0;for(const i of e)if(_(i)||(s=!1),P(i))n.push(i);else if(A(i))n.push(i.expression);else if(F(i)){if("var"!==i.kind)return;for(const e of i.declarations){const s=S(e);for(const e of Object.keys(s))t.push(b(s[e]));e.init&&n.push(p("=",e.id,e.init))}s=!0}else if(M(i)){const e=i.consequent?W([i.consequent],t):g(),s=i.alternate?W([i.alternate],t):g();if(!e||!s)return;n.push(C(i.test,e,s))}else if(T(i)){const e=W(i.body,t);if(!e)return;n.push(e)}else{if(!_(i))return;0===e.indexOf(i)&&(s=!0)}return s&&n.push(g()),1===n.length?n[0]:D(n)}},95838:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=function(e,t){const{placeholderWhitelist:n=e.placeholderWhitelist,placeholderPattern:s=e.placeholderPattern,preserveComments:i=e.preserveComments,syntacticPlaceholders:r=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:n,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:r}},t.normalizeReplacements=function(e){if(Array.isArray(e))return e.reduce(((e,t,n)=>(e["$"+n]=t,e)),{});if("object"==typeof e||null==e)return e||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")},t.validate=function(e){if(null!=e&&"object"!=typeof e)throw new Error("Unknown template options.");const t=e||{},{placeholderWhitelist:s,placeholderPattern:i,preserveComments:r,syntacticPlaceholders:o}=t,a=function(e,t){if(null==e)return{};var n={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(-1!==t.indexOf(s))continue;n[s]=e[s]}return n}(t,n);if(null!=s&&!(s instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(null!=i&&!(i instanceof RegExp)&&!1!==i)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(null!=r&&"boolean"!=typeof r)throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(null!=o&&"boolean"!=typeof o)throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(!0===o&&(null!=s||null!=i))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:a,placeholderWhitelist:s||void 0,placeholderPattern:null==i?void 0:i,preserveComments:null==r?void 0:r,syntacticPlaceholders:null==o?void 0:o}};const n=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},95957:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.environmentVisitor=function(e){return g([E,e])},t.explode=p,t.isExplodedVisitor=f,t.merge=g,t.verify=d;var s=n(44057),i=n(37494),r=n(58135),o=n(44537);const{DEPRECATED_KEYS:a,DEPRECATED_ALIASES:l,FLIPPED_ALIAS_KEYS:c,TYPES:u,__internal__deprecationWarning:h}=r;function f(e){return null==e?void 0:e._exploded}function p(e){if(f(e))return e;e._exploded=!0;for(const t of Object.keys(e)){if(v(t))continue;const n=t.split("|");if(1===n.length)continue;const s=e[t];delete e[t];for(const t of n)e[t]=s}d(e),delete e.__esModule,function(e){for(const t of Object.keys(e)){if(v(t))continue;const n=e[t];"function"==typeof n&&(e[t]={enter:n})}}(e),b(e);for(const t of Object.keys(e)){if(v(t))continue;if(!(t in s))continue;const n=e[t];for(const e of Object.keys(n))n[e]=C(t,n[e]);delete e[t];const i=s[t];if(null!==i)for(const t of i)e[t]?S(e[t],n):e[t]=n;else S(e,n)}for(const t of Object.keys(e)){if(v(t))continue;let n=c[t];if(t in a){const e=a[t];h(t,e,"Visitor "),n=[e]}else if(t in l){const e=l[t];h(t,e,"Visitor "),n=c[e]}if(!n)continue;const s=e[t];delete e[t];for(const t of n){const n=e[t];n?S(n,s):e[t]=Object.assign({},s)}}for(const t of Object.keys(e))v(t)||b(e[t]);return e}function d(e){if(!e._verified){if("function"==typeof e)throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(const t of Object.keys(e)){if("enter"!==t&&"exit"!==t||m(t,e[t]),v(t))continue;if(!u.includes(t))throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type in @babel/traverse 7.27.4`);const n=e[t];if("object"==typeof n)for(const e of Object.keys(n)){if("enter"!==e&&"exit"!==e)throw new Error(`You passed \`traverse()\` a visitor object with the property ${t} that has the invalid property ${e}`);m(`${t}.${e}`,n[e])}}e._verified=!0}}function m(e,t){const n=[].concat(t);for(const t of n)if("function"!=typeof t)throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}function g(e,t=[],n){const s={_verified:!0,_exploded:!0};Object.defineProperty(s,"_exploded",{enumerable:!1}),Object.defineProperty(s,"_verified",{enumerable:!1});for(let i=0;i<e.length;i++){const r=p(e[i]),o=t[i];let a=r;(o||n)&&(a=y(a,o,n)),S(s,a);for(const e of Object.keys(r)){if(v(e))continue;let t=r[e];(o||n)&&(t=y(t,o,n)),S(s[e]||(s[e]={}),t)}}return s}function y(e,t,n){const s={};for(const i of["enter","exit"]){let r=e[i];Array.isArray(r)&&(r=r.map((function(e){let s=e;return t&&(s=function(n){e.call(t,n,t)}),n&&(s=n(null==t?void 0:t.key,i,s)),s!==e&&(s.toString=()=>e.toString()),s})),s[i]=r)}return s}function b(e){e.enter&&!Array.isArray(e.enter)&&(e.enter=[e.enter]),e.exit&&!Array.isArray(e.exit)&&(e.exit=[e.exit])}function C(e,t){const n=i[`is${e}`],s=function(e){if(n.call(e))return t.apply(this,arguments)};return s.toString=()=>t.toString(),s}function v(e){return"_"===e[0]||"enter"===e||"exit"===e||"shouldSkip"===e||"denylist"===e||"noScope"===e||"skipKeys"===e||"blacklist"===e}function S(e,t){for(const n of["enter","exit"])t[n]&&(e[n]=[].concat(e[n]||[],t[n]))}const E={FunctionParent(e){e.isArrowFunctionExpression()||(e.skip(),e.isMethod()&&(e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():o.requeueComputedKeyAndDecorators.call(e)))},Property(e){e.isObjectProperty()||(e.skip(),e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():o.requeueComputedKeyAndDecorators.call(e))}}},96230:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},96405:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor(e,t){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=e,this._indentChar=t;for(let e=0;e<64;e++)this._fastIndentations.push(t.repeat(e));this._allocQueue()}_allocQueue(){const e=this._queue;for(let t=0;t<16;t++)e.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(e,t,n,s,i){const r=this._queueCursor;r===this._queue.length&&this._allocQueue();const o=this._queue[r];o.char=e,o.repeat=t,o.line=n,o.column=s,o.filename=i,this._queueCursor++}_popQueue(){if(0===this._queueCursor)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();const e=this._map,t={code:(this._buf+this._str).trimRight(),decodedMap:null==e?void 0:e.getDecoded(),get __mergedMap(){return this.map},get map(){const n=e?e.get():null;return t.map=n,n},set map(e){Object.defineProperty(t,"map",{value:e,writable:!0})},get rawMappings(){const n=null==e?void 0:e.getRawMappings();return t.rawMappings=n,n},set rawMappings(e){Object.defineProperty(t,"rawMappings",{value:e,writable:!0})}};return t}append(e,t){this._flush(),this._append(e,this._sourcePosition,t)}appendChar(e){this._flush(),this._appendChar(e,1,this._sourcePosition)}queue(e){if(10===e)for(;0!==this._queueCursor;){const e=this._queue[this._queueCursor-1].char;if(32!==e&&9!==e)break;this._queueCursor--}const t=this._sourcePosition;this._pushQueue(e,1,t.line,t.column,t.filename)}queueIndentation(e){0!==e&&this._pushQueue(-1,e,void 0,void 0,void 0)}_flush(){const e=this._queueCursor,t=this._queue;for(let n=0;n<e;n++){const e=t[n];this._appendChar(e.char,e.repeat,e)}this._queueCursor=0}_appendChar(e,t,n){if(this._last=e,-1===e){const e=this._fastIndentations[t];this._str+=void 0!==e?e:t>1?this._indentChar.repeat(t):this._indentChar}else this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);10!==e?(this._mark(n.line,n.column,n.identifierName,n.identifierNamePos,n.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(n.identifierName=void 0,n.identifierNamePos=void 0)}_append(e,t,n){const s=e.length,i=this._position;if(this._last=e.charCodeAt(s-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,!n&&!this._map)return void(i.column+=s);const{column:r,identifierName:o,identifierNamePos:a,filename:l}=t;let c=t.line;null==o&&null==a||!this._canMarkIdName||(t.identifierName=void 0,t.identifierNamePos=void 0);let u=e.indexOf("\n"),h=0;for(0!==u&&this._mark(c,r,o,a,l);-1!==u;)i.line++,i.column=0,h=u+1,h<s&&void 0!==c&&this._mark(++c,0,null,null,l),u=e.indexOf("\n",h);i.column+=s-h}_mark(e,t,n,s,i){var r;null==(r=this._map)||r.mark(this._position,e,t,n,s,i)}removeTrailingNewline(){const e=this._queueCursor;0!==e&&10===this._queue[e-1].char&&this._queueCursor--}removeLastSemicolon(){const e=this._queueCursor;0!==e&&59===this._queue[e-1].char&&this._queueCursor--}getLastChar(){const e=this._queueCursor;return 0!==e?this._queue[e-1].char:this._last}getNewlineCount(){const e=this._queueCursor;let t=0;if(0===e)return 10===this._last?1:0;for(let n=e-1;n>=0&&10===this._queue[n].char;n--)t++;return t===e&&10===this._last?t+1:t}endsWithCharAndNewline(){const e=this._queue,t=this._queueCursor;if(0!==t){if(10!==e[t-1].char)return;return t>1?e[t-2].char:this._last}}hasContent(){return 0!==this._queueCursor||!!this._last}exactSource(e,t){if(!this._map)return void t();this.source("start",e);const n=e.identifierName,s=this._sourcePosition;n&&(this._canMarkIdName=!1,s.identifierName=n),t(),n&&(this._canMarkIdName=!0,s.identifierName=void 0,s.identifierNamePos=void 0),this.source("end",e)}source(e,t){this._map&&this._normalizePosition(e,t,0)}sourceWithOffset(e,t,n){this._map&&this._normalizePosition(e,t,n)}_normalizePosition(e,t,n){const s=t[e],i=this._sourcePosition;s&&(i.line=s.line,i.column=Math.max(s.column+n,0),i.filename=t.filename)}getCurrentColumn(){const e=this._queue,t=this._queueCursor;let n=-1,s=0;for(let i=0;i<t;i++){const t=e[i];10===t.char&&(n=s),s+=t.repeat}return-1===n?this._position.column+s:s-1-n}getCurrentLine(){let e=0;const t=this._queue;for(let n=0;n<this._queueCursor;n++)10===t[n].char&&e++;return this._position.line+e}}},96647:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(32670),i=n(58135),r=n(44537);const{VISITOR_KEYS:o}=i;t.default=class{constructor(e,t,n,s){this.queue=null,this.priorityQueue=null,this.parentPath=s,this.scope=e,this.state=n,this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return!0;if(t[e.type])return!0;const n=o[e.type];if(null==n||!n.length)return!1;for(const t of n)if(e[t])return!0;return!1}create(e,t,n,i){return s.default.get({parentPath:this.parentPath,parent:e,container:t,key:n,listKey:i})}maybeQueue(e,t){this.queue&&(t?this.queue.push(e):this.priorityQueue.push(e))}visitMultiple(e,t,n){if(0===e.length)return!1;const s=[];for(let i=0;i<e.length;i++){const r=e[i];r&&this.shouldVisit(r)&&s.push(this.create(t,e,i,n))}return this.visitQueue(s)}visitSingle(e,t){return!!this.shouldVisit(e[t])&&this.visitQueue([this.create(e,e,t)])}visitQueue(e){this.queue=e,this.priorityQueue=[];const t=new WeakSet;let n=!1,s=0;for(;s<e.length;){const i=e[s];if(s++,r.resync.call(i),0!==i.contexts.length&&i.contexts[i.contexts.length-1]===this||r.pushContext.call(i,this),null===i.key)continue;const{node:o}=i;if(!t.has(o)){if(o&&t.add(o),i.visit()){n=!0;break}if(this.priorityQueue.length&&(n=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,n))break}}for(let t=0;t<s;t++)r.popContext.call(e[t]);return this.queue=null,n}visit(e,t){const n=e[t];return!!n&&(Array.isArray(n)?this.visitMultiple(n,e,t):this.visitSingle(e,t))}}},97743:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let s=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(s++,"%c"===e&&(i=s))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=!1),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(27891)(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},98079:function(e){e.exports=function(){"use strict";const e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,n=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var s;function i(e){return e.startsWith("/")}function r(e){return/^[.?#]/.test(e)}function o(e){const n=t.exec(e);return a(n[1],n[2]||"",n[3],n[4]||"",n[5]||"/",n[6]||"",n[7]||"")}function a(e,t,n,i,r,o,a){return{scheme:e,user:t,host:n,port:i,path:r,query:o,hash:a,type:s.Absolute}}function l(t){if(function(e){return e.startsWith("//")}(t)){const e=o("http:"+t);return e.scheme="",e.type=s.SchemeRelative,e}if(i(t)){const e=o("http://foo.com"+t);return e.scheme="",e.host="",e.type=s.AbsolutePath,e}if(function(e){return e.startsWith("file:")}(t))return function(e){const t=n.exec(e),s=t[2];return a("file:","",t[1]||"","",i(s)?s:"/"+s,t[3]||"",t[4]||"")}(t);if(function(t){return e.test(t)}(t))return o(t);const r=o("http://foo.com/"+t);return r.scheme="",r.host="",r.type=t?t.startsWith("?")?s.Query:t.startsWith("#")?s.Hash:s.RelativePath:s.Empty,r}function c(e,t){const n=t<=s.RelativePath,i=e.path.split("/");let r=1,o=0,a=!1;for(let e=1;e<i.length;e++){const t=i[e];t?(a=!1,"."!==t&&(".."!==t?(i[r++]=t,o++):o?(a=!0,o--,r--):n&&(i[r++]=t))):a=!0}let l="";for(let e=1;e<r;e++)l+="/"+i[e];(!l||a&&!l.endsWith("/.."))&&(l+="/"),e.path=l}return function(e){e[e.Empty=1]="Empty",e[e.Hash=2]="Hash",e[e.Query=3]="Query",e[e.RelativePath=4]="RelativePath",e[e.AbsolutePath=5]="AbsolutePath",e[e.SchemeRelative=6]="SchemeRelative",e[e.Absolute=7]="Absolute"}(s||(s={})),function(e,t){if(!e&&!t)return"";const n=l(e);let i=n.type;if(t&&i!==s.Absolute){const e=l(t),r=e.type;switch(i){case s.Empty:n.hash=e.hash;case s.Hash:n.query=e.query;case s.Query:case s.RelativePath:!function(e,t){c(t,t.type),"/"===e.path?e.path=t.path:e.path=function(e){if(e.endsWith("/.."))return e;const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t.path)+e.path}(n,e);case s.AbsolutePath:n.user=e.user,n.host=e.host,n.port=e.port;case s.SchemeRelative:n.scheme=e.scheme}r>i&&(i=r)}c(n,i);const o=n.query+n.hash;switch(i){case s.Hash:case s.Query:return o;case s.RelativePath:{const s=n.path.slice(1);return s?r(t||e)&&!r(s)?"./"+s+o:s+o:o||"."}case s.AbsolutePath:return n.path+o;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+o}}}()},98952:e=>{var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreenBright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};e.exports=n(),e.exports.createColors=n}}]);
|
|
15
|
+
//# sourceMappingURL=3735.8c1d82e7.js.map
|