@modern-js/module-tools 2.20.0 → 2.21.0
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/CHANGELOG.md +33 -0
- package/bin/modern.js +0 -1
- package/compiled/postcss-flexbugs-fixes/index.js +1 -1
- package/compiled/postcss-font-variant/index.js +1 -1
- package/compiled/postcss-initial/index.js +1 -1
- package/compiled/postcss-media-minmax/index.js +1 -1
- package/compiled/postcss-nesting/index.js +1 -1
- package/compiled/postcss-page-break/index.js +1 -1
- package/compiled/rollup-plugin-dts/index.js +1 -1
- package/dist/cli.js +7 -2
- package/dist/cli.js.map +1 -1
- package/dist/config/defineConfig.d.ts +0 -1
- package/dist/config/transformLegacyConfig.d.ts +0 -2
- package/dist/constants/buildPresets.d.ts +8 -8
- package/dist/plugins.d.ts +1 -1
- package/dist/types/config/index.d.ts +0 -1
- package/dist/types/legacyConfig/output.d.ts +1 -5
- package/dist/types/legacyConfig/source.d.ts +0 -1
- package/dist/types/legacyConfig/tools.d.ts +0 -4
- package/dist/types/utils.d.ts +0 -2
- package/dist/utils/dts.js.map +1 -1
- package/dist/utils/tspathsTransform.js +4 -4
- package/dist/utils/tspathsTransform.js.map +1 -1
- package/package.json +21 -15
- package/compiled/@babel/code-frame/index.d.ts +0 -1
- package/compiled/@babel/code-frame/index.js +0 -1
- package/compiled/@babel/code-frame/license +0 -22
- package/compiled/@babel/code-frame/package.json +0 -1
- package/compiled/@babel/generator/index.d.ts +0 -1
- package/compiled/@babel/generator/index.js +0 -1
- package/compiled/@babel/generator/license +0 -22
- package/compiled/@babel/generator/package.json +0 -1
- package/compiled/@babel/helper-validator-identifier/index.d.ts +0 -1
- package/compiled/@babel/helper-validator-identifier/index.js +0 -1
- package/compiled/@babel/helper-validator-identifier/license +0 -22
- package/compiled/@babel/helper-validator-identifier/package.json +0 -1
- package/compiled/@babel/highlight/index.d.ts +0 -1
- package/compiled/@babel/highlight/index.js +0 -1
- package/compiled/@babel/highlight/license +0 -22
- package/compiled/@babel/highlight/package.json +0 -1
- package/compiled/@babel/parser/@babel/types/lib/index-legacy.d.ts +0 -2742
- package/compiled/@babel/parser/index.js +0 -1
- package/compiled/@babel/parser/license +0 -19
- package/compiled/@babel/parser/package.json +0 -1
- package/compiled/@babel/parser/typings/babel-parser.d.ts +0 -214
- package/compiled/@babel/template/index.d.ts +0 -1
- package/compiled/@babel/template/index.js +0 -1
- package/compiled/@babel/template/license +0 -22
- package/compiled/@babel/template/package.json +0 -1
- package/compiled/@babel/traverse/index.d.ts +0 -1199
- package/compiled/@babel/traverse/index.js +0 -1
- package/compiled/@babel/traverse/license +0 -22
- package/compiled/@babel/traverse/package.json +0 -1
- package/compiled/@babel/types/index.js +0 -1
- package/compiled/@babel/types/lib/index-legacy.d.ts +0 -2732
- package/compiled/@babel/types/license +0 -22
- package/compiled/@babel/types/package.json +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{var e={49:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.clear=clear;t.clearPath=clearPath;t.clearScope=clearScope;t.scope=t.path=void 0;let n=new WeakMap;t.path=n;let s=new WeakMap;t.scope=s;function clear(){clearPath();clearScope()}function clearPath(){t.path=n=new WeakMap}function clearScope(){t.scope=s=new WeakMap}},214:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=n(348);var r=n(740);const{VISITOR_KEYS:i}=r;class TraversalContext{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 true;if(t[e.type])return true;const n=i[e.type];if(!(n!=null&&n.length))return false;for(const t of n){if(e[t])return true}return false}create(e,t,n,r){return s.default.get({parentPath:this.parentPath,parent:e,container:t,key:n,listKey:r})}maybeQueue(e,t){if(this.queue){if(t){this.queue.push(e)}else{this.priorityQueue.push(e)}}}visitMultiple(e,t,n){if(e.length===0)return false;const s=[];for(let r=0;r<e.length;r++){const i=e[r];if(i&&this.shouldVisit(i)){s.push(this.create(t,e,r,n))}}return this.visitQueue(s)}visitSingle(e,t){if(this.shouldVisit(e[t])){return this.visitQueue([this.create(e,e,t)])}else{return false}}visitQueue(e){this.queue=e;this.priorityQueue=[];const t=new WeakSet;let n=false;for(const s of e){s.resync();if(s.contexts.length===0||s.contexts[s.contexts.length-1]!==this){s.pushContext(this)}if(s.key===null)continue;const{node:r}=s;if(t.has(r))continue;if(r)t.add(r);if(s.visit()){n=true;break}if(this.priorityQueue.length){n=this.visitQueue(this.priorityQueue);this.priorityQueue=[];this.queue=e;if(n)break}}for(const t of e){t.popContext()}this.queue=null;return n}visit(e,t){const n=e[t];if(!n)return false;if(Array.isArray(n)){return this.visitMultiple(n,e,t)}else{return this.visitSingle(e,t)}}}t["default"]=TraversalContext},737:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class Hub{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,n=TypeError){return new n(t)}}t["default"]=Hub},701:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"Hub",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"NodePath",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return l.default}});t.visitors=t["default"]=void 0;var s=n(63);t.visitors=s;var r=n(740);var i=n(49);var a=n(569);var o=n(348);var l=n(556);var f=n(737);const{VISITOR_KEYS:c,removeProperties:u,traverseFast:p}=r;function traverse(e,t={},n,r,i){if(!e)return;if(!t.noScope&&!n){if(e.type!=="Program"&&e.type!=="File"){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(!c[e.type]){return}s.explode(t);(0,a.traverseNode)(e,t,n,r,i)}var d=traverse;t["default"]=d;traverse.visitors=s;traverse.verify=s.verify;traverse.explode=s.explode;traverse.cheap=function(e,t){return p(e,t)};traverse.node=function(e,t,n,s,r,i){(0,a.traverseNode)(e,t,n,s,r,i)};traverse.clearNode=function(e,t){u(e,t);i.path.delete(e)};traverse.removeProperties=function(e,t){p(e,traverse.clearNode,t);return e};function hasDenylistedType(e,t){if(e.node.type===t.type){t.has=true;e.stop()}}traverse.hasType=function(e,t,n){if(n!=null&&n.includes(e.type))return false;if(e.type===t)return true;const s={has:false,type:t};traverse(e,{noScope:true,denylist:n,enter:hasDenylistedType},null,s);return s.has};traverse.cache=i},937:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.find=find;t.findParent=findParent;t.getAncestry=getAncestry;t.getDeepestCommonAncestorFrom=getDeepestCommonAncestorFrom;t.getEarliestCommonAncestorFrom=getEarliestCommonAncestorFrom;t.getFunctionParent=getFunctionParent;t.getStatementParent=getStatementParent;t.inType=inType;t.isAncestor=isAncestor;t.isDescendant=isDescendant;var s=n(740);var r=n(348);const{VISITOR_KEYS:i}=s;function findParent(e){let t=this;while(t=t.parentPath){if(e(t))return t}return null}function find(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null}function getFunctionParent(){return this.findParent((e=>e.isFunction()))}function getStatementParent(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){break}else{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}function getEarliestCommonAncestorFrom(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];if(!s){s=n;continue}if(n.listKey&&s.listKey===n.listKey){if(n.key<s.key){s=n;continue}}const i=r.indexOf(s.parentKey);const a=r.indexOf(n.parentKey);if(i>a){s=n}}return s}))}function getDeepestCommonAncestorFrom(e,t){if(!e.length){return this}if(e.length===1){return e[0]}let n=Infinity;let s,r;const i=e.map((e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);if(t.length<n){n=t.length}return t}));const a=i[0];e:for(let e=0;e<n;e++){const t=a[e];for(const n of i){if(n[e]!==t){break e}}s=e;r=t}if(r){if(t){return t(r,s,i)}else{return r}}else{throw new Error("Couldn't find intersection")}}function getAncestry(){let e=this;const t=[];do{t.push(e)}while(e=e.parentPath);return t}function isAncestor(e){return e.isDescendant(this)}function isDescendant(e){return!!this.findParent((t=>t===e))}function inType(...e){let t=this;while(t){for(const n of e){if(t.node.type===n)return true}t=t.parentPath}return false}},613:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addComment=addComment;t.addComments=addComments;t.shareCommentsWithSiblings=shareCommentsWithSiblings;var s=n(740);const{addComment:r,addComments:i}=s;function shareCommentsWithSiblings(){if(typeof this.key==="string")return;const e=this.node;if(!e)return;const t=e.trailingComments;const n=e.leadingComments;if(!t&&!n)return;const s=this.getSibling(this.key-1);const r=this.getSibling(this.key+1);const i=Boolean(s.node);const a=Boolean(r.node);if(i&&!a){s.addComments("trailing",t)}else if(a&&!i){r.addComments("leading",n)}}function addComment(e,t,n){r(this.node,e,t,n)}function addComments(e,t){i(this.node,e,t)}},266:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._call=_call;t._getQueueContexts=_getQueueContexts;t._resyncKey=_resyncKey;t._resyncList=_resyncList;t._resyncParent=_resyncParent;t._resyncRemoved=_resyncRemoved;t.call=call;t.isBlacklisted=t.isDenylisted=isDenylisted;t.popContext=popContext;t.pushContext=pushContext;t.requeue=requeue;t.resync=resync;t.setContext=setContext;t.setKey=setKey;t.setScope=setScope;t.setup=setup;t.skip=skip;t.skipKey=skipKey;t.stop=stop;t.visit=visit;var s=n(569);var r=n(348);function call(e){const t=this.opts;this.debug(e);if(this.node){if(this._call(t[e]))return true}if(this.node){return this._call(t[this.node.type]&&t[this.node.type][e])}return false}function _call(e){if(!e)return false;for(const t of e){if(!t)continue;const e=this.node;if(!e)return true;const n=t.call(this.state,this,this.state);if(n&&typeof n==="object"&&typeof n.then==="function"){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 true;if(this._traverseFlags>0)return true}return false}function isDenylisted(){var e;const t=(e=this.opts.denylist)!=null?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1}function restoreContext(e,t){if(e.context!==t){e.context=t;e.state=t.state;e.opts=t.opts}}function visit(){if(!this.node){return false}if(this.isDenylisted()){return false}if(this.opts.shouldSkip&&this.opts.shouldSkip(this)){return false}const e=this.context;if(this.shouldSkip||this.call("enter")){this.debug("Skip...");return this.shouldStop}restoreContext(this,e);this.debug("Recursing into...");this.shouldStop=(0,s.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys);restoreContext(this,e);this.call("exit");return this.shouldStop}function skip(){this.shouldSkip=true}function skipKey(e){if(this.skipKeys==null){this.skipKeys={}}this.skipKeys[e]=true}function stop(){this._traverseFlags|=r.SHOULD_SKIP|r.SHOULD_STOP}function setScope(){if(this.opts&&this.opts.noScope)return;let e=this.parentPath;if((this.key==="key"||this.listKey==="decorators")&&e.isMethod()){e=e.parentPath}let t;while(e&&!t){if(e.opts&&e.opts.noScope)return;t=e.scope;e=e.parentPath}this.scope=this.getScope(t);if(this.scope)this.scope.init()}function setContext(e){if(this.skipKeys!=null){this.skipKeys={}}this._traverseFlags=0;if(e){this.context=e;this.state=e.state;this.opts=e.opts}this.setScope();return this}function resync(){if(this.removed)return;this._resyncParent();this._resyncList();this._resyncKey()}function _resyncParent(){if(this.parentPath){this.parent=this.parentPath.node}}function _resyncKey(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let e=0;e<this.container.length;e++){if(this.container[e]===this.node){return this.setKey(e)}}}else{for(const e of Object.keys(this.container)){if(this.container[e]===this.node){return this.setKey(e)}}}this.key=null}function _resyncList(){if(!this.parent||!this.inList)return;const e=this.parent[this.listKey];if(this.container===e)return;this.container=e||null}function _resyncRemoved(){if(this.key==null||!this.container||this.container[this.key]!==this.node){this._markRemoved()}}function popContext(){this.contexts.pop();if(this.contexts.length>0){this.setContext(this.contexts[this.contexts.length-1])}else{this.setContext(undefined)}}function pushContext(e){this.contexts.push(e);this.setContext(e)}function setup(e,t,n,s){this.listKey=n;this.container=t;this.parentPath=e||this.parentPath;this.setKey(s)}function setKey(e){var t;this.key=e;this.node=this.container[this.key];this.type=(t=this.node)==null?void 0:t.type}function requeue(e=this){if(e.removed)return;const t=this.contexts;for(const n of t){n.maybeQueue(e)}}function _getQueueContexts(){let e=this;let t=this.contexts;while(!t.length){e=e.parentPath;if(!e)break;t=e.contexts}return t}},137:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrowFunctionToExpression=arrowFunctionToExpression;t.arrowFunctionToShadowed=arrowFunctionToShadowed;t.ensureBlock=ensureBlock;t.toComputedKey=toComputedKey;t.unwrapFunctionEnvironment=unwrapFunctionEnvironment;var s=n(740);var r=n(371);var i=n(988);var a=n(63);const{arrowFunctionExpression:o,assignmentExpression:l,binaryExpression:f,blockStatement:c,callExpression:u,conditionalExpression:p,expressionStatement:d,identifier:h,isIdentifier:g,jsxIdentifier:m,logicalExpression:y,LOGICAL_OPERATORS:E,memberExpression:b,metaProperty:v,numericLiteral:S,objectExpression:C,restElement:x,returnStatement:P,sequenceExpression:T,spreadElement:k,stringLiteral:A,super:I,thisExpression:O,toExpression:w,unaryExpression:D}=s;function toComputedKey(){let e;if(this.isMemberExpression()){e=this.node.property}else if(this.isProperty()||this.isMethod()){e=this.node.key}else{throw new ReferenceError("todo")}if(!this.node.computed){if(g(e))e=A(e.name)}return e}function ensureBlock(){const e=this.get("body");const 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="body";let r;let i;if(e.isStatement()){i="body";r=0;n.push(e.node)}else{s+=".body.0";if(this.isFunction()){r="argument";n.push(P(e.node))}else{r="expression";n.push(d(e.node))}}this.node.body=c(n);const a=this.get(s);e.setup(a,i?a.node[i]:a.node,i,r);return this.node}function arrowFunctionToShadowed(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()}function unwrapFunctionEnvironment(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration()){throw this.buildCodeFrameError("Can only unwrap the environment of a function.")}hoistFunctionEnvironment(this)}function arrowFunctionToExpression({allowInsertArrow:e=true,specCompliant:t=false,noNewArrows:n=!t}={}){if(!this.isArrowFunctionExpression()){throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.")}const{thisBinding:s,fnPath:r}=hoistFunctionEnvironment(this,n,e);r.ensureBlock();r.node.type="FunctionExpression";if(!n){const e=s?null:r.scope.generateUidIdentifier("arrowCheckId");if(e){r.parentPath.scope.push({id:e,init:C([])})}r.get("body").unshiftContainer("body",d(u(this.hub.addHelper("newArrowCheck"),[O(),e?h(e.name):h(s)])));r.replaceWith(u(b((0,i.default)(this,true)||r.node,h("bind")),[e?h(e.name):O()]))}}const F=(0,a.merge)([{CallExpression(e,{allSuperCalls:t}){if(!e.get("callee").isSuper())return;t.push(e)}},r.default]);function hoistFunctionEnvironment(e,t=true,n=true){let s;let r=e.findParent((e=>{if(e.isArrowFunctionExpression()){var t;(t=s)!=null?t:s=e;return false}return e.isFunction()||e.isProgram()||e.isClassProperty({static:false})||e.isClassPrivateProperty({static:false})}));const i=r.isClassMethod({kind:"constructor"});if(r.isClassProperty()||r.isClassPrivateProperty()){if(s){r=s}else if(n){e.replaceWith(u(o([],w(e.node)),[]));r=e.get("callee");e=r.get("body")}else{throw e.buildCodeFrameError("Unable to transform arrow inside class property")}}const{thisPaths:a,argumentsPaths:l,newTargetPaths:c,superProps:d,superCalls:g}=getScopeInformation(e);if(i&&g.length>0){if(!n){throw g[0].buildCodeFrameError("Unable to handle nested super() usage in arrow")}const e=[];r.traverse(F,{allSuperCalls:e});const t=getSuperBinding(r);e.forEach((e=>{const n=h(t);n.loc=e.node.callee.loc;e.get("callee").replaceWith(n)}))}if(l.length>0){const e=getBinding(r,"arguments",(()=>{const args=()=>h("arguments");if(r.scope.path.isProgram()){return p(f("===",D("typeof",args()),A("undefined")),r.scope.buildUndefinedNode(),args())}else{return args()}}));l.forEach((t=>{const n=h(e);n.loc=t.node.loc;t.replaceWith(n)}))}if(c.length>0){const e=getBinding(r,"newtarget",(()=>v(h("new"),h("target"))));c.forEach((t=>{const n=h(e);n.loc=t.node.loc;t.replaceWith(n)}))}if(d.length>0){if(!n){throw d[0].buildCodeFrameError("Unable to handle nested super.prop usage")}const e=d.reduce(((e,t)=>e.concat(standardizeSuperProperty(t))),[]);e.forEach((e=>{const t=e.node.computed?"":e.get("property").node.name;const n=e.parentPath.isAssignmentExpression({left:e.node});const s=e.parentPath.isCallExpression({callee:e.node});const i=getSuperPropBinding(r,n,t);const o=[];if(e.node.computed){o.push(e.get("property").node)}if(n){const t=e.parentPath.node.right;o.push(t)}const l=u(h(i),o);if(s){e.parentPath.unshiftContainer("arguments",O());e.replaceWith(b(l,h("call")));a.push(e.parentPath.get("arguments.0"))}else if(n){e.parentPath.replaceWith(l)}else{e.replaceWith(l)}}))}let y;if(a.length>0||!t){y=getThisBinding(r,i);if(t||i&&hasSuperClass(r)){a.forEach((e=>{const t=e.isJSX()?m(y):h(y);t.loc=e.node.loc;e.replaceWith(t)}));if(!t)y=null}}return{thisBinding:y,fnPath:e}}function isLogicalOp(e){return E.includes(e)}function standardizeSuperProperty(e){if(e.parentPath.isAssignmentExpression()&&e.parentPath.node.operator!=="="){const t=e.parentPath;const n=t.node.operator.slice(0,-1);const s=t.node.right;const r=isLogicalOp(n);if(e.node.computed){const i=e.scope.generateDeclaredUidIdentifier("tmp");const a=e.node.object;const o=e.node.property;t.get("left").replaceWith(b(a,l("=",i,o),true));t.get("right").replaceWith(rightExpression(r?"=":n,b(a,h(i.name),true),s))}else{const i=e.node.object;const a=e.node.property;t.get("left").replaceWith(b(i,a));t.get("right").replaceWith(rightExpression(r?"=":n,b(i,h(a.name)),s))}if(r){t.replaceWith(y(n,t.node.left,t.node.right))}else{t.node.operator="="}return[t.get("left"),t.get("right").get("left")]}else if(e.parentPath.isUpdateExpression()){const t=e.parentPath;const n=e.scope.generateDeclaredUidIdentifier("tmp");const s=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null;const r=[l("=",n,b(e.node.object,s?l("=",s,e.node.property):e.node.property,e.node.computed)),l("=",b(e.node.object,s?h(s.name):e.node.property,e.node.computed),f(e.parentPath.node.operator[0],h(n.name),S(1)))];if(!e.parentPath.node.prefix){r.push(h(n.name))}t.replaceWith(T(r));const i=t.get("expressions.0.right");const a=t.get("expressions.1.left");return[i,a]}return[e];function rightExpression(e,t,n){if(e==="="){return l("=",t,n)}else{return f(e,t,n)}}}function hasSuperClass(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}const B=(0,a.merge)([{CallExpression(e,{supers:t,thisBinding:n}){if(!e.get("callee").isSuper())return;if(t.has(e.node))return;t.add(e.node);e.replaceWithMultiple([e.node,l("=",h(n),h("this"))])}},r.default]);function getThisBinding(e,t){return getBinding(e,"this",(n=>{if(!t||!hasSuperClass(e))return O();e.traverse(B,{supers:new WeakSet,thisBinding:n})}))}function getSuperBinding(e){return getBinding(e,"supercall",(()=>{const t=e.scope.generateUidIdentifier("args");return o([x(t)],u(I(),[k(h(t.name))]))}))}function getSuperPropBinding(e,t,n){const s=t?"set":"get";return getBinding(e,`superprop_${s}:${n||""}`,(()=>{const s=[];let r;if(n){r=b(I(),h(n))}else{const t=e.scope.generateUidIdentifier("prop");s.unshift(t);r=b(I(),h(t.name),true)}if(t){const t=e.scope.generateUidIdentifier("value");s.push(t);r=l("=",r,h(t.name))}return o(s,r)}))}function getBinding(e,t,n){const s="binding:"+t;let r=e.getData(s);if(!r){const i=e.scope.generateUidIdentifier(t);r=i.name;e.setData(s,r);e.scope.push({id:i,init:n(r)})}return r}const M=(0,a.merge)([{ThisExpression(e,{thisPaths:t}){t.push(e)},JSXIdentifier(e,{thisPaths:t}){if(e.node.name!=="this")return;if(!e.parentPath.isJSXMemberExpression({object:e.node})&&!e.parentPath.isJSXOpeningElement({name:e.node})){return}t.push(e)},CallExpression(e,{superCalls:t}){if(e.get("callee").isSuper())t.push(e)},MemberExpression(e,{superProps:t}){if(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")){n.rename("arguments");return}if(n.path.isFunction()&&!n.path.isArrowFunctionExpression()){break}}while(n=n.parent);t.push(e)},MetaProperty(e,{newTargetPaths:t}){if(!e.get("meta").isIdentifier({name:"new"}))return;if(!e.get("property").isIdentifier({name:"target"}))return;t.push(e)}},r.default]);function getScopeInformation(e){const t=[];const n=[];const s=[];const r=[];const i=[];e.traverse(M,{thisPaths:t,argumentsPaths:n,newTargetPaths:s,superProps:r,superCalls:i});return{thisPaths:t,argumentsPaths:n,newTargetPaths:s,superProps:r,superCalls:i}}},954:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.evaluate=evaluate;t.evaluateTruthy=evaluateTruthy;const n=["String","Number","Math"];const s=["random"];function evaluateTruthy(){const e=this.evaluate();if(e.confident)return!!e.value}function deopt(e,t){if(!t.confident)return;t.deoptPath=e;t.confident=false}function evaluateCached(e,t){const{node:n}=e;const{seen:s}=t;if(s.has(n)){const r=s.get(n);if(r.resolved){return r.value}else{deopt(e,t);return}}else{const r={resolved:false};s.set(n,r);const i=_evaluate(e,t);if(t.confident){r.resolved=true;r.value=i}return i}}function _evaluate(e,t){if(!t.confident)return;if(e.isSequenceExpression()){const n=e.get("expressions");return evaluateCached(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 evaluateQuasis(e,e.node.quasis,t)}if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const n=e.get("tag.object");const{node:{name:s}}=n;const r=e.get("tag.property");if(n.isIdentifier()&&s==="String"&&!e.scope.getBinding(s)&&r.isIdentifier()&&r.node.name==="raw"){return evaluateQuasis(e,e.node.quasi.quasis,t,true)}}if(e.isConditionalExpression()){const n=evaluateCached(e.get("test"),t);if(!t.confident)return;if(n){return evaluateCached(e.get("consequent"),t)}else{return evaluateCached(e.get("alternate"),t)}}if(e.isExpressionWrapper()){return evaluateCached(e.get("expression"),t)}if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const t=e.get("property");const n=e.get("object");if(n.isLiteral()&&t.isIdentifier()){const e=n.node.value;const s=typeof e;if(s==="number"||s==="string"){return e[t.node.name]}}}if(e.isReferencedIdentifier()){const n=e.scope.getBinding(e.node.name);if(n&&n.constantViolations.length>0){return deopt(n.path,t)}if(n&&e.node.start<n.path.node.end){return deopt(n.path,t)}if(n!=null&&n.hasValue){return n.value}else{if(e.node.name==="undefined"){return n?deopt(n.path,t):undefined}else if(e.node.name==="Infinity"){return n?deopt(n.path,t):Infinity}else if(e.node.name==="NaN"){return n?deopt(n.path,t):NaN}const s=e.resolve();if(s===e){return deopt(e,t)}else{return evaluateCached(s,t)}}}if(e.isUnaryExpression({prefix:true})){if(e.node.operator==="void"){return undefined}const n=e.get("argument");if(e.node.operator==="typeof"&&(n.isFunction()||n.isClass())){return"function"}const s=evaluateCached(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=[];const s=e.get("elements");for(const e of s){const s=e.evaluate();if(s.confident){n.push(s.value)}else{return deopt(s.deopt,t)}}return n}if(e.isObjectExpression()){const n={};const s=e.get("properties");for(const e of s){if(e.isObjectMethod()||e.isSpreadElement()){return deopt(e,t)}const s=e.get("key");let r=s;if(e.node.computed){r=r.evaluate();if(!r.confident){return deopt(r.deopt,t)}r=r.value}else if(r.isIdentifier()){r=r.node.name}else{r=r.node.value}const i=e.get("value");let a=i.evaluate();if(!a.confident){return deopt(a.deopt,t)}a=a.value;n[r]=a}return n}if(e.isLogicalExpression()){const n=t.confident;const s=evaluateCached(e.get("left"),t);const r=t.confident;t.confident=n;const i=evaluateCached(e.get("right"),t);const a=t.confident;switch(e.node.operator){case"||":t.confident=r&&(!!s||a);if(!t.confident)return;return s||i;case"&&":t.confident=r&&(!s||a);if(!t.confident)return;return s&&i}}if(e.isBinaryExpression()){const n=evaluateCached(e.get("left"),t);if(!t.confident)return;const s=evaluateCached(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 r=e.get("callee");let i;let a;if(r.isIdentifier()&&!e.scope.getBinding(r.node.name)&&n.indexOf(r.node.name)>=0){a=global[r.node.name]}if(r.isMemberExpression()){const e=r.get("object");const t=r.get("property");if(e.isIdentifier()&&t.isIdentifier()&&n.indexOf(e.node.name)>=0&&s.indexOf(t.node.name)<0){i=global[e.node.name];a=i[t.node.name]}if(e.isLiteral()&&t.isIdentifier()){const n=typeof e.node.value;if(n==="string"||n==="number"){i=e.node.value;a=i[t.node.name]}}}if(a){const n=e.get("arguments").map((e=>evaluateCached(e,t)));if(!t.confident)return;return a.apply(i,n)}}deopt(e,t)}function evaluateQuasis(e,t,n,s=false){let r="";let i=0;const a=e.get("expressions");for(const e of t){if(!n.confident)break;r+=s?e.value.raw:e.value.cooked;const t=a[i++];if(t)r+=String(evaluateCached(t,n))}if(!n.confident)return;return r}function evaluate(){const e={confident:true,deoptPath:null,seen:new Map};let t=evaluateCached(this,e);if(!e.confident)t=undefined;return{confident:e.confident,deopt:e.deoptPath,value:t}}},322:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._getKey=_getKey;t._getPattern=_getPattern;t.get=get;t.getAllNextSiblings=getAllNextSiblings;t.getAllPrevSiblings=getAllPrevSiblings;t.getBindingIdentifierPaths=getBindingIdentifierPaths;t.getBindingIdentifiers=getBindingIdentifiers;t.getCompletionRecords=getCompletionRecords;t.getNextSibling=getNextSibling;t.getOpposite=getOpposite;t.getOuterBindingIdentifierPaths=getOuterBindingIdentifierPaths;t.getOuterBindingIdentifiers=getOuterBindingIdentifiers;t.getPrevSibling=getPrevSibling;t.getSibling=getSibling;var s=n(348);var r=n(740);const{getBindingIdentifiers:i,getOuterBindingIdentifiers:a,isDeclaration:o,numericLiteral:l,unaryExpression:f}=r;const c=0;const u=1;function NormalCompletion(e){return{type:c,path:e}}function BreakCompletion(e){return{type:u,path:e}}function getOpposite(){if(this.key==="left"){return this.getSibling("right")}else if(this.key==="right"){return this.getSibling("left")}return null}function addCompletionRecords(e,t,n){if(e){t.push(..._getCompletionRecords(e,n))}return t}function completionRecordForSwitch(e,t,n){let s=[];for(let r=0;r<e.length;r++){const i=e[r];const a=_getCompletionRecords(i,n);const o=[];const l=[];for(const e of a){if(e.type===c){o.push(e)}if(e.type===u){l.push(e)}}if(o.length){s=o}t.push(...l)}t.push(...s);return t}function normalCompletionToBreak(e){e.forEach((e=>{e.type=u}))}function replaceBreakStatementInBreakCompletion(e,t){e.forEach((e=>{if(e.path.isBreakStatement({label:null})){if(t){e.path.replaceWith(f("void",l(0)))}else{e.path.remove()}}}))}function getStatementListCompletion(e,t){const n=[];if(t.canHaveBreak){let s=[];for(let r=0;r<e.length;r++){const i=e[r];const a=Object.assign({},t,{inCaseClause:false});if(i.isBlockStatement()&&(t.inCaseClause||t.shouldPopulateBreak)){a.shouldPopulateBreak=true}else{a.shouldPopulateBreak=false}const o=_getCompletionRecords(i,a);if(o.length>0&&o.every((e=>e.type===u))){if(s.length>0&&o.every((e=>e.path.isBreakStatement({label:null})))){normalCompletionToBreak(s);n.push(...s);if(s.some((e=>e.path.isDeclaration()))){n.push(...o);replaceBreakStatementInBreakCompletion(o,true)}replaceBreakStatementInBreakCompletion(o,false)}else{n.push(...o);if(!t.shouldPopulateBreak){replaceBreakStatementInBreakCompletion(o,true)}}break}if(r===e.length-1){n.push(...o)}else{s=[];for(let e=0;e<o.length;e++){const t=o[e];if(t.type===u){n.push(t)}if(t.type===c){s.push(t)}}}}}else if(e.length){for(let s=e.length-1;s>=0;s--){const r=_getCompletionRecords(e[s],t);if(r.length>1||r.length===1&&!r[0].path.isVariableDeclaration()){n.push(...r);break}}}return n}function _getCompletionRecords(e,t){let n=[];if(e.isIfStatement()){n=addCompletionRecords(e.get("consequent"),n,t);n=addCompletionRecords(e.get("alternate"),n,t)}else if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement()){return addCompletionRecords(e.get("body"),n,t)}else if(e.isProgram()||e.isBlockStatement()){return getStatementListCompletion(e.get("body"),t)}else if(e.isFunction()){return _getCompletionRecords(e.get("body"),t)}else if(e.isTryStatement()){n=addCompletionRecords(e.get("block"),n,t);n=addCompletionRecords(e.get("handler"),n,t)}else if(e.isCatchClause()){return addCompletionRecords(e.get("body"),n,t)}else if(e.isSwitchStatement()){return completionRecordForSwitch(e.get("cases"),n,t)}else if(e.isSwitchCase()){return getStatementListCompletion(e.get("consequent"),{canHaveBreak:true,shouldPopulateBreak:false,inCaseClause:true})}else if(e.isBreakStatement()){n.push(BreakCompletion(e))}else{n.push(NormalCompletion(e))}return n}function getCompletionRecords(){const e=_getCompletionRecords(this,{canHaveBreak:false,shouldPopulateBreak:false,inCaseClause:false});return e.map((e=>e.path))}function getSibling(e){return s.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function getPrevSibling(){return this.getSibling(this.key-1)}function getNextSibling(){return this.getSibling(this.key+1)}function getAllNextSiblings(){let e=this.key;let t=this.getSibling(++e);const n=[];while(t.node){n.push(t);t=this.getSibling(++e)}return n}function getAllPrevSiblings(){let e=this.key;let t=this.getSibling(--e);const n=[];while(t.node){n.push(t);t=this.getSibling(--e)}return n}function get(e,t=true){if(t===true)t=this.context;const n=e.split(".");if(n.length===1){return this._getKey(e,t)}else{return this._getPattern(n,t)}}function _getKey(e,t){const n=this.node;const r=n[e];if(Array.isArray(r)){return r.map(((i,a)=>s.default.get({listKey:e,parentPath:this,parent:n,container:r,key:a}).setContext(t)))}else{return s.default.get({parentPath:this,parent:n,container:n,key:e}).setContext(t)}}function _getPattern(e,t){let n=this;for(const s of e){if(s==="."){n=n.parentPath}else{if(Array.isArray(n)){n=n[s]}else{n=n.get(s,t)}}}return n}function getBindingIdentifiers(e){return i(this.node,e)}function getOuterBindingIdentifiers(e){return a(this.node,e)}function getBindingIdentifierPaths(e=false,t=false){const n=this;const s=[n];const r=Object.create(null);while(s.length){const n=s.shift();if(!n)continue;if(!n.node)continue;const a=i.keys[n.node.type];if(n.isIdentifier()){if(e){const e=r[n.node.name]=r[n.node.name]||[];e.push(n)}else{r[n.node.name]=n}continue}if(n.isExportDeclaration()){const e=n.get("declaration");if(o(e)){s.push(e)}continue}if(t){if(n.isFunctionDeclaration()){s.push(n.get("id"));continue}if(n.isFunctionExpression()){continue}}if(a){for(let e=0;e<a.length;e++){const t=a[e];const r=n.get(t);if(Array.isArray(r)){s.push(...r)}else if(r.node){s.push(r)}}}}return r}function getOuterBindingIdentifierPaths(e){return this.getBindingIdentifierPaths(e,true)}},348:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=t.SHOULD_STOP=t.SHOULD_SKIP=t.REMOVED=void 0;var s=n(107);var r=n(731);var i=n(701);var a=n(556);var o=n(740);var l=o;var f=n(49);var c=n(821);var u=n(937);var p=n(154);var d=n(309);var h=n(954);var g=n(137);var m=n(869);var y=n(266);var E=n(288);var b=n(890);var v=n(322);var S=n(613);const{validate:C}=o;const x=r("babel");const P=1<<0;t.REMOVED=P;const T=1<<1;t.SHOULD_STOP=T;const k=1<<2;t.SHOULD_SKIP=k;class NodePath{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.parent=t;this.hub=e;this.data=null;this.context=null;this.scope=null}static get({hub:e,parentPath:t,parent:n,container:s,listKey:r,key:i}){if(!e&&t){e=t.hub}if(!n){throw new Error("To get a node path the parent needs to exist")}const a=s[i];let o=f.path.get(n);if(!o){o=new Map;f.path.set(n,o)}let l=o.get(a);if(!l){l=new NodePath(e,n);if(a)o.set(a,l)}l.setup(t,s,r,i);return l}getScope(e){return this.isScope()?new a.default(this):e}setData(e,t){if(this.data==null){this.data=Object.create(null)}return this.data[e]=t}getData(e,t){if(this.data==null){this.data=Object.create(null)}let n=this.data[e];if(n===undefined&&t!==undefined)n=this.data[e]=t;return n}hasNode(){return this.node!=null}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,i.default)(this.node,e,this.scope,t,this)}set(e,t){C(this.node,e,t);this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let n=t.key;if(t.inList)n=`${t.listKey}[${n}]`;e.unshift(n)}while(t=t.parentPath);return e.join(".")}debug(e){if(!x.enabled)return;x(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,c.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){if(!e){this.listKey=null}}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(this._traverseFlags&k)}set shouldSkip(e){if(e){this._traverseFlags|=k}else{this._traverseFlags&=~k}}get shouldStop(){return!!(this._traverseFlags&T)}set shouldStop(e){if(e){this._traverseFlags|=T}else{this._traverseFlags&=~T}}get removed(){return!!(this._traverseFlags&P)}set removed(e){if(e){this._traverseFlags|=P}else{this._traverseFlags&=~P}}}Object.assign(NodePath.prototype,u,p,d,h,g,m,y,E,b,v,S);for(const e of l.TYPES){const t=`is${e}`;const n=l[t];NodePath.prototype[t]=function(e){return n(this.node,e)};NodePath.prototype[`assert${e}`]=function(t){if(!n(this.node,t)){throw new TypeError(`Expected node path of type ${e}`)}}}for(const e of Object.keys(s)){if(e[0]==="_")continue;if(l.TYPES.indexOf(e)<0)l.TYPES.push(e);const t=s[e];NodePath.prototype[`is${e}`]=function(e){return t.checkPath(this,e)}}var A=NodePath;t["default"]=A},154:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._getTypeAnnotation=_getTypeAnnotation;t.baseTypeStrictlyMatches=baseTypeStrictlyMatches;t.couldBeBaseType=couldBeBaseType;t.getTypeAnnotation=getTypeAnnotation;t.isBaseType=isBaseType;t.isGenericType=isGenericType;var s=n(990);var r=n(740);const{anyTypeAnnotation:i,isAnyTypeAnnotation:a,isBooleanTypeAnnotation:o,isEmptyTypeAnnotation:l,isFlowBaseAnnotation:f,isGenericTypeAnnotation:c,isIdentifier:u,isMixedTypeAnnotation:p,isNumberTypeAnnotation:d,isStringTypeAnnotation:h,isTypeAnnotation:g,isUnionTypeAnnotation:m,isVoidTypeAnnotation:y,stringTypeAnnotation:E,voidTypeAnnotation:b}=r;function getTypeAnnotation(){let e=this.getData("typeAnnotation");if(e!=null){return e}e=this._getTypeAnnotation()||i();if(g(e))e=e.typeAnnotation;this.setData("typeAnnotation",e);return e}const v=new WeakSet;function _getTypeAnnotation(){const e=this.node;if(!e){if(this.key==="init"&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath;const t=e.parentPath;if(e.key==="left"&&t.isForInStatement()){return E()}if(e.key==="left"&&t.isForOfStatement()){return i()}return b()}else{return}}if(e.typeAnnotation){return e.typeAnnotation}if(v.has(e)){return}v.add(e);try{var t;let n=s[e.type];if(n){return n.call(this,e)}n=s[this.parentPath.type];if((t=n)!=null&&t.validParent){return this.parentPath.getTypeAnnotation()}}finally{v.delete(e)}}function isBaseType(e,t){return _isBaseType(e,this.getTypeAnnotation(),t)}function _isBaseType(e,t,n){if(e==="string"){return h(t)}else if(e==="number"){return d(t)}else if(e==="boolean"){return o(t)}else if(e==="any"){return a(t)}else if(e==="mixed"){return p(t)}else if(e==="empty"){return l(t)}else if(e==="void"){return y(t)}else{if(n){return false}else{throw new Error(`Unknown base type ${e}`)}}}function couldBeBaseType(e){const t=this.getTypeAnnotation();if(a(t))return true;if(m(t)){for(const n of t.types){if(a(n)||_isBaseType(e,n,true)){return true}}return false}else{return _isBaseType(e,t,true)}}function baseTypeStrictlyMatches(e){const t=this.getTypeAnnotation();const n=e.getTypeAnnotation();if(!a(t)&&f(t)){return n.type===t.type}return false}function isGenericType(e){const t=this.getTypeAnnotation();return c(t)&&u(t.id,{name:e})}},467:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var s=n(740);const{BOOLEAN_NUMBER_BINARY_OPERATORS:r,createFlowUnionType:i,createTSUnionType:a,createTypeAnnotationBasedOnTypeof:o,createUnionTypeAnnotation:l,isTSTypeAnnotation:f,numberTypeAnnotation:c,voidTypeAnnotation:u}=s;function _default(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);if(t){if(t.identifier.typeAnnotation){return t.identifier.typeAnnotation}else{return getTypeAnnotationBindingConstantViolations(t,this,e.name)}}if(e.name==="undefined"){return u()}else if(e.name==="NaN"||e.name==="Infinity"){return c()}else if(e.name==="arguments"){}}function getTypeAnnotationBindingConstantViolations(e,t,n){const s=[];const r=[];let o=getConstantViolationsBefore(e,t,r);const c=getConditionalAnnotation(e,t,n);if(c){const t=getConstantViolationsBefore(e,c.ifStatement);o=o.filter((e=>t.indexOf(e)<0));s.push(c.typeAnnotation)}if(o.length){o.push(...r);for(const e of o){s.push(e.getTypeAnnotation())}}if(!s.length){return}if(f(s[0])&&a){return a(s)}if(i){return i(s)}return l(s)}function getConstantViolationsBefore(e,t,n){const s=e.constantViolations.slice();s.unshift(e.path);return s.filter((e=>{e=e.resolve();const s=e._guessExecutionStatusRelativeTo(t);if(n&&s==="unknown")n.push(e);return s==="before"}))}function inferAnnotationFromBinaryExpression(e,t){const n=t.node.operator;const s=t.get("right").resolve();const i=t.get("left").resolve();let a;if(i.isIdentifier({name:e})){a=s}else if(s.isIdentifier({name:e})){a=i}if(a){if(n==="==="){return a.getTypeAnnotation()}if(r.indexOf(n)>=0){return c()}return}if(n!=="==="&&n!=="==")return;let l;let f;if(i.isUnaryExpression({operator:"typeof"})){l=i;f=s}else if(s.isUnaryExpression({operator:"typeof"})){l=s;f=i}if(!l)return;if(!l.get("argument").isIdentifier({name:e}))return;f=f.resolve();if(!f.isLiteral())return;const u=f.node.value;if(typeof u!=="string")return;return o(u)}function getParentConditionalPath(e,t,n){let s;while(s=t.parentPath){if(s.isIfStatement()||s.isConditionalExpression()){if(t.key==="test"){return}return s}if(s.isFunction()){if(s.parentPath.scope.getBinding(n)!==e)return}t=s}}function getConditionalAnnotation(e,t,n){const s=getParentConditionalPath(e,t,n);if(!s)return;const r=s.get("test");const o=[r];const c=[];for(let e=0;e<o.length;e++){const t=o[e];if(t.isLogicalExpression()){if(t.node.operator==="&&"){o.push(t.get("left"));o.push(t.get("right"))}}else if(t.isBinaryExpression()){const e=inferAnnotationFromBinaryExpression(n,t);if(e)c.push(e)}}if(c.length){if(f(c[0])&&a){return{typeAnnotation:a(c),ifStatement:s}}if(i){return{typeAnnotation:i(c),ifStatement:s}}return{typeAnnotation:l(c),ifStatement:s}}return getConditionalAnnotation(s,n)}},990:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArrayExpression=ArrayExpression;t.AssignmentExpression=AssignmentExpression;t.BinaryExpression=BinaryExpression;t.BooleanLiteral=BooleanLiteral;t.CallExpression=CallExpression;t.ConditionalExpression=ConditionalExpression;t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=Func;Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return r.default}});t.LogicalExpression=LogicalExpression;t.NewExpression=NewExpression;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.ObjectExpression=ObjectExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.RegExpLiteral=RegExpLiteral;t.RestElement=RestElement;t.SequenceExpression=SequenceExpression;t.StringLiteral=StringLiteral;t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateLiteral=TemplateLiteral;t.TypeCastExpression=TypeCastExpression;t.UnaryExpression=UnaryExpression;t.UpdateExpression=UpdateExpression;t.VariableDeclarator=VariableDeclarator;var s=n(740);var r=n(467);const{BOOLEAN_BINARY_OPERATORS:i,BOOLEAN_UNARY_OPERATORS:a,NUMBER_BINARY_OPERATORS:o,NUMBER_UNARY_OPERATORS:l,STRING_UNARY_OPERATORS:f,anyTypeAnnotation:c,arrayTypeAnnotation:u,booleanTypeAnnotation:p,buildMatchMemberExpression:d,createFlowUnionType:h,createTSUnionType:g,createUnionTypeAnnotation:m,genericTypeAnnotation:y,identifier:E,isTSTypeAnnotation:b,nullLiteralTypeAnnotation:v,numberTypeAnnotation:S,stringTypeAnnotation:C,tupleTypeAnnotation:x,unionTypeAnnotation:P,voidTypeAnnotation:T}=s;function VariableDeclarator(){var e;const t=this.get("id");if(!t.isIdentifier())return;const n=this.get("init");let s=n.getTypeAnnotation();if(((e=s)==null?void 0:e.type)==="AnyTypeAnnotation"){if(n.isCallExpression()&&n.get("callee").isIdentifier({name:"Array"})&&!n.scope.hasBinding("Array",true)){s=ArrayExpression()}}return s}function TypeCastExpression(e){return e.typeAnnotation}TypeCastExpression.validParent=true;function NewExpression(e){if(this.get("callee").isIdentifier()){return y(e.callee)}}function TemplateLiteral(){return C()}function UnaryExpression(e){const t=e.operator;if(t==="void"){return T()}else if(l.indexOf(t)>=0){return S()}else if(f.indexOf(t)>=0){return C()}else if(a.indexOf(t)>=0){return p()}}function BinaryExpression(e){const t=e.operator;if(o.indexOf(t)>=0){return S()}else if(i.indexOf(t)>=0){return p()}else if(t==="+"){const e=this.get("right");const t=this.get("left");if(t.isBaseType("number")&&e.isBaseType("number")){return S()}else if(t.isBaseType("string")||e.isBaseType("string")){return C()}return P([C(),S()])}}function LogicalExpression(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];if(b(e[0])&&g){return g(e)}if(h){return h(e)}return m(e)}function ConditionalExpression(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];if(b(e[0])&&g){return g(e)}if(h){return h(e)}return m(e)}function SequenceExpression(){return this.get("expressions").pop().getTypeAnnotation()}function ParenthesizedExpression(){return this.get("expression").getTypeAnnotation()}function AssignmentExpression(){return this.get("right").getTypeAnnotation()}function UpdateExpression(e){const t=e.operator;if(t==="++"||t==="--"){return S()}}function StringLiteral(){return C()}function NumericLiteral(){return S()}function BooleanLiteral(){return p()}function NullLiteral(){return v()}function RegExpLiteral(){return y(E("RegExp"))}function ObjectExpression(){return y(E("Object"))}function ArrayExpression(){return y(E("Array"))}function RestElement(){return ArrayExpression()}RestElement.validParent=true;function Func(){return y(E("Function"))}const k=d("Array.from");const A=d("Object.keys");const I=d("Object.values");const O=d("Object.entries");function CallExpression(){const{callee:e}=this.node;if(A(e)){return u(C())}else if(k(e)||I(e)){return u(c())}else if(O(e)){return u(x([C(),c()]))}return resolveCall(this.get("callee"))}function TaggedTemplateExpression(){return resolveCall(this.get("tag"))}function resolveCall(e){e=e.resolve();if(e.isFunction()){if(e.is("async")){if(e.is("generator")){return y(E("AsyncIterator"))}else{return y(E("Promise"))}}else{if(e.node.returnType){return e.node.returnType}else{}}}}},869:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._guessExecutionStatusRelativeTo=_guessExecutionStatusRelativeTo;t._guessExecutionStatusRelativeToDifferentFunctions=_guessExecutionStatusRelativeToDifferentFunctions;t._resolve=_resolve;t.canHaveVariableDeclarationOrExpression=canHaveVariableDeclarationOrExpression;t.canSwapBetweenExpressionAndStatement=canSwapBetweenExpressionAndStatement;t.equals=equals;t.getSource=getSource;t.has=has;t.is=void 0;t.isCompletionRecord=isCompletionRecord;t.isConstantExpression=isConstantExpression;t.isInStrictMode=isInStrictMode;t.isNodeType=isNodeType;t.isStatementOrBlock=isStatementOrBlock;t.isStatic=isStatic;t.isnt=isnt;t.matchesPattern=matchesPattern;t.referencesImport=referencesImport;t.resolve=resolve;t.willIMaybeExecuteBefore=willIMaybeExecuteBefore;var s=n(740);const{STATEMENT_OR_BLOCK_KEYS:r,VISITOR_KEYS:i,isBlockStatement:a,isExpression:o,isIdentifier:l,isLiteral:f,isStringLiteral:c,isType:u,matchesPattern:p}=s;function matchesPattern(e,t){return p(this.node,e,t)}function has(e){const t=this.node&&this.node[e];if(t&&Array.isArray(t)){return!!t.length}else{return!!t}}function isStatic(){return this.scope.isStatic(this.node)}const d=has;t.is=d;function isnt(e){return!this.has(e)}function equals(e,t){return this.node[e]===t}function isNodeType(e){return u(this.type,e)}function canHaveVariableDeclarationOrExpression(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function canSwapBetweenExpressionAndStatement(e){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression()){return false}if(this.isExpression()){return a(e)}else if(this.isBlockStatement()){return o(e)}return false}function isCompletionRecord(e){let t=this;let n=true;do{const{type:s,container:r}=t;if(!n&&(t.isFunction()||s==="StaticBlock")){return!!e}n=false;if(Array.isArray(r)&&t.key!==r.length-1){return false}}while((t=t.parentPath)&&!t.isProgram()&&!t.isDoExpression());return true}function isStatementOrBlock(){if(this.parentPath.isLabeledStatement()||a(this.container)){return false}else{return r.includes(this.key)}}function referencesImport(e,t){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===t||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?c(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return false}const n=this.scope.getBinding(this.node.name);if(!n||n.kind!=="module")return false;const s=n.path;const r=s.parentPath;if(!r.isImportDeclaration())return false;if(r.node.source.value===e){if(!t)return true}else{return false}if(s.isImportDefaultSpecifier()&&t==="default"){return true}if(s.isImportNamespaceSpecifier()&&t==="*"){return true}if(s.isImportSpecifier()&&l(s.node.imported,{name:t})){return true}return false}function getSource(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function willIMaybeExecuteBefore(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function getOuterFunction(e){return(e.scope.getFunctionParent()||e.scope.getProgramParent()).path}function isExecutionUncertain(e,t){switch(e){case"LogicalExpression":return t==="right";case"ConditionalExpression":case"IfStatement":return t==="consequent"||t==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return t==="body";case"ForStatement":return t==="body"||t==="update";case"SwitchStatement":return t==="cases";case"TryStatement":return t==="handler";case"AssignmentPattern":return t==="right";case"OptionalMemberExpression":return t==="property";case"OptionalCallExpression":return t==="arguments";default:return false}}function isExecutionUncertainInList(e,t){for(let n=0;n<t;n++){const t=e[n];if(isExecutionUncertain(t.parent.type,t.parentKey)){return true}}return false}function _guessExecutionStatusRelativeTo(e){const t={this:getOuterFunction(this),target:getOuterFunction(e)};if(t.target.node!==t.this.node){return this._guessExecutionStatusRelativeToDifferentFunctions(t.target)}const n={target:e.getAncestry(),this:this.getAncestry()};if(n.target.indexOf(this)>=0)return"after";if(n.this.indexOf(e)>=0)return"before";let s;const r={target:0,this:0};while(!s&&r.this<n.this.length){const e=n.this[r.this];r.target=n.target.indexOf(e);if(r.target>=0){s=e}else{r.this++}}if(!s){throw new Error("Internal Babel error - The two compared nodes"+" don't appear to belong to the same program.")}if(isExecutionUncertainInList(n.this,r.this-1)||isExecutionUncertainInList(n.target,r.target-1)){return"unknown"}const a={this:n.this[r.this-1],target:n.target[r.target-1]};if(a.target.listKey&&a.this.listKey&&a.target.container===a.this.container){return a.target.key>a.this.key?"before":"after"}const o=i[s.type];const l={this:o.indexOf(a.this.parentKey),target:o.indexOf(a.target.parentKey)};return l.target>l.this?"before":"after"}const h=new WeakSet;function _guessExecutionStatusRelativeToDifferentFunctions(e){if(!e.isFunctionDeclaration()||e.parentPath.isExportDeclaration()){return"unknown"}const t=e.scope.getBinding(e.node.id.name);if(!t.references)return"before";const n=t.referencePaths;let s;for(const t of n){const n=!!t.find((t=>t.node===e.node));if(n)continue;if(t.key!=="callee"||!t.parentPath.isCallExpression()){return"unknown"}if(h.has(t.node))continue;h.add(t.node);const r=this._guessExecutionStatusRelativeTo(t);h.delete(t.node);if(s&&s!==r){return"unknown"}else{s=r}}return s}function resolve(e,t){return this._resolve(e,t)||this}function _resolve(e,t){if(t&&t.indexOf(this)>=0)return;t=t||[];t.push(this);if(this.isVariableDeclarator()){if(this.get("id").isIdentifier()){return this.get("init").resolve(e,t)}else{}}else if(this.isReferencedIdentifier()){const n=this.scope.getBinding(this.node.name);if(!n)return;if(!n.constant)return;if(n.kind==="module")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)}else if(e&&this.isMemberExpression()){const n=this.toComputedKey();if(!f(n))return;const s=n.value;const r=this.get("object").resolve(e,t);if(r.isObjectExpression()){const n=r.get("properties");for(const r of n){if(!r.isProperty())continue;const n=r.get("key");let i=r.isnt("computed")&&n.isIdentifier({name:s});i=i||n.isLiteral({value:s});if(i)return r.get("value").resolve(e,t)}}else if(r.isArrayExpression()&&!isNaN(+s)){const n=r.get("elements");const i=n[s];if(i)return i.resolve(e,t)}}}function isConstantExpression(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);if(!e)return false;return e.constant}if(this.isLiteral()){if(this.isRegExpLiteral()){return false}if(this.isTemplateLiteral()){return this.get("expressions").every((e=>e.isConstantExpression()))}return true}if(this.isUnaryExpression()){if(this.node.operator!=="void"){return false}return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){return this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return false}function isInStrictMode(){const e=this.isProgram()?this:this.parentPath;const t=e.find((e=>{if(e.isProgram({sourceType:"module"}))return true;if(e.isClass())return true;if(!e.isProgram()&&!e.isFunction())return false;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement()){return false}const t=e.isFunction()?e.node.body:e.node;for(const e of t.directives){if(e.value.value==="use strict"){return true}}}));return!!t}},486:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=n(740);var r=s;const{react:i}=s;const{cloneNode:a,jsxExpressionContainer:o,variableDeclaration:l,variableDeclarator:f}=r;const c={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&i.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression()){return}if(e.node.name==="this"){let n=e.scope;do{if(n.path.isFunction()&&!n.path.isArrowFunctionExpression()){break}}while(n=n.parent);if(n)t.breakOnScopePaths.push(n.path)}const n=e.scope.getBinding(e.node.name);if(!n)return;for(const s of n.constantViolations){if(s.scope!==n.path.scope){t.mutableBinding=true;e.stop();return}}if(n!==t.scope.getBinding(e.node.name))return;t.bindings[e.node.name]=n}};class PathHoister{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=false;this.scopes=[];this.scope=t;this.path=e;this.attachAfter=false}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const n=this.bindings[t];if(!e.bindingIdentifierEquals(t,n.identifier)){return false}}return true}getCompatibleScopes(){let e=this.path.scope;do{if(this.isCompatibleScope(e)){this.scopes.push(e)}else{break}if(this.breakOnScopePaths.indexOf(e.path)>=0){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}if(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(s.kind==="param"||s.path.parentKey==="params"){continue}const r=this.getAttachmentParentForPath(s.path);if(r.key>=e.key){this.attachAfter=true;e=s.path;for(const t of s.constantViolations){if(this.getAttachmentParentForPath(t).key>e.key){e=t}}}}}return e}_getAttachmentPath(){const e=this.scopes;const t=e.pop();if(!t)return;if(t.path.isFunction()){if(this.hasOwnParamBindings(t)){if(this.scope===t)return;const e=t.path.get("body").get("body");for(let t=0;t<e.length;t++){if(e[t].node._blockHoist)continue;return e[t]}}else{return this.getNextScopeAttachmentParent()}}else if(t.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(n.kind==="param"&&n.constant)return true}return false}run(){this.path.traverse(c,this);if(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=f(t,this.path.node);const s=this.attachAfter?"insertAfter":"insertBefore";const[r]=e[s]([e.isVariableDeclarator()?n:l("var",[n])]);const i=this.path.parentPath;if(i.isJSXElement()&&this.path.container===i.node.children){t=o(t)}this.path.replaceWith(a(t));return e.isVariableDeclarator()?r.get("init"):r.get("declarations.0.init")}}t["default"]=PathHoister},886:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hooks=void 0;const n=[function(e,t){const n=e.key==="test"&&(t.isWhile()||t.isSwitchCase())||e.key==="declaration"&&t.isExportDeclaration()||e.key==="body"&&t.isLabeledStatement()||e.listKey==="declarations"&&t.isVariableDeclaration()&&t.node.declarations.length===1||e.key==="expression"&&t.isExpressionStatement();if(n){t.remove();return true}},function(e,t){if(t.isSequenceExpression()&&t.node.expressions.length===1){t.replaceWith(t.node.expressions[0]);return true}},function(e,t){if(t.isBinary()){if(e.key==="left"){t.replaceWith(t.node.right)}else{t.replaceWith(t.node.left)}return true}},function(e,t){if(t.isIfStatement()&&(e.key==="consequent"||e.key==="alternate")||e.key==="body"&&(t.isLoop()||t.isArrowFunctionExpression())){e.replaceWith({type:"BlockStatement",body:[]});return true}}];t.hooks=n},107:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});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;var s=n(740);const{isBinding:r,isBlockScoped:i,isExportDeclaration:a,isExpression:o,isFlow:l,isForStatement:f,isForXStatement:c,isIdentifier:u,isImportDeclaration:p,isImportSpecifier:d,isJSXIdentifier:h,isJSXMemberExpression:g,isMemberExpression:m,isReferenced:y,isScope:E,isStatement:b,isVar:v,isVariableDeclaration:S,react:C}=s;const{isCompatTag:x}=C;const P={types:["Identifier","JSXIdentifier"],checkPath(e,t){const{node:n,parent:s}=e;if(!u(n,t)&&!g(s,t)){if(h(n,t)){if(x(n.name))return false}else{return false}}return y(n,s,e.parentPath.parent)}};t.ReferencedIdentifier=P;const T={types:["MemberExpression"],checkPath({node:e,parent:t}){return m(e)&&y(e,t)}};t.ReferencedMemberExpression=T;const k={types:["Identifier"],checkPath(e){const{node:t,parent:n}=e;const s=e.parentPath.parent;return u(t)&&r(t,n,s)}};t.BindingIdentifier=k;const A={types:["Statement"],checkPath({node:e,parent:t}){if(b(e)){if(S(e)){if(c(t,{left:e}))return false;if(f(t,{init:e}))return false}return true}else{return false}}};t.Statement=A;const I={types:["Expression"],checkPath(e){if(e.isIdentifier()){return e.isReferencedIdentifier()}else{return o(e.node)}}};t.Expression=I;const O={types:["Scopable","Pattern"],checkPath(e){return E(e.node,e.parent)}};t.Scope=O;const w={checkPath(e){return y(e.node,e.parent)}};t.Referenced=w;const D={checkPath(e){return i(e.node)}};t.BlockScoped=D;const F={types:["VariableDeclaration"],checkPath(e){return v(e.node)}};t.Var=F;const B={checkPath(e){return e.node&&!!e.node.loc}};t.User=B;const M={checkPath(e){return!e.isUser()}};t.Generated=M;const _={checkPath(e,t){return e.scope.isPure(e.node,t)}};t.Pure=_;const R={types:["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],checkPath({node:e}){if(l(e)){return true}else if(p(e)){return e.importKind==="type"||e.importKind==="typeof"}else if(a(e)){return e.exportKind==="type"}else if(d(e)){return e.importKind==="type"||e.importKind==="typeof"}else{return false}}};t.Flow=R;const L={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectPattern()}};t.RestProperty=L;const N={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectExpression()}};t.SpreadProperty=N;const V={types:["ExistsTypeAnnotation"]};t.ExistentialTypeParam=V;const G={types:["NumberLiteralTypeAnnotation"]};t.NumericLiteralTypeAnnotation=G;const U={types:["ForOfStatement"],checkPath({node:e}){return e.await===true}};t.ForAwaitStatement=U},890:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._containerInsert=_containerInsert;t._containerInsertAfter=_containerInsertAfter;t._containerInsertBefore=_containerInsertBefore;t._verifyNodeList=_verifyNodeList;t.hoist=hoist;t.insertAfter=insertAfter;t.insertBefore=insertBefore;t.pushContainer=pushContainer;t.unshiftContainer=unshiftContainer;t.updateSiblingKeys=updateSiblingKeys;var s=n(49);var r=n(486);var i=n(348);var a=n(740);const{arrowFunctionExpression:o,assertExpression:l,assignmentExpression:f,blockStatement:c,callExpression:u,cloneNode:p,expressionStatement:d,isAssignmentExpression:h,isCallExpression:g,isExpression:m,isIdentifier:y,isSequenceExpression:E,isSuper:b,thisExpression:v}=a;function insertBefore(e){this._assertUnremoved();const t=this._verifyNodeList(e);const{parentPath:n}=this;if(n.isExpressionStatement()||n.isLabeledStatement()||n.isExportNamedDeclaration()||n.isExportDefaultDeclaration()&&this.isDeclaration()){return n.insertBefore(t)}else if(this.isNodeType("Expression")&&!this.isJSXElement()||n.isForStatement()&&this.key==="init"){if(this.node)t.push(this.node);return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertBefore(t)}else if(this.isStatementOrBlock()){const e=this.node;const n=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(c(n?[e]:[]));return this.unshiftContainer("body",t)}else{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?")}}function _containerInsert(e,t){this.updateSiblingKeys(e,t.length);const n=[];this.container.splice(e,0,...t);for(let s=0;s<t.length;s++){const t=e+s;const r=this.getSibling(t);n.push(r);if(this.context&&this.context.queue){r.pushContext(this.context)}}const s=this._getQueueContexts();for(const e of n){e.setScope();e.debug("Inserted.");for(const t of s){t.maybeQueue(e,true)}}return n}function _containerInsertBefore(e){return this._containerInsert(this.key,e)}function _containerInsertAfter(e){return this._containerInsert(this.key+1,e)}const last=e=>e[e.length-1];function isHiddenInSequenceExpression(e){return E(e.parent)&&(last(e.parent.expressions)!==e.node||isHiddenInSequenceExpression(e.parentPath))}function isAlmostConstantAssignment(e,t){if(!h(e)||!y(e.left)){return false}const n=t.getBlockParent();return n.hasOwnBinding(e.left.name)&&n.getOwnBinding(e.left.name).constantViolations.length<=1}function insertAfter(e){this._assertUnremoved();if(this.isSequenceExpression()){return last(this.get("expressions")).insertAfter(e)}const t=this._verifyNodeList(e);const{parentPath:n}=this;if(n.isExpressionStatement()||n.isLabeledStatement()||n.isExportNamedDeclaration()||n.isExportDefaultDeclaration()&&this.isDeclaration()){return n.insertAfter(t.map((e=>m(e)?d(e):e)))}else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!n.isJSXElement()||n.isForStatement()&&this.key==="init"){if(this.node){const e=this.node;let{scope:s}=this;if(s.path.isPattern()){l(e);this.replaceWith(u(o([],e),[]));this.get("callee.body").insertAfter(t);return[this]}if(isHiddenInSequenceExpression(this)){t.unshift(e)}else if(g(e)&&b(e.callee)){t.unshift(e);t.push(v())}else if(isAlmostConstantAssignment(e,s)){t.unshift(e);t.push(p(e.left))}else if(s.isPure(e,true)){t.push(e)}else{if(n.isMethod({computed:true,key:e})){s=s.parent}const r=s.generateDeclaredUidIdentifier();t.unshift(d(f("=",p(r),e)));t.push(d(p(r)))}}return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertAfter(t)}else if(this.isStatementOrBlock()){const e=this.node;const n=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(c(n?[e]:[]));return this.pushContainer("body",t)}else{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?")}}function updateSiblingKeys(e,t){if(!this.parent)return;const n=s.path.get(this.parent);for(const[,s]of n){if(s.key>=e){s.key+=t}}}function _verifyNodeList(e){if(!e){return[]}if(!Array.isArray(e)){e=[e]}for(let t=0;t<e.length;t++){const n=e[t];let s;if(!n){s="has falsy node"}else if(typeof n!=="object"){s="contains a non-object node"}else if(!n.type){s="without a type"}else if(n instanceof i.default){s="has a NodePath when it expected a raw object"}if(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}function unshiftContainer(e,t){this._assertUnremoved();t=this._verifyNodeList(t);const n=i.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).setContext(this.context);return n._containerInsertBefore(t)}function pushContainer(e,t){this._assertUnremoved();const n=this._verifyNodeList(t);const s=this.node[e];const r=i.default.get({parentPath:this,parent:this.node,container:s,listKey:e,key:s.length}).setContext(this.context);return r.replaceWithMultiple(n)}function hoist(e=this.scope){const t=new r.default(this,e);return t.run()}},288:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._assertUnremoved=_assertUnremoved;t._callRemovalHooks=_callRemovalHooks;t._markRemoved=_markRemoved;t._remove=_remove;t._removeFromScope=_removeFromScope;t.remove=remove;var s=n(886);var r=n(49);var i=n(348);function remove(){var e;this._assertUnremoved();this.resync();if(!((e=this.opts)!=null&&e.noScope)){this._removeFromScope()}if(this._callRemovalHooks()){this._markRemoved();return}this.shareCommentsWithSiblings();this._remove();this._markRemoved()}function _removeFromScope(){const e=this.getBindingIdentifiers();Object.keys(e).forEach((e=>this.scope.removeBinding(e)))}function _callRemovalHooks(){for(const e of s.hooks){if(e(this,this.parentPath))return true}}function _remove(){if(Array.isArray(this.container)){this.container.splice(this.key,1);this.updateSiblingKeys(this.key,-1)}else{this._replaceWith(null)}}function _markRemoved(){this._traverseFlags|=i.SHOULD_SKIP|i.REMOVED;if(this.parent)r.path.get(this.parent).delete(this.node);this.node=null}function _assertUnremoved(){if(this.removed){throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}}},309:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._replaceWith=_replaceWith;t.replaceExpressionWithStatements=replaceExpressionWithStatements;t.replaceInline=replaceInline;t.replaceWith=replaceWith;t.replaceWithMultiple=replaceWithMultiple;t.replaceWithSourceString=replaceWithSourceString;var s=n(332);var r=n(701);var i=n(348);var a=n(49);var o=n(829);var l=n(740);var f=n(141);const{FUNCTION_TYPES:c,arrowFunctionExpression:u,assignmentExpression:p,awaitExpression:d,blockStatement:h,callExpression:g,cloneNode:m,expressionStatement:y,identifier:E,inheritLeadingComments:b,inheritTrailingComments:v,inheritsComments:S,isExpression:C,isProgram:x,isStatement:P,removeComments:T,returnStatement:k,toSequenceExpression:A,validate:I,yieldExpression:O}=l;function replaceWithMultiple(e){var t;this.resync();e=this._verifyNodeList(e);b(e[0],this.node);v(e[e.length-1],this.node);(t=a.path.get(this.parent))==null?void 0:t.delete(this.node);this.node=this.container[this.key]=null;const n=this.insertAfter(e);if(this.node){this.requeue()}else{this.remove()}return n}function replaceWithSourceString(e){this.resync();try{e=`(${e})`;e=(0,o.parse)(e)}catch(t){const n=t.loc;if(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"}throw t}e=e.program.body[0].expression;r.default.removeProperties(e);return this.replaceWith(e)}function replaceWith(e){this.resync();if(this.removed){throw new Error("You can't replace this node, we've already removed it")}if(e instanceof i.default){e=e.node}if(!e){throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead")}if(this.node===e){return[this]}if(this.isProgram()&&!x(e)){throw new Error("You can only replace a Program root node with another Program node")}if(Array.isArray(e)){throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`")}if(typeof e==="string"){throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`")}let t="";if(this.isNodeType("Statement")&&C(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)&&!this.parentPath.isExportDefaultDeclaration()){e=y(e);t="expression"}}if(this.isNodeType("Expression")&&P(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)){return this.replaceExpressionWithStatements([e])}}const n=this.node;if(n){S(e,n);T(n)}this._replaceWith(e);this.type=e.type;this.setScope();this.requeue();return[t?this.get(t):this]}function _replaceWith(e){var t;if(!this.container){throw new ReferenceError("Container is falsy")}if(this.inList){I(this.parent,this.key,[e])}else{I(this.parent,this.key,e)}this.debug(`Replace with ${e==null?void 0:e.type}`);(t=a.path.get(this.parent))==null?void 0:t.set(e,this).delete(this.node);this.node=this.container[this.key]=e}function replaceExpressionWithStatements(e){this.resync();const t=A(e,this.scope);if(t){return this.replaceWith(t)[0].get("expressions")}const n=this.getFunctionParent();const s=n==null?void 0:n.is("async");const i=n==null?void 0:n.is("generator");const a=u([],h(e));this.replaceWith(g(a,[]));const o=this.get("callee");(0,f.default)(o.get("body"),(e=>{this.scope.push({id:e})}),"var");const l=this.get("callee").getCompletionRecords();for(const e of l){if(!e.isExpressionStatement())continue;const t=e.findParent((e=>e.isLoop()));if(t){let n=t.getData("expressionReplacementReturnUid");if(!n){n=o.scope.generateDeclaredUidIdentifier("ret");o.get("body").pushContainer("body",k(m(n)));t.setData("expressionReplacementReturnUid",n)}else{n=E(n.name)}e.get("expression").replaceWith(p("=",m(n),e.node.expression))}else{e.replaceWith(k(e.node.expression))}}o.arrowFunctionToExpression();const y=o;const b=s&&r.default.hasType(this.get("callee.body").node,"AwaitExpression",c);const v=i&&r.default.hasType(this.get("callee.body").node,"YieldExpression",c);if(b){y.set("async",true);if(!v){this.replaceWith(d(this.node))}}if(v){y.set("generator",true);this.replaceWith(O(this.node,true))}return y.get("body.body")}function replaceInline(e){this.resync();if(Array.isArray(e)){if(Array.isArray(this.container)){e=this._verifyNodeList(e);const t=this._containerInsertAfter(e);this.remove();return t}else{return this.replaceWithMultiple(e)}}else{return this.replaceWith(e)}}},672:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class Binding{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=true;this.referencePaths=[];this.referenced=false;this.references=0;this.identifier=e;this.scope=t;this.path=n;this.kind=s;this.clearValue()}deoptValue(){this.clearValue();this.hasDeoptedValue=true}setValue(e){if(this.hasDeoptedValue)return;this.hasValue=true;this.value=e}clearValue(){this.hasDeoptedValue=false;this.hasValue=false;this.value=null}reassign(e){this.constant=false;if(this.constantViolations.indexOf(e)!==-1){return}this.constantViolations.push(e)}reference(e){if(this.referencePaths.indexOf(e)!==-1){return}this.referenced=true;this.references++;this.referencePaths.push(e)}dereference(){this.references--;this.referenced=!!this.references}}t["default"]=Binding},556:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=n(270);var r=n(701);var i=n(672);var a=n(629);var o=n(740);var l=n(49);const{NOT_LOCAL_BINDING:f,callExpression:c,cloneNode:u,getBindingIdentifiers:p,identifier:d,isArrayExpression:h,isBinary:g,isClass:m,isClassBody:y,isClassDeclaration:E,isExportAllDeclaration:b,isExportDefaultDeclaration:v,isExportNamedDeclaration:S,isFunctionDeclaration:C,isIdentifier:x,isImportDeclaration:P,isLiteral:T,isMethod:k,isModuleDeclaration:A,isModuleSpecifier:I,isObjectExpression:O,isProperty:w,isPureish:D,isSuper:F,isTaggedTemplateExpression:B,isTemplateLiteral:M,isThisExpression:_,isUnaryExpression:R,isVariableDeclaration:L,matchesPattern:N,memberExpression:V,numericLiteral:G,toIdentifier:U,unaryExpression:j,variableDeclaration:W,variableDeclarator:H,isRecordExpression:K,isTupleExpression:q,isObjectProperty:$,isTopicReference:Y,isMetaProperty:X,isPrivateName:J}=o;function gatherNodeParts(e,t){switch(e==null?void 0:e.type){default:if(A(e)){if((b(e)||S(e)||P(e))&&e.source){gatherNodeParts(e.source,t)}else if((S(e)||P(e))&&e.specifiers&&e.specifiers.length){for(const n of e.specifiers)gatherNodeParts(n,t)}else if((v(e)||S(e))&&e.declaration){gatherNodeParts(e.declaration,t)}}else if(I(e)){gatherNodeParts(e.local,t)}else if(T(e)){t.push(e.value)}break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":gatherNodeParts(e.object,t);gatherNodeParts(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":gatherNodeParts(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const n of e.properties){gatherNodeParts(n,t)}break;case"SpreadElement":case"RestElement":gatherNodeParts(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":gatherNodeParts(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");gatherNodeParts(e.argument,t);break;case"AwaitExpression":t.push("await");gatherNodeParts(e.argument,t);break;case"AssignmentExpression":gatherNodeParts(e.left,t);break;case"VariableDeclarator":gatherNodeParts(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":gatherNodeParts(e.id,t);break;case"PrivateName":gatherNodeParts(e.id,t);break;case"ParenthesizedExpression":gatherNodeParts(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":gatherNodeParts(e.argument,t);break;case"MetaProperty":gatherNodeParts(e.meta,t);gatherNodeParts(e.property,t);break;case"JSXElement":gatherNodeParts(e.openingElement,t);break;case"JSXOpeningElement":t.push(e.name);break;case"JSXFragment":gatherNodeParts(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":gatherNodeParts(e.namespace,t);gatherNodeParts(e.name,t);break}}const Q={ForStatement(e){const t=e.get("init");if(t.isVar()){const{scope:n}=e;const s=n.getFunctionParent()||n.getProgramParent();s.registerBinding("var",t)}},Declaration(e){if(e.isBlockScoped())return;if(e.isImportDeclaration())return;if(e.isExportDeclaration())return;const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerDeclaration(e)},ImportDeclaration(e){const t=e.scope.getBlockParent();t.registerDeclaration(e)},ReferencedIdentifier(e,t){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;const s=t.getFunctionParent()||t.getProgramParent();s.registerBinding("var",n)}},ExportDeclaration:{exit(e){const{node:t,scope:n}=e;if(b(t))return;const s=t.declaration;if(E(s)||C(s)){const t=s.id;if(!t)return;const r=n.getBinding(t.name);r==null?void 0:r.reference(e)}else if(L(s)){for(const t of s.declarations){for(const s of Object.keys(p(t))){const t=n.getBinding(s);t==null?void 0: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){if(e.node.operator==="delete"){t.constantViolations.push(e)}},BlockScoped(e){let t=e.scope;if(t.path===e)t=t.parent;const n=t.getBlockParent();n.registerDeclaration(e);if(e.isClassDeclaration()&&e.node.id){const t=e.node.id;const n=t.name;e.scope.bindings[n]=e.scope.parent.getBinding(n)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){const t=e.get("params");for(const n of t){e.scope.registerBinding("param",n)}if(e.isFunctionExpression()&&e.has("id")&&!e.get("id").node[f]){e.scope.registerBinding("local",e.get("id"),e)}},ClassExpression(e){if(e.has("id")&&!e.get("id").node[f]){e.scope.registerBinding("local",e)}}};let z=0;class Scope{constructor(e){this.uid=void 0;this.path=void 0;this.block=void 0;this.labels=void 0;this.inited=void 0;this.bindings=void 0;this.references=void 0;this.globals=void 0;this.uids=void 0;this.data=void 0;this.crawling=void 0;const{node:t}=e;const n=l.scope.get(t);if((n==null?void 0:n.path)===e){return n}l.scope.set(t,this);this.uid=z++;this.block=t;this.path=e;this.labels=new Map;this.inited=false}get parent(){var e;let t,n=this.path;do{const e=n.key==="key"||n.listKey==="decorators";n=n.parentPath;if(e&&n.isMethod())n=n.parentPath;if(n&&n.isScope())t=n}while(n&&!t);return(e=t)==null?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,t,n){(0,r.default)(e,t,this,n,this.path)}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);this.push({id:t});return u(t)}generateUidIdentifier(e){return d(this.generateUid(e))}generateUid(e="temp"){e=U(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let t;let n=1;do{t=this._generateUid(e,n);n++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const s=this.getProgramParent();s.references[t]=true;s.uids[t]=true;return t}_generateUid(e,t){let n=e;if(t>1)n+=t;return`_${n}`}generateUidBasedOnNode(e,t){const n=[];gatherNodeParts(e,n);let s=n.join("$");s=s.replace(/^_/,"")||t||"ref";return this.generateUid(s.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return d(this.generateUidBasedOnNode(e,t))}isStatic(e){if(_(e)||F(e)||Y(e)){return true}if(x(e)){const t=this.getBinding(e.name);if(t){return t.constant}else{return this.hasBinding(e.name)}}return false}maybeGenerateMemoised(e,t){if(this.isStatic(e)){return null}else{const n=this.generateUidIdentifierBasedOnNode(e);if(!t){this.push({id:n});return u(n)}return n}}checkBlockScopedCollisions(e,t,n,s){if(t==="param")return;if(e.kind==="local")return;const r=t==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&t==="const";if(r){throw this.hub.buildError(s,`Duplicate declaration "${n}"`,TypeError)}}rename(e,t,n){const r=this.getBinding(e);if(r){t=t||this.generateUidIdentifier(e).name;return new s.default(r,e,t).rename(n)}}_renameFromMap(e,t,n,s){if(e[t]){e[n]=s;e[t]=null}}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)}toArray(e,t,n){if(x(e)){const t=this.getBinding(e.name);if(t!=null&&t.constant&&t.path.isGenericType("Array")){return e}}if(h(e)){return e}if(x(e,{name:"arguments"})){return c(V(V(V(d("Array"),d("prototype")),d("slice")),d("call")),[e])}let s;const r=[e];if(t===true){s="toConsumableArray"}else if(t){r.push(G(t));s="slicedToArray"}else{s="toArray"}if(n){r.unshift(this.hub.addHelper(s));s="maybeArrayLike"}return c(this.hub.addHelper(s),r)}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");for(const n of t){this.registerBinding(e.node.kind,n)}}else if(e.isClassDeclaration()){if(e.node.declare)return;this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t=e.get("specifiers");for(const e of t){this.registerBinding("module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");if(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration()){this.registerDeclaration(t)}}else{this.registerBinding("unknown",e)}}buildUndefinedNode(){return j("void",G(0),true)}registerConstantViolation(e){const t=e.getBindingIdentifiers();for(const n of Object.keys(t)){const t=this.getBinding(n);if(t)t.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();const r=t.getOuterBindingIdentifiers(true);for(const t of Object.keys(r)){s.references[t]=true;for(const s of r[t]){const r=this.getOwnBinding(t);if(r){if(r.identifier===s)continue;this.checkBlockScopedCollisions(r,e,t,s)}if(r){this.registerConstantViolation(n)}else{this.bindings[t]=new i.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 true}while(t=t.parent);return false}hasGlobal(e){let t=this;do{if(t.globals[e])return true}while(t=t.parent);return false}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(x(e)){const n=this.getBinding(e.name);if(!n)return false;if(t)return n.constant;return true}else if(_(e)||X(e)||Y(e)||J(e)){return true}else if(m(e)){var n;if(e.superClass&&!this.isPure(e.superClass,t)){return false}if(((n=e.decorators)==null?void 0:n.length)>0){return false}return this.isPure(e.body,t)}else if(y(e)){for(const n of e.body){if(!this.isPure(n,t))return false}return true}else if(g(e)){return this.isPure(e.left,t)&&this.isPure(e.right,t)}else if(h(e)||q(e)){for(const n of e.elements){if(n!==null&&!this.isPure(n,t))return false}return true}else if(O(e)||K(e)){for(const n of e.properties){if(!this.isPure(n,t))return false}return true}else if(k(e)){var s;if(e.computed&&!this.isPure(e.key,t))return false;if(((s=e.decorators)==null?void 0:s.length)>0){return false}return true}else if(w(e)){var r;if(e.computed&&!this.isPure(e.key,t))return false;if(((r=e.decorators)==null?void 0:r.length)>0){return false}if($(e)||e.static){if(e.value!==null&&!this.isPure(e.value,t)){return false}}return true}else if(R(e)){return this.isPure(e.argument,t)}else if(B(e)){return N(e.tag,"String.raw")&&!this.hasBinding("String",true)&&this.isPure(e.quasi,t)}else if(M(e)){for(const n of e.expressions){if(!this.isPure(n,t))return false}return true}else{return D(e)}}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const n=t.data[e];if(n!=null)return n}while(t=t.parent)}removeData(e){let t=this;do{const n=t.data[e];if(n!=null)t.data[e]=null}while(t=t.parent)}init(){if(!this.inited){this.inited=true;this.crawl()}}crawl(){const e=this.path;this.references=Object.create(null);this.bindings=Object.create(null);this.globals=Object.create(null);this.uids=Object.create(null);this.data=Object.create(null);const t=this.getProgramParent();if(t.crawling)return;const n={references:[],constantViolations:[],assignments:[]};this.crawling=true;if(e.type!=="Program"&&Q._exploded){for(const t of Q.enter){t(e,n)}const t=Q[e.type];if(t){for(const s of t.enter){s(e,n)}}}e.traverse(Q,n);this.crawling=false;for(const e of n.assignments){const n=e.getBindingIdentifiers();for(const s of Object.keys(n)){if(e.scope.getBinding(s))continue;t.addGlobal(n[s])}e.scope.registerConstantViolation(e)}for(const e of n.references){const n=e.scope.getBinding(e.node.name);if(n){n.reference(e)}else{t.addGlobal(e.node)}}for(const e of n.constantViolations){e.scope.registerConstantViolation(e)}}push(e){let t=this.path;if(t.isPattern()){t=this.getPatternParent().path}else if(!t.isBlockStatement()&&!t.isProgram()){t=this.getBlockParent().path}if(t.isSwitchStatement()){t=(this.getFunctionParent()||this.getProgramParent()).path}if(t.isLoop()||t.isCatchClause()||t.isFunction()){t.ensureBlock();t=t.get("body")}const n=e.unique;const s=e.kind||"var";const r=e._blockHoist==null?2:e._blockHoist;const i=`declaration:${s}:${r}`;let a=!n&&t.getData(i);if(!a){const e=W(s,[]);e._blockHoist=r;[a]=t.unshiftContainer("body",[e]);if(!n)t.setData(i,a)}const o=H(e.id,e.init);const l=a.node.declarations.push(o);t.scope.registerBinding(s,a.get("declarations")[l-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)){if(n in e===false){e[n]=t.bindings[n]}}t=t.parent}while(t);return e}getAllBindingsOfKind(...e){const t=Object.create(null);for(const n of e){let e=this;do{for(const s of Object.keys(e.bindings)){const r=e.bindings[s];if(r.kind===n)t[s]=r}e=e.parent}while(e)}return t}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t=this;let n;do{const r=t.getOwnBinding(e);if(r){var s;if((s=n)!=null&&s.isPattern()&&r.kind!=="param"&&r.kind!=="local"){}else{return r}}else if(!r&&e==="arguments"&&t.path.isFunction()&&!t.path.isArrowFunctionExpression()){break}n=t.path}while(t=t.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return(t=this.getBinding(e))==null?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return t==null?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){if(!e)return false;if(this.hasOwnBinding(e))return true;if(this.parentHasBinding(e,t))return true;if(this.hasUid(e))return true;if(!t&&Scope.globals.includes(e))return true;if(!t&&Scope.contextVariables.includes(e))return true;return false}parentHasBinding(e,t){var n;return(n=this.parent)==null?void 0:n.hasBinding(e,t)}moveBindingTo(e,t){const n=this.getBinding(e);if(n){n.scope.removeOwnBinding(e);n.scope=t;t.bindings[e]=n}}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;(t=this.getBinding(e))==null?void 0:t.scope.removeOwnBinding(e);let n=this;do{if(n.uids[e]){n.uids[e]=false}}while(n=n.parent)}}t["default"]=Scope;Scope.globals=Object.keys(a.builtin);Scope.contextVariables=["arguments","undefined","Infinity","NaN"]},270:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=n(672);var r=n(254);var i=n(740);var a=n(371);const{assignmentExpression:o,identifier:l,toExpression:f,variableDeclaration:c,variableDeclarator:u}=i;const p={ReferencedIdentifier({node:e},t){if(e.name===t.oldName){e.name=t.newName}},Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)){e.skip();if(e.isMethod()){(0,a.requeueComputedKeyAndDecorators)(e)}}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const n=e.getOuterBindingIdentifiers();for(const e in n){if(e===t.oldName)n[e].name=t.newName}}};class Renamer{constructor(e,t,n){this.newName=n;this.oldName=t;this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(!t.isExportDeclaration()){return}if(t.isExportDefaultDeclaration()&&!t.get("declaration").node.id){return}(0,r.default)(t)}maybeConvertFromClassFunctionDeclaration(e){return;if(!e.isFunctionDeclaration()&&!e.isClassDeclaration())return;if(this.binding.kind!=="hoisted")return;e.node.id=l(this.oldName);e.node._blockHoist=3;e.replaceWith(c("let",[u(l(this.newName),f(e.node))]))}maybeConvertFromClassFunctionExpression(e){return;if(!e.isFunctionExpression()&&!e.isClassExpression())return;if(this.binding.kind!=="local")return;e.node.id=l(this.oldName);this.binding.scope.parent.push({id:l(this.newName)});e.replaceWith(o("=",l(this.newName),e.node))}rename(e){const{binding:t,oldName:n,newName:s}=this;const{scope:r,path:i}=t;const a=i.find((e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()));if(a){const e=a.getOuterBindingIdentifiers();if(e[n]===t.identifier){this.maybeConvertFromExportDeclaration(a)}}const o=e||r.block;if((o==null?void 0:o.type)==="SwitchStatement"){o.cases.forEach((e=>{r.traverse(e,p,this)}))}else{r.traverse(o,p,this)}if(!e){r.removeOwnBinding(n);r.bindings[s]=t;this.binding.identifier.name=s}if(a){this.maybeConvertFromClassFunctionDeclaration(a);this.maybeConvertFromClassFunctionExpression(a)}}}t["default"]=Renamer},569:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.traverseNode=traverseNode;var s=n(214);var r=n(740);const{VISITOR_KEYS:i}=r;function traverseNode(e,t,n,r,a,o){const l=i[e.type];if(!l)return false;const f=new s.default(n,t,r,a);for(const t of l){if(o&&o[t])continue;if(f.visit(e,t)){return true}}return false}},63:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.explode=explode;t.merge=merge;t.verify=verify;var s=n(107);var r=n(740);const{DEPRECATED_KEYS:i,FLIPPED_ALIAS_KEYS:a,TYPES:o}=r;function explode(e){if(e._exploded)return e;e._exploded=true;for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const n=t.split("|");if(n.length===1)continue;const s=e[t];delete e[t];for(const t of n){e[t]=s}}verify(e);delete e.__esModule;ensureEntranceObjects(e);ensureCallbackArrays(e);for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const n=s[t];if(!n)continue;const r=e[t];for(const e of Object.keys(r)){r[e]=wrapCheck(n,r[e])}delete e[t];if(n.types){for(const t of n.types){if(e[t]){mergePair(e[t],r)}else{e[t]=r}}}else{mergePair(e,r)}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const n=e[t];let s=a[t];const r=i[t];if(r){console.trace(`Visitor defined for ${t} but it has been renamed to ${r}`);s=[r]}if(!s)continue;delete e[t];for(const t of s){const s=e[t];if(s){mergePair(s,n)}else{e[t]=Object.assign({},n)}}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;ensureCallbackArrays(e[t])}return e}function verify(e){if(e._verified)return;if(typeof e==="function"){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(t==="enter"||t==="exit"){validateVisitorMethods(t,e[t])}if(shouldIgnoreKey(t))continue;if(o.indexOf(t)<0){throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type`)}const n=e[t];if(typeof n==="object"){for(const e of Object.keys(n)){if(e==="enter"||e==="exit"){validateVisitorMethods(`${t}.${e}`,n[e])}else{throw new Error("You passed `traverse()` a visitor object with the property "+`${t} that has the invalid property ${e}`)}}}}e._verified=true}function validateVisitorMethods(e,t){const n=[].concat(t);for(const t of n){if(typeof t!=="function"){throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}}}function merge(e,t=[],n){const s={};for(let r=0;r<e.length;r++){const i=e[r];const a=t[r];explode(i);for(const e of Object.keys(i)){let t=i[e];if(a||n){t=wrapWithStateOrWrapper(t,a,n)}const r=s[e]=s[e]||{};mergePair(r,t)}}return s}function wrapWithStateOrWrapper(e,t,n){const s={};for(const r of Object.keys(e)){let i=e[r];if(!Array.isArray(i))continue;i=i.map((function(e){let s=e;if(t){s=function(n){return e.call(t,n,t)}}if(n){s=n(t.key,r,s)}if(s!==e){s.toString=()=>e.toString()}return s}));s[r]=i}return s}function ensureEntranceObjects(e){for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const n=e[t];if(typeof n==="function"){e[t]={enter:n}}}}function ensureCallbackArrays(e){if(e.enter&&!Array.isArray(e.enter))e.enter=[e.enter];if(e.exit&&!Array.isArray(e.exit))e.exit=[e.exit]}function wrapCheck(e,t){const newFn=function(n){if(e.checkPath(n)){return t.apply(this,arguments)}};newFn.toString=()=>t.toString();return newFn}function shouldIgnoreKey(e){if(e[0]==="_")return true;if(e==="enter"||e==="exit"||e==="shouldSkip")return true;if(e==="denylist"||e==="noScope"||e==="skipKeys"||e==="blacklist"){return true}return false}function mergePair(e,t){for(const n of Object.keys(t)){e[n]=[].concat(e[n]||[],t[n])}}},20:(e,t,n)=>{t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.destroy=(()=>{let e=false;return()=>{if(!e){e=true;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"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let s=0;let r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}s++;if(e==="%c"){r=s}}));t.splice(r,0,n)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=n(530)(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},530:(e,t,n)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=n(367);createDebug.destroy=destroy;Object.keys(e).forEach((t=>{createDebug[t]=e[t]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n);t|=0}return createDebug.colors[Math.abs(t)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(e){let t;let n=null;let s;let r;function debug(...e){if(!debug.enabled){return}const n=debug;const s=Number(new Date);const r=s-(t||s);n.diff=r;n.prev=t;n.curr=s;t=s;e[0]=createDebug.coerce(e[0]);if(typeof e[0]!=="string"){e.unshift("%O")}let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((t,s)=>{if(t==="%%"){return"%"}i++;const r=createDebug.formatters[s];if(typeof r==="function"){const s=e[i];t=r.call(n,s);e.splice(i,1);i--}return t}));createDebug.formatArgs.call(n,e);const a=n.log||createDebug.log;a.apply(n,e)}debug.namespace=e;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(n!==null){return n}if(s!==createDebug.namespaces){s=createDebug.namespaces;r=createDebug.enabled(e)}return r},set:e=>{n=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,t){const n=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);n.log=this.log;return n}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];let t;const n=(typeof e==="string"?e:"").split(/[\s,]+/);const s=n.length;for(t=0;t<s;t++){if(!n[t]){continue}e=n[t].replace(/\*/g,".*?");if(e[0]==="-"){createDebug.skips.push(new RegExp("^"+e.slice(1)+"$"))}else{createDebug.names.push(new RegExp("^"+e+"$"))}}}function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map((e=>"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){if(e[e.length-1]==="*"){return true}let t;let n;for(t=0,n=createDebug.skips.length;t<n;t++){if(createDebug.skips[t].test(e)){return false}}for(t=0,n=createDebug.names.length;t<n;t++){if(createDebug.names[t].test(e)){return true}}return false}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}function coerce(e){if(e instanceof Error){return e.stack||e.message}return e}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}createDebug.enable(createDebug.load());return createDebug}e.exports=setup},731:(e,t,n)=>{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=n(20)}else{e.exports=n(689)}},689:(e,t,n)=>{const s=n(224);const r=n(837);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.destroy=r.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");t.colors=[6,2,3,4,5,1];try{const e=n(242);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let s=process.env[t];if(/^(yes|on|true|enabled)$/i.test(s)){s=true}else if(/^(no|off|false|disabled)$/i.test(s)){s=false}else if(s==="null"){s=null}else{s=Number(s)}e[n]=s;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):s.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:n,useColors:s}=this;if(s){const s=this.color;const r="[3"+(s<8?s:"8;5;"+s);const i=` ${r};1m${n} [0m`;t[0]=i+t[0].split("\n").join("\n"+i);t.push(r+"m+"+e.exports.humanize(this.diff)+"[0m")}else{t[0]=getDate()+n+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(r.format(...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let s=0;s<n.length;s++){e.inspectOpts[n[s]]=t.inspectOpts[n[s]]}}e.exports=n(530)(t);const{formatters:i}=e.exports;i.o=function(e){this.inspectOpts.colors=this.useColors;return r.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")};i.O=function(e){this.inspectOpts.colors=this.useColors;return r.inspect(e,this.inspectOpts)}},629:(e,t,n)=>{"use strict";e.exports=n(676)},975:e=>{"use strict";e.exports=(e,t=process.argv)=>{const n=e.startsWith("-")?"":e.length===1?"-":"--";const s=t.indexOf(n+e);const r=t.indexOf("--");return s!==-1&&(r===-1||s<r)}},367:e=>{var t=1e3;var n=t*60;var s=n*60;var r=s*24;var i=r*7;var a=r*365.25;e.exports=function(e,t){t=t||{};var n=typeof e;if(n==="string"&&e.length>0){return parse(e)}else if(n==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}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){return}var l=parseFloat(o[1]);var f=(o[2]||"ms").toLowerCase();switch(f){case"years":case"year":case"yrs":case"yr":case"y":return l*a;case"weeks":case"week":case"w":return l*i;case"days":case"day":case"d":return l*r;case"hours":case"hour":case"hrs":case"hr":case"h":return l*s;case"minutes":case"minute":case"mins":case"min":case"m":return l*n;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return undefined}}function fmtShort(e){var i=Math.abs(e);if(i>=r){return Math.round(e/r)+"d"}if(i>=s){return Math.round(e/s)+"h"}if(i>=n){return Math.round(e/n)+"m"}if(i>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var i=Math.abs(e);if(i>=r){return plural(e,i,r,"day")}if(i>=s){return plural(e,i,s,"hour")}if(i>=n){return plural(e,i,n,"minute")}if(i>=t){return plural(e,i,t,"second")}return e+" ms"}function plural(e,t,n,s){var r=t>=n*1.5;return Math.round(e/n)+" "+s+(r?"s":"")}},242:(e,t,n)=>{"use strict";const s=n(37);const r=n(224);const i=n(975);const{env:a}=process;let o;if(i("no-color")||i("no-colors")||i("color=false")||i("color=never")){o=0}else if(i("color")||i("colors")||i("color=true")||i("color=always")){o=1}if("FORCE_COLOR"in a){if(a.FORCE_COLOR==="true"){o=1}else if(a.FORCE_COLOR==="false"){o=0}else{o=a.FORCE_COLOR.length===0?1:Math.min(parseInt(a.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e,t){if(o===0){return 0}if(i("color=16m")||i("color=full")||i("color=truecolor")){return 3}if(i("color=256")){return 2}if(e&&!t&&o===undefined){return 0}const n=o||0;if(a.TERM==="dumb"){return n}if(process.platform==="win32"){const e=s.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in a){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in a))||a.CI_NAME==="codeship"){return 1}return n}if("TEAMCITY_VERSION"in a){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0}if(a.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in a){const e=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(a.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)){return 1}if("COLORTERM"in a){return 1}return n}function getSupportLevel(e){const t=supportsColor(e,e&&e.isTTY);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,r.isatty(1))),stderr:translateLevel(supportsColor(true,r.isatty(2)))}},332:e=>{"use strict";e.exports=require("../code-frame")},821:e=>{"use strict";e.exports=require("../generator")},829:e=>{"use strict";e.exports=require("../parser")},666:e=>{"use strict";e.exports=require("../template")},740:e=>{"use strict";e.exports=require("../types")},37:e=>{"use strict";e.exports=require("os")},224:e=>{"use strict";e.exports=require("tty")},837:e=>{"use strict";e.exports=require("util")},371:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;t.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;t.skipAllButComputedKey=skipAllButComputedKey;function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}function requeueComputedKeyAndDecorators(e){const{context:t,node:n}=e;if(n.computed){t.maybeQueue(e.get("key"))}if(n.decorators){for(const n of e.get("decorators")){t.maybeQueue(n)}}}const n={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var s=n;t["default"]=s},988:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var s=n(666);var r=n(740);const{NOT_LOCAL_BINDING:i,cloneNode:a,identifier:o,isAssignmentExpression:l,isAssignmentPattern:f,isFunction:c,isIdentifier:u,isLiteral:p,isNullLiteral:d,isObjectMethod:h,isObjectProperty:g,isRegExpLiteral:m,isRestElement:y,isTemplateLiteral:E,isVariableDeclarator:b,toBindingIdentifierName:v}=r;function getFunctionArity(e){const t=e.params.findIndex((e=>f(e)||y(e)));return t===-1?e.params.length:t}const S=s.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const C=s.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const x={"ReferencedIdentifier|BindingIdentifier"(e,t){if(e.node.name!==t.name)return;const n=e.scope.getBindingIdentifier(t.name);if(n!==t.outerDeclar)return;t.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(d(e)){return"null"}if(m(e)){return`_${e.pattern}_${e.flags}`}if(E(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,t,n,s){if(e.selfReference){if(s.hasBinding(n.name)&&!s.hasGlobal(n.name)){s.rename(n.name)}else{if(!c(t))return;let e=S;if(t.generator){e=C}const r=e({FUNCTION:t,FUNCTION_ID:n,FUNCTION_KEY:s.generateUidIdentifier(n.name)}).expression;const i=r.callee.body.body[0].params;for(let e=0,n=getFunctionArity(t);e<n;e++){i.push(s.generateUidIdentifier("x"))}return r}}t.id=n;s.getProgramParent().references[n.name]=true}function visit(e,t,n){const s={selfAssignment:false,selfReference:false,outerDeclar:n.getBindingIdentifier(t),name:t};const r=n.getOwnBinding(t);if(r){if(r.kind==="param"){s.selfReference=true}else{}}else if(s.outerDeclar||n.hasGlobal(t)){n.traverse(e,x,s)}return s}function _default({node:e,parent:t,scope:n,id:s},r=false,f=false){if(e.id)return;if((g(t)||h(t,{kind:"method"}))&&(!t.computed||p(t.key))){s=t.key}else if(b(t)){s=t.id;if(u(s)&&!r){const t=n.parent.getBinding(s.name);if(t&&t.constant&&n.getBinding(s.name)===t){e.id=a(s);e.id[i]=true;return}}}else if(l(t,{operator:"="})){s=t.left}else if(!s){return}let d;if(s&&p(s)){d=getNameFromLiteralId(s)}else if(s&&u(s)){d=s.name}if(d===undefined){return}if(!f&&c(e)&&/[\uD800-\uDFFF]/.test(d)){return}d=v(d);const m=o(d);m[i]=true;const y=visit(e,d,n);return wrap(y,e,m,n)||e}},141:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=hoistVariables;var s=n(740);const{assignmentExpression:r,expressionStatement:i,identifier:a}=s;const o={Scope(e,t){if(t.kind==="let")e.skip()},FunctionParent(e){e.skip()},VariableDeclaration(e,t){if(t.kind&&e.node.kind!==t.kind)return;const n=[];const s=e.get("declarations");let o;for(const e of s){o=e.node.id;if(e.node.init){n.push(i(r("=",e.node.id,e.node.init)))}for(const n of Object.keys(e.getBindingIdentifiers())){t.emit(a(n),n,e.node.init!==null)}}if(e.parentPath.isFor({left:e.node})){e.replaceWith(o)}else{e.replaceWithMultiple(n)}}};function hoistVariables(e,t,n="var"){e.traverse(o,{kind:n,emit:t})}},254:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=splitExportDeclaration;var s=n(740);const{cloneNode:r,exportNamedDeclaration:i,exportSpecifier:a,identifier:o,variableDeclaration:l,variableDeclarator:f}=s;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const t=e.get("declaration");const n=t.isFunctionDeclaration()||t.isClassDeclaration();const s=t.isScope()?t.scope.parent:t.scope;let c=t.node.id;let u=false;if(!c){u=true;c=s.generateUidIdentifier("default");if(n||t.isFunctionExpression()||t.isClassExpression()){t.node.id=r(c)}}const p=n?t.node:l("var",[f(r(c),t.node)]);const d=i(null,[a(r(c),o("default"))]);e.insertAfter(d);e.replaceWith(p);if(u){s.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const t=e.get("declaration");const n=t.getOuterBindingIdentifiers();const s=Object.keys(n).map((e=>a(o(e),o(e))));const c=i(null,s);e.insertAfter(c);e.replaceWith(t.node);return e}},676: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}}')}};var t={};function __nccwpck_require__(n){var s=t[n];if(s!==undefined){return s.exports}var r=t[n]={exports:{}};var i=true;try{e[n](r,r.exports,__nccwpck_require__);i=false}finally{if(i)delete t[n]}return r.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var n=__nccwpck_require__(701);module.exports=n})();
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
-
a copy of this software and associated documentation files (the
|
|
7
|
-
"Software"), to deal in the Software without restriction, including
|
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
-
the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be
|
|
14
|
-
included in all copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
19
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
20
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
21
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name":"@babel/traverse","author":"The Babel Team (https://babel.dev/team)","version":"7.18.2","license":"MIT"}
|