playwright 1.55.1 → 1.56.1
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/README.md +3 -3
- package/ThirdPartyNotices.txt +3 -3
- package/lib/agents/generateAgents.js +263 -0
- package/lib/agents/generator.md +102 -0
- package/lib/agents/healer.md +78 -0
- package/lib/agents/planner.md +135 -0
- package/lib/common/config.js +1 -1
- package/lib/common/expectBundle.js +3 -0
- package/lib/common/expectBundleImpl.js +51 -51
- package/lib/index.js +7 -8
- package/lib/isomorphic/testServerConnection.js +0 -7
- package/lib/isomorphic/testTree.js +35 -8
- package/lib/matchers/expect.js +8 -21
- package/lib/matchers/matcherHint.js +42 -18
- package/lib/matchers/matchers.js +12 -6
- package/lib/matchers/toBeTruthy.js +16 -14
- package/lib/matchers/toEqual.js +18 -13
- package/lib/matchers/toHaveURL.js +12 -27
- package/lib/matchers/toMatchAriaSnapshot.js +26 -30
- package/lib/matchers/toMatchSnapshot.js +15 -12
- package/lib/matchers/toMatchText.js +29 -35
- package/lib/mcp/browser/actions.d.js +16 -0
- package/lib/mcp/browser/browserContextFactory.js +296 -0
- package/lib/mcp/browser/browserServerBackend.js +76 -0
- package/lib/mcp/browser/codegen.js +66 -0
- package/lib/mcp/browser/config.js +383 -0
- package/lib/mcp/browser/context.js +284 -0
- package/lib/mcp/browser/response.js +228 -0
- package/lib/mcp/browser/sessionLog.js +160 -0
- package/lib/mcp/browser/tab.js +277 -0
- package/lib/mcp/browser/tools/common.js +63 -0
- package/lib/mcp/browser/tools/console.js +44 -0
- package/lib/mcp/browser/tools/dialogs.js +60 -0
- package/lib/mcp/browser/tools/evaluate.js +70 -0
- package/lib/mcp/browser/tools/files.js +58 -0
- package/lib/mcp/browser/tools/form.js +74 -0
- package/lib/mcp/browser/tools/install.js +69 -0
- package/lib/mcp/browser/tools/keyboard.js +85 -0
- package/lib/mcp/browser/tools/mouse.js +107 -0
- package/lib/mcp/browser/tools/navigate.js +62 -0
- package/lib/mcp/browser/tools/network.js +54 -0
- package/lib/mcp/browser/tools/pdf.js +59 -0
- package/lib/mcp/browser/tools/screenshot.js +88 -0
- package/lib/mcp/browser/tools/snapshot.js +182 -0
- package/lib/mcp/browser/tools/tabs.js +67 -0
- package/lib/mcp/browser/tools/tool.js +49 -0
- package/lib/mcp/browser/tools/tracing.js +74 -0
- package/lib/mcp/browser/tools/utils.js +100 -0
- package/lib/mcp/browser/tools/verify.js +154 -0
- package/lib/mcp/browser/tools/wait.js +63 -0
- package/lib/mcp/browser/tools.js +80 -0
- package/lib/mcp/browser/watchdog.js +44 -0
- package/lib/mcp/config.d.js +16 -0
- package/lib/mcp/extension/cdpRelay.js +351 -0
- package/lib/mcp/extension/extensionContextFactory.js +75 -0
- package/lib/mcp/extension/protocol.js +28 -0
- package/lib/mcp/index.js +61 -0
- package/lib/mcp/{tool.js → log.js} +12 -18
- package/lib/mcp/program.js +96 -0
- package/lib/mcp/{bundle.js → sdk/bundle.js} +24 -2
- package/lib/mcp/{exports.js → sdk/exports.js} +12 -10
- package/lib/mcp/{transport.js → sdk/http.js} +79 -60
- package/lib/mcp/sdk/mdb.js +208 -0
- package/lib/mcp/{proxyBackend.js → sdk/proxyBackend.js} +18 -13
- package/lib/mcp/sdk/server.js +190 -0
- package/lib/mcp/sdk/tool.js +51 -0
- package/lib/mcp/test/browserBackend.js +98 -0
- package/lib/mcp/test/generatorTools.js +122 -0
- package/lib/mcp/test/plannerTools.js +46 -0
- package/lib/mcp/test/seed.js +72 -0
- package/lib/mcp/test/streams.js +39 -0
- package/lib/mcp/test/testBackend.js +97 -0
- package/lib/mcp/test/testContext.js +176 -0
- package/lib/mcp/test/testTool.js +30 -0
- package/lib/mcp/test/testTools.js +115 -0
- package/lib/mcpBundleImpl.js +14 -67
- package/lib/plugins/webServerPlugin.js +2 -0
- package/lib/program.js +68 -0
- package/lib/reporters/base.js +15 -17
- package/lib/reporters/html.js +39 -26
- package/lib/reporters/list.js +8 -4
- package/lib/reporters/listModeReporter.js +6 -3
- package/lib/reporters/merge.js +3 -1
- package/lib/reporters/teleEmitter.js +3 -1
- package/lib/runner/dispatcher.js +9 -23
- package/lib/runner/failureTracker.js +12 -16
- package/lib/runner/loadUtils.js +39 -3
- package/lib/runner/projectUtils.js +8 -2
- package/lib/runner/tasks.js +18 -7
- package/lib/runner/testRunner.js +16 -28
- package/lib/runner/testServer.js +17 -23
- package/lib/runner/watchMode.js +1 -53
- package/lib/runner/workerHost.js +8 -10
- package/lib/transform/babelBundleImpl.js +10 -10
- package/lib/transform/compilationCache.js +22 -5
- package/lib/util.js +12 -16
- package/lib/utilsBundleImpl.js +1 -1
- package/lib/worker/fixtureRunner.js +15 -7
- package/lib/worker/testInfo.js +9 -24
- package/lib/worker/workerMain.js +12 -8
- package/package.json +7 -3
- package/types/test.d.ts +17 -8
- package/types/testReporter.d.ts +1 -1
- package/lib/mcp/server.js +0 -118
- /package/lib/mcp/{inProcessTransport.js → sdk/inProcessTransport.js} +0 -0
|
@@ -4,9 +4,9 @@ ${i}`)}function K3(e,t){let{stackTraceLimit:r,prepareStackTrace:n}=Error,s;if(Er
|
|
|
4
4
|
`,++r,m===13&&t.charCodeAt(r)===10&&++r,++s,p=n=r):i.unterminated(a,o,l):++r}return{pos:r,str:u,firstInvalidLoc:c,lineStart:n,curLine:s,containsInvalid:!!c}}function t6(e,t,r,n){return e==="template"?t===96||t===36&&r.charCodeAt(n+1)===123:t===(e==="double"?34:39)}function r6(e,t,r,n,s,i){let a=!s;t++;let o=u=>({pos:t,ch:u,lineStart:r,curLine:n}),l=e.charCodeAt(t++);switch(l){case 110:return o(`
|
|
5
5
|
`);case 114:return o("\r");case 120:{let u;return{code:u,pos:t}=Ad(e,t,r,n,2,!1,a,i),o(u===null?null:String.fromCharCode(u))}case 117:{let u;return{code:u,pos:t}=AT(e,t,r,n,a,i),o(u===null?null:String.fromCodePoint(u))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:e.charCodeAt(t)===10&&++t;case 10:r=t,++n;case 8232:case 8233:return o("");case 56:case 57:if(s)return o(null);i.strictNumericEscape(t-1,r,n);default:if(l>=48&&l<=55){let u=t-1,p=/^[0-7]+/.exec(e.slice(u,t+2))[0],d=parseInt(p,8);d>255&&(p=p.slice(0,-1),d=parseInt(p,8)),t+=p.length-1;let m=e.charCodeAt(t);if(p!=="0"||m===56||m===57){if(s)return o(null);i.strictNumericEscape(u,r,n)}return o(String.fromCharCode(d))}return o(String.fromCharCode(l))}}function Ad(e,t,r,n,s,i,a,o){let l=t,u;return{n:u,pos:t}=PT(e,t,r,n,16,s,i,!1,o,!a),u===null&&(a?o.invalidEscapeSequence(l,r,n):t=l-1),{code:u,pos:t}}function PT(e,t,r,n,s,i,a,o,l,u){let c=t,p=s===16?vT.hex:vT.decBinOct,d=s===16?iu.hex:s===10?iu.dec:s===8?iu.oct:iu.bin,m=!1,g=0;for(let f=0,b=i==null?1/0:i;f<b;++f){let T=e.charCodeAt(t),w;if(T===95&&o!=="bail"){let I=e.charCodeAt(t-1),N=e.charCodeAt(t+1);if(o){if(Number.isNaN(N)||!d(N)||p.has(I)||p.has(N)){if(u)return{n:null,pos:t};l.unexpectedNumericSeparator(t,r,n)}}else{if(u)return{n:null,pos:t};l.numericSeparatorInEscapeSequence(t,r,n)}++t;continue}if(T>=97?w=T-97+10:T>=65?w=T-65+10:ZL(T)?w=T-48:w=1/0,w>=s){if(w<=9&&u)return{n:null,pos:t};if(w<=9&&l.invalidDigit(t,r,n,s))w=0;else if(a)w=0,m=!0;else break}++t,g=g*s+w}return t===c||i!=null&&t-c!==i||m?{n:null,pos:t}:{n:g,pos:t}}function AT(e,t,r,n,s,i){let a=e.charCodeAt(t),o;if(a===123){if(++t,{code:o,pos:t}=Ad(e,t,r,n,e.indexOf("}",t)-t,!0,s,i),++t,o!==null&&o>1114111)if(s)i.invalidCodePoint(t,r,n);else return{code:null,pos:t}}else({code:o,pos:t}=Ad(e,t,r,n,4,!1,s,i));return{code:o,pos:t}}});var oa=x(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.UPDATE_OPERATORS=He.UNARY_OPERATORS=He.STRING_UNARY_OPERATORS=He.STATEMENT_OR_BLOCK_KEYS=He.NUMBER_UNARY_OPERATORS=He.NUMBER_BINARY_OPERATORS=He.LOGICAL_OPERATORS=He.INHERIT_KEYS=He.FOR_INIT_KEYS=He.FLATTENABLE_KEYS=He.EQUALITY_BINARY_OPERATORS=He.COMPARISON_BINARY_OPERATORS=He.COMMENT_KEYS=He.BOOLEAN_UNARY_OPERATORS=He.BOOLEAN_NUMBER_BINARY_OPERATORS=He.BOOLEAN_BINARY_OPERATORS=He.BINARY_OPERATORS=He.ASSIGNMENT_OPERATORS=void 0;var Kxe=He.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],Hxe=He.FLATTENABLE_KEYS=["body","expressions"],Gxe=He.FOR_INIT_KEYS=["left","init"],Xxe=He.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"],n6=He.LOGICAL_OPERATORS=["||","&&","??"],Yxe=He.UPDATE_OPERATORS=["++","--"],s6=He.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],i6=He.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],a6=He.COMPARISON_BINARY_OPERATORS=[...i6,"in","instanceof"],o6=He.BOOLEAN_BINARY_OPERATORS=[...a6,...s6],DT=He.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],Jxe=He.BINARY_OPERATORS=["+",...DT,...o6,"|>"],zxe=He.ASSIGNMENT_OPERATORS=["=","+=",...DT.map(e=>e+"="),...n6.map(e=>e+"=")],l6=He.BOOLEAN_UNARY_OPERATORS=["delete","!"],u6=He.NUMBER_UNARY_OPERATORS=["+","-","~"],c6=He.STRING_UNARY_OPERATORS=["typeof"],Qxe=He.UNARY_OPERATORS=["void","throw",...l6,...u6,...c6],Zxe=He.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};He.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),He.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")});var qn=x(at=>{"use strict";Object.defineProperty(at,"__esModule",{value:!0});at.allExpandedTypes=at.VISITOR_KEYS=at.NODE_PARENT_VALIDATIONS=at.NODE_FIELDS=at.FLIPPED_ALIAS_KEYS=at.DEPRECATED_KEYS=at.BUILDER_KEYS=at.ALIAS_KEYS=void 0;at.arrayOf=IT;at.arrayOfType=_T;at.assertEach=NT;at.assertNodeOrValueType=v6;at.assertNodeType=ou;at.assertOneOf=x6;at.assertOptionalChainStart=A6;at.assertShape=P6;at.assertValueType=Id;at.chain=OT;at.default=BT;at.defineAliasedType=w6;at.validate=wd;at.validateArrayOfType=T6;at.validateOptional=b6;at.validateOptionalType=E6;at.validateType=g6;var wT=sa(),Eo=lu(),p6=at.VISITOR_KEYS={},f6=at.ALIAS_KEYS={},Cd=at.FLIPPED_ALIAS_KEYS={},d6=at.NODE_FIELDS={},h6=at.BUILDER_KEYS={},m6=at.DEPRECATED_KEYS={},y6=at.NODE_PARENT_VALIDATIONS={};function au(e){return Array.isArray(e)?"array":e===null?"null":typeof e}function wd(e){return{validate:e}}function g6(...e){return wd(ou(...e))}function b6(e){return{validate:e,optional:!0}}function E6(...e){return{validate:ou(...e),optional:!0}}function IT(e){return OT(Id("array"),NT(e))}function _T(...e){return IT(ou(...e))}function T6(...e){return wd(_T(...e))}function NT(e){let t=process.env.BABEL_TYPES_8_BREAKING?Eo.validateChild:()=>{};function r(n,s,i){if(!Array.isArray(i))return;let a=0,o={toString(){return`${s}[${a}]`}};for(;a<i.length;a++){let l=i[a];e(n,o,l),t(n,o,l)}}return r.each=e,r}function x6(...e){function t(r,n,s){if(!e.includes(s))throw new TypeError(`Property ${n} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(s)}`)}return t.oneOf=e,t}var S6=at.allExpandedTypes=[];function ou(...e){let t=new Set;S6.push({types:e,set:t});function r(n,s,i){let a=i==null?void 0:i.type;if(a!=null){if(t.has(a)){(0,Eo.validateChild)(n,s,i);return}if(a==="Placeholder"){for(let o of e)if((0,wT.default)(o,i)){(0,Eo.validateChild)(n,s,i);return}}}throw new TypeError(`Property ${s} of ${n.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(a)}`)}return r.oneOfNodeTypes=e,r}function v6(...e){function t(r,n,s){let i=au(s);for(let a of e)if(i===a||(0,wT.default)(a,s)){(0,Eo.validateChild)(r,n,s);return}throw new TypeError(`Property ${n} of ${r.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(s==null?void 0:s.type)}`)}return t.oneOfNodeOrValueTypes=e,t}function Id(e){function t(r,n,s){if(au(s)!==e)throw new TypeError(`Property ${n} expected type of ${e} but got ${au(s)}`)}return t.type=e,t}function P6(e){let t=Object.keys(e);function r(n,s,i){let a=[];for(let o of t)try{(0,Eo.validateField)(n,o,i[o],e[o])}catch(l){if(l instanceof TypeError){a.push(l.message);continue}throw l}if(a.length)throw new TypeError(`Property ${s} of ${n.type} expected to have the following:
|
|
6
6
|
${a.join(`
|
|
7
|
-
`)}`)}return r.shapeOf=e,r}function A6(){function e(t){var r;let n=t;for(;t;){let{type:s}=n;if(s==="OptionalCallExpression"){if(n.optional)return;n=n.callee;continue}if(s==="OptionalMemberExpression"){if(n.optional)return;n=n.object;continue}break}throw new TypeError(`Non-optional ${t.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(r=n)==null?void 0:r.type}`)}return e}function OT(...e){function t(...r){for(let n of e)n(...r)}if(t.chainOf=e,e.length>=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return t}var C6=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),D6=new Set(["default","optional","deprecated","validate"]),Dd={};function w6(...e){return(t,r={})=>{let n=r.aliases;if(!n){var s;r.inherits&&(n=(s=Dd[r.inherits].aliases)==null?void 0:s.slice()),n!=null||(n=[]),r.aliases=n}let i=e.filter(a=>!n.includes(a));n.unshift(...i),BT(t,r)}}function BT(e,t={}){let r=t.inherits&&Dd[t.inherits]||{},n=t.fields;if(!n&&(n={},r.fields)){let o=Object.getOwnPropertyNames(r.fields);for(let l of o){let u=r.fields[l],c=u.default;if(Array.isArray(c)?c.length>0:c&&typeof c=="object")throw new Error("field defaults can only be primitives or empty arrays currently");n[l]={default:Array.isArray(c)?[]:c,optional:u.optional,deprecated:u.deprecated,validate:u.validate}}}let s=t.visitor||r.visitor||[],i=t.aliases||r.aliases||[],a=t.builder||r.builder||t.visitor||[];for(let o of Object.keys(t))if(!C6.has(o))throw new Error(`Unknown type option "${o}" on ${e}`);t.deprecatedAlias&&(m6[t.deprecatedAlias]=e);for(let o of s.concat(a))n[o]=n[o]||{};for(let o of Object.keys(n)){let l=n[o];l.default!==void 0&&!a.includes(o)&&(l.optional=!0),l.default===void 0?l.default=null:!l.validate&&l.default!=null&&(l.validate=Id(au(l.default)));for(let u of Object.keys(l))if(!D6.has(u))throw new Error(`Unknown field key "${u}" on ${e}.${o}`)}p6[e]=t.visitor=s,h6[e]=t.builder=a,d6[e]=t.fields=n,f6[e]=t.aliases=i,i.forEach(o=>{Cd[o]=Cd[o]||[],Cd[o].push(e)}),t.validate&&(y6[e]=t.validate),Dd[e]=t}});var To=x(vr=>{"use strict";Object.defineProperty(vr,"__esModule",{value:!0});vr.patternLikeCommon=vr.importAttributes=vr.functionTypeAnnotationCommon=vr.functionDeclarationCommon=vr.functionCommon=vr.classMethodOrPropertyCommon=vr.classMethodOrDeclareMethodCommon=void 0;var Nr=sa(),I6=aa(),kT=ia(),_6=CT(),la=oa(),D=qn(),oe=(0,D.defineAliasedType)("Standardized");oe("ArrayExpression",{fields:{elements:{validate:(0,D.arrayOf)((0,D.assertNodeOrValueType)("null","Expression","SpreadElement")),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]});oe("AssignmentExpression",{fields:{operator:{validate:process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(){let e=(0,D.assertOneOf)(...la.ASSIGNMENT_OPERATORS),t=(0,D.assertOneOf)("=");return function(r,n,s){((0,Nr.default)("Pattern",r.left)?t:e)(r,n,s)}}(),{oneOf:la.ASSIGNMENT_OPERATORS}):(0,D.assertValueType)("string")},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,D.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,D.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});oe("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,D.assertOneOf)(...la.BINARY_OPERATORS)},left:{validate:function(){let e=(0,D.assertNodeType)("Expression"),t=(0,D.assertNodeType)("Expression","PrivateName");return Object.assign(function(n,s,i){(n.operator==="in"?t:e)(n,s,i)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:(0,D.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});oe("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}}});oe("Directive",{visitor:["value"],fields:{value:{validate:(0,D.assertNodeType)("DirectiveLiteral")}}});oe("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}}});oe("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,D.arrayOfType)("Directive"),default:[]},body:(0,D.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]});oe("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,D.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});oe("CallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,D.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:(0,D.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:(0,D.assertNodeType)("TypeParameterInstantiation"),optional:!0}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,D.assertValueType)("boolean"),optional:!0},typeParameters:{validate:(0,D.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})});oe("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,D.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,D.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});oe("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,D.assertNodeType)("Expression")},consequent:{validate:(0,D.assertNodeType)("Expression")},alternate:{validate:(0,D.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});oe("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,D.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});oe("DebuggerStatement",{aliases:["Statement"]});oe("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});oe("EmptyStatement",{aliases:["Statement"]});oe("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,D.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});oe("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,D.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.assertEach)((0,D.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,D.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}});oe("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,D.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")}}});oe("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,D.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,D.assertNodeType)("Expression"),optional:!0},update:{validate:(0,D.assertNodeType)("Expression"),optional:!0},body:{validate:(0,D.assertNodeType)("Statement")}}});var ua=()=>({params:(0,D.validateArrayOfType)("FunctionParameter"),generator:{default:!1},async:{default:!1}});vr.functionCommon=ua;var di=()=>({returnType:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,D.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});vr.functionTypeAnnotationCommon=di;var FT=()=>Object.assign({},ua(),{declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},id:{validate:(0,D.assertNodeType)("Identifier"),optional:!0}});vr.functionDeclarationCommon=FT;oe("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},FT(),di(),{body:{validate:(0,D.assertNodeType)("BlockStatement")},predicate:{validate:(0,D.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:process.env.BABEL_TYPES_8_BREAKING?function(){let e=(0,D.assertNodeType)("Identifier");return function(t,r,n){(0,Nr.default)("ExportDefaultDeclaration",t)||e(n,"id",n.id)}}():void 0});oe("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},ua(),di(),{id:{validate:(0,D.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,D.assertNodeType)("BlockStatement")},predicate:{validate:(0,D.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});var ca=()=>({typeAnnotation:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,D.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0}});vr.patternLikeCommon=ca;oe("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","FunctionParameter","PatternLike","LVal","TSEntityName"],fields:Object.assign({},ca(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertValueType)("string"),Object.assign(function(e,t,r){if(!(0,I6.default)(r,!1))throw new TypeError(`"${r}" is not a valid identifier name`)},{type:"string"})):(0,D.assertValueType)("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(e,t,r){let n=/\.(\w+)$/.exec(t.toString());if(!n)return;let[,s]=n,i={computed:!1};if(s==="property"){if((0,Nr.default)("MemberExpression",e,i)||(0,Nr.default)("OptionalMemberExpression",e,i))return}else if(s==="key"){if((0,Nr.default)("Property",e,i)||(0,Nr.default)("Method",e,i))return}else if(s==="exported"){if((0,Nr.default)("ExportSpecifier",e))return}else if(s==="imported"){if((0,Nr.default)("ImportSpecifier",e,{imported:r}))return}else if(s==="meta"&&(0,Nr.default)("MetaProperty",e,{meta:r}))return;if(((0,kT.isKeyword)(r.name)||(0,kT.isReservedWord)(r.name,!1))&&r.name!=="this")throw new TypeError(`"${r.name}" is not a valid identifier`)}:void 0});oe("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,D.assertNodeType)("Expression")},consequent:{validate:(0,D.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,D.assertNodeType)("Statement")}}});oe("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,D.assertNodeType)("Identifier")},body:{validate:(0,D.assertNodeType)("Statement")}}});oe("StringLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});oe("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,D.chain)((0,D.assertValueType)("number"),Object.assign(function(e,t,r){if(1/r<0||!Number.isFinite(r)){let n=new Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${r}) instead.`)}},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]});oe("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});oe("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});oe("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,D.assertValueType)("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertValueType)("string"),Object.assign(function(e,t,r){let n=/[^gimsuy]/.exec(r);if(n)throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)},{type:"string"})):(0,D.assertValueType)("string"),default:""}}});oe("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,D.assertOneOf)(...la.LOGICAL_OPERATORS)},left:{validate:(0,D.assertNodeType)("Expression")},right:{validate:(0,D.assertNodeType)("Expression")}}});oe("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal","PatternLike"],fields:Object.assign({object:{validate:(0,D.assertNodeType)("Expression","Super")},property:{validate:function(){let e=(0,D.assertNodeType)("Identifier","PrivateName"),t=(0,D.assertNodeType)("Expression"),r=function(n,s,i){(n.computed?t:e)(n,s,i)};return r.oneOfNodeTypes=["Expression","Identifier","PrivateName"],r}()},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,D.assertValueType)("boolean"),optional:!0}})});oe("NewExpression",{inherits:"CallExpression"});oe("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,D.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,D.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,D.arrayOfType)("Directive"),default:[]},body:(0,D.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block"]});oe("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,D.validateArrayOfType)("ObjectMethod","ObjectProperty","SpreadElement")}});oe("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},ua(),di(),{kind:Object.assign({validate:(0,D.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:function(){let e=(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=(0,D.assertNodeType)("Expression"),r=function(n,s,i){(n.computed?t:e)(n,s,i)};return r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],r}()},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0},body:{validate:(0,D.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});oe("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:function(){let e=(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),t=(0,D.assertNodeType)("Expression");return Object.assign(function(n,s,i){(n.computed?t:e)(n,s,i)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:(0,D.assertNodeType)("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertValueType)("boolean"),Object.assign(function(e,t,r){if(r){if(e.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!(0,Nr.default)("Identifier",e.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}},{type:"boolean"})):(0,D.assertValueType)("boolean"),default:!1},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0}},visitor:["decorators","key","value"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:process.env.BABEL_TYPES_8_BREAKING?function(){let e=(0,D.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),t=(0,D.assertNodeType)("Expression");return function(r,n,s){((0,Nr.default)("ObjectPattern",r)?e:t)(s,"value",s.value)}}():void 0});oe("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["FunctionParameter","PatternLike","LVal"],deprecatedAlias:"RestProperty",fields:Object.assign({},ca(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,D.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression","RestElement","AssignmentPattern")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(e,t){let r=/(\w+)\[(\d+)\]/.exec(t.toString());if(!r)throw new Error("Internal Babel error: malformed key.");let[,n,s]=r;if(e[n].length>+s+1)throw new TypeError(`RestElement must be last element of ${n}`)}:void 0});oe("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,D.assertNodeType)("Expression"),optional:!0}}});oe("SequenceExpression",{visitor:["expressions"],fields:{expressions:(0,D.validateArrayOfType)("Expression")},aliases:["Expression"]});oe("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,D.assertNodeType)("Expression")}}});oe("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,D.assertNodeType)("Expression"),optional:!0},consequent:(0,D.validateArrayOfType)("Statement")}});oe("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,D.assertNodeType)("Expression")},cases:(0,D.validateArrayOfType)("SwitchCase")}});oe("ThisExpression",{aliases:["Expression"]});oe("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,D.assertNodeType)("Expression")}}});oe("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!e.handler&&!e.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):(0,D.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,D.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,D.assertNodeType)("BlockStatement")}}});oe("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,D.assertNodeType)("Expression")},operator:{validate:(0,D.assertOneOf)(...la.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});oe("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.assertNodeType)("Identifier","MemberExpression"):(0,D.assertNodeType)("Expression")},operator:{validate:(0,D.assertOneOf)(...la.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});oe("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},kind:{validate:(0,D.assertOneOf)("var","let","const","using","await using")},declarations:(0,D.validateArrayOfType)("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(()=>{let e=(0,D.assertNodeType)("Identifier","Placeholder"),t=(0,D.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","Placeholder"),r=(0,D.assertNodeType)("Identifier","VoidPattern","Placeholder");return function(n,s,i){let{kind:a,declarations:o}=i,l=(0,Nr.default)("ForXStatement",n,{left:i});if(l&&o.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${n.type}`);for(let u of o)a==="const"||a==="let"||a==="var"?!l&&!u.init?e(u,"id",u.id):t(u,"id",u.id):r(u,"id",u.id)}})():void 0});oe("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","VoidPattern"):(0,D.assertNodeType)("LVal","VoidPattern")},definite:{optional:!0,validate:(0,D.assertValueType)("boolean")},init:{optional:!0,validate:(0,D.assertNodeType)("Expression")}}});oe("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")}}});oe("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")}}});oe("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},ca(),{left:{validate:(0,D.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,D.assertNodeType)("Expression")},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0}})});oe("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},ca(),{elements:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeOrValueType)("null","PatternLike")))}})});oe("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},ua(),di(),{expression:{validate:(0,D.assertValueType)("boolean")},body:{validate:(0,D.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,D.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});oe("ClassBody",{visitor:["body"],fields:{body:(0,D.validateArrayOfType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}});oe("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,D.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,D.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,D.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,D.assertNodeType)("Expression")},superTypeParameters:{validate:(0,D.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,D.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,D.assertNodeType)("InterfaceExtends"),optional:!0}}});oe("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,D.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,D.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,D.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,D.assertNodeType)("Expression")},superTypeParameters:{validate:(0,D.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,D.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,D.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,D.assertValueType)("boolean"),optional:!0}},validate:process.env.BABEL_TYPES_8_BREAKING?function(){let e=(0,D.assertNodeType)("Identifier");return function(t,r,n){(0,Nr.default)("ExportDefaultDeclaration",t)||e(n,"id",n.id)}}():void 0});var _d=vr.importAttributes={attributes:{optional:!0,validate:(0,D.arrayOfType)("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:(0,D.arrayOfType)("ImportAttribute")}};oe("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:(0,D.assertNodeType)("StringLiteral")},exportKind:(0,D.validateOptional)((0,D.assertOneOf)("type","value"))},_d)});oe("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:(0,D.validateType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:(0,D.validateOptional)((0,D.assertOneOf)("value"))}});oe("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(r&&e.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(r&&e.source)throw new TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):(0,D.assertNodeType)("Declaration")}},_d,{specifiers:{default:[],validate:(0,D.arrayOf)(function(){let e=(0,D.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),t=(0,D.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(r,n,s){(r.source?e:t)(r,n,s)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):e}())},source:{validate:(0,D.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,D.validateOptional)((0,D.assertOneOf)("type","value"))})});oe("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,D.assertNodeType)("Identifier")},exported:{validate:(0,D.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,D.assertOneOf)("type","value"),optional:!0}}});oe("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,D.assertNodeType)("VariableDeclaration","LVal");let e=(0,D.assertNodeType)("VariableDeclaration"),t=(0,D.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(r,n,s){(0,Nr.default)("VariableDeclaration",s)?e(r,n,s):t(r,n,s)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})}()},right:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")},await:{default:!1}}});oe("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},_d,{module:{optional:!0,validate:(0,D.assertValueType)("boolean")},phase:{default:null,validate:(0,D.assertOneOf)("source","defer")},specifiers:(0,D.validateArrayOfType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:(0,D.assertNodeType)("StringLiteral")},importKind:{validate:(0,D.assertOneOf)("type","typeof","value"),optional:!0}})});oe("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,D.assertNodeType)("Identifier")}}});oe("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,D.assertNodeType)("Identifier")}}});oe("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,D.assertNodeType)("Identifier")},imported:{validate:(0,D.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,D.assertOneOf)("type","typeof","value"),optional:!0}}});oe("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,D.assertOneOf)("source","defer")},source:{validate:(0,D.assertNodeType)("Expression")},options:{validate:(0,D.assertNodeType)("Expression"),optional:!0}}});oe("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertNodeType)("Identifier"),Object.assign(function(e,t,r){let n;switch(r.name){case"function":n="sent";break;case"new":n="target";break;case"import":n="meta";break}if(!(0,Nr.default)("Identifier",e.property,{name:n}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):(0,D.assertNodeType)("Identifier")},property:{validate:(0,D.assertNodeType)("Identifier")}}});var uu=()=>({abstract:{validate:(0,D.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,D.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,D.assertValueType)("boolean"),optional:!0},key:{validate:(0,D.chain)(function(){let e=(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=(0,D.assertNodeType)("Expression");return function(r,n,s){(r.computed?t:e)(r,n,s)}}(),(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});vr.classMethodOrPropertyCommon=uu;var Nd=()=>Object.assign({},ua(),uu(),{params:(0,D.validateArrayOfType)("FunctionParameter","TSParameterProperty"),kind:{validate:(0,D.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,D.chain)((0,D.assertValueType)("string"),(0,D.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0}});vr.classMethodOrDeclareMethodCommon=Nd;oe("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},Nd(),di(),{body:{validate:(0,D.assertNodeType)("BlockStatement")}})});oe("ObjectPattern",{visitor:["decorators","properties","typeAnnotation"],builder:["properties"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},ca(),{properties:(0,D.validateArrayOfType)("RestElement","ObjectProperty")})});oe("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,D.assertNodeType)("Expression")}}});oe("Super",{aliases:["Expression"]});oe("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,D.assertNodeType)("Expression")},quasi:{validate:(0,D.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,D.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});oe("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,D.chain)((0,D.assertShape)({raw:{validate:(0,D.assertValueType)("string")},cooked:{validate:(0,D.assertValueType)("string"),optional:!0}}),function(t){let r=t.value.raw,n=!1,s=()=>{throw new Error("Internal @babel/types error.")},{str:i,firstInvalidLoc:a}=(0,_6.readStringContents)("template",r,0,0,0,{unterminated(){n=!0},strictNumericEscape:s,invalidEscapeSequence:s,numericSeparatorInEscapeSequence:s,unexpectedNumericSeparator:s,invalidDigit:s,invalidCodePoint:s});if(!n)throw new Error("Invalid raw");t.value.cooked=a?null:i})},tail:{default:!1}}});oe("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:(0,D.validateArrayOfType)("TemplateElement"),expressions:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1)throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.
|
|
8
|
-
Expected ${r.length+1} quasis but got ${e.quasis.length}`)})}}});oe("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertValueType)("boolean"),Object.assign(function(e,t,r){if(r&&!e.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):(0,D.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,D.assertNodeType)("Expression")}}});oe("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,D.assertNodeType)("Expression")}}});oe("Import",{aliases:["Expression"]});oe("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});oe("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,D.assertNodeType)("Identifier")}}});oe("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,D.assertNodeType)("Expression")},property:{validate:function(){let e=(0,D.assertNodeType)("Identifier"),t=(0,D.assertNodeType)("Expression");return Object.assign(function(n,s,i){(n.computed?t:e)(n,s,i)},{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertValueType)("boolean"),(0,D.assertOptionalChainStart)()):(0,D.assertValueType)("boolean")}}});oe("OptionalCallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,D.assertNodeType)("Expression")},arguments:(0,D.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertValueType)("boolean"),(0,D.assertOptionalChainStart)()):(0,D.assertValueType)("boolean")},typeArguments:{validate:(0,D.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,D.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})});oe("ClassProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},uu(),{value:{validate:(0,D.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,D.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,D.assertValueType)("boolean"),optional:!0},declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},variance:{validate:(0,D.assertNodeType)("Variance"),optional:!0}})});oe("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},uu(),{key:{validate:(0,D.chain)(function(){let e=(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),t=(0,D.assertNodeType)("Expression");return function(r,n,s){(r.computed?t:e)(r,n,s)}}(),(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,D.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,D.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,D.assertValueType)("boolean"),optional:!0},declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},variance:{validate:(0,D.assertNodeType)("Variance"),optional:!0}})});oe("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,D.assertNodeType)("PrivateName")},value:{validate:(0,D.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0},static:{validate:(0,D.assertValueType)("boolean"),default:!1},readonly:{validate:(0,D.assertValueType)("boolean"),optional:!0},optional:{validate:(0,D.assertValueType)("boolean"),optional:!0},definite:{validate:(0,D.assertValueType)("boolean"),optional:!0},variance:{validate:(0,D.assertNodeType)("Variance"),optional:!0}}});oe("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},Nd(),di(),{kind:{validate:(0,D.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,D.assertNodeType)("PrivateName")},body:{validate:(0,D.assertNodeType)("BlockStatement")}})});oe("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,D.assertNodeType)("Identifier")}}});oe("StaticBlock",{visitor:["body"],fields:{body:(0,D.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]});oe("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,D.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,D.assertNodeType)("StringLiteral")}}})});var jT=x(()=>{"use strict";var LT=To(),M=qn(),Pe=(0,M.defineAliasedType)("Flow"),Od=e=>{let t=e==="DeclareClass";Pe(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...t?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,M.validateType)("Identifier"),typeParameters:(0,M.validateOptionalType)("TypeParameterDeclaration"),extends:(0,M.validateOptional)((0,M.arrayOfType)("InterfaceExtends"))},t?{mixins:(0,M.validateOptional)((0,M.arrayOfType)("InterfaceExtends")),implements:(0,M.validateOptional)((0,M.arrayOfType)("ClassImplements"))}:{},{body:(0,M.validateType)("ObjectTypeAnnotation")})})};Pe("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,M.validateType)("FlowType")}});Pe("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,M.validate)((0,M.assertValueType)("boolean"))}});Pe("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,M.validateType)("Identifier"),typeParameters:(0,M.validateOptionalType)("TypeParameterInstantiation")}});Od("DeclareClass");Pe("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,M.validateType)("Identifier"),predicate:(0,M.validateOptionalType)("DeclaredPredicate")}});Od("DeclareInterface");Pe("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,M.validateType)("Identifier","StringLiteral"),body:(0,M.validateType)("BlockStatement"),kind:(0,M.validateOptional)((0,M.assertOneOf)("CommonJS","ES"))}});Pe("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,M.validateType)("TypeAnnotation")}});Pe("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,M.validateType)("Identifier"),typeParameters:(0,M.validateOptionalType)("TypeParameterDeclaration"),right:(0,M.validateType)("FlowType")}});Pe("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,M.validateType)("Identifier"),typeParameters:(0,M.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,M.validateOptionalType)("FlowType"),impltype:(0,M.validateOptionalType)("FlowType")}});Pe("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,M.validateType)("Identifier")}});Pe("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:(0,M.validateOptionalType)("Flow"),specifiers:(0,M.validateOptional)((0,M.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,M.validateOptionalType)("StringLiteral"),default:(0,M.validateOptional)((0,M.assertValueType)("boolean"))},LT.importAttributes)});Pe("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:(0,M.validateType)("StringLiteral"),exportKind:(0,M.validateOptional)((0,M.assertOneOf)("type","value"))},LT.importAttributes)});Pe("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,M.validateType)("Flow")}});Pe("ExistsTypeAnnotation",{aliases:["FlowType"]});Pe("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,M.validateOptionalType)("TypeParameterDeclaration"),params:(0,M.validateArrayOfType)("FunctionTypeParam"),rest:(0,M.validateOptionalType)("FunctionTypeParam"),this:(0,M.validateOptionalType)("FunctionTypeParam"),returnType:(0,M.validateType)("FlowType")}});Pe("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,M.validateOptionalType)("Identifier"),typeAnnotation:(0,M.validateType)("FlowType"),optional:(0,M.validateOptional)((0,M.assertValueType)("boolean"))}});Pe("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,M.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,M.validateOptionalType)("TypeParameterInstantiation")}});Pe("InferredPredicate",{aliases:["FlowPredicate"]});Pe("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,M.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,M.validateOptionalType)("TypeParameterInstantiation")}});Od("InterfaceDeclaration");Pe("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,M.validateOptional)((0,M.arrayOfType)("InterfaceExtends")),body:(0,M.validateType)("ObjectTypeAnnotation")}});Pe("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,M.validate)((0,M.arrayOfType)("FlowType"))}});Pe("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,M.validateType)("FlowType")}});Pe("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,M.validate)((0,M.assertValueType)("number"))}});Pe("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,M.validate)((0,M.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,M.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,M.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,M.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,M.assertValueType)("boolean"),default:!1},inexact:(0,M.validateOptional)((0,M.assertValueType)("boolean"))}});Pe("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,M.validateType)("Identifier"),value:(0,M.validateType)("FlowType"),optional:(0,M.validate)((0,M.assertValueType)("boolean")),static:(0,M.validate)((0,M.assertValueType)("boolean")),method:(0,M.validate)((0,M.assertValueType)("boolean"))}});Pe("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,M.validateType)("FlowType"),static:(0,M.validate)((0,M.assertValueType)("boolean"))}});Pe("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,M.validateOptionalType)("Identifier"),key:(0,M.validateType)("FlowType"),value:(0,M.validateType)("FlowType"),static:(0,M.validate)((0,M.assertValueType)("boolean")),variance:(0,M.validateOptionalType)("Variance")}});Pe("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,M.validateType)("Identifier","StringLiteral"),value:(0,M.validateType)("FlowType"),kind:(0,M.validate)((0,M.assertOneOf)("init","get","set")),static:(0,M.validate)((0,M.assertValueType)("boolean")),proto:(0,M.validate)((0,M.assertValueType)("boolean")),optional:(0,M.validate)((0,M.assertValueType)("boolean")),variance:(0,M.validateOptionalType)("Variance"),method:(0,M.validate)((0,M.assertValueType)("boolean"))}});Pe("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,M.validateType)("FlowType")}});Pe("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,M.validateType)("Identifier"),typeParameters:(0,M.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,M.validateOptionalType)("FlowType"),impltype:(0,M.validateType)("FlowType")}});Pe("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,M.validateType)("Identifier"),qualification:(0,M.validateType)("Identifier","QualifiedTypeIdentifier")}});Pe("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,M.validate)((0,M.assertValueType)("string"))}});Pe("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,M.validate)((0,M.arrayOfType)("FlowType"))}});Pe("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,M.validateType)("FlowType")}});Pe("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,M.validateType)("Identifier"),typeParameters:(0,M.validateOptionalType)("TypeParameterDeclaration"),right:(0,M.validateType)("FlowType")}});Pe("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,M.validateType)("FlowType")}});Pe("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,M.validateType)("Expression"),typeAnnotation:(0,M.validateType)("TypeAnnotation")}});Pe("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,M.validate)((0,M.assertValueType)("string")),bound:(0,M.validateOptionalType)("TypeAnnotation"),default:(0,M.validateOptionalType)("FlowType"),variance:(0,M.validateOptionalType)("Variance")}});Pe("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,M.validate)((0,M.arrayOfType)("TypeParameter"))}});Pe("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,M.validate)((0,M.arrayOfType)("FlowType"))}});Pe("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,M.validate)((0,M.arrayOfType)("FlowType"))}});Pe("Variance",{builder:["kind"],fields:{kind:(0,M.validate)((0,M.assertOneOf)("minus","plus"))}});Pe("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,M.validateType)("Identifier"),body:(0,M.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}});Pe("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,M.validate)((0,M.assertValueType)("boolean")),members:(0,M.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,M.validate)((0,M.assertValueType)("boolean"))}});Pe("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,M.validate)((0,M.assertValueType)("boolean")),members:(0,M.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,M.validate)((0,M.assertValueType)("boolean"))}});Pe("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,M.validate)((0,M.assertValueType)("boolean")),members:(0,M.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,M.validate)((0,M.assertValueType)("boolean"))}});Pe("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,M.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,M.validate)((0,M.assertValueType)("boolean"))}});Pe("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:(0,M.validateType)("Identifier"),init:(0,M.validateType)("BooleanLiteral")}});Pe("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,M.validateType)("Identifier"),init:(0,M.validateType)("NumericLiteral")}});Pe("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,M.validateType)("Identifier"),init:(0,M.validateType)("StringLiteral")}});Pe("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,M.validateType)("Identifier")}});Pe("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,M.validateType)("FlowType"),indexType:(0,M.validateType)("FlowType")}});Pe("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,M.validateType)("FlowType"),indexType:(0,M.validateType)("FlowType"),optional:(0,M.validate)((0,M.assertValueType)("boolean"))}})});var MT=x(()=>{"use strict";var Mt=qn(),Or=(0,Mt.defineAliasedType)("JSX");Or("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,Mt.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,Mt.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});Or("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,Mt.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});Or("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,Mt.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,Mt.assertNodeType)("JSXClosingElement")},children:(0,Mt.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:(0,Mt.assertValueType)("boolean"),optional:!0}})});Or("JSXEmptyExpression",{});Or("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,Mt.assertNodeType)("Expression","JSXEmptyExpression")}}});Or("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,Mt.assertNodeType)("Expression")}}});Or("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,Mt.assertValueType)("string")}}});Or("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,Mt.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,Mt.assertNodeType)("JSXIdentifier")}}});Or("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,Mt.assertNodeType)("JSXIdentifier")},name:{validate:(0,Mt.assertNodeType)("JSXIdentifier")}}});Or("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:(0,Mt.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:(0,Mt.validateArrayOfType)("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:(0,Mt.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,Mt.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})});Or("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,Mt.assertNodeType)("Expression")}}});Or("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,Mt.assertValueType)("string")}}});Or("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,Mt.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,Mt.assertNodeType)("JSXClosingFragment")},children:(0,Mt.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}});Or("JSXOpeningFragment",{aliases:["Immutable"]});Or("JSXClosingFragment",{aliases:["Immutable"]})});var Fd=x(Ns=>{"use strict";Object.defineProperty(Ns,"__esModule",{value:!0});Ns.PLACEHOLDERS_FLIPPED_ALIAS=Ns.PLACEHOLDERS_ALIAS=Ns.PLACEHOLDERS=void 0;var N6=qn(),O6=Ns.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],kd=Ns.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let e of O6){let t=N6.ALIAS_KEYS[e];t!=null&&t.length&&(kd[e]=t)}var Bd=Ns.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(kd).forEach(e=>{kd[e].forEach(t=>{hasOwnProperty.call(Bd,t)||(Bd[t]=[]),Bd[t].push(e)})})});var RT=x(()=>{"use strict";var cu=qn(),B6=Fd(),k6=To(),Ld=(0,cu.defineAliasedType)("Miscellaneous");Ld("Noop",{visitor:[]});Ld("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:(0,cu.assertNodeType)("Identifier")},expectedNode:{validate:(0,cu.assertOneOf)(...B6.PLACEHOLDERS)}},(0,k6.patternLikeCommon)())});Ld("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,cu.assertValueType)("string")}}})});var qT=x(()=>{"use strict";var It=qn();(0,It.default)("ArgumentPlaceholder",{});(0,It.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,It.assertNodeType)("Expression")},callee:{validate:(0,It.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}});(0,It.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,It.assertNodeType)("Expression")}}});(0,It.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,It.assertNodeType)("BlockStatement")},async:{validate:(0,It.assertValueType)("boolean"),default:!1}}});(0,It.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,It.assertNodeType)("Identifier")}}});(0,It.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,It.validateArrayOfType)("ObjectProperty","SpreadElement")}});(0,It.default)("TupleExpression",{fields:{elements:{validate:(0,It.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,It.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,It.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,It.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,It.assertNodeType)("Program")}},aliases:["Expression"]});(0,It.default)("TopicReference",{aliases:["Expression"]});(0,It.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,It.assertNodeType)("Expression")}},aliases:["Expression"]});(0,It.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,It.assertNodeType)("Expression")}},aliases:["Expression"]});(0,It.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,It.default)("VoidPattern",{aliases:["Pattern","PatternLike","FunctionParameter"]})});var XT=x(()=>{"use strict";var Y=qn(),UT=To(),F6=sa(),Oe=(0,Y.defineAliasedType)("TypeScript"),$r=(0,Y.assertValueType)("boolean"),VT=()=>({returnType:{validate:(0,Y.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,Y.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});Oe("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,Y.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,Y.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,Y.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,Y.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,Y.arrayOfType)("Decorator"),optional:!0}}});Oe("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,UT.functionDeclarationCommon)(),VT())});Oe("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,UT.classMethodOrDeclareMethodCommon)(),VT())});Oe("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,Y.validateType)("TSEntityName"),right:(0,Y.validateType)("Identifier")}});var pu=()=>({typeParameters:(0,Y.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,Y.validateArrayOfType)("ArrayPattern","Identifier","ObjectPattern","RestElement"),typeAnnotation:(0,Y.validateOptionalType)("TSTypeAnnotation")}),$T={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:pu()};Oe("TSCallSignatureDeclaration",$T);Oe("TSConstructSignatureDeclaration",$T);var WT=()=>({key:(0,Y.validateType)("Expression"),computed:{default:!1},optional:(0,Y.validateOptional)($r)});Oe("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},WT(),{readonly:(0,Y.validateOptional)($r),typeAnnotation:(0,Y.validateOptionalType)("TSTypeAnnotation"),kind:{optional:!0,validate:(0,Y.assertOneOf)("get","set")}})});Oe("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},pu(),WT(),{kind:{validate:(0,Y.assertOneOf)("method","get","set")}})});Oe("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,Y.validateOptional)($r),static:(0,Y.validateOptional)($r),parameters:(0,Y.validateArrayOfType)("Identifier"),typeAnnotation:(0,Y.validateOptionalType)("TSTypeAnnotation")}});var L6=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let e of L6)Oe(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});Oe("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var KT={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};Oe("TSFunctionType",Object.assign({},KT,{fields:pu()}));Oe("TSConstructorType",Object.assign({},KT,{fields:Object.assign({},pu(),{abstract:(0,Y.validateOptional)($r)})}));Oe("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,Y.validateType)("TSEntityName"),typeParameters:(0,Y.validateOptionalType)("TSTypeParameterInstantiation")}});Oe("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,Y.validateType)("Identifier","TSThisType"),typeAnnotation:(0,Y.validateOptionalType)("TSTypeAnnotation"),asserts:(0,Y.validateOptional)($r)}});Oe("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,Y.validateType)("TSEntityName","TSImportType"),typeParameters:(0,Y.validateOptionalType)("TSTypeParameterInstantiation")}});Oe("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,Y.validateArrayOfType)("TSTypeElement")}});Oe("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,Y.validateType)("TSType")}});Oe("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,Y.validateArrayOfType)("TSType","TSNamedTupleMember")}});Oe("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,Y.validateType)("TSType")}});Oe("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,Y.validateType)("TSType")}});Oe("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,Y.validateType)("Identifier"),optional:{validate:$r,default:!1},elementType:(0,Y.validateType)("TSType")}});var HT={aliases:["TSType"],visitor:["types"],fields:{types:(0,Y.validateArrayOfType)("TSType")}};Oe("TSUnionType",HT);Oe("TSIntersectionType",HT);Oe("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,Y.validateType)("TSType"),extendsType:(0,Y.validateType)("TSType"),trueType:(0,Y.validateType)("TSType"),falseType:(0,Y.validateType)("TSType")}});Oe("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,Y.validateType)("TSTypeParameter")}});Oe("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,Y.validateType)("TSType")}});Oe("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],builder:["typeAnnotation","operator"],fields:{operator:{validate:(0,Y.assertValueType)("string"),default:"keyof"},typeAnnotation:(0,Y.validateType)("TSType")}});Oe("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,Y.validateType)("TSType"),indexType:(0,Y.validateType)("TSType")}});Oe("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:(0,Y.validateType)("TSTypeParameter")},{readonly:(0,Y.validateOptional)((0,Y.assertOneOf)(!0,!1,"+","-")),optional:(0,Y.validateOptional)((0,Y.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,Y.validateOptionalType)("TSType"),nameType:(0,Y.validateOptionalType)("TSType")})});Oe("TSTemplateLiteralType",{aliases:["TSType","TSBaseType"],visitor:["quasis","types"],fields:{quasis:(0,Y.validateArrayOfType)("TemplateElement"),types:{validate:(0,Y.chain)((0,Y.assertValueType)("array"),(0,Y.assertEach)((0,Y.assertNodeType)("TSType")),function(e,t,r){if(e.quasis.length!==r.length+1)throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of types.
|
|
9
|
-
Expected ${r.length+1} quasis but got ${e.quasis.length}`)})}}});Oe("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let e=(0,Y.assertNodeType)("NumericLiteral","BigIntLiteral"),t=(0,Y.assertOneOf)("-"),r=(0,Y.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function n(s,i,a){(0,F6.default)("UnaryExpression",a)?(t(a,"operator",a.operator),e(a,"argument",a.argument)):r(s,i,a)}return n.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],n}()}}});Oe("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,Y.validateType)("TSEntityName"),typeParameters:(0,Y.validateOptionalType)("TSTypeParameterInstantiation")}});Oe("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,Y.validateOptional)($r),id:(0,Y.validateType)("Identifier"),typeParameters:(0,Y.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,Y.validateOptional)((0,Y.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,Y.validateType)("TSInterfaceBody")}});Oe("TSInterfaceBody",{visitor:["body"],fields:{body:(0,Y.validateArrayOfType)("TSTypeElement")}});Oe("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,Y.validateOptional)($r),id:(0,Y.validateType)("Identifier"),typeParameters:(0,Y.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,Y.validateType)("TSType")}});Oe("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,Y.validateType)("Expression"),typeParameters:(0,Y.validateOptionalType)("TSTypeParameterInstantiation")}});var GT={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,Y.validateType)("Expression"),typeAnnotation:(0,Y.validateType)("TSType")}};Oe("TSAsExpression",GT);Oe("TSSatisfiesExpression",GT);Oe("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,Y.validateType)("TSType"),expression:(0,Y.validateType)("Expression")}});Oe("TSEnumBody",{visitor:["members"],fields:{members:(0,Y.validateArrayOfType)("TSEnumMember")}});Oe("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,Y.validateOptional)($r),const:(0,Y.validateOptional)($r),id:(0,Y.validateType)("Identifier"),members:(0,Y.validateArrayOfType)("TSEnumMember"),initializer:(0,Y.validateOptionalType)("Expression"),body:(0,Y.validateOptionalType)("TSEnumBody")}});Oe("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,Y.validateType)("Identifier","StringLiteral"),initializer:(0,Y.validateOptionalType)("Expression")}});Oe("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:(0,Y.assertOneOf)("global","module","namespace")},declare:(0,Y.validateOptional)($r)},{global:(0,Y.validateOptional)($r)},{id:(0,Y.validateType)("Identifier","StringLiteral"),body:(0,Y.validateType)("TSModuleBlock","TSModuleDeclaration")})});Oe("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,Y.validateArrayOfType)("Statement")}});Oe("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:{argument:(0,Y.validateType)("StringLiteral"),qualifier:(0,Y.validateOptionalType)("TSEntityName"),typeParameters:(0,Y.validateOptionalType)("TSTypeParameterInstantiation"),options:{validate:(0,Y.assertNodeType)("ObjectExpression"),optional:!0}}});Oe("TSImportEqualsDeclaration",{aliases:["Statement","Declaration"],visitor:["id","moduleReference"],fields:Object.assign({},{isExport:(0,Y.validate)($r)},{id:(0,Y.validateType)("Identifier"),moduleReference:(0,Y.validateType)("TSEntityName","TSExternalModuleReference"),importKind:{validate:(0,Y.assertOneOf)("type","value"),optional:!0}})});Oe("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,Y.validateType)("StringLiteral")}});Oe("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,Y.validateType)("Expression")}});Oe("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,Y.validateType)("Expression")}});Oe("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,Y.validateType)("Identifier")}});Oe("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,Y.assertNodeType)("TSType")}}});Oe("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:(0,Y.validateArrayOfType)("TSType")}});Oe("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:(0,Y.validateArrayOfType)("TSTypeParameter")}});Oe("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,Y.assertValueType)("string")},in:{validate:(0,Y.assertValueType)("boolean"),optional:!0},out:{validate:(0,Y.assertValueType)("boolean"),optional:!0},const:{validate:(0,Y.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,Y.assertNodeType)("TSType"),optional:!0},default:{validate:(0,Y.assertNodeType)("TSType"),optional:!0}}})});var YT=x(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});fu.DEPRECATED_ALIASES=void 0;var hSe=fu.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var an=x(Br=>{"use strict";Object.defineProperty(Br,"__esModule",{value:!0});Object.defineProperty(Br,"ALIAS_KEYS",{enumerable:!0,get:function(){return Wr.ALIAS_KEYS}});Object.defineProperty(Br,"BUILDER_KEYS",{enumerable:!0,get:function(){return Wr.BUILDER_KEYS}});Object.defineProperty(Br,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return jd.DEPRECATED_ALIASES}});Object.defineProperty(Br,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return Wr.DEPRECATED_KEYS}});Object.defineProperty(Br,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return Wr.FLIPPED_ALIAS_KEYS}});Object.defineProperty(Br,"NODE_FIELDS",{enumerable:!0,get:function(){return Wr.NODE_FIELDS}});Object.defineProperty(Br,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return Wr.NODE_PARENT_VALIDATIONS}});Object.defineProperty(Br,"PLACEHOLDERS",{enumerable:!0,get:function(){return Md.PLACEHOLDERS}});Object.defineProperty(Br,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return Md.PLACEHOLDERS_ALIAS}});Object.defineProperty(Br,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return Md.PLACEHOLDERS_FLIPPED_ALIAS}});Br.TYPES=void 0;Object.defineProperty(Br,"VISITOR_KEYS",{enumerable:!0,get:function(){return Wr.VISITOR_KEYS}});To();jT();MT();RT();qT();XT();var Wr=qn(),Md=Fd(),jd=YT();Object.keys(jd.DEPRECATED_ALIASES).forEach(e=>{Wr.FLIPPED_ALIAS_KEYS[e]=Wr.FLIPPED_ALIAS_KEYS[jd.DEPRECATED_ALIASES[e]]});for(let{types:e,set:t}of Wr.allExpandedTypes)for(let r of e){let n=Wr.FLIPPED_ALIAS_KEYS[r];n?n.forEach(t.add,t):t.add(r)}var ySe=Br.TYPES=[].concat(Object.keys(Wr.VISITOR_KEYS),Object.keys(Wr.FLIPPED_ALIAS_KEYS),Object.keys(Wr.DEPRECATED_KEYS))});var lu=x(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});pa.default=j6;pa.validateChild=zT;pa.validateField=JT;pa.validateInternal=M6;var xo=an();function j6(e,t,r){if(!e)return;let n=xo.NODE_FIELDS[e.type];if(!n)return;let s=n[t];JT(e,t,r,s),zT(e,t,r)}function M6(e,t,r,n,s){if(e!=null&&e.validate&&!(e.optional&&n==null)&&(e.validate(t,r,n),s)){var i;let a=n.type;if(a==null)return;(i=xo.NODE_PARENT_VALIDATIONS[a])==null||i.call(xo.NODE_PARENT_VALIDATIONS,t,r,n)}}function JT(e,t,r,n){n!=null&&n.validate&&(n.optional&&r==null||n.validate(e,t,r))}function zT(e,t,r){var n;let s=r==null?void 0:r.type;s!=null&&((n=xo.NODE_PARENT_VALIDATIONS[s])==null||n.call(xo.NODE_PARENT_VALIDATIONS,e,t,r))}});var Rd=x(E=>{"use strict";Object.defineProperty(E,"__esModule",{value:!0});E.anyTypeAnnotation=bM;E.argumentPlaceholder=GR;E.arrayExpression=V6;E.arrayPattern=jj;E.arrayTypeAnnotation=EM;E.arrowFunctionExpression=Mj;E.assignmentExpression=$6;E.assignmentPattern=Lj;E.awaitExpression=aM;E.bigIntLiteral=U6;E.binaryExpression=W6;E.bindExpression=XR;E.blockStatement=X6;E.booleanLiteral=hj;E.booleanLiteralTypeAnnotation=xM;E.booleanTypeAnnotation=TM;E.breakStatement=Y6;E.callExpression=J6;E.catchClause=z6;E.classAccessorProperty=fM;E.classBody=Rj;E.classDeclaration=Uj;E.classExpression=qj;E.classImplements=vM;E.classMethod=Zj;E.classPrivateMethod=hM;E.classPrivateProperty=dM;E.classProperty=pM;E.conditionalExpression=Q6;E.continueStatement=Z6;E.debuggerStatement=ej;E.decimalLiteral=e5;E.declareClass=PM;E.declareExportAllDeclaration=BM;E.declareExportDeclaration=OM;E.declareFunction=AM;E.declareInterface=CM;E.declareModule=DM;E.declareModuleExports=wM;E.declareOpaqueType=_M;E.declareTypeAlias=IM;E.declareVariable=NM;E.declaredPredicate=kM;E.decorator=YR;E.directive=H6;E.directiveLiteral=G6;E.doExpression=JR;E.doWhileStatement=tj;E.emptyStatement=rj;E.emptyTypeAnnotation=KM;E.enumBooleanBody=ER;E.enumBooleanMember=vR;E.enumDeclaration=bR;E.enumDefaultedMember=CR;E.enumNumberBody=TR;E.enumNumberMember=PR;E.enumStringBody=xR;E.enumStringMember=AR;E.enumSymbolBody=SR;E.existsTypeAnnotation=FM;E.exportAllDeclaration=Vj;E.exportDefaultDeclaration=$j;E.exportDefaultSpecifier=zR;E.exportNamedDeclaration=Wj;E.exportNamespaceSpecifier=lM;E.exportSpecifier=Kj;E.expressionStatement=nj;E.file=sj;E.forInStatement=ij;E.forOfStatement=Hj;E.forStatement=aj;E.functionDeclaration=oj;E.functionExpression=lj;E.functionTypeAnnotation=LM;E.functionTypeParam=jM;E.genericTypeAnnotation=MM;E.identifier=uj;E.ifStatement=cj;E.import=oM;E.importAttribute=gM;E.importDeclaration=Gj;E.importDefaultSpecifier=Xj;E.importExpression=zj;E.importNamespaceSpecifier=Yj;E.importSpecifier=Jj;E.indexedAccessType=DR;E.inferredPredicate=RM;E.interfaceDeclaration=UM;E.interfaceExtends=qM;E.interfaceTypeAnnotation=VM;E.interpreterDirective=K6;E.intersectionTypeAnnotation=$M;E.jSXAttribute=E.jsxAttribute=IR;E.jSXClosingElement=E.jsxClosingElement=_R;E.jSXClosingFragment=E.jsxClosingFragment=$R;E.jSXElement=E.jsxElement=NR;E.jSXEmptyExpression=E.jsxEmptyExpression=OR;E.jSXExpressionContainer=E.jsxExpressionContainer=BR;E.jSXFragment=E.jsxFragment=UR;E.jSXIdentifier=E.jsxIdentifier=FR;E.jSXMemberExpression=E.jsxMemberExpression=LR;E.jSXNamespacedName=E.jsxNamespacedName=jR;E.jSXOpeningElement=E.jsxOpeningElement=MR;E.jSXOpeningFragment=E.jsxOpeningFragment=VR;E.jSXSpreadAttribute=E.jsxSpreadAttribute=RR;E.jSXSpreadChild=E.jsxSpreadChild=kR;E.jSXText=E.jsxText=qR;E.labeledStatement=pj;E.logicalExpression=mj;E.memberExpression=yj;E.metaProperty=Qj;E.mixedTypeAnnotation=WM;E.moduleExpression=t5;E.newExpression=gj;E.noop=WR;E.nullLiteral=dj;E.nullLiteralTypeAnnotation=SM;E.nullableTypeAnnotation=HM;E.numberLiteral=T7;E.numberLiteralTypeAnnotation=GM;E.numberTypeAnnotation=XM;E.numericLiteral=QT;E.objectExpression=Ej;E.objectMethod=Tj;E.objectPattern=eM;E.objectProperty=xj;E.objectTypeAnnotation=YM;E.objectTypeCallProperty=zM;E.objectTypeIndexer=QM;E.objectTypeInternalSlot=JM;E.objectTypeProperty=ZM;E.objectTypeSpreadProperty=eR;E.opaqueType=tR;E.optionalCallExpression=cM;E.optionalIndexedAccessType=wR;E.optionalMemberExpression=uM;E.parenthesizedExpression=Pj;E.pipelineBareFunction=s5;E.pipelinePrimaryTopicReference=i5;E.pipelineTopicExpression=n5;E.placeholder=KR;E.privateName=mM;E.program=bj;E.qualifiedTypeIdentifier=rR;E.recordExpression=QR;E.regExpLiteral=ZT;E.regexLiteral=x7;E.restElement=ex;E.restProperty=S7;E.returnStatement=Sj;E.sequenceExpression=vj;E.spreadElement=tx;E.spreadProperty=v7;E.staticBlock=yM;E.stringLiteral=fj;E.stringLiteralTypeAnnotation=nR;E.stringTypeAnnotation=sR;E.super=tM;E.switchCase=Aj;E.switchStatement=Cj;E.symbolTypeAnnotation=iR;E.taggedTemplateExpression=rM;E.templateElement=nM;E.templateLiteral=sM;E.thisExpression=Dj;E.thisTypeAnnotation=aR;E.throwStatement=wj;E.topicReference=r5;E.tryStatement=Ij;E.tSAnyKeyword=E.tsAnyKeyword=y5;E.tSArrayType=E.tsArrayType=L5;E.tSAsExpression=E.tsAsExpression=r7;E.tSBigIntKeyword=E.tsBigIntKeyword=b5;E.tSBooleanKeyword=E.tsBooleanKeyword=g5;E.tSCallSignatureDeclaration=E.tsCallSignatureDeclaration=p5;E.tSConditionalType=E.tsConditionalType=$5;E.tSConstructSignatureDeclaration=E.tsConstructSignatureDeclaration=f5;E.tSConstructorType=E.tsConstructorType=N5;E.tSDeclareFunction=E.tsDeclareFunction=l5;E.tSDeclareMethod=E.tsDeclareMethod=u5;E.tSEnumBody=E.tsEnumBody=i7;E.tSEnumDeclaration=E.tsEnumDeclaration=a7;E.tSEnumMember=E.tsEnumMember=o7;E.tSExportAssignment=E.tsExportAssignment=h7;E.tSExpressionWithTypeArguments=E.tsExpressionWithTypeArguments=z5;E.tSExternalModuleReference=E.tsExternalModuleReference=f7;E.tSFunctionType=E.tsFunctionType=_5;E.tSImportEqualsDeclaration=E.tsImportEqualsDeclaration=p7;E.tSImportType=E.tsImportType=c7;E.tSIndexSignature=E.tsIndexSignature=m5;E.tSIndexedAccessType=E.tsIndexedAccessType=G5;E.tSInferType=E.tsInferType=W5;E.tSInstantiationExpression=E.tsInstantiationExpression=t7;E.tSInterfaceBody=E.tsInterfaceBody=Z5;E.tSInterfaceDeclaration=E.tsInterfaceDeclaration=Q5;E.tSIntersectionType=E.tsIntersectionType=V5;E.tSIntrinsicKeyword=E.tsIntrinsicKeyword=E5;E.tSLiteralType=E.tsLiteralType=J5;E.tSMappedType=E.tsMappedType=X5;E.tSMethodSignature=E.tsMethodSignature=h5;E.tSModuleBlock=E.tsModuleBlock=u7;E.tSModuleDeclaration=E.tsModuleDeclaration=l7;E.tSNamedTupleMember=E.tsNamedTupleMember=q5;E.tSNamespaceExportDeclaration=E.tsNamespaceExportDeclaration=m7;E.tSNeverKeyword=E.tsNeverKeyword=T5;E.tSNonNullExpression=E.tsNonNullExpression=d7;E.tSNullKeyword=E.tsNullKeyword=x5;E.tSNumberKeyword=E.tsNumberKeyword=S5;E.tSObjectKeyword=E.tsObjectKeyword=v5;E.tSOptionalType=E.tsOptionalType=M5;E.tSParameterProperty=E.tsParameterProperty=o5;E.tSParenthesizedType=E.tsParenthesizedType=K5;E.tSPropertySignature=E.tsPropertySignature=d5;E.tSQualifiedName=E.tsQualifiedName=c5;E.tSRestType=E.tsRestType=R5;E.tSSatisfiesExpression=E.tsSatisfiesExpression=n7;E.tSStringKeyword=E.tsStringKeyword=P5;E.tSSymbolKeyword=E.tsSymbolKeyword=A5;E.tSTemplateLiteralType=E.tsTemplateLiteralType=Y5;E.tSThisType=E.tsThisType=I5;E.tSTupleType=E.tsTupleType=j5;E.tSTypeAliasDeclaration=E.tsTypeAliasDeclaration=e7;E.tSTypeAnnotation=E.tsTypeAnnotation=y7;E.tSTypeAssertion=E.tsTypeAssertion=s7;E.tSTypeLiteral=E.tsTypeLiteral=F5;E.tSTypeOperator=E.tsTypeOperator=H5;E.tSTypeParameter=E.tsTypeParameter=E7;E.tSTypeParameterDeclaration=E.tsTypeParameterDeclaration=b7;E.tSTypeParameterInstantiation=E.tsTypeParameterInstantiation=g7;E.tSTypePredicate=E.tsTypePredicate=B5;E.tSTypeQuery=E.tsTypeQuery=k5;E.tSTypeReference=E.tsTypeReference=O5;E.tSUndefinedKeyword=E.tsUndefinedKeyword=C5;E.tSUnionType=E.tsUnionType=U5;E.tSUnknownKeyword=E.tsUnknownKeyword=D5;E.tSVoidKeyword=E.tsVoidKeyword=w5;E.tupleExpression=ZR;E.tupleTypeAnnotation=oR;E.typeAlias=uR;E.typeAnnotation=cR;E.typeCastExpression=pR;E.typeParameter=fR;E.typeParameterDeclaration=dR;E.typeParameterInstantiation=hR;E.typeofTypeAnnotation=lR;E.unaryExpression=_j;E.unionTypeAnnotation=mR;E.updateExpression=Nj;E.v8IntrinsicIdentifier=HR;E.variableDeclaration=Oj;E.variableDeclarator=Bj;E.variance=yR;E.voidPattern=a5;E.voidTypeAnnotation=gR;E.whileStatement=kj;E.withStatement=Fj;E.yieldExpression=iM;var R6=lu(),du=na(),q6=qn(),{validateInternal:y}=R6,{NODE_FIELDS:B}=q6;function U6(e){typeof e=="bigint"&&(e=e.toString());let t={type:"BigIntLiteral",value:e},r=B.BigIntLiteral;return y(r.value,t,"value",e),t}function V6(e=[]){let t={type:"ArrayExpression",elements:e},r=B.ArrayExpression;return y(r.elements,t,"elements",e,1),t}function $6(e,t,r){let n={type:"AssignmentExpression",operator:e,left:t,right:r},s=B.AssignmentExpression;return y(s.operator,n,"operator",e),y(s.left,n,"left",t,1),y(s.right,n,"right",r,1),n}function W6(e,t,r){let n={type:"BinaryExpression",operator:e,left:t,right:r},s=B.BinaryExpression;return y(s.operator,n,"operator",e),y(s.left,n,"left",t,1),y(s.right,n,"right",r,1),n}function K6(e){let t={type:"InterpreterDirective",value:e},r=B.InterpreterDirective;return y(r.value,t,"value",e),t}function H6(e){let t={type:"Directive",value:e},r=B.Directive;return y(r.value,t,"value",e,1),t}function G6(e){let t={type:"DirectiveLiteral",value:e},r=B.DirectiveLiteral;return y(r.value,t,"value",e),t}function X6(e,t=[]){let r={type:"BlockStatement",body:e,directives:t},n=B.BlockStatement;return y(n.body,r,"body",e,1),y(n.directives,r,"directives",t,1),r}function Y6(e=null){let t={type:"BreakStatement",label:e},r=B.BreakStatement;return y(r.label,t,"label",e,1),t}function J6(e,t){let r={type:"CallExpression",callee:e,arguments:t},n=B.CallExpression;return y(n.callee,r,"callee",e,1),y(n.arguments,r,"arguments",t,1),r}function z6(e=null,t){let r={type:"CatchClause",param:e,body:t},n=B.CatchClause;return y(n.param,r,"param",e,1),y(n.body,r,"body",t,1),r}function Q6(e,t,r){let n={type:"ConditionalExpression",test:e,consequent:t,alternate:r},s=B.ConditionalExpression;return y(s.test,n,"test",e,1),y(s.consequent,n,"consequent",t,1),y(s.alternate,n,"alternate",r,1),n}function Z6(e=null){let t={type:"ContinueStatement",label:e},r=B.ContinueStatement;return y(r.label,t,"label",e,1),t}function ej(){return{type:"DebuggerStatement"}}function tj(e,t){let r={type:"DoWhileStatement",test:e,body:t},n=B.DoWhileStatement;return y(n.test,r,"test",e,1),y(n.body,r,"body",t,1),r}function rj(){return{type:"EmptyStatement"}}function nj(e){let t={type:"ExpressionStatement",expression:e},r=B.ExpressionStatement;return y(r.expression,t,"expression",e,1),t}function sj(e,t=null,r=null){let n={type:"File",program:e,comments:t,tokens:r},s=B.File;return y(s.program,n,"program",e,1),y(s.comments,n,"comments",t,1),y(s.tokens,n,"tokens",r),n}function ij(e,t,r){let n={type:"ForInStatement",left:e,right:t,body:r},s=B.ForInStatement;return y(s.left,n,"left",e,1),y(s.right,n,"right",t,1),y(s.body,n,"body",r,1),n}function aj(e=null,t=null,r=null,n){let s={type:"ForStatement",init:e,test:t,update:r,body:n},i=B.ForStatement;return y(i.init,s,"init",e,1),y(i.test,s,"test",t,1),y(i.update,s,"update",r,1),y(i.body,s,"body",n,1),s}function oj(e=null,t,r,n=!1,s=!1){let i={type:"FunctionDeclaration",id:e,params:t,body:r,generator:n,async:s},a=B.FunctionDeclaration;return y(a.id,i,"id",e,1),y(a.params,i,"params",t,1),y(a.body,i,"body",r,1),y(a.generator,i,"generator",n),y(a.async,i,"async",s),i}function lj(e=null,t,r,n=!1,s=!1){let i={type:"FunctionExpression",id:e,params:t,body:r,generator:n,async:s},a=B.FunctionExpression;return y(a.id,i,"id",e,1),y(a.params,i,"params",t,1),y(a.body,i,"body",r,1),y(a.generator,i,"generator",n),y(a.async,i,"async",s),i}function uj(e){let t={type:"Identifier",name:e},r=B.Identifier;return y(r.name,t,"name",e),t}function cj(e,t,r=null){let n={type:"IfStatement",test:e,consequent:t,alternate:r},s=B.IfStatement;return y(s.test,n,"test",e,1),y(s.consequent,n,"consequent",t,1),y(s.alternate,n,"alternate",r,1),n}function pj(e,t){let r={type:"LabeledStatement",label:e,body:t},n=B.LabeledStatement;return y(n.label,r,"label",e,1),y(n.body,r,"body",t,1),r}function fj(e){let t={type:"StringLiteral",value:e},r=B.StringLiteral;return y(r.value,t,"value",e),t}function QT(e){let t={type:"NumericLiteral",value:e},r=B.NumericLiteral;return y(r.value,t,"value",e),t}function dj(){return{type:"NullLiteral"}}function hj(e){let t={type:"BooleanLiteral",value:e},r=B.BooleanLiteral;return y(r.value,t,"value",e),t}function ZT(e,t=""){let r={type:"RegExpLiteral",pattern:e,flags:t},n=B.RegExpLiteral;return y(n.pattern,r,"pattern",e),y(n.flags,r,"flags",t),r}function mj(e,t,r){let n={type:"LogicalExpression",operator:e,left:t,right:r},s=B.LogicalExpression;return y(s.operator,n,"operator",e),y(s.left,n,"left",t,1),y(s.right,n,"right",r,1),n}function yj(e,t,r=!1,n=null){let s={type:"MemberExpression",object:e,property:t,computed:r,optional:n},i=B.MemberExpression;return y(i.object,s,"object",e,1),y(i.property,s,"property",t,1),y(i.computed,s,"computed",r),y(i.optional,s,"optional",n),s}function gj(e,t){let r={type:"NewExpression",callee:e,arguments:t},n=B.NewExpression;return y(n.callee,r,"callee",e,1),y(n.arguments,r,"arguments",t,1),r}function bj(e,t=[],r="script",n=null){let s={type:"Program",body:e,directives:t,sourceType:r,interpreter:n},i=B.Program;return y(i.body,s,"body",e,1),y(i.directives,s,"directives",t,1),y(i.sourceType,s,"sourceType",r),y(i.interpreter,s,"interpreter",n,1),s}function Ej(e){let t={type:"ObjectExpression",properties:e},r=B.ObjectExpression;return y(r.properties,t,"properties",e,1),t}function Tj(e="method",t,r,n,s=!1,i=!1,a=!1){let o={type:"ObjectMethod",kind:e,key:t,params:r,body:n,computed:s,generator:i,async:a},l=B.ObjectMethod;return y(l.kind,o,"kind",e),y(l.key,o,"key",t,1),y(l.params,o,"params",r,1),y(l.body,o,"body",n,1),y(l.computed,o,"computed",s),y(l.generator,o,"generator",i),y(l.async,o,"async",a),o}function xj(e,t,r=!1,n=!1,s=null){let i={type:"ObjectProperty",key:e,value:t,computed:r,shorthand:n,decorators:s},a=B.ObjectProperty;return y(a.key,i,"key",e,1),y(a.value,i,"value",t,1),y(a.computed,i,"computed",r),y(a.shorthand,i,"shorthand",n),y(a.decorators,i,"decorators",s,1),i}function ex(e){let t={type:"RestElement",argument:e},r=B.RestElement;return y(r.argument,t,"argument",e,1),t}function Sj(e=null){let t={type:"ReturnStatement",argument:e},r=B.ReturnStatement;return y(r.argument,t,"argument",e,1),t}function vj(e){let t={type:"SequenceExpression",expressions:e},r=B.SequenceExpression;return y(r.expressions,t,"expressions",e,1),t}function Pj(e){let t={type:"ParenthesizedExpression",expression:e},r=B.ParenthesizedExpression;return y(r.expression,t,"expression",e,1),t}function Aj(e=null,t){let r={type:"SwitchCase",test:e,consequent:t},n=B.SwitchCase;return y(n.test,r,"test",e,1),y(n.consequent,r,"consequent",t,1),r}function Cj(e,t){let r={type:"SwitchStatement",discriminant:e,cases:t},n=B.SwitchStatement;return y(n.discriminant,r,"discriminant",e,1),y(n.cases,r,"cases",t,1),r}function Dj(){return{type:"ThisExpression"}}function wj(e){let t={type:"ThrowStatement",argument:e},r=B.ThrowStatement;return y(r.argument,t,"argument",e,1),t}function Ij(e,t=null,r=null){let n={type:"TryStatement",block:e,handler:t,finalizer:r},s=B.TryStatement;return y(s.block,n,"block",e,1),y(s.handler,n,"handler",t,1),y(s.finalizer,n,"finalizer",r,1),n}function _j(e,t,r=!0){let n={type:"UnaryExpression",operator:e,argument:t,prefix:r},s=B.UnaryExpression;return y(s.operator,n,"operator",e),y(s.argument,n,"argument",t,1),y(s.prefix,n,"prefix",r),n}function Nj(e,t,r=!1){let n={type:"UpdateExpression",operator:e,argument:t,prefix:r},s=B.UpdateExpression;return y(s.operator,n,"operator",e),y(s.argument,n,"argument",t,1),y(s.prefix,n,"prefix",r),n}function Oj(e,t){let r={type:"VariableDeclaration",kind:e,declarations:t},n=B.VariableDeclaration;return y(n.kind,r,"kind",e),y(n.declarations,r,"declarations",t,1),r}function Bj(e,t=null){let r={type:"VariableDeclarator",id:e,init:t},n=B.VariableDeclarator;return y(n.id,r,"id",e,1),y(n.init,r,"init",t,1),r}function kj(e,t){let r={type:"WhileStatement",test:e,body:t},n=B.WhileStatement;return y(n.test,r,"test",e,1),y(n.body,r,"body",t,1),r}function Fj(e,t){let r={type:"WithStatement",object:e,body:t},n=B.WithStatement;return y(n.object,r,"object",e,1),y(n.body,r,"body",t,1),r}function Lj(e,t){let r={type:"AssignmentPattern",left:e,right:t},n=B.AssignmentPattern;return y(n.left,r,"left",e,1),y(n.right,r,"right",t,1),r}function jj(e){let t={type:"ArrayPattern",elements:e},r=B.ArrayPattern;return y(r.elements,t,"elements",e,1),t}function Mj(e,t,r=!1){let n={type:"ArrowFunctionExpression",params:e,body:t,async:r,expression:null},s=B.ArrowFunctionExpression;return y(s.params,n,"params",e,1),y(s.body,n,"body",t,1),y(s.async,n,"async",r),n}function Rj(e){let t={type:"ClassBody",body:e},r=B.ClassBody;return y(r.body,t,"body",e,1),t}function qj(e=null,t=null,r,n=null){let s={type:"ClassExpression",id:e,superClass:t,body:r,decorators:n},i=B.ClassExpression;return y(i.id,s,"id",e,1),y(i.superClass,s,"superClass",t,1),y(i.body,s,"body",r,1),y(i.decorators,s,"decorators",n,1),s}function Uj(e=null,t=null,r,n=null){let s={type:"ClassDeclaration",id:e,superClass:t,body:r,decorators:n},i=B.ClassDeclaration;return y(i.id,s,"id",e,1),y(i.superClass,s,"superClass",t,1),y(i.body,s,"body",r,1),y(i.decorators,s,"decorators",n,1),s}function Vj(e){let t={type:"ExportAllDeclaration",source:e},r=B.ExportAllDeclaration;return y(r.source,t,"source",e,1),t}function $j(e){let t={type:"ExportDefaultDeclaration",declaration:e},r=B.ExportDefaultDeclaration;return y(r.declaration,t,"declaration",e,1),t}function Wj(e=null,t=[],r=null){let n={type:"ExportNamedDeclaration",declaration:e,specifiers:t,source:r},s=B.ExportNamedDeclaration;return y(s.declaration,n,"declaration",e,1),y(s.specifiers,n,"specifiers",t,1),y(s.source,n,"source",r,1),n}function Kj(e,t){let r={type:"ExportSpecifier",local:e,exported:t},n=B.ExportSpecifier;return y(n.local,r,"local",e,1),y(n.exported,r,"exported",t,1),r}function Hj(e,t,r,n=!1){let s={type:"ForOfStatement",left:e,right:t,body:r,await:n},i=B.ForOfStatement;return y(i.left,s,"left",e,1),y(i.right,s,"right",t,1),y(i.body,s,"body",r,1),y(i.await,s,"await",n),s}function Gj(e,t){let r={type:"ImportDeclaration",specifiers:e,source:t},n=B.ImportDeclaration;return y(n.specifiers,r,"specifiers",e,1),y(n.source,r,"source",t,1),r}function Xj(e){let t={type:"ImportDefaultSpecifier",local:e},r=B.ImportDefaultSpecifier;return y(r.local,t,"local",e,1),t}function Yj(e){let t={type:"ImportNamespaceSpecifier",local:e},r=B.ImportNamespaceSpecifier;return y(r.local,t,"local",e,1),t}function Jj(e,t){let r={type:"ImportSpecifier",local:e,imported:t},n=B.ImportSpecifier;return y(n.local,r,"local",e,1),y(n.imported,r,"imported",t,1),r}function zj(e,t=null){let r={type:"ImportExpression",source:e,options:t},n=B.ImportExpression;return y(n.source,r,"source",e,1),y(n.options,r,"options",t,1),r}function Qj(e,t){let r={type:"MetaProperty",meta:e,property:t},n=B.MetaProperty;return y(n.meta,r,"meta",e,1),y(n.property,r,"property",t,1),r}function Zj(e="method",t,r,n,s=!1,i=!1,a=!1,o=!1){let l={type:"ClassMethod",kind:e,key:t,params:r,body:n,computed:s,static:i,generator:a,async:o},u=B.ClassMethod;return y(u.kind,l,"kind",e),y(u.key,l,"key",t,1),y(u.params,l,"params",r,1),y(u.body,l,"body",n,1),y(u.computed,l,"computed",s),y(u.static,l,"static",i),y(u.generator,l,"generator",a),y(u.async,l,"async",o),l}function eM(e){let t={type:"ObjectPattern",properties:e},r=B.ObjectPattern;return y(r.properties,t,"properties",e,1),t}function tx(e){let t={type:"SpreadElement",argument:e},r=B.SpreadElement;return y(r.argument,t,"argument",e,1),t}function tM(){return{type:"Super"}}function rM(e,t){let r={type:"TaggedTemplateExpression",tag:e,quasi:t},n=B.TaggedTemplateExpression;return y(n.tag,r,"tag",e,1),y(n.quasi,r,"quasi",t,1),r}function nM(e,t=!1){let r={type:"TemplateElement",value:e,tail:t},n=B.TemplateElement;return y(n.value,r,"value",e),y(n.tail,r,"tail",t),r}function sM(e,t){let r={type:"TemplateLiteral",quasis:e,expressions:t},n=B.TemplateLiteral;return y(n.quasis,r,"quasis",e,1),y(n.expressions,r,"expressions",t,1),r}function iM(e=null,t=!1){let r={type:"YieldExpression",argument:e,delegate:t},n=B.YieldExpression;return y(n.argument,r,"argument",e,1),y(n.delegate,r,"delegate",t),r}function aM(e){let t={type:"AwaitExpression",argument:e},r=B.AwaitExpression;return y(r.argument,t,"argument",e,1),t}function oM(){return{type:"Import"}}function lM(e){let t={type:"ExportNamespaceSpecifier",exported:e},r=B.ExportNamespaceSpecifier;return y(r.exported,t,"exported",e,1),t}function uM(e,t,r=!1,n){let s={type:"OptionalMemberExpression",object:e,property:t,computed:r,optional:n},i=B.OptionalMemberExpression;return y(i.object,s,"object",e,1),y(i.property,s,"property",t,1),y(i.computed,s,"computed",r),y(i.optional,s,"optional",n),s}function cM(e,t,r){let n={type:"OptionalCallExpression",callee:e,arguments:t,optional:r},s=B.OptionalCallExpression;return y(s.callee,n,"callee",e,1),y(s.arguments,n,"arguments",t,1),y(s.optional,n,"optional",r),n}function pM(e,t=null,r=null,n=null,s=!1,i=!1){let a={type:"ClassProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:s,static:i},o=B.ClassProperty;return y(o.key,a,"key",e,1),y(o.value,a,"value",t,1),y(o.typeAnnotation,a,"typeAnnotation",r,1),y(o.decorators,a,"decorators",n,1),y(o.computed,a,"computed",s),y(o.static,a,"static",i),a}function fM(e,t=null,r=null,n=null,s=!1,i=!1){let a={type:"ClassAccessorProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:s,static:i},o=B.ClassAccessorProperty;return y(o.key,a,"key",e,1),y(o.value,a,"value",t,1),y(o.typeAnnotation,a,"typeAnnotation",r,1),y(o.decorators,a,"decorators",n,1),y(o.computed,a,"computed",s),y(o.static,a,"static",i),a}function dM(e,t=null,r=null,n=!1){let s={type:"ClassPrivateProperty",key:e,value:t,decorators:r,static:n},i=B.ClassPrivateProperty;return y(i.key,s,"key",e,1),y(i.value,s,"value",t,1),y(i.decorators,s,"decorators",r,1),y(i.static,s,"static",n),s}function hM(e="method",t,r,n,s=!1){let i={type:"ClassPrivateMethod",kind:e,key:t,params:r,body:n,static:s},a=B.ClassPrivateMethod;return y(a.kind,i,"kind",e),y(a.key,i,"key",t,1),y(a.params,i,"params",r,1),y(a.body,i,"body",n,1),y(a.static,i,"static",s),i}function mM(e){let t={type:"PrivateName",id:e},r=B.PrivateName;return y(r.id,t,"id",e,1),t}function yM(e){let t={type:"StaticBlock",body:e},r=B.StaticBlock;return y(r.body,t,"body",e,1),t}function gM(e,t){let r={type:"ImportAttribute",key:e,value:t},n=B.ImportAttribute;return y(n.key,r,"key",e,1),y(n.value,r,"value",t,1),r}function bM(){return{type:"AnyTypeAnnotation"}}function EM(e){let t={type:"ArrayTypeAnnotation",elementType:e},r=B.ArrayTypeAnnotation;return y(r.elementType,t,"elementType",e,1),t}function TM(){return{type:"BooleanTypeAnnotation"}}function xM(e){let t={type:"BooleanLiteralTypeAnnotation",value:e},r=B.BooleanLiteralTypeAnnotation;return y(r.value,t,"value",e),t}function SM(){return{type:"NullLiteralTypeAnnotation"}}function vM(e,t=null){let r={type:"ClassImplements",id:e,typeParameters:t},n=B.ClassImplements;return y(n.id,r,"id",e,1),y(n.typeParameters,r,"typeParameters",t,1),r}function PM(e,t=null,r=null,n){let s={type:"DeclareClass",id:e,typeParameters:t,extends:r,body:n},i=B.DeclareClass;return y(i.id,s,"id",e,1),y(i.typeParameters,s,"typeParameters",t,1),y(i.extends,s,"extends",r,1),y(i.body,s,"body",n,1),s}function AM(e){let t={type:"DeclareFunction",id:e},r=B.DeclareFunction;return y(r.id,t,"id",e,1),t}function CM(e,t=null,r=null,n){let s={type:"DeclareInterface",id:e,typeParameters:t,extends:r,body:n},i=B.DeclareInterface;return y(i.id,s,"id",e,1),y(i.typeParameters,s,"typeParameters",t,1),y(i.extends,s,"extends",r,1),y(i.body,s,"body",n,1),s}function DM(e,t,r=null){let n={type:"DeclareModule",id:e,body:t,kind:r},s=B.DeclareModule;return y(s.id,n,"id",e,1),y(s.body,n,"body",t,1),y(s.kind,n,"kind",r),n}function wM(e){let t={type:"DeclareModuleExports",typeAnnotation:e},r=B.DeclareModuleExports;return y(r.typeAnnotation,t,"typeAnnotation",e,1),t}function IM(e,t=null,r){let n={type:"DeclareTypeAlias",id:e,typeParameters:t,right:r},s=B.DeclareTypeAlias;return y(s.id,n,"id",e,1),y(s.typeParameters,n,"typeParameters",t,1),y(s.right,n,"right",r,1),n}function _M(e,t=null,r=null){let n={type:"DeclareOpaqueType",id:e,typeParameters:t,supertype:r},s=B.DeclareOpaqueType;return y(s.id,n,"id",e,1),y(s.typeParameters,n,"typeParameters",t,1),y(s.supertype,n,"supertype",r,1),n}function NM(e){let t={type:"DeclareVariable",id:e},r=B.DeclareVariable;return y(r.id,t,"id",e,1),t}function OM(e=null,t=null,r=null,n=null){let s={type:"DeclareExportDeclaration",declaration:e,specifiers:t,source:r,attributes:n},i=B.DeclareExportDeclaration;return y(i.declaration,s,"declaration",e,1),y(i.specifiers,s,"specifiers",t,1),y(i.source,s,"source",r,1),y(i.attributes,s,"attributes",n,1),s}function BM(e,t=null){let r={type:"DeclareExportAllDeclaration",source:e,attributes:t},n=B.DeclareExportAllDeclaration;return y(n.source,r,"source",e,1),y(n.attributes,r,"attributes",t,1),r}function kM(e){let t={type:"DeclaredPredicate",value:e},r=B.DeclaredPredicate;return y(r.value,t,"value",e,1),t}function FM(){return{type:"ExistsTypeAnnotation"}}function LM(e=null,t,r=null,n){let s={type:"FunctionTypeAnnotation",typeParameters:e,params:t,rest:r,returnType:n},i=B.FunctionTypeAnnotation;return y(i.typeParameters,s,"typeParameters",e,1),y(i.params,s,"params",t,1),y(i.rest,s,"rest",r,1),y(i.returnType,s,"returnType",n,1),s}function jM(e=null,t){let r={type:"FunctionTypeParam",name:e,typeAnnotation:t},n=B.FunctionTypeParam;return y(n.name,r,"name",e,1),y(n.typeAnnotation,r,"typeAnnotation",t,1),r}function MM(e,t=null){let r={type:"GenericTypeAnnotation",id:e,typeParameters:t},n=B.GenericTypeAnnotation;return y(n.id,r,"id",e,1),y(n.typeParameters,r,"typeParameters",t,1),r}function RM(){return{type:"InferredPredicate"}}function qM(e,t=null){let r={type:"InterfaceExtends",id:e,typeParameters:t},n=B.InterfaceExtends;return y(n.id,r,"id",e,1),y(n.typeParameters,r,"typeParameters",t,1),r}function UM(e,t=null,r=null,n){let s={type:"InterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n},i=B.InterfaceDeclaration;return y(i.id,s,"id",e,1),y(i.typeParameters,s,"typeParameters",t,1),y(i.extends,s,"extends",r,1),y(i.body,s,"body",n,1),s}function VM(e=null,t){let r={type:"InterfaceTypeAnnotation",extends:e,body:t},n=B.InterfaceTypeAnnotation;return y(n.extends,r,"extends",e,1),y(n.body,r,"body",t,1),r}function $M(e){let t={type:"IntersectionTypeAnnotation",types:e},r=B.IntersectionTypeAnnotation;return y(r.types,t,"types",e,1),t}function WM(){return{type:"MixedTypeAnnotation"}}function KM(){return{type:"EmptyTypeAnnotation"}}function HM(e){let t={type:"NullableTypeAnnotation",typeAnnotation:e},r=B.NullableTypeAnnotation;return y(r.typeAnnotation,t,"typeAnnotation",e,1),t}function GM(e){let t={type:"NumberLiteralTypeAnnotation",value:e},r=B.NumberLiteralTypeAnnotation;return y(r.value,t,"value",e),t}function XM(){return{type:"NumberTypeAnnotation"}}function YM(e,t=[],r=[],n=[],s=!1){let i={type:"ObjectTypeAnnotation",properties:e,indexers:t,callProperties:r,internalSlots:n,exact:s},a=B.ObjectTypeAnnotation;return y(a.properties,i,"properties",e,1),y(a.indexers,i,"indexers",t,1),y(a.callProperties,i,"callProperties",r,1),y(a.internalSlots,i,"internalSlots",n,1),y(a.exact,i,"exact",s),i}function JM(e,t,r,n,s){let i={type:"ObjectTypeInternalSlot",id:e,value:t,optional:r,static:n,method:s},a=B.ObjectTypeInternalSlot;return y(a.id,i,"id",e,1),y(a.value,i,"value",t,1),y(a.optional,i,"optional",r),y(a.static,i,"static",n),y(a.method,i,"method",s),i}function zM(e){let t={type:"ObjectTypeCallProperty",value:e,static:null},r=B.ObjectTypeCallProperty;return y(r.value,t,"value",e,1),t}function QM(e=null,t,r,n=null){let s={type:"ObjectTypeIndexer",id:e,key:t,value:r,variance:n,static:null},i=B.ObjectTypeIndexer;return y(i.id,s,"id",e,1),y(i.key,s,"key",t,1),y(i.value,s,"value",r,1),y(i.variance,s,"variance",n,1),s}function ZM(e,t,r=null){let n={type:"ObjectTypeProperty",key:e,value:t,variance:r,kind:null,method:null,optional:null,proto:null,static:null},s=B.ObjectTypeProperty;return y(s.key,n,"key",e,1),y(s.value,n,"value",t,1),y(s.variance,n,"variance",r,1),n}function eR(e){let t={type:"ObjectTypeSpreadProperty",argument:e},r=B.ObjectTypeSpreadProperty;return y(r.argument,t,"argument",e,1),t}function tR(e,t=null,r=null,n){let s={type:"OpaqueType",id:e,typeParameters:t,supertype:r,impltype:n},i=B.OpaqueType;return y(i.id,s,"id",e,1),y(i.typeParameters,s,"typeParameters",t,1),y(i.supertype,s,"supertype",r,1),y(i.impltype,s,"impltype",n,1),s}function rR(e,t){let r={type:"QualifiedTypeIdentifier",id:e,qualification:t},n=B.QualifiedTypeIdentifier;return y(n.id,r,"id",e,1),y(n.qualification,r,"qualification",t,1),r}function nR(e){let t={type:"StringLiteralTypeAnnotation",value:e},r=B.StringLiteralTypeAnnotation;return y(r.value,t,"value",e),t}function sR(){return{type:"StringTypeAnnotation"}}function iR(){return{type:"SymbolTypeAnnotation"}}function aR(){return{type:"ThisTypeAnnotation"}}function oR(e){let t={type:"TupleTypeAnnotation",types:e},r=B.TupleTypeAnnotation;return y(r.types,t,"types",e,1),t}function lR(e){let t={type:"TypeofTypeAnnotation",argument:e},r=B.TypeofTypeAnnotation;return y(r.argument,t,"argument",e,1),t}function uR(e,t=null,r){let n={type:"TypeAlias",id:e,typeParameters:t,right:r},s=B.TypeAlias;return y(s.id,n,"id",e,1),y(s.typeParameters,n,"typeParameters",t,1),y(s.right,n,"right",r,1),n}function cR(e){let t={type:"TypeAnnotation",typeAnnotation:e},r=B.TypeAnnotation;return y(r.typeAnnotation,t,"typeAnnotation",e,1),t}function pR(e,t){let r={type:"TypeCastExpression",expression:e,typeAnnotation:t},n=B.TypeCastExpression;return y(n.expression,r,"expression",e,1),y(n.typeAnnotation,r,"typeAnnotation",t,1),r}function fR(e=null,t=null,r=null){let n={type:"TypeParameter",bound:e,default:t,variance:r,name:null},s=B.TypeParameter;return y(s.bound,n,"bound",e,1),y(s.default,n,"default",t,1),y(s.variance,n,"variance",r,1),n}function dR(e){let t={type:"TypeParameterDeclaration",params:e},r=B.TypeParameterDeclaration;return y(r.params,t,"params",e,1),t}function hR(e){let t={type:"TypeParameterInstantiation",params:e},r=B.TypeParameterInstantiation;return y(r.params,t,"params",e,1),t}function mR(e){let t={type:"UnionTypeAnnotation",types:e},r=B.UnionTypeAnnotation;return y(r.types,t,"types",e,1),t}function yR(e){let t={type:"Variance",kind:e},r=B.Variance;return y(r.kind,t,"kind",e),t}function gR(){return{type:"VoidTypeAnnotation"}}function bR(e,t){let r={type:"EnumDeclaration",id:e,body:t},n=B.EnumDeclaration;return y(n.id,r,"id",e,1),y(n.body,r,"body",t,1),r}function ER(e){let t={type:"EnumBooleanBody",members:e,explicitType:null,hasUnknownMembers:null},r=B.EnumBooleanBody;return y(r.members,t,"members",e,1),t}function TR(e){let t={type:"EnumNumberBody",members:e,explicitType:null,hasUnknownMembers:null},r=B.EnumNumberBody;return y(r.members,t,"members",e,1),t}function xR(e){let t={type:"EnumStringBody",members:e,explicitType:null,hasUnknownMembers:null},r=B.EnumStringBody;return y(r.members,t,"members",e,1),t}function SR(e){let t={type:"EnumSymbolBody",members:e,hasUnknownMembers:null},r=B.EnumSymbolBody;return y(r.members,t,"members",e,1),t}function vR(e){let t={type:"EnumBooleanMember",id:e,init:null},r=B.EnumBooleanMember;return y(r.id,t,"id",e,1),t}function PR(e,t){let r={type:"EnumNumberMember",id:e,init:t},n=B.EnumNumberMember;return y(n.id,r,"id",e,1),y(n.init,r,"init",t,1),r}function AR(e,t){let r={type:"EnumStringMember",id:e,init:t},n=B.EnumStringMember;return y(n.id,r,"id",e,1),y(n.init,r,"init",t,1),r}function CR(e){let t={type:"EnumDefaultedMember",id:e},r=B.EnumDefaultedMember;return y(r.id,t,"id",e,1),t}function DR(e,t){let r={type:"IndexedAccessType",objectType:e,indexType:t},n=B.IndexedAccessType;return y(n.objectType,r,"objectType",e,1),y(n.indexType,r,"indexType",t,1),r}function wR(e,t){let r={type:"OptionalIndexedAccessType",objectType:e,indexType:t,optional:null},n=B.OptionalIndexedAccessType;return y(n.objectType,r,"objectType",e,1),y(n.indexType,r,"indexType",t,1),r}function IR(e,t=null){let r={type:"JSXAttribute",name:e,value:t},n=B.JSXAttribute;return y(n.name,r,"name",e,1),y(n.value,r,"value",t,1),r}function _R(e){let t={type:"JSXClosingElement",name:e},r=B.JSXClosingElement;return y(r.name,t,"name",e,1),t}function NR(e,t=null,r,n=null){let s={type:"JSXElement",openingElement:e,closingElement:t,children:r,selfClosing:n},i=B.JSXElement;return y(i.openingElement,s,"openingElement",e,1),y(i.closingElement,s,"closingElement",t,1),y(i.children,s,"children",r,1),y(i.selfClosing,s,"selfClosing",n),s}function OR(){return{type:"JSXEmptyExpression"}}function BR(e){let t={type:"JSXExpressionContainer",expression:e},r=B.JSXExpressionContainer;return y(r.expression,t,"expression",e,1),t}function kR(e){let t={type:"JSXSpreadChild",expression:e},r=B.JSXSpreadChild;return y(r.expression,t,"expression",e,1),t}function FR(e){let t={type:"JSXIdentifier",name:e},r=B.JSXIdentifier;return y(r.name,t,"name",e),t}function LR(e,t){let r={type:"JSXMemberExpression",object:e,property:t},n=B.JSXMemberExpression;return y(n.object,r,"object",e,1),y(n.property,r,"property",t,1),r}function jR(e,t){let r={type:"JSXNamespacedName",namespace:e,name:t},n=B.JSXNamespacedName;return y(n.namespace,r,"namespace",e,1),y(n.name,r,"name",t,1),r}function MR(e,t,r=!1){let n={type:"JSXOpeningElement",name:e,attributes:t,selfClosing:r},s=B.JSXOpeningElement;return y(s.name,n,"name",e,1),y(s.attributes,n,"attributes",t,1),y(s.selfClosing,n,"selfClosing",r),n}function RR(e){let t={type:"JSXSpreadAttribute",argument:e},r=B.JSXSpreadAttribute;return y(r.argument,t,"argument",e,1),t}function qR(e){let t={type:"JSXText",value:e},r=B.JSXText;return y(r.value,t,"value",e),t}function UR(e,t,r){let n={type:"JSXFragment",openingFragment:e,closingFragment:t,children:r},s=B.JSXFragment;return y(s.openingFragment,n,"openingFragment",e,1),y(s.closingFragment,n,"closingFragment",t,1),y(s.children,n,"children",r,1),n}function VR(){return{type:"JSXOpeningFragment"}}function $R(){return{type:"JSXClosingFragment"}}function WR(){return{type:"Noop"}}function KR(e,t){let r={type:"Placeholder",expectedNode:e,name:t},n=B.Placeholder;return y(n.expectedNode,r,"expectedNode",e),y(n.name,r,"name",t,1),r}function HR(e){let t={type:"V8IntrinsicIdentifier",name:e},r=B.V8IntrinsicIdentifier;return y(r.name,t,"name",e),t}function GR(){return{type:"ArgumentPlaceholder"}}function XR(e,t){let r={type:"BindExpression",object:e,callee:t},n=B.BindExpression;return y(n.object,r,"object",e,1),y(n.callee,r,"callee",t,1),r}function YR(e){let t={type:"Decorator",expression:e},r=B.Decorator;return y(r.expression,t,"expression",e,1),t}function JR(e,t=!1){let r={type:"DoExpression",body:e,async:t},n=B.DoExpression;return y(n.body,r,"body",e,1),y(n.async,r,"async",t),r}function zR(e){let t={type:"ExportDefaultSpecifier",exported:e},r=B.ExportDefaultSpecifier;return y(r.exported,t,"exported",e,1),t}function QR(e){let t={type:"RecordExpression",properties:e},r=B.RecordExpression;return y(r.properties,t,"properties",e,1),t}function ZR(e=[]){let t={type:"TupleExpression",elements:e},r=B.TupleExpression;return y(r.elements,t,"elements",e,1),t}function e5(e){let t={type:"DecimalLiteral",value:e},r=B.DecimalLiteral;return y(r.value,t,"value",e),t}function t5(e){let t={type:"ModuleExpression",body:e},r=B.ModuleExpression;return y(r.body,t,"body",e,1),t}function r5(){return{type:"TopicReference"}}function n5(e){let t={type:"PipelineTopicExpression",expression:e},r=B.PipelineTopicExpression;return y(r.expression,t,"expression",e,1),t}function s5(e){let t={type:"PipelineBareFunction",callee:e},r=B.PipelineBareFunction;return y(r.callee,t,"callee",e,1),t}function i5(){return{type:"PipelinePrimaryTopicReference"}}function a5(){return{type:"VoidPattern"}}function o5(e){let t={type:"TSParameterProperty",parameter:e},r=B.TSParameterProperty;return y(r.parameter,t,"parameter",e,1),t}function l5(e=null,t=null,r,n=null){let s={type:"TSDeclareFunction",id:e,typeParameters:t,params:r,returnType:n},i=B.TSDeclareFunction;return y(i.id,s,"id",e,1),y(i.typeParameters,s,"typeParameters",t,1),y(i.params,s,"params",r,1),y(i.returnType,s,"returnType",n,1),s}function u5(e=null,t,r=null,n,s=null){let i={type:"TSDeclareMethod",decorators:e,key:t,typeParameters:r,params:n,returnType:s},a=B.TSDeclareMethod;return y(a.decorators,i,"decorators",e,1),y(a.key,i,"key",t,1),y(a.typeParameters,i,"typeParameters",r,1),y(a.params,i,"params",n,1),y(a.returnType,i,"returnType",s,1),i}function c5(e,t){let r={type:"TSQualifiedName",left:e,right:t},n=B.TSQualifiedName;return y(n.left,r,"left",e,1),y(n.right,r,"right",t,1),r}function p5(e=null,t,r=null){let n={type:"TSCallSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r},s=B.TSCallSignatureDeclaration;return y(s.typeParameters,n,"typeParameters",e,1),y(s.parameters,n,"parameters",t,1),y(s.typeAnnotation,n,"typeAnnotation",r,1),n}function f5(e=null,t,r=null){let n={type:"TSConstructSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r},s=B.TSConstructSignatureDeclaration;return y(s.typeParameters,n,"typeParameters",e,1),y(s.parameters,n,"parameters",t,1),y(s.typeAnnotation,n,"typeAnnotation",r,1),n}function d5(e,t=null){let r={type:"TSPropertySignature",key:e,typeAnnotation:t},n=B.TSPropertySignature;return y(n.key,r,"key",e,1),y(n.typeAnnotation,r,"typeAnnotation",t,1),r}function h5(e,t=null,r,n=null){let s={type:"TSMethodSignature",key:e,typeParameters:t,parameters:r,typeAnnotation:n,kind:null},i=B.TSMethodSignature;return y(i.key,s,"key",e,1),y(i.typeParameters,s,"typeParameters",t,1),y(i.parameters,s,"parameters",r,1),y(i.typeAnnotation,s,"typeAnnotation",n,1),s}function m5(e,t=null){let r={type:"TSIndexSignature",parameters:e,typeAnnotation:t},n=B.TSIndexSignature;return y(n.parameters,r,"parameters",e,1),y(n.typeAnnotation,r,"typeAnnotation",t,1),r}function y5(){return{type:"TSAnyKeyword"}}function g5(){return{type:"TSBooleanKeyword"}}function b5(){return{type:"TSBigIntKeyword"}}function E5(){return{type:"TSIntrinsicKeyword"}}function T5(){return{type:"TSNeverKeyword"}}function x5(){return{type:"TSNullKeyword"}}function S5(){return{type:"TSNumberKeyword"}}function v5(){return{type:"TSObjectKeyword"}}function P5(){return{type:"TSStringKeyword"}}function A5(){return{type:"TSSymbolKeyword"}}function C5(){return{type:"TSUndefinedKeyword"}}function D5(){return{type:"TSUnknownKeyword"}}function w5(){return{type:"TSVoidKeyword"}}function I5(){return{type:"TSThisType"}}function _5(e=null,t,r=null){let n={type:"TSFunctionType",typeParameters:e,parameters:t,typeAnnotation:r},s=B.TSFunctionType;return y(s.typeParameters,n,"typeParameters",e,1),y(s.parameters,n,"parameters",t,1),y(s.typeAnnotation,n,"typeAnnotation",r,1),n}function N5(e=null,t,r=null){let n={type:"TSConstructorType",typeParameters:e,parameters:t,typeAnnotation:r},s=B.TSConstructorType;return y(s.typeParameters,n,"typeParameters",e,1),y(s.parameters,n,"parameters",t,1),y(s.typeAnnotation,n,"typeAnnotation",r,1),n}function O5(e,t=null){let r={type:"TSTypeReference",typeName:e,typeParameters:t},n=B.TSTypeReference;return y(n.typeName,r,"typeName",e,1),y(n.typeParameters,r,"typeParameters",t,1),r}function B5(e,t=null,r=null){let n={type:"TSTypePredicate",parameterName:e,typeAnnotation:t,asserts:r},s=B.TSTypePredicate;return y(s.parameterName,n,"parameterName",e,1),y(s.typeAnnotation,n,"typeAnnotation",t,1),y(s.asserts,n,"asserts",r),n}function k5(e,t=null){let r={type:"TSTypeQuery",exprName:e,typeParameters:t},n=B.TSTypeQuery;return y(n.exprName,r,"exprName",e,1),y(n.typeParameters,r,"typeParameters",t,1),r}function F5(e){let t={type:"TSTypeLiteral",members:e},r=B.TSTypeLiteral;return y(r.members,t,"members",e,1),t}function L5(e){let t={type:"TSArrayType",elementType:e},r=B.TSArrayType;return y(r.elementType,t,"elementType",e,1),t}function j5(e){let t={type:"TSTupleType",elementTypes:e},r=B.TSTupleType;return y(r.elementTypes,t,"elementTypes",e,1),t}function M5(e){let t={type:"TSOptionalType",typeAnnotation:e},r=B.TSOptionalType;return y(r.typeAnnotation,t,"typeAnnotation",e,1),t}function R5(e){let t={type:"TSRestType",typeAnnotation:e},r=B.TSRestType;return y(r.typeAnnotation,t,"typeAnnotation",e,1),t}function q5(e,t,r=!1){let n={type:"TSNamedTupleMember",label:e,elementType:t,optional:r},s=B.TSNamedTupleMember;return y(s.label,n,"label",e,1),y(s.elementType,n,"elementType",t,1),y(s.optional,n,"optional",r),n}function U5(e){let t={type:"TSUnionType",types:e},r=B.TSUnionType;return y(r.types,t,"types",e,1),t}function V5(e){let t={type:"TSIntersectionType",types:e},r=B.TSIntersectionType;return y(r.types,t,"types",e,1),t}function $5(e,t,r,n){let s={type:"TSConditionalType",checkType:e,extendsType:t,trueType:r,falseType:n},i=B.TSConditionalType;return y(i.checkType,s,"checkType",e,1),y(i.extendsType,s,"extendsType",t,1),y(i.trueType,s,"trueType",r,1),y(i.falseType,s,"falseType",n,1),s}function W5(e){let t={type:"TSInferType",typeParameter:e},r=B.TSInferType;return y(r.typeParameter,t,"typeParameter",e,1),t}function K5(e){let t={type:"TSParenthesizedType",typeAnnotation:e},r=B.TSParenthesizedType;return y(r.typeAnnotation,t,"typeAnnotation",e,1),t}function H5(e,t="keyof"){let r={type:"TSTypeOperator",typeAnnotation:e,operator:t},n=B.TSTypeOperator;return y(n.typeAnnotation,r,"typeAnnotation",e,1),y(n.operator,r,"operator",t),r}function G5(e,t){let r={type:"TSIndexedAccessType",objectType:e,indexType:t},n=B.TSIndexedAccessType;return y(n.objectType,r,"objectType",e,1),y(n.indexType,r,"indexType",t,1),r}function X5(e,t=null,r=null){let n={type:"TSMappedType",typeParameter:e,typeAnnotation:t,nameType:r},s=B.TSMappedType;return y(s.typeParameter,n,"typeParameter",e,1),y(s.typeAnnotation,n,"typeAnnotation",t,1),y(s.nameType,n,"nameType",r,1),n}function Y5(e,t){let r={type:"TSTemplateLiteralType",quasis:e,types:t},n=B.TSTemplateLiteralType;return y(n.quasis,r,"quasis",e,1),y(n.types,r,"types",t,1),r}function J5(e){let t={type:"TSLiteralType",literal:e},r=B.TSLiteralType;return y(r.literal,t,"literal",e,1),t}function z5(e,t=null){let r={type:"TSExpressionWithTypeArguments",expression:e,typeParameters:t},n=B.TSExpressionWithTypeArguments;return y(n.expression,r,"expression",e,1),y(n.typeParameters,r,"typeParameters",t,1),r}function Q5(e,t=null,r=null,n){let s={type:"TSInterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n},i=B.TSInterfaceDeclaration;return y(i.id,s,"id",e,1),y(i.typeParameters,s,"typeParameters",t,1),y(i.extends,s,"extends",r,1),y(i.body,s,"body",n,1),s}function Z5(e){let t={type:"TSInterfaceBody",body:e},r=B.TSInterfaceBody;return y(r.body,t,"body",e,1),t}function e7(e,t=null,r){let n={type:"TSTypeAliasDeclaration",id:e,typeParameters:t,typeAnnotation:r},s=B.TSTypeAliasDeclaration;return y(s.id,n,"id",e,1),y(s.typeParameters,n,"typeParameters",t,1),y(s.typeAnnotation,n,"typeAnnotation",r,1),n}function t7(e,t=null){let r={type:"TSInstantiationExpression",expression:e,typeParameters:t},n=B.TSInstantiationExpression;return y(n.expression,r,"expression",e,1),y(n.typeParameters,r,"typeParameters",t,1),r}function r7(e,t){let r={type:"TSAsExpression",expression:e,typeAnnotation:t},n=B.TSAsExpression;return y(n.expression,r,"expression",e,1),y(n.typeAnnotation,r,"typeAnnotation",t,1),r}function n7(e,t){let r={type:"TSSatisfiesExpression",expression:e,typeAnnotation:t},n=B.TSSatisfiesExpression;return y(n.expression,r,"expression",e,1),y(n.typeAnnotation,r,"typeAnnotation",t,1),r}function s7(e,t){let r={type:"TSTypeAssertion",typeAnnotation:e,expression:t},n=B.TSTypeAssertion;return y(n.typeAnnotation,r,"typeAnnotation",e,1),y(n.expression,r,"expression",t,1),r}function i7(e){let t={type:"TSEnumBody",members:e},r=B.TSEnumBody;return y(r.members,t,"members",e,1),t}function a7(e,t){let r={type:"TSEnumDeclaration",id:e,members:t},n=B.TSEnumDeclaration;return y(n.id,r,"id",e,1),y(n.members,r,"members",t,1),r}function o7(e,t=null){let r={type:"TSEnumMember",id:e,initializer:t},n=B.TSEnumMember;return y(n.id,r,"id",e,1),y(n.initializer,r,"initializer",t,1),r}function l7(e,t){let r={type:"TSModuleDeclaration",id:e,body:t,kind:null},n=B.TSModuleDeclaration;return y(n.id,r,"id",e,1),y(n.body,r,"body",t,1),r}function u7(e){let t={type:"TSModuleBlock",body:e},r=B.TSModuleBlock;return y(r.body,t,"body",e,1),t}function c7(e,t=null,r=null){let n={type:"TSImportType",argument:e,qualifier:t,typeParameters:r},s=B.TSImportType;return y(s.argument,n,"argument",e,1),y(s.qualifier,n,"qualifier",t,1),y(s.typeParameters,n,"typeParameters",r,1),n}function p7(e,t){let r={type:"TSImportEqualsDeclaration",id:e,moduleReference:t,isExport:null},n=B.TSImportEqualsDeclaration;return y(n.id,r,"id",e,1),y(n.moduleReference,r,"moduleReference",t,1),r}function f7(e){let t={type:"TSExternalModuleReference",expression:e},r=B.TSExternalModuleReference;return y(r.expression,t,"expression",e,1),t}function d7(e){let t={type:"TSNonNullExpression",expression:e},r=B.TSNonNullExpression;return y(r.expression,t,"expression",e,1),t}function h7(e){let t={type:"TSExportAssignment",expression:e},r=B.TSExportAssignment;return y(r.expression,t,"expression",e,1),t}function m7(e){let t={type:"TSNamespaceExportDeclaration",id:e},r=B.TSNamespaceExportDeclaration;return y(r.id,t,"id",e,1),t}function y7(e){let t={type:"TSTypeAnnotation",typeAnnotation:e},r=B.TSTypeAnnotation;return y(r.typeAnnotation,t,"typeAnnotation",e,1),t}function g7(e){let t={type:"TSTypeParameterInstantiation",params:e},r=B.TSTypeParameterInstantiation;return y(r.params,t,"params",e,1),t}function b7(e){let t={type:"TSTypeParameterDeclaration",params:e},r=B.TSTypeParameterDeclaration;return y(r.params,t,"params",e,1),t}function E7(e=null,t=null,r){let n={type:"TSTypeParameter",constraint:e,default:t,name:r},s=B.TSTypeParameter;return y(s.constraint,n,"constraint",e,1),y(s.default,n,"default",t,1),y(s.name,n,"name",r),n}function T7(e){return(0,du.default)("NumberLiteral","NumericLiteral","The node type "),QT(e)}function x7(e,t=""){return(0,du.default)("RegexLiteral","RegExpLiteral","The node type "),ZT(e,t)}function S7(e){return(0,du.default)("RestProperty","RestElement","The node type "),ex(e)}function v7(e){return(0,du.default)("SpreadProperty","SpreadElement","The node type "),tx(e)}});var rx=x(h=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0});h.JSXIdentifier=h.JSXFragment=h.JSXExpressionContainer=h.JSXEmptyExpression=h.JSXElement=h.JSXClosingFragment=h.JSXClosingElement=h.JSXAttribute=h.IntersectionTypeAnnotation=h.InterpreterDirective=h.InterfaceTypeAnnotation=h.InterfaceExtends=h.InterfaceDeclaration=h.InferredPredicate=h.IndexedAccessType=h.ImportSpecifier=h.ImportNamespaceSpecifier=h.ImportExpression=h.ImportDefaultSpecifier=h.ImportDeclaration=h.ImportAttribute=h.Import=h.IfStatement=h.Identifier=h.GenericTypeAnnotation=h.FunctionTypeParam=h.FunctionTypeAnnotation=h.FunctionExpression=h.FunctionDeclaration=h.ForStatement=h.ForOfStatement=h.ForInStatement=h.File=h.ExpressionStatement=h.ExportSpecifier=h.ExportNamespaceSpecifier=h.ExportNamedDeclaration=h.ExportDefaultSpecifier=h.ExportDefaultDeclaration=h.ExportAllDeclaration=h.ExistsTypeAnnotation=h.EnumSymbolBody=h.EnumStringMember=h.EnumStringBody=h.EnumNumberMember=h.EnumNumberBody=h.EnumDefaultedMember=h.EnumDeclaration=h.EnumBooleanMember=h.EnumBooleanBody=h.EmptyTypeAnnotation=h.EmptyStatement=h.DoWhileStatement=h.DoExpression=h.DirectiveLiteral=h.Directive=h.Decorator=h.DeclaredPredicate=h.DeclareVariable=h.DeclareTypeAlias=h.DeclareOpaqueType=h.DeclareModuleExports=h.DeclareModule=h.DeclareInterface=h.DeclareFunction=h.DeclareExportDeclaration=h.DeclareExportAllDeclaration=h.DeclareClass=h.DecimalLiteral=h.DebuggerStatement=h.ContinueStatement=h.ConditionalExpression=h.ClassProperty=h.ClassPrivateProperty=h.ClassPrivateMethod=h.ClassMethod=h.ClassImplements=h.ClassExpression=h.ClassDeclaration=h.ClassBody=h.ClassAccessorProperty=h.CatchClause=h.CallExpression=h.BreakStatement=h.BooleanTypeAnnotation=h.BooleanLiteralTypeAnnotation=h.BooleanLiteral=h.BlockStatement=h.BindExpression=h.BinaryExpression=h.BigIntLiteral=h.AwaitExpression=h.AssignmentPattern=h.AssignmentExpression=h.ArrowFunctionExpression=h.ArrayTypeAnnotation=h.ArrayPattern=h.ArrayExpression=h.ArgumentPlaceholder=h.AnyTypeAnnotation=void 0;h.TSNumberKeyword=h.TSNullKeyword=h.TSNonNullExpression=h.TSNeverKeyword=h.TSNamespaceExportDeclaration=h.TSNamedTupleMember=h.TSModuleDeclaration=h.TSModuleBlock=h.TSMethodSignature=h.TSMappedType=h.TSLiteralType=h.TSIntrinsicKeyword=h.TSIntersectionType=h.TSInterfaceDeclaration=h.TSInterfaceBody=h.TSInstantiationExpression=h.TSInferType=h.TSIndexedAccessType=h.TSIndexSignature=h.TSImportType=h.TSImportEqualsDeclaration=h.TSFunctionType=h.TSExternalModuleReference=h.TSExpressionWithTypeArguments=h.TSExportAssignment=h.TSEnumMember=h.TSEnumDeclaration=h.TSEnumBody=h.TSDeclareMethod=h.TSDeclareFunction=h.TSConstructorType=h.TSConstructSignatureDeclaration=h.TSConditionalType=h.TSCallSignatureDeclaration=h.TSBooleanKeyword=h.TSBigIntKeyword=h.TSAsExpression=h.TSArrayType=h.TSAnyKeyword=h.SymbolTypeAnnotation=h.SwitchStatement=h.SwitchCase=h.Super=h.StringTypeAnnotation=h.StringLiteralTypeAnnotation=h.StringLiteral=h.StaticBlock=h.SpreadProperty=h.SpreadElement=h.SequenceExpression=h.ReturnStatement=h.RestProperty=h.RestElement=h.RegexLiteral=h.RegExpLiteral=h.RecordExpression=h.QualifiedTypeIdentifier=h.Program=h.PrivateName=h.Placeholder=h.PipelineTopicExpression=h.PipelinePrimaryTopicReference=h.PipelineBareFunction=h.ParenthesizedExpression=h.OptionalMemberExpression=h.OptionalIndexedAccessType=h.OptionalCallExpression=h.OpaqueType=h.ObjectTypeSpreadProperty=h.ObjectTypeProperty=h.ObjectTypeInternalSlot=h.ObjectTypeIndexer=h.ObjectTypeCallProperty=h.ObjectTypeAnnotation=h.ObjectProperty=h.ObjectPattern=h.ObjectMethod=h.ObjectExpression=h.NumericLiteral=h.NumberTypeAnnotation=h.NumberLiteralTypeAnnotation=h.NumberLiteral=h.NullableTypeAnnotation=h.NullLiteralTypeAnnotation=h.NullLiteral=h.Noop=h.NewExpression=h.ModuleExpression=h.MixedTypeAnnotation=h.MetaProperty=h.MemberExpression=h.LogicalExpression=h.LabeledStatement=h.JSXText=h.JSXSpreadChild=h.JSXSpreadAttribute=h.JSXOpeningFragment=h.JSXOpeningElement=h.JSXNamespacedName=h.JSXMemberExpression=void 0;h.YieldExpression=h.WithStatement=h.WhileStatement=h.VoidTypeAnnotation=h.VoidPattern=h.Variance=h.VariableDeclarator=h.VariableDeclaration=h.V8IntrinsicIdentifier=h.UpdateExpression=h.UnionTypeAnnotation=h.UnaryExpression=h.TypeofTypeAnnotation=h.TypeParameterInstantiation=h.TypeParameterDeclaration=h.TypeParameter=h.TypeCastExpression=h.TypeAnnotation=h.TypeAlias=h.TupleTypeAnnotation=h.TupleExpression=h.TryStatement=h.TopicReference=h.ThrowStatement=h.ThisTypeAnnotation=h.ThisExpression=h.TemplateLiteral=h.TemplateElement=h.TaggedTemplateExpression=h.TSVoidKeyword=h.TSUnknownKeyword=h.TSUnionType=h.TSUndefinedKeyword=h.TSTypeReference=h.TSTypeQuery=h.TSTypePredicate=h.TSTypeParameterInstantiation=h.TSTypeParameterDeclaration=h.TSTypeParameter=h.TSTypeOperator=h.TSTypeLiteral=h.TSTypeAssertion=h.TSTypeAnnotation=h.TSTypeAliasDeclaration=h.TSTupleType=h.TSThisType=h.TSTemplateLiteralType=h.TSSymbolKeyword=h.TSStringKeyword=h.TSSatisfiesExpression=h.TSRestType=h.TSQualifiedName=h.TSPropertySignature=h.TSParenthesizedType=h.TSParameterProperty=h.TSOptionalType=h.TSObjectKeyword=void 0;var So=Rd(),TSe=na();function _(e){return So[e]}var xSe=h.ArrayExpression=_("arrayExpression"),SSe=h.AssignmentExpression=_("assignmentExpression"),vSe=h.BinaryExpression=_("binaryExpression"),PSe=h.InterpreterDirective=_("interpreterDirective"),ASe=h.Directive=_("directive"),CSe=h.DirectiveLiteral=_("directiveLiteral"),DSe=h.BlockStatement=_("blockStatement"),wSe=h.BreakStatement=_("breakStatement"),ISe=h.CallExpression=_("callExpression"),_Se=h.CatchClause=_("catchClause"),NSe=h.ConditionalExpression=_("conditionalExpression"),OSe=h.ContinueStatement=_("continueStatement"),BSe=h.DebuggerStatement=_("debuggerStatement"),kSe=h.DoWhileStatement=_("doWhileStatement"),FSe=h.EmptyStatement=_("emptyStatement"),LSe=h.ExpressionStatement=_("expressionStatement"),jSe=h.File=_("file"),MSe=h.ForInStatement=_("forInStatement"),RSe=h.ForStatement=_("forStatement"),qSe=h.FunctionDeclaration=_("functionDeclaration"),USe=h.FunctionExpression=_("functionExpression"),VSe=h.Identifier=_("identifier"),$Se=h.IfStatement=_("ifStatement"),WSe=h.LabeledStatement=_("labeledStatement"),KSe=h.StringLiteral=_("stringLiteral"),HSe=h.NumericLiteral=_("numericLiteral"),GSe=h.NullLiteral=_("nullLiteral"),XSe=h.BooleanLiteral=_("booleanLiteral"),YSe=h.RegExpLiteral=_("regExpLiteral"),JSe=h.LogicalExpression=_("logicalExpression"),zSe=h.MemberExpression=_("memberExpression"),QSe=h.NewExpression=_("newExpression"),ZSe=h.Program=_("program"),eve=h.ObjectExpression=_("objectExpression"),tve=h.ObjectMethod=_("objectMethod"),rve=h.ObjectProperty=_("objectProperty"),nve=h.RestElement=_("restElement"),sve=h.ReturnStatement=_("returnStatement"),ive=h.SequenceExpression=_("sequenceExpression"),ave=h.ParenthesizedExpression=_("parenthesizedExpression"),ove=h.SwitchCase=_("switchCase"),lve=h.SwitchStatement=_("switchStatement"),uve=h.ThisExpression=_("thisExpression"),cve=h.ThrowStatement=_("throwStatement"),pve=h.TryStatement=_("tryStatement"),fve=h.UnaryExpression=_("unaryExpression"),dve=h.UpdateExpression=_("updateExpression"),hve=h.VariableDeclaration=_("variableDeclaration"),mve=h.VariableDeclarator=_("variableDeclarator"),yve=h.WhileStatement=_("whileStatement"),gve=h.WithStatement=_("withStatement"),bve=h.AssignmentPattern=_("assignmentPattern"),Eve=h.ArrayPattern=_("arrayPattern"),Tve=h.ArrowFunctionExpression=_("arrowFunctionExpression"),xve=h.ClassBody=_("classBody"),Sve=h.ClassExpression=_("classExpression"),vve=h.ClassDeclaration=_("classDeclaration"),Pve=h.ExportAllDeclaration=_("exportAllDeclaration"),Ave=h.ExportDefaultDeclaration=_("exportDefaultDeclaration"),Cve=h.ExportNamedDeclaration=_("exportNamedDeclaration"),Dve=h.ExportSpecifier=_("exportSpecifier"),wve=h.ForOfStatement=_("forOfStatement"),Ive=h.ImportDeclaration=_("importDeclaration"),_ve=h.ImportDefaultSpecifier=_("importDefaultSpecifier"),Nve=h.ImportNamespaceSpecifier=_("importNamespaceSpecifier"),Ove=h.ImportSpecifier=_("importSpecifier"),Bve=h.ImportExpression=_("importExpression"),kve=h.MetaProperty=_("metaProperty"),Fve=h.ClassMethod=_("classMethod"),Lve=h.ObjectPattern=_("objectPattern"),jve=h.SpreadElement=_("spreadElement"),Mve=h.Super=_("super"),Rve=h.TaggedTemplateExpression=_("taggedTemplateExpression"),qve=h.TemplateElement=_("templateElement"),Uve=h.TemplateLiteral=_("templateLiteral"),Vve=h.YieldExpression=_("yieldExpression"),$ve=h.AwaitExpression=_("awaitExpression"),Wve=h.Import=_("import"),Kve=h.BigIntLiteral=_("bigIntLiteral"),Hve=h.ExportNamespaceSpecifier=_("exportNamespaceSpecifier"),Gve=h.OptionalMemberExpression=_("optionalMemberExpression"),Xve=h.OptionalCallExpression=_("optionalCallExpression"),Yve=h.ClassProperty=_("classProperty"),Jve=h.ClassAccessorProperty=_("classAccessorProperty"),zve=h.ClassPrivateProperty=_("classPrivateProperty"),Qve=h.ClassPrivateMethod=_("classPrivateMethod"),Zve=h.PrivateName=_("privateName"),ePe=h.StaticBlock=_("staticBlock"),tPe=h.ImportAttribute=_("importAttribute"),rPe=h.AnyTypeAnnotation=_("anyTypeAnnotation"),nPe=h.ArrayTypeAnnotation=_("arrayTypeAnnotation"),sPe=h.BooleanTypeAnnotation=_("booleanTypeAnnotation"),iPe=h.BooleanLiteralTypeAnnotation=_("booleanLiteralTypeAnnotation"),aPe=h.NullLiteralTypeAnnotation=_("nullLiteralTypeAnnotation"),oPe=h.ClassImplements=_("classImplements"),lPe=h.DeclareClass=_("declareClass"),uPe=h.DeclareFunction=_("declareFunction"),cPe=h.DeclareInterface=_("declareInterface"),pPe=h.DeclareModule=_("declareModule"),fPe=h.DeclareModuleExports=_("declareModuleExports"),dPe=h.DeclareTypeAlias=_("declareTypeAlias"),hPe=h.DeclareOpaqueType=_("declareOpaqueType"),mPe=h.DeclareVariable=_("declareVariable"),yPe=h.DeclareExportDeclaration=_("declareExportDeclaration"),gPe=h.DeclareExportAllDeclaration=_("declareExportAllDeclaration"),bPe=h.DeclaredPredicate=_("declaredPredicate"),EPe=h.ExistsTypeAnnotation=_("existsTypeAnnotation"),TPe=h.FunctionTypeAnnotation=_("functionTypeAnnotation"),xPe=h.FunctionTypeParam=_("functionTypeParam"),SPe=h.GenericTypeAnnotation=_("genericTypeAnnotation"),vPe=h.InferredPredicate=_("inferredPredicate"),PPe=h.InterfaceExtends=_("interfaceExtends"),APe=h.InterfaceDeclaration=_("interfaceDeclaration"),CPe=h.InterfaceTypeAnnotation=_("interfaceTypeAnnotation"),DPe=h.IntersectionTypeAnnotation=_("intersectionTypeAnnotation"),wPe=h.MixedTypeAnnotation=_("mixedTypeAnnotation"),IPe=h.EmptyTypeAnnotation=_("emptyTypeAnnotation"),_Pe=h.NullableTypeAnnotation=_("nullableTypeAnnotation"),NPe=h.NumberLiteralTypeAnnotation=_("numberLiteralTypeAnnotation"),OPe=h.NumberTypeAnnotation=_("numberTypeAnnotation"),BPe=h.ObjectTypeAnnotation=_("objectTypeAnnotation"),kPe=h.ObjectTypeInternalSlot=_("objectTypeInternalSlot"),FPe=h.ObjectTypeCallProperty=_("objectTypeCallProperty"),LPe=h.ObjectTypeIndexer=_("objectTypeIndexer"),jPe=h.ObjectTypeProperty=_("objectTypeProperty"),MPe=h.ObjectTypeSpreadProperty=_("objectTypeSpreadProperty"),RPe=h.OpaqueType=_("opaqueType"),qPe=h.QualifiedTypeIdentifier=_("qualifiedTypeIdentifier"),UPe=h.StringLiteralTypeAnnotation=_("stringLiteralTypeAnnotation"),VPe=h.StringTypeAnnotation=_("stringTypeAnnotation"),$Pe=h.SymbolTypeAnnotation=_("symbolTypeAnnotation"),WPe=h.ThisTypeAnnotation=_("thisTypeAnnotation"),KPe=h.TupleTypeAnnotation=_("tupleTypeAnnotation"),HPe=h.TypeofTypeAnnotation=_("typeofTypeAnnotation"),GPe=h.TypeAlias=_("typeAlias"),XPe=h.TypeAnnotation=_("typeAnnotation"),YPe=h.TypeCastExpression=_("typeCastExpression"),JPe=h.TypeParameter=_("typeParameter"),zPe=h.TypeParameterDeclaration=_("typeParameterDeclaration"),QPe=h.TypeParameterInstantiation=_("typeParameterInstantiation"),ZPe=h.UnionTypeAnnotation=_("unionTypeAnnotation"),eAe=h.Variance=_("variance"),tAe=h.VoidTypeAnnotation=_("voidTypeAnnotation"),rAe=h.EnumDeclaration=_("enumDeclaration"),nAe=h.EnumBooleanBody=_("enumBooleanBody"),sAe=h.EnumNumberBody=_("enumNumberBody"),iAe=h.EnumStringBody=_("enumStringBody"),aAe=h.EnumSymbolBody=_("enumSymbolBody"),oAe=h.EnumBooleanMember=_("enumBooleanMember"),lAe=h.EnumNumberMember=_("enumNumberMember"),uAe=h.EnumStringMember=_("enumStringMember"),cAe=h.EnumDefaultedMember=_("enumDefaultedMember"),pAe=h.IndexedAccessType=_("indexedAccessType"),fAe=h.OptionalIndexedAccessType=_("optionalIndexedAccessType"),dAe=h.JSXAttribute=_("jsxAttribute"),hAe=h.JSXClosingElement=_("jsxClosingElement"),mAe=h.JSXElement=_("jsxElement"),yAe=h.JSXEmptyExpression=_("jsxEmptyExpression"),gAe=h.JSXExpressionContainer=_("jsxExpressionContainer"),bAe=h.JSXSpreadChild=_("jsxSpreadChild"),EAe=h.JSXIdentifier=_("jsxIdentifier"),TAe=h.JSXMemberExpression=_("jsxMemberExpression"),xAe=h.JSXNamespacedName=_("jsxNamespacedName"),SAe=h.JSXOpeningElement=_("jsxOpeningElement"),vAe=h.JSXSpreadAttribute=_("jsxSpreadAttribute"),PAe=h.JSXText=_("jsxText"),AAe=h.JSXFragment=_("jsxFragment"),CAe=h.JSXOpeningFragment=_("jsxOpeningFragment"),DAe=h.JSXClosingFragment=_("jsxClosingFragment"),wAe=h.Noop=_("noop"),IAe=h.Placeholder=_("placeholder"),_Ae=h.V8IntrinsicIdentifier=_("v8IntrinsicIdentifier"),NAe=h.ArgumentPlaceholder=_("argumentPlaceholder"),OAe=h.BindExpression=_("bindExpression"),BAe=h.Decorator=_("decorator"),kAe=h.DoExpression=_("doExpression"),FAe=h.ExportDefaultSpecifier=_("exportDefaultSpecifier"),LAe=h.RecordExpression=_("recordExpression"),jAe=h.TupleExpression=_("tupleExpression"),MAe=h.DecimalLiteral=_("decimalLiteral"),RAe=h.ModuleExpression=_("moduleExpression"),qAe=h.TopicReference=_("topicReference"),UAe=h.PipelineTopicExpression=_("pipelineTopicExpression"),VAe=h.PipelineBareFunction=_("pipelineBareFunction"),$Ae=h.PipelinePrimaryTopicReference=_("pipelinePrimaryTopicReference"),WAe=h.VoidPattern=_("voidPattern"),KAe=h.TSParameterProperty=_("tsParameterProperty"),HAe=h.TSDeclareFunction=_("tsDeclareFunction"),GAe=h.TSDeclareMethod=_("tsDeclareMethod"),XAe=h.TSQualifiedName=_("tsQualifiedName"),YAe=h.TSCallSignatureDeclaration=_("tsCallSignatureDeclaration"),JAe=h.TSConstructSignatureDeclaration=_("tsConstructSignatureDeclaration"),zAe=h.TSPropertySignature=_("tsPropertySignature"),QAe=h.TSMethodSignature=_("tsMethodSignature"),ZAe=h.TSIndexSignature=_("tsIndexSignature"),eCe=h.TSAnyKeyword=_("tsAnyKeyword"),tCe=h.TSBooleanKeyword=_("tsBooleanKeyword"),rCe=h.TSBigIntKeyword=_("tsBigIntKeyword"),nCe=h.TSIntrinsicKeyword=_("tsIntrinsicKeyword"),sCe=h.TSNeverKeyword=_("tsNeverKeyword"),iCe=h.TSNullKeyword=_("tsNullKeyword"),aCe=h.TSNumberKeyword=_("tsNumberKeyword"),oCe=h.TSObjectKeyword=_("tsObjectKeyword"),lCe=h.TSStringKeyword=_("tsStringKeyword"),uCe=h.TSSymbolKeyword=_("tsSymbolKeyword"),cCe=h.TSUndefinedKeyword=_("tsUndefinedKeyword"),pCe=h.TSUnknownKeyword=_("tsUnknownKeyword"),fCe=h.TSVoidKeyword=_("tsVoidKeyword"),dCe=h.TSThisType=_("tsThisType"),hCe=h.TSFunctionType=_("tsFunctionType"),mCe=h.TSConstructorType=_("tsConstructorType"),yCe=h.TSTypeReference=_("tsTypeReference"),gCe=h.TSTypePredicate=_("tsTypePredicate"),bCe=h.TSTypeQuery=_("tsTypeQuery"),ECe=h.TSTypeLiteral=_("tsTypeLiteral"),TCe=h.TSArrayType=_("tsArrayType"),xCe=h.TSTupleType=_("tsTupleType"),SCe=h.TSOptionalType=_("tsOptionalType"),vCe=h.TSRestType=_("tsRestType"),PCe=h.TSNamedTupleMember=_("tsNamedTupleMember"),ACe=h.TSUnionType=_("tsUnionType"),CCe=h.TSIntersectionType=_("tsIntersectionType"),DCe=h.TSConditionalType=_("tsConditionalType"),wCe=h.TSInferType=_("tsInferType"),ICe=h.TSParenthesizedType=_("tsParenthesizedType"),_Ce=h.TSTypeOperator=_("tsTypeOperator"),NCe=h.TSIndexedAccessType=_("tsIndexedAccessType"),OCe=h.TSMappedType=_("tsMappedType"),BCe=h.TSTemplateLiteralType=_("tsTemplateLiteralType"),kCe=h.TSLiteralType=_("tsLiteralType"),FCe=h.TSExpressionWithTypeArguments=_("tsExpressionWithTypeArguments"),LCe=h.TSInterfaceDeclaration=_("tsInterfaceDeclaration"),jCe=h.TSInterfaceBody=_("tsInterfaceBody"),MCe=h.TSTypeAliasDeclaration=_("tsTypeAliasDeclaration"),RCe=h.TSInstantiationExpression=_("tsInstantiationExpression"),qCe=h.TSAsExpression=_("tsAsExpression"),UCe=h.TSSatisfiesExpression=_("tsSatisfiesExpression"),VCe=h.TSTypeAssertion=_("tsTypeAssertion"),$Ce=h.TSEnumBody=_("tsEnumBody"),WCe=h.TSEnumDeclaration=_("tsEnumDeclaration"),KCe=h.TSEnumMember=_("tsEnumMember"),HCe=h.TSModuleDeclaration=_("tsModuleDeclaration"),GCe=h.TSModuleBlock=_("tsModuleBlock"),XCe=h.TSImportType=_("tsImportType"),YCe=h.TSImportEqualsDeclaration=_("tsImportEqualsDeclaration"),JCe=h.TSExternalModuleReference=_("tsExternalModuleReference"),zCe=h.TSNonNullExpression=_("tsNonNullExpression"),QCe=h.TSExportAssignment=_("tsExportAssignment"),ZCe=h.TSNamespaceExportDeclaration=_("tsNamespaceExportDeclaration"),e2e=h.TSTypeAnnotation=_("tsTypeAnnotation"),t2e=h.TSTypeParameterInstantiation=_("tsTypeParameterInstantiation"),r2e=h.TSTypeParameterDeclaration=_("tsTypeParameterDeclaration"),n2e=h.TSTypeParameter=_("tsTypeParameter"),s2e=h.NumberLiteral=So.numberLiteral,i2e=h.RegexLiteral=So.regexLiteral,a2e=h.RestProperty=So.restProperty,o2e=h.SpreadProperty=So.spreadProperty});var Kr=x(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});var qd=Rd();Object.keys(qd).forEach(function(e){e==="default"||e==="__esModule"||e in Os&&Os[e]===qd[e]||Object.defineProperty(Os,e,{enumerable:!0,get:function(){return qd[e]}})});var Ud=rx();Object.keys(Ud).forEach(function(e){e==="default"||e==="__esModule"||e in Os&&Os[e]===Ud[e]||Object.defineProperty(Os,e,{enumerable:!0,get:function(){return Ud[e]}})})});var nx=x(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});Vd.default=C7;var P7=Kr(),A7=Fe();function C7(e,t){let r=e.value.split(/\r\n|\n|\r/),n=0;for(let i=0;i<r.length;i++)/[^ \t]/.exec(r[i])&&(n=i);let s="";for(let i=0;i<r.length;i++){let a=r[i],o=i===0,l=i===r.length-1,u=i===n,c=a.replace(/\t/g," ");o||(c=c.replace(/^ +/,"")),l||(c=c.replace(/ +$/,"")),c&&(u||(c+=" "),s+=c)}s&&t.push((0,A7.inherits)((0,P7.stringLiteral)(s),e))}});var sx=x(Wd=>{"use strict";Object.defineProperty(Wd,"__esModule",{value:!0});Wd.default=w7;var $d=Wt(),D7=nx();function w7(e){let t=[];for(let r=0;r<e.children.length;r++){let n=e.children[r];if((0,$d.isJSXText)(n)){(0,D7.default)(n,t);continue}(0,$d.isJSXExpressionContainer)(n)&&(n=n.expression),!(0,$d.isJSXEmptyExpression)(n)&&t.push(n)}return t}});var Hd=x(Kd=>{"use strict";Object.defineProperty(Kd,"__esModule",{value:!0});Kd.default=_7;var I7=an();function _7(e){return!!(e&&I7.VISITOR_KEYS[e.type])}});var ix=x(Gd=>{"use strict";Object.defineProperty(Gd,"__esModule",{value:!0});Gd.default=O7;var N7=Hd();function O7(e){if(!(0,N7.default)(e)){var t;let r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}});var ax=x(v=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});v.assertAccessor=Q$;v.assertAnyTypeAnnotation=mq;v.assertArgumentPlaceholder=WU;v.assertArrayExpression=k7;v.assertArrayPattern=O9;v.assertArrayTypeAnnotation=yq;v.assertArrowFunctionExpression=B9;v.assertAssignmentExpression=F7;v.assertAssignmentPattern=N9;v.assertAwaitExpression=rq;v.assertBigIntLiteral=sq;v.assertBinary=E$;v.assertBinaryExpression=L7;v.assertBindExpression=KU;v.assertBlock=S$;v.assertBlockParent=x$;v.assertBlockStatement=q7;v.assertBooleanLiteral=o9;v.assertBooleanLiteralTypeAnnotation=bq;v.assertBooleanTypeAnnotation=gq;v.assertBreakStatement=U7;v.assertCallExpression=V7;v.assertCatchClause=$7;v.assertClass=X$;v.assertClassAccessorProperty=uq;v.assertClassBody=k9;v.assertClassDeclaration=L9;v.assertClassExpression=F9;v.assertClassImplements=Tq;v.assertClassMethod=X9;v.assertClassPrivateMethod=pq;v.assertClassPrivateProperty=cq;v.assertClassProperty=lq;v.assertCompletionStatement=A$;v.assertConditional=C$;v.assertConditionalExpression=W7;v.assertContinueStatement=K7;v.assertDebuggerStatement=H7;v.assertDecimalLiteral=zU;v.assertDeclaration=F$;v.assertDeclareClass=xq;v.assertDeclareExportAllDeclaration=_q;v.assertDeclareExportDeclaration=Iq;v.assertDeclareFunction=Sq;v.assertDeclareInterface=vq;v.assertDeclareModule=Pq;v.assertDeclareModuleExports=Aq;v.assertDeclareOpaqueType=Dq;v.assertDeclareTypeAlias=Cq;v.assertDeclareVariable=wq;v.assertDeclaredPredicate=Nq;v.assertDecorator=HU;v.assertDirective=M7;v.assertDirectiveLiteral=R7;v.assertDoExpression=GU;v.assertDoWhileStatement=G7;v.assertEmptyStatement=X7;v.assertEmptyTypeAnnotation=Vq;v.assertEnumBody=iW;v.assertEnumBooleanBody=yU;v.assertEnumBooleanMember=TU;v.assertEnumDeclaration=mU;v.assertEnumDefaultedMember=vU;v.assertEnumMember=aW;v.assertEnumNumberBody=gU;v.assertEnumNumberMember=xU;v.assertEnumStringBody=bU;v.assertEnumStringMember=SU;v.assertEnumSymbolBody=EU;v.assertExistsTypeAnnotation=Oq;v.assertExportAllDeclaration=j9;v.assertExportDeclaration=J$;v.assertExportDefaultDeclaration=M9;v.assertExportDefaultSpecifier=XU;v.assertExportNamedDeclaration=R9;v.assertExportNamespaceSpecifier=iq;v.assertExportSpecifier=q9;v.assertExpression=b$;v.assertExpressionStatement=Y7;v.assertExpressionWrapper=I$;v.assertFile=J7;v.assertFlow=eW;v.assertFlowBaseAnnotation=rW;v.assertFlowDeclaration=nW;v.assertFlowPredicate=sW;v.assertFlowType=tW;v.assertFor=_$;v.assertForInStatement=z7;v.assertForOfStatement=U9;v.assertForStatement=Q7;v.assertForXStatement=N$;v.assertFunction=O$;v.assertFunctionDeclaration=Z7;v.assertFunctionExpression=e9;v.assertFunctionParameter=L$;v.assertFunctionParent=B$;v.assertFunctionTypeAnnotation=Bq;v.assertFunctionTypeParam=kq;v.assertGenericTypeAnnotation=Fq;v.assertIdentifier=t9;v.assertIfStatement=r9;v.assertImmutable=U$;v.assertImport=nq;v.assertImportAttribute=hq;v.assertImportDeclaration=V9;v.assertImportDefaultSpecifier=$9;v.assertImportExpression=H9;v.assertImportNamespaceSpecifier=W9;v.assertImportOrExportDeclaration=Y$;v.assertImportSpecifier=K9;v.assertIndexedAccessType=PU;v.assertInferredPredicate=Lq;v.assertInterfaceDeclaration=Mq;v.assertInterfaceExtends=jq;v.assertInterfaceTypeAnnotation=Rq;v.assertInterpreterDirective=j7;v.assertIntersectionTypeAnnotation=qq;v.assertJSX=oW;v.assertJSXAttribute=CU;v.assertJSXClosingElement=DU;v.assertJSXClosingFragment=qU;v.assertJSXElement=wU;v.assertJSXEmptyExpression=IU;v.assertJSXExpressionContainer=_U;v.assertJSXFragment=MU;v.assertJSXIdentifier=OU;v.assertJSXMemberExpression=BU;v.assertJSXNamespacedName=kU;v.assertJSXOpeningElement=FU;v.assertJSXOpeningFragment=RU;v.assertJSXSpreadAttribute=LU;v.assertJSXSpreadChild=NU;v.assertJSXText=jU;v.assertLVal=M$;v.assertLabeledStatement=n9;v.assertLiteral=q$;v.assertLogicalExpression=u9;v.assertLoop=D$;v.assertMemberExpression=c9;v.assertMetaProperty=G9;v.assertMethod=$$;v.assertMiscellaneous=lW;v.assertMixedTypeAnnotation=Uq;v.assertModuleDeclaration=gW;v.assertModuleExpression=QU;v.assertModuleSpecifier=z$;v.assertNewExpression=p9;v.assertNoop=UU;v.assertNullLiteral=a9;v.assertNullLiteralTypeAnnotation=Eq;v.assertNullableTypeAnnotation=$q;v.assertNumberLiteral=dW;v.assertNumberLiteralTypeAnnotation=Wq;v.assertNumberTypeAnnotation=Kq;v.assertNumericLiteral=i9;v.assertObjectExpression=d9;v.assertObjectMember=W$;v.assertObjectMethod=h9;v.assertObjectPattern=Y9;v.assertObjectProperty=m9;v.assertObjectTypeAnnotation=Hq;v.assertObjectTypeCallProperty=Xq;v.assertObjectTypeIndexer=Yq;v.assertObjectTypeInternalSlot=Gq;v.assertObjectTypeProperty=Jq;v.assertObjectTypeSpreadProperty=zq;v.assertOpaqueType=Qq;v.assertOptionalCallExpression=oq;v.assertOptionalIndexedAccessType=AU;v.assertOptionalMemberExpression=aq;v.assertParenthesizedExpression=E9;v.assertPattern=G$;v.assertPatternLike=j$;v.assertPipelineBareFunction=tV;v.assertPipelinePrimaryTopicReference=rV;v.assertPipelineTopicExpression=eV;v.assertPlaceholder=VU;v.assertPrivate=Z$;v.assertPrivateName=fq;v.assertProgram=f9;v.assertProperty=K$;v.assertPureish=k$;v.assertQualifiedTypeIdentifier=Zq;v.assertRecordExpression=YU;v.assertRegExpLiteral=l9;v.assertRegexLiteral=hW;v.assertRestElement=y9;v.assertRestProperty=mW;v.assertReturnStatement=g9;v.assertScopable=T$;v.assertSequenceExpression=b9;v.assertSpreadElement=J9;v.assertSpreadProperty=yW;v.assertStandardized=g$;v.assertStatement=v$;v.assertStaticBlock=dq;v.assertStringLiteral=s9;v.assertStringLiteralTypeAnnotation=eU;v.assertStringTypeAnnotation=tU;v.assertSuper=z9;v.assertSwitchCase=T9;v.assertSwitchStatement=x9;v.assertSymbolTypeAnnotation=rU;v.assertTSAnyKeyword=dV;v.assertTSArrayType=BV;v.assertTSAsExpression=ZV;v.assertTSBaseType=fW;v.assertTSBigIntKeyword=mV;v.assertTSBooleanKeyword=hV;v.assertTSCallSignatureDeclaration=lV;v.assertTSConditionalType=qV;v.assertTSConstructSignatureDeclaration=uV;v.assertTSConstructorType=wV;v.assertTSDeclareFunction=iV;v.assertTSDeclareMethod=aV;v.assertTSEntityName=R$;v.assertTSEnumBody=r$;v.assertTSEnumDeclaration=n$;v.assertTSEnumMember=s$;v.assertTSExportAssignment=p$;v.assertTSExpressionWithTypeArguments=XV;v.assertTSExternalModuleReference=u$;v.assertTSFunctionType=DV;v.assertTSImportEqualsDeclaration=l$;v.assertTSImportType=o$;v.assertTSIndexSignature=fV;v.assertTSIndexedAccessType=WV;v.assertTSInferType=UV;v.assertTSInstantiationExpression=QV;v.assertTSInterfaceBody=JV;v.assertTSInterfaceDeclaration=YV;v.assertTSIntersectionType=RV;v.assertTSIntrinsicKeyword=yV;v.assertTSLiteralType=GV;v.assertTSMappedType=KV;v.assertTSMethodSignature=pV;v.assertTSModuleBlock=a$;v.assertTSModuleDeclaration=i$;v.assertTSNamedTupleMember=jV;v.assertTSNamespaceExportDeclaration=f$;v.assertTSNeverKeyword=gV;v.assertTSNonNullExpression=c$;v.assertTSNullKeyword=bV;v.assertTSNumberKeyword=EV;v.assertTSObjectKeyword=TV;v.assertTSOptionalType=FV;v.assertTSParameterProperty=sV;v.assertTSParenthesizedType=VV;v.assertTSPropertySignature=cV;v.assertTSQualifiedName=oV;v.assertTSRestType=LV;v.assertTSSatisfiesExpression=e$;v.assertTSStringKeyword=xV;v.assertTSSymbolKeyword=SV;v.assertTSTemplateLiteralType=HV;v.assertTSThisType=CV;v.assertTSTupleType=kV;v.assertTSType=pW;v.assertTSTypeAliasDeclaration=zV;v.assertTSTypeAnnotation=d$;v.assertTSTypeAssertion=t$;v.assertTSTypeElement=cW;v.assertTSTypeLiteral=OV;v.assertTSTypeOperator=$V;v.assertTSTypeParameter=y$;v.assertTSTypeParameterDeclaration=m$;v.assertTSTypeParameterInstantiation=h$;v.assertTSTypePredicate=_V;v.assertTSTypeQuery=NV;v.assertTSTypeReference=IV;v.assertTSUndefinedKeyword=vV;v.assertTSUnionType=MV;v.assertTSUnknownKeyword=PV;v.assertTSVoidKeyword=AV;v.assertTaggedTemplateExpression=Q9;v.assertTemplateElement=Z9;v.assertTemplateLiteral=eq;v.assertTerminatorless=P$;v.assertThisExpression=S9;v.assertThisTypeAnnotation=nU;v.assertThrowStatement=v9;v.assertTopicReference=ZU;v.assertTryStatement=P9;v.assertTupleExpression=JU;v.assertTupleTypeAnnotation=sU;v.assertTypeAlias=aU;v.assertTypeAnnotation=oU;v.assertTypeCastExpression=lU;v.assertTypeParameter=uU;v.assertTypeParameterDeclaration=cU;v.assertTypeParameterInstantiation=pU;v.assertTypeScript=uW;v.assertTypeofTypeAnnotation=iU;v.assertUnaryExpression=A9;v.assertUnaryLike=H$;v.assertUnionTypeAnnotation=fU;v.assertUpdateExpression=C9;v.assertUserWhitespacable=V$;v.assertV8IntrinsicIdentifier=$U;v.assertVariableDeclaration=D9;v.assertVariableDeclarator=w9;v.assertVariance=dU;v.assertVoidPattern=nV;v.assertVoidTypeAnnotation=hU;v.assertWhile=w$;v.assertWhileStatement=I9;v.assertWithStatement=_9;v.assertYieldExpression=tq;var B7=sa(),vo=na();function P(e,t,r){if(!(0,B7.default)(e,t,r))throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, but instead got "${t.type}".`)}function k7(e,t){P("ArrayExpression",e,t)}function F7(e,t){P("AssignmentExpression",e,t)}function L7(e,t){P("BinaryExpression",e,t)}function j7(e,t){P("InterpreterDirective",e,t)}function M7(e,t){P("Directive",e,t)}function R7(e,t){P("DirectiveLiteral",e,t)}function q7(e,t){P("BlockStatement",e,t)}function U7(e,t){P("BreakStatement",e,t)}function V7(e,t){P("CallExpression",e,t)}function $7(e,t){P("CatchClause",e,t)}function W7(e,t){P("ConditionalExpression",e,t)}function K7(e,t){P("ContinueStatement",e,t)}function H7(e,t){P("DebuggerStatement",e,t)}function G7(e,t){P("DoWhileStatement",e,t)}function X7(e,t){P("EmptyStatement",e,t)}function Y7(e,t){P("ExpressionStatement",e,t)}function J7(e,t){P("File",e,t)}function z7(e,t){P("ForInStatement",e,t)}function Q7(e,t){P("ForStatement",e,t)}function Z7(e,t){P("FunctionDeclaration",e,t)}function e9(e,t){P("FunctionExpression",e,t)}function t9(e,t){P("Identifier",e,t)}function r9(e,t){P("IfStatement",e,t)}function n9(e,t){P("LabeledStatement",e,t)}function s9(e,t){P("StringLiteral",e,t)}function i9(e,t){P("NumericLiteral",e,t)}function a9(e,t){P("NullLiteral",e,t)}function o9(e,t){P("BooleanLiteral",e,t)}function l9(e,t){P("RegExpLiteral",e,t)}function u9(e,t){P("LogicalExpression",e,t)}function c9(e,t){P("MemberExpression",e,t)}function p9(e,t){P("NewExpression",e,t)}function f9(e,t){P("Program",e,t)}function d9(e,t){P("ObjectExpression",e,t)}function h9(e,t){P("ObjectMethod",e,t)}function m9(e,t){P("ObjectProperty",e,t)}function y9(e,t){P("RestElement",e,t)}function g9(e,t){P("ReturnStatement",e,t)}function b9(e,t){P("SequenceExpression",e,t)}function E9(e,t){P("ParenthesizedExpression",e,t)}function T9(e,t){P("SwitchCase",e,t)}function x9(e,t){P("SwitchStatement",e,t)}function S9(e,t){P("ThisExpression",e,t)}function v9(e,t){P("ThrowStatement",e,t)}function P9(e,t){P("TryStatement",e,t)}function A9(e,t){P("UnaryExpression",e,t)}function C9(e,t){P("UpdateExpression",e,t)}function D9(e,t){P("VariableDeclaration",e,t)}function w9(e,t){P("VariableDeclarator",e,t)}function I9(e,t){P("WhileStatement",e,t)}function _9(e,t){P("WithStatement",e,t)}function N9(e,t){P("AssignmentPattern",e,t)}function O9(e,t){P("ArrayPattern",e,t)}function B9(e,t){P("ArrowFunctionExpression",e,t)}function k9(e,t){P("ClassBody",e,t)}function F9(e,t){P("ClassExpression",e,t)}function L9(e,t){P("ClassDeclaration",e,t)}function j9(e,t){P("ExportAllDeclaration",e,t)}function M9(e,t){P("ExportDefaultDeclaration",e,t)}function R9(e,t){P("ExportNamedDeclaration",e,t)}function q9(e,t){P("ExportSpecifier",e,t)}function U9(e,t){P("ForOfStatement",e,t)}function V9(e,t){P("ImportDeclaration",e,t)}function $9(e,t){P("ImportDefaultSpecifier",e,t)}function W9(e,t){P("ImportNamespaceSpecifier",e,t)}function K9(e,t){P("ImportSpecifier",e,t)}function H9(e,t){P("ImportExpression",e,t)}function G9(e,t){P("MetaProperty",e,t)}function X9(e,t){P("ClassMethod",e,t)}function Y9(e,t){P("ObjectPattern",e,t)}function J9(e,t){P("SpreadElement",e,t)}function z9(e,t){P("Super",e,t)}function Q9(e,t){P("TaggedTemplateExpression",e,t)}function Z9(e,t){P("TemplateElement",e,t)}function eq(e,t){P("TemplateLiteral",e,t)}function tq(e,t){P("YieldExpression",e,t)}function rq(e,t){P("AwaitExpression",e,t)}function nq(e,t){P("Import",e,t)}function sq(e,t){P("BigIntLiteral",e,t)}function iq(e,t){P("ExportNamespaceSpecifier",e,t)}function aq(e,t){P("OptionalMemberExpression",e,t)}function oq(e,t){P("OptionalCallExpression",e,t)}function lq(e,t){P("ClassProperty",e,t)}function uq(e,t){P("ClassAccessorProperty",e,t)}function cq(e,t){P("ClassPrivateProperty",e,t)}function pq(e,t){P("ClassPrivateMethod",e,t)}function fq(e,t){P("PrivateName",e,t)}function dq(e,t){P("StaticBlock",e,t)}function hq(e,t){P("ImportAttribute",e,t)}function mq(e,t){P("AnyTypeAnnotation",e,t)}function yq(e,t){P("ArrayTypeAnnotation",e,t)}function gq(e,t){P("BooleanTypeAnnotation",e,t)}function bq(e,t){P("BooleanLiteralTypeAnnotation",e,t)}function Eq(e,t){P("NullLiteralTypeAnnotation",e,t)}function Tq(e,t){P("ClassImplements",e,t)}function xq(e,t){P("DeclareClass",e,t)}function Sq(e,t){P("DeclareFunction",e,t)}function vq(e,t){P("DeclareInterface",e,t)}function Pq(e,t){P("DeclareModule",e,t)}function Aq(e,t){P("DeclareModuleExports",e,t)}function Cq(e,t){P("DeclareTypeAlias",e,t)}function Dq(e,t){P("DeclareOpaqueType",e,t)}function wq(e,t){P("DeclareVariable",e,t)}function Iq(e,t){P("DeclareExportDeclaration",e,t)}function _q(e,t){P("DeclareExportAllDeclaration",e,t)}function Nq(e,t){P("DeclaredPredicate",e,t)}function Oq(e,t){P("ExistsTypeAnnotation",e,t)}function Bq(e,t){P("FunctionTypeAnnotation",e,t)}function kq(e,t){P("FunctionTypeParam",e,t)}function Fq(e,t){P("GenericTypeAnnotation",e,t)}function Lq(e,t){P("InferredPredicate",e,t)}function jq(e,t){P("InterfaceExtends",e,t)}function Mq(e,t){P("InterfaceDeclaration",e,t)}function Rq(e,t){P("InterfaceTypeAnnotation",e,t)}function qq(e,t){P("IntersectionTypeAnnotation",e,t)}function Uq(e,t){P("MixedTypeAnnotation",e,t)}function Vq(e,t){P("EmptyTypeAnnotation",e,t)}function $q(e,t){P("NullableTypeAnnotation",e,t)}function Wq(e,t){P("NumberLiteralTypeAnnotation",e,t)}function Kq(e,t){P("NumberTypeAnnotation",e,t)}function Hq(e,t){P("ObjectTypeAnnotation",e,t)}function Gq(e,t){P("ObjectTypeInternalSlot",e,t)}function Xq(e,t){P("ObjectTypeCallProperty",e,t)}function Yq(e,t){P("ObjectTypeIndexer",e,t)}function Jq(e,t){P("ObjectTypeProperty",e,t)}function zq(e,t){P("ObjectTypeSpreadProperty",e,t)}function Qq(e,t){P("OpaqueType",e,t)}function Zq(e,t){P("QualifiedTypeIdentifier",e,t)}function eU(e,t){P("StringLiteralTypeAnnotation",e,t)}function tU(e,t){P("StringTypeAnnotation",e,t)}function rU(e,t){P("SymbolTypeAnnotation",e,t)}function nU(e,t){P("ThisTypeAnnotation",e,t)}function sU(e,t){P("TupleTypeAnnotation",e,t)}function iU(e,t){P("TypeofTypeAnnotation",e,t)}function aU(e,t){P("TypeAlias",e,t)}function oU(e,t){P("TypeAnnotation",e,t)}function lU(e,t){P("TypeCastExpression",e,t)}function uU(e,t){P("TypeParameter",e,t)}function cU(e,t){P("TypeParameterDeclaration",e,t)}function pU(e,t){P("TypeParameterInstantiation",e,t)}function fU(e,t){P("UnionTypeAnnotation",e,t)}function dU(e,t){P("Variance",e,t)}function hU(e,t){P("VoidTypeAnnotation",e,t)}function mU(e,t){P("EnumDeclaration",e,t)}function yU(e,t){P("EnumBooleanBody",e,t)}function gU(e,t){P("EnumNumberBody",e,t)}function bU(e,t){P("EnumStringBody",e,t)}function EU(e,t){P("EnumSymbolBody",e,t)}function TU(e,t){P("EnumBooleanMember",e,t)}function xU(e,t){P("EnumNumberMember",e,t)}function SU(e,t){P("EnumStringMember",e,t)}function vU(e,t){P("EnumDefaultedMember",e,t)}function PU(e,t){P("IndexedAccessType",e,t)}function AU(e,t){P("OptionalIndexedAccessType",e,t)}function CU(e,t){P("JSXAttribute",e,t)}function DU(e,t){P("JSXClosingElement",e,t)}function wU(e,t){P("JSXElement",e,t)}function IU(e,t){P("JSXEmptyExpression",e,t)}function _U(e,t){P("JSXExpressionContainer",e,t)}function NU(e,t){P("JSXSpreadChild",e,t)}function OU(e,t){P("JSXIdentifier",e,t)}function BU(e,t){P("JSXMemberExpression",e,t)}function kU(e,t){P("JSXNamespacedName",e,t)}function FU(e,t){P("JSXOpeningElement",e,t)}function LU(e,t){P("JSXSpreadAttribute",e,t)}function jU(e,t){P("JSXText",e,t)}function MU(e,t){P("JSXFragment",e,t)}function RU(e,t){P("JSXOpeningFragment",e,t)}function qU(e,t){P("JSXClosingFragment",e,t)}function UU(e,t){P("Noop",e,t)}function VU(e,t){P("Placeholder",e,t)}function $U(e,t){P("V8IntrinsicIdentifier",e,t)}function WU(e,t){P("ArgumentPlaceholder",e,t)}function KU(e,t){P("BindExpression",e,t)}function HU(e,t){P("Decorator",e,t)}function GU(e,t){P("DoExpression",e,t)}function XU(e,t){P("ExportDefaultSpecifier",e,t)}function YU(e,t){P("RecordExpression",e,t)}function JU(e,t){P("TupleExpression",e,t)}function zU(e,t){P("DecimalLiteral",e,t)}function QU(e,t){P("ModuleExpression",e,t)}function ZU(e,t){P("TopicReference",e,t)}function eV(e,t){P("PipelineTopicExpression",e,t)}function tV(e,t){P("PipelineBareFunction",e,t)}function rV(e,t){P("PipelinePrimaryTopicReference",e,t)}function nV(e,t){P("VoidPattern",e,t)}function sV(e,t){P("TSParameterProperty",e,t)}function iV(e,t){P("TSDeclareFunction",e,t)}function aV(e,t){P("TSDeclareMethod",e,t)}function oV(e,t){P("TSQualifiedName",e,t)}function lV(e,t){P("TSCallSignatureDeclaration",e,t)}function uV(e,t){P("TSConstructSignatureDeclaration",e,t)}function cV(e,t){P("TSPropertySignature",e,t)}function pV(e,t){P("TSMethodSignature",e,t)}function fV(e,t){P("TSIndexSignature",e,t)}function dV(e,t){P("TSAnyKeyword",e,t)}function hV(e,t){P("TSBooleanKeyword",e,t)}function mV(e,t){P("TSBigIntKeyword",e,t)}function yV(e,t){P("TSIntrinsicKeyword",e,t)}function gV(e,t){P("TSNeverKeyword",e,t)}function bV(e,t){P("TSNullKeyword",e,t)}function EV(e,t){P("TSNumberKeyword",e,t)}function TV(e,t){P("TSObjectKeyword",e,t)}function xV(e,t){P("TSStringKeyword",e,t)}function SV(e,t){P("TSSymbolKeyword",e,t)}function vV(e,t){P("TSUndefinedKeyword",e,t)}function PV(e,t){P("TSUnknownKeyword",e,t)}function AV(e,t){P("TSVoidKeyword",e,t)}function CV(e,t){P("TSThisType",e,t)}function DV(e,t){P("TSFunctionType",e,t)}function wV(e,t){P("TSConstructorType",e,t)}function IV(e,t){P("TSTypeReference",e,t)}function _V(e,t){P("TSTypePredicate",e,t)}function NV(e,t){P("TSTypeQuery",e,t)}function OV(e,t){P("TSTypeLiteral",e,t)}function BV(e,t){P("TSArrayType",e,t)}function kV(e,t){P("TSTupleType",e,t)}function FV(e,t){P("TSOptionalType",e,t)}function LV(e,t){P("TSRestType",e,t)}function jV(e,t){P("TSNamedTupleMember",e,t)}function MV(e,t){P("TSUnionType",e,t)}function RV(e,t){P("TSIntersectionType",e,t)}function qV(e,t){P("TSConditionalType",e,t)}function UV(e,t){P("TSInferType",e,t)}function VV(e,t){P("TSParenthesizedType",e,t)}function $V(e,t){P("TSTypeOperator",e,t)}function WV(e,t){P("TSIndexedAccessType",e,t)}function KV(e,t){P("TSMappedType",e,t)}function HV(e,t){P("TSTemplateLiteralType",e,t)}function GV(e,t){P("TSLiteralType",e,t)}function XV(e,t){P("TSExpressionWithTypeArguments",e,t)}function YV(e,t){P("TSInterfaceDeclaration",e,t)}function JV(e,t){P("TSInterfaceBody",e,t)}function zV(e,t){P("TSTypeAliasDeclaration",e,t)}function QV(e,t){P("TSInstantiationExpression",e,t)}function ZV(e,t){P("TSAsExpression",e,t)}function e$(e,t){P("TSSatisfiesExpression",e,t)}function t$(e,t){P("TSTypeAssertion",e,t)}function r$(e,t){P("TSEnumBody",e,t)}function n$(e,t){P("TSEnumDeclaration",e,t)}function s$(e,t){P("TSEnumMember",e,t)}function i$(e,t){P("TSModuleDeclaration",e,t)}function a$(e,t){P("TSModuleBlock",e,t)}function o$(e,t){P("TSImportType",e,t)}function l$(e,t){P("TSImportEqualsDeclaration",e,t)}function u$(e,t){P("TSExternalModuleReference",e,t)}function c$(e,t){P("TSNonNullExpression",e,t)}function p$(e,t){P("TSExportAssignment",e,t)}function f$(e,t){P("TSNamespaceExportDeclaration",e,t)}function d$(e,t){P("TSTypeAnnotation",e,t)}function h$(e,t){P("TSTypeParameterInstantiation",e,t)}function m$(e,t){P("TSTypeParameterDeclaration",e,t)}function y$(e,t){P("TSTypeParameter",e,t)}function g$(e,t){P("Standardized",e,t)}function b$(e,t){P("Expression",e,t)}function E$(e,t){P("Binary",e,t)}function T$(e,t){P("Scopable",e,t)}function x$(e,t){P("BlockParent",e,t)}function S$(e,t){P("Block",e,t)}function v$(e,t){P("Statement",e,t)}function P$(e,t){P("Terminatorless",e,t)}function A$(e,t){P("CompletionStatement",e,t)}function C$(e,t){P("Conditional",e,t)}function D$(e,t){P("Loop",e,t)}function w$(e,t){P("While",e,t)}function I$(e,t){P("ExpressionWrapper",e,t)}function _$(e,t){P("For",e,t)}function N$(e,t){P("ForXStatement",e,t)}function O$(e,t){P("Function",e,t)}function B$(e,t){P("FunctionParent",e,t)}function k$(e,t){P("Pureish",e,t)}function F$(e,t){P("Declaration",e,t)}function L$(e,t){P("FunctionParameter",e,t)}function j$(e,t){P("PatternLike",e,t)}function M$(e,t){P("LVal",e,t)}function R$(e,t){P("TSEntityName",e,t)}function q$(e,t){P("Literal",e,t)}function U$(e,t){P("Immutable",e,t)}function V$(e,t){P("UserWhitespacable",e,t)}function $$(e,t){P("Method",e,t)}function W$(e,t){P("ObjectMember",e,t)}function K$(e,t){P("Property",e,t)}function H$(e,t){P("UnaryLike",e,t)}function G$(e,t){P("Pattern",e,t)}function X$(e,t){P("Class",e,t)}function Y$(e,t){P("ImportOrExportDeclaration",e,t)}function J$(e,t){P("ExportDeclaration",e,t)}function z$(e,t){P("ModuleSpecifier",e,t)}function Q$(e,t){P("Accessor",e,t)}function Z$(e,t){P("Private",e,t)}function eW(e,t){P("Flow",e,t)}function tW(e,t){P("FlowType",e,t)}function rW(e,t){P("FlowBaseAnnotation",e,t)}function nW(e,t){P("FlowDeclaration",e,t)}function sW(e,t){P("FlowPredicate",e,t)}function iW(e,t){P("EnumBody",e,t)}function aW(e,t){P("EnumMember",e,t)}function oW(e,t){P("JSX",e,t)}function lW(e,t){P("Miscellaneous",e,t)}function uW(e,t){P("TypeScript",e,t)}function cW(e,t){P("TSTypeElement",e,t)}function pW(e,t){P("TSType",e,t)}function fW(e,t){P("TSBaseType",e,t)}function dW(e,t){(0,vo.default)("assertNumberLiteral","assertNumericLiteral"),P("NumberLiteral",e,t)}function hW(e,t){(0,vo.default)("assertRegexLiteral","assertRegExpLiteral"),P("RegexLiteral",e,t)}function mW(e,t){(0,vo.default)("assertRestProperty","assertRestElement"),P("RestProperty",e,t)}function yW(e,t){(0,vo.default)("assertSpreadProperty","assertSpreadElement"),P("SpreadProperty",e,t)}function gW(e,t){(0,vo.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),P("ModuleDeclaration",e,t)}});var ox=x(hu=>{"use strict";Object.defineProperty(hu,"__esModule",{value:!0});hu.default=void 0;var xn=Kr(),m2e=hu.default=bW;function bW(e){switch(e){case"string":return(0,xn.stringTypeAnnotation)();case"number":return(0,xn.numberTypeAnnotation)();case"undefined":return(0,xn.voidTypeAnnotation)();case"boolean":return(0,xn.booleanTypeAnnotation)();case"function":return(0,xn.genericTypeAnnotation)((0,xn.identifier)("Function"));case"object":return(0,xn.genericTypeAnnotation)((0,xn.identifier)("Object"));case"symbol":return(0,xn.genericTypeAnnotation)((0,xn.identifier)("Symbol"));case"bigint":return(0,xn.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+e)}});var Yd=x(Xd=>{"use strict";Object.defineProperty(Xd,"__esModule",{value:!0});Xd.default=ux;var Po=Wt();function lx(e){return(0,Po.isIdentifier)(e)?e.name:`${e.id.name}.${lx(e.qualification)}`}function ux(e){let t=Array.from(e),r=new Map,n=new Map,s=new Set,i=[];for(let a=0;a<t.length;a++){let o=t[a];if(o&&!i.includes(o)){if((0,Po.isAnyTypeAnnotation)(o))return[o];if((0,Po.isFlowBaseAnnotation)(o)){n.set(o.type,o);continue}if((0,Po.isUnionTypeAnnotation)(o)){s.has(o.types)||(t.push(...o.types),s.add(o.types));continue}if((0,Po.isGenericTypeAnnotation)(o)){let l=lx(o.id);if(r.has(l)){let u=r.get(l);u.typeParameters?o.typeParameters&&(u.typeParameters.params.push(...o.typeParameters.params),u.typeParameters.params=ux(u.typeParameters.params)):u=o.typeParameters}else r.set(l,o);continue}i.push(o)}}for(let[,a]of n)i.push(a);for(let[,a]of r)i.push(a);return i}});var cx=x(Jd=>{"use strict";Object.defineProperty(Jd,"__esModule",{value:!0});Jd.default=xW;var EW=Kr(),TW=Yd();function xW(e){let t=(0,TW.default)(e);return t.length===1?t[0]:(0,EW.unionTypeAnnotation)(t)}});var dx=x(zd=>{"use strict";Object.defineProperty(zd,"__esModule",{value:!0});zd.default=fx;var fa=Wt();function px(e){return(0,fa.isIdentifier)(e)?e.name:(0,fa.isThisExpression)(e)?"this":`${e.right.name}.${px(e.left)}`}function fx(e){let t=Array.from(e),r=new Map,n=new Map,s=new Set,i=[];for(let a=0;a<t.length;a++){let o=t[a];if(!o||i.includes(o))continue;if((0,fa.isTSAnyKeyword)(o))return[o];if((0,fa.isTSBaseType)(o)){n.set(o.type,o);continue}if((0,fa.isTSUnionType)(o)){s.has(o.types)||(t.push(...o.types),s.add(o.types));continue}let l="typeParameters";if((0,fa.isTSTypeReference)(o)&&o[l]){let u=o[l],c=px(o.typeName);if(r.has(c)){let p=r.get(c),d=p[l];d?(d.params.push(...u.params),d.params=fx(d.params)):p=u}else r.set(c,o);continue}i.push(o)}for(let[,a]of n)i.push(a);for(let[,a]of r)i.push(a);return i}});var hx=x(Qd=>{"use strict";Object.defineProperty(Qd,"__esModule",{value:!0});Qd.default=AW;var SW=Kr(),vW=dx(),PW=Wt();function AW(e){let t=e.map(n=>(0,PW.isTSTypeAnnotation)(n)?n.typeAnnotation:n),r=(0,vW.default)(t);return r.length===1?r[0]:(0,SW.tsUnionType)(r)}});var eh=x(Zd=>{"use strict";Object.defineProperty(Zd,"__esModule",{value:!0});Zd.buildUndefinedNode=CW;var mx=Kr();function CW(){return(0,mx.unaryExpression)("void",(0,mx.numericLiteral)(0),!0)}});var Bs=x(rh=>{"use strict";Object.defineProperty(rh,"__esModule",{value:!0});rh.default=DW;var yx=an(),gx=Wt(),{hasOwn:Un}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function bx(e,t,r,n){return e&&typeof e.type=="string"?Ex(e,t,r,n):e}function th(e,t,r,n){return Array.isArray(e)?e.map(s=>bx(s,t,r,n)):bx(e,t,r,n)}function DW(e,t=!0,r=!1){return Ex(e,t,r,new Map)}function Ex(e,t=!0,r=!1,n){if(!e)return e;let{type:s}=e,i={type:e.type};if((0,gx.isIdentifier)(e))i.name=e.name,Un(e,"optional")&&typeof e.optional=="boolean"&&(i.optional=e.optional),Un(e,"typeAnnotation")&&(i.typeAnnotation=t?th(e.typeAnnotation,!0,r,n):e.typeAnnotation),Un(e,"decorators")&&(i.decorators=t?th(e.decorators,!0,r,n):e.decorators);else if(Un(yx.NODE_FIELDS,s))for(let a of Object.keys(yx.NODE_FIELDS[s]))Un(e,a)&&(t?i[a]=(0,gx.isFile)(e)&&a==="comments"?mu(e.comments,t,r,n):th(e[a],!0,r,n):i[a]=e[a]);else throw new Error(`Unknown node type: "${s}"`);return Un(e,"loc")&&(r?i.loc=null:i.loc=e.loc),Un(e,"leadingComments")&&(i.leadingComments=mu(e.leadingComments,t,r,n)),Un(e,"innerComments")&&(i.innerComments=mu(e.innerComments,t,r,n)),Un(e,"trailingComments")&&(i.trailingComments=mu(e.trailingComments,t,r,n)),Un(e,"extra")&&(i.extra=Object.assign({},e.extra)),i}function mu(e,t,r,n){return!e||!t?e:e.map(s=>{let i=n.get(s);if(i)return i;let{type:a,value:o,loc:l}=s,u={type:a,value:o,loc:l};return r&&(u.loc=null),n.set(s,u),u})}});var Tx=x(nh=>{"use strict";Object.defineProperty(nh,"__esModule",{value:!0});nh.default=IW;var wW=Bs();function IW(e){return(0,wW.default)(e,!1)}});var xx=x(sh=>{"use strict";Object.defineProperty(sh,"__esModule",{value:!0});sh.default=NW;var _W=Bs();function NW(e){return(0,_W.default)(e)}});var Sx=x(ih=>{"use strict";Object.defineProperty(ih,"__esModule",{value:!0});ih.default=BW;var OW=Bs();function BW(e){return(0,OW.default)(e,!0,!0)}});var vx=x(ah=>{"use strict";Object.defineProperty(ah,"__esModule",{value:!0});ah.default=FW;var kW=Bs();function FW(e){return(0,kW.default)(e,!1,!0)}});var lh=x(oh=>{"use strict";Object.defineProperty(oh,"__esModule",{value:!0});oh.default=LW;function LW(e,t,r){if(!r||!e)return e;let n=`${t}Comments`;return e[n]?t==="leading"?e[n]=r.concat(e[n]):e[n].push(...r):e[n]=r,e}});var Px=x(uh=>{"use strict";Object.defineProperty(uh,"__esModule",{value:!0});uh.default=MW;var jW=lh();function MW(e,t,r,n){return(0,jW.default)(e,t,[{type:n?"CommentLine":"CommentBlock",value:r}])}});var yu=x(ch=>{"use strict";Object.defineProperty(ch,"__esModule",{value:!0});ch.default=RW;function RW(e,t,r){t&&r&&(t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean))))}});var fh=x(ph=>{"use strict";Object.defineProperty(ph,"__esModule",{value:!0});ph.default=UW;var qW=yu();function UW(e,t){(0,qW.default)("innerComments",e,t)}});var hh=x(dh=>{"use strict";Object.defineProperty(dh,"__esModule",{value:!0});dh.default=$W;var VW=yu();function $W(e,t){(0,VW.default)("leadingComments",e,t)}});var yh=x(mh=>{"use strict";Object.defineProperty(mh,"__esModule",{value:!0});mh.default=KW;var WW=yu();function KW(e,t){(0,WW.default)("trailingComments",e,t)}});var bh=x(gh=>{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.default=YW;var HW=yh(),GW=hh(),XW=fh();function YW(e,t){return(0,HW.default)(e,t),(0,GW.default)(e,t),(0,XW.default)(e,t),e}});var Ax=x(Eh=>{"use strict";Object.defineProperty(Eh,"__esModule",{value:!0});Eh.default=zW;var JW=oa();function zW(e){return JW.COMMENT_KEYS.forEach(t=>{e[t]=null}),e}});var Cx=x(ne=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0});ne.WHILE_TYPES=ne.USERWHITESPACABLE_TYPES=ne.UNARYLIKE_TYPES=ne.TYPESCRIPT_TYPES=ne.TSTYPE_TYPES=ne.TSTYPEELEMENT_TYPES=ne.TSENTITYNAME_TYPES=ne.TSBASETYPE_TYPES=ne.TERMINATORLESS_TYPES=ne.STATEMENT_TYPES=ne.STANDARDIZED_TYPES=ne.SCOPABLE_TYPES=ne.PUREISH_TYPES=ne.PROPERTY_TYPES=ne.PRIVATE_TYPES=ne.PATTERN_TYPES=ne.PATTERNLIKE_TYPES=ne.OBJECTMEMBER_TYPES=ne.MODULESPECIFIER_TYPES=ne.MODULEDECLARATION_TYPES=ne.MISCELLANEOUS_TYPES=ne.METHOD_TYPES=ne.LVAL_TYPES=ne.LOOP_TYPES=ne.LITERAL_TYPES=ne.JSX_TYPES=ne.IMPORTOREXPORTDECLARATION_TYPES=ne.IMMUTABLE_TYPES=ne.FUNCTION_TYPES=ne.FUNCTIONPARENT_TYPES=ne.FUNCTIONPARAMETER_TYPES=ne.FOR_TYPES=ne.FORXSTATEMENT_TYPES=ne.FLOW_TYPES=ne.FLOWTYPE_TYPES=ne.FLOWPREDICATE_TYPES=ne.FLOWDECLARATION_TYPES=ne.FLOWBASEANNOTATION_TYPES=ne.EXPRESSION_TYPES=ne.EXPRESSIONWRAPPER_TYPES=ne.EXPORTDECLARATION_TYPES=ne.ENUMMEMBER_TYPES=ne.ENUMBODY_TYPES=ne.DECLARATION_TYPES=ne.CONDITIONAL_TYPES=ne.COMPLETIONSTATEMENT_TYPES=ne.CLASS_TYPES=ne.BLOCK_TYPES=ne.BLOCKPARENT_TYPES=ne.BINARY_TYPES=ne.ACCESSOR_TYPES=void 0;var Me=an(),F2e=ne.STANDARDIZED_TYPES=Me.FLIPPED_ALIAS_KEYS.Standardized,L2e=ne.EXPRESSION_TYPES=Me.FLIPPED_ALIAS_KEYS.Expression,j2e=ne.BINARY_TYPES=Me.FLIPPED_ALIAS_KEYS.Binary,M2e=ne.SCOPABLE_TYPES=Me.FLIPPED_ALIAS_KEYS.Scopable,R2e=ne.BLOCKPARENT_TYPES=Me.FLIPPED_ALIAS_KEYS.BlockParent,q2e=ne.BLOCK_TYPES=Me.FLIPPED_ALIAS_KEYS.Block,U2e=ne.STATEMENT_TYPES=Me.FLIPPED_ALIAS_KEYS.Statement,V2e=ne.TERMINATORLESS_TYPES=Me.FLIPPED_ALIAS_KEYS.Terminatorless,$2e=ne.COMPLETIONSTATEMENT_TYPES=Me.FLIPPED_ALIAS_KEYS.CompletionStatement,W2e=ne.CONDITIONAL_TYPES=Me.FLIPPED_ALIAS_KEYS.Conditional,K2e=ne.LOOP_TYPES=Me.FLIPPED_ALIAS_KEYS.Loop,H2e=ne.WHILE_TYPES=Me.FLIPPED_ALIAS_KEYS.While,G2e=ne.EXPRESSIONWRAPPER_TYPES=Me.FLIPPED_ALIAS_KEYS.ExpressionWrapper,X2e=ne.FOR_TYPES=Me.FLIPPED_ALIAS_KEYS.For,Y2e=ne.FORXSTATEMENT_TYPES=Me.FLIPPED_ALIAS_KEYS.ForXStatement,J2e=ne.FUNCTION_TYPES=Me.FLIPPED_ALIAS_KEYS.Function,z2e=ne.FUNCTIONPARENT_TYPES=Me.FLIPPED_ALIAS_KEYS.FunctionParent,Q2e=ne.PUREISH_TYPES=Me.FLIPPED_ALIAS_KEYS.Pureish,Z2e=ne.DECLARATION_TYPES=Me.FLIPPED_ALIAS_KEYS.Declaration,eDe=ne.FUNCTIONPARAMETER_TYPES=Me.FLIPPED_ALIAS_KEYS.FunctionParameter,tDe=ne.PATTERNLIKE_TYPES=Me.FLIPPED_ALIAS_KEYS.PatternLike,rDe=ne.LVAL_TYPES=Me.FLIPPED_ALIAS_KEYS.LVal,nDe=ne.TSENTITYNAME_TYPES=Me.FLIPPED_ALIAS_KEYS.TSEntityName,sDe=ne.LITERAL_TYPES=Me.FLIPPED_ALIAS_KEYS.Literal,iDe=ne.IMMUTABLE_TYPES=Me.FLIPPED_ALIAS_KEYS.Immutable,aDe=ne.USERWHITESPACABLE_TYPES=Me.FLIPPED_ALIAS_KEYS.UserWhitespacable,oDe=ne.METHOD_TYPES=Me.FLIPPED_ALIAS_KEYS.Method,lDe=ne.OBJECTMEMBER_TYPES=Me.FLIPPED_ALIAS_KEYS.ObjectMember,uDe=ne.PROPERTY_TYPES=Me.FLIPPED_ALIAS_KEYS.Property,cDe=ne.UNARYLIKE_TYPES=Me.FLIPPED_ALIAS_KEYS.UnaryLike,pDe=ne.PATTERN_TYPES=Me.FLIPPED_ALIAS_KEYS.Pattern,fDe=ne.CLASS_TYPES=Me.FLIPPED_ALIAS_KEYS.Class,QW=ne.IMPORTOREXPORTDECLARATION_TYPES=Me.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,dDe=ne.EXPORTDECLARATION_TYPES=Me.FLIPPED_ALIAS_KEYS.ExportDeclaration,hDe=ne.MODULESPECIFIER_TYPES=Me.FLIPPED_ALIAS_KEYS.ModuleSpecifier,mDe=ne.ACCESSOR_TYPES=Me.FLIPPED_ALIAS_KEYS.Accessor,yDe=ne.PRIVATE_TYPES=Me.FLIPPED_ALIAS_KEYS.Private,gDe=ne.FLOW_TYPES=Me.FLIPPED_ALIAS_KEYS.Flow,bDe=ne.FLOWTYPE_TYPES=Me.FLIPPED_ALIAS_KEYS.FlowType,EDe=ne.FLOWBASEANNOTATION_TYPES=Me.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,TDe=ne.FLOWDECLARATION_TYPES=Me.FLIPPED_ALIAS_KEYS.FlowDeclaration,xDe=ne.FLOWPREDICATE_TYPES=Me.FLIPPED_ALIAS_KEYS.FlowPredicate,SDe=ne.ENUMBODY_TYPES=Me.FLIPPED_ALIAS_KEYS.EnumBody,vDe=ne.ENUMMEMBER_TYPES=Me.FLIPPED_ALIAS_KEYS.EnumMember,PDe=ne.JSX_TYPES=Me.FLIPPED_ALIAS_KEYS.JSX,ADe=ne.MISCELLANEOUS_TYPES=Me.FLIPPED_ALIAS_KEYS.Miscellaneous,CDe=ne.TYPESCRIPT_TYPES=Me.FLIPPED_ALIAS_KEYS.TypeScript,DDe=ne.TSTYPEELEMENT_TYPES=Me.FLIPPED_ALIAS_KEYS.TSTypeElement,wDe=ne.TSTYPE_TYPES=Me.FLIPPED_ALIAS_KEYS.TSType,IDe=ne.TSBASETYPE_TYPES=Me.FLIPPED_ALIAS_KEYS.TSBaseType,_De=ne.MODULEDECLARATION_TYPES=QW});var Sh=x(xh=>{"use strict";Object.defineProperty(xh,"__esModule",{value:!0});xh.default=ZW;var gu=Wt(),Th=Kr();function ZW(e,t){if((0,gu.isBlockStatement)(e))return e;let r=[];return(0,gu.isEmptyStatement)(e)?r=[]:((0,gu.isStatement)(e)||((0,gu.isFunction)(t)?e=(0,Th.returnStatement)(e):e=(0,Th.expressionStatement)(e)),r=[e]),(0,Th.blockStatement)(r)}});var Dx=x(vh=>{"use strict";Object.defineProperty(vh,"__esModule",{value:!0});vh.default=tK;var eK=Sh();function tK(e,t="body"){let r=(0,eK.default)(e[t],e);return e[t]=r,r}});var Ah=x(Ph=>{"use strict";Object.defineProperty(Ph,"__esModule",{value:!0});Ph.default=sK;var rK=aa(),nK=ia();function sK(e){e=e+"";let t="";for(let r of e)t+=(0,nK.isIdentifierChar)(r.codePointAt(0))?r:"-";return t=t.replace(/^[-0-9]+/,""),t=t.replace(/[-\s]+(.)?/g,function(r,n){return n?n.toUpperCase():""}),(0,rK.default)(t)||(t=`_${t}`),t||"_"}});var wx=x(Ch=>{"use strict";Object.defineProperty(Ch,"__esModule",{value:!0});Ch.default=aK;var iK=Ah();function aK(e){return e=(0,iK.default)(e),(e==="eval"||e==="arguments")&&(e="_"+e),e}});var Ix=x(Dh=>{"use strict";Object.defineProperty(Dh,"__esModule",{value:!0});Dh.default=uK;var oK=Wt(),lK=Kr();function uK(e,t=e.key||e.property){return!e.computed&&(0,oK.isIdentifier)(t)&&(t=(0,lK.stringLiteral)(t.name)),t}});var _x=x(bu=>{"use strict";Object.defineProperty(bu,"__esModule",{value:!0});bu.default=void 0;var Ao=Wt(),jDe=bu.default=cK;function cK(e){if((0,Ao.isExpressionStatement)(e)&&(e=e.expression),(0,Ao.isExpression)(e))return e;if((0,Ao.isClass)(e)?(e.type="ClassExpression",e.abstract=!1):(0,Ao.isFunction)(e)&&(e.type="FunctionExpression"),!(0,Ao.isExpression)(e))throw new Error(`cannot turn ${e.type} to an expression`);return e}});var Ih=x(wh=>{"use strict";Object.defineProperty(wh,"__esModule",{value:!0});wh.default=Co;var pK=an(),Nx=Symbol(),Ox=Symbol();function Co(e,t,r){if(!e)return!1;let n=pK.VISITOR_KEYS[e.type];if(!n)return!1;r=r||{};let s=t(e,r);if(s!==void 0)switch(s){case Nx:return!1;case Ox:return!0}for(let i of n){let a=e[i];if(a){if(Array.isArray(a)){for(let o of a)if(Co(o,t,r))return!0}else if(Co(a,t,r))return!0}}return!1}Co.skip=Nx;Co.stop=Ox});var Nh=x(_h=>{"use strict";Object.defineProperty(_h,"__esModule",{value:!0});_h.default=hK;var fK=oa(),Bx=["tokens","start","end","loc","raw","rawValue"],dK=[...fK.COMMENT_KEYS,"comments",...Bx];function hK(e,t={}){let r=t.preserveComments?Bx:dK;for(let s of r)e[s]!=null&&(e[s]=void 0);for(let s of Object.keys(e))s[0]==="_"&&e[s]!=null&&(e[s]=void 0);let n=Object.getOwnPropertySymbols(e);for(let s of n)e[s]=null}});var Bh=x(Oh=>{"use strict";Object.defineProperty(Oh,"__esModule",{value:!0});Oh.default=gK;var mK=Ih(),yK=Nh();function gK(e,t){return(0,mK.default)(e,yK.default,t),e}});var Fx=x(kh=>{"use strict";Object.defineProperty(kh,"__esModule",{value:!0});kh.default=hi;var kx=Wt(),bK=Bs(),EK=Bh();function hi(e,t=e.key){let r;return e.kind==="method"?hi.increment()+"":((0,kx.isIdentifier)(t)?r=t.name:(0,kx.isStringLiteral)(t)?r=JSON.stringify(t.value):r=JSON.stringify((0,EK.default)((0,bK.default)(t))),e.computed&&(r=`[${r}]`),e.static&&(r=`static:${r}`),r)}hi.uid=0;hi.increment=function(){return hi.uid>=Number.MAX_SAFE_INTEGER?hi.uid=0:hi.uid++}});var Lx=x(Tu=>{"use strict";Object.defineProperty(Tu,"__esModule",{value:!0});Tu.default=void 0;var Eu=Wt(),TK=Kr(),$De=Tu.default=xK;function xK(e,t){if((0,Eu.isStatement)(e))return e;let r=!1,n;if((0,Eu.isClass)(e))r=!0,n="ClassDeclaration";else if((0,Eu.isFunction)(e))r=!0,n="FunctionDeclaration";else if((0,Eu.isAssignmentExpression)(e))return(0,TK.expressionStatement)(e);if(r&&!e.id&&(n=!1),!n){if(t)return!1;throw new Error(`cannot turn ${e.type} to a statement`)}return e.type=n,e}});var jx=x(xu=>{"use strict";Object.defineProperty(xu,"__esModule",{value:!0});xu.default=void 0;var SK=aa(),tr=Kr(),KDe=xu.default=Fh,vK=Function.call.bind(Object.prototype.toString);function PK(e){return vK(e)==="[object RegExp]"}function AK(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function Fh(e){if(e===void 0)return(0,tr.identifier)("undefined");if(e===!0||e===!1)return(0,tr.booleanLiteral)(e);if(e===null)return(0,tr.nullLiteral)();if(typeof e=="string")return(0,tr.stringLiteral)(e);if(typeof e=="number"){let t;if(Number.isFinite(e))t=(0,tr.numericLiteral)(Math.abs(e));else{let r;Number.isNaN(e)?r=(0,tr.numericLiteral)(0):r=(0,tr.numericLiteral)(1),t=(0,tr.binaryExpression)("/",r,(0,tr.numericLiteral)(0))}return(e<0||Object.is(e,-0))&&(t=(0,tr.unaryExpression)("-",t)),t}if(typeof e=="bigint")return e<0?(0,tr.unaryExpression)("-",(0,tr.bigIntLiteral)(-e)):(0,tr.bigIntLiteral)(e);if(PK(e)){let t=e.source,r=/\/([a-z]*)$/.exec(e.toString())[1];return(0,tr.regExpLiteral)(t,r)}if(Array.isArray(e))return(0,tr.arrayExpression)(e.map(Fh));if(AK(e)){let t=[];for(let r of Object.keys(e)){let n,s=!1;(0,SK.default)(r)?r==="__proto__"?(s=!0,n=(0,tr.stringLiteral)(r)):n=(0,tr.identifier)(r):n=(0,tr.stringLiteral)(r),t.push((0,tr.objectProperty)(n,Fh(e[r]),s))}return(0,tr.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}});var Mx=x(Lh=>{"use strict";Object.defineProperty(Lh,"__esModule",{value:!0});Lh.default=DK;var CK=Kr();function DK(e,t,r=!1){return e.object=(0,CK.memberExpression)(e.object,e.property,e.computed),e.property=t,e.computed=!!r,e}});var qx=x(jh=>{"use strict";Object.defineProperty(jh,"__esModule",{value:!0});jh.default=IK;var Rx=oa(),wK=bh();function IK(e,t){if(!e||!t)return e;for(let r of Rx.INHERIT_KEYS.optional)e[r]==null&&(e[r]=t[r]);for(let r of Object.keys(t))r[0]==="_"&&r!=="__clone"&&(e[r]=t[r]);for(let r of Rx.INHERIT_KEYS.force)e[r]=t[r];return(0,wK.default)(e,t),e}});var Ux=x(Mh=>{"use strict";Object.defineProperty(Mh,"__esModule",{value:!0});Mh.default=OK;var _K=Kr(),NK=Fe();function OK(e,t){if((0,NK.isSuper)(e.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return e.object=(0,_K.memberExpression)(t,e.object),e}});var Vx=x(Rh=>{"use strict";Object.defineProperty(Rh,"__esModule",{value:!0});Rh.default=BK;function BK(e){let t=[].concat(e),r=Object.create(null);for(;t.length;){let n=t.pop();if(n)switch(n.type){case"ArrayPattern":t.push(...n.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":t.push(n.left);break;case"ObjectPattern":t.push(...n.properties);break;case"ObjectProperty":t.push(n.value);break;case"RestElement":case"UpdateExpression":t.push(n.argument);break;case"UnaryExpression":n.operator==="delete"&&t.push(n.argument);break;case"Identifier":r[n.name]=n;break;default:break}}return r}});var Do=x(Uh=>{"use strict";Object.defineProperty(Uh,"__esModule",{value:!0});Uh.default=qh;var Zn=Wt();function qh(e,t,r,n){let s=[].concat(e),i=Object.create(null);for(;s.length;){let a=s.shift();if(!a||n&&((0,Zn.isAssignmentExpression)(a)||(0,Zn.isUnaryExpression)(a)||(0,Zn.isUpdateExpression)(a)))continue;if((0,Zn.isIdentifier)(a)){t?(i[a.name]=i[a.name]||[]).push(a):i[a.name]=a;continue}if((0,Zn.isExportDeclaration)(a)&&!(0,Zn.isExportAllDeclaration)(a)){(0,Zn.isDeclaration)(a.declaration)&&s.push(a.declaration);continue}if(r){if((0,Zn.isFunctionDeclaration)(a)){s.push(a.id);continue}if((0,Zn.isFunctionExpression)(a))continue}let o=qh.keys[a.type];if(o)for(let l=0;l<o.length;l++){let u=o[l],c=a[u];c&&(Array.isArray(c)?s.push(...c):s.push(c))}}return i}var kK={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],TSImportEqualsDeclaration:["id"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]};qh.keys=kK});var $x=x(Su=>{"use strict";Object.defineProperty(Su,"__esModule",{value:!0});Su.default=void 0;var FK=Do(),QDe=Su.default=LK;function LK(e,t){return(0,FK.default)(e,t,!0)}});var Kx=x(Vh=>{"use strict";Object.defineProperty(Vh,"__esModule",{value:!0});Vh.default=MK;var on=Wt();function jK(e){return(0,on.isNullLiteral)(e)?"null":(0,on.isRegExpLiteral)(e)?`/${e.pattern}/${e.flags}`:(0,on.isTemplateLiteral)(e)?e.quasis.map(t=>t.value.raw).join(""):e.value!==void 0?String(e.value):null}function Wx(e){if(!e.computed||(0,on.isLiteral)(e.key))return e.key}function MK(e,t){if("id"in e&&e.id)return{name:e.id.name,originalNode:e.id};let r="",n;if((0,on.isObjectProperty)(t,{value:e})?n=Wx(t):(0,on.isObjectMethod)(e)||(0,on.isClassMethod)(e)?(n=Wx(e),e.kind==="get"?r="get ":e.kind==="set"&&(r="set ")):(0,on.isVariableDeclarator)(t,{init:e})?n=t.id:(0,on.isAssignmentExpression)(t,{operator:"=",right:e})&&(n=t.left),!n)return null;let s=(0,on.isLiteral)(n)?jK(n):(0,on.isIdentifier)(n)?n.name:(0,on.isPrivateName)(n)?n.id.name:null;return s==null?null:{name:r+s,originalNode:n}}});var Hx=x(Wh=>{"use strict";Object.defineProperty(Wh,"__esModule",{value:!0});Wh.default=qK;var RK=an();function qK(e,t,r){typeof t=="function"&&(t={enter:t});let{enter:n,exit:s}=t;$h(e,n,s,r,[])}function $h(e,t,r,n,s){let i=RK.VISITOR_KEYS[e.type];if(i){t&&t(e,s,n);for(let a of i){let o=e[a];if(Array.isArray(o))for(let l=0;l<o.length;l++){let u=o[l];u&&(s.push({node:e,key:a,index:l}),$h(u,t,r,n,s),s.pop())}else o&&(s.push({node:e,key:a}),$h(o,t,r,n,s),s.pop())}r&&r(e,s,n)}}});var Gx=x(Kh=>{"use strict";Object.defineProperty(Kh,"__esModule",{value:!0});Kh.default=VK;var UK=Do();function VK(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression")return!1;let n=UK.default.keys[t.type];if(n)for(let s=0;s<n.length;s++){let i=n[s],a=t[i];if(Array.isArray(a)){if(a.includes(e))return!0}else if(a===e)return!0}return!1}});var Gh=x(Hh=>{"use strict";Object.defineProperty(Hh,"__esModule",{value:!0});Hh.default=WK;var $K=Wt();Xx=Symbol.for("var used to be block scoped");var Xx;function WK(e){return(0,$K.isVariableDeclaration)(e)&&(e.kind!=="var"||e[Xx])}});var Jx=x(Xh=>{"use strict";Object.defineProperty(Xh,"__esModule",{value:!0});Xh.default=HK;var Yx=Wt(),KK=Gh();function HK(e){return(0,Yx.isFunctionDeclaration)(e)||(0,Yx.isClassDeclaration)(e)||(0,KK.default)(e)}});var zx=x(Yh=>{"use strict";Object.defineProperty(Yh,"__esModule",{value:!0});Yh.default=YK;var GK=su(),XK=Wt();function YK(e){return(0,GK.default)(e.type,"Immutable")?!0:(0,XK.isIdentifier)(e)?e.name==="undefined":!1}});var Zx=x(zh=>{"use strict";Object.defineProperty(zh,"__esModule",{value:!0});zh.default=Jh;var Qx=an();function Jh(e,t){if(typeof e!="object"||typeof t!="object"||e==null||t==null)return e===t;if(e.type!==t.type)return!1;let r=Object.keys(Qx.NODE_FIELDS[e.type]||e.type),n=Qx.VISITOR_KEYS[e.type];for(let s of r){let i=e[s],a=t[s];if(typeof i!=typeof a)return!1;if(!(i==null&&a==null)){if(i==null||a==null)return!1;if(Array.isArray(i)){if(!Array.isArray(a)||i.length!==a.length)return!1;for(let o=0;o<i.length;o++)if(!Jh(i[o],a[o]))return!1;continue}if(typeof i=="object"&&!(n!=null&&n.includes(s))){for(let o of Object.keys(i))if(i[o]!==a[o])return!1;continue}if(!Jh(i,a))return!1}}return!0}});var eS=x(Qh=>{"use strict";Object.defineProperty(Qh,"__esModule",{value:!0});Qh.default=JK;function JK(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e?!!t.computed:!1;case"ObjectProperty":return t.key===e?!!t.computed:!r||r.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":return t.key===e?!!t.computed:!0;case"ClassPrivateProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return!1;case"CatchClause":return!1;case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":return r!=null&&r.source?!1:t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":return t.key===e?!!t.computed:!0}return!0}});var tS=x(Zh=>{"use strict";Object.defineProperty(Zh,"__esModule",{value:!0});Zh.default=zK;var mi=Wt();function zK(e,t){return(0,mi.isBlockStatement)(e)&&((0,mi.isFunction)(t)||(0,mi.isCatchClause)(t))?!1:(0,mi.isPattern)(e)&&((0,mi.isFunction)(t)||(0,mi.isCatchClause)(t))?!0:(0,mi.isScopable)(e)}});var nS=x(em=>{"use strict";Object.defineProperty(em,"__esModule",{value:!0});em.default=QK;var rS=Wt();function QK(e){return(0,rS.isImportDefaultSpecifier)(e)||(0,rS.isIdentifier)(e.imported||e.exported,{name:"default"})}});var sS=x(tm=>{"use strict";Object.defineProperty(tm,"__esModule",{value:!0});tm.default=tH;var ZK=aa(),eH=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function tH(e){return(0,ZK.default)(e)&&!eH.has(e)}});var aS=x(rm=>{"use strict";Object.defineProperty(rm,"__esModule",{value:!0});rm.default=nH;var rH=Wt();iS=Symbol.for("var used to be block scoped");var iS;function nH(e){return(0,rH.isVariableDeclaration)(e,{kind:"var"})&&!e[iS]}});var oS=x(im=>{"use strict";Object.defineProperty(im,"__esModule",{value:!0});im.default=vu;var sH=Do(),yi=Wt(),nm=Kr(),sm=eh(),iH=Bs();function vu(e,t){let r=[],n=!0;for(let s of e)if((0,yi.isEmptyStatement)(s)||(n=!1),(0,yi.isExpression)(s))r.push(s);else if((0,yi.isExpressionStatement)(s))r.push(s.expression);else if((0,yi.isVariableDeclaration)(s)){if(s.kind!=="var")return;for(let i of s.declarations){let a=(0,sH.default)(i);for(let o of Object.keys(a))t.push({kind:s.kind,id:(0,iH.default)(a[o])});i.init&&r.push((0,nm.assignmentExpression)("=",i.id,i.init))}n=!0}else if((0,yi.isIfStatement)(s)){let i=s.consequent?vu([s.consequent],t):(0,sm.buildUndefinedNode)(),a=s.alternate?vu([s.alternate],t):(0,sm.buildUndefinedNode)();if(!i||!a)return;r.push((0,nm.conditionalExpression)(s.test,i,a))}else if((0,yi.isBlockStatement)(s)){let i=vu(s.body,t);if(!i)return;r.push(i)}else if((0,yi.isEmptyStatement)(s))e.indexOf(s)===0&&(n=!0);else return;return n&&r.push((0,sm.buildUndefinedNode)()),r.length===1?r[0]:(0,nm.sequenceExpression)(r)}});var lS=x(am=>{"use strict";Object.defineProperty(am,"__esModule",{value:!0});am.default=oH;var aH=oS();function oH(e,t){if(!(e!=null&&e.length))return;let r=[],n=(0,aH.default)(e,r);if(n){for(let s of r)t.push(s);return n}}});var Fe=x(le=>{"use strict";Object.defineProperty(le,"__esModule",{value:!0});var ks={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getAssignmentIdentifiers:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,getFunctionName:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(le,"__internal__deprecationWarning",{enumerable:!0,get:function(){return pG.default}});Object.defineProperty(le,"addComment",{enumerable:!0,get:function(){return EH.default}});Object.defineProperty(le,"addComments",{enumerable:!0,get:function(){return TH.default}});Object.defineProperty(le,"appendToMemberExpression",{enumerable:!0,get:function(){return FH.default}});Object.defineProperty(le,"assertNode",{enumerable:!0,get:function(){return pH.default}});Object.defineProperty(le,"buildMatchMemberExpression",{enumerable:!0,get:function(){return cG.default}});Object.defineProperty(le,"clone",{enumerable:!0,get:function(){return mH.default}});Object.defineProperty(le,"cloneDeep",{enumerable:!0,get:function(){return yH.default}});Object.defineProperty(le,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return gH.default}});Object.defineProperty(le,"cloneNode",{enumerable:!0,get:function(){return hH.default}});Object.defineProperty(le,"cloneWithoutLoc",{enumerable:!0,get:function(){return bH.default}});Object.defineProperty(le,"createFlowUnionType",{enumerable:!0,get:function(){return uS.default}});Object.defineProperty(le,"createTSUnionType",{enumerable:!0,get:function(){return dH.default}});Object.defineProperty(le,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return fH.default}});Object.defineProperty(le,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return uS.default}});Object.defineProperty(le,"ensureBlock",{enumerable:!0,get:function(){return CH.default}});Object.defineProperty(le,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return UH.default}});Object.defineProperty(le,"getBindingIdentifiers",{enumerable:!0,get:function(){return VH.default}});Object.defineProperty(le,"getFunctionName",{enumerable:!0,get:function(){return WH.default}});Object.defineProperty(le,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return $H.default}});Object.defineProperty(le,"inheritInnerComments",{enumerable:!0,get:function(){return xH.default}});Object.defineProperty(le,"inheritLeadingComments",{enumerable:!0,get:function(){return SH.default}});Object.defineProperty(le,"inheritTrailingComments",{enumerable:!0,get:function(){return PH.default}});Object.defineProperty(le,"inherits",{enumerable:!0,get:function(){return LH.default}});Object.defineProperty(le,"inheritsComments",{enumerable:!0,get:function(){return vH.default}});Object.defineProperty(le,"is",{enumerable:!0,get:function(){return GH.default}});Object.defineProperty(le,"isBinding",{enumerable:!0,get:function(){return XH.default}});Object.defineProperty(le,"isBlockScoped",{enumerable:!0,get:function(){return YH.default}});Object.defineProperty(le,"isImmutable",{enumerable:!0,get:function(){return JH.default}});Object.defineProperty(le,"isLet",{enumerable:!0,get:function(){return zH.default}});Object.defineProperty(le,"isNode",{enumerable:!0,get:function(){return QH.default}});Object.defineProperty(le,"isNodesEquivalent",{enumerable:!0,get:function(){return ZH.default}});Object.defineProperty(le,"isPlaceholderType",{enumerable:!0,get:function(){return eG.default}});Object.defineProperty(le,"isReferenced",{enumerable:!0,get:function(){return tG.default}});Object.defineProperty(le,"isScope",{enumerable:!0,get:function(){return rG.default}});Object.defineProperty(le,"isSpecifierDefault",{enumerable:!0,get:function(){return nG.default}});Object.defineProperty(le,"isType",{enumerable:!0,get:function(){return sG.default}});Object.defineProperty(le,"isValidES3Identifier",{enumerable:!0,get:function(){return iG.default}});Object.defineProperty(le,"isValidIdentifier",{enumerable:!0,get:function(){return aG.default}});Object.defineProperty(le,"isVar",{enumerable:!0,get:function(){return oG.default}});Object.defineProperty(le,"matchesPattern",{enumerable:!0,get:function(){return lG.default}});Object.defineProperty(le,"prependToMemberExpression",{enumerable:!0,get:function(){return jH.default}});le.react=void 0;Object.defineProperty(le,"removeComments",{enumerable:!0,get:function(){return AH.default}});Object.defineProperty(le,"removeProperties",{enumerable:!0,get:function(){return MH.default}});Object.defineProperty(le,"removePropertiesDeep",{enumerable:!0,get:function(){return RH.default}});Object.defineProperty(le,"removeTypeDuplicates",{enumerable:!0,get:function(){return qH.default}});Object.defineProperty(le,"shallowEqual",{enumerable:!0,get:function(){return HH.default}});Object.defineProperty(le,"toBindingIdentifierName",{enumerable:!0,get:function(){return DH.default}});Object.defineProperty(le,"toBlock",{enumerable:!0,get:function(){return wH.default}});Object.defineProperty(le,"toComputedKey",{enumerable:!0,get:function(){return IH.default}});Object.defineProperty(le,"toExpression",{enumerable:!0,get:function(){return _H.default}});Object.defineProperty(le,"toIdentifier",{enumerable:!0,get:function(){return NH.default}});Object.defineProperty(le,"toKeyAlias",{enumerable:!0,get:function(){return OH.default}});Object.defineProperty(le,"toStatement",{enumerable:!0,get:function(){return BH.default}});Object.defineProperty(le,"traverse",{enumerable:!0,get:function(){return Pu.default}});Object.defineProperty(le,"traverseFast",{enumerable:!0,get:function(){return KH.default}});Object.defineProperty(le,"validate",{enumerable:!0,get:function(){return uG.default}});Object.defineProperty(le,"valueToNode",{enumerable:!0,get:function(){return kH.default}});var lH=pT(),uH=fT(),cH=sx(),pH=ix(),om=ax();Object.keys(om).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ks,e)||e in le&&le[e]===om[e]||Object.defineProperty(le,e,{enumerable:!0,get:function(){return om[e]}})});var fH=ox(),uS=cx(),dH=hx(),lm=eh();Object.keys(lm).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ks,e)||e in le&&le[e]===lm[e]||Object.defineProperty(le,e,{enumerable:!0,get:function(){return lm[e]}})});var um=Kr();Object.keys(um).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ks,e)||e in le&&le[e]===um[e]||Object.defineProperty(le,e,{enumerable:!0,get:function(){return um[e]}})});var hH=Bs(),mH=Tx(),yH=xx(),gH=Sx(),bH=vx(),EH=Px(),TH=lh(),xH=fh(),SH=hh(),vH=bh(),PH=yh(),AH=Ax(),cm=Cx();Object.keys(cm).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ks,e)||e in le&&le[e]===cm[e]||Object.defineProperty(le,e,{enumerable:!0,get:function(){return cm[e]}})});var pm=oa();Object.keys(pm).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ks,e)||e in le&&le[e]===pm[e]||Object.defineProperty(le,e,{enumerable:!0,get:function(){return pm[e]}})});var CH=Dx(),DH=wx(),wH=Sh(),IH=Ix(),_H=_x(),NH=Ah(),OH=Fx(),BH=Lx(),kH=jx(),fm=an();Object.keys(fm).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ks,e)||e in le&&le[e]===fm[e]||Object.defineProperty(le,e,{enumerable:!0,get:function(){return fm[e]}})});var FH=Mx(),LH=qx(),jH=Ux(),MH=Nh(),RH=Bh(),qH=Yd(),UH=Vx(),VH=Do(),$H=$x(),WH=Kx(),Pu=Hx();Object.keys(Pu).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ks,e)||e in le&&le[e]===Pu[e]||Object.defineProperty(le,e,{enumerable:!0,get:function(){return Pu[e]}})});var KH=Ih(),HH=ru(),GH=sa(),XH=Gx(),YH=Jx(),JH=zx(),zH=Gh(),QH=Hd(),ZH=Zx(),eG=gd(),tG=eS(),rG=tS(),nG=nS(),sG=su(),iG=sS(),aG=aa(),oG=aS(),lG=pd(),uG=lu(),cG=dd(),dm=Wt();Object.keys(dm).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ks,e)||e in le&&le[e]===dm[e]||Object.defineProperty(le,e,{enumerable:!0,get:function(){return dm[e]}})});var pG=na(),fG=lS(),hwe=le.react={isReactComponent:lH.default,isCompatTag:uH.default,buildChildren:cH.default};le.toSequenceExpression=fG.default;process.env.BABEL_TYPES_8_BREAKING&&console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")});var cS=x(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.statements=ln.statement=ln.smart=ln.program=ln.expression=void 0;var dG=Fe(),{assertExpressionStatement:hG}=dG;function hm(e){return{code:t=>`/* @babel/template */;
|
|
7
|
+
`)}`)}return r.shapeOf=e,r}function A6(){function e(t){var r;let n=t;for(;t;){let{type:s}=n;if(s==="OptionalCallExpression"){if(n.optional)return;n=n.callee;continue}if(s==="OptionalMemberExpression"){if(n.optional)return;n=n.object;continue}break}throw new TypeError(`Non-optional ${t.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(r=n)==null?void 0:r.type}`)}return e}function OT(...e){function t(...r){for(let n of e)n(...r)}if(t.chainOf=e,e.length>=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return t}var C6=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),D6=new Set(["default","optional","deprecated","validate"]),Dd={};function w6(...e){return(t,r={})=>{let n=r.aliases;if(!n){var s;r.inherits&&(n=(s=Dd[r.inherits].aliases)==null?void 0:s.slice()),n!=null||(n=[]),r.aliases=n}let i=e.filter(a=>!n.includes(a));n.unshift(...i),BT(t,r)}}function BT(e,t={}){let r=t.inherits&&Dd[t.inherits]||{},n=t.fields;if(!n&&(n={},r.fields)){let o=Object.getOwnPropertyNames(r.fields);for(let l of o){let u=r.fields[l],c=u.default;if(Array.isArray(c)?c.length>0:c&&typeof c=="object")throw new Error("field defaults can only be primitives or empty arrays currently");n[l]={default:Array.isArray(c)?[]:c,optional:u.optional,deprecated:u.deprecated,validate:u.validate}}}let s=t.visitor||r.visitor||[],i=t.aliases||r.aliases||[],a=t.builder||r.builder||t.visitor||[];for(let o of Object.keys(t))if(!C6.has(o))throw new Error(`Unknown type option "${o}" on ${e}`);t.deprecatedAlias&&(m6[t.deprecatedAlias]=e);for(let o of s.concat(a))n[o]=n[o]||{};for(let o of Object.keys(n)){let l=n[o];l.default!==void 0&&!a.includes(o)&&(l.optional=!0),l.default===void 0?l.default=null:!l.validate&&l.default!=null&&(l.validate=Id(au(l.default)));for(let u of Object.keys(l))if(!D6.has(u))throw new Error(`Unknown field key "${u}" on ${e}.${o}`)}p6[e]=t.visitor=s,h6[e]=t.builder=a,d6[e]=t.fields=n,f6[e]=t.aliases=i,i.forEach(o=>{Cd[o]=Cd[o]||[],Cd[o].push(e)}),t.validate&&(y6[e]=t.validate),Dd[e]=t}});var To=x(vr=>{"use strict";Object.defineProperty(vr,"__esModule",{value:!0});vr.patternLikeCommon=vr.importAttributes=vr.functionTypeAnnotationCommon=vr.functionDeclarationCommon=vr.functionCommon=vr.classMethodOrPropertyCommon=vr.classMethodOrDeclareMethodCommon=void 0;var Nr=sa(),I6=aa(),kT=ia(),_6=CT(),la=oa(),D=qn(),oe=(0,D.defineAliasedType)("Standardized");oe("ArrayExpression",{fields:{elements:{validate:(0,D.arrayOf)((0,D.assertNodeOrValueType)("null","Expression","SpreadElement")),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]});oe("AssignmentExpression",{fields:{operator:{validate:process.env.BABEL_TYPES_8_BREAKING?Object.assign((function(){let e=(0,D.assertOneOf)(...la.ASSIGNMENT_OPERATORS),t=(0,D.assertOneOf)("=");return function(r,n,s){((0,Nr.default)("Pattern",r.left)?t:e)(r,n,s)}})(),{oneOf:la.ASSIGNMENT_OPERATORS}):(0,D.assertValueType)("string")},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,D.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,D.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});oe("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,D.assertOneOf)(...la.BINARY_OPERATORS)},left:{validate:(function(){let e=(0,D.assertNodeType)("Expression"),t=(0,D.assertNodeType)("Expression","PrivateName");return Object.assign(function(n,s,i){(n.operator==="in"?t:e)(n,s,i)},{oneOfNodeTypes:["Expression","PrivateName"]})})()},right:{validate:(0,D.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});oe("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}}});oe("Directive",{visitor:["value"],fields:{value:{validate:(0,D.assertNodeType)("DirectiveLiteral")}}});oe("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}}});oe("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,D.arrayOfType)("Directive"),default:[]},body:(0,D.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]});oe("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,D.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});oe("CallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,D.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:(0,D.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:(0,D.assertNodeType)("TypeParameterInstantiation"),optional:!0}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,D.assertValueType)("boolean"),optional:!0},typeParameters:{validate:(0,D.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})});oe("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,D.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,D.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});oe("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,D.assertNodeType)("Expression")},consequent:{validate:(0,D.assertNodeType)("Expression")},alternate:{validate:(0,D.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});oe("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,D.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});oe("DebuggerStatement",{aliases:["Statement"]});oe("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});oe("EmptyStatement",{aliases:["Statement"]});oe("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,D.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});oe("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,D.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.assertEach)((0,D.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,D.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}});oe("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,D.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")}}});oe("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,D.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,D.assertNodeType)("Expression"),optional:!0},update:{validate:(0,D.assertNodeType)("Expression"),optional:!0},body:{validate:(0,D.assertNodeType)("Statement")}}});var ua=()=>({params:(0,D.validateArrayOfType)("FunctionParameter"),generator:{default:!1},async:{default:!1}});vr.functionCommon=ua;var di=()=>({returnType:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,D.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});vr.functionTypeAnnotationCommon=di;var FT=()=>Object.assign({},ua(),{declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},id:{validate:(0,D.assertNodeType)("Identifier"),optional:!0}});vr.functionDeclarationCommon=FT;oe("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},FT(),di(),{body:{validate:(0,D.assertNodeType)("BlockStatement")},predicate:{validate:(0,D.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:process.env.BABEL_TYPES_8_BREAKING?(function(){let e=(0,D.assertNodeType)("Identifier");return function(t,r,n){(0,Nr.default)("ExportDefaultDeclaration",t)||e(n,"id",n.id)}})():void 0});oe("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},ua(),di(),{id:{validate:(0,D.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,D.assertNodeType)("BlockStatement")},predicate:{validate:(0,D.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});var ca=()=>({typeAnnotation:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,D.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0}});vr.patternLikeCommon=ca;oe("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","FunctionParameter","PatternLike","LVal","TSEntityName"],fields:Object.assign({},ca(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertValueType)("string"),Object.assign(function(e,t,r){if(!(0,I6.default)(r,!1))throw new TypeError(`"${r}" is not a valid identifier name`)},{type:"string"})):(0,D.assertValueType)("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(e,t,r){let n=/\.(\w+)$/.exec(t.toString());if(!n)return;let[,s]=n,i={computed:!1};if(s==="property"){if((0,Nr.default)("MemberExpression",e,i)||(0,Nr.default)("OptionalMemberExpression",e,i))return}else if(s==="key"){if((0,Nr.default)("Property",e,i)||(0,Nr.default)("Method",e,i))return}else if(s==="exported"){if((0,Nr.default)("ExportSpecifier",e))return}else if(s==="imported"){if((0,Nr.default)("ImportSpecifier",e,{imported:r}))return}else if(s==="meta"&&(0,Nr.default)("MetaProperty",e,{meta:r}))return;if(((0,kT.isKeyword)(r.name)||(0,kT.isReservedWord)(r.name,!1))&&r.name!=="this")throw new TypeError(`"${r.name}" is not a valid identifier`)}:void 0});oe("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,D.assertNodeType)("Expression")},consequent:{validate:(0,D.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,D.assertNodeType)("Statement")}}});oe("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,D.assertNodeType)("Identifier")},body:{validate:(0,D.assertNodeType)("Statement")}}});oe("StringLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});oe("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,D.chain)((0,D.assertValueType)("number"),Object.assign(function(e,t,r){if(1/r<0||!Number.isFinite(r)){let n=new Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${r}) instead.`)}},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]});oe("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});oe("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});oe("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,D.assertValueType)("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertValueType)("string"),Object.assign(function(e,t,r){let n=/[^gimsuy]/.exec(r);if(n)throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)},{type:"string"})):(0,D.assertValueType)("string"),default:""}}});oe("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,D.assertOneOf)(...la.LOGICAL_OPERATORS)},left:{validate:(0,D.assertNodeType)("Expression")},right:{validate:(0,D.assertNodeType)("Expression")}}});oe("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal","PatternLike"],fields:Object.assign({object:{validate:(0,D.assertNodeType)("Expression","Super")},property:{validate:(function(){let e=(0,D.assertNodeType)("Identifier","PrivateName"),t=(0,D.assertNodeType)("Expression"),r=function(n,s,i){(n.computed?t:e)(n,s,i)};return r.oneOfNodeTypes=["Expression","Identifier","PrivateName"],r})()},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,D.assertValueType)("boolean"),optional:!0}})});oe("NewExpression",{inherits:"CallExpression"});oe("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,D.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,D.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,D.arrayOfType)("Directive"),default:[]},body:(0,D.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block"]});oe("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,D.validateArrayOfType)("ObjectMethod","ObjectProperty","SpreadElement")}});oe("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},ua(),di(),{kind:Object.assign({validate:(0,D.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:(function(){let e=(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=(0,D.assertNodeType)("Expression"),r=function(n,s,i){(n.computed?t:e)(n,s,i)};return r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],r})()},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0},body:{validate:(0,D.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});oe("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:(function(){let e=(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),t=(0,D.assertNodeType)("Expression");return Object.assign(function(n,s,i){(n.computed?t:e)(n,s,i)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})})()},value:{validate:(0,D.assertNodeType)("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertValueType)("boolean"),Object.assign(function(e,t,r){if(r){if(e.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!(0,Nr.default)("Identifier",e.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}},{type:"boolean"})):(0,D.assertValueType)("boolean"),default:!1},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0}},visitor:["decorators","key","value"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:process.env.BABEL_TYPES_8_BREAKING?(function(){let e=(0,D.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),t=(0,D.assertNodeType)("Expression");return function(r,n,s){((0,Nr.default)("ObjectPattern",r)?e:t)(s,"value",s.value)}})():void 0});oe("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["FunctionParameter","PatternLike","LVal"],deprecatedAlias:"RestProperty",fields:Object.assign({},ca(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,D.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression","RestElement","AssignmentPattern")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(e,t){let r=/(\w+)\[(\d+)\]/.exec(t.toString());if(!r)throw new Error("Internal Babel error: malformed key.");let[,n,s]=r;if(e[n].length>+s+1)throw new TypeError(`RestElement must be last element of ${n}`)}:void 0});oe("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,D.assertNodeType)("Expression"),optional:!0}}});oe("SequenceExpression",{visitor:["expressions"],fields:{expressions:(0,D.validateArrayOfType)("Expression")},aliases:["Expression"]});oe("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,D.assertNodeType)("Expression")}}});oe("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,D.assertNodeType)("Expression"),optional:!0},consequent:(0,D.validateArrayOfType)("Statement")}});oe("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,D.assertNodeType)("Expression")},cases:(0,D.validateArrayOfType)("SwitchCase")}});oe("ThisExpression",{aliases:["Expression"]});oe("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,D.assertNodeType)("Expression")}}});oe("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!e.handler&&!e.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):(0,D.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,D.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,D.assertNodeType)("BlockStatement")}}});oe("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,D.assertNodeType)("Expression")},operator:{validate:(0,D.assertOneOf)(...la.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});oe("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.assertNodeType)("Identifier","MemberExpression"):(0,D.assertNodeType)("Expression")},operator:{validate:(0,D.assertOneOf)(...la.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});oe("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},kind:{validate:(0,D.assertOneOf)("var","let","const","using","await using")},declarations:(0,D.validateArrayOfType)("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(()=>{let e=(0,D.assertNodeType)("Identifier","Placeholder"),t=(0,D.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","Placeholder"),r=(0,D.assertNodeType)("Identifier","VoidPattern","Placeholder");return function(n,s,i){let{kind:a,declarations:o}=i,l=(0,Nr.default)("ForXStatement",n,{left:i});if(l&&o.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${n.type}`);for(let u of o)a==="const"||a==="let"||a==="var"?!l&&!u.init?e(u,"id",u.id):t(u,"id",u.id):r(u,"id",u.id)}})():void 0});oe("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","VoidPattern"):(0,D.assertNodeType)("LVal","VoidPattern")},definite:{optional:!0,validate:(0,D.assertValueType)("boolean")},init:{optional:!0,validate:(0,D.assertNodeType)("Expression")}}});oe("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")}}});oe("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")}}});oe("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},ca(),{left:{validate:(0,D.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,D.assertNodeType)("Expression")},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0}})});oe("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},ca(),{elements:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeOrValueType)("null","PatternLike")))}})});oe("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},ua(),di(),{expression:{validate:(0,D.assertValueType)("boolean")},body:{validate:(0,D.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,D.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});oe("ClassBody",{visitor:["body"],fields:{body:(0,D.validateArrayOfType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}});oe("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,D.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,D.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,D.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,D.assertNodeType)("Expression")},superTypeParameters:{validate:(0,D.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,D.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,D.assertNodeType)("InterfaceExtends"),optional:!0}}});oe("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,D.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,D.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,D.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,D.assertNodeType)("Expression")},superTypeParameters:{validate:(0,D.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,D.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,D.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,D.assertValueType)("boolean"),optional:!0}},validate:process.env.BABEL_TYPES_8_BREAKING?(function(){let e=(0,D.assertNodeType)("Identifier");return function(t,r,n){(0,Nr.default)("ExportDefaultDeclaration",t)||e(n,"id",n.id)}})():void 0});var _d=vr.importAttributes={attributes:{optional:!0,validate:(0,D.arrayOfType)("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:(0,D.arrayOfType)("ImportAttribute")}};oe("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:(0,D.assertNodeType)("StringLiteral")},exportKind:(0,D.validateOptional)((0,D.assertOneOf)("type","value"))},_d)});oe("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:(0,D.validateType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:(0,D.validateOptional)((0,D.assertOneOf)("value"))}});oe("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(r&&e.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(r&&e.source)throw new TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):(0,D.assertNodeType)("Declaration")}},_d,{specifiers:{default:[],validate:(0,D.arrayOf)((function(){let e=(0,D.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),t=(0,D.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(r,n,s){(r.source?e:t)(r,n,s)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):e})())},source:{validate:(0,D.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,D.validateOptional)((0,D.assertOneOf)("type","value"))})});oe("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,D.assertNodeType)("Identifier")},exported:{validate:(0,D.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,D.assertOneOf)("type","value"),optional:!0}}});oe("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,D.assertNodeType)("VariableDeclaration","LVal");let e=(0,D.assertNodeType)("VariableDeclaration"),t=(0,D.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(r,n,s){(0,Nr.default)("VariableDeclaration",s)?e(r,n,s):t(r,n,s)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})})()},right:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")},await:{default:!1}}});oe("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},_d,{module:{optional:!0,validate:(0,D.assertValueType)("boolean")},phase:{default:null,validate:(0,D.assertOneOf)("source","defer")},specifiers:(0,D.validateArrayOfType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:(0,D.assertNodeType)("StringLiteral")},importKind:{validate:(0,D.assertOneOf)("type","typeof","value"),optional:!0}})});oe("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,D.assertNodeType)("Identifier")}}});oe("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,D.assertNodeType)("Identifier")}}});oe("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,D.assertNodeType)("Identifier")},imported:{validate:(0,D.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,D.assertOneOf)("type","typeof","value"),optional:!0}}});oe("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,D.assertOneOf)("source","defer")},source:{validate:(0,D.assertNodeType)("Expression")},options:{validate:(0,D.assertNodeType)("Expression"),optional:!0}}});oe("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertNodeType)("Identifier"),Object.assign(function(e,t,r){let n;switch(r.name){case"function":n="sent";break;case"new":n="target";break;case"import":n="meta";break}if(!(0,Nr.default)("Identifier",e.property,{name:n}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):(0,D.assertNodeType)("Identifier")},property:{validate:(0,D.assertNodeType)("Identifier")}}});var uu=()=>({abstract:{validate:(0,D.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,D.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,D.assertValueType)("boolean"),optional:!0},key:{validate:(0,D.chain)((function(){let e=(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=(0,D.assertNodeType)("Expression");return function(r,n,s){(r.computed?t:e)(r,n,s)}})(),(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});vr.classMethodOrPropertyCommon=uu;var Nd=()=>Object.assign({},ua(),uu(),{params:(0,D.validateArrayOfType)("FunctionParameter","TSParameterProperty"),kind:{validate:(0,D.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,D.chain)((0,D.assertValueType)("string"),(0,D.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0}});vr.classMethodOrDeclareMethodCommon=Nd;oe("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},Nd(),di(),{body:{validate:(0,D.assertNodeType)("BlockStatement")}})});oe("ObjectPattern",{visitor:["decorators","properties","typeAnnotation"],builder:["properties"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},ca(),{properties:(0,D.validateArrayOfType)("RestElement","ObjectProperty")})});oe("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,D.assertNodeType)("Expression")}}});oe("Super",{aliases:["Expression"]});oe("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,D.assertNodeType)("Expression")},quasi:{validate:(0,D.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,D.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});oe("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,D.chain)((0,D.assertShape)({raw:{validate:(0,D.assertValueType)("string")},cooked:{validate:(0,D.assertValueType)("string"),optional:!0}}),function(t){let r=t.value.raw,n=!1,s=()=>{throw new Error("Internal @babel/types error.")},{str:i,firstInvalidLoc:a}=(0,_6.readStringContents)("template",r,0,0,0,{unterminated(){n=!0},strictNumericEscape:s,invalidEscapeSequence:s,numericSeparatorInEscapeSequence:s,unexpectedNumericSeparator:s,invalidDigit:s,invalidCodePoint:s});if(!n)throw new Error("Invalid raw");t.value.cooked=a?null:i})},tail:{default:!1}}});oe("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:(0,D.validateArrayOfType)("TemplateElement"),expressions:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1)throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.
|
|
8
|
+
Expected ${r.length+1} quasis but got ${e.quasis.length}`)})}}});oe("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertValueType)("boolean"),Object.assign(function(e,t,r){if(r&&!e.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):(0,D.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,D.assertNodeType)("Expression")}}});oe("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,D.assertNodeType)("Expression")}}});oe("Import",{aliases:["Expression"]});oe("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});oe("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,D.assertNodeType)("Identifier")}}});oe("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,D.assertNodeType)("Expression")},property:{validate:(function(){let e=(0,D.assertNodeType)("Identifier"),t=(0,D.assertNodeType)("Expression");return Object.assign(function(n,s,i){(n.computed?t:e)(n,s,i)},{oneOfNodeTypes:["Expression","Identifier"]})})()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertValueType)("boolean"),(0,D.assertOptionalChainStart)()):(0,D.assertValueType)("boolean")}}});oe("OptionalCallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,D.assertNodeType)("Expression")},arguments:(0,D.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertValueType)("boolean"),(0,D.assertOptionalChainStart)()):(0,D.assertValueType)("boolean")},typeArguments:{validate:(0,D.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,D.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})});oe("ClassProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},uu(),{value:{validate:(0,D.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,D.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,D.assertValueType)("boolean"),optional:!0},declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},variance:{validate:(0,D.assertNodeType)("Variance"),optional:!0}})});oe("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},uu(),{key:{validate:(0,D.chain)((function(){let e=(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),t=(0,D.assertNodeType)("Expression");return function(r,n,s){(r.computed?t:e)(r,n,s)}})(),(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,D.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,D.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,D.assertValueType)("boolean"),optional:!0},declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},variance:{validate:(0,D.assertNodeType)("Variance"),optional:!0}})});oe("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,D.assertNodeType)("PrivateName")},value:{validate:(0,D.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,D.arrayOfType)("Decorator"),optional:!0},static:{validate:(0,D.assertValueType)("boolean"),default:!1},readonly:{validate:(0,D.assertValueType)("boolean"),optional:!0},optional:{validate:(0,D.assertValueType)("boolean"),optional:!0},definite:{validate:(0,D.assertValueType)("boolean"),optional:!0},variance:{validate:(0,D.assertNodeType)("Variance"),optional:!0}}});oe("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},Nd(),di(),{kind:{validate:(0,D.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,D.assertNodeType)("PrivateName")},body:{validate:(0,D.assertNodeType)("BlockStatement")}})});oe("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,D.assertNodeType)("Identifier")}}});oe("StaticBlock",{visitor:["body"],fields:{body:(0,D.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]});oe("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,D.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,D.assertNodeType)("StringLiteral")}}})});var jT=x(()=>{"use strict";var LT=To(),M=qn(),Pe=(0,M.defineAliasedType)("Flow"),Od=e=>{let t=e==="DeclareClass";Pe(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...t?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,M.validateType)("Identifier"),typeParameters:(0,M.validateOptionalType)("TypeParameterDeclaration"),extends:(0,M.validateOptional)((0,M.arrayOfType)("InterfaceExtends"))},t?{mixins:(0,M.validateOptional)((0,M.arrayOfType)("InterfaceExtends")),implements:(0,M.validateOptional)((0,M.arrayOfType)("ClassImplements"))}:{},{body:(0,M.validateType)("ObjectTypeAnnotation")})})};Pe("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,M.validateType)("FlowType")}});Pe("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,M.validate)((0,M.assertValueType)("boolean"))}});Pe("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,M.validateType)("Identifier"),typeParameters:(0,M.validateOptionalType)("TypeParameterInstantiation")}});Od("DeclareClass");Pe("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,M.validateType)("Identifier"),predicate:(0,M.validateOptionalType)("DeclaredPredicate")}});Od("DeclareInterface");Pe("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,M.validateType)("Identifier","StringLiteral"),body:(0,M.validateType)("BlockStatement"),kind:(0,M.validateOptional)((0,M.assertOneOf)("CommonJS","ES"))}});Pe("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,M.validateType)("TypeAnnotation")}});Pe("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,M.validateType)("Identifier"),typeParameters:(0,M.validateOptionalType)("TypeParameterDeclaration"),right:(0,M.validateType)("FlowType")}});Pe("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,M.validateType)("Identifier"),typeParameters:(0,M.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,M.validateOptionalType)("FlowType"),impltype:(0,M.validateOptionalType)("FlowType")}});Pe("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,M.validateType)("Identifier")}});Pe("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:(0,M.validateOptionalType)("Flow"),specifiers:(0,M.validateOptional)((0,M.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,M.validateOptionalType)("StringLiteral"),default:(0,M.validateOptional)((0,M.assertValueType)("boolean"))},LT.importAttributes)});Pe("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:(0,M.validateType)("StringLiteral"),exportKind:(0,M.validateOptional)((0,M.assertOneOf)("type","value"))},LT.importAttributes)});Pe("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,M.validateType)("Flow")}});Pe("ExistsTypeAnnotation",{aliases:["FlowType"]});Pe("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,M.validateOptionalType)("TypeParameterDeclaration"),params:(0,M.validateArrayOfType)("FunctionTypeParam"),rest:(0,M.validateOptionalType)("FunctionTypeParam"),this:(0,M.validateOptionalType)("FunctionTypeParam"),returnType:(0,M.validateType)("FlowType")}});Pe("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,M.validateOptionalType)("Identifier"),typeAnnotation:(0,M.validateType)("FlowType"),optional:(0,M.validateOptional)((0,M.assertValueType)("boolean"))}});Pe("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,M.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,M.validateOptionalType)("TypeParameterInstantiation")}});Pe("InferredPredicate",{aliases:["FlowPredicate"]});Pe("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,M.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,M.validateOptionalType)("TypeParameterInstantiation")}});Od("InterfaceDeclaration");Pe("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,M.validateOptional)((0,M.arrayOfType)("InterfaceExtends")),body:(0,M.validateType)("ObjectTypeAnnotation")}});Pe("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,M.validate)((0,M.arrayOfType)("FlowType"))}});Pe("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,M.validateType)("FlowType")}});Pe("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,M.validate)((0,M.assertValueType)("number"))}});Pe("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,M.validate)((0,M.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,M.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,M.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,M.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,M.assertValueType)("boolean"),default:!1},inexact:(0,M.validateOptional)((0,M.assertValueType)("boolean"))}});Pe("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,M.validateType)("Identifier"),value:(0,M.validateType)("FlowType"),optional:(0,M.validate)((0,M.assertValueType)("boolean")),static:(0,M.validate)((0,M.assertValueType)("boolean")),method:(0,M.validate)((0,M.assertValueType)("boolean"))}});Pe("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,M.validateType)("FlowType"),static:(0,M.validate)((0,M.assertValueType)("boolean"))}});Pe("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,M.validateOptionalType)("Identifier"),key:(0,M.validateType)("FlowType"),value:(0,M.validateType)("FlowType"),static:(0,M.validate)((0,M.assertValueType)("boolean")),variance:(0,M.validateOptionalType)("Variance")}});Pe("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,M.validateType)("Identifier","StringLiteral"),value:(0,M.validateType)("FlowType"),kind:(0,M.validate)((0,M.assertOneOf)("init","get","set")),static:(0,M.validate)((0,M.assertValueType)("boolean")),proto:(0,M.validate)((0,M.assertValueType)("boolean")),optional:(0,M.validate)((0,M.assertValueType)("boolean")),variance:(0,M.validateOptionalType)("Variance"),method:(0,M.validate)((0,M.assertValueType)("boolean"))}});Pe("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,M.validateType)("FlowType")}});Pe("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,M.validateType)("Identifier"),typeParameters:(0,M.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,M.validateOptionalType)("FlowType"),impltype:(0,M.validateType)("FlowType")}});Pe("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,M.validateType)("Identifier"),qualification:(0,M.validateType)("Identifier","QualifiedTypeIdentifier")}});Pe("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,M.validate)((0,M.assertValueType)("string"))}});Pe("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,M.validate)((0,M.arrayOfType)("FlowType"))}});Pe("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,M.validateType)("FlowType")}});Pe("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,M.validateType)("Identifier"),typeParameters:(0,M.validateOptionalType)("TypeParameterDeclaration"),right:(0,M.validateType)("FlowType")}});Pe("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,M.validateType)("FlowType")}});Pe("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,M.validateType)("Expression"),typeAnnotation:(0,M.validateType)("TypeAnnotation")}});Pe("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,M.validate)((0,M.assertValueType)("string")),bound:(0,M.validateOptionalType)("TypeAnnotation"),default:(0,M.validateOptionalType)("FlowType"),variance:(0,M.validateOptionalType)("Variance")}});Pe("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,M.validate)((0,M.arrayOfType)("TypeParameter"))}});Pe("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,M.validate)((0,M.arrayOfType)("FlowType"))}});Pe("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,M.validate)((0,M.arrayOfType)("FlowType"))}});Pe("Variance",{builder:["kind"],fields:{kind:(0,M.validate)((0,M.assertOneOf)("minus","plus"))}});Pe("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Pe("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,M.validateType)("Identifier"),body:(0,M.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}});Pe("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,M.validate)((0,M.assertValueType)("boolean")),members:(0,M.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,M.validate)((0,M.assertValueType)("boolean"))}});Pe("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,M.validate)((0,M.assertValueType)("boolean")),members:(0,M.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,M.validate)((0,M.assertValueType)("boolean"))}});Pe("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,M.validate)((0,M.assertValueType)("boolean")),members:(0,M.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,M.validate)((0,M.assertValueType)("boolean"))}});Pe("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,M.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,M.validate)((0,M.assertValueType)("boolean"))}});Pe("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:(0,M.validateType)("Identifier"),init:(0,M.validateType)("BooleanLiteral")}});Pe("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,M.validateType)("Identifier"),init:(0,M.validateType)("NumericLiteral")}});Pe("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,M.validateType)("Identifier"),init:(0,M.validateType)("StringLiteral")}});Pe("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,M.validateType)("Identifier")}});Pe("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,M.validateType)("FlowType"),indexType:(0,M.validateType)("FlowType")}});Pe("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,M.validateType)("FlowType"),indexType:(0,M.validateType)("FlowType"),optional:(0,M.validate)((0,M.assertValueType)("boolean"))}})});var MT=x(()=>{"use strict";var Mt=qn(),Or=(0,Mt.defineAliasedType)("JSX");Or("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,Mt.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,Mt.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});Or("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,Mt.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});Or("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,Mt.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,Mt.assertNodeType)("JSXClosingElement")},children:(0,Mt.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:(0,Mt.assertValueType)("boolean"),optional:!0}})});Or("JSXEmptyExpression",{});Or("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,Mt.assertNodeType)("Expression","JSXEmptyExpression")}}});Or("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,Mt.assertNodeType)("Expression")}}});Or("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,Mt.assertValueType)("string")}}});Or("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,Mt.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,Mt.assertNodeType)("JSXIdentifier")}}});Or("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,Mt.assertNodeType)("JSXIdentifier")},name:{validate:(0,Mt.assertNodeType)("JSXIdentifier")}}});Or("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:(0,Mt.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:(0,Mt.validateArrayOfType)("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:(0,Mt.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,Mt.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})});Or("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,Mt.assertNodeType)("Expression")}}});Or("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,Mt.assertValueType)("string")}}});Or("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,Mt.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,Mt.assertNodeType)("JSXClosingFragment")},children:(0,Mt.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}});Or("JSXOpeningFragment",{aliases:["Immutable"]});Or("JSXClosingFragment",{aliases:["Immutable"]})});var Fd=x(Ns=>{"use strict";Object.defineProperty(Ns,"__esModule",{value:!0});Ns.PLACEHOLDERS_FLIPPED_ALIAS=Ns.PLACEHOLDERS_ALIAS=Ns.PLACEHOLDERS=void 0;var N6=qn(),O6=Ns.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],kd=Ns.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let e of O6){let t=N6.ALIAS_KEYS[e];t!=null&&t.length&&(kd[e]=t)}var Bd=Ns.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(kd).forEach(e=>{kd[e].forEach(t=>{hasOwnProperty.call(Bd,t)||(Bd[t]=[]),Bd[t].push(e)})})});var RT=x(()=>{"use strict";var cu=qn(),B6=Fd(),k6=To(),Ld=(0,cu.defineAliasedType)("Miscellaneous");Ld("Noop",{visitor:[]});Ld("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:(0,cu.assertNodeType)("Identifier")},expectedNode:{validate:(0,cu.assertOneOf)(...B6.PLACEHOLDERS)}},(0,k6.patternLikeCommon)())});Ld("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,cu.assertValueType)("string")}}})});var qT=x(()=>{"use strict";var It=qn();(0,It.default)("ArgumentPlaceholder",{});(0,It.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,It.assertNodeType)("Expression")},callee:{validate:(0,It.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}});(0,It.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,It.assertNodeType)("Expression")}}});(0,It.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,It.assertNodeType)("BlockStatement")},async:{validate:(0,It.assertValueType)("boolean"),default:!1}}});(0,It.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,It.assertNodeType)("Identifier")}}});(0,It.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,It.validateArrayOfType)("ObjectProperty","SpreadElement")}});(0,It.default)("TupleExpression",{fields:{elements:{validate:(0,It.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,It.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,It.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,It.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,It.assertNodeType)("Program")}},aliases:["Expression"]});(0,It.default)("TopicReference",{aliases:["Expression"]});(0,It.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,It.assertNodeType)("Expression")}},aliases:["Expression"]});(0,It.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,It.assertNodeType)("Expression")}},aliases:["Expression"]});(0,It.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,It.default)("VoidPattern",{aliases:["Pattern","PatternLike","FunctionParameter"]})});var XT=x(()=>{"use strict";var Y=qn(),UT=To(),F6=sa(),Oe=(0,Y.defineAliasedType)("TypeScript"),$r=(0,Y.assertValueType)("boolean"),VT=()=>({returnType:{validate:(0,Y.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,Y.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});Oe("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,Y.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,Y.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,Y.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,Y.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,Y.arrayOfType)("Decorator"),optional:!0}}});Oe("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,UT.functionDeclarationCommon)(),VT())});Oe("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,UT.classMethodOrDeclareMethodCommon)(),VT())});Oe("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,Y.validateType)("TSEntityName"),right:(0,Y.validateType)("Identifier")}});var pu=()=>({typeParameters:(0,Y.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,Y.validateArrayOfType)("ArrayPattern","Identifier","ObjectPattern","RestElement"),typeAnnotation:(0,Y.validateOptionalType)("TSTypeAnnotation")}),$T={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:pu()};Oe("TSCallSignatureDeclaration",$T);Oe("TSConstructSignatureDeclaration",$T);var WT=()=>({key:(0,Y.validateType)("Expression"),computed:{default:!1},optional:(0,Y.validateOptional)($r)});Oe("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},WT(),{readonly:(0,Y.validateOptional)($r),typeAnnotation:(0,Y.validateOptionalType)("TSTypeAnnotation"),kind:{optional:!0,validate:(0,Y.assertOneOf)("get","set")}})});Oe("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},pu(),WT(),{kind:{validate:(0,Y.assertOneOf)("method","get","set")}})});Oe("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,Y.validateOptional)($r),static:(0,Y.validateOptional)($r),parameters:(0,Y.validateArrayOfType)("Identifier"),typeAnnotation:(0,Y.validateOptionalType)("TSTypeAnnotation")}});var L6=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let e of L6)Oe(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});Oe("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var KT={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};Oe("TSFunctionType",Object.assign({},KT,{fields:pu()}));Oe("TSConstructorType",Object.assign({},KT,{fields:Object.assign({},pu(),{abstract:(0,Y.validateOptional)($r)})}));Oe("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,Y.validateType)("TSEntityName"),typeParameters:(0,Y.validateOptionalType)("TSTypeParameterInstantiation")}});Oe("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,Y.validateType)("Identifier","TSThisType"),typeAnnotation:(0,Y.validateOptionalType)("TSTypeAnnotation"),asserts:(0,Y.validateOptional)($r)}});Oe("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,Y.validateType)("TSEntityName","TSImportType"),typeParameters:(0,Y.validateOptionalType)("TSTypeParameterInstantiation")}});Oe("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,Y.validateArrayOfType)("TSTypeElement")}});Oe("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,Y.validateType)("TSType")}});Oe("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,Y.validateArrayOfType)("TSType","TSNamedTupleMember")}});Oe("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,Y.validateType)("TSType")}});Oe("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,Y.validateType)("TSType")}});Oe("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,Y.validateType)("Identifier"),optional:{validate:$r,default:!1},elementType:(0,Y.validateType)("TSType")}});var HT={aliases:["TSType"],visitor:["types"],fields:{types:(0,Y.validateArrayOfType)("TSType")}};Oe("TSUnionType",HT);Oe("TSIntersectionType",HT);Oe("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,Y.validateType)("TSType"),extendsType:(0,Y.validateType)("TSType"),trueType:(0,Y.validateType)("TSType"),falseType:(0,Y.validateType)("TSType")}});Oe("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,Y.validateType)("TSTypeParameter")}});Oe("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,Y.validateType)("TSType")}});Oe("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],builder:["typeAnnotation","operator"],fields:{operator:{validate:(0,Y.assertValueType)("string"),default:"keyof"},typeAnnotation:(0,Y.validateType)("TSType")}});Oe("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,Y.validateType)("TSType"),indexType:(0,Y.validateType)("TSType")}});Oe("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:(0,Y.validateType)("TSTypeParameter")},{readonly:(0,Y.validateOptional)((0,Y.assertOneOf)(!0,!1,"+","-")),optional:(0,Y.validateOptional)((0,Y.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,Y.validateOptionalType)("TSType"),nameType:(0,Y.validateOptionalType)("TSType")})});Oe("TSTemplateLiteralType",{aliases:["TSType","TSBaseType"],visitor:["quasis","types"],fields:{quasis:(0,Y.validateArrayOfType)("TemplateElement"),types:{validate:(0,Y.chain)((0,Y.assertValueType)("array"),(0,Y.assertEach)((0,Y.assertNodeType)("TSType")),function(e,t,r){if(e.quasis.length!==r.length+1)throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of types.
|
|
9
|
+
Expected ${r.length+1} quasis but got ${e.quasis.length}`)})}}});Oe("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:(function(){let e=(0,Y.assertNodeType)("NumericLiteral","BigIntLiteral"),t=(0,Y.assertOneOf)("-"),r=(0,Y.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function n(s,i,a){(0,F6.default)("UnaryExpression",a)?(t(a,"operator",a.operator),e(a,"argument",a.argument)):r(s,i,a)}return n.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],n})()}}});Oe("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,Y.validateType)("TSEntityName"),typeParameters:(0,Y.validateOptionalType)("TSTypeParameterInstantiation")}});Oe("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,Y.validateOptional)($r),id:(0,Y.validateType)("Identifier"),typeParameters:(0,Y.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,Y.validateOptional)((0,Y.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,Y.validateType)("TSInterfaceBody")}});Oe("TSInterfaceBody",{visitor:["body"],fields:{body:(0,Y.validateArrayOfType)("TSTypeElement")}});Oe("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,Y.validateOptional)($r),id:(0,Y.validateType)("Identifier"),typeParameters:(0,Y.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,Y.validateType)("TSType")}});Oe("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,Y.validateType)("Expression"),typeParameters:(0,Y.validateOptionalType)("TSTypeParameterInstantiation")}});var GT={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,Y.validateType)("Expression"),typeAnnotation:(0,Y.validateType)("TSType")}};Oe("TSAsExpression",GT);Oe("TSSatisfiesExpression",GT);Oe("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,Y.validateType)("TSType"),expression:(0,Y.validateType)("Expression")}});Oe("TSEnumBody",{visitor:["members"],fields:{members:(0,Y.validateArrayOfType)("TSEnumMember")}});Oe("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,Y.validateOptional)($r),const:(0,Y.validateOptional)($r),id:(0,Y.validateType)("Identifier"),members:(0,Y.validateArrayOfType)("TSEnumMember"),initializer:(0,Y.validateOptionalType)("Expression"),body:(0,Y.validateOptionalType)("TSEnumBody")}});Oe("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,Y.validateType)("Identifier","StringLiteral"),initializer:(0,Y.validateOptionalType)("Expression")}});Oe("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:(0,Y.assertOneOf)("global","module","namespace")},declare:(0,Y.validateOptional)($r)},{global:(0,Y.validateOptional)($r)},{id:(0,Y.validateType)("Identifier","StringLiteral"),body:(0,Y.validateType)("TSModuleBlock","TSModuleDeclaration")})});Oe("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,Y.validateArrayOfType)("Statement")}});Oe("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:{argument:(0,Y.validateType)("StringLiteral"),qualifier:(0,Y.validateOptionalType)("TSEntityName"),typeParameters:(0,Y.validateOptionalType)("TSTypeParameterInstantiation"),options:{validate:(0,Y.assertNodeType)("ObjectExpression"),optional:!0}}});Oe("TSImportEqualsDeclaration",{aliases:["Statement","Declaration"],visitor:["id","moduleReference"],fields:Object.assign({},{isExport:(0,Y.validate)($r)},{id:(0,Y.validateType)("Identifier"),moduleReference:(0,Y.validateType)("TSEntityName","TSExternalModuleReference"),importKind:{validate:(0,Y.assertOneOf)("type","value"),optional:!0}})});Oe("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,Y.validateType)("StringLiteral")}});Oe("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,Y.validateType)("Expression")}});Oe("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,Y.validateType)("Expression")}});Oe("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,Y.validateType)("Identifier")}});Oe("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,Y.assertNodeType)("TSType")}}});Oe("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:(0,Y.validateArrayOfType)("TSType")}});Oe("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:(0,Y.validateArrayOfType)("TSTypeParameter")}});Oe("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,Y.assertValueType)("string")},in:{validate:(0,Y.assertValueType)("boolean"),optional:!0},out:{validate:(0,Y.assertValueType)("boolean"),optional:!0},const:{validate:(0,Y.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,Y.assertNodeType)("TSType"),optional:!0},default:{validate:(0,Y.assertNodeType)("TSType"),optional:!0}}})});var YT=x(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});fu.DEPRECATED_ALIASES=void 0;var hSe=fu.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var an=x(Br=>{"use strict";Object.defineProperty(Br,"__esModule",{value:!0});Object.defineProperty(Br,"ALIAS_KEYS",{enumerable:!0,get:function(){return Wr.ALIAS_KEYS}});Object.defineProperty(Br,"BUILDER_KEYS",{enumerable:!0,get:function(){return Wr.BUILDER_KEYS}});Object.defineProperty(Br,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return jd.DEPRECATED_ALIASES}});Object.defineProperty(Br,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return Wr.DEPRECATED_KEYS}});Object.defineProperty(Br,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return Wr.FLIPPED_ALIAS_KEYS}});Object.defineProperty(Br,"NODE_FIELDS",{enumerable:!0,get:function(){return Wr.NODE_FIELDS}});Object.defineProperty(Br,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return Wr.NODE_PARENT_VALIDATIONS}});Object.defineProperty(Br,"PLACEHOLDERS",{enumerable:!0,get:function(){return Md.PLACEHOLDERS}});Object.defineProperty(Br,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return Md.PLACEHOLDERS_ALIAS}});Object.defineProperty(Br,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return Md.PLACEHOLDERS_FLIPPED_ALIAS}});Br.TYPES=void 0;Object.defineProperty(Br,"VISITOR_KEYS",{enumerable:!0,get:function(){return Wr.VISITOR_KEYS}});To();jT();MT();RT();qT();XT();var Wr=qn(),Md=Fd(),jd=YT();Object.keys(jd.DEPRECATED_ALIASES).forEach(e=>{Wr.FLIPPED_ALIAS_KEYS[e]=Wr.FLIPPED_ALIAS_KEYS[jd.DEPRECATED_ALIASES[e]]});for(let{types:e,set:t}of Wr.allExpandedTypes)for(let r of e){let n=Wr.FLIPPED_ALIAS_KEYS[r];n?n.forEach(t.add,t):t.add(r)}var ySe=Br.TYPES=[].concat(Object.keys(Wr.VISITOR_KEYS),Object.keys(Wr.FLIPPED_ALIAS_KEYS),Object.keys(Wr.DEPRECATED_KEYS))});var lu=x(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});pa.default=j6;pa.validateChild=zT;pa.validateField=JT;pa.validateInternal=M6;var xo=an();function j6(e,t,r){if(!e)return;let n=xo.NODE_FIELDS[e.type];if(!n)return;let s=n[t];JT(e,t,r,s),zT(e,t,r)}function M6(e,t,r,n,s){if(e!=null&&e.validate&&!(e.optional&&n==null)&&(e.validate(t,r,n),s)){var i;let a=n.type;if(a==null)return;(i=xo.NODE_PARENT_VALIDATIONS[a])==null||i.call(xo.NODE_PARENT_VALIDATIONS,t,r,n)}}function JT(e,t,r,n){n!=null&&n.validate&&(n.optional&&r==null||n.validate(e,t,r))}function zT(e,t,r){var n;let s=r==null?void 0:r.type;s!=null&&((n=xo.NODE_PARENT_VALIDATIONS[s])==null||n.call(xo.NODE_PARENT_VALIDATIONS,e,t,r))}});var Rd=x(E=>{"use strict";Object.defineProperty(E,"__esModule",{value:!0});E.anyTypeAnnotation=bM;E.argumentPlaceholder=GR;E.arrayExpression=V6;E.arrayPattern=jj;E.arrayTypeAnnotation=EM;E.arrowFunctionExpression=Mj;E.assignmentExpression=$6;E.assignmentPattern=Lj;E.awaitExpression=aM;E.bigIntLiteral=U6;E.binaryExpression=W6;E.bindExpression=XR;E.blockStatement=X6;E.booleanLiteral=hj;E.booleanLiteralTypeAnnotation=xM;E.booleanTypeAnnotation=TM;E.breakStatement=Y6;E.callExpression=J6;E.catchClause=z6;E.classAccessorProperty=fM;E.classBody=Rj;E.classDeclaration=Uj;E.classExpression=qj;E.classImplements=vM;E.classMethod=Zj;E.classPrivateMethod=hM;E.classPrivateProperty=dM;E.classProperty=pM;E.conditionalExpression=Q6;E.continueStatement=Z6;E.debuggerStatement=ej;E.decimalLiteral=e5;E.declareClass=PM;E.declareExportAllDeclaration=BM;E.declareExportDeclaration=OM;E.declareFunction=AM;E.declareInterface=CM;E.declareModule=DM;E.declareModuleExports=wM;E.declareOpaqueType=_M;E.declareTypeAlias=IM;E.declareVariable=NM;E.declaredPredicate=kM;E.decorator=YR;E.directive=H6;E.directiveLiteral=G6;E.doExpression=JR;E.doWhileStatement=tj;E.emptyStatement=rj;E.emptyTypeAnnotation=KM;E.enumBooleanBody=ER;E.enumBooleanMember=vR;E.enumDeclaration=bR;E.enumDefaultedMember=CR;E.enumNumberBody=TR;E.enumNumberMember=PR;E.enumStringBody=xR;E.enumStringMember=AR;E.enumSymbolBody=SR;E.existsTypeAnnotation=FM;E.exportAllDeclaration=Vj;E.exportDefaultDeclaration=$j;E.exportDefaultSpecifier=zR;E.exportNamedDeclaration=Wj;E.exportNamespaceSpecifier=lM;E.exportSpecifier=Kj;E.expressionStatement=nj;E.file=sj;E.forInStatement=ij;E.forOfStatement=Hj;E.forStatement=aj;E.functionDeclaration=oj;E.functionExpression=lj;E.functionTypeAnnotation=LM;E.functionTypeParam=jM;E.genericTypeAnnotation=MM;E.identifier=uj;E.ifStatement=cj;E.import=oM;E.importAttribute=gM;E.importDeclaration=Gj;E.importDefaultSpecifier=Xj;E.importExpression=zj;E.importNamespaceSpecifier=Yj;E.importSpecifier=Jj;E.indexedAccessType=DR;E.inferredPredicate=RM;E.interfaceDeclaration=UM;E.interfaceExtends=qM;E.interfaceTypeAnnotation=VM;E.interpreterDirective=K6;E.intersectionTypeAnnotation=$M;E.jSXAttribute=E.jsxAttribute=IR;E.jSXClosingElement=E.jsxClosingElement=_R;E.jSXClosingFragment=E.jsxClosingFragment=$R;E.jSXElement=E.jsxElement=NR;E.jSXEmptyExpression=E.jsxEmptyExpression=OR;E.jSXExpressionContainer=E.jsxExpressionContainer=BR;E.jSXFragment=E.jsxFragment=UR;E.jSXIdentifier=E.jsxIdentifier=FR;E.jSXMemberExpression=E.jsxMemberExpression=LR;E.jSXNamespacedName=E.jsxNamespacedName=jR;E.jSXOpeningElement=E.jsxOpeningElement=MR;E.jSXOpeningFragment=E.jsxOpeningFragment=VR;E.jSXSpreadAttribute=E.jsxSpreadAttribute=RR;E.jSXSpreadChild=E.jsxSpreadChild=kR;E.jSXText=E.jsxText=qR;E.labeledStatement=pj;E.logicalExpression=mj;E.memberExpression=yj;E.metaProperty=Qj;E.mixedTypeAnnotation=WM;E.moduleExpression=t5;E.newExpression=gj;E.noop=WR;E.nullLiteral=dj;E.nullLiteralTypeAnnotation=SM;E.nullableTypeAnnotation=HM;E.numberLiteral=T7;E.numberLiteralTypeAnnotation=GM;E.numberTypeAnnotation=XM;E.numericLiteral=QT;E.objectExpression=Ej;E.objectMethod=Tj;E.objectPattern=eM;E.objectProperty=xj;E.objectTypeAnnotation=YM;E.objectTypeCallProperty=zM;E.objectTypeIndexer=QM;E.objectTypeInternalSlot=JM;E.objectTypeProperty=ZM;E.objectTypeSpreadProperty=eR;E.opaqueType=tR;E.optionalCallExpression=cM;E.optionalIndexedAccessType=wR;E.optionalMemberExpression=uM;E.parenthesizedExpression=Pj;E.pipelineBareFunction=s5;E.pipelinePrimaryTopicReference=i5;E.pipelineTopicExpression=n5;E.placeholder=KR;E.privateName=mM;E.program=bj;E.qualifiedTypeIdentifier=rR;E.recordExpression=QR;E.regExpLiteral=ZT;E.regexLiteral=x7;E.restElement=ex;E.restProperty=S7;E.returnStatement=Sj;E.sequenceExpression=vj;E.spreadElement=tx;E.spreadProperty=v7;E.staticBlock=yM;E.stringLiteral=fj;E.stringLiteralTypeAnnotation=nR;E.stringTypeAnnotation=sR;E.super=tM;E.switchCase=Aj;E.switchStatement=Cj;E.symbolTypeAnnotation=iR;E.taggedTemplateExpression=rM;E.templateElement=nM;E.templateLiteral=sM;E.thisExpression=Dj;E.thisTypeAnnotation=aR;E.throwStatement=wj;E.topicReference=r5;E.tryStatement=Ij;E.tSAnyKeyword=E.tsAnyKeyword=y5;E.tSArrayType=E.tsArrayType=L5;E.tSAsExpression=E.tsAsExpression=r7;E.tSBigIntKeyword=E.tsBigIntKeyword=b5;E.tSBooleanKeyword=E.tsBooleanKeyword=g5;E.tSCallSignatureDeclaration=E.tsCallSignatureDeclaration=p5;E.tSConditionalType=E.tsConditionalType=$5;E.tSConstructSignatureDeclaration=E.tsConstructSignatureDeclaration=f5;E.tSConstructorType=E.tsConstructorType=N5;E.tSDeclareFunction=E.tsDeclareFunction=l5;E.tSDeclareMethod=E.tsDeclareMethod=u5;E.tSEnumBody=E.tsEnumBody=i7;E.tSEnumDeclaration=E.tsEnumDeclaration=a7;E.tSEnumMember=E.tsEnumMember=o7;E.tSExportAssignment=E.tsExportAssignment=h7;E.tSExpressionWithTypeArguments=E.tsExpressionWithTypeArguments=z5;E.tSExternalModuleReference=E.tsExternalModuleReference=f7;E.tSFunctionType=E.tsFunctionType=_5;E.tSImportEqualsDeclaration=E.tsImportEqualsDeclaration=p7;E.tSImportType=E.tsImportType=c7;E.tSIndexSignature=E.tsIndexSignature=m5;E.tSIndexedAccessType=E.tsIndexedAccessType=G5;E.tSInferType=E.tsInferType=W5;E.tSInstantiationExpression=E.tsInstantiationExpression=t7;E.tSInterfaceBody=E.tsInterfaceBody=Z5;E.tSInterfaceDeclaration=E.tsInterfaceDeclaration=Q5;E.tSIntersectionType=E.tsIntersectionType=V5;E.tSIntrinsicKeyword=E.tsIntrinsicKeyword=E5;E.tSLiteralType=E.tsLiteralType=J5;E.tSMappedType=E.tsMappedType=X5;E.tSMethodSignature=E.tsMethodSignature=h5;E.tSModuleBlock=E.tsModuleBlock=u7;E.tSModuleDeclaration=E.tsModuleDeclaration=l7;E.tSNamedTupleMember=E.tsNamedTupleMember=q5;E.tSNamespaceExportDeclaration=E.tsNamespaceExportDeclaration=m7;E.tSNeverKeyword=E.tsNeverKeyword=T5;E.tSNonNullExpression=E.tsNonNullExpression=d7;E.tSNullKeyword=E.tsNullKeyword=x5;E.tSNumberKeyword=E.tsNumberKeyword=S5;E.tSObjectKeyword=E.tsObjectKeyword=v5;E.tSOptionalType=E.tsOptionalType=M5;E.tSParameterProperty=E.tsParameterProperty=o5;E.tSParenthesizedType=E.tsParenthesizedType=K5;E.tSPropertySignature=E.tsPropertySignature=d5;E.tSQualifiedName=E.tsQualifiedName=c5;E.tSRestType=E.tsRestType=R5;E.tSSatisfiesExpression=E.tsSatisfiesExpression=n7;E.tSStringKeyword=E.tsStringKeyword=P5;E.tSSymbolKeyword=E.tsSymbolKeyword=A5;E.tSTemplateLiteralType=E.tsTemplateLiteralType=Y5;E.tSThisType=E.tsThisType=I5;E.tSTupleType=E.tsTupleType=j5;E.tSTypeAliasDeclaration=E.tsTypeAliasDeclaration=e7;E.tSTypeAnnotation=E.tsTypeAnnotation=y7;E.tSTypeAssertion=E.tsTypeAssertion=s7;E.tSTypeLiteral=E.tsTypeLiteral=F5;E.tSTypeOperator=E.tsTypeOperator=H5;E.tSTypeParameter=E.tsTypeParameter=E7;E.tSTypeParameterDeclaration=E.tsTypeParameterDeclaration=b7;E.tSTypeParameterInstantiation=E.tsTypeParameterInstantiation=g7;E.tSTypePredicate=E.tsTypePredicate=B5;E.tSTypeQuery=E.tsTypeQuery=k5;E.tSTypeReference=E.tsTypeReference=O5;E.tSUndefinedKeyword=E.tsUndefinedKeyword=C5;E.tSUnionType=E.tsUnionType=U5;E.tSUnknownKeyword=E.tsUnknownKeyword=D5;E.tSVoidKeyword=E.tsVoidKeyword=w5;E.tupleExpression=ZR;E.tupleTypeAnnotation=oR;E.typeAlias=uR;E.typeAnnotation=cR;E.typeCastExpression=pR;E.typeParameter=fR;E.typeParameterDeclaration=dR;E.typeParameterInstantiation=hR;E.typeofTypeAnnotation=lR;E.unaryExpression=_j;E.unionTypeAnnotation=mR;E.updateExpression=Nj;E.v8IntrinsicIdentifier=HR;E.variableDeclaration=Oj;E.variableDeclarator=Bj;E.variance=yR;E.voidPattern=a5;E.voidTypeAnnotation=gR;E.whileStatement=kj;E.withStatement=Fj;E.yieldExpression=iM;var R6=lu(),du=na(),q6=qn(),{validateInternal:y}=R6,{NODE_FIELDS:B}=q6;function U6(e){typeof e=="bigint"&&(e=e.toString());let t={type:"BigIntLiteral",value:e},r=B.BigIntLiteral;return y(r.value,t,"value",e),t}function V6(e=[]){let t={type:"ArrayExpression",elements:e},r=B.ArrayExpression;return y(r.elements,t,"elements",e,1),t}function $6(e,t,r){let n={type:"AssignmentExpression",operator:e,left:t,right:r},s=B.AssignmentExpression;return y(s.operator,n,"operator",e),y(s.left,n,"left",t,1),y(s.right,n,"right",r,1),n}function W6(e,t,r){let n={type:"BinaryExpression",operator:e,left:t,right:r},s=B.BinaryExpression;return y(s.operator,n,"operator",e),y(s.left,n,"left",t,1),y(s.right,n,"right",r,1),n}function K6(e){let t={type:"InterpreterDirective",value:e},r=B.InterpreterDirective;return y(r.value,t,"value",e),t}function H6(e){let t={type:"Directive",value:e},r=B.Directive;return y(r.value,t,"value",e,1),t}function G6(e){let t={type:"DirectiveLiteral",value:e},r=B.DirectiveLiteral;return y(r.value,t,"value",e),t}function X6(e,t=[]){let r={type:"BlockStatement",body:e,directives:t},n=B.BlockStatement;return y(n.body,r,"body",e,1),y(n.directives,r,"directives",t,1),r}function Y6(e=null){let t={type:"BreakStatement",label:e},r=B.BreakStatement;return y(r.label,t,"label",e,1),t}function J6(e,t){let r={type:"CallExpression",callee:e,arguments:t},n=B.CallExpression;return y(n.callee,r,"callee",e,1),y(n.arguments,r,"arguments",t,1),r}function z6(e=null,t){let r={type:"CatchClause",param:e,body:t},n=B.CatchClause;return y(n.param,r,"param",e,1),y(n.body,r,"body",t,1),r}function Q6(e,t,r){let n={type:"ConditionalExpression",test:e,consequent:t,alternate:r},s=B.ConditionalExpression;return y(s.test,n,"test",e,1),y(s.consequent,n,"consequent",t,1),y(s.alternate,n,"alternate",r,1),n}function Z6(e=null){let t={type:"ContinueStatement",label:e},r=B.ContinueStatement;return y(r.label,t,"label",e,1),t}function ej(){return{type:"DebuggerStatement"}}function tj(e,t){let r={type:"DoWhileStatement",test:e,body:t},n=B.DoWhileStatement;return y(n.test,r,"test",e,1),y(n.body,r,"body",t,1),r}function rj(){return{type:"EmptyStatement"}}function nj(e){let t={type:"ExpressionStatement",expression:e},r=B.ExpressionStatement;return y(r.expression,t,"expression",e,1),t}function sj(e,t=null,r=null){let n={type:"File",program:e,comments:t,tokens:r},s=B.File;return y(s.program,n,"program",e,1),y(s.comments,n,"comments",t,1),y(s.tokens,n,"tokens",r),n}function ij(e,t,r){let n={type:"ForInStatement",left:e,right:t,body:r},s=B.ForInStatement;return y(s.left,n,"left",e,1),y(s.right,n,"right",t,1),y(s.body,n,"body",r,1),n}function aj(e=null,t=null,r=null,n){let s={type:"ForStatement",init:e,test:t,update:r,body:n},i=B.ForStatement;return y(i.init,s,"init",e,1),y(i.test,s,"test",t,1),y(i.update,s,"update",r,1),y(i.body,s,"body",n,1),s}function oj(e=null,t,r,n=!1,s=!1){let i={type:"FunctionDeclaration",id:e,params:t,body:r,generator:n,async:s},a=B.FunctionDeclaration;return y(a.id,i,"id",e,1),y(a.params,i,"params",t,1),y(a.body,i,"body",r,1),y(a.generator,i,"generator",n),y(a.async,i,"async",s),i}function lj(e=null,t,r,n=!1,s=!1){let i={type:"FunctionExpression",id:e,params:t,body:r,generator:n,async:s},a=B.FunctionExpression;return y(a.id,i,"id",e,1),y(a.params,i,"params",t,1),y(a.body,i,"body",r,1),y(a.generator,i,"generator",n),y(a.async,i,"async",s),i}function uj(e){let t={type:"Identifier",name:e},r=B.Identifier;return y(r.name,t,"name",e),t}function cj(e,t,r=null){let n={type:"IfStatement",test:e,consequent:t,alternate:r},s=B.IfStatement;return y(s.test,n,"test",e,1),y(s.consequent,n,"consequent",t,1),y(s.alternate,n,"alternate",r,1),n}function pj(e,t){let r={type:"LabeledStatement",label:e,body:t},n=B.LabeledStatement;return y(n.label,r,"label",e,1),y(n.body,r,"body",t,1),r}function fj(e){let t={type:"StringLiteral",value:e},r=B.StringLiteral;return y(r.value,t,"value",e),t}function QT(e){let t={type:"NumericLiteral",value:e},r=B.NumericLiteral;return y(r.value,t,"value",e),t}function dj(){return{type:"NullLiteral"}}function hj(e){let t={type:"BooleanLiteral",value:e},r=B.BooleanLiteral;return y(r.value,t,"value",e),t}function ZT(e,t=""){let r={type:"RegExpLiteral",pattern:e,flags:t},n=B.RegExpLiteral;return y(n.pattern,r,"pattern",e),y(n.flags,r,"flags",t),r}function mj(e,t,r){let n={type:"LogicalExpression",operator:e,left:t,right:r},s=B.LogicalExpression;return y(s.operator,n,"operator",e),y(s.left,n,"left",t,1),y(s.right,n,"right",r,1),n}function yj(e,t,r=!1,n=null){let s={type:"MemberExpression",object:e,property:t,computed:r,optional:n},i=B.MemberExpression;return y(i.object,s,"object",e,1),y(i.property,s,"property",t,1),y(i.computed,s,"computed",r),y(i.optional,s,"optional",n),s}function gj(e,t){let r={type:"NewExpression",callee:e,arguments:t},n=B.NewExpression;return y(n.callee,r,"callee",e,1),y(n.arguments,r,"arguments",t,1),r}function bj(e,t=[],r="script",n=null){let s={type:"Program",body:e,directives:t,sourceType:r,interpreter:n},i=B.Program;return y(i.body,s,"body",e,1),y(i.directives,s,"directives",t,1),y(i.sourceType,s,"sourceType",r),y(i.interpreter,s,"interpreter",n,1),s}function Ej(e){let t={type:"ObjectExpression",properties:e},r=B.ObjectExpression;return y(r.properties,t,"properties",e,1),t}function Tj(e="method",t,r,n,s=!1,i=!1,a=!1){let o={type:"ObjectMethod",kind:e,key:t,params:r,body:n,computed:s,generator:i,async:a},l=B.ObjectMethod;return y(l.kind,o,"kind",e),y(l.key,o,"key",t,1),y(l.params,o,"params",r,1),y(l.body,o,"body",n,1),y(l.computed,o,"computed",s),y(l.generator,o,"generator",i),y(l.async,o,"async",a),o}function xj(e,t,r=!1,n=!1,s=null){let i={type:"ObjectProperty",key:e,value:t,computed:r,shorthand:n,decorators:s},a=B.ObjectProperty;return y(a.key,i,"key",e,1),y(a.value,i,"value",t,1),y(a.computed,i,"computed",r),y(a.shorthand,i,"shorthand",n),y(a.decorators,i,"decorators",s,1),i}function ex(e){let t={type:"RestElement",argument:e},r=B.RestElement;return y(r.argument,t,"argument",e,1),t}function Sj(e=null){let t={type:"ReturnStatement",argument:e},r=B.ReturnStatement;return y(r.argument,t,"argument",e,1),t}function vj(e){let t={type:"SequenceExpression",expressions:e},r=B.SequenceExpression;return y(r.expressions,t,"expressions",e,1),t}function Pj(e){let t={type:"ParenthesizedExpression",expression:e},r=B.ParenthesizedExpression;return y(r.expression,t,"expression",e,1),t}function Aj(e=null,t){let r={type:"SwitchCase",test:e,consequent:t},n=B.SwitchCase;return y(n.test,r,"test",e,1),y(n.consequent,r,"consequent",t,1),r}function Cj(e,t){let r={type:"SwitchStatement",discriminant:e,cases:t},n=B.SwitchStatement;return y(n.discriminant,r,"discriminant",e,1),y(n.cases,r,"cases",t,1),r}function Dj(){return{type:"ThisExpression"}}function wj(e){let t={type:"ThrowStatement",argument:e},r=B.ThrowStatement;return y(r.argument,t,"argument",e,1),t}function Ij(e,t=null,r=null){let n={type:"TryStatement",block:e,handler:t,finalizer:r},s=B.TryStatement;return y(s.block,n,"block",e,1),y(s.handler,n,"handler",t,1),y(s.finalizer,n,"finalizer",r,1),n}function _j(e,t,r=!0){let n={type:"UnaryExpression",operator:e,argument:t,prefix:r},s=B.UnaryExpression;return y(s.operator,n,"operator",e),y(s.argument,n,"argument",t,1),y(s.prefix,n,"prefix",r),n}function Nj(e,t,r=!1){let n={type:"UpdateExpression",operator:e,argument:t,prefix:r},s=B.UpdateExpression;return y(s.operator,n,"operator",e),y(s.argument,n,"argument",t,1),y(s.prefix,n,"prefix",r),n}function Oj(e,t){let r={type:"VariableDeclaration",kind:e,declarations:t},n=B.VariableDeclaration;return y(n.kind,r,"kind",e),y(n.declarations,r,"declarations",t,1),r}function Bj(e,t=null){let r={type:"VariableDeclarator",id:e,init:t},n=B.VariableDeclarator;return y(n.id,r,"id",e,1),y(n.init,r,"init",t,1),r}function kj(e,t){let r={type:"WhileStatement",test:e,body:t},n=B.WhileStatement;return y(n.test,r,"test",e,1),y(n.body,r,"body",t,1),r}function Fj(e,t){let r={type:"WithStatement",object:e,body:t},n=B.WithStatement;return y(n.object,r,"object",e,1),y(n.body,r,"body",t,1),r}function Lj(e,t){let r={type:"AssignmentPattern",left:e,right:t},n=B.AssignmentPattern;return y(n.left,r,"left",e,1),y(n.right,r,"right",t,1),r}function jj(e){let t={type:"ArrayPattern",elements:e},r=B.ArrayPattern;return y(r.elements,t,"elements",e,1),t}function Mj(e,t,r=!1){let n={type:"ArrowFunctionExpression",params:e,body:t,async:r,expression:null},s=B.ArrowFunctionExpression;return y(s.params,n,"params",e,1),y(s.body,n,"body",t,1),y(s.async,n,"async",r),n}function Rj(e){let t={type:"ClassBody",body:e},r=B.ClassBody;return y(r.body,t,"body",e,1),t}function qj(e=null,t=null,r,n=null){let s={type:"ClassExpression",id:e,superClass:t,body:r,decorators:n},i=B.ClassExpression;return y(i.id,s,"id",e,1),y(i.superClass,s,"superClass",t,1),y(i.body,s,"body",r,1),y(i.decorators,s,"decorators",n,1),s}function Uj(e=null,t=null,r,n=null){let s={type:"ClassDeclaration",id:e,superClass:t,body:r,decorators:n},i=B.ClassDeclaration;return y(i.id,s,"id",e,1),y(i.superClass,s,"superClass",t,1),y(i.body,s,"body",r,1),y(i.decorators,s,"decorators",n,1),s}function Vj(e){let t={type:"ExportAllDeclaration",source:e},r=B.ExportAllDeclaration;return y(r.source,t,"source",e,1),t}function $j(e){let t={type:"ExportDefaultDeclaration",declaration:e},r=B.ExportDefaultDeclaration;return y(r.declaration,t,"declaration",e,1),t}function Wj(e=null,t=[],r=null){let n={type:"ExportNamedDeclaration",declaration:e,specifiers:t,source:r},s=B.ExportNamedDeclaration;return y(s.declaration,n,"declaration",e,1),y(s.specifiers,n,"specifiers",t,1),y(s.source,n,"source",r,1),n}function Kj(e,t){let r={type:"ExportSpecifier",local:e,exported:t},n=B.ExportSpecifier;return y(n.local,r,"local",e,1),y(n.exported,r,"exported",t,1),r}function Hj(e,t,r,n=!1){let s={type:"ForOfStatement",left:e,right:t,body:r,await:n},i=B.ForOfStatement;return y(i.left,s,"left",e,1),y(i.right,s,"right",t,1),y(i.body,s,"body",r,1),y(i.await,s,"await",n),s}function Gj(e,t){let r={type:"ImportDeclaration",specifiers:e,source:t},n=B.ImportDeclaration;return y(n.specifiers,r,"specifiers",e,1),y(n.source,r,"source",t,1),r}function Xj(e){let t={type:"ImportDefaultSpecifier",local:e},r=B.ImportDefaultSpecifier;return y(r.local,t,"local",e,1),t}function Yj(e){let t={type:"ImportNamespaceSpecifier",local:e},r=B.ImportNamespaceSpecifier;return y(r.local,t,"local",e,1),t}function Jj(e,t){let r={type:"ImportSpecifier",local:e,imported:t},n=B.ImportSpecifier;return y(n.local,r,"local",e,1),y(n.imported,r,"imported",t,1),r}function zj(e,t=null){let r={type:"ImportExpression",source:e,options:t},n=B.ImportExpression;return y(n.source,r,"source",e,1),y(n.options,r,"options",t,1),r}function Qj(e,t){let r={type:"MetaProperty",meta:e,property:t},n=B.MetaProperty;return y(n.meta,r,"meta",e,1),y(n.property,r,"property",t,1),r}function Zj(e="method",t,r,n,s=!1,i=!1,a=!1,o=!1){let l={type:"ClassMethod",kind:e,key:t,params:r,body:n,computed:s,static:i,generator:a,async:o},u=B.ClassMethod;return y(u.kind,l,"kind",e),y(u.key,l,"key",t,1),y(u.params,l,"params",r,1),y(u.body,l,"body",n,1),y(u.computed,l,"computed",s),y(u.static,l,"static",i),y(u.generator,l,"generator",a),y(u.async,l,"async",o),l}function eM(e){let t={type:"ObjectPattern",properties:e},r=B.ObjectPattern;return y(r.properties,t,"properties",e,1),t}function tx(e){let t={type:"SpreadElement",argument:e},r=B.SpreadElement;return y(r.argument,t,"argument",e,1),t}function tM(){return{type:"Super"}}function rM(e,t){let r={type:"TaggedTemplateExpression",tag:e,quasi:t},n=B.TaggedTemplateExpression;return y(n.tag,r,"tag",e,1),y(n.quasi,r,"quasi",t,1),r}function nM(e,t=!1){let r={type:"TemplateElement",value:e,tail:t},n=B.TemplateElement;return y(n.value,r,"value",e),y(n.tail,r,"tail",t),r}function sM(e,t){let r={type:"TemplateLiteral",quasis:e,expressions:t},n=B.TemplateLiteral;return y(n.quasis,r,"quasis",e,1),y(n.expressions,r,"expressions",t,1),r}function iM(e=null,t=!1){let r={type:"YieldExpression",argument:e,delegate:t},n=B.YieldExpression;return y(n.argument,r,"argument",e,1),y(n.delegate,r,"delegate",t),r}function aM(e){let t={type:"AwaitExpression",argument:e},r=B.AwaitExpression;return y(r.argument,t,"argument",e,1),t}function oM(){return{type:"Import"}}function lM(e){let t={type:"ExportNamespaceSpecifier",exported:e},r=B.ExportNamespaceSpecifier;return y(r.exported,t,"exported",e,1),t}function uM(e,t,r=!1,n){let s={type:"OptionalMemberExpression",object:e,property:t,computed:r,optional:n},i=B.OptionalMemberExpression;return y(i.object,s,"object",e,1),y(i.property,s,"property",t,1),y(i.computed,s,"computed",r),y(i.optional,s,"optional",n),s}function cM(e,t,r){let n={type:"OptionalCallExpression",callee:e,arguments:t,optional:r},s=B.OptionalCallExpression;return y(s.callee,n,"callee",e,1),y(s.arguments,n,"arguments",t,1),y(s.optional,n,"optional",r),n}function pM(e,t=null,r=null,n=null,s=!1,i=!1){let a={type:"ClassProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:s,static:i},o=B.ClassProperty;return y(o.key,a,"key",e,1),y(o.value,a,"value",t,1),y(o.typeAnnotation,a,"typeAnnotation",r,1),y(o.decorators,a,"decorators",n,1),y(o.computed,a,"computed",s),y(o.static,a,"static",i),a}function fM(e,t=null,r=null,n=null,s=!1,i=!1){let a={type:"ClassAccessorProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:s,static:i},o=B.ClassAccessorProperty;return y(o.key,a,"key",e,1),y(o.value,a,"value",t,1),y(o.typeAnnotation,a,"typeAnnotation",r,1),y(o.decorators,a,"decorators",n,1),y(o.computed,a,"computed",s),y(o.static,a,"static",i),a}function dM(e,t=null,r=null,n=!1){let s={type:"ClassPrivateProperty",key:e,value:t,decorators:r,static:n},i=B.ClassPrivateProperty;return y(i.key,s,"key",e,1),y(i.value,s,"value",t,1),y(i.decorators,s,"decorators",r,1),y(i.static,s,"static",n),s}function hM(e="method",t,r,n,s=!1){let i={type:"ClassPrivateMethod",kind:e,key:t,params:r,body:n,static:s},a=B.ClassPrivateMethod;return y(a.kind,i,"kind",e),y(a.key,i,"key",t,1),y(a.params,i,"params",r,1),y(a.body,i,"body",n,1),y(a.static,i,"static",s),i}function mM(e){let t={type:"PrivateName",id:e},r=B.PrivateName;return y(r.id,t,"id",e,1),t}function yM(e){let t={type:"StaticBlock",body:e},r=B.StaticBlock;return y(r.body,t,"body",e,1),t}function gM(e,t){let r={type:"ImportAttribute",key:e,value:t},n=B.ImportAttribute;return y(n.key,r,"key",e,1),y(n.value,r,"value",t,1),r}function bM(){return{type:"AnyTypeAnnotation"}}function EM(e){let t={type:"ArrayTypeAnnotation",elementType:e},r=B.ArrayTypeAnnotation;return y(r.elementType,t,"elementType",e,1),t}function TM(){return{type:"BooleanTypeAnnotation"}}function xM(e){let t={type:"BooleanLiteralTypeAnnotation",value:e},r=B.BooleanLiteralTypeAnnotation;return y(r.value,t,"value",e),t}function SM(){return{type:"NullLiteralTypeAnnotation"}}function vM(e,t=null){let r={type:"ClassImplements",id:e,typeParameters:t},n=B.ClassImplements;return y(n.id,r,"id",e,1),y(n.typeParameters,r,"typeParameters",t,1),r}function PM(e,t=null,r=null,n){let s={type:"DeclareClass",id:e,typeParameters:t,extends:r,body:n},i=B.DeclareClass;return y(i.id,s,"id",e,1),y(i.typeParameters,s,"typeParameters",t,1),y(i.extends,s,"extends",r,1),y(i.body,s,"body",n,1),s}function AM(e){let t={type:"DeclareFunction",id:e},r=B.DeclareFunction;return y(r.id,t,"id",e,1),t}function CM(e,t=null,r=null,n){let s={type:"DeclareInterface",id:e,typeParameters:t,extends:r,body:n},i=B.DeclareInterface;return y(i.id,s,"id",e,1),y(i.typeParameters,s,"typeParameters",t,1),y(i.extends,s,"extends",r,1),y(i.body,s,"body",n,1),s}function DM(e,t,r=null){let n={type:"DeclareModule",id:e,body:t,kind:r},s=B.DeclareModule;return y(s.id,n,"id",e,1),y(s.body,n,"body",t,1),y(s.kind,n,"kind",r),n}function wM(e){let t={type:"DeclareModuleExports",typeAnnotation:e},r=B.DeclareModuleExports;return y(r.typeAnnotation,t,"typeAnnotation",e,1),t}function IM(e,t=null,r){let n={type:"DeclareTypeAlias",id:e,typeParameters:t,right:r},s=B.DeclareTypeAlias;return y(s.id,n,"id",e,1),y(s.typeParameters,n,"typeParameters",t,1),y(s.right,n,"right",r,1),n}function _M(e,t=null,r=null){let n={type:"DeclareOpaqueType",id:e,typeParameters:t,supertype:r},s=B.DeclareOpaqueType;return y(s.id,n,"id",e,1),y(s.typeParameters,n,"typeParameters",t,1),y(s.supertype,n,"supertype",r,1),n}function NM(e){let t={type:"DeclareVariable",id:e},r=B.DeclareVariable;return y(r.id,t,"id",e,1),t}function OM(e=null,t=null,r=null,n=null){let s={type:"DeclareExportDeclaration",declaration:e,specifiers:t,source:r,attributes:n},i=B.DeclareExportDeclaration;return y(i.declaration,s,"declaration",e,1),y(i.specifiers,s,"specifiers",t,1),y(i.source,s,"source",r,1),y(i.attributes,s,"attributes",n,1),s}function BM(e,t=null){let r={type:"DeclareExportAllDeclaration",source:e,attributes:t},n=B.DeclareExportAllDeclaration;return y(n.source,r,"source",e,1),y(n.attributes,r,"attributes",t,1),r}function kM(e){let t={type:"DeclaredPredicate",value:e},r=B.DeclaredPredicate;return y(r.value,t,"value",e,1),t}function FM(){return{type:"ExistsTypeAnnotation"}}function LM(e=null,t,r=null,n){let s={type:"FunctionTypeAnnotation",typeParameters:e,params:t,rest:r,returnType:n},i=B.FunctionTypeAnnotation;return y(i.typeParameters,s,"typeParameters",e,1),y(i.params,s,"params",t,1),y(i.rest,s,"rest",r,1),y(i.returnType,s,"returnType",n,1),s}function jM(e=null,t){let r={type:"FunctionTypeParam",name:e,typeAnnotation:t},n=B.FunctionTypeParam;return y(n.name,r,"name",e,1),y(n.typeAnnotation,r,"typeAnnotation",t,1),r}function MM(e,t=null){let r={type:"GenericTypeAnnotation",id:e,typeParameters:t},n=B.GenericTypeAnnotation;return y(n.id,r,"id",e,1),y(n.typeParameters,r,"typeParameters",t,1),r}function RM(){return{type:"InferredPredicate"}}function qM(e,t=null){let r={type:"InterfaceExtends",id:e,typeParameters:t},n=B.InterfaceExtends;return y(n.id,r,"id",e,1),y(n.typeParameters,r,"typeParameters",t,1),r}function UM(e,t=null,r=null,n){let s={type:"InterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n},i=B.InterfaceDeclaration;return y(i.id,s,"id",e,1),y(i.typeParameters,s,"typeParameters",t,1),y(i.extends,s,"extends",r,1),y(i.body,s,"body",n,1),s}function VM(e=null,t){let r={type:"InterfaceTypeAnnotation",extends:e,body:t},n=B.InterfaceTypeAnnotation;return y(n.extends,r,"extends",e,1),y(n.body,r,"body",t,1),r}function $M(e){let t={type:"IntersectionTypeAnnotation",types:e},r=B.IntersectionTypeAnnotation;return y(r.types,t,"types",e,1),t}function WM(){return{type:"MixedTypeAnnotation"}}function KM(){return{type:"EmptyTypeAnnotation"}}function HM(e){let t={type:"NullableTypeAnnotation",typeAnnotation:e},r=B.NullableTypeAnnotation;return y(r.typeAnnotation,t,"typeAnnotation",e,1),t}function GM(e){let t={type:"NumberLiteralTypeAnnotation",value:e},r=B.NumberLiteralTypeAnnotation;return y(r.value,t,"value",e),t}function XM(){return{type:"NumberTypeAnnotation"}}function YM(e,t=[],r=[],n=[],s=!1){let i={type:"ObjectTypeAnnotation",properties:e,indexers:t,callProperties:r,internalSlots:n,exact:s},a=B.ObjectTypeAnnotation;return y(a.properties,i,"properties",e,1),y(a.indexers,i,"indexers",t,1),y(a.callProperties,i,"callProperties",r,1),y(a.internalSlots,i,"internalSlots",n,1),y(a.exact,i,"exact",s),i}function JM(e,t,r,n,s){let i={type:"ObjectTypeInternalSlot",id:e,value:t,optional:r,static:n,method:s},a=B.ObjectTypeInternalSlot;return y(a.id,i,"id",e,1),y(a.value,i,"value",t,1),y(a.optional,i,"optional",r),y(a.static,i,"static",n),y(a.method,i,"method",s),i}function zM(e){let t={type:"ObjectTypeCallProperty",value:e,static:null},r=B.ObjectTypeCallProperty;return y(r.value,t,"value",e,1),t}function QM(e=null,t,r,n=null){let s={type:"ObjectTypeIndexer",id:e,key:t,value:r,variance:n,static:null},i=B.ObjectTypeIndexer;return y(i.id,s,"id",e,1),y(i.key,s,"key",t,1),y(i.value,s,"value",r,1),y(i.variance,s,"variance",n,1),s}function ZM(e,t,r=null){let n={type:"ObjectTypeProperty",key:e,value:t,variance:r,kind:null,method:null,optional:null,proto:null,static:null},s=B.ObjectTypeProperty;return y(s.key,n,"key",e,1),y(s.value,n,"value",t,1),y(s.variance,n,"variance",r,1),n}function eR(e){let t={type:"ObjectTypeSpreadProperty",argument:e},r=B.ObjectTypeSpreadProperty;return y(r.argument,t,"argument",e,1),t}function tR(e,t=null,r=null,n){let s={type:"OpaqueType",id:e,typeParameters:t,supertype:r,impltype:n},i=B.OpaqueType;return y(i.id,s,"id",e,1),y(i.typeParameters,s,"typeParameters",t,1),y(i.supertype,s,"supertype",r,1),y(i.impltype,s,"impltype",n,1),s}function rR(e,t){let r={type:"QualifiedTypeIdentifier",id:e,qualification:t},n=B.QualifiedTypeIdentifier;return y(n.id,r,"id",e,1),y(n.qualification,r,"qualification",t,1),r}function nR(e){let t={type:"StringLiteralTypeAnnotation",value:e},r=B.StringLiteralTypeAnnotation;return y(r.value,t,"value",e),t}function sR(){return{type:"StringTypeAnnotation"}}function iR(){return{type:"SymbolTypeAnnotation"}}function aR(){return{type:"ThisTypeAnnotation"}}function oR(e){let t={type:"TupleTypeAnnotation",types:e},r=B.TupleTypeAnnotation;return y(r.types,t,"types",e,1),t}function lR(e){let t={type:"TypeofTypeAnnotation",argument:e},r=B.TypeofTypeAnnotation;return y(r.argument,t,"argument",e,1),t}function uR(e,t=null,r){let n={type:"TypeAlias",id:e,typeParameters:t,right:r},s=B.TypeAlias;return y(s.id,n,"id",e,1),y(s.typeParameters,n,"typeParameters",t,1),y(s.right,n,"right",r,1),n}function cR(e){let t={type:"TypeAnnotation",typeAnnotation:e},r=B.TypeAnnotation;return y(r.typeAnnotation,t,"typeAnnotation",e,1),t}function pR(e,t){let r={type:"TypeCastExpression",expression:e,typeAnnotation:t},n=B.TypeCastExpression;return y(n.expression,r,"expression",e,1),y(n.typeAnnotation,r,"typeAnnotation",t,1),r}function fR(e=null,t=null,r=null){let n={type:"TypeParameter",bound:e,default:t,variance:r,name:null},s=B.TypeParameter;return y(s.bound,n,"bound",e,1),y(s.default,n,"default",t,1),y(s.variance,n,"variance",r,1),n}function dR(e){let t={type:"TypeParameterDeclaration",params:e},r=B.TypeParameterDeclaration;return y(r.params,t,"params",e,1),t}function hR(e){let t={type:"TypeParameterInstantiation",params:e},r=B.TypeParameterInstantiation;return y(r.params,t,"params",e,1),t}function mR(e){let t={type:"UnionTypeAnnotation",types:e},r=B.UnionTypeAnnotation;return y(r.types,t,"types",e,1),t}function yR(e){let t={type:"Variance",kind:e},r=B.Variance;return y(r.kind,t,"kind",e),t}function gR(){return{type:"VoidTypeAnnotation"}}function bR(e,t){let r={type:"EnumDeclaration",id:e,body:t},n=B.EnumDeclaration;return y(n.id,r,"id",e,1),y(n.body,r,"body",t,1),r}function ER(e){let t={type:"EnumBooleanBody",members:e,explicitType:null,hasUnknownMembers:null},r=B.EnumBooleanBody;return y(r.members,t,"members",e,1),t}function TR(e){let t={type:"EnumNumberBody",members:e,explicitType:null,hasUnknownMembers:null},r=B.EnumNumberBody;return y(r.members,t,"members",e,1),t}function xR(e){let t={type:"EnumStringBody",members:e,explicitType:null,hasUnknownMembers:null},r=B.EnumStringBody;return y(r.members,t,"members",e,1),t}function SR(e){let t={type:"EnumSymbolBody",members:e,hasUnknownMembers:null},r=B.EnumSymbolBody;return y(r.members,t,"members",e,1),t}function vR(e){let t={type:"EnumBooleanMember",id:e,init:null},r=B.EnumBooleanMember;return y(r.id,t,"id",e,1),t}function PR(e,t){let r={type:"EnumNumberMember",id:e,init:t},n=B.EnumNumberMember;return y(n.id,r,"id",e,1),y(n.init,r,"init",t,1),r}function AR(e,t){let r={type:"EnumStringMember",id:e,init:t},n=B.EnumStringMember;return y(n.id,r,"id",e,1),y(n.init,r,"init",t,1),r}function CR(e){let t={type:"EnumDefaultedMember",id:e},r=B.EnumDefaultedMember;return y(r.id,t,"id",e,1),t}function DR(e,t){let r={type:"IndexedAccessType",objectType:e,indexType:t},n=B.IndexedAccessType;return y(n.objectType,r,"objectType",e,1),y(n.indexType,r,"indexType",t,1),r}function wR(e,t){let r={type:"OptionalIndexedAccessType",objectType:e,indexType:t,optional:null},n=B.OptionalIndexedAccessType;return y(n.objectType,r,"objectType",e,1),y(n.indexType,r,"indexType",t,1),r}function IR(e,t=null){let r={type:"JSXAttribute",name:e,value:t},n=B.JSXAttribute;return y(n.name,r,"name",e,1),y(n.value,r,"value",t,1),r}function _R(e){let t={type:"JSXClosingElement",name:e},r=B.JSXClosingElement;return y(r.name,t,"name",e,1),t}function NR(e,t=null,r,n=null){let s={type:"JSXElement",openingElement:e,closingElement:t,children:r,selfClosing:n},i=B.JSXElement;return y(i.openingElement,s,"openingElement",e,1),y(i.closingElement,s,"closingElement",t,1),y(i.children,s,"children",r,1),y(i.selfClosing,s,"selfClosing",n),s}function OR(){return{type:"JSXEmptyExpression"}}function BR(e){let t={type:"JSXExpressionContainer",expression:e},r=B.JSXExpressionContainer;return y(r.expression,t,"expression",e,1),t}function kR(e){let t={type:"JSXSpreadChild",expression:e},r=B.JSXSpreadChild;return y(r.expression,t,"expression",e,1),t}function FR(e){let t={type:"JSXIdentifier",name:e},r=B.JSXIdentifier;return y(r.name,t,"name",e),t}function LR(e,t){let r={type:"JSXMemberExpression",object:e,property:t},n=B.JSXMemberExpression;return y(n.object,r,"object",e,1),y(n.property,r,"property",t,1),r}function jR(e,t){let r={type:"JSXNamespacedName",namespace:e,name:t},n=B.JSXNamespacedName;return y(n.namespace,r,"namespace",e,1),y(n.name,r,"name",t,1),r}function MR(e,t,r=!1){let n={type:"JSXOpeningElement",name:e,attributes:t,selfClosing:r},s=B.JSXOpeningElement;return y(s.name,n,"name",e,1),y(s.attributes,n,"attributes",t,1),y(s.selfClosing,n,"selfClosing",r),n}function RR(e){let t={type:"JSXSpreadAttribute",argument:e},r=B.JSXSpreadAttribute;return y(r.argument,t,"argument",e,1),t}function qR(e){let t={type:"JSXText",value:e},r=B.JSXText;return y(r.value,t,"value",e),t}function UR(e,t,r){let n={type:"JSXFragment",openingFragment:e,closingFragment:t,children:r},s=B.JSXFragment;return y(s.openingFragment,n,"openingFragment",e,1),y(s.closingFragment,n,"closingFragment",t,1),y(s.children,n,"children",r,1),n}function VR(){return{type:"JSXOpeningFragment"}}function $R(){return{type:"JSXClosingFragment"}}function WR(){return{type:"Noop"}}function KR(e,t){let r={type:"Placeholder",expectedNode:e,name:t},n=B.Placeholder;return y(n.expectedNode,r,"expectedNode",e),y(n.name,r,"name",t,1),r}function HR(e){let t={type:"V8IntrinsicIdentifier",name:e},r=B.V8IntrinsicIdentifier;return y(r.name,t,"name",e),t}function GR(){return{type:"ArgumentPlaceholder"}}function XR(e,t){let r={type:"BindExpression",object:e,callee:t},n=B.BindExpression;return y(n.object,r,"object",e,1),y(n.callee,r,"callee",t,1),r}function YR(e){let t={type:"Decorator",expression:e},r=B.Decorator;return y(r.expression,t,"expression",e,1),t}function JR(e,t=!1){let r={type:"DoExpression",body:e,async:t},n=B.DoExpression;return y(n.body,r,"body",e,1),y(n.async,r,"async",t),r}function zR(e){let t={type:"ExportDefaultSpecifier",exported:e},r=B.ExportDefaultSpecifier;return y(r.exported,t,"exported",e,1),t}function QR(e){let t={type:"RecordExpression",properties:e},r=B.RecordExpression;return y(r.properties,t,"properties",e,1),t}function ZR(e=[]){let t={type:"TupleExpression",elements:e},r=B.TupleExpression;return y(r.elements,t,"elements",e,1),t}function e5(e){let t={type:"DecimalLiteral",value:e},r=B.DecimalLiteral;return y(r.value,t,"value",e),t}function t5(e){let t={type:"ModuleExpression",body:e},r=B.ModuleExpression;return y(r.body,t,"body",e,1),t}function r5(){return{type:"TopicReference"}}function n5(e){let t={type:"PipelineTopicExpression",expression:e},r=B.PipelineTopicExpression;return y(r.expression,t,"expression",e,1),t}function s5(e){let t={type:"PipelineBareFunction",callee:e},r=B.PipelineBareFunction;return y(r.callee,t,"callee",e,1),t}function i5(){return{type:"PipelinePrimaryTopicReference"}}function a5(){return{type:"VoidPattern"}}function o5(e){let t={type:"TSParameterProperty",parameter:e},r=B.TSParameterProperty;return y(r.parameter,t,"parameter",e,1),t}function l5(e=null,t=null,r,n=null){let s={type:"TSDeclareFunction",id:e,typeParameters:t,params:r,returnType:n},i=B.TSDeclareFunction;return y(i.id,s,"id",e,1),y(i.typeParameters,s,"typeParameters",t,1),y(i.params,s,"params",r,1),y(i.returnType,s,"returnType",n,1),s}function u5(e=null,t,r=null,n,s=null){let i={type:"TSDeclareMethod",decorators:e,key:t,typeParameters:r,params:n,returnType:s},a=B.TSDeclareMethod;return y(a.decorators,i,"decorators",e,1),y(a.key,i,"key",t,1),y(a.typeParameters,i,"typeParameters",r,1),y(a.params,i,"params",n,1),y(a.returnType,i,"returnType",s,1),i}function c5(e,t){let r={type:"TSQualifiedName",left:e,right:t},n=B.TSQualifiedName;return y(n.left,r,"left",e,1),y(n.right,r,"right",t,1),r}function p5(e=null,t,r=null){let n={type:"TSCallSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r},s=B.TSCallSignatureDeclaration;return y(s.typeParameters,n,"typeParameters",e,1),y(s.parameters,n,"parameters",t,1),y(s.typeAnnotation,n,"typeAnnotation",r,1),n}function f5(e=null,t,r=null){let n={type:"TSConstructSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r},s=B.TSConstructSignatureDeclaration;return y(s.typeParameters,n,"typeParameters",e,1),y(s.parameters,n,"parameters",t,1),y(s.typeAnnotation,n,"typeAnnotation",r,1),n}function d5(e,t=null){let r={type:"TSPropertySignature",key:e,typeAnnotation:t},n=B.TSPropertySignature;return y(n.key,r,"key",e,1),y(n.typeAnnotation,r,"typeAnnotation",t,1),r}function h5(e,t=null,r,n=null){let s={type:"TSMethodSignature",key:e,typeParameters:t,parameters:r,typeAnnotation:n,kind:null},i=B.TSMethodSignature;return y(i.key,s,"key",e,1),y(i.typeParameters,s,"typeParameters",t,1),y(i.parameters,s,"parameters",r,1),y(i.typeAnnotation,s,"typeAnnotation",n,1),s}function m5(e,t=null){let r={type:"TSIndexSignature",parameters:e,typeAnnotation:t},n=B.TSIndexSignature;return y(n.parameters,r,"parameters",e,1),y(n.typeAnnotation,r,"typeAnnotation",t,1),r}function y5(){return{type:"TSAnyKeyword"}}function g5(){return{type:"TSBooleanKeyword"}}function b5(){return{type:"TSBigIntKeyword"}}function E5(){return{type:"TSIntrinsicKeyword"}}function T5(){return{type:"TSNeverKeyword"}}function x5(){return{type:"TSNullKeyword"}}function S5(){return{type:"TSNumberKeyword"}}function v5(){return{type:"TSObjectKeyword"}}function P5(){return{type:"TSStringKeyword"}}function A5(){return{type:"TSSymbolKeyword"}}function C5(){return{type:"TSUndefinedKeyword"}}function D5(){return{type:"TSUnknownKeyword"}}function w5(){return{type:"TSVoidKeyword"}}function I5(){return{type:"TSThisType"}}function _5(e=null,t,r=null){let n={type:"TSFunctionType",typeParameters:e,parameters:t,typeAnnotation:r},s=B.TSFunctionType;return y(s.typeParameters,n,"typeParameters",e,1),y(s.parameters,n,"parameters",t,1),y(s.typeAnnotation,n,"typeAnnotation",r,1),n}function N5(e=null,t,r=null){let n={type:"TSConstructorType",typeParameters:e,parameters:t,typeAnnotation:r},s=B.TSConstructorType;return y(s.typeParameters,n,"typeParameters",e,1),y(s.parameters,n,"parameters",t,1),y(s.typeAnnotation,n,"typeAnnotation",r,1),n}function O5(e,t=null){let r={type:"TSTypeReference",typeName:e,typeParameters:t},n=B.TSTypeReference;return y(n.typeName,r,"typeName",e,1),y(n.typeParameters,r,"typeParameters",t,1),r}function B5(e,t=null,r=null){let n={type:"TSTypePredicate",parameterName:e,typeAnnotation:t,asserts:r},s=B.TSTypePredicate;return y(s.parameterName,n,"parameterName",e,1),y(s.typeAnnotation,n,"typeAnnotation",t,1),y(s.asserts,n,"asserts",r),n}function k5(e,t=null){let r={type:"TSTypeQuery",exprName:e,typeParameters:t},n=B.TSTypeQuery;return y(n.exprName,r,"exprName",e,1),y(n.typeParameters,r,"typeParameters",t,1),r}function F5(e){let t={type:"TSTypeLiteral",members:e},r=B.TSTypeLiteral;return y(r.members,t,"members",e,1),t}function L5(e){let t={type:"TSArrayType",elementType:e},r=B.TSArrayType;return y(r.elementType,t,"elementType",e,1),t}function j5(e){let t={type:"TSTupleType",elementTypes:e},r=B.TSTupleType;return y(r.elementTypes,t,"elementTypes",e,1),t}function M5(e){let t={type:"TSOptionalType",typeAnnotation:e},r=B.TSOptionalType;return y(r.typeAnnotation,t,"typeAnnotation",e,1),t}function R5(e){let t={type:"TSRestType",typeAnnotation:e},r=B.TSRestType;return y(r.typeAnnotation,t,"typeAnnotation",e,1),t}function q5(e,t,r=!1){let n={type:"TSNamedTupleMember",label:e,elementType:t,optional:r},s=B.TSNamedTupleMember;return y(s.label,n,"label",e,1),y(s.elementType,n,"elementType",t,1),y(s.optional,n,"optional",r),n}function U5(e){let t={type:"TSUnionType",types:e},r=B.TSUnionType;return y(r.types,t,"types",e,1),t}function V5(e){let t={type:"TSIntersectionType",types:e},r=B.TSIntersectionType;return y(r.types,t,"types",e,1),t}function $5(e,t,r,n){let s={type:"TSConditionalType",checkType:e,extendsType:t,trueType:r,falseType:n},i=B.TSConditionalType;return y(i.checkType,s,"checkType",e,1),y(i.extendsType,s,"extendsType",t,1),y(i.trueType,s,"trueType",r,1),y(i.falseType,s,"falseType",n,1),s}function W5(e){let t={type:"TSInferType",typeParameter:e},r=B.TSInferType;return y(r.typeParameter,t,"typeParameter",e,1),t}function K5(e){let t={type:"TSParenthesizedType",typeAnnotation:e},r=B.TSParenthesizedType;return y(r.typeAnnotation,t,"typeAnnotation",e,1),t}function H5(e,t="keyof"){let r={type:"TSTypeOperator",typeAnnotation:e,operator:t},n=B.TSTypeOperator;return y(n.typeAnnotation,r,"typeAnnotation",e,1),y(n.operator,r,"operator",t),r}function G5(e,t){let r={type:"TSIndexedAccessType",objectType:e,indexType:t},n=B.TSIndexedAccessType;return y(n.objectType,r,"objectType",e,1),y(n.indexType,r,"indexType",t,1),r}function X5(e,t=null,r=null){let n={type:"TSMappedType",typeParameter:e,typeAnnotation:t,nameType:r},s=B.TSMappedType;return y(s.typeParameter,n,"typeParameter",e,1),y(s.typeAnnotation,n,"typeAnnotation",t,1),y(s.nameType,n,"nameType",r,1),n}function Y5(e,t){let r={type:"TSTemplateLiteralType",quasis:e,types:t},n=B.TSTemplateLiteralType;return y(n.quasis,r,"quasis",e,1),y(n.types,r,"types",t,1),r}function J5(e){let t={type:"TSLiteralType",literal:e},r=B.TSLiteralType;return y(r.literal,t,"literal",e,1),t}function z5(e,t=null){let r={type:"TSExpressionWithTypeArguments",expression:e,typeParameters:t},n=B.TSExpressionWithTypeArguments;return y(n.expression,r,"expression",e,1),y(n.typeParameters,r,"typeParameters",t,1),r}function Q5(e,t=null,r=null,n){let s={type:"TSInterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n},i=B.TSInterfaceDeclaration;return y(i.id,s,"id",e,1),y(i.typeParameters,s,"typeParameters",t,1),y(i.extends,s,"extends",r,1),y(i.body,s,"body",n,1),s}function Z5(e){let t={type:"TSInterfaceBody",body:e},r=B.TSInterfaceBody;return y(r.body,t,"body",e,1),t}function e7(e,t=null,r){let n={type:"TSTypeAliasDeclaration",id:e,typeParameters:t,typeAnnotation:r},s=B.TSTypeAliasDeclaration;return y(s.id,n,"id",e,1),y(s.typeParameters,n,"typeParameters",t,1),y(s.typeAnnotation,n,"typeAnnotation",r,1),n}function t7(e,t=null){let r={type:"TSInstantiationExpression",expression:e,typeParameters:t},n=B.TSInstantiationExpression;return y(n.expression,r,"expression",e,1),y(n.typeParameters,r,"typeParameters",t,1),r}function r7(e,t){let r={type:"TSAsExpression",expression:e,typeAnnotation:t},n=B.TSAsExpression;return y(n.expression,r,"expression",e,1),y(n.typeAnnotation,r,"typeAnnotation",t,1),r}function n7(e,t){let r={type:"TSSatisfiesExpression",expression:e,typeAnnotation:t},n=B.TSSatisfiesExpression;return y(n.expression,r,"expression",e,1),y(n.typeAnnotation,r,"typeAnnotation",t,1),r}function s7(e,t){let r={type:"TSTypeAssertion",typeAnnotation:e,expression:t},n=B.TSTypeAssertion;return y(n.typeAnnotation,r,"typeAnnotation",e,1),y(n.expression,r,"expression",t,1),r}function i7(e){let t={type:"TSEnumBody",members:e},r=B.TSEnumBody;return y(r.members,t,"members",e,1),t}function a7(e,t){let r={type:"TSEnumDeclaration",id:e,members:t},n=B.TSEnumDeclaration;return y(n.id,r,"id",e,1),y(n.members,r,"members",t,1),r}function o7(e,t=null){let r={type:"TSEnumMember",id:e,initializer:t},n=B.TSEnumMember;return y(n.id,r,"id",e,1),y(n.initializer,r,"initializer",t,1),r}function l7(e,t){let r={type:"TSModuleDeclaration",id:e,body:t,kind:null},n=B.TSModuleDeclaration;return y(n.id,r,"id",e,1),y(n.body,r,"body",t,1),r}function u7(e){let t={type:"TSModuleBlock",body:e},r=B.TSModuleBlock;return y(r.body,t,"body",e,1),t}function c7(e,t=null,r=null){let n={type:"TSImportType",argument:e,qualifier:t,typeParameters:r},s=B.TSImportType;return y(s.argument,n,"argument",e,1),y(s.qualifier,n,"qualifier",t,1),y(s.typeParameters,n,"typeParameters",r,1),n}function p7(e,t){let r={type:"TSImportEqualsDeclaration",id:e,moduleReference:t,isExport:null},n=B.TSImportEqualsDeclaration;return y(n.id,r,"id",e,1),y(n.moduleReference,r,"moduleReference",t,1),r}function f7(e){let t={type:"TSExternalModuleReference",expression:e},r=B.TSExternalModuleReference;return y(r.expression,t,"expression",e,1),t}function d7(e){let t={type:"TSNonNullExpression",expression:e},r=B.TSNonNullExpression;return y(r.expression,t,"expression",e,1),t}function h7(e){let t={type:"TSExportAssignment",expression:e},r=B.TSExportAssignment;return y(r.expression,t,"expression",e,1),t}function m7(e){let t={type:"TSNamespaceExportDeclaration",id:e},r=B.TSNamespaceExportDeclaration;return y(r.id,t,"id",e,1),t}function y7(e){let t={type:"TSTypeAnnotation",typeAnnotation:e},r=B.TSTypeAnnotation;return y(r.typeAnnotation,t,"typeAnnotation",e,1),t}function g7(e){let t={type:"TSTypeParameterInstantiation",params:e},r=B.TSTypeParameterInstantiation;return y(r.params,t,"params",e,1),t}function b7(e){let t={type:"TSTypeParameterDeclaration",params:e},r=B.TSTypeParameterDeclaration;return y(r.params,t,"params",e,1),t}function E7(e=null,t=null,r){let n={type:"TSTypeParameter",constraint:e,default:t,name:r},s=B.TSTypeParameter;return y(s.constraint,n,"constraint",e,1),y(s.default,n,"default",t,1),y(s.name,n,"name",r),n}function T7(e){return(0,du.default)("NumberLiteral","NumericLiteral","The node type "),QT(e)}function x7(e,t=""){return(0,du.default)("RegexLiteral","RegExpLiteral","The node type "),ZT(e,t)}function S7(e){return(0,du.default)("RestProperty","RestElement","The node type "),ex(e)}function v7(e){return(0,du.default)("SpreadProperty","SpreadElement","The node type "),tx(e)}});var rx=x(h=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0});h.JSXIdentifier=h.JSXFragment=h.JSXExpressionContainer=h.JSXEmptyExpression=h.JSXElement=h.JSXClosingFragment=h.JSXClosingElement=h.JSXAttribute=h.IntersectionTypeAnnotation=h.InterpreterDirective=h.InterfaceTypeAnnotation=h.InterfaceExtends=h.InterfaceDeclaration=h.InferredPredicate=h.IndexedAccessType=h.ImportSpecifier=h.ImportNamespaceSpecifier=h.ImportExpression=h.ImportDefaultSpecifier=h.ImportDeclaration=h.ImportAttribute=h.Import=h.IfStatement=h.Identifier=h.GenericTypeAnnotation=h.FunctionTypeParam=h.FunctionTypeAnnotation=h.FunctionExpression=h.FunctionDeclaration=h.ForStatement=h.ForOfStatement=h.ForInStatement=h.File=h.ExpressionStatement=h.ExportSpecifier=h.ExportNamespaceSpecifier=h.ExportNamedDeclaration=h.ExportDefaultSpecifier=h.ExportDefaultDeclaration=h.ExportAllDeclaration=h.ExistsTypeAnnotation=h.EnumSymbolBody=h.EnumStringMember=h.EnumStringBody=h.EnumNumberMember=h.EnumNumberBody=h.EnumDefaultedMember=h.EnumDeclaration=h.EnumBooleanMember=h.EnumBooleanBody=h.EmptyTypeAnnotation=h.EmptyStatement=h.DoWhileStatement=h.DoExpression=h.DirectiveLiteral=h.Directive=h.Decorator=h.DeclaredPredicate=h.DeclareVariable=h.DeclareTypeAlias=h.DeclareOpaqueType=h.DeclareModuleExports=h.DeclareModule=h.DeclareInterface=h.DeclareFunction=h.DeclareExportDeclaration=h.DeclareExportAllDeclaration=h.DeclareClass=h.DecimalLiteral=h.DebuggerStatement=h.ContinueStatement=h.ConditionalExpression=h.ClassProperty=h.ClassPrivateProperty=h.ClassPrivateMethod=h.ClassMethod=h.ClassImplements=h.ClassExpression=h.ClassDeclaration=h.ClassBody=h.ClassAccessorProperty=h.CatchClause=h.CallExpression=h.BreakStatement=h.BooleanTypeAnnotation=h.BooleanLiteralTypeAnnotation=h.BooleanLiteral=h.BlockStatement=h.BindExpression=h.BinaryExpression=h.BigIntLiteral=h.AwaitExpression=h.AssignmentPattern=h.AssignmentExpression=h.ArrowFunctionExpression=h.ArrayTypeAnnotation=h.ArrayPattern=h.ArrayExpression=h.ArgumentPlaceholder=h.AnyTypeAnnotation=void 0;h.TSNumberKeyword=h.TSNullKeyword=h.TSNonNullExpression=h.TSNeverKeyword=h.TSNamespaceExportDeclaration=h.TSNamedTupleMember=h.TSModuleDeclaration=h.TSModuleBlock=h.TSMethodSignature=h.TSMappedType=h.TSLiteralType=h.TSIntrinsicKeyword=h.TSIntersectionType=h.TSInterfaceDeclaration=h.TSInterfaceBody=h.TSInstantiationExpression=h.TSInferType=h.TSIndexedAccessType=h.TSIndexSignature=h.TSImportType=h.TSImportEqualsDeclaration=h.TSFunctionType=h.TSExternalModuleReference=h.TSExpressionWithTypeArguments=h.TSExportAssignment=h.TSEnumMember=h.TSEnumDeclaration=h.TSEnumBody=h.TSDeclareMethod=h.TSDeclareFunction=h.TSConstructorType=h.TSConstructSignatureDeclaration=h.TSConditionalType=h.TSCallSignatureDeclaration=h.TSBooleanKeyword=h.TSBigIntKeyword=h.TSAsExpression=h.TSArrayType=h.TSAnyKeyword=h.SymbolTypeAnnotation=h.SwitchStatement=h.SwitchCase=h.Super=h.StringTypeAnnotation=h.StringLiteralTypeAnnotation=h.StringLiteral=h.StaticBlock=h.SpreadProperty=h.SpreadElement=h.SequenceExpression=h.ReturnStatement=h.RestProperty=h.RestElement=h.RegexLiteral=h.RegExpLiteral=h.RecordExpression=h.QualifiedTypeIdentifier=h.Program=h.PrivateName=h.Placeholder=h.PipelineTopicExpression=h.PipelinePrimaryTopicReference=h.PipelineBareFunction=h.ParenthesizedExpression=h.OptionalMemberExpression=h.OptionalIndexedAccessType=h.OptionalCallExpression=h.OpaqueType=h.ObjectTypeSpreadProperty=h.ObjectTypeProperty=h.ObjectTypeInternalSlot=h.ObjectTypeIndexer=h.ObjectTypeCallProperty=h.ObjectTypeAnnotation=h.ObjectProperty=h.ObjectPattern=h.ObjectMethod=h.ObjectExpression=h.NumericLiteral=h.NumberTypeAnnotation=h.NumberLiteralTypeAnnotation=h.NumberLiteral=h.NullableTypeAnnotation=h.NullLiteralTypeAnnotation=h.NullLiteral=h.Noop=h.NewExpression=h.ModuleExpression=h.MixedTypeAnnotation=h.MetaProperty=h.MemberExpression=h.LogicalExpression=h.LabeledStatement=h.JSXText=h.JSXSpreadChild=h.JSXSpreadAttribute=h.JSXOpeningFragment=h.JSXOpeningElement=h.JSXNamespacedName=h.JSXMemberExpression=void 0;h.YieldExpression=h.WithStatement=h.WhileStatement=h.VoidTypeAnnotation=h.VoidPattern=h.Variance=h.VariableDeclarator=h.VariableDeclaration=h.V8IntrinsicIdentifier=h.UpdateExpression=h.UnionTypeAnnotation=h.UnaryExpression=h.TypeofTypeAnnotation=h.TypeParameterInstantiation=h.TypeParameterDeclaration=h.TypeParameter=h.TypeCastExpression=h.TypeAnnotation=h.TypeAlias=h.TupleTypeAnnotation=h.TupleExpression=h.TryStatement=h.TopicReference=h.ThrowStatement=h.ThisTypeAnnotation=h.ThisExpression=h.TemplateLiteral=h.TemplateElement=h.TaggedTemplateExpression=h.TSVoidKeyword=h.TSUnknownKeyword=h.TSUnionType=h.TSUndefinedKeyword=h.TSTypeReference=h.TSTypeQuery=h.TSTypePredicate=h.TSTypeParameterInstantiation=h.TSTypeParameterDeclaration=h.TSTypeParameter=h.TSTypeOperator=h.TSTypeLiteral=h.TSTypeAssertion=h.TSTypeAnnotation=h.TSTypeAliasDeclaration=h.TSTupleType=h.TSThisType=h.TSTemplateLiteralType=h.TSSymbolKeyword=h.TSStringKeyword=h.TSSatisfiesExpression=h.TSRestType=h.TSQualifiedName=h.TSPropertySignature=h.TSParenthesizedType=h.TSParameterProperty=h.TSOptionalType=h.TSObjectKeyword=void 0;var So=Rd(),TSe=na();function _(e){return So[e]}var xSe=h.ArrayExpression=_("arrayExpression"),SSe=h.AssignmentExpression=_("assignmentExpression"),vSe=h.BinaryExpression=_("binaryExpression"),PSe=h.InterpreterDirective=_("interpreterDirective"),ASe=h.Directive=_("directive"),CSe=h.DirectiveLiteral=_("directiveLiteral"),DSe=h.BlockStatement=_("blockStatement"),wSe=h.BreakStatement=_("breakStatement"),ISe=h.CallExpression=_("callExpression"),_Se=h.CatchClause=_("catchClause"),NSe=h.ConditionalExpression=_("conditionalExpression"),OSe=h.ContinueStatement=_("continueStatement"),BSe=h.DebuggerStatement=_("debuggerStatement"),kSe=h.DoWhileStatement=_("doWhileStatement"),FSe=h.EmptyStatement=_("emptyStatement"),LSe=h.ExpressionStatement=_("expressionStatement"),jSe=h.File=_("file"),MSe=h.ForInStatement=_("forInStatement"),RSe=h.ForStatement=_("forStatement"),qSe=h.FunctionDeclaration=_("functionDeclaration"),USe=h.FunctionExpression=_("functionExpression"),VSe=h.Identifier=_("identifier"),$Se=h.IfStatement=_("ifStatement"),WSe=h.LabeledStatement=_("labeledStatement"),KSe=h.StringLiteral=_("stringLiteral"),HSe=h.NumericLiteral=_("numericLiteral"),GSe=h.NullLiteral=_("nullLiteral"),XSe=h.BooleanLiteral=_("booleanLiteral"),YSe=h.RegExpLiteral=_("regExpLiteral"),JSe=h.LogicalExpression=_("logicalExpression"),zSe=h.MemberExpression=_("memberExpression"),QSe=h.NewExpression=_("newExpression"),ZSe=h.Program=_("program"),eve=h.ObjectExpression=_("objectExpression"),tve=h.ObjectMethod=_("objectMethod"),rve=h.ObjectProperty=_("objectProperty"),nve=h.RestElement=_("restElement"),sve=h.ReturnStatement=_("returnStatement"),ive=h.SequenceExpression=_("sequenceExpression"),ave=h.ParenthesizedExpression=_("parenthesizedExpression"),ove=h.SwitchCase=_("switchCase"),lve=h.SwitchStatement=_("switchStatement"),uve=h.ThisExpression=_("thisExpression"),cve=h.ThrowStatement=_("throwStatement"),pve=h.TryStatement=_("tryStatement"),fve=h.UnaryExpression=_("unaryExpression"),dve=h.UpdateExpression=_("updateExpression"),hve=h.VariableDeclaration=_("variableDeclaration"),mve=h.VariableDeclarator=_("variableDeclarator"),yve=h.WhileStatement=_("whileStatement"),gve=h.WithStatement=_("withStatement"),bve=h.AssignmentPattern=_("assignmentPattern"),Eve=h.ArrayPattern=_("arrayPattern"),Tve=h.ArrowFunctionExpression=_("arrowFunctionExpression"),xve=h.ClassBody=_("classBody"),Sve=h.ClassExpression=_("classExpression"),vve=h.ClassDeclaration=_("classDeclaration"),Pve=h.ExportAllDeclaration=_("exportAllDeclaration"),Ave=h.ExportDefaultDeclaration=_("exportDefaultDeclaration"),Cve=h.ExportNamedDeclaration=_("exportNamedDeclaration"),Dve=h.ExportSpecifier=_("exportSpecifier"),wve=h.ForOfStatement=_("forOfStatement"),Ive=h.ImportDeclaration=_("importDeclaration"),_ve=h.ImportDefaultSpecifier=_("importDefaultSpecifier"),Nve=h.ImportNamespaceSpecifier=_("importNamespaceSpecifier"),Ove=h.ImportSpecifier=_("importSpecifier"),Bve=h.ImportExpression=_("importExpression"),kve=h.MetaProperty=_("metaProperty"),Fve=h.ClassMethod=_("classMethod"),Lve=h.ObjectPattern=_("objectPattern"),jve=h.SpreadElement=_("spreadElement"),Mve=h.Super=_("super"),Rve=h.TaggedTemplateExpression=_("taggedTemplateExpression"),qve=h.TemplateElement=_("templateElement"),Uve=h.TemplateLiteral=_("templateLiteral"),Vve=h.YieldExpression=_("yieldExpression"),$ve=h.AwaitExpression=_("awaitExpression"),Wve=h.Import=_("import"),Kve=h.BigIntLiteral=_("bigIntLiteral"),Hve=h.ExportNamespaceSpecifier=_("exportNamespaceSpecifier"),Gve=h.OptionalMemberExpression=_("optionalMemberExpression"),Xve=h.OptionalCallExpression=_("optionalCallExpression"),Yve=h.ClassProperty=_("classProperty"),Jve=h.ClassAccessorProperty=_("classAccessorProperty"),zve=h.ClassPrivateProperty=_("classPrivateProperty"),Qve=h.ClassPrivateMethod=_("classPrivateMethod"),Zve=h.PrivateName=_("privateName"),ePe=h.StaticBlock=_("staticBlock"),tPe=h.ImportAttribute=_("importAttribute"),rPe=h.AnyTypeAnnotation=_("anyTypeAnnotation"),nPe=h.ArrayTypeAnnotation=_("arrayTypeAnnotation"),sPe=h.BooleanTypeAnnotation=_("booleanTypeAnnotation"),iPe=h.BooleanLiteralTypeAnnotation=_("booleanLiteralTypeAnnotation"),aPe=h.NullLiteralTypeAnnotation=_("nullLiteralTypeAnnotation"),oPe=h.ClassImplements=_("classImplements"),lPe=h.DeclareClass=_("declareClass"),uPe=h.DeclareFunction=_("declareFunction"),cPe=h.DeclareInterface=_("declareInterface"),pPe=h.DeclareModule=_("declareModule"),fPe=h.DeclareModuleExports=_("declareModuleExports"),dPe=h.DeclareTypeAlias=_("declareTypeAlias"),hPe=h.DeclareOpaqueType=_("declareOpaqueType"),mPe=h.DeclareVariable=_("declareVariable"),yPe=h.DeclareExportDeclaration=_("declareExportDeclaration"),gPe=h.DeclareExportAllDeclaration=_("declareExportAllDeclaration"),bPe=h.DeclaredPredicate=_("declaredPredicate"),EPe=h.ExistsTypeAnnotation=_("existsTypeAnnotation"),TPe=h.FunctionTypeAnnotation=_("functionTypeAnnotation"),xPe=h.FunctionTypeParam=_("functionTypeParam"),SPe=h.GenericTypeAnnotation=_("genericTypeAnnotation"),vPe=h.InferredPredicate=_("inferredPredicate"),PPe=h.InterfaceExtends=_("interfaceExtends"),APe=h.InterfaceDeclaration=_("interfaceDeclaration"),CPe=h.InterfaceTypeAnnotation=_("interfaceTypeAnnotation"),DPe=h.IntersectionTypeAnnotation=_("intersectionTypeAnnotation"),wPe=h.MixedTypeAnnotation=_("mixedTypeAnnotation"),IPe=h.EmptyTypeAnnotation=_("emptyTypeAnnotation"),_Pe=h.NullableTypeAnnotation=_("nullableTypeAnnotation"),NPe=h.NumberLiteralTypeAnnotation=_("numberLiteralTypeAnnotation"),OPe=h.NumberTypeAnnotation=_("numberTypeAnnotation"),BPe=h.ObjectTypeAnnotation=_("objectTypeAnnotation"),kPe=h.ObjectTypeInternalSlot=_("objectTypeInternalSlot"),FPe=h.ObjectTypeCallProperty=_("objectTypeCallProperty"),LPe=h.ObjectTypeIndexer=_("objectTypeIndexer"),jPe=h.ObjectTypeProperty=_("objectTypeProperty"),MPe=h.ObjectTypeSpreadProperty=_("objectTypeSpreadProperty"),RPe=h.OpaqueType=_("opaqueType"),qPe=h.QualifiedTypeIdentifier=_("qualifiedTypeIdentifier"),UPe=h.StringLiteralTypeAnnotation=_("stringLiteralTypeAnnotation"),VPe=h.StringTypeAnnotation=_("stringTypeAnnotation"),$Pe=h.SymbolTypeAnnotation=_("symbolTypeAnnotation"),WPe=h.ThisTypeAnnotation=_("thisTypeAnnotation"),KPe=h.TupleTypeAnnotation=_("tupleTypeAnnotation"),HPe=h.TypeofTypeAnnotation=_("typeofTypeAnnotation"),GPe=h.TypeAlias=_("typeAlias"),XPe=h.TypeAnnotation=_("typeAnnotation"),YPe=h.TypeCastExpression=_("typeCastExpression"),JPe=h.TypeParameter=_("typeParameter"),zPe=h.TypeParameterDeclaration=_("typeParameterDeclaration"),QPe=h.TypeParameterInstantiation=_("typeParameterInstantiation"),ZPe=h.UnionTypeAnnotation=_("unionTypeAnnotation"),eAe=h.Variance=_("variance"),tAe=h.VoidTypeAnnotation=_("voidTypeAnnotation"),rAe=h.EnumDeclaration=_("enumDeclaration"),nAe=h.EnumBooleanBody=_("enumBooleanBody"),sAe=h.EnumNumberBody=_("enumNumberBody"),iAe=h.EnumStringBody=_("enumStringBody"),aAe=h.EnumSymbolBody=_("enumSymbolBody"),oAe=h.EnumBooleanMember=_("enumBooleanMember"),lAe=h.EnumNumberMember=_("enumNumberMember"),uAe=h.EnumStringMember=_("enumStringMember"),cAe=h.EnumDefaultedMember=_("enumDefaultedMember"),pAe=h.IndexedAccessType=_("indexedAccessType"),fAe=h.OptionalIndexedAccessType=_("optionalIndexedAccessType"),dAe=h.JSXAttribute=_("jsxAttribute"),hAe=h.JSXClosingElement=_("jsxClosingElement"),mAe=h.JSXElement=_("jsxElement"),yAe=h.JSXEmptyExpression=_("jsxEmptyExpression"),gAe=h.JSXExpressionContainer=_("jsxExpressionContainer"),bAe=h.JSXSpreadChild=_("jsxSpreadChild"),EAe=h.JSXIdentifier=_("jsxIdentifier"),TAe=h.JSXMemberExpression=_("jsxMemberExpression"),xAe=h.JSXNamespacedName=_("jsxNamespacedName"),SAe=h.JSXOpeningElement=_("jsxOpeningElement"),vAe=h.JSXSpreadAttribute=_("jsxSpreadAttribute"),PAe=h.JSXText=_("jsxText"),AAe=h.JSXFragment=_("jsxFragment"),CAe=h.JSXOpeningFragment=_("jsxOpeningFragment"),DAe=h.JSXClosingFragment=_("jsxClosingFragment"),wAe=h.Noop=_("noop"),IAe=h.Placeholder=_("placeholder"),_Ae=h.V8IntrinsicIdentifier=_("v8IntrinsicIdentifier"),NAe=h.ArgumentPlaceholder=_("argumentPlaceholder"),OAe=h.BindExpression=_("bindExpression"),BAe=h.Decorator=_("decorator"),kAe=h.DoExpression=_("doExpression"),FAe=h.ExportDefaultSpecifier=_("exportDefaultSpecifier"),LAe=h.RecordExpression=_("recordExpression"),jAe=h.TupleExpression=_("tupleExpression"),MAe=h.DecimalLiteral=_("decimalLiteral"),RAe=h.ModuleExpression=_("moduleExpression"),qAe=h.TopicReference=_("topicReference"),UAe=h.PipelineTopicExpression=_("pipelineTopicExpression"),VAe=h.PipelineBareFunction=_("pipelineBareFunction"),$Ae=h.PipelinePrimaryTopicReference=_("pipelinePrimaryTopicReference"),WAe=h.VoidPattern=_("voidPattern"),KAe=h.TSParameterProperty=_("tsParameterProperty"),HAe=h.TSDeclareFunction=_("tsDeclareFunction"),GAe=h.TSDeclareMethod=_("tsDeclareMethod"),XAe=h.TSQualifiedName=_("tsQualifiedName"),YAe=h.TSCallSignatureDeclaration=_("tsCallSignatureDeclaration"),JAe=h.TSConstructSignatureDeclaration=_("tsConstructSignatureDeclaration"),zAe=h.TSPropertySignature=_("tsPropertySignature"),QAe=h.TSMethodSignature=_("tsMethodSignature"),ZAe=h.TSIndexSignature=_("tsIndexSignature"),eCe=h.TSAnyKeyword=_("tsAnyKeyword"),tCe=h.TSBooleanKeyword=_("tsBooleanKeyword"),rCe=h.TSBigIntKeyword=_("tsBigIntKeyword"),nCe=h.TSIntrinsicKeyword=_("tsIntrinsicKeyword"),sCe=h.TSNeverKeyword=_("tsNeverKeyword"),iCe=h.TSNullKeyword=_("tsNullKeyword"),aCe=h.TSNumberKeyword=_("tsNumberKeyword"),oCe=h.TSObjectKeyword=_("tsObjectKeyword"),lCe=h.TSStringKeyword=_("tsStringKeyword"),uCe=h.TSSymbolKeyword=_("tsSymbolKeyword"),cCe=h.TSUndefinedKeyword=_("tsUndefinedKeyword"),pCe=h.TSUnknownKeyword=_("tsUnknownKeyword"),fCe=h.TSVoidKeyword=_("tsVoidKeyword"),dCe=h.TSThisType=_("tsThisType"),hCe=h.TSFunctionType=_("tsFunctionType"),mCe=h.TSConstructorType=_("tsConstructorType"),yCe=h.TSTypeReference=_("tsTypeReference"),gCe=h.TSTypePredicate=_("tsTypePredicate"),bCe=h.TSTypeQuery=_("tsTypeQuery"),ECe=h.TSTypeLiteral=_("tsTypeLiteral"),TCe=h.TSArrayType=_("tsArrayType"),xCe=h.TSTupleType=_("tsTupleType"),SCe=h.TSOptionalType=_("tsOptionalType"),vCe=h.TSRestType=_("tsRestType"),PCe=h.TSNamedTupleMember=_("tsNamedTupleMember"),ACe=h.TSUnionType=_("tsUnionType"),CCe=h.TSIntersectionType=_("tsIntersectionType"),DCe=h.TSConditionalType=_("tsConditionalType"),wCe=h.TSInferType=_("tsInferType"),ICe=h.TSParenthesizedType=_("tsParenthesizedType"),_Ce=h.TSTypeOperator=_("tsTypeOperator"),NCe=h.TSIndexedAccessType=_("tsIndexedAccessType"),OCe=h.TSMappedType=_("tsMappedType"),BCe=h.TSTemplateLiteralType=_("tsTemplateLiteralType"),kCe=h.TSLiteralType=_("tsLiteralType"),FCe=h.TSExpressionWithTypeArguments=_("tsExpressionWithTypeArguments"),LCe=h.TSInterfaceDeclaration=_("tsInterfaceDeclaration"),jCe=h.TSInterfaceBody=_("tsInterfaceBody"),MCe=h.TSTypeAliasDeclaration=_("tsTypeAliasDeclaration"),RCe=h.TSInstantiationExpression=_("tsInstantiationExpression"),qCe=h.TSAsExpression=_("tsAsExpression"),UCe=h.TSSatisfiesExpression=_("tsSatisfiesExpression"),VCe=h.TSTypeAssertion=_("tsTypeAssertion"),$Ce=h.TSEnumBody=_("tsEnumBody"),WCe=h.TSEnumDeclaration=_("tsEnumDeclaration"),KCe=h.TSEnumMember=_("tsEnumMember"),HCe=h.TSModuleDeclaration=_("tsModuleDeclaration"),GCe=h.TSModuleBlock=_("tsModuleBlock"),XCe=h.TSImportType=_("tsImportType"),YCe=h.TSImportEqualsDeclaration=_("tsImportEqualsDeclaration"),JCe=h.TSExternalModuleReference=_("tsExternalModuleReference"),zCe=h.TSNonNullExpression=_("tsNonNullExpression"),QCe=h.TSExportAssignment=_("tsExportAssignment"),ZCe=h.TSNamespaceExportDeclaration=_("tsNamespaceExportDeclaration"),e2e=h.TSTypeAnnotation=_("tsTypeAnnotation"),t2e=h.TSTypeParameterInstantiation=_("tsTypeParameterInstantiation"),r2e=h.TSTypeParameterDeclaration=_("tsTypeParameterDeclaration"),n2e=h.TSTypeParameter=_("tsTypeParameter"),s2e=h.NumberLiteral=So.numberLiteral,i2e=h.RegexLiteral=So.regexLiteral,a2e=h.RestProperty=So.restProperty,o2e=h.SpreadProperty=So.spreadProperty});var Kr=x(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});var qd=Rd();Object.keys(qd).forEach(function(e){e==="default"||e==="__esModule"||e in Os&&Os[e]===qd[e]||Object.defineProperty(Os,e,{enumerable:!0,get:function(){return qd[e]}})});var Ud=rx();Object.keys(Ud).forEach(function(e){e==="default"||e==="__esModule"||e in Os&&Os[e]===Ud[e]||Object.defineProperty(Os,e,{enumerable:!0,get:function(){return Ud[e]}})})});var nx=x(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});Vd.default=C7;var P7=Kr(),A7=Fe();function C7(e,t){let r=e.value.split(/\r\n|\n|\r/),n=0;for(let i=0;i<r.length;i++)/[^ \t]/.exec(r[i])&&(n=i);let s="";for(let i=0;i<r.length;i++){let a=r[i],o=i===0,l=i===r.length-1,u=i===n,c=a.replace(/\t/g," ");o||(c=c.replace(/^ +/,"")),l||(c=c.replace(/ +$/,"")),c&&(u||(c+=" "),s+=c)}s&&t.push((0,A7.inherits)((0,P7.stringLiteral)(s),e))}});var sx=x(Wd=>{"use strict";Object.defineProperty(Wd,"__esModule",{value:!0});Wd.default=w7;var $d=Wt(),D7=nx();function w7(e){let t=[];for(let r=0;r<e.children.length;r++){let n=e.children[r];if((0,$d.isJSXText)(n)){(0,D7.default)(n,t);continue}(0,$d.isJSXExpressionContainer)(n)&&(n=n.expression),!(0,$d.isJSXEmptyExpression)(n)&&t.push(n)}return t}});var Hd=x(Kd=>{"use strict";Object.defineProperty(Kd,"__esModule",{value:!0});Kd.default=_7;var I7=an();function _7(e){return!!(e&&I7.VISITOR_KEYS[e.type])}});var ix=x(Gd=>{"use strict";Object.defineProperty(Gd,"__esModule",{value:!0});Gd.default=O7;var N7=Hd();function O7(e){if(!(0,N7.default)(e)){var t;let r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}});var ax=x(v=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});v.assertAccessor=Q$;v.assertAnyTypeAnnotation=mq;v.assertArgumentPlaceholder=WU;v.assertArrayExpression=k7;v.assertArrayPattern=O9;v.assertArrayTypeAnnotation=yq;v.assertArrowFunctionExpression=B9;v.assertAssignmentExpression=F7;v.assertAssignmentPattern=N9;v.assertAwaitExpression=rq;v.assertBigIntLiteral=sq;v.assertBinary=E$;v.assertBinaryExpression=L7;v.assertBindExpression=KU;v.assertBlock=S$;v.assertBlockParent=x$;v.assertBlockStatement=q7;v.assertBooleanLiteral=o9;v.assertBooleanLiteralTypeAnnotation=bq;v.assertBooleanTypeAnnotation=gq;v.assertBreakStatement=U7;v.assertCallExpression=V7;v.assertCatchClause=$7;v.assertClass=X$;v.assertClassAccessorProperty=uq;v.assertClassBody=k9;v.assertClassDeclaration=L9;v.assertClassExpression=F9;v.assertClassImplements=Tq;v.assertClassMethod=X9;v.assertClassPrivateMethod=pq;v.assertClassPrivateProperty=cq;v.assertClassProperty=lq;v.assertCompletionStatement=A$;v.assertConditional=C$;v.assertConditionalExpression=W7;v.assertContinueStatement=K7;v.assertDebuggerStatement=H7;v.assertDecimalLiteral=zU;v.assertDeclaration=F$;v.assertDeclareClass=xq;v.assertDeclareExportAllDeclaration=_q;v.assertDeclareExportDeclaration=Iq;v.assertDeclareFunction=Sq;v.assertDeclareInterface=vq;v.assertDeclareModule=Pq;v.assertDeclareModuleExports=Aq;v.assertDeclareOpaqueType=Dq;v.assertDeclareTypeAlias=Cq;v.assertDeclareVariable=wq;v.assertDeclaredPredicate=Nq;v.assertDecorator=HU;v.assertDirective=M7;v.assertDirectiveLiteral=R7;v.assertDoExpression=GU;v.assertDoWhileStatement=G7;v.assertEmptyStatement=X7;v.assertEmptyTypeAnnotation=Vq;v.assertEnumBody=iW;v.assertEnumBooleanBody=yU;v.assertEnumBooleanMember=TU;v.assertEnumDeclaration=mU;v.assertEnumDefaultedMember=vU;v.assertEnumMember=aW;v.assertEnumNumberBody=gU;v.assertEnumNumberMember=xU;v.assertEnumStringBody=bU;v.assertEnumStringMember=SU;v.assertEnumSymbolBody=EU;v.assertExistsTypeAnnotation=Oq;v.assertExportAllDeclaration=j9;v.assertExportDeclaration=J$;v.assertExportDefaultDeclaration=M9;v.assertExportDefaultSpecifier=XU;v.assertExportNamedDeclaration=R9;v.assertExportNamespaceSpecifier=iq;v.assertExportSpecifier=q9;v.assertExpression=b$;v.assertExpressionStatement=Y7;v.assertExpressionWrapper=I$;v.assertFile=J7;v.assertFlow=eW;v.assertFlowBaseAnnotation=rW;v.assertFlowDeclaration=nW;v.assertFlowPredicate=sW;v.assertFlowType=tW;v.assertFor=_$;v.assertForInStatement=z7;v.assertForOfStatement=U9;v.assertForStatement=Q7;v.assertForXStatement=N$;v.assertFunction=O$;v.assertFunctionDeclaration=Z7;v.assertFunctionExpression=e9;v.assertFunctionParameter=L$;v.assertFunctionParent=B$;v.assertFunctionTypeAnnotation=Bq;v.assertFunctionTypeParam=kq;v.assertGenericTypeAnnotation=Fq;v.assertIdentifier=t9;v.assertIfStatement=r9;v.assertImmutable=U$;v.assertImport=nq;v.assertImportAttribute=hq;v.assertImportDeclaration=V9;v.assertImportDefaultSpecifier=$9;v.assertImportExpression=H9;v.assertImportNamespaceSpecifier=W9;v.assertImportOrExportDeclaration=Y$;v.assertImportSpecifier=K9;v.assertIndexedAccessType=PU;v.assertInferredPredicate=Lq;v.assertInterfaceDeclaration=Mq;v.assertInterfaceExtends=jq;v.assertInterfaceTypeAnnotation=Rq;v.assertInterpreterDirective=j7;v.assertIntersectionTypeAnnotation=qq;v.assertJSX=oW;v.assertJSXAttribute=CU;v.assertJSXClosingElement=DU;v.assertJSXClosingFragment=qU;v.assertJSXElement=wU;v.assertJSXEmptyExpression=IU;v.assertJSXExpressionContainer=_U;v.assertJSXFragment=MU;v.assertJSXIdentifier=OU;v.assertJSXMemberExpression=BU;v.assertJSXNamespacedName=kU;v.assertJSXOpeningElement=FU;v.assertJSXOpeningFragment=RU;v.assertJSXSpreadAttribute=LU;v.assertJSXSpreadChild=NU;v.assertJSXText=jU;v.assertLVal=M$;v.assertLabeledStatement=n9;v.assertLiteral=q$;v.assertLogicalExpression=u9;v.assertLoop=D$;v.assertMemberExpression=c9;v.assertMetaProperty=G9;v.assertMethod=$$;v.assertMiscellaneous=lW;v.assertMixedTypeAnnotation=Uq;v.assertModuleDeclaration=gW;v.assertModuleExpression=QU;v.assertModuleSpecifier=z$;v.assertNewExpression=p9;v.assertNoop=UU;v.assertNullLiteral=a9;v.assertNullLiteralTypeAnnotation=Eq;v.assertNullableTypeAnnotation=$q;v.assertNumberLiteral=dW;v.assertNumberLiteralTypeAnnotation=Wq;v.assertNumberTypeAnnotation=Kq;v.assertNumericLiteral=i9;v.assertObjectExpression=d9;v.assertObjectMember=W$;v.assertObjectMethod=h9;v.assertObjectPattern=Y9;v.assertObjectProperty=m9;v.assertObjectTypeAnnotation=Hq;v.assertObjectTypeCallProperty=Xq;v.assertObjectTypeIndexer=Yq;v.assertObjectTypeInternalSlot=Gq;v.assertObjectTypeProperty=Jq;v.assertObjectTypeSpreadProperty=zq;v.assertOpaqueType=Qq;v.assertOptionalCallExpression=oq;v.assertOptionalIndexedAccessType=AU;v.assertOptionalMemberExpression=aq;v.assertParenthesizedExpression=E9;v.assertPattern=G$;v.assertPatternLike=j$;v.assertPipelineBareFunction=tV;v.assertPipelinePrimaryTopicReference=rV;v.assertPipelineTopicExpression=eV;v.assertPlaceholder=VU;v.assertPrivate=Z$;v.assertPrivateName=fq;v.assertProgram=f9;v.assertProperty=K$;v.assertPureish=k$;v.assertQualifiedTypeIdentifier=Zq;v.assertRecordExpression=YU;v.assertRegExpLiteral=l9;v.assertRegexLiteral=hW;v.assertRestElement=y9;v.assertRestProperty=mW;v.assertReturnStatement=g9;v.assertScopable=T$;v.assertSequenceExpression=b9;v.assertSpreadElement=J9;v.assertSpreadProperty=yW;v.assertStandardized=g$;v.assertStatement=v$;v.assertStaticBlock=dq;v.assertStringLiteral=s9;v.assertStringLiteralTypeAnnotation=eU;v.assertStringTypeAnnotation=tU;v.assertSuper=z9;v.assertSwitchCase=T9;v.assertSwitchStatement=x9;v.assertSymbolTypeAnnotation=rU;v.assertTSAnyKeyword=dV;v.assertTSArrayType=BV;v.assertTSAsExpression=ZV;v.assertTSBaseType=fW;v.assertTSBigIntKeyword=mV;v.assertTSBooleanKeyword=hV;v.assertTSCallSignatureDeclaration=lV;v.assertTSConditionalType=qV;v.assertTSConstructSignatureDeclaration=uV;v.assertTSConstructorType=wV;v.assertTSDeclareFunction=iV;v.assertTSDeclareMethod=aV;v.assertTSEntityName=R$;v.assertTSEnumBody=r$;v.assertTSEnumDeclaration=n$;v.assertTSEnumMember=s$;v.assertTSExportAssignment=p$;v.assertTSExpressionWithTypeArguments=XV;v.assertTSExternalModuleReference=u$;v.assertTSFunctionType=DV;v.assertTSImportEqualsDeclaration=l$;v.assertTSImportType=o$;v.assertTSIndexSignature=fV;v.assertTSIndexedAccessType=WV;v.assertTSInferType=UV;v.assertTSInstantiationExpression=QV;v.assertTSInterfaceBody=JV;v.assertTSInterfaceDeclaration=YV;v.assertTSIntersectionType=RV;v.assertTSIntrinsicKeyword=yV;v.assertTSLiteralType=GV;v.assertTSMappedType=KV;v.assertTSMethodSignature=pV;v.assertTSModuleBlock=a$;v.assertTSModuleDeclaration=i$;v.assertTSNamedTupleMember=jV;v.assertTSNamespaceExportDeclaration=f$;v.assertTSNeverKeyword=gV;v.assertTSNonNullExpression=c$;v.assertTSNullKeyword=bV;v.assertTSNumberKeyword=EV;v.assertTSObjectKeyword=TV;v.assertTSOptionalType=FV;v.assertTSParameterProperty=sV;v.assertTSParenthesizedType=VV;v.assertTSPropertySignature=cV;v.assertTSQualifiedName=oV;v.assertTSRestType=LV;v.assertTSSatisfiesExpression=e$;v.assertTSStringKeyword=xV;v.assertTSSymbolKeyword=SV;v.assertTSTemplateLiteralType=HV;v.assertTSThisType=CV;v.assertTSTupleType=kV;v.assertTSType=pW;v.assertTSTypeAliasDeclaration=zV;v.assertTSTypeAnnotation=d$;v.assertTSTypeAssertion=t$;v.assertTSTypeElement=cW;v.assertTSTypeLiteral=OV;v.assertTSTypeOperator=$V;v.assertTSTypeParameter=y$;v.assertTSTypeParameterDeclaration=m$;v.assertTSTypeParameterInstantiation=h$;v.assertTSTypePredicate=_V;v.assertTSTypeQuery=NV;v.assertTSTypeReference=IV;v.assertTSUndefinedKeyword=vV;v.assertTSUnionType=MV;v.assertTSUnknownKeyword=PV;v.assertTSVoidKeyword=AV;v.assertTaggedTemplateExpression=Q9;v.assertTemplateElement=Z9;v.assertTemplateLiteral=eq;v.assertTerminatorless=P$;v.assertThisExpression=S9;v.assertThisTypeAnnotation=nU;v.assertThrowStatement=v9;v.assertTopicReference=ZU;v.assertTryStatement=P9;v.assertTupleExpression=JU;v.assertTupleTypeAnnotation=sU;v.assertTypeAlias=aU;v.assertTypeAnnotation=oU;v.assertTypeCastExpression=lU;v.assertTypeParameter=uU;v.assertTypeParameterDeclaration=cU;v.assertTypeParameterInstantiation=pU;v.assertTypeScript=uW;v.assertTypeofTypeAnnotation=iU;v.assertUnaryExpression=A9;v.assertUnaryLike=H$;v.assertUnionTypeAnnotation=fU;v.assertUpdateExpression=C9;v.assertUserWhitespacable=V$;v.assertV8IntrinsicIdentifier=$U;v.assertVariableDeclaration=D9;v.assertVariableDeclarator=w9;v.assertVariance=dU;v.assertVoidPattern=nV;v.assertVoidTypeAnnotation=hU;v.assertWhile=w$;v.assertWhileStatement=I9;v.assertWithStatement=_9;v.assertYieldExpression=tq;var B7=sa(),vo=na();function P(e,t,r){if(!(0,B7.default)(e,t,r))throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, but instead got "${t.type}".`)}function k7(e,t){P("ArrayExpression",e,t)}function F7(e,t){P("AssignmentExpression",e,t)}function L7(e,t){P("BinaryExpression",e,t)}function j7(e,t){P("InterpreterDirective",e,t)}function M7(e,t){P("Directive",e,t)}function R7(e,t){P("DirectiveLiteral",e,t)}function q7(e,t){P("BlockStatement",e,t)}function U7(e,t){P("BreakStatement",e,t)}function V7(e,t){P("CallExpression",e,t)}function $7(e,t){P("CatchClause",e,t)}function W7(e,t){P("ConditionalExpression",e,t)}function K7(e,t){P("ContinueStatement",e,t)}function H7(e,t){P("DebuggerStatement",e,t)}function G7(e,t){P("DoWhileStatement",e,t)}function X7(e,t){P("EmptyStatement",e,t)}function Y7(e,t){P("ExpressionStatement",e,t)}function J7(e,t){P("File",e,t)}function z7(e,t){P("ForInStatement",e,t)}function Q7(e,t){P("ForStatement",e,t)}function Z7(e,t){P("FunctionDeclaration",e,t)}function e9(e,t){P("FunctionExpression",e,t)}function t9(e,t){P("Identifier",e,t)}function r9(e,t){P("IfStatement",e,t)}function n9(e,t){P("LabeledStatement",e,t)}function s9(e,t){P("StringLiteral",e,t)}function i9(e,t){P("NumericLiteral",e,t)}function a9(e,t){P("NullLiteral",e,t)}function o9(e,t){P("BooleanLiteral",e,t)}function l9(e,t){P("RegExpLiteral",e,t)}function u9(e,t){P("LogicalExpression",e,t)}function c9(e,t){P("MemberExpression",e,t)}function p9(e,t){P("NewExpression",e,t)}function f9(e,t){P("Program",e,t)}function d9(e,t){P("ObjectExpression",e,t)}function h9(e,t){P("ObjectMethod",e,t)}function m9(e,t){P("ObjectProperty",e,t)}function y9(e,t){P("RestElement",e,t)}function g9(e,t){P("ReturnStatement",e,t)}function b9(e,t){P("SequenceExpression",e,t)}function E9(e,t){P("ParenthesizedExpression",e,t)}function T9(e,t){P("SwitchCase",e,t)}function x9(e,t){P("SwitchStatement",e,t)}function S9(e,t){P("ThisExpression",e,t)}function v9(e,t){P("ThrowStatement",e,t)}function P9(e,t){P("TryStatement",e,t)}function A9(e,t){P("UnaryExpression",e,t)}function C9(e,t){P("UpdateExpression",e,t)}function D9(e,t){P("VariableDeclaration",e,t)}function w9(e,t){P("VariableDeclarator",e,t)}function I9(e,t){P("WhileStatement",e,t)}function _9(e,t){P("WithStatement",e,t)}function N9(e,t){P("AssignmentPattern",e,t)}function O9(e,t){P("ArrayPattern",e,t)}function B9(e,t){P("ArrowFunctionExpression",e,t)}function k9(e,t){P("ClassBody",e,t)}function F9(e,t){P("ClassExpression",e,t)}function L9(e,t){P("ClassDeclaration",e,t)}function j9(e,t){P("ExportAllDeclaration",e,t)}function M9(e,t){P("ExportDefaultDeclaration",e,t)}function R9(e,t){P("ExportNamedDeclaration",e,t)}function q9(e,t){P("ExportSpecifier",e,t)}function U9(e,t){P("ForOfStatement",e,t)}function V9(e,t){P("ImportDeclaration",e,t)}function $9(e,t){P("ImportDefaultSpecifier",e,t)}function W9(e,t){P("ImportNamespaceSpecifier",e,t)}function K9(e,t){P("ImportSpecifier",e,t)}function H9(e,t){P("ImportExpression",e,t)}function G9(e,t){P("MetaProperty",e,t)}function X9(e,t){P("ClassMethod",e,t)}function Y9(e,t){P("ObjectPattern",e,t)}function J9(e,t){P("SpreadElement",e,t)}function z9(e,t){P("Super",e,t)}function Q9(e,t){P("TaggedTemplateExpression",e,t)}function Z9(e,t){P("TemplateElement",e,t)}function eq(e,t){P("TemplateLiteral",e,t)}function tq(e,t){P("YieldExpression",e,t)}function rq(e,t){P("AwaitExpression",e,t)}function nq(e,t){P("Import",e,t)}function sq(e,t){P("BigIntLiteral",e,t)}function iq(e,t){P("ExportNamespaceSpecifier",e,t)}function aq(e,t){P("OptionalMemberExpression",e,t)}function oq(e,t){P("OptionalCallExpression",e,t)}function lq(e,t){P("ClassProperty",e,t)}function uq(e,t){P("ClassAccessorProperty",e,t)}function cq(e,t){P("ClassPrivateProperty",e,t)}function pq(e,t){P("ClassPrivateMethod",e,t)}function fq(e,t){P("PrivateName",e,t)}function dq(e,t){P("StaticBlock",e,t)}function hq(e,t){P("ImportAttribute",e,t)}function mq(e,t){P("AnyTypeAnnotation",e,t)}function yq(e,t){P("ArrayTypeAnnotation",e,t)}function gq(e,t){P("BooleanTypeAnnotation",e,t)}function bq(e,t){P("BooleanLiteralTypeAnnotation",e,t)}function Eq(e,t){P("NullLiteralTypeAnnotation",e,t)}function Tq(e,t){P("ClassImplements",e,t)}function xq(e,t){P("DeclareClass",e,t)}function Sq(e,t){P("DeclareFunction",e,t)}function vq(e,t){P("DeclareInterface",e,t)}function Pq(e,t){P("DeclareModule",e,t)}function Aq(e,t){P("DeclareModuleExports",e,t)}function Cq(e,t){P("DeclareTypeAlias",e,t)}function Dq(e,t){P("DeclareOpaqueType",e,t)}function wq(e,t){P("DeclareVariable",e,t)}function Iq(e,t){P("DeclareExportDeclaration",e,t)}function _q(e,t){P("DeclareExportAllDeclaration",e,t)}function Nq(e,t){P("DeclaredPredicate",e,t)}function Oq(e,t){P("ExistsTypeAnnotation",e,t)}function Bq(e,t){P("FunctionTypeAnnotation",e,t)}function kq(e,t){P("FunctionTypeParam",e,t)}function Fq(e,t){P("GenericTypeAnnotation",e,t)}function Lq(e,t){P("InferredPredicate",e,t)}function jq(e,t){P("InterfaceExtends",e,t)}function Mq(e,t){P("InterfaceDeclaration",e,t)}function Rq(e,t){P("InterfaceTypeAnnotation",e,t)}function qq(e,t){P("IntersectionTypeAnnotation",e,t)}function Uq(e,t){P("MixedTypeAnnotation",e,t)}function Vq(e,t){P("EmptyTypeAnnotation",e,t)}function $q(e,t){P("NullableTypeAnnotation",e,t)}function Wq(e,t){P("NumberLiteralTypeAnnotation",e,t)}function Kq(e,t){P("NumberTypeAnnotation",e,t)}function Hq(e,t){P("ObjectTypeAnnotation",e,t)}function Gq(e,t){P("ObjectTypeInternalSlot",e,t)}function Xq(e,t){P("ObjectTypeCallProperty",e,t)}function Yq(e,t){P("ObjectTypeIndexer",e,t)}function Jq(e,t){P("ObjectTypeProperty",e,t)}function zq(e,t){P("ObjectTypeSpreadProperty",e,t)}function Qq(e,t){P("OpaqueType",e,t)}function Zq(e,t){P("QualifiedTypeIdentifier",e,t)}function eU(e,t){P("StringLiteralTypeAnnotation",e,t)}function tU(e,t){P("StringTypeAnnotation",e,t)}function rU(e,t){P("SymbolTypeAnnotation",e,t)}function nU(e,t){P("ThisTypeAnnotation",e,t)}function sU(e,t){P("TupleTypeAnnotation",e,t)}function iU(e,t){P("TypeofTypeAnnotation",e,t)}function aU(e,t){P("TypeAlias",e,t)}function oU(e,t){P("TypeAnnotation",e,t)}function lU(e,t){P("TypeCastExpression",e,t)}function uU(e,t){P("TypeParameter",e,t)}function cU(e,t){P("TypeParameterDeclaration",e,t)}function pU(e,t){P("TypeParameterInstantiation",e,t)}function fU(e,t){P("UnionTypeAnnotation",e,t)}function dU(e,t){P("Variance",e,t)}function hU(e,t){P("VoidTypeAnnotation",e,t)}function mU(e,t){P("EnumDeclaration",e,t)}function yU(e,t){P("EnumBooleanBody",e,t)}function gU(e,t){P("EnumNumberBody",e,t)}function bU(e,t){P("EnumStringBody",e,t)}function EU(e,t){P("EnumSymbolBody",e,t)}function TU(e,t){P("EnumBooleanMember",e,t)}function xU(e,t){P("EnumNumberMember",e,t)}function SU(e,t){P("EnumStringMember",e,t)}function vU(e,t){P("EnumDefaultedMember",e,t)}function PU(e,t){P("IndexedAccessType",e,t)}function AU(e,t){P("OptionalIndexedAccessType",e,t)}function CU(e,t){P("JSXAttribute",e,t)}function DU(e,t){P("JSXClosingElement",e,t)}function wU(e,t){P("JSXElement",e,t)}function IU(e,t){P("JSXEmptyExpression",e,t)}function _U(e,t){P("JSXExpressionContainer",e,t)}function NU(e,t){P("JSXSpreadChild",e,t)}function OU(e,t){P("JSXIdentifier",e,t)}function BU(e,t){P("JSXMemberExpression",e,t)}function kU(e,t){P("JSXNamespacedName",e,t)}function FU(e,t){P("JSXOpeningElement",e,t)}function LU(e,t){P("JSXSpreadAttribute",e,t)}function jU(e,t){P("JSXText",e,t)}function MU(e,t){P("JSXFragment",e,t)}function RU(e,t){P("JSXOpeningFragment",e,t)}function qU(e,t){P("JSXClosingFragment",e,t)}function UU(e,t){P("Noop",e,t)}function VU(e,t){P("Placeholder",e,t)}function $U(e,t){P("V8IntrinsicIdentifier",e,t)}function WU(e,t){P("ArgumentPlaceholder",e,t)}function KU(e,t){P("BindExpression",e,t)}function HU(e,t){P("Decorator",e,t)}function GU(e,t){P("DoExpression",e,t)}function XU(e,t){P("ExportDefaultSpecifier",e,t)}function YU(e,t){P("RecordExpression",e,t)}function JU(e,t){P("TupleExpression",e,t)}function zU(e,t){P("DecimalLiteral",e,t)}function QU(e,t){P("ModuleExpression",e,t)}function ZU(e,t){P("TopicReference",e,t)}function eV(e,t){P("PipelineTopicExpression",e,t)}function tV(e,t){P("PipelineBareFunction",e,t)}function rV(e,t){P("PipelinePrimaryTopicReference",e,t)}function nV(e,t){P("VoidPattern",e,t)}function sV(e,t){P("TSParameterProperty",e,t)}function iV(e,t){P("TSDeclareFunction",e,t)}function aV(e,t){P("TSDeclareMethod",e,t)}function oV(e,t){P("TSQualifiedName",e,t)}function lV(e,t){P("TSCallSignatureDeclaration",e,t)}function uV(e,t){P("TSConstructSignatureDeclaration",e,t)}function cV(e,t){P("TSPropertySignature",e,t)}function pV(e,t){P("TSMethodSignature",e,t)}function fV(e,t){P("TSIndexSignature",e,t)}function dV(e,t){P("TSAnyKeyword",e,t)}function hV(e,t){P("TSBooleanKeyword",e,t)}function mV(e,t){P("TSBigIntKeyword",e,t)}function yV(e,t){P("TSIntrinsicKeyword",e,t)}function gV(e,t){P("TSNeverKeyword",e,t)}function bV(e,t){P("TSNullKeyword",e,t)}function EV(e,t){P("TSNumberKeyword",e,t)}function TV(e,t){P("TSObjectKeyword",e,t)}function xV(e,t){P("TSStringKeyword",e,t)}function SV(e,t){P("TSSymbolKeyword",e,t)}function vV(e,t){P("TSUndefinedKeyword",e,t)}function PV(e,t){P("TSUnknownKeyword",e,t)}function AV(e,t){P("TSVoidKeyword",e,t)}function CV(e,t){P("TSThisType",e,t)}function DV(e,t){P("TSFunctionType",e,t)}function wV(e,t){P("TSConstructorType",e,t)}function IV(e,t){P("TSTypeReference",e,t)}function _V(e,t){P("TSTypePredicate",e,t)}function NV(e,t){P("TSTypeQuery",e,t)}function OV(e,t){P("TSTypeLiteral",e,t)}function BV(e,t){P("TSArrayType",e,t)}function kV(e,t){P("TSTupleType",e,t)}function FV(e,t){P("TSOptionalType",e,t)}function LV(e,t){P("TSRestType",e,t)}function jV(e,t){P("TSNamedTupleMember",e,t)}function MV(e,t){P("TSUnionType",e,t)}function RV(e,t){P("TSIntersectionType",e,t)}function qV(e,t){P("TSConditionalType",e,t)}function UV(e,t){P("TSInferType",e,t)}function VV(e,t){P("TSParenthesizedType",e,t)}function $V(e,t){P("TSTypeOperator",e,t)}function WV(e,t){P("TSIndexedAccessType",e,t)}function KV(e,t){P("TSMappedType",e,t)}function HV(e,t){P("TSTemplateLiteralType",e,t)}function GV(e,t){P("TSLiteralType",e,t)}function XV(e,t){P("TSExpressionWithTypeArguments",e,t)}function YV(e,t){P("TSInterfaceDeclaration",e,t)}function JV(e,t){P("TSInterfaceBody",e,t)}function zV(e,t){P("TSTypeAliasDeclaration",e,t)}function QV(e,t){P("TSInstantiationExpression",e,t)}function ZV(e,t){P("TSAsExpression",e,t)}function e$(e,t){P("TSSatisfiesExpression",e,t)}function t$(e,t){P("TSTypeAssertion",e,t)}function r$(e,t){P("TSEnumBody",e,t)}function n$(e,t){P("TSEnumDeclaration",e,t)}function s$(e,t){P("TSEnumMember",e,t)}function i$(e,t){P("TSModuleDeclaration",e,t)}function a$(e,t){P("TSModuleBlock",e,t)}function o$(e,t){P("TSImportType",e,t)}function l$(e,t){P("TSImportEqualsDeclaration",e,t)}function u$(e,t){P("TSExternalModuleReference",e,t)}function c$(e,t){P("TSNonNullExpression",e,t)}function p$(e,t){P("TSExportAssignment",e,t)}function f$(e,t){P("TSNamespaceExportDeclaration",e,t)}function d$(e,t){P("TSTypeAnnotation",e,t)}function h$(e,t){P("TSTypeParameterInstantiation",e,t)}function m$(e,t){P("TSTypeParameterDeclaration",e,t)}function y$(e,t){P("TSTypeParameter",e,t)}function g$(e,t){P("Standardized",e,t)}function b$(e,t){P("Expression",e,t)}function E$(e,t){P("Binary",e,t)}function T$(e,t){P("Scopable",e,t)}function x$(e,t){P("BlockParent",e,t)}function S$(e,t){P("Block",e,t)}function v$(e,t){P("Statement",e,t)}function P$(e,t){P("Terminatorless",e,t)}function A$(e,t){P("CompletionStatement",e,t)}function C$(e,t){P("Conditional",e,t)}function D$(e,t){P("Loop",e,t)}function w$(e,t){P("While",e,t)}function I$(e,t){P("ExpressionWrapper",e,t)}function _$(e,t){P("For",e,t)}function N$(e,t){P("ForXStatement",e,t)}function O$(e,t){P("Function",e,t)}function B$(e,t){P("FunctionParent",e,t)}function k$(e,t){P("Pureish",e,t)}function F$(e,t){P("Declaration",e,t)}function L$(e,t){P("FunctionParameter",e,t)}function j$(e,t){P("PatternLike",e,t)}function M$(e,t){P("LVal",e,t)}function R$(e,t){P("TSEntityName",e,t)}function q$(e,t){P("Literal",e,t)}function U$(e,t){P("Immutable",e,t)}function V$(e,t){P("UserWhitespacable",e,t)}function $$(e,t){P("Method",e,t)}function W$(e,t){P("ObjectMember",e,t)}function K$(e,t){P("Property",e,t)}function H$(e,t){P("UnaryLike",e,t)}function G$(e,t){P("Pattern",e,t)}function X$(e,t){P("Class",e,t)}function Y$(e,t){P("ImportOrExportDeclaration",e,t)}function J$(e,t){P("ExportDeclaration",e,t)}function z$(e,t){P("ModuleSpecifier",e,t)}function Q$(e,t){P("Accessor",e,t)}function Z$(e,t){P("Private",e,t)}function eW(e,t){P("Flow",e,t)}function tW(e,t){P("FlowType",e,t)}function rW(e,t){P("FlowBaseAnnotation",e,t)}function nW(e,t){P("FlowDeclaration",e,t)}function sW(e,t){P("FlowPredicate",e,t)}function iW(e,t){P("EnumBody",e,t)}function aW(e,t){P("EnumMember",e,t)}function oW(e,t){P("JSX",e,t)}function lW(e,t){P("Miscellaneous",e,t)}function uW(e,t){P("TypeScript",e,t)}function cW(e,t){P("TSTypeElement",e,t)}function pW(e,t){P("TSType",e,t)}function fW(e,t){P("TSBaseType",e,t)}function dW(e,t){(0,vo.default)("assertNumberLiteral","assertNumericLiteral"),P("NumberLiteral",e,t)}function hW(e,t){(0,vo.default)("assertRegexLiteral","assertRegExpLiteral"),P("RegexLiteral",e,t)}function mW(e,t){(0,vo.default)("assertRestProperty","assertRestElement"),P("RestProperty",e,t)}function yW(e,t){(0,vo.default)("assertSpreadProperty","assertSpreadElement"),P("SpreadProperty",e,t)}function gW(e,t){(0,vo.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),P("ModuleDeclaration",e,t)}});var ox=x(hu=>{"use strict";Object.defineProperty(hu,"__esModule",{value:!0});hu.default=void 0;var xn=Kr(),m2e=hu.default=bW;function bW(e){switch(e){case"string":return(0,xn.stringTypeAnnotation)();case"number":return(0,xn.numberTypeAnnotation)();case"undefined":return(0,xn.voidTypeAnnotation)();case"boolean":return(0,xn.booleanTypeAnnotation)();case"function":return(0,xn.genericTypeAnnotation)((0,xn.identifier)("Function"));case"object":return(0,xn.genericTypeAnnotation)((0,xn.identifier)("Object"));case"symbol":return(0,xn.genericTypeAnnotation)((0,xn.identifier)("Symbol"));case"bigint":return(0,xn.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+e)}});var Yd=x(Xd=>{"use strict";Object.defineProperty(Xd,"__esModule",{value:!0});Xd.default=ux;var Po=Wt();function lx(e){return(0,Po.isIdentifier)(e)?e.name:`${e.id.name}.${lx(e.qualification)}`}function ux(e){let t=Array.from(e),r=new Map,n=new Map,s=new Set,i=[];for(let a=0;a<t.length;a++){let o=t[a];if(o&&!i.includes(o)){if((0,Po.isAnyTypeAnnotation)(o))return[o];if((0,Po.isFlowBaseAnnotation)(o)){n.set(o.type,o);continue}if((0,Po.isUnionTypeAnnotation)(o)){s.has(o.types)||(t.push(...o.types),s.add(o.types));continue}if((0,Po.isGenericTypeAnnotation)(o)){let l=lx(o.id);if(r.has(l)){let u=r.get(l);u.typeParameters?o.typeParameters&&(u.typeParameters.params.push(...o.typeParameters.params),u.typeParameters.params=ux(u.typeParameters.params)):u=o.typeParameters}else r.set(l,o);continue}i.push(o)}}for(let[,a]of n)i.push(a);for(let[,a]of r)i.push(a);return i}});var cx=x(Jd=>{"use strict";Object.defineProperty(Jd,"__esModule",{value:!0});Jd.default=xW;var EW=Kr(),TW=Yd();function xW(e){let t=(0,TW.default)(e);return t.length===1?t[0]:(0,EW.unionTypeAnnotation)(t)}});var dx=x(zd=>{"use strict";Object.defineProperty(zd,"__esModule",{value:!0});zd.default=fx;var fa=Wt();function px(e){return(0,fa.isIdentifier)(e)?e.name:(0,fa.isThisExpression)(e)?"this":`${e.right.name}.${px(e.left)}`}function fx(e){let t=Array.from(e),r=new Map,n=new Map,s=new Set,i=[];for(let a=0;a<t.length;a++){let o=t[a];if(!o||i.includes(o))continue;if((0,fa.isTSAnyKeyword)(o))return[o];if((0,fa.isTSBaseType)(o)){n.set(o.type,o);continue}if((0,fa.isTSUnionType)(o)){s.has(o.types)||(t.push(...o.types),s.add(o.types));continue}let l="typeParameters";if((0,fa.isTSTypeReference)(o)&&o[l]){let u=o[l],c=px(o.typeName);if(r.has(c)){let p=r.get(c),d=p[l];d?(d.params.push(...u.params),d.params=fx(d.params)):p=u}else r.set(c,o);continue}i.push(o)}for(let[,a]of n)i.push(a);for(let[,a]of r)i.push(a);return i}});var hx=x(Qd=>{"use strict";Object.defineProperty(Qd,"__esModule",{value:!0});Qd.default=AW;var SW=Kr(),vW=dx(),PW=Wt();function AW(e){let t=e.map(n=>(0,PW.isTSTypeAnnotation)(n)?n.typeAnnotation:n),r=(0,vW.default)(t);return r.length===1?r[0]:(0,SW.tsUnionType)(r)}});var eh=x(Zd=>{"use strict";Object.defineProperty(Zd,"__esModule",{value:!0});Zd.buildUndefinedNode=CW;var mx=Kr();function CW(){return(0,mx.unaryExpression)("void",(0,mx.numericLiteral)(0),!0)}});var Bs=x(rh=>{"use strict";Object.defineProperty(rh,"__esModule",{value:!0});rh.default=DW;var yx=an(),gx=Wt(),{hasOwn:Un}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function bx(e,t,r,n){return e&&typeof e.type=="string"?Ex(e,t,r,n):e}function th(e,t,r,n){return Array.isArray(e)?e.map(s=>bx(s,t,r,n)):bx(e,t,r,n)}function DW(e,t=!0,r=!1){return Ex(e,t,r,new Map)}function Ex(e,t=!0,r=!1,n){if(!e)return e;let{type:s}=e,i={type:e.type};if((0,gx.isIdentifier)(e))i.name=e.name,Un(e,"optional")&&typeof e.optional=="boolean"&&(i.optional=e.optional),Un(e,"typeAnnotation")&&(i.typeAnnotation=t?th(e.typeAnnotation,!0,r,n):e.typeAnnotation),Un(e,"decorators")&&(i.decorators=t?th(e.decorators,!0,r,n):e.decorators);else if(Un(yx.NODE_FIELDS,s))for(let a of Object.keys(yx.NODE_FIELDS[s]))Un(e,a)&&(t?i[a]=(0,gx.isFile)(e)&&a==="comments"?mu(e.comments,t,r,n):th(e[a],!0,r,n):i[a]=e[a]);else throw new Error(`Unknown node type: "${s}"`);return Un(e,"loc")&&(r?i.loc=null:i.loc=e.loc),Un(e,"leadingComments")&&(i.leadingComments=mu(e.leadingComments,t,r,n)),Un(e,"innerComments")&&(i.innerComments=mu(e.innerComments,t,r,n)),Un(e,"trailingComments")&&(i.trailingComments=mu(e.trailingComments,t,r,n)),Un(e,"extra")&&(i.extra=Object.assign({},e.extra)),i}function mu(e,t,r,n){return!e||!t?e:e.map(s=>{let i=n.get(s);if(i)return i;let{type:a,value:o,loc:l}=s,u={type:a,value:o,loc:l};return r&&(u.loc=null),n.set(s,u),u})}});var Tx=x(nh=>{"use strict";Object.defineProperty(nh,"__esModule",{value:!0});nh.default=IW;var wW=Bs();function IW(e){return(0,wW.default)(e,!1)}});var xx=x(sh=>{"use strict";Object.defineProperty(sh,"__esModule",{value:!0});sh.default=NW;var _W=Bs();function NW(e){return(0,_W.default)(e)}});var Sx=x(ih=>{"use strict";Object.defineProperty(ih,"__esModule",{value:!0});ih.default=BW;var OW=Bs();function BW(e){return(0,OW.default)(e,!0,!0)}});var vx=x(ah=>{"use strict";Object.defineProperty(ah,"__esModule",{value:!0});ah.default=FW;var kW=Bs();function FW(e){return(0,kW.default)(e,!1,!0)}});var lh=x(oh=>{"use strict";Object.defineProperty(oh,"__esModule",{value:!0});oh.default=LW;function LW(e,t,r){if(!r||!e)return e;let n=`${t}Comments`;return e[n]?t==="leading"?e[n]=r.concat(e[n]):e[n].push(...r):e[n]=r,e}});var Px=x(uh=>{"use strict";Object.defineProperty(uh,"__esModule",{value:!0});uh.default=MW;var jW=lh();function MW(e,t,r,n){return(0,jW.default)(e,t,[{type:n?"CommentLine":"CommentBlock",value:r}])}});var yu=x(ch=>{"use strict";Object.defineProperty(ch,"__esModule",{value:!0});ch.default=RW;function RW(e,t,r){t&&r&&(t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean))))}});var fh=x(ph=>{"use strict";Object.defineProperty(ph,"__esModule",{value:!0});ph.default=UW;var qW=yu();function UW(e,t){(0,qW.default)("innerComments",e,t)}});var hh=x(dh=>{"use strict";Object.defineProperty(dh,"__esModule",{value:!0});dh.default=$W;var VW=yu();function $W(e,t){(0,VW.default)("leadingComments",e,t)}});var yh=x(mh=>{"use strict";Object.defineProperty(mh,"__esModule",{value:!0});mh.default=KW;var WW=yu();function KW(e,t){(0,WW.default)("trailingComments",e,t)}});var bh=x(gh=>{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.default=YW;var HW=yh(),GW=hh(),XW=fh();function YW(e,t){return(0,HW.default)(e,t),(0,GW.default)(e,t),(0,XW.default)(e,t),e}});var Ax=x(Eh=>{"use strict";Object.defineProperty(Eh,"__esModule",{value:!0});Eh.default=zW;var JW=oa();function zW(e){return JW.COMMENT_KEYS.forEach(t=>{e[t]=null}),e}});var Cx=x(ne=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0});ne.WHILE_TYPES=ne.USERWHITESPACABLE_TYPES=ne.UNARYLIKE_TYPES=ne.TYPESCRIPT_TYPES=ne.TSTYPE_TYPES=ne.TSTYPEELEMENT_TYPES=ne.TSENTITYNAME_TYPES=ne.TSBASETYPE_TYPES=ne.TERMINATORLESS_TYPES=ne.STATEMENT_TYPES=ne.STANDARDIZED_TYPES=ne.SCOPABLE_TYPES=ne.PUREISH_TYPES=ne.PROPERTY_TYPES=ne.PRIVATE_TYPES=ne.PATTERN_TYPES=ne.PATTERNLIKE_TYPES=ne.OBJECTMEMBER_TYPES=ne.MODULESPECIFIER_TYPES=ne.MODULEDECLARATION_TYPES=ne.MISCELLANEOUS_TYPES=ne.METHOD_TYPES=ne.LVAL_TYPES=ne.LOOP_TYPES=ne.LITERAL_TYPES=ne.JSX_TYPES=ne.IMPORTOREXPORTDECLARATION_TYPES=ne.IMMUTABLE_TYPES=ne.FUNCTION_TYPES=ne.FUNCTIONPARENT_TYPES=ne.FUNCTIONPARAMETER_TYPES=ne.FOR_TYPES=ne.FORXSTATEMENT_TYPES=ne.FLOW_TYPES=ne.FLOWTYPE_TYPES=ne.FLOWPREDICATE_TYPES=ne.FLOWDECLARATION_TYPES=ne.FLOWBASEANNOTATION_TYPES=ne.EXPRESSION_TYPES=ne.EXPRESSIONWRAPPER_TYPES=ne.EXPORTDECLARATION_TYPES=ne.ENUMMEMBER_TYPES=ne.ENUMBODY_TYPES=ne.DECLARATION_TYPES=ne.CONDITIONAL_TYPES=ne.COMPLETIONSTATEMENT_TYPES=ne.CLASS_TYPES=ne.BLOCK_TYPES=ne.BLOCKPARENT_TYPES=ne.BINARY_TYPES=ne.ACCESSOR_TYPES=void 0;var Me=an(),F2e=ne.STANDARDIZED_TYPES=Me.FLIPPED_ALIAS_KEYS.Standardized,L2e=ne.EXPRESSION_TYPES=Me.FLIPPED_ALIAS_KEYS.Expression,j2e=ne.BINARY_TYPES=Me.FLIPPED_ALIAS_KEYS.Binary,M2e=ne.SCOPABLE_TYPES=Me.FLIPPED_ALIAS_KEYS.Scopable,R2e=ne.BLOCKPARENT_TYPES=Me.FLIPPED_ALIAS_KEYS.BlockParent,q2e=ne.BLOCK_TYPES=Me.FLIPPED_ALIAS_KEYS.Block,U2e=ne.STATEMENT_TYPES=Me.FLIPPED_ALIAS_KEYS.Statement,V2e=ne.TERMINATORLESS_TYPES=Me.FLIPPED_ALIAS_KEYS.Terminatorless,$2e=ne.COMPLETIONSTATEMENT_TYPES=Me.FLIPPED_ALIAS_KEYS.CompletionStatement,W2e=ne.CONDITIONAL_TYPES=Me.FLIPPED_ALIAS_KEYS.Conditional,K2e=ne.LOOP_TYPES=Me.FLIPPED_ALIAS_KEYS.Loop,H2e=ne.WHILE_TYPES=Me.FLIPPED_ALIAS_KEYS.While,G2e=ne.EXPRESSIONWRAPPER_TYPES=Me.FLIPPED_ALIAS_KEYS.ExpressionWrapper,X2e=ne.FOR_TYPES=Me.FLIPPED_ALIAS_KEYS.For,Y2e=ne.FORXSTATEMENT_TYPES=Me.FLIPPED_ALIAS_KEYS.ForXStatement,J2e=ne.FUNCTION_TYPES=Me.FLIPPED_ALIAS_KEYS.Function,z2e=ne.FUNCTIONPARENT_TYPES=Me.FLIPPED_ALIAS_KEYS.FunctionParent,Q2e=ne.PUREISH_TYPES=Me.FLIPPED_ALIAS_KEYS.Pureish,Z2e=ne.DECLARATION_TYPES=Me.FLIPPED_ALIAS_KEYS.Declaration,eDe=ne.FUNCTIONPARAMETER_TYPES=Me.FLIPPED_ALIAS_KEYS.FunctionParameter,tDe=ne.PATTERNLIKE_TYPES=Me.FLIPPED_ALIAS_KEYS.PatternLike,rDe=ne.LVAL_TYPES=Me.FLIPPED_ALIAS_KEYS.LVal,nDe=ne.TSENTITYNAME_TYPES=Me.FLIPPED_ALIAS_KEYS.TSEntityName,sDe=ne.LITERAL_TYPES=Me.FLIPPED_ALIAS_KEYS.Literal,iDe=ne.IMMUTABLE_TYPES=Me.FLIPPED_ALIAS_KEYS.Immutable,aDe=ne.USERWHITESPACABLE_TYPES=Me.FLIPPED_ALIAS_KEYS.UserWhitespacable,oDe=ne.METHOD_TYPES=Me.FLIPPED_ALIAS_KEYS.Method,lDe=ne.OBJECTMEMBER_TYPES=Me.FLIPPED_ALIAS_KEYS.ObjectMember,uDe=ne.PROPERTY_TYPES=Me.FLIPPED_ALIAS_KEYS.Property,cDe=ne.UNARYLIKE_TYPES=Me.FLIPPED_ALIAS_KEYS.UnaryLike,pDe=ne.PATTERN_TYPES=Me.FLIPPED_ALIAS_KEYS.Pattern,fDe=ne.CLASS_TYPES=Me.FLIPPED_ALIAS_KEYS.Class,QW=ne.IMPORTOREXPORTDECLARATION_TYPES=Me.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,dDe=ne.EXPORTDECLARATION_TYPES=Me.FLIPPED_ALIAS_KEYS.ExportDeclaration,hDe=ne.MODULESPECIFIER_TYPES=Me.FLIPPED_ALIAS_KEYS.ModuleSpecifier,mDe=ne.ACCESSOR_TYPES=Me.FLIPPED_ALIAS_KEYS.Accessor,yDe=ne.PRIVATE_TYPES=Me.FLIPPED_ALIAS_KEYS.Private,gDe=ne.FLOW_TYPES=Me.FLIPPED_ALIAS_KEYS.Flow,bDe=ne.FLOWTYPE_TYPES=Me.FLIPPED_ALIAS_KEYS.FlowType,EDe=ne.FLOWBASEANNOTATION_TYPES=Me.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,TDe=ne.FLOWDECLARATION_TYPES=Me.FLIPPED_ALIAS_KEYS.FlowDeclaration,xDe=ne.FLOWPREDICATE_TYPES=Me.FLIPPED_ALIAS_KEYS.FlowPredicate,SDe=ne.ENUMBODY_TYPES=Me.FLIPPED_ALIAS_KEYS.EnumBody,vDe=ne.ENUMMEMBER_TYPES=Me.FLIPPED_ALIAS_KEYS.EnumMember,PDe=ne.JSX_TYPES=Me.FLIPPED_ALIAS_KEYS.JSX,ADe=ne.MISCELLANEOUS_TYPES=Me.FLIPPED_ALIAS_KEYS.Miscellaneous,CDe=ne.TYPESCRIPT_TYPES=Me.FLIPPED_ALIAS_KEYS.TypeScript,DDe=ne.TSTYPEELEMENT_TYPES=Me.FLIPPED_ALIAS_KEYS.TSTypeElement,wDe=ne.TSTYPE_TYPES=Me.FLIPPED_ALIAS_KEYS.TSType,IDe=ne.TSBASETYPE_TYPES=Me.FLIPPED_ALIAS_KEYS.TSBaseType,_De=ne.MODULEDECLARATION_TYPES=QW});var Sh=x(xh=>{"use strict";Object.defineProperty(xh,"__esModule",{value:!0});xh.default=ZW;var gu=Wt(),Th=Kr();function ZW(e,t){if((0,gu.isBlockStatement)(e))return e;let r=[];return(0,gu.isEmptyStatement)(e)?r=[]:((0,gu.isStatement)(e)||((0,gu.isFunction)(t)?e=(0,Th.returnStatement)(e):e=(0,Th.expressionStatement)(e)),r=[e]),(0,Th.blockStatement)(r)}});var Dx=x(vh=>{"use strict";Object.defineProperty(vh,"__esModule",{value:!0});vh.default=tK;var eK=Sh();function tK(e,t="body"){let r=(0,eK.default)(e[t],e);return e[t]=r,r}});var Ah=x(Ph=>{"use strict";Object.defineProperty(Ph,"__esModule",{value:!0});Ph.default=sK;var rK=aa(),nK=ia();function sK(e){e=e+"";let t="";for(let r of e)t+=(0,nK.isIdentifierChar)(r.codePointAt(0))?r:"-";return t=t.replace(/^[-0-9]+/,""),t=t.replace(/[-\s]+(.)?/g,function(r,n){return n?n.toUpperCase():""}),(0,rK.default)(t)||(t=`_${t}`),t||"_"}});var wx=x(Ch=>{"use strict";Object.defineProperty(Ch,"__esModule",{value:!0});Ch.default=aK;var iK=Ah();function aK(e){return e=(0,iK.default)(e),(e==="eval"||e==="arguments")&&(e="_"+e),e}});var Ix=x(Dh=>{"use strict";Object.defineProperty(Dh,"__esModule",{value:!0});Dh.default=uK;var oK=Wt(),lK=Kr();function uK(e,t=e.key||e.property){return!e.computed&&(0,oK.isIdentifier)(t)&&(t=(0,lK.stringLiteral)(t.name)),t}});var _x=x(bu=>{"use strict";Object.defineProperty(bu,"__esModule",{value:!0});bu.default=void 0;var Ao=Wt(),jDe=bu.default=cK;function cK(e){if((0,Ao.isExpressionStatement)(e)&&(e=e.expression),(0,Ao.isExpression)(e))return e;if((0,Ao.isClass)(e)?(e.type="ClassExpression",e.abstract=!1):(0,Ao.isFunction)(e)&&(e.type="FunctionExpression"),!(0,Ao.isExpression)(e))throw new Error(`cannot turn ${e.type} to an expression`);return e}});var Ih=x(wh=>{"use strict";Object.defineProperty(wh,"__esModule",{value:!0});wh.default=Co;var pK=an(),Nx=Symbol(),Ox=Symbol();function Co(e,t,r){if(!e)return!1;let n=pK.VISITOR_KEYS[e.type];if(!n)return!1;r=r||{};let s=t(e,r);if(s!==void 0)switch(s){case Nx:return!1;case Ox:return!0}for(let i of n){let a=e[i];if(a){if(Array.isArray(a)){for(let o of a)if(Co(o,t,r))return!0}else if(Co(a,t,r))return!0}}return!1}Co.skip=Nx;Co.stop=Ox});var Nh=x(_h=>{"use strict";Object.defineProperty(_h,"__esModule",{value:!0});_h.default=hK;var fK=oa(),Bx=["tokens","start","end","loc","raw","rawValue"],dK=[...fK.COMMENT_KEYS,"comments",...Bx];function hK(e,t={}){let r=t.preserveComments?Bx:dK;for(let s of r)e[s]!=null&&(e[s]=void 0);for(let s of Object.keys(e))s[0]==="_"&&e[s]!=null&&(e[s]=void 0);let n=Object.getOwnPropertySymbols(e);for(let s of n)e[s]=null}});var Bh=x(Oh=>{"use strict";Object.defineProperty(Oh,"__esModule",{value:!0});Oh.default=gK;var mK=Ih(),yK=Nh();function gK(e,t){return(0,mK.default)(e,yK.default,t),e}});var Fx=x(kh=>{"use strict";Object.defineProperty(kh,"__esModule",{value:!0});kh.default=hi;var kx=Wt(),bK=Bs(),EK=Bh();function hi(e,t=e.key){let r;return e.kind==="method"?hi.increment()+"":((0,kx.isIdentifier)(t)?r=t.name:(0,kx.isStringLiteral)(t)?r=JSON.stringify(t.value):r=JSON.stringify((0,EK.default)((0,bK.default)(t))),e.computed&&(r=`[${r}]`),e.static&&(r=`static:${r}`),r)}hi.uid=0;hi.increment=function(){return hi.uid>=Number.MAX_SAFE_INTEGER?hi.uid=0:hi.uid++}});var Lx=x(Tu=>{"use strict";Object.defineProperty(Tu,"__esModule",{value:!0});Tu.default=void 0;var Eu=Wt(),TK=Kr(),$De=Tu.default=xK;function xK(e,t){if((0,Eu.isStatement)(e))return e;let r=!1,n;if((0,Eu.isClass)(e))r=!0,n="ClassDeclaration";else if((0,Eu.isFunction)(e))r=!0,n="FunctionDeclaration";else if((0,Eu.isAssignmentExpression)(e))return(0,TK.expressionStatement)(e);if(r&&!e.id&&(n=!1),!n){if(t)return!1;throw new Error(`cannot turn ${e.type} to a statement`)}return e.type=n,e}});var jx=x(xu=>{"use strict";Object.defineProperty(xu,"__esModule",{value:!0});xu.default=void 0;var SK=aa(),tr=Kr(),KDe=xu.default=Fh,vK=Function.call.bind(Object.prototype.toString);function PK(e){return vK(e)==="[object RegExp]"}function AK(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function Fh(e){if(e===void 0)return(0,tr.identifier)("undefined");if(e===!0||e===!1)return(0,tr.booleanLiteral)(e);if(e===null)return(0,tr.nullLiteral)();if(typeof e=="string")return(0,tr.stringLiteral)(e);if(typeof e=="number"){let t;if(Number.isFinite(e))t=(0,tr.numericLiteral)(Math.abs(e));else{let r;Number.isNaN(e)?r=(0,tr.numericLiteral)(0):r=(0,tr.numericLiteral)(1),t=(0,tr.binaryExpression)("/",r,(0,tr.numericLiteral)(0))}return(e<0||Object.is(e,-0))&&(t=(0,tr.unaryExpression)("-",t)),t}if(typeof e=="bigint")return e<0?(0,tr.unaryExpression)("-",(0,tr.bigIntLiteral)(-e)):(0,tr.bigIntLiteral)(e);if(PK(e)){let t=e.source,r=/\/([a-z]*)$/.exec(e.toString())[1];return(0,tr.regExpLiteral)(t,r)}if(Array.isArray(e))return(0,tr.arrayExpression)(e.map(Fh));if(AK(e)){let t=[];for(let r of Object.keys(e)){let n,s=!1;(0,SK.default)(r)?r==="__proto__"?(s=!0,n=(0,tr.stringLiteral)(r)):n=(0,tr.identifier)(r):n=(0,tr.stringLiteral)(r),t.push((0,tr.objectProperty)(n,Fh(e[r]),s))}return(0,tr.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}});var Mx=x(Lh=>{"use strict";Object.defineProperty(Lh,"__esModule",{value:!0});Lh.default=DK;var CK=Kr();function DK(e,t,r=!1){return e.object=(0,CK.memberExpression)(e.object,e.property,e.computed),e.property=t,e.computed=!!r,e}});var qx=x(jh=>{"use strict";Object.defineProperty(jh,"__esModule",{value:!0});jh.default=IK;var Rx=oa(),wK=bh();function IK(e,t){if(!e||!t)return e;for(let r of Rx.INHERIT_KEYS.optional)e[r]==null&&(e[r]=t[r]);for(let r of Object.keys(t))r[0]==="_"&&r!=="__clone"&&(e[r]=t[r]);for(let r of Rx.INHERIT_KEYS.force)e[r]=t[r];return(0,wK.default)(e,t),e}});var Ux=x(Mh=>{"use strict";Object.defineProperty(Mh,"__esModule",{value:!0});Mh.default=OK;var _K=Kr(),NK=Fe();function OK(e,t){if((0,NK.isSuper)(e.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return e.object=(0,_K.memberExpression)(t,e.object),e}});var Vx=x(Rh=>{"use strict";Object.defineProperty(Rh,"__esModule",{value:!0});Rh.default=BK;function BK(e){let t=[].concat(e),r=Object.create(null);for(;t.length;){let n=t.pop();if(n)switch(n.type){case"ArrayPattern":t.push(...n.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":t.push(n.left);break;case"ObjectPattern":t.push(...n.properties);break;case"ObjectProperty":t.push(n.value);break;case"RestElement":case"UpdateExpression":t.push(n.argument);break;case"UnaryExpression":n.operator==="delete"&&t.push(n.argument);break;case"Identifier":r[n.name]=n;break;default:break}}return r}});var Do=x(Uh=>{"use strict";Object.defineProperty(Uh,"__esModule",{value:!0});Uh.default=qh;var Zn=Wt();function qh(e,t,r,n){let s=[].concat(e),i=Object.create(null);for(;s.length;){let a=s.shift();if(!a||n&&((0,Zn.isAssignmentExpression)(a)||(0,Zn.isUnaryExpression)(a)||(0,Zn.isUpdateExpression)(a)))continue;if((0,Zn.isIdentifier)(a)){t?(i[a.name]=i[a.name]||[]).push(a):i[a.name]=a;continue}if((0,Zn.isExportDeclaration)(a)&&!(0,Zn.isExportAllDeclaration)(a)){(0,Zn.isDeclaration)(a.declaration)&&s.push(a.declaration);continue}if(r){if((0,Zn.isFunctionDeclaration)(a)){s.push(a.id);continue}if((0,Zn.isFunctionExpression)(a))continue}let o=qh.keys[a.type];if(o)for(let l=0;l<o.length;l++){let u=o[l],c=a[u];c&&(Array.isArray(c)?s.push(...c):s.push(c))}}return i}var kK={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],TSImportEqualsDeclaration:["id"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]};qh.keys=kK});var $x=x(Su=>{"use strict";Object.defineProperty(Su,"__esModule",{value:!0});Su.default=void 0;var FK=Do(),QDe=Su.default=LK;function LK(e,t){return(0,FK.default)(e,t,!0)}});var Kx=x(Vh=>{"use strict";Object.defineProperty(Vh,"__esModule",{value:!0});Vh.default=MK;var on=Wt();function jK(e){return(0,on.isNullLiteral)(e)?"null":(0,on.isRegExpLiteral)(e)?`/${e.pattern}/${e.flags}`:(0,on.isTemplateLiteral)(e)?e.quasis.map(t=>t.value.raw).join(""):e.value!==void 0?String(e.value):null}function Wx(e){if(!e.computed||(0,on.isLiteral)(e.key))return e.key}function MK(e,t){if("id"in e&&e.id)return{name:e.id.name,originalNode:e.id};let r="",n;if((0,on.isObjectProperty)(t,{value:e})?n=Wx(t):(0,on.isObjectMethod)(e)||(0,on.isClassMethod)(e)?(n=Wx(e),e.kind==="get"?r="get ":e.kind==="set"&&(r="set ")):(0,on.isVariableDeclarator)(t,{init:e})?n=t.id:(0,on.isAssignmentExpression)(t,{operator:"=",right:e})&&(n=t.left),!n)return null;let s=(0,on.isLiteral)(n)?jK(n):(0,on.isIdentifier)(n)?n.name:(0,on.isPrivateName)(n)?n.id.name:null;return s==null?null:{name:r+s,originalNode:n}}});var Hx=x(Wh=>{"use strict";Object.defineProperty(Wh,"__esModule",{value:!0});Wh.default=qK;var RK=an();function qK(e,t,r){typeof t=="function"&&(t={enter:t});let{enter:n,exit:s}=t;$h(e,n,s,r,[])}function $h(e,t,r,n,s){let i=RK.VISITOR_KEYS[e.type];if(i){t&&t(e,s,n);for(let a of i){let o=e[a];if(Array.isArray(o))for(let l=0;l<o.length;l++){let u=o[l];u&&(s.push({node:e,key:a,index:l}),$h(u,t,r,n,s),s.pop())}else o&&(s.push({node:e,key:a}),$h(o,t,r,n,s),s.pop())}r&&r(e,s,n)}}});var Gx=x(Kh=>{"use strict";Object.defineProperty(Kh,"__esModule",{value:!0});Kh.default=VK;var UK=Do();function VK(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression")return!1;let n=UK.default.keys[t.type];if(n)for(let s=0;s<n.length;s++){let i=n[s],a=t[i];if(Array.isArray(a)){if(a.includes(e))return!0}else if(a===e)return!0}return!1}});var Gh=x(Hh=>{"use strict";Object.defineProperty(Hh,"__esModule",{value:!0});Hh.default=WK;var $K=Wt();Xx=Symbol.for("var used to be block scoped");var Xx;function WK(e){return(0,$K.isVariableDeclaration)(e)&&(e.kind!=="var"||e[Xx])}});var Jx=x(Xh=>{"use strict";Object.defineProperty(Xh,"__esModule",{value:!0});Xh.default=HK;var Yx=Wt(),KK=Gh();function HK(e){return(0,Yx.isFunctionDeclaration)(e)||(0,Yx.isClassDeclaration)(e)||(0,KK.default)(e)}});var zx=x(Yh=>{"use strict";Object.defineProperty(Yh,"__esModule",{value:!0});Yh.default=YK;var GK=su(),XK=Wt();function YK(e){return(0,GK.default)(e.type,"Immutable")?!0:(0,XK.isIdentifier)(e)?e.name==="undefined":!1}});var Zx=x(zh=>{"use strict";Object.defineProperty(zh,"__esModule",{value:!0});zh.default=Jh;var Qx=an();function Jh(e,t){if(typeof e!="object"||typeof t!="object"||e==null||t==null)return e===t;if(e.type!==t.type)return!1;let r=Object.keys(Qx.NODE_FIELDS[e.type]||e.type),n=Qx.VISITOR_KEYS[e.type];for(let s of r){let i=e[s],a=t[s];if(typeof i!=typeof a)return!1;if(!(i==null&&a==null)){if(i==null||a==null)return!1;if(Array.isArray(i)){if(!Array.isArray(a)||i.length!==a.length)return!1;for(let o=0;o<i.length;o++)if(!Jh(i[o],a[o]))return!1;continue}if(typeof i=="object"&&!(n!=null&&n.includes(s))){for(let o of Object.keys(i))if(i[o]!==a[o])return!1;continue}if(!Jh(i,a))return!1}}return!0}});var eS=x(Qh=>{"use strict";Object.defineProperty(Qh,"__esModule",{value:!0});Qh.default=JK;function JK(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e?!!t.computed:!1;case"ObjectProperty":return t.key===e?!!t.computed:!r||r.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":return t.key===e?!!t.computed:!0;case"ClassPrivateProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return!1;case"CatchClause":return!1;case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":return r!=null&&r.source?!1:t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":return t.key===e?!!t.computed:!0}return!0}});var tS=x(Zh=>{"use strict";Object.defineProperty(Zh,"__esModule",{value:!0});Zh.default=zK;var mi=Wt();function zK(e,t){return(0,mi.isBlockStatement)(e)&&((0,mi.isFunction)(t)||(0,mi.isCatchClause)(t))?!1:(0,mi.isPattern)(e)&&((0,mi.isFunction)(t)||(0,mi.isCatchClause)(t))?!0:(0,mi.isScopable)(e)}});var nS=x(em=>{"use strict";Object.defineProperty(em,"__esModule",{value:!0});em.default=QK;var rS=Wt();function QK(e){return(0,rS.isImportDefaultSpecifier)(e)||(0,rS.isIdentifier)(e.imported||e.exported,{name:"default"})}});var sS=x(tm=>{"use strict";Object.defineProperty(tm,"__esModule",{value:!0});tm.default=tH;var ZK=aa(),eH=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function tH(e){return(0,ZK.default)(e)&&!eH.has(e)}});var aS=x(rm=>{"use strict";Object.defineProperty(rm,"__esModule",{value:!0});rm.default=nH;var rH=Wt();iS=Symbol.for("var used to be block scoped");var iS;function nH(e){return(0,rH.isVariableDeclaration)(e,{kind:"var"})&&!e[iS]}});var oS=x(im=>{"use strict";Object.defineProperty(im,"__esModule",{value:!0});im.default=vu;var sH=Do(),yi=Wt(),nm=Kr(),sm=eh(),iH=Bs();function vu(e,t){let r=[],n=!0;for(let s of e)if((0,yi.isEmptyStatement)(s)||(n=!1),(0,yi.isExpression)(s))r.push(s);else if((0,yi.isExpressionStatement)(s))r.push(s.expression);else if((0,yi.isVariableDeclaration)(s)){if(s.kind!=="var")return;for(let i of s.declarations){let a=(0,sH.default)(i);for(let o of Object.keys(a))t.push({kind:s.kind,id:(0,iH.default)(a[o])});i.init&&r.push((0,nm.assignmentExpression)("=",i.id,i.init))}n=!0}else if((0,yi.isIfStatement)(s)){let i=s.consequent?vu([s.consequent],t):(0,sm.buildUndefinedNode)(),a=s.alternate?vu([s.alternate],t):(0,sm.buildUndefinedNode)();if(!i||!a)return;r.push((0,nm.conditionalExpression)(s.test,i,a))}else if((0,yi.isBlockStatement)(s)){let i=vu(s.body,t);if(!i)return;r.push(i)}else if((0,yi.isEmptyStatement)(s))e.indexOf(s)===0&&(n=!0);else return;return n&&r.push((0,sm.buildUndefinedNode)()),r.length===1?r[0]:(0,nm.sequenceExpression)(r)}});var lS=x(am=>{"use strict";Object.defineProperty(am,"__esModule",{value:!0});am.default=oH;var aH=oS();function oH(e,t){if(!(e!=null&&e.length))return;let r=[],n=(0,aH.default)(e,r);if(n){for(let s of r)t.push(s);return n}}});var Fe=x(le=>{"use strict";Object.defineProperty(le,"__esModule",{value:!0});var ks={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getAssignmentIdentifiers:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,getFunctionName:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(le,"__internal__deprecationWarning",{enumerable:!0,get:function(){return pG.default}});Object.defineProperty(le,"addComment",{enumerable:!0,get:function(){return EH.default}});Object.defineProperty(le,"addComments",{enumerable:!0,get:function(){return TH.default}});Object.defineProperty(le,"appendToMemberExpression",{enumerable:!0,get:function(){return FH.default}});Object.defineProperty(le,"assertNode",{enumerable:!0,get:function(){return pH.default}});Object.defineProperty(le,"buildMatchMemberExpression",{enumerable:!0,get:function(){return cG.default}});Object.defineProperty(le,"clone",{enumerable:!0,get:function(){return mH.default}});Object.defineProperty(le,"cloneDeep",{enumerable:!0,get:function(){return yH.default}});Object.defineProperty(le,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return gH.default}});Object.defineProperty(le,"cloneNode",{enumerable:!0,get:function(){return hH.default}});Object.defineProperty(le,"cloneWithoutLoc",{enumerable:!0,get:function(){return bH.default}});Object.defineProperty(le,"createFlowUnionType",{enumerable:!0,get:function(){return uS.default}});Object.defineProperty(le,"createTSUnionType",{enumerable:!0,get:function(){return dH.default}});Object.defineProperty(le,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return fH.default}});Object.defineProperty(le,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return uS.default}});Object.defineProperty(le,"ensureBlock",{enumerable:!0,get:function(){return CH.default}});Object.defineProperty(le,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return UH.default}});Object.defineProperty(le,"getBindingIdentifiers",{enumerable:!0,get:function(){return VH.default}});Object.defineProperty(le,"getFunctionName",{enumerable:!0,get:function(){return WH.default}});Object.defineProperty(le,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return $H.default}});Object.defineProperty(le,"inheritInnerComments",{enumerable:!0,get:function(){return xH.default}});Object.defineProperty(le,"inheritLeadingComments",{enumerable:!0,get:function(){return SH.default}});Object.defineProperty(le,"inheritTrailingComments",{enumerable:!0,get:function(){return PH.default}});Object.defineProperty(le,"inherits",{enumerable:!0,get:function(){return LH.default}});Object.defineProperty(le,"inheritsComments",{enumerable:!0,get:function(){return vH.default}});Object.defineProperty(le,"is",{enumerable:!0,get:function(){return GH.default}});Object.defineProperty(le,"isBinding",{enumerable:!0,get:function(){return XH.default}});Object.defineProperty(le,"isBlockScoped",{enumerable:!0,get:function(){return YH.default}});Object.defineProperty(le,"isImmutable",{enumerable:!0,get:function(){return JH.default}});Object.defineProperty(le,"isLet",{enumerable:!0,get:function(){return zH.default}});Object.defineProperty(le,"isNode",{enumerable:!0,get:function(){return QH.default}});Object.defineProperty(le,"isNodesEquivalent",{enumerable:!0,get:function(){return ZH.default}});Object.defineProperty(le,"isPlaceholderType",{enumerable:!0,get:function(){return eG.default}});Object.defineProperty(le,"isReferenced",{enumerable:!0,get:function(){return tG.default}});Object.defineProperty(le,"isScope",{enumerable:!0,get:function(){return rG.default}});Object.defineProperty(le,"isSpecifierDefault",{enumerable:!0,get:function(){return nG.default}});Object.defineProperty(le,"isType",{enumerable:!0,get:function(){return sG.default}});Object.defineProperty(le,"isValidES3Identifier",{enumerable:!0,get:function(){return iG.default}});Object.defineProperty(le,"isValidIdentifier",{enumerable:!0,get:function(){return aG.default}});Object.defineProperty(le,"isVar",{enumerable:!0,get:function(){return oG.default}});Object.defineProperty(le,"matchesPattern",{enumerable:!0,get:function(){return lG.default}});Object.defineProperty(le,"prependToMemberExpression",{enumerable:!0,get:function(){return jH.default}});le.react=void 0;Object.defineProperty(le,"removeComments",{enumerable:!0,get:function(){return AH.default}});Object.defineProperty(le,"removeProperties",{enumerable:!0,get:function(){return MH.default}});Object.defineProperty(le,"removePropertiesDeep",{enumerable:!0,get:function(){return RH.default}});Object.defineProperty(le,"removeTypeDuplicates",{enumerable:!0,get:function(){return qH.default}});Object.defineProperty(le,"shallowEqual",{enumerable:!0,get:function(){return HH.default}});Object.defineProperty(le,"toBindingIdentifierName",{enumerable:!0,get:function(){return DH.default}});Object.defineProperty(le,"toBlock",{enumerable:!0,get:function(){return wH.default}});Object.defineProperty(le,"toComputedKey",{enumerable:!0,get:function(){return IH.default}});Object.defineProperty(le,"toExpression",{enumerable:!0,get:function(){return _H.default}});Object.defineProperty(le,"toIdentifier",{enumerable:!0,get:function(){return NH.default}});Object.defineProperty(le,"toKeyAlias",{enumerable:!0,get:function(){return OH.default}});Object.defineProperty(le,"toStatement",{enumerable:!0,get:function(){return BH.default}});Object.defineProperty(le,"traverse",{enumerable:!0,get:function(){return Pu.default}});Object.defineProperty(le,"traverseFast",{enumerable:!0,get:function(){return KH.default}});Object.defineProperty(le,"validate",{enumerable:!0,get:function(){return uG.default}});Object.defineProperty(le,"valueToNode",{enumerable:!0,get:function(){return kH.default}});var lH=pT(),uH=fT(),cH=sx(),pH=ix(),om=ax();Object.keys(om).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ks,e)||e in le&&le[e]===om[e]||Object.defineProperty(le,e,{enumerable:!0,get:function(){return om[e]}})});var fH=ox(),uS=cx(),dH=hx(),lm=eh();Object.keys(lm).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ks,e)||e in le&&le[e]===lm[e]||Object.defineProperty(le,e,{enumerable:!0,get:function(){return lm[e]}})});var um=Kr();Object.keys(um).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ks,e)||e in le&&le[e]===um[e]||Object.defineProperty(le,e,{enumerable:!0,get:function(){return um[e]}})});var hH=Bs(),mH=Tx(),yH=xx(),gH=Sx(),bH=vx(),EH=Px(),TH=lh(),xH=fh(),SH=hh(),vH=bh(),PH=yh(),AH=Ax(),cm=Cx();Object.keys(cm).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ks,e)||e in le&&le[e]===cm[e]||Object.defineProperty(le,e,{enumerable:!0,get:function(){return cm[e]}})});var pm=oa();Object.keys(pm).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ks,e)||e in le&&le[e]===pm[e]||Object.defineProperty(le,e,{enumerable:!0,get:function(){return pm[e]}})});var CH=Dx(),DH=wx(),wH=Sh(),IH=Ix(),_H=_x(),NH=Ah(),OH=Fx(),BH=Lx(),kH=jx(),fm=an();Object.keys(fm).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ks,e)||e in le&&le[e]===fm[e]||Object.defineProperty(le,e,{enumerable:!0,get:function(){return fm[e]}})});var FH=Mx(),LH=qx(),jH=Ux(),MH=Nh(),RH=Bh(),qH=Yd(),UH=Vx(),VH=Do(),$H=$x(),WH=Kx(),Pu=Hx();Object.keys(Pu).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ks,e)||e in le&&le[e]===Pu[e]||Object.defineProperty(le,e,{enumerable:!0,get:function(){return Pu[e]}})});var KH=Ih(),HH=ru(),GH=sa(),XH=Gx(),YH=Jx(),JH=zx(),zH=Gh(),QH=Hd(),ZH=Zx(),eG=gd(),tG=eS(),rG=tS(),nG=nS(),sG=su(),iG=sS(),aG=aa(),oG=aS(),lG=pd(),uG=lu(),cG=dd(),dm=Wt();Object.keys(dm).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ks,e)||e in le&&le[e]===dm[e]||Object.defineProperty(le,e,{enumerable:!0,get:function(){return dm[e]}})});var pG=na(),fG=lS(),hwe=le.react={isReactComponent:lH.default,isCompatTag:uH.default,buildChildren:cH.default};le.toSequenceExpression=fG.default;process.env.BABEL_TYPES_8_BREAKING&&console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")});var cS=x(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.statements=ln.statement=ln.smart=ln.program=ln.expression=void 0;var dG=Fe(),{assertExpressionStatement:hG}=dG;function hm(e){return{code:t=>`/* @babel/template */;
|
|
10
10
|
${t}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}var ywe=ln.smart=hm(e=>e.length>1?e:e[0]),gwe=ln.statements=hm(e=>e),bwe=ln.statement=hm(e=>{if(e.length===0)throw new Error("Found nothing to return.");if(e.length>1)throw new Error("Found multiple statements but wanted one");return e[0]}),mG=ln.expression={code:e=>`(
|
|
11
11
|
${e}
|
|
12
12
|
)`,validate:e=>{if(e.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(mG.unwrap(e).start===0)throw new Error("Parse result included parens.")},unwrap:({program:e})=>{let[t]=e.body;return hG(t),t.expression}},Ewe=ln.program={code:e=>e,validate:()=>{},unwrap:e=>e.program}});var Au=x(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.merge=bG;wo.normalizeReplacements=TG;wo.validate=EG;var yG=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function gG(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function bG(e,t){let{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:n=e.placeholderPattern,preserveComments:s=e.preserveComments,syntacticPlaceholders:i=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:n,preserveComments:s,syntacticPlaceholders:i}}function EG(e){if(e!=null&&typeof e!="object")throw new Error("Unknown template options.");let t=e||{},{placeholderWhitelist:r,placeholderPattern:n,preserveComments:s,syntacticPlaceholders:i}=t,a=gG(t,yG);if(r!=null&&!(r instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(n!=null&&!(n instanceof RegExp)&&n!==!1)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(s!=null&&typeof s!="boolean")throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(i!=null&&typeof i!="boolean")throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(i===!0&&(r!=null||n!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:a,placeholderWhitelist:r||void 0,placeholderPattern:n==null?void 0:n,preserveComments:s==null?void 0:s,syntacticPlaceholders:i==null?void 0:i}}function TG(e){if(Array.isArray(e))return e.reduce((t,r,n)=>(t["$"+n]=r,t),{});if(typeof e=="object"||e==null)return e||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")}});var Ro=x(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});function xG(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var Wn=class{constructor(t,r,n){this.line=void 0,this.column=void 0,this.index=void 0,this.line=t,this.column=r,this.index=n}},ga=class{constructor(t,r){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=t,this.end=r}};function Fr(e,t){let{line:r,column:n,index:s}=e;return new Wn(r,n+t,s+t)}var pS="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",SG={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:pS},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:pS}},fS={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},wu=e=>e.type==="UpdateExpression"?fS.UpdateExpression[`${e.prefix}`]:fS[e.type],vG={AccessorIsGenerator:({kind:e})=>`A ${e}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:e})=>`Missing initializer in ${e} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:e})=>`\`${e}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:e,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.
|
|
@@ -34,7 +34,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
34
34
|
`).join(`
|
|
35
35
|
`+i),e.push(s+"m+"+Xu.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=oJ()+t+" "+e[0]}function oJ(){return lr.inspectOpts.hideDate?"":new Date().toISOString()+" "}function lJ(...e){return process.stderr.write(Gu.formatWithOptions(lr.inspectOpts,...e)+`
|
|
36
36
|
`)}function uJ(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function cJ(){return process.env.DEBUG}function pJ(e){e.inspectOpts={};let t=Object.keys(lr.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=lr.inspectOpts[t[r]]}Xu.exports=py()(lr);var{formatters:vv}=Xu.exports;vv.o=function(e){return this.inspectOpts.colors=this.useColors,Gu.inspect(e,this.inspectOpts).split(`
|
|
37
|
-
`).map(t=>t.trim()).join(" ")};vv.O=function(e){return this.inspectOpts.colors=this.useColors,Gu.inspect(e,this.inspectOpts)}});var Ti=x((fIe,dy)=>{typeof process=="undefined"||process.type==="renderer"||process.browser===!0||process.__nwjs?dy.exports=gv():dy.exports=Pv()});var my=x(rr=>{"use strict";Object.defineProperty(rr,"__esModule",{value:!0});rr.isBindingIdentifier=kJ;rr.isBlockScoped=RJ;rr.isExpression=LJ;rr.isFlow=WJ;rr.isForAwaitStatement=GJ;rr.isGenerated=VJ;rr.isPure=$J;rr.isReferenced=MJ;rr.isReferencedIdentifier=OJ;rr.isReferencedMemberExpression=BJ;rr.isRestProperty=KJ;rr.isScope=jJ;rr.isSpreadProperty=HJ;rr.isStatement=FJ;rr.isUser=UJ;rr.isVar=qJ;var fJ=Fe(),{isBinding:dJ,isBlockScoped:hJ,isExportDeclaration:mJ,isExpression:yJ,isFlow:gJ,isForStatement:bJ,isForXStatement:EJ,isIdentifier:Av,isImportDeclaration:TJ,isImportSpecifier:xJ,isJSXIdentifier:SJ,isJSXMemberExpression:vJ,isMemberExpression:PJ,isRestElement:Cv,isReferenced:hy,isScope:AJ,isStatement:CJ,isVar:DJ,isVariableDeclaration:wJ,react:IJ,isForOfStatement:_J}=fJ,{isCompatTag:NJ}=IJ;function OJ(e){let{node:t,parent:r}=this;if(!Av(t,e)&&!vJ(r,e))if(SJ(t,e)){if(NJ(t.name))return!1}else return!1;return hy(t,r,this.parentPath.parent)}function BJ(){let{node:e,parent:t}=this;return PJ(e)&&hy(e,t)}function kJ(){let{node:e,parent:t}=this,r=this.parentPath.parent;return Av(e)&&dJ(e,t,r)}function FJ(){let{node:e,parent:t}=this;return CJ(e)?!(wJ(e)&&(EJ(t,{left:e})||bJ(t,{init:e}))):!1}function LJ(){return this.isIdentifier()?this.isReferencedIdentifier():yJ(this.node)}function jJ(){return AJ(this.node,this.parent)}function MJ(){return hy(this.node,this.parent)}function RJ(){return hJ(this.node)}function qJ(){return DJ(this.node)}function UJ(){return this.node&&!!this.node.loc}function VJ(){return!this.isUser()}function $J(e){return this.scope.isPure(this.node,e)}function WJ(){let{node:e}=this;return gJ(e)?!0:TJ(e)?e.importKind==="type"||e.importKind==="typeof":mJ(e)?e.exportKind==="type":xJ(e)?e.importKind==="type"||e.importKind==="typeof":!1}function KJ(){var e;return Cv(this.node)&&((e=this.parentPath)==null?void 0:e.isObjectPattern())}function HJ(){var e;return Cv(this.node)&&((e=this.parentPath)==null?void 0:e.isObjectExpression())}function GJ(){return _J(this.node,{await:!0})}rr.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},rr.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var Yu=x(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.environmentVisitor=tz;Si.explode=jv;Si.isExplodedVisitor=Lv;Si.merge=Rv;Si.verify=Mv;var Fv=cy(),XJ=my(),YJ=Fe(),Dv=Pn(),{DEPRECATED_KEYS:wv,DEPRECATED_ALIASES:Iv,FLIPPED_ALIAS_KEYS:_v,TYPES:JJ,__internal__deprecationWarning:Nv}=YJ;function zJ(e){return e in Fv}function Lv(e){return e==null?void 0:e._exploded}function jv(e){if(Lv(e))return e;e._exploded=!0;for(let t of Object.keys(e)){if(xi(t))continue;let r=t.split("|");if(r.length===1)continue;let n=e[t];delete e[t];for(let s of r)e[s]=n}Mv(e),delete e.__esModule,QJ(e),kv(e);for(let t of Object.keys(e)){if(xi(t)||!zJ(t))continue;let r=e[t];for(let s of Object.keys(r))r[s]=ZJ(t,r[s]);delete e[t];let n=Fv[t];if(n!==null)for(let s of n)e[s]?Wo(e[s],r):e[s]=r;else Wo(e,r)}for(let t of Object.keys(e)){if(xi(t))continue;let r=_v[t];if(t in wv){let s=wv[t];Nv(t,s,"Visitor "),r=[s]}else if(t in Iv){let s=Iv[t];Nv(t,s,"Visitor "),r=_v[s]}if(!r)continue;let n=e[t];delete e[t];for(let s of r){let i=e[s];i?Wo(i,n):e[s]=Object.assign({},n)}}for(let t of Object.keys(e))xi(t)||kv(e[t]);return e}function Mv(e){if(!e._verified){if(typeof e=="function")throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(let t of Object.keys(e)){if((t==="enter"||t==="exit")&&Ov(t,e[t]),xi(t))continue;if(!JJ.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.28.0`);let r=e[t];if(typeof r=="object")for(let n of Object.keys(r))if(n==="enter"||n==="exit")Ov(`${t}.${n}`,r[n]);else throw new Error(`You passed \`traverse()\` a visitor object with the property ${t} that has the invalid property ${n}`)}e._verified=!0}}function Ov(e,t){let r=[].concat(t);for(let n of r)if(typeof n!="function")throw new TypeError(`Non-function found defined in ${e} with type ${typeof n}`)}function Rv(e,t=[],r){let n={_verified:!0,_exploded:!0};Object.defineProperty(n,"_exploded",{enumerable:!1}),Object.defineProperty(n,"_verified",{enumerable:!1});for(let s=0;s<e.length;s++){let i=jv(e[s]),a=t[s],o=i;(a||r)&&(o=Bv(o,a,r)),Wo(n,o);for(let l of Object.keys(i)){if(xi(l))continue;let u=i[l];(a||r)&&(u=Bv(u,a,r));let c=n[l]||(n[l]={});Wo(c,u)}}return n}function Bv(e,t,r){let n={};for(let s of["enter","exit"]){let i=e[s];Array.isArray(i)&&(i=i.map(function(a){let o=a;return t&&(o=function(l){a.call(t,l,t)}),r&&(o=r(t==null?void 0:t.key,s,o)),o!==a&&(o.toString=()=>a.toString()),o}),n[s]=i)}return n}function QJ(e){for(let t of Object.keys(e)){if(xi(t))continue;let r=e[t];typeof r=="function"&&(e[t]={enter:r})}}function kv(e){e.enter&&!Array.isArray(e.enter)&&(e.enter=[e.enter]),e.exit&&!Array.isArray(e.exit)&&(e.exit=[e.exit])}function ZJ(e,t){let r=`is${e}`,n=XJ[r],s=function(i){if(n.call(i))return t.apply(this,arguments)};return s.toString=()=>t.toString(),s}function xi(e){return e[0]==="_"||e==="enter"||e==="exit"||e==="shouldSkip"||e==="denylist"||e==="noScope"||e==="skipKeys"||e==="blacklist"}function Wo(e,t){for(let r of["enter","exit"])t[r]&&(e[r]=[].concat(e[r]||[],t[r]))}var ez={FunctionParent(e){e.isArrowFunctionExpression()||(e.skip(),e.isMethod()&&(e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():Dv.requeueComputedKeyAndDecorators.call(e)))},Property(e){e.isObjectProperty()||(e.skip(),e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():Dv.requeueComputedKeyAndDecorators.call(e))}};function tz(e){return Rv([ez,e])}});var qv=x(zu=>{"use strict";Object.defineProperty(zu,"__esModule",{value:!0});zu.default=void 0;var Ju=Fe(),rz=Ju,nz=Qu(),sz=Yu(),iz=Pn(),{getAssignmentIdentifiers:az}=rz,oz={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():iz.requeueComputedKeyAndDecorators.call(e)))},ObjectProperty({node:e,scope:t},r){let{name:n}=e.key;if(e.shorthand&&(n===r.oldName||n===r.newName)&&t.getBindingIdentifier(n)===r.binding.identifier){e.shorthand=!1;{var s;(s=e.extra)!=null&&s.shorthand&&(e.extra.shorthand=!1)}}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;let r=e.isAssignmentExpression()?az(e.node):e.getOuterBindingIdentifiers();for(let n in r)n===t.oldName&&(r[n].name=t.newName)}},yy=class{constructor(t,r,n){this.newName=n,this.oldName=r,this.binding=t}maybeConvertFromExportDeclaration(t){let r=t.parentPath;if(r.isExportDeclaration()){if(r.isExportDefaultDeclaration()){let{declaration:n}=r.node;if(Ju.isDeclaration(n)&&!n.id)return}r.isExportAllDeclaration()||r.splitExportDeclaration()}}maybeConvertFromClassFunctionDeclaration(t){return t}maybeConvertFromClassFunctionExpression(t){return t}rename(){let{binding:t,oldName:r,newName:n}=this,{scope:s,path:i}=t,a=i.find(u=>u.isDeclaration()||u.isFunctionExpression()||u.isClassExpression());a&&a.getOuterBindingIdentifiers()[r]===t.identifier&&this.maybeConvertFromExportDeclaration(a);let o=arguments[0]||s.block,l={discriminant:!0};Ju.isMethod(o)&&(o.computed&&(l.key=!0),Ju.isObjectMethod(o)||(l.decorators=!0)),(0,nz.traverseNode)(o,(0,sz.explode)(oz),s,this,s.path,l),arguments[0]||(s.removeOwnBinding(r),s.bindings[n]=t,this.binding.identifier.name=n),a&&(this.maybeConvertFromClassFunctionDeclaration(i),this.maybeConvertFromClassFunctionExpression(i))}};zu.default=yy});var Uv=x(Zu=>{"use strict";Object.defineProperty(Zu,"__esModule",{value:!0});Zu.default=void 0;var gy=class{constructor({identifier:t,scope:r,path:n,kind:s}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=t,this.scope=r,this.path=n,this.kind=s,(s==="var"||s==="hoisted")&&lz(n)&&this.reassign(n),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(t){this.hasDeoptedValue||(this.hasValue=!0,this.value=t)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(t){this.constant=!1,!this.constantViolations.includes(t)&&this.constantViolations.push(t)}reference(t){this.referencePaths.includes(t)||(this.referenced=!0,this.references++,this.referencePaths.push(t))}dereference(){this.references--,this.referenced=!!this.references}};Zu.default=gy;function lz(e){let t=!e.isVariableDeclarator()||e.node.init;for(let{parentPath:r,key:n}=e;r;{parentPath:r,key:n}=r){if(r.isFunctionParent())return!1;if(n==="left"&&r.isForXStatement()||t&&n==="body"&&r.isLoop())return!0}return!1}});var vi=x(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.clear=cz;Jr.clearPath=Vv;Jr.clearScope=$v;Jr.getCachedPaths=pz;Jr.getOrCreateCachedPaths=fz;Jr.scope=Jr.path=void 0;var ec=Jr.path=new WeakMap,uz=Jr.scope=new WeakMap;function cz(){Vv(),$v()}function Vv(){Jr.path=ec=new WeakMap}function $v(){Jr.scope=uz=new WeakMap}function pz(e){let{parent:t,parentPath:r}=e;return ec.get(t)}function fz(e,t){let r=ec.get(e);return r||ec.set(e,r=new Map),r}});var Wv=x((bIe,dz)=>{dz.exports=["decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","globalThis","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"]});var Kv=x((EIe,hz)=>{hz.exports=["AggregateError","Array","ArrayBuffer","Atomics","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","Date","Error","EvalError","FinalizationRegistry","Float16Array","Float32Array","Float64Array","Function","Infinity","Int16Array","Int32Array","Int8Array","Intl","Iterator","JSON","Map","Math","NaN","Number","Object","Promise","Proxy","RangeError","ReferenceError","Reflect","RegExp","Set","SharedArrayBuffer","String","Symbol","SyntaxError","TypeError","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","URIError","WeakMap","WeakRef","WeakSet"]});var Sy=x(tc=>{"use strict";Object.defineProperty(tc,"__esModule",{value:!0});tc.default=void 0;var mz=qv(),eP=zt(),yz=Uv(),tP=Fe(),rP=tP,Hv=vi(),gz=Wv(),bz=Kv(),{assignmentExpression:Ez,callExpression:Gv,cloneNode:Xv,getBindingIdentifiers:nP,identifier:Ai,isArrayExpression:sP,isBinary:Tz,isCallExpression:Yv,isClass:xz,isClassBody:Sz,isClassDeclaration:vz,isExportAllDeclaration:iP,isExportDefaultDeclaration:Pz,isExportNamedDeclaration:by,isFunctionDeclaration:Az,isIdentifier:Pi,isImportDeclaration:Ey,isLiteral:Cz,isMemberExpression:Dz,isMethod:wz,isModuleSpecifier:Iz,isNullLiteral:_z,isObjectExpression:Nz,isProperty:Oz,isPureish:Bz,isRegExpLiteral:kz,isSuper:Fz,isTaggedTemplateExpression:Lz,isTemplateLiteral:aP,isThisExpression:Jv,isUnaryExpression:jz,isVariableDeclaration:Mz,expressionStatement:Rz,matchesPattern:zv,memberExpression:Ty,numericLiteral:qz,toIdentifier:Uz,variableDeclaration:Vz,variableDeclarator:$z,isRecordExpression:Wz,isTupleExpression:Kz,isObjectProperty:Hz,isTopicReference:Qv,isMetaProperty:Gz,isPrivateName:Xz,isExportDeclaration:Yz,buildUndefinedNode:Jz,sequenceExpression:zz}=tP;function _t(e,t){switch(e==null?void 0:e.type){default:if(Ey(e)||Yz(e)){var r;if((iP(e)||by(e)||Ey(e))&&e.source)_t(e.source,t);else if((by(e)||Ey(e))&&(r=e.specifiers)!=null&&r.length)for(let n of e.specifiers)_t(n,t);else(Pz(e)||by(e))&&e.declaration&&_t(e.declaration,t)}else Iz(e)?_t(e.local,t):Cz(e)&&!_z(e)&&!kz(e)&&!aP(e)&&t.push(e.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":_t(e.object,t),_t(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":_t(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(let n of e.properties)_t(n,t);break;case"SpreadElement":case"RestElement":_t(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":_t(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":case"ImportExpression":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield"),_t(e.argument,t);break;case"AwaitExpression":t.push("await"),_t(e.argument,t);break;case"AssignmentExpression":_t(e.left,t);break;case"VariableDeclarator":_t(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":_t(e.id,t);break;case"PrivateName":_t(e.id,t);break;case"ParenthesizedExpression":_t(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":_t(e.argument,t);break;case"MetaProperty":_t(e.meta,t),_t(e.property,t);break;case"JSXElement":_t(e.openingElement,t);break;case"JSXOpeningElement":_t(e.name,t);break;case"JSXFragment":_t(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":_t(e.namespace,t),_t(e.name,t);break}}function Zv(e){e.references=Object.create(null),e.uids=Object.create(null),e.bindings=Object.create(null),e.globals=Object.create(null)}xy=Symbol.for("should not be considered a local binding");var xy,Qz={ForStatement(e){let t=e.get("init");if(t.isVar()){let{scope:r}=e;(r.getFunctionParent()||r.getProgramParent()).registerBinding("var",t)}},Declaration(e){if(e.isBlockScoped()||e.isImportDeclaration()||e.isExportDeclaration())return;(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){rP.isTSQualifiedName(e.parent)&&e.parent.right===e.node||e.parentPath.isTSImportEqualsDeclaration()||t.references.push(e)},ForXStatement(e,t){let r=e.get("left");if(r.isPattern()||r.isIdentifier())t.constantViolations.push(e);else if(r.isVar()){let{scope:n}=e;(n.getFunctionParent()||n.getProgramParent()).registerBinding("var",r)}},ExportDeclaration:{exit(e){let{node:t,scope:r}=e;if(iP(t))return;let n=t.declaration;if(vz(n)||Az(n)){let s=n.id;if(!s)return;let i=r.getBinding(s.name);i==null||i.reference(e)}else if(Mz(n))for(let s of n.declarations)for(let i of Object.keys(nP(s))){let a=r.getBinding(i);a==null||a.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){e.node.operator==="delete"&&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){let s=e.node.id.name;e.scope.bindings[s]=e.scope.parent.getBinding(s)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){let t=e.get("params");for(let r of t)e.scope.registerBinding("param",r);e.isFunctionExpression()&&e.node.id&&!e.node.id[xy]&&e.scope.registerBinding("local",e.get("id"),e)},ClassExpression(e){e.node.id&&!e.node.id[xy]&&e.scope.registerBinding("local",e.get("id"),e)},TSTypeAnnotation(e){e.skip()}},Ko,Zz=0,An=class e{constructor(t){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;let{node:r}=t,n=Hv.scope.get(r);if((n==null?void 0:n.path)===t)return n;Hv.scope.set(r,this),this.uid=Zz++,this.block=r,this.path=t,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 t;let r,n=this.path;do{var s;let i=n.key==="key"||n.listKey==="decorators";n=n.parentPath,i&&n.isMethod()&&(n=n.parentPath),(s=n)!=null&&s.isScope()&&(r=n)}while(n&&!r);return(t=r)==null?void 0:t.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(t){let r=this.generateUidIdentifier(t);return this.push({id:r}),Xv(r)}generateUidIdentifier(t){return Ai(this.generateUid(t))}generateUid(t="temp"){t=Uz(t).replace(/^_+/,"").replace(/\d+$/g,"");let r,n=0;do r=`_${t}`,n>=11?r+=n-1:n>=9?r+=n-9:n>=1&&(r+=n+1),n++;while(this.hasLabel(r)||this.hasBinding(r)||this.hasGlobal(r)||this.hasReference(r));let s=this.getProgramParent();return s.references[r]=!0,s.uids[r]=!0,r}generateUidBasedOnNode(t,r){let n=[];_t(t,n);let s=n.join("$");return s=s.replace(/^_/,"")||r||"ref",this.generateUid(s.slice(0,20))}generateUidIdentifierBasedOnNode(t,r){return Ai(this.generateUidBasedOnNode(t,r))}isStatic(t){if(Jv(t)||Fz(t)||Qv(t))return!0;if(Pi(t)){let r=this.getBinding(t.name);return r?r.constant:this.hasBinding(t.name)}return!1}maybeGenerateMemoised(t,r){if(this.isStatic(t))return null;{let n=this.generateUidIdentifierBasedOnNode(t);return r?n:(this.push({id:n}),Xv(n))}}checkBlockScopedCollisions(t,r,n,s){if(r==="param"||t.kind==="local")return;if(r==="let"||t.kind==="let"||t.kind==="const"||t.kind==="module"||t.kind==="param"&&r==="const")throw this.path.hub.buildError(s,`Duplicate declaration "${n}"`,TypeError)}rename(t,r){let n=this.getBinding(t);n&&(r||(r=this.generateUidIdentifier(t).name),new mz.default(n,t,r).rename(arguments[2]))}dump(){let t="-".repeat(60);console.log(t);let r=this;do{console.log("#",r.block.type);for(let n of Object.keys(r.bindings)){let s=r.bindings[n];console.log(" -",n,{constant:s.constant,references:s.references,violations:s.constantViolations.length,kind:s.kind})}}while(r=r.parent);console.log(t)}hasLabel(t){return!!this.getLabel(t)}getLabel(t){return this.labels.get(t)}registerLabel(t){this.labels.set(t.node.label.name,t)}registerDeclaration(t){if(t.isLabeledStatement())this.registerLabel(t);else if(t.isFunctionDeclaration())this.registerBinding("hoisted",t.get("id"),t);else if(t.isVariableDeclaration()){let r=t.get("declarations"),{kind:n}=t.node;for(let s of r)this.registerBinding(n==="using"||n==="await using"?"const":n,s)}else if(t.isClassDeclaration()){if(t.node.declare)return;this.registerBinding("let",t)}else if(t.isImportDeclaration()){let r=t.node.importKind==="type"||t.node.importKind==="typeof",n=t.get("specifiers");for(let s of n){let i=r||s.isImportSpecifier()&&(s.node.importKind==="type"||s.node.importKind==="typeof");this.registerBinding(i?"unknown":"module",s)}}else if(t.isExportDeclaration()){let r=t.get("declaration");(r.isClassDeclaration()||r.isFunctionDeclaration()||r.isVariableDeclaration())&&this.registerDeclaration(r)}else this.registerBinding("unknown",t)}buildUndefinedNode(){return Jz()}registerConstantViolation(t){let r=t.getAssignmentIdentifiers();for(let s of Object.keys(r)){var n;(n=this.getBinding(s))==null||n.reassign(t)}}registerBinding(t,r,n=r){if(!t)throw new ReferenceError("no `kind`");if(r.isVariableDeclaration()){let a=r.get("declarations");for(let o of a)this.registerBinding(t,o);return}let s=this.getProgramParent(),i=r.getOuterBindingIdentifiers(!0);for(let a of Object.keys(i)){s.references[a]=!0;for(let o of i[a]){let l=this.getOwnBinding(a);if(l){if(l.identifier===o)continue;this.checkBlockScopedCollisions(l,t,a,o)}l?l.reassign(n):this.bindings[a]=new yz.default({identifier:o,scope:this,path:n,kind:t})}}}addGlobal(t){this.globals[t.name]=t}hasUid(t){{let r=this;do if(r.uids[t])return!0;while(r=r.parent);return!1}}hasGlobal(t){let r=this;do if(r.globals[t])return!0;while(r=r.parent);return!1}hasReference(t){return!!this.getProgramParent().references[t]}isPure(t,r){if(Pi(t)){let a=this.getBinding(t.name);return a?r?a.constant:!0:!1}else{if(Jv(t)||Gz(t)||Qv(t)||Xz(t))return!0;if(xz(t)){var n;return t.superClass&&!this.isPure(t.superClass,r)||((n=t.decorators)==null?void 0:n.length)>0?!1:this.isPure(t.body,r)}else if(Sz(t)){for(let a of t.body)if(!this.isPure(a,r))return!1;return!0}else{if(Tz(t))return this.isPure(t.left,r)&&this.isPure(t.right,r);if(sP(t)||Kz(t)){for(let a of t.elements)if(a!==null&&!this.isPure(a,r))return!1;return!0}else if(Nz(t)||Wz(t)){for(let a of t.properties)if(!this.isPure(a,r))return!1;return!0}else if(wz(t)){var s;return!(t.computed&&!this.isPure(t.key,r)||((s=t.decorators)==null?void 0:s.length)>0)}else if(Oz(t)){var i;return!(t.computed&&!this.isPure(t.key,r)||((i=t.decorators)==null?void 0:i.length)>0||(Hz(t)||t.static)&&t.value!==null&&!this.isPure(t.value,r))}else{if(jz(t))return this.isPure(t.argument,r);if(aP(t)){for(let a of t.expressions)if(!this.isPure(a,r))return!1;return!0}else return Lz(t)?zv(t.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(t.quasi,r):Dz(t)?!t.computed&&Pi(t.object)&&t.object.name==="Symbol"&&Pi(t.property)&&t.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0}):Yv(t)?zv(t.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&t.arguments.length===1&&rP.isStringLiteral(t.arguments[0]):Bz(t)}}}}setData(t,r){return this.data[t]=r}getData(t){let r=this;do{let n=r.data[t];if(n!=null)return n}while(r=r.parent)}removeData(t){let r=this;do r.data[t]!=null&&(r.data[t]=null);while(r=r.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){let t=this.path;Zv(this),this.data=Object.create(null);let r=this;do{if(r.crawling)return;if(r.path.isProgram())break}while(r=r.parent);let n=r,s={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,Ko||(Ko=eP.default.visitors.merge([{Scope(i){Zv(i.scope)}},Qz])),t.type!=="Program"){for(let a of Ko.enter)a.call(s,t,s);let i=Ko[t.type];if(i)for(let a of i.enter)a.call(s,t,s)}t.traverse(Ko,s),this.crawling=!1;for(let i of s.assignments){let a=i.getAssignmentIdentifiers();for(let o of Object.keys(a))i.scope.getBinding(o)||n.addGlobal(a[o]);i.scope.registerConstantViolation(i)}for(let i of s.references){let a=i.scope.getBinding(i.node.name);a?a.reference(i):n.addGlobal(i.node)}for(let i of s.constantViolations)i.scope.registerConstantViolation(i)}push(t){let r=this.path;r.isPattern()?r=this.getPatternParent().path:!r.isBlockStatement()&&!r.isProgram()&&(r=this.getBlockParent().path),r.isSwitchStatement()&&(r=(this.getFunctionParent()||this.getProgramParent()).path);let{init:n,unique:s,kind:i="var",id:a}=t;if(!n&&!s&&(i==="var"||i==="let")&&r.isFunction()&&!r.node.name&&Yv(r.parent,{callee:r.node})&&r.parent.arguments.length<=r.node.params.length&&Pi(a)){r.pushContainer("params",a),r.scope.registerBinding("param",r.get("params")[r.node.params.length-1]);return}(r.isLoop()||r.isCatchClause()||r.isFunction())&&(r.ensureBlock(),r=r.get("body"));let o=t._blockHoist==null?2:t._blockHoist,l=`declaration:${i}:${o}`,u=!s&&r.getData(l);if(!u){let d=Vz(i,[]);d._blockHoist=o,[u]=r.unshiftContainer("body",[d]),s||r.setData(l,u)}let c=$z(a,n),p=u.node.declarations.push(c);r.scope.registerBinding(i,u.get("declarations")[p-1])}getProgramParent(){let t=this;do if(t.path.isProgram())return t;while(t=t.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let t=this;do if(t.path.isFunctionParent())return t;while(t=t.parent);return null}getBlockParent(){let t=this;do if(t.path.isBlockParent())return t;while(t=t.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let t=this;do if(!t.path.isPattern())return t.getBlockParent();while(t=t.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let t=Object.create(null),r=this;do{for(let n of Object.keys(r.bindings))n in t||(t[n]=r.bindings[n]);r=r.parent}while(r);return t}bindingIdentifierEquals(t,r){return this.getBindingIdentifier(t)===r}getBinding(t){let r=this,n;do{let i=r.getOwnBinding(t);if(i){var s;if(!((s=n)!=null&&s.isPattern()&&i.kind!=="param"&&i.kind!=="local"))return i}else if(!i&&t==="arguments"&&r.path.isFunction()&&!r.path.isArrowFunctionExpression())break;n=r.path}while(r=r.parent)}getOwnBinding(t){return this.bindings[t]}getBindingIdentifier(t){var r;return(r=this.getBinding(t))==null?void 0:r.identifier}getOwnBindingIdentifier(t){let r=this.bindings[t];return r==null?void 0:r.identifier}hasOwnBinding(t){return!!this.getOwnBinding(t)}hasBinding(t,r){if(!t)return!1;let n,s,i;typeof r=="object"?(n=r.noGlobals,s=r.noUids,i=r.upToScope):typeof r=="boolean"&&(n=r);let a=this;do{if(i===a)break;if(a.hasOwnBinding(t))return!0}while(a=a.parent);return!!(!s&&this.hasUid(t)||!n&&e.globals.includes(t)||!n&&e.contextVariables.includes(t))}parentHasBinding(t,r){var n;return(n=this.parent)==null?void 0:n.hasBinding(t,r)}moveBindingTo(t,r){let n=this.getBinding(t);n&&(n.scope.removeOwnBinding(t),n.scope=r,r.bindings[t]=n)}removeOwnBinding(t){delete this.bindings[t]}removeBinding(t){var r;(r=this.getBinding(t))==null||r.scope.removeOwnBinding(t);{let n=this;do n.uids[t]&&(n.uids[t]=!1);while(n=n.parent)}}hoistVariables(t=r=>this.push({id:r})){this.crawl();let r=new Set;for(let n of Object.keys(this.bindings)){let s=this.bindings[n];if(!s)continue;let{path:i}=s;if(!i.isVariableDeclarator())continue;let{parent:a,parentPath:o}=i;if(a.kind!=="var"||r.has(a))continue;r.add(i.parent);let l,u=[];for(let c of a.declarations){l!=null||(l=c.id),c.init&&u.push(Ez("=",c.id,c.init));let p=Object.keys(nP(c,!1,!0,!0));for(let d of p)t(Ai(d),c.init!=null)}if(o.parentPath.isFor({left:a}))o.replaceWith(l);else if(u.length===0)o.remove();else{let c=u.length===1?u[0]:zz(u);o.parentPath.isForStatement({init:a})?o.replaceWith(c):o.replaceWith(Rz(c))}}}};tc.default=An;An.globals=[...gz,...bz];An.contextVariables=["arguments","undefined","Infinity","NaN"];An.prototype._renameFromMap=function(t,r,n,s){t[r]&&(t[n]=s,t[r]=null)},An.prototype.traverse=function(e,t,r){(0,eP.default)(e,t,this,r,this.path)},An.prototype._generateUid=function(t,r){let n=t;return r>1&&(n+=r),`_${n}`},An.prototype.toArray=function(t,r,n){if(Pi(t)){let a=this.getBinding(t.name);if(a!=null&&a.constant&&a.path.isGenericType("Array"))return t}if(sP(t))return t;if(Pi(t,{name:"arguments"}))return Gv(Ty(Ty(Ty(Ai("Array"),Ai("prototype")),Ai("slice")),Ai("call")),[t]);let s,i=[t];return r===!0?s="toConsumableArray":typeof r=="number"?(i.push(qz(r)),s="slicedToArray"):s="toArray",n&&(i.unshift(this.path.hub.addHelper(s)),s="maybeArrayLike"),Gv(this.path.hub.addHelper(s),i)},An.prototype.getAllBindingsOfKind=function(...t){let r=Object.create(null);for(let n of t){let s=this;do{for(let i of Object.keys(s.bindings)){let a=s.bindings[i];a.kind===n&&(r[i]=a)}s=s.parent}while(s)}return r},Object.defineProperties(An.prototype,{parentBlock:{configurable:!0,enumerable:!0,get(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get(){return this.path.hub}}})});var Ay=x((vy,Py)=>{(function(e,t,r){typeof vy=="object"&&typeof Py!="undefined"?t(Py):typeof define=="function"&&define.amd?define(["module"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,t(r={exports:{}}),e.sourcemapCodec="default"in r.exports?r.exports.default:r.exports)})(vy,function(e){"use strict";var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,i=(V,G)=>{for(var j in G)t(V,j,{get:G[j],enumerable:!0})},a=(V,G,j,re)=>{if(G&&typeof G=="object"||typeof G=="function")for(let de of n(G))!s.call(V,de)&&de!==j&&t(V,de,{get:()=>G[de],enumerable:!(re=r(G,de))||re.enumerable});return V},o=V=>a(t({},"__esModule",{value:!0}),V),l={};i(l,{decode:()=>ze,decodeGeneratedRanges:()=>pe,decodeOriginalScopes:()=>W,encode:()=>se,encodeGeneratedRanges:()=>Ee,encodeOriginalScopes:()=>U}),e.exports=o(l);var u=44,c=59,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=new Uint8Array(64),m=new Uint8Array(128);for(let V=0;V<p.length;V++){let G=p.charCodeAt(V);d[V]=G,m[G]=V}function g(V,G){let j=0,re=0,de=0;do{let Te=V.next();de=m[Te],j|=(de&31)<<re,re+=5}while(de&32);let ye=j&1;return j>>>=1,ye&&(j=-2147483648|-j),G+j}function f(V,G,j){let re=G-j;re=re<0?-re<<1|1:re<<1;do{let de=re&31;re>>>=5,re>0&&(de|=32),V.write(d[de])}while(re>0);return G}function b(V,G){return V.pos>=G?!1:V.peek()!==u}var T=1024*16,w=typeof TextDecoder!="undefined"?new TextDecoder:typeof Buffer!="undefined"?{decode(V){return Buffer.from(V.buffer,V.byteOffset,V.byteLength).toString()}}:{decode(V){let G="";for(let j=0;j<V.length;j++)G+=String.fromCharCode(V[j]);return G}},I=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(T)}write(V){let{buffer:G}=this;G[this.pos++]=V,this.pos===T&&(this.out+=w.decode(G),this.pos=0)}flush(){let{buffer:V,out:G,pos:j}=this;return j>0?G+w.decode(V.subarray(0,j)):G}},N=class{constructor(V){this.pos=0,this.buffer=V}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(V){let{buffer:G,pos:j}=this,re=G.indexOf(V,j);return re===-1?G.length:re}},L=[];function W(V){let{length:G}=V,j=new N(V),re=[],de=[],ye=0;for(;j.pos<G;j.pos++){ye=g(j,ye);let Te=g(j,0);if(!b(j,G)){let ut=de.pop();ut[2]=ye,ut[3]=Te;continue}let he=g(j,0),Ve=g(j,0)&1?[ye,Te,0,0,he,g(j,0)]:[ye,Te,0,0,he],pt=L;if(b(j,G)){pt=[];do{let ut=g(j,0);pt.push(ut)}while(b(j,G))}Ve.vars=pt,re.push(Ve),de.push(Ve)}return re}function U(V){let G=new I;for(let j=0;j<V.length;)j=H(V,j,G,[0]);return G.flush()}function H(V,G,j,re){let de=V[G],{0:ye,1:Te,2:he,3:De,4:we,vars:Ve}=de;G>0&&j.write(u),re[0]=f(j,ye,re[0]),f(j,Te,0),f(j,we,0);let pt=de.length===6?1:0;f(j,pt,0),de.length===6&&f(j,de[5],0);for(let ut of Ve)f(j,ut,0);for(G++;G<V.length;){let ut=V[G],{0:Ke,1:gt}=ut;if(Ke>he||Ke===he&>>=De)break;G=H(V,G,j,re)}return j.write(u),re[0]=f(j,he,re[0]),f(j,De,0),G}function pe(V){let{length:G}=V,j=new N(V),re=[],de=[],ye=0,Te=0,he=0,De=0,we=0,Ve=0,pt=0,ut=0;do{let Ke=j.indexOf(";"),gt=0;for(;j.pos<Ke;j.pos++){if(gt=g(j,gt),!b(j,Ke)){let ie=de.pop();ie[2]=ye,ie[3]=gt;continue}let Dt=g(j,0),_r=Dt&1,xr=Dt&2,nr=Dt&4,R=null,F=L,Q;if(_r){let ie=g(j,Te);he=g(j,Te===ie?he:0),Te=ie,Q=[ye,gt,0,0,ie,he]}else Q=[ye,gt,0,0];if(Q.isScope=!!nr,xr){let ie=De,ve=we;De=g(j,De);let Se=ie===De;we=g(j,Se?we:0),Ve=g(j,Se&&ve===we?Ve:0),R=[De,we,Ve]}if(Q.callsite=R,b(j,Ke)){F=[];do{pt=ye,ut=gt;let ie=g(j,0),ve;if(ie<-1){ve=[[g(j,0)]];for(let Se=-1;Se>ie;Se--){let Le=pt;pt=g(j,pt),ut=g(j,pt===Le?ut:0);let At=g(j,0);ve.push([At,pt,ut])}}else ve=[[ie]];F.push(ve)}while(b(j,Ke))}Q.bindings=F,re.push(Q),de.push(Q)}ye++,j.pos=Ke+1}while(j.pos<G);return re}function Ee(V){if(V.length===0)return"";let G=new I;for(let j=0;j<V.length;)j=ce(V,j,G,[0,0,0,0,0,0,0]);return G.flush()}function ce(V,G,j,re){let de=V[G],{0:ye,1:Te,2:he,3:De,isScope:we,callsite:Ve,bindings:pt}=de;re[0]<ye?(qe(j,re[0],ye),re[0]=ye,re[1]=0):G>0&&j.write(u),re[1]=f(j,de[1],re[1]);let ut=(de.length===6?1:0)|(Ve?2:0)|(we?4:0);if(f(j,ut,0),de.length===6){let{4:Ke,5:gt}=de;Ke!==re[2]&&(re[3]=0),re[2]=f(j,Ke,re[2]),re[3]=f(j,gt,re[3])}if(Ve){let{0:Ke,1:gt,2:Dt}=de.callsite;Ke!==re[4]?(re[5]=0,re[6]=0):gt!==re[5]&&(re[6]=0),re[4]=f(j,Ke,re[4]),re[5]=f(j,gt,re[5]),re[6]=f(j,Dt,re[6])}if(pt)for(let Ke of pt){Ke.length>1&&f(j,-Ke.length,0);let gt=Ke[0][0];f(j,gt,0);let Dt=ye,_r=Te;for(let xr=1;xr<Ke.length;xr++){let nr=Ke[xr];Dt=f(j,nr[1],Dt),_r=f(j,nr[2],_r),f(j,nr[0],0)}}for(G++;G<V.length;){let Ke=V[G],{0:gt,1:Dt}=Ke;if(gt>he||gt===he&&Dt>=De)break;G=ce(V,G,j,re)}return re[0]<he?(qe(j,re[0],he),re[0]=he,re[1]=0):j.write(u),re[1]=f(j,De,re[1]),G}function qe(V,G,j){do V.write(c);while(++G<j)}function ze(V){let{length:G}=V,j=new N(V),re=[],de=0,ye=0,Te=0,he=0,De=0;do{let we=j.indexOf(";"),Ve=[],pt=!0,ut=0;for(de=0;j.pos<we;){let Ke;de=g(j,de),de<ut&&(pt=!1),ut=de,b(j,we)?(ye=g(j,ye),Te=g(j,Te),he=g(j,he),b(j,we)?(De=g(j,De),Ke=[de,ye,Te,he,De]):Ke=[de,ye,Te,he]):Ke=[de],Ve.push(Ke),j.pos++}pt||Ot(Ve),re.push(Ve),j.pos=we+1}while(j.pos<=G);return re}function Ot(V){V.sort(J)}function J(V,G){return V[0]-G[0]}function se(V){let G=new I,j=0,re=0,de=0,ye=0;for(let Te=0;Te<V.length;Te++){let he=V[Te];if(Te>0&&G.write(c),he.length===0)continue;let De=0;for(let we=0;we<he.length;we++){let Ve=he[we];we>0&&G.write(u),De=f(G,Ve[0],De),Ve.length!==1&&(j=f(G,Ve[1],j),re=f(G,Ve[2],re),de=f(G,Ve[3],de),Ve.length!==4&&(ye=f(G,Ve[4],ye)))}}return G.flush()}})});var oP=x((Cy,Dy)=>{(function(e,t){typeof Cy=="object"&&typeof Dy!="undefined"?Dy.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.resolveURI=t())})(Cy,function(){"use strict";let e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var n;(function(T){T[T.Empty=1]="Empty",T[T.Hash=2]="Hash",T[T.Query=3]="Query",T[T.RelativePath=4]="RelativePath",T[T.AbsolutePath=5]="AbsolutePath",T[T.SchemeRelative=6]="SchemeRelative",T[T.Absolute=7]="Absolute"})(n||(n={}));function s(T){return e.test(T)}function i(T){return T.startsWith("//")}function a(T){return T.startsWith("/")}function o(T){return T.startsWith("file:")}function l(T){return/^[.?#]/.test(T)}function u(T){let w=t.exec(T);return p(w[1],w[2]||"",w[3],w[4]||"",w[5]||"/",w[6]||"",w[7]||"")}function c(T){let w=r.exec(T),I=w[2];return p("file:","",w[1]||"","",a(I)?I:"/"+I,w[3]||"",w[4]||"")}function p(T,w,I,N,L,W,U){return{scheme:T,user:w,host:I,port:N,path:L,query:W,hash:U,type:n.Absolute}}function d(T){if(i(T)){let I=u("http:"+T);return I.scheme="",I.type=n.SchemeRelative,I}if(a(T)){let I=u("http://foo.com"+T);return I.scheme="",I.host="",I.type=n.AbsolutePath,I}if(o(T))return c(T);if(s(T))return u(T);let w=u("http://foo.com/"+T);return w.scheme="",w.host="",w.type=T?T.startsWith("?")?n.Query:T.startsWith("#")?n.Hash:n.RelativePath:n.Empty,w}function m(T){if(T.endsWith("/.."))return T;let w=T.lastIndexOf("/");return T.slice(0,w+1)}function g(T,w){f(w,w.type),T.path==="/"?T.path=w.path:T.path=m(w.path)+T.path}function f(T,w){let I=w<=n.RelativePath,N=T.path.split("/"),L=1,W=0,U=!1;for(let pe=1;pe<N.length;pe++){let Ee=N[pe];if(!Ee){U=!0;continue}if(U=!1,Ee!=="."){if(Ee===".."){W?(U=!0,W--,L--):I&&(N[L++]=Ee);continue}N[L++]=Ee,W++}}let H="";for(let pe=1;pe<L;pe++)H+="/"+N[pe];(!H||U&&!H.endsWith("/.."))&&(H+="/"),T.path=H}function b(T,w){if(!T&&!w)return"";let I=d(T),N=I.type;if(w&&N!==n.Absolute){let W=d(w),U=W.type;switch(N){case n.Empty:I.hash=W.hash;case n.Hash:I.query=W.query;case n.Query:case n.RelativePath:g(I,W);case n.AbsolutePath:I.user=W.user,I.host=W.host,I.port=W.port;case n.SchemeRelative:I.scheme=W.scheme}U>N&&(N=U)}f(I,N);let L=I.query+I.hash;switch(N){case n.Hash:case n.Query:return L;case n.RelativePath:{let W=I.path.slice(1);return W?l(w||T)&&!l(W)?"./"+W+L:W+L:L||"."}case n.AbsolutePath:return I.path+L;default:return I.scheme+"//"+I.user+I.host+I.port+I.path+L}}return b})});var rc=x((wy,Iy)=>{(function(e,t,r){typeof wy=="object"&&typeof Iy!="undefined"?t(Iy,oP(),Ay()):typeof define=="function"&&define.amd?define(["module","@jridgewell/resolve-uri","@jridgewell/sourcemap-codec"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,t(r={exports:{}},e.resolveURI,e.sourcemapCodec),e.traceMapping="default"in r.exports?r.exports.default:r.exports)})(wy,function(e,t,r){"use strict";var n=Object.create,s=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(q,z)=>function(){return z||(0,q[a(q)[0]])((z={exports:{}}).exports,z),z.exports},c=(q,z)=>{for(var te in z)s(q,te,{get:z[te],enumerable:!0})},p=(q,z,te,ue)=>{if(z&&typeof z=="object"||typeof z=="function")for(let je of a(z))!l.call(q,je)&&je!==te&&s(q,je,{get:()=>z[je],enumerable:!(ue=i(z,je))||ue.enumerable});return q},d=(q,z,te)=>(te=q!=null?n(o(q)):{},p(z||!q||!q.__esModule?s(te,"default",{value:q,enumerable:!0}):te,q)),m=q=>p(s({},"__esModule",{value:!0}),q),g=u({"umd:@jridgewell/sourcemap-codec"(q,z){z.exports=r}}),f=u({"umd:@jridgewell/resolve-uri"(q,z){z.exports=t}}),b={};c(b,{AnyMap:()=>Ve,FlattenMap:()=>Ve,GREATEST_LOWER_BOUND:()=>nr,LEAST_UPPER_BOUND:()=>xr,TraceMap:()=>R,allGeneratedPositionsFor:()=>At,decodedMap:()=>er,decodedMappings:()=>ie,eachMapping:()=>ft,encodedMap:()=>$t,encodedMappings:()=>Q,generatedPositionFor:()=>Le,isIgnored:()=>Lt,originalPositionFor:()=>Se,presortedDecodedMap:()=>Ur,sourceContentFor:()=>Zt,traceSegment:()=>ve}),e.exports=m(b);var T=d(g()),w=d(f());function I(q){if(!q)return"";let z=q.lastIndexOf("/");return q.slice(0,z+1)}function N(q,z){let te=I(q),ue=z?z+"/":"";return je=>(0,w.default)(ue+(je||""),te)}var L=0,W=1,U=2,H=3,pe=4,Ee=1,ce=2;function qe(q,z){let te=ze(q,0);if(te===q.length)return q;z||(q=q.slice());for(let ue=te;ue<q.length;ue=ze(q,ue+1))q[ue]=J(q[ue],z);return q}function ze(q,z){for(let te=z;te<q.length;te++)if(!Ot(q[te]))return te;return q.length}function Ot(q){for(let z=1;z<q.length;z++)if(q[z][L]<q[z-1][L])return!1;return!0}function J(q,z){return z||(q=q.slice()),q.sort(se)}function se(q,z){return q[L]-z[L]}var V=!1;function G(q,z,te,ue){for(;te<=ue;){let je=te+(ue-te>>1),Ne=q[je][L]-z;if(Ne===0)return V=!0,je;Ne<0?te=je+1:ue=je-1}return V=!1,te-1}function j(q,z,te){for(let ue=te+1;ue<q.length&&q[ue][L]===z;te=ue++);return te}function re(q,z,te){for(let ue=te-1;ue>=0&&q[ue][L]===z;te=ue--);return te}function de(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function ye(q,z,te,ue){let{lastKey:je,lastNeedle:Ne,lastIndex:ct}=te,Pt=0,tt=q.length-1;if(ue===je){if(z===Ne)return V=ct!==-1&&q[ct][L]===z,ct;z>=Ne?Pt=ct===-1?0:ct:tt=ct}return te.lastKey=ue,te.lastNeedle=z,te.lastIndex=G(q,z,Pt,tt)}function Te(q,z){let te=z.map(De);for(let ue=0;ue<q.length;ue++){let je=q[ue];for(let Ne=0;Ne<je.length;Ne++){let ct=je[Ne];if(ct.length===1)continue;let Pt=ct[W],tt=ct[U],wt=ct[H],Vr=te[Pt],jt=Vr[tt]||(Vr[tt]=[]),ar=z[Pt],Xr=j(jt,wt,ye(jt,wt,ar,tt));ar.lastIndex=++Xr,he(jt,Xr,[wt,ue,ct[L]])}}return te}function he(q,z,te){for(let ue=q.length;ue>z;ue--)q[ue]=q[ue-1];q[z]=te}function De(){return{__proto__:null}}function we(q){return typeof q=="string"?JSON.parse(q):q}var Ve=function(q,z){let te=we(q);if(!("sections"in te))return new R(te,z);let ue=[],je=[],Ne=[],ct=[],Pt=[];pt(te,z,ue,je,Ne,ct,Pt,0,0,1/0,1/0);let tt={version:3,file:te.file,names:ct,sources:je,sourcesContent:Ne,mappings:ue,ignoreList:Pt};return Ur(tt)};function pt(q,z,te,ue,je,Ne,ct,Pt,tt,wt,Vr){let{sections:jt}=q;for(let ar=0;ar<jt.length;ar++){let{map:Xr,offset:Mn}=jt[ar],li=wt,ta=Vr;if(ar+1<jt.length){let ra=jt[ar+1].offset;li=Math.min(wt,Pt+ra.line),li===wt?ta=Math.min(Vr,tt+ra.column):li<wt&&(ta=tt+ra.column)}ut(Xr,z,te,ue,je,Ne,ct,Pt+Mn.line,tt+Mn.column,li,ta)}}function ut(q,z,te,ue,je,Ne,ct,Pt,tt,wt,Vr){let jt=we(q);if("sections"in jt)return pt(...arguments);let ar=new R(jt,z),Xr=ue.length,Mn=Ne.length,li=ie(ar),{resolvedSources:ta,sourcesContent:ra,ignoreList:id}=ar;if(Ke(ue,ta),Ke(Ne,ar.names),ra)Ke(je,ra);else for(let sn=0;sn<ta.length;sn++)je.push(null);if(id)for(let sn=0;sn<id.length;sn++)ct.push(id[sn]+Xr);for(let sn=0;sn<li.length;sn++){let ad=Pt+sn;if(ad>wt)return;let rT=gt(te,ad),F3=sn===0?tt:0,nT=li[sn];for(let od=0;od<nT.length;od++){let ui=nT[od],eu=F3+ui[L];if(ad===wt&&eu>=Vr)return;if(ui.length===1){rT.push([eu]);continue}let sT=Xr+ui[W],iT=ui[U],aT=ui[H];rT.push(ui.length===4?[eu,sT,iT,aT]:[eu,sT,iT,aT,Mn+ui[pe]])}}}function Ke(q,z){for(let te=0;te<z.length;te++)q.push(z[te])}function gt(q,z){for(let te=q.length;te<=z;te++)q[te]=[];return q[z]}var Dt="`line` must be greater than 0 (lines start at line 1)",_r="`column` must be greater than or equal to 0 (columns start at column 0)",xr=-1,nr=1,R=class{constructor(q,z){let te=typeof q=="string";if(!te&&q._decodedMemo)return q;let ue=we(q),{version:je,file:Ne,names:ct,sourceRoot:Pt,sources:tt,sourcesContent:wt}=ue;this.version=je,this.file=Ne,this.names=ct||[],this.sourceRoot=Pt,this.sources=tt,this.sourcesContent=wt,this.ignoreList=ue.ignoreList||ue.x_google_ignoreList||void 0;let Vr=N(z,Pt);this.resolvedSources=tt.map(Vr);let{mappings:jt}=ue;if(typeof jt=="string")this._encoded=jt,this._decoded=void 0;else if(Array.isArray(jt))this._encoded=void 0,this._decoded=qe(jt,te);else throw ue.sections?new Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):new Error(`invalid source map: ${JSON.stringify(ue)}`);this._decodedMemo=de(),this._bySources=void 0,this._bySourceMemos=void 0}};function F(q){return q}function Q(q){var z,te;return(te=(z=q)._encoded)!=null?te:z._encoded=(0,T.encode)(q._decoded)}function ie(q){var z;return(z=q)._decoded||(z._decoded=(0,T.decode)(q._encoded))}function ve(q,z,te){let ue=ie(q);if(z>=ue.length)return null;let je=ue[z],Ne=_s(je,q._decodedMemo,z,te,nr);return Ne===-1?null:je[Ne]}function Se(q,z){let{line:te,column:ue,bias:je}=z;if(te--,te<0)throw new Error(Dt);if(ue<0)throw new Error(_r);let Ne=ie(q);if(te>=Ne.length)return sr(null,null,null,null);let ct=Ne[te],Pt=_s(ct,q._decodedMemo,te,ue,je||nr);if(Pt===-1)return sr(null,null,null,null);let tt=ct[Pt];if(tt.length===1)return sr(null,null,null,null);let{names:wt,resolvedSources:Vr}=q;return sr(Vr[tt[W]],tt[U]+1,tt[H],tt.length===5?wt[tt[pe]]:null)}function Le(q,z){let{source:te,line:ue,column:je,bias:Ne}=z;return Zl(q,te,ue,je,Ne||nr,!1)}function At(q,z){let{source:te,line:ue,column:je,bias:Ne}=z;return Zl(q,te,ue,je,Ne||xr,!0)}function ft(q,z){let te=ie(q),{names:ue,resolvedSources:je}=q;for(let Ne=0;Ne<te.length;Ne++){let ct=te[Ne];for(let Pt=0;Pt<ct.length;Pt++){let tt=ct[Pt],wt=Ne+1,Vr=tt[0],jt=null,ar=null,Xr=null,Mn=null;tt.length!==1&&(jt=je[tt[1]],ar=tt[2]+1,Xr=tt[3]),tt.length===5&&(Mn=ue[tt[4]]),z({generatedLine:wt,generatedColumn:Vr,source:jt,originalLine:ar,originalColumn:Xr,name:Mn})}}}function qt(q,z){let{sources:te,resolvedSources:ue}=q,je=te.indexOf(z);return je===-1&&(je=ue.indexOf(z)),je}function Zt(q,z){let{sourcesContent:te}=q;if(te==null)return null;let ue=qt(q,z);return ue===-1?null:te[ue]}function Lt(q,z){let{ignoreList:te}=q;if(te==null)return!1;let ue=qt(q,z);return ue===-1?!1:te.includes(ue)}function Ur(q,z){let te=new R(Jt(q,[]),z);return te._decoded=q.mappings,te}function er(q){return Jt(q,ie(q))}function $t(q){return Jt(q,Q(q))}function Jt(q,z){return{version:q.version,file:q.file,names:q.names,sourceRoot:q.sourceRoot,sources:q.sources,sourcesContent:q.sourcesContent,mappings:z,ignoreList:q.ignoreList||q.x_google_ignoreList}}function sr(q,z,te,ue){return{source:q,line:z,column:te,name:ue}}function Sr(q,z){return{line:q,column:z}}function _s(q,z,te,ue,je){let Ne=ye(q,ue,z,te);return V?Ne=(je===xr?j:re)(q,ue,Ne):je===xr&&Ne++,Ne===-1||Ne===q.length?-1:Ne}function sd(q,z,te,ue,je){let Ne=_s(q,z,te,ue,nr);if(!V&&je===xr&&Ne++,Ne===-1||Ne===q.length)return[];let ct=V?ue:q[Ne][L];V||(Ne=re(q,ct,Ne));let Pt=j(q,ct,Ne),tt=[];for(;Ne<=Pt;Ne++){let wt=q[Ne];tt.push(Sr(wt[Ee]+1,wt[ce]))}return tt}function Zl(q,z,te,ue,je,Ne){var ct;if(te--,te<0)throw new Error(Dt);if(ue<0)throw new Error(_r);let{sources:Pt,resolvedSources:tt}=q,wt=Pt.indexOf(z);if(wt===-1&&(wt=tt.indexOf(z)),wt===-1)return Ne?[]:Sr(null,null);let jt=((ct=q)._bySources||(ct._bySources=Te(ie(q),q._bySourceMemos=Pt.map(de))))[wt][te];if(jt==null)return Ne?[]:Sr(null,null);let ar=q._bySourceMemos[wt];if(Ne)return sd(jt,ar,te,ue,je);let Xr=_s(jt,ar,te,ue,je);if(Xr===-1)return Sr(null,null);let Mn=jt[Xr];return Sr(Mn[Ee]+1,Mn[ce])}})});var Oy=x((_y,Ny)=>{(function(e,t,r){typeof _y=="object"&&typeof Ny!="undefined"?t(Ny,Ay(),rc()):typeof define=="function"&&define.amd?define(["module","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,t(r={exports:{}},e.sourcemapCodec,e.traceMapping),e.genMapping="default"in r.exports?r.exports.default:r.exports)})(_y,function(e,t,r){"use strict";var n=Object.create,s=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(R,F)=>function(){return F||(0,R[a(R)[0]])((F={exports:{}}).exports,F),F.exports},c=(R,F)=>{for(var Q in F)s(R,Q,{get:F[Q],enumerable:!0})},p=(R,F,Q,ie)=>{if(F&&typeof F=="object"||typeof F=="function")for(let ve of a(F))!l.call(R,ve)&&ve!==Q&&s(R,ve,{get:()=>F[ve],enumerable:!(ie=i(F,ve))||ie.enumerable});return R},d=(R,F,Q)=>(Q=R!=null?n(o(R)):{},p(F||!R||!R.__esModule?s(Q,"default",{value:R,enumerable:!0}):Q,R)),m=R=>p(s({},"__esModule",{value:!0}),R),g=u({"umd:@jridgewell/sourcemap-codec"(R,F){F.exports=t}}),f=u({"umd:@jridgewell/trace-mapping"(R,F){F.exports=r}}),b={};c(b,{GenMapping:()=>Ot,addMapping:()=>V,addSegment:()=>se,allMappings:()=>De,fromMap:()=>he,maybeAddMapping:()=>j,maybeAddSegment:()=>G,setIgnore:()=>de,setSourceContent:()=>re,toDecodedMap:()=>ye,toEncodedMap:()=>Te}),e.exports=m(b);var T=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function w(R){return R}function I(R,F){return R._indexes[F]}function N(R,F){let Q=I(R,F);if(Q!==void 0)return Q;let{array:ie,_indexes:ve}=R,Se=ie.push(F);return ve[F]=Se-1}function L(R,F){let Q=I(R,F);if(Q===void 0)return;let{array:ie,_indexes:ve}=R;for(let Se=Q+1;Se<ie.length;Se++){let Le=ie[Se];ie[Se-1]=Le,ve[Le]--}ve[F]=void 0,ie.pop()}var W=d(g()),U=d(f()),H=0,pe=1,Ee=2,ce=3,qe=4,ze=-1,Ot=class{constructor({file:R,sourceRoot:F}={}){this._names=new T,this._sources=new T,this._sourcesContent=[],this._mappings=[],this.file=R,this.sourceRoot=F,this._ignoreList=new T}};function J(R){return R}function se(R,F,Q,ie,ve,Se,Le,At){return we(!1,R,F,Q,ie,ve,Se,Le,At)}function V(R,F){return nr(!1,R,F)}var G=(R,F,Q,ie,ve,Se,Le,At)=>we(!0,R,F,Q,ie,ve,Se,Le,At),j=(R,F)=>nr(!0,R,F);function re(R,F,Q){let{_sources:ie,_sourcesContent:ve}=R,Se=N(ie,F);ve[Se]=Q}function de(R,F,Q=!0){let{_sources:ie,_sourcesContent:ve,_ignoreList:Se}=R,Le=N(ie,F);Le===ve.length&&(ve[Le]=null),Q?N(Se,Le):L(Se,Le)}function ye(R){let{_mappings:F,_sources:Q,_sourcesContent:ie,_names:ve,_ignoreList:Se}=R;return gt(F),{version:3,file:R.file||void 0,names:ve.array,sourceRoot:R.sourceRoot||void 0,sources:Q.array,sourcesContent:ie,mappings:F,ignoreList:Se.array}}function Te(R){let F=ye(R);return Object.assign({},F,{mappings:(0,W.encode)(F.mappings)})}function he(R){let F=new U.TraceMap(R),Q=new Ot({file:F.file,sourceRoot:F.sourceRoot});return Dt(Q._names,F.names),Dt(Q._sources,F.sources),Q._sourcesContent=F.sourcesContent||F.sources.map(()=>null),Q._mappings=(0,U.decodedMappings)(F),F.ignoreList&&Dt(Q._ignoreList,F.ignoreList),Q}function De(R){let F=[],{_mappings:Q,_sources:ie,_names:ve}=R;for(let Se=0;Se<Q.length;Se++){let Le=Q[Se];for(let At=0;At<Le.length;At++){let ft=Le[At],qt={line:Se+1,column:ft[H]},Zt,Lt,Ur;ft.length!==1&&(Zt=ie.array[ft[pe]],Lt={line:ft[Ee]+1,column:ft[ce]},ft.length===5&&(Ur=ve.array[ft[qe]])),F.push({generated:qt,source:Zt,original:Lt,name:Ur})}}return F}function we(R,F,Q,ie,ve,Se,Le,At,ft){let{_mappings:qt,_sources:Zt,_sourcesContent:Lt,_names:Ur}=F,er=pt(qt,Q),$t=ut(er,ie);if(!ve)return R&&_r(er,$t)?void 0:Ke(er,$t,[ie]);let Jt=N(Zt,ve),sr=At?N(Ur,At):ze;if(Jt===Lt.length&&(Lt[Jt]=ft!=null?ft:null),!(R&&xr(er,$t,Jt,Se,Le,sr)))return Ke(er,$t,At?[ie,Jt,Se,Le,sr]:[ie,Jt,Se,Le])}function Ve(R){}function pt(R,F){for(let Q=R.length;Q<=F;Q++)R[Q]=[];return R[F]}function ut(R,F){let Q=R.length;for(let ie=Q-1;ie>=0;Q=ie--){let ve=R[ie];if(F>=ve[H])break}return Q}function Ke(R,F,Q){for(let ie=R.length;ie>F;ie--)R[ie]=R[ie-1];R[F]=Q}function gt(R){let{length:F}=R,Q=F;for(let ie=Q-1;ie>=0&&!(R[ie].length>0);Q=ie,ie--);Q<F&&(R.length=Q)}function Dt(R,F){for(let Q=0;Q<F.length;Q++)N(R,F[Q])}function _r(R,F){return F===0?!0:R[F-1].length===1}function xr(R,F,Q,ie,ve,Se){if(F===0)return!1;let Le=R[F-1];return Le.length===1?!1:Q===Le[pe]&&ie===Le[Ee]&&ve===Le[ce]&&Se===(Le.length===5?Le[qe]:ze)}function nr(R,F,Q){let{generated:ie,source:ve,original:Se,name:Le,content:At}=Q;return ve?we(R,F,ie.line-1,ie.column,ve,Se.line-1,Se.column,Le,At):we(R,F,ie.line-1,ie.column,null,null,null,null,null)}})});var lP=x(nc=>{"use strict";Object.defineProperty(nc,"__esModule",{value:!0});nc.default=void 0;var Rs=Oy(),By=rc(),ky=class{constructor(t,r){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;let s=this._map=new Rs.GenMapping({sourceRoot:t.sourceRoot});if(this._sourceFileName=(n=t.sourceFileName)==null?void 0:n.replace(/\\/g,"/"),this._rawMappings=void 0,t.inputSourceMap){this._inputMap=new By.TraceMap(t.inputSourceMap);let a=this._inputMap.resolvedSources;if(a.length)for(let o=0;o<a.length;o++){var i;(0,Rs.setSourceContent)(s,a[o],(i=this._inputMap.sourcesContent)==null?void 0:i[o])}}if(typeof r=="string"&&!t.inputSourceMap)(0,Rs.setSourceContent)(s,this._sourceFileName,r);else if(typeof r=="object")for(let a of Object.keys(r))(0,Rs.setSourceContent)(s,a.replace(/\\/g,"/"),r[a])}get(){return(0,Rs.toEncodedMap)(this._map)}getDecoded(){return(0,Rs.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,Rs.allMappings)(this._map))}mark(t,r,n,s,i,a){var o;this._rawMappings=void 0;let l;if(r!=null)if(this._inputMap){if(l=(0,By.originalPositionFor)(this._inputMap,{line:r,column:n}),!l.name&&i){let u=(0,By.originalPositionFor)(this._inputMap,i);u.name&&(s=u.name)}}else l={source:(a==null?void 0:a.replace(/\\/g,"/"))||this._sourceFileName,line:r,column:n};(0,Rs.maybeAddMapping)(this._map,{name:s,generated:t,source:(o=l)==null?void 0:o.source,original:l})}};nc.default=ky});var uP=x(sc=>{"use strict";Object.defineProperty(sc,"__esModule",{value:!0});sc.default=void 0;var Fy=class{constructor(t,r){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=t,this._indentChar=r;for(let n=0;n<64;n++)this._fastIndentations.push(r.repeat(n));this._allocQueue()}_allocQueue(){let t=this._queue;for(let r=0;r<16;r++)t.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(t,r,n,s,i){let a=this._queueCursor;a===this._queue.length&&this._allocQueue();let o=this._queue[a];o.char=t,o.repeat=r,o.line=n,o.column=s,o.filename=i,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let t=this._map,r={code:(this._buf+this._str).trimRight(),decodedMap:t==null?void 0:t.getDecoded(),get __mergedMap(){return this.map},get map(){let n=t?t.get():null;return r.map=n,n},set map(n){Object.defineProperty(r,"map",{value:n,writable:!0})},get rawMappings(){let n=t==null?void 0:t.getRawMappings();return r.rawMappings=n,n},set rawMappings(n){Object.defineProperty(r,"rawMappings",{value:n,writable:!0})}};return r}append(t,r){this._flush(),this._append(t,this._sourcePosition,r)}appendChar(t){this._flush(),this._appendChar(t,1,this._sourcePosition)}queue(t){if(t===10)for(;this._queueCursor!==0;){let n=this._queue[this._queueCursor-1].char;if(n!==32&&n!==9)break;this._queueCursor--}let r=this._sourcePosition;this._pushQueue(t,1,r.line,r.column,r.filename)}queueIndentation(t){t!==0&&this._pushQueue(-1,t,void 0,void 0,void 0)}_flush(){let t=this._queueCursor,r=this._queue;for(let n=0;n<t;n++){let s=r[n];this._appendChar(s.char,s.repeat,s)}this._queueCursor=0}_appendChar(t,r,n){if(this._last=t,t===-1){let s=this._fastIndentations[r];s!==void 0?this._str+=s:this._str+=r>1?this._indentChar.repeat(r):this._indentChar}else this._str+=r>1?String.fromCharCode(t).repeat(r):String.fromCharCode(t);t!==10?(this._mark(n.line,n.column,n.identifierName,n.identifierNamePos,n.filename),this._position.column+=r):(this._position.line++,this._position.column=0),this._canMarkIdName&&(n.identifierName=void 0,n.identifierNamePos=void 0)}_append(t,r,n){let s=t.length,i=this._position;if(this._last=t.charCodeAt(s-1),++this._appendCount>4096?(+this._str,this._buf+=this._str,this._str=t,this._appendCount=0):this._str+=t,!n&&!this._map){i.column+=s;return}let{column:a,identifierName:o,identifierNamePos:l,filename:u}=r,c=r.line;(o!=null||l!=null)&&this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0);let p=t.indexOf(`
|
|
37
|
+
`).map(t=>t.trim()).join(" ")};vv.O=function(e){return this.inspectOpts.colors=this.useColors,Gu.inspect(e,this.inspectOpts)}});var Ti=x((fIe,dy)=>{typeof process=="undefined"||process.type==="renderer"||process.browser===!0||process.__nwjs?dy.exports=gv():dy.exports=Pv()});var my=x(rr=>{"use strict";Object.defineProperty(rr,"__esModule",{value:!0});rr.isBindingIdentifier=kJ;rr.isBlockScoped=RJ;rr.isExpression=LJ;rr.isFlow=WJ;rr.isForAwaitStatement=GJ;rr.isGenerated=VJ;rr.isPure=$J;rr.isReferenced=MJ;rr.isReferencedIdentifier=OJ;rr.isReferencedMemberExpression=BJ;rr.isRestProperty=KJ;rr.isScope=jJ;rr.isSpreadProperty=HJ;rr.isStatement=FJ;rr.isUser=UJ;rr.isVar=qJ;var fJ=Fe(),{isBinding:dJ,isBlockScoped:hJ,isExportDeclaration:mJ,isExpression:yJ,isFlow:gJ,isForStatement:bJ,isForXStatement:EJ,isIdentifier:Av,isImportDeclaration:TJ,isImportSpecifier:xJ,isJSXIdentifier:SJ,isJSXMemberExpression:vJ,isMemberExpression:PJ,isRestElement:Cv,isReferenced:hy,isScope:AJ,isStatement:CJ,isVar:DJ,isVariableDeclaration:wJ,react:IJ,isForOfStatement:_J}=fJ,{isCompatTag:NJ}=IJ;function OJ(e){let{node:t,parent:r}=this;if(!Av(t,e)&&!vJ(r,e))if(SJ(t,e)){if(NJ(t.name))return!1}else return!1;return hy(t,r,this.parentPath.parent)}function BJ(){let{node:e,parent:t}=this;return PJ(e)&&hy(e,t)}function kJ(){let{node:e,parent:t}=this,r=this.parentPath.parent;return Av(e)&&dJ(e,t,r)}function FJ(){let{node:e,parent:t}=this;return CJ(e)?!(wJ(e)&&(EJ(t,{left:e})||bJ(t,{init:e}))):!1}function LJ(){return this.isIdentifier()?this.isReferencedIdentifier():yJ(this.node)}function jJ(){return AJ(this.node,this.parent)}function MJ(){return hy(this.node,this.parent)}function RJ(){return hJ(this.node)}function qJ(){return DJ(this.node)}function UJ(){return this.node&&!!this.node.loc}function VJ(){return!this.isUser()}function $J(e){return this.scope.isPure(this.node,e)}function WJ(){let{node:e}=this;return gJ(e)?!0:TJ(e)?e.importKind==="type"||e.importKind==="typeof":mJ(e)?e.exportKind==="type":xJ(e)?e.importKind==="type"||e.importKind==="typeof":!1}function KJ(){var e;return Cv(this.node)&&((e=this.parentPath)==null?void 0:e.isObjectPattern())}function HJ(){var e;return Cv(this.node)&&((e=this.parentPath)==null?void 0:e.isObjectExpression())}function GJ(){return _J(this.node,{await:!0})}rr.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},rr.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var Yu=x(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.environmentVisitor=tz;Si.explode=jv;Si.isExplodedVisitor=Lv;Si.merge=Rv;Si.verify=Mv;var Fv=cy(),XJ=my(),YJ=Fe(),Dv=Pn(),{DEPRECATED_KEYS:wv,DEPRECATED_ALIASES:Iv,FLIPPED_ALIAS_KEYS:_v,TYPES:JJ,__internal__deprecationWarning:Nv}=YJ;function zJ(e){return e in Fv}function Lv(e){return e==null?void 0:e._exploded}function jv(e){if(Lv(e))return e;e._exploded=!0;for(let t of Object.keys(e)){if(xi(t))continue;let r=t.split("|");if(r.length===1)continue;let n=e[t];delete e[t];for(let s of r)e[s]=n}Mv(e),delete e.__esModule,QJ(e),kv(e);for(let t of Object.keys(e)){if(xi(t)||!zJ(t))continue;let r=e[t];for(let s of Object.keys(r))r[s]=ZJ(t,r[s]);delete e[t];let n=Fv[t];if(n!==null)for(let s of n)e[s]?Wo(e[s],r):e[s]=r;else Wo(e,r)}for(let t of Object.keys(e)){if(xi(t))continue;let r=_v[t];if(t in wv){let s=wv[t];Nv(t,s,"Visitor "),r=[s]}else if(t in Iv){let s=Iv[t];Nv(t,s,"Visitor "),r=_v[s]}if(!r)continue;let n=e[t];delete e[t];for(let s of r){let i=e[s];i?Wo(i,n):e[s]=Object.assign({},n)}}for(let t of Object.keys(e))xi(t)||kv(e[t]);return e}function Mv(e){if(!e._verified){if(typeof e=="function")throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(let t of Object.keys(e)){if((t==="enter"||t==="exit")&&Ov(t,e[t]),xi(t))continue;if(!JJ.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.28.0`);let r=e[t];if(typeof r=="object")for(let n of Object.keys(r))if(n==="enter"||n==="exit")Ov(`${t}.${n}`,r[n]);else throw new Error(`You passed \`traverse()\` a visitor object with the property ${t} that has the invalid property ${n}`)}e._verified=!0}}function Ov(e,t){let r=[].concat(t);for(let n of r)if(typeof n!="function")throw new TypeError(`Non-function found defined in ${e} with type ${typeof n}`)}function Rv(e,t=[],r){let n={_verified:!0,_exploded:!0};Object.defineProperty(n,"_exploded",{enumerable:!1}),Object.defineProperty(n,"_verified",{enumerable:!1});for(let s=0;s<e.length;s++){let i=jv(e[s]),a=t[s],o=i;(a||r)&&(o=Bv(o,a,r)),Wo(n,o);for(let l of Object.keys(i)){if(xi(l))continue;let u=i[l];(a||r)&&(u=Bv(u,a,r));let c=n[l]||(n[l]={});Wo(c,u)}}return n}function Bv(e,t,r){let n={};for(let s of["enter","exit"]){let i=e[s];Array.isArray(i)&&(i=i.map(function(a){let o=a;return t&&(o=function(l){a.call(t,l,t)}),r&&(o=r(t==null?void 0:t.key,s,o)),o!==a&&(o.toString=()=>a.toString()),o}),n[s]=i)}return n}function QJ(e){for(let t of Object.keys(e)){if(xi(t))continue;let r=e[t];typeof r=="function"&&(e[t]={enter:r})}}function kv(e){e.enter&&!Array.isArray(e.enter)&&(e.enter=[e.enter]),e.exit&&!Array.isArray(e.exit)&&(e.exit=[e.exit])}function ZJ(e,t){let r=`is${e}`,n=XJ[r],s=function(i){if(n.call(i))return t.apply(this,arguments)};return s.toString=()=>t.toString(),s}function xi(e){return e[0]==="_"||e==="enter"||e==="exit"||e==="shouldSkip"||e==="denylist"||e==="noScope"||e==="skipKeys"||e==="blacklist"}function Wo(e,t){for(let r of["enter","exit"])t[r]&&(e[r]=[].concat(e[r]||[],t[r]))}var ez={FunctionParent(e){e.isArrowFunctionExpression()||(e.skip(),e.isMethod()&&(e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():Dv.requeueComputedKeyAndDecorators.call(e)))},Property(e){e.isObjectProperty()||(e.skip(),e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():Dv.requeueComputedKeyAndDecorators.call(e))}};function tz(e){return Rv([ez,e])}});var qv=x(zu=>{"use strict";Object.defineProperty(zu,"__esModule",{value:!0});zu.default=void 0;var Ju=Fe(),rz=Ju,nz=Qu(),sz=Yu(),iz=Pn(),{getAssignmentIdentifiers:az}=rz,oz={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():iz.requeueComputedKeyAndDecorators.call(e)))},ObjectProperty({node:e,scope:t},r){let{name:n}=e.key;if(e.shorthand&&(n===r.oldName||n===r.newName)&&t.getBindingIdentifier(n)===r.binding.identifier){e.shorthand=!1;{var s;(s=e.extra)!=null&&s.shorthand&&(e.extra.shorthand=!1)}}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;let r=e.isAssignmentExpression()?az(e.node):e.getOuterBindingIdentifiers();for(let n in r)n===t.oldName&&(r[n].name=t.newName)}},yy=class{constructor(t,r,n){this.newName=n,this.oldName=r,this.binding=t}maybeConvertFromExportDeclaration(t){let r=t.parentPath;if(r.isExportDeclaration()){if(r.isExportDefaultDeclaration()){let{declaration:n}=r.node;if(Ju.isDeclaration(n)&&!n.id)return}r.isExportAllDeclaration()||r.splitExportDeclaration()}}maybeConvertFromClassFunctionDeclaration(t){return t}maybeConvertFromClassFunctionExpression(t){return t}rename(){let{binding:t,oldName:r,newName:n}=this,{scope:s,path:i}=t,a=i.find(u=>u.isDeclaration()||u.isFunctionExpression()||u.isClassExpression());a&&a.getOuterBindingIdentifiers()[r]===t.identifier&&this.maybeConvertFromExportDeclaration(a);let o=arguments[0]||s.block,l={discriminant:!0};Ju.isMethod(o)&&(o.computed&&(l.key=!0),Ju.isObjectMethod(o)||(l.decorators=!0)),(0,nz.traverseNode)(o,(0,sz.explode)(oz),s,this,s.path,l),arguments[0]||(s.removeOwnBinding(r),s.bindings[n]=t,this.binding.identifier.name=n),a&&(this.maybeConvertFromClassFunctionDeclaration(i),this.maybeConvertFromClassFunctionExpression(i))}};zu.default=yy});var Uv=x(Zu=>{"use strict";Object.defineProperty(Zu,"__esModule",{value:!0});Zu.default=void 0;var gy=class{constructor({identifier:t,scope:r,path:n,kind:s}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=t,this.scope=r,this.path=n,this.kind=s,(s==="var"||s==="hoisted")&&lz(n)&&this.reassign(n),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(t){this.hasDeoptedValue||(this.hasValue=!0,this.value=t)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(t){this.constant=!1,!this.constantViolations.includes(t)&&this.constantViolations.push(t)}reference(t){this.referencePaths.includes(t)||(this.referenced=!0,this.references++,this.referencePaths.push(t))}dereference(){this.references--,this.referenced=!!this.references}};Zu.default=gy;function lz(e){let t=!e.isVariableDeclarator()||e.node.init;for(let{parentPath:r,key:n}=e;r;{parentPath:r,key:n}=r){if(r.isFunctionParent())return!1;if(n==="left"&&r.isForXStatement()||t&&n==="body"&&r.isLoop())return!0}return!1}});var vi=x(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.clear=cz;Jr.clearPath=Vv;Jr.clearScope=$v;Jr.getCachedPaths=pz;Jr.getOrCreateCachedPaths=fz;Jr.scope=Jr.path=void 0;var ec=Jr.path=new WeakMap,uz=Jr.scope=new WeakMap;function cz(){Vv(),$v()}function Vv(){Jr.path=ec=new WeakMap}function $v(){Jr.scope=uz=new WeakMap}function pz(e){let{parent:t,parentPath:r}=e;return ec.get(t)}function fz(e,t){let r=ec.get(e);return r||ec.set(e,r=new Map),r}});var Wv=x((bIe,dz)=>{dz.exports=["decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","globalThis","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"]});var Kv=x((EIe,hz)=>{hz.exports=["AggregateError","Array","ArrayBuffer","Atomics","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","Date","Error","EvalError","FinalizationRegistry","Float16Array","Float32Array","Float64Array","Function","Infinity","Int16Array","Int32Array","Int8Array","Intl","Iterator","JSON","Map","Math","NaN","Number","Object","Promise","Proxy","RangeError","ReferenceError","Reflect","RegExp","Set","SharedArrayBuffer","String","Symbol","SyntaxError","TypeError","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","URIError","WeakMap","WeakRef","WeakSet"]});var Sy=x(tc=>{"use strict";Object.defineProperty(tc,"__esModule",{value:!0});tc.default=void 0;var mz=qv(),eP=zt(),yz=Uv(),tP=Fe(),rP=tP,Hv=vi(),gz=Wv(),bz=Kv(),{assignmentExpression:Ez,callExpression:Gv,cloneNode:Xv,getBindingIdentifiers:nP,identifier:Ai,isArrayExpression:sP,isBinary:Tz,isCallExpression:Yv,isClass:xz,isClassBody:Sz,isClassDeclaration:vz,isExportAllDeclaration:iP,isExportDefaultDeclaration:Pz,isExportNamedDeclaration:by,isFunctionDeclaration:Az,isIdentifier:Pi,isImportDeclaration:Ey,isLiteral:Cz,isMemberExpression:Dz,isMethod:wz,isModuleSpecifier:Iz,isNullLiteral:_z,isObjectExpression:Nz,isProperty:Oz,isPureish:Bz,isRegExpLiteral:kz,isSuper:Fz,isTaggedTemplateExpression:Lz,isTemplateLiteral:aP,isThisExpression:Jv,isUnaryExpression:jz,isVariableDeclaration:Mz,expressionStatement:Rz,matchesPattern:zv,memberExpression:Ty,numericLiteral:qz,toIdentifier:Uz,variableDeclaration:Vz,variableDeclarator:$z,isRecordExpression:Wz,isTupleExpression:Kz,isObjectProperty:Hz,isTopicReference:Qv,isMetaProperty:Gz,isPrivateName:Xz,isExportDeclaration:Yz,buildUndefinedNode:Jz,sequenceExpression:zz}=tP;function _t(e,t){switch(e==null?void 0:e.type){default:if(Ey(e)||Yz(e)){var r;if((iP(e)||by(e)||Ey(e))&&e.source)_t(e.source,t);else if((by(e)||Ey(e))&&(r=e.specifiers)!=null&&r.length)for(let n of e.specifiers)_t(n,t);else(Pz(e)||by(e))&&e.declaration&&_t(e.declaration,t)}else Iz(e)?_t(e.local,t):Cz(e)&&!_z(e)&&!kz(e)&&!aP(e)&&t.push(e.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":_t(e.object,t),_t(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":_t(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(let n of e.properties)_t(n,t);break;case"SpreadElement":case"RestElement":_t(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":_t(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":case"ImportExpression":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield"),_t(e.argument,t);break;case"AwaitExpression":t.push("await"),_t(e.argument,t);break;case"AssignmentExpression":_t(e.left,t);break;case"VariableDeclarator":_t(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":_t(e.id,t);break;case"PrivateName":_t(e.id,t);break;case"ParenthesizedExpression":_t(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":_t(e.argument,t);break;case"MetaProperty":_t(e.meta,t),_t(e.property,t);break;case"JSXElement":_t(e.openingElement,t);break;case"JSXOpeningElement":_t(e.name,t);break;case"JSXFragment":_t(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":_t(e.namespace,t),_t(e.name,t);break}}function Zv(e){e.references=Object.create(null),e.uids=Object.create(null),e.bindings=Object.create(null),e.globals=Object.create(null)}xy=Symbol.for("should not be considered a local binding");var xy,Qz={ForStatement(e){let t=e.get("init");if(t.isVar()){let{scope:r}=e;(r.getFunctionParent()||r.getProgramParent()).registerBinding("var",t)}},Declaration(e){if(e.isBlockScoped()||e.isImportDeclaration()||e.isExportDeclaration())return;(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){rP.isTSQualifiedName(e.parent)&&e.parent.right===e.node||e.parentPath.isTSImportEqualsDeclaration()||t.references.push(e)},ForXStatement(e,t){let r=e.get("left");if(r.isPattern()||r.isIdentifier())t.constantViolations.push(e);else if(r.isVar()){let{scope:n}=e;(n.getFunctionParent()||n.getProgramParent()).registerBinding("var",r)}},ExportDeclaration:{exit(e){let{node:t,scope:r}=e;if(iP(t))return;let n=t.declaration;if(vz(n)||Az(n)){let s=n.id;if(!s)return;let i=r.getBinding(s.name);i==null||i.reference(e)}else if(Mz(n))for(let s of n.declarations)for(let i of Object.keys(nP(s))){let a=r.getBinding(i);a==null||a.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){e.node.operator==="delete"&&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){let s=e.node.id.name;e.scope.bindings[s]=e.scope.parent.getBinding(s)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){let t=e.get("params");for(let r of t)e.scope.registerBinding("param",r);e.isFunctionExpression()&&e.node.id&&!e.node.id[xy]&&e.scope.registerBinding("local",e.get("id"),e)},ClassExpression(e){e.node.id&&!e.node.id[xy]&&e.scope.registerBinding("local",e.get("id"),e)},TSTypeAnnotation(e){e.skip()}},Ko,Zz=0,An=class e{constructor(t){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;let{node:r}=t,n=Hv.scope.get(r);if((n==null?void 0:n.path)===t)return n;Hv.scope.set(r,this),this.uid=Zz++,this.block=r,this.path=t,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 t;let r,n=this.path;do{var s;let i=n.key==="key"||n.listKey==="decorators";n=n.parentPath,i&&n.isMethod()&&(n=n.parentPath),(s=n)!=null&&s.isScope()&&(r=n)}while(n&&!r);return(t=r)==null?void 0:t.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(t){let r=this.generateUidIdentifier(t);return this.push({id:r}),Xv(r)}generateUidIdentifier(t){return Ai(this.generateUid(t))}generateUid(t="temp"){t=Uz(t).replace(/^_+/,"").replace(/\d+$/g,"");let r,n=0;do r=`_${t}`,n>=11?r+=n-1:n>=9?r+=n-9:n>=1&&(r+=n+1),n++;while(this.hasLabel(r)||this.hasBinding(r)||this.hasGlobal(r)||this.hasReference(r));let s=this.getProgramParent();return s.references[r]=!0,s.uids[r]=!0,r}generateUidBasedOnNode(t,r){let n=[];_t(t,n);let s=n.join("$");return s=s.replace(/^_/,"")||r||"ref",this.generateUid(s.slice(0,20))}generateUidIdentifierBasedOnNode(t,r){return Ai(this.generateUidBasedOnNode(t,r))}isStatic(t){if(Jv(t)||Fz(t)||Qv(t))return!0;if(Pi(t)){let r=this.getBinding(t.name);return r?r.constant:this.hasBinding(t.name)}return!1}maybeGenerateMemoised(t,r){if(this.isStatic(t))return null;{let n=this.generateUidIdentifierBasedOnNode(t);return r?n:(this.push({id:n}),Xv(n))}}checkBlockScopedCollisions(t,r,n,s){if(r==="param"||t.kind==="local")return;if(r==="let"||t.kind==="let"||t.kind==="const"||t.kind==="module"||t.kind==="param"&&r==="const")throw this.path.hub.buildError(s,`Duplicate declaration "${n}"`,TypeError)}rename(t,r){let n=this.getBinding(t);n&&(r||(r=this.generateUidIdentifier(t).name),new mz.default(n,t,r).rename(arguments[2]))}dump(){let t="-".repeat(60);console.log(t);let r=this;do{console.log("#",r.block.type);for(let n of Object.keys(r.bindings)){let s=r.bindings[n];console.log(" -",n,{constant:s.constant,references:s.references,violations:s.constantViolations.length,kind:s.kind})}}while(r=r.parent);console.log(t)}hasLabel(t){return!!this.getLabel(t)}getLabel(t){return this.labels.get(t)}registerLabel(t){this.labels.set(t.node.label.name,t)}registerDeclaration(t){if(t.isLabeledStatement())this.registerLabel(t);else if(t.isFunctionDeclaration())this.registerBinding("hoisted",t.get("id"),t);else if(t.isVariableDeclaration()){let r=t.get("declarations"),{kind:n}=t.node;for(let s of r)this.registerBinding(n==="using"||n==="await using"?"const":n,s)}else if(t.isClassDeclaration()){if(t.node.declare)return;this.registerBinding("let",t)}else if(t.isImportDeclaration()){let r=t.node.importKind==="type"||t.node.importKind==="typeof",n=t.get("specifiers");for(let s of n){let i=r||s.isImportSpecifier()&&(s.node.importKind==="type"||s.node.importKind==="typeof");this.registerBinding(i?"unknown":"module",s)}}else if(t.isExportDeclaration()){let r=t.get("declaration");(r.isClassDeclaration()||r.isFunctionDeclaration()||r.isVariableDeclaration())&&this.registerDeclaration(r)}else this.registerBinding("unknown",t)}buildUndefinedNode(){return Jz()}registerConstantViolation(t){let r=t.getAssignmentIdentifiers();for(let s of Object.keys(r)){var n;(n=this.getBinding(s))==null||n.reassign(t)}}registerBinding(t,r,n=r){if(!t)throw new ReferenceError("no `kind`");if(r.isVariableDeclaration()){let a=r.get("declarations");for(let o of a)this.registerBinding(t,o);return}let s=this.getProgramParent(),i=r.getOuterBindingIdentifiers(!0);for(let a of Object.keys(i)){s.references[a]=!0;for(let o of i[a]){let l=this.getOwnBinding(a);if(l){if(l.identifier===o)continue;this.checkBlockScopedCollisions(l,t,a,o)}l?l.reassign(n):this.bindings[a]=new yz.default({identifier:o,scope:this,path:n,kind:t})}}}addGlobal(t){this.globals[t.name]=t}hasUid(t){{let r=this;do if(r.uids[t])return!0;while(r=r.parent);return!1}}hasGlobal(t){let r=this;do if(r.globals[t])return!0;while(r=r.parent);return!1}hasReference(t){return!!this.getProgramParent().references[t]}isPure(t,r){if(Pi(t)){let a=this.getBinding(t.name);return a?r?a.constant:!0:!1}else{if(Jv(t)||Gz(t)||Qv(t)||Xz(t))return!0;if(xz(t)){var n;return t.superClass&&!this.isPure(t.superClass,r)||((n=t.decorators)==null?void 0:n.length)>0?!1:this.isPure(t.body,r)}else if(Sz(t)){for(let a of t.body)if(!this.isPure(a,r))return!1;return!0}else{if(Tz(t))return this.isPure(t.left,r)&&this.isPure(t.right,r);if(sP(t)||Kz(t)){for(let a of t.elements)if(a!==null&&!this.isPure(a,r))return!1;return!0}else if(Nz(t)||Wz(t)){for(let a of t.properties)if(!this.isPure(a,r))return!1;return!0}else if(wz(t)){var s;return!(t.computed&&!this.isPure(t.key,r)||((s=t.decorators)==null?void 0:s.length)>0)}else if(Oz(t)){var i;return!(t.computed&&!this.isPure(t.key,r)||((i=t.decorators)==null?void 0:i.length)>0||(Hz(t)||t.static)&&t.value!==null&&!this.isPure(t.value,r))}else{if(jz(t))return this.isPure(t.argument,r);if(aP(t)){for(let a of t.expressions)if(!this.isPure(a,r))return!1;return!0}else return Lz(t)?zv(t.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(t.quasi,r):Dz(t)?!t.computed&&Pi(t.object)&&t.object.name==="Symbol"&&Pi(t.property)&&t.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0}):Yv(t)?zv(t.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&t.arguments.length===1&&rP.isStringLiteral(t.arguments[0]):Bz(t)}}}}setData(t,r){return this.data[t]=r}getData(t){let r=this;do{let n=r.data[t];if(n!=null)return n}while(r=r.parent)}removeData(t){let r=this;do r.data[t]!=null&&(r.data[t]=null);while(r=r.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){let t=this.path;Zv(this),this.data=Object.create(null);let r=this;do{if(r.crawling)return;if(r.path.isProgram())break}while(r=r.parent);let n=r,s={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,Ko||(Ko=eP.default.visitors.merge([{Scope(i){Zv(i.scope)}},Qz])),t.type!=="Program"){for(let a of Ko.enter)a.call(s,t,s);let i=Ko[t.type];if(i)for(let a of i.enter)a.call(s,t,s)}t.traverse(Ko,s),this.crawling=!1;for(let i of s.assignments){let a=i.getAssignmentIdentifiers();for(let o of Object.keys(a))i.scope.getBinding(o)||n.addGlobal(a[o]);i.scope.registerConstantViolation(i)}for(let i of s.references){let a=i.scope.getBinding(i.node.name);a?a.reference(i):n.addGlobal(i.node)}for(let i of s.constantViolations)i.scope.registerConstantViolation(i)}push(t){let r=this.path;r.isPattern()?r=this.getPatternParent().path:!r.isBlockStatement()&&!r.isProgram()&&(r=this.getBlockParent().path),r.isSwitchStatement()&&(r=(this.getFunctionParent()||this.getProgramParent()).path);let{init:n,unique:s,kind:i="var",id:a}=t;if(!n&&!s&&(i==="var"||i==="let")&&r.isFunction()&&!r.node.name&&Yv(r.parent,{callee:r.node})&&r.parent.arguments.length<=r.node.params.length&&Pi(a)){r.pushContainer("params",a),r.scope.registerBinding("param",r.get("params")[r.node.params.length-1]);return}(r.isLoop()||r.isCatchClause()||r.isFunction())&&(r.ensureBlock(),r=r.get("body"));let o=t._blockHoist==null?2:t._blockHoist,l=`declaration:${i}:${o}`,u=!s&&r.getData(l);if(!u){let d=Vz(i,[]);d._blockHoist=o,[u]=r.unshiftContainer("body",[d]),s||r.setData(l,u)}let c=$z(a,n),p=u.node.declarations.push(c);r.scope.registerBinding(i,u.get("declarations")[p-1])}getProgramParent(){let t=this;do if(t.path.isProgram())return t;while(t=t.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let t=this;do if(t.path.isFunctionParent())return t;while(t=t.parent);return null}getBlockParent(){let t=this;do if(t.path.isBlockParent())return t;while(t=t.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let t=this;do if(!t.path.isPattern())return t.getBlockParent();while(t=t.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let t=Object.create(null),r=this;do{for(let n of Object.keys(r.bindings))n in t||(t[n]=r.bindings[n]);r=r.parent}while(r);return t}bindingIdentifierEquals(t,r){return this.getBindingIdentifier(t)===r}getBinding(t){let r=this,n;do{let i=r.getOwnBinding(t);if(i){var s;if(!((s=n)!=null&&s.isPattern()&&i.kind!=="param"&&i.kind!=="local"))return i}else if(!i&&t==="arguments"&&r.path.isFunction()&&!r.path.isArrowFunctionExpression())break;n=r.path}while(r=r.parent)}getOwnBinding(t){return this.bindings[t]}getBindingIdentifier(t){var r;return(r=this.getBinding(t))==null?void 0:r.identifier}getOwnBindingIdentifier(t){let r=this.bindings[t];return r==null?void 0:r.identifier}hasOwnBinding(t){return!!this.getOwnBinding(t)}hasBinding(t,r){if(!t)return!1;let n,s,i;typeof r=="object"?(n=r.noGlobals,s=r.noUids,i=r.upToScope):typeof r=="boolean"&&(n=r);let a=this;do{if(i===a)break;if(a.hasOwnBinding(t))return!0}while(a=a.parent);return!!(!s&&this.hasUid(t)||!n&&e.globals.includes(t)||!n&&e.contextVariables.includes(t))}parentHasBinding(t,r){var n;return(n=this.parent)==null?void 0:n.hasBinding(t,r)}moveBindingTo(t,r){let n=this.getBinding(t);n&&(n.scope.removeOwnBinding(t),n.scope=r,r.bindings[t]=n)}removeOwnBinding(t){delete this.bindings[t]}removeBinding(t){var r;(r=this.getBinding(t))==null||r.scope.removeOwnBinding(t);{let n=this;do n.uids[t]&&(n.uids[t]=!1);while(n=n.parent)}}hoistVariables(t=r=>this.push({id:r})){this.crawl();let r=new Set;for(let n of Object.keys(this.bindings)){let s=this.bindings[n];if(!s)continue;let{path:i}=s;if(!i.isVariableDeclarator())continue;let{parent:a,parentPath:o}=i;if(a.kind!=="var"||r.has(a))continue;r.add(i.parent);let l,u=[];for(let c of a.declarations){l!=null||(l=c.id),c.init&&u.push(Ez("=",c.id,c.init));let p=Object.keys(nP(c,!1,!0,!0));for(let d of p)t(Ai(d),c.init!=null)}if(o.parentPath.isFor({left:a}))o.replaceWith(l);else if(u.length===0)o.remove();else{let c=u.length===1?u[0]:zz(u);o.parentPath.isForStatement({init:a})?o.replaceWith(c):o.replaceWith(Rz(c))}}}};tc.default=An;An.globals=[...gz,...bz];An.contextVariables=["arguments","undefined","Infinity","NaN"];An.prototype._renameFromMap=function(t,r,n,s){t[r]&&(t[n]=s,t[r]=null)},An.prototype.traverse=function(e,t,r){(0,eP.default)(e,t,this,r,this.path)},An.prototype._generateUid=function(t,r){let n=t;return r>1&&(n+=r),`_${n}`},An.prototype.toArray=function(t,r,n){if(Pi(t)){let a=this.getBinding(t.name);if(a!=null&&a.constant&&a.path.isGenericType("Array"))return t}if(sP(t))return t;if(Pi(t,{name:"arguments"}))return Gv(Ty(Ty(Ty(Ai("Array"),Ai("prototype")),Ai("slice")),Ai("call")),[t]);let s,i=[t];return r===!0?s="toConsumableArray":typeof r=="number"?(i.push(qz(r)),s="slicedToArray"):s="toArray",n&&(i.unshift(this.path.hub.addHelper(s)),s="maybeArrayLike"),Gv(this.path.hub.addHelper(s),i)},An.prototype.getAllBindingsOfKind=function(...t){let r=Object.create(null);for(let n of t){let s=this;do{for(let i of Object.keys(s.bindings)){let a=s.bindings[i];a.kind===n&&(r[i]=a)}s=s.parent}while(s)}return r},Object.defineProperties(An.prototype,{parentBlock:{configurable:!0,enumerable:!0,get(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get(){return this.path.hub}}})});var Ay=x((vy,Py)=>{(function(e,t,r){typeof vy=="object"&&typeof Py!="undefined"?t(Py):typeof define=="function"&&define.amd?define(["module"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,t(r={exports:{}}),e.sourcemapCodec="default"in r.exports?r.exports.default:r.exports)})(vy,(function(e){"use strict";var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,i=(V,G)=>{for(var j in G)t(V,j,{get:G[j],enumerable:!0})},a=(V,G,j,re)=>{if(G&&typeof G=="object"||typeof G=="function")for(let de of n(G))!s.call(V,de)&&de!==j&&t(V,de,{get:()=>G[de],enumerable:!(re=r(G,de))||re.enumerable});return V},o=V=>a(t({},"__esModule",{value:!0}),V),l={};i(l,{decode:()=>ze,decodeGeneratedRanges:()=>pe,decodeOriginalScopes:()=>W,encode:()=>se,encodeGeneratedRanges:()=>Ee,encodeOriginalScopes:()=>U}),e.exports=o(l);var u=44,c=59,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=new Uint8Array(64),m=new Uint8Array(128);for(let V=0;V<p.length;V++){let G=p.charCodeAt(V);d[V]=G,m[G]=V}function g(V,G){let j=0,re=0,de=0;do{let Te=V.next();de=m[Te],j|=(de&31)<<re,re+=5}while(de&32);let ye=j&1;return j>>>=1,ye&&(j=-2147483648|-j),G+j}function f(V,G,j){let re=G-j;re=re<0?-re<<1|1:re<<1;do{let de=re&31;re>>>=5,re>0&&(de|=32),V.write(d[de])}while(re>0);return G}function b(V,G){return V.pos>=G?!1:V.peek()!==u}var T=1024*16,w=typeof TextDecoder!="undefined"?new TextDecoder:typeof Buffer!="undefined"?{decode(V){return Buffer.from(V.buffer,V.byteOffset,V.byteLength).toString()}}:{decode(V){let G="";for(let j=0;j<V.length;j++)G+=String.fromCharCode(V[j]);return G}},I=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(T)}write(V){let{buffer:G}=this;G[this.pos++]=V,this.pos===T&&(this.out+=w.decode(G),this.pos=0)}flush(){let{buffer:V,out:G,pos:j}=this;return j>0?G+w.decode(V.subarray(0,j)):G}},N=class{constructor(V){this.pos=0,this.buffer=V}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(V){let{buffer:G,pos:j}=this,re=G.indexOf(V,j);return re===-1?G.length:re}},L=[];function W(V){let{length:G}=V,j=new N(V),re=[],de=[],ye=0;for(;j.pos<G;j.pos++){ye=g(j,ye);let Te=g(j,0);if(!b(j,G)){let ut=de.pop();ut[2]=ye,ut[3]=Te;continue}let he=g(j,0),Ve=g(j,0)&1?[ye,Te,0,0,he,g(j,0)]:[ye,Te,0,0,he],pt=L;if(b(j,G)){pt=[];do{let ut=g(j,0);pt.push(ut)}while(b(j,G))}Ve.vars=pt,re.push(Ve),de.push(Ve)}return re}function U(V){let G=new I;for(let j=0;j<V.length;)j=H(V,j,G,[0]);return G.flush()}function H(V,G,j,re){let de=V[G],{0:ye,1:Te,2:he,3:De,4:we,vars:Ve}=de;G>0&&j.write(u),re[0]=f(j,ye,re[0]),f(j,Te,0),f(j,we,0);let pt=de.length===6?1:0;f(j,pt,0),de.length===6&&f(j,de[5],0);for(let ut of Ve)f(j,ut,0);for(G++;G<V.length;){let ut=V[G],{0:Ke,1:gt}=ut;if(Ke>he||Ke===he&>>=De)break;G=H(V,G,j,re)}return j.write(u),re[0]=f(j,he,re[0]),f(j,De,0),G}function pe(V){let{length:G}=V,j=new N(V),re=[],de=[],ye=0,Te=0,he=0,De=0,we=0,Ve=0,pt=0,ut=0;do{let Ke=j.indexOf(";"),gt=0;for(;j.pos<Ke;j.pos++){if(gt=g(j,gt),!b(j,Ke)){let ie=de.pop();ie[2]=ye,ie[3]=gt;continue}let Dt=g(j,0),_r=Dt&1,xr=Dt&2,nr=Dt&4,R=null,F=L,Q;if(_r){let ie=g(j,Te);he=g(j,Te===ie?he:0),Te=ie,Q=[ye,gt,0,0,ie,he]}else Q=[ye,gt,0,0];if(Q.isScope=!!nr,xr){let ie=De,ve=we;De=g(j,De);let Se=ie===De;we=g(j,Se?we:0),Ve=g(j,Se&&ve===we?Ve:0),R=[De,we,Ve]}if(Q.callsite=R,b(j,Ke)){F=[];do{pt=ye,ut=gt;let ie=g(j,0),ve;if(ie<-1){ve=[[g(j,0)]];for(let Se=-1;Se>ie;Se--){let Le=pt;pt=g(j,pt),ut=g(j,pt===Le?ut:0);let At=g(j,0);ve.push([At,pt,ut])}}else ve=[[ie]];F.push(ve)}while(b(j,Ke))}Q.bindings=F,re.push(Q),de.push(Q)}ye++,j.pos=Ke+1}while(j.pos<G);return re}function Ee(V){if(V.length===0)return"";let G=new I;for(let j=0;j<V.length;)j=ce(V,j,G,[0,0,0,0,0,0,0]);return G.flush()}function ce(V,G,j,re){let de=V[G],{0:ye,1:Te,2:he,3:De,isScope:we,callsite:Ve,bindings:pt}=de;re[0]<ye?(qe(j,re[0],ye),re[0]=ye,re[1]=0):G>0&&j.write(u),re[1]=f(j,de[1],re[1]);let ut=(de.length===6?1:0)|(Ve?2:0)|(we?4:0);if(f(j,ut,0),de.length===6){let{4:Ke,5:gt}=de;Ke!==re[2]&&(re[3]=0),re[2]=f(j,Ke,re[2]),re[3]=f(j,gt,re[3])}if(Ve){let{0:Ke,1:gt,2:Dt}=de.callsite;Ke!==re[4]?(re[5]=0,re[6]=0):gt!==re[5]&&(re[6]=0),re[4]=f(j,Ke,re[4]),re[5]=f(j,gt,re[5]),re[6]=f(j,Dt,re[6])}if(pt)for(let Ke of pt){Ke.length>1&&f(j,-Ke.length,0);let gt=Ke[0][0];f(j,gt,0);let Dt=ye,_r=Te;for(let xr=1;xr<Ke.length;xr++){let nr=Ke[xr];Dt=f(j,nr[1],Dt),_r=f(j,nr[2],_r),f(j,nr[0],0)}}for(G++;G<V.length;){let Ke=V[G],{0:gt,1:Dt}=Ke;if(gt>he||gt===he&&Dt>=De)break;G=ce(V,G,j,re)}return re[0]<he?(qe(j,re[0],he),re[0]=he,re[1]=0):j.write(u),re[1]=f(j,De,re[1]),G}function qe(V,G,j){do V.write(c);while(++G<j)}function ze(V){let{length:G}=V,j=new N(V),re=[],de=0,ye=0,Te=0,he=0,De=0;do{let we=j.indexOf(";"),Ve=[],pt=!0,ut=0;for(de=0;j.pos<we;){let Ke;de=g(j,de),de<ut&&(pt=!1),ut=de,b(j,we)?(ye=g(j,ye),Te=g(j,Te),he=g(j,he),b(j,we)?(De=g(j,De),Ke=[de,ye,Te,he,De]):Ke=[de,ye,Te,he]):Ke=[de],Ve.push(Ke),j.pos++}pt||Ot(Ve),re.push(Ve),j.pos=we+1}while(j.pos<=G);return re}function Ot(V){V.sort(J)}function J(V,G){return V[0]-G[0]}function se(V){let G=new I,j=0,re=0,de=0,ye=0;for(let Te=0;Te<V.length;Te++){let he=V[Te];if(Te>0&&G.write(c),he.length===0)continue;let De=0;for(let we=0;we<he.length;we++){let Ve=he[we];we>0&&G.write(u),De=f(G,Ve[0],De),Ve.length!==1&&(j=f(G,Ve[1],j),re=f(G,Ve[2],re),de=f(G,Ve[3],de),Ve.length!==4&&(ye=f(G,Ve[4],ye)))}}return G.flush()}}))});var oP=x((Cy,Dy)=>{(function(e,t){typeof Cy=="object"&&typeof Dy!="undefined"?Dy.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.resolveURI=t())})(Cy,(function(){"use strict";let e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var n;(function(T){T[T.Empty=1]="Empty",T[T.Hash=2]="Hash",T[T.Query=3]="Query",T[T.RelativePath=4]="RelativePath",T[T.AbsolutePath=5]="AbsolutePath",T[T.SchemeRelative=6]="SchemeRelative",T[T.Absolute=7]="Absolute"})(n||(n={}));function s(T){return e.test(T)}function i(T){return T.startsWith("//")}function a(T){return T.startsWith("/")}function o(T){return T.startsWith("file:")}function l(T){return/^[.?#]/.test(T)}function u(T){let w=t.exec(T);return p(w[1],w[2]||"",w[3],w[4]||"",w[5]||"/",w[6]||"",w[7]||"")}function c(T){let w=r.exec(T),I=w[2];return p("file:","",w[1]||"","",a(I)?I:"/"+I,w[3]||"",w[4]||"")}function p(T,w,I,N,L,W,U){return{scheme:T,user:w,host:I,port:N,path:L,query:W,hash:U,type:n.Absolute}}function d(T){if(i(T)){let I=u("http:"+T);return I.scheme="",I.type=n.SchemeRelative,I}if(a(T)){let I=u("http://foo.com"+T);return I.scheme="",I.host="",I.type=n.AbsolutePath,I}if(o(T))return c(T);if(s(T))return u(T);let w=u("http://foo.com/"+T);return w.scheme="",w.host="",w.type=T?T.startsWith("?")?n.Query:T.startsWith("#")?n.Hash:n.RelativePath:n.Empty,w}function m(T){if(T.endsWith("/.."))return T;let w=T.lastIndexOf("/");return T.slice(0,w+1)}function g(T,w){f(w,w.type),T.path==="/"?T.path=w.path:T.path=m(w.path)+T.path}function f(T,w){let I=w<=n.RelativePath,N=T.path.split("/"),L=1,W=0,U=!1;for(let pe=1;pe<N.length;pe++){let Ee=N[pe];if(!Ee){U=!0;continue}if(U=!1,Ee!=="."){if(Ee===".."){W?(U=!0,W--,L--):I&&(N[L++]=Ee);continue}N[L++]=Ee,W++}}let H="";for(let pe=1;pe<L;pe++)H+="/"+N[pe];(!H||U&&!H.endsWith("/.."))&&(H+="/"),T.path=H}function b(T,w){if(!T&&!w)return"";let I=d(T),N=I.type;if(w&&N!==n.Absolute){let W=d(w),U=W.type;switch(N){case n.Empty:I.hash=W.hash;case n.Hash:I.query=W.query;case n.Query:case n.RelativePath:g(I,W);case n.AbsolutePath:I.user=W.user,I.host=W.host,I.port=W.port;case n.SchemeRelative:I.scheme=W.scheme}U>N&&(N=U)}f(I,N);let L=I.query+I.hash;switch(N){case n.Hash:case n.Query:return L;case n.RelativePath:{let W=I.path.slice(1);return W?l(w||T)&&!l(W)?"./"+W+L:W+L:L||"."}case n.AbsolutePath:return I.path+L;default:return I.scheme+"//"+I.user+I.host+I.port+I.path+L}}return b}))});var rc=x((wy,Iy)=>{(function(e,t,r){typeof wy=="object"&&typeof Iy!="undefined"?t(Iy,oP(),Ay()):typeof define=="function"&&define.amd?define(["module","@jridgewell/resolve-uri","@jridgewell/sourcemap-codec"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,t(r={exports:{}},e.resolveURI,e.sourcemapCodec),e.traceMapping="default"in r.exports?r.exports.default:r.exports)})(wy,(function(e,t,r){"use strict";var n=Object.create,s=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(q,z)=>function(){return z||(0,q[a(q)[0]])((z={exports:{}}).exports,z),z.exports},c=(q,z)=>{for(var te in z)s(q,te,{get:z[te],enumerable:!0})},p=(q,z,te,ue)=>{if(z&&typeof z=="object"||typeof z=="function")for(let je of a(z))!l.call(q,je)&&je!==te&&s(q,je,{get:()=>z[je],enumerable:!(ue=i(z,je))||ue.enumerable});return q},d=(q,z,te)=>(te=q!=null?n(o(q)):{},p(z||!q||!q.__esModule?s(te,"default",{value:q,enumerable:!0}):te,q)),m=q=>p(s({},"__esModule",{value:!0}),q),g=u({"umd:@jridgewell/sourcemap-codec"(q,z){z.exports=r}}),f=u({"umd:@jridgewell/resolve-uri"(q,z){z.exports=t}}),b={};c(b,{AnyMap:()=>Ve,FlattenMap:()=>Ve,GREATEST_LOWER_BOUND:()=>nr,LEAST_UPPER_BOUND:()=>xr,TraceMap:()=>R,allGeneratedPositionsFor:()=>At,decodedMap:()=>er,decodedMappings:()=>ie,eachMapping:()=>ft,encodedMap:()=>$t,encodedMappings:()=>Q,generatedPositionFor:()=>Le,isIgnored:()=>Lt,originalPositionFor:()=>Se,presortedDecodedMap:()=>Ur,sourceContentFor:()=>Zt,traceSegment:()=>ve}),e.exports=m(b);var T=d(g()),w=d(f());function I(q){if(!q)return"";let z=q.lastIndexOf("/");return q.slice(0,z+1)}function N(q,z){let te=I(q),ue=z?z+"/":"";return je=>(0,w.default)(ue+(je||""),te)}var L=0,W=1,U=2,H=3,pe=4,Ee=1,ce=2;function qe(q,z){let te=ze(q,0);if(te===q.length)return q;z||(q=q.slice());for(let ue=te;ue<q.length;ue=ze(q,ue+1))q[ue]=J(q[ue],z);return q}function ze(q,z){for(let te=z;te<q.length;te++)if(!Ot(q[te]))return te;return q.length}function Ot(q){for(let z=1;z<q.length;z++)if(q[z][L]<q[z-1][L])return!1;return!0}function J(q,z){return z||(q=q.slice()),q.sort(se)}function se(q,z){return q[L]-z[L]}var V=!1;function G(q,z,te,ue){for(;te<=ue;){let je=te+(ue-te>>1),Ne=q[je][L]-z;if(Ne===0)return V=!0,je;Ne<0?te=je+1:ue=je-1}return V=!1,te-1}function j(q,z,te){for(let ue=te+1;ue<q.length&&q[ue][L]===z;te=ue++);return te}function re(q,z,te){for(let ue=te-1;ue>=0&&q[ue][L]===z;te=ue--);return te}function de(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function ye(q,z,te,ue){let{lastKey:je,lastNeedle:Ne,lastIndex:ct}=te,Pt=0,tt=q.length-1;if(ue===je){if(z===Ne)return V=ct!==-1&&q[ct][L]===z,ct;z>=Ne?Pt=ct===-1?0:ct:tt=ct}return te.lastKey=ue,te.lastNeedle=z,te.lastIndex=G(q,z,Pt,tt)}function Te(q,z){let te=z.map(De);for(let ue=0;ue<q.length;ue++){let je=q[ue];for(let Ne=0;Ne<je.length;Ne++){let ct=je[Ne];if(ct.length===1)continue;let Pt=ct[W],tt=ct[U],wt=ct[H],Vr=te[Pt],jt=Vr[tt]||(Vr[tt]=[]),ar=z[Pt],Xr=j(jt,wt,ye(jt,wt,ar,tt));ar.lastIndex=++Xr,he(jt,Xr,[wt,ue,ct[L]])}}return te}function he(q,z,te){for(let ue=q.length;ue>z;ue--)q[ue]=q[ue-1];q[z]=te}function De(){return{__proto__:null}}function we(q){return typeof q=="string"?JSON.parse(q):q}var Ve=function(q,z){let te=we(q);if(!("sections"in te))return new R(te,z);let ue=[],je=[],Ne=[],ct=[],Pt=[];pt(te,z,ue,je,Ne,ct,Pt,0,0,1/0,1/0);let tt={version:3,file:te.file,names:ct,sources:je,sourcesContent:Ne,mappings:ue,ignoreList:Pt};return Ur(tt)};function pt(q,z,te,ue,je,Ne,ct,Pt,tt,wt,Vr){let{sections:jt}=q;for(let ar=0;ar<jt.length;ar++){let{map:Xr,offset:Mn}=jt[ar],li=wt,ta=Vr;if(ar+1<jt.length){let ra=jt[ar+1].offset;li=Math.min(wt,Pt+ra.line),li===wt?ta=Math.min(Vr,tt+ra.column):li<wt&&(ta=tt+ra.column)}ut(Xr,z,te,ue,je,Ne,ct,Pt+Mn.line,tt+Mn.column,li,ta)}}function ut(q,z,te,ue,je,Ne,ct,Pt,tt,wt,Vr){let jt=we(q);if("sections"in jt)return pt(...arguments);let ar=new R(jt,z),Xr=ue.length,Mn=Ne.length,li=ie(ar),{resolvedSources:ta,sourcesContent:ra,ignoreList:id}=ar;if(Ke(ue,ta),Ke(Ne,ar.names),ra)Ke(je,ra);else for(let sn=0;sn<ta.length;sn++)je.push(null);if(id)for(let sn=0;sn<id.length;sn++)ct.push(id[sn]+Xr);for(let sn=0;sn<li.length;sn++){let ad=Pt+sn;if(ad>wt)return;let rT=gt(te,ad),F3=sn===0?tt:0,nT=li[sn];for(let od=0;od<nT.length;od++){let ui=nT[od],eu=F3+ui[L];if(ad===wt&&eu>=Vr)return;if(ui.length===1){rT.push([eu]);continue}let sT=Xr+ui[W],iT=ui[U],aT=ui[H];rT.push(ui.length===4?[eu,sT,iT,aT]:[eu,sT,iT,aT,Mn+ui[pe]])}}}function Ke(q,z){for(let te=0;te<z.length;te++)q.push(z[te])}function gt(q,z){for(let te=q.length;te<=z;te++)q[te]=[];return q[z]}var Dt="`line` must be greater than 0 (lines start at line 1)",_r="`column` must be greater than or equal to 0 (columns start at column 0)",xr=-1,nr=1,R=class{constructor(q,z){let te=typeof q=="string";if(!te&&q._decodedMemo)return q;let ue=we(q),{version:je,file:Ne,names:ct,sourceRoot:Pt,sources:tt,sourcesContent:wt}=ue;this.version=je,this.file=Ne,this.names=ct||[],this.sourceRoot=Pt,this.sources=tt,this.sourcesContent=wt,this.ignoreList=ue.ignoreList||ue.x_google_ignoreList||void 0;let Vr=N(z,Pt);this.resolvedSources=tt.map(Vr);let{mappings:jt}=ue;if(typeof jt=="string")this._encoded=jt,this._decoded=void 0;else if(Array.isArray(jt))this._encoded=void 0,this._decoded=qe(jt,te);else throw ue.sections?new Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):new Error(`invalid source map: ${JSON.stringify(ue)}`);this._decodedMemo=de(),this._bySources=void 0,this._bySourceMemos=void 0}};function F(q){return q}function Q(q){var z,te;return(te=(z=q)._encoded)!=null?te:z._encoded=(0,T.encode)(q._decoded)}function ie(q){var z;return(z=q)._decoded||(z._decoded=(0,T.decode)(q._encoded))}function ve(q,z,te){let ue=ie(q);if(z>=ue.length)return null;let je=ue[z],Ne=_s(je,q._decodedMemo,z,te,nr);return Ne===-1?null:je[Ne]}function Se(q,z){let{line:te,column:ue,bias:je}=z;if(te--,te<0)throw new Error(Dt);if(ue<0)throw new Error(_r);let Ne=ie(q);if(te>=Ne.length)return sr(null,null,null,null);let ct=Ne[te],Pt=_s(ct,q._decodedMemo,te,ue,je||nr);if(Pt===-1)return sr(null,null,null,null);let tt=ct[Pt];if(tt.length===1)return sr(null,null,null,null);let{names:wt,resolvedSources:Vr}=q;return sr(Vr[tt[W]],tt[U]+1,tt[H],tt.length===5?wt[tt[pe]]:null)}function Le(q,z){let{source:te,line:ue,column:je,bias:Ne}=z;return Zl(q,te,ue,je,Ne||nr,!1)}function At(q,z){let{source:te,line:ue,column:je,bias:Ne}=z;return Zl(q,te,ue,je,Ne||xr,!0)}function ft(q,z){let te=ie(q),{names:ue,resolvedSources:je}=q;for(let Ne=0;Ne<te.length;Ne++){let ct=te[Ne];for(let Pt=0;Pt<ct.length;Pt++){let tt=ct[Pt],wt=Ne+1,Vr=tt[0],jt=null,ar=null,Xr=null,Mn=null;tt.length!==1&&(jt=je[tt[1]],ar=tt[2]+1,Xr=tt[3]),tt.length===5&&(Mn=ue[tt[4]]),z({generatedLine:wt,generatedColumn:Vr,source:jt,originalLine:ar,originalColumn:Xr,name:Mn})}}}function qt(q,z){let{sources:te,resolvedSources:ue}=q,je=te.indexOf(z);return je===-1&&(je=ue.indexOf(z)),je}function Zt(q,z){let{sourcesContent:te}=q;if(te==null)return null;let ue=qt(q,z);return ue===-1?null:te[ue]}function Lt(q,z){let{ignoreList:te}=q;if(te==null)return!1;let ue=qt(q,z);return ue===-1?!1:te.includes(ue)}function Ur(q,z){let te=new R(Jt(q,[]),z);return te._decoded=q.mappings,te}function er(q){return Jt(q,ie(q))}function $t(q){return Jt(q,Q(q))}function Jt(q,z){return{version:q.version,file:q.file,names:q.names,sourceRoot:q.sourceRoot,sources:q.sources,sourcesContent:q.sourcesContent,mappings:z,ignoreList:q.ignoreList||q.x_google_ignoreList}}function sr(q,z,te,ue){return{source:q,line:z,column:te,name:ue}}function Sr(q,z){return{line:q,column:z}}function _s(q,z,te,ue,je){let Ne=ye(q,ue,z,te);return V?Ne=(je===xr?j:re)(q,ue,Ne):je===xr&&Ne++,Ne===-1||Ne===q.length?-1:Ne}function sd(q,z,te,ue,je){let Ne=_s(q,z,te,ue,nr);if(!V&&je===xr&&Ne++,Ne===-1||Ne===q.length)return[];let ct=V?ue:q[Ne][L];V||(Ne=re(q,ct,Ne));let Pt=j(q,ct,Ne),tt=[];for(;Ne<=Pt;Ne++){let wt=q[Ne];tt.push(Sr(wt[Ee]+1,wt[ce]))}return tt}function Zl(q,z,te,ue,je,Ne){var ct;if(te--,te<0)throw new Error(Dt);if(ue<0)throw new Error(_r);let{sources:Pt,resolvedSources:tt}=q,wt=Pt.indexOf(z);if(wt===-1&&(wt=tt.indexOf(z)),wt===-1)return Ne?[]:Sr(null,null);let jt=((ct=q)._bySources||(ct._bySources=Te(ie(q),q._bySourceMemos=Pt.map(de))))[wt][te];if(jt==null)return Ne?[]:Sr(null,null);let ar=q._bySourceMemos[wt];if(Ne)return sd(jt,ar,te,ue,je);let Xr=_s(jt,ar,te,ue,je);if(Xr===-1)return Sr(null,null);let Mn=jt[Xr];return Sr(Mn[Ee]+1,Mn[ce])}}))});var Oy=x((_y,Ny)=>{(function(e,t,r){typeof _y=="object"&&typeof Ny!="undefined"?t(Ny,Ay(),rc()):typeof define=="function"&&define.amd?define(["module","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,t(r={exports:{}},e.sourcemapCodec,e.traceMapping),e.genMapping="default"in r.exports?r.exports.default:r.exports)})(_y,(function(e,t,r){"use strict";var n=Object.create,s=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(R,F)=>function(){return F||(0,R[a(R)[0]])((F={exports:{}}).exports,F),F.exports},c=(R,F)=>{for(var Q in F)s(R,Q,{get:F[Q],enumerable:!0})},p=(R,F,Q,ie)=>{if(F&&typeof F=="object"||typeof F=="function")for(let ve of a(F))!l.call(R,ve)&&ve!==Q&&s(R,ve,{get:()=>F[ve],enumerable:!(ie=i(F,ve))||ie.enumerable});return R},d=(R,F,Q)=>(Q=R!=null?n(o(R)):{},p(F||!R||!R.__esModule?s(Q,"default",{value:R,enumerable:!0}):Q,R)),m=R=>p(s({},"__esModule",{value:!0}),R),g=u({"umd:@jridgewell/sourcemap-codec"(R,F){F.exports=t}}),f=u({"umd:@jridgewell/trace-mapping"(R,F){F.exports=r}}),b={};c(b,{GenMapping:()=>Ot,addMapping:()=>V,addSegment:()=>se,allMappings:()=>De,fromMap:()=>he,maybeAddMapping:()=>j,maybeAddSegment:()=>G,setIgnore:()=>de,setSourceContent:()=>re,toDecodedMap:()=>ye,toEncodedMap:()=>Te}),e.exports=m(b);var T=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function w(R){return R}function I(R,F){return R._indexes[F]}function N(R,F){let Q=I(R,F);if(Q!==void 0)return Q;let{array:ie,_indexes:ve}=R,Se=ie.push(F);return ve[F]=Se-1}function L(R,F){let Q=I(R,F);if(Q===void 0)return;let{array:ie,_indexes:ve}=R;for(let Se=Q+1;Se<ie.length;Se++){let Le=ie[Se];ie[Se-1]=Le,ve[Le]--}ve[F]=void 0,ie.pop()}var W=d(g()),U=d(f()),H=0,pe=1,Ee=2,ce=3,qe=4,ze=-1,Ot=class{constructor({file:R,sourceRoot:F}={}){this._names=new T,this._sources=new T,this._sourcesContent=[],this._mappings=[],this.file=R,this.sourceRoot=F,this._ignoreList=new T}};function J(R){return R}function se(R,F,Q,ie,ve,Se,Le,At){return we(!1,R,F,Q,ie,ve,Se,Le,At)}function V(R,F){return nr(!1,R,F)}var G=(R,F,Q,ie,ve,Se,Le,At)=>we(!0,R,F,Q,ie,ve,Se,Le,At),j=(R,F)=>nr(!0,R,F);function re(R,F,Q){let{_sources:ie,_sourcesContent:ve}=R,Se=N(ie,F);ve[Se]=Q}function de(R,F,Q=!0){let{_sources:ie,_sourcesContent:ve,_ignoreList:Se}=R,Le=N(ie,F);Le===ve.length&&(ve[Le]=null),Q?N(Se,Le):L(Se,Le)}function ye(R){let{_mappings:F,_sources:Q,_sourcesContent:ie,_names:ve,_ignoreList:Se}=R;return gt(F),{version:3,file:R.file||void 0,names:ve.array,sourceRoot:R.sourceRoot||void 0,sources:Q.array,sourcesContent:ie,mappings:F,ignoreList:Se.array}}function Te(R){let F=ye(R);return Object.assign({},F,{mappings:(0,W.encode)(F.mappings)})}function he(R){let F=new U.TraceMap(R),Q=new Ot({file:F.file,sourceRoot:F.sourceRoot});return Dt(Q._names,F.names),Dt(Q._sources,F.sources),Q._sourcesContent=F.sourcesContent||F.sources.map(()=>null),Q._mappings=(0,U.decodedMappings)(F),F.ignoreList&&Dt(Q._ignoreList,F.ignoreList),Q}function De(R){let F=[],{_mappings:Q,_sources:ie,_names:ve}=R;for(let Se=0;Se<Q.length;Se++){let Le=Q[Se];for(let At=0;At<Le.length;At++){let ft=Le[At],qt={line:Se+1,column:ft[H]},Zt,Lt,Ur;ft.length!==1&&(Zt=ie.array[ft[pe]],Lt={line:ft[Ee]+1,column:ft[ce]},ft.length===5&&(Ur=ve.array[ft[qe]])),F.push({generated:qt,source:Zt,original:Lt,name:Ur})}}return F}function we(R,F,Q,ie,ve,Se,Le,At,ft){let{_mappings:qt,_sources:Zt,_sourcesContent:Lt,_names:Ur}=F,er=pt(qt,Q),$t=ut(er,ie);if(!ve)return R&&_r(er,$t)?void 0:Ke(er,$t,[ie]);let Jt=N(Zt,ve),sr=At?N(Ur,At):ze;if(Jt===Lt.length&&(Lt[Jt]=ft!=null?ft:null),!(R&&xr(er,$t,Jt,Se,Le,sr)))return Ke(er,$t,At?[ie,Jt,Se,Le,sr]:[ie,Jt,Se,Le])}function Ve(R){}function pt(R,F){for(let Q=R.length;Q<=F;Q++)R[Q]=[];return R[F]}function ut(R,F){let Q=R.length;for(let ie=Q-1;ie>=0;Q=ie--){let ve=R[ie];if(F>=ve[H])break}return Q}function Ke(R,F,Q){for(let ie=R.length;ie>F;ie--)R[ie]=R[ie-1];R[F]=Q}function gt(R){let{length:F}=R,Q=F;for(let ie=Q-1;ie>=0&&!(R[ie].length>0);Q=ie,ie--);Q<F&&(R.length=Q)}function Dt(R,F){for(let Q=0;Q<F.length;Q++)N(R,F[Q])}function _r(R,F){return F===0?!0:R[F-1].length===1}function xr(R,F,Q,ie,ve,Se){if(F===0)return!1;let Le=R[F-1];return Le.length===1?!1:Q===Le[pe]&&ie===Le[Ee]&&ve===Le[ce]&&Se===(Le.length===5?Le[qe]:ze)}function nr(R,F,Q){let{generated:ie,source:ve,original:Se,name:Le,content:At}=Q;return ve?we(R,F,ie.line-1,ie.column,ve,Se.line-1,Se.column,Le,At):we(R,F,ie.line-1,ie.column,null,null,null,null,null)}}))});var lP=x(nc=>{"use strict";Object.defineProperty(nc,"__esModule",{value:!0});nc.default=void 0;var Rs=Oy(),By=rc(),ky=class{constructor(t,r){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;let s=this._map=new Rs.GenMapping({sourceRoot:t.sourceRoot});if(this._sourceFileName=(n=t.sourceFileName)==null?void 0:n.replace(/\\/g,"/"),this._rawMappings=void 0,t.inputSourceMap){this._inputMap=new By.TraceMap(t.inputSourceMap);let a=this._inputMap.resolvedSources;if(a.length)for(let o=0;o<a.length;o++){var i;(0,Rs.setSourceContent)(s,a[o],(i=this._inputMap.sourcesContent)==null?void 0:i[o])}}if(typeof r=="string"&&!t.inputSourceMap)(0,Rs.setSourceContent)(s,this._sourceFileName,r);else if(typeof r=="object")for(let a of Object.keys(r))(0,Rs.setSourceContent)(s,a.replace(/\\/g,"/"),r[a])}get(){return(0,Rs.toEncodedMap)(this._map)}getDecoded(){return(0,Rs.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,Rs.allMappings)(this._map))}mark(t,r,n,s,i,a){var o;this._rawMappings=void 0;let l;if(r!=null)if(this._inputMap){if(l=(0,By.originalPositionFor)(this._inputMap,{line:r,column:n}),!l.name&&i){let u=(0,By.originalPositionFor)(this._inputMap,i);u.name&&(s=u.name)}}else l={source:(a==null?void 0:a.replace(/\\/g,"/"))||this._sourceFileName,line:r,column:n};(0,Rs.maybeAddMapping)(this._map,{name:s,generated:t,source:(o=l)==null?void 0:o.source,original:l})}};nc.default=ky});var uP=x(sc=>{"use strict";Object.defineProperty(sc,"__esModule",{value:!0});sc.default=void 0;var Fy=class{constructor(t,r){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=t,this._indentChar=r;for(let n=0;n<64;n++)this._fastIndentations.push(r.repeat(n));this._allocQueue()}_allocQueue(){let t=this._queue;for(let r=0;r<16;r++)t.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(t,r,n,s,i){let a=this._queueCursor;a===this._queue.length&&this._allocQueue();let o=this._queue[a];o.char=t,o.repeat=r,o.line=n,o.column=s,o.filename=i,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let t=this._map,r={code:(this._buf+this._str).trimRight(),decodedMap:t==null?void 0:t.getDecoded(),get __mergedMap(){return this.map},get map(){let n=t?t.get():null;return r.map=n,n},set map(n){Object.defineProperty(r,"map",{value:n,writable:!0})},get rawMappings(){let n=t==null?void 0:t.getRawMappings();return r.rawMappings=n,n},set rawMappings(n){Object.defineProperty(r,"rawMappings",{value:n,writable:!0})}};return r}append(t,r){this._flush(),this._append(t,this._sourcePosition,r)}appendChar(t){this._flush(),this._appendChar(t,1,this._sourcePosition)}queue(t){if(t===10)for(;this._queueCursor!==0;){let n=this._queue[this._queueCursor-1].char;if(n!==32&&n!==9)break;this._queueCursor--}let r=this._sourcePosition;this._pushQueue(t,1,r.line,r.column,r.filename)}queueIndentation(t){t!==0&&this._pushQueue(-1,t,void 0,void 0,void 0)}_flush(){let t=this._queueCursor,r=this._queue;for(let n=0;n<t;n++){let s=r[n];this._appendChar(s.char,s.repeat,s)}this._queueCursor=0}_appendChar(t,r,n){if(this._last=t,t===-1){let s=this._fastIndentations[r];s!==void 0?this._str+=s:this._str+=r>1?this._indentChar.repeat(r):this._indentChar}else this._str+=r>1?String.fromCharCode(t).repeat(r):String.fromCharCode(t);t!==10?(this._mark(n.line,n.column,n.identifierName,n.identifierNamePos,n.filename),this._position.column+=r):(this._position.line++,this._position.column=0),this._canMarkIdName&&(n.identifierName=void 0,n.identifierNamePos=void 0)}_append(t,r,n){let s=t.length,i=this._position;if(this._last=t.charCodeAt(s-1),++this._appendCount>4096?(+this._str,this._buf+=this._str,this._str=t,this._appendCount=0):this._str+=t,!n&&!this._map){i.column+=s;return}let{column:a,identifierName:o,identifierNamePos:l,filename:u}=r,c=r.line;(o!=null||l!=null)&&this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0);let p=t.indexOf(`
|
|
38
38
|
`),d=0;for(p!==0&&this._mark(c,a,o,l,u);p!==-1;)i.line++,i.column=0,d=p+1,d<s&&c!==void 0&&this._mark(++c,0,null,null,u),p=t.indexOf(`
|
|
39
39
|
`,d);i.column+=s-d}_mark(t,r,n,s,i){var a;(a=this._map)==null||a.mark(this._position,t,r,n,s,i)}removeTrailingNewline(){let t=this._queueCursor;t!==0&&this._queue[t-1].char===10&&this._queueCursor--}removeLastSemicolon(){let t=this._queueCursor;t!==0&&this._queue[t-1].char===59&&this._queueCursor--}getLastChar(){let t=this._queueCursor;return t!==0?this._queue[t-1].char:this._last}getNewlineCount(){let t=this._queueCursor,r=0;if(t===0)return this._last===10?1:0;for(let n=t-1;n>=0&&this._queue[n].char===10;n--)r++;return r===t&&this._last===10?r+1:r}endsWithCharAndNewline(){let t=this._queue,r=this._queueCursor;if(r!==0)return t[r-1].char!==10?void 0:r>1?t[r-2].char:this._last}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(t,r){if(!this._map){r();return}this.source("start",t);let n=t.identifierName,s=this._sourcePosition;n&&(this._canMarkIdName=!1,s.identifierName=n),r(),n&&(this._canMarkIdName=!0,s.identifierName=void 0,s.identifierNamePos=void 0),this.source("end",t)}source(t,r){this._map&&this._normalizePosition(t,r,0)}sourceWithOffset(t,r,n){this._map&&this._normalizePosition(t,r,n)}_normalizePosition(t,r,n){let s=r[t],i=this._sourcePosition;s&&(i.line=s.line,i.column=Math.max(s.column+n,0),i.filename=r.filename)}getCurrentColumn(){let t=this._queue,r=this._queueCursor,n=-1,s=0;for(let i=0;i<r;i++){let a=t[i];a.char===10&&(n=s),s+=a.repeat}return n===-1?this._position.column+s:s-1-n}getCurrentLine(){let t=0,r=this._queue;for(let n=0;n<this._queueCursor;n++)r[n].char===10&&t++;return this._position.line+t}};sc.default=Fy});var hP=x(ac=>{"use strict";Object.defineProperty(ac,"__esModule",{value:!0});ac.nodes=void 0;var eQ=Fe(),{FLIPPED_ALIAS_KEYS:tQ,isArrayExpression:rQ,isAssignmentExpression:pP,isBinary:fP,isBlockStatement:nQ,isCallExpression:dP,isFunction:Ho,isIdentifier:ic,isLiteral:sQ,isMemberExpression:Ly,isObjectExpression:iQ,isOptionalCallExpression:aQ,isOptionalMemberExpression:oQ,isStringLiteral:lQ}=eQ;function Pa(e,t){return e&&(Ly(e)||oQ(e)?(Pa(e.object,t),e.computed&&Pa(e.property,t)):fP(e)||pP(e)?(Pa(e.left,t),Pa(e.right,t)):dP(e)||aQ(e)?(t.hasCall=!0,Pa(e.callee,t)):Ho(e)?t.hasFunction=!0:ic(e)&&(t.hasHelper=t.hasHelper||e.callee&&ns(e.callee))),t}function cP(e){return Pa(e,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function ns(e){return e?Ly(e)?ns(e.object)||ns(e.property):ic(e)?e.name==="require"||e.name.charCodeAt(0)===95:dP(e)?ns(e.callee):fP(e)||pP(e)?ic(e.left)&&ns(e.left)||ns(e.right):!1:!1}function uQ(e){return sQ(e)||iQ(e)||rQ(e)||ic(e)||Ly(e)}var Ci=ac.nodes={AssignmentExpression(e){let t=cP(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction)return t.hasFunction?3:2},SwitchCase(e,t){return(e.consequent.length||t.cases[0]===e?1:0)|(!e.consequent.length&&t.cases[t.cases.length-1]===e?2:0)},LogicalExpression(e){if(Ho(e.left)||Ho(e.right))return 2},Literal(e){if(lQ(e)&&e.value==="use strict")return 2},CallExpression(e){if(Ho(e.callee)||ns(e))return 3},OptionalCallExpression(e){if(Ho(e.callee))return 3},VariableDeclaration(e){for(let t=0;t<e.declarations.length;t++){let r=e.declarations[t],n=ns(r.id)&&!uQ(r.init);if(!n&&r.init){let s=cP(r.init);n=ns(r.init)&&s.hasCall||s.hasFunction}if(n)return 3}},IfStatement(e){if(nQ(e.consequent))return 3}};Ci.ObjectProperty=Ci.ObjectTypeProperty=Ci.ObjectMethod=function(e,t){if(t.properties[0]===e)return 1};Ci.ObjectTypeCallProperty=function(e,t){var r;if(t.callProperties[0]===e&&!((r=t.properties)!=null&&r.length))return 1};Ci.ObjectTypeIndexer=function(e,t){var r,n;if(t.indexers[0]===e&&!((r=t.properties)!=null&&r.length)&&!((n=t.callProperties)!=null&&n.length))return 1};Ci.ObjectTypeInternalSlot=function(e,t){var r,n,s;if(t.internalSlots[0]===e&&!((r=t.properties)!=null&&r.length)&&!((n=t.callProperties)!=null&&n.length)&&!((s=t.indexers)!=null&&s.length))return 1};[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([e,t]){[e].concat(tQ[e]||[]).forEach(function(r){let n=t?3:0;Ci[r]=()=>n})})});var SP=x(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});rt.AssignmentExpression=UQ;rt.Binary=EP;rt.BinaryExpression=FQ;rt.ClassExpression=MQ;rt.ArrowFunctionExpression=rt.ConditionalExpression=xP;rt.DoExpression=PQ;rt.FunctionExpression=RQ;rt.FunctionTypeAnnotation=xQ;rt.Identifier=$Q;rt.LogicalExpression=VQ;rt.NullableTypeAnnotation=TQ;rt.ObjectExpression=vQ;rt.OptionalIndexedAccessType=CQ;rt.OptionalCallExpression=rt.OptionalMemberExpression=qQ;rt.SequenceExpression=LQ;rt.TSSatisfiesExpression=rt.TSAsExpression=DQ;rt.TSConditionalType=wQ;rt.TSConstructorType=rt.TSFunctionType=kQ;rt.TSInferType=NQ;rt.TSInstantiationExpression=BQ;rt.TSIntersectionType=_Q;rt.UnaryLike=rt.TSTypeAssertion=TP;rt.TSTypeOperator=OQ;rt.TSUnionType=IQ;rt.IntersectionTypeAnnotation=rt.UnionTypeAnnotation=AQ;rt.UpdateExpression=SQ;rt.AwaitExpression=rt.YieldExpression=jQ;var cQ=Fe(),zr=Di(),{isArrayTypeAnnotation:pQ,isBinaryExpression:fQ,isCallExpression:dQ,isForOfStatement:hQ,isIndexedAccessType:mQ,isMemberExpression:gP,isObjectPattern:yQ,isOptionalMemberExpression:gQ,isYieldExpression:bQ,isStatement:EQ}=cQ,mP=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 yP(e,t){if(t==="BinaryExpression"||t==="LogicalExpression")return mP.get(e.operator);if(t==="TSAsExpression"||t==="TSSatisfiesExpression")return mP.get("in")}function jy(e){return e==="TSAsExpression"||e==="TSSatisfiesExpression"||e==="TSTypeAssertion"}var oc=(e,t)=>{let r=t.type;return(r==="ClassDeclaration"||r==="ClassExpression")&&t.superClass===e},lc=(e,t)=>{let r=t.type;return(r==="MemberExpression"||r==="OptionalMemberExpression")&&t.object===e||(r==="CallExpression"||r==="OptionalCallExpression"||r==="NewExpression")&&t.callee===e||r==="TaggedTemplateExpression"&&t.tag===e||r==="TSNonNullExpression"};function TQ(e,t){return pQ(t)}function xQ(e,t,r){let n=t.type;return n==="UnionTypeAnnotation"||n==="IntersectionTypeAnnotation"||n==="ArrayTypeAnnotation"||!!(r&zr.TokenContext.arrowFlowReturnType)}function SQ(e,t){return lc(e,t)||oc(e,t)}function bP(e){return!!(e&(zr.TokenContext.expressionStatement|zr.TokenContext.arrowBody))}function vQ(e,t,r){return bP(r)}function PQ(e,t,r){return!e.async&&!!(r&zr.TokenContext.expressionStatement)}function EP(e,t){let r=t.type;if(e.type==="BinaryExpression"&&e.operator==="**"&&r==="BinaryExpression"&&t.operator==="**")return t.left===e;if(oc(e,t)||lc(e,t)||r==="UnaryExpression"||r==="SpreadElement"||r==="AwaitExpression")return!0;let n=yP(t,r);if(n!=null){let s=yP(e,e.type);if(n===s&&r==="BinaryExpression"&&t.right===e||n>s)return!0}}function AQ(e,t){let r=t.type;return r==="ArrayTypeAnnotation"||r==="NullableTypeAnnotation"||r==="IntersectionTypeAnnotation"||r==="UnionTypeAnnotation"}function CQ(e,t){return mQ(t)&&t.objectType===e}function DQ(e,t){return(t.type==="AssignmentExpression"||t.type==="AssignmentPattern")&&t.left===e||t.type==="BinaryExpression"&&(t.operator==="|"||t.operator==="&")&&e===t.left?!0:EP(e,t)}function wQ(e,t){let r=t.type;return r==="TSArrayType"||r==="TSIndexedAccessType"&&t.objectType===e||r==="TSOptionalType"||r==="TSTypeOperator"||r==="TSTypeParameter"||(r==="TSIntersectionType"||r==="TSUnionType")&&t.types[0]===e||r==="TSConditionalType"&&(t.checkType===e||t.extendsType===e)}function IQ(e,t){let r=t.type;return r==="TSIntersectionType"||r==="TSTypeOperator"||r==="TSArrayType"||r==="TSIndexedAccessType"&&t.objectType===e||r==="TSOptionalType"}function _Q(e,t){let r=t.type;return r==="TSTypeOperator"||r==="TSArrayType"||r==="TSIndexedAccessType"&&t.objectType===e||r==="TSOptionalType"}function NQ(e,t){let r=t.type;return!!(r==="TSArrayType"||r==="TSIndexedAccessType"&&t.objectType===e||r==="TSOptionalType"||e.typeParameter.constraint&&(r==="TSIntersectionType"||r==="TSUnionType")&&t.types[0]===e)}function OQ(e,t){let r=t.type;return r==="TSArrayType"||r==="TSIndexedAccessType"&&t.objectType===e||r==="TSOptionalType"}function BQ(e,t){let r=t.type;return(r==="CallExpression"||r==="OptionalCallExpression"||r==="NewExpression"||r==="TSInstantiationExpression")&&!!t.typeParameters}function kQ(e,t){let r=t.type;return r==="TSIntersectionType"||r==="TSUnionType"||r==="TSTypeOperator"||r==="TSOptionalType"||r==="TSArrayType"||r==="TSIndexedAccessType"&&t.objectType===e||r==="TSConditionalType"&&(t.checkType===e||t.extendsType===e)}function FQ(e,t,r){return e.operator==="in"&&!!(r&zr.TokenContext.forInOrInitHeadAccumulate)}function LQ(e,t){let r=t.type;return r==="SequenceExpression"||r==="ParenthesizedExpression"||r==="MemberExpression"&&t.property===e||r==="OptionalMemberExpression"&&t.property===e||r==="TemplateLiteral"?!1:r==="ClassDeclaration"?!0:r==="ForOfStatement"?t.right===e:r==="ExportDefaultDeclaration"?!0:!EQ(t)}function jQ(e,t){let r=t.type;return r==="BinaryExpression"||r==="LogicalExpression"||r==="UnaryExpression"||r==="SpreadElement"||lc(e,t)||r==="AwaitExpression"&&bQ(e)||r==="ConditionalExpression"&&e===t.test||oc(e,t)||jy(r)}function MQ(e,t,r){return!!(r&(zr.TokenContext.expressionStatement|zr.TokenContext.exportDefault))}function TP(e,t){return lc(e,t)||fQ(t)&&t.operator==="**"&&t.left===e||oc(e,t)}function RQ(e,t,r){return!!(r&(zr.TokenContext.expressionStatement|zr.TokenContext.exportDefault))}function xP(e,t){let r=t.type;return r==="UnaryExpression"||r==="SpreadElement"||r==="BinaryExpression"||r==="LogicalExpression"||r==="ConditionalExpression"&&t.test===e||r==="AwaitExpression"||jy(r)?!0:TP(e,t)}function qQ(e,t){return dQ(t)&&t.callee===e||gP(t)&&t.object===e}function UQ(e,t,r){return bP(r)&&yQ(e.left)?!0:xP(e,t)}function VQ(e,t){let r=t.type;if(jy(r))return!0;if(r!=="LogicalExpression")return!1;switch(e.operator){case"||":return t.operator==="??"||t.operator==="&&";case"&&":return t.operator==="??";case"??":return t.operator!=="??"}}function $Q(e,t,r,n){var s;let i=t.type;if((s=e.extra)!=null&&s.parenthesized&&i==="AssignmentExpression"&&t.left===e){let a=t.right.type;if((a==="FunctionExpression"||a==="ClassExpression")&&t.right.id==null)return!0}return n&&n(e)!==e.name?!1:e.name==="let"?(gP(t,{object:e,computed:!0})||gQ(t,{object:e,computed:!0,optional:!1}))&&r&(zr.TokenContext.expressionStatement|zr.TokenContext.forInitHead|zr.TokenContext.forInHead)?!0:!!(r&zr.TokenContext.forOfHead):e.name==="async"&&hQ(t,{left:e,await:!1})}});var Di=x(ss=>{"use strict";Object.defineProperty(ss,"__esModule",{value:!0});ss.TokenContext=void 0;ss.isLastChild=iZ;ss.needsParens=sZ;ss.needsWhitespace=Ry;ss.needsWhitespaceAfter=nZ;ss.needsWhitespaceBefore=rZ;var WQ=hP(),KQ=SP(),HQ=Fe(),{FLIPPED_ALIAS_KEYS:GQ,VISITOR_KEYS:XQ,isCallExpression:vP,isDecorator:YQ,isExpressionStatement:JQ,isMemberExpression:zQ,isNewExpression:QQ,isParenthesizedExpression:ZQ}=HQ,_Ie=ss.TokenContext={normal:0,expressionStatement:1,arrowBody:2,exportDefault:4,arrowFlowReturnType:8,forInitHead:16,forInHead:32,forOfHead:64,forInOrInitHeadAccumulate:128,forInOrInitHeadAccumulatePassThroughMask:128};function PP(e){let t=new Map;function r(n,s){let i=t.get(n);t.set(n,i?function(a,o,l,u){var c;return(c=i(a,o,l,u))!=null?c:s(a,o,l,u)}:s)}for(let n of Object.keys(e)){let s=GQ[n];if(s)for(let i of s)r(i,e[n]);else r(n,e[n])}return t}var eZ=PP(KQ),tZ=PP(WQ.nodes);function AP(e){return vP(e)?!0:zQ(e)&&AP(e.object)}function Ry(e,t,r){var n;if(!e)return!1;JQ(e)&&(e=e.expression);let s=(n=tZ.get(e.type))==null?void 0:n(e,t);return typeof s=="number"?(s&r)!==0:!1}function rZ(e,t){return Ry(e,t,1)}function nZ(e,t){return Ry(e,t,2)}function sZ(e,t,r,n){var s;return t?QQ(t)&&t.callee===e&&AP(e)?!0:YQ(t)?!My(e)&&!(vP(e)&&My(e.callee))&&!ZQ(e):(s=eZ.get(e.type))==null?void 0:s(e,t,r,n):!1}function My(e){switch(e.type){case"Identifier":return!0;case"MemberExpression":return!e.computed&&e.property.type==="Identifier"&&My(e.object);default:return!1}}function iZ(e,t){let r=XQ[e.type];for(let n=r.length-1;n>=0;n--){let s=e[r[n]];if(s===t)return!0;if(Array.isArray(s)){let i=s.length-1;for(;i>=0&&s[i]===null;)i--;return i>=0&&s[i]===t}else if(s)return!1}return!1}});var CP=x(uc=>{"use strict";Object.defineProperty(uc,"__esModule",{value:!0});uc.TokenMap=void 0;var aZ=Fe(),{traverseFast:oZ,VISITOR_KEYS:lZ}=aZ,qy=class{constructor(t,r,n){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=r,this._source=n,oZ(t,s=>{let i=this._getTokensIndexesOfNode(s);i.length>0&&this._nodesToTokenIndexes.set(s,i)}),this._tokensCache=null}has(t){return this._nodesToTokenIndexes.has(t)}getIndexes(t){return this._nodesToTokenIndexes.get(t)}find(t,r){let n=this._nodesToTokenIndexes.get(t);if(n)for(let s=0;s<n.length;s++){let i=n[s],a=this._tokens[i];if(r(a,i))return a}return null}findLastIndex(t,r){let n=this._nodesToTokenIndexes.get(t);if(n)for(let s=n.length-1;s>=0;s--){let i=n[s],a=this._tokens[i];if(r(a,i))return i}return-1}findMatching(t,r,n=0){let s=this._nodesToTokenIndexes.get(t);if(s){let i=0,a=n;if(a>1){let o=this._nodesOccurrencesCountCache.get(t);o&&o.test===r&&o.count<a&&(i=o.i+1,n-=o.count+1)}for(;i<s.length;i++){let o=this._tokens[s[i]];if(this.matchesOriginal(o,r)){if(n===0)return a>0&&this._nodesOccurrencesCountCache.set(t,{test:r,count:a,i}),o;n--}}}return null}matchesOriginal(t,r){return t.end-t.start!==r.length?!1:t.value!=null?t.value===r:this._source.startsWith(r,t.start)}startMatches(t,r){let n=this._nodesToTokenIndexes.get(t);if(!n)return!1;let s=this._tokens[n[0]];return s.start!==t.start?!1:this.matchesOriginal(s,r)}endMatches(t,r){let n=this._nodesToTokenIndexes.get(t);if(!n)return!1;let s=this._tokens[n[n.length-1]];return s.end!==t.end?!1:this.matchesOriginal(s,r)}_getTokensIndexesOfNode(t){if(t.start==null||t.end==null)return[];let{first:r,last:n}=this._findTokensOfNode(t,0,this._tokens.length-1),s=r,i=uZ(t);(t.type==="ExportNamedDeclaration"||t.type==="ExportDefaultDeclaration")&&t.declaration&&t.declaration.type==="ClassDeclaration"&&i.next();let a=[];for(let o of i){if(o==null||o.start==null||o.end==null)continue;let l=this._findTokensOfNode(o,s,n),u=l.first;for(let c=s;c<u;c++)a.push(c);s=l.last+1}for(let o=s;o<=n;o++)a.push(o);return a}_findTokensOfNode(t,r,n){let s=this._tokensCache.get(t);if(s)return s;let i=this._findFirstTokenOfNode(t.start,r,n),a=this._findLastTokenOfNode(t.end,i,n);return this._tokensCache.set(t,{first:i,last:a}),{first:i,last:a}}_findFirstTokenOfNode(t,r,n){for(;r<=n;){let s=n+r>>1;if(t<this._tokens[s].start)n=s-1;else if(t>this._tokens[s].start)r=s+1;else return s}return r}_findLastTokenOfNode(t,r,n){for(;r<=n;){let s=n+r>>1;if(t<this._tokens[s].end)n=s-1;else if(t>this._tokens[s].end)r=s+1;else return s}return n}};uc.TokenMap=qy;function*uZ(e){if(e.type==="TemplateLiteral"){yield e.quasis[0];for(let r=1;r<e.quasis.length;r++)yield e.expressions[r-1],yield e.quasis[r];return}let t=lZ[e.type];for(let r of t){let n=e[r];n&&(Array.isArray(n)?yield*n:yield n)}}});var DP=x(Aa=>{"use strict";Object.defineProperty(Aa,"__esModule",{value:!0});Aa.TaggedTemplateExpression=cZ;Aa.TemplateElement=pZ;Aa.TemplateLiteral=dZ;Aa._printTemplate=fZ;function cZ(e){this.print(e.tag),this.print(e.typeParameters),this.print(e.quasi)}function pZ(){throw new Error("TemplateElement printing is handled in TemplateLiteral")}function fZ(e,t){let r=e.quasis,n="`";for(let s=0;s<r.length-1;s++)if(n+=r[s].value.raw,this.token(n+"${",!0),this.print(t[s]),n="}",this.tokenMap){let i=this.tokenMap.findMatching(e,"}",s);i&&this._catchUpTo(i.loc.start)}n+=r[r.length-1].value.raw,this.token(n+"`",!0)}function dZ(e){this._printTemplate(e,e.expressions)}});var IP=x(Et=>{"use strict";Object.defineProperty(Et,"__esModule",{value:!0});Et.LogicalExpression=Et.BinaryExpression=Et.AssignmentExpression=RZ;Et.AssignmentPattern=MZ;Et.AwaitExpression=kZ;Et.BindExpression=qZ;Et.CallExpression=OZ;Et.ConditionalExpression=vZ;Et.Decorator=IZ;Et.DoExpression=TZ;Et.EmptyStatement=LZ;Et.ExpressionStatement=jZ;Et.Import=BZ;Et.MemberExpression=UZ;Et.MetaProperty=VZ;Et.ModuleExpression=KZ;Et.NewExpression=PZ;Et.OptionalCallExpression=NZ;Et.OptionalMemberExpression=_Z;Et.ParenthesizedExpression=xZ;Et.PrivateName=$Z;Et.SequenceExpression=AZ;Et.Super=DZ;Et.ThisExpression=CZ;Et.UnaryExpression=EZ;Et.UpdateExpression=SZ;Et.V8IntrinsicIdentifier=WZ;Et.YieldExpression=FZ;Et._shouldPrintDecoratorsBeforeExport=wZ;var hZ=Fe(),mZ=Di(),{isCallExpression:yZ,isLiteral:wP,isMemberExpression:Uy,isNewExpression:gZ,isPattern:bZ}=hZ;function EZ(e){let{operator:t}=e;t==="void"||t==="delete"||t==="typeof"||t==="throw"?(this.word(t),this.space()):this.token(t),this.print(e.argument)}function TZ(e){e.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(e.body)}function xZ(e){this.tokenChar(40);let t=this.enterDelimited();this.print(e.expression),t(),this.rightParens(e)}function SZ(e){e.prefix?(this.token(e.operator),this.print(e.argument)):(this.print(e.argument,!0),this.token(e.operator))}function vZ(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)}function PZ(e,t){if(this.word("new"),this.space(),this.print(e.callee),this.format.minified&&e.arguments.length===0&&!e.optional&&!yZ(t,{callee:e})&&!Uy(t)&&!gZ(t)||(this.print(e.typeArguments),this.print(e.typeParameters),e.optional&&this.token("?."),e.arguments.length===0&&this.tokenMap&&!this.tokenMap.endMatches(e,")")))return;this.tokenChar(40);let r=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),r(),this.rightParens(e)}function AZ(e){this.printList(e.expressions)}function CZ(){this.word("this")}function DZ(){this.word("super")}function wZ(e){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof e.start=="number"&&e.start===e.declaration.start}function IZ(e){this.tokenChar(64),this.print(e.expression),this.newline()}function _Z(e){let{computed:t}=e,{optional:r,property:n}=e;if(this.print(e.object),!t&&Uy(n))throw new TypeError("Got a MemberExpression for MemberExpression property");wP(n)&&typeof n.value=="number"&&(t=!0),r&&this.token("?."),t?(this.tokenChar(91),this.print(n),this.tokenChar(93)):(r||this.tokenChar(46),this.print(n))}function NZ(e){this.print(e.callee),this.print(e.typeParameters),e.optional&&this.token("?."),this.print(e.typeArguments),this.tokenChar(40);let t=this.enterDelimited();this.printList(e.arguments),t(),this.rightParens(e)}function OZ(e){this.print(e.callee),this.print(e.typeArguments),this.print(e.typeParameters),this.tokenChar(40);let t=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),t(),this.rightParens(e)}function BZ(){this.word("import")}function kZ(e){this.word("await"),this.space(),this.print(e.argument)}function FZ(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")}function LZ(){this.semicolon(!0)}function jZ(e){this.tokenContext|=mZ.TokenContext.expressionStatement,this.print(e.expression),this.semicolon()}function MZ(e){this.print(e.left),(e.left.type==="Identifier"||bZ(e.left))&&(e.left.optional&&this.tokenChar(63),this.print(e.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(e.right)}function RZ(e){this.print(e.left),this.space(),e.operator==="in"||e.operator==="instanceof"?this.word(e.operator):(this.token(e.operator),this._endsWithDiv=e.operator==="/"),this.space(),this.print(e.right)}function qZ(e){this.print(e.object),this.token("::"),this.print(e.callee)}function UZ(e){if(this.print(e.object),!e.computed&&Uy(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;if(wP(e.property)&&typeof e.property.value=="number"&&(t=!0),t){let r=this.enterDelimited();this.tokenChar(91),this.print(e.property),this.tokenChar(93),r()}else this.tokenChar(46),this.print(e.property)}function VZ(e){this.print(e.meta),this.tokenChar(46),this.print(e.property)}function $Z(e){this.tokenChar(35),this.print(e.id)}function WZ(e){this.tokenChar(37),this.word(e.name)}function KZ(e){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:t}=e;(t.body.length||t.directives.length)&&this.newline(),this.print(t),this.dedent(),this.rightBrace(e)}});var BP=x(Ut=>{"use strict";Object.defineProperty(Ut,"__esModule",{value:!0});Ut.BreakStatement=tee;Ut.CatchClause=oee;Ut.ContinueStatement=ree;Ut.DebuggerStatement=cee;Ut.DoWhileStatement=eee;Ut.ForOfStatement=Ut.ForInStatement=void 0;Ut.ForStatement=QZ;Ut.IfStatement=zZ;Ut.LabeledStatement=iee;Ut.ReturnStatement=nee;Ut.SwitchCase=uee;Ut.SwitchStatement=lee;Ut.ThrowStatement=see;Ut.TryStatement=aee;Ut.VariableDeclaration=pee;Ut.VariableDeclarator=fee;Ut.WhileStatement=ZZ;Ut.WithStatement=JZ;var HZ=Fe(),{isFor:_P,isForStatement:GZ,isIfStatement:XZ,isStatement:YZ}=HZ;function JZ(e){this.word("with"),this.space(),this.tokenChar(40),this.print(e.object),this.tokenChar(41),this.printBlock(e)}function zZ(e){this.word("if"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.space();let t=e.alternate&&XZ(NP(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))}function NP(e){let{body:t}=e;return YZ(t)===!1?e:NP(t)}function QZ(e){this.word("for"),this.space(),this.tokenChar(40);{let 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)}function ZZ(e){this.word("while"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.printBlock(e)}function OP(e){this.word("for"),this.space();let t=e.type==="ForOfStatement";t&&e.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40);{let r=this.enterForXStatementInit(t);this.print(e.left),r==null||r()}this.space(),this.word(t?"of":"in"),this.space(),this.print(e.right),this.tokenChar(41),this.printBlock(e)}var FIe=Ut.ForInStatement=OP,LIe=Ut.ForOfStatement=OP;function eee(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()}function cc(e,t){t&&(e.space(),e.printTerminatorless(t)),e.semicolon()}function tee(e){this.word("break"),cc(this,e.label)}function ree(e){this.word("continue"),cc(this,e.label)}function nee(e){this.word("return"),cc(this,e.argument)}function see(e){this.word("throw"),cc(this,e.argument)}function iee(e){this.print(e.label),this.tokenChar(58),this.space(),this.print(e.body)}function aee(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))}function oee(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)}function lee(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(r,n){if(!r&&e.cases[e.cases.length-1]===n)return-1}),this.rightBrace(e)}function uee(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))}function cee(){this.word("debugger"),this.semicolon()}function pee(e,t){e.declare&&(this.word("declare"),this.space());let{kind:r}=e;r==="await using"?(this.word("await"),this.space(),this.word("using",!0)):this.word(r,r==="using"),this.space();let n=!1;if(!_P(t))for(let s of e.declarations)s.init&&(n=!0);if(this.printList(e.declarations,void 0,void 0,e.declarations.length>1,n?function(s){this.token(",",!1,s),this.newline()}:void 0),_P(t)){if(GZ(t)){if(t.init===e)return}else if(t.left===e)return}this.semicolon()}function fee(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))}});var kP=x(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.ClassAccessorProperty=Tee;cn.ClassBody=gee;cn.ClassExpression=cn.ClassDeclaration=yee;cn.ClassMethod=See;cn.ClassPrivateMethod=vee;cn.ClassPrivateProperty=xee;cn.ClassProperty=Eee;cn.StaticBlock=Aee;cn._classMethodHead=Pee;var dee=Fe(),{isExportDefaultDeclaration:hee,isExportNamedDeclaration:mee}=dee;function yee(e,t){(!(hee(t)||mee(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)}function gee(e){if(this.tokenChar(123),e.body.length===0)this.tokenChar(125);else{this.newline();let t=bee(this,e);t==null||t(-1);let r=this.enterDelimited();this.printJoin(e.body,!0,!0,t,!0),r(),this.endsWith(10)||this.newline(),this.rightBrace(e)}}function bee(e,t){if(!e.tokenMap||t.start==null||t.end==null)return null;let r=e.tokenMap.getIndexes(t);if(!r)return null;let n=1,s=0,i=0,a=()=>{for(;i<t.body.length&&t.body[i].start==null;)i++};return a(),o=>{i<=o&&(i=o+1,a());let l=i===t.body.length?t.end:t.body[i].start,u;for(;n<r.length&&e.tokenMap.matchesOriginal(u=e._tokens[r[n]],";")&&u.start<l;)e.token(";",void 0,s++),n++}}function Eee(e){if(this.printJoin(e.decorators),!e.static&&!this.format.preserveFormat){var t;let r=(t=e.key.loc)==null||(t=t.end)==null?void 0:t.line;r&&this.catchUp(r)}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()}function Tee(e){var t;this.printJoin(e.decorators);let r=(t=e.key.loc)==null||(t=t.end)==null?void 0:t.line;r&&this.catchUp(r),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()}function xee(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()}function See(e){this._classMethodHead(e),this.space(),this.print(e.body)}function vee(e){this._classMethodHead(e),this.space(),this.print(e.body)}function Pee(e){if(this.printJoin(e.decorators),!this.format.preserveFormat){var t;let r=(t=e.key.loc)==null||(t=t.end)==null?void 0:t.line;r&&this.catchUp(r)}this.tsPrintClassMemberModifiers(e),this._methodHead(e)}function Aee(e){this.word("static"),this.space(),this.tokenChar(123),e.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(e.body,!0),this.rightBrace(e))}});var FP=x(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.ArrowFunctionExpression=Lee;pn.FunctionDeclaration=pn.FunctionExpression=Fee;pn._functionHead=kee;pn._methodHead=Oee;pn._param=Nee;pn._parameters=_ee;pn._params=Iee;pn._predicate=Bee;pn._shouldPrintArrowParamsParens=jee;var Cee=Fe(),Dee=Di(),{isIdentifier:wee}=Cee;function Iee(e,t,r){this.print(e.typeParameters);let n=Mee.call(this,t,r);n&&this.sourceIdentifierName(n.name,n.pos),this.tokenChar(40),this._parameters(e.params,")");let s=e.type==="ArrowFunctionExpression";this.print(e.returnType,s),this._noLineTerminator=s}function _ee(e,t){let r=this.enterDelimited(),n=this.shouldPrintTrailingComma(t),s=e.length;for(let i=0;i<s;i++)this._param(e[i]),(n||i<s-1)&&(this.token(",",null,i),this.space());this.token(t),r()}function Nee(e){this.printJoin(e.decorators),this.print(e),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)}function Oee(e){let t=e.kind,r=e.key;(t==="get"||t==="set")&&(this.word(t),this.space()),e.async&&(this.word("async",!0),this.space()),(t==="method"||t==="init")&&e.generator&&this.tokenChar(42),e.computed?(this.tokenChar(91),this.print(r),this.tokenChar(93)):this.print(r),e.optional&&this.tokenChar(63),this._params(e,e.computed&&e.key.type!=="StringLiteral"?void 0:e.key,void 0)}function Bee(e,t){e.predicate&&(e.returnType||this.tokenChar(58),this.space(),this.print(e.predicate,t))}function kee(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),e.type!=="TSDeclareFunction"&&this._predicate(e)}function Fee(e,t){this._functionHead(e,t),this.space(),this.print(e.body)}function Lee(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|=Dee.TokenContext.arrowBody,this.print(e.body)}function jee(e){var t,r;if(e.params.length!==1||e.typeParameters||e.returnType||e.predicate)return!0;let n=e.params[0];if(!wee(n)||n.typeAnnotation||n.optional||(t=n.leadingComments)!=null&&t.length||(r=n.trailingComments)!=null&&r.length)return!0;if(this.tokenMap){if(e.loc==null||this.tokenMap.findMatching(e,"(")!==null)return!0;let s=this.tokenMap.findMatching(e,"=>");return(s==null?void 0:s.loc)==null?!0:s.loc.start.line!==e.loc.start.line}return!!this.format.retainLines}function Mee(e,t){let r=e;if(!r&&t){let l=t.type;l==="VariableDeclarator"?r=t.id:l==="AssignmentExpression"||l==="AssignmentPattern"?r=t.left:l==="ObjectProperty"||l==="ClassProperty"?(!t.computed||t.key.type==="StringLiteral")&&(r=t.key):(l==="ClassPrivateProperty"||l==="ClassAccessorProperty")&&(r=t.key)}if(!r)return;let n;if(r.type==="Identifier"){var s,i;n={pos:(s=r.loc)==null?void 0:s.start,name:((i=r.loc)==null?void 0:i.identifierName)||r.name}}else if(r.type==="PrivateName"){var a;n={pos:(a=r.loc)==null?void 0:a.start,name:"#"+r.id.name}}else if(r.type==="StringLiteral"){var o;n={pos:(o=r.loc)==null?void 0:o.start,name:r.value}}return n}});var Vy=x(Lr=>{"use strict";Object.defineProperty(Lr,"__esModule",{value:!0});Lr.ExportAllDeclaration=Qee;Lr.ExportDefaultDeclaration=ete;Lr.ExportDefaultSpecifier=Xee;Lr.ExportNamedDeclaration=Zee;Lr.ExportNamespaceSpecifier=Jee;Lr.ExportSpecifier=Yee;Lr.ImportAttribute=rte;Lr.ImportDeclaration=tte;Lr.ImportDefaultSpecifier=Gee;Lr.ImportExpression=ste;Lr.ImportNamespaceSpecifier=nte;Lr.ImportSpecifier=Hee;Lr._printAttributes=zee;var Ree=Fe(),qee=Di(),{isClassDeclaration:Uee,isExportDefaultSpecifier:Vee,isExportNamespaceSpecifier:$ee,isImportDefaultSpecifier:Wee,isImportNamespaceSpecifier:Kee,isStatement:jP}=Ree;function Hee(e){(e.importKind==="type"||e.importKind==="typeof")&&(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))}function Gee(e){this.print(e.local)}function Xee(e){this.print(e.exported)}function Yee(e){e.exportKind==="type"&&(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))}function Jee(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported)}var LP=!1;function zee(e,t){var r;let{importAttributesKeyword:n}=this.format,{attributes:s,assertions:i}=e;s&&!n&&e.extra&&(e.extra.deprecatedAssertSyntax||e.extra.deprecatedWithLegacySyntax)&&!LP&&(LP=!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'));let a=n==="assert"||!n&&i;if(this.word(a?"assert":"with"),this.space(),!a&&(n==="with-legacy"||!n&&(r=e.extra)!=null&&r.deprecatedWithLegacySyntax)){this.printList(s||i);return}let o=t?1:0;this.token("{",null,o),this.space(),this.printList(s||i,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",null,o)}function Qee(e){var t,r;this.word("export"),this.space(),e.exportKind==="type"&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),(t=e.attributes)!=null&&t.length||(r=e.assertions)!=null&&r.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,!1)):this.print(e.source),this.semicolon()}function MP(e,t){Uee(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators)}function Zee(e){if(MP(this,e),this.word("export"),this.space(),e.declaration){let n=e.declaration;this.print(n),jP(n)||this.semicolon()}else{e.exportKind==="type"&&(this.word("type"),this.space());let n=e.specifiers.slice(0),s=!1;for(;;){let a=n[0];if(Vee(a)||$ee(a))s=!0,this.print(n.shift()),n.length&&(this.tokenChar(44),this.space());else break}let i=!1;if((n.length||!n.length&&!s)&&(i=!0,this.tokenChar(123),n.length&&(this.space(),this.printList(n,this.shouldPrintTrailingComma("}")),this.space()),this.tokenChar(125)),e.source){var t,r;this.space(),this.word("from"),this.space(),(t=e.attributes)!=null&&t.length||(r=e.assertions)!=null&&r.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,i)):this.print(e.source)}this.semicolon()}}function ete(e){MP(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=qee.TokenContext.exportDefault;let t=e.declaration;this.print(t),jP(t)||this.semicolon()}function tte(e){var t,r;this.word("import"),this.space();let n=e.importKind==="type"||e.importKind==="typeof";n?(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());let s=e.specifiers.slice(0),i=!!s.length;for(;i;){let o=s[0];if(Wee(o)||Kee(o))this.print(s.shift()),s.length&&(this.tokenChar(44),this.space());else break}let a=!1;s.length?(a=!0,this.tokenChar(123),this.space(),this.printList(s,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125)):n&&!i&&(a=!0,this.tokenChar(123),this.tokenChar(125)),(i||n)&&(this.space(),this.word("from"),this.space()),(t=e.attributes)!=null&&t.length||(r=e.assertions)!=null&&r.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,a)):this.print(e.source),this.semicolon()}function rte(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)}function nte(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local)}function ste(e){this.word("import"),e.phase&&(this.tokenChar(46),this.word(e.phase)),this.tokenChar(40);let t=this.shouldPrintTrailingComma(")");this.print(e.source),e.options!=null&&(this.tokenChar(44),this.space(),this.print(e.options)),t&&this.tokenChar(44),this.rightParens(e)}});var VP=x((UIe,UP)=>{"use strict";var RP={},ite=RP.hasOwnProperty,qP=(e,t)=>{for(let r in e)ite.call(e,r)&&t(r,e[r])},ate=(e,t)=>(t&&qP(t,(r,n)=>{e[r]=n}),e),ote=(e,t)=>{let r=e.length,n=-1;for(;++n<r;)t(e[n])},pc=e=>"\\u"+("0000"+e).slice(-4),Go=(e,t)=>{let r=e.toString(16);return t?r:r.toUpperCase()},Xo=RP.toString,lte=Array.isArray,ute=e=>typeof Buffer=="function"&&Buffer.isBuffer(e),cte=e=>Xo.call(e)=="[object Object]",pte=e=>typeof e=="string"||Xo.call(e)=="[object String]",fte=e=>typeof e=="number"||Xo.call(e)=="[object Number]",$y=e=>typeof e=="bigint",dte=e=>typeof e=="function",hte=e=>Xo.call(e)=="[object Map]",mte=e=>Xo.call(e)=="[object Set]",yte={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},gte=/[\\\b\f\n\r\t]/,bte=/[0-9]/,Ete=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Tte=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,xte=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,qs=(e,t)=>{let r=()=>{u=l,++t.indentLevel,l=t.indent.repeat(t.indentLevel)},n={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},s=t&&t.json;s&&(n.quotes="double",n.wrap=!0),t=ate(n,t),t.quotes!="single"&&t.quotes!="double"&&t.quotes!="backtick"&&(t.quotes="single");let i=t.quotes=="double"?'"':t.quotes=="backtick"?"`":"'",a=t.compact,o=t.lowercaseHex,l=t.indent.repeat(t.indentLevel),u="",c=t.__inline1__,p=t.__inline2__,d=a?"":`
|
|
40
40
|
`,m,g=!0,f=t.numbers=="binary",b=t.numbers=="octal",T=t.numbers=="decimal",w=t.numbers=="hexadecimal";if(s&&e&&dte(e.toJSON)&&(e=e.toJSON()),!pte(e)){if(hte(e))return e.size==0?"new Map()":(a||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+qs(Array.from(e),t)+")");if(mte(e))return e.size==0?"new Set()":"new Set("+qs(Array.from(e),t)+")";if(ute(e))return e.length==0?"Buffer.from([])":"Buffer.from("+qs(Array.from(e),t)+")";if(lte(e))return m=[],t.wrap=!0,c&&(t.__inline1__=!1,t.__inline2__=!0),p||r(),ote(e,N=>{g=!1,p&&(t.__inline2__=!1),m.push((a||p?"":l)+qs(N,t))}),g?"[]":p?"["+m.join(", ")+"]":"["+d+m.join(","+d)+d+(a?"":u)+"]";if(fte(e)||$y(e)){if(s)return JSON.stringify(Number(e));let N;if(T)N=String(e);else if(w){let L=e.toString(16);o||(L=L.toUpperCase()),N="0x"+L}else f?N="0b"+e.toString(2):b&&(N="0o"+e.toString(8));return $y(e)?N+"n":N}else return $y(e)?s?JSON.stringify(Number(e)):e+"n":cte(e)?(m=[],t.wrap=!0,r(),qP(e,(N,L)=>{g=!1,m.push((a?"":l)+qs(N,t)+":"+(a?"":" ")+qs(L,t))}),g?"{}":"{"+d+m.join(","+d)+d+(a?"":u)+"}"):s?JSON.stringify(e)||"null":String(e)}let I=t.escapeEverything?Tte:xte;return m=e.replace(I,(N,L,W,U,H,pe)=>{if(L){if(t.minimal)return L;let ce=L.charCodeAt(0),qe=L.charCodeAt(1);if(t.es6){let ze=(ce-55296)*1024+qe-56320+65536;return"\\u{"+Go(ze,o)+"}"}return pc(Go(ce,o))+pc(Go(qe,o))}if(W)return pc(Go(W.charCodeAt(0),o));if(N=="\0"&&!s&&!bte.test(pe.charAt(H+1)))return"\\0";if(U)return U==i||t.escapeEverything?"\\"+U:U;if(gte.test(N))return yte[N];if(t.minimal&&!Ete.test(N))return N;let Ee=Go(N.charCodeAt(0),o);return s||Ee.length>2?pc(Ee):"\\x"+("00"+Ee).slice(-2)}),i=="`"&&(m=m.replace(/\$\{/g,"\\${")),t.isScriptContext&&(m=m.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,s?"\\u003C!--":"\\x3C!--")),t.wrap&&(m=i+m+i),m};qs.version="3.0.2";UP.exports=qs});var Ky=x(Nt=>{"use strict";Object.defineProperty(Nt,"__esModule",{value:!0});Nt.ArgumentPlaceholder=Cte;Nt.ArrayPattern=Nt.ArrayExpression=Nte;Nt.BigIntLiteral=Rte;Nt.BooleanLiteral=Fte;Nt.Identifier=Ate;Nt.NullLiteral=Lte;Nt.NumericLiteral=jte;Nt.ObjectPattern=Nt.ObjectExpression=wte;Nt.ObjectMethod=Ite;Nt.ObjectProperty=_te;Nt.PipelineBareFunction=Vte;Nt.PipelinePrimaryTopicReference=$te;Nt.PipelineTopicExpression=Ute;Nt.RecordExpression=Ote;Nt.RegExpLiteral=kte;Nt.SpreadElement=Nt.RestElement=Dte;Nt.StringLiteral=Mte;Nt.TopicReference=qte;Nt.TupleExpression=Bte;Nt.VoidPattern=Wte;Nt._getRawIdentifier=Pte;var Ste=Fe(),KP=VP(),{isAssignmentPattern:vte,isIdentifier:Wy}=Ste,$P=null,fc="";function Pte(e){if(e===$P)return fc;$P=e;let{name:t}=e,r=this.tokenMap.find(e,n=>n.value===t);return r?(fc=this._originalCode.slice(r.start,r.end),fc):fc=e.name}function Ate(e){var t;this.sourceIdentifierName(((t=e.loc)==null?void 0:t.identifierName)||e.name),this.word(this.tokenMap?this._getRawIdentifier(e):e.name)}function Cte(){this.tokenChar(63)}function Dte(e){this.token("..."),this.print(e.argument)}function wte(e){let t=e.properties;if(this.tokenChar(123),t.length){let r=this.enterDelimited();this.space(),this.printList(t,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),r()}this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)}function Ite(e){this.printJoin(e.decorators),this._methodHead(e),this.space(),this.print(e.body)}function _te(e){if(this.printJoin(e.decorators),e.computed)this.tokenChar(91),this.print(e.key),this.tokenChar(93);else{if(vte(e.value)&&Wy(e.key)&&e.key.name===e.value.left.name){this.print(e.value);return}if(this.print(e.key),e.shorthand&&Wy(e.key)&&Wy(e.value)&&e.key.name===e.value.name)return}this.tokenChar(58),this.space(),this.print(e.value)}function Nte(e){let t=e.elements,r=t.length;this.tokenChar(91);let n=this.enterDelimited();for(let s=0;s<t.length;s++){let i=t[s];i?(s>0&&this.space(),this.print(i),(s<r-1||this.shouldPrintTrailingComma("]"))&&this.token(",",!1,s)):this.token(",",!1,s)}n(),this.tokenChar(93)}function Ote(e){let t=e.properties,r,n;if(this.format.recordAndTupleSyntaxType==="bar")r="{|",n="|}";else{if(this.format.recordAndTupleSyntaxType!=="hash"&&this.format.recordAndTupleSyntaxType!=null)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);r="#{",n="}"}this.token(r),t.length&&(this.space(),this.printList(t,this.shouldPrintTrailingComma(n),!0,!0),this.space()),this.token(n)}function Bte(e){let t=e.elements,r=t.length,n,s;if(this.format.recordAndTupleSyntaxType==="bar")n="[|",s="|]";else if(this.format.recordAndTupleSyntaxType==="hash")n="#[",s="]";else throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);this.token(n);for(let i=0;i<t.length;i++){let a=t[i];a&&(i>0&&this.space(),this.print(a),(i<r-1||this.shouldPrintTrailingComma(s))&&this.token(",",!1,i))}this.token(s)}function kte(e){this.word(`/${e.pattern}/${e.flags}`)}function Fte(e){this.word(e.value?"true":"false")}function Lte(){this.word("null")}function jte(e){let t=this.getPossibleRaw(e),r=this.format.jsescOption,n=e.value,s=n+"";r.numbers?this.number(KP(n,r),n):t==null?this.number(s,n):this.format.minified?this.number(t.length<s.length?t:s,n):this.number(t,n)}function Mte(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&t!==void 0){this.token(t);return}let r=KP(e.value,this.format.jsescOption);this.token(r)}function Rte(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&t!==void 0){this.word(t);return}this.word(e.value+"n")}var WP=new Set(["^^","@@","^","%","#"]);function qte(){let{topicToken:e}=this.format;if(WP.has(e))this.token(e);else{let t=JSON.stringify(e),r=Array.from(WP,n=>JSON.stringify(n));throw new Error(`The "topicToken" generator option must be one of ${r.join(", ")} (${t} received instead).`)}}function Ute(e){this.print(e.expression)}function Vte(e){this.print(e.callee)}function $te(){this.tokenChar(35)}function Wte(){this.word("void")}});var GP=x(be=>{"use strict";Object.defineProperty(be,"__esModule",{value:!0});be.AnyTypeAnnotation=Yte;be.ArrayTypeAnnotation=Jte;be.BooleanLiteralTypeAnnotation=Qte;be.BooleanTypeAnnotation=zte;be.DeclareClass=ere;be.DeclareExportAllDeclaration=pre;be.DeclareExportDeclaration=cre;be.DeclareFunction=tre;be.DeclareInterface=sre;be.DeclareModule=ire;be.DeclareModuleExports=are;be.DeclareOpaqueType=lre;be.DeclareTypeAlias=ore;be.DeclareVariable=ure;be.DeclaredPredicate=nre;be.EmptyTypeAnnotation=Bre;be.EnumBooleanBody=dre;be.EnumBooleanMember=bre;be.EnumDeclaration=fre;be.EnumDefaultedMember=gre;be.EnumNumberBody=hre;be.EnumNumberMember=Ere;be.EnumStringBody=mre;be.EnumStringMember=Tre;be.EnumSymbolBody=yre;be.ExistsTypeAnnotation=Sre;be.FunctionTypeAnnotation=vre;be.FunctionTypeParam=Pre;be.IndexedAccessType=sne;be.InferredPredicate=rre;be.InterfaceDeclaration=wre;be.GenericTypeAnnotation=be.ClassImplements=be.InterfaceExtends=Are;be.InterfaceTypeAnnotation=_re;be.IntersectionTypeAnnotation=Nre;be.MixedTypeAnnotation=Ore;be.NullLiteralTypeAnnotation=Zte;be.NullableTypeAnnotation=kre;Object.defineProperty(be,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return HP.NumericLiteral}});be.NumberTypeAnnotation=Fre;be.ObjectTypeAnnotation=Kre;be.ObjectTypeCallProperty=Gre;be.ObjectTypeIndexer=Xre;be.ObjectTypeInternalSlot=Hre;be.ObjectTypeProperty=Yre;be.ObjectTypeSpreadProperty=Jre;be.OpaqueType=Wre;be.OptionalIndexedAccessType=ine;be.QualifiedTypeIdentifier=zre;Object.defineProperty(be,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return HP.StringLiteral}});be.StringTypeAnnotation=Lre;be.SymbolTypeAnnotation=Qre;be.ThisTypeAnnotation=jre;be.TupleTypeAnnotation=Mre;be.TypeAlias=qre;be.TypeAnnotation=Ure;be.TypeCastExpression=tne;be.TypeParameter=$re;be.TypeParameterDeclaration=be.TypeParameterInstantiation=Vre;be.TypeofTypeAnnotation=Rre;be.UnionTypeAnnotation=ene;be.Variance=rne;be.VoidTypeAnnotation=nne;be._interfaceish=Cre;be._variance=Dre;var Kte=Fe(),Hte=Vy(),Gte=Di(),HP=Ky(),{isDeclareExportDeclaration:dc,isStatement:Xte}=Kte;function Yte(){this.word("any")}function Jte(e){this.print(e.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function zte(){this.word("boolean")}function Qte(e){this.word(e.value?"true":"false")}function Zte(){this.word("null")}function ere(e,t){dc(t)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(e)}function tre(e,t){dc(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()}function rre(){this.tokenChar(37),this.word("checks")}function nre(e){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(e.value),this.tokenChar(41)}function sre(e){this.word("declare"),this.space(),this.InterfaceDeclaration(e)}function ire(e){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(e.id),this.space(),this.print(e.body)}function are(e){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(e.typeAnnotation)}function ore(e){this.word("declare"),this.space(),this.TypeAlias(e)}function lre(e,t){dc(t)||(this.word("declare"),this.space()),this.OpaqueType(e)}function ure(e,t){dc(t)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(e.id),this.print(e.id.typeAnnotation),this.semicolon()}function cre(e){this.word("declare"),this.space(),this.word("export"),this.space(),e.default&&(this.word("default"),this.space()),xre.call(this,e)}function pre(e){this.word("declare"),this.space(),Hte.ExportAllDeclaration.call(this,e)}function fre(e){let{id:t,body:r}=e;this.word("enum"),this.space(),this.print(t),this.print(r)}function hc(e,t,r){r&&(e.space(),e.word("of"),e.space(),e.word(t)),e.space()}function mc(e,t){let{members:r}=t;e.token("{"),e.indent(),e.newline();for(let n of r)e.print(n),e.newline();t.hasUnknownMembers&&(e.token("..."),e.newline()),e.dedent(),e.token("}")}function dre(e){let{explicitType:t}=e;hc(this,"boolean",t),mc(this,e)}function hre(e){let{explicitType:t}=e;hc(this,"number",t),mc(this,e)}function mre(e){let{explicitType:t}=e;hc(this,"string",t),mc(this,e)}function yre(e){hc(this,"symbol",!0),mc(this,e)}function gre(e){let{id:t}=e;this.print(t),this.tokenChar(44)}function Hy(e,t){e.print(t.id),e.space(),e.token("="),e.space(),e.print(t.init),e.token(",")}function bre(e){Hy(this,e)}function Ere(e){Hy(this,e)}function Tre(e){Hy(this,e)}function xre(e){if(e.declaration){let t=e.declaration;this.print(t),Xte(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 Sre(){this.tokenChar(42)}function vre(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);let r=t==null?void 0:t.type;r!=null&&(r==="ObjectTypeCallProperty"||r==="ObjectTypeInternalSlot"||r==="DeclareFunction"||r==="ObjectTypeProperty"&&t.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(e.returnType)}function Pre(e){this.print(e.name),e.optional&&this.tokenChar(63),e.name&&(this.tokenChar(58),this.space()),this.print(e.typeAnnotation)}function Are(e){this.print(e.id),this.print(e.typeParameters,!0)}function Cre(e){var t;if(this.print(e.id),this.print(e.typeParameters),(t=e.extends)!=null&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends)),e.type==="DeclareClass"){var r,n;(r=e.mixins)!=null&&r.length&&(this.space(),this.word("mixins"),this.space(),this.printList(e.mixins)),(n=e.implements)!=null&&n.length&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements))}this.space(),this.print(e.body)}function Dre(e){var t;let r=(t=e.variance)==null?void 0:t.kind;r!=null&&(r==="plus"?this.tokenChar(43):r==="minus"&&this.tokenChar(45))}function wre(e){this.word("interface"),this.space(),this._interfaceish(e)}function Ire(e){this.space(),this.token("&",!1,e),this.space()}function _re(e){var t;this.word("interface"),(t=e.extends)!=null&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends)),this.space(),this.print(e.body)}function Nre(e){this.printJoin(e.types,void 0,void 0,Ire)}function Ore(){this.word("mixed")}function Bre(){this.word("empty")}function kre(e){this.tokenChar(63),this.print(e.typeAnnotation)}function Fre(){this.word("number")}function Lre(){this.word("string")}function jre(){this.word("this")}function Mre(e){this.tokenChar(91),this.printList(e.types),this.tokenChar(93)}function Rre(e){this.word("typeof"),this.space(),this.print(e.argument)}function qre(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()}function Ure(e,t){this.tokenChar(58),this.space(),t.type==="ArrowFunctionExpression"?this.tokenContext|=Gte.TokenContext.arrowFlowReturnType:e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)}function Vre(e){this.tokenChar(60),this.printList(e.params),this.tokenChar(62)}function $re(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))}function Wre(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()}function Kre(e){e.exact?this.token("{|"):this.tokenChar(123);let 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(n){if(n&&!t[0])return 1},()=>{(t.length!==1||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)}function Hre(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)}function Gre(e){e.static&&(this.word("static"),this.space()),this.print(e.value)}function Xre(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)}function Yre(e){e.proto&&(this.word("proto"),this.space()),e.static&&(this.word("static"),this.space()),(e.kind==="get"||e.kind==="set")&&(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)}function Jre(e){this.token("..."),this.print(e.argument)}function zre(e){this.print(e.qualification),this.tokenChar(46),this.print(e.id)}function Qre(){this.word("symbol")}function Zre(e){this.space(),this.token("|",!1,e),this.space()}function ene(e){this.printJoin(e.types,void 0,void 0,Zre)}function tne(e){this.tokenChar(40),this.print(e.expression),this.print(e.typeAnnotation),this.tokenChar(41)}function rne(e){e.kind==="plus"?this.tokenChar(43):this.tokenChar(45)}function nne(){this.word("void")}function sne(e){this.print(e.objectType,!0),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)}function ine(e){this.print(e.objectType),e.optional&&this.token("?."),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)}});var XP=x(is=>{"use strict";Object.defineProperty(is,"__esModule",{value:!0});is.BlockStatement=lne;is.Directive=une;is.DirectiveLiteral=fne;is.File=ane;is.InterpreterDirective=dne;is.Placeholder=hne;is.Program=one;function ane(e){e.program&&this.print(e.program.interpreter),this.print(e.program)}function one(e){var t;this.noIndentInnerCommentsHere(),this.printInnerComments();let r=(t=e.directives)==null?void 0:t.length;if(r){var n;let s=e.body.length?2:1;this.printSequence(e.directives,void 0,s),(n=e.directives[r-1].trailingComments)!=null&&n.length||this.newline(s)}this.printSequence(e.body)}function lne(e){var t;this.tokenChar(123);let r=this.enterDelimited(),n=(t=e.directives)==null?void 0:t.length;if(n){var s;let i=e.body.length?2:1;this.printSequence(e.directives,!0,i),(s=e.directives[n-1].trailingComments)!=null&&s.length||this.newline(i)}this.printSequence(e.body,!0),r(),this.rightBrace(e)}function une(e){this.print(e.value),this.semicolon()}var cne=/(?:^|[^\\])(?:\\\\)*'/,pne=/(?:^|[^\\])(?:\\\\)*"/;function fne(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&t!==void 0){this.token(t);return}let{value:r}=e;if(!pne.test(r))this.token(`"${r}"`);else if(!cne.test(r))this.token(`'${r}'`);else throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.")}function dne(e){this.token(`#!${e.value}`),this.newline(1,!0)}function hne(e){this.token("%%"),this.print(e.name),this.token("%%"),e.expectedNode==="Statement"&&this.semicolon()}});var YP=x(hr=>{"use strict";Object.defineProperty(hr,"__esModule",{value:!0});hr.JSXAttribute=mne;hr.JSXClosingElement=Cne;hr.JSXClosingFragment=_ne;hr.JSXElement=vne;hr.JSXEmptyExpression=Dne;hr.JSXExpressionContainer=Tne;hr.JSXFragment=wne;hr.JSXIdentifier=yne;hr.JSXMemberExpression=bne;hr.JSXNamespacedName=gne;hr.JSXOpeningElement=Ane;hr.JSXOpeningFragment=Ine;hr.JSXSpreadAttribute=Ene;hr.JSXSpreadChild=xne;hr.JSXText=Sne;function mne(e){this.print(e.name),e.value&&(this.tokenChar(61),this.print(e.value))}function yne(e){this.word(e.name)}function gne(e){this.print(e.namespace),this.tokenChar(58),this.print(e.name)}function bne(e){this.print(e.object),this.tokenChar(46),this.print(e.property)}function Ene(e){this.tokenChar(123),this.token("..."),this.print(e.argument),this.rightBrace(e)}function Tne(e){this.tokenChar(123),this.print(e.expression),this.rightBrace(e)}function xne(e){this.tokenChar(123),this.token("..."),this.print(e.expression),this.rightBrace(e)}function Sne(e){let t=this.getPossibleRaw(e);t!==void 0?this.token(t,!0):this.token(e.value,!0)}function vne(e){let t=e.openingElement;if(this.print(t),!t.selfClosing){this.indent();for(let r of e.children)this.print(r);this.dedent(),this.print(e.closingElement)}}function Pne(){this.space()}function Ane(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,Pne)),e.selfClosing&&(this.space(),this.tokenChar(47)),this.tokenChar(62)}function Cne(e){this.tokenChar(60),this.tokenChar(47),this.print(e.name),this.tokenChar(62)}function Dne(){this.printInnerComments()}function wne(e){this.print(e.openingFragment),this.indent();for(let t of e.children)this.print(t);this.dedent(),this.print(e.closingFragment)}function Ine(){this.tokenChar(60),this.tokenChar(62)}function _ne(){this.token("</"),this.tokenChar(62)}});var eA=x(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.TSAnyKeyword=Wne;me.TSArrayType=pse;me.TSSatisfiesExpression=me.TSAsExpression=_se;me.TSBigIntKeyword=Kne;me.TSBooleanKeyword=Yne;me.TSCallSignatureDeclaration=Mne;me.TSInterfaceHeritage=me.TSClassImplements=Cse;me.TSConditionalType=bse;me.TSConstructSignatureDeclaration=Rne;me.TSConstructorType=ise;me.TSDeclareFunction=Fne;me.TSDeclareMethod=Lne;me.TSEnumBody=ZP;me.TSEnumDeclaration=Bse;me.TSEnumMember=kse;me.TSExportAssignment=Use;me.TSExternalModuleReference=Rse;me.TSFunctionType=sse;me.TSImportEqualsDeclaration=Mse;me.TSImportType=jse;me.TSIndexSignature=$ne;me.TSIndexedAccessType=Sse;me.TSInferType=Ese;me.TSInstantiationExpression=Ose;me.TSInterfaceBody=wse;me.TSInterfaceDeclaration=Dse;me.TSIntersectionType=gse;me.TSIntrinsicKeyword=rse;me.TSLiteralType=Ase;me.TSMappedType=vse;me.TSMethodSignature=Vne;me.TSModuleBlock=Lse;me.TSModuleDeclaration=Fse;me.TSNamedTupleMember=mse;me.TSNamespaceExportDeclaration=Vse;me.TSNeverKeyword=tse;me.TSNonNullExpression=qse;me.TSNullKeyword=ese;me.TSNumberKeyword=Gne;me.TSObjectKeyword=Xne;me.TSOptionalType=dse;me.TSParameterProperty=kne;me.TSParenthesizedType=Tse;me.TSPropertySignature=qne;me.TSQualifiedName=jne;me.TSRestType=hse;me.TSStringKeyword=Jne;me.TSSymbolKeyword=zne;me.TSTemplateLiteralType=Pse;me.TSThisType=nse;me.TSTupleType=fse;me.TSTypeAliasDeclaration=Ise;me.TSTypeAnnotation=Nne;me.TSTypeAssertion=Nse;me.TSTypeLiteral=cse;me.TSTypeOperator=xse;me.TSTypeParameter=Bne;me.TSTypeParameterDeclaration=me.TSTypeParameterInstantiation=One;me.TSTypePredicate=lse;me.TSTypeQuery=use;me.TSTypeReference=ose;me.TSUndefinedKeyword=Zne;me.TSUnionType=yse;me.TSUnknownKeyword=Hne;me.TSVoidKeyword=Qne;me.tsPrintClassMemberModifiers=Wse;me.tsPrintFunctionOrConstructorType=ase;me.tsPrintPropertyOrMethodName=Une;me.tsPrintSignatureDeclarationBase=$se;function Nne(e,t){this.token((t.type==="TSFunctionType"||t.type==="TSConstructorType")&&t.typeAnnotation===e?"=>":":"),this.space(),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)}function One(e,t){this.tokenChar(60);let r=t.type==="ArrowFunctionExpression"&&e.params.length===1;this.tokenMap&&e.start!=null&&e.end!=null&&(r&&(r=!!this.tokenMap.find(e,n=>this.tokenMap.matchesOriginal(n,","))),r||(r=this.shouldPrintTrailingComma(">"))),this.printList(e.params,r),this.tokenChar(62)}function Bne(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))}function kne(e){e.accessibility&&(this.word(e.accessibility),this.space()),e.readonly&&(this.word("readonly"),this.space()),this._param(e.parameter)}function Fne(e,t){e.declare&&(this.word("declare"),this.space()),this._functionHead(e,t),this.semicolon()}function Lne(e){this._classMethodHead(e),this.semicolon()}function jne(e){this.print(e.left),this.tokenChar(46),this.print(e.right)}function Mne(e){this.tsPrintSignatureDeclarationBase(e),Yo(this,e)}function Yo(e,t){if(!e.tokenMap||!t.start||!t.end){e.semicolon();return}e.tokenMap.endMatches(t,",")?e.token(","):e.tokenMap.endMatches(t,";")&&e.semicolon()}function Rne(e){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(e),Yo(this,e)}function qne(e){let{readonly:t}=e;t&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(e),this.print(e.typeAnnotation),Yo(this,e)}function Une(e){e.computed&&this.tokenChar(91),this.print(e.key),e.computed&&this.tokenChar(93),e.optional&&this.tokenChar(63)}function Vne(e){let{kind:t}=e;(t==="set"||t==="get")&&(this.word(t),this.space()),this.tsPrintPropertyOrMethodName(e),this.tsPrintSignatureDeclarationBase(e),Yo(this,e)}function $ne(e){let{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),Yo(this,e)}function Wne(){this.word("any")}function Kne(){this.word("bigint")}function Hne(){this.word("unknown")}function Gne(){this.word("number")}function Xne(){this.word("object")}function Yne(){this.word("boolean")}function Jne(){this.word("string")}function zne(){this.word("symbol")}function Qne(){this.word("void")}function Zne(){this.word("undefined")}function ese(){this.word("null")}function tse(){this.word("never")}function rse(){this.word("intrinsic")}function nse(){this.word("this")}function sse(e){this.tsPrintFunctionOrConstructorType(e)}function ise(e){e.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(e)}function ase(e){let{typeParameters:t}=e,r=e.parameters;this.print(t),this.tokenChar(40),this._parameters(r,")"),this.space();let n=e.typeAnnotation;this.print(n)}function ose(e){let t=e.typeParameters;this.print(e.typeName,!!t),this.print(t)}function lse(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))}function use(e){this.word("typeof"),this.space(),this.print(e.exprName);let t=e.typeParameters;t&&this.print(t)}function cse(e){yc(this,e,()=>this.printJoin(e.members,!0,!0))}function pse(e){this.print(e.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function fse(e){this.tokenChar(91),this.printList(e.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)}function dse(e){this.print(e.typeAnnotation),this.tokenChar(63)}function hse(e){this.token("..."),this.print(e.typeAnnotation)}function mse(e){this.print(e.label),e.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(e.elementType)}function yse(e){QP(this,e,"|")}function gse(e){QP(this,e,"&")}function QP(e,t,r){var n;let s=0;(n=e.tokenMap)!=null&&n.startMatches(t,r)&&(s=1,e.token(r)),e.printJoin(t.types,void 0,void 0,function(i){this.space(),this.token(r,null,i+s),this.space()})}function bse(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)}function Ese(e){this.word("infer"),this.print(e.typeParameter)}function Tse(e){this.tokenChar(40),this.print(e.typeAnnotation),this.tokenChar(41)}function xse(e){this.word(e.operator),this.space(),this.print(e.typeAnnotation)}function Sse(e){this.print(e.objectType,!0),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)}function vse(e){let{nameType:t,optional:r,readonly:n,typeAnnotation:s}=e;this.tokenChar(123);let i=this.enterDelimited();this.space(),n&&(JP(this,n),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),r&&(JP(this,r),this.tokenChar(63)),s&&(this.tokenChar(58),this.space(),this.print(s)),this.space(),i(),this.tokenChar(125)}function JP(e,t){t!==!0&&e.token(t)}function Pse(e){this._printTemplate(e,e.types)}function Ase(e){this.print(e.literal)}function Cse(e){this.print(e.expression),this.print(e.typeArguments)}function Dse(e){let{declare:t,id:r,typeParameters:n,extends:s,body:i}=e;t&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(r),this.print(n),s!=null&&s.length&&(this.space(),this.word("extends"),this.space(),this.printList(s)),this.space(),this.print(i)}function wse(e){yc(this,e,()=>this.printJoin(e.body,!0,!0))}function Ise(e){let{declare:t,id:r,typeParameters:n,typeAnnotation:s}=e;t&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(r),this.print(n),this.space(),this.tokenChar(61),this.space(),this.print(s),this.semicolon()}function _se(e){let{type:t,expression:r,typeAnnotation:n}=e;this.print(r,!0),this.space(),this.word(t==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(n)}function Nse(e){let{typeAnnotation:t,expression:r}=e;this.tokenChar(60),this.print(t),this.tokenChar(62),this.space(),this.print(r)}function Ose(e){this.print(e.expression),this.print(e.typeParameters)}function Bse(e){let{declare:t,const:r,id:n}=e;t&&(this.word("declare"),this.space()),r&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(n),this.space(),ZP.call(this,e)}function ZP(e){yc(this,e,()=>{var t;return this.printList(e.members,(t=this.shouldPrintTrailingComma("}"))!=null?t:!0,!0,!0)})}function kse(e){let{id:t,initializer:r}=e;this.print(t),r&&(this.space(),this.tokenChar(61),this.space(),this.print(r))}function Fse(e){let{declare:t,id:r,kind:n}=e;t&&(this.word("declare"),this.space());{if(e.global||(this.word(n!=null?n:r.type==="Identifier"?"namespace":"module"),this.space()),this.print(r),!e.body){this.semicolon();return}let s=e.body;for(;s.type==="TSModuleDeclaration";)this.tokenChar(46),this.print(s.id),s=s.body;this.space(),this.print(s)}}function Lse(e){yc(this,e,()=>this.printSequence(e.body,!0))}function jse(e){let{argument:t,qualifier:r,options:n}=e;this.word("import"),this.tokenChar(40),this.print(t),n&&(this.tokenChar(44),this.print(n)),this.tokenChar(41),r&&(this.tokenChar(46),this.print(r));let s=e.typeParameters;s&&this.print(s)}function Mse(e){let{id:t,moduleReference:r}=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(r),this.semicolon()}function Rse(e){this.token("require("),this.print(e.expression),this.tokenChar(41)}function qse(e){this.print(e.expression),this.tokenChar(33)}function Use(e){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(e.expression),this.semicolon()}function Vse(e){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(e.id),this.semicolon()}function $se(e){let{typeParameters:t}=e,r=e.parameters;this.print(t),this.tokenChar(40),this._parameters(r,")");let n=e.typeAnnotation;this.print(n)}function Wse(e){let t=e.type==="ClassPrivateProperty",r=e.type==="ClassAccessorProperty"||e.type==="ClassProperty";zP(this,e,[r&&e.declare&&"declare",!t&&e.accessibility]),e.static&&(this.word("static"),this.space()),zP(this,e,[!t&&e.abstract&&"abstract",!t&&e.override&&"override",(r||t)&&e.readonly&&"readonly"])}function yc(e,t,r){e.token("{");let n=e.enterDelimited();r(),n(),e.rightBrace(t)}function zP(e,t,r){var n;let s=new Set;for(let i of r)i&&s.add(i);(n=e.tokenMap)==null||n.find(t,i=>{if(s.has(i.value))return e.token(i.value),e.space(),s.delete(i.value),s.size===0});for(let i of s)e.word(i),e.space()}});var tA=x(lt=>{"use strict";Object.defineProperty(lt,"__esModule",{value:!0});var Gy=DP();Object.keys(Gy).forEach(function(e){e==="default"||e==="__esModule"||e in lt&<[e]===Gy[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return Gy[e]}})});var Xy=IP();Object.keys(Xy).forEach(function(e){e==="default"||e==="__esModule"||e in lt&<[e]===Xy[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return Xy[e]}})});var Yy=BP();Object.keys(Yy).forEach(function(e){e==="default"||e==="__esModule"||e in lt&<[e]===Yy[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return Yy[e]}})});var Jy=kP();Object.keys(Jy).forEach(function(e){e==="default"||e==="__esModule"||e in lt&<[e]===Jy[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return Jy[e]}})});var zy=FP();Object.keys(zy).forEach(function(e){e==="default"||e==="__esModule"||e in lt&<[e]===zy[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return zy[e]}})});var Qy=Vy();Object.keys(Qy).forEach(function(e){e==="default"||e==="__esModule"||e in lt&<[e]===Qy[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return Qy[e]}})});var Zy=Ky();Object.keys(Zy).forEach(function(e){e==="default"||e==="__esModule"||e in lt&<[e]===Zy[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return Zy[e]}})});var e0=GP();Object.keys(e0).forEach(function(e){e==="default"||e==="__esModule"||e in lt&<[e]===e0[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return e0[e]}})});var t0=XP();Object.keys(t0).forEach(function(e){e==="default"||e==="__esModule"||e in lt&<[e]===t0[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return t0[e]}})});var r0=YP();Object.keys(r0).forEach(function(e){e==="default"||e==="__esModule"||e in lt&<[e]===r0[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return r0[e]}})});var n0=eA();Object.keys(n0).forEach(function(e){e==="default"||e==="__esModule"||e in lt&<[e]===n0[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return n0[e]}})})});var rA=x(s0=>{"use strict";Object.defineProperty(s0,"__esModule",{value:!0});s0.addDeprecatedGenerators=Kse;function Kse(e){{let t={Noop(){},TSExpressionWithTypeArguments(r){this.print(r.expression),this.print(r.typeParameters)},DecimalLiteral(r){let n=this.getPossibleRaw(r);if(!this.format.minified&&n!==void 0){this.word(n);return}this.word(r.value+"m")}};Object.assign(e.prototype,t)}}});var aA=x(gc=>{"use strict";Object.defineProperty(gc,"__esModule",{value:!0});gc.default=void 0;var Hse=uP(),Pr=Di(),sA=Pr,Gse=Fe(),Xse=CP(),Yse=tA(),Jse=rA(),{isExpression:zse,isFunction:Qse,isStatement:Zse,isClassBody:eie,isTSInterfaceBody:tie,isTSEnumMember:rie}=Gse,nie=/e/i,sie=/\.0+$/,iA=/[\n\r\u2028\u2029]/,iie=/[\n\r\u2028\u2029]|\*\//;function nA(e){return e.type==="CommentLine"||iA.test(e.value)}var{needsParens:aie}=sA,Jo=class{constructor(t,r,n,s){this.tokenContext=Pr.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=t,this._tokens=n,this._originalCode=s,this._indentRepeat=t.indent.style.length,this._inputMap=r==null?void 0:r._inputMap,this._buf=new Hse.default(r,t.indent.style[0])}enterForStatementInit(){return this.tokenContext|=Pr.TokenContext.forInitHead|Pr.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=Pr.TokenContext.normal}enterForXStatementInit(t){return t?(this.tokenContext|=Pr.TokenContext.forOfHead,null):(this.tokenContext|=Pr.TokenContext.forInHead|Pr.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=Pr.TokenContext.normal)}enterDelimited(){let t=this.tokenContext,r=this._noLineTerminatorAfterNode;return!(t&Pr.TokenContext.forInOrInitHeadAccumulate)&&r===null?()=>{}:(this._noLineTerminatorAfterNode=null,this.tokenContext=Pr.TokenContext.normal,()=>{this._noLineTerminatorAfterNode=r,this.tokenContext=t})}generate(t){return this.format.preserveFormat&&(this.tokenMap=new Xse.TokenMap(t,this._tokens,this._originalCode)),this.print(t),this._maybeAddAuxComment(),this._buf.get()}indent(){let{format:t}=this;t.preserveFormat||t.compact||t.concise||this._indent++}dedent(){let{format:t}=this;t.preserveFormat||t.compact||t.concise||this._indent--}semicolon(t=!1){if(this._maybeAddAuxComment(),t){this._appendChar(59),this._noLineTerminator=!1;return}if(this.tokenMap){let r=this._currentNode;if(r.start!=null&&r.end!=null){if(!this.tokenMap.endMatches(r,";")){this._printSemicolonBeforeNextNode=this._buf.getCurrentLine();return}let n=this.tokenMap.getIndexes(this._currentNode);this._catchUpTo(this._tokens[n[n.length-1]].loc.start)}}this._queue(59),this._noLineTerminator=!1}rightBrace(t){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",t.loc,-1),this.tokenChar(125)}rightParens(t){this.sourceWithOffset("end",t.loc,-1),this.tokenChar(41)}space(t=!1){let{format:r}=this;if(!(r.compact||r.preserveFormat)){if(t)this._space();else if(this._buf.hasContent()){let n=this.getLastChar();n!==32&&n!==10&&this._space()}}}word(t,r=!1){this.tokenContext&=Pr.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(t),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(t),(this._endsWithWord||this._endsWithDiv&&t.charCodeAt(0)===47)&&this._space(),this._append(t,!1),this._endsWithWord=!0,this._noLineTerminator=r}number(t,r){function n(s){if(s.length>2&&s.charCodeAt(0)===48){let i=s.charCodeAt(1);return i===98||i===111||i===120}return!1}this.word(t),this._endsWithInteger=Number.isInteger(r)&&!n(t)&&!nie.test(t)&&!sie.test(t)&&t.charCodeAt(t.length-1)!==46}token(t,r=!1,n=0){this.tokenContext&=Pr.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(t,n),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(t,n);let s=this.getLastChar(),i=t.charCodeAt(0);(s===33&&(t==="--"||i===61)||i===43&&s===43||i===45&&s===45||i===46&&this._endsWithInteger)&&this._space(),this._append(t,r),this._noLineTerminator=!1}tokenChar(t){this.tokenContext&=Pr.TokenContext.forInOrInitHeadAccumulatePassThroughMask;let r=String.fromCharCode(t);this._maybePrintInnerComments(r),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(r);let n=this.getLastChar();(t===43&&n===43||t===45&&n===45||t===46&&this._endsWithInteger)&&this._space(),this._appendChar(t),this._noLineTerminator=!1}newline(t=1,r){if(!(t<=0)){if(!r){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}}t>2&&(t=2),t-=this._buf.getNewlineCount();for(let n=0;n<t;n++)this._newline()}}endsWith(t){return this.getLastChar()===t}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(t,r){if(!t){r();return}this._catchUp("start",t),this._buf.exactSource(t,r)}source(t,r){r&&(this._catchUp(t,r),this._buf.source(t,r))}sourceWithOffset(t,r,n){!r||this.format.preserveFormat||(this._catchUp(t,r),this._buf.sourceWithOffset(t,r,n))}sourceIdentifierName(t,r){if(!this._buf._canMarkIdName)return;let n=this._buf._sourcePosition;n.identifierNamePos=r,n.identifierName=t}_space(){this._queue(32)}_newline(){this._queue(10)}_catchUpToCurrentToken(t,r=0){let n=this.tokenMap.findMatching(this._currentNode,t,r);n&&this._catchUpTo(n.loc.start),this._printSemicolonBeforeNextToken!==-1&&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(t,r){this._maybeIndent(t.charCodeAt(0)),this._buf.append(t,r),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(t){this._maybeIndent(t),this._buf.appendChar(t),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(t){this._maybeIndent(t),this._buf.queue(t),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(t){this._indent&&t!==10&&this.endsWith(10)&&this._buf.queueIndentation(this._getIndent())}_shouldIndent(t){if(this._indent&&t!==10&&this.endsWith(10))return!0}catchUp(t){if(!this.format.retainLines)return;let r=t-this._buf.getCurrentLine();for(let n=0;n<r;n++)this._newline()}_catchUp(t,r){let{format:n}=this;if(!n.preserveFormat){n.retainLines&&r!=null&&r[t]&&this.catchUp(r[t].line);return}let s=r==null?void 0:r[t];s!=null&&this._catchUpTo(s)}_catchUpTo({line:t,column:r,index:n}){let s=t-this._buf.getCurrentLine();if(s>0&&this._noLineTerminator)return;for(let a=0;a<s;a++)this._newline();let i=s>0?r:r-this._buf.getCurrentColumn();if(i>0){let a=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(a,!1)}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(t){this._noLineTerminator=!0,this.print(t)}print(t,r,n){var s,i,a;if(!t)return;this._endsWithInnerRaw=!1;let o=t.type,l=this.format,u=l.concise;t._compact&&(l.concise=!0);let c=this[o];if(c===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify(o)} with constructor ${JSON.stringify(t.constructor.name)}`);let p=this._currentNode;this._currentNode=t,this.tokenMap&&(this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode);let d=this._insideAux;this._insideAux=t.loc==null,this._maybeAddAuxComment(this._insideAux&&!d);let m=(s=t.extra)==null?void 0:s.parenthesized,g=m&&l.preserveFormat||m&&l.retainFunctionParens&&o==="FunctionExpression"||aie(t,p,this.tokenContext,l.preserveFormat?this._boundGetRawIdentifier:void 0);if(!g&&m&&(i=t.leadingComments)!=null&&i.length&&t.leadingComments[0].type==="CommentBlock")switch(p==null?void 0:p.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(p.callee!==t)break;default:g=!0}let f=!1;!g&&this._noLineTerminator&&((a=t.leadingComments)!=null&&a.some(nA)||this.format.retainLines&&t.loc&&t.loc.start.line>this._buf.getCurrentLine())&&(g=!0,f=!0);let b,T;if(!g&&(r||(r=p&&this._noLineTerminatorAfterNode===p&&sA.isLastChild(p,t)),r)){var w;(w=t.trailingComments)!=null&&w.some(nA)?zse(t)&&(g=!0):(b=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=t)}g&&(this.tokenChar(40),f&&this.indent(),this._endsWithInnerRaw=!1,this.tokenContext&Pr.TokenContext.forInOrInitHeadAccumulate&&(T=this.tokenContext,this.tokenContext=Pr.TokenContext.normal),b=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null),this._lastCommentLine=0,this._printLeadingComments(t,p);let I=o==="Program"||o==="File"?null:t.loc;this.exactSource(I,c.bind(this,t,p)),g?(this._printTrailingComments(t,p),f&&(this.dedent(),this.newline()),this.tokenChar(41),this._noLineTerminator=r,T&&(this.tokenContext=T)):r&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(t,p)):this._printTrailingComments(t,p,n),this._currentNode=p,l.concise=u,this._insideAux=d,b!==void 0&&(this._noLineTerminatorAfterNode=b),this._endsWithInnerRaw=!1}_maybeAddAuxComment(t){t&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let t=this.format.auxiliaryCommentBefore;t&&this._printComment({type:"CommentBlock",value:t},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let t=this.format.auxiliaryCommentAfter;t&&this._printComment({type:"CommentBlock",value:t},0)}getPossibleRaw(t){let r=t.extra;if((r==null?void 0:r.raw)!=null&&r.rawValue!=null&&t.value===r.rawValue)return r.raw}printJoin(t,r,n,s,i,a,o,l){if(!(t!=null&&t.length))return;if(n==null&&this.format.retainLines){var u;let f=(u=t[0].loc)==null?void 0:u.start.line;f!=null&&f!==this._buf.getCurrentLine()&&(n=!0)}n&&this.indent();let c={addNewlines:a,nextNodeStartLine:0},p=s==null?void 0:s.bind(this),d=t.length;for(let f=0;f<d;f++){let b=t[f];if(b&&(r&&this._printNewline(f===0,c),this.print(b,void 0,l||0),o==null||o(b,f),p!=null&&(f<d-1?p(f,!1):i&&p(f,!0)),r)){var m;if((m=b.trailingComments)!=null&&m.length||(this._lastCommentLine=0),f+1===d)this.newline(1);else{var g;let T=t[f+1];c.nextNodeStartLine=((g=T.loc)==null?void 0:g.start.line)||0,this._printNewline(!0,c)}}}n&&this.dedent()}printAndIndentOnComments(t){let r=t.leadingComments&&t.leadingComments.length>0;r&&this.indent(),this.print(t),r&&this.dedent()}printBlock(t){let r=t.body;r.type!=="EmptyStatement"&&this.space(),this.print(r)}_printTrailingComments(t,r,n){let{innerComments:s,trailingComments:i}=t;s!=null&&s.length&&this._printComments(2,s,t,r,n),i!=null&&i.length&&this._printComments(2,i,t,r,n)}_printLeadingComments(t,r){let n=t.leadingComments;n!=null&&n.length&&this._printComments(0,n,t,r)}_maybePrintInnerComments(t,r){if(this._endsWithInnerRaw){var n;this.printInnerComments((n=this.tokenMap)==null?void 0:n.findMatching(this._currentNode,t,r))}this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(t){let r=this._currentNode,n=r.innerComments;if(!(n!=null&&n.length))return;let s=this.endsWith(32),i=this._indentInnerComments,a=this._printedComments.size;i&&this.indent(),this._printComments(1,n,r,void 0,void 0,t),s&&a!==this._printedComments.size&&this.space(),i&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(t,r,n,s){this.printJoin(t,!0,r!=null?r:!1,void 0,void 0,s,void 0,n)}printList(t,r,n,s,i,a){this.printJoin(t,n,s,i!=null?i:oie,r,void 0,a)}shouldPrintTrailingComma(t){if(!this.tokenMap)return null;let r=this.tokenMap.findLastIndex(this._currentNode,n=>this.tokenMap.matchesOriginal(n,t));return r<=0?null:this.tokenMap.matchesOriginal(this._tokens[r-1],",")}_printNewline(t,r){let n=this.format;if(n.retainLines||n.compact)return;if(n.concise){this.space();return}if(!t)return;let s=r.nextNodeStartLine,i=this._lastCommentLine;if(s>0&&i>0){let a=s-i;if(a>=0){this.newline(a||1);return}}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(t,r){if(t.ignore||this._printedComments.has(t))return 0;if(this._noLineTerminator&&iie.test(t.value))return 2;if(r&&this.tokenMap){let n=this.tokenMap.find(this._currentNode,s=>s.value===t.value);if(n&&n.start>r.start)return 2}return this._printedComments.add(t),this.format.shouldPrintComment(t.value)?1:0}_printComment(t,r){let n=this._noLineTerminator,s=t.type==="CommentBlock",i=s&&r!==1&&!this._noLineTerminator;i&&this._buf.hasContent()&&r!==2&&this.newline(1);let a=this.getLastChar();a!==91&&a!==123&&a!==40&&this.space();let o;if(s){if(o=`/*${t.value}*/`,this.format.indent.adjustMultilineComment){var l;let u=(l=t.loc)==null?void 0:l.start.column;if(u){let c=new RegExp("\\n\\s{1,"+u+"}","g");o=o.replace(c,`
|
|
@@ -135,7 +135,7 @@ ${" ".repeat(c)}`)}}}else n?o=`/*${t.value}*/`:o=`//${t.value}`;if(this._endsWit
|
|
|
135
135
|
})(UMD_ROOT, function (FACTORY_PARAMETERS) {
|
|
136
136
|
FACTORY_BODY
|
|
137
137
|
});
|
|
138
|
-
`(e);function Afe(e){let t=gr("babelHelpers"),r=[],n=Sfe(null,[gr("global")],yfe(r)),s=Yc([fg(gfe(n,[Efe(mfe("===",vfe("typeof",gr("global")),E2("undefined")),gr("self"),gr("global"))]))]);return r.push(mg("var",[yg(t,Xc("=",dg(gr("global"),t),hg([])))])),Jc(r,t,e),s}function Cfe(e){let t=[],r=Jc(t,null,e);return t.unshift(Tfe(null,Object.keys(r).map(n=>xfe(bfe(r[n]),gr(n))))),Yc(t,[],"module")}function Dfe(e){let t=gr("babelHelpers"),r=[];return r.push(mg("var",[yg(t,gr("global"))])),Jc(r,t,e),Yc([Pfe({FACTORY_PARAMETERS:gr("global"),BROWSER_ARGUMENTS:Xc("=",dg(gr("root"),t),hg([])),COMMON_ARGUMENTS:gr("exports"),AMD_ARGUMENTS:hfe([E2("exports")]),FACTORY_BODY:r,UMD_ROOT:gr("this")})])}function wfe(e){let t=gr("babelHelpers"),r=[];r.push(mg("var",[yg(t,hg([]))]));let n=Yc(r);return Jc(r,t,e),r.push(fg(t)),n}function Jc(e,t,r){let n=i=>t?dg(t,gr(i)):gr(`_${i}`),s={};return pg().list.forEach(function(i){if(r&&!r.includes(i))return;let a=s[i]=n(i),{nodes:o}=pg().get(i,n,t?null:`_${i}`,[],t?(l,u,c)=>{c(p=>Xc("=",a,p)),l.body.push(fg(Xc("=",a,gr(u))))}:null);e.push(...o)}),s}function Ife(e,t="global"){let r,n={global:Afe,module:Cfe,umd:Dfe,var:wfe}[t];if(n)r=n(e);else throw new Error(`Unsupported output type ${t}`);return(0,y2().default)(r).code}});var Zr=x((V_e,w2)=>{"use strict";var S2=Symbol.for("gensync:v1:start"),v2=Symbol.for("gensync:v1:suspend"),_fe="GENSYNC_EXPECTED_START",Nfe="GENSYNC_EXPECTED_SUSPEND",P2="GENSYNC_OPTIONS_ERROR",x2="GENSYNC_RACE_NONEMPTY",Ofe="GENSYNC_ERRBACK_NO_CALLBACK";w2.exports=Object.assign(function(t){let r=t;return typeof t!="function"?r=kfe(t):r=Ffe(t),Object.assign(r,Bfe(r))},{all:bg({name:"all",arity:1,sync:function(e){return Array.from(e[0]).map(r=>Eg(r))},async:function(e,t,r){let n=Array.from(e[0]);if(n.length===0){Promise.resolve().then(()=>t([]));return}let s=0,i=n.map(()=>{});n.forEach((a,o)=>{zc(a,l=>{i[o]=l,s+=1,s===i.length&&t(i)},r)})}}),race:bg({name:"race",arity:1,sync:function(e){let t=Array.from(e[0]);if(t.length===0)throw ji("Must race at least 1 item",x2);return Eg(t[0])},async:function(e,t,r){let n=Array.from(e[0]);if(n.length===0)throw ji("Must race at least 1 item",x2);for(let s of n)zc(s,t,r)}})});function Bfe(e){return{sync:function(...r){return Eg(e.apply(this,r))},async:function(...r){return new Promise((n,s)=>{zc(e.apply(this,r),n,s)})},errback:function(...r){let n=r.pop();if(typeof n!="function")throw ji("Asynchronous function called without callback",Ofe);let s;try{s=e.apply(this,r)}catch(i){n(i);return}zc(s,i=>n(void 0,i),i=>n(i))}}}function pl(e,t,r,n){if(typeof r===e||n&&typeof r=="undefined")return;let s;throw n?s=`Expected opts.${t} to be either a ${e}, or undefined.`:s=`Expected opts.${t} to be a ${e}.`,ji(s,P2)}function ji(e,t){return Object.assign(new Error(e),{code:t})}function kfe({name:e,arity:t,sync:r,async:n,errback:s}){if(pl("string","name",e,!0),pl("number","arity",t,!0),pl("function","sync",r),pl("function","async",n,!0),pl("function","errback",s,!0),n&&s)throw ji("Expected one of either opts.async or opts.errback, but got _both_.",P2);if(typeof e!="string"){let i;s&&s.name&&s.name!=="errback"&&(i=s.name),n&&n.name&&n.name!=="async"&&(i=n.name.replace(/Async$/,"")),r&&r.name&&r.name!=="sync"&&(i=r.name.replace(/Sync$/,"")),typeof i=="string"&&(e=i)}return typeof t!="number"&&(t=r.length),bg({name:e,arity:t,sync:function(i){return r.apply(this,i)},async:function(i,a,o){n?n.apply(this,i).then(a,o):s?s.call(this,...i,(l,u)=>{l==null?a(u):o(l)}):a(r.apply(this,i))}})}function Ffe(e){return D2(e.name,e.length,function(...t){return e.apply(this,t)})}function bg({name:e,arity:t,sync:r,async:n}){return D2(e,t,function*(...s){let i=yield S2;if(!i)return r.call(this,s);let a;try{n.call(this,s,o=>{a||(a={value:o},i())},o=>{a||(a={err:o},i())})}catch(o){a={err:o},i()}if(yield v2,a.hasOwnProperty("err"))throw a.err;return a.value})}function Eg(e){let t;for(;!({value:t}=e.next()).done;)A2(t,e);return t}function zc(e,t,r){(function n(){try{let s;for(;!({value:s}=e.next()).done;){A2(s,e);let i=!0,a=!1,o=e.next(()=>{i?a=!0:n()});if(i=!1,Lfe(o,e),!a)return}return t(s)}catch(s){return r(s)}})()}function A2(e,t){e!==S2&&C2(t,ji(`Got unexpected yielded value in gensync generator: ${JSON.stringify(e)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,_fe))}function Lfe({value:e,done:t},r){!t&&e===v2||C2(r,ji(t?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(e)}. If you get this, it is probably a gensync bug.`,Nfe))}function C2(e,t){throw e.throw&&e.throw(t),t}function D2(e,t,r){if(typeof e=="string"){let n=Object.getOwnPropertyDescriptor(r,"name");(!n||n.configurable)&&Object.defineProperty(r,"name",Object.assign(n||{},{configurable:!0,value:e}))}if(typeof t=="number"){let n=Object.getOwnPropertyDescriptor(r,"length");(!n||n.configurable)&&Object.defineProperty(r,"length",Object.assign(n||{},{configurable:!0,value:t}))}return r}});var Gs=x(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.forwardAsync=Rfe;_n.isAsync=void 0;_n.isThenable=O2;_n.maybeAsync=jfe;_n.waitFor=_n.onFirstPause=void 0;function Hs(){let e=Zr();return Hs=function(){return e},e}function I2(e,t,r,n,s,i,a){try{var o=e[i](a),l=o.value}catch(u){return void r(u)}o.done?t(l):Promise.resolve(l).then(n,s)}function N2(e){return function(){var t=this,r=arguments;return new Promise(function(n,s){var i=e.apply(t,r);function a(l){I2(i,n,s,a,o,"next",l)}function o(l){I2(i,n,s,a,o,"throw",l)}a(void 0)})}}var _2=Hs()(function*(e){return yield*e}),$_e=_n.isAsync=Hs()({sync:()=>!1,errback:e=>e(null,!0)});function jfe(e,t){return Hs()({sync(...r){let n=e.apply(this,r);if(O2(n))throw new Error(t);return n},async(...r){return Promise.resolve(e.apply(this,r))}})}var Mfe=Hs()({sync:e=>e("sync"),async:function(){var e=N2(function*(t){return t("async")});return function(r){return e.apply(this,arguments)}}()});function Rfe(e,t){let r=Hs()(e);return Mfe(n=>{let s=r[n];return t(s)})}var W_e=_n.onFirstPause=Hs()({name:"onFirstPause",arity:2,sync:function(e){return _2.sync(e)},errback:function(e,t,r){let n=!1;_2.errback(e,(s,i)=>{n=!0,r(s,i)}),n||t()}}),K_e=_n.waitFor=Hs()({sync:e=>e,async:function(){var e=N2(function*(t){return t});return function(r){return e.apply(this,arguments)}}()});function O2(e){return!!e&&(typeof e=="object"||typeof e=="function")&&!!e.then&&typeof e.then=="function"}});var Zc=x(Qc=>{"use strict";Object.defineProperty(Qc,"__esModule",{value:!0});Qc.isIterableIterator=Vfe;Qc.mergeOptions=qfe;function qfe(e,t){for(let r of Object.keys(t))if((r==="parserOpts"||r==="generatorOpts"||r==="assumptions")&&t[r]){let n=t[r],s=e[r]||(e[r]={});Ufe(s,n)}else{let n=t[r];n!==void 0&&(e[r]=n)}}function Ufe(e,t){for(let r of Object.keys(t)){let n=t[r];n!==void 0&&(e[r]=n)}}function Vfe(e){return!!e&&typeof e.next=="function"&&typeof e[Symbol.iterator]=="function"}});var Ri=x(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.assertSimpleType=ep;Mi.makeStrongCache=j2;Mi.makeStrongCacheSync=Hfe;Mi.makeWeakCache=L2;Mi.makeWeakCacheSync=Kfe;function k2(){let e=Zr();return k2=function(){return e},e}var Ra=Gs(),$fe=Zc(),F2=e=>k2()(e).sync;function*Wfe(){return!0}function L2(e){return M2(WeakMap,e)}function Kfe(e){return F2(L2(e))}function j2(e){return M2(Map,e)}function Hfe(e){return F2(j2(e))}function M2(e,t){let r=new e,n=new e,s=new e;return function*(a,o){let l=yield*(0,Ra.isAsync)(),u=l?n:r,c=yield*Gfe(l,u,s,a,o);if(c.valid)return c.value;let p=new Tg(o),d=t(a,p),m,g;return(0,$fe.isIterableIterator)(d)?g=yield*(0,Ra.onFirstPause)(d,()=>{m=Xfe(p,s,a)}):g=d,R2(u,p,a,g),m&&(s.delete(a),m.release(g)),g}}function*B2(e,t,r){let n=e.get(t);if(n){for(let{value:s,valid:i}of n)if(yield*i(r))return{valid:!0,value:s}}return{valid:!1,value:null}}function*Gfe(e,t,r,n,s){let i=yield*B2(t,n,s);if(i.valid)return i;if(e){let a=yield*B2(r,n,s);if(a.valid)return{valid:!0,value:yield*(0,Ra.waitFor)(a.value.promise)}}return{valid:!1,value:null}}function Xfe(e,t,r){let n=new xg;return R2(t,e,r,n),n}function R2(e,t,r,n){t.configured()||t.forever();let s=e.get(r);switch(t.deactivate(),t.mode()){case"forever":s=[{value:n,valid:Wfe}],e.set(r,s);break;case"invalidate":s=[{value:n,valid:t.validator()}],e.set(r,s);break;case"valid":s?s.push({value:n,valid:t.validator()}):(s=[{value:n,valid:t.validator()}],e.set(r,s))}}var Tg=class{constructor(t){this._active=!0,this._never=!1,this._forever=!1,this._invalidate=!1,this._configured=!1,this._pairs=[],this._data=void 0,this._data=t}simple(){return Yfe(this)}mode(){return this._never?"never":this._forever?"forever":this._invalidate?"invalidate":"valid"}forever(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never)throw new Error("Caching has already been configured with .never()");this._forever=!0,this._configured=!0}never(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._forever)throw new Error("Caching has already been configured with .forever()");this._never=!0,this._configured=!0}using(t){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never||this._forever)throw new Error("Caching has already been configured with .never or .forever()");this._configured=!0;let r=t(this._data),n=(0,Ra.maybeAsync)(t,"You appear to be using an async cache handler, but Babel has been called synchronously");return(0,Ra.isThenable)(r)?r.then(s=>(this._pairs.push([s,n]),s)):(this._pairs.push([r,n]),r)}invalidate(t){return this._invalidate=!0,this.using(t)}validator(){let t=this._pairs;return function*(r){for(let[n,s]of t)if(n!==(yield*s(r)))return!1;return!0}}deactivate(){this._active=!1}configured(){return this._configured}};function Yfe(e){function t(r){if(typeof r=="boolean"){r?e.forever():e.never();return}return e.using(()=>ep(r()))}return t.forever=()=>e.forever(),t.never=()=>e.never(),t.using=r=>e.using(()=>ep(r())),t.invalidate=r=>e.invalidate(()=>ep(r())),t}function ep(e){if((0,Ra.isThenable)(e))throw new Error("You appear to be using an async cache handler, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously handle your caching logic.");if(e!=null&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number")throw new Error("Cache keys must be either string, boolean, number, null, or undefined.");return e}var xg=class{constructor(){this.released=!1,this.promise=void 0,this._resolve=void 0,this.promise=new Promise(t=>{this._resolve=t})}release(t){this.released=!0,this._resolve(t)}}});var tp=x(qa=>{"use strict";Object.defineProperty(qa,"__esModule",{value:!0});qa.stat=qa.readFile=void 0;function fl(){let e=require("fs");return fl=function(){return e},e}function Sg(){let e=Zr();return Sg=function(){return e},e}var Y_e=qa.readFile=Sg()({sync:fl().readFileSync,errback:fl().readFile}),J_e=qa.stat=Sg()({sync:fl().statSync,errback:fl().stat})});var Ag=x(Pg=>{"use strict";Object.defineProperty(Pg,"__esModule",{value:!0});Pg.makeStaticFileCache=Qfe;var Jfe=Ri(),zfe=tp();function vg(){let e=require("fs");return vg=function(){return e},e}function Qfe(e){return(0,Jfe.makeStrongCache)(function*(t,r){return r.invalidate(()=>Zfe(t))===null?null:e(t,yield*zfe.readFile(t,"utf8"))})}function Zfe(e){if(!vg().existsSync(e))return null;try{return+vg().statSync(e).mtime}catch(t){if(t.code!=="ENOENT"&&t.code!=="ENOTDIR")throw t}return null}});var fs=x(Ua=>{"use strict";Object.defineProperty(Ua,"__esModule",{value:!0});Ua.beginHiddenCallStack=nde;Ua.endHiddenCallStack=sde;Ua.expectedError=rde;Ua.injectVirtualStackFrame=tde;var q2,U2=Function.call.bind(Error.prototype.toString),np=!!Error.captureStackTrace&&((q2=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit"))==null?void 0:q2.writable)===!0,V2="startHiding - secret - don't use this - v1",$2="stopHiding - secret - don't use this - v1",W2=new WeakSet,rp=new WeakMap;function ede(e){return Object.create({isNative:()=>!1,isConstructor:()=>!1,isToplevel:()=>!0,getFileName:()=>e,getLineNumber:()=>{},getColumnNumber:()=>{},getFunctionName:()=>{},getMethodName:()=>{},getTypeName:()=>{},toString:()=>e})}function tde(e,t){if(!np)return;let r=rp.get(e);return r||rp.set(e,r=[]),r.push(ede(t)),e}function rde(e){if(np)return W2.add(e),e}function nde(e){return np?Object.defineProperty(function(...t){return K2(),e(...t)},"name",{value:$2}):e}function sde(e){return np?Object.defineProperty(function(...t){return e(...t)},"name",{value:V2}):e}function K2(){K2=()=>{};let{prepareStackTrace:e=ide}=Error,t=50;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,t)),Error.prepareStackTrace=function(n,s){let i=[],o=W2.has(n)?"hiding":"unknown";for(let l=0;l<s.length;l++){let u=s[l].getFunctionName();if(u===V2)o="hiding";else if(u===$2){if(o==="hiding")o="showing",rp.has(n)&&i.unshift(...rp.get(n));else if(o==="unknown"){i=s;break}}else o!=="hiding"&&i.push(s[l])}return e(n,i)}}function ide(e,t){return t.length===0?U2(e):`${U2(e)}
|
|
138
|
+
`(e);function Afe(e){let t=gr("babelHelpers"),r=[],n=Sfe(null,[gr("global")],yfe(r)),s=Yc([fg(gfe(n,[Efe(mfe("===",vfe("typeof",gr("global")),E2("undefined")),gr("self"),gr("global"))]))]);return r.push(mg("var",[yg(t,Xc("=",dg(gr("global"),t),hg([])))])),Jc(r,t,e),s}function Cfe(e){let t=[],r=Jc(t,null,e);return t.unshift(Tfe(null,Object.keys(r).map(n=>xfe(bfe(r[n]),gr(n))))),Yc(t,[],"module")}function Dfe(e){let t=gr("babelHelpers"),r=[];return r.push(mg("var",[yg(t,gr("global"))])),Jc(r,t,e),Yc([Pfe({FACTORY_PARAMETERS:gr("global"),BROWSER_ARGUMENTS:Xc("=",dg(gr("root"),t),hg([])),COMMON_ARGUMENTS:gr("exports"),AMD_ARGUMENTS:hfe([E2("exports")]),FACTORY_BODY:r,UMD_ROOT:gr("this")})])}function wfe(e){let t=gr("babelHelpers"),r=[];r.push(mg("var",[yg(t,hg([]))]));let n=Yc(r);return Jc(r,t,e),r.push(fg(t)),n}function Jc(e,t,r){let n=i=>t?dg(t,gr(i)):gr(`_${i}`),s={};return pg().list.forEach(function(i){if(r&&!r.includes(i))return;let a=s[i]=n(i),{nodes:o}=pg().get(i,n,t?null:`_${i}`,[],t?(l,u,c)=>{c(p=>Xc("=",a,p)),l.body.push(fg(Xc("=",a,gr(u))))}:null);e.push(...o)}),s}function Ife(e,t="global"){let r,n={global:Afe,module:Cfe,umd:Dfe,var:wfe}[t];if(n)r=n(e);else throw new Error(`Unsupported output type ${t}`);return(0,y2().default)(r).code}});var Zr=x((V_e,w2)=>{"use strict";var S2=Symbol.for("gensync:v1:start"),v2=Symbol.for("gensync:v1:suspend"),_fe="GENSYNC_EXPECTED_START",Nfe="GENSYNC_EXPECTED_SUSPEND",P2="GENSYNC_OPTIONS_ERROR",x2="GENSYNC_RACE_NONEMPTY",Ofe="GENSYNC_ERRBACK_NO_CALLBACK";w2.exports=Object.assign(function(t){let r=t;return typeof t!="function"?r=kfe(t):r=Ffe(t),Object.assign(r,Bfe(r))},{all:bg({name:"all",arity:1,sync:function(e){return Array.from(e[0]).map(r=>Eg(r))},async:function(e,t,r){let n=Array.from(e[0]);if(n.length===0){Promise.resolve().then(()=>t([]));return}let s=0,i=n.map(()=>{});n.forEach((a,o)=>{zc(a,l=>{i[o]=l,s+=1,s===i.length&&t(i)},r)})}}),race:bg({name:"race",arity:1,sync:function(e){let t=Array.from(e[0]);if(t.length===0)throw ji("Must race at least 1 item",x2);return Eg(t[0])},async:function(e,t,r){let n=Array.from(e[0]);if(n.length===0)throw ji("Must race at least 1 item",x2);for(let s of n)zc(s,t,r)}})});function Bfe(e){return{sync:function(...r){return Eg(e.apply(this,r))},async:function(...r){return new Promise((n,s)=>{zc(e.apply(this,r),n,s)})},errback:function(...r){let n=r.pop();if(typeof n!="function")throw ji("Asynchronous function called without callback",Ofe);let s;try{s=e.apply(this,r)}catch(i){n(i);return}zc(s,i=>n(void 0,i),i=>n(i))}}}function pl(e,t,r,n){if(typeof r===e||n&&typeof r=="undefined")return;let s;throw n?s=`Expected opts.${t} to be either a ${e}, or undefined.`:s=`Expected opts.${t} to be a ${e}.`,ji(s,P2)}function ji(e,t){return Object.assign(new Error(e),{code:t})}function kfe({name:e,arity:t,sync:r,async:n,errback:s}){if(pl("string","name",e,!0),pl("number","arity",t,!0),pl("function","sync",r),pl("function","async",n,!0),pl("function","errback",s,!0),n&&s)throw ji("Expected one of either opts.async or opts.errback, but got _both_.",P2);if(typeof e!="string"){let i;s&&s.name&&s.name!=="errback"&&(i=s.name),n&&n.name&&n.name!=="async"&&(i=n.name.replace(/Async$/,"")),r&&r.name&&r.name!=="sync"&&(i=r.name.replace(/Sync$/,"")),typeof i=="string"&&(e=i)}return typeof t!="number"&&(t=r.length),bg({name:e,arity:t,sync:function(i){return r.apply(this,i)},async:function(i,a,o){n?n.apply(this,i).then(a,o):s?s.call(this,...i,(l,u)=>{l==null?a(u):o(l)}):a(r.apply(this,i))}})}function Ffe(e){return D2(e.name,e.length,function(...t){return e.apply(this,t)})}function bg({name:e,arity:t,sync:r,async:n}){return D2(e,t,function*(...s){let i=yield S2;if(!i)return r.call(this,s);let a;try{n.call(this,s,o=>{a||(a={value:o},i())},o=>{a||(a={err:o},i())})}catch(o){a={err:o},i()}if(yield v2,a.hasOwnProperty("err"))throw a.err;return a.value})}function Eg(e){let t;for(;!({value:t}=e.next()).done;)A2(t,e);return t}function zc(e,t,r){(function n(){try{let s;for(;!({value:s}=e.next()).done;){A2(s,e);let i=!0,a=!1,o=e.next(()=>{i?a=!0:n()});if(i=!1,Lfe(o,e),!a)return}return t(s)}catch(s){return r(s)}})()}function A2(e,t){e!==S2&&C2(t,ji(`Got unexpected yielded value in gensync generator: ${JSON.stringify(e)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,_fe))}function Lfe({value:e,done:t},r){!t&&e===v2||C2(r,ji(t?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(e)}. If you get this, it is probably a gensync bug.`,Nfe))}function C2(e,t){throw e.throw&&e.throw(t),t}function D2(e,t,r){if(typeof e=="string"){let n=Object.getOwnPropertyDescriptor(r,"name");(!n||n.configurable)&&Object.defineProperty(r,"name",Object.assign(n||{},{configurable:!0,value:e}))}if(typeof t=="number"){let n=Object.getOwnPropertyDescriptor(r,"length");(!n||n.configurable)&&Object.defineProperty(r,"length",Object.assign(n||{},{configurable:!0,value:t}))}return r}});var Gs=x(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.forwardAsync=Rfe;_n.isAsync=void 0;_n.isThenable=O2;_n.maybeAsync=jfe;_n.waitFor=_n.onFirstPause=void 0;function Hs(){let e=Zr();return Hs=function(){return e},e}function I2(e,t,r,n,s,i,a){try{var o=e[i](a),l=o.value}catch(u){return void r(u)}o.done?t(l):Promise.resolve(l).then(n,s)}function N2(e){return function(){var t=this,r=arguments;return new Promise(function(n,s){var i=e.apply(t,r);function a(l){I2(i,n,s,a,o,"next",l)}function o(l){I2(i,n,s,a,o,"throw",l)}a(void 0)})}}var _2=Hs()(function*(e){return yield*e}),$_e=_n.isAsync=Hs()({sync:()=>!1,errback:e=>e(null,!0)});function jfe(e,t){return Hs()({sync(...r){let n=e.apply(this,r);if(O2(n))throw new Error(t);return n},async(...r){return Promise.resolve(e.apply(this,r))}})}var Mfe=Hs()({sync:e=>e("sync"),async:(function(){var e=N2(function*(t){return t("async")});return function(r){return e.apply(this,arguments)}})()});function Rfe(e,t){let r=Hs()(e);return Mfe(n=>{let s=r[n];return t(s)})}var W_e=_n.onFirstPause=Hs()({name:"onFirstPause",arity:2,sync:function(e){return _2.sync(e)},errback:function(e,t,r){let n=!1;_2.errback(e,(s,i)=>{n=!0,r(s,i)}),n||t()}}),K_e=_n.waitFor=Hs()({sync:e=>e,async:(function(){var e=N2(function*(t){return t});return function(r){return e.apply(this,arguments)}})()});function O2(e){return!!e&&(typeof e=="object"||typeof e=="function")&&!!e.then&&typeof e.then=="function"}});var Zc=x(Qc=>{"use strict";Object.defineProperty(Qc,"__esModule",{value:!0});Qc.isIterableIterator=Vfe;Qc.mergeOptions=qfe;function qfe(e,t){for(let r of Object.keys(t))if((r==="parserOpts"||r==="generatorOpts"||r==="assumptions")&&t[r]){let n=t[r],s=e[r]||(e[r]={});Ufe(s,n)}else{let n=t[r];n!==void 0&&(e[r]=n)}}function Ufe(e,t){for(let r of Object.keys(t)){let n=t[r];n!==void 0&&(e[r]=n)}}function Vfe(e){return!!e&&typeof e.next=="function"&&typeof e[Symbol.iterator]=="function"}});var Ri=x(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.assertSimpleType=ep;Mi.makeStrongCache=j2;Mi.makeStrongCacheSync=Hfe;Mi.makeWeakCache=L2;Mi.makeWeakCacheSync=Kfe;function k2(){let e=Zr();return k2=function(){return e},e}var Ra=Gs(),$fe=Zc(),F2=e=>k2()(e).sync;function*Wfe(){return!0}function L2(e){return M2(WeakMap,e)}function Kfe(e){return F2(L2(e))}function j2(e){return M2(Map,e)}function Hfe(e){return F2(j2(e))}function M2(e,t){let r=new e,n=new e,s=new e;return function*(a,o){let l=yield*(0,Ra.isAsync)(),u=l?n:r,c=yield*Gfe(l,u,s,a,o);if(c.valid)return c.value;let p=new Tg(o),d=t(a,p),m,g;return(0,$fe.isIterableIterator)(d)?g=yield*(0,Ra.onFirstPause)(d,()=>{m=Xfe(p,s,a)}):g=d,R2(u,p,a,g),m&&(s.delete(a),m.release(g)),g}}function*B2(e,t,r){let n=e.get(t);if(n){for(let{value:s,valid:i}of n)if(yield*i(r))return{valid:!0,value:s}}return{valid:!1,value:null}}function*Gfe(e,t,r,n,s){let i=yield*B2(t,n,s);if(i.valid)return i;if(e){let a=yield*B2(r,n,s);if(a.valid)return{valid:!0,value:yield*(0,Ra.waitFor)(a.value.promise)}}return{valid:!1,value:null}}function Xfe(e,t,r){let n=new xg;return R2(t,e,r,n),n}function R2(e,t,r,n){t.configured()||t.forever();let s=e.get(r);switch(t.deactivate(),t.mode()){case"forever":s=[{value:n,valid:Wfe}],e.set(r,s);break;case"invalidate":s=[{value:n,valid:t.validator()}],e.set(r,s);break;case"valid":s?s.push({value:n,valid:t.validator()}):(s=[{value:n,valid:t.validator()}],e.set(r,s))}}var Tg=class{constructor(t){this._active=!0,this._never=!1,this._forever=!1,this._invalidate=!1,this._configured=!1,this._pairs=[],this._data=void 0,this._data=t}simple(){return Yfe(this)}mode(){return this._never?"never":this._forever?"forever":this._invalidate?"invalidate":"valid"}forever(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never)throw new Error("Caching has already been configured with .never()");this._forever=!0,this._configured=!0}never(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._forever)throw new Error("Caching has already been configured with .forever()");this._never=!0,this._configured=!0}using(t){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never||this._forever)throw new Error("Caching has already been configured with .never or .forever()");this._configured=!0;let r=t(this._data),n=(0,Ra.maybeAsync)(t,"You appear to be using an async cache handler, but Babel has been called synchronously");return(0,Ra.isThenable)(r)?r.then(s=>(this._pairs.push([s,n]),s)):(this._pairs.push([r,n]),r)}invalidate(t){return this._invalidate=!0,this.using(t)}validator(){let t=this._pairs;return function*(r){for(let[n,s]of t)if(n!==(yield*s(r)))return!1;return!0}}deactivate(){this._active=!1}configured(){return this._configured}};function Yfe(e){function t(r){if(typeof r=="boolean"){r?e.forever():e.never();return}return e.using(()=>ep(r()))}return t.forever=()=>e.forever(),t.never=()=>e.never(),t.using=r=>e.using(()=>ep(r())),t.invalidate=r=>e.invalidate(()=>ep(r())),t}function ep(e){if((0,Ra.isThenable)(e))throw new Error("You appear to be using an async cache handler, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously handle your caching logic.");if(e!=null&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number")throw new Error("Cache keys must be either string, boolean, number, null, or undefined.");return e}var xg=class{constructor(){this.released=!1,this.promise=void 0,this._resolve=void 0,this.promise=new Promise(t=>{this._resolve=t})}release(t){this.released=!0,this._resolve(t)}}});var tp=x(qa=>{"use strict";Object.defineProperty(qa,"__esModule",{value:!0});qa.stat=qa.readFile=void 0;function fl(){let e=require("fs");return fl=function(){return e},e}function Sg(){let e=Zr();return Sg=function(){return e},e}var Y_e=qa.readFile=Sg()({sync:fl().readFileSync,errback:fl().readFile}),J_e=qa.stat=Sg()({sync:fl().statSync,errback:fl().stat})});var Ag=x(Pg=>{"use strict";Object.defineProperty(Pg,"__esModule",{value:!0});Pg.makeStaticFileCache=Qfe;var Jfe=Ri(),zfe=tp();function vg(){let e=require("fs");return vg=function(){return e},e}function Qfe(e){return(0,Jfe.makeStrongCache)(function*(t,r){return r.invalidate(()=>Zfe(t))===null?null:e(t,yield*zfe.readFile(t,"utf8"))})}function Zfe(e){if(!vg().existsSync(e))return null;try{return+vg().statSync(e).mtime}catch(t){if(t.code!=="ENOENT"&&t.code!=="ENOTDIR")throw t}return null}});var fs=x(Ua=>{"use strict";Object.defineProperty(Ua,"__esModule",{value:!0});Ua.beginHiddenCallStack=nde;Ua.endHiddenCallStack=sde;Ua.expectedError=rde;Ua.injectVirtualStackFrame=tde;var q2,U2=Function.call.bind(Error.prototype.toString),np=!!Error.captureStackTrace&&((q2=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit"))==null?void 0:q2.writable)===!0,V2="startHiding - secret - don't use this - v1",$2="stopHiding - secret - don't use this - v1",W2=new WeakSet,rp=new WeakMap;function ede(e){return Object.create({isNative:()=>!1,isConstructor:()=>!1,isToplevel:()=>!0,getFileName:()=>e,getLineNumber:()=>{},getColumnNumber:()=>{},getFunctionName:()=>{},getMethodName:()=>{},getTypeName:()=>{},toString:()=>e})}function tde(e,t){if(!np)return;let r=rp.get(e);return r||rp.set(e,r=[]),r.push(ede(t)),e}function rde(e){if(np)return W2.add(e),e}function nde(e){return np?Object.defineProperty(function(...t){return K2(),e(...t)},"name",{value:$2}):e}function sde(e){return np?Object.defineProperty(function(...t){return e(...t)},"name",{value:V2}):e}function K2(){K2=()=>{};let{prepareStackTrace:e=ide}=Error,t=50;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,t)),Error.prepareStackTrace=function(n,s){let i=[],o=W2.has(n)?"hiding":"unknown";for(let l=0;l<s.length;l++){let u=s[l].getFunctionName();if(u===V2)o="hiding";else if(u===$2){if(o==="hiding")o="showing",rp.has(n)&&i.unshift(...rp.get(n));else if(o==="unknown"){i=s;break}}else o!=="hiding"&&i.push(s[l])}return e(n,i)}}function ide(e,t){return t.length===0?U2(e):`${U2(e)}
|
|
139
139
|
at ${t.join(`
|
|
140
140
|
at `)}`}});var qi=x(sp=>{"use strict";Object.defineProperty(sp,"__esModule",{value:!0});sp.default=void 0;var H2=fs(),Cg=class extends Error{constructor(t,r){super(t),(0,H2.expectedError)(this),r&&(0,H2.injectVirtualStackFrame)(this,r)}};sp.default=Cg});var G2=x(wg=>{"use strict";Object.defineProperty(wg,"__esModule",{value:!0});wg.findPackageData=ude;function Va(){let e=require("path");return Va=function(){return e},e}var ade=Ag(),Dg=qi(),ode="package.json",lde=(0,ade.makeStaticFileCache)((e,t)=>{let r;try{r=JSON.parse(t)}catch(n){throw new Dg.default(`Error while parsing JSON - ${n.message}`,e)}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!="object")throw new Dg.default(`Config returned typeof ${typeof r}`,e);if(Array.isArray(r))throw new Dg.default("Expected config object but found array",e);return{filepath:e,dirname:Va().dirname(e),options:r}});function*ude(e){let t=null,r=[],n=!0,s=Va().dirname(e);for(;!t&&Va().basename(s)!=="node_modules";){r.push(s),t=yield*lde(Va().join(s,ode));let i=Va().dirname(s);if(s===i){n=!1;break}s=i}return{filepath:e,directories:r,pkg:t,isPackage:n}}});var X2=x((rNe,ip)=>{ip.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;ip.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;ip.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/});var _g=x((nNe,Y2)=>{var Ig=X2();Y2.exports={isSpaceSeparator(e){return typeof e=="string"&&Ig.Space_Separator.test(e)},isIdStartChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||Ig.ID_Start.test(e))},isIdContinueChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="\u200C"||e==="\u200D"||Ig.ID_Continue.test(e))},isDigit(e){return typeof e=="string"&&/[0-9]/.test(e)},isHexDigit(e){return typeof e=="string"&&/[0-9A-Fa-f]/.test(e)}}});var eD=x((sNe,Z2)=>{var ur=_g(),Og,qr,hs,op,Xs,Nn,cr,Fg,hl;Z2.exports=function(t,r){Og=String(t),qr="start",hs=[],op=0,Xs=1,Nn=0,cr=void 0,Fg=void 0,hl=void 0;do cr=cde(),dde[qr]();while(cr.type!=="eof");return typeof r=="function"?Bg({"":hl},"",r):hl};function Bg(e,t,r){let n=e[t];if(n!=null&&typeof n=="object")if(Array.isArray(n))for(let s=0;s<n.length;s++){let i=String(s),a=Bg(n,i,r);a===void 0?delete n[i]:Object.defineProperty(n,i,{value:a,writable:!0,enumerable:!0,configurable:!0})}else for(let s in n){let i=Bg(n,s,r);i===void 0?delete n[s]:Object.defineProperty(n,s,{value:i,writable:!0,enumerable:!0,configurable:!0})}return r.call(e,t,n)}var Ye,$e,dl,ds,st;function cde(){for(Ye="default",$e="",dl=!1,ds=1;;){st=ms();let e=z2[Ye]();if(e)return e}}function ms(){if(Og[op])return String.fromCodePoint(Og.codePointAt(op))}function Z(){let e=ms();return e===`
|
|
141
141
|
`?(Xs++,Nn=0):e?Nn+=e.length:Nn++,e&&(op+=e.length),e}var z2={default(){switch(st){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
|
|
@@ -194,8 +194,8 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
194
194
|
`,s}});var o1=x(a1=>{"use strict";Object.defineProperty(a1,"__esModule",{value:!0});a1.default=Qye;function i1(){let e=Ro();return i1=function(){return e},e}function i_(){let e=Ta();return i_=function(){return e},e}var zye=s_();function*Qye(e,{parserOpts:t,highlightCode:r=!0,filename:n="unknown"},s){try{let i=[];for(let a of e)for(let o of a){let{parserOverride:l}=o;if(l){let u=l(s,t,i1().parse);u!==void 0&&i.push(u)}}if(i.length===0)return(0,i1().parse)(s,t);if(i.length===1){if(yield*[],typeof i[0].then=="function")throw new Error("You appear to be using an async parser plugin, 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.");return i[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(i){i.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"&&(i.message+=`
|
|
195
195
|
Consider renaming the file to '.mjs', or setting sourceType:module or sourceType:unambiguous in your Babel config for this file.`);let{loc:a,missingPlugin:o}=i;if(a){let l=(0,i_().codeFrameColumns)(s,{start:{line:a.line,column:a.column+1}},{highlightCode:r});o?i.message=`${n}: `+(0,zye.default)(o[0],a,l,n):i.message=`${n}: ${i.message}
|
|
196
196
|
|
|
197
|
-
`+l,i.code="BABEL_PARSE_ERROR"}throw i}}});var a_=x(c1=>{"use strict";Object.defineProperty(c1,"__esModule",{value:!0});c1.default=Zye;var Zp=new Set,l1=0;function u1(e,t,r){if(e!==null){if(r){if(t.has(e))return t.get(e)}else if(++l1>250){if(Zp.has(e))throw l1=0,Zp.clear(),new Error("Babel-deepClone: Cycles are not allowed in AST");Zp.add(e)}let n;if(Array.isArray(e)){n=new Array(e.length),r&&t.set(e,n);for(let s=0;s<e.length;s++)n[s]=typeof e[s]!="object"?e[s]:u1(e[s],t,r)}else{n={},r&&t.set(e,n);let s=Object.keys(e);for(let i=0;i<s.length;i++){let a=s[i];n[a]=typeof e[a]!="object"?e[a]:u1(e[a],t,r||a==="leadingComments"||a==="innerComments"||a==="trailingComments"||a==="extra")}}return r||l1-- >250&&Zp.delete(e),n}return e}function Zye(e){if(typeof e!="object")return e;try{return u1(e,new Map,!0)}catch{return structuredClone(e)}}});var f_=x(h1=>{"use strict";Object.defineProperty(h1,"__esModule",{value:!0});h1.default=a0e;function u_(){let e=require("fs");return u_=function(){return e},e}function d1(){let e=require("path");return d1=function(){return e},e}function c_(){let e=Ti();return c_=function(){return e},e}function p_(){let e=Fe();return p_=function(){return e},e}function ef(){let e=n1();return ef=function(){return e},e}var e0e=cg(),t0e=o1(),r0e=a_(),{file:n0e,traverseFast:s0e}=p_(),p1=c_()("babel:transform:file"),i0e=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,.*$/,o_=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function*a0e(e,t,r,n){if(r=`${r||""}`,n){if(n.type==="Program")n=n0e(n,[],[]);else if(n.type!=="File")throw new Error("AST root must be a Program or File node");t.cloneInputAst&&(n=(0,r0e.default)(n))}else n=yield*(0,t0e.default)(e,t,r);let s=null;if(t.inputSourceMap!==!1){if(typeof t.inputSourceMap=="object"&&(s=ef().fromObject(t.inputSourceMap)),!s){let i=l_(i0e,n);if(i)try{s=ef().fromComment("//"+i)}catch{p1("discarding unknown inline input sourcemap")}}if(!s){let i=l_(o_,n);if(typeof t.filename=="string"&&i)try{let a=o_.exec(i),o=u_().readFileSync(d1().resolve(d1().dirname(t.filename),a[1]),"utf8");s=ef().fromJSON(o)}catch(a){p1("discarding unknown file input sourcemap",a)}else i&&p1("discarding un-loadable file input sourcemap")}}return new e0e.default(t,{code:r,ast:n,inputMap:s})}function f1(e,t,r){return t&&(t=t.filter(({value:n})=>e.test(n)?(r=n,!1):!0)),[t,r]}function l_(e,t){let r=null;return s0e(t,n=>{[n.leadingComments,r]=f1(e,n.leadingComments,r),[n.innerComments,r]=f1(e,n.innerComments,r),[n.trailingComments,r]=f1(e,n.trailingComments,r)}),r}});var d_=x((m1,y1)=>{(function(e,t){typeof m1=="object"&&typeof y1!="undefined"?y1.exports=t(rc(),Oy()):typeof define=="function"&&define.amd?define(["@jridgewell/trace-mapping","@jridgewell/gen-mapping"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.remapping=t(e.traceMapping,e.genMapping))})(m1,function(e,t){"use strict";let r=s("",-1,-1,"",null),n=[];function s(f,b,T,w,I){return{source:f,line:b,column:T,name:w,content:I}}function i(f,b,T,w){return{map:f,sources:b,source:T,content:w}}function a(f,b){return i(f,b,"",null)}function o(f,b){return i(null,n,f,b)}function l(f){let b=new t.GenMapping({file:f.map.file}),{sources:T,map:w}=f,I=w.names,N=e.decodedMappings(w);for(let L=0;L<N.length;L++){let W=N[L];for(let U=0;U<W.length;U++){let H=W[U],pe=H[0],Ee=r;if(H.length!==1){let se=T[H[1]];if(Ee=u(se,H[2],H[3],H.length===5?I[H[4]]:""),Ee==null)continue}let{column:ce,line:qe,name:ze,content:Ot,source:J}=Ee;t.maybeAddSegment(b,L,pe,J,qe,ce,ze),J&&Ot!=null&&t.setSourceContent(b,J,Ot)}}return b}function u(f,b,T,w){if(!f.map)return s(f.source,b,T,w,f.content);let I=e.traceSegment(f.map,b,T);return I==null?null:I.length===1?r:u(f.sources[I[1]],I[2],I[3],I.length===5?f.map.names[I[4]]:w)}function c(f){return Array.isArray(f)?f:[f]}function p(f,b){let T=c(f).map(N=>new e.TraceMap(N,"")),w=T.pop();for(let N=0;N<T.length;N++)if(T[N].sources.length>1)throw new Error(`Transformation map ${N} must have exactly one source file.
|
|
198
|
-
Did you specify these with the most recent transformation maps first?`);let I=d(w,b,"",0);for(let N=T.length-1;N>=0;N--)I=a(T[N],[I]);return I}function d(f,b,T,w){let{resolvedSources:I,sourcesContent:N}=f,L=w+1,W=I.map((U,H)=>{let pe={importer:T,depth:L,source:U||"",content:void 0},Ee=b(pe.source,pe),{source:ce,content:qe}=pe;if(Ee)return d(new e.TraceMap(Ee,ce),b,ce,L);let ze=qe!==void 0?qe:N?N[H]:null;return o(ce,ze)});return a(f,W)}class m{constructor(b,T){let w=T.decodedMappings?t.toDecodedMap(b):t.toEncodedMap(b);this.version=w.version,this.file=w.file,this.mappings=w.mappings,this.names=w.names,this.sourceRoot=w.sourceRoot,this.sources=w.sources,T.excludeContent||(this.sourcesContent=w.sourcesContent)}toString(){return JSON.stringify(this)}}function g(f,b,T){let w=typeof T=="object"?T:{excludeContent:!!T,decodedMappings:!1},I=p(f,b);return new m(l(I),w)}return g})});var y_=x(g1=>{"use strict";Object.defineProperty(g1,"__esModule",{value:!0});g1.default=o0e;function m_(){let e=d_();return m_=function(){return e},e}function o0e(e,t,r){let n=r.replace(/\\/g,"/"),s=!1,i=m_()(h_(t),(a,o)=>a===n&&!s?(s=!0,o.source="",h_(e)):null);return typeof e.sourceRoot=="string"&&(i.sourceRoot=e.sourceRoot),Object.assign({},i)}function h_(e){return Object.assign({},e,{sourceRoot:null})}});var b_=x(E1=>{"use strict";Object.defineProperty(E1,"__esModule",{value:!0});E1.default=u0e;function g_(){let e=n1();return g_=function(){return e},e}function b1(){let e=bc();return b1=function(){return e},e}var l0e=y_();function u0e(e,t){let{opts:r,ast:n,code:s,inputMap:i}=t,{generatorOpts:a}=r;a.inputSourceMap=i==null?void 0:i.toObject();let o=[];for(let p of e)for(let d of p){let{generatorOverride:m}=d;if(m){let g=m(n,a,s,b1().default);g!==void 0&&o.push(g)}}let l;if(o.length===0)l=(0,b1().default)(n,a,s);else if(o.length===1){if(l=o[0],typeof l.then=="function")throw new Error("You appear to be using an async codegen plugin, 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.")}else throw new Error("More than one plugin attempted to override codegen.");let{code:u,decodedMap:c=l.map}=l;return l.__mergedMap?c=Object.assign({},l.map):c&&(i?c=(0,l0e.default)(i.toObject(),c,a.sourceFileName):c=l.map),(r.sourceMaps==="inline"||r.sourceMaps==="both")&&(u+=`
|
|
197
|
+
`+l,i.code="BABEL_PARSE_ERROR"}throw i}}});var a_=x(c1=>{"use strict";Object.defineProperty(c1,"__esModule",{value:!0});c1.default=Zye;var Zp=new Set,l1=0;function u1(e,t,r){if(e!==null){if(r){if(t.has(e))return t.get(e)}else if(++l1>250){if(Zp.has(e))throw l1=0,Zp.clear(),new Error("Babel-deepClone: Cycles are not allowed in AST");Zp.add(e)}let n;if(Array.isArray(e)){n=new Array(e.length),r&&t.set(e,n);for(let s=0;s<e.length;s++)n[s]=typeof e[s]!="object"?e[s]:u1(e[s],t,r)}else{n={},r&&t.set(e,n);let s=Object.keys(e);for(let i=0;i<s.length;i++){let a=s[i];n[a]=typeof e[a]!="object"?e[a]:u1(e[a],t,r||a==="leadingComments"||a==="innerComments"||a==="trailingComments"||a==="extra")}}return r||l1-- >250&&Zp.delete(e),n}return e}function Zye(e){if(typeof e!="object")return e;try{return u1(e,new Map,!0)}catch{return structuredClone(e)}}});var f_=x(h1=>{"use strict";Object.defineProperty(h1,"__esModule",{value:!0});h1.default=a0e;function u_(){let e=require("fs");return u_=function(){return e},e}function d1(){let e=require("path");return d1=function(){return e},e}function c_(){let e=Ti();return c_=function(){return e},e}function p_(){let e=Fe();return p_=function(){return e},e}function ef(){let e=n1();return ef=function(){return e},e}var e0e=cg(),t0e=o1(),r0e=a_(),{file:n0e,traverseFast:s0e}=p_(),p1=c_()("babel:transform:file"),i0e=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,.*$/,o_=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function*a0e(e,t,r,n){if(r=`${r||""}`,n){if(n.type==="Program")n=n0e(n,[],[]);else if(n.type!=="File")throw new Error("AST root must be a Program or File node");t.cloneInputAst&&(n=(0,r0e.default)(n))}else n=yield*(0,t0e.default)(e,t,r);let s=null;if(t.inputSourceMap!==!1){if(typeof t.inputSourceMap=="object"&&(s=ef().fromObject(t.inputSourceMap)),!s){let i=l_(i0e,n);if(i)try{s=ef().fromComment("//"+i)}catch{p1("discarding unknown inline input sourcemap")}}if(!s){let i=l_(o_,n);if(typeof t.filename=="string"&&i)try{let a=o_.exec(i),o=u_().readFileSync(d1().resolve(d1().dirname(t.filename),a[1]),"utf8");s=ef().fromJSON(o)}catch(a){p1("discarding unknown file input sourcemap",a)}else i&&p1("discarding un-loadable file input sourcemap")}}return new e0e.default(t,{code:r,ast:n,inputMap:s})}function f1(e,t,r){return t&&(t=t.filter(({value:n})=>e.test(n)?(r=n,!1):!0)),[t,r]}function l_(e,t){let r=null;return s0e(t,n=>{[n.leadingComments,r]=f1(e,n.leadingComments,r),[n.innerComments,r]=f1(e,n.innerComments,r),[n.trailingComments,r]=f1(e,n.trailingComments,r)}),r}});var d_=x((m1,y1)=>{(function(e,t){typeof m1=="object"&&typeof y1!="undefined"?y1.exports=t(rc(),Oy()):typeof define=="function"&&define.amd?define(["@jridgewell/trace-mapping","@jridgewell/gen-mapping"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.remapping=t(e.traceMapping,e.genMapping))})(m1,(function(e,t){"use strict";let r=s("",-1,-1,"",null),n=[];function s(f,b,T,w,I){return{source:f,line:b,column:T,name:w,content:I}}function i(f,b,T,w){return{map:f,sources:b,source:T,content:w}}function a(f,b){return i(f,b,"",null)}function o(f,b){return i(null,n,f,b)}function l(f){let b=new t.GenMapping({file:f.map.file}),{sources:T,map:w}=f,I=w.names,N=e.decodedMappings(w);for(let L=0;L<N.length;L++){let W=N[L];for(let U=0;U<W.length;U++){let H=W[U],pe=H[0],Ee=r;if(H.length!==1){let se=T[H[1]];if(Ee=u(se,H[2],H[3],H.length===5?I[H[4]]:""),Ee==null)continue}let{column:ce,line:qe,name:ze,content:Ot,source:J}=Ee;t.maybeAddSegment(b,L,pe,J,qe,ce,ze),J&&Ot!=null&&t.setSourceContent(b,J,Ot)}}return b}function u(f,b,T,w){if(!f.map)return s(f.source,b,T,w,f.content);let I=e.traceSegment(f.map,b,T);return I==null?null:I.length===1?r:u(f.sources[I[1]],I[2],I[3],I.length===5?f.map.names[I[4]]:w)}function c(f){return Array.isArray(f)?f:[f]}function p(f,b){let T=c(f).map(N=>new e.TraceMap(N,"")),w=T.pop();for(let N=0;N<T.length;N++)if(T[N].sources.length>1)throw new Error(`Transformation map ${N} must have exactly one source file.
|
|
198
|
+
Did you specify these with the most recent transformation maps first?`);let I=d(w,b,"",0);for(let N=T.length-1;N>=0;N--)I=a(T[N],[I]);return I}function d(f,b,T,w){let{resolvedSources:I,sourcesContent:N}=f,L=w+1,W=I.map((U,H)=>{let pe={importer:T,depth:L,source:U||"",content:void 0},Ee=b(pe.source,pe),{source:ce,content:qe}=pe;if(Ee)return d(new e.TraceMap(Ee,ce),b,ce,L);let ze=qe!==void 0?qe:N?N[H]:null;return o(ce,ze)});return a(f,W)}class m{constructor(b,T){let w=T.decodedMappings?t.toDecodedMap(b):t.toEncodedMap(b);this.version=w.version,this.file=w.file,this.mappings=w.mappings,this.names=w.names,this.sourceRoot=w.sourceRoot,this.sources=w.sources,T.excludeContent||(this.sourcesContent=w.sourcesContent)}toString(){return JSON.stringify(this)}}function g(f,b,T){let w=typeof T=="object"?T:{excludeContent:!!T,decodedMappings:!1},I=p(f,b);return new m(l(I),w)}return g}))});var y_=x(g1=>{"use strict";Object.defineProperty(g1,"__esModule",{value:!0});g1.default=o0e;function m_(){let e=d_();return m_=function(){return e},e}function o0e(e,t,r){let n=r.replace(/\\/g,"/"),s=!1,i=m_()(h_(t),(a,o)=>a===n&&!s?(s=!0,o.source="",h_(e)):null);return typeof e.sourceRoot=="string"&&(i.sourceRoot=e.sourceRoot),Object.assign({},i)}function h_(e){return Object.assign({},e,{sourceRoot:null})}});var b_=x(E1=>{"use strict";Object.defineProperty(E1,"__esModule",{value:!0});E1.default=u0e;function g_(){let e=n1();return g_=function(){return e},e}function b1(){let e=bc();return b1=function(){return e},e}var l0e=y_();function u0e(e,t){let{opts:r,ast:n,code:s,inputMap:i}=t,{generatorOpts:a}=r;a.inputSourceMap=i==null?void 0:i.toObject();let o=[];for(let p of e)for(let d of p){let{generatorOverride:m}=d;if(m){let g=m(n,a,s,b1().default);g!==void 0&&o.push(g)}}let l;if(o.length===0)l=(0,b1().default)(n,a,s);else if(o.length===1){if(l=o[0],typeof l.then=="function")throw new Error("You appear to be using an async codegen plugin, 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.")}else throw new Error("More than one plugin attempted to override codegen.");let{code:u,decodedMap:c=l.map}=l;return l.__mergedMap?c=Object.assign({},l.map):c&&(i?c=(0,l0e.default)(i.toObject(),c,a.sourceFileName):c=l.map),(r.sourceMaps==="inline"||r.sourceMaps==="both")&&(u+=`
|
|
199
199
|
`+g_().fromObject(c).toComment()),r.sourceMaps==="inline"&&(c=null),{outputCode:u,outputMap:c}}});var tf=x(S1=>{"use strict";Object.defineProperty(S1,"__esModule",{value:!0});S1.run=y0e;function x1(){let e=zt();return x1=function(){return e},e}var c0e=YI(),p0e=e_(),f0e=r1(),d0e=f_(),h0e=b_(),m0e=pp(),T1=Gs();function*y0e(e,t,r){let n=yield*(0,d0e.default)(e.passes,(0,f0e.default)(e),t,r),s=n.opts;try{yield*g0e(n,e.passes)}catch(u){var i;throw u.message=`${(i=s.filename)!=null?i:"unknown file"}: ${u.message}`,u.code||(u.code="BABEL_TRANSFORM_ERROR"),u}let a,o;try{s.code!==!1&&({outputCode:a,outputMap:o}=(0,h0e.default)(e.passes,n))}catch(u){var l;throw u.message=`${(l=s.filename)!=null?l:"unknown file"}: ${u.message}`,u.code||(u.code="BABEL_GENERATE_ERROR"),u}return{metadata:n.metadata,options:s,ast:s.ast===!0?n.ast:null,code:a===void 0?null:a,map:o===void 0?null:o,sourceType:n.ast.program.sourceType,externalDependencies:(0,m0e.flattenToSet)(e.externalDependencies)}}function*g0e(e,t){let r=yield*(0,T1.isAsync)();for(let n of t){let s=[],i=[],a=[];for(let l of n.concat([(0,p0e.default)()])){let u=new c0e.default(e,l.key,l.options,r);s.push([l,u]),i.push(u),a.push(l.visitor)}for(let[l,u]of s)l.pre&&(yield*(0,T1.maybeAsync)(l.pre,"You appear to be using an async plugin/preset, but Babel has been called synchronously").call(u,e));let o=x1().default.visitors.merge(a,i,e.opts.wrapPluginVisitorMethod);(0,x1().default)(e.ast,o,e.scope);for(let[l,u]of s)l.post&&(yield*(0,T1.maybeAsync)(l.post,"You appear to be using an async plugin/preset, but Babel has been called synchronously").call(u,e))}}});var P1=x(Ol=>{"use strict";Object.defineProperty(Ol,"__esModule",{value:!0});Ol.transformFile=x0e;Ol.transformFileAsync=v0e;Ol.transformFileSync=S0e;function E_(){let e=Zr();return E_=function(){return e},e}var b0e=Qa(),E0e=tf(),T0e=tp(),v1=E_()(function*(e,t){let r=Object.assign({},t,{filename:e}),n=yield*(0,b0e.default)(r);if(n===null)return null;let s=yield*T0e.readFile(e,"utf8");return yield*(0,E0e.run)(n,s)});function x0e(...e){v1.errback(...e)}function S0e(...e){return v1.sync(...e)}function v0e(...e){return v1.async(...e)}});var x_=x((vOe,T_)=>{T_.exports=function(t){return import(t)}});var S_=x((POe,P0e)=>{P0e.exports={name:"@babel/preset-typescript",version:"7.27.1",description:"Babel preset for TypeScript.",repository:{type:"git",url:"https://github.com/babel/babel.git",directory:"packages/babel-preset-typescript"},license:"MIT",publishConfig:{access:"public"},main:"./lib/index.js",keywords:["babel-preset","typescript"],dependencies:{"@babel/helper-plugin-utils":"^7.27.1","@babel/helper-validator-option":"^7.27.1","@babel/plugin-syntax-jsx":"^7.27.1","@babel/plugin-transform-modules-commonjs":"^7.27.1","@babel/plugin-transform-typescript":"^7.27.1"},peerDependencies:{"@babel/core":"^7.0.0-0"},devDependencies:{"@babel/core":"^7.27.1","@babel/helper-plugin-test-runner":"^7.27.1"},homepage:"https://babel.dev/docs/en/next/babel-preset-typescript",bugs:"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen",engines:{node:">=6.9.0"},author:"The Babel Team (https://babel.dev/team)",type:"commonjs"}});var Ft=x(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});Bl.declare=v_;Bl.declarePreset=void 0;var A1={assertVersion:e=>t=>{C0e(t,e.version)}};Object.assign(A1,{targets:()=>()=>({}),assumption:()=>()=>{},addExternalDependency:()=>()=>{}});function v_(e){return(t,r,n)=>{let s;for(let i of Object.keys(A1))t[i]||(s!=null||(s=A0e(t)),s[i]=A1[i](s));return e(s!=null?s:t,r||{},n)}}var AOe=Bl.declarePreset=v_;function A0e(e){let t=null;return typeof e.version=="string"&&/^7\./.test(e.version)&&(t=Object.getPrototypeOf(e),t&&(!hasOwnProperty.call(t,"version")||!hasOwnProperty.call(t,"transform")||!hasOwnProperty.call(t,"template")||!hasOwnProperty.call(t,"types"))&&(t=null)),Object.assign({},t,e)}function C0e(e,t){if(typeof e=="number"){if(!Number.isInteger(e))throw new Error("Expected string or integer value.");e=`^${e}.0.0-0`}if(typeof e!="string")throw new Error("Expected string or integer value.");let r=Error.stackTraceLimit;typeof r=="number"&&r<25&&(Error.stackTraceLimit=25);let n;throw t.slice(0,2)==="7."?n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". You'll need to update your @babel/core version.`):n=new Error(`Requires Babel "${e}", but was loaded with "${t}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`),typeof r=="number"&&(Error.stackTraceLimit=r),Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}});var P_=x(rf=>{"use strict";Object.defineProperty(rf,"__esModule",{value:!0});rf.default=void 0;var D0e=Ft();C1=function(e,t){let r=[];e.forEach((n,s)=>{(Array.isArray(n)?n[0]:n)===t&&r.unshift(s)});for(let n of r)e.splice(n,1)};var C1,DOe=rf.default=(0,D0e.declare)((e,t)=>{e.assertVersion(7);let{disallowAmbiguousJSXLike:r,dts:n}=t;var{isTSX:s}=t;return{name:"syntax-typescript",manipulateOptions(i,a){{let{plugins:o}=a;C1(o,"flow"),C1(o,"jsx"),o.push("objectRestSpread","classProperties"),s&&o.push("jsx")}a.plugins.push(["typescript",{disallowAmbiguousJSXLike:r,dts:n}])}}})});var N1=x(_1=>{"use strict";Object.defineProperty(_1,"__esModule",{value:!0});var w0e=Fe();function I0e(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var _0e=I0e(w0e);function w1(e){let t=e,{node:r,parentPath:n}=t;if(n.isLogicalExpression()){let{operator:s,right:i}=n.node;if(s==="&&"||s==="||"||s==="??"&&r===i)return w1(n)}if(n.isSequenceExpression()){let{expressions:s}=n.node;return s[s.length-1]===r?w1(n):!0}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}var{LOGICAL_OPERATORS:N0e,arrowFunctionExpression:A_,assignmentExpression:Za,binaryExpression:Hi,booleanLiteral:O0e,callExpression:af,cloneNode:bn,conditionalExpression:B0e,identifier:__,isMemberExpression:k0e,isOptionalCallExpression:F0e,isOptionalMemberExpression:N_,isUpdateExpression:L0e,logicalExpression:sf,memberExpression:C_,nullLiteral:nf,optionalCallExpression:j0e,optionalMemberExpression:M0e,sequenceExpression:D1,updateExpression:D_}=_0e,I1=class{constructor(){this._map=void 0,this._map=new WeakMap}has(t){return this._map.has(t)}get(t){if(!this.has(t))return;let r=this._map.get(t),{value:n}=r;return r.count--,r.count===0?Za("=",n,t):n}set(t,r,n){return this._map.set(t,{count:n,value:r})}};function w_(e,t){let{node:r}=e;if(N_(r))return C_(t,r.property,r.computed);if(e.isOptionalCallExpression()){let n=e.get("callee");if(e.node.optional&&n.isOptionalMemberExpression()){let s=n.node.object,i=e.scope.maybeGenerateMemoised(s);return n.get("object").replaceWith(Za("=",i,s)),af(C_(t,__("call")),[i,...e.node.arguments])}return af(t,e.node.arguments)}return e.node}function R0e(e){for(;e&&!e.isProgram();){let{parentPath:t,container:r,listKey:n}=e,s=t.node;if(n){if(r!==s[n])return!0}else if(r!==s)return!0;e=t}return!1}var q0e={memoise(){},handle(e,t){let{node:r,parent:n,parentPath:s,scope:i}=e;if(e.isOptionalMemberExpression()){if(R0e(e))return;let a=e.find(({node:U,parent:H})=>N_(H)?H.optional||H.object!==U:F0e(H)?U!==e.node&&H.optional||H.callee!==U:!0);if(i.path.isPattern()){a.replaceWith(af(A_([],a.node),[]));return}let o=w1(a),l=a.parentPath;if(l.isUpdateExpression({argument:r}))throw e.buildCodeFrameError("can't handle update expression");let u=l.isAssignmentExpression({left:a.node}),c=l.isUnaryExpression({operator:"delete"});if(c&&a.isOptionalMemberExpression()&&a.get("property").isPrivateName())throw e.buildCodeFrameError("can't delete a private class element");let p=e;for(;;){if(p.isOptionalMemberExpression()){if(p.node.optional)break;p=p.get("object");continue}else if(p.isOptionalCallExpression()){if(p.node.optional)break;p=p.get("callee");continue}throw new Error(`Internal error: unexpected ${p.node.type}`)}let d=p.isOptionalMemberExpression()?p.node.object:p.node.callee,m=i.maybeGenerateMemoised(d),g=m!=null?m:d,f=s.isOptionalCallExpression({callee:r}),b=U=>f,T=s.isCallExpression({callee:r});p.replaceWith(w_(p,g)),b()?n.optional?s.replaceWith(this.optionalCall(e,n.arguments)):s.replaceWith(this.call(e,n.arguments)):T?e.replaceWith(this.boundGet(e)):this.delete&&s.isUnaryExpression({operator:"delete"})?s.replaceWith(this.delete(e)):s.isAssignmentExpression()?I_(this,e,s):e.replaceWith(this.get(e));let w=e.node;for(let U=e;U!==a;){let H=U.parentPath;if(H===a&&b()&&n.optional){w=H.node;break}w=w_(H,w),U=H}let I,N=a.parentPath;if(k0e(w)&&N.isOptionalCallExpression({callee:a.node,optional:!0})){let{object:U}=w;I=e.scope.maybeGenerateMemoised(U),I&&(w.object=Za("=",I,U))}let L=a;(c||u)&&(L=N,w=N.node);let W=m?Za("=",bn(g),bn(d)):bn(g);if(o){let U;t?U=Hi("!=",W,nf()):U=sf("&&",Hi("!==",W,nf()),Hi("!==",bn(g),i.buildUndefinedNode())),L.replaceWith(sf("&&",U,w))}else{let U;t?U=Hi("==",W,nf()):U=sf("||",Hi("===",W,nf()),Hi("===",bn(g),i.buildUndefinedNode())),L.replaceWith(B0e(U,c?O0e(!0):i.buildUndefinedNode(),w))}if(I){let U=N.node;N.replaceWith(j0e(M0e(U.callee,__("call"),!1,!0),[bn(I),...U.arguments],!1))}return}if(L0e(n,{argument:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}let{operator:a,prefix:o}=n;this.memoise(e,2);let l=i.generateUidIdentifierBasedOnNode(r);i.push({id:l});let u=[Za("=",bn(l),this.get(e))];if(o){u.push(D_(a,bn(l),o));let c=D1(u);s.replaceWith(this.set(e,c));return}else{let c=i.generateUidIdentifierBasedOnNode(r);i.push({id:c}),u.push(Za("=",bn(c),D_(a,bn(l),o)),bn(l));let p=D1(u);s.replaceWith(D1([this.set(e,p),bn(c)]));return}}if(s.isAssignmentExpression({left:r})){I_(this,e,s);return}if(s.isCallExpression({callee:r})){s.replaceWith(this.call(e,s.node.arguments));return}if(s.isOptionalCallExpression({callee:r})){if(i.path.isPattern()){s.replaceWith(af(A_([],s.node),[]));return}s.replaceWith(this.optionalCall(e,s.node.arguments));return}if(this.delete&&s.isUnaryExpression({operator:"delete"})){s.replaceWith(this.delete(e));return}if(s.isForXStatement({left:r})||s.isObjectProperty({value:r})&&s.parentPath.isObjectPattern()||s.isAssignmentPattern({left:r})&&s.parentPath.isObjectProperty({value:n})&&s.parentPath.parentPath.isObjectPattern()||s.isArrayPattern()||s.isAssignmentPattern({left:r})&&s.parentPath.isArrayPattern()||s.isRestElement()){e.replaceWith(this.destructureSet(e));return}s.isTaggedTemplateExpression()?e.replaceWith(this.boundGet(e)):e.replaceWith(this.get(e))}};function I_(e,t,r){if(e.simpleSet){t.replaceWith(e.simpleSet(t));return}let{operator:n,right:s}=r.node;if(n==="=")r.replaceWith(e.set(t,s));else{let i=n.slice(0,-1);N0e.includes(i)?(e.memoise(t,1),r.replaceWith(sf(i,e.get(t),e.set(t,s)))):(e.memoise(t,2),r.replaceWith(e.set(t,Hi(i,e.get(t),s))))}}function U0e(e,t,r){e.traverse(t,Object.assign({},q0e,r,{memoiser:new I1}))}_1.default=U0e});var B1=x(O1=>{"use strict";Object.defineProperty(O1,"__esModule",{value:!0});O1.default=K0e;var V0e=Fe(),{callExpression:O_,identifier:of,isIdentifier:$0e,isSpreadElement:W0e,memberExpression:B_,optionalCallExpression:k_,optionalMemberExpression:F_}=V0e;function K0e(e,t,r,n){return r.length===1&&W0e(r[0])&&$0e(r[0].argument,{name:"arguments"})?n?k_(F_(e,of("apply"),!1,!0),[t,r[0].argument],!1):O_(B_(e,of("apply")),[t,r[0].argument]):n?k_(F_(e,of("call"),!1,!0),[t,...r],!1):O_(B_(e,of("call")),[t,...r])}});var uf=x(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.default=void 0;var H0e=N1(),lf=B1(),Dr=vt(),F1=zt(),{assignmentExpression:G0e,callExpression:xs,cloneNode:br,identifier:eo,memberExpression:Gi,sequenceExpression:Xi,stringLiteral:j_,thisExpression:wr}=Dr.types;to.environmentVisitor=F1.visitors.environmentVisitor({}),to.skipAllButComputedKey=function(t){t.skip(),t.node.computed&&t.context.maybeQueue(t.get("key"))};var L_=F1.visitors.environmentVisitor({Super(e,t){let{node:r,parentPath:n}=e;n.isMemberExpression({object:r})&&t.handle(n)}}),X0e=F1.visitors.environmentVisitor({Scopable(e,{refName:t}){let r=e.scope.getOwnBinding(t);r&&r.identifier.name===t&&e.scope.rename(t)}}),M_={memoise(e,t){let{scope:r,node:n}=e,{computed:s,property:i}=n;if(!s)return;let a=r.maybeGenerateMemoised(i);a&&this.memoiser.set(i,a,t)},prop(e){let{computed:t,property:r}=e.node;return this.memoiser.has(r)?br(this.memoiser.get(r)):t?br(r):j_(r.name)},_getPrototypeOfExpression(){let e=br(this.getObjectRef()),t=this.isStatic||this.isPrivateMethod?e:Gi(e,eo("prototype"));return xs(this.file.addHelper("getPrototypeOf"),[t])},get(e){let t=br(this.getObjectRef());return xs(this.file.addHelper("superPropGet"),[this.isDerivedConstructor?Xi([wr(),t]):t,this.prop(e),wr(),...this.isStatic||this.isPrivateMethod?[]:[Dr.types.numericLiteral(1)]])},_call(e,t,r){let n=br(this.getObjectRef()),s;t.length===1&&Dr.types.isSpreadElement(t[0])&&(Dr.types.isIdentifier(t[0].argument)||Dr.types.isArrayExpression(t[0].argument))?s=t[0].argument:s=Dr.types.arrayExpression(t);let i=Dr.types.callExpression(this.file.addHelper("superPropGet"),[this.isDerivedConstructor?Xi([wr(),n]):n,this.prop(e),wr(),Dr.types.numericLiteral(2|(this.isStatic||this.isPrivateMethod?0:1))]);return r?Dr.types.optionalCallExpression(i,[s],!0):xs(i,[s])},set(e,t){let r=br(this.getObjectRef());return xs(this.file.addHelper("superPropSet"),[this.isDerivedConstructor?Xi([wr(),r]):r,this.prop(e),t,wr(),Dr.types.numericLiteral(e.isInStrictMode()?1:0),...this.isStatic||this.isPrivateMethod?[]:[Dr.types.numericLiteral(1)]])},destructureSet(e){throw e.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(e,t){return this._call(e,t,!1)},optionalCall(e,t){return this._call(e,t,!0)},delete(e){return e.node.computed?Xi([xs(this.file.addHelper("toPropertyKey"),[br(e.node.property)]),Dr.template.expression.ast`
|
|
200
200
|
function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
|
|
201
201
|
`]):Dr.template.expression.ast`
|
|
@@ -367,8 +367,8 @@ Please consider using \`${n}\`${s}, or add @babel/plugin-transform-modules-commo
|
|
|
367
367
|
})()
|
|
368
368
|
`,I={ReferencedIdentifier(N){let L=N.node.name;if(L!=="module"&&L!=="exports")return;let W=N.scope.getBinding(L);this.scope.getBinding(L)!==W||N.parentPath.isObjectProperty({value:N.node})&&N.parentPath.parentPath.isObjectPattern()||N.parentPath.isAssignmentExpression({left:N.node})||N.isAssignmentExpression({left:N.node})||N.replaceWith(w(L))},UpdateExpression(N){let L=N.get("argument");if(!L.isIdentifier())return;let W=L.node.name;if(W!=="module"&&W!=="exports")return;let U=N.scope.getBinding(W);this.scope.getBinding(W)===U&&N.replaceWith(Ln.types.assignmentExpression(N.node.operator[0]+"=",L.node,w(W)))},AssignmentExpression(N){let L=N.get("left");if(L.isIdentifier()){let W=L.node.name;if(W!=="module"&&W!=="exports")return;let U=N.scope.getBinding(W);if(this.scope.getBinding(W)!==U)return;let pe=N.get("right");pe.replaceWith(Ln.types.sequenceExpression([pe.node,w(W)]))}else if(L.isPattern()){let W=L.getOuterBindingIdentifiers(),U=Object.keys(W).find(H=>H!=="module"&&H!=="exports"?!1:this.scope.getBinding(H)===N.scope.getBinding(H));if(U){let H=N.get("right");H.replaceWith(Ln.types.sequenceExpression([H.node,w(U)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs"),d&&(0,EE.defineCommonJSHook)(this.file,(0,m1e.lazyImportsHook)(d))},visitor:{["CallExpression"+(e.types.importExpression?"|ImportExpression":"")](N){if(!this.file.has("@babel/plugin-proposal-dynamic-import")||N.isCallExpression()&&!Ln.types.isImport(N.node.callee))return;let{scope:L}=N;do L.rename("require");while(L=L.parent);(0,h1e.transformDynamicImport)(N,c,this.file)},Program:{exit(N,L){if(!(0,Zi.isModule)(N))return;N.scope.rename("exports"),N.scope.rename("module"),N.scope.rename("require"),N.scope.rename("__filename"),N.scope.rename("__dirname"),m||N.traverse(I,{scope:N.scope});let W=(0,Zi.getModuleName)(this.file.opts,t);W&&(W=Ln.types.stringLiteral(W));let U=(0,EE.makeInvokers)(this.file),{meta:H,headers:pe}=(0,Zi.rewriteModuleStatementsAndPrepareHeader)(N,{exportName:"exports",constantReexports:f,enumerableModuleMeta:b,strict:l,strictMode:u,allowTopLevelThis:o,noInterop:c,importInterop:p,wrapReference:U.wrapReference,getWrapperPayload:U.getWrapperPayload,esNamespaceOnly:typeof L.filename=="string"&&/\.mjs$/.test(L.filename)?a:i,noIncompleteNsImportDetection:T,filename:this.file.opts.filename});for(let[Ee,ce]of H.source){let qe=Ln.types.callExpression(Ln.types.identifier("require"),[Ln.types.stringLiteral(Ee)]),ze;if((0,Zi.isSideEffectImport)(ce)){if(d&&ce.wrap==="function")throw new Error("Assertion failure");ze=Ln.types.expressionStatement(qe)}else{let Ot=(0,Zi.wrapInterop)(N,qe,ce.interop)||qe;if(ce.wrap){let J=U.buildRequireWrapper(ce.name,Ot,ce.wrap,ce.referenced);if(J===!1)continue;ze=J}ze!=null||(ze=Ln.template.statement.ast`
|
|
369
369
|
var ${ce.name} = ${Ot};
|
|
370
|
-
`)}ze.loc=ce.loc,pe.push(ze),pe.push(...(0,Zi.buildNamespaceInitStatements)(H,ce,f,U.wrapReference))}(0,Zi.ensureStatementsHoisted)(pe),N.unshiftContainer("body",pe),N.get("body").forEach(Ee=>{pe.includes(Ee.node)&&Ee.isVariableDeclaration()&&Ee.scope.registerDeclaration(Ee)})}}}}})});var SE=x(xE=>{"use strict";Object.defineProperty(xE,"__esModule",{value:!0});var ON=Ft(),y1e=PN();mE();var g1e=TE(),b1e=Ap();function BN(e){return e&&e.__esModule?e:{default:e}}var NN=BN(y1e),E1e=BN(g1e),As=new b1e.OptionValidator("@babel/preset-typescript");function T1e(e={}){let{allowNamespaces:t=!0,jsxPragma:r,onlyRemoveTypeImports:n}=e,s={ignoreExtensions:"ignoreExtensions",allowNamespaces:"allowNamespaces",disallowAmbiguousJSXLike:"disallowAmbiguousJSXLike",jsxPragma:"jsxPragma",jsxPragmaFrag:"jsxPragmaFrag",onlyRemoveTypeImports:"onlyRemoveTypeImports",optimizeConstEnums:"optimizeConstEnums",rewriteImportExtensions:"rewriteImportExtensions",allExtensions:"allExtensions",isTSX:"isTSX"},i=As.validateStringOption(s.jsxPragmaFrag,e.jsxPragmaFrag,"React.Fragment");{var a=As.validateBooleanOption(s.allExtensions,e.allExtensions,!1),o=As.validateBooleanOption(s.isTSX,e.isTSX,!1);o&&As.invariant(a,"isTSX:true requires allExtensions:true")}let l=As.validateBooleanOption(s.ignoreExtensions,e.ignoreExtensions,!1),u=As.validateBooleanOption(s.disallowAmbiguousJSXLike,e.disallowAmbiguousJSXLike,!1);u&&As.invariant(a,"disallowAmbiguousJSXLike:true requires allExtensions:true");let c=As.validateBooleanOption(s.optimizeConstEnums,e.optimizeConstEnums,!1),p=As.validateBooleanOption(s.rewriteImportExtensions,e.rewriteImportExtensions,!1),d={ignoreExtensions:l,allowNamespaces:t,disallowAmbiguousJSXLike:u,jsxPragma:r,jsxPragmaFrag:i,onlyRemoveTypeImports:n,optimizeConstEnums:c,rewriteImportExtensions:p};return d.allExtensions=a,d.isTSX=o,d}var x1e=ON.declare(function({types:e,template:t}){function r(n,s,i){if(n){if(e.isStringLiteral(n)){/^\.\.?\//.test(n.value)&&(n.value=n.value.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+)?)\.([cm]?)ts$/i,function(a,o,l,u,c){return o?".js":l&&(!u||!c)?a:l+u+"."+c.toLowerCase()+"js"}));return}i.availableHelper("tsRewriteRelativeImportExtensions")?s.replaceWith(e.callExpression(i.addHelper("tsRewriteRelativeImportExtensions"),[n])):s.replaceWith(t.expression.ast`(${n} + "").replace(/([\\/].*\.[mc]?)tsx?$/, "$1js")`)}}return{name:"preset-typescript/plugin-rewrite-ts-imports",visitor:{"ImportDeclaration|ExportAllDeclaration|ExportNamedDeclaration"(n,s){let i=n.node;(e.isImportDeclaration(i)?i.importKind:i.exportKind)==="value"&&r(i.source,n.get("source"),s)},CallExpression(n,s){e.isImport(n.node.callee)&&r(n.node.arguments[0],n.get("arguments.0"),s)},ImportExpression(n,s){r(n.node.source,n.get("source"),s)}}}}),S1e=ON.declarePreset((e,t)=>{e.assertVersion(7);let{allExtensions:r,ignoreExtensions:n,allowNamespaces:s,disallowAmbiguousJSXLike:i,isTSX:a,jsxPragma:o,jsxPragmaFrag:l,onlyRemoveTypeImports:u,optimizeConstEnums:c,rewriteImportExtensions:p}=T1e(t),d=f=>({allowDeclareFields:t.allowDeclareFields,allowNamespaces:s,disallowAmbiguousJSXLike:f,jsxPragma:o,jsxPragmaFrag:l,onlyRemoveTypeImports:u,optimizeConstEnums:c}),m=(f,b)=>[[NN.default,Object.assign({isTSX:f},d(b))]];return{plugins:p?[x1e]:[],overrides:r||n?[{plugins:m(a,i)}]:[{test:/\.ts$/,plugins:m(!1,!1)},{test:/\.mts$/,sourceType:"module",plugins:m(!1,!0)},{test:/\.cts$/,sourceType:"unambiguous",plugins:[[E1e.default,{allowTopLevelThis:!0}],[NN.default,d(!0)]]},{test:/\.tsx$/,plugins:m(!0,!1)}]}});xE.default=S1e});var IE=x(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.default=C1e;Kl.supportsESM=void 0;var vE=Gs();function DE(){let e=require("path");return DE=function(){return e},e}function MN(){let e=require("url");return MN=function(){return e},e}require("module");function wE(){let e=ps();return wE=function(){return e},e}function RN(){let e=Ti();return RN=function(){return e},e}var qN=fs(),oo=qi(),v1e=P1();function kN(e,t,r,n,s,i,a){try{var o=e[i](a),l=o.value}catch(u){return void r(u)}o.done?t(l):Promise.resolve(l).then(n,s)}function P1e(e){return function(){var t=this,r=arguments;return new Promise(function(n,s){var i=e.apply(t,r);function a(l){kN(i,n,s,a,o,"next",l)}function o(l){kN(i,n,s,a,o,"throw",l)}a(void 0)})}}var A1e=RN()("babel:config:loading:files:module-types");try{CE=x_()}catch{}var CE,t3e=Kl.supportsESM=wE().satisfies(process.versions.node,"^12.17 || >=13.2"),PE=new Set;function Pf(e){if(PE.has(e))return A1e("Auto-ignoring usage of config %o.",e),{};let t;try{PE.add(e),t=(0,qN.endHiddenCallStack)(require)(e)}finally{PE.delete(e)}return t!=null&&(t.__esModule||t[Symbol.toStringTag]==="Module")?t.default||(arguments[1]?t:void 0):t}var FN=(0,qN.endHiddenCallStack)(function(){var e=P1e(function*(r){let n=(0,MN().pathToFileURL)(r).toString()+"?import";{if(!CE)throw new oo.default(`Internal error: Native ECMAScript modules aren't supported by this platform.
|
|
371
|
-
`,r);return yield CE(n)}});function t(r){return e.apply(this,arguments)}return t}()),UN=e=>`You are using a ${e} config file, but Babel only supports transpiling .cts configs. Either:
|
|
370
|
+
`)}ze.loc=ce.loc,pe.push(ze),pe.push(...(0,Zi.buildNamespaceInitStatements)(H,ce,f,U.wrapReference))}(0,Zi.ensureStatementsHoisted)(pe),N.unshiftContainer("body",pe),N.get("body").forEach(Ee=>{pe.includes(Ee.node)&&Ee.isVariableDeclaration()&&Ee.scope.registerDeclaration(Ee)})}}}}})});var SE=x(xE=>{"use strict";Object.defineProperty(xE,"__esModule",{value:!0});var ON=Ft(),y1e=PN();mE();var g1e=TE(),b1e=Ap();function BN(e){return e&&e.__esModule?e:{default:e}}var NN=BN(y1e),E1e=BN(g1e),As=new b1e.OptionValidator("@babel/preset-typescript");function T1e(e={}){let{allowNamespaces:t=!0,jsxPragma:r,onlyRemoveTypeImports:n}=e,s={ignoreExtensions:"ignoreExtensions",allowNamespaces:"allowNamespaces",disallowAmbiguousJSXLike:"disallowAmbiguousJSXLike",jsxPragma:"jsxPragma",jsxPragmaFrag:"jsxPragmaFrag",onlyRemoveTypeImports:"onlyRemoveTypeImports",optimizeConstEnums:"optimizeConstEnums",rewriteImportExtensions:"rewriteImportExtensions",allExtensions:"allExtensions",isTSX:"isTSX"},i=As.validateStringOption(s.jsxPragmaFrag,e.jsxPragmaFrag,"React.Fragment");{var a=As.validateBooleanOption(s.allExtensions,e.allExtensions,!1),o=As.validateBooleanOption(s.isTSX,e.isTSX,!1);o&&As.invariant(a,"isTSX:true requires allExtensions:true")}let l=As.validateBooleanOption(s.ignoreExtensions,e.ignoreExtensions,!1),u=As.validateBooleanOption(s.disallowAmbiguousJSXLike,e.disallowAmbiguousJSXLike,!1);u&&As.invariant(a,"disallowAmbiguousJSXLike:true requires allExtensions:true");let c=As.validateBooleanOption(s.optimizeConstEnums,e.optimizeConstEnums,!1),p=As.validateBooleanOption(s.rewriteImportExtensions,e.rewriteImportExtensions,!1),d={ignoreExtensions:l,allowNamespaces:t,disallowAmbiguousJSXLike:u,jsxPragma:r,jsxPragmaFrag:i,onlyRemoveTypeImports:n,optimizeConstEnums:c,rewriteImportExtensions:p};return d.allExtensions=a,d.isTSX=o,d}var x1e=ON.declare(function({types:e,template:t}){function r(n,s,i){if(n){if(e.isStringLiteral(n)){/^\.\.?\//.test(n.value)&&(n.value=n.value.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+)?)\.([cm]?)ts$/i,function(a,o,l,u,c){return o?".js":l&&(!u||!c)?a:l+u+"."+c.toLowerCase()+"js"}));return}i.availableHelper("tsRewriteRelativeImportExtensions")?s.replaceWith(e.callExpression(i.addHelper("tsRewriteRelativeImportExtensions"),[n])):s.replaceWith(t.expression.ast`(${n} + "").replace(/([\\/].*\.[mc]?)tsx?$/, "$1js")`)}}return{name:"preset-typescript/plugin-rewrite-ts-imports",visitor:{"ImportDeclaration|ExportAllDeclaration|ExportNamedDeclaration"(n,s){let i=n.node;(e.isImportDeclaration(i)?i.importKind:i.exportKind)==="value"&&r(i.source,n.get("source"),s)},CallExpression(n,s){e.isImport(n.node.callee)&&r(n.node.arguments[0],n.get("arguments.0"),s)},ImportExpression(n,s){r(n.node.source,n.get("source"),s)}}}}),S1e=ON.declarePreset((e,t)=>{e.assertVersion(7);let{allExtensions:r,ignoreExtensions:n,allowNamespaces:s,disallowAmbiguousJSXLike:i,isTSX:a,jsxPragma:o,jsxPragmaFrag:l,onlyRemoveTypeImports:u,optimizeConstEnums:c,rewriteImportExtensions:p}=T1e(t),d=f=>({allowDeclareFields:t.allowDeclareFields,allowNamespaces:s,disallowAmbiguousJSXLike:f,jsxPragma:o,jsxPragmaFrag:l,onlyRemoveTypeImports:u,optimizeConstEnums:c}),m=(f,b)=>[[NN.default,Object.assign({isTSX:f},d(b))]];return{plugins:p?[x1e]:[],overrides:r||n?[{plugins:m(a,i)}]:[{test:/\.ts$/,plugins:m(!1,!1)},{test:/\.mts$/,sourceType:"module",plugins:m(!1,!0)},{test:/\.cts$/,sourceType:"unambiguous",plugins:[[E1e.default,{allowTopLevelThis:!0}],[NN.default,d(!0)]]},{test:/\.tsx$/,plugins:m(!0,!1)}]}});xE.default=S1e});var IE=x(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.default=C1e;Kl.supportsESM=void 0;var vE=Gs();function DE(){let e=require("path");return DE=function(){return e},e}function MN(){let e=require("url");return MN=function(){return e},e}require("module");function wE(){let e=ps();return wE=function(){return e},e}function RN(){let e=Ti();return RN=function(){return e},e}var qN=fs(),oo=qi(),v1e=P1();function kN(e,t,r,n,s,i,a){try{var o=e[i](a),l=o.value}catch(u){return void r(u)}o.done?t(l):Promise.resolve(l).then(n,s)}function P1e(e){return function(){var t=this,r=arguments;return new Promise(function(n,s){var i=e.apply(t,r);function a(l){kN(i,n,s,a,o,"next",l)}function o(l){kN(i,n,s,a,o,"throw",l)}a(void 0)})}}var A1e=RN()("babel:config:loading:files:module-types");try{CE=x_()}catch{}var CE,t3e=Kl.supportsESM=wE().satisfies(process.versions.node,"^12.17 || >=13.2"),PE=new Set;function Pf(e){if(PE.has(e))return A1e("Auto-ignoring usage of config %o.",e),{};let t;try{PE.add(e),t=(0,qN.endHiddenCallStack)(require)(e)}finally{PE.delete(e)}return t!=null&&(t.__esModule||t[Symbol.toStringTag]==="Module")?t.default||(arguments[1]?t:void 0):t}var FN=(0,qN.endHiddenCallStack)((function(){var e=P1e(function*(r){let n=(0,MN().pathToFileURL)(r).toString()+"?import";{if(!CE)throw new oo.default(`Internal error: Native ECMAScript modules aren't supported by this platform.
|
|
371
|
+
`,r);return yield CE(n)}});function t(r){return e.apply(this,arguments)}return t})()),UN=e=>`You are using a ${e} config file, but Babel only supports transpiling .cts configs. Either:
|
|
372
372
|
- Use a .cts config file
|
|
373
373
|
- Update to Node.js 23.6.0, which has native TypeScript support
|
|
374
374
|
- Install tsx to transpile ${e} files on the fly`,LN={".js":"unknown",".mjs":"esm",".cjs":"cjs",".ts":"unknown",".mts":"esm",".cts":"cjs"},jN=new Set;function*C1e(e,t,r,n){let s,i=DE().extname(e),a=i===".ts"||i===".cts"||i===".mts",o=LN[hasOwnProperty.call(LN,i)?i:".js"];switch(`${t} ${o}`){case"require cjs":case"auto cjs":return a?AE(e,i,()=>Pf(e)):Pf(e,arguments[2]);case"auto unknown":case"require unknown":case"require esm":try{return a?AE(e,i,()=>Pf(e)):Pf(e,arguments[2])}catch(u){if(u.code==="ERR_REQUIRE_ASYNC_MODULE"||u.code==="ERR_REQUIRE_CYCLE_MODULE"&&jN.has(e)){if(jN.add(e),!(s!=null?s:s=yield*(0,vE.isAsync)()))throw new oo.default(n,e)}else if(!(u.code==="ERR_REQUIRE_ESM"||o==="esm"))throw u}case"auto esm":if(s!=null?s:s=yield*(0,vE.isAsync)()){let u=a?AE(e,i,()=>FN(e)):FN(e);return(yield*(0,vE.waitFor)(u)).default}throw a?new oo.default(UN(i),e):new oo.default(r,e);default:throw new Error("Internal Babel error: unreachable code.")}}function AE(e,t,r){if(process.features.typescript||require.extensions[".ts"]||require.extensions[".cts"]||require.extensions[".mts"])return r();if(t!==".cts")throw new oo.default(UN(t),e);let n={babelrc:!1,configFile:!1,sourceType:"unambiguous",sourceMaps:"inline",sourceFileName:DE().basename(e),presets:[[D1e(e),Object.assign({onlyRemoveTypeImports:!0,optimizeConstEnums:!0},{allowDeclareFields:!0})]]},s=function(i,a){if(s&&a.endsWith(".cts"))try{return i._compile((0,v1e.transformFileSync)(a,Object.assign({},n,{filename:a})).code,a)}catch(o){let l=S_();throw wE().lt(l.version,"7.21.4")&&console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`."),o}return require.extensions[".js"](i,a)};require.extensions[t]=s;try{return r()}finally{require.extensions[t]===s&&delete require.extensions[t],s=void 0}}function D1e(e){try{return SE()}catch(t){if(t.code!=="MODULE_NOT_FOUND")throw t;let r="You appear to be using a .cts file as Babel configuration, but the `@babel/preset-typescript` package was not found: please install it!";throw process.versions.pnp&&(r+=`
|
|
@@ -454,7 +454,7 @@ to your top-level package.json.
|
|
|
454
454
|
} finally {
|
|
455
455
|
${l?Re.types.awaitExpression(c):c}
|
|
456
456
|
}
|
|
457
|
-
`;Re.types.inherits(p,i.node);let{parentPath:d}=i;d.isFunction()||d.isTryStatement()||d.isCatchClause()?i.replaceWith(Re.types.blockStatement([p])):i.isStaticBlock()?i.node.body=[p]:i.replaceWith(p)}},s=Re.traverse.visitors.merge([n,{Function(i){i.skip()}}]);return{name:"transform-explicit-resource-management",manipulateOptions:(i,a)=>a.plugins.push("explicitResourceManagement"),visitor:Re.traverse.visitors.merge([n,{Program(i){if(t.clear(),i.node.sourceType!=="module"||!i.node.body.some(r))return;let a=[];for(let o of i.get("body")){if(o.isFunctionDeclaration()||o.isImportDeclaration())continue;let l=o.node,u=!0;if(o.isExportDefaultDeclaration()){let{declaration:c}=o.node,p;if(Re.types.isClassDeclaration(c))p=c.id,c.id=Re.types.cloneNode(p),c=Re.types.toExpression(c);else if(!Re.types.isExpression(c))continue;p!=null||(p=i.scope.generateUidIdentifier("_default")),a.push(Re.types.variableDeclaration("var",[Re.types.variableDeclarator(p,c)])),o.replaceWith(Re.types.exportNamedDeclaration(null,[Re.types.exportSpecifier(Re.types.cloneNode(p),Re.types.identifier("default"))]));continue}if(o.isExportNamedDeclaration()){if(l=o.node.declaration,!l||Re.types.isFunction(l))continue;o.replaceWith(Re.types.exportNamedDeclaration(null,Object.keys(Re.types.getOuterBindingIdentifiers(l,!1)).map(c=>Re.types.exportSpecifier(Re.types.identifier(c),Re.types.identifier(c))))),u=!1}else if(o.isExportDeclaration())continue;if(Re.types.isClassDeclaration(l)){let{id:c}=l;l.id=Re.types.cloneNode(c),a.push(Re.types.variableDeclaration("var",[Re.types.variableDeclarator(c,Re.types.toExpression(l))]))}else Re.types.isVariableDeclaration(l)?(l.kind==="using"?t.set(o.node,0):l.kind==="await using"&&t.set(o.node,1),l.kind="var",a.push(l)):a.push(o.node);u&&o.remove()}i.pushContainer("body",Re.types.blockStatement(a))},Function(i,a){i.node.async&&i.traverse(s,a)}}])}})});var o3=x(Wf=>{"use strict";Object.defineProperty(Wf,"__esModule",{value:!0});Wf.default=void 0;var VTe=Ft(),a3=so(),w3e=Wf.default=(0,VTe.declare)((e,t)=>(e.assertVersion(7),(0,a3.createClassFeaturePlugin)({name:"transform-class-properties",api:e,feature:a3.FEATURES.fields,loose:t.loose,manipulateOptions(r,n){n.plugins.push("classProperties","classPrivateProperties")}})))});var u3=x(Kf=>{"use strict";Object.defineProperty(Kf,"__esModule",{value:!0});Kf.default=void 0;var $Te=Ft(),l3=so();function WTe(e,t){let r="",n,s=1;do n=`_${r}`,s>1&&(n+=s),s++;while(t.has(n));return n}var _3e=Kf.default=(0,$Te.declare)(({types:e,template:t,assertVersion:r})=>(r("^7.12.0 || >8.0.0-alpha <8.0.0-beta"),{name:"transform-class-static-block",manipulateOptions:(n,s)=>s.plugins.push("classStaticBlock"),pre(){(0,l3.enableFeature)(this.file,l3.FEATURES.staticBlocks,!1)},visitor:{ClassBody(n){let{scope:s}=n,i=new Set,a=n.get("body");for(let o of a)o.isPrivate()&&i.add(o.get("key.id").node.name);for(let o of a){if(!o.isStaticBlock())continue;let l=WTe(s,i);i.add(l);let u=e.privateName(e.identifier(l)),c,p=o.node.body;p.length===1&&e.isExpressionStatement(p[0])?c=e.inheritsComments(p[0].expression,p[0]):c=t.expression.ast`(() => { ${p} })()`,o.replaceWith(e.classPrivateProperty(u,c,[],!0))}}}}))});var p3=x(Hf=>{"use strict";Object.defineProperty(Hf,"__esModule",{value:!0});Hf.default=void 0;var KTe=Ft();function c3({node:e}){var t;let{extra:r}=e;r!=null&&(t=r.raw)!=null&&t.includes("_")&&(r.raw=r.raw.replace(/_/g,""))}var O3e=Hf.default=(0,KTe.declare)(e=>(e.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta"),{name:"transform-numeric-separator",manipulateOptions:(t,r)=>r.plugins.push("numericSeparator"),visitor:{NumericLiteral:c3,BigIntLiteral:c3}}))});var f3=x(Gf=>{"use strict";Object.defineProperty(Gf,"__esModule",{value:!0});Gf.default=void 0;var HTe=Ft(),Ds=vt(),k3e=Gf.default=(0,HTe.declare)(e=>(e.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta"),{name:"transform-logical-assignment-operators",manipulateOptions:(t,r)=>r.plugins.push("logicalAssignment"),visitor:{AssignmentExpression(t){let{node:r,scope:n}=t,{operator:s,left:i,right:a}=r,o=s.slice(0,-1);if(!Ds.types.LOGICAL_OPERATORS.includes(o))return;let l=Ds.types.cloneNode(i);if(Ds.types.isMemberExpression(i)){let{object:u,property:c,computed:p}=i,d=n.maybeGenerateMemoised(u);if(d&&(i.object=d,l.object=Ds.types.assignmentExpression("=",Ds.types.cloneNode(d),u)),p){let m=n.maybeGenerateMemoised(c);m&&(i.property=m,l.property=Ds.types.assignmentExpression("=",Ds.types.cloneNode(m),c))}}t.replaceWith(Ds.types.logicalExpression(o,l,Ds.types.assignmentExpression("=",i,a)))}}}))});var d3=x(Xf=>{"use strict";Object.defineProperty(Xf,"__esModule",{value:!0});Xf.default=void 0;var GTe=Ft(),Tr=vt(),L3e=Xf.default=(0,GTe.declare)((e,{loose:t=!1})=>{var r,n;e.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");let s=(r=e.assumption("noDocumentAll"))!=null?r:t,i=(n=e.assumption("pureGetters"))!=null?n:!1;return{name:"transform-nullish-coalescing-operator",manipulateOptions:(a,o)=>o.plugins.push("nullishCoalescingOperator"),visitor:{LogicalExpression(a){let{node:o,scope:l}=a;if(o.operator!=="??")return;let u,c;if(i&&l.path.isPattern()&&Tr.types.isMemberExpression(o.left)&&!o.left.computed&&Tr.types.isIdentifier(o.left.object)&&Tr.types.isIdentifier(o.left.property)||Tr.types.isIdentifier(o.left)&&(i||l.hasBinding(o.left.name)))u=o.left,c=Tr.types.cloneNode(o.left);else if(l.path.isPattern()){a.replaceWith(Tr.template.statement.ast`(() => ${a.node})()`);return}else u=l.generateUidIdentifierBasedOnNode(o.left),l.push({id:Tr.types.cloneNode(u)}),c=Tr.types.assignmentExpression("=",u,o.left);a.replaceWith(Tr.types.conditionalExpression(s?Tr.types.binaryExpression("!=",c,Tr.types.nullLiteral()):Tr.types.logicalExpression("&&",Tr.types.binaryExpression("!==",c,Tr.types.nullLiteral()),Tr.types.binaryExpression("!==",Tr.types.cloneNode(u),l.buildUndefinedNode())),Tr.types.cloneNode(u),o.right))}}}})});var y3=x(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});var XTe=Ft(),et=vt(),ea=Fl();function zE(e){let t=h3(e),{node:r,parentPath:n}=t;if(n.isLogicalExpression()){let{operator:s,right:i}=n.node;if(s==="&&"||s==="||"||s==="??"&&r===i)return zE(n)}if(n.isSequenceExpression()){let{expressions:s}=n.node;return s[s.length-1]===r?zE(n):!0}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}function h3(e){let t=e;return e.findParent(r=>{if(!ea.isTransparentExprWrapper(r.node))return!0;t=r}),t}var YTe=e=>e[e.length-1];function Yf(e){return e=ea.skipTransparentExprWrapperNodes(e),et.types.isIdentifier(e)||et.types.isSuper(e)||et.types.isMemberExpression(e)&&!e.computed&&Yf(e.object)}function JTe(e){let t=e,{scope:r}=e;for(;t.isOptionalMemberExpression()||t.isOptionalCallExpression();){let{node:n}=t,s=ea.skipTransparentExprWrappers(t.isOptionalMemberExpression()?t.get("object"):t.get("callee"));if(n.optional)return!r.isStatic(s.node);t=s}}var zTe=et.template.expression("%%check%% === null || %%ref%% === void 0"),QTe=et.template.expression("%%check%% == null"),ZTe=et.template.expression("%%check%% !== null && %%ref%% !== void 0"),exe=et.template.expression("%%check%% != null");function QE(e,{pureGetters:t,noDocumentAll:r},n,s,i){let{scope:a}=e;if(a.path.isPattern()&&JTe(e)){n.replaceWith(et.template.expression.ast`(() => ${n.node})()`);return}let o=[],l=e;for(;l.isOptionalMemberExpression()||l.isOptionalCallExpression();){let{node:I}=l;I.optional&&o.push(I),l.isOptionalMemberExpression()?(l.node.type="MemberExpression",l=ea.skipTransparentExprWrappers(l.get("object"))):l.isOptionalCallExpression()&&(l.node.type="CallExpression",l=ea.skipTransparentExprWrappers(l.get("callee")))}if(o.length===0)return;let u=[],c;for(let I=o.length-1;I>=0;I--){let N=o[I],L=et.types.isCallExpression(N),W=L?N.callee:N.object,U=ea.skipTransparentExprWrapperNodes(W),H,pe;if(L&&et.types.isIdentifier(U,{name:"eval"})?(pe=H=U,N.callee=et.types.sequenceExpression([et.types.numericLiteral(0),H])):t&&L&&Yf(U)?pe=H=N.callee:a.isStatic(U)?pe=H=W:((!c||L)&&(c=a.generateUidIdentifierBasedOnNode(U),a.push({id:et.types.cloneNode(c)})),H=c,pe=et.types.assignmentExpression("=",et.types.cloneNode(c),W),L?N.callee=H:N.object=H),L&&et.types.isMemberExpression(U))if(t&&Yf(U))N.callee=W;else{let{object:ce}=U,qe;if(et.types.isSuper(ce))qe=et.types.thisExpression();else{let ze=a.maybeGenerateMemoised(ce);ze?(qe=ze,U.object=et.types.assignmentExpression("=",ze,ce)):qe=ce}N.arguments.unshift(et.types.cloneNode(qe)),N.callee=et.types.memberExpression(N.callee,et.types.identifier("call"))}let Ee={check:et.types.cloneNode(pe),ref:et.types.cloneNode(H)};Object.defineProperty(Ee,"ref",{enumerable:!1}),u.push(Ee)}let p=n.node;i&&(p=i(p));let d=et.types.isBooleanLiteral(s),m=d&&s.value===!1,g=!d&&et.types.isUnaryExpression(s,{operator:"void"}),f=et.types.isExpressionStatement(n.parent)&&!n.isCompletionRecord()||et.types.isSequenceExpression(n.parent)&&YTe(n.parent.expressions)!==n.node,b=m?r?exe:ZTe:r?QTe:zTe,T=m?"&&":"||",w=u.map(b).reduce((I,N)=>et.types.logicalExpression(T,I,N));n.replaceWith(d||g&&f?et.types.logicalExpression(T,w,p):et.types.conditionalExpression(w,s,p))}function m3(e,t){let{scope:r}=e,n=h3(e),{parentPath:s}=n;if(s.isUnaryExpression({operator:"delete"}))QE(e,t,s,et.types.booleanLiteral(!0));else{let i;s.isCallExpression({callee:n.node})&&e.isOptionalMemberExpression()&&(i=a=>{let o=ea.skipTransparentExprWrapperNodes(a.object),l;return(!t.pureGetters||!Yf(o))&&(l=r.maybeGenerateMemoised(o),l&&(a.object=et.types.assignmentExpression("=",l,o))),et.types.callExpression(et.types.memberExpression(a,et.types.identifier("bind")),[et.types.cloneNode(l!=null?l:o)])}),QE(e,t,e,zE(n)?et.types.booleanLiteral(!1):r.buildUndefinedNode(),i)}}var txe=XTe.declare((e,t)=>{var r,n;e.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");let{loose:s=!1}=t,i=(r=e.assumption("noDocumentAll"))!=null?r:s,a=(n=e.assumption("pureGetters"))!=null?n:s;return{name:"transform-optional-chaining",manipulateOptions:(o,l)=>l.plugins.push("optionalChaining"),visitor:{"OptionalCallExpression|OptionalMemberExpression"(o){m3(o,{noDocumentAll:i,pureGetters:a})}}}});zl.default=txe;zl.transform=m3;zl.transformOptionalChain=QE});var b3=x(Jf=>{"use strict";Object.defineProperty(Jf,"__esModule",{value:!0});Jf.default=void 0;var rxe=Ft(),g3=so(),R3e=Jf.default=(0,rxe.declare)((e,t)=>(e.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta"),(0,g3.createClassFeaturePlugin)({name:"transform-private-methods",api:e,feature:g3.FEATURES.privateMethods,loose:t.loose,manipulateOptions(r,n){n.plugins.push("classPrivateMethods")}})))});var E3=x(zf=>{"use strict";Object.defineProperty(zf,"__esModule",{value:!0});zf.default=void 0;var nxe=Ft(),sxe=(0,nxe.declare)(e=>(e.assertVersion(7),{name:"syntax-json-strings",manipulateOptions(t,r){r.plugins.push("jsonStrings")}}));zf.default=sxe});var T3=x(Qf=>{"use strict";Object.defineProperty(Qf,"__esModule",{value:!0});Qf.default=void 0;var ixe=Ft(),axe=(0,ixe.declare)(e=>(e.assertVersion(7),{name:"syntax-optional-catch-binding",manipulateOptions(t,r){r.plugins.push("optionalCatchBinding")}}));Qf.default=axe});var x3=x(Zf=>{"use strict";Object.defineProperty(Zf,"__esModule",{value:!0});Zf.default=void 0;var oxe=Ft(),lxe=(0,oxe.declare)(e=>(e.assertVersion(7),{name:"syntax-async-generators",manipulateOptions(t,r){r.plugins.push("asyncGenerators")}}));Zf.default=lxe});var S3=x(ed=>{"use strict";Object.defineProperty(ed,"__esModule",{value:!0});ed.default=void 0;var uxe=Ft(),cxe=(0,uxe.declare)(e=>(e.assertVersion(7),{name:"syntax-object-rest-spread",manipulateOptions(t,r){r.plugins.push("objectRestSpread")}}));ed.default=cxe});var v3=x(td=>{"use strict";Object.defineProperty(td,"__esModule",{value:!0});td.default=void 0;var pxe=Ft(),ws=vt(),K3e=td.default=(0,pxe.declare)(e=>(e.assertVersion(7),{name:"transform-export-namespace-from",manipulateOptions:(t,r)=>r.plugins.push("exportNamespaceFrom"),visitor:{ExportNamedDeclaration(t){var r;let{node:n,scope:s}=t,{specifiers:i}=n,a=ws.types.isExportDefaultSpecifier(i[0])?1:0;if(!ws.types.isExportNamespaceSpecifier(i[a]))return;let o=[];a===1&&o.push(ws.types.exportNamedDeclaration(null,[i.shift()],n.source));let l=i.shift(),{exported:u}=l,c=s.generateUidIdentifier((r=u.name)!=null?r:u.value);o.push(ws.types.importDeclaration([ws.types.importNamespaceSpecifier(c)],ws.types.cloneNode(n.source)),ws.types.exportNamedDeclaration(null,[ws.types.exportSpecifier(ws.types.cloneNode(c),u)])),n.specifiers.length>=1&&o.push(n);let[p]=t.replaceWithMultiple(o);t.scope.registerDeclaration(p)}}}))});var C3=x(eT=>{"use strict";Object.defineProperty(eT,"__esModule",{value:!0});eT.default=Txe;var fxe=mE(),dxe=Ft(),ae=vt(),ZE=Z0(),hxe=cf(),Ql={importSource:"react",runtime:"automatic",pragma:"React.createElement",pragmaFrag:"React.Fragment"},mxe=/^\s*(?:\*\s*)?@jsxImportSource\s+(\S+)\s*$/m,yxe=/^\s*(?:\*\s*)?@jsxRuntime\s+(\S+)\s*$/m,gxe=/^\s*(?:\*\s*)?@jsx\s+(\S+)\s*$/m,bxe=/^\s*(?:\*\s*)?@jsxFrag\s+(\S+)\s*$/m,Is=(e,t)=>e.get(`@babel/plugin-react-jsx/${t}`),oi=(e,t,r)=>e.set(`@babel/plugin-react-jsx/${t}`,r);function Exe(e){return e.properties.some(t=>ae.types.isObjectProperty(t,{computed:!1,shorthand:!1})&&(ae.types.isIdentifier(t.key,{name:"__proto__"})||ae.types.isStringLiteral(t.key,{value:"__proto__"})))}function Txe({name:e,development:t}){return(0,dxe.declare)((s,i)=>{let{pure:a,throwIfNamespace:o=!0,filter:l,runtime:u=t?"automatic":"classic",importSource:c=Ql.importSource,pragma:p=Ql.pragma,pragmaFrag:d=Ql.pragmaFrag}=i;{var{useSpread:m=!1,useBuiltIns:g=!1}=i;if(u==="classic"){if(typeof m!="boolean")throw new Error("transform-react-jsx currently only accepts a boolean option for useSpread (defaults to false)");if(typeof g!="boolean")throw new Error("transform-react-jsx currently only accepts a boolean option for useBuiltIns (defaults to false)");if(m&&g)throw new Error("transform-react-jsx currently only accepts useBuiltIns or useSpread but not both")}}let f={JSXOpeningElement(J,se){let V=[];T(J.scope)&&V.push(ae.types.jsxAttribute(ae.types.jsxIdentifier("__self"),ae.types.jsxExpressionContainer(ae.types.thisExpression()))),V.push(ae.types.jsxAttribute(ae.types.jsxIdentifier("__source"),ae.types.jsxExpressionContainer(xxe(J,se)))),J.pushContainer("attributes",V)}};return{name:e,inherits:fxe.default,visitor:{JSXNamespacedName(J){if(o)throw J.buildCodeFrameError("Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set `throwIfNamespace: false` to bypass this warning.")},JSXSpreadChild(J){throw J.buildCodeFrameError("Spread children are not supported in React.")},Program:{enter(J,se){let{file:V}=se,G=u,j=c,re=p,de=d,ye=!!i.importSource,Te=!!i.pragma,he=!!i.pragmaFrag;if(V.ast.comments)for(let De of V.ast.comments){let we=mxe.exec(De.value);we&&(j=we[1],ye=!0);let Ve=yxe.exec(De.value);Ve&&(G=Ve[1]);let pt=gxe.exec(De.value);pt&&(re=pt[1],Te=!0);let ut=bxe.exec(De.value);ut&&(de=ut[1],he=!0)}if(oi(se,"runtime",G),G==="classic"){if(ye)throw J.buildCodeFrameError("importSource cannot be set when runtime is classic.");let De=P3(re),we=P3(de);oi(se,"id/createElement",()=>ae.types.cloneNode(De)),oi(se,"id/fragment",()=>ae.types.cloneNode(we)),oi(se,"defaultPure",re===Ql.pragma)}else if(G==="automatic"){if(Te||he)throw J.buildCodeFrameError("pragma and pragmaFrag cannot be set when runtime is automatic.");let De=(we,Ve)=>oi(se,we,n(se,J,Ve,j));De("id/jsx",t?"jsxDEV":"jsx"),De("id/jsxs",t?"jsxDEV":"jsxs"),De("id/createElement","createElement"),De("id/fragment","Fragment"),oi(se,"defaultPure",j===Ql.importSource)}else throw J.buildCodeFrameError('Runtime must be either "classic" or "automatic".');t&&J.traverse(f,se)}},JSXFragment:{exit(J,se){let V;Is(se,"runtime")==="classic"?V=ce(J,se):V=Ee(J,se),J.replaceWith(ae.types.inherits(V,J.node))}},JSXElement:{exit(J,se){let V;Is(se,"runtime")==="classic"||I(J)?V=qe(J,se):V=H(J,se),J.replaceWith(ae.types.inherits(V,J.node))}},JSXAttribute(J){ae.types.isJSXElement(J.node.value)&&(J.node.value=ae.types.jsxExpressionContainer(J.node.value))}}};function b(J){return J.node.superClass!==null}function T(J){do{let{path:se}=J;if(se.isFunctionParent()&&!se.isArrowFunctionExpression())return!se.isMethod()||se.node.kind!=="constructor"?!0:!b(se.parentPath.parentPath);if(se.isTSModuleBlock())return!1}while(J=J.parent);return!0}function w(J,se,V){let G=ae.types.callExpression(Is(J,`id/${se}`)(),V);return(a!=null?a:Is(J,"defaultPure"))&&(0,hxe.default)(G),G}function I(J){let V=J.get("openingElement").node.attributes,G=!1;for(let j=0;j<V.length;j++){let re=V[j];if(G&&ae.types.isJSXAttribute(re)&&re.name.name==="key")return!0;ae.types.isJSXSpreadAttribute(re)&&(G=!0)}return!1}function N(J,se){return ae.types.isJSXIdentifier(J)?J.name==="this"&&ae.types.isReferenced(J,se)?ae.types.thisExpression():ae.types.isValidIdentifier(J.name,!1)?(J.type="Identifier",J):ae.types.stringLiteral(J.name):ae.types.isJSXMemberExpression(J)?ae.types.memberExpression(N(J.object,J),N(J.property,J)):ae.types.isJSXNamespacedName(J)?ae.types.stringLiteral(`${J.namespace.name}:${J.name.name}`):J}function L(J){return ae.types.isJSXExpressionContainer(J)?J.expression:J}function W(J,se){if(ae.types.isJSXSpreadAttribute(se.node)){let j=se.node.argument;return ae.types.isObjectExpression(j)&&!Exe(j)?J.push(...j.properties):J.push(ae.types.spreadElement(j)),J}let V=L(se.node.name.name!=="key"?se.node.value||ae.types.booleanLiteral(!0):se.node.value);if(se.node.name.name==="key"&&V===null)throw se.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.');if(ae.types.isStringLiteral(V)&&!ae.types.isJSXExpressionContainer(se.node.value)){var G;V.value=V.value.replace(/\n\s+/g," "),(G=V.extra)==null||delete G.raw}return ae.types.isJSXNamespacedName(se.node.name)?se.node.name=ae.types.stringLiteral(se.node.name.namespace.name+":"+se.node.name.name.name):ae.types.isValidIdentifier(se.node.name.name,!1)?se.node.name.type="Identifier":se.node.name=ae.types.stringLiteral(se.node.name.name),J.push(ae.types.inherits(ae.types.objectProperty(se.node.name,V),se.node)),J}function U(J){let se;if(J.length===1)se=J[0];else if(J.length>1)se=ae.types.arrayExpression(J);else return;return ae.types.objectProperty(ae.types.identifier("children"),se)}function H(J,se){let V=J.get("openingElement"),G=[ze(V)],j=[],re=Object.create(null);for(let he of V.get("attributes"))if(he.isJSXAttribute()&&ae.types.isJSXIdentifier(he.node.name)){let{name:De}=he.node.name;switch(De){case"__source":case"__self":if(re[De])throw A3(J,De);case"key":{let we=L(he.node.value);if(we===null)throw he.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.');re[De]=we;break}default:j.push(he)}}else j.push(he);let de=ae.types.react.buildChildren(J.node),ye;if(j.length||de.length?ye=pe(j,de):ye=ae.types.objectExpression([]),G.push(ye),t){var Te;G.push((Te=re.key)!=null?Te:J.scope.buildUndefinedNode(),ae.types.booleanLiteral(de.length>1)),re.__source?(G.push(re.__source),re.__self&&G.push(re.__self)):re.__self&&G.push(J.scope.buildUndefinedNode(),re.__self)}else re.key!==void 0&&G.push(re.key);return w(se,de.length>1?"jsxs":"jsx",G)}function pe(J,se){let V=J.reduce(W,[]);return(se==null?void 0:se.length)>0&&V.push(U(se)),ae.types.objectExpression(V)}function Ee(J,se){let V=[Is(se,"id/fragment")()],G=ae.types.react.buildChildren(J.node);return V.push(ae.types.objectExpression(G.length>0?[U(G)]:[])),t&&V.push(J.scope.buildUndefinedNode(),ae.types.booleanLiteral(G.length>1)),w(se,G.length>1?"jsxs":"jsx",V)}function ce(J,se){if(!(l&&!l(J.node,se)))return w(se,"createElement",[Is(se,"id/fragment")(),ae.types.nullLiteral(),...ae.types.react.buildChildren(J.node)])}function qe(J,se){let V=J.get("openingElement");return w(se,"createElement",[ze(V),Ot(se,J,V.get("attributes")),...ae.types.react.buildChildren(J.node)])}function ze(J){let se=N(J.node.name,J.node),V;return ae.types.isIdentifier(se)?V=se.name:ae.types.isStringLiteral(se)&&(V=se.value),ae.types.react.isCompatTag(V)?ae.types.stringLiteral(V):se}function Ot(J,se,V){let G=Is(J,"runtime");if(G!=="automatic"){let de=[],ye=V.reduce(W,[]);if(m)ye.length&&de.push(ae.types.objectExpression(ye));else{let he=0;ye.forEach((De,we)=>{ae.types.isSpreadElement(De)&&(we>he&&de.push(ae.types.objectExpression(ye.slice(he,we))),de.push(De.argument),he=we+1)}),ye.length>he&&de.push(ae.types.objectExpression(ye.slice(he)))}if(!de.length)return ae.types.nullLiteral();if(de.length===1&&!(ae.types.isSpreadElement(ye[0])&&ae.types.isObjectExpression(ye[0].argument)))return de[0];ae.types.isObjectExpression(de[0])||de.unshift(ae.types.objectExpression([]));let Te=g?ae.types.memberExpression(ae.types.identifier("Object"),ae.types.identifier("assign")):J.addHelper("extends");return ae.types.callExpression(Te,de)}let j=[],re=Object.create(null);for(let de of V){let{node:ye}=de,Te=ae.types.isJSXAttribute(ye)&&ae.types.isJSXIdentifier(ye.name)&&ye.name.name;if(G==="automatic"&&(Te==="__source"||Te==="__self")){if(re[Te])throw A3(se,Te);re[Te]=!0}W(j,de)}return j.length===1&&ae.types.isSpreadElement(j[0])&&!ae.types.isObjectExpression(j[0].argument)?j[0].argument:j.length>0?ae.types.objectExpression(j):ae.types.nullLiteral()}});function r(s,i){switch(i){case"Fragment":return`${s}/${t?"jsx-dev-runtime":"jsx-runtime"}`;case"jsxDEV":return`${s}/jsx-dev-runtime`;case"jsx":case"jsxs":return`${s}/jsx-runtime`;case"createElement":return s}}function n(s,i,a,o){return()=>{let l=r(o,a);if((0,ZE.isModule)(i)){let u=Is(s,`imports/${a}`);return u?ae.types.cloneNode(u):(u=(0,ZE.addNamed)(i,a,l,{importedInterop:"uncompiled",importPosition:"after"}),oi(s,`imports/${a}`,u),u)}else{let u=Is(s,`requires/${l}`);return u?u=ae.types.cloneNode(u):(u=(0,ZE.addNamespace)(i,l,{importedInterop:"uncompiled"}),oi(s,`requires/${l}`,u)),ae.types.memberExpression(u,ae.types.identifier(a))}}}}function P3(e){return e.split(".").map(t=>ae.types.identifier(t)).reduce((t,r)=>ae.types.memberExpression(t,r))}function xxe(e,t){let r=e.node.loc;if(!r)return e.scope.buildUndefinedNode();if(!t.fileNameIdentifier){let{filename:n=""}=t,s=e.scope.generateUidIdentifier("_jsxFileName");e.scope.getProgramParent().push({id:s,init:ae.types.stringLiteral(n)}),t.fileNameIdentifier=s}return Sxe(ae.types.cloneNode(t.fileNameIdentifier),r.start.line,r.start.column)}function Sxe(e,t,r){let n=t!=null?ae.types.numericLiteral(t):ae.types.nullLiteral(),s=r!=null?ae.types.numericLiteral(r+1):ae.types.nullLiteral();return ae.template.expression.ast`{
|
|
457
|
+
`;Re.types.inherits(p,i.node);let{parentPath:d}=i;d.isFunction()||d.isTryStatement()||d.isCatchClause()?i.replaceWith(Re.types.blockStatement([p])):i.isStaticBlock()?i.node.body=[p]:i.replaceWith(p)}},s=Re.traverse.visitors.merge([n,{Function(i){i.skip()}}]);return{name:"transform-explicit-resource-management",manipulateOptions:(i,a)=>a.plugins.push("explicitResourceManagement"),visitor:Re.traverse.visitors.merge([n,{Program(i){if(t.clear(),i.node.sourceType!=="module"||!i.node.body.some(r))return;let a=[];for(let o of i.get("body")){if(o.isFunctionDeclaration()||o.isImportDeclaration())continue;let l=o.node,u=!0;if(o.isExportDefaultDeclaration()){let{declaration:c}=o.node,p;if(Re.types.isClassDeclaration(c))p=c.id,c.id=Re.types.cloneNode(p),c=Re.types.toExpression(c);else if(!Re.types.isExpression(c))continue;p!=null||(p=i.scope.generateUidIdentifier("_default")),a.push(Re.types.variableDeclaration("var",[Re.types.variableDeclarator(p,c)])),o.replaceWith(Re.types.exportNamedDeclaration(null,[Re.types.exportSpecifier(Re.types.cloneNode(p),Re.types.identifier("default"))]));continue}if(o.isExportNamedDeclaration()){if(l=o.node.declaration,!l||Re.types.isFunction(l))continue;o.replaceWith(Re.types.exportNamedDeclaration(null,Object.keys(Re.types.getOuterBindingIdentifiers(l,!1)).map(c=>Re.types.exportSpecifier(Re.types.identifier(c),Re.types.identifier(c))))),u=!1}else if(o.isExportDeclaration())continue;if(Re.types.isClassDeclaration(l)){let{id:c}=l;l.id=Re.types.cloneNode(c),a.push(Re.types.variableDeclaration("var",[Re.types.variableDeclarator(c,Re.types.toExpression(l))]))}else Re.types.isVariableDeclaration(l)?(l.kind==="using"?t.set(o.node,0):l.kind==="await using"&&t.set(o.node,1),l.kind="var",a.push(l)):a.push(o.node);u&&o.remove()}i.pushContainer("body",Re.types.blockStatement(a))},Function(i,a){i.node.async&&i.traverse(s,a)}}])}})});var o3=x(Wf=>{"use strict";Object.defineProperty(Wf,"__esModule",{value:!0});Wf.default=void 0;var VTe=Ft(),a3=so(),w3e=Wf.default=(0,VTe.declare)((e,t)=>(e.assertVersion(7),(0,a3.createClassFeaturePlugin)({name:"transform-class-properties",api:e,feature:a3.FEATURES.fields,loose:t.loose,manipulateOptions(r,n){n.plugins.push("classProperties","classPrivateProperties")}})))});var u3=x(Kf=>{"use strict";Object.defineProperty(Kf,"__esModule",{value:!0});Kf.default=void 0;var $Te=Ft(),l3=so();function WTe(e,t){let n,s=1;do n="_",s>1&&(n+=s),s++;while(t.has(n));return n}var _3e=Kf.default=(0,$Te.declare)(({types:e,template:t,assertVersion:r})=>(r("^7.12.0 || >8.0.0-alpha <8.0.0-beta"),{name:"transform-class-static-block",manipulateOptions:(n,s)=>s.plugins.push("classStaticBlock"),pre(){(0,l3.enableFeature)(this.file,l3.FEATURES.staticBlocks,!1)},visitor:{ClassBody(n){let{scope:s}=n,i=new Set,a=n.get("body");for(let o of a)o.isPrivate()&&i.add(o.get("key.id").node.name);for(let o of a){if(!o.isStaticBlock())continue;let l=WTe(s,i);i.add(l);let u=e.privateName(e.identifier(l)),c,p=o.node.body;p.length===1&&e.isExpressionStatement(p[0])?c=e.inheritsComments(p[0].expression,p[0]):c=t.expression.ast`(() => { ${p} })()`,o.replaceWith(e.classPrivateProperty(u,c,[],!0))}}}}))});var p3=x(Hf=>{"use strict";Object.defineProperty(Hf,"__esModule",{value:!0});Hf.default=void 0;var KTe=Ft();function c3({node:e}){var t;let{extra:r}=e;r!=null&&(t=r.raw)!=null&&t.includes("_")&&(r.raw=r.raw.replace(/_/g,""))}var O3e=Hf.default=(0,KTe.declare)(e=>(e.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta"),{name:"transform-numeric-separator",manipulateOptions:(t,r)=>r.plugins.push("numericSeparator"),visitor:{NumericLiteral:c3,BigIntLiteral:c3}}))});var f3=x(Gf=>{"use strict";Object.defineProperty(Gf,"__esModule",{value:!0});Gf.default=void 0;var HTe=Ft(),Ds=vt(),k3e=Gf.default=(0,HTe.declare)(e=>(e.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta"),{name:"transform-logical-assignment-operators",manipulateOptions:(t,r)=>r.plugins.push("logicalAssignment"),visitor:{AssignmentExpression(t){let{node:r,scope:n}=t,{operator:s,left:i,right:a}=r,o=s.slice(0,-1);if(!Ds.types.LOGICAL_OPERATORS.includes(o))return;let l=Ds.types.cloneNode(i);if(Ds.types.isMemberExpression(i)){let{object:u,property:c,computed:p}=i,d=n.maybeGenerateMemoised(u);if(d&&(i.object=d,l.object=Ds.types.assignmentExpression("=",Ds.types.cloneNode(d),u)),p){let m=n.maybeGenerateMemoised(c);m&&(i.property=m,l.property=Ds.types.assignmentExpression("=",Ds.types.cloneNode(m),c))}}t.replaceWith(Ds.types.logicalExpression(o,l,Ds.types.assignmentExpression("=",i,a)))}}}))});var d3=x(Xf=>{"use strict";Object.defineProperty(Xf,"__esModule",{value:!0});Xf.default=void 0;var GTe=Ft(),Tr=vt(),L3e=Xf.default=(0,GTe.declare)((e,{loose:t=!1})=>{var r,n;e.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");let s=(r=e.assumption("noDocumentAll"))!=null?r:t,i=(n=e.assumption("pureGetters"))!=null?n:!1;return{name:"transform-nullish-coalescing-operator",manipulateOptions:(a,o)=>o.plugins.push("nullishCoalescingOperator"),visitor:{LogicalExpression(a){let{node:o,scope:l}=a;if(o.operator!=="??")return;let u,c;if(i&&l.path.isPattern()&&Tr.types.isMemberExpression(o.left)&&!o.left.computed&&Tr.types.isIdentifier(o.left.object)&&Tr.types.isIdentifier(o.left.property)||Tr.types.isIdentifier(o.left)&&(i||l.hasBinding(o.left.name)))u=o.left,c=Tr.types.cloneNode(o.left);else if(l.path.isPattern()){a.replaceWith(Tr.template.statement.ast`(() => ${a.node})()`);return}else u=l.generateUidIdentifierBasedOnNode(o.left),l.push({id:Tr.types.cloneNode(u)}),c=Tr.types.assignmentExpression("=",u,o.left);a.replaceWith(Tr.types.conditionalExpression(s?Tr.types.binaryExpression("!=",c,Tr.types.nullLiteral()):Tr.types.logicalExpression("&&",Tr.types.binaryExpression("!==",c,Tr.types.nullLiteral()),Tr.types.binaryExpression("!==",Tr.types.cloneNode(u),l.buildUndefinedNode())),Tr.types.cloneNode(u),o.right))}}}})});var y3=x(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});var XTe=Ft(),et=vt(),ea=Fl();function zE(e){let t=h3(e),{node:r,parentPath:n}=t;if(n.isLogicalExpression()){let{operator:s,right:i}=n.node;if(s==="&&"||s==="||"||s==="??"&&r===i)return zE(n)}if(n.isSequenceExpression()){let{expressions:s}=n.node;return s[s.length-1]===r?zE(n):!0}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}function h3(e){let t=e;return e.findParent(r=>{if(!ea.isTransparentExprWrapper(r.node))return!0;t=r}),t}var YTe=e=>e[e.length-1];function Yf(e){return e=ea.skipTransparentExprWrapperNodes(e),et.types.isIdentifier(e)||et.types.isSuper(e)||et.types.isMemberExpression(e)&&!e.computed&&Yf(e.object)}function JTe(e){let t=e,{scope:r}=e;for(;t.isOptionalMemberExpression()||t.isOptionalCallExpression();){let{node:n}=t,s=ea.skipTransparentExprWrappers(t.isOptionalMemberExpression()?t.get("object"):t.get("callee"));if(n.optional)return!r.isStatic(s.node);t=s}}var zTe=et.template.expression("%%check%% === null || %%ref%% === void 0"),QTe=et.template.expression("%%check%% == null"),ZTe=et.template.expression("%%check%% !== null && %%ref%% !== void 0"),exe=et.template.expression("%%check%% != null");function QE(e,{pureGetters:t,noDocumentAll:r},n,s,i){let{scope:a}=e;if(a.path.isPattern()&&JTe(e)){n.replaceWith(et.template.expression.ast`(() => ${n.node})()`);return}let o=[],l=e;for(;l.isOptionalMemberExpression()||l.isOptionalCallExpression();){let{node:I}=l;I.optional&&o.push(I),l.isOptionalMemberExpression()?(l.node.type="MemberExpression",l=ea.skipTransparentExprWrappers(l.get("object"))):l.isOptionalCallExpression()&&(l.node.type="CallExpression",l=ea.skipTransparentExprWrappers(l.get("callee")))}if(o.length===0)return;let u=[],c;for(let I=o.length-1;I>=0;I--){let N=o[I],L=et.types.isCallExpression(N),W=L?N.callee:N.object,U=ea.skipTransparentExprWrapperNodes(W),H,pe;if(L&&et.types.isIdentifier(U,{name:"eval"})?(pe=H=U,N.callee=et.types.sequenceExpression([et.types.numericLiteral(0),H])):t&&L&&Yf(U)?pe=H=N.callee:a.isStatic(U)?pe=H=W:((!c||L)&&(c=a.generateUidIdentifierBasedOnNode(U),a.push({id:et.types.cloneNode(c)})),H=c,pe=et.types.assignmentExpression("=",et.types.cloneNode(c),W),L?N.callee=H:N.object=H),L&&et.types.isMemberExpression(U))if(t&&Yf(U))N.callee=W;else{let{object:ce}=U,qe;if(et.types.isSuper(ce))qe=et.types.thisExpression();else{let ze=a.maybeGenerateMemoised(ce);ze?(qe=ze,U.object=et.types.assignmentExpression("=",ze,ce)):qe=ce}N.arguments.unshift(et.types.cloneNode(qe)),N.callee=et.types.memberExpression(N.callee,et.types.identifier("call"))}let Ee={check:et.types.cloneNode(pe),ref:et.types.cloneNode(H)};Object.defineProperty(Ee,"ref",{enumerable:!1}),u.push(Ee)}let p=n.node;i&&(p=i(p));let d=et.types.isBooleanLiteral(s),m=d&&s.value===!1,g=!d&&et.types.isUnaryExpression(s,{operator:"void"}),f=et.types.isExpressionStatement(n.parent)&&!n.isCompletionRecord()||et.types.isSequenceExpression(n.parent)&&YTe(n.parent.expressions)!==n.node,b=m?r?exe:ZTe:r?QTe:zTe,T=m?"&&":"||",w=u.map(b).reduce((I,N)=>et.types.logicalExpression(T,I,N));n.replaceWith(d||g&&f?et.types.logicalExpression(T,w,p):et.types.conditionalExpression(w,s,p))}function m3(e,t){let{scope:r}=e,n=h3(e),{parentPath:s}=n;if(s.isUnaryExpression({operator:"delete"}))QE(e,t,s,et.types.booleanLiteral(!0));else{let i;s.isCallExpression({callee:n.node})&&e.isOptionalMemberExpression()&&(i=a=>{let o=ea.skipTransparentExprWrapperNodes(a.object),l;return(!t.pureGetters||!Yf(o))&&(l=r.maybeGenerateMemoised(o),l&&(a.object=et.types.assignmentExpression("=",l,o))),et.types.callExpression(et.types.memberExpression(a,et.types.identifier("bind")),[et.types.cloneNode(l!=null?l:o)])}),QE(e,t,e,zE(n)?et.types.booleanLiteral(!1):r.buildUndefinedNode(),i)}}var txe=XTe.declare((e,t)=>{var r,n;e.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");let{loose:s=!1}=t,i=(r=e.assumption("noDocumentAll"))!=null?r:s,a=(n=e.assumption("pureGetters"))!=null?n:s;return{name:"transform-optional-chaining",manipulateOptions:(o,l)=>l.plugins.push("optionalChaining"),visitor:{"OptionalCallExpression|OptionalMemberExpression"(o){m3(o,{noDocumentAll:i,pureGetters:a})}}}});zl.default=txe;zl.transform=m3;zl.transformOptionalChain=QE});var b3=x(Jf=>{"use strict";Object.defineProperty(Jf,"__esModule",{value:!0});Jf.default=void 0;var rxe=Ft(),g3=so(),R3e=Jf.default=(0,rxe.declare)((e,t)=>(e.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta"),(0,g3.createClassFeaturePlugin)({name:"transform-private-methods",api:e,feature:g3.FEATURES.privateMethods,loose:t.loose,manipulateOptions(r,n){n.plugins.push("classPrivateMethods")}})))});var E3=x(zf=>{"use strict";Object.defineProperty(zf,"__esModule",{value:!0});zf.default=void 0;var nxe=Ft(),sxe=(0,nxe.declare)(e=>(e.assertVersion(7),{name:"syntax-json-strings",manipulateOptions(t,r){r.plugins.push("jsonStrings")}}));zf.default=sxe});var T3=x(Qf=>{"use strict";Object.defineProperty(Qf,"__esModule",{value:!0});Qf.default=void 0;var ixe=Ft(),axe=(0,ixe.declare)(e=>(e.assertVersion(7),{name:"syntax-optional-catch-binding",manipulateOptions(t,r){r.plugins.push("optionalCatchBinding")}}));Qf.default=axe});var x3=x(Zf=>{"use strict";Object.defineProperty(Zf,"__esModule",{value:!0});Zf.default=void 0;var oxe=Ft(),lxe=(0,oxe.declare)(e=>(e.assertVersion(7),{name:"syntax-async-generators",manipulateOptions(t,r){r.plugins.push("asyncGenerators")}}));Zf.default=lxe});var S3=x(ed=>{"use strict";Object.defineProperty(ed,"__esModule",{value:!0});ed.default=void 0;var uxe=Ft(),cxe=(0,uxe.declare)(e=>(e.assertVersion(7),{name:"syntax-object-rest-spread",manipulateOptions(t,r){r.plugins.push("objectRestSpread")}}));ed.default=cxe});var v3=x(td=>{"use strict";Object.defineProperty(td,"__esModule",{value:!0});td.default=void 0;var pxe=Ft(),ws=vt(),K3e=td.default=(0,pxe.declare)(e=>(e.assertVersion(7),{name:"transform-export-namespace-from",manipulateOptions:(t,r)=>r.plugins.push("exportNamespaceFrom"),visitor:{ExportNamedDeclaration(t){var r;let{node:n,scope:s}=t,{specifiers:i}=n,a=ws.types.isExportDefaultSpecifier(i[0])?1:0;if(!ws.types.isExportNamespaceSpecifier(i[a]))return;let o=[];a===1&&o.push(ws.types.exportNamedDeclaration(null,[i.shift()],n.source));let l=i.shift(),{exported:u}=l,c=s.generateUidIdentifier((r=u.name)!=null?r:u.value);o.push(ws.types.importDeclaration([ws.types.importNamespaceSpecifier(c)],ws.types.cloneNode(n.source)),ws.types.exportNamedDeclaration(null,[ws.types.exportSpecifier(ws.types.cloneNode(c),u)])),n.specifiers.length>=1&&o.push(n);let[p]=t.replaceWithMultiple(o);t.scope.registerDeclaration(p)}}}))});var C3=x(eT=>{"use strict";Object.defineProperty(eT,"__esModule",{value:!0});eT.default=Txe;var fxe=mE(),dxe=Ft(),ae=vt(),ZE=Z0(),hxe=cf(),Ql={importSource:"react",runtime:"automatic",pragma:"React.createElement",pragmaFrag:"React.Fragment"},mxe=/^\s*(?:\*\s*)?@jsxImportSource\s+(\S+)\s*$/m,yxe=/^\s*(?:\*\s*)?@jsxRuntime\s+(\S+)\s*$/m,gxe=/^\s*(?:\*\s*)?@jsx\s+(\S+)\s*$/m,bxe=/^\s*(?:\*\s*)?@jsxFrag\s+(\S+)\s*$/m,Is=(e,t)=>e.get(`@babel/plugin-react-jsx/${t}`),oi=(e,t,r)=>e.set(`@babel/plugin-react-jsx/${t}`,r);function Exe(e){return e.properties.some(t=>ae.types.isObjectProperty(t,{computed:!1,shorthand:!1})&&(ae.types.isIdentifier(t.key,{name:"__proto__"})||ae.types.isStringLiteral(t.key,{value:"__proto__"})))}function Txe({name:e,development:t}){return(0,dxe.declare)((s,i)=>{let{pure:a,throwIfNamespace:o=!0,filter:l,runtime:u=t?"automatic":"classic",importSource:c=Ql.importSource,pragma:p=Ql.pragma,pragmaFrag:d=Ql.pragmaFrag}=i;{var{useSpread:m=!1,useBuiltIns:g=!1}=i;if(u==="classic"){if(typeof m!="boolean")throw new Error("transform-react-jsx currently only accepts a boolean option for useSpread (defaults to false)");if(typeof g!="boolean")throw new Error("transform-react-jsx currently only accepts a boolean option for useBuiltIns (defaults to false)");if(m&&g)throw new Error("transform-react-jsx currently only accepts useBuiltIns or useSpread but not both")}}let f={JSXOpeningElement(J,se){let V=[];T(J.scope)&&V.push(ae.types.jsxAttribute(ae.types.jsxIdentifier("__self"),ae.types.jsxExpressionContainer(ae.types.thisExpression()))),V.push(ae.types.jsxAttribute(ae.types.jsxIdentifier("__source"),ae.types.jsxExpressionContainer(xxe(J,se)))),J.pushContainer("attributes",V)}};return{name:e,inherits:fxe.default,visitor:{JSXNamespacedName(J){if(o)throw J.buildCodeFrameError("Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set `throwIfNamespace: false` to bypass this warning.")},JSXSpreadChild(J){throw J.buildCodeFrameError("Spread children are not supported in React.")},Program:{enter(J,se){let{file:V}=se,G=u,j=c,re=p,de=d,ye=!!i.importSource,Te=!!i.pragma,he=!!i.pragmaFrag;if(V.ast.comments)for(let De of V.ast.comments){let we=mxe.exec(De.value);we&&(j=we[1],ye=!0);let Ve=yxe.exec(De.value);Ve&&(G=Ve[1]);let pt=gxe.exec(De.value);pt&&(re=pt[1],Te=!0);let ut=bxe.exec(De.value);ut&&(de=ut[1],he=!0)}if(oi(se,"runtime",G),G==="classic"){if(ye)throw J.buildCodeFrameError("importSource cannot be set when runtime is classic.");let De=P3(re),we=P3(de);oi(se,"id/createElement",()=>ae.types.cloneNode(De)),oi(se,"id/fragment",()=>ae.types.cloneNode(we)),oi(se,"defaultPure",re===Ql.pragma)}else if(G==="automatic"){if(Te||he)throw J.buildCodeFrameError("pragma and pragmaFrag cannot be set when runtime is automatic.");let De=(we,Ve)=>oi(se,we,n(se,J,Ve,j));De("id/jsx",t?"jsxDEV":"jsx"),De("id/jsxs",t?"jsxDEV":"jsxs"),De("id/createElement","createElement"),De("id/fragment","Fragment"),oi(se,"defaultPure",j===Ql.importSource)}else throw J.buildCodeFrameError('Runtime must be either "classic" or "automatic".');t&&J.traverse(f,se)}},JSXFragment:{exit(J,se){let V;Is(se,"runtime")==="classic"?V=ce(J,se):V=Ee(J,se),J.replaceWith(ae.types.inherits(V,J.node))}},JSXElement:{exit(J,se){let V;Is(se,"runtime")==="classic"||I(J)?V=qe(J,se):V=H(J,se),J.replaceWith(ae.types.inherits(V,J.node))}},JSXAttribute(J){ae.types.isJSXElement(J.node.value)&&(J.node.value=ae.types.jsxExpressionContainer(J.node.value))}}};function b(J){return J.node.superClass!==null}function T(J){do{let{path:se}=J;if(se.isFunctionParent()&&!se.isArrowFunctionExpression())return!se.isMethod()||se.node.kind!=="constructor"?!0:!b(se.parentPath.parentPath);if(se.isTSModuleBlock())return!1}while(J=J.parent);return!0}function w(J,se,V){let G=ae.types.callExpression(Is(J,`id/${se}`)(),V);return(a!=null?a:Is(J,"defaultPure"))&&(0,hxe.default)(G),G}function I(J){let V=J.get("openingElement").node.attributes,G=!1;for(let j=0;j<V.length;j++){let re=V[j];if(G&&ae.types.isJSXAttribute(re)&&re.name.name==="key")return!0;ae.types.isJSXSpreadAttribute(re)&&(G=!0)}return!1}function N(J,se){return ae.types.isJSXIdentifier(J)?J.name==="this"&&ae.types.isReferenced(J,se)?ae.types.thisExpression():ae.types.isValidIdentifier(J.name,!1)?(J.type="Identifier",J):ae.types.stringLiteral(J.name):ae.types.isJSXMemberExpression(J)?ae.types.memberExpression(N(J.object,J),N(J.property,J)):ae.types.isJSXNamespacedName(J)?ae.types.stringLiteral(`${J.namespace.name}:${J.name.name}`):J}function L(J){return ae.types.isJSXExpressionContainer(J)?J.expression:J}function W(J,se){if(ae.types.isJSXSpreadAttribute(se.node)){let j=se.node.argument;return ae.types.isObjectExpression(j)&&!Exe(j)?J.push(...j.properties):J.push(ae.types.spreadElement(j)),J}let V=L(se.node.name.name!=="key"?se.node.value||ae.types.booleanLiteral(!0):se.node.value);if(se.node.name.name==="key"&&V===null)throw se.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.');if(ae.types.isStringLiteral(V)&&!ae.types.isJSXExpressionContainer(se.node.value)){var G;V.value=V.value.replace(/\n\s+/g," "),(G=V.extra)==null||delete G.raw}return ae.types.isJSXNamespacedName(se.node.name)?se.node.name=ae.types.stringLiteral(se.node.name.namespace.name+":"+se.node.name.name.name):ae.types.isValidIdentifier(se.node.name.name,!1)?se.node.name.type="Identifier":se.node.name=ae.types.stringLiteral(se.node.name.name),J.push(ae.types.inherits(ae.types.objectProperty(se.node.name,V),se.node)),J}function U(J){let se;if(J.length===1)se=J[0];else if(J.length>1)se=ae.types.arrayExpression(J);else return;return ae.types.objectProperty(ae.types.identifier("children"),se)}function H(J,se){let V=J.get("openingElement"),G=[ze(V)],j=[],re=Object.create(null);for(let he of V.get("attributes"))if(he.isJSXAttribute()&&ae.types.isJSXIdentifier(he.node.name)){let{name:De}=he.node.name;switch(De){case"__source":case"__self":if(re[De])throw A3(J,De);case"key":{let we=L(he.node.value);if(we===null)throw he.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.');re[De]=we;break}default:j.push(he)}}else j.push(he);let de=ae.types.react.buildChildren(J.node),ye;if(j.length||de.length?ye=pe(j,de):ye=ae.types.objectExpression([]),G.push(ye),t){var Te;G.push((Te=re.key)!=null?Te:J.scope.buildUndefinedNode(),ae.types.booleanLiteral(de.length>1)),re.__source?(G.push(re.__source),re.__self&&G.push(re.__self)):re.__self&&G.push(J.scope.buildUndefinedNode(),re.__self)}else re.key!==void 0&&G.push(re.key);return w(se,de.length>1?"jsxs":"jsx",G)}function pe(J,se){let V=J.reduce(W,[]);return(se==null?void 0:se.length)>0&&V.push(U(se)),ae.types.objectExpression(V)}function Ee(J,se){let V=[Is(se,"id/fragment")()],G=ae.types.react.buildChildren(J.node);return V.push(ae.types.objectExpression(G.length>0?[U(G)]:[])),t&&V.push(J.scope.buildUndefinedNode(),ae.types.booleanLiteral(G.length>1)),w(se,G.length>1?"jsxs":"jsx",V)}function ce(J,se){if(!(l&&!l(J.node,se)))return w(se,"createElement",[Is(se,"id/fragment")(),ae.types.nullLiteral(),...ae.types.react.buildChildren(J.node)])}function qe(J,se){let V=J.get("openingElement");return w(se,"createElement",[ze(V),Ot(se,J,V.get("attributes")),...ae.types.react.buildChildren(J.node)])}function ze(J){let se=N(J.node.name,J.node),V;return ae.types.isIdentifier(se)?V=se.name:ae.types.isStringLiteral(se)&&(V=se.value),ae.types.react.isCompatTag(V)?ae.types.stringLiteral(V):se}function Ot(J,se,V){let G=Is(J,"runtime");if(G!=="automatic"){let de=[],ye=V.reduce(W,[]);if(m)ye.length&&de.push(ae.types.objectExpression(ye));else{let he=0;ye.forEach((De,we)=>{ae.types.isSpreadElement(De)&&(we>he&&de.push(ae.types.objectExpression(ye.slice(he,we))),de.push(De.argument),he=we+1)}),ye.length>he&&de.push(ae.types.objectExpression(ye.slice(he)))}if(!de.length)return ae.types.nullLiteral();if(de.length===1&&!(ae.types.isSpreadElement(ye[0])&&ae.types.isObjectExpression(ye[0].argument)))return de[0];ae.types.isObjectExpression(de[0])||de.unshift(ae.types.objectExpression([]));let Te=g?ae.types.memberExpression(ae.types.identifier("Object"),ae.types.identifier("assign")):J.addHelper("extends");return ae.types.callExpression(Te,de)}let j=[],re=Object.create(null);for(let de of V){let{node:ye}=de,Te=ae.types.isJSXAttribute(ye)&&ae.types.isJSXIdentifier(ye.name)&&ye.name.name;if(G==="automatic"&&(Te==="__source"||Te==="__self")){if(re[Te])throw A3(se,Te);re[Te]=!0}W(j,de)}return j.length===1&&ae.types.isSpreadElement(j[0])&&!ae.types.isObjectExpression(j[0].argument)?j[0].argument:j.length>0?ae.types.objectExpression(j):ae.types.nullLiteral()}});function r(s,i){switch(i){case"Fragment":return`${s}/${t?"jsx-dev-runtime":"jsx-runtime"}`;case"jsxDEV":return`${s}/jsx-dev-runtime`;case"jsx":case"jsxs":return`${s}/jsx-runtime`;case"createElement":return s}}function n(s,i,a,o){return()=>{let l=r(o,a);if((0,ZE.isModule)(i)){let u=Is(s,`imports/${a}`);return u?ae.types.cloneNode(u):(u=(0,ZE.addNamed)(i,a,l,{importedInterop:"uncompiled",importPosition:"after"}),oi(s,`imports/${a}`,u),u)}else{let u=Is(s,`requires/${l}`);return u?u=ae.types.cloneNode(u):(u=(0,ZE.addNamespace)(i,l,{importedInterop:"uncompiled"}),oi(s,`requires/${l}`,u)),ae.types.memberExpression(u,ae.types.identifier(a))}}}}function P3(e){return e.split(".").map(t=>ae.types.identifier(t)).reduce((t,r)=>ae.types.memberExpression(t,r))}function xxe(e,t){let r=e.node.loc;if(!r)return e.scope.buildUndefinedNode();if(!t.fileNameIdentifier){let{filename:n=""}=t,s=e.scope.generateUidIdentifier("_jsxFileName");e.scope.getProgramParent().push({id:s,init:ae.types.stringLiteral(n)}),t.fileNameIdentifier=s}return Sxe(ae.types.cloneNode(t.fileNameIdentifier),r.start.line,r.start.column)}function Sxe(e,t,r){let n=t!=null?ae.types.numericLiteral(t):ae.types.nullLiteral(),s=r!=null?ae.types.numericLiteral(r+1):ae.types.nullLiteral();return ae.template.expression.ast`{
|
|
458
458
|
fileName: ${e},
|
|
459
459
|
lineNumber: ${n},
|
|
460
460
|
columnNumber: ${s},
|