@next-bricks/vb-experiment 1.3.18 → 1.3.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bricks.json +4 -4
- package/dist/chunks/{1563.e386a37f.js → 1563.f975c5ed.js} +2 -2
- package/dist/chunks/1563.f975c5ed.js.map +1 -0
- package/dist/chunks/246.edb40dcb.js +2 -0
- package/dist/chunks/{246.3c1287e4.js.map → 246.edb40dcb.js.map} +1 -1
- package/dist/chunks/{3171.bee73fe6.js → 3171.95cc1b7d.js} +2 -2
- package/dist/chunks/{3171.bee73fe6.js.map → 3171.95cc1b7d.js.map} +1 -1
- package/dist/chunks/{3483.c5ce1021.js → 3483.023fac95.js} +3 -3
- package/dist/chunks/{3483.c5ce1021.js.map → 3483.023fac95.js.map} +1 -1
- package/dist/chunks/{4212.c9d10eb9.js → 4212.0034ca30.js} +2 -2
- package/dist/chunks/{4212.c9d10eb9.js.map → 4212.0034ca30.js.map} +1 -1
- package/dist/chunks/4765.c8d6b7c7.js +2 -0
- package/dist/chunks/{7146.a8c80bcf.js.map → 4765.c8d6b7c7.js.map} +1 -1
- package/dist/chunks/{4837.05a838ee.js → 4837.208ae445.js} +2 -2
- package/dist/chunks/{7218.b5820c83.js.map → 4837.208ae445.js.map} +1 -1
- package/dist/chunks/{5552.96d83691.js → 5552.7cd1c4db.js} +2 -2
- package/dist/chunks/{5552.96d83691.js.map → 5552.7cd1c4db.js.map} +1 -1
- package/dist/chunks/{6746.1bd8aaa8.js → 6746.c32f150c.js} +4 -4
- package/dist/chunks/6746.c32f150c.js.map +1 -0
- package/dist/chunks/7146.fae544eb.js +2 -0
- package/dist/chunks/{4765.3a3c2ed3.js.map → 7146.fae544eb.js.map} +1 -1
- package/dist/chunks/{7218.b5820c83.js → 7218.00131d23.js} +2 -2
- package/dist/chunks/{4837.05a838ee.js.map → 7218.00131d23.js.map} +1 -1
- package/dist/chunks/948.7f8e7e72.js +3 -0
- package/dist/chunks/948.7f8e7e72.js.map +1 -0
- package/dist/chunks/{app-playground.12d062e1.js → app-playground.bbfe9735.js} +2 -2
- package/dist/chunks/app-playground.bbfe9735.js.map +1 -0
- package/dist/chunks/{app-preview.12cdd3e2.js → app-preview.9d068eec.js} +2 -2
- package/dist/chunks/app-preview.9d068eec.js.map +1 -0
- package/dist/chunks/export-as-source-files.3cabf001.js +2 -0
- package/dist/chunks/{export-as-source-files.5accf195.js.map → export-as-source-files.3cabf001.js.map} +1 -1
- package/dist/chunks/export-widgets.b6325df8.js +2 -0
- package/dist/chunks/{export-widgets.1562a8ae.js.map → export-widgets.b6325df8.js.map} +1 -1
- package/dist/chunks/main.a0f77374.js +2 -0
- package/dist/chunks/{main.4a8e170f.js.map → main.a0f77374.js.map} +1 -1
- package/dist/chunks/tsx-playground.7cc3ac8d.js +2 -0
- package/dist/chunks/tsx-playground.7cc3ac8d.js.map +1 -0
- package/dist/examples.json +7 -1
- package/dist/index.a6ac7da7.js +2 -0
- package/dist/index.a6ac7da7.js.map +1 -0
- package/dist/manifest.json +29 -19
- package/dist-types/app-playground/index.d.ts +7 -2
- package/dist-types/app-preview/index.d.ts +4 -1
- package/dist-types/tsx-playground/index.d.ts +16 -2
- package/docs/app-playground.md +121 -0
- package/docs/app-playground.react.md +105 -0
- package/docs/app-preview.md +37 -0
- package/docs/app-preview.react.md +51 -0
- package/docs/tsx-playground.md +68 -33
- package/docs/tsx-playground.react.md +139 -0
- package/package.json +5 -3
- package/dist/chunks/1563.e386a37f.js.map +0 -1
- package/dist/chunks/246.3c1287e4.js +0 -2
- package/dist/chunks/4765.3a3c2ed3.js +0 -2
- package/dist/chunks/6746.1bd8aaa8.js.map +0 -1
- package/dist/chunks/7146.a8c80bcf.js +0 -2
- package/dist/chunks/948.1b677be1.js +0 -3
- package/dist/chunks/948.1b677be1.js.map +0 -1
- package/dist/chunks/app-playground.12d062e1.js.map +0 -1
- package/dist/chunks/app-preview.12cdd3e2.js.map +0 -1
- package/dist/chunks/export-as-source-files.5accf195.js +0 -2
- package/dist/chunks/export-widgets.1562a8ae.js +0 -2
- package/dist/chunks/main.4a8e170f.js +0 -2
- package/dist/chunks/tsx-playground.c67c0906.js +0 -2
- package/dist/chunks/tsx-playground.c67c0906.js.map +0 -1
- package/dist/index.d90bf964.js +0 -2
- package/dist/index.d90bf964.js.map +0 -1
- /package/dist/chunks/{3483.c5ce1021.js.LICENSE.txt → 3483.023fac95.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{6746.1bd8aaa8.js.LICENSE.txt → 6746.c32f150c.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{948.1b677be1.js.LICENSE.txt → 948.7f8e7e72.js.LICENSE.txt} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! For license information please see 6746.
|
|
2
|
-
(globalThis.webpackChunk_next_bricks_vb_experiment=globalThis.webpackChunk_next_bricks_vb_experiment||[]).push([[6746],{4:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Hub",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"NodePath",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return l.default}}),t.visitors=t.default=void 0,n(4537);var r=n(5957);t.visitors=r;var i=n(8135),s=n(6266),o=n(1597),a=n(2670),l=n(4683),c=n(9783);const{VISITOR_KEYS:u,removeProperties:p,traverseFast:f}=i;function h(e,t={},n,i,s,a){if(e){if(!t.noScope&&!n&&"Program"!==e.type&&"File"!==e.type)throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${e.type} node without passing scope and parentPath.`);if(!s&&a)throw new Error("visitSelf can only be used when providing a NodePath.");u[e.type]&&(r.explode(t),(0,o.traverseNode)(e,t,n,i,s,null,a))}}t.default=h,h.visitors=r,h.verify=r.verify,h.explode=r.explode,h.cheap=function(e,t){f(e,t)},h.node=function(e,t,n,r,i,s){(0,o.traverseNode)(e,t,n,r,i,s)},h.clearNode=function(e,t){p(e,t)},h.removeProperties=function(e,t){return f(e,h.clearNode,t),e},h.hasType=function(e,t,n){return(null==n||!n.includes(e.type))&&(e.type===t||f(e,(function(e){return null!=n&&n.includes(e.type)?f.skip:e.type===t?f.stop:void 0})))},h.cache=s},124:(e,t,n)=>{var r=n(9907);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(7891)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},157:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.find=function(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null},t.findParent=function(e){let t=this;for(;t=t.parentPath;)if(e(t))return t;return null},t.getAncestry=function(){let e=this;const t=[];do{t.push(e)}while(e=e.parentPath);return t},t.getDeepestCommonAncestorFrom=function(e,t){if(!e.length)return this;if(1===e.length)return e[0];let n,r,i=1/0;const s=e.map((e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);return t.length<i&&(i=t.length),t})),o=s[0];e:for(let e=0;e<i;e++){const t=o[e];for(const n of s)if(n[e]!==t)break e;n=e,r=t}if(r)return t?t(r,n,s):r;throw new Error("Couldn't find intersection")},t.getEarliestCommonAncestorFrom=function(e){return this.getDeepestCommonAncestorFrom(e,(function(e,t,n){let r;const s=i[e.type];for(const e of n){const n=e[t+1];r?(n.listKey&&r.listKey===n.listKey&&n.key<r.key||s.indexOf(r.parentKey)>s.indexOf(n.parentKey))&&(r=n):r=n}return r}))},t.getFunctionParent=function(){return this.findParent((e=>e.isFunction()))},t.getStatementParent=function(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())break;e=e.parentPath}while(e);if(e&&(e.isProgram()||e.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return e},t.inType=function(...e){let t=this;for(;t;){if(e.includes(t.node.type))return!0;t=t.parentPath}return!1},t.isAncestor=function(e){return e.isDescendant(this)},t.isDescendant=function(e){return!!this.findParent((t=>t===e))};var r=n(8135);const{VISITOR_KEYS:i}=r},215:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){const l=new WeakMap,c=new WeakMap,u=n||(0,r.validate)(null);return Object.assign(((n,...o)=>{if("string"==typeof n){if(o.length>1)throw new Error("Unexpected extra params.");return a((0,i.default)(t,n,(0,r.merge)(u,(0,r.validate)(o[0]))))}if(Array.isArray(n)){let e=l.get(n);return e||(e=(0,s.default)(t,n,u),l.set(n,e)),a(e(o))}if("object"==typeof n&&n){if(o.length>0)throw new Error("Unexpected extra params.");return e(t,(0,r.merge)(u,(0,r.validate)(n)))}throw new Error("Unexpected template param "+typeof n)}),{ast:(e,...n)=>{if("string"==typeof e){if(n.length>1)throw new Error("Unexpected extra params.");return(0,i.default)(t,e,(0,r.merge)((0,r.merge)(u,(0,r.validate)(n[0])),o))()}if(Array.isArray(e)){let i=c.get(e);return i||(i=(0,s.default)(t,e,(0,r.merge)(u,o)),c.set(e,i)),i(n)()}throw new Error("Unexpected template param "+typeof e)}})};var r=n(5838),i=n(1199),s=n(7667);const o=(0,r.validate)({placeholderPattern:!1});function a(e){let t="";try{throw new Error}catch(e){e.stack&&(t=e.stack.split("\n").slice(3).join("\n"))}return n=>{try{return e(n)}catch(e){throw e.stack+=`\n =============\n${t}`,e}}}},240:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statements=t.statement=t.smart=t.program=t.expression=t.default=void 0;var r=n(9813),i=n(215);const s=t.smart=(0,i.default)(r.smart),o=t.statement=(0,i.default)(r.statement),a=t.statements=(0,i.default)(r.statements),l=t.expression=(0,i.default)(r.expression),c=t.program=(0,i.default)(r.program);t.default=Object.assign(s.bind(void 0),{smart:s,statement:o,statements:a,expression:l,program:c,ast:s.ast})},366:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.evaluate=function(){const e={confident:!0,deoptPath:null,seen:new Map};let t=c(this,e);return e.confident||(t=void 0),{confident:e.confident,deopt:e.deoptPath,value:t}},t.evaluateTruthy=function(){const e=this.evaluate();if(e.confident)return!!e.value};const r=["Number","String","Math"],i=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],s=["random"];function o(e){return r.includes(e)}function a(e,t){t.confident&&(t.deoptPath=e,t.confident=!1)}const l=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function c(e,t){const{node:r}=e,{seen:p}=t;if(p.has(r)){const n=p.get(r);return n.resolved?n.value:void a(e,t)}{const f={resolved:!1};p.set(r,f);const h=function(e,t){if(t.confident){if(e.isSequenceExpression()){const n=e.get("expressions");return c(n[n.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral())return e.node.value;if(e.isNullLiteral())return null;if(e.isTemplateLiteral())return u(e,e.node.quasis,t);if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const n=e.get("tag.object"),{node:{name:r}}=n,i=e.get("tag.property");if(n.isIdentifier()&&"String"===r&&!e.scope.getBinding(r)&&i.isIdentifier()&&"raw"===i.node.name)return u(e,e.node.quasi.quasis,t,!0)}if(e.isConditionalExpression()){const n=c(e.get("test"),t);if(!t.confident)return;return c(n?e.get("consequent"):e.get("alternate"),t)}if(e.isExpressionWrapper())return c(e.get("expression"),t);if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const n=e.get("property"),r=e.get("object");if(r.isLiteral()){const i=r.node.value,s=typeof i;let o=null;if(e.node.computed){if(o=c(n,t),!t.confident)return}else n.isIdentifier()&&(o=n.node.name);if(!("number"!==s&&"string"!==s||null==o||"number"!=typeof o&&"string"!=typeof o))return i[o]}}if(e.isReferencedIdentifier()){const n=e.scope.getBinding(e.node.name);if(n){if(n.constantViolations.length>0||e.node.start<n.path.node.end)return void a(n.path,t);const i=n.path.scope;if("var"===n.kind&&i!==n.scope){let s=!i.path.parentPath.isBlockStatement();for(let o=i.parent;o;o=o.parent){var r;if(o===e.scope){if(s)return void a(n.path,t);break}null!=(r=o.path.parentPath)&&r.isBlockStatement()&&(s=!0)}}if(n.hasValue)return n.value}const i=e.node.name;if(l.has(i))return n?void a(n.path,t):l.get(i);const s=e.resolve();if(s===e)return void a(e,t);const o=c(s,t);return"object"==typeof o&&null!==o&&n.references>1?void a(s,t):o}if(e.isUnaryExpression({prefix:!0})){if("void"===e.node.operator)return;const n=e.get("argument");if("typeof"===e.node.operator&&(n.isFunction()||n.isClass()))return"function";const r=c(n,t);if(!t.confident)return;switch(e.node.operator){case"!":return!r;case"+":return+r;case"-":return-r;case"~":return~r;case"typeof":return typeof r}}if(e.isArrayExpression()){const n=[],r=e.get("elements");for(const e of r){const r=e.evaluate();if(!r.confident)return void a(r.deopt,t);n.push(r.value)}return n}if(e.isObjectExpression()){const n={},r=e.get("properties");for(const e of r){if(e.isObjectMethod()||e.isSpreadElement())return void a(e,t);const r=e.get("key");let i;if(e.node.computed){if(i=r.evaluate(),!i.confident)return void a(i.deopt,t);i=i.value}else i=r.isIdentifier()?r.node.name:r.node.value;let s=e.get("value").evaluate();if(!s.confident)return void a(s.deopt,t);s=s.value,n[i]=s}return n}if(e.isLogicalExpression()){const n=t.confident,r=c(e.get("left"),t),i=t.confident;t.confident=n;const s=c(e.get("right"),t),o=t.confident;switch(e.node.operator){case"||":if(t.confident=i&&(!!r||o),!t.confident)return;return r||s;case"&&":if(t.confident=i&&(!r||o),!t.confident)return;return r&&s;case"??":if(t.confident=i&&(null!=r||o),!t.confident)return;return null!=r?r:s}}if(e.isBinaryExpression()){const n=c(e.get("left"),t);if(!t.confident)return;const r=c(e.get("right"),t);if(!t.confident)return;switch(e.node.operator){case"-":return n-r;case"+":return n+r;case"/":return n/r;case"*":return n*r;case"%":return n%r;case"**":return Math.pow(n,r);case"<":return n<r;case">":return n>r;case"<=":return n<=r;case">=":return n>=r;case"==":return n==r;case"!=":return n!=r;case"===":return n===r;case"!==":return n!==r;case"|":return n|r;case"&":return n&r;case"^":return n^r;case"<<":return n<<r;case">>":return n>>r;case">>>":return n>>>r}}if(e.isCallExpression()){const r=e.get("callee");let a,l;if(r.isIdentifier()&&!e.scope.getBinding(r.node.name)&&(o(r.node.name)||function(e){return i.includes(e)}(r.node.name))&&(l=n.g[r.node.name]),r.isMemberExpression()){const e=r.get("object"),t=r.get("property");if(e.isIdentifier()&&t.isIdentifier()&&o(e.node.name)&&!function(e){return s.includes(e)}(t.node.name)){a=n.g[e.node.name];const r=t.node.name;hasOwnProperty.call(a,r)&&(l=a[r])}if(e.isLiteral()&&t.isIdentifier()){const n=typeof e.node.value;"string"!==n&&"number"!==n||(a=e.node.value,l=a[t.node.name])}}if(l){const n=e.get("arguments").map((e=>c(e,t)));if(!t.confident)return;return l.apply(a,n)}}a(e,t)}}(e,t);return t.confident&&(f.resolved=!0,f.value=h),h}}function u(e,t,n,r=!1){let i="",s=0;const o=e.isTemplateLiteral()?e.get("expressions"):e.get("quasi.expressions");for(const e of t){if(!n.confident)break;i+=r?e.value.raw:e.value.cooked;const t=o[s++];t&&(i+=String(c(t,n)))}if(n.confident)return i}},689:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6488),i=n(7985),s=n(5405);function o(e,t){return(0,r.A)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,s,o,a=[],l=!0,c=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=s.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return a}}(e,t)||(0,i.A)(e,t)||(0,s.A)()}},899:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nodes=void 0;var r=n(8135);const{FLIPPED_ALIAS_KEYS:i,isArrayExpression:s,isAssignmentExpression:o,isBinary:a,isBlockStatement:l,isCallExpression:c,isFunction:u,isIdentifier:p,isLiteral:f,isMemberExpression:h,isObjectExpression:d,isOptionalCallExpression:m,isOptionalMemberExpression:g,isStringLiteral:y}=r;function v(e,t){return e?(h(e)||g(e)?(v(e.object,t),e.computed&&v(e.property,t)):a(e)||o(e)?(v(e.left,t),v(e.right,t)):c(e)||m(e)?(t.hasCall=!0,v(e.callee,t)):u(e)?t.hasFunction=!0:p(e)&&(t.hasHelper=t.hasHelper||e.callee&&x(e.callee)),t):t}function b(e){return v(e,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function x(e){return!!e&&(h(e)?x(e.object)||x(e.property):p(e)?"require"===e.name||95===e.name.charCodeAt(0):c(e)?x(e.callee):!(!a(e)&&!o(e))&&(p(e.left)&&x(e.left)||x(e.right)))}function S(e){return f(e)||d(e)||s(e)||p(e)||h(e)}const C=t.nodes={AssignmentExpression(e){const t=b(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction)return t.hasFunction?3:2},SwitchCase:(e,t)=>(e.consequent.length||t.cases[0]===e?1:0)|(e.consequent.length||t.cases[t.cases.length-1]!==e?0:2),LogicalExpression(e){if(u(e.left)||u(e.right))return 2},Literal(e){if(y(e)&&"use strict"===e.value)return 2},CallExpression(e){if(u(e.callee)||x(e))return 3},OptionalCallExpression(e){if(u(e.callee))return 3},VariableDeclaration(e){for(let t=0;t<e.declarations.length;t++){const n=e.declarations[t];let r=x(n.id)&&!S(n.init);if(!r&&n.init){const e=b(n.init);r=x(n.init)&&e.hasCall||e.hasFunction}if(r)return 3}},IfStatement(e){if(l(e.consequent))return 3}};C.ObjectProperty=C.ObjectTypeProperty=C.ObjectMethod=function(e,t){if(t.properties[0]===e)return 1},C.ObjectTypeCallProperty=function(e,t){var n;if(t.callProperties[0]===e&&(null==(n=t.properties)||!n.length))return 1},C.ObjectTypeIndexer=function(e,t){var n,r;if(!(t.indexers[0]!==e||null!=(n=t.properties)&&n.length||null!=(r=t.callProperties)&&r.length))return 1},C.ObjectTypeInternalSlot=function(e,t){var n,r,i;if(!(t.internalSlots[0]!==e||null!=(n=t.properties)&&n.length||null!=(r=t.callProperties)&&r.length||null!=(i=t.indexers)&&i.length))return 1},[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach((function([e,t]){[e].concat(i[e]||[]).forEach((function(e){const n=t?3:0;C[e]=()=>n}))}))},1046:(e,t,n)=>{"use strict";n.d(t,{W:()=>i});var r=n(8291);function i(e){var t,n,i=null===(t=e.children)||void 0===t?void 0:t.find((function(e){return(0,r.dN)(e,"View")})),s=null==i||null===(n=i.properties)||void 0===n?void 0:n.title;if("string"==typeof s&&!(0,r.UQ)(s))return s}},1064:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._containerInsert=k,t._containerInsertAfter=T,t._containerInsertBefore=w,t._verifyNodeList=I,t.insertAfter=function(e){if(o._assertUnremoved.call(this),this.isSequenceExpression())return _(this.get("expressions")).insertAfter(e);const t=I.call(this,e),{parentPath:n,parent:r}=this;if(n.isExpressionStatement()||n.isLabeledStatement()||v(r)||n.isExportDefaultDeclaration()&&this.isDeclaration())return n.insertAfter(t.map((e=>b(e)?m(e):e)));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!n.isJSXElement()||n.isForStatement()&&"init"===this.key){const e=this;if(e.node){const r=e.node;let{scope:i}=this;if(i.path.isPattern())return u(r),e.replaceWith(h(c([],r),[])),e.get("callee.body").insertAfter(t),[e];if(A(e))t.unshift(r);else if(y(r)&&C(r.callee))t.unshift(r),t.push(E());else if(function(e,t){if(!g(e)||!x(e.left))return!1;const n=t.getBlockParent();return n.hasOwnBinding(e.left.name)&&n.getOwnBinding(e.left.name).constantViolations.length<=1}(r,i))t.unshift(r),t.push(d(r.left));else if(i.isPure(r,!0))t.push(r);else{n.isMethod({computed:!0,key:r})&&(i=i.parent);const e=i.generateDeclaredUidIdentifier();t.unshift(m(p("=",d(e),r))),t.push(m(d(e)))}}return this.replaceExpressionWithStatements(t)}if(Array.isArray(this.container))return T.call(this,t);if(this.isStatementOrBlock()){const e=this.node,n=e&&(!this.isExpressionStatement()||null!=e.expression);return this.replaceWith(f(n?[e]:[])),this.pushContainer("body",t)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},t.insertBefore=function(e){o._assertUnremoved.call(this);const t=I.call(this,e),{parentPath:n,parent:r}=this;if(n.isExpressionStatement()||n.isLabeledStatement()||v(r)||n.isExportDefaultDeclaration()&&this.isDeclaration())return n.insertBefore(t);if(this.isNodeType("Expression")&&!this.isJSXElement()||n.isForStatement()&&"init"===this.key)return this.node&&t.push(this.node),this.replaceExpressionWithStatements(t);if(Array.isArray(this.container))return w.call(this,t);if(this.isStatementOrBlock()){const e=this.node,n=e&&(!this.isExpressionStatement()||null!=e.expression);return this.replaceWith(f(n?[e]:[])),this.unshiftContainer("body",t)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},t.pushContainer=function(e,t){o._assertUnremoved.call(this);const n=I.call(this,t),r=this.node[e];return i.default.get({parentPath:this,parent:this.node,container:r,listKey:e,key:r.length}).setContext(this.context).replaceWithMultiple(n)},t.unshiftContainer=function(e,t){o._assertUnremoved.call(this),t=I.call(this,t);const n=i.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).setContext(this.context);return w.call(n,t)},t.updateSiblingKeys=P;var r=n(6266),i=n(2670),s=n(4537),o=n(7946),a=n(8135),l=n(2738);const{arrowFunctionExpression:c,assertExpression:u,assignmentExpression:p,blockStatement:f,callExpression:h,cloneNode:d,expressionStatement:m,isAssignmentExpression:g,isCallExpression:y,isExportNamedDeclaration:v,isExpression:b,isIdentifier:x,isSequenceExpression:S,isSuper:C,thisExpression:E}=a;function k(e,t){P.call(this,e,t.length);const n=[];this.container.splice(e,0,...t);for(let i=0;i<t.length;i++){var r;const t=e+i,o=this.getSibling(t);n.push(o),null!=(r=this.context)&&r.queue&&s.pushContext.call(o,this.context)}const i=s._getQueueContexts.call(this);for(const e of n){s.setScope.call(e),e.debug("Inserted.");for(const t of i)t.maybeQueue(e,!0)}return n}function w(e){return k.call(this,this.key,e)}function T(e){return k.call(this,this.key+1,e)}const _=e=>e[e.length-1];function A(e){return S(e.parent)&&(_(e.parent.expressions)!==e.node||A(e.parentPath))}function P(e,t){if(!this.parent)return;const n=(0,r.getCachedPaths)(this);if(n)for(const[,r]of n)"number"==typeof r.key&&r.container===this.container&&r.key>=e&&(r.key+=t)}function I(e){if(!e)return[];Array.isArray(e)||(e=[e]);for(let t=0;t<e.length;t++){const n=e[t];let r;if(n?"object"!=typeof n?r="contains a non-object node":n.type?n instanceof i.default&&(r="has a NodePath when it expected a raw object"):r="without a type":r="has falsy node",r){const e=Array.isArray(n)?"array":typeof n;throw new Error(`Node list ${r} with the index of ${t} and type of ${e}`)}}return e}t.hoist=function(e=this.scope){return new l.default(this,e).run()}},1199:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){let o;return t=e.code(t),a=>{const l=(0,r.normalizeReplacements)(a);return o||(o=(0,i.default)(e,t,n)),e.unwrap((0,s.default)(o,l))}};var r=n(5838),i=n(4131),s=n(2064)},1369:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7545);function i(e){var t=function(e){if("object"!=(0,r.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=(0,r.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},1593:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);return t?t.identifier.typeAnnotation?t.identifier.typeAnnotation:function(e,t,n){const r=[],s=[];let o=c(e,t,s);const a=p(e,t,n);if(a){const t=c(e,a.ifStatement);o=o.filter((e=>!t.includes(e))),r.push(a.typeAnnotation)}if(o.length){o.push(...s);for(const e of o)r.push(e.getTypeAnnotation())}if(r.length)return(0,i.createUnionType)(r)}(t,this,e.name):"undefined"===e.name?l():"NaN"===e.name||"Infinity"===e.name?a():void e.name};var r=n(8135),i=n(8252);const{BOOLEAN_NUMBER_BINARY_OPERATORS:s,createTypeAnnotationBasedOnTypeof:o,numberTypeAnnotation:a,voidTypeAnnotation:l}=r;function c(e,t,n){const r=e.constantViolations.slice();return r.unshift(e.path),r.filter((e=>{const r=(e=e.resolve())._guessExecutionStatusRelativeTo(t);return n&&"unknown"===r&&n.push(e),"before"===r}))}function u(e,t){const n=t.node.operator,r=t.get("right").resolve(),i=t.get("left").resolve();let l,c,u;if(i.isIdentifier({name:e})?l=r:r.isIdentifier({name:e})&&(l=i),l)return"==="===n?l.getTypeAnnotation():s.includes(n)?a():void 0;if("==="!==n&&"=="!==n)return;if(i.isUnaryExpression({operator:"typeof"})?(c=i,u=r):r.isUnaryExpression({operator:"typeof"})&&(c=r,u=i),!c)return;if(!c.get("argument").isIdentifier({name:e}))return;if(u=u.resolve(),!u.isLiteral())return;const p=u.node.value;return"string"==typeof p?o(p):void 0}function p(e,t,n){const r=function(e,t,n){let r;for(;r=t.parentPath;){if(r.isIfStatement()||r.isConditionalExpression()){if("test"===t.key)return;return r}if(r.isFunction()&&r.parentPath.scope.getBinding(n)!==e)return;t=r}}(e,t,n);if(!r)return;const s=[r.get("test")],o=[];for(let e=0;e<s.length;e++){const t=s[e];if(t.isLogicalExpression())"&&"===t.node.operator&&(s.push(t.get("left")),s.push(t.get("right")));else if(t.isBinaryExpression()){const e=u(n,t);e&&o.push(e)}}return o.length?{typeAnnotation:(0,i.createUnionType)(o),ifStatement:r}:p(e,r,n)}},1597:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.traverseNode=function(e,t,n,i,o,a,l){const c=s[e.type];if(!c)return!1;const u=new r.default(n,t,i,o);if(l)return(null==a||!a[o.parentKey])&&u.visitQueue([o]);for(const t of c)if((null==a||!a[t])&&u.visit(e,t))return!0;return!1};var r=n(6647),i=(n(2670),n(8135));n(4537);const{VISITOR_KEYS:s}=i},1799:(e,t,n)=>{"use strict";n.d(t,{D:()=>s});var r=n(3310),i=[".js",".jsx",".ts",".tsx"];function s(e,t,n){if(e.startsWith("/"))return o(e,n);if(e.startsWith("./")||e.startsWith("../")){var i,s=t.substring(0,t.lastIndexOf("/")),a=s?s.split("/"):[""],l=e.split("/"),c=(0,r.A)(l);try{for(c.s();!(i=c.n()).done;){var u=i.value;"."!==u&&(".."===u?a.length>0&&a.pop():a.push(u))}}catch(e){c.e(e)}finally{c.f()}return o(a.join("/"),n)}return e}function o(e,t){if(t.some((function(t){return t.filePath===e})))return e;var n,s=(0,r.A)(i);try{var o,a=function(){var r=n.value;if(t.some((function(t){return t.filePath==="".concat(e).concat(r)})))return{v:"".concat(e).concat(r)}};for(s.s();!(n=s.n()).done;)if(o=a())return o.v}catch(e){s.e(e)}finally{s.f()}return e}},1956:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenContext=void 0,t.isLastChild=function(e,t){const n=a[e.type];for(let r=n.length-1;r>=0;r--){const i=e[n[r]];if(i===t)return!0;if(Array.isArray(i)){let e=i.length-1;for(;e>=0&&null===i[e];)e--;return e>=0&&i[e]===t}if(i)return!1}return!1},t.needsParens=function(e,t,n,r){var i;return!!t&&(!(!f(t)||t.callee!==e||!y(e))||(c(t)?!(b(e)||l(e)&&b(e.callee)||h(e)):null==(i=m.get(e.type))?void 0:i(e,t,n,r)))},t.needsWhitespace=v,t.needsWhitespaceAfter=function(e,t){return v(e,t,2)},t.needsWhitespaceBefore=function(e,t){return v(e,t,1)};var r=n(899),i=n(5584),s=n(8135);const{FLIPPED_ALIAS_KEYS:o,VISITOR_KEYS:a,isCallExpression:l,isDecorator:c,isExpressionStatement:u,isMemberExpression:p,isNewExpression:f,isParenthesizedExpression:h}=s;function d(e){const t=new Map;function n(e,n){const r=t.get(e);t.set(e,r?function(e,t,i,s){var o;return null!=(o=r(e,t,i,s))?o:n(e,t,i,s)}:n)}for(const t of Object.keys(e)){const r=o[t];if(r)for(const i of r)n(i,e[t]);else n(t,e[t])}return t}t.TokenContext={normal:0,expressionStatement:1,arrowBody:2,exportDefault:4,arrowFlowReturnType:8,forInitHead:16,forInHead:32,forOfHead:64,forInOrInitHeadAccumulate:128,forInOrInitHeadAccumulatePassThroughMask:128};const m=d(i),g=d(r.nodes);function y(e){return!!l(e)||p(e)&&y(e.object)}function v(e,t,n){var r;if(!e)return!1;u(e)&&(e=e.expression);const i=null==(r=g.get(e.type))?void 0:r(e,t);return"number"==typeof i&&!!(i&n)}function b(e){switch(e.type){case"Identifier":return!0;case"MemberExpression":return!e.computed&&"Identifier"===e.property.type&&b(e.object);default:return!1}}},1969:function(e,t,n){!function(e,t,n){"use strict";function r(e,t){return t&&!t.endsWith("/")&&(t+="/"),n(e,t)}function i(e,t){for(let n=t;n<e.length;n++)if(!s(e[n]))return n;return e.length}function s(e){for(let t=1;t<e.length;t++)if(e[t][0]<e[t-1][0])return!1;return!0}function o(e,t){return t||(e=e.slice()),e.sort(a)}function a(e,t){return e[0]-t[0]}let l=!1;function c(e,t,n){for(let r=n+1;r<e.length&&e[r][0]===t;n=r++);return n}function u(e,t,n){for(let r=n-1;r>=0&&e[r][0]===t;n=r--);return n}function p(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function f(e,t,n,r){const{lastKey:i,lastNeedle:s,lastIndex:o}=n;let a=0,c=e.length-1;if(r===i){if(t===s)return l=-1!==o&&e[o][0]===t,o;t>=s?a=-1===o?0:o:c=o}return n.lastKey=r,n.lastNeedle=t,n.lastIndex=function(e,t,n,r){for(;n<=r;){const i=n+(r-n>>1),s=e[i][0]-t;if(0===s)return l=!0,i;s<0?n=i+1:r=i-1}return l=!1,n-1}(e,t,a,c)}function h(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function d(){return{__proto__:null}}function m(e){return"string"==typeof e?JSON.parse(e):e}function g(e,t,n,r,i,s,o,a,l,c,u){const{sections:p}=e;for(let e=0;e<p.length;e++){const{map:f,offset:h}=p[e];let d=c,m=u;if(e+1<p.length){const t=p[e+1].offset;d=Math.min(c,a+t.line),d===c?m=Math.min(u,l+t.column):d<c&&(m=l+t.column)}y(f,t,n,r,i,s,o,a+h.line,l+h.column,d,m)}}function y(e,t,n,r,i,s,o,a,l,c,u){const p=m(e);if("sections"in p)return g(...arguments);const f=new C(p,t),h=r.length,d=s.length,y=k(f),{resolvedSources:x,sourcesContent:S,ignoreList:E}=f;if(v(r,x),v(s,f.names),S)v(i,S);else for(let e=0;e<x.length;e++)i.push(null);if(E)for(let e=0;e<E.length;e++)o.push(E[e]+h);for(let e=0;e<y.length;e++){const t=a+e;if(t>c)return;const r=b(n,t),i=0===e?l:0,s=y[e];for(let e=0;e<s.length;e++){const n=s[e],o=i+n[0];if(t===c&&o>=u)return;if(1===n.length){r.push([o]);continue}const a=h+n[1],l=n[2],p=n[3];r.push(4===n.length?[o,a,l,p]:[o,a,l,p,d+n[4]])}}}function v(e,t){for(let n=0;n<t.length;n++)e.push(t[n])}function b(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}const x="`line` must be greater than 0 (lines start at line 1)",S="`column` must be greater than or equal to 0 (columns start at column 0)";class C{constructor(e,t){const n="string"==typeof e;if(!n&&e._decodedMemo)return e;const s=n?JSON.parse(e):e,{version:a,file:l,names:c,sourceRoot:u,sources:p,sourcesContent:f}=s;this.version=a,this.file=l,this.names=c||[],this.sourceRoot=u,this.sources=p,this.sourcesContent=f,this.ignoreList=s.ignoreList||s.x_google_ignoreList||void 0;const h=r(u||"",function(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t));this.resolvedSources=p.map((e=>r(e||"",h)));const{mappings:d}=s;"string"==typeof d?(this._encoded=d,this._decoded=void 0):(this._encoded=void 0,this._decoded=function(e,t){const n=i(e,0);if(n===e.length)return e;t||(e=e.slice());for(let r=n;r<e.length;r=i(e,r+1))e[r]=o(e[r],t);return e}(d,n)),this._decodedMemo={lastKey:-1,lastNeedle:-1,lastIndex:-1},this._bySources=void 0,this._bySourceMemos=void 0}}function E(e){var n,r;return null!==(n=(r=e)._encoded)&&void 0!==n?n:r._encoded=t.encode(e._decoded)}function k(e){var n;return(n=e)._decoded||(n._decoded=t.decode(e._encoded))}function w(e,t){const{sources:n,resolvedSources:r}=e;let i=n.indexOf(t);return-1===i&&(i=r.indexOf(t)),i}function T(e,t){const n=new C(_(e,[]),t);return n._decoded=e.mappings,n}function _(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t,ignoreList:e.ignoreList||e.x_google_ignoreList}}function A(e,t,n,r){return{source:e,line:t,column:n,name:r}}function P(e,t){return{line:e,column:t}}function I(e,t,n,r,i){let s=f(e,r,t,n);return l?s=(-1===i?c:u)(e,r,s):-1===i&&s++,-1===s||s===e.length?-1:s}function M(e,t,n,r,i,s){var o;if(--n<0)throw new Error(x);if(r<0)throw new Error(S);const{sources:a,resolvedSources:m}=e;let g=a.indexOf(t);if(-1===g&&(g=m.indexOf(t)),-1===g)return s?[]:P(null,null);const y=((o=e)._bySources||(o._bySources=function(e,t){const n=t.map(d);for(let r=0;r<e.length;r++){const i=e[r];for(let e=0;e<i.length;e++){const s=i[e];if(1===s.length)continue;const o=s[1],a=s[2],l=s[3],u=n[o],p=u[a]||(u[a]=[]),d=t[o];let m=c(p,l,f(p,l,d,a));d.lastIndex=++m,h(p,m,[l,r,s[0]])}}return n}(k(e),e._bySourceMemos=a.map(p))))[g][n];if(null==y)return s?[]:P(null,null);const v=e._bySourceMemos[g];if(s)return function(e,t,n,r,i){let s=I(e,t,n,r,1);if(l||-1!==i||s++,-1===s||s===e.length)return[];const o=l?r:e[s][0];l||(s=u(e,o,s));const a=c(e,o,s),p=[];for(;s<=a;s++){const t=e[s];p.push(P(t[1]+1,t[2]))}return p}(y,v,n,r,i);const b=I(y,v,n,r,i);if(-1===b)return P(null,null);const C=y[b];return P(C[1]+1,C[2])}e.AnyMap=function(e,t){const n=m(e);if(!("sections"in n))return new C(n,t);const r=[],i=[],s=[],o=[],a=[];return g(n,t,r,i,s,o,a,0,0,1/0,1/0),T({version:3,file:n.file,names:o,sources:i,sourcesContent:s,mappings:r,ignoreList:a})},e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=-1,e.TraceMap=C,e.allGeneratedPositionsFor=function(e,t){const{source:n,line:r,column:i,bias:s}=t;return M(e,n,r,i,s||-1,!0)},e.decodedMap=function(e){return _(e,k(e))},e.decodedMappings=k,e.eachMapping=function(e,t){const n=k(e),{names:r,resolvedSources:i}=e;for(let e=0;e<n.length;e++){const s=n[e];for(let n=0;n<s.length;n++){const o=s[n],a=e+1,l=o[0];let c=null,u=null,p=null,f=null;1!==o.length&&(c=i[o[1]],u=o[2]+1,p=o[3]),5===o.length&&(f=r[o[4]]),t({generatedLine:a,generatedColumn:l,source:c,originalLine:u,originalColumn:p,name:f})}}},e.encodedMap=function(e){return _(e,E(e))},e.encodedMappings=E,e.generatedPositionFor=function(e,t){const{source:n,line:r,column:i,bias:s}=t;return M(e,n,r,i,s||1,!1)},e.isIgnored=function(e,t){const{ignoreList:n}=e;if(null==n)return!1;const r=w(e,t);return-1!==r&&n.includes(r)},e.originalPositionFor=function(e,t){let{line:n,column:r,bias:i}=t;if(n--,n<0)throw new Error(x);if(r<0)throw new Error(S);const s=k(e);if(n>=s.length)return A(null,null,null,null);const o=s[n],a=I(o,e._decodedMemo,n,r,i||1);if(-1===a)return A(null,null,null,null);const l=o[a];if(1===l.length)return A(null,null,null,null);const{names:c,resolvedSources:u}=e;return A(u[l[1]],l[2]+1,l[3],5===l.length?c[l[4]]:null)},e.presortedDecodedMap=T,e.sourceContentFor=function(e,t){const{sourcesContent:n}=e;if(null==n)return null;const r=w(e,t);return-1===r?null:n[r]},e.traceSegment=function(e,t,n){const r=k(e);if(t>=r.length)return null;const i=r[t],s=I(i,e._decodedMemo,t,n,1);return-1===s?null:i[s]}}(t,n(6398),n(8079))},2005:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockStatement=function(e){var t;this.tokenChar(123);const n=this.enterDelimited(),r=null==(t=e.directives)?void 0:t.length;if(r){var i;const t=e.body.length?2:1;this.printSequence(e.directives,!0,t),null!=(i=e.directives[r-1].trailingComments)&&i.length||this.newline(t)}this.printSequence(e.body,!0),n(),this.rightBrace(e)},t.Directive=function(e){this.print(e.value),this.semicolon()},t.DirectiveLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.token(t);const{value:i}=e;if(r.test(i)){if(n.test(i))throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.");this.token(`'${i}'`)}else this.token(`"${i}"`)},t.File=function(e){e.program&&this.print(e.program.interpreter),this.print(e.program)},t.InterpreterDirective=function(e){this.token(`#!${e.value}`),this.newline(1,!0)},t.Placeholder=function(e){this.token("%%"),this.print(e.name),this.token("%%"),"Statement"===e.expectedNode&&this.semicolon()},t.Program=function(e){var t;this.noIndentInnerCommentsHere(),this.printInnerComments();const n=null==(t=e.directives)?void 0:t.length;if(n){var r;const t=e.body.length?2:1;this.printSequence(e.directives,void 0,t),null!=(r=e.directives[n-1].trailingComments)&&r.length||this.newline(t)}this.printSequence(e.body)};const n=/(?:^|[^\\])(?:\\\\)*'/,r=/(?:^|[^\\])(?:\\\\)*"/},2064:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=s(e.ast);return t&&(e.placeholders.forEach((e=>{if(!hasOwnProperty.call(t,e.name)){const t=e.name;throw new Error(`Error: No substitution given for "${t}". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set(['${t}'])}\n - { placeholderPattern: /^${t}$/ }`)}})),Object.keys(t).forEach((t=>{if(!e.placeholderNames.has(t))throw new Error(`Unknown substitution "${t}" given`)}))),e.placeholders.slice().reverse().forEach((e=>{try{var r;!function(e,t,n){e.isDuplicate&&(Array.isArray(n)?n=n.map((e=>s(e))):"object"==typeof n&&(n=s(n)));const{parent:r,key:h,index:d}=e.resolve(t);if("string"===e.type){if("string"==typeof n&&(n=p(n)),!n||!u(n))throw new Error("Expected string substitution")}else if("statement"===e.type)void 0===d?n?Array.isArray(n)?n=i(n):"string"==typeof n?n=a(l(n)):c(n)||(n=a(n)):n=o():n&&!Array.isArray(n)&&("string"==typeof n&&(n=l(n)),c(n)||(n=a(n)));else if("param"===e.type){if("string"==typeof n&&(n=l(n)),void 0===d)throw new Error("Assertion failure.")}else if("string"==typeof n&&(n=l(n)),Array.isArray(n))throw new Error("Cannot replace single expression with an array.");function m(e,t,n){const r=e[t];e[t]=n,"Identifier"!==r.type&&"Placeholder"!==r.type||(r.typeAnnotation&&(n.typeAnnotation=r.typeAnnotation),r.optional&&(n.optional=r.optional),r.decorators&&(n.decorators=r.decorators))}if(void 0===d)f(r,h,n),m(r,h,n);else{const t=r[h].slice();"statement"===e.type||"param"===e.type?null==n?t.splice(d,1):Array.isArray(n)?t.splice(d,1,...n):m(t,d,n):m(t,d,n),f(r,h,t),r[h]=t}}(e,n,null!=(r=t&&t[e.name])?r:null)}catch(t){throw t.message=`@babel/template placeholder "${e.name}": ${t.message}`,t}})),n};var r=n(8135);const{blockStatement:i,cloneNode:s,emptyStatement:o,expressionStatement:a,identifier:l,isStatement:c,isStringLiteral:u,stringLiteral:p,validate:f}=r},2235:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.generate=o;var r=n(9305),i=n(2475);function s(e,t,n){if(t.experimental_preserveFormat){if("string"!=typeof e)throw new Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!t.retainLines)throw new Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(t.compact&&"auto"!==t.compact)throw new Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(t.minified)throw new Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(t.jsescOption)throw new Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(n.tokens))throw new Error("`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.")}const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,preserveFormat:t.experimental_preserveFormat,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:null==t.comments||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},t.jsescOption),topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};var i;r.decoratorsBeforeExport=t.decoratorsBeforeExport,r.jsescOption.json=t.jsonCompatibleStrings,r.recordAndTupleSyntaxType=null!=(i=t.recordAndTupleSyntaxType)?i:"hash",r.minified?(r.compact=!0,r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)):r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.includes("@license")||e.includes("@preserve")),"auto"===r.compact&&(r.compact="string"==typeof e&&e.length>5e5,r.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${t.filename} as it exceeds the max of 500KB.`)),(r.compact||r.preserveFormat)&&(r.indent.adjustMultilineComment=!1);const{auxiliaryCommentBefore:s,auxiliaryCommentAfter:o,shouldPrintComment:a}=r;return s&&!a(s)&&(r.auxiliaryCommentBefore=void 0),o&&!a(o)&&(r.auxiliaryCommentAfter=void 0),r}function o(e,t={},n){const o=s(n,t,e),a=t.sourceMaps?new r.default(t,n):null;return new i.default(o,a,e.tokens,"string"==typeof n?n:null).generate(e)}t.CodeGenerator=class{constructor(e,t={},n){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=e,this._format=s(n,t,e),this._map=t.sourceMaps?new r.default(t,n):null}generate(){return new i.default(this._format,this._map).generate(this._ast)}},t.default=o},2387:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentPlaceholder=function(){this.tokenChar(63)},t.ArrayPattern=t.ArrayExpression=function(e){const t=e.elements,n=t.length;this.tokenChar(91);const r=this.enterDelimited();for(let e=0;e<t.length;e++){const r=t[e];r?(e>0&&this.space(),this.print(r),(e<n-1||this.shouldPrintTrailingComma("]"))&&this.token(",",!1,e)):this.token(",",!1,e)}r(),this.tokenChar(93)},t.BigIntLiteral=function(e){const t=this.getPossibleRaw(e);this.format.minified||void 0===t?this.word(e.value+"n"):this.word(t)},t.BooleanLiteral=function(e){this.word(e.value?"true":"false")},t.Identifier=function(e){var t;this.sourceIdentifierName((null==(t=e.loc)?void 0:t.identifierName)||e.name),this.word(this.tokenMap?this._getRawIdentifier(e):e.name)},t.NullLiteral=function(){this.word("null")},t.NumericLiteral=function(e){const t=this.getPossibleRaw(e),n=this.format.jsescOption,r=e.value,s=r+"";n.numbers?this.number(i(r,n),r):null==t?this.number(s,r):this.format.minified?this.number(t.length<s.length?t:s,r):this.number(t,r)},t.ObjectPattern=t.ObjectExpression=function(e){const t=e.properties;if(this.tokenChar(123),t.length){const e=this.enterDelimited();this.space(),this.printList(t,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),e()}this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)},t.ObjectMethod=function(e){this.printJoin(e.decorators),this._methodHead(e),this.space(),this.print(e.body)},t.ObjectProperty=function(e){if(this.printJoin(e.decorators),e.computed)this.tokenChar(91),this.print(e.key),this.tokenChar(93);else{if(s(e.value)&&o(e.key)&&e.key.name===e.value.left.name)return void this.print(e.value);if(this.print(e.key),e.shorthand&&o(e.key)&&o(e.value)&&e.key.name===e.value.name)return}this.tokenChar(58),this.space(),this.print(e.value)},t.PipelineBareFunction=function(e){this.print(e.callee)},t.PipelinePrimaryTopicReference=function(){this.tokenChar(35)},t.PipelineTopicExpression=function(e){this.print(e.expression)},t.RecordExpression=function(e){const t=e.properties;let n,r;if("bar"===this.format.recordAndTupleSyntaxType)n="{|",r="|}";else{if("hash"!==this.format.recordAndTupleSyntaxType&&null!=this.format.recordAndTupleSyntaxType)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);n="#{",r="}"}this.token(n),t.length&&(this.space(),this.printList(t,this.shouldPrintTrailingComma(r),!0,!0),this.space()),this.token(r)},t.RegExpLiteral=function(e){this.word(`/${e.pattern}/${e.flags}`)},t.SpreadElement=t.RestElement=function(e){this.token("..."),this.print(e.argument)},t.StringLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.token(t);const n=i(e.value,this.format.jsescOption);this.token(n)},t.TopicReference=function(){const{topicToken:e}=this.format;if(!c.has(e)){const t=JSON.stringify(e),n=Array.from(c,(e=>JSON.stringify(e)));throw new Error(`The "topicToken" generator option must be one of ${n.join(", ")} (${t} received instead).`)}this.token(e)},t.TupleExpression=function(e){const t=e.elements,n=t.length;let r,i;if("bar"===this.format.recordAndTupleSyntaxType)r="[|",i="|]";else{if("hash"!==this.format.recordAndTupleSyntaxType)throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);r="#[",i="]"}this.token(r);for(let e=0;e<t.length;e++){const r=t[e];r&&(e>0&&this.space(),this.print(r),(e<n-1||this.shouldPrintTrailingComma(i))&&this.token(",",!1,e))}this.token(i)},t._getRawIdentifier=function(e){if(e===a)return l;a=e;const{name:t}=e,n=this.tokenMap.find(e,(e=>e.value===t));return n?(l=this._originalCode.slice(n.start,n.end),l):l=e.name};var r=n(8135),i=n(8398);const{isAssignmentPattern:s,isIdentifier:o}=r;let a=null,l="";const c=new Set(["^^","@@","^","%","#"])},2475:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6405),i=n(1956),s=i,o=n(8135),a=n(6697),l=n(2798),c=n(8121);const{isExpression:u,isFunction:p,isStatement:f,isClassBody:h,isTSInterfaceBody:d,isTSEnumMember:m}=o,g=/e/i,y=/\.0+$/,v=/[\n\r\u2028\u2029]/,b=/[\n\r\u2028\u2029]|\*\//;function x(e){return"CommentLine"===e.type||v.test(e.value)}const{needsParens:S}=s;class C{constructor(e,t,n,s){this.tokenContext=i.TokenContext.normal,this._tokens=null,this._originalCode=null,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._noLineTerminator=!1,this._noLineTerminatorAfterNode=null,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._endsWithDiv=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.tokenMap=null,this._boundGetRawIdentifier=this._getRawIdentifier.bind(this),this._printSemicolonBeforeNextNode=-1,this._printSemicolonBeforeNextToken=-1,this.format=e,this._tokens=n,this._originalCode=s,this._indentRepeat=e.indent.style.length,this._inputMap=null==t?void 0:t._inputMap,this._buf=new r.default(t,e.indent.style[0])}enterForStatementInit(){return this.tokenContext|=i.TokenContext.forInitHead|i.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=i.TokenContext.normal}enterForXStatementInit(e){return e?(this.tokenContext|=i.TokenContext.forOfHead,null):(this.tokenContext|=i.TokenContext.forInHead|i.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=i.TokenContext.normal)}enterDelimited(){const e=this.tokenContext,t=this._noLineTerminatorAfterNode;return e&i.TokenContext.forInOrInitHeadAccumulate||null!==t?(this._noLineTerminatorAfterNode=null,this.tokenContext=i.TokenContext.normal,()=>{this._noLineTerminatorAfterNode=t,this.tokenContext=e}):()=>{}}generate(e){return this.format.preserveFormat&&(this.tokenMap=new a.TokenMap(e,this._tokens,this._originalCode)),this.print(e),this._maybeAddAuxComment(),this._buf.get()}indent(){const{format:e}=this;e.preserveFormat||e.compact||e.concise||this._indent++}dedent(){const{format:e}=this;e.preserveFormat||e.compact||e.concise||this._indent--}semicolon(e=!1){if(this._maybeAddAuxComment(),e)return this._appendChar(59),void(this._noLineTerminator=!1);if(this.tokenMap){const e=this._currentNode;if(null!=e.start&&null!=e.end){if(!this.tokenMap.endMatches(e,";"))return void(this._printSemicolonBeforeNextNode=this._buf.getCurrentLine());const t=this.tokenMap.getIndexes(this._currentNode);this._catchUpTo(this._tokens[t[t.length-1]].loc.start)}}this._queue(59),this._noLineTerminator=!1}rightBrace(e){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)}rightParens(e){this.sourceWithOffset("end",e.loc,-1),this.tokenChar(41)}space(e=!1){const{format:t}=this;if(!t.compact&&!t.preserveFormat)if(e)this._space();else if(this._buf.hasContent()){const e=this.getLastChar();32!==e&&10!==e&&this._space()}}word(e,t=!1){this.tokenContext&=i.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(e),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(e),(this._endsWithWord||this._endsWithDiv&&47===e.charCodeAt(0))&&this._space(),this._append(e,!1),this._endsWithWord=!0,this._noLineTerminator=t}number(e,t){this.word(e),this._endsWithInteger=Number.isInteger(t)&&!function(e){if(e.length>2&&48===e.charCodeAt(0)){const t=e.charCodeAt(1);return 98===t||111===t||120===t}return!1}(e)&&!g.test(e)&&!y.test(e)&&46!==e.charCodeAt(e.length-1)}token(e,t=!1,n=0){this.tokenContext&=i.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(e,n),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(e,n);const r=this.getLastChar(),s=e.charCodeAt(0);(33===r&&("--"===e||61===s)||43===s&&43===r||45===s&&45===r||46===s&&this._endsWithInteger)&&this._space(),this._append(e,t),this._noLineTerminator=!1}tokenChar(e){this.tokenContext&=i.TokenContext.forInOrInitHeadAccumulatePassThroughMask;const t=String.fromCharCode(e);this._maybePrintInnerComments(t),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(t);const n=this.getLastChar();(43===e&&43===n||45===e&&45===n||46===e&&this._endsWithInteger)&&this._space(),this._appendChar(e),this._noLineTerminator=!1}newline(e=1,t){if(!(e<=0)){if(!t){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space()}e>2&&(e=2),e-=this._buf.getNewlineCount();for(let t=0;t<e;t++)this._newline()}}endsWith(e){return this.getLastChar()===e}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(e,t){e?(this._catchUp("start",e),this._buf.exactSource(e,t)):t()}source(e,t){t&&(this._catchUp(e,t),this._buf.source(e,t))}sourceWithOffset(e,t,n){t&&!this.format.preserveFormat&&(this._catchUp(e,t),this._buf.sourceWithOffset(e,t,n))}sourceIdentifierName(e,t){if(!this._buf._canMarkIdName)return;const n=this._buf._sourcePosition;n.identifierNamePos=t,n.identifierName=e}_space(){this._queue(32)}_newline(){this._queue(10)}_catchUpToCurrentToken(e,t=0){const n=this.tokenMap.findMatching(this._currentNode,e,t);n&&this._catchUpTo(n.loc.start),-1!==this._printSemicolonBeforeNextToken&&this._printSemicolonBeforeNextToken===this._buf.getCurrentLine()&&(this._buf.appendChar(59),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1),this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1}_append(e,t){this._maybeIndent(e.charCodeAt(0)),this._buf.append(e,t),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(e){this._maybeIndent(e),this._buf.appendChar(e),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(e){this._maybeIndent(e),this._buf.queue(e),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(e){this._indent&&10!==e&&this.endsWith(10)&&this._buf.queueIndentation(this._getIndent())}_shouldIndent(e){if(this._indent&&10!==e&&this.endsWith(10))return!0}catchUp(e){if(!this.format.retainLines)return;const t=e-this._buf.getCurrentLine();for(let e=0;e<t;e++)this._newline()}_catchUp(e,t){const{format:n}=this;if(!n.preserveFormat)return void(n.retainLines&&null!=t&&t[e]&&this.catchUp(t[e].line));const r=null==t?void 0:t[e];null!=r&&this._catchUpTo(r)}_catchUpTo({line:e,column:t,index:n}){const r=e-this._buf.getCurrentLine();if(r>0&&this._noLineTerminator)return;for(let e=0;e<r;e++)this._newline();const i=r>0?t:t-this._buf.getCurrentColumn();if(i>0){const e=this._originalCode?this._originalCode.slice(n-i,n).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu," "):" ".repeat(i);this._append(e,!1)}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(e){this._noLineTerminator=!0,this.print(e)}print(e,t,n){var r,o,a;if(!e)return;this._endsWithInnerRaw=!1;const l=e.type,c=this.format,p=c.concise;e._compact&&(c.concise=!0);const f=this[l];if(void 0===f)throw new ReferenceError(`unknown node of type ${JSON.stringify(l)} with constructor ${JSON.stringify(e.constructor.name)}`);const h=this._currentNode;this._currentNode=e,this.tokenMap&&(this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode);const d=this._insideAux;this._insideAux=null==e.loc,this._maybeAddAuxComment(this._insideAux&&!d);const m=null==(r=e.extra)?void 0:r.parenthesized;let g=m&&c.preserveFormat||m&&c.retainFunctionParens&&"FunctionExpression"===l||S(e,h,this.tokenContext,c.preserveFormat?this._boundGetRawIdentifier:void 0);if(!g&&m&&null!=(o=e.leadingComments)&&o.length&&"CommentBlock"===e.leadingComments[0].type)switch(null==h?void 0:h.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(h.callee!==e)break;default:g=!0}let y,v,b=!1;var C;!g&&this._noLineTerminator&&(null!=(a=e.leadingComments)&&a.some(x)||this.format.retainLines&&e.loc&&e.loc.start.line>this._buf.getCurrentLine())&&(g=!0,b=!0),g||(t||(t=h&&this._noLineTerminatorAfterNode===h&&s.isLastChild(h,e)),t&&(null!=(C=e.trailingComments)&&C.some(x)?u(e)&&(g=!0):(y=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=e))),g&&(this.tokenChar(40),b&&this.indent(),this._endsWithInnerRaw=!1,this.tokenContext&i.TokenContext.forInOrInitHeadAccumulate&&(v=this.tokenContext,this.tokenContext=i.TokenContext.normal),y=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null),this._lastCommentLine=0,this._printLeadingComments(e,h);const E="Program"===l||"File"===l?null:e.loc;this.exactSource(E,f.bind(this,e,h)),g?(this._printTrailingComments(e,h),b&&(this.dedent(),this.newline()),this.tokenChar(41),this._noLineTerminator=t,v&&(this.tokenContext=v)):t&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(e,h)):this._printTrailingComments(e,h,n),this._currentNode=h,c.concise=p,this._insideAux=d,void 0!==y&&(this._noLineTerminatorAfterNode=y),this._endsWithInnerRaw=!1}_maybeAddAuxComment(e){e&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;const e=this.format.auxiliaryCommentBefore;e&&this._printComment({type:"CommentBlock",value:e},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;const e=this.format.auxiliaryCommentAfter;e&&this._printComment({type:"CommentBlock",value:e},0)}getPossibleRaw(e){const t=e.extra;if(null!=(null==t?void 0:t.raw)&&null!=t.rawValue&&e.value===t.rawValue)return t.raw}printJoin(e,t,n,r,i,s,o,a){if(null==e||!e.length)return;if(null==n&&this.format.retainLines){var l;const t=null==(l=e[0].loc)?void 0:l.start.line;null!=t&&t!==this._buf.getCurrentLine()&&(n=!0)}n&&this.indent();const c={addNewlines:s,nextNodeStartLine:0},u=null==r?void 0:r.bind(this),p=e.length;for(let n=0;n<p;n++){const r=e[n];var f;if(r&&(t&&this._printNewline(0===n,c),this.print(r,void 0,a||0),null==o||o(r,n),null!=u&&(n<p-1?u(n,!1):i&&u(n,!0)),t))if(null!=(f=r.trailingComments)&&f.length||(this._lastCommentLine=0),n+1===p)this.newline(1);else{var h;const t=e[n+1];c.nextNodeStartLine=(null==(h=t.loc)?void 0:h.start.line)||0,this._printNewline(!0,c)}}n&&this.dedent()}printAndIndentOnComments(e){const t=e.leadingComments&&e.leadingComments.length>0;t&&this.indent(),this.print(e),t&&this.dedent()}printBlock(e){const t=e.body;"EmptyStatement"!==t.type&&this.space(),this.print(t)}_printTrailingComments(e,t,n){const{innerComments:r,trailingComments:i}=e;null!=r&&r.length&&this._printComments(2,r,e,t,n),null!=i&&i.length&&this._printComments(2,i,e,t,n)}_printLeadingComments(e,t){const n=e.leadingComments;null!=n&&n.length&&this._printComments(0,n,e,t)}_maybePrintInnerComments(e,t){var n;this._endsWithInnerRaw&&this.printInnerComments(null==(n=this.tokenMap)?void 0:n.findMatching(this._currentNode,e,t)),this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(e){const t=this._currentNode,n=t.innerComments;if(null==n||!n.length)return;const r=this.endsWith(32),i=this._indentInnerComments,s=this._printedComments.size;i&&this.indent(),this._printComments(1,n,t,void 0,void 0,e),r&&s!==this._printedComments.size&&this.space(),i&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(e,t,n,r){this.printJoin(e,!0,null!=t&&t,void 0,void 0,r,void 0,n)}printList(e,t,n,r,i,s){this.printJoin(e,n,r,null!=i?i:E,t,void 0,s)}shouldPrintTrailingComma(e){if(!this.tokenMap)return null;const t=this.tokenMap.findLastIndex(this._currentNode,(t=>this.tokenMap.matchesOriginal(t,e)));return t<=0?null:this.tokenMap.matchesOriginal(this._tokens[t-1],",")}_printNewline(e,t){const n=this.format;if(n.retainLines||n.compact)return;if(n.concise)return void this.space();if(!e)return;const r=t.nextNodeStartLine,i=this._lastCommentLine;if(r>0&&i>0){const e=r-i;if(e>=0)return void this.newline(e||1)}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(e,t){if(e.ignore)return 0;if(this._printedComments.has(e))return 0;if(this._noLineTerminator&&b.test(e.value))return 2;if(t&&this.tokenMap){const n=this.tokenMap.find(this._currentNode,(t=>t.value===e.value));if(n&&n.start>t.start)return 2}return this._printedComments.add(e),this.format.shouldPrintComment(e.value)?1:0}_printComment(e,t){const n=this._noLineTerminator,r="CommentBlock"===e.type,i=r&&1!==t&&!this._noLineTerminator;i&&this._buf.hasContent()&&2!==t&&this.newline(1);const s=this.getLastChar();let o;if(91!==s&&123!==s&&40!==s&&this.space(),r){if(o=`/*${e.value}*/`,this.format.indent.adjustMultilineComment){var a;const t=null==(a=e.loc)?void 0:a.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");o=o.replace(e,"\n")}if(this.format.concise)o=o.replace(/\n(?!$)/g,"\n");else{let e=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(e+=this._getIndent()),o=o.replace(/\n(?!$)/g,`\n${" ".repeat(e)}`)}}}else o=n?`/*${e.value}*/`:`//${e.value}`;if(this._endsWithDiv&&this._space(),this.tokenMap){const{_printSemicolonBeforeNextToken:t,_printSemicolonBeforeNextNode:n}=this;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1,this.source("start",e.loc),this._append(o,r),this._printSemicolonBeforeNextNode=n,this._printSemicolonBeforeNextToken=t}else this.source("start",e.loc),this._append(o,r);r||n||this.newline(1,!0),i&&3!==t&&this.newline(1)}_printComments(e,t,n,r,i=0,s){const o=n.loc,a=t.length;let l=!!o;const c=l?o.start.line:0,u=l?o.end.line:0;let g=0,y=0;const b=this._noLineTerminator?function(){}:this.newline.bind(this);for(let o=0;o<a;o++){const x=t[o],S=this._shouldPrintComment(x,s);if(2===S){l=!1;break}if(l&&x.loc&&1===S){const t=x.loc.start.line,n=x.loc.end.line;if(0===e){let e=0;0===o?!this._buf.hasContent()||"CommentLine"!==x.type&&t===n||(e=y=1):e=t-g,g=n,b(e),this._printComment(x,1),o+1===a&&(b(Math.max(c-g,y)),g=c)}else if(1===e){const e=t-(0===o?c:g);g=n,b(e),this._printComment(x,1),o+1===a&&(b(Math.min(1,u-g)),g=u)}else{const e=t-(0===o?u-i:g);g=n,b(e),this._printComment(x,1)}}else{if(l=!1,1!==S)continue;if(1===a){const t=x.loc?x.loc.start.line===x.loc.end.line:!v.test(x.value),i=t&&!f(n)&&!h(r)&&!d(r)&&!m(n);0===e?this._printComment(x,i&&"ObjectExpression"!==n.type||t&&p(r,{body:n})?1:0):i&&2===e?this._printComment(x,1):this._printComment(x,0)}else 1!==e||"ObjectExpression"===n.type&&n.properties.length>1||"ClassBody"===n.type||"TSInterfaceBody"===n.type?this._printComment(x,0):this._printComment(x,0===o?2:o===a-1?3:0)}}2===e&&l&&g&&(this._lastCommentLine=g)}}function E(e,t){this.token(",",!1,e),t||this.space()}Object.assign(C.prototype,l),(0,c.addDeprecatedGenerators)(C),t.default=C},2658:(e,t,n)=>{"use strict";e.exports=n(2949)},2670:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SHOULD_STOP=t.SHOULD_SKIP=t.REMOVED=void 0;var r=n(4057),i=n(124),s=n(4),o=n(4683),a=n(8135),l=a,c=n(6266),u=n(2235),p=n(157),f=n(3810),h=n(4834),d=n(366),m=n(5460),g=n(4145),y=n(4537),v=y,b=n(7946),x=n(1064),S=n(3476),C=n(8418),E=n(7494);const{validate:k}=a,w=i("babel"),T=(t.REMOVED=1,t.SHOULD_STOP=2,t.SHOULD_SKIP=4,t.default=class e{constructor(e,t){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this._store=null,this.parent=t,this.hub=e,this.data=null,this.context=null,this.scope=null}get removed(){return(1&this._traverseFlags)>0}set removed(e){e?this._traverseFlags|=1:this._traverseFlags&=-2}get shouldStop(){return(2&this._traverseFlags)>0}set shouldStop(e){e?this._traverseFlags|=2:this._traverseFlags&=-3}get shouldSkip(){return(4&this._traverseFlags)>0}set shouldSkip(e){e?this._traverseFlags|=4:this._traverseFlags&=-5}static get({hub:t,parentPath:n,parent:r,container:i,listKey:s,key:o}){if(!t&&n&&(t=n.hub),!r)throw new Error("To get a node path the parent needs to exist");const a=i[o],l=c.getOrCreateCachedPaths(r,n);let u=l.get(a);return u||(u=new e(t,r),a&&l.set(a,u)),y.setup.call(u,n,i,s,o),u}getScope(e){return this.isScope()?new o.default(this):e}setData(e,t){return null==this.data&&(this.data=Object.create(null)),this.data[e]=t}getData(e,t){null==this.data&&(this.data=Object.create(null));let n=this.data[e];return void 0===n&&void 0!==t&&(n=this.data[e]=t),n}hasNode(){return null!=this.node}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,s.default)(this.node,e,this.scope,t,this)}set(e,t){k(this.node,e,t),this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let n=t.key;t.inList&&(n=`${t.listKey}[${n}]`),e.unshift(n)}while(t=t.parentPath);return e.join(".")}debug(e){w.enabled&&w(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){e||(this.listKey=null)}get parentKey(){return this.listKey||this.key}}),_={findParent:p.findParent,find:p.find,getFunctionParent:p.getFunctionParent,getStatementParent:p.getStatementParent,getEarliestCommonAncestorFrom:p.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:p.getDeepestCommonAncestorFrom,getAncestry:p.getAncestry,isAncestor:p.isAncestor,isDescendant:p.isDescendant,inType:p.inType,getTypeAnnotation:f.getTypeAnnotation,isBaseType:f.isBaseType,couldBeBaseType:f.couldBeBaseType,baseTypeStrictlyMatches:f.baseTypeStrictlyMatches,isGenericType:f.isGenericType,replaceWithMultiple:h.replaceWithMultiple,replaceWithSourceString:h.replaceWithSourceString,replaceWith:h.replaceWith,replaceExpressionWithStatements:h.replaceExpressionWithStatements,replaceInline:h.replaceInline,evaluateTruthy:d.evaluateTruthy,evaluate:d.evaluate,toComputedKey:m.toComputedKey,ensureBlock:m.ensureBlock,unwrapFunctionEnvironment:m.unwrapFunctionEnvironment,arrowFunctionToExpression:m.arrowFunctionToExpression,splitExportDeclaration:m.splitExportDeclaration,ensureFunctionName:m.ensureFunctionName,matchesPattern:g.matchesPattern,isStatic:g.isStatic,isNodeType:g.isNodeType,canHaveVariableDeclarationOrExpression:g.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:g.canSwapBetweenExpressionAndStatement,isCompletionRecord:g.isCompletionRecord,isStatementOrBlock:g.isStatementOrBlock,referencesImport:g.referencesImport,getSource:g.getSource,willIMaybeExecuteBefore:g.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:g._guessExecutionStatusRelativeTo,resolve:g.resolve,isConstantExpression:g.isConstantExpression,isInStrictMode:g.isInStrictMode,isDenylisted:v.isDenylisted,visit:v.visit,skip:v.skip,skipKey:v.skipKey,stop:v.stop,setContext:v.setContext,requeue:v.requeue,requeueComputedKeyAndDecorators:v.requeueComputedKeyAndDecorators,remove:b.remove,insertBefore:x.insertBefore,insertAfter:x.insertAfter,unshiftContainer:x.unshiftContainer,pushContainer:x.pushContainer,getOpposite:S.getOpposite,getCompletionRecords:S.getCompletionRecords,getSibling:S.getSibling,getPrevSibling:S.getPrevSibling,getNextSibling:S.getNextSibling,getAllNextSiblings:S.getAllNextSiblings,getAllPrevSiblings:S.getAllPrevSiblings,get:S.get,getAssignmentIdentifiers:S.getAssignmentIdentifiers,getBindingIdentifiers:S.getBindingIdentifiers,getOuterBindingIdentifiers:S.getOuterBindingIdentifiers,getBindingIdentifierPaths:S.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:S.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:C.shareCommentsWithSiblings,addComment:C.addComment,addComments:C.addComments};Object.assign(T.prototype,_),T.prototype.arrowFunctionToShadowed=m[String("arrowFunctionToShadowed")],Object.assign(T.prototype,{has:g[String("has")],is:g[String("is")],isnt:g[String("isnt")],equals:g[String("equals")],hoist:x[String("hoist")],updateSiblingKeys:x.updateSiblingKeys,call:v.call,isBlacklisted:v[String("isBlacklisted")],setScope:v.setScope,resync:v.resync,popContext:v.popContext,pushContext:v.pushContext,setup:v.setup,setKey:v.setKey}),T.prototype._guessExecutionStatusRelativeToDifferentFunctions=g._guessExecutionStatusRelativeTo,T.prototype._guessExecutionStatusRelativeToDifferentFunctions=g._guessExecutionStatusRelativeTo,Object.assign(T.prototype,{_getTypeAnnotation:f._getTypeAnnotation,_replaceWith:h._replaceWith,_resolve:g._resolve,_call:v._call,_resyncParent:v._resyncParent,_resyncKey:v._resyncKey,_resyncList:v._resyncList,_resyncRemoved:v._resyncRemoved,_getQueueContexts:v._getQueueContexts,_removeFromScope:b._removeFromScope,_callRemovalHooks:b._callRemovalHooks,_remove:b._remove,_markRemoved:b._markRemoved,_assertUnremoved:b._assertUnremoved,_containerInsert:x._containerInsert,_containerInsertBefore:x._containerInsertBefore,_containerInsertAfter:x._containerInsertAfter,_verifyNodeList:x._verifyNodeList,_getKey:S._getKey,_getPattern:S._getPattern});for(const e of l.TYPES){const t=`is${e}`,n=l[t];T.prototype[t]=function(e){return n(this.node,e)},T.prototype[`assert${e}`]=function(t){if(!n(this.node,t))throw new TypeError(`Expected node path of type ${e}`)}}Object.assign(T.prototype,E);for(const e of Object.keys(r))"_"!==e[0]&&(l.TYPES.includes(e)||l.TYPES.push(e))},2738:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(8135),i=r;const{react:s}=r,{cloneNode:o,jsxExpressionContainer:a,variableDeclaration:l,variableDeclarator:c}=i,u={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&s.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression())return;if("this"===e.node.name){let n=e.scope;do{if(n.path.isFunction()&&!n.path.isArrowFunctionExpression())break}while(n=n.parent);n&&t.breakOnScopePaths.push(n.path)}const n=e.scope.getBinding(e.node.name);if(n){for(const r of n.constantViolations)if(r.scope!==n.path.scope)return t.mutableBinding=!0,void e.stop();n===t.scope.getBinding(e.node.name)&&(t.bindings[e.node.name]=n)}}};t.default=class{constructor(e,t){this.breakOnScopePaths=void 0,this.bindings=void 0,this.mutableBinding=void 0,this.scopes=void 0,this.scope=void 0,this.path=void 0,this.attachAfter=void 0,this.breakOnScopePaths=[],this.bindings={},this.mutableBinding=!1,this.scopes=[],this.scope=t,this.path=e,this.attachAfter=!1}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const n=this.bindings[t];if(!e.bindingIdentifierEquals(t,n.identifier))return!1}return!0}getCompatibleScopes(){let e=this.path.scope;do{if(!this.isCompatibleScope(e))break;if(this.scopes.push(e),this.breakOnScopePaths.includes(e.path))break}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e&&(t=e.scope.parent),t.path.isProgram()||t.path.isFunction())for(const n of Object.keys(this.bindings)){if(!t.hasOwnBinding(n))continue;const r=this.bindings[n];if("param"!==r.kind&&"params"!==r.path.parentKey&&this.getAttachmentParentForPath(r.path).key>=e.key){this.attachAfter=!0,e=r.path;for(const t of r.constantViolations)this.getAttachmentParentForPath(t).key>e.key&&(e=t)}}return e}_getAttachmentPath(){const e=this.scopes.pop();if(e)if(e.path.isFunction()){if(!this.hasOwnParamBindings(e))return this.getNextScopeAttachmentParent();{if(this.scope===e)return;const t=e.path.get("body").get("body");for(let e=0;e<t.length;e++)if(!t[e].node._blockHoist)return t[e]}}else if(e.path.isProgram())return this.getNextScopeAttachmentParent()}getNextScopeAttachmentParent(){const e=this.scopes.pop();if(e)return this.getAttachmentParentForPath(e.path)}getAttachmentParentForPath(e){do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())return e}while(e=e.parentPath)}hasOwnParamBindings(e){for(const t of Object.keys(this.bindings)){if(!e.hasOwnBinding(t))continue;const n=this.bindings[t];if("param"===n.kind&&n.constant)return!0}return!1}run(){if(this.path.traverse(u,this),this.mutableBinding)return;this.getCompatibleScopes();const e=this.getAttachmentPath();if(!e)return;if(e.getFunctionParent()===this.path.getFunctionParent())return;let t=e.scope.generateUidIdentifier("ref");const n=c(t,this.path.node),r=this.attachAfter?"insertAfter":"insertBefore",[i]=e[r]([e.isVariableDeclarator()?n:l("var",[n])]),s=this.path.parentPath;return s.isJSXElement()&&this.path.container===s.node.children&&(t=a(t)),this.path.replaceWith(o(t)),e.isVariableDeclarator()?i.get("init"):i.get("declarations.0.init")}}},2798:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4403);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var i=n(6385);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var s=n(7734);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var o=n(9534);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var a=n(4564);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var l=n(8231);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var c=n(2387);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var u=n(3464);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var p=n(2005);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var f=n(5083);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var h=n(9919);Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}))},2949: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}}')},3135:(e,t,n)=>{"use strict";n.d(t,{k:()=>v,j:()=>g});var r=n(9740),i=n(3310),s=n(8135),o=n(5810),a=n(9403),l=n(6990),c=n(9074),u=n(8291),p=n(1799);function f(e,t,n,r){var i;if(!e.isReferencedIdentifier())return null;var s=e.node.name,o=e.scope.getBinding(s);if(!o)return null;if(null!==(i=r.componentBindings)&&void 0!==i&&i.has(o.identifier))return{type:"local",name:s};if("module"===o.kind){if(o.path.isImportSpecifier()&&o.path.parentPath.isImportDeclaration()){var a=o.path.get("imported");if(!a.isIdentifier())return t.errors.push({message:"Unsupported import specifier type: ".concat(a.type),node:a.node,severity:"error"}),null;var l=o.path.parentPath.get("source");return{type:"imported",name:a.node.name,importSource:(0,p.D)(l.node.value,t.filePath,n.files)}}if(o.path.isImportDefaultSpecifier()&&o.path.parentPath.isImportDeclaration()){var c=o.path.parentPath.get("source");return{type:"imported",importSource:(0,p.D)(c.node.value,t.filePath,n.files)}}}return t.errors.push({message:'Unsupported component binding for "'.concat(s,'"'),node:o.identifier,severity:"error"}),null}var h=n(689),d=n(3705),m=n(7927);function g(e,t,n,p){var g=e.get("openingElement"),b=g.get("name");if("app"===n.appType&&("page"===t.moduleType||"entry"===t.moduleType)&&b.isJSXMemberExpression()){var x=b.get("object"),S=b.get("property");return x.isJSXIdentifier()?"Provider"!==S.node.name?(t.errors.push({message:"Unsupported JSX Member Expression property: ".concat(S.node.name,'. Only "Provider" is supported.'),node:S.node,severity:"error"}),null):function(e,t,n,s,o){var a=(0,m.lr)(t,n,s,o),c=e.get("children").flatMap((function(e){return(0,l.o)(e,n,s,o)}));if(!a)return c;var u,p,f,g=e.get("openingElement"),y=(0,i.A)(g.get("attributes"));try{for(y.s();!(p=y.n()).done;){var v=p.value;if(v.isJSXSpreadAttribute())n.errors.push({message:"Spread attributes are not supported in component",node:v.node,severity:"error"});else{var b=v.get("name");if(b.isJSXIdentifier()){var x=b.node.name;"value"===x?u=v.get("value"):n.errors.push({message:'Unsupported attribute "'.concat(x,'" in Context Provider'),node:v.node,severity:"error"})}else n.errors.push({message:"Expected JSXIdentifier, but got ".concat(b.node.type),node:b.node,severity:"error"})}}}catch(e){y.e(e)}finally{y.f()}if(!u)return n.errors.push({message:'Context Provider is missing required "value" attribute',node:g.node,severity:"error"}),c;if(!u.isJSXExpressionContainer())return n.errors.push({message:"Expected JSXExpressionContainer, but got ".concat(null===(f=u.node)||void 0===f?void 0:f.type),node:u.node,severity:"error"}),c;var S=u.get("expression");if(!S.isObjectExpression())return n.errors.push({message:'Context Provider "value" must be an object expression, but got '.concat(S.node.type),node:S.node,severity:"error"}),c;var C,E=S.get("properties"),k=new Map,w=new Map,T=(0,i.A)(E);try{for(T.s();!(C=T.n()).done;){var _=C.value;if(_.isObjectProperty())if(_.node.computed)n.errors.push({message:"Context Provider value property cannot be computed",node:_.node,severity:"error"});else if(_.node.shorthand){var A,P=_.get("value"),I=P.scope.getBindingIdentifier(P.node.name),M=void 0;if(I&&(M=null===(A=o.component)||void 0===A?void 0:A.bindingMap.get(I)),M)switch(M.kind){case"setState":k.set(P.node.name,M.id.name);break;case"state":w.set(P.node.name,M.id.name);break;default:n.errors.push({message:'Unsupported binding kind "'.concat(M.kind,'" for Context Provider value property "').concat(P.node.name,'"'),node:P.node,severity:"error"});continue}else n.errors.push({message:'No binding found for Context Provider value property "'.concat(P.node.name,'"'),node:P.node,severity:"error"})}else n.errors.push({message:"Context Provider value property must use shorthand syntax",node:_.node,severity:"error"});else n.errors.push({message:"Unsupported property type in Context Provider value: ".concat(_.type),node:_.node,severity:"error"})}}catch(e){T.e(e)}finally{T.f()}return 0===k.size?c:[{type:"component",component:(0,r.A)({name:"eo-event-agent",portal:!0,properties:{id:(0,m.bQ)(a.name)},events:{trigger:(0,d.A)(k).map((function(e){var t=(0,h.A)(e,2),n=t[0],r=t[1];return{action:"conditional",payload:{test:"<% EVENT.detail.name === ".concat(JSON.stringify(n)," %>"),consequent:{action:"update_variable",payload:{name:r,value:"<% EVENT.detail.value %>"}},alternate:null}}}))}},w.size>0?{context:(0,d.A)(w).map((function(e){var t=(0,h.A)(e,2),n=t[0],r=t[1];return{name:(0,m.as)(a.name,n),value:"<% CTX.".concat(r," %>"),track:!0}}))}:void 0)}].concat((0,d.A)(c))}(e,x,t,n,p):(t.errors.push({message:"When using JSX Member Expression, only JSX Identifier is allowed as object, but got: ".concat(x.type),node:x.node,severity:"error"}),null)}if(!b.isJSXIdentifier())return t.errors.push({message:"Unsupported JSX element name type: ".concat(b.type),node:b.node,severity:"error"}),null;if((0,u.cv)(b,"Fragment")){var C,E=(0,i.A)(g.node.attributes);try{for(E.s();!(C=E.n()).done;){var k=C.value;s.isJSXAttribute(k)&&s.isJSXIdentifier(k.name)&&"key"===k.name.name||t.errors.push({message:"Invalid attribute for Fragment",node:k,severity:"error"})}}catch(e){E.e(e)}finally{E.f()}return e.get("children").flatMap((function(e){return(0,l.o)(e,t,n,p)}))}var w,T,_,A,P,I=f(b,t,n,p),M={},O=(0,u.cv)(b,"Route"),F=(0,i.A)(g.get("attributes"));try{for(F.s();!(P=F.n()).done;){var B=P.value;if(B.isJSXSpreadAttribute())t.errors.push({message:"Spread attributes are not supported in component",node:B.node,severity:"error"});else{var D=B.get("name");if(D.isJSXIdentifier()){var L=D.node.name;if("key"!==L){var N=B.get("value");if(O)if("component"===L){if(!N.isJSXExpressionContainer()){var j,R;t.errors.push({message:'The "component" attribute in Route expects a JSXExpressionContainer, but got '.concat(null===(j=N.node)||void 0===j?void 0:j.type),node:null!==(R=N.node)&&void 0!==R?R:N.parent,severity:"error"});continue}var W=N.get("expression");if(!W.isIdentifier()){t.errors.push({message:'The "component" attribute in Route expects an identifier, but got '.concat(W.node.type),node:W.node,severity:"error"});continue}var U=f(W,t,n,p);if(!U){t.errors.push({message:'The component "'.concat(W.node.name,'" is not defined'),node:W.node,severity:"error"});continue}M.component={name:W.node.name,reference:U}}else if("path"===L){if(!N.isStringLiteral()){var V,H;t.errors.push({message:'The "path" attribute in Route expects a string literal, but got '.concat(null===(V=N.node)||void 0===V?void 0:V.type),node:null!==(H=N.node)&&void 0!==H?H:N.parent,severity:"error"});continue}M.path=N.node.value}else t.errors.push({message:'Unsupported attribute "'.concat(L,'" in Route'),node:D.node,severity:"error"});else if("ref"!==L)if("slot"!==L)if(/^on[A-Z]/.test(L)){if(!N.isJSXExpressionContainer()){var q,G;t.errors.push({message:'Event handler "'.concat(L,'" expects a JSXExpressionContainer, but got ').concat(null===(q=N.node)||void 0===q?void 0:q.type),node:null!==(G=N.node)&&void 0!==G?G:N.parent,severity:"error"});continue}var K=N.get("expression");if(K.isJSXEmptyExpression()){t.errors.push({message:"Empty expression in events is not allowed",node:K.node,severity:"warning"});continue}var $=null;if(K.isIdentifier()){var J=K.scope.getBindingIdentifier(K.node.name);if(J){var X,Q=null===(X=p.component)||void 0===X?void 0:X.bindingMap.get(J);Q&&"eventHandler"===Q.kind&&($=[{action:"dispatch_event",payload:{type:v(Q.id.name),detail:"<% EVENT.detail %>"}}])}}$||($=(0,c.w)(K,t,n,p)),$&&("onMount"===L||"onUnmount"===L?(null!=T||(T={}),T[L]=$):(null!=w||(w={}),w[v(L)]=$))}else if(null==N.node)M[L]=!0;else if(N.isStringLiteral())M[L]=N.node.value;else if(N.isJSXExpressionContainer()){var z=N.get("expression");z.isJSXEmptyExpression()?t.errors.push({message:'Empty expression in JSX attribute "'.concat(L,'" is not allowed'),node:z.node,severity:"warning"}):M[L]=(0,o.s)(z,t,n,(0,r.A)((0,r.A)({},p),{},{allowUseBrick:!0,modifier:"="}))}else t.errors.push({message:"Unsupported attribute value type in component: ".concat(N.node.type),node:N.node,severity:"error"});else{if(!N.isStringLiteral()){var Y,Z;t.errors.push({message:'The "slot" attribute in component expects a string literal, but got '.concat(null===(Y=N.node)||void 0===Y?void 0:Y.type),node:null!==(Z=N.node)&&void 0!==Z?Z:N.parent,severity:"error"});continue}A=N.node.value}else _=y(N,t,p)}}else t.errors.push({message:"Expected JSXIdentifier, but got ".concat(D.node.type),node:D.node,severity:"error"})}}}catch(e){F.e(e)}finally{F.f()}var ee=(0,a.X)(e.get("children"),t,n,p),te=ee.textContent,ne=ee.children;return te&&(M.textContent=te),{type:"component",component:{name:b.node.name,reference:I,properties:M,ref:_,slot:A,events:w,lifeCycle:T,children:ne}}}function y(e,t,n){if(e.isJSXExpressionContainer()){var r=e.get("expression");if(r.isIdentifier()){var i,s,o=r.node.name,a=r.scope.getBindingIdentifier(o);if(a&&(i=null===(s=n.component)||void 0===s?void 0:s.bindingMap.get(a)),i){if("ref"===i.kind)return i.id.name;t.errors.push({message:'The variable "'.concat(o,'" is not a ref, but a ').concat(i.kind),node:e.node,severity:"error"})}else t.errors.push({message:'The ref "'.concat(o,'" is not defined'),node:e.node,severity:"error"})}else t.errors.push({message:'The "ref" attribute in component expects an identifier, but got '.concat(r.node.type),node:r.node,severity:"error"})}else{var l,c;t.errors.push({message:'The "ref" attribute in component expects a JSXExpressionContainer, but got '.concat(null===(l=e.node)||void 0===l?void 0:l.type),node:null!==(c=e.node)&&void 0!==c?c:e.parent,severity:"error"})}}function v(e){return e.slice(2).replace(/([a-z])([A-Z])/g,"$1.$2").toLowerCase()}},3310:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7985);function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,r.A)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,s=function(){};return{s,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}},3464:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnyTypeAnnotation=function(){this.word("any")},t.ArrayTypeAnnotation=function(e){this.print(e.elementType,!0),this.tokenChar(91),this.tokenChar(93)},t.BooleanLiteralTypeAnnotation=function(e){this.word(e.value?"true":"false")},t.BooleanTypeAnnotation=function(){this.word("boolean")},t.DeclareClass=function(e,t){a(t)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(e)},t.DeclareExportAllDeclaration=function(e){this.word("declare"),this.space(),i.ExportAllDeclaration.call(this,e)},t.DeclareExportDeclaration=function(e){this.word("declare"),this.space(),this.word("export"),this.space(),e.default&&(this.word("default"),this.space()),f.call(this,e)},t.DeclareFunction=function(e,t){a(t)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(e.id),this.print(e.id.typeAnnotation.typeAnnotation),e.predicate&&(this.space(),this.print(e.predicate)),this.semicolon()},t.DeclareInterface=function(e){this.word("declare"),this.space(),this.InterfaceDeclaration(e)},t.DeclareModule=function(e){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(e.id),this.space(),this.print(e.body)},t.DeclareModuleExports=function(e){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(e.typeAnnotation)},t.DeclareOpaqueType=function(e,t){a(t)||(this.word("declare"),this.space()),this.OpaqueType(e)},t.DeclareTypeAlias=function(e){this.word("declare"),this.space(),this.TypeAlias(e)},t.DeclareVariable=function(e,t){a(t)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(e.id),this.print(e.id.typeAnnotation),this.semicolon()},t.DeclaredPredicate=function(e){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(e.value),this.tokenChar(41)},t.EmptyTypeAnnotation=function(){this.word("empty")},t.EnumBooleanBody=function(e){const{explicitType:t}=e;c(this,"boolean",t),u(this,e)},t.EnumBooleanMember=function(e){p(this,e)},t.EnumDeclaration=function(e){const{id:t,body:n}=e;this.word("enum"),this.space(),this.print(t),this.print(n)},t.EnumDefaultedMember=function(e){const{id:t}=e;this.print(t),this.tokenChar(44)},t.EnumNumberBody=function(e){const{explicitType:t}=e;c(this,"number",t),u(this,e)},t.EnumNumberMember=function(e){p(this,e)},t.EnumStringBody=function(e){const{explicitType:t}=e;c(this,"string",t),u(this,e)},t.EnumStringMember=function(e){p(this,e)},t.EnumSymbolBody=function(e){c(this,"symbol",!0),u(this,e)},t.ExistsTypeAnnotation=function(){this.tokenChar(42)},t.FunctionTypeAnnotation=function(e,t){this.print(e.typeParameters),this.tokenChar(40),e.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(e.this.typeAnnotation),(e.params.length||e.rest)&&(this.tokenChar(44),this.space())),this.printList(e.params),e.rest&&(e.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(e.rest)),this.tokenChar(41);const n=null==t?void 0:t.type;null!=n&&("ObjectTypeCallProperty"===n||"ObjectTypeInternalSlot"===n||"DeclareFunction"===n||"ObjectTypeProperty"===n&&t.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(e.returnType)},t.FunctionTypeParam=function(e){this.print(e.name),e.optional&&this.tokenChar(63),e.name&&(this.tokenChar(58),this.space()),this.print(e.typeAnnotation)},t.IndexedAccessType=function(e){this.print(e.objectType,!0),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)},t.InferredPredicate=function(){this.tokenChar(37),this.word("checks")},t.InterfaceDeclaration=function(e){this.word("interface"),this.space(),this._interfaceish(e)},t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=function(e){this.print(e.id),this.print(e.typeParameters,!0)},t.InterfaceTypeAnnotation=function(e){var t;this.word("interface"),null!=(t=e.extends)&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends)),this.space(),this.print(e.body)},t.IntersectionTypeAnnotation=function(e){this.printJoin(e.types,void 0,void 0,h)},t.MixedTypeAnnotation=function(){this.word("mixed")},t.NullLiteralTypeAnnotation=function(){this.word("null")},t.NullableTypeAnnotation=function(e){this.tokenChar(63),this.print(e.typeAnnotation)},Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return o.NumericLiteral}}),t.NumberTypeAnnotation=function(){this.word("number")},t.ObjectTypeAnnotation=function(e){e.exact?this.token("{|"):this.tokenChar(123);const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];t.length&&(this.newline(),this.space(),this.printJoin(t,!0,!0,void 0,void 0,(function(e){if(e&&!t[0])return 1}),(()=>{(1!==t.length||e.inexact)&&(this.tokenChar(44),this.space())})),this.space()),e.inexact&&(this.indent(),this.token("..."),t.length&&this.newline(),this.dedent()),e.exact?this.token("|}"):this.tokenChar(125)},t.ObjectTypeCallProperty=function(e){e.static&&(this.word("static"),this.space()),this.print(e.value)},t.ObjectTypeIndexer=function(e){e.static&&(this.word("static"),this.space()),this._variance(e),this.tokenChar(91),e.id&&(this.print(e.id),this.tokenChar(58),this.space()),this.print(e.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(e.value)},t.ObjectTypeInternalSlot=function(e){e.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(e.id),this.tokenChar(93),this.tokenChar(93),e.optional&&this.tokenChar(63),e.method||(this.tokenChar(58),this.space()),this.print(e.value)},t.ObjectTypeProperty=function(e){e.proto&&(this.word("proto"),this.space()),e.static&&(this.word("static"),this.space()),"get"!==e.kind&&"set"!==e.kind||(this.word(e.kind),this.space()),this._variance(e),this.print(e.key),e.optional&&this.tokenChar(63),e.method||(this.tokenChar(58),this.space()),this.print(e.value)},t.ObjectTypeSpreadProperty=function(e){this.token("..."),this.print(e.argument)},t.OpaqueType=function(e){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(e.id),this.print(e.typeParameters),e.supertype&&(this.tokenChar(58),this.space(),this.print(e.supertype)),e.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(e.impltype)),this.semicolon()},t.OptionalIndexedAccessType=function(e){this.print(e.objectType),e.optional&&this.token("?."),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)},t.QualifiedTypeIdentifier=function(e){this.print(e.qualification),this.tokenChar(46),this.print(e.id)},Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return o.StringLiteral}}),t.StringTypeAnnotation=function(){this.word("string")},t.SymbolTypeAnnotation=function(){this.word("symbol")},t.ThisTypeAnnotation=function(){this.word("this")},t.TupleTypeAnnotation=function(e){this.tokenChar(91),this.printList(e.types),this.tokenChar(93)},t.TypeAlias=function(e){this.word("type"),this.space(),this.print(e.id),this.print(e.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(e.right),this.semicolon()},t.TypeAnnotation=function(e,t){this.tokenChar(58),this.space(),"ArrowFunctionExpression"===t.type?this.tokenContext|=s.TokenContext.arrowFlowReturnType:e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)},t.TypeCastExpression=function(e){this.tokenChar(40),this.print(e.expression),this.print(e.typeAnnotation),this.tokenChar(41)},t.TypeParameter=function(e){this._variance(e),this.word(e.name),e.bound&&this.print(e.bound),e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default))},t.TypeParameterDeclaration=t.TypeParameterInstantiation=function(e){this.tokenChar(60),this.printList(e.params),this.tokenChar(62)},t.TypeofTypeAnnotation=function(e){this.word("typeof"),this.space(),this.print(e.argument)},t.UnionTypeAnnotation=function(e){this.printJoin(e.types,void 0,void 0,d)},t.Variance=function(e){"plus"===e.kind?this.tokenChar(43):this.tokenChar(45)},t.VoidTypeAnnotation=function(){this.word("void")},t._interfaceish=function(e){var t,n,r;(this.print(e.id),this.print(e.typeParameters),null!=(t=e.extends)&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends)),"DeclareClass"===e.type)&&(null!=(n=e.mixins)&&n.length&&(this.space(),this.word("mixins"),this.space(),this.printList(e.mixins)),null!=(r=e.implements)&&r.length&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements)));this.space(),this.print(e.body)},t._variance=function(e){var t;const n=null==(t=e.variance)?void 0:t.kind;null!=n&&("plus"===n?this.tokenChar(43):"minus"===n&&this.tokenChar(45))};var r=n(8135),i=n(8231),s=n(1956),o=n(2387);const{isDeclareExportDeclaration:a,isStatement:l}=r;function c(e,t,n){n&&(e.space(),e.word("of"),e.space(),e.word(t)),e.space()}function u(e,t){const{members:n}=t;e.token("{"),e.indent(),e.newline();for(const t of n)e.print(t),e.newline();t.hasUnknownMembers&&(e.token("..."),e.newline()),e.dedent(),e.token("}")}function p(e,t){e.print(t.id),e.space(),e.token("="),e.space(),e.print(t.init),e.token(",")}function f(e){if(e.declaration){const t=e.declaration;this.print(t),l(t)||this.semicolon()}else this.tokenChar(123),e.specifiers.length&&(this.space(),this.printList(e.specifiers),this.space()),this.tokenChar(125),e.source&&(this.space(),this.word("from"),this.space(),this.print(e.source)),this.semicolon()}function h(e){this.space(),this.token("&",!1,e),this.space()}function d(e){this.space(),this.token("|",!1,e),this.space()}},3476:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getKey=y,t._getPattern=v,t.get=function(e,t=!0){!0===t&&(t=this.context);const n=e.split(".");return 1===n.length?y.call(this,e,t):v.call(this,n,t)},t.getAllNextSiblings=function(){let e=this.key,t=this.getSibling(++e);const n=[];for(;t.node;)n.push(t),t=this.getSibling(++e);return n},t.getAllPrevSiblings=function(){let e=this.key,t=this.getSibling(--e);const n=[];for(;t.node;)n.push(t),t=this.getSibling(--e);return n},t.getAssignmentIdentifiers=function(){return s(this.node)},t.getBindingIdentifierPaths=function(e=!1,t=!1){const n=[this],r=Object.create(null);for(;n.length;){const i=n.shift();if(!i)continue;if(!i.node)continue;const s=o.keys[i.node.type];if(i.isIdentifier())e?(r[i.node.name]=r[i.node.name]||[]).push(i):r[i.node.name]=i;else if(i.isExportDeclaration()){const e=i.get("declaration");e.isDeclaration()&&n.push(e)}else{if(t){if(i.isFunctionDeclaration()){n.push(i.get("id"));continue}if(i.isFunctionExpression())continue}if(s)for(let e=0;e<s.length;e++){const t=s[e],r=i.get(t);Array.isArray(r)?n.push(...r):r.node&&n.push(r)}}}return r},t.getBindingIdentifiers=function(e){return o(this.node,e)},t.getCompletionRecords=function(e=!1){return g(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1,shouldPreserveBreak:e}).map((e=>e.path))},t.getNextSibling=function(){return this.getSibling(this.key+1)},t.getOpposite=function(){return"left"===this.key?this.getSibling("right"):"right"===this.key?this.getSibling("left"):null},t.getOuterBindingIdentifierPaths=function(e=!1){return this.getBindingIdentifierPaths(e,!0)},t.getOuterBindingIdentifiers=function(e){return a(this.node,e)},t.getPrevSibling=function(){return this.getSibling(this.key-1)},t.getSibling=function(e){return r.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)};var r=n(2670),i=n(8135);const{getAssignmentIdentifiers:s,getBindingIdentifiers:o,getOuterBindingIdentifiers:a,numericLiteral:l,unaryExpression:c}=i,u=0,p=1;function f(e,t,n){return e&&t.push(...g(e,n)),t}function h(e){e.forEach((e=>{e.type=p}))}function d(e,t){e.forEach((e=>{e.path.isBreakStatement({label:null})&&(t?e.path.replaceWith(c("void",l(0))):e.path.remove())}))}function m(e,t){const n=[];if(t.canHaveBreak){let r=[];for(let i=0;i<e.length;i++){const s=e[i],o=Object.assign({},t,{inCaseClause:!1});s.isBlockStatement()&&(t.inCaseClause||t.shouldPopulateBreak)?o.shouldPopulateBreak=!0:o.shouldPopulateBreak=!1;const a=g(s,o);if(a.length>0&&a.every((e=>e.type===p))){r.length>0&&a.every((e=>e.path.isBreakStatement({label:null})))?(h(r),n.push(...r),r.some((e=>e.path.isDeclaration()))&&(n.push(...a),t.shouldPreserveBreak||d(a,!0)),t.shouldPreserveBreak||d(a,!1)):(n.push(...a),t.shouldPopulateBreak||t.shouldPreserveBreak||d(a,!0));break}if(i===e.length-1)n.push(...a);else{r=[];for(let e=0;e<a.length;e++){const t=a[e];t.type===p&&n.push(t),t.type===u&&r.push(t)}}}}else if(e.length)for(let r=e.length-1;r>=0;r--){const i=g(e[r],t);if(i.length>1||1===i.length&&!i[0].path.isVariableDeclaration()&&!i[0].path.isEmptyStatement()){n.push(...i);break}}return n}function g(e,t){let n=[];if(e.isIfStatement())n=f(e.get("consequent"),n,t),n=f(e.get("alternate"),n,t);else{if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement())return f(e.get("body"),n,t);if(e.isProgram()||e.isBlockStatement())return m(e.get("body"),t);if(e.isFunction())return g(e.get("body"),t);if(e.isTryStatement())n=f(e.get("block"),n,t),n=f(e.get("handler"),n,t);else{if(e.isCatchClause())return f(e.get("body"),n,t);if(e.isSwitchStatement())return function(e,t,n){let r=[];for(let i=0;i<e.length;i++){const s=g(e[i],n),o=[],a=[];for(const e of s)e.type===u&&o.push(e),e.type===p&&a.push(e);o.length&&(r=o),t.push(...a)}return t.push(...r),t}(e.get("cases"),n,t);if(e.isSwitchCase())return m(e.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0,shouldPreserveBreak:t.shouldPreserveBreak});e.isBreakStatement()?n.push(function(e){return{type:p,path:e}}(e)):n.push(function(e){return{type:u,path:e}}(e))}}return n}function y(e,t){const n=this.node,i=n[e];return Array.isArray(i)?i.map(((s,o)=>r.default.get({listKey:e,parentPath:this,parent:n,container:i,key:o}).setContext(t))):r.default.get({parentPath:this,parent:n,container:n,key:e}).setContext(t)}function v(e,t){let n=this;for(const r of e)n="."===r?n.parentPath:Array.isArray(n)?n[r]:n.get(r,t);return n}},3705:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6284),i=n(4430),s=n(7985);function o(e){return function(e){if(Array.isArray(e))return(0,r.A)(e)}(e)||(0,i.A)(e)||(0,s.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},3738:(e,t,n)=>{"use strict";n.d(t,{S:()=>c});var r=n(7545),i=n(3310),s=n(5810),o=n(8291),a=n(9978),l=new Map([["callApi",[2,3]],["callHttp",[1,2]],["callTool",[2,3]]]);function c(e,t,n,c){if(!(0,o.X5)(e))return t.errors.push({message:"Expect a call expression here, received ".concat(e.node.type),node:e.node,severity:"error"}),null;var u,p=e.get("callee");if(!p.isIdentifier())return t.errors.push({message:"Expect an identifier here, received ".concat(p.type),node:p.node,severity:"error"}),null;var f,h=(0,i.A)(a.TQ);try{for(h.s();!(f=h.n()).done;){var d=f.value;if((0,o.cv)(p,d)){u=d;break}}}catch(e){h.e(e)}finally{h.f()}if(!u)return t.errors.push({message:'Unknown API: "'.concat(p.node.name,'"'),node:p.node,severity:"error"}),null;var m=l.get(u),g=e.get("arguments");if(!m){if("callProvider"===u){if(g.length<1)return t.errors.push({message:'"'.concat(u,'()" expects at least 1 argument, but got ').concat(g.length),node:e.node,severity:"error"}),null;var y=g[0];return y.isStringLiteral()?{api:y.node.value,isRawProvider:!0,params:g.slice(1).map((function(e){return(0,s.A)(e,t,n,c)}))}:(t.errors.push({message:'"'.concat(u,'()" expects a string literal as the first argument, but got ').concat(y.type),node:y.node,severity:"error"}),null)}return{api:"copyText"===u?"basic.copy-to-clipboard":"basic.show-dialog",isRawProvider:!0,params:g.map((function(e){return(0,s.A)(e,t,n,c)}))}}var v,b=g.length<m[0];if((b||!m.includes(g.length))&&(t.errors.push({message:'"'.concat(u,'()" expects ').concat(m.join(" or ")," arguments, but got ").concat(g.length),node:e.node,severity:b?"error":"warning"}),b))return null;var x=g[0];if("callHttp"===u){var S=(0,s.A)(x,t,n,c);if("string"!=typeof S)return t.errors.push({message:'"'.concat(u,'()" expects a string value as the first argument, but got ').concat((0,r.A)(S)),node:x.node,severity:"error"}),null;v={api:S,http:!0}}else if("callApi"===u){if(!x.isStringLiteral())return t.errors.push({message:'"'.concat(u,'()" expects a string literal as the first argument, but got ').concat(x.type),node:x.node,severity:"error"}),null;v={api:x.node.value}}else{var C=(0,s.A)(x,t,n,c);if("string"!=typeof C)return t.errors.push({message:'"'.concat(u,'()" expects a string value as the first argument, but got ').concat((0,r.A)(C)),node:x.node,severity:"error"}),null;var E=g[1],k=(0,s.A)(E,t,n,c);if("string"!=typeof k)return t.errors.push({message:'"'.concat(u,'()" expects a string value as the second argument, but got ').concat((0,r.A)(k)),node:E.node,severity:"error"}),null;var w,T=g[2];T&&(w=(0,s.A)(T,t,n,c)),v={api:u,tool:{conversationId:C,stepId:k},params:w}}if("callApi"===u||"callHttp"===u){var _=g[1];if(_&&!(0,o.HO)(_)){_.isObjectExpression()||t.errors.push({message:'Data source "params" prefers an object literal, but got '.concat(_.type),node:_.node,severity:"notice"});var A=(0,s.A)(_,t,n,c);(0,o.UQ)(A)||"object"===(0,r.A)(A)&&null!==A?v.params=A:t.errors.push({message:"API params expects an object or expression, but got ".concat((0,r.A)(A)),node:_.node,severity:"error"})}}if("callApi"===u){var P=g[2];if(P&&!(0,o.HO)(P))if(P.isObjectExpression()){var I,M=P.get("properties"),O=(0,i.A)(M);try{for(O.s();!(I=O.n()).done;){var F=I.value;if(F.isObjectProperty()){var B=F.get("key");if(B.isIdentifier())if("objectId"===B.node.name){var D=F.get("value");if(!(0,o.HO)(D)){if(!D.isStringLiteral()){t.errors.push({message:'"callApi()" third param "meta" property "'.concat(B.node.name,'" expects a string literal, but got ').concat(D.type),node:D.node,severity:"error"});continue}v.objectId=D.node.value}}else t.errors.push({message:'"callApi()" third param "meta" property key must be "objectId", but got "'.concat(B.node.name,'"'),node:B.node,severity:"error"});else t.errors.push({message:'"callApi()" third param "meta" property key must be an identifier, but got '.concat(B.type),node:B.node,severity:"error"})}else t.errors.push({message:'"callApi()" third param "meta" expects object properties, but got '.concat(F.type),node:F.node,severity:"error"})}}catch(e){O.e(e)}finally{O.f()}}else t.errors.push({message:'"callApi()" third param "meta" expects an object literal, but got '.concat(P.type),node:P.node,severity:"error"})}return v}},3810:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getTypeAnnotation=T,t.baseTypeStrictlyMatches=function(e){const t=this.getTypeAnnotation(),n=e.getTypeAnnotation();return!(o(t)||!u(t))&&n.type===t.type},t.couldBeBaseType=function(e){const t=this.getTypeAnnotation();if(o(t))return!0;if(S(t)){for(const n of t.types)if(o(n)||_(e,n,!0))return!0;return!1}return _(e,t,!0)},t.getTypeAnnotation=function(){let e=this.getData("typeAnnotation");return null!=e||(e=T.call(this)||s(),(x(e)||y(e))&&(e=e.typeAnnotation),this.setData("typeAnnotation",e)),e},t.isBaseType=function(e,t){return _(e,this.getTypeAnnotation(),t)},t.isGenericType=function(e){const t=this.getTypeAnnotation();return!("Array"!==e||!(g(t)||a(t)||b(t)))||(p(t)&&f(t.id,{name:e})||v(t)&&f(t.typeName,{name:e}))};var r=n(9724),i=n(8135);const{anyTypeAnnotation:s,isAnyTypeAnnotation:o,isArrayTypeAnnotation:a,isBooleanTypeAnnotation:l,isEmptyTypeAnnotation:c,isFlowBaseAnnotation:u,isGenericTypeAnnotation:p,isIdentifier:f,isMixedTypeAnnotation:h,isNumberTypeAnnotation:d,isStringTypeAnnotation:m,isTSArrayType:g,isTSTypeAnnotation:y,isTSTypeReference:v,isTupleTypeAnnotation:b,isTypeAnnotation:x,isUnionTypeAnnotation:S,isVoidTypeAnnotation:C,stringTypeAnnotation:E,voidTypeAnnotation:k}=i,w=new WeakSet;function T(){const e=this.node;if(e){if(e.typeAnnotation)return e.typeAnnotation;if(!w.has(e)){w.add(e);try{var t;let n=r[e.type];if(n)return n.call(this,e);if(n=r[this.parentPath.type],null!=(t=n)&&t.validParent)return this.parentPath.getTypeAnnotation()}finally{w.delete(e)}}}else if("init"===this.key&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath,t=e.parentPath;return"left"===e.key&&t.isForInStatement()?E():"left"===e.key&&t.isForOfStatement()?s():k()}}function _(e,t,n){if("string"===e)return m(t);if("number"===e)return d(t);if("boolean"===e)return l(t);if("any"===e)return o(t);if("mixed"===e)return h(t);if("empty"===e)return c(t);if("void"===e)return C(t);if(n)return!1;throw new Error(`Unknown base type ${e}`)}},4057:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Var=t.User=t.Statement=t.SpreadProperty=t.Scope=t.RestProperty=t.ReferencedMemberExpression=t.ReferencedIdentifier=t.Referenced=t.Pure=t.NumericLiteralTypeAnnotation=t.Generated=t.ForAwaitStatement=t.Flow=t.Expression=t.ExistentialTypeParam=t.BlockScoped=t.BindingIdentifier=void 0,t.ReferencedIdentifier=["Identifier","JSXIdentifier"],t.ReferencedMemberExpression=["MemberExpression"],t.BindingIdentifier=["Identifier"],t.Statement=["Statement"],t.Expression=["Expression"],t.Scope=["Scopable","Pattern"],t.Referenced=null,t.BlockScoped=null,t.Var=["VariableDeclaration"],t.User=null,t.Generated=null,t.Pure=null,t.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],t.RestProperty=["RestElement"],t.SpreadProperty=["RestElement"],t.ExistentialTypeParam=["ExistsTypeAnnotation"],t.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],t.ForAwaitStatement=["ForOfStatement"]},4131:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const{placeholderWhitelist:r,placeholderPattern:o,preserveComments:a,syntacticPlaceholders:l}=n,c=function(e,t,n){const r=(t.plugins||[]).slice();!1!==n&&r.push("placeholders"),t=Object.assign({allowAwaitOutsideFunction:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowYieldOutsideFunction:!0,sourceType:"module"},t,{plugins:r});try{return(0,i.parse)(e,t)}catch(t){const n=t.loc;throw n&&(t.message+="\n"+(0,s.codeFrameColumns)(e,{start:n}),t.code="BABEL_TEMPLATE_PARSE_ERROR"),t}}(t,n.parser,l);m(c,{preserveComments:a}),e.validate(c);const u={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:r,placeholderPattern:o,syntacticPlaceholders:l};return g(c,v,u),Object.assign({ast:c},u.syntactic.placeholders.length?u.syntactic:u.legacy)};var r=n(8135),i=n(580),s=n(6611);const{isCallExpression:o,isExpressionStatement:a,isFunction:l,isIdentifier:c,isJSXIdentifier:u,isNewExpression:p,isPlaceholder:f,isStatement:h,isStringLiteral:d,removePropertiesDeep:m,traverse:g}=r,y=/^[_$A-Z0-9]+$/;function v(e,t,n){var r;let i,s=n.syntactic.placeholders.length>0;if(f(e)){if(!1===n.syntacticPlaceholders)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");i=e.name.name,s=!0}else{if(s||n.syntacticPlaceholders)return;if(c(e)||u(e))i=e.name;else{if(!d(e))return;i=e.value}}if(s&&(null!=n.placeholderPattern||null!=n.placeholderWhitelist))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!(s||!1!==n.placeholderPattern&&(n.placeholderPattern||y).test(i)||null!=(r=n.placeholderWhitelist)&&r.has(i)))return;t=t.slice();const{node:m,key:g}=t[t.length-1];let v;d(e)||f(e,{expectedNode:"StringLiteral"})?v="string":p(m)&&"arguments"===g||o(m)&&"arguments"===g||l(m)&&"params"===g?v="param":a(m)&&!f(e)?(v="statement",t=t.slice(0,-1)):v=h(e)&&f(e)?"statement":"other";const{placeholders:b,placeholderNames:x}=s?n.syntactic:n.legacy;b.push({name:i,type:v,resolve:e=>function(e,t){let n=e;for(let e=0;e<t.length-1;e++){const{key:r,index:i}=t[e];n=void 0===i?n[r]:n[r][i]}const{key:r,index:i}=t[t.length-1];return{parent:n,key:r,index:i}}(e,t),isDuplicate:x.has(i)}),x.add(i)}},4145:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._guessExecutionStatusRelativeTo=function(e){return y(this,e,new Map)},t._resolve=v,t.canHaveVariableDeclarationOrExpression=function(){return("init"===this.key||"left"===this.key)&&this.parentPath.isFor()},t.canSwapBetweenExpressionAndStatement=function(e){return!("body"!==this.key||!this.parentPath.isArrowFunctionExpression())&&(this.isExpression()?o(e):!!this.isBlockStatement()&&a(e))},t.getSource=function(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""},t.isCompletionRecord=function(e){let t=this,n=!0;do{const{type:r,container:i}=t;if(!n&&(t.isFunction()||"StaticBlock"===r))return!!e;if(n=!1,Array.isArray(i)&&t.key!==i.length-1)return!1}while((t=t.parentPath)&&!t.isProgram()&&!t.isDoExpression());return!0},t.isConstantExpression=function(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);return!!e&&e.constant}if(this.isLiteral())return!this.isRegExpLiteral()&&(!this.isTemplateLiteral()||this.get("expressions").every((e=>e.isConstantExpression())));if(this.isUnaryExpression())return"void"===this.node.operator&&this.get("argument").isConstantExpression();if(this.isBinaryExpression()){const{operator:e}=this.node;return"in"!==e&&"instanceof"!==e&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return this.isMemberExpression()?!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0}):!!this.isCallExpression()&&(1===this.node.arguments.length&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral())},t.isInStrictMode=function(){return!!(this.isProgram()?this:this.parentPath).find((e=>{if(e.isProgram({sourceType:"module"}))return!0;if(e.isClass())return!0;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement())return!1;let t;if(e.isFunction())t=e.node.body;else{if(!e.isProgram())return!1;t=e.node}for(const e of t.directives)if("use strict"===e.value.value)return!0}))},t.isNodeType=function(e){return p(this.type,e)},t.isStatementOrBlock=function(){return!this.parentPath.isLabeledStatement()&&!o(this.container)&&i.includes(this.key)},t.isStatic=function(){return this.scope.isStatic(this.node)},t.matchesPattern=function(e,t){return f(this.node,e,t)},t.referencesImport=function(e,t){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===t||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?u(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return!1}const n=this.scope.getBinding(this.node.name);if(!n||"module"!==n.kind)return!1;const r=n.path,i=r.parentPath;return!!i.isImportDeclaration()&&(i.node.source.value===e&&(!t||(!(!r.isImportDefaultSpecifier()||"default"!==t)||(!(!r.isImportNamespaceSpecifier()||"*"!==t)||!(!r.isImportSpecifier()||!l(r.node.imported,{name:t}))))))},t.resolve=function(e,t){return v.call(this,e,t)||this},t.willIMaybeExecuteBefore=function(e){return"after"!==this._guessExecutionStatusRelativeTo(e)};var r=n(8135);const{STATEMENT_OR_BLOCK_KEYS:i,VISITOR_KEYS:s,isBlockStatement:o,isExpression:a,isIdentifier:l,isLiteral:c,isStringLiteral:u,isType:p,matchesPattern:f}=r;function h(e){return e.isProgram()?e:(e.parentPath.scope.getFunctionParent()||e.parentPath.scope.getProgramParent()).path}function d(e,t){switch(e){case"LogicalExpression":case"AssignmentPattern":return"right"===t;case"ConditionalExpression":case"IfStatement":return"consequent"===t||"alternate"===t;case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return"body"===t;case"ForStatement":return"body"===t||"update"===t;case"SwitchStatement":return"cases"===t;case"TryStatement":return"handler"===t;case"OptionalMemberExpression":return"property"===t;case"OptionalCallExpression":return"arguments"===t;default:return!1}}function m(e,t){for(let n=0;n<t;n++){const t=e[n];if(d(t.parent.type,t.parentKey))return!0}return!1}t.has=function(e){var t;const n=null==(t=this.node)?void 0:t[e];return n&&Array.isArray(n)?!!n.length:!!n},t.is=t.has,t.isnt=function(e){return!this.has(e)},t.equals=function(e,t){return this.node[e]===t};const g=Symbol();function y(e,t,n){const r={this:h(e),target:h(t)};if(r.target.node!==r.this.node)return function(e,t,n){let r,i=n.get(e.node);if(i){if(r=i.get(t.node))return r===g?"unknown":r}else n.set(e.node,i=new Map);i.set(t.node,g);const s=function(e,t,n){if(!t.isFunctionDeclaration())return"before"===y(e,t,n)?"before":"unknown";if(t.parentPath.isExportDeclaration())return"unknown";const r=t.scope.getBinding(t.node.id.name);if(!r.references)return"before";const i=r.referencePaths;let s;for(const r of i){if(r.find((e=>e.node===t.node)))continue;if("callee"!==r.key||!r.parentPath.isCallExpression())return"unknown";const i=y(e,r,n);if(s&&s!==i)return"unknown";s=i}return s}(e,t,n);return i.set(t.node,s),s}(e,r.target,n);const i={target:t.getAncestry(),this:e.getAncestry()};if(i.target.includes(e))return"after";if(i.this.includes(t))return"before";let o;const a={target:0,this:0};for(;!o&&a.this<i.this.length;){const e=i.this[a.this];a.target=i.target.indexOf(e),a.target>=0?o=e:a.this++}if(!o)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(m(i.this,a.this-1)||m(i.target,a.target-1))return"unknown";const l={this:i.this[a.this-1],target:i.target[a.target-1]};if(l.target.listKey&&l.this.listKey&&l.target.container===l.this.container)return l.target.key>l.this.key?"before":"after";const c=s[o.type],u=c.indexOf(l.this.parentKey);return c.indexOf(l.target.parentKey)>u?"before":"after"}function v(e,t){var n;if(null==(n=t)||!n.includes(this))if((t=t||[]).push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(e,t)}else if(this.isReferencedIdentifier()){const n=this.scope.getBinding(this.node.name);if(!n)return;if(!n.constant)return;if("module"===n.kind)return;if(n.path!==this){const r=n.path.resolve(e,t);if(this.find((e=>e.node===r.node)))return;return r}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(e,t);if(e&&this.isMemberExpression()){const n=this.toComputedKey();if(!c(n))return;const r=n.value,i=this.get("object").resolve(e,t);if(i.isObjectExpression()){const n=i.get("properties");for(const i of n){if(!i.isProperty())continue;const n=i.get("key");let s=i.isnt("computed")&&n.isIdentifier({name:r});if(s=s||n.isLiteral({value:r}),s)return i.get("value").resolve(e,t)}}else if(i.isArrayExpression()&&!isNaN(+r)){const n=i.get("elements")[r];if(n)return n.resolve(e,t)}}}}},4403:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TaggedTemplateExpression=function(e){this.print(e.tag),this.print(e.typeParameters),this.print(e.quasi)},t.TemplateElement=function(){throw new Error("TemplateElement printing is handled in TemplateLiteral")},t.TemplateLiteral=function(e){this._printTemplate(e,e.expressions)},t._printTemplate=function(e,t){const n=e.quasis;let r="`";for(let i=0;i<n.length-1;i++)if(r+=n[i].value.raw,this.token(r+"${",!0),this.print(t[i]),r="}",this.tokenMap){const t=this.tokenMap.findMatching(e,"}",i);t&&this._catchUpTo(t.loc.start)}r+=n[n.length-1].value.raw,this.token(r+"`",!0)}},4430:(e,t,n)=>{"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{A:()=>r})},4537:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._call=l,t._getQueueContexts=function(){let e=this,t=this.contexts;for(;!t.length&&(e=e.parentPath,e);)t=e.contexts;return t},t._resyncKey=h,t._resyncList=d,t._resyncParent=f,t._resyncRemoved=function(){null!=this.key&&this.container&&this.container[this.key]===this.node||s._markRemoved.call(this)},t.call=a,t.isDenylisted=c,t.popContext=function(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)},t.pushContext=function(e){this.contexts.push(e),this.setContext(e)},t.requeue=function(e=this){if(e.removed)return;const t=this.contexts;for(const n of t)n.maybeQueue(e)},t.requeueComputedKeyAndDecorators=function(){const{context:e,node:t}=this;if(!o.isPrivate(t)&&t.computed&&e.maybeQueue(this.get("key")),t.decorators)for(const t of this.get("decorators"))e.maybeQueue(t)},t.resync=function(){this.removed||(f.call(this),d.call(this),h.call(this))},t.setContext=function(e){return null!=this.skipKeys&&(this.skipKeys={}),this._traverseFlags=0,e&&(this.context=e,this.state=e.state,this.opts=e.opts),p.call(this),this},t.setKey=m,t.setScope=p,t.setup=function(e,t,n,r){this.listKey=n,this.container=t,this.parentPath=e||this.parentPath,m.call(this,r)},t.skip=function(){this.shouldSkip=!0},t.skipKey=function(e){null==this.skipKeys&&(this.skipKeys={}),this.skipKeys[e]=!0},t.stop=function(){this._traverseFlags|=i.SHOULD_SKIP|i.SHOULD_STOP},t.visit=function(){var e,t;if(!this.node)return!1;if(this.isDenylisted())return!1;if(null!=(e=(t=this.opts).shouldSkip)&&e.call(t,this))return!1;const n=this.context;return this.shouldSkip||a.call(this,"enter")?(this.debug("Skip..."),this.shouldStop):(u(this,n),this.debug("Recursing into..."),this.shouldStop=(0,r.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),u(this,n),a.call(this,"exit"),this.shouldStop)};var r=n(1597),i=n(2670),s=n(7946),o=n(8135);function a(e){const t=this.opts;return this.debug(e),!(!this.node||!l.call(this,t[e]))||!!this.node&&l.call(this,null==(n=t[this.node.type])?void 0:n[e]);var n}function l(e){if(!e)return!1;for(const t of e){if(!t)continue;const e=this.node;if(!e)return!0;const n=t.call(this.state,this,this.state);if(n&&"object"==typeof n&&"function"==typeof n.then)throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(n)throw new Error(`Unexpected return value from visitor method ${t}`);if(this.node!==e)return!0;if(this._traverseFlags>0)return!0}return!1}function c(){var e;const t=null!=(e=this.opts.denylist)?e:this.opts.blacklist;return null==t?void 0:t.includes(this.node.type)}function u(e,t){e.context!==t&&(e.context=t,e.state=t.state,e.opts=t.opts)}function p(){var e,t;if(null!=(e=this.opts)&&e.noScope)return;let n,r=this.parentPath;for((("key"===this.key||"decorators"===this.listKey)&&r.isMethod()||"discriminant"===this.key&&r.isSwitchStatement())&&(r=r.parentPath);r&&!n;){var i;if(null!=(i=r.opts)&&i.noScope)return;n=r.scope,r=r.parentPath}this.scope=this.getScope(n),null==(t=this.scope)||t.init()}function f(){this.parentPath&&(this.parent=this.parentPath.node)}function h(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let e=0;e<this.container.length;e++)if(this.container[e]===this.node)return void m.call(this,e)}else for(const e of Object.keys(this.container))if(this.container[e]===this.node)return void m.call(this,e);this.key=null}}function d(){if(!this.parent||!this.inList)return;const e=this.parent[this.listKey];this.container!==e&&(this.container=e||null)}function m(e){var t;this.key=e,this.node=this.container[this.key],this.type=null==(t=this.node)?void 0:t.type}t.isBlacklisted=c},4564:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowFunctionExpression=function(e,t){e.async&&(this.word("async",!0),this.space()),this._shouldPrintArrowParamsParens(e)?this._params(e,void 0,t):this.print(e.params[0],!0),this._predicate(e,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=i.TokenContext.arrowBody,this.print(e.body)},t.FunctionDeclaration=t.FunctionExpression=function(e,t){this._functionHead(e,t),this.space(),this.print(e.body)},t._functionHead=function(e,t){e.async&&(this.word("async"),this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.space()),this.word("function"),e.generator&&(this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.tokenChar(42)),this.space(),e.id&&this.print(e.id),this._params(e,e.id,t),"TSDeclareFunction"!==e.type&&this._predicate(e)},t._methodHead=function(e){const t=e.kind,n=e.key;"get"!==t&&"set"!==t||(this.word(t),this.space()),e.async&&(this.word("async",!0),this.space()),"method"!==t&&"init"!==t||e.generator&&this.tokenChar(42),e.computed?(this.tokenChar(91),this.print(n),this.tokenChar(93)):this.print(n),e.optional&&this.tokenChar(63),this._params(e,e.computed&&"StringLiteral"!==e.key.type?void 0:e.key,void 0)},t._param=function(e){this.printJoin(e.decorators),this.print(e),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)},t._parameters=function(e,t){const n=this.enterDelimited(),r=this.shouldPrintTrailingComma(t),i=e.length;for(let t=0;t<i;t++)this._param(e[t]),(r||t<i-1)&&(this.token(",",null,t),this.space());this.token(t),n()},t._params=function(e,t,n){this.print(e.typeParameters);const r=o.call(this,t,n);r&&this.sourceIdentifierName(r.name,r.pos),this.tokenChar(40),this._parameters(e.params,")");const i="ArrowFunctionExpression"===e.type;this.print(e.returnType,i),this._noLineTerminator=i},t._predicate=function(e,t){e.predicate&&(e.returnType||this.tokenChar(58),this.space(),this.print(e.predicate,t))},t._shouldPrintArrowParamsParens=function(e){var t,n;if(1!==e.params.length)return!0;if(e.typeParameters||e.returnType||e.predicate)return!0;const r=e.params[0];if(!s(r)||r.typeAnnotation||r.optional||null!=(t=r.leadingComments)&&t.length||null!=(n=r.trailingComments)&&n.length)return!0;if(this.tokenMap){if(null==e.loc)return!0;if(null!==this.tokenMap.findMatching(e,"("))return!0;const t=this.tokenMap.findMatching(e,"=>");return null==(null==t?void 0:t.loc)||t.loc.start.line!==e.loc.start.line}return!!this.format.retainLines};var r=n(8135),i=n(1956);const{isIdentifier:s}=r;function o(e,t){let n,r=e;if(!r&&t){const e=t.type;"VariableDeclarator"===e?r=t.id:"AssignmentExpression"===e||"AssignmentPattern"===e?r=t.left:"ObjectProperty"===e||"ClassProperty"===e?t.computed&&"StringLiteral"!==t.key.type||(r=t.key):"ClassPrivateProperty"!==e&&"ClassAccessorProperty"!==e||(r=t.key)}if(r){var i,s;if("Identifier"===r.type)n={pos:null==(i=r.loc)?void 0:i.start,name:(null==(s=r.loc)?void 0:s.identifierName)||r.name};else if("PrivateName"===r.type){var o;n={pos:null==(o=r.loc)?void 0:o.start,name:"#"+r.id.name}}else if("StringLiteral"===r.type){var a;n={pos:null==(a=r.loc)?void 0:a.start,name:r.value}}return n}}},4586:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(1369);function i(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},4683:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(8431),i=n(4),s=n(6026),o=n(2658),a=n(8135),l=a,c=n(6266);const{assignmentExpression:u,callExpression:p,cloneNode:f,getBindingIdentifiers:h,identifier:d,isArrayExpression:m,isBinary:g,isCallExpression:y,isClass:v,isClassBody:b,isClassDeclaration:x,isExportAllDeclaration:S,isExportDefaultDeclaration:C,isExportNamedDeclaration:E,isFunctionDeclaration:k,isIdentifier:w,isImportDeclaration:T,isLiteral:_,isMemberExpression:A,isMethod:P,isModuleSpecifier:I,isNullLiteral:M,isObjectExpression:O,isProperty:F,isPureish:B,isRegExpLiteral:D,isSuper:L,isTaggedTemplateExpression:N,isTemplateLiteral:j,isThisExpression:R,isUnaryExpression:W,isVariableDeclaration:U,expressionStatement:V,matchesPattern:H,memberExpression:q,numericLiteral:G,toIdentifier:K,variableDeclaration:$,variableDeclarator:J,isRecordExpression:X,isTupleExpression:Q,isObjectProperty:z,isTopicReference:Y,isMetaProperty:Z,isPrivateName:ee,isExportDeclaration:te,buildUndefinedNode:ne,sequenceExpression:re}=a;function ie(e,t){switch(null==e?void 0:e.type){default:var n;if(T(e)||te(e))if((S(e)||E(e)||T(e))&&e.source)ie(e.source,t);else if((E(e)||T(e))&&null!=(n=e.specifiers)&&n.length)for(const n of e.specifiers)ie(n,t);else(C(e)||E(e))&&e.declaration&&ie(e.declaration,t);else I(e)?ie(e.local,t):!_(e)||M(e)||D(e)||j(e)||t.push(e.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":ie(e.object,t),ie(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":ie(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const n of e.properties)ie(n,t);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":ie(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":ie(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield"),ie(e.argument,t);break;case"AwaitExpression":t.push("await"),ie(e.argument,t);break;case"AssignmentExpression":ie(e.left,t);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":ie(e.id,t);break;case"ParenthesizedExpression":ie(e.expression,t);break;case"MetaProperty":ie(e.meta,t),ie(e.property,t);break;case"JSXElement":ie(e.openingElement,t);break;case"JSXOpeningElement":ie(e.name,t);break;case"JSXFragment":ie(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":ie(e.namespace,t),ie(e.name,t)}}function se(e){e.references=Object.create(null),e.uids=Object.create(null),e.bindings=Object.create(null),e.globals=Object.create(null)}var oe=Symbol.for("should not be considered a local binding");const ae={ForStatement(e){const t=e.get("init");if(t.isVar()){const{scope:n}=e;(n.getFunctionParent()||n.getProgramParent()).registerBinding("var",t)}},Declaration(e){e.isBlockScoped()||e.isImportDeclaration()||e.isExportDeclaration()||(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerDeclaration(e)},ImportDeclaration(e){e.scope.getBlockParent().registerDeclaration(e)},TSImportEqualsDeclaration(e){e.scope.getBlockParent().registerDeclaration(e)},ReferencedIdentifier(e,t){l.isTSQualifiedName(e.parent)&&e.parent.right===e.node||e.parentPath.isTSImportEqualsDeclaration()||t.references.push(e)},ForXStatement(e,t){const n=e.get("left");if(n.isPattern()||n.isIdentifier())t.constantViolations.push(e);else if(n.isVar()){const{scope:t}=e;(t.getFunctionParent()||t.getProgramParent()).registerBinding("var",n)}},ExportDeclaration:{exit(e){const{node:t,scope:n}=e;if(S(t))return;const r=t.declaration;if(x(r)||k(r)){const t=r.id;if(!t)return;const i=n.getBinding(t.name);null==i||i.reference(e)}else if(U(r))for(const t of r.declarations)for(const r of Object.keys(h(t))){const t=n.getBinding(r);null==t||t.reference(e)}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){"delete"===e.node.operator&&t.constantViolations.push(e)},BlockScoped(e){let t=e.scope;if(t.path===e&&(t=t.parent),t.getBlockParent().registerDeclaration(e),e.isClassDeclaration()&&e.node.id){const t=e.node.id.name;e.scope.bindings[t]=e.scope.parent.getBinding(t)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){const t=e.get("params");for(const n of t)e.scope.registerBinding("param",n);e.isFunctionExpression()&&e.node.id&&!e.node.id[oe]&&e.scope.registerBinding("local",e.get("id"),e)},ClassExpression(e){e.node.id&&!e.node.id[oe]&&e.scope.registerBinding("local",e.get("id"),e)},TSTypeAnnotation(e){e.skip()}};let le,ce=0;class ue{constructor(e){this.uid=void 0,this.path=void 0,this.block=void 0,this.inited=void 0,this.labels=void 0,this.bindings=void 0,this.referencesSet=void 0,this.globals=void 0,this.uidsSet=void 0,this.data=void 0,this.crawling=void 0;const{node:t}=e,n=c.scope.get(t);if((null==n?void 0:n.path)===e)return n;c.scope.set(t,this),this.uid=ce++,this.block=t,this.path=e,this.labels=new Map,this.inited=!1,Object.defineProperties(this,{references:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)},uids:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)}})}get parent(){var e;let t,n=this.path;do{var r;const e="key"===n.key||"decorators"===n.listKey;n=n.parentPath,e&&n.isMethod()&&(n=n.parentPath),null!=(r=n)&&r.isScope()&&(t=n)}while(n&&!t);return null==(e=t)?void 0:e.scope}get references(){throw new Error("Scope#references is not available in Babel 8. Use Scope#referencesSet instead.")}get uids(){throw new Error("Scope#uids is not available in Babel 8. Use Scope#uidsSet instead.")}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);return this.push({id:t}),f(t)}generateUidIdentifier(e){return d(this.generateUid(e))}generateUid(e="temp"){let t;e=K(e).replace(/^_+/,"").replace(/\d+$/g,"");let n=0;do{t=`_${e}`,n>=11?t+=n-1:n>=9?t+=n-9:n>=1&&(t+=n+1),n++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const r=this.getProgramParent();return r.references[t]=!0,r.uids[t]=!0,t}generateUidBasedOnNode(e,t){const n=[];ie(e,n);let r=n.join("$");return r=r.replace(/^_/,"")||t||"ref",this.generateUid(r.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return d(this.generateUidBasedOnNode(e,t))}isStatic(e){if(R(e)||L(e)||Y(e))return!0;if(w(e)){const t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1}maybeGenerateMemoised(e,t){if(this.isStatic(e))return null;{const n=this.generateUidIdentifierBasedOnNode(e);return t?n:(this.push({id:n}),f(n))}}checkBlockScopedCollisions(e,t,n,r){if("param"!==t&&"local"!==e.kind&&("let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&"const"===t))throw this.path.hub.buildError(r,`Duplicate declaration "${n}"`,TypeError)}rename(e,t){const n=this.getBinding(e);n&&(t||(t=this.generateUidIdentifier(e).name),new r.default(n,e,t).rename(arguments[2]))}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const n=t.bindings[e];console.log(" -",e,{constant:n.constant,references:n.references,violations:n.constantViolations.length,kind:n.kind})}}while(t=t.parent);console.log(e)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement())this.registerLabel(e);else if(e.isFunctionDeclaration())this.registerBinding("hoisted",e.get("id"),e);else if(e.isVariableDeclaration()){const t=e.get("declarations"),{kind:n}=e.node;for(const e of t)this.registerBinding("using"===n||"await using"===n?"const":n,e)}else if(e.isClassDeclaration()){if(e.node.declare)return;this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t="type"===e.node.importKind||"typeof"===e.node.importKind,n=e.get("specifiers");for(const e of n){const n=t||e.isImportSpecifier()&&("type"===e.node.importKind||"typeof"===e.node.importKind);this.registerBinding(n?"unknown":"module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration())&&this.registerDeclaration(t)}else this.registerBinding("unknown",e)}buildUndefinedNode(){return ne()}registerConstantViolation(e){const t=e.getAssignmentIdentifiers();for(const r of Object.keys(t)){var n;null==(n=this.getBinding(r))||n.reassign(e)}}registerBinding(e,t,n=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const n=t.get("declarations");for(const t of n)this.registerBinding(e,t);return}const r=this.getProgramParent(),i=t.getOuterBindingIdentifiers(!0);for(const t of Object.keys(i)){r.references[t]=!0;for(const r of i[t]){const i=this.getOwnBinding(t);if(i){if(i.identifier===r)continue;this.checkBlockScopedCollisions(i,e,t,r)}i?i.reassign(n):this.bindings[t]=new s.default({identifier:r,scope:this,path:n,kind:e})}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){{let t=this;do{if(t.uids[e])return!0}while(t=t.parent);return!1}}hasGlobal(e){let t=this;do{if(t.globals[e])return!0}while(t=t.parent);return!1}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(w(e)){const n=this.getBinding(e.name);return!!n&&(!t||n.constant)}if(R(e)||Z(e)||Y(e)||ee(e))return!0;var n,r,i;if(v(e))return!(e.superClass&&!this.isPure(e.superClass,t))&&!((null==(n=e.decorators)?void 0:n.length)>0)&&this.isPure(e.body,t);if(b(e)){for(const n of e.body)if(!this.isPure(n,t))return!1;return!0}if(g(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(m(e)||Q(e)){for(const n of e.elements)if(null!==n&&!this.isPure(n,t))return!1;return!0}if(O(e)||X(e)){for(const n of e.properties)if(!this.isPure(n,t))return!1;return!0}if(P(e))return!(e.computed&&!this.isPure(e.key,t)||(null==(r=e.decorators)?void 0:r.length)>0);if(F(e))return!(e.computed&&!this.isPure(e.key,t)||(null==(i=e.decorators)?void 0:i.length)>0||(z(e)||e.static)&&null!==e.value&&!this.isPure(e.value,t));if(W(e))return this.isPure(e.argument,t);if(j(e)){for(const n of e.expressions)if(!this.isPure(n,t))return!1;return!0}return N(e)?H(e.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(e.quasi,t):A(e)?!e.computed&&w(e.object)&&"Symbol"===e.object.name&&w(e.property)&&"for"!==e.property.name&&!this.hasBinding("Symbol",{noGlobals:!0}):y(e)?H(e.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&1===e.arguments.length&&l.isStringLiteral(e.arguments[0]):B(e)}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const n=t.data[e];if(null!=n)return n}while(t=t.parent)}removeData(e){let t=this;do{null!=t.data[e]&&(t.data[e]=null)}while(t=t.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){const e=this.path;se(this),this.data=Object.create(null);let t=this;do{if(t.crawling)return;if(t.path.isProgram())break}while(t=t.parent);const n=t,r={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,le||(le=i.default.visitors.merge([{Scope(e){se(e.scope)}},ae])),"Program"!==e.type){for(const t of le.enter)t.call(r,e,r);const t=le[e.type];if(t)for(const n of t.enter)n.call(r,e,r)}e.traverse(le,r),this.crawling=!1;for(const e of r.assignments){const t=e.getAssignmentIdentifiers();for(const r of Object.keys(t))e.scope.getBinding(r)||n.addGlobal(t[r]);e.scope.registerConstantViolation(e)}for(const e of r.references){const t=e.scope.getBinding(e.node.name);t?t.reference(e):n.addGlobal(e.node)}for(const e of r.constantViolations)e.scope.registerConstantViolation(e)}push(e){let t=this.path;t.isPattern()?t=this.getPatternParent().path:t.isBlockStatement()||t.isProgram()||(t=this.getBlockParent().path),t.isSwitchStatement()&&(t=(this.getFunctionParent()||this.getProgramParent()).path);const{init:n,unique:r,kind:i="var",id:s}=e;if(!n&&!r&&("var"===i||"let"===i)&&t.isFunction()&&!t.node.name&&y(t.parent,{callee:t.node})&&t.parent.arguments.length<=t.node.params.length&&w(s))return t.pushContainer("params",s),void t.scope.registerBinding("param",t.get("params")[t.node.params.length-1]);(t.isLoop()||t.isCatchClause()||t.isFunction())&&(t.ensureBlock(),t=t.get("body"));const o=null==e._blockHoist?2:e._blockHoist,a=`declaration:${i}:${o}`;let l=!r&&t.getData(a);if(!l){const e=$(i,[]);e._blockHoist=o,[l]=t.unshiftContainer("body",[e]),r||t.setData(a,l)}const c=J(s,n),u=l.node.declarations.push(c);t.scope.registerBinding(i,l.get("declarations")[u-1])}getProgramParent(){let e=this;do{if(e.path.isProgram())return e}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent())return e}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent())return e}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let e=this;do{if(!e.path.isPattern())return e.getBlockParent()}while(e=e.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const n of Object.keys(t.bindings))n in e==0&&(e[n]=t.bindings[n]);t=t.parent}while(t);return e}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t,n=this;do{const i=n.getOwnBinding(e);var r;if(i){if(null==(r=t)||!r.isPattern()||"param"===i.kind||"local"===i.kind)return i}else if(!i&&"arguments"===e&&n.path.isFunction()&&!n.path.isArrowFunctionExpression())break;t=n.path}while(n=n.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return null==(t=this.getBinding(e))?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return null==t?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){if(!e)return!1;let n,r,i;"object"==typeof t?(n=t.noGlobals,r=t.noUids,i=t.upToScope):"boolean"==typeof t&&(n=t);let s=this;do{if(i===s)break;if(s.hasOwnBinding(e))return!0}while(s=s.parent);return!(r||!this.hasUid(e))||!(n||!ue.globals.includes(e))||!(n||!ue.contextVariables.includes(e))}parentHasBinding(e,t){var n;return null==(n=this.parent)?void 0:n.hasBinding(e,t)}moveBindingTo(e,t){const n=this.getBinding(e);n&&(n.scope.removeOwnBinding(e),n.scope=t,t.bindings[e]=n)}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;null==(t=this.getBinding(e))||t.scope.removeOwnBinding(e);{let t=this;do{t.uids[e]&&(t.uids[e]=!1)}while(t=t.parent)}}hoistVariables(e=e=>this.push({id:e})){this.crawl();const t=new Set;for(const n of Object.keys(this.bindings)){const r=this.bindings[n];if(!r)continue;const{path:i}=r;if(!i.isVariableDeclarator())continue;const{parent:s,parentPath:o}=i;if("var"!==s.kind||t.has(s))continue;let a;t.add(i.parent);const l=[];for(const t of s.declarations){null!=a||(a=t.id),t.init&&l.push(u("=",t.id,t.init));const n=Object.keys(h(t,!1,!0,!0));for(const r of n)e(d(r),null!=t.init)}if(o.parentPath.isFor({left:s}))o.replaceWith(a);else if(0===l.length)o.remove();else{const e=1===l.length?l[0]:re(l);o.parentPath.isForStatement({init:s})?o.replaceWith(e):o.replaceWith(V(e))}}}}t.default=ue,ue.globals=Object.keys(o.builtin),ue.contextVariables=["arguments","undefined","Infinity","NaN"],ue.prototype._renameFromMap=function(e,t,n,r){e[t]&&(e[n]=r,e[t]=null)},ue.prototype.traverse=function(e,t,n){(0,i.default)(e,t,this,n,this.path)},ue.prototype._generateUid=function(e,t){let n=e;return t>1&&(n+=t),`_${n}`},ue.prototype.toArray=function(e,t,n){if(w(e)){const t=this.getBinding(e.name);if(null!=t&&t.constant&&t.path.isGenericType("Array"))return e}if(m(e))return e;if(w(e,{name:"arguments"}))return p(q(q(q(d("Array"),d("prototype")),d("slice")),d("call")),[e]);let r;const i=[e];return!0===t?r="toConsumableArray":"number"==typeof t?(i.push(G(t)),r="slicedToArray"):r="toArray",n&&(i.unshift(this.path.hub.addHelper(r)),r="maybeArrayLike"),p(this.path.hub.addHelper(r),i)},ue.prototype.getAllBindingsOfKind=function(...e){const t=Object.create(null);for(const n of e){let e=this;do{for(const r of Object.keys(e.bindings)){const i=e.bindings[r];i.kind===n&&(t[r]=i)}e=e.parent}while(e)}return t},Object.defineProperties(ue.prototype,{parentBlock:{configurable:!0,enumerable:!0,get(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get(){return this.path.hub}}})},4834:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._replaceWith=R,t.replaceExpressionWithStatements=function(e){u.resync.call(this);const t=[],n=W(e,t);if(n){for(const e of t)this.scope.push({id:e});return this.replaceWith(n)[0].get("expressions")}const r=this.getFunctionParent(),s=null==r?void 0:r.node.async,o=null==r?void 0:r.node.generator,a=f([],m(e));this.replaceWith(y(a,[]));const l=this.get("callee");l.get("body").scope.hoistVariables((e=>this.scope.push({id:e})));const c=l.getCompletionRecords();for(const e of c){if(!e.isExpressionStatement())continue;const t=e.findParent((e=>e.isLoop()));if(t){let n=t.getData("expressionReplacementReturnUid");n?n=C(n.name):(n=l.scope.generateDeclaredUidIdentifier("ret"),l.get("body").pushContainer("body",D(v(n))),t.setData("expressionReplacementReturnUid",n)),e.get("expression").replaceWith(h("=",v(n),e.node.expression))}else e.replaceWith(D(e.node.expression))}l.arrowFunctionToExpression();const g=l,b=s&&i.default.hasType(this.get("callee.body").node,"AwaitExpression",p),x=o&&i.default.hasType(this.get("callee.body").node,"YieldExpression",p);return b&&(g.set("async",!0),x||this.replaceWith(d(this.node))),x&&(g.set("generator",!0),this.replaceWith(j(this.node,!0))),g.get("body.body")},t.replaceInline=function(e){if(u.resync.call(this),Array.isArray(e)){if(Array.isArray(this.container)){e=a._verifyNodeList.call(this,e);const t=a._containerInsertAfter.call(this,e);return this.remove(),t}return this.replaceWithMultiple(e)}return this.replaceWith(e)},t.replaceWith=function(e){if(u.resync.call(this),this.removed)throw new Error("You can't replace this node, we've already removed it");let t=e instanceof s.default?e.node:e;if(!t)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===t)return[this];if(this.isProgram()&&!M(t))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(t))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if("string"==typeof t)throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let n="";if(this.isNodeType("Statement")&&A(t)&&(this.canHaveVariableDeclarationOrExpression()||this.canSwapBetweenExpressionAndStatement(t)||this.parentPath.isExportDefaultDeclaration()||(t=x(t),n="expression")),this.isNodeType("Expression")&&O(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t))return this.replaceExpressionWithStatements([t]);const r=this.node;return r&&(w(t,r),B(r)),R.call(this,t),this.type=t.type,u.setScope.call(this),this.requeue(),[n?this.get(n):this]},t.replaceWithMultiple=function(e){var t;u.resync.call(this),e=a._verifyNodeList.call(this,e),E(e[0],this.node),k(e[e.length-1],this.node),null==(t=(0,o.getCachedPaths)(this))||t.delete(this.node),this.node=this.container[this.key]=null;const n=this.insertAfter(e);return this.node?this.requeue():this.remove(),n},t.replaceWithSourceString=function(e){let t;u.resync.call(this);try{e=`(${e})`,t=(0,l.parse)(e)}catch(t){const n=t.loc;throw n&&(t.message+=" - make sure this is an expression.\n"+(0,r.codeFrameColumns)(e,{start:{line:n.line,column:n.column+1}}),t.code="BABEL_REPLACE_SOURCE_ERROR"),t}const n=t.program.body[0].expression;return i.default.removeProperties(n),this.replaceWith(n)};var r=n(6611),i=n(4),s=n(2670),o=n(6266),a=n(1064),l=n(580),c=n(8135),u=n(4537);const{FUNCTION_TYPES:p,arrowFunctionExpression:f,assignmentExpression:h,awaitExpression:d,blockStatement:m,buildUndefinedNode:g,callExpression:y,cloneNode:v,conditionalExpression:b,expressionStatement:x,getBindingIdentifiers:S,identifier:C,inheritLeadingComments:E,inheritTrailingComments:k,inheritsComments:w,isBlockStatement:T,isEmptyStatement:_,isExpression:A,isExpressionStatement:P,isIfStatement:I,isProgram:M,isStatement:O,isVariableDeclaration:F,removeComments:B,returnStatement:D,sequenceExpression:L,validate:N,yieldExpression:j}=c;function R(e){var t;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?N(this.parent,this.key,[e]):N(this.parent,this.key,e),this.debug(`Replace with ${null==e?void 0:e.type}`),null==(t=(0,o.getCachedPaths)(this))||t.set(e,this).delete(this.node),this.node=this.container[this.key]=e}function W(e,t){const n=[];let r=!0;for(const i of e)if(_(i)||(r=!1),A(i))n.push(i);else if(P(i))n.push(i.expression);else if(F(i)){if("var"!==i.kind)return;for(const e of i.declarations){const r=S(e);for(const e of Object.keys(r))t.push(v(r[e]));e.init&&n.push(h("=",e.id,e.init))}r=!0}else if(I(i)){const e=i.consequent?W([i.consequent],t):g(),r=i.alternate?W([i.alternate],t):g();if(!e||!r)return;n.push(b(i.test,e,r))}else if(T(i)){const e=W(i.body,t);if(!e)return;n.push(e)}else{if(!_(i))return;0===e.indexOf(i)&&(r=!0)}return r&&n.push(g()),1===n.length?n[0]:L(n)}},5083:(e,t)=>{"use strict";function n(){this.space()}Object.defineProperty(t,"__esModule",{value:!0}),t.JSXAttribute=function(e){this.print(e.name),e.value&&(this.tokenChar(61),this.print(e.value))},t.JSXClosingElement=function(e){this.tokenChar(60),this.tokenChar(47),this.print(e.name),this.tokenChar(62)},t.JSXClosingFragment=function(){this.token("</"),this.tokenChar(62)},t.JSXElement=function(e){const t=e.openingElement;if(this.print(t),!t.selfClosing){this.indent();for(const t of e.children)this.print(t);this.dedent(),this.print(e.closingElement)}},t.JSXEmptyExpression=function(){this.printInnerComments()},t.JSXExpressionContainer=function(e){this.tokenChar(123),this.print(e.expression),this.rightBrace(e)},t.JSXFragment=function(e){this.print(e.openingFragment),this.indent();for(const t of e.children)this.print(t);this.dedent(),this.print(e.closingFragment)},t.JSXIdentifier=function(e){this.word(e.name)},t.JSXMemberExpression=function(e){this.print(e.object),this.tokenChar(46),this.print(e.property)},t.JSXNamespacedName=function(e){this.print(e.namespace),this.tokenChar(58),this.print(e.name)},t.JSXOpeningElement=function(e){this.tokenChar(60),this.print(e.name),e.typeArguments&&this.print(e.typeArguments),this.print(e.typeParameters),e.attributes.length>0&&(this.space(),this.printJoin(e.attributes,void 0,void 0,n)),e.selfClosing&&(this.space(),this.tokenChar(47)),this.tokenChar(62)},t.JSXOpeningFragment=function(){this.tokenChar(60),this.tokenChar(62)},t.JSXSpreadAttribute=function(e){this.tokenChar(123),this.token("..."),this.print(e.argument),this.rightBrace(e)},t.JSXSpreadChild=function(e){this.tokenChar(123),this.token("..."),this.print(e.expression),this.rightBrace(e)},t.JSXText=function(e){const t=this.getPossibleRaw(e);void 0!==t?this.token(t,!0):this.token(e.value,!0)}},5267:function(e,t,n){!function(e,t,n,r){"use strict";class i{constructor({file:e,sourceRoot:n}={}){this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=n,this._ignoreList=new t.SetArray}}function s(e){const{_mappings:t,_sources:n,_sourcesContent:r,_names:i,_ignoreList:s}=e;return function(e){const{length:t}=e;let n=t;for(let t=n-1;t>=0&&!(e[t].length>0);n=t,t--);n<t&&(e.length=n)}(t),{version:3,file:e.file||void 0,names:i.array,sourceRoot:e.sourceRoot||void 0,sources:n.array,sourcesContent:r,mappings:t,ignoreList:s.array}}function o(e,n,r,i,s,o,l,c,u){const{_mappings:p,_sources:f,_sourcesContent:h,_names:d}=n,m=function(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}(p,r),g=function(e,t){let n=e.length;for(let r=n-1;r>=0&&!(t>=e[r][0]);n=r--);return n}(m,i);if(!s){if(e&&function(e,t){return 0===t||1===e[t-1].length}(m,g))return;return a(m,g,[i])}const y=t.put(f,s),v=c?t.put(d,c):-1;if(y===h.length&&(h[y]=null!=u?u:null),!e||!function(e,t,n,r,i,s){if(0===t)return!1;const o=e[t-1];return 1!==o.length&&n===o[1]&&r===o[2]&&i===o[3]&&s===(5===o.length?o[4]:-1)}(m,g,y,o,l,v))return a(m,g,c?[i,y,o,l,v]:[i,y,o,l])}function a(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function l(e,n){for(let r=0;r<n.length;r++)t.put(e,n[r])}function c(e,t,n){const{generated:r,source:i,original:s,name:a,content:l}=n;return i?o(e,t,r.line-1,r.column,i,s.line-1,s.column,a,l):o(e,t,r.line-1,r.column,null,null,null,null,null)}e.GenMapping=i,e.addMapping=function(e,t){return c(!1,e,t)},e.addSegment=function(e,t,n,r,i,s,a,l){return o(!1,e,t,n,r,i,s,a,l)},e.allMappings=function(e){const t=[],{_mappings:n,_sources:r,_names:i}=e;for(let e=0;e<n.length;e++){const s=n[e];for(let n=0;n<s.length;n++){const o=s[n],a={line:e+1,column:o[0]};let l,c,u;1!==o.length&&(l=r.array[o[1]],c={line:o[2]+1,column:o[3]},5===o.length&&(u=i.array[o[4]])),t.push({generated:a,source:l,original:c,name:u})}}return t},e.fromMap=function(e){const t=new r.TraceMap(e),n=new i({file:t.file,sourceRoot:t.sourceRoot});return l(n._names,t.names),l(n._sources,t.sources),n._sourcesContent=t.sourcesContent||t.sources.map((()=>null)),n._mappings=r.decodedMappings(t),t.ignoreList&&l(n._ignoreList,t.ignoreList),n},e.maybeAddMapping=(e,t)=>c(!0,e,t),e.maybeAddSegment=(e,t,n,r,i,s,a,l)=>o(!0,e,t,n,r,i,s,a,l),e.setIgnore=function(e,n,r=!0){const{_sources:i,_sourcesContent:s,_ignoreList:o}=e,a=t.put(i,n);a===s.length&&(s[a]=null),r?t.put(o,a):t.remove(o,a)},e.setSourceContent=function(e,n,r){const{_sources:i,_sourcesContent:s}=e;s[t.put(i,n)]=r},e.toDecodedMap=s,e.toEncodedMap=function(e){const t=s(e);return Object.assign(Object.assign({},t),{mappings:n.encode(t.mappings)})},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(6801),n(6398),n(1969))},5307:(e,t,n)=>{"use strict";n.d(t,{H:()=>i});var r=n(9403);function i(e,t,n,i){var s=(0,r.X)([e],t,n,i),o=s.textContent,a=s.children;return null!=a?a:[{name:"Plaintext",properties:{textContent:o}}]}},5405:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},5460:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrowFunctionToExpression=function({allowInsertArrow:e=!0,allowInsertArrowWithRest:t=e,noNewArrows:n=!(e=>null==(e=arguments[0])?void 0:e.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let r=this;var i;n||(r=null!=(i=r.ensureFunctionName(!1))?i:r);const{thisBinding:s,fnPath:o}=q(r,n,e,t);if(o.ensureBlock(),o.node.type="FunctionExpression",!n){const e=s?null:o.scope.generateUidIdentifier("arrowCheckId");return e&&o.parentPath.scope.push({id:e,init:C([])}),o.get("body").unshiftContainer("body",h(p(this.hub.addHelper("newArrowCheck"),[P(),d(e?e.name:s)]))),o.replaceWith(p(b(o.node,d("bind")),[e?d(e.name):P()])),o.get("callee.object")}return o},t.ensureBlock=function(){const e=this.get("body"),t=e.node;if(Array.isArray(e))throw new Error("Can't convert array path to a block statement");if(!t)throw new Error("Can't convert node without a body");if(e.isBlockStatement())return t;const n=[];let r,i,s="body";e.isStatement()?(i="body",r=0,n.push(e.node)):(s+=".body.0",this.isFunction()?(r="argument",n.push(k(e.node))):(r="expression",n.push(h(e.node)))),this.node.body=u(n);const a=this.get(s);return o.setup.call(e,a,i?a.node[i]:a.node,i,r),this.node},t.ensureFunctionName=function(e){if(this.node.id)return this;const t=L(this.node,this.parent);if(null==t)return this;let{name:n}=t;if(!e&&/[\uD800-\uDFFF]/.test(n))return null;if(n.startsWith("get ")||n.startsWith("set "))return null;n=O(n.replace(/[/ ]/g,"_"));const r=d(n);V(r,t.originalNode);const s={needsRename:!1,name:n},{scope:o}=this,a=o.getOwnBinding(n);if(a?"param"===a.kind&&(s.needsRename=!0):(o.parent.hasBinding(n)||o.hasGlobal(n))&&this.traverse(X,s),!s.needsRename)return this.node.id=r,o.getProgramParent().references[r.name]=!0,this;if(o.hasBinding(r.name)&&!o.hasGlobal(r.name))return o.rename(r.name),this.node.id=r,o.getProgramParent().references[r.name]=!0,this;if(!F(this.node))return null;const l=o.generateUidIdentifier(r.name),c=[];for(let e=0,t=function(e){const t=e.params.findIndex((e=>B(e)||D(e)));return-1===t?e.params.length:t}(this.node);e<t;e++)c.push(o.generateUidIdentifier("x"));const u=i.default.expression.ast`
|
|
1
|
+
/*! For license information please see 6746.c32f150c.js.LICENSE.txt */
|
|
2
|
+
(globalThis.webpackChunk_next_bricks_vb_experiment=globalThis.webpackChunk_next_bricks_vb_experiment||[]).push([[6746],{4:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Hub",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"NodePath",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return l.default}}),t.visitors=t.default=void 0,n(4537);var r=n(5957);t.visitors=r;var i=n(8135),s=n(6266),o=n(1597),a=n(2670),l=n(4683),c=n(9783);const{VISITOR_KEYS:u,removeProperties:p,traverseFast:f}=i;function h(e,t={},n,i,s,a){if(e){if(!t.noScope&&!n&&"Program"!==e.type&&"File"!==e.type)throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${e.type} node without passing scope and parentPath.`);if(!s&&a)throw new Error("visitSelf can only be used when providing a NodePath.");u[e.type]&&(r.explode(t),(0,o.traverseNode)(e,t,n,i,s,null,a))}}t.default=h,h.visitors=r,h.verify=r.verify,h.explode=r.explode,h.cheap=function(e,t){f(e,t)},h.node=function(e,t,n,r,i,s){(0,o.traverseNode)(e,t,n,r,i,s)},h.clearNode=function(e,t){p(e,t)},h.removeProperties=function(e,t){return f(e,h.clearNode,t),e},h.hasType=function(e,t,n){return(null==n||!n.includes(e.type))&&(e.type===t||f(e,(function(e){return null!=n&&n.includes(e.type)?f.skip:e.type===t?f.stop:void 0})))},h.cache=s},124:(e,t,n)=>{var r=n(9907);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(7891)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},157:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.find=function(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null},t.findParent=function(e){let t=this;for(;t=t.parentPath;)if(e(t))return t;return null},t.getAncestry=function(){let e=this;const t=[];do{t.push(e)}while(e=e.parentPath);return t},t.getDeepestCommonAncestorFrom=function(e,t){if(!e.length)return this;if(1===e.length)return e[0];let n,r,i=1/0;const s=e.map((e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);return t.length<i&&(i=t.length),t})),o=s[0];e:for(let e=0;e<i;e++){const t=o[e];for(const n of s)if(n[e]!==t)break e;n=e,r=t}if(r)return t?t(r,n,s):r;throw new Error("Couldn't find intersection")},t.getEarliestCommonAncestorFrom=function(e){return this.getDeepestCommonAncestorFrom(e,(function(e,t,n){let r;const s=i[e.type];for(const e of n){const n=e[t+1];r?(n.listKey&&r.listKey===n.listKey&&n.key<r.key||s.indexOf(r.parentKey)>s.indexOf(n.parentKey))&&(r=n):r=n}return r}))},t.getFunctionParent=function(){return this.findParent((e=>e.isFunction()))},t.getStatementParent=function(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())break;e=e.parentPath}while(e);if(e&&(e.isProgram()||e.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return e},t.inType=function(...e){let t=this;for(;t;){if(e.includes(t.node.type))return!0;t=t.parentPath}return!1},t.isAncestor=function(e){return e.isDescendant(this)},t.isDescendant=function(e){return!!this.findParent((t=>t===e))};var r=n(8135);const{VISITOR_KEYS:i}=r},215:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){const l=new WeakMap,c=new WeakMap,u=n||(0,r.validate)(null);return Object.assign(((n,...o)=>{if("string"==typeof n){if(o.length>1)throw new Error("Unexpected extra params.");return a((0,i.default)(t,n,(0,r.merge)(u,(0,r.validate)(o[0]))))}if(Array.isArray(n)){let e=l.get(n);return e||(e=(0,s.default)(t,n,u),l.set(n,e)),a(e(o))}if("object"==typeof n&&n){if(o.length>0)throw new Error("Unexpected extra params.");return e(t,(0,r.merge)(u,(0,r.validate)(n)))}throw new Error("Unexpected template param "+typeof n)}),{ast:(e,...n)=>{if("string"==typeof e){if(n.length>1)throw new Error("Unexpected extra params.");return(0,i.default)(t,e,(0,r.merge)((0,r.merge)(u,(0,r.validate)(n[0])),o))()}if(Array.isArray(e)){let i=c.get(e);return i||(i=(0,s.default)(t,e,(0,r.merge)(u,o)),c.set(e,i)),i(n)()}throw new Error("Unexpected template param "+typeof e)}})};var r=n(5838),i=n(1199),s=n(7667);const o=(0,r.validate)({placeholderPattern:!1});function a(e){let t="";try{throw new Error}catch(e){e.stack&&(t=e.stack.split("\n").slice(3).join("\n"))}return n=>{try{return e(n)}catch(e){throw e.stack+=`\n =============\n${t}`,e}}}},240:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statements=t.statement=t.smart=t.program=t.expression=t.default=void 0;var r=n(9813),i=n(215);const s=t.smart=(0,i.default)(r.smart),o=t.statement=(0,i.default)(r.statement),a=t.statements=(0,i.default)(r.statements),l=t.expression=(0,i.default)(r.expression),c=t.program=(0,i.default)(r.program);t.default=Object.assign(s.bind(void 0),{smart:s,statement:o,statements:a,expression:l,program:c,ast:s.ast})},366:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.evaluate=function(){const e={confident:!0,deoptPath:null,seen:new Map};let t=c(this,e);return e.confident||(t=void 0),{confident:e.confident,deopt:e.deoptPath,value:t}},t.evaluateTruthy=function(){const e=this.evaluate();if(e.confident)return!!e.value};const r=["Number","String","Math"],i=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],s=["random"];function o(e){return r.includes(e)}function a(e,t){t.confident&&(t.deoptPath=e,t.confident=!1)}const l=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function c(e,t){const{node:r}=e,{seen:p}=t;if(p.has(r)){const n=p.get(r);return n.resolved?n.value:void a(e,t)}{const f={resolved:!1};p.set(r,f);const h=function(e,t){if(t.confident){if(e.isSequenceExpression()){const n=e.get("expressions");return c(n[n.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral())return e.node.value;if(e.isNullLiteral())return null;if(e.isTemplateLiteral())return u(e,e.node.quasis,t);if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const n=e.get("tag.object"),{node:{name:r}}=n,i=e.get("tag.property");if(n.isIdentifier()&&"String"===r&&!e.scope.getBinding(r)&&i.isIdentifier()&&"raw"===i.node.name)return u(e,e.node.quasi.quasis,t,!0)}if(e.isConditionalExpression()){const n=c(e.get("test"),t);if(!t.confident)return;return c(n?e.get("consequent"):e.get("alternate"),t)}if(e.isExpressionWrapper())return c(e.get("expression"),t);if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const n=e.get("property"),r=e.get("object");if(r.isLiteral()){const i=r.node.value,s=typeof i;let o=null;if(e.node.computed){if(o=c(n,t),!t.confident)return}else n.isIdentifier()&&(o=n.node.name);if(!("number"!==s&&"string"!==s||null==o||"number"!=typeof o&&"string"!=typeof o))return i[o]}}if(e.isReferencedIdentifier()){const n=e.scope.getBinding(e.node.name);if(n){if(n.constantViolations.length>0||e.node.start<n.path.node.end)return void a(n.path,t);const i=n.path.scope;if("var"===n.kind&&i!==n.scope){let s=!i.path.parentPath.isBlockStatement();for(let o=i.parent;o;o=o.parent){var r;if(o===e.scope){if(s)return void a(n.path,t);break}null!=(r=o.path.parentPath)&&r.isBlockStatement()&&(s=!0)}}if(n.hasValue)return n.value}const i=e.node.name;if(l.has(i))return n?void a(n.path,t):l.get(i);const s=e.resolve();if(s===e)return void a(e,t);const o=c(s,t);return"object"==typeof o&&null!==o&&n.references>1?void a(s,t):o}if(e.isUnaryExpression({prefix:!0})){if("void"===e.node.operator)return;const n=e.get("argument");if("typeof"===e.node.operator&&(n.isFunction()||n.isClass()))return"function";const r=c(n,t);if(!t.confident)return;switch(e.node.operator){case"!":return!r;case"+":return+r;case"-":return-r;case"~":return~r;case"typeof":return typeof r}}if(e.isArrayExpression()){const n=[],r=e.get("elements");for(const e of r){const r=e.evaluate();if(!r.confident)return void a(r.deopt,t);n.push(r.value)}return n}if(e.isObjectExpression()){const n={},r=e.get("properties");for(const e of r){if(e.isObjectMethod()||e.isSpreadElement())return void a(e,t);const r=e.get("key");let i;if(e.node.computed){if(i=r.evaluate(),!i.confident)return void a(i.deopt,t);i=i.value}else i=r.isIdentifier()?r.node.name:r.node.value;let s=e.get("value").evaluate();if(!s.confident)return void a(s.deopt,t);s=s.value,n[i]=s}return n}if(e.isLogicalExpression()){const n=t.confident,r=c(e.get("left"),t),i=t.confident;t.confident=n;const s=c(e.get("right"),t),o=t.confident;switch(e.node.operator){case"||":if(t.confident=i&&(!!r||o),!t.confident)return;return r||s;case"&&":if(t.confident=i&&(!r||o),!t.confident)return;return r&&s;case"??":if(t.confident=i&&(null!=r||o),!t.confident)return;return null!=r?r:s}}if(e.isBinaryExpression()){const n=c(e.get("left"),t);if(!t.confident)return;const r=c(e.get("right"),t);if(!t.confident)return;switch(e.node.operator){case"-":return n-r;case"+":return n+r;case"/":return n/r;case"*":return n*r;case"%":return n%r;case"**":return Math.pow(n,r);case"<":return n<r;case">":return n>r;case"<=":return n<=r;case">=":return n>=r;case"==":return n==r;case"!=":return n!=r;case"===":return n===r;case"!==":return n!==r;case"|":return n|r;case"&":return n&r;case"^":return n^r;case"<<":return n<<r;case">>":return n>>r;case">>>":return n>>>r}}if(e.isCallExpression()){const r=e.get("callee");let a,l;if(r.isIdentifier()&&!e.scope.getBinding(r.node.name)&&(o(r.node.name)||function(e){return i.includes(e)}(r.node.name))&&(l=n.g[r.node.name]),r.isMemberExpression()){const e=r.get("object"),t=r.get("property");if(e.isIdentifier()&&t.isIdentifier()&&o(e.node.name)&&!function(e){return s.includes(e)}(t.node.name)){a=n.g[e.node.name];const r=t.node.name;hasOwnProperty.call(a,r)&&(l=a[r])}if(e.isLiteral()&&t.isIdentifier()){const n=typeof e.node.value;"string"!==n&&"number"!==n||(a=e.node.value,l=a[t.node.name])}}if(l){const n=e.get("arguments").map((e=>c(e,t)));if(!t.confident)return;return l.apply(a,n)}}a(e,t)}}(e,t);return t.confident&&(f.resolved=!0,f.value=h),h}}function u(e,t,n,r=!1){let i="",s=0;const o=e.isTemplateLiteral()?e.get("expressions"):e.get("quasi.expressions");for(const e of t){if(!n.confident)break;i+=r?e.value.raw:e.value.cooked;const t=o[s++];t&&(i+=String(c(t,n)))}if(n.confident)return i}},689:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6488),i=n(7985),s=n(5405);function o(e,t){return(0,r.A)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,s,o,a=[],l=!0,c=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=s.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return a}}(e,t)||(0,i.A)(e,t)||(0,s.A)()}},899:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nodes=void 0;var r=n(8135);const{FLIPPED_ALIAS_KEYS:i,isArrayExpression:s,isAssignmentExpression:o,isBinary:a,isBlockStatement:l,isCallExpression:c,isFunction:u,isIdentifier:p,isLiteral:f,isMemberExpression:h,isObjectExpression:d,isOptionalCallExpression:m,isOptionalMemberExpression:g,isStringLiteral:y}=r;function v(e,t){return e?(h(e)||g(e)?(v(e.object,t),e.computed&&v(e.property,t)):a(e)||o(e)?(v(e.left,t),v(e.right,t)):c(e)||m(e)?(t.hasCall=!0,v(e.callee,t)):u(e)?t.hasFunction=!0:p(e)&&(t.hasHelper=t.hasHelper||e.callee&&x(e.callee)),t):t}function b(e){return v(e,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function x(e){return!!e&&(h(e)?x(e.object)||x(e.property):p(e)?"require"===e.name||95===e.name.charCodeAt(0):c(e)?x(e.callee):!(!a(e)&&!o(e))&&(p(e.left)&&x(e.left)||x(e.right)))}function S(e){return f(e)||d(e)||s(e)||p(e)||h(e)}const C=t.nodes={AssignmentExpression(e){const t=b(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction)return t.hasFunction?3:2},SwitchCase:(e,t)=>(e.consequent.length||t.cases[0]===e?1:0)|(e.consequent.length||t.cases[t.cases.length-1]!==e?0:2),LogicalExpression(e){if(u(e.left)||u(e.right))return 2},Literal(e){if(y(e)&&"use strict"===e.value)return 2},CallExpression(e){if(u(e.callee)||x(e))return 3},OptionalCallExpression(e){if(u(e.callee))return 3},VariableDeclaration(e){for(let t=0;t<e.declarations.length;t++){const n=e.declarations[t];let r=x(n.id)&&!S(n.init);if(!r&&n.init){const e=b(n.init);r=x(n.init)&&e.hasCall||e.hasFunction}if(r)return 3}},IfStatement(e){if(l(e.consequent))return 3}};C.ObjectProperty=C.ObjectTypeProperty=C.ObjectMethod=function(e,t){if(t.properties[0]===e)return 1},C.ObjectTypeCallProperty=function(e,t){var n;if(t.callProperties[0]===e&&(null==(n=t.properties)||!n.length))return 1},C.ObjectTypeIndexer=function(e,t){var n,r;if(!(t.indexers[0]!==e||null!=(n=t.properties)&&n.length||null!=(r=t.callProperties)&&r.length))return 1},C.ObjectTypeInternalSlot=function(e,t){var n,r,i;if(!(t.internalSlots[0]!==e||null!=(n=t.properties)&&n.length||null!=(r=t.callProperties)&&r.length||null!=(i=t.indexers)&&i.length))return 1},[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach((function([e,t]){[e].concat(i[e]||[]).forEach((function(e){const n=t?3:0;C[e]=()=>n}))}))},1046:(e,t,n)=>{"use strict";n.d(t,{W:()=>i});var r=n(8291);function i(e){var t,n,i=null===(t=e.children)||void 0===t?void 0:t.find((function(e){return(0,r.dN)(e,"View")})),s=null==i||null===(n=i.properties)||void 0===n?void 0:n.title;if("string"==typeof s&&!(0,r.UQ)(s))return s}},1064:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._containerInsert=k,t._containerInsertAfter=T,t._containerInsertBefore=w,t._verifyNodeList=I,t.insertAfter=function(e){if(o._assertUnremoved.call(this),this.isSequenceExpression())return _(this.get("expressions")).insertAfter(e);const t=I.call(this,e),{parentPath:n,parent:r}=this;if(n.isExpressionStatement()||n.isLabeledStatement()||v(r)||n.isExportDefaultDeclaration()&&this.isDeclaration())return n.insertAfter(t.map((e=>b(e)?m(e):e)));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!n.isJSXElement()||n.isForStatement()&&"init"===this.key){const e=this;if(e.node){const r=e.node;let{scope:i}=this;if(i.path.isPattern())return u(r),e.replaceWith(h(c([],r),[])),e.get("callee.body").insertAfter(t),[e];if(A(e))t.unshift(r);else if(y(r)&&C(r.callee))t.unshift(r),t.push(E());else if(function(e,t){if(!g(e)||!x(e.left))return!1;const n=t.getBlockParent();return n.hasOwnBinding(e.left.name)&&n.getOwnBinding(e.left.name).constantViolations.length<=1}(r,i))t.unshift(r),t.push(d(r.left));else if(i.isPure(r,!0))t.push(r);else{n.isMethod({computed:!0,key:r})&&(i=i.parent);const e=i.generateDeclaredUidIdentifier();t.unshift(m(p("=",d(e),r))),t.push(m(d(e)))}}return this.replaceExpressionWithStatements(t)}if(Array.isArray(this.container))return T.call(this,t);if(this.isStatementOrBlock()){const e=this.node,n=e&&(!this.isExpressionStatement()||null!=e.expression);return this.replaceWith(f(n?[e]:[])),this.pushContainer("body",t)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},t.insertBefore=function(e){o._assertUnremoved.call(this);const t=I.call(this,e),{parentPath:n,parent:r}=this;if(n.isExpressionStatement()||n.isLabeledStatement()||v(r)||n.isExportDefaultDeclaration()&&this.isDeclaration())return n.insertBefore(t);if(this.isNodeType("Expression")&&!this.isJSXElement()||n.isForStatement()&&"init"===this.key)return this.node&&t.push(this.node),this.replaceExpressionWithStatements(t);if(Array.isArray(this.container))return w.call(this,t);if(this.isStatementOrBlock()){const e=this.node,n=e&&(!this.isExpressionStatement()||null!=e.expression);return this.replaceWith(f(n?[e]:[])),this.unshiftContainer("body",t)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},t.pushContainer=function(e,t){o._assertUnremoved.call(this);const n=I.call(this,t),r=this.node[e];return i.default.get({parentPath:this,parent:this.node,container:r,listKey:e,key:r.length}).setContext(this.context).replaceWithMultiple(n)},t.unshiftContainer=function(e,t){o._assertUnremoved.call(this),t=I.call(this,t);const n=i.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).setContext(this.context);return w.call(n,t)},t.updateSiblingKeys=P;var r=n(6266),i=n(2670),s=n(4537),o=n(7946),a=n(8135),l=n(2738);const{arrowFunctionExpression:c,assertExpression:u,assignmentExpression:p,blockStatement:f,callExpression:h,cloneNode:d,expressionStatement:m,isAssignmentExpression:g,isCallExpression:y,isExportNamedDeclaration:v,isExpression:b,isIdentifier:x,isSequenceExpression:S,isSuper:C,thisExpression:E}=a;function k(e,t){P.call(this,e,t.length);const n=[];this.container.splice(e,0,...t);for(let i=0;i<t.length;i++){var r;const t=e+i,o=this.getSibling(t);n.push(o),null!=(r=this.context)&&r.queue&&s.pushContext.call(o,this.context)}const i=s._getQueueContexts.call(this);for(const e of n){s.setScope.call(e),e.debug("Inserted.");for(const t of i)t.maybeQueue(e,!0)}return n}function w(e){return k.call(this,this.key,e)}function T(e){return k.call(this,this.key+1,e)}const _=e=>e[e.length-1];function A(e){return S(e.parent)&&(_(e.parent.expressions)!==e.node||A(e.parentPath))}function P(e,t){if(!this.parent)return;const n=(0,r.getCachedPaths)(this);if(n)for(const[,r]of n)"number"==typeof r.key&&r.container===this.container&&r.key>=e&&(r.key+=t)}function I(e){if(!e)return[];Array.isArray(e)||(e=[e]);for(let t=0;t<e.length;t++){const n=e[t];let r;if(n?"object"!=typeof n?r="contains a non-object node":n.type?n instanceof i.default&&(r="has a NodePath when it expected a raw object"):r="without a type":r="has falsy node",r){const e=Array.isArray(n)?"array":typeof n;throw new Error(`Node list ${r} with the index of ${t} and type of ${e}`)}}return e}t.hoist=function(e=this.scope){return new l.default(this,e).run()}},1199:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){let o;return t=e.code(t),a=>{const l=(0,r.normalizeReplacements)(a);return o||(o=(0,i.default)(e,t,n)),e.unwrap((0,s.default)(o,l))}};var r=n(5838),i=n(4131),s=n(2064)},1369:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7545);function i(e){var t=function(e){if("object"!=(0,r.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=(0,r.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},1593:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);return t?t.identifier.typeAnnotation?t.identifier.typeAnnotation:function(e,t,n){const r=[],s=[];let o=c(e,t,s);const a=p(e,t,n);if(a){const t=c(e,a.ifStatement);o=o.filter((e=>!t.includes(e))),r.push(a.typeAnnotation)}if(o.length){o.push(...s);for(const e of o)r.push(e.getTypeAnnotation())}if(r.length)return(0,i.createUnionType)(r)}(t,this,e.name):"undefined"===e.name?l():"NaN"===e.name||"Infinity"===e.name?a():void e.name};var r=n(8135),i=n(8252);const{BOOLEAN_NUMBER_BINARY_OPERATORS:s,createTypeAnnotationBasedOnTypeof:o,numberTypeAnnotation:a,voidTypeAnnotation:l}=r;function c(e,t,n){const r=e.constantViolations.slice();return r.unshift(e.path),r.filter((e=>{const r=(e=e.resolve())._guessExecutionStatusRelativeTo(t);return n&&"unknown"===r&&n.push(e),"before"===r}))}function u(e,t){const n=t.node.operator,r=t.get("right").resolve(),i=t.get("left").resolve();let l,c,u;if(i.isIdentifier({name:e})?l=r:r.isIdentifier({name:e})&&(l=i),l)return"==="===n?l.getTypeAnnotation():s.includes(n)?a():void 0;if("==="!==n&&"=="!==n)return;if(i.isUnaryExpression({operator:"typeof"})?(c=i,u=r):r.isUnaryExpression({operator:"typeof"})&&(c=r,u=i),!c)return;if(!c.get("argument").isIdentifier({name:e}))return;if(u=u.resolve(),!u.isLiteral())return;const p=u.node.value;return"string"==typeof p?o(p):void 0}function p(e,t,n){const r=function(e,t,n){let r;for(;r=t.parentPath;){if(r.isIfStatement()||r.isConditionalExpression()){if("test"===t.key)return;return r}if(r.isFunction()&&r.parentPath.scope.getBinding(n)!==e)return;t=r}}(e,t,n);if(!r)return;const s=[r.get("test")],o=[];for(let e=0;e<s.length;e++){const t=s[e];if(t.isLogicalExpression())"&&"===t.node.operator&&(s.push(t.get("left")),s.push(t.get("right")));else if(t.isBinaryExpression()){const e=u(n,t);e&&o.push(e)}}return o.length?{typeAnnotation:(0,i.createUnionType)(o),ifStatement:r}:p(e,r,n)}},1597:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.traverseNode=function(e,t,n,i,o,a,l){const c=s[e.type];if(!c)return!1;const u=new r.default(n,t,i,o);if(l)return(null==a||!a[o.parentKey])&&u.visitQueue([o]);for(const t of c)if((null==a||!a[t])&&u.visit(e,t))return!0;return!1};var r=n(6647),i=(n(2670),n(8135));n(4537);const{VISITOR_KEYS:s}=i},1799:(e,t,n)=>{"use strict";n.d(t,{D:()=>s});var r=n(3310),i=[".js",".jsx",".ts",".tsx"];function s(e,t,n){if(e.startsWith("/"))return o(e,n);if(e.startsWith("./")||e.startsWith("../")){var i,s=t.substring(0,t.lastIndexOf("/")),a=s?s.split("/"):[""],l=e.split("/"),c=(0,r.A)(l);try{for(c.s();!(i=c.n()).done;){var u=i.value;"."!==u&&(".."===u?a.length>0&&a.pop():a.push(u))}}catch(e){c.e(e)}finally{c.f()}return o(a.join("/"),n)}return e}function o(e,t){if(t.some((function(t){return t.filePath===e})))return e;var n,s=(0,r.A)(i);try{var o,a=function(){var r=n.value;if(t.some((function(t){return t.filePath==="".concat(e).concat(r)})))return{v:"".concat(e).concat(r)}};for(s.s();!(n=s.n()).done;)if(o=a())return o.v}catch(e){s.e(e)}finally{s.f()}return e}},1956:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenContext=void 0,t.isLastChild=function(e,t){const n=a[e.type];for(let r=n.length-1;r>=0;r--){const i=e[n[r]];if(i===t)return!0;if(Array.isArray(i)){let e=i.length-1;for(;e>=0&&null===i[e];)e--;return e>=0&&i[e]===t}if(i)return!1}return!1},t.needsParens=function(e,t,n,r){var i;return!!t&&(!(!f(t)||t.callee!==e||!y(e))||(c(t)?!(b(e)||l(e)&&b(e.callee)||h(e)):null==(i=m.get(e.type))?void 0:i(e,t,n,r)))},t.needsWhitespace=v,t.needsWhitespaceAfter=function(e,t){return v(e,t,2)},t.needsWhitespaceBefore=function(e,t){return v(e,t,1)};var r=n(899),i=n(5584),s=n(8135);const{FLIPPED_ALIAS_KEYS:o,VISITOR_KEYS:a,isCallExpression:l,isDecorator:c,isExpressionStatement:u,isMemberExpression:p,isNewExpression:f,isParenthesizedExpression:h}=s;function d(e){const t=new Map;function n(e,n){const r=t.get(e);t.set(e,r?function(e,t,i,s){var o;return null!=(o=r(e,t,i,s))?o:n(e,t,i,s)}:n)}for(const t of Object.keys(e)){const r=o[t];if(r)for(const i of r)n(i,e[t]);else n(t,e[t])}return t}t.TokenContext={normal:0,expressionStatement:1,arrowBody:2,exportDefault:4,arrowFlowReturnType:8,forInitHead:16,forInHead:32,forOfHead:64,forInOrInitHeadAccumulate:128,forInOrInitHeadAccumulatePassThroughMask:128};const m=d(i),g=d(r.nodes);function y(e){return!!l(e)||p(e)&&y(e.object)}function v(e,t,n){var r;if(!e)return!1;u(e)&&(e=e.expression);const i=null==(r=g.get(e.type))?void 0:r(e,t);return"number"==typeof i&&!!(i&n)}function b(e){switch(e.type){case"Identifier":return!0;case"MemberExpression":return!e.computed&&"Identifier"===e.property.type&&b(e.object);default:return!1}}},1969:function(e,t,n){!function(e,t,n){"use strict";function r(e,t){return t&&!t.endsWith("/")&&(t+="/"),n(e,t)}function i(e,t){for(let n=t;n<e.length;n++)if(!s(e[n]))return n;return e.length}function s(e){for(let t=1;t<e.length;t++)if(e[t][0]<e[t-1][0])return!1;return!0}function o(e,t){return t||(e=e.slice()),e.sort(a)}function a(e,t){return e[0]-t[0]}let l=!1;function c(e,t,n){for(let r=n+1;r<e.length&&e[r][0]===t;n=r++);return n}function u(e,t,n){for(let r=n-1;r>=0&&e[r][0]===t;n=r--);return n}function p(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function f(e,t,n,r){const{lastKey:i,lastNeedle:s,lastIndex:o}=n;let a=0,c=e.length-1;if(r===i){if(t===s)return l=-1!==o&&e[o][0]===t,o;t>=s?a=-1===o?0:o:c=o}return n.lastKey=r,n.lastNeedle=t,n.lastIndex=function(e,t,n,r){for(;n<=r;){const i=n+(r-n>>1),s=e[i][0]-t;if(0===s)return l=!0,i;s<0?n=i+1:r=i-1}return l=!1,n-1}(e,t,a,c)}function h(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function d(){return{__proto__:null}}function m(e){return"string"==typeof e?JSON.parse(e):e}function g(e,t,n,r,i,s,o,a,l,c,u){const{sections:p}=e;for(let e=0;e<p.length;e++){const{map:f,offset:h}=p[e];let d=c,m=u;if(e+1<p.length){const t=p[e+1].offset;d=Math.min(c,a+t.line),d===c?m=Math.min(u,l+t.column):d<c&&(m=l+t.column)}y(f,t,n,r,i,s,o,a+h.line,l+h.column,d,m)}}function y(e,t,n,r,i,s,o,a,l,c,u){const p=m(e);if("sections"in p)return g(...arguments);const f=new C(p,t),h=r.length,d=s.length,y=k(f),{resolvedSources:x,sourcesContent:S,ignoreList:E}=f;if(v(r,x),v(s,f.names),S)v(i,S);else for(let e=0;e<x.length;e++)i.push(null);if(E)for(let e=0;e<E.length;e++)o.push(E[e]+h);for(let e=0;e<y.length;e++){const t=a+e;if(t>c)return;const r=b(n,t),i=0===e?l:0,s=y[e];for(let e=0;e<s.length;e++){const n=s[e],o=i+n[0];if(t===c&&o>=u)return;if(1===n.length){r.push([o]);continue}const a=h+n[1],l=n[2],p=n[3];r.push(4===n.length?[o,a,l,p]:[o,a,l,p,d+n[4]])}}}function v(e,t){for(let n=0;n<t.length;n++)e.push(t[n])}function b(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}const x="`line` must be greater than 0 (lines start at line 1)",S="`column` must be greater than or equal to 0 (columns start at column 0)";class C{constructor(e,t){const n="string"==typeof e;if(!n&&e._decodedMemo)return e;const s=n?JSON.parse(e):e,{version:a,file:l,names:c,sourceRoot:u,sources:p,sourcesContent:f}=s;this.version=a,this.file=l,this.names=c||[],this.sourceRoot=u,this.sources=p,this.sourcesContent=f,this.ignoreList=s.ignoreList||s.x_google_ignoreList||void 0;const h=r(u||"",function(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t));this.resolvedSources=p.map((e=>r(e||"",h)));const{mappings:d}=s;"string"==typeof d?(this._encoded=d,this._decoded=void 0):(this._encoded=void 0,this._decoded=function(e,t){const n=i(e,0);if(n===e.length)return e;t||(e=e.slice());for(let r=n;r<e.length;r=i(e,r+1))e[r]=o(e[r],t);return e}(d,n)),this._decodedMemo={lastKey:-1,lastNeedle:-1,lastIndex:-1},this._bySources=void 0,this._bySourceMemos=void 0}}function E(e){var n,r;return null!==(n=(r=e)._encoded)&&void 0!==n?n:r._encoded=t.encode(e._decoded)}function k(e){var n;return(n=e)._decoded||(n._decoded=t.decode(e._encoded))}function w(e,t){const{sources:n,resolvedSources:r}=e;let i=n.indexOf(t);return-1===i&&(i=r.indexOf(t)),i}function T(e,t){const n=new C(_(e,[]),t);return n._decoded=e.mappings,n}function _(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t,ignoreList:e.ignoreList||e.x_google_ignoreList}}function A(e,t,n,r){return{source:e,line:t,column:n,name:r}}function P(e,t){return{line:e,column:t}}function I(e,t,n,r,i){let s=f(e,r,t,n);return l?s=(-1===i?c:u)(e,r,s):-1===i&&s++,-1===s||s===e.length?-1:s}function M(e,t,n,r,i,s){var o;if(--n<0)throw new Error(x);if(r<0)throw new Error(S);const{sources:a,resolvedSources:m}=e;let g=a.indexOf(t);if(-1===g&&(g=m.indexOf(t)),-1===g)return s?[]:P(null,null);const y=((o=e)._bySources||(o._bySources=function(e,t){const n=t.map(d);for(let r=0;r<e.length;r++){const i=e[r];for(let e=0;e<i.length;e++){const s=i[e];if(1===s.length)continue;const o=s[1],a=s[2],l=s[3],u=n[o],p=u[a]||(u[a]=[]),d=t[o];let m=c(p,l,f(p,l,d,a));d.lastIndex=++m,h(p,m,[l,r,s[0]])}}return n}(k(e),e._bySourceMemos=a.map(p))))[g][n];if(null==y)return s?[]:P(null,null);const v=e._bySourceMemos[g];if(s)return function(e,t,n,r,i){let s=I(e,t,n,r,1);if(l||-1!==i||s++,-1===s||s===e.length)return[];const o=l?r:e[s][0];l||(s=u(e,o,s));const a=c(e,o,s),p=[];for(;s<=a;s++){const t=e[s];p.push(P(t[1]+1,t[2]))}return p}(y,v,n,r,i);const b=I(y,v,n,r,i);if(-1===b)return P(null,null);const C=y[b];return P(C[1]+1,C[2])}e.AnyMap=function(e,t){const n=m(e);if(!("sections"in n))return new C(n,t);const r=[],i=[],s=[],o=[],a=[];return g(n,t,r,i,s,o,a,0,0,1/0,1/0),T({version:3,file:n.file,names:o,sources:i,sourcesContent:s,mappings:r,ignoreList:a})},e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=-1,e.TraceMap=C,e.allGeneratedPositionsFor=function(e,t){const{source:n,line:r,column:i,bias:s}=t;return M(e,n,r,i,s||-1,!0)},e.decodedMap=function(e){return _(e,k(e))},e.decodedMappings=k,e.eachMapping=function(e,t){const n=k(e),{names:r,resolvedSources:i}=e;for(let e=0;e<n.length;e++){const s=n[e];for(let n=0;n<s.length;n++){const o=s[n],a=e+1,l=o[0];let c=null,u=null,p=null,f=null;1!==o.length&&(c=i[o[1]],u=o[2]+1,p=o[3]),5===o.length&&(f=r[o[4]]),t({generatedLine:a,generatedColumn:l,source:c,originalLine:u,originalColumn:p,name:f})}}},e.encodedMap=function(e){return _(e,E(e))},e.encodedMappings=E,e.generatedPositionFor=function(e,t){const{source:n,line:r,column:i,bias:s}=t;return M(e,n,r,i,s||1,!1)},e.isIgnored=function(e,t){const{ignoreList:n}=e;if(null==n)return!1;const r=w(e,t);return-1!==r&&n.includes(r)},e.originalPositionFor=function(e,t){let{line:n,column:r,bias:i}=t;if(n--,n<0)throw new Error(x);if(r<0)throw new Error(S);const s=k(e);if(n>=s.length)return A(null,null,null,null);const o=s[n],a=I(o,e._decodedMemo,n,r,i||1);if(-1===a)return A(null,null,null,null);const l=o[a];if(1===l.length)return A(null,null,null,null);const{names:c,resolvedSources:u}=e;return A(u[l[1]],l[2]+1,l[3],5===l.length?c[l[4]]:null)},e.presortedDecodedMap=T,e.sourceContentFor=function(e,t){const{sourcesContent:n}=e;if(null==n)return null;const r=w(e,t);return-1===r?null:n[r]},e.traceSegment=function(e,t,n){const r=k(e);if(t>=r.length)return null;const i=r[t],s=I(i,e._decodedMemo,t,n,1);return-1===s?null:i[s]}}(t,n(4017),n(8079))},2005:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockStatement=function(e){var t;this.tokenChar(123);const n=this.enterDelimited(),r=null==(t=e.directives)?void 0:t.length;if(r){var i;const t=e.body.length?2:1;this.printSequence(e.directives,!0,t),null!=(i=e.directives[r-1].trailingComments)&&i.length||this.newline(t)}this.printSequence(e.body,!0),n(),this.rightBrace(e)},t.Directive=function(e){this.print(e.value),this.semicolon()},t.DirectiveLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.token(t);const{value:i}=e;if(r.test(i)){if(n.test(i))throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.");this.token(`'${i}'`)}else this.token(`"${i}"`)},t.File=function(e){e.program&&this.print(e.program.interpreter),this.print(e.program)},t.InterpreterDirective=function(e){this.token(`#!${e.value}`),this.newline(1,!0)},t.Placeholder=function(e){this.token("%%"),this.print(e.name),this.token("%%"),"Statement"===e.expectedNode&&this.semicolon()},t.Program=function(e){var t;this.noIndentInnerCommentsHere(),this.printInnerComments();const n=null==(t=e.directives)?void 0:t.length;if(n){var r;const t=e.body.length?2:1;this.printSequence(e.directives,void 0,t),null!=(r=e.directives[n-1].trailingComments)&&r.length||this.newline(t)}this.printSequence(e.body)};const n=/(?:^|[^\\])(?:\\\\)*'/,r=/(?:^|[^\\])(?:\\\\)*"/},2064:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=s(e.ast);return t&&(e.placeholders.forEach((e=>{if(!hasOwnProperty.call(t,e.name)){const t=e.name;throw new Error(`Error: No substitution given for "${t}". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set(['${t}'])}\n - { placeholderPattern: /^${t}$/ }`)}})),Object.keys(t).forEach((t=>{if(!e.placeholderNames.has(t))throw new Error(`Unknown substitution "${t}" given`)}))),e.placeholders.slice().reverse().forEach((e=>{try{var r;!function(e,t,n){e.isDuplicate&&(Array.isArray(n)?n=n.map((e=>s(e))):"object"==typeof n&&(n=s(n)));const{parent:r,key:h,index:d}=e.resolve(t);if("string"===e.type){if("string"==typeof n&&(n=p(n)),!n||!u(n))throw new Error("Expected string substitution")}else if("statement"===e.type)void 0===d?n?Array.isArray(n)?n=i(n):"string"==typeof n?n=a(l(n)):c(n)||(n=a(n)):n=o():n&&!Array.isArray(n)&&("string"==typeof n&&(n=l(n)),c(n)||(n=a(n)));else if("param"===e.type){if("string"==typeof n&&(n=l(n)),void 0===d)throw new Error("Assertion failure.")}else if("string"==typeof n&&(n=l(n)),Array.isArray(n))throw new Error("Cannot replace single expression with an array.");function m(e,t,n){const r=e[t];e[t]=n,"Identifier"!==r.type&&"Placeholder"!==r.type||(r.typeAnnotation&&(n.typeAnnotation=r.typeAnnotation),r.optional&&(n.optional=r.optional),r.decorators&&(n.decorators=r.decorators))}if(void 0===d)f(r,h,n),m(r,h,n);else{const t=r[h].slice();"statement"===e.type||"param"===e.type?null==n?t.splice(d,1):Array.isArray(n)?t.splice(d,1,...n):m(t,d,n):m(t,d,n),f(r,h,t),r[h]=t}}(e,n,null!=(r=t&&t[e.name])?r:null)}catch(t){throw t.message=`@babel/template placeholder "${e.name}": ${t.message}`,t}})),n};var r=n(8135);const{blockStatement:i,cloneNode:s,emptyStatement:o,expressionStatement:a,identifier:l,isStatement:c,isStringLiteral:u,stringLiteral:p,validate:f}=r},2235:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.generate=o;var r=n(9305),i=n(2475);function s(e,t,n){if(t.experimental_preserveFormat){if("string"!=typeof e)throw new Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!t.retainLines)throw new Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(t.compact&&"auto"!==t.compact)throw new Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(t.minified)throw new Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(t.jsescOption)throw new Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(n.tokens))throw new Error("`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.")}const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,preserveFormat:t.experimental_preserveFormat,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:null==t.comments||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},t.jsescOption),topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};var i;r.decoratorsBeforeExport=t.decoratorsBeforeExport,r.jsescOption.json=t.jsonCompatibleStrings,r.recordAndTupleSyntaxType=null!=(i=t.recordAndTupleSyntaxType)?i:"hash",r.minified?(r.compact=!0,r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)):r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.includes("@license")||e.includes("@preserve")),"auto"===r.compact&&(r.compact="string"==typeof e&&e.length>5e5,r.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${t.filename} as it exceeds the max of 500KB.`)),(r.compact||r.preserveFormat)&&(r.indent.adjustMultilineComment=!1);const{auxiliaryCommentBefore:s,auxiliaryCommentAfter:o,shouldPrintComment:a}=r;return s&&!a(s)&&(r.auxiliaryCommentBefore=void 0),o&&!a(o)&&(r.auxiliaryCommentAfter=void 0),r}function o(e,t={},n){const o=s(n,t,e),a=t.sourceMaps?new r.default(t,n):null;return new i.default(o,a,e.tokens,"string"==typeof n?n:null).generate(e)}t.CodeGenerator=class{constructor(e,t={},n){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=e,this._format=s(n,t,e),this._map=t.sourceMaps?new r.default(t,n):null}generate(){return new i.default(this._format,this._map).generate(this._ast)}},t.default=o},2387:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentPlaceholder=function(){this.tokenChar(63)},t.ArrayPattern=t.ArrayExpression=function(e){const t=e.elements,n=t.length;this.tokenChar(91);const r=this.enterDelimited();for(let e=0;e<t.length;e++){const r=t[e];r?(e>0&&this.space(),this.print(r),(e<n-1||this.shouldPrintTrailingComma("]"))&&this.token(",",!1,e)):this.token(",",!1,e)}r(),this.tokenChar(93)},t.BigIntLiteral=function(e){const t=this.getPossibleRaw(e);this.format.minified||void 0===t?this.word(e.value+"n"):this.word(t)},t.BooleanLiteral=function(e){this.word(e.value?"true":"false")},t.Identifier=function(e){var t;this.sourceIdentifierName((null==(t=e.loc)?void 0:t.identifierName)||e.name),this.word(this.tokenMap?this._getRawIdentifier(e):e.name)},t.NullLiteral=function(){this.word("null")},t.NumericLiteral=function(e){const t=this.getPossibleRaw(e),n=this.format.jsescOption,r=e.value,s=r+"";n.numbers?this.number(i(r,n),r):null==t?this.number(s,r):this.format.minified?this.number(t.length<s.length?t:s,r):this.number(t,r)},t.ObjectPattern=t.ObjectExpression=function(e){const t=e.properties;if(this.tokenChar(123),t.length){const e=this.enterDelimited();this.space(),this.printList(t,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),e()}this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)},t.ObjectMethod=function(e){this.printJoin(e.decorators),this._methodHead(e),this.space(),this.print(e.body)},t.ObjectProperty=function(e){if(this.printJoin(e.decorators),e.computed)this.tokenChar(91),this.print(e.key),this.tokenChar(93);else{if(s(e.value)&&o(e.key)&&e.key.name===e.value.left.name)return void this.print(e.value);if(this.print(e.key),e.shorthand&&o(e.key)&&o(e.value)&&e.key.name===e.value.name)return}this.tokenChar(58),this.space(),this.print(e.value)},t.PipelineBareFunction=function(e){this.print(e.callee)},t.PipelinePrimaryTopicReference=function(){this.tokenChar(35)},t.PipelineTopicExpression=function(e){this.print(e.expression)},t.RecordExpression=function(e){const t=e.properties;let n,r;if("bar"===this.format.recordAndTupleSyntaxType)n="{|",r="|}";else{if("hash"!==this.format.recordAndTupleSyntaxType&&null!=this.format.recordAndTupleSyntaxType)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);n="#{",r="}"}this.token(n),t.length&&(this.space(),this.printList(t,this.shouldPrintTrailingComma(r),!0,!0),this.space()),this.token(r)},t.RegExpLiteral=function(e){this.word(`/${e.pattern}/${e.flags}`)},t.SpreadElement=t.RestElement=function(e){this.token("..."),this.print(e.argument)},t.StringLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.token(t);const n=i(e.value,this.format.jsescOption);this.token(n)},t.TopicReference=function(){const{topicToken:e}=this.format;if(!c.has(e)){const t=JSON.stringify(e),n=Array.from(c,(e=>JSON.stringify(e)));throw new Error(`The "topicToken" generator option must be one of ${n.join(", ")} (${t} received instead).`)}this.token(e)},t.TupleExpression=function(e){const t=e.elements,n=t.length;let r,i;if("bar"===this.format.recordAndTupleSyntaxType)r="[|",i="|]";else{if("hash"!==this.format.recordAndTupleSyntaxType)throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);r="#[",i="]"}this.token(r);for(let e=0;e<t.length;e++){const r=t[e];r&&(e>0&&this.space(),this.print(r),(e<n-1||this.shouldPrintTrailingComma(i))&&this.token(",",!1,e))}this.token(i)},t._getRawIdentifier=function(e){if(e===a)return l;a=e;const{name:t}=e,n=this.tokenMap.find(e,(e=>e.value===t));return n?(l=this._originalCode.slice(n.start,n.end),l):l=e.name};var r=n(8135),i=n(8398);const{isAssignmentPattern:s,isIdentifier:o}=r;let a=null,l="";const c=new Set(["^^","@@","^","%","#"])},2475:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6405),i=n(1956),s=i,o=n(8135),a=n(6697),l=n(2798),c=n(8121);const{isExpression:u,isFunction:p,isStatement:f,isClassBody:h,isTSInterfaceBody:d,isTSEnumMember:m}=o,g=/e/i,y=/\.0+$/,v=/[\n\r\u2028\u2029]/,b=/[\n\r\u2028\u2029]|\*\//;function x(e){return"CommentLine"===e.type||v.test(e.value)}const{needsParens:S}=s;class C{constructor(e,t,n,s){this.tokenContext=i.TokenContext.normal,this._tokens=null,this._originalCode=null,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._noLineTerminator=!1,this._noLineTerminatorAfterNode=null,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._endsWithDiv=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.tokenMap=null,this._boundGetRawIdentifier=this._getRawIdentifier.bind(this),this._printSemicolonBeforeNextNode=-1,this._printSemicolonBeforeNextToken=-1,this.format=e,this._tokens=n,this._originalCode=s,this._indentRepeat=e.indent.style.length,this._inputMap=null==t?void 0:t._inputMap,this._buf=new r.default(t,e.indent.style[0])}enterForStatementInit(){return this.tokenContext|=i.TokenContext.forInitHead|i.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=i.TokenContext.normal}enterForXStatementInit(e){return e?(this.tokenContext|=i.TokenContext.forOfHead,null):(this.tokenContext|=i.TokenContext.forInHead|i.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=i.TokenContext.normal)}enterDelimited(){const e=this.tokenContext,t=this._noLineTerminatorAfterNode;return e&i.TokenContext.forInOrInitHeadAccumulate||null!==t?(this._noLineTerminatorAfterNode=null,this.tokenContext=i.TokenContext.normal,()=>{this._noLineTerminatorAfterNode=t,this.tokenContext=e}):()=>{}}generate(e){return this.format.preserveFormat&&(this.tokenMap=new a.TokenMap(e,this._tokens,this._originalCode)),this.print(e),this._maybeAddAuxComment(),this._buf.get()}indent(){const{format:e}=this;e.preserveFormat||e.compact||e.concise||this._indent++}dedent(){const{format:e}=this;e.preserveFormat||e.compact||e.concise||this._indent--}semicolon(e=!1){if(this._maybeAddAuxComment(),e)return this._appendChar(59),void(this._noLineTerminator=!1);if(this.tokenMap){const e=this._currentNode;if(null!=e.start&&null!=e.end){if(!this.tokenMap.endMatches(e,";"))return void(this._printSemicolonBeforeNextNode=this._buf.getCurrentLine());const t=this.tokenMap.getIndexes(this._currentNode);this._catchUpTo(this._tokens[t[t.length-1]].loc.start)}}this._queue(59),this._noLineTerminator=!1}rightBrace(e){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)}rightParens(e){this.sourceWithOffset("end",e.loc,-1),this.tokenChar(41)}space(e=!1){const{format:t}=this;if(!t.compact&&!t.preserveFormat)if(e)this._space();else if(this._buf.hasContent()){const e=this.getLastChar();32!==e&&10!==e&&this._space()}}word(e,t=!1){this.tokenContext&=i.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(e),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(e),(this._endsWithWord||this._endsWithDiv&&47===e.charCodeAt(0))&&this._space(),this._append(e,!1),this._endsWithWord=!0,this._noLineTerminator=t}number(e,t){this.word(e),this._endsWithInteger=Number.isInteger(t)&&!function(e){if(e.length>2&&48===e.charCodeAt(0)){const t=e.charCodeAt(1);return 98===t||111===t||120===t}return!1}(e)&&!g.test(e)&&!y.test(e)&&46!==e.charCodeAt(e.length-1)}token(e,t=!1,n=0){this.tokenContext&=i.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(e,n),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(e,n);const r=this.getLastChar(),s=e.charCodeAt(0);(33===r&&("--"===e||61===s)||43===s&&43===r||45===s&&45===r||46===s&&this._endsWithInteger)&&this._space(),this._append(e,t),this._noLineTerminator=!1}tokenChar(e){this.tokenContext&=i.TokenContext.forInOrInitHeadAccumulatePassThroughMask;const t=String.fromCharCode(e);this._maybePrintInnerComments(t),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(t);const n=this.getLastChar();(43===e&&43===n||45===e&&45===n||46===e&&this._endsWithInteger)&&this._space(),this._appendChar(e),this._noLineTerminator=!1}newline(e=1,t){if(!(e<=0)){if(!t){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space()}e>2&&(e=2),e-=this._buf.getNewlineCount();for(let t=0;t<e;t++)this._newline()}}endsWith(e){return this.getLastChar()===e}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(e,t){e?(this._catchUp("start",e),this._buf.exactSource(e,t)):t()}source(e,t){t&&(this._catchUp(e,t),this._buf.source(e,t))}sourceWithOffset(e,t,n){t&&!this.format.preserveFormat&&(this._catchUp(e,t),this._buf.sourceWithOffset(e,t,n))}sourceIdentifierName(e,t){if(!this._buf._canMarkIdName)return;const n=this._buf._sourcePosition;n.identifierNamePos=t,n.identifierName=e}_space(){this._queue(32)}_newline(){this._queue(10)}_catchUpToCurrentToken(e,t=0){const n=this.tokenMap.findMatching(this._currentNode,e,t);n&&this._catchUpTo(n.loc.start),-1!==this._printSemicolonBeforeNextToken&&this._printSemicolonBeforeNextToken===this._buf.getCurrentLine()&&(this._buf.appendChar(59),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1),this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1}_append(e,t){this._maybeIndent(e.charCodeAt(0)),this._buf.append(e,t),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(e){this._maybeIndent(e),this._buf.appendChar(e),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(e){this._maybeIndent(e),this._buf.queue(e),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(e){this._indent&&10!==e&&this.endsWith(10)&&this._buf.queueIndentation(this._getIndent())}_shouldIndent(e){if(this._indent&&10!==e&&this.endsWith(10))return!0}catchUp(e){if(!this.format.retainLines)return;const t=e-this._buf.getCurrentLine();for(let e=0;e<t;e++)this._newline()}_catchUp(e,t){const{format:n}=this;if(!n.preserveFormat)return void(n.retainLines&&null!=t&&t[e]&&this.catchUp(t[e].line));const r=null==t?void 0:t[e];null!=r&&this._catchUpTo(r)}_catchUpTo({line:e,column:t,index:n}){const r=e-this._buf.getCurrentLine();if(r>0&&this._noLineTerminator)return;for(let e=0;e<r;e++)this._newline();const i=r>0?t:t-this._buf.getCurrentColumn();if(i>0){const e=this._originalCode?this._originalCode.slice(n-i,n).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu," "):" ".repeat(i);this._append(e,!1)}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(e){this._noLineTerminator=!0,this.print(e)}print(e,t,n){var r,o,a;if(!e)return;this._endsWithInnerRaw=!1;const l=e.type,c=this.format,p=c.concise;e._compact&&(c.concise=!0);const f=this[l];if(void 0===f)throw new ReferenceError(`unknown node of type ${JSON.stringify(l)} with constructor ${JSON.stringify(e.constructor.name)}`);const h=this._currentNode;this._currentNode=e,this.tokenMap&&(this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode);const d=this._insideAux;this._insideAux=null==e.loc,this._maybeAddAuxComment(this._insideAux&&!d);const m=null==(r=e.extra)?void 0:r.parenthesized;let g=m&&c.preserveFormat||m&&c.retainFunctionParens&&"FunctionExpression"===l||S(e,h,this.tokenContext,c.preserveFormat?this._boundGetRawIdentifier:void 0);if(!g&&m&&null!=(o=e.leadingComments)&&o.length&&"CommentBlock"===e.leadingComments[0].type)switch(null==h?void 0:h.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(h.callee!==e)break;default:g=!0}let y,v,b=!1;var C;!g&&this._noLineTerminator&&(null!=(a=e.leadingComments)&&a.some(x)||this.format.retainLines&&e.loc&&e.loc.start.line>this._buf.getCurrentLine())&&(g=!0,b=!0),g||(t||(t=h&&this._noLineTerminatorAfterNode===h&&s.isLastChild(h,e)),t&&(null!=(C=e.trailingComments)&&C.some(x)?u(e)&&(g=!0):(y=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=e))),g&&(this.tokenChar(40),b&&this.indent(),this._endsWithInnerRaw=!1,this.tokenContext&i.TokenContext.forInOrInitHeadAccumulate&&(v=this.tokenContext,this.tokenContext=i.TokenContext.normal),y=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null),this._lastCommentLine=0,this._printLeadingComments(e,h);const E="Program"===l||"File"===l?null:e.loc;this.exactSource(E,f.bind(this,e,h)),g?(this._printTrailingComments(e,h),b&&(this.dedent(),this.newline()),this.tokenChar(41),this._noLineTerminator=t,v&&(this.tokenContext=v)):t&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(e,h)):this._printTrailingComments(e,h,n),this._currentNode=h,c.concise=p,this._insideAux=d,void 0!==y&&(this._noLineTerminatorAfterNode=y),this._endsWithInnerRaw=!1}_maybeAddAuxComment(e){e&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;const e=this.format.auxiliaryCommentBefore;e&&this._printComment({type:"CommentBlock",value:e},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;const e=this.format.auxiliaryCommentAfter;e&&this._printComment({type:"CommentBlock",value:e},0)}getPossibleRaw(e){const t=e.extra;if(null!=(null==t?void 0:t.raw)&&null!=t.rawValue&&e.value===t.rawValue)return t.raw}printJoin(e,t,n,r,i,s,o,a){if(null==e||!e.length)return;if(null==n&&this.format.retainLines){var l;const t=null==(l=e[0].loc)?void 0:l.start.line;null!=t&&t!==this._buf.getCurrentLine()&&(n=!0)}n&&this.indent();const c={addNewlines:s,nextNodeStartLine:0},u=null==r?void 0:r.bind(this),p=e.length;for(let n=0;n<p;n++){const r=e[n];var f;if(r&&(t&&this._printNewline(0===n,c),this.print(r,void 0,a||0),null==o||o(r,n),null!=u&&(n<p-1?u(n,!1):i&&u(n,!0)),t))if(null!=(f=r.trailingComments)&&f.length||(this._lastCommentLine=0),n+1===p)this.newline(1);else{var h;const t=e[n+1];c.nextNodeStartLine=(null==(h=t.loc)?void 0:h.start.line)||0,this._printNewline(!0,c)}}n&&this.dedent()}printAndIndentOnComments(e){const t=e.leadingComments&&e.leadingComments.length>0;t&&this.indent(),this.print(e),t&&this.dedent()}printBlock(e){const t=e.body;"EmptyStatement"!==t.type&&this.space(),this.print(t)}_printTrailingComments(e,t,n){const{innerComments:r,trailingComments:i}=e;null!=r&&r.length&&this._printComments(2,r,e,t,n),null!=i&&i.length&&this._printComments(2,i,e,t,n)}_printLeadingComments(e,t){const n=e.leadingComments;null!=n&&n.length&&this._printComments(0,n,e,t)}_maybePrintInnerComments(e,t){var n;this._endsWithInnerRaw&&this.printInnerComments(null==(n=this.tokenMap)?void 0:n.findMatching(this._currentNode,e,t)),this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(e){const t=this._currentNode,n=t.innerComments;if(null==n||!n.length)return;const r=this.endsWith(32),i=this._indentInnerComments,s=this._printedComments.size;i&&this.indent(),this._printComments(1,n,t,void 0,void 0,e),r&&s!==this._printedComments.size&&this.space(),i&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(e,t,n,r){this.printJoin(e,!0,null!=t&&t,void 0,void 0,r,void 0,n)}printList(e,t,n,r,i,s){this.printJoin(e,n,r,null!=i?i:E,t,void 0,s)}shouldPrintTrailingComma(e){if(!this.tokenMap)return null;const t=this.tokenMap.findLastIndex(this._currentNode,(t=>this.tokenMap.matchesOriginal(t,e)));return t<=0?null:this.tokenMap.matchesOriginal(this._tokens[t-1],",")}_printNewline(e,t){const n=this.format;if(n.retainLines||n.compact)return;if(n.concise)return void this.space();if(!e)return;const r=t.nextNodeStartLine,i=this._lastCommentLine;if(r>0&&i>0){const e=r-i;if(e>=0)return void this.newline(e||1)}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(e,t){if(e.ignore)return 0;if(this._printedComments.has(e))return 0;if(this._noLineTerminator&&b.test(e.value))return 2;if(t&&this.tokenMap){const n=this.tokenMap.find(this._currentNode,(t=>t.value===e.value));if(n&&n.start>t.start)return 2}return this._printedComments.add(e),this.format.shouldPrintComment(e.value)?1:0}_printComment(e,t){const n=this._noLineTerminator,r="CommentBlock"===e.type,i=r&&1!==t&&!this._noLineTerminator;i&&this._buf.hasContent()&&2!==t&&this.newline(1);const s=this.getLastChar();let o;if(91!==s&&123!==s&&40!==s&&this.space(),r){if(o=`/*${e.value}*/`,this.format.indent.adjustMultilineComment){var a;const t=null==(a=e.loc)?void 0:a.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");o=o.replace(e,"\n")}if(this.format.concise)o=o.replace(/\n(?!$)/g,"\n");else{let e=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(e+=this._getIndent()),o=o.replace(/\n(?!$)/g,`\n${" ".repeat(e)}`)}}}else o=n?`/*${e.value}*/`:`//${e.value}`;if(this._endsWithDiv&&this._space(),this.tokenMap){const{_printSemicolonBeforeNextToken:t,_printSemicolonBeforeNextNode:n}=this;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1,this.source("start",e.loc),this._append(o,r),this._printSemicolonBeforeNextNode=n,this._printSemicolonBeforeNextToken=t}else this.source("start",e.loc),this._append(o,r);r||n||this.newline(1,!0),i&&3!==t&&this.newline(1)}_printComments(e,t,n,r,i=0,s){const o=n.loc,a=t.length;let l=!!o;const c=l?o.start.line:0,u=l?o.end.line:0;let g=0,y=0;const b=this._noLineTerminator?function(){}:this.newline.bind(this);for(let o=0;o<a;o++){const x=t[o],S=this._shouldPrintComment(x,s);if(2===S){l=!1;break}if(l&&x.loc&&1===S){const t=x.loc.start.line,n=x.loc.end.line;if(0===e){let e=0;0===o?!this._buf.hasContent()||"CommentLine"!==x.type&&t===n||(e=y=1):e=t-g,g=n,b(e),this._printComment(x,1),o+1===a&&(b(Math.max(c-g,y)),g=c)}else if(1===e){const e=t-(0===o?c:g);g=n,b(e),this._printComment(x,1),o+1===a&&(b(Math.min(1,u-g)),g=u)}else{const e=t-(0===o?u-i:g);g=n,b(e),this._printComment(x,1)}}else{if(l=!1,1!==S)continue;if(1===a){const t=x.loc?x.loc.start.line===x.loc.end.line:!v.test(x.value),i=t&&!f(n)&&!h(r)&&!d(r)&&!m(n);0===e?this._printComment(x,i&&"ObjectExpression"!==n.type||t&&p(r,{body:n})?1:0):i&&2===e?this._printComment(x,1):this._printComment(x,0)}else 1!==e||"ObjectExpression"===n.type&&n.properties.length>1||"ClassBody"===n.type||"TSInterfaceBody"===n.type?this._printComment(x,0):this._printComment(x,0===o?2:o===a-1?3:0)}}2===e&&l&&g&&(this._lastCommentLine=g)}}function E(e,t){this.token(",",!1,e),t||this.space()}Object.assign(C.prototype,l),(0,c.addDeprecatedGenerators)(C),t.default=C},2658:(e,t,n)=>{"use strict";e.exports=n(2949)},2670:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SHOULD_STOP=t.SHOULD_SKIP=t.REMOVED=void 0;var r=n(4057),i=n(124),s=n(4),o=n(4683),a=n(8135),l=a,c=n(6266),u=n(2235),p=n(157),f=n(3810),h=n(4834),d=n(366),m=n(5460),g=n(4145),y=n(4537),v=y,b=n(7946),x=n(1064),S=n(3476),C=n(8418),E=n(7494);const{validate:k}=a,w=i("babel"),T=(t.REMOVED=1,t.SHOULD_STOP=2,t.SHOULD_SKIP=4,t.default=class e{constructor(e,t){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this._store=null,this.parent=t,this.hub=e,this.data=null,this.context=null,this.scope=null}get removed(){return(1&this._traverseFlags)>0}set removed(e){e?this._traverseFlags|=1:this._traverseFlags&=-2}get shouldStop(){return(2&this._traverseFlags)>0}set shouldStop(e){e?this._traverseFlags|=2:this._traverseFlags&=-3}get shouldSkip(){return(4&this._traverseFlags)>0}set shouldSkip(e){e?this._traverseFlags|=4:this._traverseFlags&=-5}static get({hub:t,parentPath:n,parent:r,container:i,listKey:s,key:o}){if(!t&&n&&(t=n.hub),!r)throw new Error("To get a node path the parent needs to exist");const a=i[o],l=c.getOrCreateCachedPaths(r,n);let u=l.get(a);return u||(u=new e(t,r),a&&l.set(a,u)),y.setup.call(u,n,i,s,o),u}getScope(e){return this.isScope()?new o.default(this):e}setData(e,t){return null==this.data&&(this.data=Object.create(null)),this.data[e]=t}getData(e,t){null==this.data&&(this.data=Object.create(null));let n=this.data[e];return void 0===n&&void 0!==t&&(n=this.data[e]=t),n}hasNode(){return null!=this.node}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,s.default)(this.node,e,this.scope,t,this)}set(e,t){k(this.node,e,t),this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let n=t.key;t.inList&&(n=`${t.listKey}[${n}]`),e.unshift(n)}while(t=t.parentPath);return e.join(".")}debug(e){w.enabled&&w(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){e||(this.listKey=null)}get parentKey(){return this.listKey||this.key}}),_={findParent:p.findParent,find:p.find,getFunctionParent:p.getFunctionParent,getStatementParent:p.getStatementParent,getEarliestCommonAncestorFrom:p.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:p.getDeepestCommonAncestorFrom,getAncestry:p.getAncestry,isAncestor:p.isAncestor,isDescendant:p.isDescendant,inType:p.inType,getTypeAnnotation:f.getTypeAnnotation,isBaseType:f.isBaseType,couldBeBaseType:f.couldBeBaseType,baseTypeStrictlyMatches:f.baseTypeStrictlyMatches,isGenericType:f.isGenericType,replaceWithMultiple:h.replaceWithMultiple,replaceWithSourceString:h.replaceWithSourceString,replaceWith:h.replaceWith,replaceExpressionWithStatements:h.replaceExpressionWithStatements,replaceInline:h.replaceInline,evaluateTruthy:d.evaluateTruthy,evaluate:d.evaluate,toComputedKey:m.toComputedKey,ensureBlock:m.ensureBlock,unwrapFunctionEnvironment:m.unwrapFunctionEnvironment,arrowFunctionToExpression:m.arrowFunctionToExpression,splitExportDeclaration:m.splitExportDeclaration,ensureFunctionName:m.ensureFunctionName,matchesPattern:g.matchesPattern,isStatic:g.isStatic,isNodeType:g.isNodeType,canHaveVariableDeclarationOrExpression:g.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:g.canSwapBetweenExpressionAndStatement,isCompletionRecord:g.isCompletionRecord,isStatementOrBlock:g.isStatementOrBlock,referencesImport:g.referencesImport,getSource:g.getSource,willIMaybeExecuteBefore:g.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:g._guessExecutionStatusRelativeTo,resolve:g.resolve,isConstantExpression:g.isConstantExpression,isInStrictMode:g.isInStrictMode,isDenylisted:v.isDenylisted,visit:v.visit,skip:v.skip,skipKey:v.skipKey,stop:v.stop,setContext:v.setContext,requeue:v.requeue,requeueComputedKeyAndDecorators:v.requeueComputedKeyAndDecorators,remove:b.remove,insertBefore:x.insertBefore,insertAfter:x.insertAfter,unshiftContainer:x.unshiftContainer,pushContainer:x.pushContainer,getOpposite:S.getOpposite,getCompletionRecords:S.getCompletionRecords,getSibling:S.getSibling,getPrevSibling:S.getPrevSibling,getNextSibling:S.getNextSibling,getAllNextSiblings:S.getAllNextSiblings,getAllPrevSiblings:S.getAllPrevSiblings,get:S.get,getAssignmentIdentifiers:S.getAssignmentIdentifiers,getBindingIdentifiers:S.getBindingIdentifiers,getOuterBindingIdentifiers:S.getOuterBindingIdentifiers,getBindingIdentifierPaths:S.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:S.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:C.shareCommentsWithSiblings,addComment:C.addComment,addComments:C.addComments};Object.assign(T.prototype,_),T.prototype.arrowFunctionToShadowed=m[String("arrowFunctionToShadowed")],Object.assign(T.prototype,{has:g[String("has")],is:g[String("is")],isnt:g[String("isnt")],equals:g[String("equals")],hoist:x[String("hoist")],updateSiblingKeys:x.updateSiblingKeys,call:v.call,isBlacklisted:v[String("isBlacklisted")],setScope:v.setScope,resync:v.resync,popContext:v.popContext,pushContext:v.pushContext,setup:v.setup,setKey:v.setKey}),T.prototype._guessExecutionStatusRelativeToDifferentFunctions=g._guessExecutionStatusRelativeTo,T.prototype._guessExecutionStatusRelativeToDifferentFunctions=g._guessExecutionStatusRelativeTo,Object.assign(T.prototype,{_getTypeAnnotation:f._getTypeAnnotation,_replaceWith:h._replaceWith,_resolve:g._resolve,_call:v._call,_resyncParent:v._resyncParent,_resyncKey:v._resyncKey,_resyncList:v._resyncList,_resyncRemoved:v._resyncRemoved,_getQueueContexts:v._getQueueContexts,_removeFromScope:b._removeFromScope,_callRemovalHooks:b._callRemovalHooks,_remove:b._remove,_markRemoved:b._markRemoved,_assertUnremoved:b._assertUnremoved,_containerInsert:x._containerInsert,_containerInsertBefore:x._containerInsertBefore,_containerInsertAfter:x._containerInsertAfter,_verifyNodeList:x._verifyNodeList,_getKey:S._getKey,_getPattern:S._getPattern});for(const e of l.TYPES){const t=`is${e}`,n=l[t];T.prototype[t]=function(e){return n(this.node,e)},T.prototype[`assert${e}`]=function(t){if(!n(this.node,t))throw new TypeError(`Expected node path of type ${e}`)}}Object.assign(T.prototype,E);for(const e of Object.keys(r))"_"!==e[0]&&(l.TYPES.includes(e)||l.TYPES.push(e))},2738:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(8135),i=r;const{react:s}=r,{cloneNode:o,jsxExpressionContainer:a,variableDeclaration:l,variableDeclarator:c}=i,u={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&s.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression())return;if("this"===e.node.name){let n=e.scope;do{if(n.path.isFunction()&&!n.path.isArrowFunctionExpression())break}while(n=n.parent);n&&t.breakOnScopePaths.push(n.path)}const n=e.scope.getBinding(e.node.name);if(n){for(const r of n.constantViolations)if(r.scope!==n.path.scope)return t.mutableBinding=!0,void e.stop();n===t.scope.getBinding(e.node.name)&&(t.bindings[e.node.name]=n)}}};t.default=class{constructor(e,t){this.breakOnScopePaths=void 0,this.bindings=void 0,this.mutableBinding=void 0,this.scopes=void 0,this.scope=void 0,this.path=void 0,this.attachAfter=void 0,this.breakOnScopePaths=[],this.bindings={},this.mutableBinding=!1,this.scopes=[],this.scope=t,this.path=e,this.attachAfter=!1}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const n=this.bindings[t];if(!e.bindingIdentifierEquals(t,n.identifier))return!1}return!0}getCompatibleScopes(){let e=this.path.scope;do{if(!this.isCompatibleScope(e))break;if(this.scopes.push(e),this.breakOnScopePaths.includes(e.path))break}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e&&(t=e.scope.parent),t.path.isProgram()||t.path.isFunction())for(const n of Object.keys(this.bindings)){if(!t.hasOwnBinding(n))continue;const r=this.bindings[n];if("param"!==r.kind&&"params"!==r.path.parentKey&&this.getAttachmentParentForPath(r.path).key>=e.key){this.attachAfter=!0,e=r.path;for(const t of r.constantViolations)this.getAttachmentParentForPath(t).key>e.key&&(e=t)}}return e}_getAttachmentPath(){const e=this.scopes.pop();if(e)if(e.path.isFunction()){if(!this.hasOwnParamBindings(e))return this.getNextScopeAttachmentParent();{if(this.scope===e)return;const t=e.path.get("body").get("body");for(let e=0;e<t.length;e++)if(!t[e].node._blockHoist)return t[e]}}else if(e.path.isProgram())return this.getNextScopeAttachmentParent()}getNextScopeAttachmentParent(){const e=this.scopes.pop();if(e)return this.getAttachmentParentForPath(e.path)}getAttachmentParentForPath(e){do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())return e}while(e=e.parentPath)}hasOwnParamBindings(e){for(const t of Object.keys(this.bindings)){if(!e.hasOwnBinding(t))continue;const n=this.bindings[t];if("param"===n.kind&&n.constant)return!0}return!1}run(){if(this.path.traverse(u,this),this.mutableBinding)return;this.getCompatibleScopes();const e=this.getAttachmentPath();if(!e)return;if(e.getFunctionParent()===this.path.getFunctionParent())return;let t=e.scope.generateUidIdentifier("ref");const n=c(t,this.path.node),r=this.attachAfter?"insertAfter":"insertBefore",[i]=e[r]([e.isVariableDeclarator()?n:l("var",[n])]),s=this.path.parentPath;return s.isJSXElement()&&this.path.container===s.node.children&&(t=a(t)),this.path.replaceWith(o(t)),e.isVariableDeclarator()?i.get("init"):i.get("declarations.0.init")}}},2798:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4403);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var i=n(6385);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var s=n(7734);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var o=n(9534);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var a=n(4564);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var l=n(8231);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var c=n(2387);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var u=n(3464);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var p=n(2005);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var f=n(5083);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var h=n(9919);Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}))},2949: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}}')},3135:(e,t,n)=>{"use strict";n.d(t,{k:()=>v,j:()=>g});var r=n(9740),i=n(3310),s=n(8135),o=n(5810),a=n(9403),l=n(6990),c=n(9074),u=n(8291),p=n(1799);function f(e,t,n,r){var i;if(!e.isReferencedIdentifier())return null;var s=e.node.name,o=e.scope.getBinding(s);if(!o)return null;if(null!==(i=r.componentBindings)&&void 0!==i&&i.has(o.identifier))return{type:"local",name:s};if("module"===o.kind){if(o.path.isImportSpecifier()&&o.path.parentPath.isImportDeclaration()){var a=o.path.get("imported");if(!a.isIdentifier())return t.errors.push({message:"Unsupported import specifier type: ".concat(a.type),node:a.node,severity:"error"}),null;var l=o.path.parentPath.get("source");return{type:"imported",name:a.node.name,importSource:(0,p.D)(l.node.value,t.filePath,n.files)}}if(o.path.isImportDefaultSpecifier()&&o.path.parentPath.isImportDeclaration()){var c=o.path.parentPath.get("source");return{type:"imported",importSource:(0,p.D)(c.node.value,t.filePath,n.files)}}}return t.errors.push({message:'Unsupported component binding for "'.concat(s,'"'),node:o.identifier,severity:"error"}),null}var h=n(689),d=n(3705),m=n(7927);function g(e,t,n,p){var g=e.get("openingElement"),b=g.get("name");if("app"===n.appType&&("page"===t.moduleType||"entry"===t.moduleType)&&b.isJSXMemberExpression()){var x=b.get("object"),S=b.get("property");return x.isJSXIdentifier()?"Provider"!==S.node.name?(t.errors.push({message:"Unsupported JSX Member Expression property: ".concat(S.node.name,'. Only "Provider" is supported.'),node:S.node,severity:"error"}),null):function(e,t,n,s,o){var a=(0,m.lr)(t,n,s,o),c=e.get("children").flatMap((function(e){return(0,l.o)(e,n,s,o)}));if(!a)return c;var u,p,f,g=e.get("openingElement"),y=(0,i.A)(g.get("attributes"));try{for(y.s();!(p=y.n()).done;){var v=p.value;if(v.isJSXSpreadAttribute())n.errors.push({message:"Spread attributes are not supported in component",node:v.node,severity:"error"});else{var b=v.get("name");if(b.isJSXIdentifier()){var x=b.node.name;"value"===x?u=v.get("value"):n.errors.push({message:'Unsupported attribute "'.concat(x,'" in Context Provider'),node:v.node,severity:"error"})}else n.errors.push({message:"Expected JSXIdentifier, but got ".concat(b.node.type),node:b.node,severity:"error"})}}}catch(e){y.e(e)}finally{y.f()}if(!u)return n.errors.push({message:'Context Provider is missing required "value" attribute',node:g.node,severity:"error"}),c;if(!u.isJSXExpressionContainer())return n.errors.push({message:"Expected JSXExpressionContainer, but got ".concat(null===(f=u.node)||void 0===f?void 0:f.type),node:u.node,severity:"error"}),c;var S=u.get("expression");if(!S.isObjectExpression())return n.errors.push({message:'Context Provider "value" must be an object expression, but got '.concat(S.node.type),node:S.node,severity:"error"}),c;var C,E=S.get("properties"),k=new Map,w=new Map,T=(0,i.A)(E);try{for(T.s();!(C=T.n()).done;){var _=C.value;if(_.isObjectProperty())if(_.node.computed)n.errors.push({message:"Context Provider value property cannot be computed",node:_.node,severity:"error"});else if(_.node.shorthand){var A,P=_.get("value"),I=P.scope.getBindingIdentifier(P.node.name),M=void 0;if(I&&(M=null===(A=o.component)||void 0===A?void 0:A.bindingMap.get(I)),M)switch(M.kind){case"setState":k.set(P.node.name,M.id.name);break;case"state":w.set(P.node.name,M.id.name);break;default:n.errors.push({message:'Unsupported binding kind "'.concat(M.kind,'" for Context Provider value property "').concat(P.node.name,'"'),node:P.node,severity:"error"});continue}else n.errors.push({message:'No binding found for Context Provider value property "'.concat(P.node.name,'"'),node:P.node,severity:"error"})}else n.errors.push({message:"Context Provider value property must use shorthand syntax",node:_.node,severity:"error"});else n.errors.push({message:"Unsupported property type in Context Provider value: ".concat(_.type),node:_.node,severity:"error"})}}catch(e){T.e(e)}finally{T.f()}return 0===k.size?c:[{type:"component",component:(0,r.A)({name:"eo-event-agent",portal:!0,properties:{id:(0,m.bQ)(a.name)},events:{trigger:(0,d.A)(k).map((function(e){var t=(0,h.A)(e,2),n=t[0],r=t[1];return{action:"conditional",payload:{test:"<% EVENT.detail.name === ".concat(JSON.stringify(n)," %>"),consequent:{action:"update_variable",payload:{name:r,value:"<% EVENT.detail.value %>"}},alternate:null}}}))}},w.size>0?{context:(0,d.A)(w).map((function(e){var t=(0,h.A)(e,2),n=t[0],r=t[1];return{name:(0,m.as)(a.name,n),value:"<% CTX.".concat(r," %>"),track:!0}}))}:void 0)}].concat((0,d.A)(c))}(e,x,t,n,p):(t.errors.push({message:"When using JSX Member Expression, only JSX Identifier is allowed as object, but got: ".concat(x.type),node:x.node,severity:"error"}),null)}if(!b.isJSXIdentifier())return t.errors.push({message:"Unsupported JSX element name type: ".concat(b.type),node:b.node,severity:"error"}),null;if((0,u.cv)(b,"Fragment")){var C,E=(0,i.A)(g.node.attributes);try{for(E.s();!(C=E.n()).done;){var k=C.value;s.isJSXAttribute(k)&&s.isJSXIdentifier(k.name)&&"key"===k.name.name||t.errors.push({message:"Invalid attribute for Fragment",node:k,severity:"error"})}}catch(e){E.e(e)}finally{E.f()}return e.get("children").flatMap((function(e){return(0,l.o)(e,t,n,p)}))}var w,T,_,A,P,I=f(b,t,n,p),M={},O=(0,u.cv)(b,"Route"),F=(0,i.A)(g.get("attributes"));try{for(F.s();!(P=F.n()).done;){var B=P.value;if(B.isJSXSpreadAttribute())t.errors.push({message:"Spread attributes are not supported in component",node:B.node,severity:"error"});else{var D=B.get("name");if(D.isJSXIdentifier()){var L=D.node.name;if("key"!==L){var N=B.get("value");if(O)if("component"===L){if(!N.isJSXExpressionContainer()){var j,R;t.errors.push({message:'The "component" attribute in Route expects a JSXExpressionContainer, but got '.concat(null===(j=N.node)||void 0===j?void 0:j.type),node:null!==(R=N.node)&&void 0!==R?R:N.parent,severity:"error"});continue}var W=N.get("expression");if(!W.isIdentifier()){t.errors.push({message:'The "component" attribute in Route expects an identifier, but got '.concat(W.node.type),node:W.node,severity:"error"});continue}var U=f(W,t,n,p);if(!U){t.errors.push({message:'The component "'.concat(W.node.name,'" is not defined'),node:W.node,severity:"error"});continue}M.component={name:W.node.name,reference:U}}else if("path"===L){if(!N.isStringLiteral()){var V,H;t.errors.push({message:'The "path" attribute in Route expects a string literal, but got '.concat(null===(V=N.node)||void 0===V?void 0:V.type),node:null!==(H=N.node)&&void 0!==H?H:N.parent,severity:"error"});continue}M.path=N.node.value}else t.errors.push({message:'Unsupported attribute "'.concat(L,'" in Route'),node:D.node,severity:"error"});else if("ref"!==L)if("slot"!==L)if(/^on[A-Z]/.test(L)){if(!N.isJSXExpressionContainer()){var q,G;t.errors.push({message:'Event handler "'.concat(L,'" expects a JSXExpressionContainer, but got ').concat(null===(q=N.node)||void 0===q?void 0:q.type),node:null!==(G=N.node)&&void 0!==G?G:N.parent,severity:"error"});continue}var K=N.get("expression");if(K.isJSXEmptyExpression()){t.errors.push({message:"Empty expression in events is not allowed",node:K.node,severity:"warning"});continue}var $=null;if(K.isIdentifier()){var J=K.scope.getBindingIdentifier(K.node.name);if(J){var X,Q=null===(X=p.component)||void 0===X?void 0:X.bindingMap.get(J);Q&&"eventHandler"===Q.kind&&($=[{action:"dispatch_event",payload:{type:v(Q.id.name),detail:"<% EVENT.detail %>"}}])}}$||($=(0,c.w)(K,t,n,p)),$&&("onMount"===L||"onUnmount"===L?(null!=T||(T={}),T[L]=$):(null!=w||(w={}),w[v(L)]=$))}else if(null==N.node)M[L]=!0;else if(N.isStringLiteral())M[L]=N.node.value;else if(N.isJSXExpressionContainer()){var z=N.get("expression");z.isJSXEmptyExpression()?t.errors.push({message:'Empty expression in JSX attribute "'.concat(L,'" is not allowed'),node:z.node,severity:"warning"}):M[L]=(0,o.s)(z,t,n,(0,r.A)((0,r.A)({},p),{},{allowUseBrick:!0,modifier:"="}))}else t.errors.push({message:"Unsupported attribute value type in component: ".concat(N.node.type),node:N.node,severity:"error"});else{if(!N.isStringLiteral()){var Y,Z;t.errors.push({message:'The "slot" attribute in component expects a string literal, but got '.concat(null===(Y=N.node)||void 0===Y?void 0:Y.type),node:null!==(Z=N.node)&&void 0!==Z?Z:N.parent,severity:"error"});continue}A=N.node.value}else _=y(N,t,p)}}else t.errors.push({message:"Expected JSXIdentifier, but got ".concat(D.node.type),node:D.node,severity:"error"})}}}catch(e){F.e(e)}finally{F.f()}var ee=(0,a.X)(e.get("children"),t,n,p),te=ee.textContent,ne=ee.children;return te&&(M.textContent=te),{type:"component",component:{name:b.node.name,reference:I,properties:M,ref:_,slot:A,events:w,lifeCycle:T,children:ne}}}function y(e,t,n){if(e.isJSXExpressionContainer()){var r=e.get("expression");if(r.isIdentifier()){var i,s,o=r.node.name,a=r.scope.getBindingIdentifier(o);if(a&&(i=null===(s=n.component)||void 0===s?void 0:s.bindingMap.get(a)),i){if("ref"===i.kind)return i.id.name;t.errors.push({message:'The variable "'.concat(o,'" is not a ref, but a ').concat(i.kind),node:e.node,severity:"error"})}else t.errors.push({message:'The ref "'.concat(o,'" is not defined'),node:e.node,severity:"error"})}else t.errors.push({message:'The "ref" attribute in component expects an identifier, but got '.concat(r.node.type),node:r.node,severity:"error"})}else{var l,c;t.errors.push({message:'The "ref" attribute in component expects a JSXExpressionContainer, but got '.concat(null===(l=e.node)||void 0===l?void 0:l.type),node:null!==(c=e.node)&&void 0!==c?c:e.parent,severity:"error"})}}function v(e){return e.slice(2).replace(/([a-z])([A-Z])/g,"$1.$2").toLowerCase()}},3310:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7985);function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,r.A)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,s=function(){};return{s,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}},3464:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnyTypeAnnotation=function(){this.word("any")},t.ArrayTypeAnnotation=function(e){this.print(e.elementType,!0),this.tokenChar(91),this.tokenChar(93)},t.BooleanLiteralTypeAnnotation=function(e){this.word(e.value?"true":"false")},t.BooleanTypeAnnotation=function(){this.word("boolean")},t.DeclareClass=function(e,t){a(t)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(e)},t.DeclareExportAllDeclaration=function(e){this.word("declare"),this.space(),i.ExportAllDeclaration.call(this,e)},t.DeclareExportDeclaration=function(e){this.word("declare"),this.space(),this.word("export"),this.space(),e.default&&(this.word("default"),this.space()),f.call(this,e)},t.DeclareFunction=function(e,t){a(t)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(e.id),this.print(e.id.typeAnnotation.typeAnnotation),e.predicate&&(this.space(),this.print(e.predicate)),this.semicolon()},t.DeclareInterface=function(e){this.word("declare"),this.space(),this.InterfaceDeclaration(e)},t.DeclareModule=function(e){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(e.id),this.space(),this.print(e.body)},t.DeclareModuleExports=function(e){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(e.typeAnnotation)},t.DeclareOpaqueType=function(e,t){a(t)||(this.word("declare"),this.space()),this.OpaqueType(e)},t.DeclareTypeAlias=function(e){this.word("declare"),this.space(),this.TypeAlias(e)},t.DeclareVariable=function(e,t){a(t)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(e.id),this.print(e.id.typeAnnotation),this.semicolon()},t.DeclaredPredicate=function(e){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(e.value),this.tokenChar(41)},t.EmptyTypeAnnotation=function(){this.word("empty")},t.EnumBooleanBody=function(e){const{explicitType:t}=e;c(this,"boolean",t),u(this,e)},t.EnumBooleanMember=function(e){p(this,e)},t.EnumDeclaration=function(e){const{id:t,body:n}=e;this.word("enum"),this.space(),this.print(t),this.print(n)},t.EnumDefaultedMember=function(e){const{id:t}=e;this.print(t),this.tokenChar(44)},t.EnumNumberBody=function(e){const{explicitType:t}=e;c(this,"number",t),u(this,e)},t.EnumNumberMember=function(e){p(this,e)},t.EnumStringBody=function(e){const{explicitType:t}=e;c(this,"string",t),u(this,e)},t.EnumStringMember=function(e){p(this,e)},t.EnumSymbolBody=function(e){c(this,"symbol",!0),u(this,e)},t.ExistsTypeAnnotation=function(){this.tokenChar(42)},t.FunctionTypeAnnotation=function(e,t){this.print(e.typeParameters),this.tokenChar(40),e.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(e.this.typeAnnotation),(e.params.length||e.rest)&&(this.tokenChar(44),this.space())),this.printList(e.params),e.rest&&(e.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(e.rest)),this.tokenChar(41);const n=null==t?void 0:t.type;null!=n&&("ObjectTypeCallProperty"===n||"ObjectTypeInternalSlot"===n||"DeclareFunction"===n||"ObjectTypeProperty"===n&&t.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(e.returnType)},t.FunctionTypeParam=function(e){this.print(e.name),e.optional&&this.tokenChar(63),e.name&&(this.tokenChar(58),this.space()),this.print(e.typeAnnotation)},t.IndexedAccessType=function(e){this.print(e.objectType,!0),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)},t.InferredPredicate=function(){this.tokenChar(37),this.word("checks")},t.InterfaceDeclaration=function(e){this.word("interface"),this.space(),this._interfaceish(e)},t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=function(e){this.print(e.id),this.print(e.typeParameters,!0)},t.InterfaceTypeAnnotation=function(e){var t;this.word("interface"),null!=(t=e.extends)&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends)),this.space(),this.print(e.body)},t.IntersectionTypeAnnotation=function(e){this.printJoin(e.types,void 0,void 0,h)},t.MixedTypeAnnotation=function(){this.word("mixed")},t.NullLiteralTypeAnnotation=function(){this.word("null")},t.NullableTypeAnnotation=function(e){this.tokenChar(63),this.print(e.typeAnnotation)},Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return o.NumericLiteral}}),t.NumberTypeAnnotation=function(){this.word("number")},t.ObjectTypeAnnotation=function(e){e.exact?this.token("{|"):this.tokenChar(123);const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];t.length&&(this.newline(),this.space(),this.printJoin(t,!0,!0,void 0,void 0,(function(e){if(e&&!t[0])return 1}),(()=>{(1!==t.length||e.inexact)&&(this.tokenChar(44),this.space())})),this.space()),e.inexact&&(this.indent(),this.token("..."),t.length&&this.newline(),this.dedent()),e.exact?this.token("|}"):this.tokenChar(125)},t.ObjectTypeCallProperty=function(e){e.static&&(this.word("static"),this.space()),this.print(e.value)},t.ObjectTypeIndexer=function(e){e.static&&(this.word("static"),this.space()),this._variance(e),this.tokenChar(91),e.id&&(this.print(e.id),this.tokenChar(58),this.space()),this.print(e.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(e.value)},t.ObjectTypeInternalSlot=function(e){e.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(e.id),this.tokenChar(93),this.tokenChar(93),e.optional&&this.tokenChar(63),e.method||(this.tokenChar(58),this.space()),this.print(e.value)},t.ObjectTypeProperty=function(e){e.proto&&(this.word("proto"),this.space()),e.static&&(this.word("static"),this.space()),"get"!==e.kind&&"set"!==e.kind||(this.word(e.kind),this.space()),this._variance(e),this.print(e.key),e.optional&&this.tokenChar(63),e.method||(this.tokenChar(58),this.space()),this.print(e.value)},t.ObjectTypeSpreadProperty=function(e){this.token("..."),this.print(e.argument)},t.OpaqueType=function(e){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(e.id),this.print(e.typeParameters),e.supertype&&(this.tokenChar(58),this.space(),this.print(e.supertype)),e.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(e.impltype)),this.semicolon()},t.OptionalIndexedAccessType=function(e){this.print(e.objectType),e.optional&&this.token("?."),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)},t.QualifiedTypeIdentifier=function(e){this.print(e.qualification),this.tokenChar(46),this.print(e.id)},Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return o.StringLiteral}}),t.StringTypeAnnotation=function(){this.word("string")},t.SymbolTypeAnnotation=function(){this.word("symbol")},t.ThisTypeAnnotation=function(){this.word("this")},t.TupleTypeAnnotation=function(e){this.tokenChar(91),this.printList(e.types),this.tokenChar(93)},t.TypeAlias=function(e){this.word("type"),this.space(),this.print(e.id),this.print(e.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(e.right),this.semicolon()},t.TypeAnnotation=function(e,t){this.tokenChar(58),this.space(),"ArrowFunctionExpression"===t.type?this.tokenContext|=s.TokenContext.arrowFlowReturnType:e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)},t.TypeCastExpression=function(e){this.tokenChar(40),this.print(e.expression),this.print(e.typeAnnotation),this.tokenChar(41)},t.TypeParameter=function(e){this._variance(e),this.word(e.name),e.bound&&this.print(e.bound),e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default))},t.TypeParameterDeclaration=t.TypeParameterInstantiation=function(e){this.tokenChar(60),this.printList(e.params),this.tokenChar(62)},t.TypeofTypeAnnotation=function(e){this.word("typeof"),this.space(),this.print(e.argument)},t.UnionTypeAnnotation=function(e){this.printJoin(e.types,void 0,void 0,d)},t.Variance=function(e){"plus"===e.kind?this.tokenChar(43):this.tokenChar(45)},t.VoidTypeAnnotation=function(){this.word("void")},t._interfaceish=function(e){var t,n,r;(this.print(e.id),this.print(e.typeParameters),null!=(t=e.extends)&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends)),"DeclareClass"===e.type)&&(null!=(n=e.mixins)&&n.length&&(this.space(),this.word("mixins"),this.space(),this.printList(e.mixins)),null!=(r=e.implements)&&r.length&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements)));this.space(),this.print(e.body)},t._variance=function(e){var t;const n=null==(t=e.variance)?void 0:t.kind;null!=n&&("plus"===n?this.tokenChar(43):"minus"===n&&this.tokenChar(45))};var r=n(8135),i=n(8231),s=n(1956),o=n(2387);const{isDeclareExportDeclaration:a,isStatement:l}=r;function c(e,t,n){n&&(e.space(),e.word("of"),e.space(),e.word(t)),e.space()}function u(e,t){const{members:n}=t;e.token("{"),e.indent(),e.newline();for(const t of n)e.print(t),e.newline();t.hasUnknownMembers&&(e.token("..."),e.newline()),e.dedent(),e.token("}")}function p(e,t){e.print(t.id),e.space(),e.token("="),e.space(),e.print(t.init),e.token(",")}function f(e){if(e.declaration){const t=e.declaration;this.print(t),l(t)||this.semicolon()}else this.tokenChar(123),e.specifiers.length&&(this.space(),this.printList(e.specifiers),this.space()),this.tokenChar(125),e.source&&(this.space(),this.word("from"),this.space(),this.print(e.source)),this.semicolon()}function h(e){this.space(),this.token("&",!1,e),this.space()}function d(e){this.space(),this.token("|",!1,e),this.space()}},3476:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getKey=y,t._getPattern=v,t.get=function(e,t=!0){!0===t&&(t=this.context);const n=e.split(".");return 1===n.length?y.call(this,e,t):v.call(this,n,t)},t.getAllNextSiblings=function(){let e=this.key,t=this.getSibling(++e);const n=[];for(;t.node;)n.push(t),t=this.getSibling(++e);return n},t.getAllPrevSiblings=function(){let e=this.key,t=this.getSibling(--e);const n=[];for(;t.node;)n.push(t),t=this.getSibling(--e);return n},t.getAssignmentIdentifiers=function(){return s(this.node)},t.getBindingIdentifierPaths=function(e=!1,t=!1){const n=[this],r=Object.create(null);for(;n.length;){const i=n.shift();if(!i)continue;if(!i.node)continue;const s=o.keys[i.node.type];if(i.isIdentifier())e?(r[i.node.name]=r[i.node.name]||[]).push(i):r[i.node.name]=i;else if(i.isExportDeclaration()){const e=i.get("declaration");e.isDeclaration()&&n.push(e)}else{if(t){if(i.isFunctionDeclaration()){n.push(i.get("id"));continue}if(i.isFunctionExpression())continue}if(s)for(let e=0;e<s.length;e++){const t=s[e],r=i.get(t);Array.isArray(r)?n.push(...r):r.node&&n.push(r)}}}return r},t.getBindingIdentifiers=function(e){return o(this.node,e)},t.getCompletionRecords=function(e=!1){return g(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1,shouldPreserveBreak:e}).map((e=>e.path))},t.getNextSibling=function(){return this.getSibling(this.key+1)},t.getOpposite=function(){return"left"===this.key?this.getSibling("right"):"right"===this.key?this.getSibling("left"):null},t.getOuterBindingIdentifierPaths=function(e=!1){return this.getBindingIdentifierPaths(e,!0)},t.getOuterBindingIdentifiers=function(e){return a(this.node,e)},t.getPrevSibling=function(){return this.getSibling(this.key-1)},t.getSibling=function(e){return r.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)};var r=n(2670),i=n(8135);const{getAssignmentIdentifiers:s,getBindingIdentifiers:o,getOuterBindingIdentifiers:a,numericLiteral:l,unaryExpression:c}=i,u=0,p=1;function f(e,t,n){return e&&t.push(...g(e,n)),t}function h(e){e.forEach((e=>{e.type=p}))}function d(e,t){e.forEach((e=>{e.path.isBreakStatement({label:null})&&(t?e.path.replaceWith(c("void",l(0))):e.path.remove())}))}function m(e,t){const n=[];if(t.canHaveBreak){let r=[];for(let i=0;i<e.length;i++){const s=e[i],o=Object.assign({},t,{inCaseClause:!1});s.isBlockStatement()&&(t.inCaseClause||t.shouldPopulateBreak)?o.shouldPopulateBreak=!0:o.shouldPopulateBreak=!1;const a=g(s,o);if(a.length>0&&a.every((e=>e.type===p))){r.length>0&&a.every((e=>e.path.isBreakStatement({label:null})))?(h(r),n.push(...r),r.some((e=>e.path.isDeclaration()))&&(n.push(...a),t.shouldPreserveBreak||d(a,!0)),t.shouldPreserveBreak||d(a,!1)):(n.push(...a),t.shouldPopulateBreak||t.shouldPreserveBreak||d(a,!0));break}if(i===e.length-1)n.push(...a);else{r=[];for(let e=0;e<a.length;e++){const t=a[e];t.type===p&&n.push(t),t.type===u&&r.push(t)}}}}else if(e.length)for(let r=e.length-1;r>=0;r--){const i=g(e[r],t);if(i.length>1||1===i.length&&!i[0].path.isVariableDeclaration()&&!i[0].path.isEmptyStatement()){n.push(...i);break}}return n}function g(e,t){let n=[];if(e.isIfStatement())n=f(e.get("consequent"),n,t),n=f(e.get("alternate"),n,t);else{if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement())return f(e.get("body"),n,t);if(e.isProgram()||e.isBlockStatement())return m(e.get("body"),t);if(e.isFunction())return g(e.get("body"),t);if(e.isTryStatement())n=f(e.get("block"),n,t),n=f(e.get("handler"),n,t);else{if(e.isCatchClause())return f(e.get("body"),n,t);if(e.isSwitchStatement())return function(e,t,n){let r=[];for(let i=0;i<e.length;i++){const s=g(e[i],n),o=[],a=[];for(const e of s)e.type===u&&o.push(e),e.type===p&&a.push(e);o.length&&(r=o),t.push(...a)}return t.push(...r),t}(e.get("cases"),n,t);if(e.isSwitchCase())return m(e.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0,shouldPreserveBreak:t.shouldPreserveBreak});e.isBreakStatement()?n.push(function(e){return{type:p,path:e}}(e)):n.push(function(e){return{type:u,path:e}}(e))}}return n}function y(e,t){const n=this.node,i=n[e];return Array.isArray(i)?i.map(((s,o)=>r.default.get({listKey:e,parentPath:this,parent:n,container:i,key:o}).setContext(t))):r.default.get({parentPath:this,parent:n,container:n,key:e}).setContext(t)}function v(e,t){let n=this;for(const r of e)n="."===r?n.parentPath:Array.isArray(n)?n[r]:n.get(r,t);return n}},3705:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6284),i=n(4430),s=n(7985);function o(e){return function(e){if(Array.isArray(e))return(0,r.A)(e)}(e)||(0,i.A)(e)||(0,s.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},3738:(e,t,n)=>{"use strict";n.d(t,{S:()=>c});var r=n(7545),i=n(3310),s=n(5810),o=n(8291),a=n(9978),l=new Map([["callApi",[2,3]],["callHttp",[1,2]],["callTool",[2,3]]]);function c(e,t,n,c){if(!(0,o.X5)(e))return t.errors.push({message:"Expect a call expression here, received ".concat(e.node.type),node:e.node,severity:"error"}),null;var u,p=e.get("callee");if(!p.isIdentifier())return t.errors.push({message:"Expect an identifier here, received ".concat(p.type),node:p.node,severity:"error"}),null;var f,h=(0,i.A)(a.TQ);try{for(h.s();!(f=h.n()).done;){var d=f.value;if((0,o.cv)(p,d)){u=d;break}}}catch(e){h.e(e)}finally{h.f()}if(!u)return t.errors.push({message:'Unknown API: "'.concat(p.node.name,'"'),node:p.node,severity:"error"}),null;var m=l.get(u),g=e.get("arguments");if(!m){if("callProvider"===u){if(g.length<1)return t.errors.push({message:'"'.concat(u,'()" expects at least 1 argument, but got ').concat(g.length),node:e.node,severity:"error"}),null;var y=g[0];return y.isStringLiteral()?{api:y.node.value,isRawProvider:!0,params:g.slice(1).map((function(e){return(0,s.A)(e,t,n,c)}))}:(t.errors.push({message:'"'.concat(u,'()" expects a string literal as the first argument, but got ').concat(y.type),node:y.node,severity:"error"}),null)}return{api:"copyText"===u?"basic.copy-to-clipboard":"basic.show-dialog",isRawProvider:!0,params:g.map((function(e){return(0,s.A)(e,t,n,c)}))}}var v,b=g.length<m[0];if((b||!m.includes(g.length))&&(t.errors.push({message:'"'.concat(u,'()" expects ').concat(m.join(" or ")," arguments, but got ").concat(g.length),node:e.node,severity:b?"error":"warning"}),b))return null;var x=g[0];if("callHttp"===u){var S=(0,s.A)(x,t,n,c);if("string"!=typeof S)return t.errors.push({message:'"'.concat(u,'()" expects a string value as the first argument, but got ').concat((0,r.A)(S)),node:x.node,severity:"error"}),null;v={api:S,http:!0}}else if("callApi"===u){if(!x.isStringLiteral())return t.errors.push({message:'"'.concat(u,'()" expects a string literal as the first argument, but got ').concat(x.type),node:x.node,severity:"error"}),null;v={api:x.node.value}}else{var C=(0,s.A)(x,t,n,c);if("string"!=typeof C)return t.errors.push({message:'"'.concat(u,'()" expects a string value as the first argument, but got ').concat((0,r.A)(C)),node:x.node,severity:"error"}),null;var E=g[1],k=(0,s.A)(E,t,n,c);if("string"!=typeof k)return t.errors.push({message:'"'.concat(u,'()" expects a string value as the second argument, but got ').concat((0,r.A)(k)),node:E.node,severity:"error"}),null;var w,T=g[2];T&&(w=(0,s.A)(T,t,n,c)),v={api:u,tool:{conversationId:C,stepId:k},params:w}}if("callApi"===u||"callHttp"===u){var _=g[1];if(_&&!(0,o.HO)(_)){_.isObjectExpression()||t.errors.push({message:'Data source "params" prefers an object literal, but got '.concat(_.type),node:_.node,severity:"notice"});var A=(0,s.A)(_,t,n,c);(0,o.UQ)(A)||"object"===(0,r.A)(A)&&null!==A?v.params=A:t.errors.push({message:"API params expects an object or expression, but got ".concat((0,r.A)(A)),node:_.node,severity:"error"})}}if("callApi"===u){var P=g[2];if(P&&!(0,o.HO)(P))if(P.isObjectExpression()){var I,M=P.get("properties"),O=(0,i.A)(M);try{for(O.s();!(I=O.n()).done;){var F=I.value;if(F.isObjectProperty()){var B=F.get("key");if(B.isIdentifier())if("objectId"===B.node.name){var D=F.get("value");if(!(0,o.HO)(D)){if(!D.isStringLiteral()){t.errors.push({message:'"callApi()" third param "meta" property "'.concat(B.node.name,'" expects a string literal, but got ').concat(D.type),node:D.node,severity:"error"});continue}v.objectId=D.node.value}}else t.errors.push({message:'"callApi()" third param "meta" property key must be "objectId", but got "'.concat(B.node.name,'"'),node:B.node,severity:"error"});else t.errors.push({message:'"callApi()" third param "meta" property key must be an identifier, but got '.concat(B.type),node:B.node,severity:"error"})}else t.errors.push({message:'"callApi()" third param "meta" expects object properties, but got '.concat(F.type),node:F.node,severity:"error"})}}catch(e){O.e(e)}finally{O.f()}}else t.errors.push({message:'"callApi()" third param "meta" expects an object literal, but got '.concat(P.type),node:P.node,severity:"error"})}return v}},3810:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getTypeAnnotation=T,t.baseTypeStrictlyMatches=function(e){const t=this.getTypeAnnotation(),n=e.getTypeAnnotation();return!(o(t)||!u(t))&&n.type===t.type},t.couldBeBaseType=function(e){const t=this.getTypeAnnotation();if(o(t))return!0;if(S(t)){for(const n of t.types)if(o(n)||_(e,n,!0))return!0;return!1}return _(e,t,!0)},t.getTypeAnnotation=function(){let e=this.getData("typeAnnotation");return null!=e||(e=T.call(this)||s(),(x(e)||y(e))&&(e=e.typeAnnotation),this.setData("typeAnnotation",e)),e},t.isBaseType=function(e,t){return _(e,this.getTypeAnnotation(),t)},t.isGenericType=function(e){const t=this.getTypeAnnotation();return!("Array"!==e||!(g(t)||a(t)||b(t)))||(p(t)&&f(t.id,{name:e})||v(t)&&f(t.typeName,{name:e}))};var r=n(9724),i=n(8135);const{anyTypeAnnotation:s,isAnyTypeAnnotation:o,isArrayTypeAnnotation:a,isBooleanTypeAnnotation:l,isEmptyTypeAnnotation:c,isFlowBaseAnnotation:u,isGenericTypeAnnotation:p,isIdentifier:f,isMixedTypeAnnotation:h,isNumberTypeAnnotation:d,isStringTypeAnnotation:m,isTSArrayType:g,isTSTypeAnnotation:y,isTSTypeReference:v,isTupleTypeAnnotation:b,isTypeAnnotation:x,isUnionTypeAnnotation:S,isVoidTypeAnnotation:C,stringTypeAnnotation:E,voidTypeAnnotation:k}=i,w=new WeakSet;function T(){const e=this.node;if(e){if(e.typeAnnotation)return e.typeAnnotation;if(!w.has(e)){w.add(e);try{var t;let n=r[e.type];if(n)return n.call(this,e);if(n=r[this.parentPath.type],null!=(t=n)&&t.validParent)return this.parentPath.getTypeAnnotation()}finally{w.delete(e)}}}else if("init"===this.key&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath,t=e.parentPath;return"left"===e.key&&t.isForInStatement()?E():"left"===e.key&&t.isForOfStatement()?s():k()}}function _(e,t,n){if("string"===e)return m(t);if("number"===e)return d(t);if("boolean"===e)return l(t);if("any"===e)return o(t);if("mixed"===e)return h(t);if("empty"===e)return c(t);if("void"===e)return C(t);if(n)return!1;throw new Error(`Unknown base type ${e}`)}},4017:function(e,t){!function(e){"use strict";const t=",".charCodeAt(0),n=";".charCodeAt(0),r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(64),s=new Uint8Array(128);for(let e=0;e<64;e++){const t=r.charCodeAt(e);i[e]=t,s[t]=e}const o="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}};function a(e,t){const n=e.indexOf(";",t);return-1===n?e.length:n}function l(e,t,n,r){let i=0,o=0,a=0;do{const n=e.charCodeAt(t++);a=s[n],i|=(31&a)<<o,o+=5}while(32&a);const l=1&i;return i>>>=1,l&&(i=-2147483648|-i),n[r]+=i,t}function c(e,n,r){return!(n>=r)&&e.charCodeAt(n)!==t}function u(e){e.sort(p)}function p(e,t){return e[0]-t[0]}function f(e,t,n,r,s){const o=r[s];let a=o-n[s];n[s]=o,a=a<0?-a<<1|1:a<<1;do{let n=31&a;a>>>=5,a>0&&(n|=32),e[t++]=i[n]}while(a>0);return t}e.decode=function(e){const t=new Int32Array(5),n=[];let r=0;do{const i=a(e,r),s=[];let o=!0,p=0;t[0]=0;for(let n=r;n<i;n++){let r;n=l(e,n,t,0);const a=t[0];a<p&&(o=!1),p=a,c(e,n,i)?(n=l(e,n,t,1),n=l(e,n,t,2),n=l(e,n,t,3),c(e,n,i)?(n=l(e,n,t,4),r=[a,t[1],t[2],t[3],t[4]]):r=[a,t[1],t[2],t[3]]):r=[a],s.push(r)}o||u(s),n.push(s),r=i+1}while(r<=e.length);return n},e.encode=function(e){const r=new Int32Array(5),i=16384,s=16348,a=new Uint8Array(i),l=a.subarray(0,s);let c=0,u="";for(let p=0;p<e.length;p++){const h=e[p];if(p>0&&(c===i&&(u+=o.decode(a),c=0),a[c++]=n),0!==h.length){r[0]=0;for(let e=0;e<h.length;e++){const n=h[e];c>s&&(u+=o.decode(l),a.copyWithin(0,s,c),c-=s),e>0&&(a[c++]=t),c=f(a,c,r,n,0),1!==n.length&&(c=f(a,c,r,n,1),c=f(a,c,r,n,2),c=f(a,c,r,n,3),4!==n.length&&(c=f(a,c,r,n,4)))}}}return u+o.decode(a.subarray(0,c))},Object.defineProperty(e,"__esModule",{value:!0})}(t)},4057:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Var=t.User=t.Statement=t.SpreadProperty=t.Scope=t.RestProperty=t.ReferencedMemberExpression=t.ReferencedIdentifier=t.Referenced=t.Pure=t.NumericLiteralTypeAnnotation=t.Generated=t.ForAwaitStatement=t.Flow=t.Expression=t.ExistentialTypeParam=t.BlockScoped=t.BindingIdentifier=void 0,t.ReferencedIdentifier=["Identifier","JSXIdentifier"],t.ReferencedMemberExpression=["MemberExpression"],t.BindingIdentifier=["Identifier"],t.Statement=["Statement"],t.Expression=["Expression"],t.Scope=["Scopable","Pattern"],t.Referenced=null,t.BlockScoped=null,t.Var=["VariableDeclaration"],t.User=null,t.Generated=null,t.Pure=null,t.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],t.RestProperty=["RestElement"],t.SpreadProperty=["RestElement"],t.ExistentialTypeParam=["ExistsTypeAnnotation"],t.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],t.ForAwaitStatement=["ForOfStatement"]},4131:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const{placeholderWhitelist:r,placeholderPattern:o,preserveComments:a,syntacticPlaceholders:l}=n,c=function(e,t,n){const r=(t.plugins||[]).slice();!1!==n&&r.push("placeholders"),t=Object.assign({allowAwaitOutsideFunction:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowYieldOutsideFunction:!0,sourceType:"module"},t,{plugins:r});try{return(0,i.parse)(e,t)}catch(t){const n=t.loc;throw n&&(t.message+="\n"+(0,s.codeFrameColumns)(e,{start:n}),t.code="BABEL_TEMPLATE_PARSE_ERROR"),t}}(t,n.parser,l);m(c,{preserveComments:a}),e.validate(c);const u={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:r,placeholderPattern:o,syntacticPlaceholders:l};return g(c,v,u),Object.assign({ast:c},u.syntactic.placeholders.length?u.syntactic:u.legacy)};var r=n(8135),i=n(580),s=n(6611);const{isCallExpression:o,isExpressionStatement:a,isFunction:l,isIdentifier:c,isJSXIdentifier:u,isNewExpression:p,isPlaceholder:f,isStatement:h,isStringLiteral:d,removePropertiesDeep:m,traverse:g}=r,y=/^[_$A-Z0-9]+$/;function v(e,t,n){var r;let i,s=n.syntactic.placeholders.length>0;if(f(e)){if(!1===n.syntacticPlaceholders)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");i=e.name.name,s=!0}else{if(s||n.syntacticPlaceholders)return;if(c(e)||u(e))i=e.name;else{if(!d(e))return;i=e.value}}if(s&&(null!=n.placeholderPattern||null!=n.placeholderWhitelist))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!(s||!1!==n.placeholderPattern&&(n.placeholderPattern||y).test(i)||null!=(r=n.placeholderWhitelist)&&r.has(i)))return;t=t.slice();const{node:m,key:g}=t[t.length-1];let v;d(e)||f(e,{expectedNode:"StringLiteral"})?v="string":p(m)&&"arguments"===g||o(m)&&"arguments"===g||l(m)&&"params"===g?v="param":a(m)&&!f(e)?(v="statement",t=t.slice(0,-1)):v=h(e)&&f(e)?"statement":"other";const{placeholders:b,placeholderNames:x}=s?n.syntactic:n.legacy;b.push({name:i,type:v,resolve:e=>function(e,t){let n=e;for(let e=0;e<t.length-1;e++){const{key:r,index:i}=t[e];n=void 0===i?n[r]:n[r][i]}const{key:r,index:i}=t[t.length-1];return{parent:n,key:r,index:i}}(e,t),isDuplicate:x.has(i)}),x.add(i)}},4145:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._guessExecutionStatusRelativeTo=function(e){return y(this,e,new Map)},t._resolve=v,t.canHaveVariableDeclarationOrExpression=function(){return("init"===this.key||"left"===this.key)&&this.parentPath.isFor()},t.canSwapBetweenExpressionAndStatement=function(e){return!("body"!==this.key||!this.parentPath.isArrowFunctionExpression())&&(this.isExpression()?o(e):!!this.isBlockStatement()&&a(e))},t.getSource=function(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""},t.isCompletionRecord=function(e){let t=this,n=!0;do{const{type:r,container:i}=t;if(!n&&(t.isFunction()||"StaticBlock"===r))return!!e;if(n=!1,Array.isArray(i)&&t.key!==i.length-1)return!1}while((t=t.parentPath)&&!t.isProgram()&&!t.isDoExpression());return!0},t.isConstantExpression=function(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);return!!e&&e.constant}if(this.isLiteral())return!this.isRegExpLiteral()&&(!this.isTemplateLiteral()||this.get("expressions").every((e=>e.isConstantExpression())));if(this.isUnaryExpression())return"void"===this.node.operator&&this.get("argument").isConstantExpression();if(this.isBinaryExpression()){const{operator:e}=this.node;return"in"!==e&&"instanceof"!==e&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return this.isMemberExpression()?!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0}):!!this.isCallExpression()&&(1===this.node.arguments.length&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral())},t.isInStrictMode=function(){return!!(this.isProgram()?this:this.parentPath).find((e=>{if(e.isProgram({sourceType:"module"}))return!0;if(e.isClass())return!0;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement())return!1;let t;if(e.isFunction())t=e.node.body;else{if(!e.isProgram())return!1;t=e.node}for(const e of t.directives)if("use strict"===e.value.value)return!0}))},t.isNodeType=function(e){return p(this.type,e)},t.isStatementOrBlock=function(){return!this.parentPath.isLabeledStatement()&&!o(this.container)&&i.includes(this.key)},t.isStatic=function(){return this.scope.isStatic(this.node)},t.matchesPattern=function(e,t){return f(this.node,e,t)},t.referencesImport=function(e,t){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===t||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?u(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return!1}const n=this.scope.getBinding(this.node.name);if(!n||"module"!==n.kind)return!1;const r=n.path,i=r.parentPath;return!!i.isImportDeclaration()&&(i.node.source.value===e&&(!t||(!(!r.isImportDefaultSpecifier()||"default"!==t)||(!(!r.isImportNamespaceSpecifier()||"*"!==t)||!(!r.isImportSpecifier()||!l(r.node.imported,{name:t}))))))},t.resolve=function(e,t){return v.call(this,e,t)||this},t.willIMaybeExecuteBefore=function(e){return"after"!==this._guessExecutionStatusRelativeTo(e)};var r=n(8135);const{STATEMENT_OR_BLOCK_KEYS:i,VISITOR_KEYS:s,isBlockStatement:o,isExpression:a,isIdentifier:l,isLiteral:c,isStringLiteral:u,isType:p,matchesPattern:f}=r;function h(e){return e.isProgram()?e:(e.parentPath.scope.getFunctionParent()||e.parentPath.scope.getProgramParent()).path}function d(e,t){switch(e){case"LogicalExpression":case"AssignmentPattern":return"right"===t;case"ConditionalExpression":case"IfStatement":return"consequent"===t||"alternate"===t;case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return"body"===t;case"ForStatement":return"body"===t||"update"===t;case"SwitchStatement":return"cases"===t;case"TryStatement":return"handler"===t;case"OptionalMemberExpression":return"property"===t;case"OptionalCallExpression":return"arguments"===t;default:return!1}}function m(e,t){for(let n=0;n<t;n++){const t=e[n];if(d(t.parent.type,t.parentKey))return!0}return!1}t.has=function(e){var t;const n=null==(t=this.node)?void 0:t[e];return n&&Array.isArray(n)?!!n.length:!!n},t.is=t.has,t.isnt=function(e){return!this.has(e)},t.equals=function(e,t){return this.node[e]===t};const g=Symbol();function y(e,t,n){const r={this:h(e),target:h(t)};if(r.target.node!==r.this.node)return function(e,t,n){let r,i=n.get(e.node);if(i){if(r=i.get(t.node))return r===g?"unknown":r}else n.set(e.node,i=new Map);i.set(t.node,g);const s=function(e,t,n){if(!t.isFunctionDeclaration())return"before"===y(e,t,n)?"before":"unknown";if(t.parentPath.isExportDeclaration())return"unknown";const r=t.scope.getBinding(t.node.id.name);if(!r.references)return"before";const i=r.referencePaths;let s;for(const r of i){if(r.find((e=>e.node===t.node)))continue;if("callee"!==r.key||!r.parentPath.isCallExpression())return"unknown";const i=y(e,r,n);if(s&&s!==i)return"unknown";s=i}return s}(e,t,n);return i.set(t.node,s),s}(e,r.target,n);const i={target:t.getAncestry(),this:e.getAncestry()};if(i.target.includes(e))return"after";if(i.this.includes(t))return"before";let o;const a={target:0,this:0};for(;!o&&a.this<i.this.length;){const e=i.this[a.this];a.target=i.target.indexOf(e),a.target>=0?o=e:a.this++}if(!o)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(m(i.this,a.this-1)||m(i.target,a.target-1))return"unknown";const l={this:i.this[a.this-1],target:i.target[a.target-1]};if(l.target.listKey&&l.this.listKey&&l.target.container===l.this.container)return l.target.key>l.this.key?"before":"after";const c=s[o.type],u=c.indexOf(l.this.parentKey);return c.indexOf(l.target.parentKey)>u?"before":"after"}function v(e,t){var n;if(null==(n=t)||!n.includes(this))if((t=t||[]).push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(e,t)}else if(this.isReferencedIdentifier()){const n=this.scope.getBinding(this.node.name);if(!n)return;if(!n.constant)return;if("module"===n.kind)return;if(n.path!==this){const r=n.path.resolve(e,t);if(this.find((e=>e.node===r.node)))return;return r}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(e,t);if(e&&this.isMemberExpression()){const n=this.toComputedKey();if(!c(n))return;const r=n.value,i=this.get("object").resolve(e,t);if(i.isObjectExpression()){const n=i.get("properties");for(const i of n){if(!i.isProperty())continue;const n=i.get("key");let s=i.isnt("computed")&&n.isIdentifier({name:r});if(s=s||n.isLiteral({value:r}),s)return i.get("value").resolve(e,t)}}else if(i.isArrayExpression()&&!isNaN(+r)){const n=i.get("elements")[r];if(n)return n.resolve(e,t)}}}}},4403:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TaggedTemplateExpression=function(e){this.print(e.tag),this.print(e.typeParameters),this.print(e.quasi)},t.TemplateElement=function(){throw new Error("TemplateElement printing is handled in TemplateLiteral")},t.TemplateLiteral=function(e){this._printTemplate(e,e.expressions)},t._printTemplate=function(e,t){const n=e.quasis;let r="`";for(let i=0;i<n.length-1;i++)if(r+=n[i].value.raw,this.token(r+"${",!0),this.print(t[i]),r="}",this.tokenMap){const t=this.tokenMap.findMatching(e,"}",i);t&&this._catchUpTo(t.loc.start)}r+=n[n.length-1].value.raw,this.token(r+"`",!0)}},4430:(e,t,n)=>{"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{A:()=>r})},4537:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._call=l,t._getQueueContexts=function(){let e=this,t=this.contexts;for(;!t.length&&(e=e.parentPath,e);)t=e.contexts;return t},t._resyncKey=h,t._resyncList=d,t._resyncParent=f,t._resyncRemoved=function(){null!=this.key&&this.container&&this.container[this.key]===this.node||s._markRemoved.call(this)},t.call=a,t.isDenylisted=c,t.popContext=function(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)},t.pushContext=function(e){this.contexts.push(e),this.setContext(e)},t.requeue=function(e=this){if(e.removed)return;const t=this.contexts;for(const n of t)n.maybeQueue(e)},t.requeueComputedKeyAndDecorators=function(){const{context:e,node:t}=this;if(!o.isPrivate(t)&&t.computed&&e.maybeQueue(this.get("key")),t.decorators)for(const t of this.get("decorators"))e.maybeQueue(t)},t.resync=function(){this.removed||(f.call(this),d.call(this),h.call(this))},t.setContext=function(e){return null!=this.skipKeys&&(this.skipKeys={}),this._traverseFlags=0,e&&(this.context=e,this.state=e.state,this.opts=e.opts),p.call(this),this},t.setKey=m,t.setScope=p,t.setup=function(e,t,n,r){this.listKey=n,this.container=t,this.parentPath=e||this.parentPath,m.call(this,r)},t.skip=function(){this.shouldSkip=!0},t.skipKey=function(e){null==this.skipKeys&&(this.skipKeys={}),this.skipKeys[e]=!0},t.stop=function(){this._traverseFlags|=i.SHOULD_SKIP|i.SHOULD_STOP},t.visit=function(){var e,t;if(!this.node)return!1;if(this.isDenylisted())return!1;if(null!=(e=(t=this.opts).shouldSkip)&&e.call(t,this))return!1;const n=this.context;return this.shouldSkip||a.call(this,"enter")?(this.debug("Skip..."),this.shouldStop):(u(this,n),this.debug("Recursing into..."),this.shouldStop=(0,r.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),u(this,n),a.call(this,"exit"),this.shouldStop)};var r=n(1597),i=n(2670),s=n(7946),o=n(8135);function a(e){const t=this.opts;return this.debug(e),!(!this.node||!l.call(this,t[e]))||!!this.node&&l.call(this,null==(n=t[this.node.type])?void 0:n[e]);var n}function l(e){if(!e)return!1;for(const t of e){if(!t)continue;const e=this.node;if(!e)return!0;const n=t.call(this.state,this,this.state);if(n&&"object"==typeof n&&"function"==typeof n.then)throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(n)throw new Error(`Unexpected return value from visitor method ${t}`);if(this.node!==e)return!0;if(this._traverseFlags>0)return!0}return!1}function c(){var e;const t=null!=(e=this.opts.denylist)?e:this.opts.blacklist;return null==t?void 0:t.includes(this.node.type)}function u(e,t){e.context!==t&&(e.context=t,e.state=t.state,e.opts=t.opts)}function p(){var e,t;if(null!=(e=this.opts)&&e.noScope)return;let n,r=this.parentPath;for((("key"===this.key||"decorators"===this.listKey)&&r.isMethod()||"discriminant"===this.key&&r.isSwitchStatement())&&(r=r.parentPath);r&&!n;){var i;if(null!=(i=r.opts)&&i.noScope)return;n=r.scope,r=r.parentPath}this.scope=this.getScope(n),null==(t=this.scope)||t.init()}function f(){this.parentPath&&(this.parent=this.parentPath.node)}function h(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let e=0;e<this.container.length;e++)if(this.container[e]===this.node)return void m.call(this,e)}else for(const e of Object.keys(this.container))if(this.container[e]===this.node)return void m.call(this,e);this.key=null}}function d(){if(!this.parent||!this.inList)return;const e=this.parent[this.listKey];this.container!==e&&(this.container=e||null)}function m(e){var t;this.key=e,this.node=this.container[this.key],this.type=null==(t=this.node)?void 0:t.type}t.isBlacklisted=c},4564:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowFunctionExpression=function(e,t){e.async&&(this.word("async",!0),this.space()),this._shouldPrintArrowParamsParens(e)?this._params(e,void 0,t):this.print(e.params[0],!0),this._predicate(e,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=i.TokenContext.arrowBody,this.print(e.body)},t.FunctionDeclaration=t.FunctionExpression=function(e,t){this._functionHead(e,t),this.space(),this.print(e.body)},t._functionHead=function(e,t){e.async&&(this.word("async"),this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.space()),this.word("function"),e.generator&&(this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.tokenChar(42)),this.space(),e.id&&this.print(e.id),this._params(e,e.id,t),"TSDeclareFunction"!==e.type&&this._predicate(e)},t._methodHead=function(e){const t=e.kind,n=e.key;"get"!==t&&"set"!==t||(this.word(t),this.space()),e.async&&(this.word("async",!0),this.space()),"method"!==t&&"init"!==t||e.generator&&this.tokenChar(42),e.computed?(this.tokenChar(91),this.print(n),this.tokenChar(93)):this.print(n),e.optional&&this.tokenChar(63),this._params(e,e.computed&&"StringLiteral"!==e.key.type?void 0:e.key,void 0)},t._param=function(e){this.printJoin(e.decorators),this.print(e),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)},t._parameters=function(e,t){const n=this.enterDelimited(),r=this.shouldPrintTrailingComma(t),i=e.length;for(let t=0;t<i;t++)this._param(e[t]),(r||t<i-1)&&(this.token(",",null,t),this.space());this.token(t),n()},t._params=function(e,t,n){this.print(e.typeParameters);const r=o.call(this,t,n);r&&this.sourceIdentifierName(r.name,r.pos),this.tokenChar(40),this._parameters(e.params,")");const i="ArrowFunctionExpression"===e.type;this.print(e.returnType,i),this._noLineTerminator=i},t._predicate=function(e,t){e.predicate&&(e.returnType||this.tokenChar(58),this.space(),this.print(e.predicate,t))},t._shouldPrintArrowParamsParens=function(e){var t,n;if(1!==e.params.length)return!0;if(e.typeParameters||e.returnType||e.predicate)return!0;const r=e.params[0];if(!s(r)||r.typeAnnotation||r.optional||null!=(t=r.leadingComments)&&t.length||null!=(n=r.trailingComments)&&n.length)return!0;if(this.tokenMap){if(null==e.loc)return!0;if(null!==this.tokenMap.findMatching(e,"("))return!0;const t=this.tokenMap.findMatching(e,"=>");return null==(null==t?void 0:t.loc)||t.loc.start.line!==e.loc.start.line}return!!this.format.retainLines};var r=n(8135),i=n(1956);const{isIdentifier:s}=r;function o(e,t){let n,r=e;if(!r&&t){const e=t.type;"VariableDeclarator"===e?r=t.id:"AssignmentExpression"===e||"AssignmentPattern"===e?r=t.left:"ObjectProperty"===e||"ClassProperty"===e?t.computed&&"StringLiteral"!==t.key.type||(r=t.key):"ClassPrivateProperty"!==e&&"ClassAccessorProperty"!==e||(r=t.key)}if(r){var i,s;if("Identifier"===r.type)n={pos:null==(i=r.loc)?void 0:i.start,name:(null==(s=r.loc)?void 0:s.identifierName)||r.name};else if("PrivateName"===r.type){var o;n={pos:null==(o=r.loc)?void 0:o.start,name:"#"+r.id.name}}else if("StringLiteral"===r.type){var a;n={pos:null==(a=r.loc)?void 0:a.start,name:r.value}}return n}}},4586:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(1369);function i(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},4683:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(8431),i=n(4),s=n(6026),o=n(2658),a=n(8135),l=a,c=n(6266);const{assignmentExpression:u,callExpression:p,cloneNode:f,getBindingIdentifiers:h,identifier:d,isArrayExpression:m,isBinary:g,isCallExpression:y,isClass:v,isClassBody:b,isClassDeclaration:x,isExportAllDeclaration:S,isExportDefaultDeclaration:C,isExportNamedDeclaration:E,isFunctionDeclaration:k,isIdentifier:w,isImportDeclaration:T,isLiteral:_,isMemberExpression:A,isMethod:P,isModuleSpecifier:I,isNullLiteral:M,isObjectExpression:O,isProperty:F,isPureish:B,isRegExpLiteral:D,isSuper:L,isTaggedTemplateExpression:N,isTemplateLiteral:j,isThisExpression:R,isUnaryExpression:W,isVariableDeclaration:U,expressionStatement:V,matchesPattern:H,memberExpression:q,numericLiteral:G,toIdentifier:K,variableDeclaration:$,variableDeclarator:J,isRecordExpression:X,isTupleExpression:Q,isObjectProperty:z,isTopicReference:Y,isMetaProperty:Z,isPrivateName:ee,isExportDeclaration:te,buildUndefinedNode:ne,sequenceExpression:re}=a;function ie(e,t){switch(null==e?void 0:e.type){default:var n;if(T(e)||te(e))if((S(e)||E(e)||T(e))&&e.source)ie(e.source,t);else if((E(e)||T(e))&&null!=(n=e.specifiers)&&n.length)for(const n of e.specifiers)ie(n,t);else(C(e)||E(e))&&e.declaration&&ie(e.declaration,t);else I(e)?ie(e.local,t):!_(e)||M(e)||D(e)||j(e)||t.push(e.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":ie(e.object,t),ie(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":ie(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const n of e.properties)ie(n,t);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":ie(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":ie(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield"),ie(e.argument,t);break;case"AwaitExpression":t.push("await"),ie(e.argument,t);break;case"AssignmentExpression":ie(e.left,t);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":ie(e.id,t);break;case"ParenthesizedExpression":ie(e.expression,t);break;case"MetaProperty":ie(e.meta,t),ie(e.property,t);break;case"JSXElement":ie(e.openingElement,t);break;case"JSXOpeningElement":ie(e.name,t);break;case"JSXFragment":ie(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":ie(e.namespace,t),ie(e.name,t)}}function se(e){e.references=Object.create(null),e.uids=Object.create(null),e.bindings=Object.create(null),e.globals=Object.create(null)}var oe=Symbol.for("should not be considered a local binding");const ae={ForStatement(e){const t=e.get("init");if(t.isVar()){const{scope:n}=e;(n.getFunctionParent()||n.getProgramParent()).registerBinding("var",t)}},Declaration(e){e.isBlockScoped()||e.isImportDeclaration()||e.isExportDeclaration()||(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerDeclaration(e)},ImportDeclaration(e){e.scope.getBlockParent().registerDeclaration(e)},TSImportEqualsDeclaration(e){e.scope.getBlockParent().registerDeclaration(e)},ReferencedIdentifier(e,t){l.isTSQualifiedName(e.parent)&&e.parent.right===e.node||e.parentPath.isTSImportEqualsDeclaration()||t.references.push(e)},ForXStatement(e,t){const n=e.get("left");if(n.isPattern()||n.isIdentifier())t.constantViolations.push(e);else if(n.isVar()){const{scope:t}=e;(t.getFunctionParent()||t.getProgramParent()).registerBinding("var",n)}},ExportDeclaration:{exit(e){const{node:t,scope:n}=e;if(S(t))return;const r=t.declaration;if(x(r)||k(r)){const t=r.id;if(!t)return;const i=n.getBinding(t.name);null==i||i.reference(e)}else if(U(r))for(const t of r.declarations)for(const r of Object.keys(h(t))){const t=n.getBinding(r);null==t||t.reference(e)}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){"delete"===e.node.operator&&t.constantViolations.push(e)},BlockScoped(e){let t=e.scope;if(t.path===e&&(t=t.parent),t.getBlockParent().registerDeclaration(e),e.isClassDeclaration()&&e.node.id){const t=e.node.id.name;e.scope.bindings[t]=e.scope.parent.getBinding(t)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){const t=e.get("params");for(const n of t)e.scope.registerBinding("param",n);e.isFunctionExpression()&&e.node.id&&!e.node.id[oe]&&e.scope.registerBinding("local",e.get("id"),e)},ClassExpression(e){e.node.id&&!e.node.id[oe]&&e.scope.registerBinding("local",e.get("id"),e)},TSTypeAnnotation(e){e.skip()}};let le,ce=0;class ue{constructor(e){this.uid=void 0,this.path=void 0,this.block=void 0,this.inited=void 0,this.labels=void 0,this.bindings=void 0,this.referencesSet=void 0,this.globals=void 0,this.uidsSet=void 0,this.data=void 0,this.crawling=void 0;const{node:t}=e,n=c.scope.get(t);if((null==n?void 0:n.path)===e)return n;c.scope.set(t,this),this.uid=ce++,this.block=t,this.path=e,this.labels=new Map,this.inited=!1,Object.defineProperties(this,{references:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)},uids:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)}})}get parent(){var e;let t,n=this.path;do{var r;const e="key"===n.key||"decorators"===n.listKey;n=n.parentPath,e&&n.isMethod()&&(n=n.parentPath),null!=(r=n)&&r.isScope()&&(t=n)}while(n&&!t);return null==(e=t)?void 0:e.scope}get references(){throw new Error("Scope#references is not available in Babel 8. Use Scope#referencesSet instead.")}get uids(){throw new Error("Scope#uids is not available in Babel 8. Use Scope#uidsSet instead.")}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);return this.push({id:t}),f(t)}generateUidIdentifier(e){return d(this.generateUid(e))}generateUid(e="temp"){let t;e=K(e).replace(/^_+/,"").replace(/\d+$/g,"");let n=0;do{t=`_${e}`,n>=11?t+=n-1:n>=9?t+=n-9:n>=1&&(t+=n+1),n++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const r=this.getProgramParent();return r.references[t]=!0,r.uids[t]=!0,t}generateUidBasedOnNode(e,t){const n=[];ie(e,n);let r=n.join("$");return r=r.replace(/^_/,"")||t||"ref",this.generateUid(r.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return d(this.generateUidBasedOnNode(e,t))}isStatic(e){if(R(e)||L(e)||Y(e))return!0;if(w(e)){const t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1}maybeGenerateMemoised(e,t){if(this.isStatic(e))return null;{const n=this.generateUidIdentifierBasedOnNode(e);return t?n:(this.push({id:n}),f(n))}}checkBlockScopedCollisions(e,t,n,r){if("param"!==t&&"local"!==e.kind&&("let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&"const"===t))throw this.path.hub.buildError(r,`Duplicate declaration "${n}"`,TypeError)}rename(e,t){const n=this.getBinding(e);n&&(t||(t=this.generateUidIdentifier(e).name),new r.default(n,e,t).rename(arguments[2]))}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const n=t.bindings[e];console.log(" -",e,{constant:n.constant,references:n.references,violations:n.constantViolations.length,kind:n.kind})}}while(t=t.parent);console.log(e)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement())this.registerLabel(e);else if(e.isFunctionDeclaration())this.registerBinding("hoisted",e.get("id"),e);else if(e.isVariableDeclaration()){const t=e.get("declarations"),{kind:n}=e.node;for(const e of t)this.registerBinding("using"===n||"await using"===n?"const":n,e)}else if(e.isClassDeclaration()){if(e.node.declare)return;this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t="type"===e.node.importKind||"typeof"===e.node.importKind,n=e.get("specifiers");for(const e of n){const n=t||e.isImportSpecifier()&&("type"===e.node.importKind||"typeof"===e.node.importKind);this.registerBinding(n?"unknown":"module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration())&&this.registerDeclaration(t)}else this.registerBinding("unknown",e)}buildUndefinedNode(){return ne()}registerConstantViolation(e){const t=e.getAssignmentIdentifiers();for(const r of Object.keys(t)){var n;null==(n=this.getBinding(r))||n.reassign(e)}}registerBinding(e,t,n=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const n=t.get("declarations");for(const t of n)this.registerBinding(e,t);return}const r=this.getProgramParent(),i=t.getOuterBindingIdentifiers(!0);for(const t of Object.keys(i)){r.references[t]=!0;for(const r of i[t]){const i=this.getOwnBinding(t);if(i){if(i.identifier===r)continue;this.checkBlockScopedCollisions(i,e,t,r)}i?i.reassign(n):this.bindings[t]=new s.default({identifier:r,scope:this,path:n,kind:e})}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){{let t=this;do{if(t.uids[e])return!0}while(t=t.parent);return!1}}hasGlobal(e){let t=this;do{if(t.globals[e])return!0}while(t=t.parent);return!1}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(w(e)){const n=this.getBinding(e.name);return!!n&&(!t||n.constant)}if(R(e)||Z(e)||Y(e)||ee(e))return!0;var n,r,i;if(v(e))return!(e.superClass&&!this.isPure(e.superClass,t))&&!((null==(n=e.decorators)?void 0:n.length)>0)&&this.isPure(e.body,t);if(b(e)){for(const n of e.body)if(!this.isPure(n,t))return!1;return!0}if(g(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(m(e)||Q(e)){for(const n of e.elements)if(null!==n&&!this.isPure(n,t))return!1;return!0}if(O(e)||X(e)){for(const n of e.properties)if(!this.isPure(n,t))return!1;return!0}if(P(e))return!(e.computed&&!this.isPure(e.key,t)||(null==(r=e.decorators)?void 0:r.length)>0);if(F(e))return!(e.computed&&!this.isPure(e.key,t)||(null==(i=e.decorators)?void 0:i.length)>0||(z(e)||e.static)&&null!==e.value&&!this.isPure(e.value,t));if(W(e))return this.isPure(e.argument,t);if(j(e)){for(const n of e.expressions)if(!this.isPure(n,t))return!1;return!0}return N(e)?H(e.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(e.quasi,t):A(e)?!e.computed&&w(e.object)&&"Symbol"===e.object.name&&w(e.property)&&"for"!==e.property.name&&!this.hasBinding("Symbol",{noGlobals:!0}):y(e)?H(e.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&1===e.arguments.length&&l.isStringLiteral(e.arguments[0]):B(e)}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const n=t.data[e];if(null!=n)return n}while(t=t.parent)}removeData(e){let t=this;do{null!=t.data[e]&&(t.data[e]=null)}while(t=t.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){const e=this.path;se(this),this.data=Object.create(null);let t=this;do{if(t.crawling)return;if(t.path.isProgram())break}while(t=t.parent);const n=t,r={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,le||(le=i.default.visitors.merge([{Scope(e){se(e.scope)}},ae])),"Program"!==e.type){for(const t of le.enter)t.call(r,e,r);const t=le[e.type];if(t)for(const n of t.enter)n.call(r,e,r)}e.traverse(le,r),this.crawling=!1;for(const e of r.assignments){const t=e.getAssignmentIdentifiers();for(const r of Object.keys(t))e.scope.getBinding(r)||n.addGlobal(t[r]);e.scope.registerConstantViolation(e)}for(const e of r.references){const t=e.scope.getBinding(e.node.name);t?t.reference(e):n.addGlobal(e.node)}for(const e of r.constantViolations)e.scope.registerConstantViolation(e)}push(e){let t=this.path;t.isPattern()?t=this.getPatternParent().path:t.isBlockStatement()||t.isProgram()||(t=this.getBlockParent().path),t.isSwitchStatement()&&(t=(this.getFunctionParent()||this.getProgramParent()).path);const{init:n,unique:r,kind:i="var",id:s}=e;if(!n&&!r&&("var"===i||"let"===i)&&t.isFunction()&&!t.node.name&&y(t.parent,{callee:t.node})&&t.parent.arguments.length<=t.node.params.length&&w(s))return t.pushContainer("params",s),void t.scope.registerBinding("param",t.get("params")[t.node.params.length-1]);(t.isLoop()||t.isCatchClause()||t.isFunction())&&(t.ensureBlock(),t=t.get("body"));const o=null==e._blockHoist?2:e._blockHoist,a=`declaration:${i}:${o}`;let l=!r&&t.getData(a);if(!l){const e=$(i,[]);e._blockHoist=o,[l]=t.unshiftContainer("body",[e]),r||t.setData(a,l)}const c=J(s,n),u=l.node.declarations.push(c);t.scope.registerBinding(i,l.get("declarations")[u-1])}getProgramParent(){let e=this;do{if(e.path.isProgram())return e}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent())return e}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent())return e}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let e=this;do{if(!e.path.isPattern())return e.getBlockParent()}while(e=e.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const n of Object.keys(t.bindings))n in e==0&&(e[n]=t.bindings[n]);t=t.parent}while(t);return e}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t,n=this;do{const i=n.getOwnBinding(e);var r;if(i){if(null==(r=t)||!r.isPattern()||"param"===i.kind||"local"===i.kind)return i}else if(!i&&"arguments"===e&&n.path.isFunction()&&!n.path.isArrowFunctionExpression())break;t=n.path}while(n=n.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return null==(t=this.getBinding(e))?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return null==t?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){if(!e)return!1;let n,r,i;"object"==typeof t?(n=t.noGlobals,r=t.noUids,i=t.upToScope):"boolean"==typeof t&&(n=t);let s=this;do{if(i===s)break;if(s.hasOwnBinding(e))return!0}while(s=s.parent);return!(r||!this.hasUid(e))||!(n||!ue.globals.includes(e))||!(n||!ue.contextVariables.includes(e))}parentHasBinding(e,t){var n;return null==(n=this.parent)?void 0:n.hasBinding(e,t)}moveBindingTo(e,t){const n=this.getBinding(e);n&&(n.scope.removeOwnBinding(e),n.scope=t,t.bindings[e]=n)}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;null==(t=this.getBinding(e))||t.scope.removeOwnBinding(e);{let t=this;do{t.uids[e]&&(t.uids[e]=!1)}while(t=t.parent)}}hoistVariables(e=e=>this.push({id:e})){this.crawl();const t=new Set;for(const n of Object.keys(this.bindings)){const r=this.bindings[n];if(!r)continue;const{path:i}=r;if(!i.isVariableDeclarator())continue;const{parent:s,parentPath:o}=i;if("var"!==s.kind||t.has(s))continue;let a;t.add(i.parent);const l=[];for(const t of s.declarations){null!=a||(a=t.id),t.init&&l.push(u("=",t.id,t.init));const n=Object.keys(h(t,!1,!0,!0));for(const r of n)e(d(r),null!=t.init)}if(o.parentPath.isFor({left:s}))o.replaceWith(a);else if(0===l.length)o.remove();else{const e=1===l.length?l[0]:re(l);o.parentPath.isForStatement({init:s})?o.replaceWith(e):o.replaceWith(V(e))}}}}t.default=ue,ue.globals=Object.keys(o.builtin),ue.contextVariables=["arguments","undefined","Infinity","NaN"],ue.prototype._renameFromMap=function(e,t,n,r){e[t]&&(e[n]=r,e[t]=null)},ue.prototype.traverse=function(e,t,n){(0,i.default)(e,t,this,n,this.path)},ue.prototype._generateUid=function(e,t){let n=e;return t>1&&(n+=t),`_${n}`},ue.prototype.toArray=function(e,t,n){if(w(e)){const t=this.getBinding(e.name);if(null!=t&&t.constant&&t.path.isGenericType("Array"))return e}if(m(e))return e;if(w(e,{name:"arguments"}))return p(q(q(q(d("Array"),d("prototype")),d("slice")),d("call")),[e]);let r;const i=[e];return!0===t?r="toConsumableArray":"number"==typeof t?(i.push(G(t)),r="slicedToArray"):r="toArray",n&&(i.unshift(this.path.hub.addHelper(r)),r="maybeArrayLike"),p(this.path.hub.addHelper(r),i)},ue.prototype.getAllBindingsOfKind=function(...e){const t=Object.create(null);for(const n of e){let e=this;do{for(const r of Object.keys(e.bindings)){const i=e.bindings[r];i.kind===n&&(t[r]=i)}e=e.parent}while(e)}return t},Object.defineProperties(ue.prototype,{parentBlock:{configurable:!0,enumerable:!0,get(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get(){return this.path.hub}}})},4834:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._replaceWith=R,t.replaceExpressionWithStatements=function(e){u.resync.call(this);const t=[],n=W(e,t);if(n){for(const e of t)this.scope.push({id:e});return this.replaceWith(n)[0].get("expressions")}const r=this.getFunctionParent(),s=null==r?void 0:r.node.async,o=null==r?void 0:r.node.generator,a=f([],m(e));this.replaceWith(y(a,[]));const l=this.get("callee");l.get("body").scope.hoistVariables((e=>this.scope.push({id:e})));const c=l.getCompletionRecords();for(const e of c){if(!e.isExpressionStatement())continue;const t=e.findParent((e=>e.isLoop()));if(t){let n=t.getData("expressionReplacementReturnUid");n?n=C(n.name):(n=l.scope.generateDeclaredUidIdentifier("ret"),l.get("body").pushContainer("body",D(v(n))),t.setData("expressionReplacementReturnUid",n)),e.get("expression").replaceWith(h("=",v(n),e.node.expression))}else e.replaceWith(D(e.node.expression))}l.arrowFunctionToExpression();const g=l,b=s&&i.default.hasType(this.get("callee.body").node,"AwaitExpression",p),x=o&&i.default.hasType(this.get("callee.body").node,"YieldExpression",p);return b&&(g.set("async",!0),x||this.replaceWith(d(this.node))),x&&(g.set("generator",!0),this.replaceWith(j(this.node,!0))),g.get("body.body")},t.replaceInline=function(e){if(u.resync.call(this),Array.isArray(e)){if(Array.isArray(this.container)){e=a._verifyNodeList.call(this,e);const t=a._containerInsertAfter.call(this,e);return this.remove(),t}return this.replaceWithMultiple(e)}return this.replaceWith(e)},t.replaceWith=function(e){if(u.resync.call(this),this.removed)throw new Error("You can't replace this node, we've already removed it");let t=e instanceof s.default?e.node:e;if(!t)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===t)return[this];if(this.isProgram()&&!M(t))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(t))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if("string"==typeof t)throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let n="";if(this.isNodeType("Statement")&&A(t)&&(this.canHaveVariableDeclarationOrExpression()||this.canSwapBetweenExpressionAndStatement(t)||this.parentPath.isExportDefaultDeclaration()||(t=x(t),n="expression")),this.isNodeType("Expression")&&O(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t))return this.replaceExpressionWithStatements([t]);const r=this.node;return r&&(w(t,r),B(r)),R.call(this,t),this.type=t.type,u.setScope.call(this),this.requeue(),[n?this.get(n):this]},t.replaceWithMultiple=function(e){var t;u.resync.call(this),e=a._verifyNodeList.call(this,e),E(e[0],this.node),k(e[e.length-1],this.node),null==(t=(0,o.getCachedPaths)(this))||t.delete(this.node),this.node=this.container[this.key]=null;const n=this.insertAfter(e);return this.node?this.requeue():this.remove(),n},t.replaceWithSourceString=function(e){let t;u.resync.call(this);try{e=`(${e})`,t=(0,l.parse)(e)}catch(t){const n=t.loc;throw n&&(t.message+=" - make sure this is an expression.\n"+(0,r.codeFrameColumns)(e,{start:{line:n.line,column:n.column+1}}),t.code="BABEL_REPLACE_SOURCE_ERROR"),t}const n=t.program.body[0].expression;return i.default.removeProperties(n),this.replaceWith(n)};var r=n(6611),i=n(4),s=n(2670),o=n(6266),a=n(1064),l=n(580),c=n(8135),u=n(4537);const{FUNCTION_TYPES:p,arrowFunctionExpression:f,assignmentExpression:h,awaitExpression:d,blockStatement:m,buildUndefinedNode:g,callExpression:y,cloneNode:v,conditionalExpression:b,expressionStatement:x,getBindingIdentifiers:S,identifier:C,inheritLeadingComments:E,inheritTrailingComments:k,inheritsComments:w,isBlockStatement:T,isEmptyStatement:_,isExpression:A,isExpressionStatement:P,isIfStatement:I,isProgram:M,isStatement:O,isVariableDeclaration:F,removeComments:B,returnStatement:D,sequenceExpression:L,validate:N,yieldExpression:j}=c;function R(e){var t;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?N(this.parent,this.key,[e]):N(this.parent,this.key,e),this.debug(`Replace with ${null==e?void 0:e.type}`),null==(t=(0,o.getCachedPaths)(this))||t.set(e,this).delete(this.node),this.node=this.container[this.key]=e}function W(e,t){const n=[];let r=!0;for(const i of e)if(_(i)||(r=!1),A(i))n.push(i);else if(P(i))n.push(i.expression);else if(F(i)){if("var"!==i.kind)return;for(const e of i.declarations){const r=S(e);for(const e of Object.keys(r))t.push(v(r[e]));e.init&&n.push(h("=",e.id,e.init))}r=!0}else if(I(i)){const e=i.consequent?W([i.consequent],t):g(),r=i.alternate?W([i.alternate],t):g();if(!e||!r)return;n.push(b(i.test,e,r))}else if(T(i)){const e=W(i.body,t);if(!e)return;n.push(e)}else{if(!_(i))return;0===e.indexOf(i)&&(r=!0)}return r&&n.push(g()),1===n.length?n[0]:L(n)}},5083:(e,t)=>{"use strict";function n(){this.space()}Object.defineProperty(t,"__esModule",{value:!0}),t.JSXAttribute=function(e){this.print(e.name),e.value&&(this.tokenChar(61),this.print(e.value))},t.JSXClosingElement=function(e){this.tokenChar(60),this.tokenChar(47),this.print(e.name),this.tokenChar(62)},t.JSXClosingFragment=function(){this.token("</"),this.tokenChar(62)},t.JSXElement=function(e){const t=e.openingElement;if(this.print(t),!t.selfClosing){this.indent();for(const t of e.children)this.print(t);this.dedent(),this.print(e.closingElement)}},t.JSXEmptyExpression=function(){this.printInnerComments()},t.JSXExpressionContainer=function(e){this.tokenChar(123),this.print(e.expression),this.rightBrace(e)},t.JSXFragment=function(e){this.print(e.openingFragment),this.indent();for(const t of e.children)this.print(t);this.dedent(),this.print(e.closingFragment)},t.JSXIdentifier=function(e){this.word(e.name)},t.JSXMemberExpression=function(e){this.print(e.object),this.tokenChar(46),this.print(e.property)},t.JSXNamespacedName=function(e){this.print(e.namespace),this.tokenChar(58),this.print(e.name)},t.JSXOpeningElement=function(e){this.tokenChar(60),this.print(e.name),e.typeArguments&&this.print(e.typeArguments),this.print(e.typeParameters),e.attributes.length>0&&(this.space(),this.printJoin(e.attributes,void 0,void 0,n)),e.selfClosing&&(this.space(),this.tokenChar(47)),this.tokenChar(62)},t.JSXOpeningFragment=function(){this.tokenChar(60),this.tokenChar(62)},t.JSXSpreadAttribute=function(e){this.tokenChar(123),this.token("..."),this.print(e.argument),this.rightBrace(e)},t.JSXSpreadChild=function(e){this.tokenChar(123),this.token("..."),this.print(e.expression),this.rightBrace(e)},t.JSXText=function(e){const t=this.getPossibleRaw(e);void 0!==t?this.token(t,!0):this.token(e.value,!0)}},5267:function(e,t,n){!function(e,t,n,r){"use strict";class i{constructor({file:e,sourceRoot:n}={}){this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=n,this._ignoreList=new t.SetArray}}function s(e){const{_mappings:t,_sources:n,_sourcesContent:r,_names:i,_ignoreList:s}=e;return function(e){const{length:t}=e;let n=t;for(let t=n-1;t>=0&&!(e[t].length>0);n=t,t--);n<t&&(e.length=n)}(t),{version:3,file:e.file||void 0,names:i.array,sourceRoot:e.sourceRoot||void 0,sources:n.array,sourcesContent:r,mappings:t,ignoreList:s.array}}function o(e,n,r,i,s,o,l,c,u){const{_mappings:p,_sources:f,_sourcesContent:h,_names:d}=n,m=function(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}(p,r),g=function(e,t){let n=e.length;for(let r=n-1;r>=0&&!(t>=e[r][0]);n=r--);return n}(m,i);if(!s){if(e&&function(e,t){return 0===t||1===e[t-1].length}(m,g))return;return a(m,g,[i])}const y=t.put(f,s),v=c?t.put(d,c):-1;if(y===h.length&&(h[y]=null!=u?u:null),!e||!function(e,t,n,r,i,s){if(0===t)return!1;const o=e[t-1];return 1!==o.length&&n===o[1]&&r===o[2]&&i===o[3]&&s===(5===o.length?o[4]:-1)}(m,g,y,o,l,v))return a(m,g,c?[i,y,o,l,v]:[i,y,o,l])}function a(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function l(e,n){for(let r=0;r<n.length;r++)t.put(e,n[r])}function c(e,t,n){const{generated:r,source:i,original:s,name:a,content:l}=n;return i?o(e,t,r.line-1,r.column,i,s.line-1,s.column,a,l):o(e,t,r.line-1,r.column,null,null,null,null,null)}e.GenMapping=i,e.addMapping=function(e,t){return c(!1,e,t)},e.addSegment=function(e,t,n,r,i,s,a,l){return o(!1,e,t,n,r,i,s,a,l)},e.allMappings=function(e){const t=[],{_mappings:n,_sources:r,_names:i}=e;for(let e=0;e<n.length;e++){const s=n[e];for(let n=0;n<s.length;n++){const o=s[n],a={line:e+1,column:o[0]};let l,c,u;1!==o.length&&(l=r.array[o[1]],c={line:o[2]+1,column:o[3]},5===o.length&&(u=i.array[o[4]])),t.push({generated:a,source:l,original:c,name:u})}}return t},e.fromMap=function(e){const t=new r.TraceMap(e),n=new i({file:t.file,sourceRoot:t.sourceRoot});return l(n._names,t.names),l(n._sources,t.sources),n._sourcesContent=t.sourcesContent||t.sources.map((()=>null)),n._mappings=r.decodedMappings(t),t.ignoreList&&l(n._ignoreList,t.ignoreList),n},e.maybeAddMapping=(e,t)=>c(!0,e,t),e.maybeAddSegment=(e,t,n,r,i,s,a,l)=>o(!0,e,t,n,r,i,s,a,l),e.setIgnore=function(e,n,r=!0){const{_sources:i,_sourcesContent:s,_ignoreList:o}=e,a=t.put(i,n);a===s.length&&(s[a]=null),r?t.put(o,a):t.remove(o,a)},e.setSourceContent=function(e,n,r){const{_sources:i,_sourcesContent:s}=e;s[t.put(i,n)]=r},e.toDecodedMap=s,e.toEncodedMap=function(e){const t=s(e);return Object.assign(Object.assign({},t),{mappings:n.encode(t.mappings)})},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(6801),n(4017),n(1969))},5307:(e,t,n)=>{"use strict";n.d(t,{H:()=>i});var r=n(9403);function i(e,t,n,i){var s=(0,r.X)([e],t,n,i),o=s.textContent,a=s.children;return null!=a?a:[{name:"Plaintext",properties:{textContent:o}}]}},5405:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},5460:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrowFunctionToExpression=function({allowInsertArrow:e=!0,allowInsertArrowWithRest:t=e,noNewArrows:n=!(e=>null==(e=arguments[0])?void 0:e.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let r=this;var i;n||(r=null!=(i=r.ensureFunctionName(!1))?i:r);const{thisBinding:s,fnPath:o}=q(r,n,e,t);if(o.ensureBlock(),o.node.type="FunctionExpression",!n){const e=s?null:o.scope.generateUidIdentifier("arrowCheckId");return e&&o.parentPath.scope.push({id:e,init:C([])}),o.get("body").unshiftContainer("body",h(p(this.hub.addHelper("newArrowCheck"),[P(),d(e?e.name:s)]))),o.replaceWith(p(b(o.node,d("bind")),[e?d(e.name):P()])),o.get("callee.object")}return o},t.ensureBlock=function(){const e=this.get("body"),t=e.node;if(Array.isArray(e))throw new Error("Can't convert array path to a block statement");if(!t)throw new Error("Can't convert node without a body");if(e.isBlockStatement())return t;const n=[];let r,i,s="body";e.isStatement()?(i="body",r=0,n.push(e.node)):(s+=".body.0",this.isFunction()?(r="argument",n.push(k(e.node))):(r="expression",n.push(h(e.node)))),this.node.body=u(n);const a=this.get(s);return o.setup.call(e,a,i?a.node[i]:a.node,i,r),this.node},t.ensureFunctionName=function(e){if(this.node.id)return this;const t=L(this.node,this.parent);if(null==t)return this;let{name:n}=t;if(!e&&/[\uD800-\uDFFF]/.test(n))return null;if(n.startsWith("get ")||n.startsWith("set "))return null;n=O(n.replace(/[/ ]/g,"_"));const r=d(n);V(r,t.originalNode);const s={needsRename:!1,name:n},{scope:o}=this,a=o.getOwnBinding(n);if(a?"param"===a.kind&&(s.needsRename=!0):(o.parent.hasBinding(n)||o.hasGlobal(n))&&this.traverse(X,s),!s.needsRename)return this.node.id=r,o.getProgramParent().references[r.name]=!0,this;if(o.hasBinding(r.name)&&!o.hasGlobal(r.name))return o.rename(r.name),this.node.id=r,o.getProgramParent().references[r.name]=!0,this;if(!F(this.node))return null;const l=o.generateUidIdentifier(r.name),c=[];for(let e=0,t=function(e){const t=e.params.findIndex((e=>B(e)||D(e)));return-1===t?e.params.length:t}(this.node);e<t;e++)c.push(o.generateUidIdentifier("x"));const u=i.default.expression.ast`
|
|
3
3
|
(function (${l}) {
|
|
4
4
|
function ${r}(${c}) {
|
|
5
5
|
return ${N(l)}.apply(this, arguments);
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
|
|
12
12
|
return ${N(r)};
|
|
13
13
|
})(${I(this.node)})
|
|
14
|
-
`;return this.replaceWith(u)[0].get("arguments.0")},t.splitExportDeclaration=function(){if(!this.isExportDeclaration()||this.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(this.isExportNamedDeclaration()&&this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");const e=this.get("declaration");if(this.isExportDefaultDeclaration()){const t=e.isFunctionDeclaration()||e.isClassDeclaration(),n=e.isFunctionExpression()||e.isClassExpression(),r=e.isScope()?e.scope.parent:e.scope;let i=e.node.id,s=!1;i?n&&r.hasBinding(i.name)&&(s=!0,i=r.generateUidIdentifier(i.name)):(s=!0,i=r.generateUidIdentifier("default"),(t||n)&&(e.node.id=N(i)));const o=t?e.node:j("var",[R(N(i),e.node)]),a=W(null,[U(N(i),d("default"))]);return this.insertAfter(a),this.replaceWith(o),s&&r.registerDeclaration(this),this}if(this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");const t=e.getOuterBindingIdentifiers(),n=Object.keys(t).map((e=>U(d(e),d(e)))),r=W(null,n);return this.insertAfter(r),this.replaceWith(e.node),this},t.toComputedKey=function(){let e;if(this.isMemberExpression())e=this.node.property;else{if(!this.isProperty()&&!this.isMethod())throw new ReferenceError("todo");e=this.node.key}return this.node.computed||m(e)&&(e=_(e.name)),e},t.unwrapFunctionEnvironment=function(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");q(this)};var r=n(8135),i=n(240),s=n(5957),o=n(4537);const{arrowFunctionExpression:a,assignmentExpression:l,binaryExpression:c,blockStatement:u,callExpression:p,conditionalExpression:f,expressionStatement:h,identifier:d,isIdentifier:m,jsxIdentifier:g,logicalExpression:y,LOGICAL_OPERATORS:v,memberExpression:b,metaProperty:x,numericLiteral:S,objectExpression:C,restElement:E,returnStatement:k,sequenceExpression:w,spreadElement:T,stringLiteral:_,super:A,thisExpression:P,toExpression:I,unaryExpression:M,toBindingIdentifierName:O,isFunction:F,isAssignmentPattern:B,isRestElement:D,getFunctionName:L,cloneNode:N,variableDeclaration:j,variableDeclarator:R,exportNamedDeclaration:W,exportSpecifier:U,inherits:V}=r;t.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};const H=(0,s.environmentVisitor)({CallExpression(e,{allSuperCalls:t}){e.get("callee").isSuper()&&t.push(e)}});function q(e,t=!0,n=!0,r=!0){let i,s=e.findParent((e=>e.isArrowFunctionExpression()?(null!=i||(i=e),!1):e.isFunction()||e.isProgram()||e.isClassProperty({static:!1})||e.isClassPrivateProperty({static:!1})));const o=s.isClassMethod({kind:"constructor"});if(s.isClassProperty()||s.isClassPrivateProperty())if(i)s=i;else{if(!n)throw e.buildCodeFrameError("Unable to transform arrow inside class property");e.replaceWith(p(a([],I(e.node)),[])),s=e.get("callee"),e=s.get("body")}const{thisPaths:u,argumentsPaths:h,newTargetPaths:m,superProps:C,superCalls:k}=function(e){const t=[],n=[],r=[],i=[],s=[];return e.traverse(J,{thisPaths:t,argumentsPaths:n,newTargetPaths:r,superProps:i,superCalls:s}),{thisPaths:t,argumentsPaths:n,newTargetPaths:r,superProps:i,superCalls:s}}(e);if(o&&k.length>0){if(!n)throw k[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super()` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");if(!r)throw k[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");const e=[];s.traverse(H,{allSuperCalls:e});const t=function(e){return $(e,"supercall",(()=>{const t=e.scope.generateUidIdentifier("args");return a([E(t)],p(A(),[T(d(t.name))]))}))}(s);e.forEach((e=>{const n=d(t);n.loc=e.node.callee.loc,e.get("callee").replaceWith(n)}))}if(h.length>0){const e=$(s,"arguments",(()=>{const e=()=>d("arguments");return s.scope.path.isProgram()?f(c("===",M("typeof",e()),_("undefined")),s.scope.buildUndefinedNode(),e()):e()}));h.forEach((t=>{const n=d(e);n.loc=t.node.loc,t.replaceWith(n)}))}if(m.length>0){const e=$(s,"newtarget",(()=>x(d("new"),d("target"))));m.forEach((t=>{const n=d(e);n.loc=t.node.loc,t.replaceWith(n)}))}if(C.length>0){if(!n)throw C[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");C.reduce(((e,t)=>e.concat(function(e){if(e.parentPath.isAssignmentExpression()&&"="!==e.parentPath.node.operator){const n=e.parentPath,r=n.node.operator.slice(0,-1),i=n.node.right,s=function(e){return v.includes(e)}(r);if(e.node.computed){const o=e.scope.generateDeclaredUidIdentifier("tmp"),a=e.node.object,c=e.node.property;n.get("left").replaceWith(b(a,l("=",o,c),!0)),n.get("right").replaceWith(t(s?"=":r,b(a,d(o.name),!0),i))}else{const o=e.node.object,a=e.node.property;n.get("left").replaceWith(b(o,a)),n.get("right").replaceWith(t(s?"=":r,b(o,d(a.name)),i))}return s?n.replaceWith(y(r,n.node.left,n.node.right)):n.node.operator="=",[n.get("left"),n.get("right").get("left")]}if(e.parentPath.isUpdateExpression()){const t=e.parentPath,n=e.scope.generateDeclaredUidIdentifier("tmp"),r=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null,i=[l("=",n,b(e.node.object,r?l("=",r,e.node.property):e.node.property,e.node.computed)),l("=",b(e.node.object,r?d(r.name):e.node.property,e.node.computed),c(e.parentPath.node.operator[0],d(n.name),S(1)))];return e.parentPath.node.prefix||i.push(d(n.name)),t.replaceWith(w(i)),[t.get("expressions.0.right"),t.get("expressions.1.left")]}return[e];function t(e,t,n){return"="===e?l("=",t,n):c(e,t,n)}}(t))),[]).forEach((e=>{const t=e.node.computed?"":e.get("property").node.name,n=e.parentPath,r=n.isAssignmentExpression({left:e.node}),i=n.isCallExpression({callee:e.node}),o=n.isTaggedTemplateExpression({tag:e.node}),c=function(e,t,n){return $(e,`superprop_${t?"set":"get"}:${n||""}`,(()=>{const r=[];let i;if(n)i=b(A(),d(n));else{const t=e.scope.generateUidIdentifier("prop");r.unshift(t),i=b(A(),d(t.name),!0)}if(t){const t=e.scope.generateUidIdentifier("value");r.push(t),i=l("=",i,d(t.name))}return a(r,i)}))}(s,r,t),f=[];if(e.node.computed&&f.push(e.get("property").node),r){const e=n.node.right;f.push(e)}const h=p(d(c),f);i?(n.unshiftContainer("arguments",P()),e.replaceWith(b(h,d("call"))),u.push(n.get("arguments.0"))):r?n.replaceWith(h):o?(e.replaceWith(p(b(h,d("bind"),!1),[P()])),u.push(e.get("arguments.0"))):e.replaceWith(h)}))}let O;return(u.length>0||!t)&&(O=function(e,t){return $(e,"this",(n=>{if(!t||!G(e))return P();e.traverse(K,{supers:new WeakSet,thisBinding:n})}))}(s,o),(t||o&&G(s))&&(u.forEach((e=>{const t=e.isJSX()?g(O):d(O);t.loc=e.node.loc,e.replaceWith(t)})),t||(O=null))),{thisBinding:O,fnPath:e}}function G(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}const K=(0,s.environmentVisitor)({CallExpression(e,{supers:t,thisBinding:n}){e.get("callee").isSuper()&&(t.has(e.node)||(t.add(e.node),e.replaceWithMultiple([e.node,l("=",d(n),d("this"))])))}});function $(e,t,n){const r="binding:"+t;let i=e.getData(r);if(!i){const s=e.scope.generateUidIdentifier(t);i=s.name,e.setData(r,i),e.scope.push({id:s,init:n(i)})}return i}const J=(0,s.environmentVisitor)({ThisExpression(e,{thisPaths:t}){t.push(e)},JSXIdentifier(e,{thisPaths:t}){"this"===e.node.name&&(e.parentPath.isJSXMemberExpression({object:e.node})||e.parentPath.isJSXOpeningElement({name:e.node}))&&t.push(e)},CallExpression(e,{superCalls:t}){e.get("callee").isSuper()&&t.push(e)},MemberExpression(e,{superProps:t}){e.get("object").isSuper()&&t.push(e)},Identifier(e,{argumentsPaths:t}){if(!e.isReferencedIdentifier({name:"arguments"}))return;let n=e.scope;do{if(n.hasOwnBinding("arguments"))return void n.rename("arguments");if(n.path.isFunction()&&!n.path.isArrowFunctionExpression())break}while(n=n.parent);t.push(e)},MetaProperty(e,{newTargetPaths:t}){e.get("meta").isIdentifier({name:"new"})&&e.get("property").isIdentifier({name:"target"})&&t.push(e)}}),X={"ReferencedIdentifier|BindingIdentifier"(e,t){e.node.name===t.name&&(t.needsRename=!0,e.stop())},Scope(e,t){e.scope.hasOwnBinding(t.name)&&e.skip()}}},5584:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AssignmentExpression=function(e,t,n){return!(!x(n)||!p(e.left))||E(e,t)},t.Binary=S,t.BinaryExpression=function(e,t,n){return"in"===e.operator&&Boolean(n&i.TokenContext.forInOrInitHeadAccumulate)},t.ClassExpression=function(e,t,n){return Boolean(n&(i.TokenContext.expressionStatement|i.TokenContext.exportDefault))},t.ArrowFunctionExpression=t.ConditionalExpression=E,t.DoExpression=function(e,t,n){return!e.async&&Boolean(n&i.TokenContext.expressionStatement)},t.FunctionExpression=function(e,t,n){return Boolean(n&(i.TokenContext.expressionStatement|i.TokenContext.exportDefault))},t.FunctionTypeAnnotation=function(e,t,n){const r=t.type;return"UnionTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"ArrayTypeAnnotation"===r||Boolean(n&i.TokenContext.arrowFlowReturnType)},t.Identifier=function(e,t,n,r){var s;const o=t.type;if(null!=(s=e.extra)&&s.parenthesized&&"AssignmentExpression"===o&&t.left===e){const e=t.right.type;if(("FunctionExpression"===e||"ClassExpression"===e)&&null==t.right.id)return!0}return(!r||r(e)===e.name)&&("let"===e.name?!!((u(t,{object:e,computed:!0})||f(t,{object:e,computed:!0,optional:!1}))&&n&(i.TokenContext.expressionStatement|i.TokenContext.forInitHead|i.TokenContext.forInHead))||Boolean(n&i.TokenContext.forOfHead):"async"===e.name&&l(t,{left:e,await:!1}))},t.LogicalExpression=function(e,t){const n=t.type;if(y(n))return!0;if("LogicalExpression"!==n)return!1;switch(e.operator){case"||":return"??"===t.operator||"&&"===t.operator;case"&&":return"??"===t.operator;case"??":return"??"!==t.operator}},t.NullableTypeAnnotation=function(e,t){return s(t)},t.ObjectExpression=function(e,t,n){return x(n)},t.OptionalIndexedAccessType=function(e,t){return c(t)&&t.objectType===e},t.OptionalCallExpression=t.OptionalMemberExpression=function(e,t){return a(t)&&t.callee===e||u(t)&&t.object===e},t.SequenceExpression=function(e,t){const n=t.type;return!("SequenceExpression"===n||"ParenthesizedExpression"===n||"MemberExpression"===n&&t.property===e||"OptionalMemberExpression"===n&&t.property===e||"TemplateLiteral"===n)&&("ClassDeclaration"===n||("ForOfStatement"===n?t.right===e:"ExportDefaultDeclaration"===n||!d(t)))},t.TSSatisfiesExpression=t.TSAsExpression=function(e,t){return("AssignmentExpression"===t.type||"AssignmentPattern"===t.type)&&t.left===e||("BinaryExpression"===t.type&&("|"===t.operator||"&"===t.operator)&&e===t.left||S(e,t))},t.TSConditionalType=function(e,t){const n=t.type;return"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n||"TSTypeOperator"===n||"TSTypeParameter"===n||(("TSIntersectionType"===n||"TSUnionType"===n)&&t.types[0]===e||"TSConditionalType"===n&&(t.checkType===e||t.extendsType===e))},t.TSConstructorType=t.TSFunctionType=function(e,t){const n=t.type;return"TSIntersectionType"===n||"TSUnionType"===n||"TSTypeOperator"===n||"TSOptionalType"===n||"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSConditionalType"===n&&(t.checkType===e||t.extendsType===e)},t.TSInferType=function(e,t){const n=t.type;return"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n||!(!e.typeParameter.constraint||"TSIntersectionType"!==n&&"TSUnionType"!==n||t.types[0]!==e)},t.TSInstantiationExpression=function(e,t){const n=t.type;return("CallExpression"===n||"OptionalCallExpression"===n||"NewExpression"===n||"TSInstantiationExpression"===n)&&!!t.typeParameters},t.TSIntersectionType=function(e,t){const n=t.type;return"TSTypeOperator"===n||"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n},t.UnaryLike=t.TSTypeAssertion=C,t.TSTypeOperator=function(e,t){const n=t.type;return"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n},t.TSUnionType=function(e,t){const n=t.type;return"TSIntersectionType"===n||"TSTypeOperator"===n||"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n},t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=function(e,t){const n=t.type;return"ArrayTypeAnnotation"===n||"NullableTypeAnnotation"===n||"IntersectionTypeAnnotation"===n||"UnionTypeAnnotation"===n},t.UpdateExpression=function(e,t){return b(e,t)||v(e,t)},t.AwaitExpression=t.YieldExpression=function(e,t){const n=t.type;return"BinaryExpression"===n||"LogicalExpression"===n||"UnaryExpression"===n||"SpreadElement"===n||b(e,t)||"AwaitExpression"===n&&h(e)||"ConditionalExpression"===n&&e===t.test||v(e,t)||y(n)};var r=n(8135),i=n(1956);const{isArrayTypeAnnotation:s,isBinaryExpression:o,isCallExpression:a,isForOfStatement:l,isIndexedAccessType:c,isMemberExpression:u,isObjectPattern:p,isOptionalMemberExpression:f,isYieldExpression:h,isStatement:d}=r,m=new Map([["||",0],["??",0],["|>",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function g(e,t){return"BinaryExpression"===t||"LogicalExpression"===t?m.get(e.operator):"TSAsExpression"===t||"TSSatisfiesExpression"===t?m.get("in"):void 0}function y(e){return"TSAsExpression"===e||"TSSatisfiesExpression"===e||"TSTypeAssertion"===e}const v=(e,t)=>{const n=t.type;return("ClassDeclaration"===n||"ClassExpression"===n)&&t.superClass===e},b=(e,t)=>{const n=t.type;return("MemberExpression"===n||"OptionalMemberExpression"===n)&&t.object===e||("CallExpression"===n||"OptionalCallExpression"===n||"NewExpression"===n)&&t.callee===e||"TaggedTemplateExpression"===n&&t.tag===e||"TSNonNullExpression"===n};function x(e){return Boolean(e&(i.TokenContext.expressionStatement|i.TokenContext.arrowBody))}function S(e,t){const n=t.type;if("BinaryExpression"===e.type&&"**"===e.operator&&"BinaryExpression"===n&&"**"===t.operator)return t.left===e;if(v(e,t))return!0;if(b(e,t)||"UnaryExpression"===n||"SpreadElement"===n||"AwaitExpression"===n)return!0;const r=g(t,n);if(null!=r){const i=g(e,e.type);if(r===i&&"BinaryExpression"===n&&t.right===e||r>i)return!0}}function C(e,t){return b(e,t)||o(t)&&"**"===t.operator&&t.left===e||v(e,t)}function E(e,t){const n=t.type;return!!("UnaryExpression"===n||"SpreadElement"===n||"BinaryExpression"===n||"LogicalExpression"===n||"ConditionalExpression"===n&&t.test===e||"AwaitExpression"===n||y(n))||C(e,t)}},5703:(e,t,n)=>{"use strict";n.d(t,{C:()=>O});var r=n(3310),i=n(580),s=n(9740),o=n(4),a=n(3705),l=n(8291),c=n(5810),u=n(5307),p=n(3738),f=n(6253);function h(e,t,n,r,i,o,a,l){var c=(0,p.S)(e,t,n,r);if(!c)return null;t.contracts.add(c.api);var u=(0,s.A)({name:i,config:o},c);if(a&&l){if("catch"===l){if(1!==a.length)return t.errors.push({message:'".catch()" expects exactly 1 argument, but got '.concat(a.length),node:a.length>0?a[1].node:e.node,severity:"error"}),null}else if(0===a.length||a.length>2)return t.errors.push({message:'".then()" expects 1 or 2 arguments, but got '.concat(a.length),node:a.length>2?a[2].node:e.node,severity:"error"}),null;var f=d(a[0],t,n,r,l);if(f&&(u["catch"===l?"rejectTransform":"transform"]=f),"catch"!==l&&a.length>1){var h=d(a[1],t,n,r,l);h&&(u.rejectTransform=h)}}return u}function d(e,t,n,r,i){if(!e.isArrowFunctionExpression())return t.errors.push({message:'".'.concat(i,'()" callback expects an arrow function, but got ').concat(e.type),node:e.node,severity:"error"}),null;var o=e.get("body");if(!o.isExpression())return t.errors.push({message:'".'.concat(i,'()" callback function body expects an expression, but got ').concat(o.type),node:o.node,severity:"error"}),null;var a,l,c=e.get("params");if(c.length>1)return t.errors.push({message:'".'.concat(i,'()" callback function expects exactly 0 or 1 parameter, but got ').concat(c.length),node:null!==(a=null===(l=c[1])||void 0===l?void 0:l.node)&&void 0!==a?a:e,severity:"error"}),null;var u=(0,s.A)((0,s.A)({},r),{},{dataBinding:void 0}),p=c[0];if(c.length>0){if(!p.isIdentifier())return t.errors.push({message:'".'.concat(i,'()" callback function parameter expects an identifier, but got ').concat(p.type),node:p.node,severity:"error"}),null;u.dataBinding={id:p.node}}return(0,f.$)(o,t,n,u)}function m(e,t,n,i,s){var o=e.get("id");if(!o.isArrayPattern())return null;var a=o.get("elements");if(1!==a.length&&2!==a.length)return null;var u=a[0];if(!u.isIdentifier())return null;if(1!==t.length&&2!==t.length)return null;var p=t[0];if(!p.isArrowFunctionExpression())return null;if(!(0,l.Z1)(p.node,n))return null;var f=p.get("body");if(f.isBlockStatement())return null;if(!f.isCallExpression())return null;var d=f.get("callee");if(!d.isIdentifier()&&!d.isMemberExpression())return null;var m,g=t[1];if(g){if(!g.isObjectExpression())return n.errors.push({message:'"useResource()" second argument must be an object expression, but got '.concat(g.type),node:g.node,severity:"error"}),null;var y,v=(0,r.A)(g.get("properties"));try{for(v.s();!(y=v.n()).done;){var b=y.value;if(!b.isObjectProperty())return n.errors.push({message:'Unsupported property type in "useResource()" second argument: '.concat(b.type),node:b.node,severity:"error"}),null;var x=b.get("key");if(!x.isIdentifier())return n.errors.push({message:'"useResource()" second argument property key must be an identifier, but got '.concat(x.type),node:x.node,severity:"error"}),null;if(b.node.computed)return n.errors.push({message:'"useResource()" second argument property key cannot be computed',node:x.node,severity:"error"}),null;if("enabled"!==x.node.name&&"fallback"!==x.node.name)return n.errors.push({message:'"useResource()" second argument property key must be "enabled" or "fallback", but got "'.concat(x.node.name,'"'),node:x.node,severity:"error"}),null;null!=m||(m={}),m[x.node.name]=(0,c.A)(b.get("value"),n,i,s)}}catch(e){v.e(e)}finally{v.f()}}var S=null;if(d.isMemberExpression()){var C=d.get("property");if(!C.isIdentifier()||d.node.computed||"then"!==C.node.name&&"catch"!==C.node.name)return n.errors.push({message:"Invalid useResource call",node:C.node,severity:"error"}),null;S=h(d.get("object"),n,i,s,u.node.name,m,f.get("arguments"),C.node.name)}else S=h(f,n,i,s,u.node.name,m);if(S){var E=[{id:u.node,kind:"resource",resource:S}],k=a[1];if(k){if(!k.isIdentifier())return n.errors.push({message:'Refetch variable in "useResource()" must be an identifier',node:k.node,severity:"error"}),null;E.push({id:k.node,kind:"refetch",resourceId:u.node})}return E}return null}var g=n(7927);function y(e,t,n,i,s){if(1!==t.length)return n.errors.push({message:'"useContext()" must have exactly one argument, but got '.concat(t.length),node:e.node,severity:"error"}),null;var o=t[0];if(!o.isIdentifier())return n.errors.push({message:'"useContext()" argument must be an identifier, but got '.concat(o.type),node:o.node,severity:"error"}),null;var a=(0,g.lr)(o,n,i,s);if(!a)return null;var l=e.get("id");if(!l.isObjectPattern())return null;var c,u=l.get("properties"),p=[],f=(0,r.A)(u);try{for(f.s();!(c=f.n()).done;){var h=c.value;if(h.isObjectProperty())if(h.node.computed)n.errors.push({message:'"useContext()" destructuring property cannot be computed',node:h.node,severity:"error"});else{var d=h.get("key");if(d.isIdentifier()){var m=h.get("value");m.isIdentifier()?p.push({id:m.node,kind:"context",contextProvider:a,contextKey:d.node.name}):n.errors.push({message:'"useContext()" destructuring property value must be an identifier, but got '.concat(m.type),node:m.node,severity:"error"})}else n.errors.push({message:'"useContext()" destructuring property key must be an identifier, but got '.concat(d.type),node:d.node,severity:"error"})}else n.errors.push({message:'Unsupported property type in "useContext()" destructuring: '.concat(h.type),node:h.node,severity:"error"})}}catch(e){f.e(e)}finally{f.f()}return p}var v=n(689),b=new Map([["useQuery","query"],["usePathParams","pathParams"],["useApp","app"],["useAuth","auth"],["useHistory","history"],["useLocation","location"]]);function x(e,t,n,i){var s,o=(0,r.A)(b);try{for(o.s();!(s=o.n()).done;){var a=(0,v.A)(s.value,2),c=a[0],u=a[1];if((0,l.cv)(t,c)){var p=e.get("id");if(!p.isIdentifier()){i.errors.push({message:"".concat(c,"() must be assigned to an identifier, received ").concat(p.type),node:p.node,severity:"error"});break}return n.length>0&&i.errors.push({message:"".concat(c,"() does not accept any arguments, received ").concat(n.length),node:n[0].node,severity:"warning"}),[p.node,{id:p.node,kind:u}]}}}catch(e){o.e(e)}finally{o.f()}return null}var S=n(9074);function C(e,t,n,i,s){if(!t)return n.errors.push({message:"useImperativeHandle() can only be used in component with ref parameter",node:e.node,severity:"error"}),null;var o=e.get("arguments");if(o.length<2)return n.errors.push({message:"useImperativeHandle() requires at least 2 arguments, received ".concat(o.length),node:e.node,severity:"error"}),null;var a=o[0];if(!a.isIdentifier()||a.scope.getBindingIdentifier(a.node.name)!==t.node)return n.errors.push({message:"useImperativeHandle() first argument must be the ref parameter",node:a.node,severity:"error"}),null;var c=o[1];if(!c.isArrowFunctionExpression())return n.errors.push({message:"useImperativeHandle() second argument must be an arrow function expression, received ".concat(c.type),node:c.node,severity:"error"}),null;var u=c.get("body");if(!u.isObjectExpression())return n.errors.push({message:"useImperativeHandle() arrow function body must be an object expression, received ".concat(u.type),node:u.node,severity:"error"}),null;var p,f=[],h={},d=(0,r.A)(u.get("properties"));try{for(d.s();!(p=d.n()).done;){var m=p.value,g=m.get("key");if(g.isIdentifier()){var y=void 0;if(m.isObjectProperty()){if(m.node.computed||m.node.shorthand){n.errors.push({message:"useImperativeHandle() object properties cannot be computed or shorthand",node:m.node,severity:"error"});continue}var v=m.get("value");if(!(0,l.dM)(v)){n.errors.push({message:"useImperativeHandle() object properties must be functions, received ".concat(v.type),node:m.node,severity:"error"});continue}if(!(0,l.Z1)(v.node,n))continue;var b=v.get("body");if(!b.isBlockStatement()){n.errors.push({message:"useImperativeHandle() object property functions must have a block statement body, received ".concat(b.type),node:b.node,severity:"error"});continue}y=b}else{if(!m.isObjectMethod()){n.errors.push({message:"useImperativeHandle() object properties must be methods or properties, received ".concat(m.type),node:m.node,severity:"error"});continue}if(m.node.computed||"method"!==m.node.kind||m.node.generator||m.node.async){n.errors.push({message:"useImperativeHandle() object methods must be non-computed non-generator non-async methods, received kind=".concat(m.node.kind,", computed=").concat(m.node.computed,", generator=").concat(m.node.generator,", async=").concat(m.node.async),node:m.node,severity:"error"});continue}y=m.get("body")}var x=(0,S.y)(y,n,i,s);if(x&&(!Array.isArray(x)||x.length>0)){var C="imperative-handle-ref-".concat(g.node.name);h[g.node.name]={ref:C,refMethod:"trigger"},f.push({name:"eo-event-agent",portal:!0,properties:{},ref:C,events:{trigger:x}})}}else n.errors.push({message:"useImperativeHandle() object property key must be an identifier, received ".concat(g.type),node:g.node,severity:"error"})}}catch(e){d.e(e)}finally{d.f()}return 0===f.length?null:{components:f,methods:h}}function E(e,t,n,i,o){if(!(0,l.Z1)(e.node,t))return null;var u,p,f=new Map,h={bindingMap:f,type:i,id:e.node.id},d=(0,s.A)((0,s.A)({},o),{},{component:h}),g=e.get("params");if("template"===i){if(g.length>2)return t.errors.push({message:"Component function can only have no more than 2 parameters, received ".concat(g.length),node:e.node,severity:"error"}),null;if(g.length>0){var v=g[0];if(!v.isObjectPattern())return t.errors.push({message:"Component function first parameter must be an object pattern, received ".concat(v.type),node:v.node,severity:"error"}),null;var b,S=(0,r.A)(v.get("properties"));try{for(S.s();!(b=S.n()).done;){var E=b.value;if(E.isRestElement())return t.errors.push({message:"Component function parameter rest element is not allowed",node:E.node,severity:"error"}),null;var T=E.node;if(T.computed||!T.shorthand)return t.errors.push({message:"Component function parameter properties must be shorthand and not computed",node:E.node,severity:"error"}),null;var _=E.get("key"),A=E.get("value");if(!_.isIdentifier())return t.errors.push({message:"Component function parameter property key must be an identifier, received ".concat(_.type),node:_.node,severity:"error"}),null;var P=_.node.name;if(/^on[A-Z]/.test(P)){if(!A.isIdentifier())return t.errors.push({message:'Event handler parameter "'.concat(P,'" must be an identifier, received ').concat(A.type),node:A.node,severity:"error"}),null;f.set(A.node,{id:A.node,kind:"eventHandler"})}else{var I=void 0,M=void 0;if(A.isAssignmentPattern()){var O=A.get("left");O.isIdentifier()&&(I=O.node,M=(0,c.A)(A.get("right"),t,n,d))}else A.isIdentifier()&&(I=A.node);if(!I){t.errors.push({message:"Component function parameter property value must be an identifier or assignment pattern, received ".concat(A.type),node:A.node,severity:"error"});continue}var F={id:I,kind:"param",initialValue:M};f.set(I,F)}}}catch(e){S.e(e)}finally{S.f()}}if(g.length>1){var B=g[1];if(!B.isIdentifier())return t.errors.push({message:"Component function second parameter must be an identifier for ref, received ".concat(B.type),node:B.node,severity:"error"}),null;u=B}}else if(g.length>0)return t.errors.push({message:"Page function cannot have parameters, received ".concat(g.length),node:g[0].node,severity:"error"}),null;var D,L=h,N=e.get("body").get("body"),j=(0,r.A)(N);try{for(j.s();!(D=j.n()).done;){var R=D.value;if(R.isVariableDeclaration()){if("const"!==R.node.kind){t.errors.push({message:'Only "const" variable declaration is allowed, received "'.concat(R.node.kind,'"'),node:R.node,severity:"error"});continue}var W,U=(0,r.A)(R.get("declarations"));try{for(U.s();!(W=U.n()).done;){var V=W.value,H=V.get("init");if(H.isCallExpression()){var q=H.get("callee");if(q.isIdentifier()){var G=H.get("arguments");if((0,l.cv)(q,"useState")){var K=V.get("id");if(!K.isArrayPattern())continue;var $=K.get("elements");if(2!==$.length){t.errors.push({message:"useState() destructuring must have exactly two elements, received ".concat($.length),node:K.node,severity:"error"});continue}var J=$[0],X=$[1];if(!J.isIdentifier()||!X.isIdentifier()){t.errors.push({message:"useState() destructuring must have identifiers as elements, received ".concat($.map((function(e){return e.type})).join(", ")),node:K.node,severity:"error"});continue}var Q={id:J.node,kind:"state"};f.set(J.node,Q),f.set(X.node,{id:J.node,kind:"setState"}),G.length>0&&(Q.initialValue=(0,c.A)(G[0],t,n,d)),G.length>1&&t.errors.push({message:"useState() only accepts at most one argument, received ".concat(G.length),node:G[1].node,severity:"warning"});continue}if((0,l.cv)(q,"useResource")){var z=m(V,G,t,n,d);if(z){var Y,Z=(0,r.A)(z);try{for(Z.s();!(Y=Z.n()).done;){var ee=Y.value;f.set(ee.id,ee)}}catch(e){Z.e(e)}finally{Z.f()}}continue}if((0,l.cv)(q,"useRef")){var te=V.get("id");if(!te.isIdentifier()){t.errors.push({message:"useRef() must be assigned to an identifier, received ".concat(te.type),node:te.node,severity:"error"});continue}G.length>1&&t.errors.push({message:"useRef() only accepts at most one argument, received ".concat(G.length),node:G[1].node,severity:"warning"});var ne=G[0];ne&&!ne.isNullLiteral()&&t.errors.push({message:"useRef() first argument must be null, received ".concat(ne.type),node:ne.node,severity:"warning"}),f.set(te.node,{id:te.node,kind:"ref"});continue}var re=x(V,q,G,t);if(!1===re)continue;if(re){f.set(re[0],re[1]);continue}if((0,l.cv)(q,"useContext")){var ie=y(V,G,t,n,d);if(ie){var se,oe=(0,r.A)(ie);try{for(oe.s();!(se=oe.n()).done;){var ae=se.value;f.set(ae.id,ae)}}catch(e){oe.e(e)}finally{oe.f()}}continue}}}var le=V.get("id");if(le.isIdentifier()){var ce={id:le.node,kind:"constant"};f.set(le.node,ce),H.node&&(ce.initialValue=(0,c.A)(H,t,n,d))}else t.errors.push({message:"Expect an identifier as the variable name, received ".concat(le.type),node:le.node,severity:"error"})}}catch(e){U.e(e)}finally{U.f()}}else{if(R.isReturnStatement()){var ue,pe,fe,he=k(R,t,n,d);he&&(null!==(pe=(ue=L).children)&&void 0!==pe||(ue.children=[]),(fe=L.children).push.apply(fe,(0,a.A)(p?he.map((function(e){return(0,s.A)((0,s.A)({},e),{},{slot:p})})):he)));break}if(R.isIfStatement()){var de,me,ge=R.get("test");if(!(0,l.N5)(ge.node,t))return null;var ye=R.get("consequent"),ve=R.get("alternate"),be=w(ye,t,n,d),xe=ve?w(ve,t,n,d):null;null!==(me=(de=L).children)&&void 0!==me||(de.children=[]);var Se={name:"If",properties:{dataSource:(0,c.s)(ge,t,n,(0,s.A)((0,s.A)({},d),{},{modifier:"="}))},children:[].concat((0,a.A)(null!=be?be:[]),(0,a.A)((null!=xe?xe:[]).map((function(e){return(0,s.A)((0,s.A)({},e),{},{slot:"else"})})))),slot:p};if(L.children.push(Se),L=Se,be&&(p="else",xe))break}else{if(R.isExpressionStatement()){var Ce=R.get("expression");if(Ce.isCallExpression()){var Ee=Ce.get("callee");if(!Ee.isIdentifier()){t.errors.push({message:"Unsupported call expression callee type: ".concat(Ee.type),node:Ee.node,severity:"error"});continue}if((0,l.cv)(Ee,"useImperativeHandle")){var ke,we,Te,_e=C(Ce,u,t,n,d);_e&&(null!==(ke=h.children)&&void 0!==ke||(h.children=[]),(we=h.children).push.apply(we,(0,a.A)(_e.components)),null!==(Te=h.proxy)&&void 0!==Te||(h.proxy={}),h.proxy.methods=_e.methods)}continue}}R.isTSInterfaceDeclaration()||R.isTSTypeAliasDeclaration()||t.errors.push({message:"Unsupported top level statement type: ".concat(R.type),node:R.node,severity:"error"})}}}}catch(e){j.e(e)}finally{j.f()}return h}function k(e,t,n,r){var i=e.get("argument");return i.node?(0,u.H)(i,t,n,r):(t.errors.push({message:"Return statement in component function must have an argument",node:e,severity:"error"}),null)}function w(e,t,n,i){if(e.isBlockStatement()){var s=e.get("body");if(0===s.length)return t.errors.push({message:"If statement block must contain a return statement",node:e.node,severity:"error"}),null;var o,a=null,l=(0,r.A)(s);try{for(l.s();!(o=l.n()).done;){var c=w(o.value,t,n,i);c&&(a=c)}}catch(e){l.e(e)}finally{l.f()}return a}return e.isReturnStatement()?k(e,t,n,i):(t.errors.push({message:"Only return statement is allowed in if statement, but received: ".concat(e.type),node:e.node,severity:"error"}),null)}function T(e,t,n,r){var i=(0,f.$)(e,t,n,r,!0);return i?{name:e.node.id.name,source:i,typescript:!0}:null}var _=n(1799),A=n(1046),P=o.default,I=function(e){return e.TopLevelStatement="top level statement",e.NamedExportDeclaration="named export declaration",e.DefaultExportDeclaration="default export declaration",e}(I||{});function M(e,t){return"function"!==t.moduleType&&e.name[0]>="A"&&e.name[0]<="Z"}function O(e,t,n,o){var a,c=t.files.find((function(t){return t.filePath===e}));if(!c)throw new Error("File not found: ".concat(e));if(!t.modules.has(e)){t.modules.set(e,null);var p=e.endsWith(".ts")||e.endsWith(".tsx"),f=!p&&c.filePath.endsWith(".css");if(!n&&p)try{n=(0,i.parse)(c.content,{plugins:["jsx","typescript"],sourceType:"module",errorRecovery:!0})}catch(v){return void t.errors.push({message:"Failed to parse file (".concat(e,"): ").concat(v),node:null,severity:"fatal",filePath:e})}var h=!t.entry,d=h?"entry":f?"css":p?c.filePath.startsWith("/Pages/")?"page":c.filePath.startsWith("/Components/")?"template":c.filePath.startsWith("/Utils/")?"function":"unknown":"unknown",m={source:c.content,filePath:e,moduleType:d,defaultExport:null,namedExports:new Map,internals:[],errors:[],contracts:new Set,usedHelpers:new Set};if(null!==(a=n)&&void 0!==a&&null!==(a=a.errors)&&void 0!==a&&a.length){var g,y=(0,r.A)(n.errors);try{for(y.s();!(g=y.n()).done;){var v=g.value;m.errors.push({message:"".concat(v.code,": ").concat(v.reasonCode),node:null,severity:"error"})}}catch(e){y.e(e)}finally{y.f()}}h&&(t.entry=m),t.modules.set(e,m),n?function(e,t,n,i){var o=new Set,a=new Set,c=new Set,p={functionBindings:o,componentBindings:a,contextBindings:c,stateBindings:null==i?void 0:i.withContexts};P(n,{Program:function(n){var f,h=n.get("body"),d=[],m=[],g=null,y=null,v=[],b=function(n,r){if(n.isFunctionDeclaration()){var i=n.node.id;if(i&&(M(i,e)?a.add(i):o.add(i)),r===I.DefaultExportDeclaration)return void("app"===t.appType&&"entry"===e.moduleType?e.errors.push({message:"The entry module in an app cannot have a default export declaration.",node:n.node,severity:"error"}):g=n);if(!i)return void e.errors.push({message:"Function declaration must have a name",node:n.node,severity:"error"});d.push({func:n,exported:r===I.NamedExportDeclaration})}else if(n.isVariableDeclaration()){if(r===I.DefaultExportDeclaration)return void e.errors.push({message:"Default export declaration must be a function declaration.",node:n.node,severity:"error"});m.push({decl:n,exported:r===I.NamedExportDeclaration})}else if(n.isExportDefaultDeclaration()){var s=n.get("declaration");b(s,I.DefaultExportDeclaration)}else if(n.isExportNamedDeclaration()){var l=n.get("declaration");b(l,I.NamedExportDeclaration)}else if(n.isImportDeclaration()){var c=n.node.source.value;(c.startsWith(".")||c.startsWith("/"))&&v.push(c)}else n.isTSInterfaceDeclaration||n.isTSTypeAliasDeclaration()||e.errors.push({message:"Unsupported ".concat(r," type: ").concat(n.type),node:n.node,severity:"error"})},x=(0,r.A)(h);try{for(x.s();!(f=x.n()).done;){var S=f.value;if("app"===t.appType&&e===t.entry&&S.isExpressionStatement()){var C=S.get("expression");if(C.isCallExpression()){var k=C.get("callee");if(k.isIdentifier()&&(0,l.cv)(k,"render")){var w=C.get("arguments");if(1!==w.length){e.errors.push({message:"render() expects exactly one argument, received: ".concat(w.length),node:C.node,severity:"error"});continue}y=w[0];continue}}}b(S,I.TopLevelStatement)}}catch(e){x.e(e)}finally{x.f()}for(var P=0,F=m;P<F.length;P++){var B=F[P],D=B.decl,L=B.exported;if("const"===D.node.kind){var N,j=(0,r.A)(D.get("declarations"));try{for(j.s();!(N=j.n()).done;){var R=N.value,W=R.get("init");if(W.isCallExpression()){var U=W.get("callee");if(U.isIdentifier())if((0,l.cv)(U,"createContext")){var V=R.get("id");if(V.isIdentifier()){var H={type:"context",context:V.node.name};c.add(V.node),L?e.namedExports.set(V.node.name,H):e.internals.push(H)}else e.errors.push({message:"Unsupported context identifier type: ".concat(V.type),node:V.node,severity:"error"})}else e.errors.push({message:"Global variables must be initialized with createContext, but got: ".concat(U.node.name),node:U.node,severity:"error"});else e.errors.push({message:"Unsupported variable initializer type: ".concat(U.type),node:U.node,severity:"error"})}else e.errors.push({message:"Global variables must be initialized with a call expression, but got: ".concat(W.type),node:W.node,severity:"error"})}}catch(e){j.e(e)}finally{j.f()}}else e.errors.push({message:"Global variables must be declared with const.",node:D.node,severity:"error"})}for(var q=0,G=v;q<G.length;q++){var K=G[q];O((0,_.D)(K,e.filePath,t.files),t,void 0,i)}for(var $=0,J=d;$<J.length;$++){var X=J[$],Q=X.func,z=X.exported,Y=Q.node.id;if(M(Y,e)){var Z="app"===t.appType&&"entry"===e.moduleType?"page":"template",ee=E(Q,e,t,Z,p);if(ee){var te={type:Z,component:ee};z?e.namedExports.set(Y.name,te):e.internals.push(te)}}else{var ne=T(Q,e,t,p);if(ne){var re={type:"function",function:ne};z?e.namedExports.set(Y.name,re):e.internals.push(re)}}}if(g){var ie=g.node.id;if(ie?M(ie,e):"function"!==e.moduleType){var se="entry"===e.moduleType?"template"===t.appType?"template":"view":"page"===e.moduleType?"page":"template",oe=E(g,e,t,se,p);oe&&(e.defaultExport=(0,s.A)({type:se,component:oe},"view"===se?{title:(0,A.W)(oe)}:{}))}else{var ae=T(g,e,t,p);ae&&(e.defaultExport={type:"function",function:ae})}}if(y){var le=(0,u.H)(y,e,t,p);e.render={type:"render",children:le}}n.stop()}})}(m,t,n,o):f&&t.constants.set(e,c.content)}}},5810:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,s:()=>u});var r=n(3310),i=n(8135),s=n(8291),o=n(6253),a=n(5307),l=Symbol("ambiguous");function c(e,t,n,i){if(e.isTSAsExpression())return c(e.get("expression"),t,n,i);if(e.isObjectExpression())return function(e,t,n,i){var a=e.get("properties");if(a.some((function(e){return e.isSpreadElement()||e.isObjectProperty()&&(e.node.computed||e.node.shorthand)}))&&(0,s.N5)(e.node,t))return i.ambiguous?l:(0,o.$)(e,t,n,i);var u,p={},f=(0,r.A)(a);try{for(f.s();!(u=f.n()).done;){var h=u.value;if(h.isObjectProperty())if(h.node.computed||h.node.shorthand)t.errors.push({message:"Unsupported computed or shorthand object property",node:h.node.key,severity:"error"});else{var d=h.get("key"),m=void 0;if(d.isIdentifier())m=d.node.name;else{if(!d.isStringLiteral()){t.errors.push({message:"Unsupported object key type: ".concat(d.node.type),node:d.node,severity:"error"});continue}m=d.node.value}p[m]=c(h.get("value"),t,n,i)}else t.errors.push({message:"Unsupported property type: ".concat(h.type),node:h.node,severity:"error"})}}catch(e){f.e(e)}finally{f.f()}return p}(e,t,n,i);if(e.isArrayExpression())return function(e,t,n,i){var a=e.get("elements");if(a.some((function(e){return!e||e.isSpreadElement()}))&&(0,s.N5)(e.node,t))return i.ambiguous?l:(0,o.$)(e,t,n,i);var u,p=[],f=(0,r.A)(a);try{for(f.s();!(u=f.n()).done;){var h=u.value;h.node?h.isSpreadElement()?t.errors.push({message:"Spread elements are not supported in array",node:h.node,severity:"error"}):p.push(c(h,t,n,i)):t.errors.push({message:"Array elements cannot be empty",node:e.node,severity:"error"})}}catch(e){f.e(e)}finally{f.f()}return p}(e,t,n,i);if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral())return e.node.value;if(e.isNullLiteral())return null;if(!e.isIdentifier()||"undefined"!==e.node.name||void 0!==e.scope.getBinding("undefined")){if(i.allowUseBrick&&e.isArrowFunctionExpression()){var u=e.get("body");if(u.isBlockStatement())return t.errors.push({message:"Block statements are not supported in render callback",node:u.node,severity:"error"}),null;var p,f=[],h=(0,r.A)(e.get("params"));try{for(h.s();!(p=h.n()).done;){var d=p.value;if(!d.isIdentifier())return t.errors.push({message:"Unsupported parameter type: ".concat(d.type),node:d.node,severity:"error"}),null;f.push(d.node.name)}}catch(e){h.e(e)}finally{h.f()}return{params:f,children:(0,a.H)(u,t,n,i)}}return e.isExpression()?(0,s.N5)(e.node,t)?i.ambiguous?l:(0,o.$)(e,t,n,i):null:(t.errors.push({message:"Unsupported value type: ".concat(e.node.type),node:e.node,severity:"error"}),null)}}function u(e,t,n,r){var a=!1;return i.traverse(e.node,{enter:function(e,t){var n,r;a||i.isStringLiteral(e)||i.isNumericLiteral(e)||i.isBooleanLiteral(e)||i.isNullLiteral(e)||i.isObjectExpression(e)||i.isArrayExpression(e)||i.isObjectProperty(e)||i.isIdentifier(e)&&(r=null===(n=t[t.length-1])||void 0===n?void 0:n.node,1)&&(r&&i.isObjectProperty(r)?!r.computed&&!r.shorthand:"undefined"===e.name)||(a=!0)}}),a&&(0,s.N5)(e.node,null)?(0,o.$)(e,t,n,r):c(e,t,n,r)}},5838:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=function(e,t){const{placeholderWhitelist:n=e.placeholderWhitelist,placeholderPattern:r=e.placeholderPattern,preserveComments:i=e.preserveComments,syntacticPlaceholders:s=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:n,placeholderPattern:r,preserveComments:i,syntacticPlaceholders:s}},t.normalizeReplacements=function(e){if(Array.isArray(e))return e.reduce(((e,t,n)=>(e["$"+n]=t,e)),{});if("object"==typeof e||null==e)return e||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")},t.validate=function(e){if(null!=e&&"object"!=typeof e)throw new Error("Unknown template options.");const t=e||{},{placeholderWhitelist:r,placeholderPattern:i,preserveComments:s,syntacticPlaceholders:o}=t,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(t,n);if(null!=r&&!(r instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(null!=i&&!(i instanceof RegExp)&&!1!==i)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(null!=s&&"boolean"!=typeof s)throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(null!=o&&"boolean"!=typeof o)throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(!0===o&&(null!=r||null!=i))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:a,placeholderWhitelist:r||void 0,placeholderPattern:null==i?void 0:i,preserveComments:null==s?void 0:s,syntacticPlaceholders:null==o?void 0:o}};const n=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},5957:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.environmentVisitor=function(e){return g([C,e])},t.explode=h,t.isExplodedVisitor=f,t.merge=g,t.verify=d;var r=n(4057),i=n(7494),s=n(8135),o=n(4537);const{DEPRECATED_KEYS:a,DEPRECATED_ALIASES:l,FLIPPED_ALIAS_KEYS:c,TYPES:u,__internal__deprecationWarning:p}=s;function f(e){return null==e?void 0:e._exploded}function h(e){if(f(e))return e;e._exploded=!0;for(const t of Object.keys(e)){if(x(t))continue;const n=t.split("|");if(1===n.length)continue;const r=e[t];delete e[t];for(const t of n)e[t]=r}d(e),delete e.__esModule,function(e){for(const t of Object.keys(e)){if(x(t))continue;const n=e[t];"function"==typeof n&&(e[t]={enter:n})}}(e),v(e);for(const t of Object.keys(e)){if(x(t))continue;if(!(t in r))continue;const n=e[t];for(const e of Object.keys(n))n[e]=b(t,n[e]);delete e[t];const i=r[t];if(null!==i)for(const t of i)e[t]?S(e[t],n):e[t]=n;else S(e,n)}for(const t of Object.keys(e)){if(x(t))continue;let n=c[t];if(t in a){const e=a[t];p(t,e,"Visitor "),n=[e]}else if(t in l){const e=l[t];p(t,e,"Visitor "),n=c[e]}if(!n)continue;const r=e[t];delete e[t];for(const t of n){const n=e[t];n?S(n,r):e[t]=Object.assign({},r)}}for(const t of Object.keys(e))x(t)||v(e[t]);return e}function d(e){if(!e._verified){if("function"==typeof e)throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(const t of Object.keys(e)){if("enter"!==t&&"exit"!==t||m(t,e[t]),x(t))continue;if(!u.includes(t))throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type in @babel/traverse 7.27.4`);const n=e[t];if("object"==typeof n)for(const e of Object.keys(n)){if("enter"!==e&&"exit"!==e)throw new Error(`You passed \`traverse()\` a visitor object with the property ${t} that has the invalid property ${e}`);m(`${t}.${e}`,n[e])}}e._verified=!0}}function m(e,t){const n=[].concat(t);for(const t of n)if("function"!=typeof t)throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}function g(e,t=[],n){const r={_verified:!0,_exploded:!0};Object.defineProperty(r,"_exploded",{enumerable:!1}),Object.defineProperty(r,"_verified",{enumerable:!1});for(let i=0;i<e.length;i++){const s=h(e[i]),o=t[i];let a=s;(o||n)&&(a=y(a,o,n)),S(r,a);for(const e of Object.keys(s)){if(x(e))continue;let t=s[e];(o||n)&&(t=y(t,o,n)),S(r[e]||(r[e]={}),t)}}return r}function y(e,t,n){const r={};for(const i of["enter","exit"]){let s=e[i];Array.isArray(s)&&(s=s.map((function(e){let r=e;return t&&(r=function(n){e.call(t,n,t)}),n&&(r=n(null==t?void 0:t.key,i,r)),r!==e&&(r.toString=()=>e.toString()),r})),r[i]=s)}return r}function v(e){e.enter&&!Array.isArray(e.enter)&&(e.enter=[e.enter]),e.exit&&!Array.isArray(e.exit)&&(e.exit=[e.exit])}function b(e,t){const n=i[`is${e}`],r=function(e){if(n.call(e))return t.apply(this,arguments)};return r.toString=()=>t.toString(),r}function x(e){return"_"===e[0]||"enter"===e||"exit"===e||"shouldSkip"===e||"denylist"===e||"noScope"===e||"skipKeys"===e||"blacklist"===e}function S(e,t){for(const n of["enter","exit"])t[n]&&(e[n]=[].concat(e[n]||[],t[n]))}const C={FunctionParent(e){e.isArrowFunctionExpression()||(e.skip(),e.isMethod()&&(e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():o.requeueComputedKeyAndDecorators.call(e)))},Property(e){e.isObjectProperty()||(e.skip(),e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():o.requeueComputedKeyAndDecorators.call(e))}}},6026:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor({identifier:e,scope:t,path:n,kind:r}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=e,this.scope=t,this.path=n,this.kind=r,"var"!==r&&"hoisted"!==r||!function(e){const t=!e.isVariableDeclarator()||e.node.init;for(let{parentPath:n,key:r}=e;n;({parentPath:n,key:r}=n)){if(n.isFunctionParent())return!1;if("left"===r&&n.isForXStatement()||t&&"body"===r&&n.isLoop())return!0}return!1}(n)||this.reassign(n),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(e){this.constant=!1,this.constantViolations.includes(e)||this.constantViolations.push(e)}reference(e){this.referencePaths.includes(e)||(this.referenced=!0,this.references++,this.referencePaths.push(e))}dereference(){this.references--,this.referenced=!!this.references}}},6230:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},6253:(e,t,n)=>{"use strict";n.d(t,{$:()=>c});var r=n(689),i=n(3310),s=n(7927),o=n(1799),a=n(8291),l=new Map([["BASE_URL","BASE_URL"],["translate","I18N"],["translateByRecord","I18N_TEXT"]]);function c(e,t,n,c,u){var p,f=e.isFunctionDeclaration();if(f&&!(0,a.Z1)(e.node,t))return null;var h=[],d={Identifier:function(u){var p,d,m,g,y,v,b;if(u.isReferencedIdentifier()){var x,S=u.parentPath.isObjectProperty()&&u.parentPath.node.shorthand,C=u.node.name,E=(0,i.A)(l);try{for(E.s();!(x=E.n()).done;){var k=(0,r.A)(x.value,2),w=k[0],T=k[1];if((0,a.cv)(u,w))return void h.push({type:"id",start:u.node.start,end:u.node.end,replacement:T,shorthand:S?C:void 0})}}catch(e){E.e(e)}finally{E.f()}var _=u.scope.getBinding(C);if(_){var A=_.identifier;if("module"===_.kind){var P=_.path.isImportDefaultSpecifier();if(!P&&!_.path.isImportSpecifier())return void t.errors.push({message:'Invalid module binding for "'.concat(C,'"'),node:u.node,severity:"error"});var I,M=_.path.parentPath.node;if(!P){var O=_.path.get("imported");if(!O.isIdentifier())return t.errors.push({message:"Unsupported import specifier type: ".concat(O.type),node:O.node,severity:"error"}),null;I=O.node.name}var F=M.source.value;if(F.startsWith(".")||F.startsWith("/")){var B,D,L=(0,o.D)(F,t.filePath,n.files),N=n.modules.get(L);if("css"===(null==N?void 0:N.moduleType))return f?void t.errors.push({message:"Css imports are not supported for utils functions",node:u.node,severity:"error"}):void(P?h.push({type:"id",start:u.node.start,end:u.node.end,replacement:"CONSTANTS[".concat(JSON.stringify(L),"]"),shorthand:S?C:void 0}):t.errors.push({message:"Named imports are not supported for CSS modules",node:u.node,severity:"error"}));"function"===(null===(B=D=P?null==N?void 0:N.defaultExport:null==N?void 0:N.namedExports.get(I))||void 0===B?void 0:B.type)?h.push({type:"id",start:u.node.start,end:u.node.end,replacement:"FN.".concat(D.function.name),shorthand:S?C:void 0}):t.errors.push({message:'Invalid usage: "'.concat(C,'"'),node:u.node,severity:"error"})}else switch(F){case"lodash":h.push({type:"id",start:u.node.start,end:u.node.end,replacement:P?"_":"_.".concat(I),shorthand:S?C:void 0});break;case"moment":P?h.push({type:"id",start:u.node.start,end:u.node.end,replacement:"moment",shorthand:S?C:void 0}):t.errors.push({message:'Named imports are not supported for "moment" module',node:u.node,severity:"error"})}}if(!f||A!==e.node.id)if(null!==(p=c.functionBindings)&&void 0!==p&&p.has(A))h.push({type:"id",start:u.node.start,end:u.node.end,replacement:"FN.".concat(C),shorthand:S?C:void 0});else{var j;switch(A){case null===(d=c.eventBinding)||void 0===d?void 0:d.id:j=null!==(m=c.eventBinding)&&void 0!==m&&m.isCallback?"EVENT.detail":"EVENT";break;case null===(g=c.forEachBinding)||void 0===g?void 0:g.item:j="ITEM";break;case null===(y=c.forEachBinding)||void 0===y?void 0:y.index:j="INDEX";break;case null===(v=c.dataBinding)||void 0===v?void 0:v.id:j="DATA"}if(j)h.push({type:"id",start:u.node.start,end:u.node.end,replacement:j,shorthand:S?C:void 0});else{var R=null===(b=c.component)||void 0===b?void 0:b.bindingMap.get(A);R&&("state"===R.kind||"resource"===R.kind||"constant"===R.kind||"param"===R.kind||"app"===R.kind||"auth"===R.kind||"location"===R.kind||"query"===R.kind||"pathParams"===R.kind?h.push({type:"id",start:u.node.start,end:u.node.end,replacement:"app"===R.kind?"APP":"auth"===R.kind?"SYS":"location"===R.kind?"location":"query"===R.kind?"QUERY":"pathParams"===R.kind?"PATH":"".concat("template"===c.component.type?"STATE":"CTX",".").concat(A.name),shorthand:S?C:void 0}):"context"===R.kind?h.push({type:"id",start:u.node.start,end:u.node.end,replacement:"CTX.".concat((0,s.as)(R.contextProvider.name,R.contextKey)),shorthand:S?C:void 0}):t.errors.push({message:"Invalid usage of ".concat(R.kind,' variable "').concat(A.name,'"'),node:u.node,severity:"error"}))}}}else{var W;null!==(W=c.stateBindings)&&void 0!==W&&W.includes(C)&&h.push({type:"id",start:u.node.start,end:u.node.end,replacement:"CTX.".concat(C),shorthand:S?C:void 0})}}}};f||Object.assign(d,{TSTypeAnnotation:function(e){h.push({type:"annotation",start:e.node.start,end:e.node.end}),e.skip()},TSTypeParameterInstantiation:function(e){h.push({type:"annotation",start:e.node.start,end:e.node.end}),e.skip()},TSAsExpression:function(e){h.push({type:"annotation",start:e.node.expression.end,end:e.node.end}),e.skip()}}),e.isIdentifier()&&d.Identifier(e),e.traverse(d),h.sort((function(e,t){return e.start-t.start}));for(var m=[],g=e.node.start,y=0,v=h;y<v.length;y++){var b=v[y];m.push(t.source.substring(g,b.start),"annotation"===b.type?"":"".concat(b.shorthand?"".concat(b.shorthand,":"):"").concat(b.replacement)),g=b.end}m.push(t.source.substring(g,e.node.end));var x=m.join("");return f||u?x:"<%".concat(null!==(p=c.modifier)&&void 0!==p?p:""," ").concat(x," %>")}},6266:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clear=function(){i(),s()},t.clearPath=i,t.clearScope=s,t.getCachedPaths=function(e){const{parent:t,parentPath:r}=e;return n.get(t)},t.getOrCreateCachedPaths=function(e,t){let r=n.get(e);return r||n.set(e,r=new Map),r},t.scope=t.path=void 0;let n=t.path=new WeakMap,r=t.scope=new WeakMap;function i(){t.path=n=new WeakMap}function s(){t.scope=r=new WeakMap}},6284:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:()=>r})},6385:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=function(e){this.print(e.left),this.space(),"in"===e.operator||"instanceof"===e.operator?this.word(e.operator):(this.token(e.operator),this._endsWithDiv="/"===e.operator),this.space(),this.print(e.right)},t.AssignmentPattern=function(e){this.print(e.left),("Identifier"===e.left.type||c(e.left))&&(e.left.optional&&this.tokenChar(63),this.print(e.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(e.right)},t.AwaitExpression=function(e){this.word("await"),this.space(),this.print(e.argument)},t.BindExpression=function(e){this.print(e.object),this.token("::"),this.print(e.callee)},t.CallExpression=function(e){this.print(e.callee),this.print(e.typeArguments),this.print(e.typeParameters),this.tokenChar(40);const t=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),t(),this.rightParens(e)},t.ConditionalExpression=function(e){this.print(e.test),this.space(),this.tokenChar(63),this.space(),this.print(e.consequent),this.space(),this.tokenChar(58),this.space(),this.print(e.alternate)},t.Decorator=function(e){this.tokenChar(64),this.print(e.expression),this.newline()},t.DoExpression=function(e){e.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(e.body)},t.EmptyStatement=function(){this.semicolon(!0)},t.ExpressionStatement=function(e){this.tokenContext|=i.TokenContext.expressionStatement,this.print(e.expression),this.semicolon()},t.Import=function(){this.word("import")},t.MemberExpression=function(e){if(this.print(e.object),!e.computed&&a(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;if(o(e.property)&&"number"==typeof e.property.value&&(t=!0),t){const t=this.enterDelimited();this.tokenChar(91),this.print(e.property),this.tokenChar(93),t()}else this.tokenChar(46),this.print(e.property)},t.MetaProperty=function(e){this.print(e.meta),this.tokenChar(46),this.print(e.property)},t.ModuleExpression=function(e){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();const{body:t}=e;(t.body.length||t.directives.length)&&this.newline(),this.print(t),this.dedent(),this.rightBrace(e)},t.NewExpression=function(e,t){if(this.word("new"),this.space(),this.print(e.callee),this.format.minified&&0===e.arguments.length&&!e.optional&&!s(t,{callee:e})&&!a(t)&&!l(t))return;if(this.print(e.typeArguments),this.print(e.typeParameters),e.optional&&this.token("?."),0===e.arguments.length&&this.tokenMap&&!this.tokenMap.endMatches(e,")"))return;this.tokenChar(40);const n=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),n(),this.rightParens(e)},t.OptionalCallExpression=function(e){this.print(e.callee),this.print(e.typeParameters),e.optional&&this.token("?."),this.print(e.typeArguments),this.tokenChar(40);const t=this.enterDelimited();this.printList(e.arguments),t(),this.rightParens(e)},t.OptionalMemberExpression=function(e){let{computed:t}=e;const{optional:n,property:r}=e;if(this.print(e.object),!t&&a(r))throw new TypeError("Got a MemberExpression for MemberExpression property");o(r)&&"number"==typeof r.value&&(t=!0),n&&this.token("?."),t?(this.tokenChar(91),this.print(r),this.tokenChar(93)):(n||this.tokenChar(46),this.print(r))},t.ParenthesizedExpression=function(e){this.tokenChar(40);const t=this.enterDelimited();this.print(e.expression),t(),this.rightParens(e)},t.PrivateName=function(e){this.tokenChar(35),this.print(e.id)},t.SequenceExpression=function(e){this.printList(e.expressions)},t.Super=function(){this.word("super")},t.ThisExpression=function(){this.word("this")},t.UnaryExpression=function(e){const{operator:t}=e;"void"===t||"delete"===t||"typeof"===t||"throw"===t?(this.word(t),this.space()):this.token(t),this.print(e.argument)},t.UpdateExpression=function(e){e.prefix?(this.token(e.operator),this.print(e.argument)):(this.print(e.argument,!0),this.token(e.operator))},t.V8IntrinsicIdentifier=function(e){this.tokenChar(37),this.word(e.name)},t.YieldExpression=function(e){e.delegate?(this.word("yield",!0),this.tokenChar(42),e.argument&&(this.space(),this.print(e.argument))):e.argument?(this.word("yield",!0),this.space(),this.print(e.argument)):this.word("yield")},t._shouldPrintDecoratorsBeforeExport=function(e){return"boolean"==typeof this.format.decoratorsBeforeExport?this.format.decoratorsBeforeExport:"number"==typeof e.start&&e.start===e.declaration.start};var r=n(8135),i=n(1956);const{isCallExpression:s,isLiteral:o,isMemberExpression:a,isNewExpression:l,isPattern:c}=r},6398:function(e,t){!function(e){"use strict";const t=",".charCodeAt(0),n=";".charCodeAt(0),r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(64),s=new Uint8Array(128);for(let e=0;e<64;e++){const t=r.charCodeAt(e);i[e]=t,s[t]=e}const o="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}};function a(e,t){const n=e.indexOf(";",t);return-1===n?e.length:n}function l(e,t,n,r){let i=0,o=0,a=0;do{const n=e.charCodeAt(t++);a=s[n],i|=(31&a)<<o,o+=5}while(32&a);const l=1&i;return i>>>=1,l&&(i=-2147483648|-i),n[r]+=i,t}function c(e,n,r){return!(n>=r)&&e.charCodeAt(n)!==t}function u(e){e.sort(p)}function p(e,t){return e[0]-t[0]}function f(e,t,n,r,s){const o=r[s];let a=o-n[s];n[s]=o,a=a<0?-a<<1|1:a<<1;do{let n=31&a;a>>>=5,a>0&&(n|=32),e[t++]=i[n]}while(a>0);return t}e.decode=function(e){const t=new Int32Array(5),n=[];let r=0;do{const i=a(e,r),s=[];let o=!0,p=0;t[0]=0;for(let n=r;n<i;n++){let r;n=l(e,n,t,0);const a=t[0];a<p&&(o=!1),p=a,c(e,n,i)?(n=l(e,n,t,1),n=l(e,n,t,2),n=l(e,n,t,3),c(e,n,i)?(n=l(e,n,t,4),r=[a,t[1],t[2],t[3],t[4]]):r=[a,t[1],t[2],t[3]]):r=[a],s.push(r)}o||u(s),n.push(s),r=i+1}while(r<=e.length);return n},e.encode=function(e){const r=new Int32Array(5),i=16384,s=16348,a=new Uint8Array(i),l=a.subarray(0,s);let c=0,u="";for(let p=0;p<e.length;p++){const h=e[p];if(p>0&&(c===i&&(u+=o.decode(a),c=0),a[c++]=n),0!==h.length){r[0]=0;for(let e=0;e<h.length;e++){const n=h[e];c>s&&(u+=o.decode(l),a.copyWithin(0,s,c),c-=s),e>0&&(a[c++]=t),c=f(a,c,r,n,0),1!==n.length&&(c=f(a,c,r,n,1),c=f(a,c,r,n,2),c=f(a,c,r,n,3),4!==n.length&&(c=f(a,c,r,n,4)))}}}return u+o.decode(a.subarray(0,c))},Object.defineProperty(e,"__esModule",{value:!0})}(t)},6405:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor(e,t){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=e,this._indentChar=t;for(let e=0;e<64;e++)this._fastIndentations.push(t.repeat(e));this._allocQueue()}_allocQueue(){const e=this._queue;for(let t=0;t<16;t++)e.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(e,t,n,r,i){const s=this._queueCursor;s===this._queue.length&&this._allocQueue();const o=this._queue[s];o.char=e,o.repeat=t,o.line=n,o.column=r,o.filename=i,this._queueCursor++}_popQueue(){if(0===this._queueCursor)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();const e=this._map,t={code:(this._buf+this._str).trimRight(),decodedMap:null==e?void 0:e.getDecoded(),get __mergedMap(){return this.map},get map(){const n=e?e.get():null;return t.map=n,n},set map(e){Object.defineProperty(t,"map",{value:e,writable:!0})},get rawMappings(){const n=null==e?void 0:e.getRawMappings();return t.rawMappings=n,n},set rawMappings(e){Object.defineProperty(t,"rawMappings",{value:e,writable:!0})}};return t}append(e,t){this._flush(),this._append(e,this._sourcePosition,t)}appendChar(e){this._flush(),this._appendChar(e,1,this._sourcePosition)}queue(e){if(10===e)for(;0!==this._queueCursor;){const e=this._queue[this._queueCursor-1].char;if(32!==e&&9!==e)break;this._queueCursor--}const t=this._sourcePosition;this._pushQueue(e,1,t.line,t.column,t.filename)}queueIndentation(e){0!==e&&this._pushQueue(-1,e,void 0,void 0,void 0)}_flush(){const e=this._queueCursor,t=this._queue;for(let n=0;n<e;n++){const e=t[n];this._appendChar(e.char,e.repeat,e)}this._queueCursor=0}_appendChar(e,t,n){if(this._last=e,-1===e){const e=this._fastIndentations[t];this._str+=void 0!==e?e:t>1?this._indentChar.repeat(t):this._indentChar}else this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);10!==e?(this._mark(n.line,n.column,n.identifierName,n.identifierNamePos,n.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(n.identifierName=void 0,n.identifierNamePos=void 0)}_append(e,t,n){const r=e.length,i=this._position;if(this._last=e.charCodeAt(r-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,!n&&!this._map)return void(i.column+=r);const{column:s,identifierName:o,identifierNamePos:a,filename:l}=t;let c=t.line;null==o&&null==a||!this._canMarkIdName||(t.identifierName=void 0,t.identifierNamePos=void 0);let u=e.indexOf("\n"),p=0;for(0!==u&&this._mark(c,s,o,a,l);-1!==u;)i.line++,i.column=0,p=u+1,p<r&&void 0!==c&&this._mark(++c,0,null,null,l),u=e.indexOf("\n",p);i.column+=r-p}_mark(e,t,n,r,i){var s;null==(s=this._map)||s.mark(this._position,e,t,n,r,i)}removeTrailingNewline(){const e=this._queueCursor;0!==e&&10===this._queue[e-1].char&&this._queueCursor--}removeLastSemicolon(){const e=this._queueCursor;0!==e&&59===this._queue[e-1].char&&this._queueCursor--}getLastChar(){const e=this._queueCursor;return 0!==e?this._queue[e-1].char:this._last}getNewlineCount(){const e=this._queueCursor;let t=0;if(0===e)return 10===this._last?1:0;for(let n=e-1;n>=0&&10===this._queue[n].char;n--)t++;return t===e&&10===this._last?t+1:t}endsWithCharAndNewline(){const e=this._queue,t=this._queueCursor;if(0!==t){if(10!==e[t-1].char)return;return t>1?e[t-2].char:this._last}}hasContent(){return 0!==this._queueCursor||!!this._last}exactSource(e,t){if(!this._map)return void t();this.source("start",e);const n=e.identifierName,r=this._sourcePosition;n&&(this._canMarkIdName=!1,r.identifierName=n),t(),n&&(this._canMarkIdName=!0,r.identifierName=void 0,r.identifierNamePos=void 0),this.source("end",e)}source(e,t){this._map&&this._normalizePosition(e,t,0)}sourceWithOffset(e,t,n){this._map&&this._normalizePosition(e,t,n)}_normalizePosition(e,t,n){const r=t[e],i=this._sourcePosition;r&&(i.line=r.line,i.column=Math.max(r.column+n,0),i.filename=t.filename)}getCurrentColumn(){const e=this._queue,t=this._queueCursor;let n=-1,r=0;for(let i=0;i<t;i++){const t=e[i];10===t.char&&(n=r),r+=t.repeat}return-1===n?this._position.column+r:r-1-n}getCurrentLine(){let e=0;const t=this._queue;for(let n=0;n<this._queueCursor;n++)10===t[n].char&&e++;return this._position.line+e}}},6488:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{A:()=>r})},6611:(e,t,n)=>{"use strict";var r=n(9907);Object.defineProperty(t,"__esModule",{value:!0});var i=n(8952),s=n(6230),o=n(4007);const a=(e,t)=>n=>e(t(n));function l(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:a(a(e.white,e.bgRed),e.bold),gutter:e.gray,marker:a(e.red,e.bold),message:a(e.red,e.bold),reset:e.reset}}const c=l(i.createColors(!0)),u=l(i.createColors(!1));function p(e){return e?c:u}const f=new Set(["as","async","from","get","of","set"]),h=/\r\n|[\n\r\u2028\u2029]/,d=/^[()[\]{}]$/;let m;{const e=/^[a-z][\w-]*$/i,t=function(t,n,r){if("name"===t.type){if(o.isKeyword(t.value)||o.isStrictReservedWord(t.value,!0)||f.has(t.value))return"keyword";if(e.test(t.value)&&("<"===r[n-1]||"</"===r.slice(n-2,n)))return"jsxIdentifier";if(t.value[0]!==t.value[0].toLowerCase())return"capitalized"}return"punctuator"===t.type&&d.test(t.value)?"bracket":"invalid"!==t.type||"@"!==t.value&&"#"!==t.value?t.type:"punctuator"};m=function*(e){let n;for(;n=s.default.exec(e);){const r=s.matchToToken(n);yield{type:t(r,n.index,e),value:r.value}}}}function g(e){if(""===e)return"";const t=p(!0);let n="";for(const{type:r,value:i}of m(e))n+=r in t?i.split(h).map((e=>t[r](e))).join("\n"):i;return n}let y=!1;const v=/\r\n|[\n\r\u2028\u2029]/;function b(e,t,n={}){const s=n.forceColor||("object"!=typeof r||"0"!==r.env.FORCE_COLOR&&"false"!==r.env.FORCE_COLOR)&&i.isColorSupported&&n.highlightCode,o=p(s),a=e.split(v),{start:l,end:c,markerLines:u}=function(e,t,n){const r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),{linesAbove:s=2,linesBelow:o=3}=n||{},a=r.line,l=r.column,c=i.line,u=i.column;let p=Math.max(a-(s+1),0),f=Math.min(t.length,c+o);-1===a&&(p=0),-1===c&&(f=t.length);const h=c-a,d={};if(h)for(let e=0;e<=h;e++){const n=e+a;if(l)if(0===e){const e=t[n-1].length;d[n]=[l,e-l+1]}else if(e===h)d[n]=[0,u];else{const r=t[n-e].length;d[n]=[0,r]}else d[n]=!0}else d[a]=l===u?!l||[l,0]:[l,u-l];return{start:p,end:f,markerLines:d}}(t,a,n),f=t.start&&"number"==typeof t.start.column,h=String(c).length;let d=(s?g(e):e).split(v,c).slice(l,c).map(((e,t)=>{const r=l+1+t,i=` ${` ${r}`.slice(-h)} |`,s=u[r],a=!u[r+1];if(s){let t="";if(Array.isArray(s)){const r=e.slice(0,Math.max(s[0]-1,0)).replace(/[^\t]/g," "),l=s[1]||1;t=["\n ",o.gutter(i.replace(/\d/g," "))," ",r,o.marker("^").repeat(l)].join(""),a&&n.message&&(t+=" "+o.message(n.message))}return[o.marker(">"),o.gutter(i),e.length>0?` ${e}`:"",t].join("")}return` ${o.gutter(i)}${e.length>0?` ${e}`:""}`})).join("\n");return n.message&&!f&&(d=`${" ".repeat(h+1)}${n.message}\n${d}`),s?o.reset(d):d}t.codeFrameColumns=b,t.default=function(e,t,n,i={}){if(!y){y=!0;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";r.emitWarning?r.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return b(e,{start:{column:n=Math.max(n,0),line:t}},i)},t.highlight=g},6643:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hooks=void 0,t.hooks=[function(e,t){if("test"===e.key&&(t.isWhile()||t.isSwitchCase())||"declaration"===e.key&&t.isExportDeclaration()||"body"===e.key&&t.isLabeledStatement()||"declarations"===e.listKey&&t.isVariableDeclaration()&&1===t.node.declarations.length||"expression"===e.key&&t.isExpressionStatement())return t.remove(),!0},function(e,t){if(t.isSequenceExpression()&&1===t.node.expressions.length)return t.replaceWith(t.node.expressions[0]),!0},function(e,t){if(t.isBinary())return"left"===e.key?t.replaceWith(t.node.right):t.replaceWith(t.node.left),!0},function(e,t){if(t.isIfStatement()&&"consequent"===e.key||"body"===e.key&&(t.isLoop()||t.isArrowFunctionExpression()))return e.replaceWith({type:"BlockStatement",body:[]}),!0}]},6647:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2670),i=n(8135),s=n(4537);const{VISITOR_KEYS:o}=i;t.default=class{constructor(e,t,n,r){this.queue=null,this.priorityQueue=null,this.parentPath=r,this.scope=e,this.state=n,this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return!0;if(t[e.type])return!0;const n=o[e.type];if(null==n||!n.length)return!1;for(const t of n)if(e[t])return!0;return!1}create(e,t,n,i){return r.default.get({parentPath:this.parentPath,parent:e,container:t,key:n,listKey:i})}maybeQueue(e,t){this.queue&&(t?this.queue.push(e):this.priorityQueue.push(e))}visitMultiple(e,t,n){if(0===e.length)return!1;const r=[];for(let i=0;i<e.length;i++){const s=e[i];s&&this.shouldVisit(s)&&r.push(this.create(t,e,i,n))}return this.visitQueue(r)}visitSingle(e,t){return!!this.shouldVisit(e[t])&&this.visitQueue([this.create(e,e,t)])}visitQueue(e){this.queue=e,this.priorityQueue=[];const t=new WeakSet;let n=!1,r=0;for(;r<e.length;){const i=e[r];if(r++,s.resync.call(i),0!==i.contexts.length&&i.contexts[i.contexts.length-1]===this||s.pushContext.call(i,this),null===i.key)continue;const{node:o}=i;if(!t.has(o)){if(o&&t.add(o),i.visit()){n=!0;break}if(this.priorityQueue.length&&(n=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,n))break}}for(let t=0;t<r;t++)s.popContext.call(e[t]);return this.queue=null,n}visit(e,t){const n=e[t];return!!n&&(Array.isArray(n)?this.visitMultiple(n,e,t):this.visitSingle(e,t))}}},6697:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenMap=void 0;var r=n(8135);const{traverseFast:i,VISITOR_KEYS:s}=r;t.TokenMap=class{constructor(e,t,n){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=t,this._source=n,i(e,(e=>{const t=this._getTokensIndexesOfNode(e);t.length>0&&this._nodesToTokenIndexes.set(e,t)})),this._tokensCache=null}has(e){return this._nodesToTokenIndexes.has(e)}getIndexes(e){return this._nodesToTokenIndexes.get(e)}find(e,t){const n=this._nodesToTokenIndexes.get(e);if(n)for(let e=0;e<n.length;e++){const r=n[e],i=this._tokens[r];if(t(i,r))return i}return null}findLastIndex(e,t){const n=this._nodesToTokenIndexes.get(e);if(n)for(let e=n.length-1;e>=0;e--){const r=n[e];if(t(this._tokens[r],r))return r}return-1}findMatching(e,t,n=0){const r=this._nodesToTokenIndexes.get(e);if(r){let i=0;const s=n;if(s>1){const r=this._nodesOccurrencesCountCache.get(e);r&&r.test===t&&r.count<s&&(i=r.i+1,n-=r.count+1)}for(;i<r.length;i++){const o=this._tokens[r[i]];if(this.matchesOriginal(o,t)){if(0===n)return s>0&&this._nodesOccurrencesCountCache.set(e,{test:t,count:s,i}),o;n--}}}return null}matchesOriginal(e,t){return e.end-e.start===t.length&&(null!=e.value?e.value===t:this._source.startsWith(t,e.start))}startMatches(e,t){const n=this._nodesToTokenIndexes.get(e);if(!n)return!1;const r=this._tokens[n[0]];return r.start===e.start&&this.matchesOriginal(r,t)}endMatches(e,t){const n=this._nodesToTokenIndexes.get(e);if(!n)return!1;const r=this._tokens[n[n.length-1]];return r.end===e.end&&this.matchesOriginal(r,t)}_getTokensIndexesOfNode(e){if(null==e.start||null==e.end)return[];const{first:t,last:n}=this._findTokensOfNode(e,0,this._tokens.length-1);let r=t;const i=function*(e){if("TemplateLiteral"===e.type){yield e.quasis[0];for(let t=1;t<e.quasis.length;t++)yield e.expressions[t-1],yield e.quasis[t];return}const t=s[e.type];for(const n of t){const t=e[n];t&&(Array.isArray(t)?yield*t:yield t)}}(e);"ExportNamedDeclaration"!==e.type&&"ExportDefaultDeclaration"!==e.type||!e.declaration||"ClassDeclaration"!==e.declaration.type||i.next();const o=[];for(const e of i){if(null==e)continue;if(null==e.start||null==e.end)continue;const t=this._findTokensOfNode(e,r,n),i=t.first;for(let e=r;e<i;e++)o.push(e);r=t.last+1}for(let e=r;e<=n;e++)o.push(e);return o}_findTokensOfNode(e,t,n){const r=this._tokensCache.get(e);if(r)return r;const i=this._findFirstTokenOfNode(e.start,t,n),s=this._findLastTokenOfNode(e.end,i,n);return this._tokensCache.set(e,{first:i,last:s}),{first:i,last:s}}_findFirstTokenOfNode(e,t,n){for(;t<=n;){const r=n+t>>1;if(e<this._tokens[r].start)n=r-1;else{if(!(e>this._tokens[r].start))return r;t=r+1}}return t}_findLastTokenOfNode(e,t,n){for(;t<=n;){const r=n+t>>1;if(e<this._tokens[r].end)n=r-1;else{if(!(e>this._tokens[r].end))return r;t=r+1}}return n}}},6801:function(e,t){!function(e){"use strict";function t(e,t){return e._indexes[t]}e.SetArray=class{constructor(){this._indexes={__proto__:null},this.array=[]}},e.get=t,e.pop=function(e){const{array:t,_indexes:n}=e;0!==t.length&&(n[t.pop()]=void 0)},e.put=function(e,n){const r=t(e,n);if(void 0!==r)return r;const{array:i,_indexes:s}=e,o=i.push(n);return s[n]=o-1},e.remove=function(e,n){const r=t(e,n);if(void 0===r)return;const{array:i,_indexes:s}=e;for(let e=r+1;e<i.length;e++){const t=i[e];i[e-1]=t,s[t]--}s[n]=void 0,i.pop()},Object.defineProperty(e,"__esModule",{value:!0})}(t)},6990:(e,t,n)=>{"use strict";n.d(t,{o:()=>p});var r=n(3705),i=n(689),s=n(9740),o=n(8135),a=n(8291),l=n(3135),c=n(5810),u=n(5307);function p(e,t,n,o){if(e.isJSXFragment())return e.get("children").flatMap((function(e){return p(e,t,n,o)}));if(e.isJSXText())return e.node.value.trim()?{type:"text",text:e.node.value}:null;if(e.isJSXExpressionContainer())return p(e.get("expression"),t,n,o);if(e.isJSXEmptyExpression())return null;if(e.isJSXElement())return(0,l.j)(e,t,n,o);if((0,a.X5)(e)){var h=e.get("callee");if(h.isIdentifier()&&(0,a.cv)(h,"createPortal")){var d=e.get("arguments");if(1!==d.length){var m=0===d.length;if(t.errors.push({message:"createPortal() requires exactly 1 argument, received ".concat(d.length),node:e.node,severity:m?"error":"warning"}),m)return null}return[].concat(p(d[0],t,n,o)).map((function(e){return null===e?e:"component"!==e.type?(t.errors.push({message:"Invalid argument type for createPortal(), expected a component but got ".concat(e.type),node:d[0].node,severity:"error"}),e):(0,s.A)((0,s.A)({},e),{},{component:(0,s.A)((0,s.A)({},e.component),{},{portal:!0})})}))}if((0,a.RJ)(h)){var g=h.get("property");if(g.isIdentifier()&&"map"===g.node.name){var y=e.get("arguments");if(y.length>0){var v=y[0];if(v.isArrowFunctionExpression()){var b=v.get("body");if(b.isExpression()&&f(b.node)){var x=h.get("object");if(!(0,a.N5)(x.node,t))return null;var S=v.get("params");if(S.length>2)return t.errors.push({message:"Array map function with JSX elements must have at most two parameters, but got ".concat(S.length),node:S[2].node,severity:"error"}),null;var C=S.find((function(e){return!e.isIdentifier()}));if(C)return t.errors.push({message:"Array map function with JSX elements must have identifier parameters, but got ".concat(C.type),node:C.node,severity:"error"}),null;var E=(0,s.A)((0,s.A)({},o),{},{forEachBinding:void 0});if(S.length>0){var k=S,w=(0,i.A)(k,2),T=w[0],_=w[1];E.forEachBinding={item:T.node,index:null==_?void 0:_.node}}return{type:"component",component:{name:"ForEach",properties:{dataSource:(0,c.s)(x,t,n,(0,s.A)((0,s.A)({},o),{},{modifier:"="}))},children:(0,u.H)(v.get("body"),t,n,E)}}}}}}}}else if(e.isConditionalExpression()){var A=e.get("test"),P=e.get("consequent"),I=e.get("alternate");if(f(P.node)||f(I.node))return(0,a.N5)(A.node,t)?{type:"component",component:{name:"If",properties:{dataSource:(0,c.s)(A,t,n,(0,s.A)((0,s.A)({},o),{},{modifier:"="}))},children:[].concat((0,r.A)((0,u.H)(P,t,n,o)),(0,r.A)((0,u.H)(I,t,n,o).map((function(e){return(0,s.A)((0,s.A)({},e),{},{slot:"else"})}))))}}:null}else if(e.isLogicalExpression()){var M=e.get("left"),O=e.get("right"),F=e.node.operator;if(("&&"===F||"||"===F)&&f(O.node)){if(!(0,a.N5)(M.node,t))return null;var B=(0,u.H)(O,t,n,o);return{type:"component",component:{name:"If",properties:{dataSource:(0,c.s)(M,t,n,(0,s.A)((0,s.A)({},o),{},{modifier:"="}))},children:"&&"===F?B:B.map((function(e){return(0,s.A)((0,s.A)({},e),{},{slot:"else"})}))}}}}return e.isExpression()?(0,a.N5)(e.node,t)?{type:"expression",expression:e}:null:(t.errors.push({message:"Unsupported node type in JSX children: ".concat(e.type),node:e.node,severity:"error"}),null)}function f(e){var t=!1;return o.traverse(e,{enter:function(e){t||!o.isJSXElement(e)&&!o.isJSXFragment(e)||(t=!0)}}),t}},7250:e=>{var t=1e3,n=60*t,r=60*n,i=24*r,s=7*i;function o(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,a){a=a||{};var l,c,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var a=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return a*s;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===u&&isFinite(e))return a.long?(l=e,(c=Math.abs(l))>=i?o(l,c,i,"day"):c>=r?o(l,c,r,"hour"):c>=n?o(l,c,n,"minute"):c>=t?o(l,c,t,"second"):l+" ms"):function(e){var s=Math.abs(e);return s>=i?Math.round(e/i)+"d":s>=r?Math.round(e/r)+"h":s>=n?Math.round(e/n)+"m":s>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},7358:(e,t,n)=>{"use strict";n.d(t,{M:()=>s});var r=n(9740),i=n(3310);function s(e){var t,n=(0,i.A)(e.modules.values());try{for(n.s();!(t=n.n()).done;){var s=t.value;if(s){var o,a=(0,i.A)(s.errors);try{for(a.s();!(o=a.n()).done;){var l=o.value;e.errors.push((0,r.A)((0,r.A)({},l),{},{filePath:s.filePath}))}}catch(l){a.e(l)}finally{a.f()}}}}catch(l){n.e(l)}finally{n.f()}}},7494:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBindingIdentifier=function(){const{node:e,parent:t}=this,n=this.parentPath.parent;return p(e)&&i(e,t,n)},t.isBlockScoped=function(){return s(this.node)},t.isExpression=function(){return this.isIdentifier()?this.isReferencedIdentifier():a(this.node)},t.isFlow=function(){const{node:e}=this;return!(!l(e)&&(f(e)?"type"!==e.importKind&&"typeof"!==e.importKind:o(e)?"type"!==e.exportKind:!h(e)||"type"!==e.importKind&&"typeof"!==e.importKind))},t.isForAwaitStatement=function(){return k(this.node,{await:!0})},t.isGenerated=function(){return!this.isUser()},t.isPure=function(e){return this.scope.isPure(this.node,e)},t.isReferenced=function(){return v(this.node,this.parent)},t.isReferencedIdentifier=function(e){const{node:t,parent:n}=this;if(!p(t,e)&&!m(n,e)){if(!d(t,e))return!1;if(w(t.name))return!1}return v(t,n,this.parentPath.parent)},t.isReferencedMemberExpression=function(){const{node:e,parent:t}=this;return g(e)&&v(e,t)},t.isRestProperty=function(){var e;return y(this.node)&&(null==(e=this.parentPath)?void 0:e.isObjectPattern())},t.isScope=function(){return b(this.node,this.parent)},t.isSpreadProperty=function(){var e;return y(this.node)&&(null==(e=this.parentPath)?void 0:e.isObjectExpression())},t.isStatement=function(){const{node:e,parent:t}=this;if(x(e)){if(C(e)){if(u(t,{left:e}))return!1;if(c(t,{init:e}))return!1}return!0}return!1},t.isUser=function(){return this.node&&!!this.node.loc},t.isVar=function(){return S(this.node)};var r=n(8135);const{isBinding:i,isBlockScoped:s,isExportDeclaration:o,isExpression:a,isFlow:l,isForStatement:c,isForXStatement:u,isIdentifier:p,isImportDeclaration:f,isImportSpecifier:h,isJSXIdentifier:d,isJSXMemberExpression:m,isMemberExpression:g,isRestElement:y,isReferenced:v,isScope:b,isStatement:x,isVar:S,isVariableDeclaration:C,react:E,isForOfStatement:k}=r,{isCompatTag:w}=E;t.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},t.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}},7545:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},7667:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const{metadata:o,names:a}=function(e,t,n){let r="BABEL_TPL$";const s=t.join("");do{r="$$"+r}while(s.includes(r));const{names:o,code:a}=function(e,t){const n=[];let r=e[0];for(let i=1;i<e.length;i++){const s=`${t}${i-1}`;n.push(s),r+=s+e[i]}return{names:n,code:r}}(t,r);return{metadata:(0,i.default)(e,e.code(a),{parser:n.parser,placeholderWhitelist:new Set(o.concat(n.placeholderWhitelist?Array.from(n.placeholderWhitelist):[])),placeholderPattern:n.placeholderPattern,preserveComments:n.preserveComments,syntacticPlaceholders:n.syntacticPlaceholders}),names:o}}(e,t,n);return t=>{const n={};return t.forEach(((e,t)=>{n[a[t]]=e})),t=>{const i=(0,r.normalizeReplacements)(t);return i&&Object.keys(i).forEach((e=>{if(hasOwnProperty.call(n,e))throw new Error("Unexpected replacement overlap.")})),e.unwrap((0,s.default)(o,i?Object.assign(i,n):n))}}};var r=n(5838),i=n(4131),s=n(2064)},7695:(e,t,n)=>{"use strict";n.d(t,{p:()=>p});const r=Symbol("Comlink.proxy"),i=Symbol("Comlink.endpoint"),s=Symbol("Comlink.releaseProxy"),o=Symbol("Comlink.finalizer"),a=Symbol("Comlink.thrown"),l=e=>"object"==typeof e&&null!==e||"function"==typeof e,c={canHandle:e=>l(e)&&e[r],serialize(e){const{port1:t,port2:n}=new MessageChannel;return p(e,t),[n,[n]]},deserialize:e=>(e.start(),function(e){const t=new Map;return e.addEventListener("message",(function(e){const{data:n}=e;if(!n||!n.id)return;const r=t.get(n.id);if(r)try{r(n)}finally{t.delete(n.id)}})),y(e,t,[],void 0)}(e))},u=new Map([["proxy",c],["throw",{canHandle:e=>l(e)&&a in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function p(e,t=globalThis,n=["*"]){t.addEventListener("message",(function i(s){if(!s||!s.data)return;if(!function(e,t){for(const n of e){if(t===n||"*"===n)return!0;if(n instanceof RegExp&&n.test(t))return!0}return!1}(n,s.origin))return void console.warn(`Invalid origin '${s.origin}' for comlink proxy`);const{id:l,type:c,path:u}=Object.assign({path:[]},s.data),h=(s.data.argumentList||[]).map(S);let d;try{const t=u.slice(0,-1).reduce(((e,t)=>e[t]),e),n=u.reduce(((e,t)=>e[t]),e);switch(c){case"GET":d=n;break;case"SET":t[u.slice(-1)[0]]=S(s.data.value),d=!0;break;case"APPLY":d=n.apply(t,h);break;case"CONSTRUCT":d=function(e){return Object.assign(e,{[r]:!0})}(new n(...h));break;case"ENDPOINT":{const{port1:t,port2:n}=new MessageChannel;p(e,n),d=function(e,t){return b.set(e,t),e}(t,[t])}break;case"RELEASE":d=void 0;break;default:return}}catch(e){d={value:e,[a]:0}}Promise.resolve(d).catch((e=>({value:e,[a]:0}))).then((n=>{const[r,s]=x(n);t.postMessage(Object.assign(Object.assign({},r),{id:l}),s),"RELEASE"===c&&(t.removeEventListener("message",i),f(t),o in e&&"function"==typeof e[o]&&e[o]())})).catch((e=>{const[n,r]=x({value:new TypeError("Unserializable return value"),[a]:0});t.postMessage(Object.assign(Object.assign({},n),{id:l}),r)}))})),t.start&&t.start()}function f(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function h(e){if(e)throw new Error("Proxy has been released and is not useable")}function d(e){return C(e,new Map,{type:"RELEASE"}).then((()=>{f(e)}))}const m=new WeakMap,g="FinalizationRegistry"in globalThis&&new FinalizationRegistry((e=>{const t=(m.get(e)||0)-1;m.set(e,t),0===t&&d(e)}));function y(e,t,n=[],r=function(){}){let o=!1;const a=new Proxy(r,{get(r,i){if(h(o),i===s)return()=>{!function(e){g&&g.unregister(e)}(a),d(e),t.clear(),o=!0};if("then"===i){if(0===n.length)return{then:()=>a};const r=C(e,t,{type:"GET",path:n.map((e=>e.toString()))}).then(S);return r.then.bind(r)}return y(e,t,[...n,i])},set(r,i,s){h(o);const[a,l]=x(s);return C(e,t,{type:"SET",path:[...n,i].map((e=>e.toString())),value:a},l).then(S)},apply(r,s,a){h(o);const l=n[n.length-1];if(l===i)return C(e,t,{type:"ENDPOINT"}).then(S);if("bind"===l)return y(e,t,n.slice(0,-1));const[c,u]=v(a);return C(e,t,{type:"APPLY",path:n.map((e=>e.toString())),argumentList:c},u).then(S)},construct(r,i){h(o);const[s,a]=v(i);return C(e,t,{type:"CONSTRUCT",path:n.map((e=>e.toString())),argumentList:s},a).then(S)}});return function(e,t){const n=(m.get(t)||0)+1;m.set(t,n),g&&g.register(e,t,e)}(a,e),a}function v(e){const t=e.map(x);return[t.map((e=>e[0])),(n=t.map((e=>e[1])),Array.prototype.concat.apply([],n))];var n}const b=new WeakMap;function x(e){for(const[t,n]of u)if(n.canHandle(e)){const[r,i]=n.serialize(e);return[{type:"HANDLER",name:t,value:r},i]}return[{type:"RAW",value:e},b.get(e)||[]]}function S(e){switch(e.type){case"HANDLER":return u.get(e.name).deserialize(e.value);case"RAW":return e.value}}function C(e,t,n,r){return new Promise((i=>{const s=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-");t.set(s,i),e.start&&e.start(),e.postMessage(Object.assign({id:s},n),r)}))}},7734:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BreakStatement=function(e){this.word("break"),u(this,e.label)},t.CatchClause=function(e){this.word("catch"),this.space(),e.param&&(this.tokenChar(40),this.print(e.param),this.print(e.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(e.body)},t.ContinueStatement=function(e){this.word("continue"),u(this,e.label)},t.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},t.DoWhileStatement=function(e){this.word("do"),this.space(),this.print(e.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.semicolon()},t.ForOfStatement=t.ForInStatement=void 0,t.ForStatement=function(e){this.word("for"),this.space(),this.tokenChar(40);{const t=this.enterForStatementInit();this.print(e.init),t()}this.tokenChar(59),e.test&&(this.space(),this.print(e.test)),this.token(";",!1,1),e.update&&(this.space(),this.print(e.update)),this.tokenChar(41),this.printBlock(e)},t.IfStatement=function(e){this.word("if"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.space();const t=e.alternate&&o(l(e.consequent));t&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(e.consequent),t&&(this.dedent(),this.newline(),this.tokenChar(125)),e.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(e.alternate))},t.LabeledStatement=function(e){this.print(e.label),this.tokenChar(58),this.space(),this.print(e.body)},t.ReturnStatement=function(e){this.word("return"),u(this,e.argument)},t.SwitchCase=function(e){e.test?(this.word("case"),this.space(),this.print(e.test),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),e.consequent.length&&(this.newline(),this.printSequence(e.consequent,!0))},t.SwitchStatement=function(e){this.word("switch"),this.space(),this.tokenChar(40),this.print(e.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(e.cases,!0,void 0,(function(t,n){if(!t&&e.cases[e.cases.length-1]===n)return-1})),this.rightBrace(e)},t.ThrowStatement=function(e){this.word("throw"),u(this,e.argument)},t.TryStatement=function(e){this.word("try"),this.space(),this.print(e.block),this.space(),e.handlers?this.print(e.handlers[0]):this.print(e.handler),e.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(e.finalizer))},t.VariableDeclaration=function(e,t){e.declare&&(this.word("declare"),this.space());const{kind:n}=e;"await using"===n?(this.word("await"),this.space(),this.word("using",!0)):this.word(n,"using"===n),this.space();let r=!1;if(!i(t))for(const t of e.declarations)t.init&&(r=!0);if(this.printList(e.declarations,void 0,void 0,e.declarations.length>1,r?function(e){this.token(",",!1,e),this.newline()}:void 0),i(t))if(s(t)){if(t.init===e)return}else if(t.left===e)return;this.semicolon()},t.VariableDeclarator=function(e){this.print(e.id),e.definite&&this.tokenChar(33),this.print(e.id.typeAnnotation),e.init&&(this.space(),this.tokenChar(61),this.space(),this.print(e.init))},t.WhileStatement=function(e){this.word("while"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.printBlock(e)},t.WithStatement=function(e){this.word("with"),this.space(),this.tokenChar(40),this.print(e.object),this.tokenChar(41),this.printBlock(e)};var r=n(8135);const{isFor:i,isForStatement:s,isIfStatement:o,isStatement:a}=r;function l(e){const{body:t}=e;return!1===a(t)?e:l(t)}function c(e){this.word("for"),this.space();const t="ForOfStatement"===e.type;t&&e.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40);{const n=this.enterForXStatementInit(t);this.print(e.left),null==n||n()}this.space(),this.word(t?"of":"in"),this.space(),this.print(e.right),this.tokenChar(41),this.printBlock(e)}function u(e,t){t&&(e.space(),e.printTerminatorless(t)),e.semicolon()}t.ForInStatement=c,t.ForOfStatement=c},7891:(e,t,n)=>{e.exports=function(e){function t(e){let n,i,s,o=null;function a(...e){if(!a.enabled)return;const r=a,i=Number(new Date),s=i-(n||i);r.diff=s,r.prev=n,r.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,i)=>{if("%%"===n)return"%";o++;const s=t.formatters[i];if("function"==typeof s){const t=e[o];n=s.call(r,t),e.splice(o,1),o--}return n})),t.formatArgs.call(r,e),(r.log||t.log).apply(r,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(i!==t.namespaces&&(i=t.namespaces,s=t.enabled(e)),s),set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e,t){let n=0,r=0,i=-1,s=0;for(;n<e.length;)if(r<t.length&&(t[r]===e[n]||"*"===t[r]))"*"===t[r]?(i=r,s=n,r++):(n++,r++);else{if(-1===i)return!1;r=i+1,s++,n=s}for(;r<t.length&&"*"===t[r];)r++;return r===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(i(e,n))return!1;for(const n of t.names)if(i(e,n))return!0;return!1},t.humanize=n(7250),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},7927:(e,t,n)=>{"use strict";n.d(t,{as:()=>s,bQ:()=>o,lr:()=>i});var r=n(1799);function i(e,t,n,i){var s;if(!e.isReferencedIdentifier())return null;var o=e.node.name,a=e.scope.getBinding(o);if(!a)return null;if(null!==(s=i.contextBindings)&&void 0!==s&&s.has(a.identifier))return{type:"local",name:o};if("module"===a.kind&&a.path.isImportSpecifier()&&a.path.parentPath.isImportDeclaration()){var l=a.path.get("imported");if(!l.isIdentifier())return t.errors.push({message:"Unsupported import specifier type: ".concat(l.type),node:l.node,severity:"error"}),null;var c=a.path.parentPath.get("source");return{type:"imported",name:l.node.name,importSource:(0,r.D)(c.node.value,t.filePath,n.files)}}return t.errors.push({message:'Unsupported context binding for "'.concat(o,'"'),node:a.identifier,severity:"error"}),null}function s(e,t){return"CONTEXT_PROVIDER__".concat(e,"__").concat(t)}function o(e){return"context-agent-".concat(e)}},7946:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._assertUnremoved=m,t._callRemovalHooks=f,t._markRemoved=d,t._remove=h,t._removeFromScope=p,t.remove=function(){var e;m.call(this),c.resync.call(this),f.call(this)||(null!=(e=this.opts)&&e.noScope||p.call(this),this.shareCommentsWithSiblings(),h.call(this)),d.call(this)};var r=n(6643),i=n(6266),s=n(4834),o=n(2670),a=n(8135),l=n(1064),c=n(4537);const{getBindingIdentifiers:u}=a;function p(){const e=u(this.node,!1,!1,!0);Object.keys(e).forEach((e=>this.scope.removeBinding(e)))}function f(){if(this.parentPath)for(const e of r.hooks)if(e(this,this.parentPath))return!0}function h(){Array.isArray(this.container)?(this.container.splice(this.key,1),l.updateSiblingKeys.call(this,this.key,-1)):s._replaceWith.call(this,null)}function d(){var e;this._traverseFlags|=o.SHOULD_SKIP|o.REMOVED,this.parent&&(null==(e=(0,i.getCachedPaths)(this))||e.delete(this.node)),this.node=null}function m(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}},7985:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6284);function i(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}},8079:function(e){e.exports=function(){"use strict";const e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,n=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var r;function i(e){return e.startsWith("/")}function s(e){return/^[.?#]/.test(e)}function o(e){const n=t.exec(e);return a(n[1],n[2]||"",n[3],n[4]||"",n[5]||"/",n[6]||"",n[7]||"")}function a(e,t,n,i,s,o,a){return{scheme:e,user:t,host:n,port:i,path:s,query:o,hash:a,type:r.Absolute}}function l(t){if(function(e){return e.startsWith("//")}(t)){const e=o("http:"+t);return e.scheme="",e.type=r.SchemeRelative,e}if(i(t)){const e=o("http://foo.com"+t);return e.scheme="",e.host="",e.type=r.AbsolutePath,e}if(function(e){return e.startsWith("file:")}(t))return function(e){const t=n.exec(e),r=t[2];return a("file:","",t[1]||"","",i(r)?r:"/"+r,t[3]||"",t[4]||"")}(t);if(function(t){return e.test(t)}(t))return o(t);const s=o("http://foo.com/"+t);return s.scheme="",s.host="",s.type=t?t.startsWith("?")?r.Query:t.startsWith("#")?r.Hash:r.RelativePath:r.Empty,s}function c(e,t){const n=t<=r.RelativePath,i=e.path.split("/");let s=1,o=0,a=!1;for(let e=1;e<i.length;e++){const t=i[e];t?(a=!1,"."!==t&&(".."!==t?(i[s++]=t,o++):o?(a=!0,o--,s--):n&&(i[s++]=t))):a=!0}let l="";for(let e=1;e<s;e++)l+="/"+i[e];(!l||a&&!l.endsWith("/.."))&&(l+="/"),e.path=l}return function(e){e[e.Empty=1]="Empty",e[e.Hash=2]="Hash",e[e.Query=3]="Query",e[e.RelativePath=4]="RelativePath",e[e.AbsolutePath=5]="AbsolutePath",e[e.SchemeRelative=6]="SchemeRelative",e[e.Absolute=7]="Absolute"}(r||(r={})),function(e,t){if(!e&&!t)return"";const n=l(e);let i=n.type;if(t&&i!==r.Absolute){const e=l(t),s=e.type;switch(i){case r.Empty:n.hash=e.hash;case r.Hash:n.query=e.query;case r.Query:case r.RelativePath:!function(e,t){c(t,t.type),"/"===e.path?e.path=t.path:e.path=function(e){if(e.endsWith("/.."))return e;const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t.path)+e.path}(n,e);case r.AbsolutePath:n.user=e.user,n.host=e.host,n.port=e.port;case r.SchemeRelative:n.scheme=e.scheme}s>i&&(i=s)}c(n,i);const o=n.query+n.hash;switch(i){case r.Hash:case r.Query:return o;case r.RelativePath:{const r=n.path.slice(1);return r?s(t||e)&&!s(r)?"./"+r+o:r+o:o||"."}case r.AbsolutePath:return n.path+o;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+o}}}()},8121:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addDeprecatedGenerators=function(e){{const t={Noop(){},TSExpressionWithTypeArguments(e){this.print(e.expression),this.print(e.typeParameters)},DecimalLiteral(e){const t=this.getPossibleRaw(e);this.format.minified||void 0===t?this.word(e.value+"m"):this.word(t)}};Object.assign(e.prototype,t)}}},8231:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExportAllDeclaration=function(e){var t,n;this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(n=e.assertions)&&n.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,!1)):this.print(e.source),this.semicolon()},t.ExportDefaultDeclaration=function(e){f(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=i.TokenContext.exportDefault;const t=e.declaration;this.print(t),u(t)||this.semicolon()},t.ExportDefaultSpecifier=function(e){this.print(e.exported)},t.ExportNamedDeclaration=function(e){if(f(this,e),this.word("export"),this.space(),e.declaration){const t=e.declaration;this.print(t),u(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());const r=e.specifiers.slice(0);let i=!1;for(;;){const e=r[0];if(!o(e)&&!a(e))break;i=!0,this.print(r.shift()),r.length&&(this.tokenChar(44),this.space())}let s=!1;var t,n;(r.length||!r.length&&!i)&&(s=!0,this.tokenChar(123),r.length&&(this.space(),this.printList(r,this.shouldPrintTrailingComma("}")),this.space()),this.tokenChar(125)),e.source&&(this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(n=e.assertions)&&n.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,s)):this.print(e.source)),this.semicolon()}},t.ExportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported)},t.ExportSpecifier=function(e){"type"===e.exportKind&&(this.word("type"),this.space()),this.print(e.local),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported))},t.ImportAttribute=function(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)},t.ImportDeclaration=function(e){var t,n;this.word("import"),this.space();const r="type"===e.importKind||"typeof"===e.importKind;r?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):e.phase&&(this.noIndentInnerCommentsHere(),this.word(e.phase),this.space());const i=e.specifiers.slice(0),s=!!i.length;for(;s;){const e=i[0];if(!l(e)&&!c(e))break;this.print(i.shift()),i.length&&(this.tokenChar(44),this.space())}let o=!1;i.length?(o=!0,this.tokenChar(123),this.space(),this.printList(i,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125)):r&&!s&&(o=!0,this.tokenChar(123),this.tokenChar(125)),(s||r)&&(this.space(),this.word("from"),this.space()),null!=(t=e.attributes)&&t.length||null!=(n=e.assertions)&&n.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,o)):this.print(e.source),this.semicolon()},t.ImportDefaultSpecifier=function(e){this.print(e.local)},t.ImportExpression=function(e){this.word("import"),e.phase&&(this.tokenChar(46),this.word(e.phase)),this.tokenChar(40);const t=this.shouldPrintTrailingComma(")");this.print(e.source),null!=e.options&&(this.tokenChar(44),this.space(),this.print(e.options)),t&&this.tokenChar(44),this.rightParens(e)},t.ImportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local)},t.ImportSpecifier=function(e){"type"!==e.importKind&&"typeof"!==e.importKind||(this.word(e.importKind),this.space()),this.print(e.imported),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local))},t._printAttributes=function(e,t){var n;const{importAttributesKeyword:r}=this.format,{attributes:i,assertions:s}=e;i&&!r&&e.extra&&(e.extra.deprecatedAssertSyntax||e.extra.deprecatedWithLegacySyntax)&&!p&&(p=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));const o="assert"===r||!r&&s;if(this.word(o?"assert":"with"),this.space(),!o&&("with-legacy"===r||!r&&null!=(n=e.extra)&&n.deprecatedWithLegacySyntax))return void this.printList(i||s);const a=t?1:0;this.token("{",null,a),this.space(),this.printList(i||s,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",null,a)};var r=n(8135),i=n(1956);const{isClassDeclaration:s,isExportDefaultSpecifier:o,isExportNamespaceSpecifier:a,isImportDefaultSpecifier:l,isImportNamespaceSpecifier:c,isStatement:u}=r;let p=!1;function f(e,t){s(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators)}},8252:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUnionType=function(e){return e.every((e=>a(e)))?i?i(e):o(e):e.every((e=>l(e)))&&s?s(e):void 0};var r=n(8135);const{createFlowUnionType:i,createTSUnionType:s,createUnionTypeAnnotation:o,isFlowType:a,isTSType:l}=r},8291:(e,t,n)=>{"use strict";n.d(t,{HO:()=>l,N5:()=>a,RJ:()=>d,UQ:()=>p,X5:()=>h,Z1:()=>s,cv:()=>o,dM:()=>m,dN:()=>f});var r=n(8135),i=n(9978);function s(e,t){return!e.async&&!e.generator||(t.errors.push({message:"Function cannot be async or generator",node:e,severity:"error"}),!1)}function o(e,t){return!!e.referencesImport(i.FJ,t)||e.node.name===t&&!e.scope.getBinding(e.node.name)}function a(e,t){var n=null;return r.traverse(e,{enter:function(e,t){var i;!n&&(r.isFunctionExpression(e)||r.isStatement(e)||r.isAwaitExpression(e)||r.isYieldExpression(e)||r.isJSX(e)||r.isArrowFunctionExpression(e)&&(e.async||e.generator||r.isBlockStatement(e.body)||r.isObjectProperty(null===(i=t[t.length-1])||void 0===i?void 0:i.node)))&&(n=e)}}),!n||(null==t||t.errors.push({message:"Unsupported expression type: ".concat(n.type),node:n,severity:"error"}),!1)}function l(e){return e.isNullLiteral()||e.isIdentifier()&&"undefined"===e.node.name&&void 0===e.scope.getBinding("undefined")}var c=/^<%=?\s/,u=/\s%>$/;function p(e){if("string"!=typeof e)return!1;var t=e.trim();return c.test(t)&&u.test(t)}function f(e,t){return function(e){return!e.reference||"imported"===e.reference.type&&e.reference.importSource===i.FJ}(e)&&(e.reference?e.reference.name===t:e.name===t)}function h(e){return e.isCallExpression()||e.isOptionalCallExpression()}function d(e){return e.isMemberExpression()||e.isOptionalMemberExpression()}function m(e){return e.isFunctionExpression()||e.isArrowFunctionExpression()}},8398:e=>{"use strict";const t={},n=t.hasOwnProperty,r=(e,t)=>{for(const r in e)n.call(e,r)&&t(r,e[r])},i=e=>"\\u"+("0000"+e).slice(-4),s=(e,t)=>{let n=e.toString(16);return t?n:n.toUpperCase()},o=t.toString,a=Array.isArray,l=e=>"bigint"==typeof e,c={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},u=/[\\\b\f\n\r\t]/,p=/[0-9]/,f=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,h=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,d=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,m=(e,t)=>{const n=()=>{k=E,++t.indentLevel,E=t.indent.repeat(t.indentLevel)},g={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},y=t&&t.json;var v,b;y&&(g.quotes="double",g.wrap=!0),v=g,t=(b=t)?(r(b,((e,t)=>{v[e]=t})),v):v,"single"!=t.quotes&&"double"!=t.quotes&&"backtick"!=t.quotes&&(t.quotes="single");const x="double"==t.quotes?'"':"backtick"==t.quotes?"`":"'",S=t.compact,C=t.lowercaseHex;let E=t.indent.repeat(t.indentLevel),k="";const w=t.__inline1__,T=t.__inline2__,_=S?"":"\n";let A,P=!0;const I="binary"==t.numbers,M="octal"==t.numbers,O="decimal"==t.numbers,F="hexadecimal"==t.numbers;if(y&&e&&"function"==typeof e.toJSON&&(e=e.toJSON()),"string"!=typeof(B=e)&&"[object String]"!=o.call(B)){if((e=>"[object Map]"==o.call(e))(e))return 0==e.size?"new Map()":(S||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+m(Array.from(e),t)+")");if((e=>"[object Set]"==o.call(e))(e))return 0==e.size?"new Set()":"new Set("+m(Array.from(e),t)+")";if((e=>"function"==typeof Buffer&&Buffer.isBuffer(e))(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+m(Array.from(e),t)+")";if(a(e))return A=[],t.wrap=!0,w&&(t.__inline1__=!1,t.__inline2__=!0),T||n(),((e,t)=>{const n=e.length;let r=-1;for(;++r<n;)t(e[r])})(e,(e=>{P=!1,T&&(t.__inline2__=!1),A.push((S||T?"":E)+m(e,t))})),P?"[]":T?"["+A.join(", ")+"]":"["+_+A.join(","+_)+_+(S?"":k)+"]";if((e=>"number"==typeof e||"[object Number]"==o.call(e))(e)||l(e)){if(y)return JSON.stringify(Number(e));let t;if(O)t=String(e);else if(F){let n=e.toString(16);C||(n=n.toUpperCase()),t="0x"+n}else I?t="0b"+e.toString(2):M&&(t="0o"+e.toString(8));return l(e)?t+"n":t}return l(e)?y?JSON.stringify(Number(e)):e+"n":(e=>"[object Object]"==o.call(e))(e)?(A=[],t.wrap=!0,n(),r(e,((e,n)=>{P=!1,A.push((S?"":E)+m(e,t)+":"+(S?"":" ")+m(n,t))})),P?"{}":"{"+_+A.join(","+_)+_+(S?"":k)+"}"):y?JSON.stringify(e)||"null":String(e)}var B;const D=t.escapeEverything?h:d;return A=e.replace(D,((e,n,r,o,a,l)=>{if(n){if(t.minimal)return n;const e=n.charCodeAt(0),r=n.charCodeAt(1);return t.es6?"\\u{"+s(1024*(e-55296)+r-56320+65536,C)+"}":i(s(e,C))+i(s(r,C))}if(r)return i(s(r.charCodeAt(0),C));if("\0"==e&&!y&&!p.test(l.charAt(a+1)))return"\\0";if(o)return o==x||t.escapeEverything?"\\"+o:o;if(u.test(e))return c[e];if(t.minimal&&!f.test(e))return e;const h=s(e.charCodeAt(0),C);return y||h.length>2?i(h):"\\x"+("00"+h).slice(-2)})),"`"==x&&(A=A.replace(/\$\{/g,"\\${")),t.isScriptContext&&(A=A.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,y?"\\u003C!--":"\\x3C!--")),t.wrap&&(A=x+A+x),A};m.version="3.0.2",e.exports=m},8418:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addComment=function(e,t,n){i(this.node,e,t,n)},t.addComments=function(e,t){s(this.node,e,t)},t.shareCommentsWithSiblings=function(){if("string"==typeof this.key)return;const e=this.node;if(!e)return;const t=e.trailingComments,n=e.leadingComments;if(!t&&!n)return;const r=this.getSibling(this.key-1),i=this.getSibling(this.key+1),s=Boolean(r.node),a=Boolean(i.node);s&&(n&&r.addComments("trailing",o(n,r.node.trailingComments)),t&&!a&&r.addComments("trailing",t)),a&&(t&&i.addComments("leading",o(t,i.node.leadingComments)),n&&!s&&i.addComments("leading",n))};var r=n(8135);const{addComment:i,addComments:s}=r;function o(e,t){if(null==t||!t.length)return e;const n=new Set(t);return e.filter((e=>!n.has(e)))}},8431:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(8135),i=r,s=n(1597),o=n(5957),a=n(4537);const{getAssignmentIdentifiers:l}=i,c={ReferencedIdentifier({node:e},t){e.name===t.oldName&&(e.name=t.newName)},Scope(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||(e.skip(),e.isMethod()&&(e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():a.requeueComputedKeyAndDecorators.call(e)))},ObjectProperty({node:e,scope:t},n){const{name:r}=e.key;var i;!e.shorthand||r!==n.oldName&&r!==n.newName||t.getBindingIdentifier(r)!==n.binding.identifier||(e.shorthand=!1,null!=(i=e.extra)&&i.shorthand&&(e.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const n=e.isAssignmentExpression()?l(e.node):e.getOuterBindingIdentifiers();for(const e in n)e===t.oldName&&(n[e].name=t.newName)}};t.default=class{constructor(e,t,n){this.newName=n,this.oldName=t,this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(t.isExportDeclaration()){if(t.isExportDefaultDeclaration()){const{declaration:e}=t.node;if(r.isDeclaration(e)&&!e.id)return}t.isExportAllDeclaration()||t.splitExportDeclaration()}}maybeConvertFromClassFunctionDeclaration(e){return e}maybeConvertFromClassFunctionExpression(e){return e}rename(){const{binding:e,oldName:t,newName:n}=this,{scope:i,path:a}=e,l=a.find((e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()));l&&l.getOuterBindingIdentifiers()[t]===e.identifier&&this.maybeConvertFromExportDeclaration(l);const u=arguments[0]||i.block,p={discriminant:!0};r.isMethod(u)&&(u.computed&&(p.key=!0),r.isObjectMethod(u)||(p.decorators=!0)),(0,s.traverseNode)(u,(0,o.explode)(c),i,this,i.path,p),arguments[0]||(i.removeOwnBinding(t),i.bindings[n]=e,this.binding.identifier.name=n),l&&(this.maybeConvertFromClassFunctionDeclaration(a),this.maybeConvertFromClassFunctionExpression(a))}}},8495:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});var r=n(7358),i=n(5703);function s(e){var t={appType:"app",modules:new Map,files:e,constants:new Map,errors:[]};return(0,i.C)("/index.tsx",t),(0,r.M)(t),t}},8844:(e,t,n)=>{"use strict";n.d(t,{R:()=>d});var r=n(3310),i=n(3705),s=n(580),o=n(8135),a=n(4),l=n(5307),c=n(5810),u=n(1046),p=a.default,f=n(5703),h=n(7358);function d(e,t){var n,a,d={appType:"view",modules:new Map,files:[{filePath:"/View.tsx",content:e}].concat((0,i.A)(null!==(n=null==t?void 0:t.libs)&&void 0!==n?n:[])),constants:new Map,errors:[]};try{a=(0,s.parse)(e,{plugins:["jsx","typescript"],sourceType:"module",errorRecovery:!0})}catch(e){return d.errors.push({message:"Failed to parse TSX: ".concat(e),node:null,severity:"fatal",filePath:"/View.tsx"}),d}var m,g=(0,r.A)(a.program.body);try{for(g.s();!(m=g.n()).done;){var y=m.value;if(o.isExportDefaultDeclaration(y)){if(o.isFunctionDeclaration(y.declaration))return(0,f.C)("/View.tsx",d,a,t),(0,h.M)(d),d;break}}}catch(e){g.e(e)}finally{g.f()}return function(e,t,n,i){var s,o=[];if(null!==(s=n.errors)&&void 0!==s&&s.length){var a,f=(0,r.A)(n.errors);try{for(f.s();!(a=f.n()).done;){var h=a.value;o.push({message:"".concat(h.code,": ").concat(h.reasonCode),node:null,severity:"error"})}}catch(e){f.e(e)}finally{f.f()}}var d=new Map,m={type:"view",bindingMap:d},g={component:m,stateBindings:null==i?void 0:i.withContexts},y={source:t.files.find((function(t){return t.filePath===e})).content,filePath:e,moduleType:"entry",defaultExport:{type:"view",component:m},internals:[],namedExports:new Map,errors:o,contracts:new Set,usedHelpers:new Set};p(n,{Program:function(e){var n,i=e.get("body"),s=!1,a=(0,r.A)(i);try{for(a.s();!(n=a.n()).done;){var u=n.value;if(u.isVariableDeclaration()){if(s){o.push({message:"Unexpected variable declaration after export",node:u.node,severity:"error"});continue}if("const"!==u.node.kind){o.push({message:'Only "const" variable declaration is allowed, received: '.concat(u.node.kind),node:u.node,severity:"error"});continue}var p,f=(0,r.A)(u.get("declarations"));try{for(f.s();!(p=f.n()).done;){var h=p.value,v=h.get("id");if(v.isIdentifier()){var b={id:v.node,kind:"constant"},x=h.get("init");x.node&&(b.initialValue=(0,c.A)(x,y,t,g)),d.set(v.node,b)}else o.push({message:"Unsupported variable declaration pattern, expected: Identifier, received: ".concat(v.type),node:v.node,severity:"error"})}}catch(e){f.e(e)}finally{f.f()}}else if(u.isExportDefaultDeclaration()){s=!0;var S=u.get("declaration");S.isJSXElement()?m.children=(0,l.H)(S,y,t,g):o.push({message:"Default export must be a JSX element, received: ".concat(S.type),node:u.node,severity:"error"});break}}}catch(e){a.e(e)}finally{a.f()}e.stop()}}),y.defaultExport.title=(0,u.W)(m),t.modules.set(e,y),t.entry=y}("/View.tsx",d,a,t),(0,h.M)(d),d}},8952:e=>{var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreenBright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};e.exports=n(),e.exports.createColors=n},9074:(e,t,n)=>{"use strict";n.d(t,{w:()=>p,y:()=>f});var r=n(3310),i=n(9740),s=n(5810),o=n(9978),a=n(3738),l=n(8291),c=n(7927),u=n(3135);function p(e,t,n,r,s){if(!e.isArrowFunctionExpression())return t.errors.push({message:"Event handler must be an arrow function expression, but got ".concat(e.type),node:e.node,severity:"error"}),null;var o=e.get("params");if(o.length>1)return t.errors.push({message:"Event handler arrow function must have at most one parameter, but got ".concat(o.length),node:e.node,severity:"error"}),null;var a=o[0],l=(0,i.A)((0,i.A)({},r),{},{modifier:void 0,eventBinding:void 0});if(a){if(!a.isIdentifier())return t.errors.push({message:"Event handler arrow function parameter must be an identifier, but got ".concat(a.type),node:a.node,severity:"error"}),null;l.eventBinding={id:a.node,isCallback:s}}var c=f(e.get("body"),t,n,l);return c?[].concat(c):null}function f(e,t,n,h,d){if(e.isBlockStatement())return e.get("body").flatMap((function(e){return f(e,t,n,h)})).filter((function(e){return null!==e}));if(e.isIfStatement())return{action:"conditional",payload:{test:(0,s.A)(e.get("test"),t,n,h),consequent:f(e.get("consequent"),t,n,h),alternate:e.node.alternate?f(e.get("alternate"),t,n,h):null}};if(e.isExpressionStatement())return f(e.get("expression"),t,n,h);if(e.isReturnStatement()&&d&&d(e),(0,l.X5)(e)){var m=e.get("callee"),g=e.get("arguments");if(m.isIdentifier()){if((0,l.cv)(m,"showMessage"))return 1!==g.length?(t.errors.push({message:'"showMessage()" expects exactly 1 argument, but got '.concat(g.length),node:e.node,severity:"error"}),null):{action:"show_message",payload:(0,s.A)(g[0],t,n,h)};if((0,l.cv)(m,"handleHttpError"))return 1!==g.length?(t.errors.push({message:'"handleHttpError()" expects exactly 1 argument, but got '.concat(g.length),node:e.node,severity:"error"}),null):{action:"handle_http_error",payload:(0,s.A)(g[0],t,n,h)};var y,v=(0,r.A)(o.TQ);try{for(v.s();!(y=v.n()).done;){var b=y.value;if((0,l.cv)(m,b)){var x=(0,a.S)(e,t,n,h);return x?(t.contracts.add(x.api),{action:"call_api",payload:x}):null}}}catch(e){v.e(e)}finally{v.f()}var S,C,E=m.scope.getBindingIdentifier(m.node.name);if(E&&(S=null===(C=h.component)||void 0===C?void 0:C.bindingMap.get(E)),!S)return t.errors.push({message:'Function "'.concat(m.node.name,'" is not defined'),node:m.node,severity:"error"}),null;switch(S.kind){case"setState":return{action:"update_variable",payload:{name:S.id.name,value:void 0===g[0]?void 0:(0,s.A)(g[0],t,n,(0,i.A)((0,i.A)({},h),{},{modifier:void 0})),scope:"template"===h.component.type?"template":"global"}};case"refetch":return{action:"refresh_data_source",payload:{name:S.resourceId.name,scope:"template"===h.component.type?"template":"global"}};case"context":return{action:"call_selector",payload:{selector:"#".concat((0,c.bQ)(S.contextProvider.name)),method:"trigger",args:[{name:S.contextKey,value:void 0===g[0]?void 0:(0,s.A)(g[0],t,n,(0,i.A)((0,i.A)({},h),{},{modifier:void 0}))}]}};case"eventHandler":if(g.length>1)return t.errors.push({message:'Event dispatcher "'.concat(m.node.name,'" expects at most 1 argument, but got ').concat(g.length),node:e.node,severity:"error"}),null;var k;if(g.length>0){var w=g[0];if(!w.isObjectExpression())return t.errors.push({message:'Event dispatcher "'.concat(m.node.name,'" argument must be an object expression, but got ').concat(w.type),node:w.node,severity:"error"}),null;var T,_=(0,r.A)(w.get("properties"));try{for(_.s();!(T=_.n()).done;){var A=T.value;if(!A.isObjectProperty())return t.errors.push({message:'Event dispatcher "'.concat(m.node.name,'" argument object expression must have only object properties, but got ').concat(A.type),node:A.node,severity:"error"}),null;if(A.node.computed)return t.errors.push({message:'Event dispatcher "'.concat(m.node.name,'" argument object expression must not have computed properties'),node:A.node,severity:"error"}),null;var P=A.get("key");if(!P.isIdentifier()||"detail"!==P.node.name)return t.errors.push({message:'Event dispatcher "'.concat(m.node.name,'" argument object expression property key must be an identifier with name "detail", but got ').concat(P.type).concat(P.isIdentifier()?" (name: ".concat(P.node.name,")"):""),node:P.node,severity:"error"}),null;k=(0,s.A)(A.get("value"),t,n,(0,i.A)((0,i.A)({},h),{},{modifier:void 0}))}}catch(e){_.e(e)}finally{_.f()}}return{action:"dispatch_event",payload:{type:(0,u.k)(S.id.name),detail:k}};default:return t.errors.push({message:'"'.concat(m.node.name,'" is not callable'),node:m.node,severity:"error"}),null}}else if((0,l.RJ)(m)){if(m.node.computed)return t.errors.push({message:"Event handler call expression with computed member expression is not supported",node:m.node,severity:"error"}),null;var I=m.get("object");if((0,l.RJ)(I)){var M=I.get("property");if(!I.node.computed&&M.isIdentifier()&&"current"===M.node.name){var O=I.get("object");if(O.isIdentifier()){var F,B,D=O.scope.getBindingIdentifier(O.node.name);if(D&&(F=null===(B=h.component)||void 0===B?void 0:B.bindingMap.get(D)),!F)return t.errors.push({message:'Variable "'.concat(O.node.name,'" is not defined'),node:O.node,severity:"error"}),null;if("ref"!==F.kind)return t.errors.push({message:'Variable "'.concat(O.node.name,'" is not a ref, but a ').concat(F.kind),node:O.node,severity:"error"}),null;var L=m.get("property");return L.isIdentifier()?{action:"call_ref",payload:{ref:F.id.name,method:L.node.name,args:g.map((function(e){return(0,s.A)(e,t,n,h)})),scope:"template"===h.component.type?"template":"global"}}:(t.errors.push({message:"Event handler call expression with non-identifier property is not supported",node:L.node,severity:"error"}),null)}}}if(I.isIdentifier()){var N=I.scope.getBindingIdentifier(I.node.name);if(N){var j,R=null===(j=h.component)||void 0===j?void 0:j.bindingMap.get(N);if(R&&"history"===R.kind){var W=m.get("property");if(!W.isIdentifier())return t.errors.push({message:"Event handler call expression with non-identifier property is not supported",node:W.node,severity:"error"}),null;var U=W.node.name;return o.E_.includes(U)?{action:"navigate",payload:{method:U,args:g.map((function(e){return(0,s.A)(e,t,n,h)}))}}:(t.errors.push({message:'"history.'.concat(U,'()" is not supported in event handler'),node:W.node,severity:"error"}),null)}}}if(!I.isCallExpression())return t.errors.push({message:"Invalid usage in event handler",node:I.node,severity:"error"}),null;var V=I.get("callee");if(!V.isIdentifier())return t.errors.push({message:"Member expression in event handler expects an identifier as callee, but got ".concat(V.type),node:V.node,severity:"error"}),null;var H,q=m.get("property");if(!q.isIdentifier())return t.errors.push({message:"Member expression in event handler expects an identifier as property, but got ".concat(q.type),node:q.node,severity:"error"}),null;var G,K=(0,r.A)(o.TQ);try{for(K.s();!(G=K.n()).done;){var $=G.value;if((0,l.cv)(V,$)){H=$;break}}}catch(e){K.e(e)}finally{K.f()}if(H){var J=q.node.name;if("then"!==J&&"catch"!==J)return t.errors.push({message:'"'.concat(H,'()" expects "then" or "catch" as its method, but got ').concat(J),node:q.node,severity:"error"}),null;if("catch"===J){if(1!==g.length)return t.errors.push({message:'".catch()" expects exactly 1 argument, but got '.concat(g.length),node:g.length>0?g[1].node:q.node,severity:"error"}),null}else if(0===g.length||g.length>2)return t.errors.push({message:'".then()" expects 1 or 2 arguments, but got '.concat(g.length),node:g.length>2?g[2].node:q.node,severity:"error"}),null;var X,Q,z=(0,a.S)(I,t,n,h);if(!z)return null;t.contracts.add(z.api);var Y=p(g[0],t,n,h,!0);return"catch"===J?Q=Y:(X=Y,g.length>1&&(Q=p(g[1],t,n,h,!0))),{action:"call_api",payload:z,callback:{success:X,error:Q}}}return t.errors.push({message:"Unsupported action in event handler: ".concat(V.node.name),node:V.node,severity:"error"}),null}}return t.errors.push({message:"Unsupported event handler",node:e.node,severity:"error"}),null}},9305:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(5267),i=n(1969);t.default=class{constructor(e,t){var n;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;const s=this._map=new r.GenMapping({sourceRoot:e.sourceRoot});if(this._sourceFileName=null==(n=e.sourceFileName)?void 0:n.replace(/\\/g,"/"),this._rawMappings=void 0,e.inputSourceMap){this._inputMap=new i.TraceMap(e.inputSourceMap);const t=this._inputMap.resolvedSources;if(t.length)for(let e=0;e<t.length;e++){var o;(0,r.setSourceContent)(s,t[e],null==(o=this._inputMap.sourcesContent)?void 0:o[e])}}if("string"!=typeof t||e.inputSourceMap){if("object"==typeof t)for(const e of Object.keys(t))(0,r.setSourceContent)(s,e.replace(/\\/g,"/"),t[e])}else(0,r.setSourceContent)(s,this._sourceFileName,t)}get(){return(0,r.toEncodedMap)(this._map)}getDecoded(){return(0,r.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,r.allMappings)(this._map))}mark(e,t,n,s,o,a){var l;let c;if(this._rawMappings=void 0,null!=t)if(this._inputMap){if(c=(0,i.originalPositionFor)(this._inputMap,{line:t,column:n}),!c.name&&o){const e=(0,i.originalPositionFor)(this._inputMap,o);e.name&&(s=e.name)}}else c={source:(null==a?void 0:a.replace(/\\/g,"/"))||this._sourceFileName,line:t,column:n};(0,r.maybeAddMapping)(this._map,{name:s,generated:e,source:null==(l=c)?void 0:l.source,original:c})}}},9403:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});var r=n(9740),i=n(3310),s=n(6990),o=n(6253);function a(e,t,n,a){var c=e.flatMap((function(e){return(0,s.o)(e,t,n,a)}));c.length>0&&null===c[0]&&(c=c.slice(1)),c.length>0&&null===c[c.length-1]&&(c=c.slice(0,c.length-1));var u=c.every((function(e){return"text"===(null==e?void 0:e.type)}));if(!u){var p,f=null,h=[],d=(0,i.A)(c);try{for(d.s();!(p=d.n()).done;){var m=p.value;if(null===m);else if("text"===m.type||"expression"===m.type){var g,y,v;if("text"===(null===(g=f)||void 0===g?void 0:g.type)||"expression"===(null===(y=f)||void 0===y?void 0:y.type)){f={type:"merged",children:[f,m]},h.splice(h.length-1,1,f);continue}if("merged"===(null===(v=f)||void 0===v?void 0:v.type)){f.children.push(m);continue}}f=m,h.push(m)}}catch(e){d.e(e)}finally{d.f()}u=(c=h).every((function(e){return"text"===(null==e?void 0:e.type)||"merged"===(null==e?void 0:e.type)&&e.children.every((function(e){return"text"===e.type}))}))}if(u){var b=c.flatMap((function(e){return"text"===e.type?e.text:e.children.map((function(e){return e.text}))})).join("").trim();return{textContent:b}}var x=c.every((function(e){return!!e&&"component"!==e.type}));if(x){var S=l(c.flatMap((function(e){return"merged"===e.type?e.children:e})),t,n,a);return{textContent:S}}var C=c.filter((function(e){return!!e})).map((function(e){return"component"===e.type?e.component:{name:"Plaintext",properties:{textContent:"text"===e.type?e.text:"expression"===e.type?(0,o.$)(e.expression,t,n,(0,r.A)((0,r.A)({},a),{},{modifier:"="})):l(e.children,t,n,a)}}}));return{children:C}}function l(e,t,n,r){return t.usedHelpers.add("_helper_mergeTexts"),"<%= FN._helper_mergeTexts(".concat(e.map((function(e){return"text"===e.type?JSON.stringify(e):'{type:"expression",value:('.concat((0,o.$)(e.expression,t,n,r,!0),")}")})).join(", "),") %>")}},9534:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClassAccessorProperty=function(e){var t;this.printJoin(e.decorators);const n=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;n&&this.catchUp(n),this.tsPrintClassMemberModifiers(e),this.word("accessor",!0),this.space(),e.computed?(this.tokenChar(91),this.print(e.key),this.tokenChar(93)):(this._variance(e),this.print(e.key)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value)),this.semicolon()},t.ClassBody=function(e){if(this.tokenChar(123),0===e.body.length)this.tokenChar(125);else{this.newline();const t=function(e,t){if(!e.tokenMap||null==t.start||null==t.end)return null;const n=e.tokenMap.getIndexes(t);if(!n)return null;let r=1,i=0,s=0;const o=()=>{for(;s<t.body.length&&null==t.body[s].start;)s++};return o(),a=>{s<=a&&(s=a+1,o());const l=s===t.body.length?t.end:t.body[s].start;let c;for(;r<n.length&&e.tokenMap.matchesOriginal(c=e._tokens[n[r]],";")&&c.start<l;)e.token(";",void 0,i++),r++}}(this,e);null==t||t(-1);const n=this.enterDelimited();this.printJoin(e.body,!0,!0,t,!0),n(),this.endsWith(10)||this.newline(),this.rightBrace(e)}},t.ClassExpression=t.ClassDeclaration=function(e,t){(i(t)||s(t))&&this._shouldPrintDecoratorsBeforeExport(t)||this.printJoin(e.decorators),e.declare&&(this.word("declare"),this.space()),e.abstract&&(this.word("abstract"),this.space()),this.word("class"),e.id&&(this.space(),this.print(e.id)),this.print(e.typeParameters),e.superClass&&(this.space(),this.word("extends"),this.space(),this.print(e.superClass),this.print(e.superTypeParameters)),e.implements&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements)),this.space(),this.print(e.body)},t.ClassMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body)},t.ClassPrivateMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body)},t.ClassPrivateProperty=function(e){this.printJoin(e.decorators),this.tsPrintClassMemberModifiers(e),this.print(e.key),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value)),this.semicolon()},t.ClassProperty=function(e){if(this.printJoin(e.decorators),!e.static&&!this.format.preserveFormat){var t;const n=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;n&&this.catchUp(n)}this.tsPrintClassMemberModifiers(e),e.computed?(this.tokenChar(91),this.print(e.key),this.tokenChar(93)):(this._variance(e),this.print(e.key)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value)),this.semicolon()},t.StaticBlock=function(e){this.word("static"),this.space(),this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,!0),this.rightBrace(e))},t._classMethodHead=function(e){if(this.printJoin(e.decorators),!this.format.preserveFormat){var t;const n=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;n&&this.catchUp(n)}this.tsPrintClassMemberModifiers(e),this._methodHead(e)};var r=n(8135);const{isExportDefaultDeclaration:i,isExportNamedDeclaration:s}=r},9724:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrayExpression=T,t.AssignmentExpression=function(){return this.get("right").getTypeAnnotation()},t.BinaryExpression=function(e){const t=e.operator;if(l.includes(t))return v();if(o.includes(t))return h();if("+"===t){const e=this.get("right"),t=this.get("left");return t.isBaseType("number")&&e.isBaseType("number")?v():t.isBaseType("string")||e.isBaseType("string")?b():S([b(),v()])}},t.BooleanLiteral=function(){return h()},t.CallExpression=function(){const{callee:e}=this.node;return P(e)?f(b()):A(e)||I(e)||E(e,{name:"Array"})?f(p()):M(e)?f(x([b(),p()])):O(this.get("callee"))},t.ConditionalExpression=function(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,s.createUnionType)(e)},t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=function(){return m(g("Function"))},Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return i.default}}),t.LogicalExpression=function(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,s.createUnionType)(e)},t.NewExpression=function(e){if("Identifier"===e.callee.type)return m(e.callee)},t.NullLiteral=function(){return y()},t.NumericLiteral=function(){return v()},t.ObjectExpression=function(){return m(g("Object"))},t.ParenthesizedExpression=function(){return this.get("expression").getTypeAnnotation()},t.RegExpLiteral=function(){return m(g("RegExp"))},t.RestElement=_,t.SequenceExpression=function(){return this.get("expressions").pop().getTypeAnnotation()},t.StringLiteral=function(){return b()},t.TSAsExpression=w,t.TSNonNullExpression=function(){return this.get("expression").getTypeAnnotation()},t.TaggedTemplateExpression=function(){return O(this.get("tag"))},t.TemplateLiteral=function(){return b()},t.TypeCastExpression=k,t.UnaryExpression=function(e){const t=e.operator;return"void"===t?C():c.includes(t)?v():u.includes(t)?b():a.includes(t)?h():void 0},t.UpdateExpression=function(e){const t=e.operator;if("++"===t||"--"===t)return v()},t.VariableDeclarator=function(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()};var r=n(8135),i=n(1593),s=n(8252);const{BOOLEAN_BINARY_OPERATORS:o,BOOLEAN_UNARY_OPERATORS:a,NUMBER_BINARY_OPERATORS:l,NUMBER_UNARY_OPERATORS:c,STRING_UNARY_OPERATORS:u,anyTypeAnnotation:p,arrayTypeAnnotation:f,booleanTypeAnnotation:h,buildMatchMemberExpression:d,genericTypeAnnotation:m,identifier:g,nullLiteralTypeAnnotation:y,numberTypeAnnotation:v,stringTypeAnnotation:b,tupleTypeAnnotation:x,unionTypeAnnotation:S,voidTypeAnnotation:C,isIdentifier:E}=r;function k(e){return e.typeAnnotation}function w(e){return e.typeAnnotation}function T(){return m(g("Array"))}function _(){return T()}k.validParent=!0,w.validParent=!0,_.validParent=!0;const A=d("Array.from"),P=d("Object.keys"),I=d("Object.values"),M=d("Object.entries");function O(e){if((e=e.resolve()).isFunction()){const{node:t}=e;if(t.async)return t.generator?m(g("AsyncIterator")):m(g("Promise"));if(t.generator)return m(g("Iterator"));if(e.node.returnType)return e.node.returnType}}},9740:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4586);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},9783:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,n=TypeError){return new n(t)}}},9813:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statements=t.statement=t.smart=t.program=t.expression=void 0;var r=n(8135);const{assertExpressionStatement:i}=r;function s(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}t.smart=s((e=>e.length>1?e:e[0])),t.statements=s((e=>e)),t.statement=s((e=>{if(0===e.length)throw new Error("Found nothing to return.");if(e.length>1)throw new Error("Found multiple statements but wanted one");return e[0]}));const o=t.expression={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(0===o.unwrap(e).start)throw new Error("Parse result included parens.")},unwrap:({program:e})=>{const[t]=e.body;return i(t),t.expression}};t.program={code:e=>e,validate:()=>{},unwrap:e=>e.program}},9919:(e,t)=>{"use strict";function n(e,t){e.tokenMap&&t.start&&t.end?e.tokenMap.endMatches(t,",")?e.token(","):e.tokenMap.endMatches(t,";")&&e.semicolon():e.semicolon()}function r(e,t,n){var r;let i=0;null!=(r=e.tokenMap)&&r.startMatches(t,n)&&(i=1,e.token(n)),e.printJoin(t.types,void 0,void 0,(function(e){this.space(),this.token(n,null,e+i),this.space()}))}function i(e,t){!0!==t&&e.token(t)}function s(e){o(this,e,(()=>{var t;return this.printList(e.members,null==(t=this.shouldPrintTrailingComma("}"))||t,!0,!0)}))}function o(e,t,n){e.token("{");const r=e.enterDelimited();n(),r(),e.rightBrace(t)}function a(e,t,n){var r;const i=new Set;for(const e of n)e&&i.add(e);null==(r=e.tokenMap)||r.find(t,(t=>{if(i.has(t.value))return e.token(t.value),e.space(),i.delete(t.value),0===i.size}));for(const t of i)e.word(t),e.space()}Object.defineProperty(t,"__esModule",{value:!0}),t.TSAnyKeyword=function(){this.word("any")},t.TSArrayType=function(e){this.print(e.elementType,!0),this.tokenChar(91),this.tokenChar(93)},t.TSSatisfiesExpression=t.TSAsExpression=function(e){const{type:t,expression:n,typeAnnotation:r}=e;this.print(n,!0),this.space(),this.word("TSAsExpression"===t?"as":"satisfies"),this.space(),this.print(r)},t.TSBigIntKeyword=function(){this.word("bigint")},t.TSBooleanKeyword=function(){this.word("boolean")},t.TSCallSignatureDeclaration=function(e){this.tsPrintSignatureDeclarationBase(e),n(this,e)},t.TSInterfaceHeritage=t.TSClassImplements=function(e){this.print(e.expression),this.print(e.typeArguments)},t.TSConditionalType=function(e){this.print(e.checkType),this.space(),this.word("extends"),this.space(),this.print(e.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(e.trueType),this.space(),this.tokenChar(58),this.space(),this.print(e.falseType)},t.TSConstructSignatureDeclaration=function(e){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(e),n(this,e)},t.TSConstructorType=function(e){e.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(e)},t.TSDeclareFunction=function(e,t){e.declare&&(this.word("declare"),this.space()),this._functionHead(e,t),this.semicolon()},t.TSDeclareMethod=function(e){this._classMethodHead(e),this.semicolon()},t.TSEnumBody=s,t.TSEnumDeclaration=function(e){const{declare:t,const:n,id:r}=e;t&&(this.word("declare"),this.space()),n&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(r),this.space(),s.call(this,e)},t.TSEnumMember=function(e){const{id:t,initializer:n}=e;this.print(t),n&&(this.space(),this.tokenChar(61),this.space(),this.print(n))},t.TSExportAssignment=function(e){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(e.expression),this.semicolon()},t.TSExternalModuleReference=function(e){this.token("require("),this.print(e.expression),this.tokenChar(41)},t.TSFunctionType=function(e){this.tsPrintFunctionOrConstructorType(e)},t.TSImportEqualsDeclaration=function(e){const{id:t,moduleReference:n}=e;e.isExport&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(t),this.space(),this.tokenChar(61),this.space(),this.print(n),this.semicolon()},t.TSImportType=function(e){const{argument:t,qualifier:n,options:r}=e;this.word("import"),this.tokenChar(40),this.print(t),r&&(this.tokenChar(44),this.print(r)),this.tokenChar(41),n&&(this.tokenChar(46),this.print(n));const i=e.typeParameters;i&&this.print(i)},t.TSIndexSignature=function(e){const{readonly:t,static:r}=e;r&&(this.word("static"),this.space()),t&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(e.parameters,"]"),this.print(e.typeAnnotation),n(this,e)},t.TSIndexedAccessType=function(e){this.print(e.objectType,!0),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)},t.TSInferType=function(e){this.word("infer"),this.print(e.typeParameter)},t.TSInstantiationExpression=function(e){this.print(e.expression),this.print(e.typeParameters)},t.TSInterfaceBody=function(e){o(this,e,(()=>this.printJoin(e.body,!0,!0)))},t.TSInterfaceDeclaration=function(e){const{declare:t,id:n,typeParameters:r,extends:i,body:s}=e;t&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(n),this.print(r),null!=i&&i.length&&(this.space(),this.word("extends"),this.space(),this.printList(i)),this.space(),this.print(s)},t.TSIntersectionType=function(e){r(this,e,"&")},t.TSIntrinsicKeyword=function(){this.word("intrinsic")},t.TSLiteralType=function(e){this.print(e.literal)},t.TSMappedType=function(e){const{nameType:t,optional:n,readonly:r,typeAnnotation:s}=e;this.tokenChar(123);const o=this.enterDelimited();this.space(),r&&(i(this,r),this.word("readonly"),this.space()),this.tokenChar(91),this.word(e.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(e.typeParameter.constraint),t&&(this.space(),this.word("as"),this.space(),this.print(t)),this.tokenChar(93),n&&(i(this,n),this.tokenChar(63)),s&&(this.tokenChar(58),this.space(),this.print(s)),this.space(),o(),this.tokenChar(125)},t.TSMethodSignature=function(e){const{kind:t}=e;"set"!==t&&"get"!==t||(this.word(t),this.space()),this.tsPrintPropertyOrMethodName(e),this.tsPrintSignatureDeclarationBase(e),n(this,e)},t.TSModuleBlock=function(e){o(this,e,(()=>this.printSequence(e.body,!0)))},t.TSModuleDeclaration=function(e){const{declare:t,id:n,kind:r}=e;t&&(this.word("declare"),this.space());{if(e.global||(this.word(null!=r?r:"Identifier"===n.type?"namespace":"module"),this.space()),this.print(n),!e.body)return void this.semicolon();let t=e.body;for(;"TSModuleDeclaration"===t.type;)this.tokenChar(46),this.print(t.id),t=t.body;this.space(),this.print(t)}},t.TSNamedTupleMember=function(e){this.print(e.label),e.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(e.elementType)},t.TSNamespaceExportDeclaration=function(e){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(e.id),this.semicolon()},t.TSNeverKeyword=function(){this.word("never")},t.TSNonNullExpression=function(e){this.print(e.expression),this.tokenChar(33)},t.TSNullKeyword=function(){this.word("null")},t.TSNumberKeyword=function(){this.word("number")},t.TSObjectKeyword=function(){this.word("object")},t.TSOptionalType=function(e){this.print(e.typeAnnotation),this.tokenChar(63)},t.TSParameterProperty=function(e){e.accessibility&&(this.word(e.accessibility),this.space()),e.readonly&&(this.word("readonly"),this.space()),this._param(e.parameter)},t.TSParenthesizedType=function(e){this.tokenChar(40),this.print(e.typeAnnotation),this.tokenChar(41)},t.TSPropertySignature=function(e){const{readonly:t}=e;t&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(e),this.print(e.typeAnnotation),n(this,e)},t.TSQualifiedName=function(e){this.print(e.left),this.tokenChar(46),this.print(e.right)},t.TSRestType=function(e){this.token("..."),this.print(e.typeAnnotation)},t.TSStringKeyword=function(){this.word("string")},t.TSSymbolKeyword=function(){this.word("symbol")},t.TSTemplateLiteralType=function(e){this._printTemplate(e,e.types)},t.TSThisType=function(){this.word("this")},t.TSTupleType=function(e){this.tokenChar(91),this.printList(e.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)},t.TSTypeAliasDeclaration=function(e){const{declare:t,id:n,typeParameters:r,typeAnnotation:i}=e;t&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(n),this.print(r),this.space(),this.tokenChar(61),this.space(),this.print(i),this.semicolon()},t.TSTypeAnnotation=function(e,t){this.token("TSFunctionType"!==t.type&&"TSConstructorType"!==t.type||t.typeAnnotation!==e?":":"=>"),this.space(),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)},t.TSTypeAssertion=function(e){const{typeAnnotation:t,expression:n}=e;this.tokenChar(60),this.print(t),this.tokenChar(62),this.space(),this.print(n)},t.TSTypeLiteral=function(e){o(this,e,(()=>this.printJoin(e.members,!0,!0)))},t.TSTypeOperator=function(e){this.word(e.operator),this.space(),this.print(e.typeAnnotation)},t.TSTypeParameter=function(e){e.const&&(this.word("const"),this.space()),e.in&&(this.word("in"),this.space()),e.out&&(this.word("out"),this.space()),this.word(e.name),e.constraint&&(this.space(),this.word("extends"),this.space(),this.print(e.constraint)),e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default))},t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=function(e,t){this.tokenChar(60);let n="ArrowFunctionExpression"===t.type&&1===e.params.length;this.tokenMap&&null!=e.start&&null!=e.end&&(n&&(n=!!this.tokenMap.find(e,(e=>this.tokenMap.matchesOriginal(e,",")))),n||(n=this.shouldPrintTrailingComma(">"))),this.printList(e.params,n),this.tokenChar(62)},t.TSTypePredicate=function(e){e.asserts&&(this.word("asserts"),this.space()),this.print(e.parameterName),e.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(e.typeAnnotation.typeAnnotation))},t.TSTypeQuery=function(e){this.word("typeof"),this.space(),this.print(e.exprName);const t=e.typeParameters;t&&this.print(t)},t.TSTypeReference=function(e){const t=e.typeParameters;this.print(e.typeName,!!t),this.print(t)},t.TSUndefinedKeyword=function(){this.word("undefined")},t.TSUnionType=function(e){r(this,e,"|")},t.TSUnknownKeyword=function(){this.word("unknown")},t.TSVoidKeyword=function(){this.word("void")},t.tsPrintClassMemberModifiers=function(e){const t="ClassPrivateProperty"===e.type,n="ClassAccessorProperty"===e.type||"ClassProperty"===e.type;a(this,e,[n&&e.declare&&"declare",!t&&e.accessibility]),e.static&&(this.word("static"),this.space()),a(this,e,[!t&&e.abstract&&"abstract",!t&&e.override&&"override",(n||t)&&e.readonly&&"readonly"])},t.tsPrintFunctionOrConstructorType=function(e){const{typeParameters:t}=e,n=e.parameters;this.print(t),this.tokenChar(40),this._parameters(n,")"),this.space();const r=e.typeAnnotation;this.print(r)},t.tsPrintPropertyOrMethodName=function(e){e.computed&&this.tokenChar(91),this.print(e.key),e.computed&&this.tokenChar(93),e.optional&&this.tokenChar(63)},t.tsPrintSignatureDeclarationBase=function(e){const{typeParameters:t}=e,n=e.parameters;this.print(t),this.tokenChar(40),this._parameters(n,")");const r=e.typeAnnotation;this.print(r)}},9978:(e,t,n)=>{"use strict";n.d(t,{E_:()=>s,FJ:()=>r,TQ:()=>i});var r="@next-tsx/core",i=["callApi","callHttp","callTool","callProvider","copyText","showDialog"],s=["push","replace","reload","pushQuery","replaceQuery"]}}]);
|
|
15
|
-
//# sourceMappingURL=6746.
|
|
14
|
+
`;return this.replaceWith(u)[0].get("arguments.0")},t.splitExportDeclaration=function(){if(!this.isExportDeclaration()||this.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(this.isExportNamedDeclaration()&&this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");const e=this.get("declaration");if(this.isExportDefaultDeclaration()){const t=e.isFunctionDeclaration()||e.isClassDeclaration(),n=e.isFunctionExpression()||e.isClassExpression(),r=e.isScope()?e.scope.parent:e.scope;let i=e.node.id,s=!1;i?n&&r.hasBinding(i.name)&&(s=!0,i=r.generateUidIdentifier(i.name)):(s=!0,i=r.generateUidIdentifier("default"),(t||n)&&(e.node.id=N(i)));const o=t?e.node:j("var",[R(N(i),e.node)]),a=W(null,[U(N(i),d("default"))]);return this.insertAfter(a),this.replaceWith(o),s&&r.registerDeclaration(this),this}if(this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");const t=e.getOuterBindingIdentifiers(),n=Object.keys(t).map((e=>U(d(e),d(e)))),r=W(null,n);return this.insertAfter(r),this.replaceWith(e.node),this},t.toComputedKey=function(){let e;if(this.isMemberExpression())e=this.node.property;else{if(!this.isProperty()&&!this.isMethod())throw new ReferenceError("todo");e=this.node.key}return this.node.computed||m(e)&&(e=_(e.name)),e},t.unwrapFunctionEnvironment=function(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");q(this)};var r=n(8135),i=n(240),s=n(5957),o=n(4537);const{arrowFunctionExpression:a,assignmentExpression:l,binaryExpression:c,blockStatement:u,callExpression:p,conditionalExpression:f,expressionStatement:h,identifier:d,isIdentifier:m,jsxIdentifier:g,logicalExpression:y,LOGICAL_OPERATORS:v,memberExpression:b,metaProperty:x,numericLiteral:S,objectExpression:C,restElement:E,returnStatement:k,sequenceExpression:w,spreadElement:T,stringLiteral:_,super:A,thisExpression:P,toExpression:I,unaryExpression:M,toBindingIdentifierName:O,isFunction:F,isAssignmentPattern:B,isRestElement:D,getFunctionName:L,cloneNode:N,variableDeclaration:j,variableDeclarator:R,exportNamedDeclaration:W,exportSpecifier:U,inherits:V}=r;t.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};const H=(0,s.environmentVisitor)({CallExpression(e,{allSuperCalls:t}){e.get("callee").isSuper()&&t.push(e)}});function q(e,t=!0,n=!0,r=!0){let i,s=e.findParent((e=>e.isArrowFunctionExpression()?(null!=i||(i=e),!1):e.isFunction()||e.isProgram()||e.isClassProperty({static:!1})||e.isClassPrivateProperty({static:!1})));const o=s.isClassMethod({kind:"constructor"});if(s.isClassProperty()||s.isClassPrivateProperty())if(i)s=i;else{if(!n)throw e.buildCodeFrameError("Unable to transform arrow inside class property");e.replaceWith(p(a([],I(e.node)),[])),s=e.get("callee"),e=s.get("body")}const{thisPaths:u,argumentsPaths:h,newTargetPaths:m,superProps:C,superCalls:k}=function(e){const t=[],n=[],r=[],i=[],s=[];return e.traverse(J,{thisPaths:t,argumentsPaths:n,newTargetPaths:r,superProps:i,superCalls:s}),{thisPaths:t,argumentsPaths:n,newTargetPaths:r,superProps:i,superCalls:s}}(e);if(o&&k.length>0){if(!n)throw k[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super()` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");if(!r)throw k[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");const e=[];s.traverse(H,{allSuperCalls:e});const t=function(e){return $(e,"supercall",(()=>{const t=e.scope.generateUidIdentifier("args");return a([E(t)],p(A(),[T(d(t.name))]))}))}(s);e.forEach((e=>{const n=d(t);n.loc=e.node.callee.loc,e.get("callee").replaceWith(n)}))}if(h.length>0){const e=$(s,"arguments",(()=>{const e=()=>d("arguments");return s.scope.path.isProgram()?f(c("===",M("typeof",e()),_("undefined")),s.scope.buildUndefinedNode(),e()):e()}));h.forEach((t=>{const n=d(e);n.loc=t.node.loc,t.replaceWith(n)}))}if(m.length>0){const e=$(s,"newtarget",(()=>x(d("new"),d("target"))));m.forEach((t=>{const n=d(e);n.loc=t.node.loc,t.replaceWith(n)}))}if(C.length>0){if(!n)throw C[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");C.reduce(((e,t)=>e.concat(function(e){if(e.parentPath.isAssignmentExpression()&&"="!==e.parentPath.node.operator){const n=e.parentPath,r=n.node.operator.slice(0,-1),i=n.node.right,s=function(e){return v.includes(e)}(r);if(e.node.computed){const o=e.scope.generateDeclaredUidIdentifier("tmp"),a=e.node.object,c=e.node.property;n.get("left").replaceWith(b(a,l("=",o,c),!0)),n.get("right").replaceWith(t(s?"=":r,b(a,d(o.name),!0),i))}else{const o=e.node.object,a=e.node.property;n.get("left").replaceWith(b(o,a)),n.get("right").replaceWith(t(s?"=":r,b(o,d(a.name)),i))}return s?n.replaceWith(y(r,n.node.left,n.node.right)):n.node.operator="=",[n.get("left"),n.get("right").get("left")]}if(e.parentPath.isUpdateExpression()){const t=e.parentPath,n=e.scope.generateDeclaredUidIdentifier("tmp"),r=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null,i=[l("=",n,b(e.node.object,r?l("=",r,e.node.property):e.node.property,e.node.computed)),l("=",b(e.node.object,r?d(r.name):e.node.property,e.node.computed),c(e.parentPath.node.operator[0],d(n.name),S(1)))];return e.parentPath.node.prefix||i.push(d(n.name)),t.replaceWith(w(i)),[t.get("expressions.0.right"),t.get("expressions.1.left")]}return[e];function t(e,t,n){return"="===e?l("=",t,n):c(e,t,n)}}(t))),[]).forEach((e=>{const t=e.node.computed?"":e.get("property").node.name,n=e.parentPath,r=n.isAssignmentExpression({left:e.node}),i=n.isCallExpression({callee:e.node}),o=n.isTaggedTemplateExpression({tag:e.node}),c=function(e,t,n){return $(e,`superprop_${t?"set":"get"}:${n||""}`,(()=>{const r=[];let i;if(n)i=b(A(),d(n));else{const t=e.scope.generateUidIdentifier("prop");r.unshift(t),i=b(A(),d(t.name),!0)}if(t){const t=e.scope.generateUidIdentifier("value");r.push(t),i=l("=",i,d(t.name))}return a(r,i)}))}(s,r,t),f=[];if(e.node.computed&&f.push(e.get("property").node),r){const e=n.node.right;f.push(e)}const h=p(d(c),f);i?(n.unshiftContainer("arguments",P()),e.replaceWith(b(h,d("call"))),u.push(n.get("arguments.0"))):r?n.replaceWith(h):o?(e.replaceWith(p(b(h,d("bind"),!1),[P()])),u.push(e.get("arguments.0"))):e.replaceWith(h)}))}let O;return(u.length>0||!t)&&(O=function(e,t){return $(e,"this",(n=>{if(!t||!G(e))return P();e.traverse(K,{supers:new WeakSet,thisBinding:n})}))}(s,o),(t||o&&G(s))&&(u.forEach((e=>{const t=e.isJSX()?g(O):d(O);t.loc=e.node.loc,e.replaceWith(t)})),t||(O=null))),{thisBinding:O,fnPath:e}}function G(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}const K=(0,s.environmentVisitor)({CallExpression(e,{supers:t,thisBinding:n}){e.get("callee").isSuper()&&(t.has(e.node)||(t.add(e.node),e.replaceWithMultiple([e.node,l("=",d(n),d("this"))])))}});function $(e,t,n){const r="binding:"+t;let i=e.getData(r);if(!i){const s=e.scope.generateUidIdentifier(t);i=s.name,e.setData(r,i),e.scope.push({id:s,init:n(i)})}return i}const J=(0,s.environmentVisitor)({ThisExpression(e,{thisPaths:t}){t.push(e)},JSXIdentifier(e,{thisPaths:t}){"this"===e.node.name&&(e.parentPath.isJSXMemberExpression({object:e.node})||e.parentPath.isJSXOpeningElement({name:e.node}))&&t.push(e)},CallExpression(e,{superCalls:t}){e.get("callee").isSuper()&&t.push(e)},MemberExpression(e,{superProps:t}){e.get("object").isSuper()&&t.push(e)},Identifier(e,{argumentsPaths:t}){if(!e.isReferencedIdentifier({name:"arguments"}))return;let n=e.scope;do{if(n.hasOwnBinding("arguments"))return void n.rename("arguments");if(n.path.isFunction()&&!n.path.isArrowFunctionExpression())break}while(n=n.parent);t.push(e)},MetaProperty(e,{newTargetPaths:t}){e.get("meta").isIdentifier({name:"new"})&&e.get("property").isIdentifier({name:"target"})&&t.push(e)}}),X={"ReferencedIdentifier|BindingIdentifier"(e,t){e.node.name===t.name&&(t.needsRename=!0,e.stop())},Scope(e,t){e.scope.hasOwnBinding(t.name)&&e.skip()}}},5584:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AssignmentExpression=function(e,t,n){return!(!x(n)||!p(e.left))||E(e,t)},t.Binary=S,t.BinaryExpression=function(e,t,n){return"in"===e.operator&&Boolean(n&i.TokenContext.forInOrInitHeadAccumulate)},t.ClassExpression=function(e,t,n){return Boolean(n&(i.TokenContext.expressionStatement|i.TokenContext.exportDefault))},t.ArrowFunctionExpression=t.ConditionalExpression=E,t.DoExpression=function(e,t,n){return!e.async&&Boolean(n&i.TokenContext.expressionStatement)},t.FunctionExpression=function(e,t,n){return Boolean(n&(i.TokenContext.expressionStatement|i.TokenContext.exportDefault))},t.FunctionTypeAnnotation=function(e,t,n){const r=t.type;return"UnionTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"ArrayTypeAnnotation"===r||Boolean(n&i.TokenContext.arrowFlowReturnType)},t.Identifier=function(e,t,n,r){var s;const o=t.type;if(null!=(s=e.extra)&&s.parenthesized&&"AssignmentExpression"===o&&t.left===e){const e=t.right.type;if(("FunctionExpression"===e||"ClassExpression"===e)&&null==t.right.id)return!0}return(!r||r(e)===e.name)&&("let"===e.name?!!((u(t,{object:e,computed:!0})||f(t,{object:e,computed:!0,optional:!1}))&&n&(i.TokenContext.expressionStatement|i.TokenContext.forInitHead|i.TokenContext.forInHead))||Boolean(n&i.TokenContext.forOfHead):"async"===e.name&&l(t,{left:e,await:!1}))},t.LogicalExpression=function(e,t){const n=t.type;if(y(n))return!0;if("LogicalExpression"!==n)return!1;switch(e.operator){case"||":return"??"===t.operator||"&&"===t.operator;case"&&":return"??"===t.operator;case"??":return"??"!==t.operator}},t.NullableTypeAnnotation=function(e,t){return s(t)},t.ObjectExpression=function(e,t,n){return x(n)},t.OptionalIndexedAccessType=function(e,t){return c(t)&&t.objectType===e},t.OptionalCallExpression=t.OptionalMemberExpression=function(e,t){return a(t)&&t.callee===e||u(t)&&t.object===e},t.SequenceExpression=function(e,t){const n=t.type;return!("SequenceExpression"===n||"ParenthesizedExpression"===n||"MemberExpression"===n&&t.property===e||"OptionalMemberExpression"===n&&t.property===e||"TemplateLiteral"===n)&&("ClassDeclaration"===n||("ForOfStatement"===n?t.right===e:"ExportDefaultDeclaration"===n||!d(t)))},t.TSSatisfiesExpression=t.TSAsExpression=function(e,t){return("AssignmentExpression"===t.type||"AssignmentPattern"===t.type)&&t.left===e||("BinaryExpression"===t.type&&("|"===t.operator||"&"===t.operator)&&e===t.left||S(e,t))},t.TSConditionalType=function(e,t){const n=t.type;return"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n||"TSTypeOperator"===n||"TSTypeParameter"===n||(("TSIntersectionType"===n||"TSUnionType"===n)&&t.types[0]===e||"TSConditionalType"===n&&(t.checkType===e||t.extendsType===e))},t.TSConstructorType=t.TSFunctionType=function(e,t){const n=t.type;return"TSIntersectionType"===n||"TSUnionType"===n||"TSTypeOperator"===n||"TSOptionalType"===n||"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSConditionalType"===n&&(t.checkType===e||t.extendsType===e)},t.TSInferType=function(e,t){const n=t.type;return"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n||!(!e.typeParameter.constraint||"TSIntersectionType"!==n&&"TSUnionType"!==n||t.types[0]!==e)},t.TSInstantiationExpression=function(e,t){const n=t.type;return("CallExpression"===n||"OptionalCallExpression"===n||"NewExpression"===n||"TSInstantiationExpression"===n)&&!!t.typeParameters},t.TSIntersectionType=function(e,t){const n=t.type;return"TSTypeOperator"===n||"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n},t.UnaryLike=t.TSTypeAssertion=C,t.TSTypeOperator=function(e,t){const n=t.type;return"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n},t.TSUnionType=function(e,t){const n=t.type;return"TSIntersectionType"===n||"TSTypeOperator"===n||"TSArrayType"===n||"TSIndexedAccessType"===n&&t.objectType===e||"TSOptionalType"===n},t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=function(e,t){const n=t.type;return"ArrayTypeAnnotation"===n||"NullableTypeAnnotation"===n||"IntersectionTypeAnnotation"===n||"UnionTypeAnnotation"===n},t.UpdateExpression=function(e,t){return b(e,t)||v(e,t)},t.AwaitExpression=t.YieldExpression=function(e,t){const n=t.type;return"BinaryExpression"===n||"LogicalExpression"===n||"UnaryExpression"===n||"SpreadElement"===n||b(e,t)||"AwaitExpression"===n&&h(e)||"ConditionalExpression"===n&&e===t.test||v(e,t)||y(n)};var r=n(8135),i=n(1956);const{isArrayTypeAnnotation:s,isBinaryExpression:o,isCallExpression:a,isForOfStatement:l,isIndexedAccessType:c,isMemberExpression:u,isObjectPattern:p,isOptionalMemberExpression:f,isYieldExpression:h,isStatement:d}=r,m=new Map([["||",0],["??",0],["|>",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function g(e,t){return"BinaryExpression"===t||"LogicalExpression"===t?m.get(e.operator):"TSAsExpression"===t||"TSSatisfiesExpression"===t?m.get("in"):void 0}function y(e){return"TSAsExpression"===e||"TSSatisfiesExpression"===e||"TSTypeAssertion"===e}const v=(e,t)=>{const n=t.type;return("ClassDeclaration"===n||"ClassExpression"===n)&&t.superClass===e},b=(e,t)=>{const n=t.type;return("MemberExpression"===n||"OptionalMemberExpression"===n)&&t.object===e||("CallExpression"===n||"OptionalCallExpression"===n||"NewExpression"===n)&&t.callee===e||"TaggedTemplateExpression"===n&&t.tag===e||"TSNonNullExpression"===n};function x(e){return Boolean(e&(i.TokenContext.expressionStatement|i.TokenContext.arrowBody))}function S(e,t){const n=t.type;if("BinaryExpression"===e.type&&"**"===e.operator&&"BinaryExpression"===n&&"**"===t.operator)return t.left===e;if(v(e,t))return!0;if(b(e,t)||"UnaryExpression"===n||"SpreadElement"===n||"AwaitExpression"===n)return!0;const r=g(t,n);if(null!=r){const i=g(e,e.type);if(r===i&&"BinaryExpression"===n&&t.right===e||r>i)return!0}}function C(e,t){return b(e,t)||o(t)&&"**"===t.operator&&t.left===e||v(e,t)}function E(e,t){const n=t.type;return!!("UnaryExpression"===n||"SpreadElement"===n||"BinaryExpression"===n||"LogicalExpression"===n||"ConditionalExpression"===n&&t.test===e||"AwaitExpression"===n||y(n))||C(e,t)}},5703:(e,t,n)=>{"use strict";n.d(t,{C:()=>O});var r=n(3310),i=n(580),s=n(9740),o=n(4),a=n(3705),l=n(8291),c=n(5810),u=n(5307),p=n(3738),f=n(6253);function h(e,t,n,r,i,o,a,l){var c=(0,p.S)(e,t,n,r);if(!c)return null;t.contracts.add(c.api);var u=(0,s.A)({name:i,config:o},c);if(a&&l){if("catch"===l){if(1!==a.length)return t.errors.push({message:'".catch()" expects exactly 1 argument, but got '.concat(a.length),node:a.length>0?a[1].node:e.node,severity:"error"}),null}else if(0===a.length||a.length>2)return t.errors.push({message:'".then()" expects 1 or 2 arguments, but got '.concat(a.length),node:a.length>2?a[2].node:e.node,severity:"error"}),null;var f=d(a[0],t,n,r,l);if(f&&(u["catch"===l?"rejectTransform":"transform"]=f),"catch"!==l&&a.length>1){var h=d(a[1],t,n,r,l);h&&(u.rejectTransform=h)}}return u}function d(e,t,n,r,i){if(!e.isArrowFunctionExpression())return t.errors.push({message:'".'.concat(i,'()" callback expects an arrow function, but got ').concat(e.type),node:e.node,severity:"error"}),null;var o=e.get("body");if(!o.isExpression())return t.errors.push({message:'".'.concat(i,'()" callback function body expects an expression, but got ').concat(o.type),node:o.node,severity:"error"}),null;var a,l,c=e.get("params");if(c.length>1)return t.errors.push({message:'".'.concat(i,'()" callback function expects exactly 0 or 1 parameter, but got ').concat(c.length),node:null!==(a=null===(l=c[1])||void 0===l?void 0:l.node)&&void 0!==a?a:e,severity:"error"}),null;var u=(0,s.A)((0,s.A)({},r),{},{dataBinding:void 0}),p=c[0];if(c.length>0){if(!p.isIdentifier())return t.errors.push({message:'".'.concat(i,'()" callback function parameter expects an identifier, but got ').concat(p.type),node:p.node,severity:"error"}),null;u.dataBinding={id:p.node}}return(0,f.$)(o,t,n,u)}function m(e,t,n,i,s){var o=e.get("id");if(!o.isArrayPattern())return null;var a=o.get("elements");if(1!==a.length&&2!==a.length)return null;var u=a[0];if(!u.isIdentifier())return null;if(1!==t.length&&2!==t.length)return null;var p=t[0];if(!p.isArrowFunctionExpression())return null;if(!(0,l.Z1)(p.node,n))return null;var f=p.get("body");if(f.isBlockStatement())return null;if(!f.isCallExpression())return null;var d=f.get("callee");if(!d.isIdentifier()&&!d.isMemberExpression())return null;var m,g=t[1];if(g){if(!g.isObjectExpression())return n.errors.push({message:'"useResource()" second argument must be an object expression, but got '.concat(g.type),node:g.node,severity:"error"}),null;var y,v=(0,r.A)(g.get("properties"));try{for(v.s();!(y=v.n()).done;){var b=y.value;if(!b.isObjectProperty())return n.errors.push({message:'Unsupported property type in "useResource()" second argument: '.concat(b.type),node:b.node,severity:"error"}),null;var x=b.get("key");if(!x.isIdentifier())return n.errors.push({message:'"useResource()" second argument property key must be an identifier, but got '.concat(x.type),node:x.node,severity:"error"}),null;if(b.node.computed)return n.errors.push({message:'"useResource()" second argument property key cannot be computed',node:x.node,severity:"error"}),null;if("enabled"!==x.node.name&&"fallback"!==x.node.name)return n.errors.push({message:'"useResource()" second argument property key must be "enabled" or "fallback", but got "'.concat(x.node.name,'"'),node:x.node,severity:"error"}),null;null!=m||(m={}),m[x.node.name]=(0,c.A)(b.get("value"),n,i,s)}}catch(e){v.e(e)}finally{v.f()}}var S=null;if(d.isMemberExpression()){var C=d.get("property");if(!C.isIdentifier()||d.node.computed||"then"!==C.node.name&&"catch"!==C.node.name)return n.errors.push({message:"Invalid useResource call",node:C.node,severity:"error"}),null;S=h(d.get("object"),n,i,s,u.node.name,m,f.get("arguments"),C.node.name)}else S=h(f,n,i,s,u.node.name,m);if(S){var E=[{id:u.node,kind:"resource",resource:S}],k=a[1];if(k){if(!k.isIdentifier())return n.errors.push({message:'Refetch variable in "useResource()" must be an identifier',node:k.node,severity:"error"}),null;E.push({id:k.node,kind:"refetch",resourceId:u.node})}return E}return null}var g=n(7927);function y(e,t,n,i,s){if(1!==t.length)return n.errors.push({message:'"useContext()" must have exactly one argument, but got '.concat(t.length),node:e.node,severity:"error"}),null;var o=t[0];if(!o.isIdentifier())return n.errors.push({message:'"useContext()" argument must be an identifier, but got '.concat(o.type),node:o.node,severity:"error"}),null;var a=(0,g.lr)(o,n,i,s);if(!a)return null;var l=e.get("id");if(!l.isObjectPattern())return null;var c,u=l.get("properties"),p=[],f=(0,r.A)(u);try{for(f.s();!(c=f.n()).done;){var h=c.value;if(h.isObjectProperty())if(h.node.computed)n.errors.push({message:'"useContext()" destructuring property cannot be computed',node:h.node,severity:"error"});else{var d=h.get("key");if(d.isIdentifier()){var m=h.get("value");m.isIdentifier()?p.push({id:m.node,kind:"context",contextProvider:a,contextKey:d.node.name}):n.errors.push({message:'"useContext()" destructuring property value must be an identifier, but got '.concat(m.type),node:m.node,severity:"error"})}else n.errors.push({message:'"useContext()" destructuring property key must be an identifier, but got '.concat(d.type),node:d.node,severity:"error"})}else n.errors.push({message:'Unsupported property type in "useContext()" destructuring: '.concat(h.type),node:h.node,severity:"error"})}}catch(e){f.e(e)}finally{f.f()}return p}var v=n(689),b=new Map([["useQuery","query"],["usePathParams","pathParams"],["useApp","app"],["useAuth","auth"],["useHistory","history"],["useLocation","location"]]);function x(e,t,n,i){var s,o=(0,r.A)(b);try{for(o.s();!(s=o.n()).done;){var a=(0,v.A)(s.value,2),c=a[0],u=a[1];if((0,l.cv)(t,c)){var p=e.get("id");if(!p.isIdentifier()){i.errors.push({message:"".concat(c,"() must be assigned to an identifier, received ").concat(p.type),node:p.node,severity:"error"});break}return n.length>0&&i.errors.push({message:"".concat(c,"() does not accept any arguments, received ").concat(n.length),node:n[0].node,severity:"warning"}),[p.node,{id:p.node,kind:u}]}}}catch(e){o.e(e)}finally{o.f()}return null}var S=n(9074);function C(e,t,n,i,s){if(!t)return n.errors.push({message:"useImperativeHandle() can only be used in component with ref parameter",node:e.node,severity:"error"}),null;var o=e.get("arguments");if(o.length<2)return n.errors.push({message:"useImperativeHandle() requires at least 2 arguments, received ".concat(o.length),node:e.node,severity:"error"}),null;var a=o[0];if(!a.isIdentifier()||a.scope.getBindingIdentifier(a.node.name)!==t.node)return n.errors.push({message:"useImperativeHandle() first argument must be the ref parameter",node:a.node,severity:"error"}),null;var c=o[1];if(!c.isArrowFunctionExpression())return n.errors.push({message:"useImperativeHandle() second argument must be an arrow function expression, received ".concat(c.type),node:c.node,severity:"error"}),null;var u=c.get("body");if(!u.isObjectExpression())return n.errors.push({message:"useImperativeHandle() arrow function body must be an object expression, received ".concat(u.type),node:u.node,severity:"error"}),null;var p,f=[],h={},d=(0,r.A)(u.get("properties"));try{for(d.s();!(p=d.n()).done;){var m=p.value,g=m.get("key");if(g.isIdentifier()){var y=void 0;if(m.isObjectProperty()){if(m.node.computed||m.node.shorthand){n.errors.push({message:"useImperativeHandle() object properties cannot be computed or shorthand",node:m.node,severity:"error"});continue}var v=m.get("value");if(!(0,l.dM)(v)){n.errors.push({message:"useImperativeHandle() object properties must be functions, received ".concat(v.type),node:m.node,severity:"error"});continue}if(!(0,l.Z1)(v.node,n))continue;var b=v.get("body");if(!b.isBlockStatement()){n.errors.push({message:"useImperativeHandle() object property functions must have a block statement body, received ".concat(b.type),node:b.node,severity:"error"});continue}y=b}else{if(!m.isObjectMethod()){n.errors.push({message:"useImperativeHandle() object properties must be methods or properties, received ".concat(m.type),node:m.node,severity:"error"});continue}if(m.node.computed||"method"!==m.node.kind||m.node.generator||m.node.async){n.errors.push({message:"useImperativeHandle() object methods must be non-computed non-generator non-async methods, received kind=".concat(m.node.kind,", computed=").concat(m.node.computed,", generator=").concat(m.node.generator,", async=").concat(m.node.async),node:m.node,severity:"error"});continue}y=m.get("body")}var x=(0,S.y)(y,n,i,s);if(x&&(!Array.isArray(x)||x.length>0)){var C="imperative-handle-ref-".concat(g.node.name);h[g.node.name]={ref:C,refMethod:"trigger"},f.push({name:"eo-event-agent",portal:!0,properties:{},ref:C,events:{trigger:x}})}}else n.errors.push({message:"useImperativeHandle() object property key must be an identifier, received ".concat(g.type),node:g.node,severity:"error"})}}catch(e){d.e(e)}finally{d.f()}return 0===f.length?null:{components:f,methods:h}}function E(e,t,n,i,o){if(!(0,l.Z1)(e.node,t))return null;var u,p,f=new Map,h={bindingMap:f,type:i,id:e.node.id},d=(0,s.A)((0,s.A)({},o),{},{component:h}),g=e.get("params");if("template"===i){if(g.length>2)return t.errors.push({message:"Component function can only have no more than 2 parameters, received ".concat(g.length),node:e.node,severity:"error"}),null;if(g.length>0){var v=g[0];if(!v.isObjectPattern())return t.errors.push({message:"Component function first parameter must be an object pattern, received ".concat(v.type),node:v.node,severity:"error"}),null;var b,S=(0,r.A)(v.get("properties"));try{for(S.s();!(b=S.n()).done;){var E=b.value;if(E.isRestElement())return t.errors.push({message:"Component function parameter rest element is not allowed",node:E.node,severity:"error"}),null;var T=E.node;if(T.computed||!T.shorthand)return t.errors.push({message:"Component function parameter properties must be shorthand and not computed",node:E.node,severity:"error"}),null;var _=E.get("key"),A=E.get("value");if(!_.isIdentifier())return t.errors.push({message:"Component function parameter property key must be an identifier, received ".concat(_.type),node:_.node,severity:"error"}),null;var P=_.node.name;if(/^on[A-Z]/.test(P)){if(!A.isIdentifier())return t.errors.push({message:'Event handler parameter "'.concat(P,'" must be an identifier, received ').concat(A.type),node:A.node,severity:"error"}),null;f.set(A.node,{id:A.node,kind:"eventHandler"})}else{var I=void 0,M=void 0;if(A.isAssignmentPattern()){var O=A.get("left");O.isIdentifier()&&(I=O.node,M=(0,c.A)(A.get("right"),t,n,d))}else A.isIdentifier()&&(I=A.node);if(!I){t.errors.push({message:"Component function parameter property value must be an identifier or assignment pattern, received ".concat(A.type),node:A.node,severity:"error"});continue}var F={id:I,kind:"param",initialValue:M};f.set(I,F)}}}catch(e){S.e(e)}finally{S.f()}}if(g.length>1){var B=g[1];if(!B.isIdentifier())return t.errors.push({message:"Component function second parameter must be an identifier for ref, received ".concat(B.type),node:B.node,severity:"error"}),null;u=B}}else if(g.length>0)return t.errors.push({message:"Page function cannot have parameters, received ".concat(g.length),node:g[0].node,severity:"error"}),null;var D,L=h,N=e.get("body").get("body"),j=(0,r.A)(N);try{for(j.s();!(D=j.n()).done;){var R=D.value;if(R.isVariableDeclaration()){if("const"!==R.node.kind){t.errors.push({message:'Only "const" variable declaration is allowed, received "'.concat(R.node.kind,'"'),node:R.node,severity:"error"});continue}var W,U=(0,r.A)(R.get("declarations"));try{for(U.s();!(W=U.n()).done;){var V=W.value,H=V.get("init");if(H.isCallExpression()){var q=H.get("callee");if(q.isIdentifier()){var G=H.get("arguments");if((0,l.cv)(q,"useState")){var K=V.get("id");if(!K.isArrayPattern())continue;var $=K.get("elements");if(2!==$.length){t.errors.push({message:"useState() destructuring must have exactly two elements, received ".concat($.length),node:K.node,severity:"error"});continue}var J=$[0],X=$[1];if(!J.isIdentifier()||!X.isIdentifier()){t.errors.push({message:"useState() destructuring must have identifiers as elements, received ".concat($.map((function(e){return e.type})).join(", ")),node:K.node,severity:"error"});continue}var Q={id:J.node,kind:"state"};f.set(J.node,Q),f.set(X.node,{id:J.node,kind:"setState"}),G.length>0&&(Q.initialValue=(0,c.A)(G[0],t,n,d)),G.length>1&&t.errors.push({message:"useState() only accepts at most one argument, received ".concat(G.length),node:G[1].node,severity:"warning"});continue}if((0,l.cv)(q,"useResource")){var z=m(V,G,t,n,d);if(z){var Y,Z=(0,r.A)(z);try{for(Z.s();!(Y=Z.n()).done;){var ee=Y.value;f.set(ee.id,ee)}}catch(e){Z.e(e)}finally{Z.f()}}continue}if((0,l.cv)(q,"useRef")){var te=V.get("id");if(!te.isIdentifier()){t.errors.push({message:"useRef() must be assigned to an identifier, received ".concat(te.type),node:te.node,severity:"error"});continue}G.length>1&&t.errors.push({message:"useRef() only accepts at most one argument, received ".concat(G.length),node:G[1].node,severity:"warning"});var ne=G[0];ne&&!ne.isNullLiteral()&&t.errors.push({message:"useRef() first argument must be null, received ".concat(ne.type),node:ne.node,severity:"warning"}),f.set(te.node,{id:te.node,kind:"ref"});continue}var re=x(V,q,G,t);if(!1===re)continue;if(re){f.set(re[0],re[1]);continue}if((0,l.cv)(q,"useContext")){var ie=y(V,G,t,n,d);if(ie){var se,oe=(0,r.A)(ie);try{for(oe.s();!(se=oe.n()).done;){var ae=se.value;f.set(ae.id,ae)}}catch(e){oe.e(e)}finally{oe.f()}}continue}}}var le=V.get("id");if(le.isIdentifier()){var ce={id:le.node,kind:"constant"};f.set(le.node,ce),H.node&&(ce.initialValue=(0,c.A)(H,t,n,d))}else t.errors.push({message:"Expect an identifier as the variable name, received ".concat(le.type),node:le.node,severity:"error"})}}catch(e){U.e(e)}finally{U.f()}}else{if(R.isReturnStatement()){var ue,pe,fe,he=k(R,t,n,d);he&&(null!==(pe=(ue=L).children)&&void 0!==pe||(ue.children=[]),(fe=L.children).push.apply(fe,(0,a.A)(p?he.map((function(e){return(0,s.A)((0,s.A)({},e),{},{slot:p})})):he)));break}if(R.isIfStatement()){var de,me,ge=R.get("test");if(!(0,l.N5)(ge.node,t))return null;var ye=R.get("consequent"),ve=R.get("alternate"),be=w(ye,t,n,d),xe=ve?w(ve,t,n,d):null;null!==(me=(de=L).children)&&void 0!==me||(de.children=[]);var Se={name:"If",properties:{dataSource:(0,c.s)(ge,t,n,(0,s.A)((0,s.A)({},d),{},{modifier:"="}))},children:[].concat((0,a.A)(null!=be?be:[]),(0,a.A)((null!=xe?xe:[]).map((function(e){return(0,s.A)((0,s.A)({},e),{},{slot:"else"})})))),slot:p};if(L.children.push(Se),L=Se,be&&(p="else",xe))break}else{if(R.isExpressionStatement()){var Ce=R.get("expression");if(Ce.isCallExpression()){var Ee=Ce.get("callee");if(!Ee.isIdentifier()){t.errors.push({message:"Unsupported call expression callee type: ".concat(Ee.type),node:Ee.node,severity:"error"});continue}if((0,l.cv)(Ee,"useImperativeHandle")){var ke,we,Te,_e=C(Ce,u,t,n,d);_e&&(null!==(ke=h.children)&&void 0!==ke||(h.children=[]),(we=h.children).push.apply(we,(0,a.A)(_e.components)),null!==(Te=h.proxy)&&void 0!==Te||(h.proxy={}),h.proxy.methods=_e.methods)}continue}}R.isTSInterfaceDeclaration()||R.isTSTypeAliasDeclaration()||t.errors.push({message:"Unsupported top level statement type: ".concat(R.type),node:R.node,severity:"error"})}}}}catch(e){j.e(e)}finally{j.f()}return h}function k(e,t,n,r){var i=e.get("argument");return i.node?(0,u.H)(i,t,n,r):(t.errors.push({message:"Return statement in component function must have an argument",node:e,severity:"error"}),null)}function w(e,t,n,i){if(e.isBlockStatement()){var s=e.get("body");if(0===s.length)return t.errors.push({message:"If statement block must contain a return statement",node:e.node,severity:"error"}),null;var o,a=null,l=(0,r.A)(s);try{for(l.s();!(o=l.n()).done;){var c=w(o.value,t,n,i);c&&(a=c)}}catch(e){l.e(e)}finally{l.f()}return a}return e.isReturnStatement()?k(e,t,n,i):(t.errors.push({message:"Only return statement is allowed in if statement, but received: ".concat(e.type),node:e.node,severity:"error"}),null)}function T(e,t,n,r){var i=(0,f.$)(e,t,n,r,!0);return i?{name:e.node.id.name,source:i,typescript:!0}:null}var _=n(1799),A=n(1046),P=o.default,I=function(e){return e.TopLevelStatement="top level statement",e.NamedExportDeclaration="named export declaration",e.DefaultExportDeclaration="default export declaration",e}(I||{});function M(e,t){return"function"!==t.moduleType&&e.name[0]>="A"&&e.name[0]<="Z"}function O(e,t,n,o){var a,c=t.files.find((function(t){return t.filePath===e}));if(!c)throw new Error("File not found: ".concat(e));if(!t.modules.has(e)){t.modules.set(e,null);var p=e.endsWith(".ts")||e.endsWith(".tsx"),f=!p&&c.filePath.endsWith(".css");if(!n&&p)try{n=(0,i.parse)(c.content,{plugins:["jsx","typescript"],sourceType:"module",errorRecovery:!0})}catch(v){return void t.errors.push({message:"Failed to parse file (".concat(e,"): ").concat(v),node:null,severity:"fatal",filePath:e})}var h=!t.entry,d=h?"entry":f?"css":p?c.filePath.startsWith("/Pages/")?"page":c.filePath.startsWith("/Components/")?"template":c.filePath.startsWith("/Utils/")?"function":"unknown":"unknown",m={source:c.content,filePath:e,moduleType:d,defaultExport:null,namedExports:new Map,internals:[],errors:[],contracts:new Set,usedHelpers:new Set};if(null!==(a=n)&&void 0!==a&&null!==(a=a.errors)&&void 0!==a&&a.length){var g,y=(0,r.A)(n.errors);try{for(y.s();!(g=y.n()).done;){var v=g.value;m.errors.push({message:"".concat(v.code,": ").concat(v.reasonCode),node:null,severity:"error"})}}catch(e){y.e(e)}finally{y.f()}}h&&(t.entry=m),t.modules.set(e,m),n?function(e,t,n,i){var o=new Set,a=new Set,c=new Set,p={functionBindings:o,componentBindings:a,contextBindings:c,stateBindings:null==i?void 0:i.withContexts};P(n,{Program:function(n){var f,h=n.get("body"),d=[],m=[],g=null,y=null,v=[],b=function(n,r){if(n.isFunctionDeclaration()){var i=n.node.id;if(i&&(M(i,e)?a.add(i):o.add(i)),r===I.DefaultExportDeclaration)return void("app"===t.appType&&"entry"===e.moduleType?e.errors.push({message:"The entry module in an app cannot have a default export declaration.",node:n.node,severity:"error"}):g=n);if(!i)return void e.errors.push({message:"Function declaration must have a name",node:n.node,severity:"error"});d.push({func:n,exported:r===I.NamedExportDeclaration})}else if(n.isVariableDeclaration()){if(r===I.DefaultExportDeclaration)return void e.errors.push({message:"Default export declaration must be a function declaration.",node:n.node,severity:"error"});m.push({decl:n,exported:r===I.NamedExportDeclaration})}else if(n.isExportDefaultDeclaration()){var s=n.get("declaration");b(s,I.DefaultExportDeclaration)}else if(n.isExportNamedDeclaration()){var l=n.get("declaration");b(l,I.NamedExportDeclaration)}else if(n.isImportDeclaration()){var c=n.node.source.value;(c.startsWith(".")||c.startsWith("/"))&&v.push(c)}else n.isTSInterfaceDeclaration||n.isTSTypeAliasDeclaration()||e.errors.push({message:"Unsupported ".concat(r," type: ").concat(n.type),node:n.node,severity:"error"})},x=(0,r.A)(h);try{for(x.s();!(f=x.n()).done;){var S=f.value;if("app"===t.appType&&e===t.entry&&S.isExpressionStatement()){var C=S.get("expression");if(C.isCallExpression()){var k=C.get("callee");if(k.isIdentifier()&&(0,l.cv)(k,"render")){var w=C.get("arguments");if(1!==w.length){e.errors.push({message:"render() expects exactly one argument, received: ".concat(w.length),node:C.node,severity:"error"});continue}y=w[0];continue}}}b(S,I.TopLevelStatement)}}catch(e){x.e(e)}finally{x.f()}for(var P=0,F=m;P<F.length;P++){var B=F[P],D=B.decl,L=B.exported;if("const"===D.node.kind){var N,j=(0,r.A)(D.get("declarations"));try{for(j.s();!(N=j.n()).done;){var R=N.value,W=R.get("init");if(W.isCallExpression()){var U=W.get("callee");if(U.isIdentifier())if((0,l.cv)(U,"createContext")){var V=R.get("id");if(V.isIdentifier()){var H={type:"context",context:V.node.name};c.add(V.node),L?e.namedExports.set(V.node.name,H):e.internals.push(H)}else e.errors.push({message:"Unsupported context identifier type: ".concat(V.type),node:V.node,severity:"error"})}else e.errors.push({message:"Global variables must be initialized with createContext, but got: ".concat(U.node.name),node:U.node,severity:"error"});else e.errors.push({message:"Unsupported variable initializer type: ".concat(U.type),node:U.node,severity:"error"})}else e.errors.push({message:"Global variables must be initialized with a call expression, but got: ".concat(W.type),node:W.node,severity:"error"})}}catch(e){j.e(e)}finally{j.f()}}else e.errors.push({message:"Global variables must be declared with const.",node:D.node,severity:"error"})}for(var q=0,G=v;q<G.length;q++){var K=G[q];O((0,_.D)(K,e.filePath,t.files),t,void 0,i)}for(var $=0,J=d;$<J.length;$++){var X=J[$],Q=X.func,z=X.exported,Y=Q.node.id;if(M(Y,e)){var Z="app"===t.appType&&"entry"===e.moduleType?"page":"template",ee=E(Q,e,t,Z,p);if(ee){var te={type:Z,component:ee};z?e.namedExports.set(Y.name,te):e.internals.push(te)}}else{var ne=T(Q,e,t,p);if(ne){var re={type:"function",function:ne};z?e.namedExports.set(Y.name,re):e.internals.push(re)}}}if(g){var ie=g.node.id;if(ie?M(ie,e):"function"!==e.moduleType){var se="entry"===e.moduleType?"template"===t.appType?"template":"view":"page"===e.moduleType?"page":"template",oe=E(g,e,t,se,p);oe&&(e.defaultExport=(0,s.A)({type:se,component:oe},"view"===se?{title:(0,A.W)(oe)}:{}))}else{var ae=T(g,e,t,p);ae&&(e.defaultExport={type:"function",function:ae})}}if(y){var le=(0,u.H)(y,e,t,p);e.render={type:"render",children:le}}n.stop()}})}(m,t,n,o):f&&t.constants.set(e,c.content)}}},5810:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,s:()=>u});var r=n(3310),i=n(8135),s=n(8291),o=n(6253),a=n(5307),l=Symbol("ambiguous");function c(e,t,n,i){if(e.isTSAsExpression())return c(e.get("expression"),t,n,i);if(e.isObjectExpression())return function(e,t,n,i){var a=e.get("properties");if(a.some((function(e){return e.isSpreadElement()||e.isObjectProperty()&&(e.node.computed||e.node.shorthand)}))&&(0,s.N5)(e.node,t))return i.ambiguous?l:(0,o.$)(e,t,n,i);var u,p={},f=(0,r.A)(a);try{for(f.s();!(u=f.n()).done;){var h=u.value;if(h.isObjectProperty())if(h.node.computed||h.node.shorthand)t.errors.push({message:"Unsupported computed or shorthand object property",node:h.node.key,severity:"error"});else{var d=h.get("key"),m=void 0;if(d.isIdentifier())m=d.node.name;else{if(!d.isStringLiteral()){t.errors.push({message:"Unsupported object key type: ".concat(d.node.type),node:d.node,severity:"error"});continue}m=d.node.value}p[m]=c(h.get("value"),t,n,i)}else t.errors.push({message:"Unsupported property type: ".concat(h.type),node:h.node,severity:"error"})}}catch(e){f.e(e)}finally{f.f()}return p}(e,t,n,i);if(e.isArrayExpression())return function(e,t,n,i){var a=e.get("elements");if(a.some((function(e){return!e||e.isSpreadElement()}))&&(0,s.N5)(e.node,t))return i.ambiguous?l:(0,o.$)(e,t,n,i);var u,p=[],f=(0,r.A)(a);try{for(f.s();!(u=f.n()).done;){var h=u.value;h.node?h.isSpreadElement()?t.errors.push({message:"Spread elements are not supported in array",node:h.node,severity:"error"}):p.push(c(h,t,n,i)):t.errors.push({message:"Array elements cannot be empty",node:e.node,severity:"error"})}}catch(e){f.e(e)}finally{f.f()}return p}(e,t,n,i);if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral())return e.node.value;if(e.isNullLiteral())return null;if(!e.isIdentifier()||"undefined"!==e.node.name||void 0!==e.scope.getBinding("undefined")){if(i.allowUseBrick&&e.isArrowFunctionExpression()){var u=e.get("body");if(u.isBlockStatement())return t.errors.push({message:"Block statements are not supported in render callback",node:u.node,severity:"error"}),null;var p,f=[],h=(0,r.A)(e.get("params"));try{for(h.s();!(p=h.n()).done;){var d=p.value;if(!d.isIdentifier())return t.errors.push({message:"Unsupported parameter type: ".concat(d.type),node:d.node,severity:"error"}),null;f.push(d.node.name)}}catch(e){h.e(e)}finally{h.f()}return{params:f,children:(0,a.H)(u,t,n,i)}}return e.isExpression()?(0,s.N5)(e.node,t)?i.ambiguous?l:(0,o.$)(e,t,n,i):null:(t.errors.push({message:"Unsupported value type: ".concat(e.node.type),node:e.node,severity:"error"}),null)}}function u(e,t,n,r){var a=!1;return i.traverse(e.node,{enter:function(e,t){var n,r;a||i.isStringLiteral(e)||i.isNumericLiteral(e)||i.isBooleanLiteral(e)||i.isNullLiteral(e)||i.isObjectExpression(e)||i.isArrayExpression(e)||i.isObjectProperty(e)||i.isIdentifier(e)&&(r=null===(n=t[t.length-1])||void 0===n?void 0:n.node,1)&&(r&&i.isObjectProperty(r)?!r.computed&&!r.shorthand:"undefined"===e.name)||(a=!0)}}),a&&(0,s.N5)(e.node,null)?(0,o.$)(e,t,n,r):c(e,t,n,r)}},5838:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=function(e,t){const{placeholderWhitelist:n=e.placeholderWhitelist,placeholderPattern:r=e.placeholderPattern,preserveComments:i=e.preserveComments,syntacticPlaceholders:s=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:n,placeholderPattern:r,preserveComments:i,syntacticPlaceholders:s}},t.normalizeReplacements=function(e){if(Array.isArray(e))return e.reduce(((e,t,n)=>(e["$"+n]=t,e)),{});if("object"==typeof e||null==e)return e||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")},t.validate=function(e){if(null!=e&&"object"!=typeof e)throw new Error("Unknown template options.");const t=e||{},{placeholderWhitelist:r,placeholderPattern:i,preserveComments:s,syntacticPlaceholders:o}=t,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(t,n);if(null!=r&&!(r instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(null!=i&&!(i instanceof RegExp)&&!1!==i)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(null!=s&&"boolean"!=typeof s)throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(null!=o&&"boolean"!=typeof o)throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(!0===o&&(null!=r||null!=i))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:a,placeholderWhitelist:r||void 0,placeholderPattern:null==i?void 0:i,preserveComments:null==s?void 0:s,syntacticPlaceholders:null==o?void 0:o}};const n=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},5957:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.environmentVisitor=function(e){return g([C,e])},t.explode=h,t.isExplodedVisitor=f,t.merge=g,t.verify=d;var r=n(4057),i=n(7494),s=n(8135),o=n(4537);const{DEPRECATED_KEYS:a,DEPRECATED_ALIASES:l,FLIPPED_ALIAS_KEYS:c,TYPES:u,__internal__deprecationWarning:p}=s;function f(e){return null==e?void 0:e._exploded}function h(e){if(f(e))return e;e._exploded=!0;for(const t of Object.keys(e)){if(x(t))continue;const n=t.split("|");if(1===n.length)continue;const r=e[t];delete e[t];for(const t of n)e[t]=r}d(e),delete e.__esModule,function(e){for(const t of Object.keys(e)){if(x(t))continue;const n=e[t];"function"==typeof n&&(e[t]={enter:n})}}(e),v(e);for(const t of Object.keys(e)){if(x(t))continue;if(!(t in r))continue;const n=e[t];for(const e of Object.keys(n))n[e]=b(t,n[e]);delete e[t];const i=r[t];if(null!==i)for(const t of i)e[t]?S(e[t],n):e[t]=n;else S(e,n)}for(const t of Object.keys(e)){if(x(t))continue;let n=c[t];if(t in a){const e=a[t];p(t,e,"Visitor "),n=[e]}else if(t in l){const e=l[t];p(t,e,"Visitor "),n=c[e]}if(!n)continue;const r=e[t];delete e[t];for(const t of n){const n=e[t];n?S(n,r):e[t]=Object.assign({},r)}}for(const t of Object.keys(e))x(t)||v(e[t]);return e}function d(e){if(!e._verified){if("function"==typeof e)throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(const t of Object.keys(e)){if("enter"!==t&&"exit"!==t||m(t,e[t]),x(t))continue;if(!u.includes(t))throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type in @babel/traverse 7.27.4`);const n=e[t];if("object"==typeof n)for(const e of Object.keys(n)){if("enter"!==e&&"exit"!==e)throw new Error(`You passed \`traverse()\` a visitor object with the property ${t} that has the invalid property ${e}`);m(`${t}.${e}`,n[e])}}e._verified=!0}}function m(e,t){const n=[].concat(t);for(const t of n)if("function"!=typeof t)throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}function g(e,t=[],n){const r={_verified:!0,_exploded:!0};Object.defineProperty(r,"_exploded",{enumerable:!1}),Object.defineProperty(r,"_verified",{enumerable:!1});for(let i=0;i<e.length;i++){const s=h(e[i]),o=t[i];let a=s;(o||n)&&(a=y(a,o,n)),S(r,a);for(const e of Object.keys(s)){if(x(e))continue;let t=s[e];(o||n)&&(t=y(t,o,n)),S(r[e]||(r[e]={}),t)}}return r}function y(e,t,n){const r={};for(const i of["enter","exit"]){let s=e[i];Array.isArray(s)&&(s=s.map((function(e){let r=e;return t&&(r=function(n){e.call(t,n,t)}),n&&(r=n(null==t?void 0:t.key,i,r)),r!==e&&(r.toString=()=>e.toString()),r})),r[i]=s)}return r}function v(e){e.enter&&!Array.isArray(e.enter)&&(e.enter=[e.enter]),e.exit&&!Array.isArray(e.exit)&&(e.exit=[e.exit])}function b(e,t){const n=i[`is${e}`],r=function(e){if(n.call(e))return t.apply(this,arguments)};return r.toString=()=>t.toString(),r}function x(e){return"_"===e[0]||"enter"===e||"exit"===e||"shouldSkip"===e||"denylist"===e||"noScope"===e||"skipKeys"===e||"blacklist"===e}function S(e,t){for(const n of["enter","exit"])t[n]&&(e[n]=[].concat(e[n]||[],t[n]))}const C={FunctionParent(e){e.isArrowFunctionExpression()||(e.skip(),e.isMethod()&&(e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():o.requeueComputedKeyAndDecorators.call(e)))},Property(e){e.isObjectProperty()||(e.skip(),e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():o.requeueComputedKeyAndDecorators.call(e))}}},6026:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor({identifier:e,scope:t,path:n,kind:r}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=e,this.scope=t,this.path=n,this.kind=r,"var"!==r&&"hoisted"!==r||!function(e){const t=!e.isVariableDeclarator()||e.node.init;for(let{parentPath:n,key:r}=e;n;({parentPath:n,key:r}=n)){if(n.isFunctionParent())return!1;if("left"===r&&n.isForXStatement()||t&&"body"===r&&n.isLoop())return!0}return!1}(n)||this.reassign(n),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(e){this.constant=!1,this.constantViolations.includes(e)||this.constantViolations.push(e)}reference(e){this.referencePaths.includes(e)||(this.referenced=!0,this.references++,this.referencePaths.push(e))}dereference(){this.references--,this.referenced=!!this.references}}},6230:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},6253:(e,t,n)=>{"use strict";n.d(t,{$:()=>c});var r=n(689),i=n(3310),s=n(7927),o=n(1799),a=n(8291),l=new Map([["BASE_URL","BASE_URL"],["translate","I18N"],["translateByRecord","I18N_TEXT"]]);function c(e,t,n,c,u){var p,f=e.isFunctionDeclaration();if(f&&!(0,a.Z1)(e.node,t))return null;var h=[],d={Identifier:function(u){var p,d,m,g,y,v,b;if(u.isReferencedIdentifier()){var x,S=u.parentPath.isObjectProperty()&&u.parentPath.node.shorthand,C=u.node.name,E=(0,i.A)(l);try{for(E.s();!(x=E.n()).done;){var k=(0,r.A)(x.value,2),w=k[0],T=k[1];if((0,a.cv)(u,w))return void h.push({type:"id",start:u.node.start,end:u.node.end,replacement:T,shorthand:S?C:void 0})}}catch(e){E.e(e)}finally{E.f()}var _=u.scope.getBinding(C);if(_){var A=_.identifier;if("module"===_.kind){var P=_.path.isImportDefaultSpecifier();if(!P&&!_.path.isImportSpecifier())return void t.errors.push({message:'Invalid module binding for "'.concat(C,'"'),node:u.node,severity:"error"});var I,M=_.path.parentPath.node;if(!P){var O=_.path.get("imported");if(!O.isIdentifier())return t.errors.push({message:"Unsupported import specifier type: ".concat(O.type),node:O.node,severity:"error"}),null;I=O.node.name}var F=M.source.value;if(F.startsWith(".")||F.startsWith("/")){var B,D,L=(0,o.D)(F,t.filePath,n.files),N=n.modules.get(L);if("css"===(null==N?void 0:N.moduleType))return f?void t.errors.push({message:"Css imports are not supported for utils functions",node:u.node,severity:"error"}):void(P?h.push({type:"id",start:u.node.start,end:u.node.end,replacement:"CONSTANTS[".concat(JSON.stringify(L),"]"),shorthand:S?C:void 0}):t.errors.push({message:"Named imports are not supported for CSS modules",node:u.node,severity:"error"}));"function"===(null===(B=D=P?null==N?void 0:N.defaultExport:null==N?void 0:N.namedExports.get(I))||void 0===B?void 0:B.type)?h.push({type:"id",start:u.node.start,end:u.node.end,replacement:"FN.".concat(D.function.name),shorthand:S?C:void 0}):t.errors.push({message:'Invalid usage: "'.concat(C,'"'),node:u.node,severity:"error"})}else switch(F){case"lodash":h.push({type:"id",start:u.node.start,end:u.node.end,replacement:P?"_":"_.".concat(I),shorthand:S?C:void 0});break;case"moment":P?h.push({type:"id",start:u.node.start,end:u.node.end,replacement:"moment",shorthand:S?C:void 0}):t.errors.push({message:'Named imports are not supported for "moment" module',node:u.node,severity:"error"})}}if(!f||A!==e.node.id)if(null!==(p=c.functionBindings)&&void 0!==p&&p.has(A))h.push({type:"id",start:u.node.start,end:u.node.end,replacement:"FN.".concat(C),shorthand:S?C:void 0});else{var j;switch(A){case null===(d=c.eventBinding)||void 0===d?void 0:d.id:j=null!==(m=c.eventBinding)&&void 0!==m&&m.isCallback?"EVENT.detail":"EVENT";break;case null===(g=c.forEachBinding)||void 0===g?void 0:g.item:j="ITEM";break;case null===(y=c.forEachBinding)||void 0===y?void 0:y.index:j="INDEX";break;case null===(v=c.dataBinding)||void 0===v?void 0:v.id:j="DATA"}if(j)h.push({type:"id",start:u.node.start,end:u.node.end,replacement:j,shorthand:S?C:void 0});else{var R=null===(b=c.component)||void 0===b?void 0:b.bindingMap.get(A);R&&("state"===R.kind||"resource"===R.kind||"constant"===R.kind||"param"===R.kind||"app"===R.kind||"auth"===R.kind||"location"===R.kind||"query"===R.kind||"pathParams"===R.kind?h.push({type:"id",start:u.node.start,end:u.node.end,replacement:"app"===R.kind?"APP":"auth"===R.kind?"SYS":"location"===R.kind?"location":"query"===R.kind?"QUERY":"pathParams"===R.kind?"PATH":"".concat("template"===c.component.type?"STATE":"CTX",".").concat(A.name),shorthand:S?C:void 0}):"context"===R.kind?h.push({type:"id",start:u.node.start,end:u.node.end,replacement:"CTX.".concat((0,s.as)(R.contextProvider.name,R.contextKey)),shorthand:S?C:void 0}):t.errors.push({message:"Invalid usage of ".concat(R.kind,' variable "').concat(A.name,'"'),node:u.node,severity:"error"}))}}}else{var W;null!==(W=c.stateBindings)&&void 0!==W&&W.includes(C)&&h.push({type:"id",start:u.node.start,end:u.node.end,replacement:"CTX.".concat(C),shorthand:S?C:void 0})}}}};f||Object.assign(d,{TSTypeAnnotation:function(e){h.push({type:"annotation",start:e.node.start,end:e.node.end}),e.skip()},TSTypeParameterInstantiation:function(e){h.push({type:"annotation",start:e.node.start,end:e.node.end}),e.skip()},TSAsExpression:function(e){h.push({type:"annotation",start:e.node.expression.end,end:e.node.end}),e.skip()}}),e.isIdentifier()&&d.Identifier(e),e.traverse(d),h.sort((function(e,t){return e.start-t.start}));for(var m=[],g=e.node.start,y=0,v=h;y<v.length;y++){var b=v[y];m.push(t.source.substring(g,b.start),"annotation"===b.type?"":"".concat(b.shorthand?"".concat(b.shorthand,":"):"").concat(b.replacement)),g=b.end}m.push(t.source.substring(g,e.node.end));var x=m.join("");return f||u?x:"<%".concat(null!==(p=c.modifier)&&void 0!==p?p:""," ").concat(x," %>")}},6266:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clear=function(){i(),s()},t.clearPath=i,t.clearScope=s,t.getCachedPaths=function(e){const{parent:t,parentPath:r}=e;return n.get(t)},t.getOrCreateCachedPaths=function(e,t){let r=n.get(e);return r||n.set(e,r=new Map),r},t.scope=t.path=void 0;let n=t.path=new WeakMap,r=t.scope=new WeakMap;function i(){t.path=n=new WeakMap}function s(){t.scope=r=new WeakMap}},6284:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:()=>r})},6385:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=function(e){this.print(e.left),this.space(),"in"===e.operator||"instanceof"===e.operator?this.word(e.operator):(this.token(e.operator),this._endsWithDiv="/"===e.operator),this.space(),this.print(e.right)},t.AssignmentPattern=function(e){this.print(e.left),("Identifier"===e.left.type||c(e.left))&&(e.left.optional&&this.tokenChar(63),this.print(e.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(e.right)},t.AwaitExpression=function(e){this.word("await"),this.space(),this.print(e.argument)},t.BindExpression=function(e){this.print(e.object),this.token("::"),this.print(e.callee)},t.CallExpression=function(e){this.print(e.callee),this.print(e.typeArguments),this.print(e.typeParameters),this.tokenChar(40);const t=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),t(),this.rightParens(e)},t.ConditionalExpression=function(e){this.print(e.test),this.space(),this.tokenChar(63),this.space(),this.print(e.consequent),this.space(),this.tokenChar(58),this.space(),this.print(e.alternate)},t.Decorator=function(e){this.tokenChar(64),this.print(e.expression),this.newline()},t.DoExpression=function(e){e.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(e.body)},t.EmptyStatement=function(){this.semicolon(!0)},t.ExpressionStatement=function(e){this.tokenContext|=i.TokenContext.expressionStatement,this.print(e.expression),this.semicolon()},t.Import=function(){this.word("import")},t.MemberExpression=function(e){if(this.print(e.object),!e.computed&&a(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;if(o(e.property)&&"number"==typeof e.property.value&&(t=!0),t){const t=this.enterDelimited();this.tokenChar(91),this.print(e.property),this.tokenChar(93),t()}else this.tokenChar(46),this.print(e.property)},t.MetaProperty=function(e){this.print(e.meta),this.tokenChar(46),this.print(e.property)},t.ModuleExpression=function(e){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();const{body:t}=e;(t.body.length||t.directives.length)&&this.newline(),this.print(t),this.dedent(),this.rightBrace(e)},t.NewExpression=function(e,t){if(this.word("new"),this.space(),this.print(e.callee),this.format.minified&&0===e.arguments.length&&!e.optional&&!s(t,{callee:e})&&!a(t)&&!l(t))return;if(this.print(e.typeArguments),this.print(e.typeParameters),e.optional&&this.token("?."),0===e.arguments.length&&this.tokenMap&&!this.tokenMap.endMatches(e,")"))return;this.tokenChar(40);const n=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),n(),this.rightParens(e)},t.OptionalCallExpression=function(e){this.print(e.callee),this.print(e.typeParameters),e.optional&&this.token("?."),this.print(e.typeArguments),this.tokenChar(40);const t=this.enterDelimited();this.printList(e.arguments),t(),this.rightParens(e)},t.OptionalMemberExpression=function(e){let{computed:t}=e;const{optional:n,property:r}=e;if(this.print(e.object),!t&&a(r))throw new TypeError("Got a MemberExpression for MemberExpression property");o(r)&&"number"==typeof r.value&&(t=!0),n&&this.token("?."),t?(this.tokenChar(91),this.print(r),this.tokenChar(93)):(n||this.tokenChar(46),this.print(r))},t.ParenthesizedExpression=function(e){this.tokenChar(40);const t=this.enterDelimited();this.print(e.expression),t(),this.rightParens(e)},t.PrivateName=function(e){this.tokenChar(35),this.print(e.id)},t.SequenceExpression=function(e){this.printList(e.expressions)},t.Super=function(){this.word("super")},t.ThisExpression=function(){this.word("this")},t.UnaryExpression=function(e){const{operator:t}=e;"void"===t||"delete"===t||"typeof"===t||"throw"===t?(this.word(t),this.space()):this.token(t),this.print(e.argument)},t.UpdateExpression=function(e){e.prefix?(this.token(e.operator),this.print(e.argument)):(this.print(e.argument,!0),this.token(e.operator))},t.V8IntrinsicIdentifier=function(e){this.tokenChar(37),this.word(e.name)},t.YieldExpression=function(e){e.delegate?(this.word("yield",!0),this.tokenChar(42),e.argument&&(this.space(),this.print(e.argument))):e.argument?(this.word("yield",!0),this.space(),this.print(e.argument)):this.word("yield")},t._shouldPrintDecoratorsBeforeExport=function(e){return"boolean"==typeof this.format.decoratorsBeforeExport?this.format.decoratorsBeforeExport:"number"==typeof e.start&&e.start===e.declaration.start};var r=n(8135),i=n(1956);const{isCallExpression:s,isLiteral:o,isMemberExpression:a,isNewExpression:l,isPattern:c}=r},6405:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor(e,t){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=e,this._indentChar=t;for(let e=0;e<64;e++)this._fastIndentations.push(t.repeat(e));this._allocQueue()}_allocQueue(){const e=this._queue;for(let t=0;t<16;t++)e.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(e,t,n,r,i){const s=this._queueCursor;s===this._queue.length&&this._allocQueue();const o=this._queue[s];o.char=e,o.repeat=t,o.line=n,o.column=r,o.filename=i,this._queueCursor++}_popQueue(){if(0===this._queueCursor)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();const e=this._map,t={code:(this._buf+this._str).trimRight(),decodedMap:null==e?void 0:e.getDecoded(),get __mergedMap(){return this.map},get map(){const n=e?e.get():null;return t.map=n,n},set map(e){Object.defineProperty(t,"map",{value:e,writable:!0})},get rawMappings(){const n=null==e?void 0:e.getRawMappings();return t.rawMappings=n,n},set rawMappings(e){Object.defineProperty(t,"rawMappings",{value:e,writable:!0})}};return t}append(e,t){this._flush(),this._append(e,this._sourcePosition,t)}appendChar(e){this._flush(),this._appendChar(e,1,this._sourcePosition)}queue(e){if(10===e)for(;0!==this._queueCursor;){const e=this._queue[this._queueCursor-1].char;if(32!==e&&9!==e)break;this._queueCursor--}const t=this._sourcePosition;this._pushQueue(e,1,t.line,t.column,t.filename)}queueIndentation(e){0!==e&&this._pushQueue(-1,e,void 0,void 0,void 0)}_flush(){const e=this._queueCursor,t=this._queue;for(let n=0;n<e;n++){const e=t[n];this._appendChar(e.char,e.repeat,e)}this._queueCursor=0}_appendChar(e,t,n){if(this._last=e,-1===e){const e=this._fastIndentations[t];this._str+=void 0!==e?e:t>1?this._indentChar.repeat(t):this._indentChar}else this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);10!==e?(this._mark(n.line,n.column,n.identifierName,n.identifierNamePos,n.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(n.identifierName=void 0,n.identifierNamePos=void 0)}_append(e,t,n){const r=e.length,i=this._position;if(this._last=e.charCodeAt(r-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,!n&&!this._map)return void(i.column+=r);const{column:s,identifierName:o,identifierNamePos:a,filename:l}=t;let c=t.line;null==o&&null==a||!this._canMarkIdName||(t.identifierName=void 0,t.identifierNamePos=void 0);let u=e.indexOf("\n"),p=0;for(0!==u&&this._mark(c,s,o,a,l);-1!==u;)i.line++,i.column=0,p=u+1,p<r&&void 0!==c&&this._mark(++c,0,null,null,l),u=e.indexOf("\n",p);i.column+=r-p}_mark(e,t,n,r,i){var s;null==(s=this._map)||s.mark(this._position,e,t,n,r,i)}removeTrailingNewline(){const e=this._queueCursor;0!==e&&10===this._queue[e-1].char&&this._queueCursor--}removeLastSemicolon(){const e=this._queueCursor;0!==e&&59===this._queue[e-1].char&&this._queueCursor--}getLastChar(){const e=this._queueCursor;return 0!==e?this._queue[e-1].char:this._last}getNewlineCount(){const e=this._queueCursor;let t=0;if(0===e)return 10===this._last?1:0;for(let n=e-1;n>=0&&10===this._queue[n].char;n--)t++;return t===e&&10===this._last?t+1:t}endsWithCharAndNewline(){const e=this._queue,t=this._queueCursor;if(0!==t){if(10!==e[t-1].char)return;return t>1?e[t-2].char:this._last}}hasContent(){return 0!==this._queueCursor||!!this._last}exactSource(e,t){if(!this._map)return void t();this.source("start",e);const n=e.identifierName,r=this._sourcePosition;n&&(this._canMarkIdName=!1,r.identifierName=n),t(),n&&(this._canMarkIdName=!0,r.identifierName=void 0,r.identifierNamePos=void 0),this.source("end",e)}source(e,t){this._map&&this._normalizePosition(e,t,0)}sourceWithOffset(e,t,n){this._map&&this._normalizePosition(e,t,n)}_normalizePosition(e,t,n){const r=t[e],i=this._sourcePosition;r&&(i.line=r.line,i.column=Math.max(r.column+n,0),i.filename=t.filename)}getCurrentColumn(){const e=this._queue,t=this._queueCursor;let n=-1,r=0;for(let i=0;i<t;i++){const t=e[i];10===t.char&&(n=r),r+=t.repeat}return-1===n?this._position.column+r:r-1-n}getCurrentLine(){let e=0;const t=this._queue;for(let n=0;n<this._queueCursor;n++)10===t[n].char&&e++;return this._position.line+e}}},6488:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{A:()=>r})},6611:(e,t,n)=>{"use strict";var r=n(9907);Object.defineProperty(t,"__esModule",{value:!0});var i=n(8952),s=n(6230),o=n(4007);const a=(e,t)=>n=>e(t(n));function l(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:a(a(e.white,e.bgRed),e.bold),gutter:e.gray,marker:a(e.red,e.bold),message:a(e.red,e.bold),reset:e.reset}}const c=l(i.createColors(!0)),u=l(i.createColors(!1));function p(e){return e?c:u}const f=new Set(["as","async","from","get","of","set"]),h=/\r\n|[\n\r\u2028\u2029]/,d=/^[()[\]{}]$/;let m;{const e=/^[a-z][\w-]*$/i,t=function(t,n,r){if("name"===t.type){if(o.isKeyword(t.value)||o.isStrictReservedWord(t.value,!0)||f.has(t.value))return"keyword";if(e.test(t.value)&&("<"===r[n-1]||"</"===r.slice(n-2,n)))return"jsxIdentifier";if(t.value[0]!==t.value[0].toLowerCase())return"capitalized"}return"punctuator"===t.type&&d.test(t.value)?"bracket":"invalid"!==t.type||"@"!==t.value&&"#"!==t.value?t.type:"punctuator"};m=function*(e){let n;for(;n=s.default.exec(e);){const r=s.matchToToken(n);yield{type:t(r,n.index,e),value:r.value}}}}function g(e){if(""===e)return"";const t=p(!0);let n="";for(const{type:r,value:i}of m(e))n+=r in t?i.split(h).map((e=>t[r](e))).join("\n"):i;return n}let y=!1;const v=/\r\n|[\n\r\u2028\u2029]/;function b(e,t,n={}){const s=n.forceColor||("object"!=typeof r||"0"!==r.env.FORCE_COLOR&&"false"!==r.env.FORCE_COLOR)&&i.isColorSupported&&n.highlightCode,o=p(s),a=e.split(v),{start:l,end:c,markerLines:u}=function(e,t,n){const r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),{linesAbove:s=2,linesBelow:o=3}=n||{},a=r.line,l=r.column,c=i.line,u=i.column;let p=Math.max(a-(s+1),0),f=Math.min(t.length,c+o);-1===a&&(p=0),-1===c&&(f=t.length);const h=c-a,d={};if(h)for(let e=0;e<=h;e++){const n=e+a;if(l)if(0===e){const e=t[n-1].length;d[n]=[l,e-l+1]}else if(e===h)d[n]=[0,u];else{const r=t[n-e].length;d[n]=[0,r]}else d[n]=!0}else d[a]=l===u?!l||[l,0]:[l,u-l];return{start:p,end:f,markerLines:d}}(t,a,n),f=t.start&&"number"==typeof t.start.column,h=String(c).length;let d=(s?g(e):e).split(v,c).slice(l,c).map(((e,t)=>{const r=l+1+t,i=` ${` ${r}`.slice(-h)} |`,s=u[r],a=!u[r+1];if(s){let t="";if(Array.isArray(s)){const r=e.slice(0,Math.max(s[0]-1,0)).replace(/[^\t]/g," "),l=s[1]||1;t=["\n ",o.gutter(i.replace(/\d/g," "))," ",r,o.marker("^").repeat(l)].join(""),a&&n.message&&(t+=" "+o.message(n.message))}return[o.marker(">"),o.gutter(i),e.length>0?` ${e}`:"",t].join("")}return` ${o.gutter(i)}${e.length>0?` ${e}`:""}`})).join("\n");return n.message&&!f&&(d=`${" ".repeat(h+1)}${n.message}\n${d}`),s?o.reset(d):d}t.codeFrameColumns=b,t.default=function(e,t,n,i={}){if(!y){y=!0;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";r.emitWarning?r.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return b(e,{start:{column:n=Math.max(n,0),line:t}},i)},t.highlight=g},6643:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hooks=void 0,t.hooks=[function(e,t){if("test"===e.key&&(t.isWhile()||t.isSwitchCase())||"declaration"===e.key&&t.isExportDeclaration()||"body"===e.key&&t.isLabeledStatement()||"declarations"===e.listKey&&t.isVariableDeclaration()&&1===t.node.declarations.length||"expression"===e.key&&t.isExpressionStatement())return t.remove(),!0},function(e,t){if(t.isSequenceExpression()&&1===t.node.expressions.length)return t.replaceWith(t.node.expressions[0]),!0},function(e,t){if(t.isBinary())return"left"===e.key?t.replaceWith(t.node.right):t.replaceWith(t.node.left),!0},function(e,t){if(t.isIfStatement()&&"consequent"===e.key||"body"===e.key&&(t.isLoop()||t.isArrowFunctionExpression()))return e.replaceWith({type:"BlockStatement",body:[]}),!0}]},6647:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2670),i=n(8135),s=n(4537);const{VISITOR_KEYS:o}=i;t.default=class{constructor(e,t,n,r){this.queue=null,this.priorityQueue=null,this.parentPath=r,this.scope=e,this.state=n,this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return!0;if(t[e.type])return!0;const n=o[e.type];if(null==n||!n.length)return!1;for(const t of n)if(e[t])return!0;return!1}create(e,t,n,i){return r.default.get({parentPath:this.parentPath,parent:e,container:t,key:n,listKey:i})}maybeQueue(e,t){this.queue&&(t?this.queue.push(e):this.priorityQueue.push(e))}visitMultiple(e,t,n){if(0===e.length)return!1;const r=[];for(let i=0;i<e.length;i++){const s=e[i];s&&this.shouldVisit(s)&&r.push(this.create(t,e,i,n))}return this.visitQueue(r)}visitSingle(e,t){return!!this.shouldVisit(e[t])&&this.visitQueue([this.create(e,e,t)])}visitQueue(e){this.queue=e,this.priorityQueue=[];const t=new WeakSet;let n=!1,r=0;for(;r<e.length;){const i=e[r];if(r++,s.resync.call(i),0!==i.contexts.length&&i.contexts[i.contexts.length-1]===this||s.pushContext.call(i,this),null===i.key)continue;const{node:o}=i;if(!t.has(o)){if(o&&t.add(o),i.visit()){n=!0;break}if(this.priorityQueue.length&&(n=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,n))break}}for(let t=0;t<r;t++)s.popContext.call(e[t]);return this.queue=null,n}visit(e,t){const n=e[t];return!!n&&(Array.isArray(n)?this.visitMultiple(n,e,t):this.visitSingle(e,t))}}},6697:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenMap=void 0;var r=n(8135);const{traverseFast:i,VISITOR_KEYS:s}=r;t.TokenMap=class{constructor(e,t,n){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=t,this._source=n,i(e,(e=>{const t=this._getTokensIndexesOfNode(e);t.length>0&&this._nodesToTokenIndexes.set(e,t)})),this._tokensCache=null}has(e){return this._nodesToTokenIndexes.has(e)}getIndexes(e){return this._nodesToTokenIndexes.get(e)}find(e,t){const n=this._nodesToTokenIndexes.get(e);if(n)for(let e=0;e<n.length;e++){const r=n[e],i=this._tokens[r];if(t(i,r))return i}return null}findLastIndex(e,t){const n=this._nodesToTokenIndexes.get(e);if(n)for(let e=n.length-1;e>=0;e--){const r=n[e];if(t(this._tokens[r],r))return r}return-1}findMatching(e,t,n=0){const r=this._nodesToTokenIndexes.get(e);if(r){let i=0;const s=n;if(s>1){const r=this._nodesOccurrencesCountCache.get(e);r&&r.test===t&&r.count<s&&(i=r.i+1,n-=r.count+1)}for(;i<r.length;i++){const o=this._tokens[r[i]];if(this.matchesOriginal(o,t)){if(0===n)return s>0&&this._nodesOccurrencesCountCache.set(e,{test:t,count:s,i}),o;n--}}}return null}matchesOriginal(e,t){return e.end-e.start===t.length&&(null!=e.value?e.value===t:this._source.startsWith(t,e.start))}startMatches(e,t){const n=this._nodesToTokenIndexes.get(e);if(!n)return!1;const r=this._tokens[n[0]];return r.start===e.start&&this.matchesOriginal(r,t)}endMatches(e,t){const n=this._nodesToTokenIndexes.get(e);if(!n)return!1;const r=this._tokens[n[n.length-1]];return r.end===e.end&&this.matchesOriginal(r,t)}_getTokensIndexesOfNode(e){if(null==e.start||null==e.end)return[];const{first:t,last:n}=this._findTokensOfNode(e,0,this._tokens.length-1);let r=t;const i=function*(e){if("TemplateLiteral"===e.type){yield e.quasis[0];for(let t=1;t<e.quasis.length;t++)yield e.expressions[t-1],yield e.quasis[t];return}const t=s[e.type];for(const n of t){const t=e[n];t&&(Array.isArray(t)?yield*t:yield t)}}(e);"ExportNamedDeclaration"!==e.type&&"ExportDefaultDeclaration"!==e.type||!e.declaration||"ClassDeclaration"!==e.declaration.type||i.next();const o=[];for(const e of i){if(null==e)continue;if(null==e.start||null==e.end)continue;const t=this._findTokensOfNode(e,r,n),i=t.first;for(let e=r;e<i;e++)o.push(e);r=t.last+1}for(let e=r;e<=n;e++)o.push(e);return o}_findTokensOfNode(e,t,n){const r=this._tokensCache.get(e);if(r)return r;const i=this._findFirstTokenOfNode(e.start,t,n),s=this._findLastTokenOfNode(e.end,i,n);return this._tokensCache.set(e,{first:i,last:s}),{first:i,last:s}}_findFirstTokenOfNode(e,t,n){for(;t<=n;){const r=n+t>>1;if(e<this._tokens[r].start)n=r-1;else{if(!(e>this._tokens[r].start))return r;t=r+1}}return t}_findLastTokenOfNode(e,t,n){for(;t<=n;){const r=n+t>>1;if(e<this._tokens[r].end)n=r-1;else{if(!(e>this._tokens[r].end))return r;t=r+1}}return n}}},6801:function(e,t){!function(e){"use strict";function t(e,t){return e._indexes[t]}e.SetArray=class{constructor(){this._indexes={__proto__:null},this.array=[]}},e.get=t,e.pop=function(e){const{array:t,_indexes:n}=e;0!==t.length&&(n[t.pop()]=void 0)},e.put=function(e,n){const r=t(e,n);if(void 0!==r)return r;const{array:i,_indexes:s}=e,o=i.push(n);return s[n]=o-1},e.remove=function(e,n){const r=t(e,n);if(void 0===r)return;const{array:i,_indexes:s}=e;for(let e=r+1;e<i.length;e++){const t=i[e];i[e-1]=t,s[t]--}s[n]=void 0,i.pop()},Object.defineProperty(e,"__esModule",{value:!0})}(t)},6990:(e,t,n)=>{"use strict";n.d(t,{o:()=>p});var r=n(3705),i=n(689),s=n(9740),o=n(8135),a=n(8291),l=n(3135),c=n(5810),u=n(5307);function p(e,t,n,o){if(e.isJSXFragment())return e.get("children").flatMap((function(e){return p(e,t,n,o)}));if(e.isJSXText())return e.node.value.trim()?{type:"text",text:e.node.value}:null;if(e.isJSXExpressionContainer())return p(e.get("expression"),t,n,o);if(e.isJSXEmptyExpression())return null;if(e.isJSXElement())return(0,l.j)(e,t,n,o);if((0,a.X5)(e)){var h=e.get("callee");if(h.isIdentifier()&&(0,a.cv)(h,"createPortal")){var d=e.get("arguments");if(1!==d.length){var m=0===d.length;if(t.errors.push({message:"createPortal() requires exactly 1 argument, received ".concat(d.length),node:e.node,severity:m?"error":"warning"}),m)return null}return[].concat(p(d[0],t,n,o)).map((function(e){return null===e?e:"component"!==e.type?(t.errors.push({message:"Invalid argument type for createPortal(), expected a component but got ".concat(e.type),node:d[0].node,severity:"error"}),e):(0,s.A)((0,s.A)({},e),{},{component:(0,s.A)((0,s.A)({},e.component),{},{portal:!0})})}))}if((0,a.RJ)(h)){var g=h.get("property");if(g.isIdentifier()&&"map"===g.node.name){var y=e.get("arguments");if(y.length>0){var v=y[0];if(v.isArrowFunctionExpression()){var b=v.get("body");if(b.isExpression()&&f(b.node)){var x=h.get("object");if(!(0,a.N5)(x.node,t))return null;var S=v.get("params");if(S.length>2)return t.errors.push({message:"Array map function with JSX elements must have at most two parameters, but got ".concat(S.length),node:S[2].node,severity:"error"}),null;var C=S.find((function(e){return!e.isIdentifier()}));if(C)return t.errors.push({message:"Array map function with JSX elements must have identifier parameters, but got ".concat(C.type),node:C.node,severity:"error"}),null;var E=(0,s.A)((0,s.A)({},o),{},{forEachBinding:void 0});if(S.length>0){var k=S,w=(0,i.A)(k,2),T=w[0],_=w[1];E.forEachBinding={item:T.node,index:null==_?void 0:_.node}}return{type:"component",component:{name:"ForEach",properties:{dataSource:(0,c.s)(x,t,n,(0,s.A)((0,s.A)({},o),{},{modifier:"="}))},children:(0,u.H)(v.get("body"),t,n,E)}}}}}}}}else if(e.isConditionalExpression()){var A=e.get("test"),P=e.get("consequent"),I=e.get("alternate");if(f(P.node)||f(I.node))return(0,a.N5)(A.node,t)?{type:"component",component:{name:"If",properties:{dataSource:(0,c.s)(A,t,n,(0,s.A)((0,s.A)({},o),{},{modifier:"="}))},children:[].concat((0,r.A)((0,u.H)(P,t,n,o)),(0,r.A)((0,u.H)(I,t,n,o).map((function(e){return(0,s.A)((0,s.A)({},e),{},{slot:"else"})}))))}}:null}else if(e.isLogicalExpression()){var M=e.get("left"),O=e.get("right"),F=e.node.operator;if(("&&"===F||"||"===F)&&f(O.node)){if(!(0,a.N5)(M.node,t))return null;var B=(0,u.H)(O,t,n,o);return{type:"component",component:{name:"If",properties:{dataSource:(0,c.s)(M,t,n,(0,s.A)((0,s.A)({},o),{},{modifier:"="}))},children:"&&"===F?B:B.map((function(e){return(0,s.A)((0,s.A)({},e),{},{slot:"else"})}))}}}}return e.isExpression()?(0,a.N5)(e.node,t)?{type:"expression",expression:e}:null:(t.errors.push({message:"Unsupported node type in JSX children: ".concat(e.type),node:e.node,severity:"error"}),null)}function f(e){var t=!1;return o.traverse(e,{enter:function(e){t||!o.isJSXElement(e)&&!o.isJSXFragment(e)||(t=!0)}}),t}},7250:e=>{var t=1e3,n=60*t,r=60*n,i=24*r,s=7*i;function o(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,a){a=a||{};var l,c,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var a=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return a*s;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===u&&isFinite(e))return a.long?(l=e,(c=Math.abs(l))>=i?o(l,c,i,"day"):c>=r?o(l,c,r,"hour"):c>=n?o(l,c,n,"minute"):c>=t?o(l,c,t,"second"):l+" ms"):function(e){var s=Math.abs(e);return s>=i?Math.round(e/i)+"d":s>=r?Math.round(e/r)+"h":s>=n?Math.round(e/n)+"m":s>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},7358:(e,t,n)=>{"use strict";n.d(t,{M:()=>s});var r=n(9740),i=n(3310);function s(e){var t,n=(0,i.A)(e.modules.values());try{for(n.s();!(t=n.n()).done;){var s=t.value;if(s){var o,a=(0,i.A)(s.errors);try{for(a.s();!(o=a.n()).done;){var l=o.value;e.errors.push((0,r.A)((0,r.A)({},l),{},{filePath:s.filePath}))}}catch(l){a.e(l)}finally{a.f()}}}}catch(l){n.e(l)}finally{n.f()}}},7494:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBindingIdentifier=function(){const{node:e,parent:t}=this,n=this.parentPath.parent;return p(e)&&i(e,t,n)},t.isBlockScoped=function(){return s(this.node)},t.isExpression=function(){return this.isIdentifier()?this.isReferencedIdentifier():a(this.node)},t.isFlow=function(){const{node:e}=this;return!(!l(e)&&(f(e)?"type"!==e.importKind&&"typeof"!==e.importKind:o(e)?"type"!==e.exportKind:!h(e)||"type"!==e.importKind&&"typeof"!==e.importKind))},t.isForAwaitStatement=function(){return k(this.node,{await:!0})},t.isGenerated=function(){return!this.isUser()},t.isPure=function(e){return this.scope.isPure(this.node,e)},t.isReferenced=function(){return v(this.node,this.parent)},t.isReferencedIdentifier=function(e){const{node:t,parent:n}=this;if(!p(t,e)&&!m(n,e)){if(!d(t,e))return!1;if(w(t.name))return!1}return v(t,n,this.parentPath.parent)},t.isReferencedMemberExpression=function(){const{node:e,parent:t}=this;return g(e)&&v(e,t)},t.isRestProperty=function(){var e;return y(this.node)&&(null==(e=this.parentPath)?void 0:e.isObjectPattern())},t.isScope=function(){return b(this.node,this.parent)},t.isSpreadProperty=function(){var e;return y(this.node)&&(null==(e=this.parentPath)?void 0:e.isObjectExpression())},t.isStatement=function(){const{node:e,parent:t}=this;if(x(e)){if(C(e)){if(u(t,{left:e}))return!1;if(c(t,{init:e}))return!1}return!0}return!1},t.isUser=function(){return this.node&&!!this.node.loc},t.isVar=function(){return S(this.node)};var r=n(8135);const{isBinding:i,isBlockScoped:s,isExportDeclaration:o,isExpression:a,isFlow:l,isForStatement:c,isForXStatement:u,isIdentifier:p,isImportDeclaration:f,isImportSpecifier:h,isJSXIdentifier:d,isJSXMemberExpression:m,isMemberExpression:g,isRestElement:y,isReferenced:v,isScope:b,isStatement:x,isVar:S,isVariableDeclaration:C,react:E,isForOfStatement:k}=r,{isCompatTag:w}=E;t.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},t.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}},7545:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},7667:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const{metadata:o,names:a}=function(e,t,n){let r="BABEL_TPL$";const s=t.join("");do{r="$$"+r}while(s.includes(r));const{names:o,code:a}=function(e,t){const n=[];let r=e[0];for(let i=1;i<e.length;i++){const s=`${t}${i-1}`;n.push(s),r+=s+e[i]}return{names:n,code:r}}(t,r);return{metadata:(0,i.default)(e,e.code(a),{parser:n.parser,placeholderWhitelist:new Set(o.concat(n.placeholderWhitelist?Array.from(n.placeholderWhitelist):[])),placeholderPattern:n.placeholderPattern,preserveComments:n.preserveComments,syntacticPlaceholders:n.syntacticPlaceholders}),names:o}}(e,t,n);return t=>{const n={};return t.forEach(((e,t)=>{n[a[t]]=e})),t=>{const i=(0,r.normalizeReplacements)(t);return i&&Object.keys(i).forEach((e=>{if(hasOwnProperty.call(n,e))throw new Error("Unexpected replacement overlap.")})),e.unwrap((0,s.default)(o,i?Object.assign(i,n):n))}}};var r=n(5838),i=n(4131),s=n(2064)},7695:(e,t,n)=>{"use strict";n.d(t,{p:()=>p});const r=Symbol("Comlink.proxy"),i=Symbol("Comlink.endpoint"),s=Symbol("Comlink.releaseProxy"),o=Symbol("Comlink.finalizer"),a=Symbol("Comlink.thrown"),l=e=>"object"==typeof e&&null!==e||"function"==typeof e,c={canHandle:e=>l(e)&&e[r],serialize(e){const{port1:t,port2:n}=new MessageChannel;return p(e,t),[n,[n]]},deserialize:e=>(e.start(),function(e){const t=new Map;return e.addEventListener("message",(function(e){const{data:n}=e;if(!n||!n.id)return;const r=t.get(n.id);if(r)try{r(n)}finally{t.delete(n.id)}})),y(e,t,[],void 0)}(e))},u=new Map([["proxy",c],["throw",{canHandle:e=>l(e)&&a in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function p(e,t=globalThis,n=["*"]){t.addEventListener("message",(function i(s){if(!s||!s.data)return;if(!function(e,t){for(const n of e){if(t===n||"*"===n)return!0;if(n instanceof RegExp&&n.test(t))return!0}return!1}(n,s.origin))return void console.warn(`Invalid origin '${s.origin}' for comlink proxy`);const{id:l,type:c,path:u}=Object.assign({path:[]},s.data),h=(s.data.argumentList||[]).map(S);let d;try{const t=u.slice(0,-1).reduce(((e,t)=>e[t]),e),n=u.reduce(((e,t)=>e[t]),e);switch(c){case"GET":d=n;break;case"SET":t[u.slice(-1)[0]]=S(s.data.value),d=!0;break;case"APPLY":d=n.apply(t,h);break;case"CONSTRUCT":d=function(e){return Object.assign(e,{[r]:!0})}(new n(...h));break;case"ENDPOINT":{const{port1:t,port2:n}=new MessageChannel;p(e,n),d=function(e,t){return b.set(e,t),e}(t,[t])}break;case"RELEASE":d=void 0;break;default:return}}catch(e){d={value:e,[a]:0}}Promise.resolve(d).catch((e=>({value:e,[a]:0}))).then((n=>{const[r,s]=x(n);t.postMessage(Object.assign(Object.assign({},r),{id:l}),s),"RELEASE"===c&&(t.removeEventListener("message",i),f(t),o in e&&"function"==typeof e[o]&&e[o]())})).catch((e=>{const[n,r]=x({value:new TypeError("Unserializable return value"),[a]:0});t.postMessage(Object.assign(Object.assign({},n),{id:l}),r)}))})),t.start&&t.start()}function f(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function h(e){if(e)throw new Error("Proxy has been released and is not useable")}function d(e){return C(e,new Map,{type:"RELEASE"}).then((()=>{f(e)}))}const m=new WeakMap,g="FinalizationRegistry"in globalThis&&new FinalizationRegistry((e=>{const t=(m.get(e)||0)-1;m.set(e,t),0===t&&d(e)}));function y(e,t,n=[],r=function(){}){let o=!1;const a=new Proxy(r,{get(r,i){if(h(o),i===s)return()=>{!function(e){g&&g.unregister(e)}(a),d(e),t.clear(),o=!0};if("then"===i){if(0===n.length)return{then:()=>a};const r=C(e,t,{type:"GET",path:n.map((e=>e.toString()))}).then(S);return r.then.bind(r)}return y(e,t,[...n,i])},set(r,i,s){h(o);const[a,l]=x(s);return C(e,t,{type:"SET",path:[...n,i].map((e=>e.toString())),value:a},l).then(S)},apply(r,s,a){h(o);const l=n[n.length-1];if(l===i)return C(e,t,{type:"ENDPOINT"}).then(S);if("bind"===l)return y(e,t,n.slice(0,-1));const[c,u]=v(a);return C(e,t,{type:"APPLY",path:n.map((e=>e.toString())),argumentList:c},u).then(S)},construct(r,i){h(o);const[s,a]=v(i);return C(e,t,{type:"CONSTRUCT",path:n.map((e=>e.toString())),argumentList:s},a).then(S)}});return function(e,t){const n=(m.get(t)||0)+1;m.set(t,n),g&&g.register(e,t,e)}(a,e),a}function v(e){const t=e.map(x);return[t.map((e=>e[0])),(n=t.map((e=>e[1])),Array.prototype.concat.apply([],n))];var n}const b=new WeakMap;function x(e){for(const[t,n]of u)if(n.canHandle(e)){const[r,i]=n.serialize(e);return[{type:"HANDLER",name:t,value:r},i]}return[{type:"RAW",value:e},b.get(e)||[]]}function S(e){switch(e.type){case"HANDLER":return u.get(e.name).deserialize(e.value);case"RAW":return e.value}}function C(e,t,n,r){return new Promise((i=>{const s=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-");t.set(s,i),e.start&&e.start(),e.postMessage(Object.assign({id:s},n),r)}))}},7734:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BreakStatement=function(e){this.word("break"),u(this,e.label)},t.CatchClause=function(e){this.word("catch"),this.space(),e.param&&(this.tokenChar(40),this.print(e.param),this.print(e.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(e.body)},t.ContinueStatement=function(e){this.word("continue"),u(this,e.label)},t.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},t.DoWhileStatement=function(e){this.word("do"),this.space(),this.print(e.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.semicolon()},t.ForOfStatement=t.ForInStatement=void 0,t.ForStatement=function(e){this.word("for"),this.space(),this.tokenChar(40);{const t=this.enterForStatementInit();this.print(e.init),t()}this.tokenChar(59),e.test&&(this.space(),this.print(e.test)),this.token(";",!1,1),e.update&&(this.space(),this.print(e.update)),this.tokenChar(41),this.printBlock(e)},t.IfStatement=function(e){this.word("if"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.space();const t=e.alternate&&o(l(e.consequent));t&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(e.consequent),t&&(this.dedent(),this.newline(),this.tokenChar(125)),e.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(e.alternate))},t.LabeledStatement=function(e){this.print(e.label),this.tokenChar(58),this.space(),this.print(e.body)},t.ReturnStatement=function(e){this.word("return"),u(this,e.argument)},t.SwitchCase=function(e){e.test?(this.word("case"),this.space(),this.print(e.test),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),e.consequent.length&&(this.newline(),this.printSequence(e.consequent,!0))},t.SwitchStatement=function(e){this.word("switch"),this.space(),this.tokenChar(40),this.print(e.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(e.cases,!0,void 0,(function(t,n){if(!t&&e.cases[e.cases.length-1]===n)return-1})),this.rightBrace(e)},t.ThrowStatement=function(e){this.word("throw"),u(this,e.argument)},t.TryStatement=function(e){this.word("try"),this.space(),this.print(e.block),this.space(),e.handlers?this.print(e.handlers[0]):this.print(e.handler),e.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(e.finalizer))},t.VariableDeclaration=function(e,t){e.declare&&(this.word("declare"),this.space());const{kind:n}=e;"await using"===n?(this.word("await"),this.space(),this.word("using",!0)):this.word(n,"using"===n),this.space();let r=!1;if(!i(t))for(const t of e.declarations)t.init&&(r=!0);if(this.printList(e.declarations,void 0,void 0,e.declarations.length>1,r?function(e){this.token(",",!1,e),this.newline()}:void 0),i(t))if(s(t)){if(t.init===e)return}else if(t.left===e)return;this.semicolon()},t.VariableDeclarator=function(e){this.print(e.id),e.definite&&this.tokenChar(33),this.print(e.id.typeAnnotation),e.init&&(this.space(),this.tokenChar(61),this.space(),this.print(e.init))},t.WhileStatement=function(e){this.word("while"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.printBlock(e)},t.WithStatement=function(e){this.word("with"),this.space(),this.tokenChar(40),this.print(e.object),this.tokenChar(41),this.printBlock(e)};var r=n(8135);const{isFor:i,isForStatement:s,isIfStatement:o,isStatement:a}=r;function l(e){const{body:t}=e;return!1===a(t)?e:l(t)}function c(e){this.word("for"),this.space();const t="ForOfStatement"===e.type;t&&e.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40);{const n=this.enterForXStatementInit(t);this.print(e.left),null==n||n()}this.space(),this.word(t?"of":"in"),this.space(),this.print(e.right),this.tokenChar(41),this.printBlock(e)}function u(e,t){t&&(e.space(),e.printTerminatorless(t)),e.semicolon()}t.ForInStatement=c,t.ForOfStatement=c},7891:(e,t,n)=>{e.exports=function(e){function t(e){let n,i,s,o=null;function a(...e){if(!a.enabled)return;const r=a,i=Number(new Date),s=i-(n||i);r.diff=s,r.prev=n,r.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,i)=>{if("%%"===n)return"%";o++;const s=t.formatters[i];if("function"==typeof s){const t=e[o];n=s.call(r,t),e.splice(o,1),o--}return n})),t.formatArgs.call(r,e),(r.log||t.log).apply(r,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(i!==t.namespaces&&(i=t.namespaces,s=t.enabled(e)),s),set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e,t){let n=0,r=0,i=-1,s=0;for(;n<e.length;)if(r<t.length&&(t[r]===e[n]||"*"===t[r]))"*"===t[r]?(i=r,s=n,r++):(n++,r++);else{if(-1===i)return!1;r=i+1,s++,n=s}for(;r<t.length&&"*"===t[r];)r++;return r===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(i(e,n))return!1;for(const n of t.names)if(i(e,n))return!0;return!1},t.humanize=n(7250),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},7927:(e,t,n)=>{"use strict";n.d(t,{as:()=>s,bQ:()=>o,lr:()=>i});var r=n(1799);function i(e,t,n,i){var s;if(!e.isReferencedIdentifier())return null;var o=e.node.name,a=e.scope.getBinding(o);if(!a)return null;if(null!==(s=i.contextBindings)&&void 0!==s&&s.has(a.identifier))return{type:"local",name:o};if("module"===a.kind&&a.path.isImportSpecifier()&&a.path.parentPath.isImportDeclaration()){var l=a.path.get("imported");if(!l.isIdentifier())return t.errors.push({message:"Unsupported import specifier type: ".concat(l.type),node:l.node,severity:"error"}),null;var c=a.path.parentPath.get("source");return{type:"imported",name:l.node.name,importSource:(0,r.D)(c.node.value,t.filePath,n.files)}}return t.errors.push({message:'Unsupported context binding for "'.concat(o,'"'),node:a.identifier,severity:"error"}),null}function s(e,t){return"CONTEXT_PROVIDER__".concat(e,"__").concat(t)}function o(e){return"context-agent-".concat(e)}},7946:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._assertUnremoved=m,t._callRemovalHooks=f,t._markRemoved=d,t._remove=h,t._removeFromScope=p,t.remove=function(){var e;m.call(this),c.resync.call(this),f.call(this)||(null!=(e=this.opts)&&e.noScope||p.call(this),this.shareCommentsWithSiblings(),h.call(this)),d.call(this)};var r=n(6643),i=n(6266),s=n(4834),o=n(2670),a=n(8135),l=n(1064),c=n(4537);const{getBindingIdentifiers:u}=a;function p(){const e=u(this.node,!1,!1,!0);Object.keys(e).forEach((e=>this.scope.removeBinding(e)))}function f(){if(this.parentPath)for(const e of r.hooks)if(e(this,this.parentPath))return!0}function h(){Array.isArray(this.container)?(this.container.splice(this.key,1),l.updateSiblingKeys.call(this,this.key,-1)):s._replaceWith.call(this,null)}function d(){var e;this._traverseFlags|=o.SHOULD_SKIP|o.REMOVED,this.parent&&(null==(e=(0,i.getCachedPaths)(this))||e.delete(this.node)),this.node=null}function m(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}},7985:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6284);function i(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}},8079:function(e){e.exports=function(){"use strict";const e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,n=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var r;function i(e){return e.startsWith("/")}function s(e){return/^[.?#]/.test(e)}function o(e){const n=t.exec(e);return a(n[1],n[2]||"",n[3],n[4]||"",n[5]||"/",n[6]||"",n[7]||"")}function a(e,t,n,i,s,o,a){return{scheme:e,user:t,host:n,port:i,path:s,query:o,hash:a,type:r.Absolute}}function l(t){if(function(e){return e.startsWith("//")}(t)){const e=o("http:"+t);return e.scheme="",e.type=r.SchemeRelative,e}if(i(t)){const e=o("http://foo.com"+t);return e.scheme="",e.host="",e.type=r.AbsolutePath,e}if(function(e){return e.startsWith("file:")}(t))return function(e){const t=n.exec(e),r=t[2];return a("file:","",t[1]||"","",i(r)?r:"/"+r,t[3]||"",t[4]||"")}(t);if(function(t){return e.test(t)}(t))return o(t);const s=o("http://foo.com/"+t);return s.scheme="",s.host="",s.type=t?t.startsWith("?")?r.Query:t.startsWith("#")?r.Hash:r.RelativePath:r.Empty,s}function c(e,t){const n=t<=r.RelativePath,i=e.path.split("/");let s=1,o=0,a=!1;for(let e=1;e<i.length;e++){const t=i[e];t?(a=!1,"."!==t&&(".."!==t?(i[s++]=t,o++):o?(a=!0,o--,s--):n&&(i[s++]=t))):a=!0}let l="";for(let e=1;e<s;e++)l+="/"+i[e];(!l||a&&!l.endsWith("/.."))&&(l+="/"),e.path=l}return function(e){e[e.Empty=1]="Empty",e[e.Hash=2]="Hash",e[e.Query=3]="Query",e[e.RelativePath=4]="RelativePath",e[e.AbsolutePath=5]="AbsolutePath",e[e.SchemeRelative=6]="SchemeRelative",e[e.Absolute=7]="Absolute"}(r||(r={})),function(e,t){if(!e&&!t)return"";const n=l(e);let i=n.type;if(t&&i!==r.Absolute){const e=l(t),s=e.type;switch(i){case r.Empty:n.hash=e.hash;case r.Hash:n.query=e.query;case r.Query:case r.RelativePath:!function(e,t){c(t,t.type),"/"===e.path?e.path=t.path:e.path=function(e){if(e.endsWith("/.."))return e;const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t.path)+e.path}(n,e);case r.AbsolutePath:n.user=e.user,n.host=e.host,n.port=e.port;case r.SchemeRelative:n.scheme=e.scheme}s>i&&(i=s)}c(n,i);const o=n.query+n.hash;switch(i){case r.Hash:case r.Query:return o;case r.RelativePath:{const r=n.path.slice(1);return r?s(t||e)&&!s(r)?"./"+r+o:r+o:o||"."}case r.AbsolutePath:return n.path+o;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+o}}}()},8121:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addDeprecatedGenerators=function(e){{const t={Noop(){},TSExpressionWithTypeArguments(e){this.print(e.expression),this.print(e.typeParameters)},DecimalLiteral(e){const t=this.getPossibleRaw(e);this.format.minified||void 0===t?this.word(e.value+"m"):this.word(t)}};Object.assign(e.prototype,t)}}},8231:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExportAllDeclaration=function(e){var t,n;this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(n=e.assertions)&&n.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,!1)):this.print(e.source),this.semicolon()},t.ExportDefaultDeclaration=function(e){f(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=i.TokenContext.exportDefault;const t=e.declaration;this.print(t),u(t)||this.semicolon()},t.ExportDefaultSpecifier=function(e){this.print(e.exported)},t.ExportNamedDeclaration=function(e){if(f(this,e),this.word("export"),this.space(),e.declaration){const t=e.declaration;this.print(t),u(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());const r=e.specifiers.slice(0);let i=!1;for(;;){const e=r[0];if(!o(e)&&!a(e))break;i=!0,this.print(r.shift()),r.length&&(this.tokenChar(44),this.space())}let s=!1;var t,n;(r.length||!r.length&&!i)&&(s=!0,this.tokenChar(123),r.length&&(this.space(),this.printList(r,this.shouldPrintTrailingComma("}")),this.space()),this.tokenChar(125)),e.source&&(this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(n=e.assertions)&&n.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,s)):this.print(e.source)),this.semicolon()}},t.ExportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported)},t.ExportSpecifier=function(e){"type"===e.exportKind&&(this.word("type"),this.space()),this.print(e.local),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported))},t.ImportAttribute=function(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)},t.ImportDeclaration=function(e){var t,n;this.word("import"),this.space();const r="type"===e.importKind||"typeof"===e.importKind;r?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):e.phase&&(this.noIndentInnerCommentsHere(),this.word(e.phase),this.space());const i=e.specifiers.slice(0),s=!!i.length;for(;s;){const e=i[0];if(!l(e)&&!c(e))break;this.print(i.shift()),i.length&&(this.tokenChar(44),this.space())}let o=!1;i.length?(o=!0,this.tokenChar(123),this.space(),this.printList(i,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125)):r&&!s&&(o=!0,this.tokenChar(123),this.tokenChar(125)),(s||r)&&(this.space(),this.word("from"),this.space()),null!=(t=e.attributes)&&t.length||null!=(n=e.assertions)&&n.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,o)):this.print(e.source),this.semicolon()},t.ImportDefaultSpecifier=function(e){this.print(e.local)},t.ImportExpression=function(e){this.word("import"),e.phase&&(this.tokenChar(46),this.word(e.phase)),this.tokenChar(40);const t=this.shouldPrintTrailingComma(")");this.print(e.source),null!=e.options&&(this.tokenChar(44),this.space(),this.print(e.options)),t&&this.tokenChar(44),this.rightParens(e)},t.ImportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local)},t.ImportSpecifier=function(e){"type"!==e.importKind&&"typeof"!==e.importKind||(this.word(e.importKind),this.space()),this.print(e.imported),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local))},t._printAttributes=function(e,t){var n;const{importAttributesKeyword:r}=this.format,{attributes:i,assertions:s}=e;i&&!r&&e.extra&&(e.extra.deprecatedAssertSyntax||e.extra.deprecatedWithLegacySyntax)&&!p&&(p=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));const o="assert"===r||!r&&s;if(this.word(o?"assert":"with"),this.space(),!o&&("with-legacy"===r||!r&&null!=(n=e.extra)&&n.deprecatedWithLegacySyntax))return void this.printList(i||s);const a=t?1:0;this.token("{",null,a),this.space(),this.printList(i||s,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",null,a)};var r=n(8135),i=n(1956);const{isClassDeclaration:s,isExportDefaultSpecifier:o,isExportNamespaceSpecifier:a,isImportDefaultSpecifier:l,isImportNamespaceSpecifier:c,isStatement:u}=r;let p=!1;function f(e,t){s(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators)}},8252:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUnionType=function(e){return e.every((e=>a(e)))?i?i(e):o(e):e.every((e=>l(e)))&&s?s(e):void 0};var r=n(8135);const{createFlowUnionType:i,createTSUnionType:s,createUnionTypeAnnotation:o,isFlowType:a,isTSType:l}=r},8291:(e,t,n)=>{"use strict";n.d(t,{HO:()=>l,N5:()=>a,RJ:()=>d,UQ:()=>p,X5:()=>h,Z1:()=>s,cv:()=>o,dM:()=>m,dN:()=>f});var r=n(8135),i=n(9978);function s(e,t){return!e.async&&!e.generator||(t.errors.push({message:"Function cannot be async or generator",node:e,severity:"error"}),!1)}function o(e,t){return!!e.referencesImport(i.FJ,t)||e.node.name===t&&!e.scope.getBinding(e.node.name)}function a(e,t){var n=null;return r.traverse(e,{enter:function(e,t){var i;!n&&(r.isFunctionExpression(e)||r.isStatement(e)||r.isAwaitExpression(e)||r.isYieldExpression(e)||r.isJSX(e)||r.isArrowFunctionExpression(e)&&(e.async||e.generator||r.isBlockStatement(e.body)||r.isObjectProperty(null===(i=t[t.length-1])||void 0===i?void 0:i.node)))&&(n=e)}}),!n||(null==t||t.errors.push({message:"Unsupported expression type: ".concat(n.type),node:n,severity:"error"}),!1)}function l(e){return e.isNullLiteral()||e.isIdentifier()&&"undefined"===e.node.name&&void 0===e.scope.getBinding("undefined")}var c=/^<%=?\s/,u=/\s%>$/;function p(e){if("string"!=typeof e)return!1;var t=e.trim();return c.test(t)&&u.test(t)}function f(e,t){return function(e){return!e.reference||"imported"===e.reference.type&&e.reference.importSource===i.FJ}(e)&&(e.reference?e.reference.name===t:e.name===t)}function h(e){return e.isCallExpression()||e.isOptionalCallExpression()}function d(e){return e.isMemberExpression()||e.isOptionalMemberExpression()}function m(e){return e.isFunctionExpression()||e.isArrowFunctionExpression()}},8398:e=>{"use strict";const t={},n=t.hasOwnProperty,r=(e,t)=>{for(const r in e)n.call(e,r)&&t(r,e[r])},i=e=>"\\u"+("0000"+e).slice(-4),s=(e,t)=>{let n=e.toString(16);return t?n:n.toUpperCase()},o=t.toString,a=Array.isArray,l=e=>"bigint"==typeof e,c={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},u=/[\\\b\f\n\r\t]/,p=/[0-9]/,f=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,h=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,d=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,m=(e,t)=>{const n=()=>{k=E,++t.indentLevel,E=t.indent.repeat(t.indentLevel)},g={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},y=t&&t.json;var v,b;y&&(g.quotes="double",g.wrap=!0),v=g,t=(b=t)?(r(b,((e,t)=>{v[e]=t})),v):v,"single"!=t.quotes&&"double"!=t.quotes&&"backtick"!=t.quotes&&(t.quotes="single");const x="double"==t.quotes?'"':"backtick"==t.quotes?"`":"'",S=t.compact,C=t.lowercaseHex;let E=t.indent.repeat(t.indentLevel),k="";const w=t.__inline1__,T=t.__inline2__,_=S?"":"\n";let A,P=!0;const I="binary"==t.numbers,M="octal"==t.numbers,O="decimal"==t.numbers,F="hexadecimal"==t.numbers;if(y&&e&&"function"==typeof e.toJSON&&(e=e.toJSON()),"string"!=typeof(B=e)&&"[object String]"!=o.call(B)){if((e=>"[object Map]"==o.call(e))(e))return 0==e.size?"new Map()":(S||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+m(Array.from(e),t)+")");if((e=>"[object Set]"==o.call(e))(e))return 0==e.size?"new Set()":"new Set("+m(Array.from(e),t)+")";if((e=>"function"==typeof Buffer&&Buffer.isBuffer(e))(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+m(Array.from(e),t)+")";if(a(e))return A=[],t.wrap=!0,w&&(t.__inline1__=!1,t.__inline2__=!0),T||n(),((e,t)=>{const n=e.length;let r=-1;for(;++r<n;)t(e[r])})(e,(e=>{P=!1,T&&(t.__inline2__=!1),A.push((S||T?"":E)+m(e,t))})),P?"[]":T?"["+A.join(", ")+"]":"["+_+A.join(","+_)+_+(S?"":k)+"]";if((e=>"number"==typeof e||"[object Number]"==o.call(e))(e)||l(e)){if(y)return JSON.stringify(Number(e));let t;if(O)t=String(e);else if(F){let n=e.toString(16);C||(n=n.toUpperCase()),t="0x"+n}else I?t="0b"+e.toString(2):M&&(t="0o"+e.toString(8));return l(e)?t+"n":t}return l(e)?y?JSON.stringify(Number(e)):e+"n":(e=>"[object Object]"==o.call(e))(e)?(A=[],t.wrap=!0,n(),r(e,((e,n)=>{P=!1,A.push((S?"":E)+m(e,t)+":"+(S?"":" ")+m(n,t))})),P?"{}":"{"+_+A.join(","+_)+_+(S?"":k)+"}"):y?JSON.stringify(e)||"null":String(e)}var B;const D=t.escapeEverything?h:d;return A=e.replace(D,((e,n,r,o,a,l)=>{if(n){if(t.minimal)return n;const e=n.charCodeAt(0),r=n.charCodeAt(1);return t.es6?"\\u{"+s(1024*(e-55296)+r-56320+65536,C)+"}":i(s(e,C))+i(s(r,C))}if(r)return i(s(r.charCodeAt(0),C));if("\0"==e&&!y&&!p.test(l.charAt(a+1)))return"\\0";if(o)return o==x||t.escapeEverything?"\\"+o:o;if(u.test(e))return c[e];if(t.minimal&&!f.test(e))return e;const h=s(e.charCodeAt(0),C);return y||h.length>2?i(h):"\\x"+("00"+h).slice(-2)})),"`"==x&&(A=A.replace(/\$\{/g,"\\${")),t.isScriptContext&&(A=A.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,y?"\\u003C!--":"\\x3C!--")),t.wrap&&(A=x+A+x),A};m.version="3.0.2",e.exports=m},8418:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addComment=function(e,t,n){i(this.node,e,t,n)},t.addComments=function(e,t){s(this.node,e,t)},t.shareCommentsWithSiblings=function(){if("string"==typeof this.key)return;const e=this.node;if(!e)return;const t=e.trailingComments,n=e.leadingComments;if(!t&&!n)return;const r=this.getSibling(this.key-1),i=this.getSibling(this.key+1),s=Boolean(r.node),a=Boolean(i.node);s&&(n&&r.addComments("trailing",o(n,r.node.trailingComments)),t&&!a&&r.addComments("trailing",t)),a&&(t&&i.addComments("leading",o(t,i.node.leadingComments)),n&&!s&&i.addComments("leading",n))};var r=n(8135);const{addComment:i,addComments:s}=r;function o(e,t){if(null==t||!t.length)return e;const n=new Set(t);return e.filter((e=>!n.has(e)))}},8431:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(8135),i=r,s=n(1597),o=n(5957),a=n(4537);const{getAssignmentIdentifiers:l}=i,c={ReferencedIdentifier({node:e},t){e.name===t.oldName&&(e.name=t.newName)},Scope(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||(e.skip(),e.isMethod()&&(e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():a.requeueComputedKeyAndDecorators.call(e)))},ObjectProperty({node:e,scope:t},n){const{name:r}=e.key;var i;!e.shorthand||r!==n.oldName&&r!==n.newName||t.getBindingIdentifier(r)!==n.binding.identifier||(e.shorthand=!1,null!=(i=e.extra)&&i.shorthand&&(e.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const n=e.isAssignmentExpression()?l(e.node):e.getOuterBindingIdentifiers();for(const e in n)e===t.oldName&&(n[e].name=t.newName)}};t.default=class{constructor(e,t,n){this.newName=n,this.oldName=t,this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(t.isExportDeclaration()){if(t.isExportDefaultDeclaration()){const{declaration:e}=t.node;if(r.isDeclaration(e)&&!e.id)return}t.isExportAllDeclaration()||t.splitExportDeclaration()}}maybeConvertFromClassFunctionDeclaration(e){return e}maybeConvertFromClassFunctionExpression(e){return e}rename(){const{binding:e,oldName:t,newName:n}=this,{scope:i,path:a}=e,l=a.find((e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()));l&&l.getOuterBindingIdentifiers()[t]===e.identifier&&this.maybeConvertFromExportDeclaration(l);const u=arguments[0]||i.block,p={discriminant:!0};r.isMethod(u)&&(u.computed&&(p.key=!0),r.isObjectMethod(u)||(p.decorators=!0)),(0,s.traverseNode)(u,(0,o.explode)(c),i,this,i.path,p),arguments[0]||(i.removeOwnBinding(t),i.bindings[n]=e,this.binding.identifier.name=n),l&&(this.maybeConvertFromClassFunctionDeclaration(a),this.maybeConvertFromClassFunctionExpression(a))}}},8495:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});var r=n(7358),i=n(5703);function s(e){var t={appType:"app",modules:new Map,files:e,constants:new Map,errors:[]};return(0,i.C)("/index.tsx",t),(0,r.M)(t),t}},8844:(e,t,n)=>{"use strict";n.d(t,{R:()=>d});var r=n(3310),i=n(3705),s=n(580),o=n(8135),a=n(4),l=n(5307),c=n(5810),u=n(1046),p=a.default,f=n(5703),h=n(7358);function d(e,t){var n,a,d={appType:"view",modules:new Map,files:[{filePath:"/View.tsx",content:e}].concat((0,i.A)(null!==(n=null==t?void 0:t.libs)&&void 0!==n?n:[])),constants:new Map,errors:[]};try{a=(0,s.parse)(e,{plugins:["jsx","typescript"],sourceType:"module",errorRecovery:!0})}catch(e){return d.errors.push({message:"Failed to parse TSX: ".concat(e),node:null,severity:"fatal",filePath:"/View.tsx"}),d}var m,g=(0,r.A)(a.program.body);try{for(g.s();!(m=g.n()).done;){var y=m.value;if(o.isExportDefaultDeclaration(y)){if(o.isFunctionDeclaration(y.declaration))return(0,f.C)("/View.tsx",d,a,t),(0,h.M)(d),d;break}}}catch(e){g.e(e)}finally{g.f()}return function(e,t,n,i){var s,o=[];if(null!==(s=n.errors)&&void 0!==s&&s.length){var a,f=(0,r.A)(n.errors);try{for(f.s();!(a=f.n()).done;){var h=a.value;o.push({message:"".concat(h.code,": ").concat(h.reasonCode),node:null,severity:"error"})}}catch(e){f.e(e)}finally{f.f()}}var d=new Map,m={type:"view",bindingMap:d},g={component:m,stateBindings:null==i?void 0:i.withContexts},y={source:t.files.find((function(t){return t.filePath===e})).content,filePath:e,moduleType:"entry",defaultExport:{type:"view",component:m},internals:[],namedExports:new Map,errors:o,contracts:new Set,usedHelpers:new Set};p(n,{Program:function(e){var n,i=e.get("body"),s=!1,a=(0,r.A)(i);try{for(a.s();!(n=a.n()).done;){var u=n.value;if(u.isVariableDeclaration()){if(s){o.push({message:"Unexpected variable declaration after export",node:u.node,severity:"error"});continue}if("const"!==u.node.kind){o.push({message:'Only "const" variable declaration is allowed, received: '.concat(u.node.kind),node:u.node,severity:"error"});continue}var p,f=(0,r.A)(u.get("declarations"));try{for(f.s();!(p=f.n()).done;){var h=p.value,v=h.get("id");if(v.isIdentifier()){var b={id:v.node,kind:"constant"},x=h.get("init");x.node&&(b.initialValue=(0,c.A)(x,y,t,g)),d.set(v.node,b)}else o.push({message:"Unsupported variable declaration pattern, expected: Identifier, received: ".concat(v.type),node:v.node,severity:"error"})}}catch(e){f.e(e)}finally{f.f()}}else if(u.isExportDefaultDeclaration()){s=!0;var S=u.get("declaration");S.isJSXElement()?m.children=(0,l.H)(S,y,t,g):o.push({message:"Default export must be a JSX element, received: ".concat(S.type),node:u.node,severity:"error"});break}}}catch(e){a.e(e)}finally{a.f()}e.stop()}}),y.defaultExport.title=(0,u.W)(m),t.modules.set(e,y),t.entry=y}("/View.tsx",d,a,t),(0,h.M)(d),d}},8952:e=>{var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreenBright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};e.exports=n(),e.exports.createColors=n},9074:(e,t,n)=>{"use strict";n.d(t,{w:()=>p,y:()=>f});var r=n(3310),i=n(9740),s=n(5810),o=n(9978),a=n(3738),l=n(8291),c=n(7927),u=n(3135);function p(e,t,n,r,s){if(!e.isArrowFunctionExpression())return t.errors.push({message:"Event handler must be an arrow function expression, but got ".concat(e.type),node:e.node,severity:"error"}),null;var o=e.get("params");if(o.length>1)return t.errors.push({message:"Event handler arrow function must have at most one parameter, but got ".concat(o.length),node:e.node,severity:"error"}),null;var a=o[0],l=(0,i.A)((0,i.A)({},r),{},{modifier:void 0,eventBinding:void 0});if(a){if(!a.isIdentifier())return t.errors.push({message:"Event handler arrow function parameter must be an identifier, but got ".concat(a.type),node:a.node,severity:"error"}),null;l.eventBinding={id:a.node,isCallback:s}}var c=f(e.get("body"),t,n,l);return c?[].concat(c):null}function f(e,t,n,h,d){if(e.isBlockStatement())return e.get("body").flatMap((function(e){return f(e,t,n,h)})).filter((function(e){return null!==e}));if(e.isIfStatement())return{action:"conditional",payload:{test:(0,s.A)(e.get("test"),t,n,h),consequent:f(e.get("consequent"),t,n,h),alternate:e.node.alternate?f(e.get("alternate"),t,n,h):null}};if(e.isExpressionStatement())return f(e.get("expression"),t,n,h);if(e.isReturnStatement()&&d&&d(e),(0,l.X5)(e)){var m=e.get("callee"),g=e.get("arguments");if(m.isIdentifier()){if((0,l.cv)(m,"showMessage"))return 1!==g.length?(t.errors.push({message:'"showMessage()" expects exactly 1 argument, but got '.concat(g.length),node:e.node,severity:"error"}),null):{action:"show_message",payload:(0,s.A)(g[0],t,n,h)};if((0,l.cv)(m,"handleHttpError"))return 1!==g.length?(t.errors.push({message:'"handleHttpError()" expects exactly 1 argument, but got '.concat(g.length),node:e.node,severity:"error"}),null):{action:"handle_http_error",payload:(0,s.A)(g[0],t,n,h)};var y,v=(0,r.A)(o.TQ);try{for(v.s();!(y=v.n()).done;){var b=y.value;if((0,l.cv)(m,b)){var x=(0,a.S)(e,t,n,h);return x?(t.contracts.add(x.api),{action:"call_api",payload:x}):null}}}catch(e){v.e(e)}finally{v.f()}var S,C,E=m.scope.getBindingIdentifier(m.node.name);if(E&&(S=null===(C=h.component)||void 0===C?void 0:C.bindingMap.get(E)),!S)return t.errors.push({message:'Function "'.concat(m.node.name,'" is not defined'),node:m.node,severity:"error"}),null;switch(S.kind){case"setState":return{action:"update_variable",payload:{name:S.id.name,value:void 0===g[0]?void 0:(0,s.A)(g[0],t,n,(0,i.A)((0,i.A)({},h),{},{modifier:void 0})),scope:"template"===h.component.type?"template":"global"}};case"refetch":return{action:"refresh_data_source",payload:{name:S.resourceId.name,scope:"template"===h.component.type?"template":"global"}};case"context":return{action:"call_selector",payload:{selector:"#".concat((0,c.bQ)(S.contextProvider.name)),method:"trigger",args:[{name:S.contextKey,value:void 0===g[0]?void 0:(0,s.A)(g[0],t,n,(0,i.A)((0,i.A)({},h),{},{modifier:void 0}))}]}};case"eventHandler":if(g.length>1)return t.errors.push({message:'Event dispatcher "'.concat(m.node.name,'" expects at most 1 argument, but got ').concat(g.length),node:e.node,severity:"error"}),null;var k;if(g.length>0){var w=g[0];if(!w.isObjectExpression())return t.errors.push({message:'Event dispatcher "'.concat(m.node.name,'" argument must be an object expression, but got ').concat(w.type),node:w.node,severity:"error"}),null;var T,_=(0,r.A)(w.get("properties"));try{for(_.s();!(T=_.n()).done;){var A=T.value;if(!A.isObjectProperty())return t.errors.push({message:'Event dispatcher "'.concat(m.node.name,'" argument object expression must have only object properties, but got ').concat(A.type),node:A.node,severity:"error"}),null;if(A.node.computed)return t.errors.push({message:'Event dispatcher "'.concat(m.node.name,'" argument object expression must not have computed properties'),node:A.node,severity:"error"}),null;var P=A.get("key");if(!P.isIdentifier()||"detail"!==P.node.name)return t.errors.push({message:'Event dispatcher "'.concat(m.node.name,'" argument object expression property key must be an identifier with name "detail", but got ').concat(P.type).concat(P.isIdentifier()?" (name: ".concat(P.node.name,")"):""),node:P.node,severity:"error"}),null;k=(0,s.A)(A.get("value"),t,n,(0,i.A)((0,i.A)({},h),{},{modifier:void 0}))}}catch(e){_.e(e)}finally{_.f()}}return{action:"dispatch_event",payload:{type:(0,u.k)(S.id.name),detail:k}};default:return t.errors.push({message:'"'.concat(m.node.name,'" is not callable'),node:m.node,severity:"error"}),null}}else if((0,l.RJ)(m)){if(m.node.computed)return t.errors.push({message:"Event handler call expression with computed member expression is not supported",node:m.node,severity:"error"}),null;var I=m.get("object");if((0,l.RJ)(I)){var M=I.get("property");if(!I.node.computed&&M.isIdentifier()&&"current"===M.node.name){var O=I.get("object");if(O.isIdentifier()){var F,B,D=O.scope.getBindingIdentifier(O.node.name);if(D&&(F=null===(B=h.component)||void 0===B?void 0:B.bindingMap.get(D)),!F)return t.errors.push({message:'Variable "'.concat(O.node.name,'" is not defined'),node:O.node,severity:"error"}),null;if("ref"!==F.kind)return t.errors.push({message:'Variable "'.concat(O.node.name,'" is not a ref, but a ').concat(F.kind),node:O.node,severity:"error"}),null;var L=m.get("property");return L.isIdentifier()?{action:"call_ref",payload:{ref:F.id.name,method:L.node.name,args:g.map((function(e){return(0,s.A)(e,t,n,h)})),scope:"template"===h.component.type?"template":"global"}}:(t.errors.push({message:"Event handler call expression with non-identifier property is not supported",node:L.node,severity:"error"}),null)}}}if(I.isIdentifier()){var N=I.scope.getBindingIdentifier(I.node.name);if(N){var j,R=null===(j=h.component)||void 0===j?void 0:j.bindingMap.get(N);if(R&&"history"===R.kind){var W=m.get("property");if(!W.isIdentifier())return t.errors.push({message:"Event handler call expression with non-identifier property is not supported",node:W.node,severity:"error"}),null;var U=W.node.name;return o.E_.includes(U)?{action:"navigate",payload:{method:U,args:g.map((function(e){return(0,s.A)(e,t,n,h)}))}}:(t.errors.push({message:'"history.'.concat(U,'()" is not supported in event handler'),node:W.node,severity:"error"}),null)}}}if(!I.isCallExpression())return t.errors.push({message:"Invalid usage in event handler",node:I.node,severity:"error"}),null;var V=I.get("callee");if(!V.isIdentifier())return t.errors.push({message:"Member expression in event handler expects an identifier as callee, but got ".concat(V.type),node:V.node,severity:"error"}),null;var H,q=m.get("property");if(!q.isIdentifier())return t.errors.push({message:"Member expression in event handler expects an identifier as property, but got ".concat(q.type),node:q.node,severity:"error"}),null;var G,K=(0,r.A)(o.TQ);try{for(K.s();!(G=K.n()).done;){var $=G.value;if((0,l.cv)(V,$)){H=$;break}}}catch(e){K.e(e)}finally{K.f()}if(H){var J=q.node.name;if("then"!==J&&"catch"!==J)return t.errors.push({message:'"'.concat(H,'()" expects "then" or "catch" as its method, but got ').concat(J),node:q.node,severity:"error"}),null;if("catch"===J){if(1!==g.length)return t.errors.push({message:'".catch()" expects exactly 1 argument, but got '.concat(g.length),node:g.length>0?g[1].node:q.node,severity:"error"}),null}else if(0===g.length||g.length>2)return t.errors.push({message:'".then()" expects 1 or 2 arguments, but got '.concat(g.length),node:g.length>2?g[2].node:q.node,severity:"error"}),null;var X,Q,z=(0,a.S)(I,t,n,h);if(!z)return null;t.contracts.add(z.api);var Y=p(g[0],t,n,h,!0);return"catch"===J?Q=Y:(X=Y,g.length>1&&(Q=p(g[1],t,n,h,!0))),{action:"call_api",payload:z,callback:{success:X,error:Q}}}return t.errors.push({message:"Unsupported action in event handler: ".concat(V.node.name),node:V.node,severity:"error"}),null}}return t.errors.push({message:"Unsupported event handler",node:e.node,severity:"error"}),null}},9305:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(5267),i=n(1969);t.default=class{constructor(e,t){var n;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;const s=this._map=new r.GenMapping({sourceRoot:e.sourceRoot});if(this._sourceFileName=null==(n=e.sourceFileName)?void 0:n.replace(/\\/g,"/"),this._rawMappings=void 0,e.inputSourceMap){this._inputMap=new i.TraceMap(e.inputSourceMap);const t=this._inputMap.resolvedSources;if(t.length)for(let e=0;e<t.length;e++){var o;(0,r.setSourceContent)(s,t[e],null==(o=this._inputMap.sourcesContent)?void 0:o[e])}}if("string"!=typeof t||e.inputSourceMap){if("object"==typeof t)for(const e of Object.keys(t))(0,r.setSourceContent)(s,e.replace(/\\/g,"/"),t[e])}else(0,r.setSourceContent)(s,this._sourceFileName,t)}get(){return(0,r.toEncodedMap)(this._map)}getDecoded(){return(0,r.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,r.allMappings)(this._map))}mark(e,t,n,s,o,a){var l;let c;if(this._rawMappings=void 0,null!=t)if(this._inputMap){if(c=(0,i.originalPositionFor)(this._inputMap,{line:t,column:n}),!c.name&&o){const e=(0,i.originalPositionFor)(this._inputMap,o);e.name&&(s=e.name)}}else c={source:(null==a?void 0:a.replace(/\\/g,"/"))||this._sourceFileName,line:t,column:n};(0,r.maybeAddMapping)(this._map,{name:s,generated:e,source:null==(l=c)?void 0:l.source,original:c})}}},9403:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});var r=n(9740),i=n(3310),s=n(6990),o=n(6253);function a(e,t,n,a){var c=e.flatMap((function(e){return(0,s.o)(e,t,n,a)}));c.length>0&&null===c[0]&&(c=c.slice(1)),c.length>0&&null===c[c.length-1]&&(c=c.slice(0,c.length-1));var u=c.every((function(e){return"text"===(null==e?void 0:e.type)}));if(!u){var p,f=null,h=[],d=(0,i.A)(c);try{for(d.s();!(p=d.n()).done;){var m=p.value;if(null===m);else if("text"===m.type||"expression"===m.type){var g,y,v;if("text"===(null===(g=f)||void 0===g?void 0:g.type)||"expression"===(null===(y=f)||void 0===y?void 0:y.type)){f={type:"merged",children:[f,m]},h.splice(h.length-1,1,f);continue}if("merged"===(null===(v=f)||void 0===v?void 0:v.type)){f.children.push(m);continue}}f=m,h.push(m)}}catch(e){d.e(e)}finally{d.f()}u=(c=h).every((function(e){return"text"===(null==e?void 0:e.type)||"merged"===(null==e?void 0:e.type)&&e.children.every((function(e){return"text"===e.type}))}))}if(u){var b=c.flatMap((function(e){return"text"===e.type?e.text:e.children.map((function(e){return e.text}))})).join("").trim();return{textContent:b}}var x=c.every((function(e){return!!e&&"component"!==e.type}));if(x){var S=l(c.flatMap((function(e){return"merged"===e.type?e.children:e})),t,n,a);return{textContent:S}}var C=c.filter((function(e){return!!e})).map((function(e){return"component"===e.type?e.component:{name:"Plaintext",properties:{textContent:"text"===e.type?e.text:"expression"===e.type?(0,o.$)(e.expression,t,n,(0,r.A)((0,r.A)({},a),{},{modifier:"="})):l(e.children,t,n,a)}}}));return{children:C}}function l(e,t,n,r){return t.usedHelpers.add("_helper_mergeTexts"),"<%= FN._helper_mergeTexts(".concat(e.map((function(e){return"text"===e.type?JSON.stringify(e):'{type:"expression",value:('.concat((0,o.$)(e.expression,t,n,r,!0),")}")})).join(", "),") %>")}},9534:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClassAccessorProperty=function(e){var t;this.printJoin(e.decorators);const n=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;n&&this.catchUp(n),this.tsPrintClassMemberModifiers(e),this.word("accessor",!0),this.space(),e.computed?(this.tokenChar(91),this.print(e.key),this.tokenChar(93)):(this._variance(e),this.print(e.key)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value)),this.semicolon()},t.ClassBody=function(e){if(this.tokenChar(123),0===e.body.length)this.tokenChar(125);else{this.newline();const t=function(e,t){if(!e.tokenMap||null==t.start||null==t.end)return null;const n=e.tokenMap.getIndexes(t);if(!n)return null;let r=1,i=0,s=0;const o=()=>{for(;s<t.body.length&&null==t.body[s].start;)s++};return o(),a=>{s<=a&&(s=a+1,o());const l=s===t.body.length?t.end:t.body[s].start;let c;for(;r<n.length&&e.tokenMap.matchesOriginal(c=e._tokens[n[r]],";")&&c.start<l;)e.token(";",void 0,i++),r++}}(this,e);null==t||t(-1);const n=this.enterDelimited();this.printJoin(e.body,!0,!0,t,!0),n(),this.endsWith(10)||this.newline(),this.rightBrace(e)}},t.ClassExpression=t.ClassDeclaration=function(e,t){(i(t)||s(t))&&this._shouldPrintDecoratorsBeforeExport(t)||this.printJoin(e.decorators),e.declare&&(this.word("declare"),this.space()),e.abstract&&(this.word("abstract"),this.space()),this.word("class"),e.id&&(this.space(),this.print(e.id)),this.print(e.typeParameters),e.superClass&&(this.space(),this.word("extends"),this.space(),this.print(e.superClass),this.print(e.superTypeParameters)),e.implements&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements)),this.space(),this.print(e.body)},t.ClassMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body)},t.ClassPrivateMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body)},t.ClassPrivateProperty=function(e){this.printJoin(e.decorators),this.tsPrintClassMemberModifiers(e),this.print(e.key),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value)),this.semicolon()},t.ClassProperty=function(e){if(this.printJoin(e.decorators),!e.static&&!this.format.preserveFormat){var t;const n=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;n&&this.catchUp(n)}this.tsPrintClassMemberModifiers(e),e.computed?(this.tokenChar(91),this.print(e.key),this.tokenChar(93)):(this._variance(e),this.print(e.key)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value)),this.semicolon()},t.StaticBlock=function(e){this.word("static"),this.space(),this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,!0),this.rightBrace(e))},t._classMethodHead=function(e){if(this.printJoin(e.decorators),!this.format.preserveFormat){var t;const n=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;n&&this.catchUp(n)}this.tsPrintClassMemberModifiers(e),this._methodHead(e)};var r=n(8135);const{isExportDefaultDeclaration:i,isExportNamedDeclaration:s}=r},9724:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrayExpression=T,t.AssignmentExpression=function(){return this.get("right").getTypeAnnotation()},t.BinaryExpression=function(e){const t=e.operator;if(l.includes(t))return v();if(o.includes(t))return h();if("+"===t){const e=this.get("right"),t=this.get("left");return t.isBaseType("number")&&e.isBaseType("number")?v():t.isBaseType("string")||e.isBaseType("string")?b():S([b(),v()])}},t.BooleanLiteral=function(){return h()},t.CallExpression=function(){const{callee:e}=this.node;return P(e)?f(b()):A(e)||I(e)||E(e,{name:"Array"})?f(p()):M(e)?f(x([b(),p()])):O(this.get("callee"))},t.ConditionalExpression=function(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,s.createUnionType)(e)},t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=function(){return m(g("Function"))},Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return i.default}}),t.LogicalExpression=function(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,s.createUnionType)(e)},t.NewExpression=function(e){if("Identifier"===e.callee.type)return m(e.callee)},t.NullLiteral=function(){return y()},t.NumericLiteral=function(){return v()},t.ObjectExpression=function(){return m(g("Object"))},t.ParenthesizedExpression=function(){return this.get("expression").getTypeAnnotation()},t.RegExpLiteral=function(){return m(g("RegExp"))},t.RestElement=_,t.SequenceExpression=function(){return this.get("expressions").pop().getTypeAnnotation()},t.StringLiteral=function(){return b()},t.TSAsExpression=w,t.TSNonNullExpression=function(){return this.get("expression").getTypeAnnotation()},t.TaggedTemplateExpression=function(){return O(this.get("tag"))},t.TemplateLiteral=function(){return b()},t.TypeCastExpression=k,t.UnaryExpression=function(e){const t=e.operator;return"void"===t?C():c.includes(t)?v():u.includes(t)?b():a.includes(t)?h():void 0},t.UpdateExpression=function(e){const t=e.operator;if("++"===t||"--"===t)return v()},t.VariableDeclarator=function(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()};var r=n(8135),i=n(1593),s=n(8252);const{BOOLEAN_BINARY_OPERATORS:o,BOOLEAN_UNARY_OPERATORS:a,NUMBER_BINARY_OPERATORS:l,NUMBER_UNARY_OPERATORS:c,STRING_UNARY_OPERATORS:u,anyTypeAnnotation:p,arrayTypeAnnotation:f,booleanTypeAnnotation:h,buildMatchMemberExpression:d,genericTypeAnnotation:m,identifier:g,nullLiteralTypeAnnotation:y,numberTypeAnnotation:v,stringTypeAnnotation:b,tupleTypeAnnotation:x,unionTypeAnnotation:S,voidTypeAnnotation:C,isIdentifier:E}=r;function k(e){return e.typeAnnotation}function w(e){return e.typeAnnotation}function T(){return m(g("Array"))}function _(){return T()}k.validParent=!0,w.validParent=!0,_.validParent=!0;const A=d("Array.from"),P=d("Object.keys"),I=d("Object.values"),M=d("Object.entries");function O(e){if((e=e.resolve()).isFunction()){const{node:t}=e;if(t.async)return t.generator?m(g("AsyncIterator")):m(g("Promise"));if(t.generator)return m(g("Iterator"));if(e.node.returnType)return e.node.returnType}}},9740:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4586);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},9783:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,n=TypeError){return new n(t)}}},9813:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statements=t.statement=t.smart=t.program=t.expression=void 0;var r=n(8135);const{assertExpressionStatement:i}=r;function s(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}t.smart=s((e=>e.length>1?e:e[0])),t.statements=s((e=>e)),t.statement=s((e=>{if(0===e.length)throw new Error("Found nothing to return.");if(e.length>1)throw new Error("Found multiple statements but wanted one");return e[0]}));const o=t.expression={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(0===o.unwrap(e).start)throw new Error("Parse result included parens.")},unwrap:({program:e})=>{const[t]=e.body;return i(t),t.expression}};t.program={code:e=>e,validate:()=>{},unwrap:e=>e.program}},9919:(e,t)=>{"use strict";function n(e,t){e.tokenMap&&t.start&&t.end?e.tokenMap.endMatches(t,",")?e.token(","):e.tokenMap.endMatches(t,";")&&e.semicolon():e.semicolon()}function r(e,t,n){var r;let i=0;null!=(r=e.tokenMap)&&r.startMatches(t,n)&&(i=1,e.token(n)),e.printJoin(t.types,void 0,void 0,(function(e){this.space(),this.token(n,null,e+i),this.space()}))}function i(e,t){!0!==t&&e.token(t)}function s(e){o(this,e,(()=>{var t;return this.printList(e.members,null==(t=this.shouldPrintTrailingComma("}"))||t,!0,!0)}))}function o(e,t,n){e.token("{");const r=e.enterDelimited();n(),r(),e.rightBrace(t)}function a(e,t,n){var r;const i=new Set;for(const e of n)e&&i.add(e);null==(r=e.tokenMap)||r.find(t,(t=>{if(i.has(t.value))return e.token(t.value),e.space(),i.delete(t.value),0===i.size}));for(const t of i)e.word(t),e.space()}Object.defineProperty(t,"__esModule",{value:!0}),t.TSAnyKeyword=function(){this.word("any")},t.TSArrayType=function(e){this.print(e.elementType,!0),this.tokenChar(91),this.tokenChar(93)},t.TSSatisfiesExpression=t.TSAsExpression=function(e){const{type:t,expression:n,typeAnnotation:r}=e;this.print(n,!0),this.space(),this.word("TSAsExpression"===t?"as":"satisfies"),this.space(),this.print(r)},t.TSBigIntKeyword=function(){this.word("bigint")},t.TSBooleanKeyword=function(){this.word("boolean")},t.TSCallSignatureDeclaration=function(e){this.tsPrintSignatureDeclarationBase(e),n(this,e)},t.TSInterfaceHeritage=t.TSClassImplements=function(e){this.print(e.expression),this.print(e.typeArguments)},t.TSConditionalType=function(e){this.print(e.checkType),this.space(),this.word("extends"),this.space(),this.print(e.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(e.trueType),this.space(),this.tokenChar(58),this.space(),this.print(e.falseType)},t.TSConstructSignatureDeclaration=function(e){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(e),n(this,e)},t.TSConstructorType=function(e){e.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(e)},t.TSDeclareFunction=function(e,t){e.declare&&(this.word("declare"),this.space()),this._functionHead(e,t),this.semicolon()},t.TSDeclareMethod=function(e){this._classMethodHead(e),this.semicolon()},t.TSEnumBody=s,t.TSEnumDeclaration=function(e){const{declare:t,const:n,id:r}=e;t&&(this.word("declare"),this.space()),n&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(r),this.space(),s.call(this,e)},t.TSEnumMember=function(e){const{id:t,initializer:n}=e;this.print(t),n&&(this.space(),this.tokenChar(61),this.space(),this.print(n))},t.TSExportAssignment=function(e){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(e.expression),this.semicolon()},t.TSExternalModuleReference=function(e){this.token("require("),this.print(e.expression),this.tokenChar(41)},t.TSFunctionType=function(e){this.tsPrintFunctionOrConstructorType(e)},t.TSImportEqualsDeclaration=function(e){const{id:t,moduleReference:n}=e;e.isExport&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(t),this.space(),this.tokenChar(61),this.space(),this.print(n),this.semicolon()},t.TSImportType=function(e){const{argument:t,qualifier:n,options:r}=e;this.word("import"),this.tokenChar(40),this.print(t),r&&(this.tokenChar(44),this.print(r)),this.tokenChar(41),n&&(this.tokenChar(46),this.print(n));const i=e.typeParameters;i&&this.print(i)},t.TSIndexSignature=function(e){const{readonly:t,static:r}=e;r&&(this.word("static"),this.space()),t&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(e.parameters,"]"),this.print(e.typeAnnotation),n(this,e)},t.TSIndexedAccessType=function(e){this.print(e.objectType,!0),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)},t.TSInferType=function(e){this.word("infer"),this.print(e.typeParameter)},t.TSInstantiationExpression=function(e){this.print(e.expression),this.print(e.typeParameters)},t.TSInterfaceBody=function(e){o(this,e,(()=>this.printJoin(e.body,!0,!0)))},t.TSInterfaceDeclaration=function(e){const{declare:t,id:n,typeParameters:r,extends:i,body:s}=e;t&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(n),this.print(r),null!=i&&i.length&&(this.space(),this.word("extends"),this.space(),this.printList(i)),this.space(),this.print(s)},t.TSIntersectionType=function(e){r(this,e,"&")},t.TSIntrinsicKeyword=function(){this.word("intrinsic")},t.TSLiteralType=function(e){this.print(e.literal)},t.TSMappedType=function(e){const{nameType:t,optional:n,readonly:r,typeAnnotation:s}=e;this.tokenChar(123);const o=this.enterDelimited();this.space(),r&&(i(this,r),this.word("readonly"),this.space()),this.tokenChar(91),this.word(e.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(e.typeParameter.constraint),t&&(this.space(),this.word("as"),this.space(),this.print(t)),this.tokenChar(93),n&&(i(this,n),this.tokenChar(63)),s&&(this.tokenChar(58),this.space(),this.print(s)),this.space(),o(),this.tokenChar(125)},t.TSMethodSignature=function(e){const{kind:t}=e;"set"!==t&&"get"!==t||(this.word(t),this.space()),this.tsPrintPropertyOrMethodName(e),this.tsPrintSignatureDeclarationBase(e),n(this,e)},t.TSModuleBlock=function(e){o(this,e,(()=>this.printSequence(e.body,!0)))},t.TSModuleDeclaration=function(e){const{declare:t,id:n,kind:r}=e;t&&(this.word("declare"),this.space());{if(e.global||(this.word(null!=r?r:"Identifier"===n.type?"namespace":"module"),this.space()),this.print(n),!e.body)return void this.semicolon();let t=e.body;for(;"TSModuleDeclaration"===t.type;)this.tokenChar(46),this.print(t.id),t=t.body;this.space(),this.print(t)}},t.TSNamedTupleMember=function(e){this.print(e.label),e.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(e.elementType)},t.TSNamespaceExportDeclaration=function(e){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(e.id),this.semicolon()},t.TSNeverKeyword=function(){this.word("never")},t.TSNonNullExpression=function(e){this.print(e.expression),this.tokenChar(33)},t.TSNullKeyword=function(){this.word("null")},t.TSNumberKeyword=function(){this.word("number")},t.TSObjectKeyword=function(){this.word("object")},t.TSOptionalType=function(e){this.print(e.typeAnnotation),this.tokenChar(63)},t.TSParameterProperty=function(e){e.accessibility&&(this.word(e.accessibility),this.space()),e.readonly&&(this.word("readonly"),this.space()),this._param(e.parameter)},t.TSParenthesizedType=function(e){this.tokenChar(40),this.print(e.typeAnnotation),this.tokenChar(41)},t.TSPropertySignature=function(e){const{readonly:t}=e;t&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(e),this.print(e.typeAnnotation),n(this,e)},t.TSQualifiedName=function(e){this.print(e.left),this.tokenChar(46),this.print(e.right)},t.TSRestType=function(e){this.token("..."),this.print(e.typeAnnotation)},t.TSStringKeyword=function(){this.word("string")},t.TSSymbolKeyword=function(){this.word("symbol")},t.TSTemplateLiteralType=function(e){this._printTemplate(e,e.types)},t.TSThisType=function(){this.word("this")},t.TSTupleType=function(e){this.tokenChar(91),this.printList(e.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)},t.TSTypeAliasDeclaration=function(e){const{declare:t,id:n,typeParameters:r,typeAnnotation:i}=e;t&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(n),this.print(r),this.space(),this.tokenChar(61),this.space(),this.print(i),this.semicolon()},t.TSTypeAnnotation=function(e,t){this.token("TSFunctionType"!==t.type&&"TSConstructorType"!==t.type||t.typeAnnotation!==e?":":"=>"),this.space(),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)},t.TSTypeAssertion=function(e){const{typeAnnotation:t,expression:n}=e;this.tokenChar(60),this.print(t),this.tokenChar(62),this.space(),this.print(n)},t.TSTypeLiteral=function(e){o(this,e,(()=>this.printJoin(e.members,!0,!0)))},t.TSTypeOperator=function(e){this.word(e.operator),this.space(),this.print(e.typeAnnotation)},t.TSTypeParameter=function(e){e.const&&(this.word("const"),this.space()),e.in&&(this.word("in"),this.space()),e.out&&(this.word("out"),this.space()),this.word(e.name),e.constraint&&(this.space(),this.word("extends"),this.space(),this.print(e.constraint)),e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default))},t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=function(e,t){this.tokenChar(60);let n="ArrowFunctionExpression"===t.type&&1===e.params.length;this.tokenMap&&null!=e.start&&null!=e.end&&(n&&(n=!!this.tokenMap.find(e,(e=>this.tokenMap.matchesOriginal(e,",")))),n||(n=this.shouldPrintTrailingComma(">"))),this.printList(e.params,n),this.tokenChar(62)},t.TSTypePredicate=function(e){e.asserts&&(this.word("asserts"),this.space()),this.print(e.parameterName),e.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(e.typeAnnotation.typeAnnotation))},t.TSTypeQuery=function(e){this.word("typeof"),this.space(),this.print(e.exprName);const t=e.typeParameters;t&&this.print(t)},t.TSTypeReference=function(e){const t=e.typeParameters;this.print(e.typeName,!!t),this.print(t)},t.TSUndefinedKeyword=function(){this.word("undefined")},t.TSUnionType=function(e){r(this,e,"|")},t.TSUnknownKeyword=function(){this.word("unknown")},t.TSVoidKeyword=function(){this.word("void")},t.tsPrintClassMemberModifiers=function(e){const t="ClassPrivateProperty"===e.type,n="ClassAccessorProperty"===e.type||"ClassProperty"===e.type;a(this,e,[n&&e.declare&&"declare",!t&&e.accessibility]),e.static&&(this.word("static"),this.space()),a(this,e,[!t&&e.abstract&&"abstract",!t&&e.override&&"override",(n||t)&&e.readonly&&"readonly"])},t.tsPrintFunctionOrConstructorType=function(e){const{typeParameters:t}=e,n=e.parameters;this.print(t),this.tokenChar(40),this._parameters(n,")"),this.space();const r=e.typeAnnotation;this.print(r)},t.tsPrintPropertyOrMethodName=function(e){e.computed&&this.tokenChar(91),this.print(e.key),e.computed&&this.tokenChar(93),e.optional&&this.tokenChar(63)},t.tsPrintSignatureDeclarationBase=function(e){const{typeParameters:t}=e,n=e.parameters;this.print(t),this.tokenChar(40),this._parameters(n,")");const r=e.typeAnnotation;this.print(r)}},9978:(e,t,n)=>{"use strict";n.d(t,{E_:()=>s,FJ:()=>r,TQ:()=>i});var r="@next-tsx/core",i=["callApi","callHttp","callTool","callProvider","copyText","showDialog"],s=["push","replace","reload","pushQuery","replaceQuery"]}}]);
|
|
15
|
+
//# sourceMappingURL=6746.c32f150c.js.map
|