462 lines
1.3 MiB
462 lines
1.3 MiB
"use strict";var L3=Object.create;var tu=Object.defineProperty;var j3=Object.getOwnPropertyDescriptor;var M3=Object.getOwnPropertyNames;var R3=Object.getPrototypeOf,q3=Object.prototype.hasOwnProperty;var x=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),U3=(e,t)=>{for(var r in t)tu(e,r,{get:t[r],enumerable:!0})},oT=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of M3(t))!q3.call(e,s)&&s!==r&&tu(e,s,{get:()=>t[s],enumerable:!(n=j3(t,s))||n.enumerable});return e};var ci=(e,t,r)=>(r=e!=null?L3(R3(e)):{},oT(t||!e||!e.__esModule?tu(r,"default",{value:e,enumerable:!0}):r,e)),V3=e=>oT(tu({},"__esModule",{value:!0}),e);var ru=x(ld=>{"use strict";Object.defineProperty(ld,"__esModule",{value:!0});ld.default=$3;function $3(e,t){let r=Object.keys(t);for(let n of r)if(e[n]!==t[n])return!1;return!0}});var na=x(ud=>{"use strict";Object.defineProperty(ud,"__esModule",{value:!0});ud.default=W3;var lT=new Set;function W3(e,t,r="",n=e){if(lT.has(n))return;lT.add(n);let{internal:s,trace:i}=K3(1,2);s||console.warn(`${r}\`${e}\` has been deprecated, please migrate to \`${t}\`
|
|
${i}`)}function K3(e,t){let{stackTraceLimit:r,prepareStackTrace:n}=Error,s;if(Error.stackTraceLimit=1+e+t,Error.prepareStackTrace=function(a,o){s=o},new Error().stack,Error.stackTraceLimit=r,Error.prepareStackTrace=n,!s)return{internal:!1,trace:""};let i=s.slice(1+e,1+e+t);return{internal:/[\\/]@babel[\\/]/.test(i[1].getFileName()),trace:i.map(a=>` at ${a}`).join(`
|
|
`)}}});var Wt=x(S=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0});S.isAccessor=uL;S.isAnyTypeAnnotation=Dk;S.isArgumentPlaceholder=r4;S.isArrayExpression=H3;S.isArrayPattern=WB;S.isArrayTypeAnnotation=wk;S.isArrowFunctionExpression=KB;S.isAssignmentExpression=G3;S.isAssignmentPattern=$B;S.isAwaitExpression=hk;S.isBigIntLiteral=yk;S.isBinary=N8;S.isBinaryExpression=X3;S.isBindExpression=n4;S.isBlock=k8;S.isBlockParent=B8;S.isBlockStatement=Q3;S.isBooleanLiteral=EB;S.isBooleanLiteralTypeAnnotation=_k;S.isBooleanTypeAnnotation=Ik;S.isBreakStatement=Z3;S.isCallExpression=eB;S.isCatchClause=tB;S.isClass=aL;S.isClassAccessorProperty=xk;S.isClassBody=HB;S.isClassDeclaration=XB;S.isClassExpression=GB;S.isClassImplements=Ok;S.isClassMethod=ak;S.isClassPrivateMethod=vk;S.isClassPrivateProperty=Sk;S.isClassProperty=Tk;S.isCompletionStatement=j8;S.isConditional=M8;S.isConditionalExpression=rB;S.isContinueStatement=nB;S.isDebuggerStatement=sB;S.isDecimalLiteral=u4;S.isDeclaration=G8;S.isDeclareClass=Bk;S.isDeclareExportAllDeclaration=Vk;S.isDeclareExportDeclaration=Uk;S.isDeclareFunction=kk;S.isDeclareInterface=Fk;S.isDeclareModule=Lk;S.isDeclareModuleExports=jk;S.isDeclareOpaqueType=Rk;S.isDeclareTypeAlias=Mk;S.isDeclareVariable=qk;S.isDeclaredPredicate=$k;S.isDecorator=s4;S.isDirective=J3;S.isDirectiveLiteral=z3;S.isDoExpression=i4;S.isDoWhileStatement=iB;S.isEmptyStatement=aB;S.isEmptyTypeAnnotation=eF;S.isEnumBody=yL;S.isEnumBooleanBody=wF;S.isEnumBooleanMember=OF;S.isEnumDeclaration=DF;S.isEnumDefaultedMember=FF;S.isEnumMember=gL;S.isEnumNumberBody=IF;S.isEnumNumberMember=BF;S.isEnumStringBody=_F;S.isEnumStringMember=kF;S.isEnumSymbolBody=NF;S.isExistsTypeAnnotation=Wk;S.isExportAllDeclaration=YB;S.isExportDeclaration=oL;S.isExportDefaultDeclaration=JB;S.isExportDefaultSpecifier=a4;S.isExportNamedDeclaration=zB;S.isExportNamespaceSpecifier=gk;S.isExportSpecifier=QB;S.isExpression=_8;S.isExpressionStatement=oB;S.isExpressionWrapper=U8;S.isFile=lB;S.isFlow=pL;S.isFlowBaseAnnotation=dL;S.isFlowDeclaration=hL;S.isFlowPredicate=mL;S.isFlowType=fL;S.isFor=V8;S.isForInStatement=uB;S.isForOfStatement=ZB;S.isForStatement=cB;S.isForXStatement=$8;S.isFunction=W8;S.isFunctionDeclaration=pB;S.isFunctionExpression=fB;S.isFunctionParameter=X8;S.isFunctionParent=K8;S.isFunctionTypeAnnotation=Kk;S.isFunctionTypeParam=Hk;S.isGenericTypeAnnotation=Gk;S.isIdentifier=dB;S.isIfStatement=hB;S.isImmutable=Z8;S.isImport=mk;S.isImportAttribute=Ck;S.isImportDeclaration=ek;S.isImportDefaultSpecifier=tk;S.isImportExpression=sk;S.isImportNamespaceSpecifier=rk;S.isImportOrExportDeclaration=uT;S.isImportSpecifier=nk;S.isIndexedAccessType=LF;S.isInferredPredicate=Xk;S.isInterfaceDeclaration=Jk;S.isInterfaceExtends=Yk;S.isInterfaceTypeAnnotation=zk;S.isInterpreterDirective=Y3;S.isIntersectionTypeAnnotation=Qk;S.isJSX=bL;S.isJSXAttribute=MF;S.isJSXClosingElement=RF;S.isJSXClosingFragment=QF;S.isJSXElement=qF;S.isJSXEmptyExpression=UF;S.isJSXExpressionContainer=VF;S.isJSXFragment=JF;S.isJSXIdentifier=WF;S.isJSXMemberExpression=KF;S.isJSXNamespacedName=HF;S.isJSXOpeningElement=GF;S.isJSXOpeningFragment=zF;S.isJSXSpreadAttribute=XF;S.isJSXSpreadChild=$F;S.isJSXText=YF;S.isLVal=J8;S.isLabeledStatement=mB;S.isLiteral=Q8;S.isLogicalExpression=xB;S.isLoop=R8;S.isMemberExpression=SB;S.isMetaProperty=ik;S.isMethod=tL;S.isMiscellaneous=EL;S.isMixedTypeAnnotation=Zk;S.isModuleDeclaration=wL;S.isModuleExpression=c4;S.isModuleSpecifier=lL;S.isNewExpression=vB;S.isNoop=ZF;S.isNullLiteral=bB;S.isNullLiteralTypeAnnotation=Nk;S.isNullableTypeAnnotation=tF;S.isNumberLiteral=PL;S.isNumberLiteralTypeAnnotation=rF;S.isNumberTypeAnnotation=nF;S.isNumericLiteral=gB;S.isObjectExpression=AB;S.isObjectMember=rL;S.isObjectMethod=CB;S.isObjectPattern=ok;S.isObjectProperty=DB;S.isObjectTypeAnnotation=sF;S.isObjectTypeCallProperty=aF;S.isObjectTypeIndexer=oF;S.isObjectTypeInternalSlot=iF;S.isObjectTypeProperty=lF;S.isObjectTypeSpreadProperty=uF;S.isOpaqueType=cF;S.isOptionalCallExpression=Ek;S.isOptionalIndexedAccessType=jF;S.isOptionalMemberExpression=bk;S.isParenthesizedExpression=NB;S.isPattern=iL;S.isPatternLike=Y8;S.isPipelineBareFunction=d4;S.isPipelinePrimaryTopicReference=h4;S.isPipelineTopicExpression=f4;S.isPlaceholder=e4;S.isPrivate=cL;S.isPrivateName=Pk;S.isProgram=PB;S.isProperty=nL;S.isPureish=H8;S.isQualifiedTypeIdentifier=pF;S.isRecordExpression=o4;S.isRegExpLiteral=TB;S.isRegexLiteral=AL;S.isRestElement=wB;S.isRestProperty=CL;S.isReturnStatement=IB;S.isScopable=O8;S.isSequenceExpression=_B;S.isSpreadElement=lk;S.isSpreadProperty=DL;S.isStandardized=I8;S.isStatement=F8;S.isStaticBlock=Ak;S.isStringLiteral=yB;S.isStringLiteralTypeAnnotation=fF;S.isStringTypeAnnotation=dF;S.isSuper=uk;S.isSwitchCase=OB;S.isSwitchStatement=BB;S.isSymbolTypeAnnotation=hF;S.isTSAnyKeyword=A4;S.isTSArrayType=K4;S.isTSAsExpression=p8;S.isTSBaseType=vL;S.isTSBigIntKeyword=D4;S.isTSBooleanKeyword=C4;S.isTSCallSignatureDeclaration=T4;S.isTSConditionalType=Q4;S.isTSConstructSignatureDeclaration=x4;S.isTSConstructorType=q4;S.isTSDeclareFunction=g4;S.isTSDeclareMethod=b4;S.isTSEntityName=z8;S.isTSEnumBody=h8;S.isTSEnumDeclaration=m8;S.isTSEnumMember=y8;S.isTSExportAssignment=v8;S.isTSExpressionWithTypeArguments=a8;S.isTSExternalModuleReference=x8;S.isTSFunctionType=R4;S.isTSImportEqualsDeclaration=T8;S.isTSImportType=E8;S.isTSIndexSignature=P4;S.isTSIndexedAccessType=r8;S.isTSInferType=Z4;S.isTSInstantiationExpression=c8;S.isTSInterfaceBody=l8;S.isTSInterfaceDeclaration=o8;S.isTSIntersectionType=z4;S.isTSIntrinsicKeyword=w4;S.isTSLiteralType=i8;S.isTSMappedType=n8;S.isTSMethodSignature=v4;S.isTSModuleBlock=b8;S.isTSModuleDeclaration=g8;S.isTSNamedTupleMember=Y4;S.isTSNamespaceExportDeclaration=P8;S.isTSNeverKeyword=I4;S.isTSNonNullExpression=S8;S.isTSNullKeyword=_4;S.isTSNumberKeyword=N4;S.isTSObjectKeyword=O4;S.isTSOptionalType=G4;S.isTSParameterProperty=y4;S.isTSParenthesizedType=e8;S.isTSPropertySignature=S4;S.isTSQualifiedName=E4;S.isTSRestType=X4;S.isTSSatisfiesExpression=f8;S.isTSStringKeyword=B4;S.isTSSymbolKeyword=k4;S.isTSTemplateLiteralType=s8;S.isTSThisType=M4;S.isTSTupleType=H4;S.isTSType=SL;S.isTSTypeAliasDeclaration=u8;S.isTSTypeAnnotation=A8;S.isTSTypeAssertion=d8;S.isTSTypeElement=xL;S.isTSTypeLiteral=W4;S.isTSTypeOperator=t8;S.isTSTypeParameter=w8;S.isTSTypeParameterDeclaration=D8;S.isTSTypeParameterInstantiation=C8;S.isTSTypePredicate=V4;S.isTSTypeQuery=$4;S.isTSTypeReference=U4;S.isTSUndefinedKeyword=F4;S.isTSUnionType=J4;S.isTSUnknownKeyword=L4;S.isTSVoidKeyword=j4;S.isTaggedTemplateExpression=ck;S.isTemplateElement=pk;S.isTemplateLiteral=fk;S.isTerminatorless=L8;S.isThisExpression=kB;S.isThisTypeAnnotation=mF;S.isThrowStatement=FB;S.isTopicReference=p4;S.isTryStatement=LB;S.isTupleExpression=l4;S.isTupleTypeAnnotation=yF;S.isTypeAlias=bF;S.isTypeAnnotation=EF;S.isTypeCastExpression=TF;S.isTypeParameter=xF;S.isTypeParameterDeclaration=SF;S.isTypeParameterInstantiation=vF;S.isTypeScript=TL;S.isTypeofTypeAnnotation=gF;S.isUnaryExpression=jB;S.isUnaryLike=sL;S.isUnionTypeAnnotation=PF;S.isUpdateExpression=MB;S.isUserWhitespacable=eL;S.isV8IntrinsicIdentifier=t4;S.isVariableDeclaration=RB;S.isVariableDeclarator=qB;S.isVariance=AF;S.isVoidPattern=m4;S.isVoidTypeAnnotation=CF;S.isWhile=q8;S.isWhileStatement=UB;S.isWithStatement=VB;S.isYieldExpression=dk;var A=ru(),mo=na();function H3(e,t){return!e||e.type!=="ArrayExpression"?!1:t==null||(0,A.default)(e,t)}function G3(e,t){return!e||e.type!=="AssignmentExpression"?!1:t==null||(0,A.default)(e,t)}function X3(e,t){return!e||e.type!=="BinaryExpression"?!1:t==null||(0,A.default)(e,t)}function Y3(e,t){return!e||e.type!=="InterpreterDirective"?!1:t==null||(0,A.default)(e,t)}function J3(e,t){return!e||e.type!=="Directive"?!1:t==null||(0,A.default)(e,t)}function z3(e,t){return!e||e.type!=="DirectiveLiteral"?!1:t==null||(0,A.default)(e,t)}function Q3(e,t){return!e||e.type!=="BlockStatement"?!1:t==null||(0,A.default)(e,t)}function Z3(e,t){return!e||e.type!=="BreakStatement"?!1:t==null||(0,A.default)(e,t)}function eB(e,t){return!e||e.type!=="CallExpression"?!1:t==null||(0,A.default)(e,t)}function tB(e,t){return!e||e.type!=="CatchClause"?!1:t==null||(0,A.default)(e,t)}function rB(e,t){return!e||e.type!=="ConditionalExpression"?!1:t==null||(0,A.default)(e,t)}function nB(e,t){return!e||e.type!=="ContinueStatement"?!1:t==null||(0,A.default)(e,t)}function sB(e,t){return!e||e.type!=="DebuggerStatement"?!1:t==null||(0,A.default)(e,t)}function iB(e,t){return!e||e.type!=="DoWhileStatement"?!1:t==null||(0,A.default)(e,t)}function aB(e,t){return!e||e.type!=="EmptyStatement"?!1:t==null||(0,A.default)(e,t)}function oB(e,t){return!e||e.type!=="ExpressionStatement"?!1:t==null||(0,A.default)(e,t)}function lB(e,t){return!e||e.type!=="File"?!1:t==null||(0,A.default)(e,t)}function uB(e,t){return!e||e.type!=="ForInStatement"?!1:t==null||(0,A.default)(e,t)}function cB(e,t){return!e||e.type!=="ForStatement"?!1:t==null||(0,A.default)(e,t)}function pB(e,t){return!e||e.type!=="FunctionDeclaration"?!1:t==null||(0,A.default)(e,t)}function fB(e,t){return!e||e.type!=="FunctionExpression"?!1:t==null||(0,A.default)(e,t)}function dB(e,t){return!e||e.type!=="Identifier"?!1:t==null||(0,A.default)(e,t)}function hB(e,t){return!e||e.type!=="IfStatement"?!1:t==null||(0,A.default)(e,t)}function mB(e,t){return!e||e.type!=="LabeledStatement"?!1:t==null||(0,A.default)(e,t)}function yB(e,t){return!e||e.type!=="StringLiteral"?!1:t==null||(0,A.default)(e,t)}function gB(e,t){return!e||e.type!=="NumericLiteral"?!1:t==null||(0,A.default)(e,t)}function bB(e,t){return!e||e.type!=="NullLiteral"?!1:t==null||(0,A.default)(e,t)}function EB(e,t){return!e||e.type!=="BooleanLiteral"?!1:t==null||(0,A.default)(e,t)}function TB(e,t){return!e||e.type!=="RegExpLiteral"?!1:t==null||(0,A.default)(e,t)}function xB(e,t){return!e||e.type!=="LogicalExpression"?!1:t==null||(0,A.default)(e,t)}function SB(e,t){return!e||e.type!=="MemberExpression"?!1:t==null||(0,A.default)(e,t)}function vB(e,t){return!e||e.type!=="NewExpression"?!1:t==null||(0,A.default)(e,t)}function PB(e,t){return!e||e.type!=="Program"?!1:t==null||(0,A.default)(e,t)}function AB(e,t){return!e||e.type!=="ObjectExpression"?!1:t==null||(0,A.default)(e,t)}function CB(e,t){return!e||e.type!=="ObjectMethod"?!1:t==null||(0,A.default)(e,t)}function DB(e,t){return!e||e.type!=="ObjectProperty"?!1:t==null||(0,A.default)(e,t)}function wB(e,t){return!e||e.type!=="RestElement"?!1:t==null||(0,A.default)(e,t)}function IB(e,t){return!e||e.type!=="ReturnStatement"?!1:t==null||(0,A.default)(e,t)}function _B(e,t){return!e||e.type!=="SequenceExpression"?!1:t==null||(0,A.default)(e,t)}function NB(e,t){return!e||e.type!=="ParenthesizedExpression"?!1:t==null||(0,A.default)(e,t)}function OB(e,t){return!e||e.type!=="SwitchCase"?!1:t==null||(0,A.default)(e,t)}function BB(e,t){return!e||e.type!=="SwitchStatement"?!1:t==null||(0,A.default)(e,t)}function kB(e,t){return!e||e.type!=="ThisExpression"?!1:t==null||(0,A.default)(e,t)}function FB(e,t){return!e||e.type!=="ThrowStatement"?!1:t==null||(0,A.default)(e,t)}function LB(e,t){return!e||e.type!=="TryStatement"?!1:t==null||(0,A.default)(e,t)}function jB(e,t){return!e||e.type!=="UnaryExpression"?!1:t==null||(0,A.default)(e,t)}function MB(e,t){return!e||e.type!=="UpdateExpression"?!1:t==null||(0,A.default)(e,t)}function RB(e,t){return!e||e.type!=="VariableDeclaration"?!1:t==null||(0,A.default)(e,t)}function qB(e,t){return!e||e.type!=="VariableDeclarator"?!1:t==null||(0,A.default)(e,t)}function UB(e,t){return!e||e.type!=="WhileStatement"?!1:t==null||(0,A.default)(e,t)}function VB(e,t){return!e||e.type!=="WithStatement"?!1:t==null||(0,A.default)(e,t)}function $B(e,t){return!e||e.type!=="AssignmentPattern"?!1:t==null||(0,A.default)(e,t)}function WB(e,t){return!e||e.type!=="ArrayPattern"?!1:t==null||(0,A.default)(e,t)}function KB(e,t){return!e||e.type!=="ArrowFunctionExpression"?!1:t==null||(0,A.default)(e,t)}function HB(e,t){return!e||e.type!=="ClassBody"?!1:t==null||(0,A.default)(e,t)}function GB(e,t){return!e||e.type!=="ClassExpression"?!1:t==null||(0,A.default)(e,t)}function XB(e,t){return!e||e.type!=="ClassDeclaration"?!1:t==null||(0,A.default)(e,t)}function YB(e,t){return!e||e.type!=="ExportAllDeclaration"?!1:t==null||(0,A.default)(e,t)}function JB(e,t){return!e||e.type!=="ExportDefaultDeclaration"?!1:t==null||(0,A.default)(e,t)}function zB(e,t){return!e||e.type!=="ExportNamedDeclaration"?!1:t==null||(0,A.default)(e,t)}function QB(e,t){return!e||e.type!=="ExportSpecifier"?!1:t==null||(0,A.default)(e,t)}function ZB(e,t){return!e||e.type!=="ForOfStatement"?!1:t==null||(0,A.default)(e,t)}function ek(e,t){return!e||e.type!=="ImportDeclaration"?!1:t==null||(0,A.default)(e,t)}function tk(e,t){return!e||e.type!=="ImportDefaultSpecifier"?!1:t==null||(0,A.default)(e,t)}function rk(e,t){return!e||e.type!=="ImportNamespaceSpecifier"?!1:t==null||(0,A.default)(e,t)}function nk(e,t){return!e||e.type!=="ImportSpecifier"?!1:t==null||(0,A.default)(e,t)}function sk(e,t){return!e||e.type!=="ImportExpression"?!1:t==null||(0,A.default)(e,t)}function ik(e,t){return!e||e.type!=="MetaProperty"?!1:t==null||(0,A.default)(e,t)}function ak(e,t){return!e||e.type!=="ClassMethod"?!1:t==null||(0,A.default)(e,t)}function ok(e,t){return!e||e.type!=="ObjectPattern"?!1:t==null||(0,A.default)(e,t)}function lk(e,t){return!e||e.type!=="SpreadElement"?!1:t==null||(0,A.default)(e,t)}function uk(e,t){return!e||e.type!=="Super"?!1:t==null||(0,A.default)(e,t)}function ck(e,t){return!e||e.type!=="TaggedTemplateExpression"?!1:t==null||(0,A.default)(e,t)}function pk(e,t){return!e||e.type!=="TemplateElement"?!1:t==null||(0,A.default)(e,t)}function fk(e,t){return!e||e.type!=="TemplateLiteral"?!1:t==null||(0,A.default)(e,t)}function dk(e,t){return!e||e.type!=="YieldExpression"?!1:t==null||(0,A.default)(e,t)}function hk(e,t){return!e||e.type!=="AwaitExpression"?!1:t==null||(0,A.default)(e,t)}function mk(e,t){return!e||e.type!=="Import"?!1:t==null||(0,A.default)(e,t)}function yk(e,t){return!e||e.type!=="BigIntLiteral"?!1:t==null||(0,A.default)(e,t)}function gk(e,t){return!e||e.type!=="ExportNamespaceSpecifier"?!1:t==null||(0,A.default)(e,t)}function bk(e,t){return!e||e.type!=="OptionalMemberExpression"?!1:t==null||(0,A.default)(e,t)}function Ek(e,t){return!e||e.type!=="OptionalCallExpression"?!1:t==null||(0,A.default)(e,t)}function Tk(e,t){return!e||e.type!=="ClassProperty"?!1:t==null||(0,A.default)(e,t)}function xk(e,t){return!e||e.type!=="ClassAccessorProperty"?!1:t==null||(0,A.default)(e,t)}function Sk(e,t){return!e||e.type!=="ClassPrivateProperty"?!1:t==null||(0,A.default)(e,t)}function vk(e,t){return!e||e.type!=="ClassPrivateMethod"?!1:t==null||(0,A.default)(e,t)}function Pk(e,t){return!e||e.type!=="PrivateName"?!1:t==null||(0,A.default)(e,t)}function Ak(e,t){return!e||e.type!=="StaticBlock"?!1:t==null||(0,A.default)(e,t)}function Ck(e,t){return!e||e.type!=="ImportAttribute"?!1:t==null||(0,A.default)(e,t)}function Dk(e,t){return!e||e.type!=="AnyTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function wk(e,t){return!e||e.type!=="ArrayTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function Ik(e,t){return!e||e.type!=="BooleanTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function _k(e,t){return!e||e.type!=="BooleanLiteralTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function Nk(e,t){return!e||e.type!=="NullLiteralTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function Ok(e,t){return!e||e.type!=="ClassImplements"?!1:t==null||(0,A.default)(e,t)}function Bk(e,t){return!e||e.type!=="DeclareClass"?!1:t==null||(0,A.default)(e,t)}function kk(e,t){return!e||e.type!=="DeclareFunction"?!1:t==null||(0,A.default)(e,t)}function Fk(e,t){return!e||e.type!=="DeclareInterface"?!1:t==null||(0,A.default)(e,t)}function Lk(e,t){return!e||e.type!=="DeclareModule"?!1:t==null||(0,A.default)(e,t)}function jk(e,t){return!e||e.type!=="DeclareModuleExports"?!1:t==null||(0,A.default)(e,t)}function Mk(e,t){return!e||e.type!=="DeclareTypeAlias"?!1:t==null||(0,A.default)(e,t)}function Rk(e,t){return!e||e.type!=="DeclareOpaqueType"?!1:t==null||(0,A.default)(e,t)}function qk(e,t){return!e||e.type!=="DeclareVariable"?!1:t==null||(0,A.default)(e,t)}function Uk(e,t){return!e||e.type!=="DeclareExportDeclaration"?!1:t==null||(0,A.default)(e,t)}function Vk(e,t){return!e||e.type!=="DeclareExportAllDeclaration"?!1:t==null||(0,A.default)(e,t)}function $k(e,t){return!e||e.type!=="DeclaredPredicate"?!1:t==null||(0,A.default)(e,t)}function Wk(e,t){return!e||e.type!=="ExistsTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function Kk(e,t){return!e||e.type!=="FunctionTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function Hk(e,t){return!e||e.type!=="FunctionTypeParam"?!1:t==null||(0,A.default)(e,t)}function Gk(e,t){return!e||e.type!=="GenericTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function Xk(e,t){return!e||e.type!=="InferredPredicate"?!1:t==null||(0,A.default)(e,t)}function Yk(e,t){return!e||e.type!=="InterfaceExtends"?!1:t==null||(0,A.default)(e,t)}function Jk(e,t){return!e||e.type!=="InterfaceDeclaration"?!1:t==null||(0,A.default)(e,t)}function zk(e,t){return!e||e.type!=="InterfaceTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function Qk(e,t){return!e||e.type!=="IntersectionTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function Zk(e,t){return!e||e.type!=="MixedTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function eF(e,t){return!e||e.type!=="EmptyTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function tF(e,t){return!e||e.type!=="NullableTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function rF(e,t){return!e||e.type!=="NumberLiteralTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function nF(e,t){return!e||e.type!=="NumberTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function sF(e,t){return!e||e.type!=="ObjectTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function iF(e,t){return!e||e.type!=="ObjectTypeInternalSlot"?!1:t==null||(0,A.default)(e,t)}function aF(e,t){return!e||e.type!=="ObjectTypeCallProperty"?!1:t==null||(0,A.default)(e,t)}function oF(e,t){return!e||e.type!=="ObjectTypeIndexer"?!1:t==null||(0,A.default)(e,t)}function lF(e,t){return!e||e.type!=="ObjectTypeProperty"?!1:t==null||(0,A.default)(e,t)}function uF(e,t){return!e||e.type!=="ObjectTypeSpreadProperty"?!1:t==null||(0,A.default)(e,t)}function cF(e,t){return!e||e.type!=="OpaqueType"?!1:t==null||(0,A.default)(e,t)}function pF(e,t){return!e||e.type!=="QualifiedTypeIdentifier"?!1:t==null||(0,A.default)(e,t)}function fF(e,t){return!e||e.type!=="StringLiteralTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function dF(e,t){return!e||e.type!=="StringTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function hF(e,t){return!e||e.type!=="SymbolTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function mF(e,t){return!e||e.type!=="ThisTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function yF(e,t){return!e||e.type!=="TupleTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function gF(e,t){return!e||e.type!=="TypeofTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function bF(e,t){return!e||e.type!=="TypeAlias"?!1:t==null||(0,A.default)(e,t)}function EF(e,t){return!e||e.type!=="TypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function TF(e,t){return!e||e.type!=="TypeCastExpression"?!1:t==null||(0,A.default)(e,t)}function xF(e,t){return!e||e.type!=="TypeParameter"?!1:t==null||(0,A.default)(e,t)}function SF(e,t){return!e||e.type!=="TypeParameterDeclaration"?!1:t==null||(0,A.default)(e,t)}function vF(e,t){return!e||e.type!=="TypeParameterInstantiation"?!1:t==null||(0,A.default)(e,t)}function PF(e,t){return!e||e.type!=="UnionTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function AF(e,t){return!e||e.type!=="Variance"?!1:t==null||(0,A.default)(e,t)}function CF(e,t){return!e||e.type!=="VoidTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function DF(e,t){return!e||e.type!=="EnumDeclaration"?!1:t==null||(0,A.default)(e,t)}function wF(e,t){return!e||e.type!=="EnumBooleanBody"?!1:t==null||(0,A.default)(e,t)}function IF(e,t){return!e||e.type!=="EnumNumberBody"?!1:t==null||(0,A.default)(e,t)}function _F(e,t){return!e||e.type!=="EnumStringBody"?!1:t==null||(0,A.default)(e,t)}function NF(e,t){return!e||e.type!=="EnumSymbolBody"?!1:t==null||(0,A.default)(e,t)}function OF(e,t){return!e||e.type!=="EnumBooleanMember"?!1:t==null||(0,A.default)(e,t)}function BF(e,t){return!e||e.type!=="EnumNumberMember"?!1:t==null||(0,A.default)(e,t)}function kF(e,t){return!e||e.type!=="EnumStringMember"?!1:t==null||(0,A.default)(e,t)}function FF(e,t){return!e||e.type!=="EnumDefaultedMember"?!1:t==null||(0,A.default)(e,t)}function LF(e,t){return!e||e.type!=="IndexedAccessType"?!1:t==null||(0,A.default)(e,t)}function jF(e,t){return!e||e.type!=="OptionalIndexedAccessType"?!1:t==null||(0,A.default)(e,t)}function MF(e,t){return!e||e.type!=="JSXAttribute"?!1:t==null||(0,A.default)(e,t)}function RF(e,t){return!e||e.type!=="JSXClosingElement"?!1:t==null||(0,A.default)(e,t)}function qF(e,t){return!e||e.type!=="JSXElement"?!1:t==null||(0,A.default)(e,t)}function UF(e,t){return!e||e.type!=="JSXEmptyExpression"?!1:t==null||(0,A.default)(e,t)}function VF(e,t){return!e||e.type!=="JSXExpressionContainer"?!1:t==null||(0,A.default)(e,t)}function $F(e,t){return!e||e.type!=="JSXSpreadChild"?!1:t==null||(0,A.default)(e,t)}function WF(e,t){return!e||e.type!=="JSXIdentifier"?!1:t==null||(0,A.default)(e,t)}function KF(e,t){return!e||e.type!=="JSXMemberExpression"?!1:t==null||(0,A.default)(e,t)}function HF(e,t){return!e||e.type!=="JSXNamespacedName"?!1:t==null||(0,A.default)(e,t)}function GF(e,t){return!e||e.type!=="JSXOpeningElement"?!1:t==null||(0,A.default)(e,t)}function XF(e,t){return!e||e.type!=="JSXSpreadAttribute"?!1:t==null||(0,A.default)(e,t)}function YF(e,t){return!e||e.type!=="JSXText"?!1:t==null||(0,A.default)(e,t)}function JF(e,t){return!e||e.type!=="JSXFragment"?!1:t==null||(0,A.default)(e,t)}function zF(e,t){return!e||e.type!=="JSXOpeningFragment"?!1:t==null||(0,A.default)(e,t)}function QF(e,t){return!e||e.type!=="JSXClosingFragment"?!1:t==null||(0,A.default)(e,t)}function ZF(e,t){return!e||e.type!=="Noop"?!1:t==null||(0,A.default)(e,t)}function e4(e,t){return!e||e.type!=="Placeholder"?!1:t==null||(0,A.default)(e,t)}function t4(e,t){return!e||e.type!=="V8IntrinsicIdentifier"?!1:t==null||(0,A.default)(e,t)}function r4(e,t){return!e||e.type!=="ArgumentPlaceholder"?!1:t==null||(0,A.default)(e,t)}function n4(e,t){return!e||e.type!=="BindExpression"?!1:t==null||(0,A.default)(e,t)}function s4(e,t){return!e||e.type!=="Decorator"?!1:t==null||(0,A.default)(e,t)}function i4(e,t){return!e||e.type!=="DoExpression"?!1:t==null||(0,A.default)(e,t)}function a4(e,t){return!e||e.type!=="ExportDefaultSpecifier"?!1:t==null||(0,A.default)(e,t)}function o4(e,t){return!e||e.type!=="RecordExpression"?!1:t==null||(0,A.default)(e,t)}function l4(e,t){return!e||e.type!=="TupleExpression"?!1:t==null||(0,A.default)(e,t)}function u4(e,t){return!e||e.type!=="DecimalLiteral"?!1:t==null||(0,A.default)(e,t)}function c4(e,t){return!e||e.type!=="ModuleExpression"?!1:t==null||(0,A.default)(e,t)}function p4(e,t){return!e||e.type!=="TopicReference"?!1:t==null||(0,A.default)(e,t)}function f4(e,t){return!e||e.type!=="PipelineTopicExpression"?!1:t==null||(0,A.default)(e,t)}function d4(e,t){return!e||e.type!=="PipelineBareFunction"?!1:t==null||(0,A.default)(e,t)}function h4(e,t){return!e||e.type!=="PipelinePrimaryTopicReference"?!1:t==null||(0,A.default)(e,t)}function m4(e,t){return!e||e.type!=="VoidPattern"?!1:t==null||(0,A.default)(e,t)}function y4(e,t){return!e||e.type!=="TSParameterProperty"?!1:t==null||(0,A.default)(e,t)}function g4(e,t){return!e||e.type!=="TSDeclareFunction"?!1:t==null||(0,A.default)(e,t)}function b4(e,t){return!e||e.type!=="TSDeclareMethod"?!1:t==null||(0,A.default)(e,t)}function E4(e,t){return!e||e.type!=="TSQualifiedName"?!1:t==null||(0,A.default)(e,t)}function T4(e,t){return!e||e.type!=="TSCallSignatureDeclaration"?!1:t==null||(0,A.default)(e,t)}function x4(e,t){return!e||e.type!=="TSConstructSignatureDeclaration"?!1:t==null||(0,A.default)(e,t)}function S4(e,t){return!e||e.type!=="TSPropertySignature"?!1:t==null||(0,A.default)(e,t)}function v4(e,t){return!e||e.type!=="TSMethodSignature"?!1:t==null||(0,A.default)(e,t)}function P4(e,t){return!e||e.type!=="TSIndexSignature"?!1:t==null||(0,A.default)(e,t)}function A4(e,t){return!e||e.type!=="TSAnyKeyword"?!1:t==null||(0,A.default)(e,t)}function C4(e,t){return!e||e.type!=="TSBooleanKeyword"?!1:t==null||(0,A.default)(e,t)}function D4(e,t){return!e||e.type!=="TSBigIntKeyword"?!1:t==null||(0,A.default)(e,t)}function w4(e,t){return!e||e.type!=="TSIntrinsicKeyword"?!1:t==null||(0,A.default)(e,t)}function I4(e,t){return!e||e.type!=="TSNeverKeyword"?!1:t==null||(0,A.default)(e,t)}function _4(e,t){return!e||e.type!=="TSNullKeyword"?!1:t==null||(0,A.default)(e,t)}function N4(e,t){return!e||e.type!=="TSNumberKeyword"?!1:t==null||(0,A.default)(e,t)}function O4(e,t){return!e||e.type!=="TSObjectKeyword"?!1:t==null||(0,A.default)(e,t)}function B4(e,t){return!e||e.type!=="TSStringKeyword"?!1:t==null||(0,A.default)(e,t)}function k4(e,t){return!e||e.type!=="TSSymbolKeyword"?!1:t==null||(0,A.default)(e,t)}function F4(e,t){return!e||e.type!=="TSUndefinedKeyword"?!1:t==null||(0,A.default)(e,t)}function L4(e,t){return!e||e.type!=="TSUnknownKeyword"?!1:t==null||(0,A.default)(e,t)}function j4(e,t){return!e||e.type!=="TSVoidKeyword"?!1:t==null||(0,A.default)(e,t)}function M4(e,t){return!e||e.type!=="TSThisType"?!1:t==null||(0,A.default)(e,t)}function R4(e,t){return!e||e.type!=="TSFunctionType"?!1:t==null||(0,A.default)(e,t)}function q4(e,t){return!e||e.type!=="TSConstructorType"?!1:t==null||(0,A.default)(e,t)}function U4(e,t){return!e||e.type!=="TSTypeReference"?!1:t==null||(0,A.default)(e,t)}function V4(e,t){return!e||e.type!=="TSTypePredicate"?!1:t==null||(0,A.default)(e,t)}function $4(e,t){return!e||e.type!=="TSTypeQuery"?!1:t==null||(0,A.default)(e,t)}function W4(e,t){return!e||e.type!=="TSTypeLiteral"?!1:t==null||(0,A.default)(e,t)}function K4(e,t){return!e||e.type!=="TSArrayType"?!1:t==null||(0,A.default)(e,t)}function H4(e,t){return!e||e.type!=="TSTupleType"?!1:t==null||(0,A.default)(e,t)}function G4(e,t){return!e||e.type!=="TSOptionalType"?!1:t==null||(0,A.default)(e,t)}function X4(e,t){return!e||e.type!=="TSRestType"?!1:t==null||(0,A.default)(e,t)}function Y4(e,t){return!e||e.type!=="TSNamedTupleMember"?!1:t==null||(0,A.default)(e,t)}function J4(e,t){return!e||e.type!=="TSUnionType"?!1:t==null||(0,A.default)(e,t)}function z4(e,t){return!e||e.type!=="TSIntersectionType"?!1:t==null||(0,A.default)(e,t)}function Q4(e,t){return!e||e.type!=="TSConditionalType"?!1:t==null||(0,A.default)(e,t)}function Z4(e,t){return!e||e.type!=="TSInferType"?!1:t==null||(0,A.default)(e,t)}function e8(e,t){return!e||e.type!=="TSParenthesizedType"?!1:t==null||(0,A.default)(e,t)}function t8(e,t){return!e||e.type!=="TSTypeOperator"?!1:t==null||(0,A.default)(e,t)}function r8(e,t){return!e||e.type!=="TSIndexedAccessType"?!1:t==null||(0,A.default)(e,t)}function n8(e,t){return!e||e.type!=="TSMappedType"?!1:t==null||(0,A.default)(e,t)}function s8(e,t){return!e||e.type!=="TSTemplateLiteralType"?!1:t==null||(0,A.default)(e,t)}function i8(e,t){return!e||e.type!=="TSLiteralType"?!1:t==null||(0,A.default)(e,t)}function a8(e,t){return!e||e.type!=="TSExpressionWithTypeArguments"?!1:t==null||(0,A.default)(e,t)}function o8(e,t){return!e||e.type!=="TSInterfaceDeclaration"?!1:t==null||(0,A.default)(e,t)}function l8(e,t){return!e||e.type!=="TSInterfaceBody"?!1:t==null||(0,A.default)(e,t)}function u8(e,t){return!e||e.type!=="TSTypeAliasDeclaration"?!1:t==null||(0,A.default)(e,t)}function c8(e,t){return!e||e.type!=="TSInstantiationExpression"?!1:t==null||(0,A.default)(e,t)}function p8(e,t){return!e||e.type!=="TSAsExpression"?!1:t==null||(0,A.default)(e,t)}function f8(e,t){return!e||e.type!=="TSSatisfiesExpression"?!1:t==null||(0,A.default)(e,t)}function d8(e,t){return!e||e.type!=="TSTypeAssertion"?!1:t==null||(0,A.default)(e,t)}function h8(e,t){return!e||e.type!=="TSEnumBody"?!1:t==null||(0,A.default)(e,t)}function m8(e,t){return!e||e.type!=="TSEnumDeclaration"?!1:t==null||(0,A.default)(e,t)}function y8(e,t){return!e||e.type!=="TSEnumMember"?!1:t==null||(0,A.default)(e,t)}function g8(e,t){return!e||e.type!=="TSModuleDeclaration"?!1:t==null||(0,A.default)(e,t)}function b8(e,t){return!e||e.type!=="TSModuleBlock"?!1:t==null||(0,A.default)(e,t)}function E8(e,t){return!e||e.type!=="TSImportType"?!1:t==null||(0,A.default)(e,t)}function T8(e,t){return!e||e.type!=="TSImportEqualsDeclaration"?!1:t==null||(0,A.default)(e,t)}function x8(e,t){return!e||e.type!=="TSExternalModuleReference"?!1:t==null||(0,A.default)(e,t)}function S8(e,t){return!e||e.type!=="TSNonNullExpression"?!1:t==null||(0,A.default)(e,t)}function v8(e,t){return!e||e.type!=="TSExportAssignment"?!1:t==null||(0,A.default)(e,t)}function P8(e,t){return!e||e.type!=="TSNamespaceExportDeclaration"?!1:t==null||(0,A.default)(e,t)}function A8(e,t){return!e||e.type!=="TSTypeAnnotation"?!1:t==null||(0,A.default)(e,t)}function C8(e,t){return!e||e.type!=="TSTypeParameterInstantiation"?!1:t==null||(0,A.default)(e,t)}function D8(e,t){return!e||e.type!=="TSTypeParameterDeclaration"?!1:t==null||(0,A.default)(e,t)}function w8(e,t){return!e||e.type!=="TSTypeParameter"?!1:t==null||(0,A.default)(e,t)}function I8(e,t){if(!e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportExpression":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":case"ImportAttribute":break;case"Placeholder":switch(e.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return t==null||(0,A.default)(e,t)}function _8(e,t){if(!e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"ImportExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return t==null||(0,A.default)(e,t)}function N8(e,t){if(!e)return!1;switch(e.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return t==null||(0,A.default)(e,t)}function O8(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(e.expectedNode==="BlockStatement")break;default:return!1}return t==null||(0,A.default)(e,t)}function B8(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(e.expectedNode==="BlockStatement")break;default:return!1}return t==null||(0,A.default)(e,t)}function k8(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(e.expectedNode==="BlockStatement")break;default:return!1}return t==null||(0,A.default)(e,t)}function F8(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(e.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return t==null||(0,A.default)(e,t)}function L8(e,t){if(!e)return!1;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return t==null||(0,A.default)(e,t)}function j8(e,t){if(!e)return!1;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return t==null||(0,A.default)(e,t)}function M8(e,t){if(!e)return!1;switch(e.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return t==null||(0,A.default)(e,t)}function R8(e,t){if(!e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return t==null||(0,A.default)(e,t)}function q8(e,t){if(!e)return!1;switch(e.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return t==null||(0,A.default)(e,t)}function U8(e,t){if(!e)return!1;switch(e.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return t==null||(0,A.default)(e,t)}function V8(e,t){if(!e)return!1;switch(e.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return t==null||(0,A.default)(e,t)}function $8(e,t){if(!e)return!1;switch(e.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return t==null||(0,A.default)(e,t)}function W8(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return t==null||(0,A.default)(e,t)}function K8(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return t==null||(0,A.default)(e,t)}function H8(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(e.expectedNode==="StringLiteral")break;default:return!1}return t==null||(0,A.default)(e,t)}function G8(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":break;case"Placeholder":if(e.expectedNode==="Declaration")break;default:return!1}return t==null||(0,A.default)(e,t)}function X8(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if(e.expectedNode==="Identifier")break;default:return!1}return t==null||(0,A.default)(e,t)}function Y8(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return t==null||(0,A.default)(e,t)}function J8(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return t==null||(0,A.default)(e,t)}function z8(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(e.expectedNode==="Identifier")break;default:return!1}return t==null||(0,A.default)(e,t)}function Q8(e,t){if(!e)return!1;switch(e.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(e.expectedNode==="StringLiteral")break;default:return!1}return t==null||(0,A.default)(e,t)}function Z8(e,t){if(!e)return!1;switch(e.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if(e.expectedNode==="StringLiteral")break;default:return!1}return t==null||(0,A.default)(e,t)}function eL(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return t==null||(0,A.default)(e,t)}function tL(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return t==null||(0,A.default)(e,t)}function rL(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return t==null||(0,A.default)(e,t)}function nL(e,t){if(!e)return!1;switch(e.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return t==null||(0,A.default)(e,t)}function sL(e,t){if(!e)return!1;switch(e.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return t==null||(0,A.default)(e,t)}function iL(e,t){if(!e)return!1;switch(e.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if(e.expectedNode==="Pattern")break;default:return!1}return t==null||(0,A.default)(e,t)}function aL(e,t){if(!e)return!1;switch(e.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return t==null||(0,A.default)(e,t)}function uT(e,t){if(!e)return!1;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return t==null||(0,A.default)(e,t)}function oL(e,t){if(!e)return!1;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return t==null||(0,A.default)(e,t)}function lL(e,t){if(!e)return!1;switch(e.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return t==null||(0,A.default)(e,t)}function uL(e,t){if(!e)return!1;switch(e.type){case"ClassAccessorProperty":break;default:return!1}return t==null||(0,A.default)(e,t)}function cL(e,t){if(!e)return!1;switch(e.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return t==null||(0,A.default)(e,t)}function pL(e,t){if(!e)return!1;switch(e.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return t==null||(0,A.default)(e,t)}function fL(e,t){if(!e)return!1;switch(e.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return t==null||(0,A.default)(e,t)}function dL(e,t){if(!e)return!1;switch(e.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return!1}return t==null||(0,A.default)(e,t)}function hL(e,t){if(!e)return!1;switch(e.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return!1}return t==null||(0,A.default)(e,t)}function mL(e,t){if(!e)return!1;switch(e.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return t==null||(0,A.default)(e,t)}function yL(e,t){if(!e)return!1;switch(e.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return t==null||(0,A.default)(e,t)}function gL(e,t){if(!e)return!1;switch(e.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return t==null||(0,A.default)(e,t)}function bL(e,t){if(!e)return!1;switch(e.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return!1}return t==null||(0,A.default)(e,t)}function EL(e,t){if(!e)return!1;switch(e.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return t==null||(0,A.default)(e,t)}function TL(e,t){if(!e)return!1;switch(e.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumBody":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return t==null||(0,A.default)(e,t)}function xL(e,t){if(!e)return!1;switch(e.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return t==null||(0,A.default)(e,t)}function SL(e,t){if(!e)return!1;switch(e.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return t==null||(0,A.default)(e,t)}function vL(e,t){if(!e)return!1;switch(e.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSTemplateLiteralType":case"TSLiteralType":break;default:return!1}return t==null||(0,A.default)(e,t)}function PL(e,t){return(0,mo.default)("isNumberLiteral","isNumericLiteral"),!e||e.type!=="NumberLiteral"?!1:t==null||(0,A.default)(e,t)}function AL(e,t){return(0,mo.default)("isRegexLiteral","isRegExpLiteral"),!e||e.type!=="RegexLiteral"?!1:t==null||(0,A.default)(e,t)}function CL(e,t){return(0,mo.default)("isRestProperty","isRestElement"),!e||e.type!=="RestProperty"?!1:t==null||(0,A.default)(e,t)}function DL(e,t){return(0,mo.default)("isSpreadProperty","isSpreadElement"),!e||e.type!=="SpreadProperty"?!1:t==null||(0,A.default)(e,t)}function wL(e,t){return(0,mo.default)("isModuleDeclaration","isImportOrExportDeclaration"),uT(e,t)}});var pd=x(cd=>{"use strict";Object.defineProperty(cd,"__esModule",{value:!0});cd.default=IL;var pi=Wt();function cT(e){return(0,pi.isMemberExpression)(e)||(0,pi.isMetaProperty)(e)}function IL(e,t,r){if(!cT(e))return!1;let n=Array.isArray(t)?t:t.split("."),s=[],i;for(i=e;cT(i);i=(a=i.object)!=null?a:i.meta){var a;s.push(i.property)}if(s.push(i),s.length<n.length||!r&&s.length>n.length)return!1;for(let o=0,l=s.length-1;o<n.length;o++,l--){let u=s[l],c;if((0,pi.isIdentifier)(u))c=u.name;else if((0,pi.isStringLiteral)(u))c=u.value;else if((0,pi.isThisExpression)(u))c="this";else if((0,pi.isSuper)(u))c="super";else if((0,pi.isPrivateName)(u))c="#"+u.id.name;else return!1;if(n[o]!==c)return!1}return!0}});var dd=x(fd=>{"use strict";Object.defineProperty(fd,"__esModule",{value:!0});fd.default=NL;var _L=pd();function NL(e,t){let r=e.split(".");return n=>(0,_L.default)(n,r,t)}});var pT=x(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.default=void 0;var OL=dd(),BL=(0,OL.default)("React.Component"),kxe=nu.default=BL});var fT=x(hd=>{"use strict";Object.defineProperty(hd,"__esModule",{value:!0});hd.default=kL;function kL(e){return!!e&&/^[a-z]/.test(e)}});var su=x(md=>{"use strict";Object.defineProperty(md,"__esModule",{value:!0});md.default=FL;var dT=an();function FL(e,t){if(e===t)return!0;if(e==null||dT.ALIAS_KEYS[t])return!1;let r=dT.FLIPPED_ALIAS_KEYS[t];return!!(r!=null&&r.includes(e))}});var gd=x(yd=>{"use strict";Object.defineProperty(yd,"__esModule",{value:!0});yd.default=jL;var LL=an();function jL(e,t){if(e===t)return!0;let r=LL.PLACEHOLDERS_ALIAS[e];return!!(r!=null&&r.includes(t))}});var sa=x(bd=>{"use strict";Object.defineProperty(bd,"__esModule",{value:!0});bd.default=VL;var ML=ru(),RL=su(),qL=gd(),UL=an();function VL(e,t,r){return t?(0,RL.default)(t.type,e)?r===void 0?!0:(0,ML.default)(t,r):!r&&t.type==="Placeholder"&&e in UL.FLIPPED_ALIAS_KEYS?(0,qL.default)(t.expectedNode,e):!1:!1}});var bT=x(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.isIdentifierChar=gT;yo.isIdentifierName=HL;yo.isIdentifierStart=yT;var Td="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",hT="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",$L=new RegExp("["+Td+"]"),WL=new RegExp("["+Td+hT+"]");Td=hT=null;var mT=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],KL=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function Ed(e,t){let r=65536;for(let n=0,s=t.length;n<s;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function yT(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&$L.test(String.fromCharCode(e)):Ed(e,mT)}function gT(e){return e<48?e===36:e<58?!0:e<65?!1:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&WL.test(String.fromCharCode(e)):Ed(e,mT)||Ed(e,KL)}function HL(e){let t=!0;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if((n&64512)===55296&&r+1<e.length){let s=e.charCodeAt(++r);(s&64512)===56320&&(n=65536+((n&1023)<<10)+(s&1023))}if(t){if(t=!1,!yT(n))return!1}else if(!gT(n))return!1}return!t}});var ST=x(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.isKeyword=zL;fi.isReservedWord=ET;fi.isStrictBindOnlyReservedWord=xT;fi.isStrictBindReservedWord=JL;fi.isStrictReservedWord=TT;var xd={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},GL=new Set(xd.keyword),XL=new Set(xd.strict),YL=new Set(xd.strictBind);function ET(e,t){return t&&e==="await"||e==="enum"}function TT(e,t){return ET(e,t)||XL.has(e)}function xT(e){return YL.has(e)}function JL(e,t){return TT(e,t)||xT(e)}function zL(e){return GL.has(e)}});var ia=x(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Object.defineProperty(Rn,"isIdentifierChar",{enumerable:!0,get:function(){return Sd.isIdentifierChar}});Object.defineProperty(Rn,"isIdentifierName",{enumerable:!0,get:function(){return Sd.isIdentifierName}});Object.defineProperty(Rn,"isIdentifierStart",{enumerable:!0,get:function(){return Sd.isIdentifierStart}});Object.defineProperty(Rn,"isKeyword",{enumerable:!0,get:function(){return go.isKeyword}});Object.defineProperty(Rn,"isReservedWord",{enumerable:!0,get:function(){return go.isReservedWord}});Object.defineProperty(Rn,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return go.isStrictBindOnlyReservedWord}});Object.defineProperty(Rn,"isStrictBindReservedWord",{enumerable:!0,get:function(){return go.isStrictBindReservedWord}});Object.defineProperty(Rn,"isStrictReservedWord",{enumerable:!0,get:function(){return go.isStrictReservedWord}});var Sd=bT(),go=ST()});var aa=x(Pd=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});Pd.default=QL;var vd=ia();function QL(e,t=!0){return typeof e!="string"||t&&((0,vd.isKeyword)(e)||(0,vd.isStrictReservedWord)(e,!0))?!1:(0,vd.isIdentifierName)(e)}});var CT=x(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.readCodePoint=AT;bo.readInt=PT;bo.readStringContents=e6;var ZL=function(t){return t>=48&&t<=57},vT={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},iu={bin:e=>e===48||e===49,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function e6(e,t,r,n,s,i){let a=r,o=n,l=s,u="",c=null,p=r,{length:d}=t;for(;;){if(r>=d){i.unterminated(a,o,l),u+=t.slice(p,r);break}let m=t.charCodeAt(r);if(t6(e,m,t,r)){u+=t.slice(p,r);break}if(m===92){u+=t.slice(p,r);let g=r6(t,r,n,s,e==="template",i);g.ch===null&&!c?c={pos:r,lineStart:n,curLine:s}:u+=g.ch,{pos:r,lineStart:n,curLine:s}=g,p=r}else m===8232||m===8233?(++r,++s,n=r):m===10||m===13?e==="template"?(u+=t.slice(p,r)+`
|
|
`,++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(`
|
|
`);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:
|
|
${a.join(`
|
|
`)}`)}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.
|
|
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.
|
|
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 */;
|
|
${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=>`(
|
|
${e}
|
|
)`,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\`.
|
|
- Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:e})=>`'${e==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:e})=>`Unsyntactic ${e==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:({importName:e})=>`A string literal cannot be used as an imported binding.
|
|
- Did you mean \`import { "${e}" as foo }\`?`,ImportCallArity:"`import()` requires exactly one or two arguments.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverDiscardElement:"'void' must be followed by an expression when not used in a binding position.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:e})=>`Expected number in radix ${e}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:e})=>`Escape sequence in keyword ${e}.`,InvalidIdentifier:({identifierName:e})=>`Invalid identifier ${e}.`,InvalidLhs:({ancestor:e})=>`Invalid left-hand side in ${wu(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${wu(e)}.`,InvalidLhsOptionalChaining:({ancestor:e})=>`Invalid optional chaining in the left-hand side of ${wu(e)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:e})=>`Unexpected character '${e}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:e})=>`Private name #${e} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:e})=>`Label '${e}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map(t=>JSON.stringify(t)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map(t=>JSON.stringify(t)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:e})=>`Duplicate key "${e}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`,ModuleExportUndefined:({localName:e})=>`Export '${e}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`,PrivateNameRedeclaration:({identifierName:e})=>`Duplicate private name #${e}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:e})=>`Unexpected keyword '${e}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:e})=>`Unexpected reserved word '${e}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${e?`, expected "${e}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement.",UnexpectedVoidPattern:"Unexpected void binding.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${t}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:e})=>`Identifier '${e}' has already been declared.`,VoidPatternCatchClauseParam:"A void binding can not be the catch clause parameter. Use `try { ... } catch { ... }` if you want to discard the caught error.",VoidPatternInitializer:"A void binding may not have an initializer.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",YieldNotInGeneratorFunction:"'yield' is only allowed within generator functions.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},PG={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:e})=>`Assigning to '${e}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:e})=>`Binding '${e}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},AG={ParseExpressionEmptyInput:"Unexpected parseExpression() input: The input is empty or contains only comments.",ParseExpressionExpectsEOF:({unexpected:e})=>`Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(e)}\`.`},CG=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),DG=Object.assign({PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:e})=>`Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${e}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${wu({type:e})}; please wrap it in parentheses.`},{PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'}),wG=["message"];function dS(e,t,r){Object.defineProperty(e,t,{enumerable:!1,configurable:!0,value:r})}function IG({toMessage:e,code:t,reasonCode:r,syntaxPlugin:n}){let s=r==="MissingPlugin"||r==="MissingOneOfPlugins";{let i={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};i[r]&&(r=i[r])}return function i(a,o){let l=new SyntaxError;return l.code=t,l.reasonCode=r,l.loc=a,l.pos=a.index,l.syntaxPlugin=n,s&&(l.missingPlugin=o.missingPlugin),dS(l,"clone",function(c={}){var p;let{line:d,column:m,index:g}=(p=c.loc)!=null?p:a;return i(new Wn(d,m,g),Object.assign({},o,c.details))}),dS(l,"details",o),Object.defineProperty(l,"message",{configurable:!0,get(){let u=`${e(o)} (${a.line}:${a.column})`;return this.message=u,u},set(u){Object.defineProperty(this,"message",{value:u,writable:!0})}}),l}}function $n(e,t){if(Array.isArray(e))return n=>$n(n,e[0]);let r={};for(let n of Object.keys(e)){let s=e[n],i=typeof s=="string"?{message:()=>s}:typeof s=="function"?{message:s}:s,{message:a}=i,o=xG(i,wG),l=typeof a=="string"?()=>a:a;r[n]=IG(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:n,toMessage:l},t?{syntaxPlugin:t}:{},o))}return r}var O=Object.assign({},$n(SG),$n(vG),$n(PG),$n(AG),$n`pipelineOperator`(DG));function _G(){return{sourceType:"script",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,allowYieldOutsideFunction:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function NG(e){let t=_G();if(e==null)return t;if(e.annexB!=null&&e.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");for(let r of Object.keys(t))e[r]!=null&&(t[r]=e[r]);if(t.startLine===1)e.startIndex==null&&t.startColumn>0?t.startIndex=t.startColumn:e.startColumn==null&&t.startIndex>0&&(t.startColumn=t.startIndex);else if((e.startColumn==null||e.startIndex==null)&&e.startIndex!=null)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");if(t.sourceType==="commonjs"){if(e.allowAwaitOutsideFunction!=null)throw new Error("The `allowAwaitOutsideFunction` option cannot be used with `sourceType: 'commonjs'`.");if(e.allowReturnOutsideFunction!=null)throw new Error("`sourceType: 'commonjs'` implies `allowReturnOutsideFunction: true`, please remove the `allowReturnOutsideFunction` option or use `sourceType: 'script'`.");if(e.allowNewTargetOutsideFunction!=null)throw new Error("`sourceType: 'commonjs'` implies `allowNewTargetOutsideFunction: true`, please remove the `allowNewTargetOutsideFunction` option or use `sourceType: 'script'`.")}return t}var{defineProperty:OG}=Object,hS=(e,t)=>{e&&OG(e,t,{enumerable:!1,value:e[t]})};function Io(e){return hS(e.loc.start,"index"),hS(e.loc.end,"index"),e}var BG=e=>class extends e{parse(){let r=Io(super.parse());return this.optionFlags&256&&(r.tokens=r.tokens.map(Io)),r}parseRegExpLiteral({pattern:r,flags:n}){let s=null;try{s=new RegExp(r,n)}catch{}let i=this.estreeParseLiteral(s);return i.regex={pattern:r,flags:n},i}parseBigIntLiteral(r){let n;try{n=BigInt(r)}catch{n=null}let s=this.estreeParseLiteral(n);return s.bigint=String(s.value||r),s}parseDecimalLiteral(r){let s=this.estreeParseLiteral(null);return s.decimal=String(s.value||r),s}estreeParseLiteral(r){return this.parseLiteral(r,"Literal")}parseStringLiteral(r){return this.estreeParseLiteral(r)}parseNumericLiteral(r){return this.estreeParseLiteral(r)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(r){return this.estreeParseLiteral(r)}estreeParseChainExpression(r,n){let s=this.startNodeAtNode(r);return s.expression=r,this.finishNodeAt(s,"ChainExpression",n)}directiveToStmt(r){let n=r.value;delete r.value,this.castNodeTo(n,"Literal"),n.raw=n.extra.raw,n.value=n.extra.expressionValue;let s=this.castNodeTo(r,"ExpressionStatement");return s.expression=n,s.directive=n.extra.rawValue,delete n.extra,s}fillOptionalPropertiesForTSESLint(r){}cloneEstreeStringLiteral(r){let{start:n,end:s,loc:i,range:a,raw:o,value:l}=r,u=Object.create(r.constructor.prototype);return u.type="Literal",u.start=n,u.end=s,u.loc=i,u.range=a,u.raw=o,u.value=l,u}initFunction(r,n){super.initFunction(r,n),r.expression=!1}checkDeclaration(r){r!=null&&this.isObjectProperty(r)?this.checkDeclaration(r.value):super.checkDeclaration(r)}getObjectOrClassMethodParams(r){return r.value.params}isValidDirective(r){var n;return r.type==="ExpressionStatement"&&r.expression.type==="Literal"&&typeof r.expression.value=="string"&&!((n=r.expression.extra)!=null&&n.parenthesized)}parseBlockBody(r,n,s,i,a){super.parseBlockBody(r,n,s,i,a);let o=r.directives.map(l=>this.directiveToStmt(l));r.body=o.concat(r.body),delete r.directives}parsePrivateName(){let r=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(r):r}convertPrivateNameToPrivateIdentifier(r){let n=super.getPrivateNameSV(r);return r=r,delete r.id,r.name=n,this.castNodeTo(r,"PrivateIdentifier")}isPrivateName(r){return this.getPluginOption("estree","classFeatures")?r.type==="PrivateIdentifier":super.isPrivateName(r)}getPrivateNameSV(r){return this.getPluginOption("estree","classFeatures")?r.name:super.getPrivateNameSV(r)}parseLiteral(r,n){let s=super.parseLiteral(r,n);return s.raw=s.extra.raw,delete s.extra,s}parseFunctionBody(r,n,s=!1){super.parseFunctionBody(r,n,s),r.expression=r.body.type!=="BlockStatement"}parseMethod(r,n,s,i,a,o,l=!1){let u=this.startNode();u.kind=r.kind,u=super.parseMethod(u,n,s,i,a,o,l),delete u.kind;let{typeParameters:c}=r;c&&(delete r.typeParameters,u.typeParameters=c,this.resetStartLocationFromNode(u,c));let p=this.castNodeTo(u,"FunctionExpression");return r.value=p,o==="ClassPrivateMethod"&&(r.computed=!1),o==="ObjectMethod"?(r.kind==="method"&&(r.kind="init"),r.shorthand=!1,this.finishNode(r,"Property")):this.finishNode(r,"MethodDefinition")}nameIsConstructor(r){return r.type==="Literal"?r.value==="constructor":super.nameIsConstructor(r)}parseClassProperty(...r){let n=super.parseClassProperty(...r);return this.getPluginOption("estree","classFeatures")&&this.castNodeTo(n,"PropertyDefinition"),n}parseClassPrivateProperty(...r){let n=super.parseClassPrivateProperty(...r);return this.getPluginOption("estree","classFeatures")&&(this.castNodeTo(n,"PropertyDefinition"),n.computed=!1),n}parseClassAccessorProperty(r){let n=super.parseClassAccessorProperty(r);return this.getPluginOption("estree","classFeatures")&&(n.abstract&&this.hasPlugin("typescript")?(delete n.abstract,this.castNodeTo(n,"TSAbstractAccessorProperty")):this.castNodeTo(n,"AccessorProperty")),n}parseObjectProperty(r,n,s,i){let a=super.parseObjectProperty(r,n,s,i);return a&&(a.kind="init",this.castNodeTo(a,"Property")),a}finishObjectProperty(r){return r.kind="init",this.finishNode(r,"Property")}isValidLVal(r,n,s){return r==="Property"?"value":super.isValidLVal(r,n,s)}isAssignable(r,n){return r!=null&&this.isObjectProperty(r)?this.isAssignable(r.value,n):super.isAssignable(r,n)}toAssignable(r,n=!1){if(r!=null&&this.isObjectProperty(r)){let{key:s,value:i}=r;this.isPrivateName(s)&&this.classScope.usePrivateName(this.getPrivateNameSV(s),s.loc.start),this.toAssignable(i,n)}else super.toAssignable(r,n)}toAssignableObjectExpressionProp(r,n,s){r.type==="Property"&&(r.kind==="get"||r.kind==="set")?this.raise(O.PatternHasAccessor,r.key):r.type==="Property"&&r.method?this.raise(O.PatternHasMethod,r.key):super.toAssignableObjectExpressionProp(r,n,s)}finishCallExpression(r,n){let s=super.finishCallExpression(r,n);if(s.callee.type==="Import"){var i,a;this.castNodeTo(s,"ImportExpression"),s.source=s.arguments[0],s.options=(i=s.arguments[1])!=null?i:null,s.attributes=(a=s.arguments[1])!=null?a:null,delete s.arguments,delete s.callee}else s.type==="OptionalCallExpression"?this.castNodeTo(s,"CallExpression"):s.optional=!1;return s}toReferencedArguments(r){r.type!=="ImportExpression"&&super.toReferencedArguments(r)}parseExport(r,n){let s=this.state.lastTokStartLoc,i=super.parseExport(r,n);switch(i.type){case"ExportAllDeclaration":i.exported=null;break;case"ExportNamedDeclaration":i.specifiers.length===1&&i.specifiers[0].type==="ExportNamespaceSpecifier"&&(this.castNodeTo(i,"ExportAllDeclaration"),i.exported=i.specifiers[0].exported,delete i.specifiers);case"ExportDefaultDeclaration":{var a;let{declaration:o}=i;(o==null?void 0:o.type)==="ClassDeclaration"&&((a=o.decorators)==null?void 0:a.length)>0&&o.start===i.start&&this.resetStartLocation(i,s)}break}return i}stopParseSubscript(r,n){let s=super.stopParseSubscript(r,n);return n.optionalChainMember?this.estreeParseChainExpression(s,r.loc.end):s}parseMember(r,n,s,i,a){let o=super.parseMember(r,n,s,i,a);return o.type==="OptionalMemberExpression"?this.castNodeTo(o,"MemberExpression"):o.optional=!1,o}isOptionalMemberExpression(r){return r.type==="ChainExpression"?r.expression.type==="MemberExpression":super.isOptionalMemberExpression(r)}hasPropertyAsPrivateName(r){return r.type==="ChainExpression"&&(r=r.expression),super.hasPropertyAsPrivateName(r)}isObjectProperty(r){return r.type==="Property"&&r.kind==="init"&&!r.method}isObjectMethod(r){return r.type==="Property"&&(r.method||r.kind==="get"||r.kind==="set")}castNodeTo(r,n){let s=super.castNodeTo(r,n);return this.fillOptionalPropertiesForTSESLint(s),s}cloneIdentifier(r){let n=super.cloneIdentifier(r);return this.fillOptionalPropertiesForTSESLint(n),n}cloneStringLiteral(r){return r.type==="Literal"?this.cloneEstreeStringLiteral(r):super.cloneStringLiteral(r)}finishNodeAt(r,n,s){return Io(super.finishNodeAt(r,n,s))}finishNode(r,n){let s=super.finishNode(r,n);return this.fillOptionalPropertiesForTSESLint(s),s}resetStartLocation(r,n){super.resetStartLocation(r,n),Io(r)}resetEndLocation(r,n=this.state.lastTokEndLoc){super.resetEndLocation(r,n),Io(r)}},bi=class{constructor(t,r){this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!r}},dt={brace:new bi("{"),j_oTag:new bi("<tag"),j_cTag:new bi("</tag"),j_expr:new bi("<tag>...</tag>",!0)};dt.template=new bi("`",!0);var Ge=!0,fe=!0,mm=!0,_o=!0,Fs=!0,kG=!0,Nu=class{constructor(t,r={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.rightAssociative=!!r.rightAssociative,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop!=null?r.binop:null,this.updateContext=null}},qm=new Map;function ot(e,t={}){t.keyword=e;let r=_e(e,t);return qm.set(e,r),r}function kr(e,t){return _e(e,{beforeExpr:Ge,binop:t})}var ko=-1,ts=[],Um=[],Vm=[],$m=[],Wm=[],Km=[];function _e(e,t={}){var r,n,s,i;return++ko,Um.push(e),Vm.push((r=t.binop)!=null?r:-1),$m.push((n=t.beforeExpr)!=null?n:!1),Wm.push((s=t.startsExpr)!=null?s:!1),Km.push((i=t.prefix)!=null?i:!1),ts.push(new Nu(e,t)),ko}function Je(e,t={}){var r,n,s,i;return++ko,qm.set(e,ko),Um.push(e),Vm.push((r=t.binop)!=null?r:-1),$m.push((n=t.beforeExpr)!=null?n:!1),Wm.push((s=t.startsExpr)!=null?s:!1),Km.push((i=t.prefix)!=null?i:!1),ts.push(new Nu("name",t)),ko}var FG={bracketL:_e("[",{beforeExpr:Ge,startsExpr:fe}),bracketHashL:_e("#[",{beforeExpr:Ge,startsExpr:fe}),bracketBarL:_e("[|",{beforeExpr:Ge,startsExpr:fe}),bracketR:_e("]"),bracketBarR:_e("|]"),braceL:_e("{",{beforeExpr:Ge,startsExpr:fe}),braceBarL:_e("{|",{beforeExpr:Ge,startsExpr:fe}),braceHashL:_e("#{",{beforeExpr:Ge,startsExpr:fe}),braceR:_e("}"),braceBarR:_e("|}"),parenL:_e("(",{beforeExpr:Ge,startsExpr:fe}),parenR:_e(")"),comma:_e(",",{beforeExpr:Ge}),semi:_e(";",{beforeExpr:Ge}),colon:_e(":",{beforeExpr:Ge}),doubleColon:_e("::",{beforeExpr:Ge}),dot:_e("."),question:_e("?",{beforeExpr:Ge}),questionDot:_e("?."),arrow:_e("=>",{beforeExpr:Ge}),template:_e("template"),ellipsis:_e("...",{beforeExpr:Ge}),backQuote:_e("`",{startsExpr:fe}),dollarBraceL:_e("${",{beforeExpr:Ge,startsExpr:fe}),templateTail:_e("...`",{startsExpr:fe}),templateNonTail:_e("...${",{beforeExpr:Ge,startsExpr:fe}),at:_e("@"),hash:_e("#",{startsExpr:fe}),interpreterDirective:_e("#!..."),eq:_e("=",{beforeExpr:Ge,isAssign:_o}),assign:_e("_=",{beforeExpr:Ge,isAssign:_o}),slashAssign:_e("_=",{beforeExpr:Ge,isAssign:_o}),xorAssign:_e("_=",{beforeExpr:Ge,isAssign:_o}),moduloAssign:_e("_=",{beforeExpr:Ge,isAssign:_o}),incDec:_e("++/--",{prefix:Fs,postfix:kG,startsExpr:fe}),bang:_e("!",{beforeExpr:Ge,prefix:Fs,startsExpr:fe}),tilde:_e("~",{beforeExpr:Ge,prefix:Fs,startsExpr:fe}),doubleCaret:_e("^^",{startsExpr:fe}),doubleAt:_e("@@",{startsExpr:fe}),pipeline:kr("|>",0),nullishCoalescing:kr("??",1),logicalOR:kr("||",1),logicalAND:kr("&&",2),bitwiseOR:kr("|",3),bitwiseXOR:kr("^",4),bitwiseAND:kr("&",5),equality:kr("==/!=/===/!==",6),lt:kr("</>/<=/>=",7),gt:kr("</>/<=/>=",7),relational:kr("</>/<=/>=",7),bitShift:kr("<</>>/>>>",8),bitShiftL:kr("<</>>/>>>",8),bitShiftR:kr("<</>>/>>>",8),plusMin:_e("+/-",{beforeExpr:Ge,binop:9,prefix:Fs,startsExpr:fe}),modulo:_e("%",{binop:10,startsExpr:fe}),star:_e("*",{binop:10}),slash:kr("/",10),exponent:_e("**",{beforeExpr:Ge,binop:11,rightAssociative:!0}),_in:ot("in",{beforeExpr:Ge,binop:7}),_instanceof:ot("instanceof",{beforeExpr:Ge,binop:7}),_break:ot("break"),_case:ot("case",{beforeExpr:Ge}),_catch:ot("catch"),_continue:ot("continue"),_debugger:ot("debugger"),_default:ot("default",{beforeExpr:Ge}),_else:ot("else",{beforeExpr:Ge}),_finally:ot("finally"),_function:ot("function",{startsExpr:fe}),_if:ot("if"),_return:ot("return",{beforeExpr:Ge}),_switch:ot("switch"),_throw:ot("throw",{beforeExpr:Ge,prefix:Fs,startsExpr:fe}),_try:ot("try"),_var:ot("var"),_const:ot("const"),_with:ot("with"),_new:ot("new",{beforeExpr:Ge,startsExpr:fe}),_this:ot("this",{startsExpr:fe}),_super:ot("super",{startsExpr:fe}),_class:ot("class",{startsExpr:fe}),_extends:ot("extends",{beforeExpr:Ge}),_export:ot("export"),_import:ot("import",{startsExpr:fe}),_null:ot("null",{startsExpr:fe}),_true:ot("true",{startsExpr:fe}),_false:ot("false",{startsExpr:fe}),_typeof:ot("typeof",{beforeExpr:Ge,prefix:Fs,startsExpr:fe}),_void:ot("void",{beforeExpr:Ge,prefix:Fs,startsExpr:fe}),_delete:ot("delete",{beforeExpr:Ge,prefix:Fs,startsExpr:fe}),_do:ot("do",{isLoop:mm,beforeExpr:Ge}),_for:ot("for",{isLoop:mm}),_while:ot("while",{isLoop:mm}),_as:Je("as",{startsExpr:fe}),_assert:Je("assert",{startsExpr:fe}),_async:Je("async",{startsExpr:fe}),_await:Je("await",{startsExpr:fe}),_defer:Je("defer",{startsExpr:fe}),_from:Je("from",{startsExpr:fe}),_get:Je("get",{startsExpr:fe}),_let:Je("let",{startsExpr:fe}),_meta:Je("meta",{startsExpr:fe}),_of:Je("of",{startsExpr:fe}),_sent:Je("sent",{startsExpr:fe}),_set:Je("set",{startsExpr:fe}),_source:Je("source",{startsExpr:fe}),_static:Je("static",{startsExpr:fe}),_using:Je("using",{startsExpr:fe}),_yield:Je("yield",{startsExpr:fe}),_asserts:Je("asserts",{startsExpr:fe}),_checks:Je("checks",{startsExpr:fe}),_exports:Je("exports",{startsExpr:fe}),_global:Je("global",{startsExpr:fe}),_implements:Je("implements",{startsExpr:fe}),_intrinsic:Je("intrinsic",{startsExpr:fe}),_infer:Je("infer",{startsExpr:fe}),_is:Je("is",{startsExpr:fe}),_mixins:Je("mixins",{startsExpr:fe}),_proto:Je("proto",{startsExpr:fe}),_require:Je("require",{startsExpr:fe}),_satisfies:Je("satisfies",{startsExpr:fe}),_keyof:Je("keyof",{startsExpr:fe}),_readonly:Je("readonly",{startsExpr:fe}),_unique:Je("unique",{startsExpr:fe}),_abstract:Je("abstract",{startsExpr:fe}),_declare:Je("declare",{startsExpr:fe}),_enum:Je("enum",{startsExpr:fe}),_module:Je("module",{startsExpr:fe}),_namespace:Je("namespace",{startsExpr:fe}),_interface:Je("interface",{startsExpr:fe}),_type:Je("type",{startsExpr:fe}),_opaque:Je("opaque",{startsExpr:fe}),name:_e("name",{startsExpr:fe}),placeholder:_e("%%",{startsExpr:fe}),string:_e("string",{startsExpr:fe}),num:_e("num",{startsExpr:fe}),bigint:_e("bigint",{startsExpr:fe}),decimal:_e("decimal",{startsExpr:fe}),regexp:_e("regexp",{startsExpr:fe}),privateName:_e("#name",{startsExpr:fe}),eof:_e("eof"),jsxName:_e("jsxName"),jsxText:_e("jsxText",{beforeExpr:Ge}),jsxTagStart:_e("jsxTagStart",{startsExpr:fe}),jsxTagEnd:_e("jsxTagEnd")};function bt(e){return e>=93&&e<=133}function LG(e){return e<=92}function Sn(e){return e>=58&&e<=133}function CS(e){return e>=58&&e<=137}function jG(e){return $m[e]}function Oo(e){return Wm[e]}function MG(e){return e>=29&&e<=33}function mS(e){return e>=129&&e<=131}function RG(e){return e>=90&&e<=92}function Hm(e){return e>=58&&e<=92}function qG(e){return e>=39&&e<=59}function UG(e){return e===34}function VG(e){return Km[e]}function $G(e){return e>=121&&e<=123}function WG(e){return e>=124&&e<=130}function Ms(e){return Um[e]}function Iu(e){return Vm[e]}function KG(e){return e===57}function Ou(e){return e>=24&&e<=25}function es(e){return ts[e]}ts[8].updateContext=e=>{e.pop()},ts[5].updateContext=ts[7].updateContext=ts[23].updateContext=e=>{e.push(dt.brace)},ts[22].updateContext=e=>{e[e.length-1]===dt.template?e.pop():e.push(dt.template)},ts[143].updateContext=e=>{e.push(dt.j_expr,dt.j_oTag)};var Gm="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",DS="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",HG=new RegExp("["+Gm+"]"),GG=new RegExp("["+Gm+DS+"]");Gm=DS=null;var wS=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],XG=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function Tm(e,t){let r=65536;for(let n=0,s=t.length;n<s;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function rs(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&HG.test(String.fromCharCode(e)):Tm(e,wS)}function ha(e){return e<48?e===36:e<58?!0:e<65?!1:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&GG.test(String.fromCharCode(e)):Tm(e,wS)||Tm(e,XG)}var Xm={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},YG=new Set(Xm.keyword),JG=new Set(Xm.strict),zG=new Set(Xm.strictBind);function IS(e,t){return t&&e==="await"||e==="enum"}function _S(e,t){return IS(e,t)||JG.has(e)}function NS(e){return zG.has(e)}function OS(e,t){return _S(e,t)||NS(e)}function QG(e){return YG.has(e)}function ZG(e,t,r){return e===64&&t===64&&rs(r)}var eX=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function tX(e){return eX.has(e)}var Fo=class{constructor(t){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=t}},Lo=class{constructor(t,r){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=t,this.inModule=r}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get allowNewTarget(){return(this.currentThisScopeFlags()&512)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let t=this.currentThisScopeFlags();return(t&64)>0&&(t&2)===0}get inStaticBlock(){for(let t=this.scopeStack.length-1;;t--){let{flags:r}=this.scopeStack[t];if(r&128)return!0;if(r&1731)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get inBareCaseStatement(){return(this.currentScope().flags&256)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(t){return new Fo(t)}enter(t){this.scopeStack.push(this.createScope(t))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(t){return!!(t.flags&130||!this.parser.inModule&&t.flags&1)}declareName(t,r,n){let s=this.currentScope();if(r&8||r&16){this.checkRedeclarationInScope(s,t,r,n);let i=s.names.get(t)||0;r&16?i=i|4:(s.firstLexicalName||(s.firstLexicalName=t),i=i|2),s.names.set(t,i),r&8&&this.maybeExportDefined(s,t)}else if(r&4)for(let i=this.scopeStack.length-1;i>=0&&(s=this.scopeStack[i],this.checkRedeclarationInScope(s,t,r,n),s.names.set(t,(s.names.get(t)||0)|1),this.maybeExportDefined(s,t),!(s.flags&1667));--i);this.parser.inModule&&s.flags&1&&this.undefinedExports.delete(t)}maybeExportDefined(t,r){this.parser.inModule&&t.flags&1&&this.undefinedExports.delete(r)}checkRedeclarationInScope(t,r,n,s){this.isRedeclaredInScope(t,r,n)&&this.parser.raise(O.VarRedeclaration,s,{identifierName:r})}isRedeclaredInScope(t,r,n){if(!(n&1))return!1;if(n&8)return t.names.has(r);let s=t.names.get(r);return n&16?(s&2)>0||!this.treatFunctionsAsVarInScope(t)&&(s&1)>0:(s&2)>0&&!(t.flags&8&&t.firstLexicalName===r)||!this.treatFunctionsAsVarInScope(t)&&(s&4)>0}checkLocalExport(t){let{name:r}=t;this.scopeStack[0].names.has(r)||this.undefinedExports.set(r,t.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:r}=this.scopeStack[t];if(r&1667)return r}}currentThisScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:r}=this.scopeStack[t];if(r&1731&&!(r&4))return r}}},xm=class extends Fo{constructor(...t){super(...t),this.declareFunctions=new Set}},Sm=class extends Lo{createScope(t){return new xm(t)}declareName(t,r,n){let s=this.currentScope();if(r&2048){this.checkRedeclarationInScope(s,t,r,n),this.maybeExportDefined(s,t),s.declareFunctions.add(t);return}super.declareName(t,r,n)}isRedeclaredInScope(t,r,n){if(super.isRedeclaredInScope(t,r,n))return!0;if(n&2048&&!t.declareFunctions.has(r)){let s=t.names.get(r);return(s&4)>0||(s&2)>0}return!1}checkLocalExport(t){this.scopeStack[0].declareFunctions.has(t.name)||super.checkLocalExport(t)}},rX=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Be=$n`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:e})=>`Cannot overwrite reserved type ${e}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:e})=>`Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:e,memberName:t,explicitType:r})=>`Enum \`${e}\` has type \`${r}\`, so the initializer of \`${t}\` needs to be a ${r} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:e,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`,EnumInvalidMemberName:({enumName:e,memberName:t,suggestion:r})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${r}\`, in enum \`${e}\`.`,EnumNumberMemberNotInitialized:({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:e})=>`Unexpected reserved type ${e}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function nX(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function yS(e){return e.importKind==="type"||e.importKind==="typeof"}var sX={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function iX(e,t){let r=[],n=[];for(let s=0;s<e.length;s++)(t(e[s],s,e)?r:n).push(e[s]);return[r,n]}var aX=/\*?\s*@((?:no)?flow)\b/,oX=e=>class extends e{constructor(...r){super(...r),this.flowPragma=void 0}getScopeHandler(){return Sm}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(r,n){r!==134&&r!==13&&r!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(r,n)}addComment(r){if(this.flowPragma===void 0){let n=aX.exec(r.value);if(n)if(n[1]==="flow")this.flowPragma="flow";else if(n[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(r)}flowParseTypeInitialiser(r){let n=this.state.inType;this.state.inType=!0,this.expect(r||14);let s=this.flowParseType();return this.state.inType=n,s}flowParsePredicate(){let r=this.startNode(),n=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>n.index+1&&this.raise(Be.UnexpectedSpaceBetweenModuloChecks,n),this.eat(10)?(r.value=super.parseExpression(),this.expect(11),this.finishNode(r,"DeclaredPredicate")):this.finishNode(r,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let r=this.state.inType;this.state.inType=!0,this.expect(14);let n=null,s=null;return this.match(54)?(this.state.inType=r,s=this.flowParsePredicate()):(n=this.flowParseType(),this.state.inType=r,this.match(54)&&(s=this.flowParsePredicate())),[n,s]}flowParseDeclareClass(r){return this.next(),this.flowParseInterfaceish(r,!0),this.finishNode(r,"DeclareClass")}flowParseDeclareFunction(r){this.next();let n=r.id=this.parseIdentifier(),s=this.startNode(),i=this.startNode();this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,this.expect(10);let a=this.flowParseFunctionTypeParams();return s.params=a.params,s.rest=a.rest,s.this=a._this,this.expect(11),[s.returnType,r.predicate]=this.flowParseTypeAndPredicateInitialiser(),i.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation"),n.typeAnnotation=this.finishNode(i,"TypeAnnotation"),this.resetEndLocation(n),this.semicolon(),this.scope.declareName(r.id.name,2048,r.id.loc.start),this.finishNode(r,"DeclareFunction")}flowParseDeclare(r,n){if(this.match(80))return this.flowParseDeclareClass(r);if(this.match(68))return this.flowParseDeclareFunction(r);if(this.match(74))return this.flowParseDeclareVariable(r);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(r):(n&&this.raise(Be.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(r));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(r);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(r);if(this.isContextual(129))return this.flowParseDeclareInterface(r);if(this.match(82))return this.flowParseDeclareExportDeclaration(r,n);this.unexpected()}flowParseDeclareVariable(r){return this.next(),r.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(r.id.name,5,r.id.loc.start),this.semicolon(),this.finishNode(r,"DeclareVariable")}flowParseDeclareModule(r){this.scope.enter(0),this.match(134)?r.id=super.parseExprAtom():r.id=this.parseIdentifier();let n=r.body=this.startNode(),s=n.body=[];for(this.expect(5);!this.match(8);){let o=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(Be.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(o)):(this.expectContextual(125,Be.UnsupportedStatementInDeclareModule),o=this.flowParseDeclare(o,!0)),s.push(o)}this.scope.exit(),this.expect(8),this.finishNode(n,"BlockStatement");let i=null,a=!1;return s.forEach(o=>{nX(o)?(i==="CommonJS"&&this.raise(Be.AmbiguousDeclareModuleKind,o),i="ES"):o.type==="DeclareModuleExports"&&(a&&this.raise(Be.DuplicateDeclareModuleExports,o),i==="ES"&&this.raise(Be.AmbiguousDeclareModuleKind,o),i="CommonJS",a=!0)}),r.kind=i||"CommonJS",this.finishNode(r,"DeclareModule")}flowParseDeclareExportDeclaration(r,n){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?r.declaration=this.flowParseDeclare(this.startNode()):(r.declaration=this.flowParseType(),this.semicolon()),r.default=!0,this.finishNode(r,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!n){let s=this.state.value;throw this.raise(Be.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:s,suggestion:sX[s]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return r.declaration=this.flowParseDeclare(this.startNode()),r.default=!1,this.finishNode(r,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return r=this.parseExport(r,null),r.type==="ExportNamedDeclaration"?(r.default=!1,delete r.exportKind,this.castNodeTo(r,"DeclareExportDeclaration")):this.castNodeTo(r,"DeclareExportAllDeclaration");this.unexpected()}flowParseDeclareModuleExports(r){return this.next(),this.expectContextual(111),r.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(r,"DeclareModuleExports")}flowParseDeclareTypeAlias(r){this.next();let n=this.flowParseTypeAlias(r);return this.castNodeTo(n,"DeclareTypeAlias"),n}flowParseDeclareOpaqueType(r){this.next();let n=this.flowParseOpaqueType(r,!0);return this.castNodeTo(n,"DeclareOpaqueType"),n}flowParseDeclareInterface(r){return this.next(),this.flowParseInterfaceish(r,!1),this.finishNode(r,"DeclareInterface")}flowParseInterfaceish(r,n){if(r.id=this.flowParseRestrictedIdentifier(!n,!0),this.scope.declareName(r.id.name,n?17:8201,r.id.loc.start),this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,r.extends=[],this.eat(81))do r.extends.push(this.flowParseInterfaceExtends());while(!n&&this.eat(12));if(n){if(r.implements=[],r.mixins=[],this.eatContextual(117))do r.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do r.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}r.body=this.flowParseObjectType({allowStatic:n,allowExact:!1,allowSpread:!1,allowProto:n,allowInexact:!1})}flowParseInterfaceExtends(){let r=this.startNode();return r.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?r.typeParameters=this.flowParseTypeParameterInstantiation():r.typeParameters=null,this.finishNode(r,"InterfaceExtends")}flowParseInterface(r){return this.flowParseInterfaceish(r,!1),this.finishNode(r,"InterfaceDeclaration")}checkNotUnderscore(r){r==="_"&&this.raise(Be.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(r,n,s){rX.has(r)&&this.raise(s?Be.AssignReservedType:Be.UnexpectedReservedType,n,{reservedType:r})}flowParseRestrictedIdentifier(r,n){return this.checkReservedType(this.state.value,this.state.startLoc,n),this.parseIdentifier(r)}flowParseTypeAlias(r){return r.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(r.id.name,8201,r.id.loc.start),this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,r.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(r,"TypeAlias")}flowParseOpaqueType(r,n){return this.expectContextual(130),r.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(r.id.name,8201,r.id.loc.start),this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,r.supertype=null,this.match(14)&&(r.supertype=this.flowParseTypeInitialiser(14)),r.impltype=null,n||(r.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(r,"OpaqueType")}flowParseTypeParameter(r=!1){let n=this.state.startLoc,s=this.startNode(),i=this.flowParseVariance(),a=this.flowParseTypeAnnotatableIdentifier();return s.name=a.name,s.variance=i,s.bound=a.typeAnnotation,this.match(29)?(this.eat(29),s.default=this.flowParseType()):r&&this.raise(Be.MissingTypeParamDefault,n),this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){let r=this.state.inType,n=this.startNode();n.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let s=!1;do{let i=this.flowParseTypeParameter(s);n.params.push(i),i.default&&(s=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=r,this.finishNode(n,"TypeParameterDeclaration")}flowInTopLevelContext(r){if(this.curContext()!==dt.brace){let n=this.state.context;this.state.context=[n[0]];try{return r()}finally{this.state.context=n}}else return r()}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()===47)return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){let r=this.startNode(),n=this.state.inType;return this.state.inType=!0,r.params=[],this.flowInTopLevelContext(()=>{this.expect(47);let s=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)r.params.push(this.flowParseType()),this.match(48)||this.expect(12);this.state.noAnonFunctionType=s}),this.state.inType=n,!this.state.inType&&this.curContext()===dt.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(r,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==47)return;let r=this.startNode(),n=this.state.inType;for(r.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)r.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=n,this.finishNode(r,"TypeParameterInstantiation")}flowParseInterfaceType(){let r=this.startNode();if(this.expectContextual(129),r.extends=[],this.eat(81))do r.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return r.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(r,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(r,n,s){return r.static=n,this.lookahead().type===14?(r.id=this.flowParseObjectPropertyKey(),r.key=this.flowParseTypeInitialiser()):(r.id=null,r.key=this.flowParseType()),this.expect(3),r.value=this.flowParseTypeInitialiser(),r.variance=s,this.finishNode(r,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(r,n){return r.static=n,r.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(r.method=!0,r.optional=!1,r.value=this.flowParseObjectTypeMethodish(this.startNodeAt(r.loc.start))):(r.method=!1,this.eat(17)&&(r.optional=!0),r.value=this.flowParseTypeInitialiser()),this.finishNode(r,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(r){for(r.params=[],r.rest=null,r.typeParameters=null,r.this=null,this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(r.this=this.flowParseFunctionTypeParam(!0),r.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)r.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(r.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),r.returnType=this.flowParseTypeInitialiser(),this.finishNode(r,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(r,n){let s=this.startNode();return r.static=n,r.value=this.flowParseObjectTypeMethodish(s),this.finishNode(r,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:r,allowExact:n,allowSpread:s,allowProto:i,allowInexact:a}){let o=this.state.inType;this.state.inType=!0;let l=this.startNode();l.callProperties=[],l.properties=[],l.indexers=[],l.internalSlots=[];let u,c,p=!1;for(n&&this.match(6)?(this.expect(6),u=9,c=!0):(this.expect(5),u=8,c=!1),l.exact=c;!this.match(u);){let m=!1,g=null,f=null,b=this.startNode();if(i&&this.isContextual(118)){let w=this.lookahead();w.type!==14&&w.type!==17&&(this.next(),g=this.state.startLoc,r=!1)}if(r&&this.isContextual(106)){let w=this.lookahead();w.type!==14&&w.type!==17&&(this.next(),m=!0)}let T=this.flowParseVariance();if(this.eat(0))g!=null&&this.unexpected(g),this.eat(0)?(T&&this.unexpected(T.loc.start),l.internalSlots.push(this.flowParseObjectTypeInternalSlot(b,m))):l.indexers.push(this.flowParseObjectTypeIndexer(b,m,T));else if(this.match(10)||this.match(47))g!=null&&this.unexpected(g),T&&this.unexpected(T.loc.start),l.callProperties.push(this.flowParseObjectTypeCallProperty(b,m));else{let w="init";if(this.isContextual(99)||this.isContextual(104)){let N=this.lookahead();CS(N.type)&&(w=this.state.value,this.next())}let I=this.flowParseObjectTypeProperty(b,m,g,T,w,s,a!=null?a:!c);I===null?(p=!0,f=this.state.lastTokStartLoc):l.properties.push(I)}this.flowObjectTypeSemicolon(),f&&!this.match(8)&&!this.match(9)&&this.raise(Be.UnexpectedExplicitInexactInObject,f)}this.expect(u),s&&(l.inexact=p);let d=this.finishNode(l,"ObjectTypeAnnotation");return this.state.inType=o,d}flowParseObjectTypeProperty(r,n,s,i,a,o,l){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(o?l||this.raise(Be.InexactInsideExact,this.state.lastTokStartLoc):this.raise(Be.InexactInsideNonObject,this.state.lastTokStartLoc),i&&this.raise(Be.InexactVariance,i),null):(o||this.raise(Be.UnexpectedSpreadType,this.state.lastTokStartLoc),s!=null&&this.unexpected(s),i&&this.raise(Be.SpreadVariance,i),r.argument=this.flowParseType(),this.finishNode(r,"ObjectTypeSpreadProperty"));{r.key=this.flowParseObjectPropertyKey(),r.static=n,r.proto=s!=null,r.kind=a;let u=!1;return this.match(47)||this.match(10)?(r.method=!0,s!=null&&this.unexpected(s),i&&this.unexpected(i.loc.start),r.value=this.flowParseObjectTypeMethodish(this.startNodeAt(r.loc.start)),(a==="get"||a==="set")&&this.flowCheckGetterSetterParams(r),!o&&r.key.name==="constructor"&&r.value.this&&this.raise(Be.ThisParamBannedInConstructor,r.value.this)):(a!=="init"&&this.unexpected(),r.method=!1,this.eat(17)&&(u=!0),r.value=this.flowParseTypeInitialiser(),r.variance=i),r.optional=u,this.finishNode(r,"ObjectTypeProperty")}}flowCheckGetterSetterParams(r){let n=r.kind==="get"?0:1,s=r.value.params.length+(r.value.rest?1:0);r.value.this&&this.raise(r.kind==="get"?Be.GetterMayNotHaveThisParam:Be.SetterMayNotHaveThisParam,r.value.this),s!==n&&this.raise(r.kind==="get"?O.BadGetterArity:O.BadSetterArity,r),r.kind==="set"&&r.value.rest&&this.raise(O.BadSetterRestParameter,r)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(r,n){r!=null||(r=this.state.startLoc);let s=n||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let i=this.startNodeAt(r);i.qualification=s,i.id=this.flowParseRestrictedIdentifier(!0),s=this.finishNode(i,"QualifiedTypeIdentifier")}return s}flowParseGenericType(r,n){let s=this.startNodeAt(r);return s.typeParameters=null,s.id=this.flowParseQualifiedTypeIdentifier(r,n),this.match(47)&&(s.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(s,"GenericTypeAnnotation")}flowParseTypeofType(){let r=this.startNode();return this.expect(87),r.argument=this.flowParsePrimaryType(),this.finishNode(r,"TypeofTypeAnnotation")}flowParseTupleType(){let r=this.startNode();for(r.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(r.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(r,"TupleTypeAnnotation")}flowParseFunctionTypeParam(r){let n=null,s=!1,i=null,a=this.startNode(),o=this.lookahead(),l=this.state.type===78;return o.type===14||o.type===17?(l&&!r&&this.raise(Be.ThisParamMustBeFirst,a),n=this.parseIdentifier(l),this.eat(17)&&(s=!0,l&&this.raise(Be.ThisParamMayNotBeOptional,a)),i=this.flowParseTypeInitialiser()):i=this.flowParseType(),a.name=n,a.optional=s,a.typeAnnotation=i,this.finishNode(a,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(r){let n=this.startNodeAt(r.loc.start);return n.name=null,n.optional=!1,n.typeAnnotation=r,this.finishNode(n,"FunctionTypeParam")}flowParseFunctionTypeParams(r=[]){let n=null,s=null;for(this.match(78)&&(s=this.flowParseFunctionTypeParam(!0),s.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)r.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(n=this.flowParseFunctionTypeParam(!1)),{params:r,rest:n,_this:s}}flowIdentToTypeAnnotation(r,n,s){switch(s.name){case"any":return this.finishNode(n,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(n,"BooleanTypeAnnotation");case"mixed":return this.finishNode(n,"MixedTypeAnnotation");case"empty":return this.finishNode(n,"EmptyTypeAnnotation");case"number":return this.finishNode(n,"NumberTypeAnnotation");case"string":return this.finishNode(n,"StringTypeAnnotation");case"symbol":return this.finishNode(n,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(s.name),this.flowParseGenericType(r,s)}}flowParsePrimaryType(){let r=this.state.startLoc,n=this.startNode(),s,i,a=!1,o=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,i=this.flowParseTupleType(),this.state.noAnonFunctionType=o,i;case 47:{let l=this.startNode();return l.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),s=this.flowParseFunctionTypeParams(),l.params=s.params,l.rest=s.rest,l.this=s._this,this.expect(11),this.expect(19),l.returnType=this.flowParseType(),this.finishNode(l,"FunctionTypeAnnotation")}case 10:{let l=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(bt(this.state.type)||this.match(78)){let u=this.lookahead().type;a=u!==17&&u!==14}else a=!0;if(a){if(this.state.noAnonFunctionType=!1,i=this.flowParseType(),this.state.noAnonFunctionType=o,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),i;this.eat(12)}return i?s=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(i)]):s=this.flowParseFunctionTypeParams(),l.params=s.params,l.rest=s.rest,l.this=s._this,this.expect(11),this.expect(19),l.returnType=this.flowParseType(),l.typeParameters=null,this.finishNode(l,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return n.value=this.match(85),this.next(),this.finishNode(n,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",n);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",n);throw this.raise(Be.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 135:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 136:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(n,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(n,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(n,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(n,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(Hm(this.state.type)){let l=Ms(this.state.type);return this.next(),super.createIdentifier(n,l)}else if(bt(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(r,n,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let r=this.state.startLoc,n=this.flowParsePrimaryType(),s=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let i=this.startNodeAt(r),a=this.eat(18);s=s||a,this.expect(0),!a&&this.match(3)?(i.elementType=n,this.next(),n=this.finishNode(i,"ArrayTypeAnnotation")):(i.objectType=n,i.indexType=this.flowParseType(),this.expect(3),s?(i.optional=a,n=this.finishNode(i,"OptionalIndexedAccessType")):n=this.finishNode(i,"IndexedAccessType"))}return n}flowParsePrefixType(){let r=this.startNode();return this.eat(17)?(r.typeAnnotation=this.flowParsePrefixType(),this.finishNode(r,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let r=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let n=this.startNodeAt(r.loc.start);return n.params=[this.reinterpretTypeAsFunctionTypeParam(r)],n.rest=null,n.this=null,n.returnType=this.flowParseType(),n.typeParameters=null,this.finishNode(n,"FunctionTypeAnnotation")}return r}flowParseIntersectionType(){let r=this.startNode();this.eat(45);let n=this.flowParseAnonFunctionWithoutParens();for(r.types=[n];this.eat(45);)r.types.push(this.flowParseAnonFunctionWithoutParens());return r.types.length===1?n:this.finishNode(r,"IntersectionTypeAnnotation")}flowParseUnionType(){let r=this.startNode();this.eat(43);let n=this.flowParseIntersectionType();for(r.types=[n];this.eat(43);)r.types.push(this.flowParseIntersectionType());return r.types.length===1?n:this.finishNode(r,"UnionTypeAnnotation")}flowParseType(){let r=this.state.inType;this.state.inType=!0;let n=this.flowParseUnionType();return this.state.inType=r,n}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let r=this.state.startLoc,n=this.parseIdentifier();return this.flowParseGenericType(r,n)}else return this.flowParseType()}flowParseTypeAnnotation(){let r=this.startNode();return r.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(r,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(r){let n=r?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(n.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(n)),n}typeCastToParameter(r){return r.expression.typeAnnotation=r.typeAnnotation,this.resetEndLocation(r.expression,r.typeAnnotation.loc.end),r.expression}flowParseVariance(){let r=null;return this.match(53)?(r=this.startNode(),this.state.value==="+"?r.kind="plus":r.kind="minus",this.next(),this.finishNode(r,"Variance")):r}parseFunctionBody(r,n,s=!1){if(n){this.forwardNoArrowParamsConversionAt(r,()=>super.parseFunctionBody(r,!0,s));return}super.parseFunctionBody(r,!1,s)}parseFunctionBodyAndFinish(r,n,s=!1){if(this.match(14)){let i=this.startNode();[i.typeAnnotation,r.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.returnType=i.typeAnnotation?this.finishNode(i,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(r,n,s)}parseStatementLike(r){if(this.state.strict&&this.isContextual(129)){let s=this.lookahead();if(Sn(s.type)){let i=this.startNode();return this.next(),this.flowParseInterface(i)}}else if(this.isContextual(126)){let s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}let n=super.parseStatementLike(r);return this.flowPragma===void 0&&!this.isValidDirective(n)&&(this.flowPragma=null),n}parseExpressionStatement(r,n,s){if(n.type==="Identifier"){if(n.name==="declare"){if(this.match(80)||bt(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(r)}else if(bt(this.state.type)){if(n.name==="interface")return this.flowParseInterface(r);if(n.name==="type")return this.flowParseTypeAlias(r);if(n.name==="opaque")return this.flowParseOpaqueType(r,!1)}}return super.parseExpressionStatement(r,n,s)}shouldParseExportDeclaration(){let{type:r}=this.state;return r===126||mS(r)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:r}=this.state;return r===126||mS(r)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){let r=this.startNode();return this.next(),this.flowParseEnumDeclaration(r)}return super.parseExportDefaultExpression()}parseConditional(r,n,s){if(!this.match(17))return r;if(this.state.maybeInArrowParameters){let d=this.lookaheadCharCode();if(d===44||d===61||d===58||d===41)return this.setOptionalParametersError(s),r}this.expect(17);let i=this.state.clone(),a=this.state.noArrowAt,o=this.startNodeAt(n),{consequent:l,failed:u}=this.tryParseConditionalConsequent(),[c,p]=this.getArrowLikeExpressions(l);if(u||p.length>0){let d=[...a];if(p.length>0){this.state=i,this.state.noArrowAt=d;for(let m=0;m<p.length;m++)d.push(p[m].start);({consequent:l,failed:u}=this.tryParseConditionalConsequent()),[c,p]=this.getArrowLikeExpressions(l)}u&&c.length>1&&this.raise(Be.AmbiguousConditionalArrow,i.startLoc),u&&c.length===1&&(this.state=i,d.push(c[0].start),this.state.noArrowAt=d,{consequent:l,failed:u}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(l,!0),this.state.noArrowAt=a,this.expect(14),o.test=r,o.consequent=l,o.alternate=this.forwardNoArrowParamsConversionAt(o,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(o,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let r=this.parseMaybeAssignAllowIn(),n=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:r,failed:n}}getArrowLikeExpressions(r,n){let s=[r],i=[];for(;s.length!==0;){let a=s.pop();a.type==="ArrowFunctionExpression"&&a.body.type!=="BlockStatement"?(a.typeParameters||!a.returnType?this.finishArrowValidation(a):i.push(a),s.push(a.body)):a.type==="ConditionalExpression"&&(s.push(a.consequent),s.push(a.alternate))}return n?(i.forEach(a=>this.finishArrowValidation(a)),[i,[]]):iX(i,a=>a.params.every(o=>this.isAssignable(o,!0)))}finishArrowValidation(r){var n;this.toAssignableList(r.params,(n=r.extra)==null?void 0:n.trailingCommaLoc,!1),this.scope.enter(518),super.checkParams(r,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(r,n){let s;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(r.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),s=n(),this.state.noArrowParamsConversionAt.pop()):s=n(),s}parseParenItem(r,n){let s=super.parseParenItem(r,n);if(this.eat(17)&&(s.optional=!0,this.resetEndLocation(r)),this.match(14)){let i=this.startNodeAt(n);return i.expression=s,i.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(i,"TypeCastExpression")}return s}assertModuleNodeAllowed(r){r.type==="ImportDeclaration"&&(r.importKind==="type"||r.importKind==="typeof")||r.type==="ExportNamedDeclaration"&&r.exportKind==="type"||r.type==="ExportAllDeclaration"&&r.exportKind==="type"||super.assertModuleNodeAllowed(r)}parseExportDeclaration(r){if(this.isContextual(130)){r.exportKind="type";let n=this.startNode();return this.next(),this.match(5)?(r.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(r),null):this.flowParseTypeAlias(n)}else if(this.isContextual(131)){r.exportKind="type";let n=this.startNode();return this.next(),this.flowParseOpaqueType(n,!1)}else if(this.isContextual(129)){r.exportKind="type";let n=this.startNode();return this.next(),this.flowParseInterface(n)}else if(this.isContextual(126)){r.exportKind="value";let n=this.startNode();return this.next(),this.flowParseEnumDeclaration(n)}else return super.parseExportDeclaration(r)}eatExportStar(r){return super.eatExportStar(r)?!0:this.isContextual(130)&&this.lookahead().type===55?(r.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(r){let{startLoc:n}=this.state,s=super.maybeParseExportNamespaceSpecifier(r);return s&&r.exportKind==="type"&&this.unexpected(n),s}parseClassId(r,n,s){super.parseClassId(r,n,s),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(r,n,s){let{startLoc:i}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(r,n))return;n.declare=!0}super.parseClassMember(r,n,s),n.declare&&(n.type!=="ClassProperty"&&n.type!=="ClassPrivateProperty"&&n.type!=="PropertyDefinition"?this.raise(Be.DeclareClassElement,i):n.value&&this.raise(Be.DeclareClassFieldInitializer,n.value))}isIterator(r){return r==="iterator"||r==="asyncIterator"}readIterator(){let r=super.readWord1(),n="@@"+r;(!this.isIterator(r)||!this.state.inType)&&this.raise(O.InvalidIdentifier,this.state.curPosition(),{identifierName:n}),this.finishToken(132,n)}getTokenFromCode(r){let n=this.input.charCodeAt(this.state.pos+1);r===123&&n===124?this.finishOp(6,2):this.state.inType&&(r===62||r===60)?this.finishOp(r===62?48:47,1):this.state.inType&&r===63?n===46?this.finishOp(18,2):this.finishOp(17,1):ZG(r,n,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(r)}isAssignable(r,n){return r.type==="TypeCastExpression"?this.isAssignable(r.expression,n):super.isAssignable(r,n)}toAssignable(r,n=!1){!n&&r.type==="AssignmentExpression"&&r.left.type==="TypeCastExpression"&&(r.left=this.typeCastToParameter(r.left)),super.toAssignable(r,n)}toAssignableList(r,n,s){for(let i=0;i<r.length;i++){let a=r[i];(a==null?void 0:a.type)==="TypeCastExpression"&&(r[i]=this.typeCastToParameter(a))}super.toAssignableList(r,n,s)}toReferencedList(r,n){for(let i=0;i<r.length;i++){var s;let a=r[i];a&&a.type==="TypeCastExpression"&&!((s=a.extra)!=null&&s.parenthesized)&&(r.length>1||!n)&&this.raise(Be.TypeCastInPattern,a.typeAnnotation)}return r}parseArrayLike(r,n,s,i){let a=super.parseArrayLike(r,n,s,i);return n&&!this.state.maybeInArrowParameters&&this.toReferencedList(a.elements),a}isValidLVal(r,n,s){return r==="TypeCastExpression"||super.isValidLVal(r,n,s)}parseClassProperty(r){return this.match(14)&&(r.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(r)}parseClassPrivateProperty(r){return this.match(14)&&(r.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(r)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(r){return!this.match(14)&&super.isNonstaticConstructor(r)}pushClassMethod(r,n,s,i,a,o){if(n.variance&&this.unexpected(n.variance.loc.start),delete n.variance,this.match(47)&&(n.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(r,n,s,i,a,o),n.params&&a){let l=n.params;l.length>0&&this.isThisParam(l[0])&&this.raise(Be.ThisParamBannedInConstructor,n)}else if(n.type==="MethodDefinition"&&a&&n.value.params){let l=n.value.params;l.length>0&&this.isThisParam(l[0])&&this.raise(Be.ThisParamBannedInConstructor,n)}}pushClassPrivateMethod(r,n,s,i){n.variance&&this.unexpected(n.variance.loc.start),delete n.variance,this.match(47)&&(n.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(r,n,s,i)}parseClassSuper(r){if(super.parseClassSuper(r),r.superClass&&(this.match(47)||this.match(51))&&(r.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression()),this.isContextual(113)){this.next();let n=r.implements=[];do{let s=this.startNode();s.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?s.typeParameters=this.flowParseTypeParameterInstantiation():s.typeParameters=null,n.push(this.finishNode(s,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(r){super.checkGetterSetterParams(r);let n=this.getObjectOrClassMethodParams(r);if(n.length>0){let s=n[0];this.isThisParam(s)&&r.kind==="get"?this.raise(Be.GetterMayNotHaveThisParam,s):this.isThisParam(s)&&this.raise(Be.SetterMayNotHaveThisParam,s)}}parsePropertyNamePrefixOperator(r){r.variance=this.flowParseVariance()}parseObjPropValue(r,n,s,i,a,o,l){r.variance&&this.unexpected(r.variance.loc.start),delete r.variance;let u;this.match(47)&&!o&&(u=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let c=super.parseObjPropValue(r,n,s,i,a,o,l);return u&&((c.value||c).typeParameters=u),c}parseFunctionParamType(r){return this.eat(17)&&(r.type!=="Identifier"&&this.raise(Be.PatternIsOptional,r),this.isThisParam(r)&&this.raise(Be.ThisParamMayNotBeOptional,r),r.optional=!0),this.match(14)?r.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(r)&&this.raise(Be.ThisParamAnnotationRequired,r),this.match(29)&&this.isThisParam(r)&&this.raise(Be.ThisParamNoDefault,r),this.resetEndLocation(r),r}parseMaybeDefault(r,n){let s=super.parseMaybeDefault(r,n);return s.type==="AssignmentPattern"&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(Be.TypeBeforeInitializer,s.typeAnnotation),s}checkImportReflection(r){super.checkImportReflection(r),r.module&&r.importKind!=="value"&&this.raise(Be.ImportReflectionHasImportType,r.specifiers[0].loc.start)}parseImportSpecifierLocal(r,n,s){n.local=yS(r)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),r.specifiers.push(this.finishImportSpecifier(n,s))}isPotentialImportPhase(r){if(super.isPotentialImportPhase(r))return!0;if(this.isContextual(130)){if(!r)return!0;let n=this.lookaheadCharCode();return n===123||n===42}return!r&&this.isContextual(87)}applyImportPhase(r,n,s,i){if(super.applyImportPhase(r,n,s,i),n){if(!s&&this.match(65))return;r.exportKind=s==="type"?s:"value"}else s==="type"&&this.match(55)&&this.unexpected(),r.importKind=s==="type"||s==="typeof"?s:"value"}parseImportSpecifier(r,n,s,i,a){let o=r.imported,l=null;o.type==="Identifier"&&(o.name==="type"?l="type":o.name==="typeof"&&(l="typeof"));let u=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let p=this.parseIdentifier(!0);l!==null&&!Sn(this.state.type)?(r.imported=p,r.importKind=l,r.local=this.cloneIdentifier(p)):(r.imported=o,r.importKind=null,r.local=this.parseIdentifier())}else{if(l!==null&&Sn(this.state.type))r.imported=this.parseIdentifier(!0),r.importKind=l;else{if(n)throw this.raise(O.ImportBindingIsString,r,{importName:o.value});r.imported=o,r.importKind=null}this.eatContextual(93)?r.local=this.parseIdentifier():(u=!0,r.local=this.cloneIdentifier(r.imported))}let c=yS(r);return s&&c&&this.raise(Be.ImportTypeShorthandOnlyInPureImport,r),(s||c)&&this.checkReservedType(r.local.name,r.local.loc.start,!0),u&&!s&&!c&&this.checkReservedWord(r.local.name,r.loc.start,!0,!0),this.finishImportSpecifier(r,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(r,n){let s=r.kind;s!=="get"&&s!=="set"&&this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(r,n)}parseVarId(r,n){super.parseVarId(r,n),this.match(14)&&(r.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(r.id))}parseAsyncArrowFromCallExpression(r,n){if(this.match(14)){let s=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,r.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=s}return super.parseAsyncArrowFromCallExpression(r,n)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(r,n){var s;let i=null,a;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(i=this.state.clone(),a=this.tryParse(()=>super.parseMaybeAssign(r,n),i),!a.error)return a.node;let{context:u}=this.state,c=u[u.length-1];(c===dt.j_oTag||c===dt.j_expr)&&u.pop()}if((s=a)!=null&&s.error||this.match(47)){var o,l;i=i||this.state.clone();let u,c=this.tryParse(d=>{var m;u=this.flowParseTypeParameterDeclaration();let g=this.forwardNoArrowParamsConversionAt(u,()=>{let b=super.parseMaybeAssign(r,n);return this.resetStartLocationFromNode(b,u),b});(m=g.extra)!=null&&m.parenthesized&&d();let f=this.maybeUnwrapTypeCastExpression(g);return f.type!=="ArrowFunctionExpression"&&d(),f.typeParameters=u,this.resetStartLocationFromNode(f,u),g},i),p=null;if(c.node&&this.maybeUnwrapTypeCastExpression(c.node).type==="ArrowFunctionExpression"){if(!c.error&&!c.aborted)return c.node.async&&this.raise(Be.UnexpectedTypeParameterBeforeAsyncArrowFunction,u),c.node;p=c.node}if((o=a)!=null&&o.node)return this.state=a.failState,a.node;if(p)return this.state=c.failState,p;throw(l=a)!=null&&l.thrown?a.error:c.thrown?c.error:this.raise(Be.UnexpectedTokenAfterTypeParameter,u)}return super.parseMaybeAssign(r,n)}parseArrow(r){if(this.match(14)){let n=this.tryParse(()=>{let s=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let i=this.startNode();return[i.typeAnnotation,r.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=s,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),i});if(n.thrown)return null;n.error&&(this.state=n.failState),r.returnType=n.node.typeAnnotation?this.finishNode(n.node,"TypeAnnotation"):null}return super.parseArrow(r)}shouldParseArrow(r){return this.match(14)||super.shouldParseArrow(r)}setArrowFunctionParameters(r,n){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(r.start))?r.params=n:super.setArrowFunctionParameters(r,n)}checkParams(r,n,s,i=!0){if(!(s&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(r.start)))){for(let a=0;a<r.params.length;a++)this.isThisParam(r.params[a])&&a>0&&this.raise(Be.ThisParamMustBeFirst,r.params[a]);super.checkParams(r,n,s,i)}}parseParenAndDistinguishExpression(r){return super.parseParenAndDistinguishExpression(r&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(r,n,s){if(r.type==="Identifier"&&r.name==="async"&&this.state.noArrowAt.includes(n.index)){this.next();let i=this.startNodeAt(n);i.callee=r,i.arguments=super.parseCallExpressionArguments(),r=this.finishNode(i,"CallExpression")}else if(r.type==="Identifier"&&r.name==="async"&&this.match(47)){let i=this.state.clone(),a=this.tryParse(l=>this.parseAsyncArrowWithTypeParameters(n)||l(),i);if(!a.error&&!a.aborted)return a.node;let o=this.tryParse(()=>super.parseSubscripts(r,n,s),i);if(o.node&&!o.error)return o.node;if(a.node)return this.state=a.failState,a.node;if(o.node)return this.state=o.failState,o.node;throw a.error||o.error}return super.parseSubscripts(r,n,s)}parseSubscript(r,n,s,i){if(this.match(18)&&this.isLookaheadToken_lt()){if(i.optionalChainMember=!0,s)return i.stop=!0,r;this.next();let a=this.startNodeAt(n);return a.callee=r,a.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),a.arguments=this.parseCallExpressionArguments(),a.optional=!0,this.finishCallExpression(a,!0)}else if(!s&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){let a=this.startNodeAt(n);a.callee=r;let o=this.tryParse(()=>(a.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),a.arguments=super.parseCallExpressionArguments(),i.optionalChainMember&&(a.optional=!1),this.finishCallExpression(a,i.optionalChainMember)));if(o.node)return o.error&&(this.state=o.failState),o.node}return super.parseSubscript(r,n,s,i)}parseNewCallee(r){super.parseNewCallee(r);let n=null;this.shouldParseTypes()&&this.match(47)&&(n=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),r.typeArguments=n}parseAsyncArrowWithTypeParameters(r){let n=this.startNodeAt(r);if(this.parseFunctionParams(n,!1),!!this.parseArrow(n))return super.parseArrowExpression(n,void 0,!0)}readToken_mult_modulo(r){let n=this.input.charCodeAt(this.state.pos+1);if(r===42&&n===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(r)}readToken_pipe_amp(r){let n=this.input.charCodeAt(this.state.pos+1);if(r===124&&n===125){this.finishOp(9,2);return}super.readToken_pipe_amp(r)}parseTopLevel(r,n){let s=super.parseTopLevel(r,n);return this.state.hasFlowComment&&this.raise(Be.UnterminatedFlowComment,this.state.curPosition()),s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Be.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let r=this.skipFlowComment();r&&(this.state.pos+=r,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:r}=this.state,n=2;for(;[32,9].includes(this.input.charCodeAt(r+n));)n++;let s=this.input.charCodeAt(n+r),i=this.input.charCodeAt(n+r+1);return s===58&&i===58?n+2:this.input.slice(n+r,n+r+12)==="flow-include"?n+12:s===58&&i!==58?n:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(O.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(r,{enumName:n,memberName:s}){this.raise(Be.EnumBooleanMemberNotInitialized,r,{memberName:s,enumName:n})}flowEnumErrorInvalidMemberInitializer(r,n){return this.raise(n.explicitType?n.explicitType==="symbol"?Be.EnumInvalidMemberInitializerSymbolType:Be.EnumInvalidMemberInitializerPrimaryType:Be.EnumInvalidMemberInitializerUnknownType,r,n)}flowEnumErrorNumberMemberNotInitialized(r,n){this.raise(Be.EnumNumberMemberNotInitialized,r,n)}flowEnumErrorStringMemberInconsistentlyInitialized(r,n){this.raise(Be.EnumStringMemberInconsistentlyInitialized,r,n)}flowEnumMemberInit(){let r=this.state.startLoc,n=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let s=this.parseNumericLiteral(this.state.value);return n()?{type:"number",loc:s.loc.start,value:s}:{type:"invalid",loc:r}}case 134:{let s=this.parseStringLiteral(this.state.value);return n()?{type:"string",loc:s.loc.start,value:s}:{type:"invalid",loc:r}}case 85:case 86:{let s=this.parseBooleanLiteral(this.match(85));return n()?{type:"boolean",loc:s.loc.start,value:s}:{type:"invalid",loc:r}}default:return{type:"invalid",loc:r}}}flowEnumMemberRaw(){let r=this.state.startLoc,n=this.parseIdentifier(!0),s=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:r};return{id:n,init:s}}flowEnumCheckExplicitTypeMismatch(r,n,s){let{explicitType:i}=n;i!==null&&i!==s&&this.flowEnumErrorInvalidMemberInitializer(r,n)}flowEnumMembers({enumName:r,explicitType:n}){let s=new Set,i={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},a=!1;for(;!this.match(8);){if(this.eat(21)){a=!0;break}let o=this.startNode(),{id:l,init:u}=this.flowEnumMemberRaw(),c=l.name;if(c==="")continue;/^[a-z]/.test(c)&&this.raise(Be.EnumInvalidMemberName,l,{memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:r}),s.has(c)&&this.raise(Be.EnumDuplicateMemberName,l,{memberName:c,enumName:r}),s.add(c);let p={enumName:r,explicitType:n,memberName:c};switch(o.id=l,u.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(u.loc,p,"boolean"),o.init=u.value,i.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(u.loc,p,"number"),o.init=u.value,i.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(u.loc,p,"string"),o.init=u.value,i.stringMembers.push(this.finishNode(o,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(u.loc,p);case"none":switch(n){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(u.loc,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(u.loc,p);break;default:i.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:i,hasUnknownMembers:a}}flowEnumStringMembers(r,n,{enumName:s}){if(r.length===0)return n;if(n.length===0)return r;if(n.length>r.length){for(let i of r)this.flowEnumErrorStringMemberInconsistentlyInitialized(i,{enumName:s});return n}else{for(let i of n)this.flowEnumErrorStringMemberInconsistentlyInitialized(i,{enumName:s});return r}}flowEnumParseExplicitType({enumName:r}){if(!this.eatContextual(102))return null;if(!bt(this.state.type))throw this.raise(Be.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:r});let{value:n}=this.state;return this.next(),n!=="boolean"&&n!=="number"&&n!=="string"&&n!=="symbol"&&this.raise(Be.EnumInvalidExplicitType,this.state.startLoc,{enumName:r,invalidEnumType:n}),n}flowEnumBody(r,n){let s=n.name,i=n.loc.start,a=this.flowEnumParseExplicitType({enumName:s});this.expect(5);let{members:o,hasUnknownMembers:l}=this.flowEnumMembers({enumName:s,explicitType:a});switch(r.hasUnknownMembers=l,a){case"boolean":return r.explicitType=!0,r.members=o.booleanMembers,this.expect(8),this.finishNode(r,"EnumBooleanBody");case"number":return r.explicitType=!0,r.members=o.numberMembers,this.expect(8),this.finishNode(r,"EnumNumberBody");case"string":return r.explicitType=!0,r.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:s}),this.expect(8),this.finishNode(r,"EnumStringBody");case"symbol":return r.members=o.defaultedMembers,this.expect(8),this.finishNode(r,"EnumSymbolBody");default:{let u=()=>(r.members=[],this.expect(8),this.finishNode(r,"EnumStringBody"));r.explicitType=!1;let c=o.booleanMembers.length,p=o.numberMembers.length,d=o.stringMembers.length,m=o.defaultedMembers.length;if(!c&&!p&&!d&&!m)return u();if(!c&&!p)return r.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:s}),this.expect(8),this.finishNode(r,"EnumStringBody");if(!p&&!d&&c>=m){for(let g of o.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(g.loc.start,{enumName:s,memberName:g.id.name});return r.members=o.booleanMembers,this.expect(8),this.finishNode(r,"EnumBooleanBody")}else if(!c&&!d&&p>=m){for(let g of o.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(g.loc.start,{enumName:s,memberName:g.id.name});return r.members=o.numberMembers,this.expect(8),this.finishNode(r,"EnumNumberBody")}else return this.raise(Be.EnumInconsistentMemberValues,i,{enumName:s}),u()}}}flowParseEnumDeclaration(r){let n=this.parseIdentifier();return r.id=n,r.body=this.flowEnumBody(this.startNode(),n),this.finishNode(r,"EnumDeclaration")}jsxParseOpeningElementAfterName(r){return this.shouldParseTypes()&&(this.match(47)||this.match(51))&&(r.typeArguments=this.flowParseTypeParameterInstantiationInExpression()),super.jsxParseOpeningElementAfterName(r)}isLookaheadToken_lt(){let r=this.nextTokenStart();if(this.input.charCodeAt(r)===60){let n=this.input.charCodeAt(r+1);return n!==60&&n!==61}return!1}reScan_lt_gt(){let{type:r}=this.state;r===47?(this.state.pos-=1,this.readToken_lt()):r===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:r}=this.state;return r===51?(this.state.pos-=2,this.finishOp(47,1),47):r}maybeUnwrapTypeCastExpression(r){return r.type==="TypeCastExpression"?r.expression:r}},lX={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},uX=/\r\n|[\r\n\u2028\u2029]/,Cu=new RegExp(uX.source,"g");function ma(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function gS(e,t,r){for(let n=t;n<r;n++)if(ma(e.charCodeAt(n)))return!0;return!1}var ym=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,gm=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function cX(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var gi=$n`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function Ls(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":!1}function da(e){if(e.type==="JSXIdentifier")return e.name;if(e.type==="JSXNamespacedName")return e.namespace.name+":"+e.name.name;if(e.type==="JSXMemberExpression")return da(e.object)+"."+da(e.property);throw new Error("Node had unexpected type: "+e.type)}var pX=e=>class extends e{jsxReadToken(){let r="",n=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(gi.UnterminatedJsxContent,this.state.startLoc);let s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:if(this.state.pos===this.state.start){s===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(s);return}r+=this.input.slice(n,this.state.pos),this.finishToken(142,r);return;case 38:r+=this.input.slice(n,this.state.pos),r+=this.jsxReadEntity(),n=this.state.pos;break;case 62:case 125:default:ma(s)?(r+=this.input.slice(n,this.state.pos),r+=this.jsxReadNewLine(!0),n=this.state.pos):++this.state.pos}}}jsxReadNewLine(r){let n=this.input.charCodeAt(this.state.pos),s;return++this.state.pos,n===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,s=r?`
|
|
`:`\r
|
|
`):s=String.fromCharCode(n),++this.state.curLine,this.state.lineStart=this.state.pos,s}jsxReadString(r){let n="",s=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(O.UnterminatedString,this.state.startLoc);let i=this.input.charCodeAt(this.state.pos);if(i===r)break;i===38?(n+=this.input.slice(s,this.state.pos),n+=this.jsxReadEntity(),s=this.state.pos):ma(i)?(n+=this.input.slice(s,this.state.pos),n+=this.jsxReadNewLine(!1),s=this.state.pos):++this.state.pos}n+=this.input.slice(s,this.state.pos++),this.finishToken(134,n)}jsxReadEntity(){let r=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let n=10;this.codePointAtPos(this.state.pos)===120&&(n=16,++this.state.pos);let s=this.readInt(n,void 0,!1,"bail");if(s!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(s)}else{let n=0,s=!1;for(;n++<10&&this.state.pos<this.length&&!(s=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(s){let i=this.input.slice(r,this.state.pos),a=lX[i];if(++this.state.pos,a)return a}}return this.state.pos=r,"&"}jsxReadWord(){let r,n=this.state.pos;do r=this.input.charCodeAt(++this.state.pos);while(ha(r)||r===45);this.finishToken(141,this.input.slice(n,this.state.pos))}jsxParseIdentifier(){let r=this.startNode();return this.match(141)?r.name=this.state.value:Hm(this.state.type)?r.name=Ms(this.state.type):this.unexpected(),this.next(),this.finishNode(r,"JSXIdentifier")}jsxParseNamespacedName(){let r=this.state.startLoc,n=this.jsxParseIdentifier();if(!this.eat(14))return n;let s=this.startNodeAt(r);return s.namespace=n,s.name=this.jsxParseIdentifier(),this.finishNode(s,"JSXNamespacedName")}jsxParseElementName(){let r=this.state.startLoc,n=this.jsxParseNamespacedName();if(n.type==="JSXNamespacedName")return n;for(;this.eat(16);){let s=this.startNodeAt(r);s.object=n,s.property=this.jsxParseIdentifier(),n=this.finishNode(s,"JSXMemberExpression")}return n}jsxParseAttributeValue(){let r;switch(this.state.type){case 5:return r=this.startNode(),this.setContext(dt.brace),this.next(),r=this.jsxParseExpressionContainer(r,dt.j_oTag),r.expression.type==="JSXEmptyExpression"&&this.raise(gi.AttributeIsEmpty,r),r;case 143:case 134:return this.parseExprAtom();default:throw this.raise(gi.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let r=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(r,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(r){return this.next(),r.expression=this.parseExpression(),this.setContext(dt.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(r,"JSXSpreadChild")}jsxParseExpressionContainer(r,n){if(this.match(8))r.expression=this.jsxParseEmptyExpression();else{let s=this.parseExpression();r.expression=s}return this.setContext(n),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(r,"JSXExpressionContainer")}jsxParseAttribute(){let r=this.startNode();return this.match(5)?(this.setContext(dt.brace),this.next(),this.expect(21),r.argument=this.parseMaybeAssignAllowIn(),this.setContext(dt.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(r,"JSXSpreadAttribute")):(r.name=this.jsxParseNamespacedName(),r.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(r,"JSXAttribute"))}jsxParseOpeningElementAt(r){let n=this.startNodeAt(r);return this.eat(144)?this.finishNode(n,"JSXOpeningFragment"):(n.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(n))}jsxParseOpeningElementAfterName(r){let n=[];for(;!this.match(56)&&!this.match(144);)n.push(this.jsxParseAttribute());return r.attributes=n,r.selfClosing=this.eat(56),this.expect(144),this.finishNode(r,"JSXOpeningElement")}jsxParseClosingElementAt(r){let n=this.startNodeAt(r);return this.eat(144)?this.finishNode(n,"JSXClosingFragment"):(n.name=this.jsxParseElementName(),this.expect(144),this.finishNode(n,"JSXClosingElement"))}jsxParseElementAt(r){let n=this.startNodeAt(r),s=[],i=this.jsxParseOpeningElementAt(r),a=null;if(!i.selfClosing){e:for(;;)switch(this.state.type){case 143:if(r=this.state.startLoc,this.next(),this.eat(56)){a=this.jsxParseClosingElementAt(r);break e}s.push(this.jsxParseElementAt(r));break;case 142:s.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let o=this.startNode();this.setContext(dt.brace),this.next(),this.match(21)?s.push(this.jsxParseSpreadChild(o)):s.push(this.jsxParseExpressionContainer(o,dt.j_expr));break}default:this.unexpected()}Ls(i)&&!Ls(a)&&a!==null?this.raise(gi.MissingClosingTagFragment,a):!Ls(i)&&Ls(a)?this.raise(gi.MissingClosingTagElement,a,{openingTagName:da(i.name)}):!Ls(i)&&!Ls(a)&&da(a.name)!==da(i.name)&&this.raise(gi.MissingClosingTagElement,a,{openingTagName:da(i.name)})}if(Ls(i)?(n.openingFragment=i,n.closingFragment=a):(n.openingElement=i,n.closingElement=a),n.children=s,this.match(47))throw this.raise(gi.UnwrappedAdjacentJSXElements,this.state.startLoc);return Ls(i)?this.finishNode(n,"JSXFragment"):this.finishNode(n,"JSXElement")}jsxParseElement(){let r=this.state.startLoc;return this.next(),this.jsxParseElementAt(r)}setContext(r){let{context:n}=this.state;n[n.length-1]=r}parseExprAtom(r){return this.match(143)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(143),this.jsxParseElement()):super.parseExprAtom(r)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(r){let n=this.curContext();if(n===dt.j_expr){this.jsxReadToken();return}if(n===dt.j_oTag||n===dt.j_cTag){if(rs(r)){this.jsxReadWord();return}if(r===62){++this.state.pos,this.finishToken(144);return}if((r===34||r===39)&&n===dt.j_oTag){this.jsxReadString(r);return}}if(r===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(143);return}super.getTokenFromCode(r)}updateContext(r){let{context:n,type:s}=this.state;if(s===56&&r===143)n.splice(-2,2,dt.j_cTag),this.state.canStartJSXElement=!1;else if(s===143)n.push(dt.j_oTag);else if(s===144){let i=n[n.length-1];i===dt.j_oTag&&r===56||i===dt.j_cTag?(n.pop(),this.state.canStartJSXElement=n[n.length-1]===dt.j_expr):(this.setContext(dt.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=jG(s)}},vm=class extends Fo{constructor(...t){super(...t),this.tsNames=new Map}},Pm=class extends Lo{constructor(...t){super(...t),this.importsStack=[]}createScope(t){return this.importsStack.push(new Set),new vm(t)}enter(t){t===1024&&this.importsStack.push(new Set),super.enter(t)}exit(){let t=super.exit();return t===1024&&this.importsStack.pop(),t}hasImport(t,r){let n=this.importsStack.length;if(this.importsStack[n-1].has(t))return!0;if(!r&&n>1){for(let s=0;s<n-1;s++)if(this.importsStack[s].has(t))return!0}return!1}declareName(t,r,n){if(r&4096){this.hasImport(t,!0)&&this.parser.raise(O.VarRedeclaration,n,{identifierName:t}),this.importsStack[this.importsStack.length-1].add(t);return}let s=this.currentScope(),i=s.tsNames.get(t)||0;if(r&1024){this.maybeExportDefined(s,t),s.tsNames.set(t,i|16);return}super.declareName(t,r,n),r&2&&(r&1||(this.checkRedeclarationInScope(s,t,r,n),this.maybeExportDefined(s,t)),i=i|1),r&256&&(i=i|2),r&512&&(i=i|4),r&128&&(i=i|8),i&&s.tsNames.set(t,i)}isRedeclaredInScope(t,r,n){let s=t.tsNames.get(r);if((s&2)>0){if(n&256){let i=!!(n&512),a=(s&4)>0;return i!==a}return!0}return n&128&&(s&8)>0?t.names.get(r)&2?!!(n&1):!1:n&2&&(s&1)>0?!0:super.isRedeclaredInScope(t,r,n)}checkLocalExport(t){let{name:r}=t;if(this.hasImport(r))return;let n=this.scopeStack.length;for(let s=n-1;s>=0;s--){let a=this.scopeStack[s].tsNames.get(r);if((a&1)>0||(a&16)>0)return}super.checkLocalExport(t)}},Am=class{constructor(){this.stacks=[]}enter(t){this.stacks.push(t)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}};function _u(e,t){return(e?2:0)|(t?1:0)}var Cm=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(t){return t+this.startIndex}offsetToSourcePos(t){return t-this.startIndex}hasPlugin(t){if(typeof t=="string")return this.plugins.has(t);{let[r,n]=t;if(!this.hasPlugin(r))return!1;let s=this.plugins.get(r);for(let i of Object.keys(n))if((s==null?void 0:s[i])!==n[i])return!1;return!0}}getPluginOption(t,r){var n;return(n=this.plugins.get(t))==null?void 0:n[r]}};function BS(e,t){e.trailingComments===void 0?e.trailingComments=t:e.trailingComments.unshift(...t)}function fX(e,t){e.leadingComments===void 0?e.leadingComments=t:e.leadingComments.unshift(...t)}function jo(e,t){e.innerComments===void 0?e.innerComments=t:e.innerComments.unshift(...t)}function js(e,t,r){let n=null,s=t.length;for(;n===null&&s>0;)n=t[--s];n===null||n.start>r.start?jo(e,r.comments):BS(n,r.comments)}var Dm=class extends Cm{addComment(t){this.filename&&(t.loc.filename=this.filename);let{commentsLen:r}=this.state;this.comments.length!==r&&(this.comments.length=r),this.comments.push(t),this.state.commentsLen++}processComment(t){let{commentStack:r}=this.state,n=r.length;if(n===0)return;let s=n-1,i=r[s];i.start===t.end&&(i.leadingNode=t,s--);let{start:a}=t;for(;s>=0;s--){let o=r[s],l=o.end;if(l>a)o.containingNode=t,this.finalizeComment(o),r.splice(s,1);else{l===a&&(o.trailingNode=t);break}}}finalizeComment(t){var r;let{comments:n}=t;if(t.leadingNode!==null||t.trailingNode!==null)t.leadingNode!==null&&BS(t.leadingNode,n),t.trailingNode!==null&&fX(t.trailingNode,n);else{let{containingNode:s,start:i}=t;if(this.input.charCodeAt(this.offsetToSourcePos(i)-1)===44)switch(s.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":js(s,s.properties,t);break;case"CallExpression":case"OptionalCallExpression":js(s,s.arguments,t);break;case"ImportExpression":js(s,[s.source,(r=s.options)!=null?r:null],t);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":js(s,s.params,t);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":js(s,s.elements,t);break;case"ExportNamedDeclaration":case"ImportDeclaration":js(s,s.specifiers,t);break;case"TSEnumDeclaration":js(s,s.members,t);break;case"TSEnumBody":js(s,s.members,t);break;default:jo(s,n)}else jo(s,n)}}finalizeRemainingComments(){let{commentStack:t}=this.state;for(let r=t.length-1;r>=0;r--)this.finalizeComment(t[r]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(t){let{commentStack:r}=this.state,{length:n}=r;if(n===0)return;let s=r[n-1];s.leadingNode===t&&(s.leadingNode=null)}takeSurroundingComments(t,r,n){let{commentStack:s}=this.state,i=s.length;if(i===0)return;let a=i-1;for(;a>=0;a--){let o=s[a],l=o.end;if(o.start===n)o.leadingNode=t;else if(l===r)o.trailingNode=t;else if(l<r)break}}},wm=class e{constructor(){this.flags=1024,this.startIndex=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[dt.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(t){t?this.flags|=1:this.flags&=-2}init({strictMode:t,sourceType:r,startIndex:n,startLine:s,startColumn:i}){this.strict=t===!1?!1:t===!0?!0:r==="module",this.startIndex=n,this.curLine=s,this.lineStart=-i,this.startLoc=this.endLoc=new Wn(s,i,n)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(t){t?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(t){t?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(t){t?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(t){t?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(t){t?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(t){t?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(t){t?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(t){t?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(t){t?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(t){t?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(t){t?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(t){t?this.flags|=4096:this.flags&=-4097}curPosition(){return new Wn(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let t=new e;return t.flags=this.flags,t.startIndex=this.startIndex,t.curLine=this.curLine,t.lineStart=this.lineStart,t.startLoc=this.startLoc,t.endLoc=this.endLoc,t.errors=this.errors.slice(),t.potentialArrowAt=this.potentialArrowAt,t.noArrowAt=this.noArrowAt.slice(),t.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),t.topicContext=this.topicContext,t.labels=this.labels.slice(),t.commentsLen=this.commentsLen,t.commentStack=this.commentStack.slice(),t.pos=this.pos,t.type=this.type,t.value=this.value,t.start=this.start,t.end=this.end,t.lastTokEndLoc=this.lastTokEndLoc,t.lastTokStartLoc=this.lastTokStartLoc,t.context=this.context.slice(),t.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,t.strictErrors=this.strictErrors,t.tokensLength=this.tokensLength,t}},dX=function(t){return t>=48&&t<=57},bS={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Du={bin:e=>e===48||e===49,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function ES(e,t,r,n,s,i){let a=r,o=n,l=s,u="",c=null,p=r,{length:d}=t;for(;;){if(r>=d){i.unterminated(a,o,l),u+=t.slice(p,r);break}let m=t.charCodeAt(r);if(hX(e,m,t,r)){u+=t.slice(p,r);break}if(m===92){u+=t.slice(p,r);let g=mX(t,r,n,s,e==="template",i);g.ch===null&&!c?c={pos:r,lineStart:n,curLine:s}:u+=g.ch,{pos:r,lineStart:n,curLine:s}=g,p=r}else m===8232||m===8233?(++r,++s,n=r):m===10||m===13?e==="template"?(u+=t.slice(p,r)+`
|
|
`,++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 hX(e,t,r,n){return e==="template"?t===96||t===36&&r.charCodeAt(n+1)===123:t===(e==="double"?34:39)}function mX(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(`
|
|
`);case 114:return o("\r");case 120:{let u;return{code:u,pos:t}=Im(e,t,r,n,2,!1,a,i),o(u===null?null:String.fromCharCode(u))}case 117:{let u;return{code:u,pos:t}=FS(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 Im(e,t,r,n,s,i,a,o){let l=t,u;return{n:u,pos:t}=kS(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 kS(e,t,r,n,s,i,a,o,l,u){let c=t,p=s===16?bS.hex:bS.decBinOct,d=s===16?Du.hex:s===10?Du.dec:s===8?Du.oct:Du.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:dX(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 FS(e,t,r,n,s,i){let a=e.charCodeAt(t),o;if(a===123){if(++t,{code:o,pos:t}=Im(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}=Im(e,t,r,n,4,!1,s,i));return{code:o,pos:t}}function No(e,t,r){return new Wn(r,e-t,e)}var yX=new Set([103,109,115,105,121,117,100,118]),Vn=class{constructor(t){let r=t.startIndex||0;this.type=t.type,this.value=t.value,this.start=r+t.start,this.end=r+t.end,this.loc=new ga(t.startLoc,t.endLoc)}},_m=class extends Dm{constructor(t,r){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(n,s,i,a)=>this.optionFlags&2048?(this.raise(O.InvalidDigit,No(n,s,i),{radix:a}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(O.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(O.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(O.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(O.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(n,s,i)=>{this.recordStrictModeErrors(O.StrictNumericEscape,No(n,s,i))},unterminated:(n,s,i)=>{throw this.raise(O.UnterminatedString,No(n-1,s,i))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(O.StrictNumericEscape),unterminated:(n,s,i)=>{throw this.raise(O.UnterminatedTemplate,No(n,s,i))}}),this.state=new wm,this.state.init(t),this.input=r,this.length=r.length,this.comments=[],this.isLookahead=!1}pushToken(t){this.tokens.length=this.state.tokensLength,this.tokens.push(t),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.optionFlags&256&&this.pushToken(new Vn(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(t){return this.match(t)?(this.next(),!0):!1}match(t){return this.state.type===t}createLookaheadState(t){return{pos:t.pos,value:null,type:t.type,start:t.start,end:t.end,context:[this.curContext()],inType:t.inType,startLoc:t.startLoc,lastTokEndLoc:t.lastTokEndLoc,curLine:t.curLine,lineStart:t.lineStart,curPosition:t.curPosition}}lookahead(){let t=this.state;this.state=this.createLookaheadState(t),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let r=this.state;return this.state=t,r}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(t){return ym.lastIndex=t,ym.test(this.input)?ym.lastIndex:t}lookaheadCharCode(){return this.lookaheadCharCodeSince(this.state.pos)}lookaheadCharCodeSince(t){return this.input.charCodeAt(this.nextTokenStartSince(t))}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(t){return gm.lastIndex=t,gm.test(this.input)?gm.lastIndex:t}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(t){let r=this.input.charCodeAt(t);if((r&64512)===55296&&++t<this.input.length){let n=this.input.charCodeAt(t);(n&64512)===56320&&(r=65536+((r&1023)<<10)+(n&1023))}return r}setStrict(t){this.state.strict=t,t&&(this.state.strictErrors.forEach(([r,n])=>this.raise(r,n)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(140);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(t){let r;this.isLookahead||(r=this.state.curPosition());let n=this.state.pos,s=this.input.indexOf(t,n+2);if(s===-1)throw this.raise(O.UnterminatedComment,this.state.curPosition());for(this.state.pos=s+t.length,Cu.lastIndex=n+2;Cu.test(this.input)&&Cu.lastIndex<=s;)++this.state.curLine,this.state.lineStart=Cu.lastIndex;if(this.isLookahead)return;let i={type:"CommentBlock",value:this.input.slice(n+2,s),start:this.sourceToOffsetPos(n),end:this.sourceToOffsetPos(s+t.length),loc:new ga(r,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(i),i}skipLineComment(t){let r=this.state.pos,n;this.isLookahead||(n=this.state.curPosition());let s=this.input.charCodeAt(this.state.pos+=t);if(this.state.pos<this.length)for(;!ma(s)&&++this.state.pos<this.length;)s=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let i=this.state.pos,o={type:"CommentLine",value:this.input.slice(r+t,i),start:this.sourceToOffsetPos(r),end:this.sourceToOffsetPos(i),loc:new ga(n,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(o),o}skipSpace(){let t=this.state.pos,r=this.optionFlags&4096?[]:null;e:for(;this.state.pos<this.length;){let n=this.input.charCodeAt(this.state.pos);switch(n){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let s=this.skipBlockComment("*/");s!==void 0&&(this.addComment(s),r==null||r.push(s));break}case 47:{let s=this.skipLineComment(2);s!==void 0&&(this.addComment(s),r==null||r.push(s));break}default:break e}break;default:if(cX(n))++this.state.pos;else if(n===45&&!this.inModule&&this.optionFlags&8192){let s=this.state.pos;if(this.input.charCodeAt(s+1)===45&&this.input.charCodeAt(s+2)===62&&(t===0||this.state.lineStart>t)){let i=this.skipLineComment(3);i!==void 0&&(this.addComment(i),r==null||r.push(i))}else break e}else if(n===60&&!this.inModule&&this.optionFlags&8192){let s=this.state.pos;if(this.input.charCodeAt(s+1)===33&&this.input.charCodeAt(s+2)===45&&this.input.charCodeAt(s+3)===45){let i=this.skipLineComment(4);i!==void 0&&(this.addComment(i),r==null||r.push(i))}else break e}else break e}}if((r==null?void 0:r.length)>0){let n=this.state.pos,s={start:this.sourceToOffsetPos(t),end:this.sourceToOffsetPos(n),comments:r,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(s)}}finishToken(t,r){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let n=this.state.type;this.state.type=t,this.state.value=r,this.isLookahead||this.updateContext(n)}replaceToken(t){this.state.type=t,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let t=this.state.pos+1,r=this.codePointAtPos(t);if(r>=48&&r<=57)throw this.raise(O.UnexpectedDigitAfterHash,this.state.curPosition());if(r===123||r===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(r===123?O.RecordExpressionHashIncorrectStartSyntaxType:O.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,r===123?this.finishToken(7):this.finishToken(1)}else rs(r)?(++this.state.pos,this.finishToken(139,this.readWord1(r))):r===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let t=this.input.charCodeAt(this.state.pos+1);if(t>=48&&t<=57){this.readNumber(!0);return}t===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let t=this.input.charCodeAt(this.state.pos+1);if(t!==33)return!1;let r=this.state.pos;for(this.state.pos+=1;!ma(t)&&++this.state.pos<this.length;)t=this.input.charCodeAt(this.state.pos);let n=this.input.slice(r+2,this.state.pos);return this.finishToken(28,n),!0}readToken_mult_modulo(t){let r=t===42?55:54,n=1,s=this.input.charCodeAt(this.state.pos+1);t===42&&s===42&&(n++,s=this.input.charCodeAt(this.state.pos+2),r=57),s===61&&!this.state.inType&&(n++,r=t===37?33:30),this.finishOp(r,n)}readToken_pipe_amp(t){let r=this.input.charCodeAt(this.state.pos+1);if(r===t){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(t===124?41:42,2);return}if(t===124){if(r===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&r===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(O.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&r===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(O.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(r===61){this.finishOp(30,2);return}this.finishOp(t===124?43:45,1)}readToken_caret(){let t=this.input.charCodeAt(this.state.pos+1);t===61&&!this.state.inType?this.finishOp(32,2):t===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(t){let r=this.input.charCodeAt(this.state.pos+1);if(r===t){this.finishOp(34,2);return}r===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:t}=this.state,r=this.input.charCodeAt(t+1);if(r===60){if(this.input.charCodeAt(t+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(r===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:t}=this.state,r=this.input.charCodeAt(t+1);if(r===62){let n=this.input.charCodeAt(t+2)===62?3:2;if(this.input.charCodeAt(t+n)===61){this.finishOp(30,n+1);return}this.finishOp(52,n);return}if(r===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(t){let r=this.input.charCodeAt(this.state.pos+1);if(r===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(t===61&&r===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(t===61?29:35,1)}readToken_question(){let t=this.input.charCodeAt(this.state.pos+1),r=this.input.charCodeAt(this.state.pos+2);t===63?r===61?this.finishOp(30,3):this.finishOp(40,2):t===46&&!(r>=48&&r<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(t){switch(t){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(O.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(O.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let r=this.input.charCodeAt(this.state.pos+1);if(r===120||r===88){this.readRadixNumber(16);return}if(r===111||r===79){this.readRadixNumber(8);return}if(r===98||r===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(t);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(t);return;case 124:case 38:this.readToken_pipe_amp(t);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(t);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(t);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(rs(t)){this.readWord(t);return}}throw this.raise(O.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(t)})}finishOp(t,r){let n=this.input.slice(this.state.pos,this.state.pos+r);this.state.pos+=r,this.finishToken(t,n)}readRegexp(){let t=this.state.startLoc,r=this.state.start+1,n,s,{pos:i}=this.state;for(;;++i){if(i>=this.length)throw this.raise(O.UnterminatedRegExp,Fr(t,1));let u=this.input.charCodeAt(i);if(ma(u))throw this.raise(O.UnterminatedRegExp,Fr(t,1));if(n)n=!1;else{if(u===91)s=!0;else if(u===93&&s)s=!1;else if(u===47&&!s)break;n=u===92}}let a=this.input.slice(r,i);++i;let o="",l=()=>Fr(t,i+2-r);for(;i<this.length;){let u=this.codePointAtPos(i),c=String.fromCharCode(u);if(yX.has(u))u===118?o.includes("u")&&this.raise(O.IncompatibleRegExpUVFlags,l()):u===117&&o.includes("v")&&this.raise(O.IncompatibleRegExpUVFlags,l()),o.includes(c)&&this.raise(O.DuplicateRegExpFlags,l());else if(ha(u)||u===92)this.raise(O.MalformedRegExpFlags,l());else break;++i,o+=c}this.state.pos=i,this.finishToken(138,{pattern:a,flags:o})}readInt(t,r,n=!1,s=!0){let{n:i,pos:a}=kS(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,r,n,s,this.errorHandlers_readInt,!1);return this.state.pos=a,i}readRadixNumber(t){let r=this.state.pos,n=this.state.curPosition(),s=!1;this.state.pos+=2;let i=this.readInt(t);i==null&&this.raise(O.InvalidDigit,Fr(n,2),{radix:t});let a=this.input.charCodeAt(this.state.pos);if(a===110)++this.state.pos,s=!0;else if(a===109)throw this.raise(O.InvalidDecimal,n);if(rs(this.codePointAtPos(this.state.pos)))throw this.raise(O.NumberIdentifier,this.state.curPosition());if(s){let o=this.input.slice(r,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,o);return}this.finishToken(135,i)}readNumber(t){let r=this.state.pos,n=this.state.curPosition(),s=!1,i=!1,a=!1,o=!1;!t&&this.readInt(10)===null&&this.raise(O.InvalidNumber,this.state.curPosition());let l=this.state.pos-r>=2&&this.input.charCodeAt(r)===48;if(l){let m=this.input.slice(r,this.state.pos);if(this.recordStrictModeErrors(O.StrictOctalLiteral,n),!this.state.strict){let g=m.indexOf("_");g>0&&this.raise(O.ZeroDigitNumericSeparator,Fr(n,g))}o=l&&!/[89]/.test(m)}let u=this.input.charCodeAt(this.state.pos);if(u===46&&!o&&(++this.state.pos,this.readInt(10),s=!0,u=this.input.charCodeAt(this.state.pos)),(u===69||u===101)&&!o&&(u=this.input.charCodeAt(++this.state.pos),(u===43||u===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(O.InvalidOrMissingExponent,n),s=!0,a=!0,u=this.input.charCodeAt(this.state.pos)),u===110&&((s||l)&&this.raise(O.InvalidBigIntLiteral,n),++this.state.pos,i=!0),u===109){this.expectPlugin("decimal",this.state.curPosition()),(a||l)&&this.raise(O.InvalidDecimal,n),++this.state.pos;var c=!0}if(rs(this.codePointAtPos(this.state.pos)))throw this.raise(O.NumberIdentifier,this.state.curPosition());let p=this.input.slice(r,this.state.pos).replace(/[_mn]/g,"");if(i){this.finishToken(136,p);return}if(c){this.finishToken(137,p);return}let d=o?parseInt(p,8):parseFloat(p);this.finishToken(135,d)}readCodePoint(t){let{code:r,pos:n}=FS(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,this.errorHandlers_readCodePoint);return this.state.pos=n,r}readString(t){let{str:r,pos:n,curLine:s,lineStart:i}=ES(t===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=n+1,this.state.lineStart=i,this.state.curLine=s,this.finishToken(134,r)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let t=this.input[this.state.pos],{str:r,firstInvalidLoc:n,pos:s,curLine:i,lineStart:a}=ES("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=s+1,this.state.lineStart=a,this.state.curLine=i,n&&(this.state.firstInvalidTemplateEscapePos=new Wn(n.curLine,n.pos-n.lineStart,this.sourceToOffsetPos(n.pos))),this.input.codePointAt(s)===96?this.finishToken(24,n?null:t+r+"`"):(this.state.pos++,this.finishToken(25,n?null:t+r+"${"))}recordStrictModeErrors(t,r){let n=r.index;this.state.strict&&!this.state.strictErrors.has(n)?this.raise(t,r):this.state.strictErrors.set(n,[t,r])}readWord1(t){this.state.containsEsc=!1;let r="",n=this.state.pos,s=this.state.pos;for(t!==void 0&&(this.state.pos+=t<=65535?1:2);this.state.pos<this.length;){let i=this.codePointAtPos(this.state.pos);if(ha(i))this.state.pos+=i<=65535?1:2;else if(i===92){this.state.containsEsc=!0,r+=this.input.slice(s,this.state.pos);let a=this.state.curPosition(),o=this.state.pos===n?rs:ha;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(O.MissingUnicodeEscape,this.state.curPosition()),s=this.state.pos-1;continue}++this.state.pos;let l=this.readCodePoint(!0);l!==null&&(o(l)||this.raise(O.EscapedCharNotAnIdentifier,a),r+=String.fromCodePoint(l)),s=this.state.pos}else break}return r+this.input.slice(s,this.state.pos)}readWord(t){let r=this.readWord1(t),n=qm.get(r);n!==void 0?this.finishToken(n,Ms(n)):this.finishToken(132,r)}checkKeywordEscapes(){let{type:t}=this.state;Hm(t)&&this.state.containsEsc&&this.raise(O.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:Ms(t)})}raise(t,r,n={}){let s=r instanceof Wn?r:r.loc.start,i=t(s,n);if(!(this.optionFlags&2048))throw i;return this.isLookahead||this.state.errors.push(i),i}raiseOverwrite(t,r,n={}){let s=r instanceof Wn?r:r.loc.start,i=s.index,a=this.state.errors;for(let o=a.length-1;o>=0;o--){let l=a[o];if(l.loc.index===i)return a[o]=t(s,n);if(l.loc.index<i)break}return this.raise(t,r,n)}updateContext(t){}unexpected(t,r){throw this.raise(O.UnexpectedToken,t!=null?t:this.state.startLoc,{expected:r?Ms(r):null})}expectPlugin(t,r){if(this.hasPlugin(t))return!0;throw this.raise(O.MissingPlugin,r!=null?r:this.state.startLoc,{missingPlugin:[t]})}expectOnePlugin(t){if(!t.some(r=>this.hasPlugin(r)))throw this.raise(O.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:t})}errorBuilder(t){return(r,n,s)=>{this.raise(t,No(r,n,s))}}},Nm=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},Om=class{constructor(t){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=t}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Nm)}exit(){let t=this.stack.pop(),r=this.current();for(let[n,s]of Array.from(t.undefinedPrivateNames))r?r.undefinedPrivateNames.has(n)||r.undefinedPrivateNames.set(n,s):this.parser.raise(O.InvalidPrivateFieldResolution,s,{identifierName:n})}declarePrivateName(t,r,n){let{privateNames:s,loneAccessors:i,undefinedPrivateNames:a}=this.current(),o=s.has(t);if(r&3){let l=o&&i.get(t);if(l){let u=l&4,c=r&4,p=l&3,d=r&3;o=p===d||u!==c,o||i.delete(t)}else o||i.set(t,r)}o&&this.parser.raise(O.PrivateNameRedeclaration,n,{identifierName:t}),s.add(t),a.delete(t)}usePrivateName(t,r){let n;for(n of this.stack)if(n.privateNames.has(t))return;n?n.undefinedPrivateNames.set(t,r):this.parser.raise(O.InvalidPrivateFieldResolution,r,{identifierName:t})}},ba=class{constructor(t=0){this.type=t}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}},Bu=class extends ba{constructor(t){super(t),this.declarationErrors=new Map}recordDeclarationError(t,r){let n=r.index;this.declarationErrors.set(n,[t,r])}clearDeclarationError(t){this.declarationErrors.delete(t)}iterateErrors(t){this.declarationErrors.forEach(t)}},Bm=class{constructor(t){this.parser=void 0,this.stack=[new ba],this.parser=t}enter(t){this.stack.push(t)}exit(){this.stack.pop()}recordParameterInitializerError(t,r){let n=r.loc.start,{stack:s}=this,i=s.length-1,a=s[i];for(;!a.isCertainlyParameterDeclaration();){if(a.canBeArrowParameterDeclaration())a.recordDeclarationError(t,n);else return;a=s[--i]}this.parser.raise(t,n)}recordArrowParameterBindingError(t,r){let{stack:n}=this,s=n[n.length-1],i=r.loc.start;if(s.isCertainlyParameterDeclaration())this.parser.raise(t,i);else if(s.canBeArrowParameterDeclaration())s.recordDeclarationError(t,i);else return}recordAsyncArrowParametersError(t){let{stack:r}=this,n=r.length-1,s=r[n];for(;s.canBeArrowParameterDeclaration();)s.type===2&&s.recordDeclarationError(O.AwaitBindingIdentifier,t),s=r[--n]}validateAsPattern(){let{stack:t}=this,r=t[t.length-1];r.canBeArrowParameterDeclaration()&&r.iterateErrors(([n,s])=>{this.parser.raise(n,s);let i=t.length-2,a=t[i];for(;a.canBeArrowParameterDeclaration();)a.clearDeclarationError(s.index),a=t[--i]})}};function gX(){return new ba(3)}function bX(){return new Bu(1)}function EX(){return new Bu(2)}function LS(){return new ba}var km=class extends _m{addExtra(t,r,n,s=!0){if(!t)return;let{extra:i}=t;i==null&&(i={},t.extra=i),s?i[r]=n:Object.defineProperty(i,r,{enumerable:s,value:n})}isContextual(t){return this.state.type===t&&!this.state.containsEsc}isUnparsedContextual(t,r){if(this.input.startsWith(r,t)){let n=this.input.charCodeAt(t+r.length);return!(ha(n)||(n&64512)===55296)}return!1}isLookaheadContextual(t){let r=this.nextTokenStart();return this.isUnparsedContextual(r,t)}eatContextual(t){return this.isContextual(t)?(this.next(),!0):!1}expectContextual(t,r){if(!this.eatContextual(t)){if(r!=null)throw this.raise(r,this.state.startLoc);this.unexpected(null,t)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return gS(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return gS(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(t=!0){(t?this.isLineTerminator():this.eat(13))||this.raise(O.MissingSemicolon,this.state.lastTokEndLoc)}expect(t,r){this.eat(t)||this.unexpected(r,t)}tryParse(t,r=this.state.clone()){let n={node:null};try{let s=t((i=null)=>{throw n.node=i,n});if(this.state.errors.length>r.errors.length){let i=this.state;return this.state=r,this.state.tokensLength=i.tokensLength,{node:s,error:i.errors[r.errors.length],thrown:!1,aborted:!1,failState:i}}return{node:s,error:null,thrown:!1,aborted:!1,failState:null}}catch(s){let i=this.state;if(this.state=r,s instanceof SyntaxError)return{node:null,error:s,thrown:!0,aborted:!1,failState:i};if(s===n)return{node:n.node,error:null,thrown:!1,aborted:!0,failState:i};throw s}}checkExpressionErrors(t,r){if(!t)return!1;let{shorthandAssignLoc:n,doubleProtoLoc:s,privateKeyLoc:i,optionalParametersLoc:a,voidPatternLoc:o}=t,l=!!n||!!s||!!a||!!i||!!o;if(!r)return l;n!=null&&this.raise(O.InvalidCoverInitializedName,n),s!=null&&this.raise(O.DuplicateProto,s),i!=null&&this.raise(O.UnexpectedPrivateField,i),a!=null&&this.unexpected(a),o!=null&&this.raise(O.InvalidCoverDiscardElement,o)}isLiteralPropertyName(){return CS(this.state.type)}isPrivateName(t){return t.type==="PrivateName"}getPrivateNameSV(t){return t.id.name}hasPropertyAsPrivateName(t){return(t.type==="MemberExpression"||t.type==="OptionalMemberExpression")&&this.isPrivateName(t.property)}isObjectProperty(t){return t.type==="ObjectProperty"}isObjectMethod(t){return t.type==="ObjectMethod"}initializeScopes(t=this.options.sourceType==="module"){let r=this.state.labels;this.state.labels=[];let n=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let s=this.inModule;this.inModule=t;let i=this.scope,a=this.getScopeHandler();this.scope=new a(this,t);let o=this.prodParam;this.prodParam=new Am;let l=this.classScope;this.classScope=new Om(this);let u=this.expressionScope;return this.expressionScope=new Bm(this),()=>{this.state.labels=r,this.exportedIdentifiers=n,this.inModule=s,this.scope=i,this.prodParam=o,this.classScope=l,this.expressionScope=u}}enterInitialScopes(){let t=0;(this.inModule||this.optionFlags&1)&&(t|=2),this.optionFlags&32&&(t|=1);let r=!this.inModule&&this.options.sourceType==="commonjs";(r||this.optionFlags&2)&&(t|=4),this.prodParam.enter(t);let n=r?514:1;this.optionFlags&4&&(n|=512),this.scope.enter(n)}checkDestructuringPrivate(t){let{privateKeyLoc:r}=t;r!==null&&this.expectPlugin("destructuringPrivate",r)}},ya=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null,this.voidPatternLoc=null}},Ea=class{constructor(t,r,n){this.type="",this.start=r,this.end=0,this.loc=new ga(n),(t==null?void 0:t.optionFlags)&128&&(this.range=[r,0]),t!=null&&t.filename&&(this.loc.filename=t.filename)}},Fm=Ea.prototype;Fm.__clone=function(){let e=new Ea(void 0,this.start,this.loc.start),t=Object.keys(this);for(let r=0,n=t.length;r<n;r++){let s=t[r];s!=="leadingComments"&&s!=="trailingComments"&&s!=="innerComments"&&(e[s]=this[s])}return e};var Lm=class extends km{startNode(){let t=this.state.startLoc;return new Ea(this,t.index,t)}startNodeAt(t){return new Ea(this,t.index,t)}startNodeAtNode(t){return this.startNodeAt(t.loc.start)}finishNode(t,r){return this.finishNodeAt(t,r,this.state.lastTokEndLoc)}finishNodeAt(t,r,n){return t.type=r,t.end=n.index,t.loc.end=n,this.optionFlags&128&&(t.range[1]=n.index),this.optionFlags&4096&&this.processComment(t),t}resetStartLocation(t,r){t.start=r.index,t.loc.start=r,this.optionFlags&128&&(t.range[0]=r.index)}resetEndLocation(t,r=this.state.lastTokEndLoc){t.end=r.index,t.loc.end=r,this.optionFlags&128&&(t.range[1]=r.index)}resetStartLocationFromNode(t,r){this.resetStartLocation(t,r.loc.start)}castNodeTo(t,r){return t.type=r,t}cloneIdentifier(t){let{type:r,start:n,end:s,loc:i,range:a,name:o}=t,l=Object.create(Fm);return l.type=r,l.start=n,l.end=s,l.loc=i,l.range=a,l.name=o,t.extra&&(l.extra=t.extra),l}cloneStringLiteral(t){let{type:r,start:n,end:s,loc:i,range:a,extra:o}=t,l=Object.create(Fm);return l.type=r,l.start=n,l.end=s,l.loc=i,l.range=a,l.extra=o,l.value=t.value,l}},jS=e=>e.type==="ParenthesizedExpression"?jS(e.expression):e,jm=class extends Lm{toAssignable(t,r=!1){var n,s;let i;switch((t.type==="ParenthesizedExpression"||(n=t.extra)!=null&&n.parenthesized)&&(i=jS(t),r?i.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(O.InvalidParenthesizedAssignment,t):i.type!=="MemberExpression"&&!this.isOptionalMemberExpression(i)&&this.raise(O.InvalidParenthesizedAssignment,t):this.raise(O.InvalidParenthesizedAssignment,t)),t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":break;case"ObjectExpression":this.castNodeTo(t,"ObjectPattern");for(let o=0,l=t.properties.length,u=l-1;o<l;o++){var a;let c=t.properties[o],p=o===u;this.toAssignableObjectExpressionProp(c,p,r),p&&c.type==="RestElement"&&(a=t.extra)!=null&&a.trailingCommaLoc&&this.raise(O.RestTrailingComma,t.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:o,value:l}=t;this.isPrivateName(o)&&this.classScope.usePrivateName(this.getPrivateNameSV(o),o.loc.start),this.toAssignable(l,r);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":this.castNodeTo(t,"ArrayPattern"),this.toAssignableList(t.elements,(s=t.extra)==null?void 0:s.trailingCommaLoc,r);break;case"AssignmentExpression":t.operator!=="="&&this.raise(O.MissingEqInAssignment,t.left.loc.end),this.castNodeTo(t,"AssignmentPattern"),delete t.operator,t.left.type==="VoidPattern"&&this.raise(O.VoidPatternInitializer,t.left),this.toAssignable(t.left,r);break;case"ParenthesizedExpression":this.toAssignable(i,r);break}}toAssignableObjectExpressionProp(t,r,n){if(t.type==="ObjectMethod")this.raise(t.kind==="get"||t.kind==="set"?O.PatternHasAccessor:O.PatternHasMethod,t.key);else if(t.type==="SpreadElement"){this.castNodeTo(t,"RestElement");let s=t.argument;this.checkToRestConversion(s,!1),this.toAssignable(s,n),r||this.raise(O.RestTrailingComma,t)}else this.toAssignable(t,n)}toAssignableList(t,r,n){let s=t.length-1;for(let i=0;i<=s;i++){let a=t[i];a&&(this.toAssignableListItem(t,i,n),a.type==="RestElement"&&(i<s?this.raise(O.RestTrailingComma,a):r&&this.raise(O.RestTrailingComma,r)))}}toAssignableListItem(t,r,n){let s=t[r];if(s.type==="SpreadElement"){this.castNodeTo(s,"RestElement");let i=s.argument;this.checkToRestConversion(i,!0),this.toAssignable(i,n)}else this.toAssignable(s,n)}isAssignable(t,r){switch(t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":return!0;case"ObjectExpression":{let n=t.properties.length-1;return t.properties.every((s,i)=>s.type!=="ObjectMethod"&&(i===n||s.type!=="SpreadElement")&&this.isAssignable(s))}case"ObjectProperty":return this.isAssignable(t.value);case"SpreadElement":return this.isAssignable(t.argument);case"ArrayExpression":return t.elements.every(n=>n===null||this.isAssignable(n));case"AssignmentExpression":return t.operator==="=";case"ParenthesizedExpression":return this.isAssignable(t.expression);case"MemberExpression":case"OptionalMemberExpression":return!r;default:return!1}}toReferencedList(t,r){return t}toReferencedListDeep(t,r){this.toReferencedList(t,r);for(let n of t)(n==null?void 0:n.type)==="ArrayExpression"&&this.toReferencedListDeep(n.elements)}parseSpread(t){let r=this.startNode();return this.next(),r.argument=this.parseMaybeAssignAllowIn(t,void 0),this.finishNode(r,"SpreadElement")}parseRestBinding(){let t=this.startNode();this.next();let r=this.parseBindingAtom();return r.type==="VoidPattern"&&this.raise(O.UnexpectedVoidPattern,r),t.argument=r,this.finishNode(t,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let t=this.startNode();return this.next(),t.elements=this.parseBindingList(3,93,1),this.finishNode(t,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0);case 88:return this.parseVoidPattern(null)}return this.parseIdentifier()}parseBindingList(t,r,n){let s=n&1,i=[],a=!0;for(;!this.eat(t);)if(a?a=!1:this.expect(12),s&&this.match(12))i.push(null);else{if(this.eat(t))break;if(this.match(21)){let o=this.parseRestBinding();if((this.hasPlugin("flow")||n&2)&&(o=this.parseFunctionParamType(o)),i.push(o),!this.checkCommaAfterRest(r)){this.expect(t);break}}else{let o=[];if(n&2)for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(O.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)o.push(this.parseDecorator());i.push(this.parseBindingElement(n,o))}}return i}parseBindingRestProperty(t){return this.next(),this.hasPlugin("discardBinding")&&this.match(88)?(t.argument=this.parseVoidPattern(null),this.raise(O.UnexpectedVoidPattern,t.argument)):t.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(t,"RestElement")}parseBindingProperty(){let{type:t,startLoc:r}=this.state;if(t===21)return this.parseBindingRestProperty(this.startNode());let n=this.startNode();return t===139?(this.expectPlugin("destructuringPrivate",r),this.classScope.usePrivateName(this.state.value,r),n.key=this.parsePrivateName()):this.parsePropertyName(n),n.method=!1,this.parseObjPropValue(n,r,!1,!1,!0,!1)}parseBindingElement(t,r){let n=this.parseMaybeDefault();return(this.hasPlugin("flow")||t&2)&&this.parseFunctionParamType(n),r.length&&(n.decorators=r,this.resetStartLocationFromNode(n,r[0])),this.parseMaybeDefault(n.loc.start,n)}parseFunctionParamType(t){return t}parseMaybeDefault(t,r){if(t!=null||(t=this.state.startLoc),r=r!=null?r:this.parseBindingAtom(),!this.eat(29))return r;let n=this.startNodeAt(t);return r.type==="VoidPattern"&&this.raise(O.VoidPatternInitializer,r),n.left=r,n.right=this.parseMaybeAssignAllowIn(),this.finishNode(n,"AssignmentPattern")}isValidLVal(t,r,n){switch(t){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties";case"VoidPattern":return!0}return!1}isOptionalMemberExpression(t){return t.type==="OptionalMemberExpression"}checkLVal(t,r,n=64,s=!1,i=!1,a=!1){var o;let l=t.type;if(this.isObjectMethod(t))return;let u=this.isOptionalMemberExpression(t);if(u||l==="MemberExpression"){u&&(this.expectPlugin("optionalChainingAssign",t.loc.start),r.type!=="AssignmentExpression"&&this.raise(O.InvalidLhsOptionalChaining,t,{ancestor:r})),n!==64&&this.raise(O.InvalidPropertyBindingPattern,t);return}if(l==="Identifier"){this.checkIdentifier(t,n,i);let{name:f}=t;s&&(s.has(f)?this.raise(O.ParamDupe,t):s.add(f));return}else l==="VoidPattern"&&r.type==="CatchClause"&&this.raise(O.VoidPatternCatchClauseParam,t);let c=this.isValidLVal(l,!(a||(o=t.extra)!=null&&o.parenthesized)&&r.type==="AssignmentExpression",n);if(c===!0)return;if(c===!1){let f=n===64?O.InvalidLhs:O.InvalidLhsBinding;this.raise(f,t,{ancestor:r});return}let p,d;typeof c=="string"?(p=c,d=l==="ParenthesizedExpression"):[p,d]=c;let m=l==="ArrayPattern"||l==="ObjectPattern"?{type:l}:r,g=t[p];if(Array.isArray(g))for(let f of g)f&&this.checkLVal(f,m,n,s,i,d);else g&&this.checkLVal(g,m,n,s,i,d)}checkIdentifier(t,r,n=!1){this.state.strict&&(n?OS(t.name,this.inModule):NS(t.name))&&(r===64?this.raise(O.StrictEvalArguments,t,{referenceName:t.name}):this.raise(O.StrictEvalArgumentsBinding,t,{bindingName:t.name})),r&8192&&t.name==="let"&&this.raise(O.LetInLexicalBinding,t),r&64||this.declareNameFromIdentifier(t,r)}declareNameFromIdentifier(t,r){this.scope.declareName(t.name,r,t.loc.start)}checkToRestConversion(t,r){switch(t.type){case"ParenthesizedExpression":this.checkToRestConversion(t.expression,r);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(r)break;default:this.raise(O.InvalidRestAssignmentPattern,t)}}checkCommaAfterRest(t){return this.match(12)?(this.raise(this.lookaheadCharCode()===t?O.RestTrailingComma:O.ElementAfterRest,this.state.startLoc),!0):!1}};function TX(e){if(e==null)throw new Error(`Unexpected ${e} value.`);return e}function TS(e){if(!e)throw new Error("Assert fail")}var xe=$n`typescript`({AbstractMethodHasImplementation:({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:e})=>`Property '${e}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:e})=>`'declare' is not allowed in ${e}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:e})=>`Accessibility modifier already seen: '${e}'.`,DuplicateModifier:({modifier:e})=>`Duplicate modifier: '${e}'.`,EmptyHeritageClauseType:({token:e})=>`'${e}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidHeritageClauseType:({token:e})=>`'${e}' list can only include identifiers or qualified-names with optional type arguments.`,InvalidModifierOnAwaitUsingDeclaration:e=>`'${e}' modifier cannot appear on an await using declaration.`,InvalidModifierOnTypeMember:({modifier:e})=>`'${e}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifierOnUsingDeclaration:e=>`'${e}' modifier cannot appear on a using declaration.`,InvalidModifiersOrder:({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifier:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:e})=>`Private elements cannot have an accessibility modifier ('${e}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`,UsingDeclarationInAmbientContext:e=>`'${e}' declarations are not allowed in ambient contexts.`});function xX(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function xS(e){return e==="private"||e==="public"||e==="protected"}function SX(e){return e==="in"||e==="out"}var vX=e=>class extends e{constructor(...r){super(...r),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:xe.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:xe.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:xe.InvalidModifierOnTypeParameter})}getScopeHandler(){return Pm}tsIsIdentifier(){return bt(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),this.hasPrecedingLineBreak()?!1:this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(r,n,s){if(!bt(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let i=this.state.value;if(r.includes(i)){if(s&&this.match(106)||n&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return i}}tsParseModifiers({allowedModifiers:r,disallowedModifiers:n,stopOnStartOfClassStaticBlock:s,errorTemplate:i=xe.InvalidModifierOnTypeMember},a){let o=(u,c,p,d)=>{c===p&&a[d]&&this.raise(xe.InvalidModifiersOrder,u,{orderedModifiers:[p,d]})},l=(u,c,p,d)=>{(a[p]&&c===d||a[d]&&c===p)&&this.raise(xe.IncompatibleModifiers,u,{modifiers:[p,d]})};for(;;){let{startLoc:u}=this.state,c=this.tsParseModifier(r.concat(n!=null?n:[]),s,a.static);if(!c)break;xS(c)?a.accessibility?this.raise(xe.DuplicateAccessibilityModifier,u,{modifier:c}):(o(u,c,c,"override"),o(u,c,c,"static"),o(u,c,c,"readonly"),a.accessibility=c):SX(c)?(a[c]&&this.raise(xe.DuplicateModifier,u,{modifier:c}),a[c]=!0,o(u,c,"in","out")):(hasOwnProperty.call(a,c)?this.raise(xe.DuplicateModifier,u,{modifier:c}):(o(u,c,"static","readonly"),o(u,c,"static","override"),o(u,c,"override","readonly"),o(u,c,"abstract","override"),l(u,c,"declare","override"),l(u,c,"static","abstract")),a[c]=!0),n!=null&&n.includes(c)&&this.raise(i,u,{modifier:c})}}tsIsListTerminator(r){switch(r){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(r,n){let s=[];for(;!this.tsIsListTerminator(r);)s.push(n());return s}tsParseDelimitedList(r,n,s){return TX(this.tsParseDelimitedListWorker(r,n,!0,s))}tsParseDelimitedListWorker(r,n,s,i){let a=[],o=-1;for(;!this.tsIsListTerminator(r);){o=-1;let l=n();if(l==null)return;if(a.push(l),this.eat(12)){o=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(r))break;s&&this.expect(12);return}return i&&(i.value=o),a}tsParseBracketedList(r,n,s,i,a){i||(s?this.expect(0):this.expect(47));let o=this.tsParseDelimitedList(r,n,a);return s?this.expect(3):this.expect(48),o}tsParseImportType(){let r=this.startNode();return this.expect(83),this.expect(10),this.match(134)?r.argument=this.parseStringLiteral(this.state.value):(this.raise(xe.UnsupportedImportTypeArgument,this.state.startLoc),r.argument=super.parseExprAtom()),this.eat(12)?r.options=this.tsParseImportTypeOptions():r.options=null,this.expect(11),this.eat(16)&&(r.qualifier=this.tsParseEntityName(3)),this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSImportType")}tsParseImportTypeOptions(){let r=this.startNode();this.expect(5);let n=this.startNode();return this.isContextual(76)?(n.method=!1,n.key=this.parseIdentifier(!0),n.computed=!1,n.shorthand=!1):this.unexpected(null,76),this.expect(14),n.value=this.tsParseImportTypeWithPropertyValue(),r.properties=[this.finishObjectProperty(n)],this.expect(8),this.finishNode(r,"ObjectExpression")}tsParseImportTypeWithPropertyValue(){let r=this.startNode(),n=[];for(this.expect(5);!this.match(8);){let s=this.state.type;bt(s)||s===134?n.push(super.parsePropertyDefinition(null)):this.unexpected(),this.eat(12)}return r.properties=n,this.next(),this.finishNode(r,"ObjectExpression")}tsParseEntityName(r){let n;if(r&1&&this.match(78))if(r&2)n=this.parseIdentifier(!0);else{let s=this.startNode();this.next(),n=this.finishNode(s,"ThisExpression")}else n=this.parseIdentifier(!!(r&1));for(;this.eat(16);){let s=this.startNodeAtNode(n);s.left=n,s.right=this.parseIdentifier(!!(r&1)),n=this.finishNode(s,"TSQualifiedName")}return n}tsParseTypeReference(){let r=this.startNode();return r.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSTypeReference")}tsParseThisTypePredicate(r){this.next();let n=this.startNodeAtNode(r);return n.parameterName=r,n.typeAnnotation=this.tsParseTypeAnnotation(!1),n.asserts=!1,this.finishNode(n,"TSTypePredicate")}tsParseThisTypeNode(){let r=this.startNode();return this.next(),this.finishNode(r,"TSThisType")}tsParseTypeQuery(){let r=this.startNode();return this.expect(87),this.match(83)?r.exprName=this.tsParseImportType():r.exprName=this.tsParseEntityName(3),!this.hasPrecedingLineBreak()&&this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSTypeQuery")}tsParseTypeParameter(r){let n=this.startNode();return r(n),n.name=this.tsParseTypeParameterName(),n.constraint=this.tsEatThenParseType(81),n.default=this.tsEatThenParseType(29),this.finishNode(n,"TSTypeParameter")}tsTryParseTypeParameters(r){if(this.match(47))return this.tsParseTypeParameters(r)}tsParseTypeParameters(r){let n=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();let s={value:-1};return n.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,r),!1,!0,s),n.params.length===0&&this.raise(xe.EmptyTypeParameters,n),s.value!==-1&&this.addExtra(n,"trailingComma",s.value),this.finishNode(n,"TSTypeParameterDeclaration")}tsFillSignature(r,n){let s=r===19,i="parameters",a="typeAnnotation";n.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),n[i]=this.tsParseBindingListForSignature(),s?n[a]=this.tsParseTypeOrTypePredicateAnnotation(r):this.match(r)&&(n[a]=this.tsParseTypeOrTypePredicateAnnotation(r))}tsParseBindingListForSignature(){let r=super.parseBindingList(11,41,2);for(let n of r){let{type:s}=n;(s==="AssignmentPattern"||s==="TSParameterProperty")&&this.raise(xe.UnsupportedSignatureParameterKind,n,{type:s})}return r}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(r,n){return this.tsFillSignature(14,n),this.tsParseTypeMemberSemicolon(),this.finishNode(n,r)}tsIsUnambiguouslyIndexSignature(){return this.next(),bt(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(r){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let n=this.parseIdentifier();n.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(n),this.expect(3),r.parameters=[n];let s=this.tsTryParseTypeAnnotation();return s&&(r.typeAnnotation=s),this.tsParseTypeMemberSemicolon(),this.finishNode(r,"TSIndexSignature")}tsParsePropertyOrMethodSignature(r,n){if(this.eat(17)&&(r.optional=!0),this.match(10)||this.match(47)){n&&this.raise(xe.ReadonlyForMethodSignature,r);let s=r;s.kind&&this.match(47)&&this.raise(xe.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon();let i="parameters",a="typeAnnotation";if(s.kind==="get")s[i].length>0&&(this.raise(O.BadGetterArity,this.state.curPosition()),this.isThisParam(s[i][0])&&this.raise(xe.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(s.kind==="set"){if(s[i].length!==1)this.raise(O.BadSetterArity,this.state.curPosition());else{let o=s[i][0];this.isThisParam(o)&&this.raise(xe.AccessorCannotDeclareThisParameter,this.state.curPosition()),o.type==="Identifier"&&o.optional&&this.raise(xe.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),o.type==="RestElement"&&this.raise(xe.SetAccessorCannotHaveRestParameter,this.state.curPosition())}s[a]&&this.raise(xe.SetAccessorCannotHaveReturnType,s[a])}else s.kind="method";return this.finishNode(s,"TSMethodSignature")}else{let s=r;n&&(s.readonly=!0);let i=this.tsTryParseTypeAnnotation();return i&&(s.typeAnnotation=i),this.tsParseTypeMemberSemicolon(),this.finishNode(s,"TSPropertySignature")}}tsParseTypeMember(){let r=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",r);if(this.match(77)){let s=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",r):(r.key=this.createIdentifier(s,"new"),this.tsParsePropertyOrMethodSignature(r,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},r);let n=this.tsTryParseIndexSignature(r);return n||(super.parsePropertyName(r),!r.computed&&r.key.type==="Identifier"&&(r.key.name==="get"||r.key.name==="set")&&this.tsTokenCanFollowModifier()&&(r.kind=r.key.name,super.parsePropertyName(r),!this.match(10)&&!this.match(47)&&this.unexpected(null,10)),this.tsParsePropertyOrMethodSignature(r,!!r.readonly))}tsParseTypeLiteral(){let r=this.startNode();return r.members=this.tsParseObjectTypeMembers(),this.finishNode(r,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let r=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),r}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedType(){let r=this.startNode();this.expect(5),this.match(53)?(r.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(r.readonly=!0),this.expect(0);{let n=this.startNode();n.name=this.tsParseTypeParameterName(),n.constraint=this.tsExpectThenParseType(58),r.typeParameter=this.finishNode(n,"TSTypeParameter")}return r.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(r.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(r.optional=!0),r.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(r,"TSMappedType")}tsParseTupleType(){let r=this.startNode();r.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let n=!1;return r.elementTypes.forEach(s=>{let{type:i}=s;n&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&s.optional)&&this.raise(xe.OptionalTypeBeforeRequired,s),n||(n=i==="TSNamedTupleMember"&&s.optional||i==="TSOptionalType")}),this.finishNode(r,"TSTupleType")}tsParseTupleElementType(){let r=this.state.startLoc,n=this.eat(21),{startLoc:s}=this.state,i,a,o,l,c=Sn(this.state.type)?this.lookaheadCharCode():null;if(c===58)i=!0,o=!1,a=this.parseIdentifier(!0),this.expect(14),l=this.tsParseType();else if(c===63){o=!0;let p=this.state.value,d=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(i=!0,a=this.createIdentifier(this.startNodeAt(s),p),this.expect(17),this.expect(14),l=this.tsParseType()):(i=!1,l=d,this.expect(17))}else l=this.tsParseType(),o=this.eat(17),i=this.eat(14);if(i){let p;a?(p=this.startNodeAt(s),p.optional=o,p.label=a,p.elementType=l,this.eat(17)&&(p.optional=!0,this.raise(xe.TupleOptionalAfterType,this.state.lastTokStartLoc))):(p=this.startNodeAt(s),p.optional=o,this.raise(xe.InvalidTupleMemberLabel,l),p.label=l,p.elementType=this.tsParseType()),l=this.finishNode(p,"TSNamedTupleMember")}else if(o){let p=this.startNodeAt(s);p.typeAnnotation=l,l=this.finishNode(p,"TSOptionalType")}if(n){let p=this.startNodeAt(r);p.typeAnnotation=l,l=this.finishNode(p,"TSRestType")}return l}tsParseParenthesizedType(){let r=this.startNode();return this.expect(10),r.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(r,"TSParenthesizedType")}tsParseFunctionOrConstructorType(r,n){let s=this.startNode();return r==="TSConstructorType"&&(s.abstract=!!n,n&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,s)),this.finishNode(s,r)}tsParseLiteralTypeNode(){let r=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:r.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(r,"TSLiteralType")}tsParseTemplateLiteralType(){{let r=this.startNode();return r.literal=super.parseTemplate(!1),this.finishNode(r,"TSLiteralType")}}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let r=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(r):r}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let r=this.startNode(),n=this.lookahead();return n.type!==135&&n.type!==136&&this.unexpected(),r.literal=this.parseMaybeUnary(),this.finishNode(r,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:r}=this.state;if(bt(r)||r===88||r===84){let n=r===88?"TSVoidKeyword":r===84?"TSNullKeyword":xX(this.state.value);if(n!==void 0&&this.lookaheadCharCode()!==46){let s=this.startNode();return this.next(),this.finishNode(s,n)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let{startLoc:r}=this.state,n=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let s=this.startNodeAt(r);s.elementType=n,this.expect(3),n=this.finishNode(s,"TSArrayType")}else{let s=this.startNodeAt(r);s.objectType=n,s.indexType=this.tsParseType(),this.expect(3),n=this.finishNode(s,"TSIndexedAccessType")}return n}tsParseTypeOperator(){let r=this.startNode(),n=this.state.value;return this.next(),r.operator=n,r.typeAnnotation=this.tsParseTypeOperatorOrHigher(),n==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(r),this.finishNode(r,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(r){switch(r.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(xe.UnexpectedReadonly,r)}}tsParseInferType(){let r=this.startNode();this.expectContextual(115);let n=this.startNode();return n.name=this.tsParseTypeParameterName(),n.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),r.typeParameter=this.finishNode(n,"TSTypeParameter"),this.finishNode(r,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let r=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return r}}tsParseTypeOperatorOrHigher(){return $G(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(r,n,s){let i=this.startNode(),a=this.eat(s),o=[];do o.push(n());while(this.eat(s));return o.length===1&&!a?o[0]:(i.types=o,this.finishNode(i,r))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(bt(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:r}=this.state,n=r.length;try{return this.parseObjectLike(8,!0),r.length===n}catch{return!1}}if(this.match(0)){this.next();let{errors:r}=this.state,n=r.length;try{return super.parseBindingList(3,93,1),r.length===n}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(r){return this.tsInType(()=>{let n=this.startNode();this.expect(r);let s=this.startNode(),i=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(i&&this.match(78)){let l=this.tsParseThisTypeOrThisTypePredicate();return l.type==="TSThisType"?(s.parameterName=l,s.asserts=!0,s.typeAnnotation=null,l=this.finishNode(s,"TSTypePredicate")):(this.resetStartLocationFromNode(l,s),l.asserts=!0),n.typeAnnotation=l,this.finishNode(n,"TSTypeAnnotation")}let a=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!a)return i?(s.parameterName=this.parseIdentifier(),s.asserts=i,s.typeAnnotation=null,n.typeAnnotation=this.finishNode(s,"TSTypePredicate"),this.finishNode(n,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,n);let o=this.tsParseTypeAnnotation(!1);return s.parameterName=a,s.typeAnnotation=o,s.asserts=i,n.typeAnnotation=this.finishNode(s,"TSTypePredicate"),this.finishNode(n,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let r=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),r}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let r=this.state.containsEsc;return this.next(),!bt(this.state.type)&&!this.match(78)?!1:(r&&this.raise(O.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(r=!0,n=this.startNode()){return this.tsInType(()=>{r&&this.expect(14),n.typeAnnotation=this.tsParseType()}),this.finishNode(n,"TSTypeAnnotation")}tsParseType(){TS(this.state.inType);let r=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return r;let n=this.startNodeAtNode(r);return n.checkType=r,n.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),n.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),n.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(n,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.isLookaheadContextual("new")}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(xe.ReservedTypeAssertion,this.state.startLoc);let r=this.startNode();return r.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),r.expression=this.parseMaybeUnary(),this.finishNode(r,"TSTypeAssertion")}tsParseHeritageClause(r){let n=this.state.startLoc,s=this.tsParseDelimitedList("HeritageClauseElement",()=>{{let i=this.startNode();return i.expression=this.tsParseEntityName(3),this.match(47)&&(i.typeParameters=this.tsParseTypeArguments()),this.finishNode(i,"TSExpressionWithTypeArguments")}});return s.length||this.raise(xe.EmptyHeritageClauseType,n,{token:r}),s}tsParseInterfaceDeclaration(r,n={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),n.declare&&(r.declare=!0),bt(this.state.type)?(r.id=this.parseIdentifier(),this.checkIdentifier(r.id,130)):(r.id=null,this.raise(xe.MissingInterfaceName,this.state.startLoc)),r.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(r.extends=this.tsParseHeritageClause("extends"));let s=this.startNode();return s.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),r.body=this.finishNode(s,"TSInterfaceBody"),this.finishNode(r,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(r){return r.id=this.parseIdentifier(),this.checkIdentifier(r.id,2),r.typeAnnotation=this.tsInType(()=>{if(r.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookaheadCharCode()!==46){let n=this.startNode();return this.next(),this.finishNode(n,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(r,"TSTypeAliasDeclaration")}tsInTopLevelContext(r){if(this.curContext()!==dt.brace){let n=this.state.context;this.state.context=[n[0]];try{return r()}finally{this.state.context=n}}else return r()}tsInType(r){let n=this.state.inType;this.state.inType=!0;try{return r()}finally{this.state.inType=n}}tsInDisallowConditionalTypesContext(r){let n=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return r()}finally{this.state.inDisallowConditionalTypesContext=n}}tsInAllowConditionalTypesContext(r){let n=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return r()}finally{this.state.inDisallowConditionalTypesContext=n}}tsEatThenParseType(r){if(this.match(r))return this.tsNextThenParseType()}tsExpectThenParseType(r){return this.tsInType(()=>(this.expect(r),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let r=this.startNode();return r.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(r.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(r,"TSEnumMember")}tsParseEnumDeclaration(r,n={}){return n.const&&(r.const=!0),n.declare&&(r.declare=!0),this.expectContextual(126),r.id=this.parseIdentifier(),this.checkIdentifier(r.id,r.const?8971:8459),this.expect(5),r.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(r,"TSEnumDeclaration")}tsParseEnumBody(){let r=this.startNode();return this.expect(5),r.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(r,"TSEnumBody")}tsParseModuleBlock(){let r=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(r.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(r,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(r,n=!1){if(r.id=this.parseIdentifier(),n||this.checkIdentifier(r.id,1024),this.eat(16)){let s=this.startNode();this.tsParseModuleOrNamespaceDeclaration(s,!0),r.body=s}else this.scope.enter(1024),this.prodParam.enter(0),r.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(r,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(r){return this.isContextual(112)?(r.kind="global",r.global=!0,r.id=this.parseIdentifier()):this.match(134)?(r.kind="module",r.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(1024),this.prodParam.enter(0),r.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(r,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(r,n,s){r.isExport=s||!1,r.id=n||this.parseIdentifier(),this.checkIdentifier(r.id,4096),this.expect(29);let i=this.tsParseModuleReference();return r.importKind==="type"&&i.type!=="TSExternalModuleReference"&&this.raise(xe.ImportAliasHasImportType,i),r.moduleReference=i,this.semicolon(),this.finishNode(r,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){let r=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),r.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(r,"TSExternalModuleReference")}tsLookAhead(r){let n=this.state.clone(),s=r();return this.state=n,s}tsTryParseAndCatch(r){let n=this.tryParse(s=>r()||s());if(!(n.aborted||!n.node))return n.error&&(this.state=n.failState),n.node}tsTryParse(r){let n=this.state.clone(),s=r();if(s!==void 0&&s!==!1)return s;this.state=n}tsTryParseDeclare(r){if(this.isLineTerminator())return;let n=this.state.type;return this.tsInAmbientContext(()=>{switch(n){case 68:return r.declare=!0,super.parseFunctionStatement(r,!1,!1);case 80:return r.declare=!0,this.parseClass(r,!0,!1);case 126:return this.tsParseEnumDeclaration(r,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(r);case 100:if(this.state.containsEsc)return;case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(r.declare=!0,this.parseVarStatement(r,this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(r,{const:!0,declare:!0}));case 107:if(this.isUsing())return this.raise(xe.InvalidModifierOnUsingDeclaration,this.state.startLoc,"declare"),r.declare=!0,this.parseVarStatement(r,"using",!0);break;case 96:if(this.isAwaitUsing())return this.raise(xe.InvalidModifierOnAwaitUsingDeclaration,this.state.startLoc,"declare"),r.declare=!0,this.next(),this.parseVarStatement(r,"await using",!0);break;case 129:{let s=this.tsParseInterfaceDeclaration(r,{declare:!0});if(s)return s}default:if(bt(n))return this.tsParseDeclaration(r,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(r,n,s){switch(n.name){case"declare":{let i=this.tsTryParseDeclare(r);return i&&(i.declare=!0),i}case"global":if(this.match(5)){this.scope.enter(1024),this.prodParam.enter(0);let i=r;return i.kind="global",r.global=!0,i.id=n,i.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(i,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(r,n.name,!1,s)}}tsParseDeclaration(r,n,s,i){switch(n){case"abstract":if(this.tsCheckLineTerminator(s)&&(this.match(80)||bt(this.state.type)))return this.tsParseAbstractDeclaration(r,i);break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(r);if(bt(this.state.type))return r.kind="module",this.tsParseModuleOrNamespaceDeclaration(r)}break;case"namespace":if(this.tsCheckLineTerminator(s)&&bt(this.state.type))return r.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(r);break;case"type":if(this.tsCheckLineTerminator(s)&&bt(this.state.type))return this.tsParseTypeAliasDeclaration(r);break}}tsCheckLineTerminator(r){return r?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(r){if(!this.match(47))return;let n=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let s=this.tsTryParseAndCatch(()=>{let i=this.startNodeAt(r);return i.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(i),i.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),i});if(this.state.maybeInArrowParameters=n,!!s)return super.parseArrowExpression(s,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let r=this.startNode();return r.params=this.tsInType(()=>this.tsInTopLevelContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),r.params.length===0?this.raise(xe.EmptyTypeArguments,r):!this.state.inType&&this.curContext()===dt.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(r,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return WG(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseBindingElement(r,n){let s=n.length?n[0].loc.start:this.state.startLoc,i={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},i);let a=i.accessibility,o=i.override,l=i.readonly;!(r&4)&&(a||l||o)&&this.raise(xe.UnexpectedParameterModifier,s);let u=this.parseMaybeDefault();r&2&&this.parseFunctionParamType(u);let c=this.parseMaybeDefault(u.loc.start,u);if(a||l||o){let p=this.startNodeAt(s);return n.length&&(p.decorators=n),a&&(p.accessibility=a),l&&(p.readonly=l),o&&(p.override=o),c.type!=="Identifier"&&c.type!=="AssignmentPattern"&&this.raise(xe.UnsupportedParameterPropertyKind,p),p.parameter=c,this.finishNode(p,"TSParameterProperty")}return n.length&&(u.decorators=n),c}isSimpleParameter(r){return r.type==="TSParameterProperty"&&super.isSimpleParameter(r.parameter)||super.isSimpleParameter(r)}tsDisallowOptionalPattern(r){for(let n of r.params)n.type!=="Identifier"&&n.optional&&!this.state.isAmbientContext&&this.raise(xe.PatternIsOptional,n)}setArrowFunctionParameters(r,n,s){super.setArrowFunctionParameters(r,n,s),this.tsDisallowOptionalPattern(r)}parseFunctionBodyAndFinish(r,n,s=!1){this.match(14)&&(r.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let i=n==="FunctionDeclaration"?"TSDeclareFunction":n==="ClassMethod"||n==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return i&&!this.match(5)&&this.isLineTerminator()?this.finishNode(r,i):i==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(xe.DeclareFunctionHasImplementation,r),r.declare)?super.parseFunctionBodyAndFinish(r,i,s):(this.tsDisallowOptionalPattern(r),super.parseFunctionBodyAndFinish(r,n,s))}registerFunctionStatementId(r){!r.body&&r.id?this.checkIdentifier(r.id,1024):super.registerFunctionStatementId(r)}tsCheckForInvalidTypeCasts(r){r.forEach(n=>{(n==null?void 0:n.type)==="TSTypeCastExpression"&&this.raise(xe.UnexpectedTypeAnnotation,n.typeAnnotation)})}toReferencedList(r,n){return this.tsCheckForInvalidTypeCasts(r),r}parseArrayLike(r,n,s,i){let a=super.parseArrayLike(r,n,s,i);return a.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(a.elements),a}parseSubscript(r,n,s,i){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let o=this.startNodeAt(n);return o.expression=r,this.finishNode(o,"TSNonNullExpression")}let a=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(s)return i.stop=!0,r;i.optionalChainMember=a=!0,this.next()}if(this.match(47)||this.match(51)){let o,l=this.tsTryParseAndCatch(()=>{if(!s&&this.atPossibleAsyncArrow(r)){let d=this.tsTryParseGenericAsyncArrowFunction(n);if(d)return d}let u=this.tsParseTypeArgumentsInExpression();if(!u)return;if(a&&!this.match(10)){o=this.state.curPosition();return}if(Ou(this.state.type)){let d=super.parseTaggedTemplateExpression(r,n,i);return d.typeParameters=u,d}if(!s&&this.eat(10)){let d=this.startNodeAt(n);return d.callee=r,d.arguments=this.parseCallExpressionArguments(),this.tsCheckForInvalidTypeCasts(d.arguments),d.typeParameters=u,i.optionalChainMember&&(d.optional=a),this.finishCallExpression(d,i.optionalChainMember)}let c=this.state.type;if(c===48||c===52||c!==10&&Oo(c)&&!this.hasPrecedingLineBreak())return;let p=this.startNodeAt(n);return p.expression=r,p.typeParameters=u,this.finishNode(p,"TSInstantiationExpression")});if(o&&this.unexpected(o,10),l)return l.type==="TSInstantiationExpression"&&((this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(xe.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),!this.match(16)&&!this.match(18)&&(l.expression=super.stopParseSubscript(r,i))),l}return super.parseSubscript(r,n,s,i)}parseNewCallee(r){var n;super.parseNewCallee(r);let{callee:s}=r;s.type==="TSInstantiationExpression"&&!((n=s.extra)!=null&&n.parenthesized)&&(r.typeParameters=s.typeParameters,r.callee=s.expression)}parseExprOp(r,n,s){let i;if(Iu(58)>s&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(i=this.isContextual(120)))){let a=this.startNodeAt(n);return a.expression=r,a.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(i&&this.raise(O.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(a,i?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(a,n,s)}return super.parseExprOp(r,n,s)}checkReservedWord(r,n,s,i){this.state.isAmbientContext||super.checkReservedWord(r,n,s,i)}checkImportReflection(r){super.checkImportReflection(r),r.module&&r.importKind!=="value"&&this.raise(xe.ImportReflectionHasImportType,r.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(r){if(super.isPotentialImportPhase(r))return!0;if(this.isContextual(130)){let n=this.lookaheadCharCode();return r?n===123||n===42:n!==61}return!r&&this.isContextual(87)}applyImportPhase(r,n,s,i){super.applyImportPhase(r,n,s,i),n?r.exportKind=s==="type"?"type":"value":r.importKind=s==="type"||s==="typeof"?s:"value"}parseImport(r){if(this.match(134))return r.importKind="value",super.parseImport(r);let n;if(bt(this.state.type)&&this.lookaheadCharCode()===61)return r.importKind="value",this.tsParseImportEqualsDeclaration(r);if(this.isContextual(130)){let s=this.parseMaybeImportPhase(r,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(r,s);n=super.parseImportSpecifiersAndAfter(r,s)}else n=super.parseImport(r);return n.importKind==="type"&&n.specifiers.length>1&&n.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(xe.TypeImportCannotSpecifyDefaultAndNamed,n),n}parseExport(r,n){if(this.match(83)){let s=r;this.next();let i=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?i=this.parseMaybeImportPhase(s,!1):s.importKind="value",this.tsParseImportEqualsDeclaration(s,i,!0)}else if(this.eat(29)){let s=r;return s.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(s,"TSExportAssignment")}else if(this.eatContextual(93)){let s=r;return this.expectContextual(128),s.id=this.parseIdentifier(),this.semicolon(),this.finishNode(s,"TSNamespaceExportDeclaration")}else return super.parseExport(r,n)}isAbstractClass(){return this.isContextual(124)&&this.isLookaheadContextual("class")}parseExportDefaultExpression(){if(this.isAbstractClass()){let r=this.startNode();return this.next(),r.abstract=!0,this.parseClass(r,!0,!0)}if(this.match(129)){let r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r}return super.parseExportDefaultExpression()}parseVarStatement(r,n,s=!1){let{isAmbientContext:i}=this.state,a=super.parseVarStatement(r,n,s||i);if(!i)return a;if(!r.declare&&(n==="using"||n==="await using"))return this.raiseOverwrite(xe.UsingDeclarationInAmbientContext,r,n),a;for(let{id:o,init:l}of a.declarations)l&&(n==="var"||n==="let"||o.typeAnnotation?this.raise(xe.InitializerNotAllowedInAmbientContext,l):AX(l,this.hasPlugin("estree"))||this.raise(xe.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,l));return a}parseStatementContent(r,n){if(this.match(75)&&this.isLookaheadContextual("enum")){let s=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(s,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let s=this.tsParseInterfaceDeclaration(this.startNode());if(s)return s}return super.parseStatementContent(r,n)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(r,n){return n.some(s=>xS(s)?r.accessibility===s:!!r[s])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(r,n,s){let i=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:i,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:xe.InvalidModifierOnTypeParameterPositions},n);let a=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(n,i)&&this.raise(xe.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(r,n)):this.parseClassMemberWithIsStatic(r,n,s,!!n.static)};n.declare?this.tsInAmbientContext(a):a()}parseClassMemberWithIsStatic(r,n,s,i){let a=this.tsTryParseIndexSignature(n);if(a){r.body.push(a),n.abstract&&this.raise(xe.IndexSignatureHasAbstract,n),n.accessibility&&this.raise(xe.IndexSignatureHasAccessibility,n,{modifier:n.accessibility}),n.declare&&this.raise(xe.IndexSignatureHasDeclare,n),n.override&&this.raise(xe.IndexSignatureHasOverride,n);return}!this.state.inAbstractClass&&n.abstract&&this.raise(xe.NonAbstractClassHasAbstractMethod,n),n.override&&(s.hadSuperClass||this.raise(xe.OverrideNotInSubClass,n)),super.parseClassMemberWithIsStatic(r,n,s,i)}parsePostMemberNameModifiers(r){this.eat(17)&&(r.optional=!0),r.readonly&&this.match(10)&&this.raise(xe.ClassMethodHasReadonly,r),r.declare&&this.match(10)&&this.raise(xe.ClassMethodHasDeclare,r)}parseExpressionStatement(r,n,s){return(n.type==="Identifier"?this.tsParseExpressionStatement(r,n,s):void 0)||super.parseExpressionStatement(r,n,s)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(r,n,s){if(!this.match(17))return r;if(this.state.maybeInArrowParameters){let i=this.lookaheadCharCode();if(i===44||i===61||i===58||i===41)return this.setOptionalParametersError(s),r}return super.parseConditional(r,n,s)}parseParenItem(r,n){let s=super.parseParenItem(r,n);if(this.eat(17)&&(s.optional=!0,this.resetEndLocation(r)),this.match(14)){let i=this.startNodeAt(n);return i.expression=r,i.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(i,"TSTypeCastExpression")}return r}parseExportDeclaration(r){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(r));let n=this.state.startLoc,s=this.eatContextual(125);if(s&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(xe.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let a=bt(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(r);return a?((a.type==="TSInterfaceDeclaration"||a.type==="TSTypeAliasDeclaration"||s)&&(r.exportKind="type"),s&&a.type!=="TSImportEqualsDeclaration"&&(this.resetStartLocation(a,n),a.declare=!0),a):null}parseClassId(r,n,s,i){if((!n||s)&&this.isContextual(113))return;super.parseClassId(r,n,s,r.declare?1024:8331);let a=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);a&&(r.typeParameters=a)}parseClassPropertyAnnotation(r){r.optional||(this.eat(35)?r.definite=!0:this.eat(17)&&(r.optional=!0));let n=this.tsTryParseTypeAnnotation();n&&(r.typeAnnotation=n)}parseClassProperty(r){if(this.parseClassPropertyAnnotation(r),this.state.isAmbientContext&&!(r.readonly&&!r.typeAnnotation)&&this.match(29)&&this.raise(xe.DeclareClassFieldHasInitializer,this.state.startLoc),r.abstract&&this.match(29)){let{key:n}=r;this.raise(xe.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:n.type==="Identifier"&&!r.computed?n.name:`[${this.input.slice(this.offsetToSourcePos(n.start),this.offsetToSourcePos(n.end))}]`})}return super.parseClassProperty(r)}parseClassPrivateProperty(r){return r.abstract&&this.raise(xe.PrivateElementHasAbstract,r),r.accessibility&&this.raise(xe.PrivateElementHasAccessibility,r,{modifier:r.accessibility}),this.parseClassPropertyAnnotation(r),super.parseClassPrivateProperty(r)}parseClassAccessorProperty(r){return this.parseClassPropertyAnnotation(r),r.optional&&this.raise(xe.AccessorCannotBeOptional,r),super.parseClassAccessorProperty(r)}pushClassMethod(r,n,s,i,a,o){let l=this.tsTryParseTypeParameters(this.tsParseConstModifier);l&&a&&this.raise(xe.ConstructorHasTypeParameters,l);let{declare:u=!1,kind:c}=n;u&&(c==="get"||c==="set")&&this.raise(xe.DeclareAccessor,n,{kind:c}),l&&(n.typeParameters=l),super.pushClassMethod(r,n,s,i,a,o)}pushClassPrivateMethod(r,n,s,i){let a=this.tsTryParseTypeParameters(this.tsParseConstModifier);a&&(n.typeParameters=a),super.pushClassPrivateMethod(r,n,s,i)}declareClassPrivateMethodInScope(r,n){r.type!=="TSDeclareMethod"&&(r.type==="MethodDefinition"&&r.value.body==null||super.declareClassPrivateMethodInScope(r,n))}parseClassSuper(r){super.parseClassSuper(r),r.superClass&&(this.match(47)||this.match(51))&&(r.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(r.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(r,n,s,i,a,o,l){let u=this.tsTryParseTypeParameters(this.tsParseConstModifier);return u&&(r.typeParameters=u),super.parseObjPropValue(r,n,s,i,a,o,l)}parseFunctionParams(r,n){let s=this.tsTryParseTypeParameters(this.tsParseConstModifier);s&&(r.typeParameters=s),super.parseFunctionParams(r,n)}parseVarId(r,n){super.parseVarId(r,n),r.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(r.definite=!0);let s=this.tsTryParseTypeAnnotation();s&&(r.id.typeAnnotation=s,this.resetEndLocation(r.id))}parseAsyncArrowFromCallExpression(r,n){return this.match(14)&&(r.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(r,n)}parseMaybeAssign(r,n){var s,i,a,o,l;let u,c,p;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(u=this.state.clone(),c=this.tryParse(()=>super.parseMaybeAssign(r,n),u),!c.error)return c.node;let{context:g}=this.state,f=g[g.length-1];(f===dt.j_oTag||f===dt.j_expr)&&g.pop()}if(!((s=c)!=null&&s.error)&&!this.match(47))return super.parseMaybeAssign(r,n);(!u||u===this.state)&&(u=this.state.clone());let d,m=this.tryParse(g=>{var f,b;d=this.tsParseTypeParameters(this.tsParseConstModifier);let T=super.parseMaybeAssign(r,n);return(T.type!=="ArrowFunctionExpression"||(f=T.extra)!=null&&f.parenthesized)&&g(),((b=d)==null?void 0:b.params.length)!==0&&this.resetStartLocationFromNode(T,d),T.typeParameters=d,T},u);if(!m.error&&!m.aborted)return d&&this.reportReservedArrowTypeParam(d),m.node;if(!c&&(TS(!this.hasPlugin("jsx")),p=this.tryParse(()=>super.parseMaybeAssign(r,n),u),!p.error))return p.node;if((i=c)!=null&&i.node)return this.state=c.failState,c.node;if(m.node)return this.state=m.failState,d&&this.reportReservedArrowTypeParam(d),m.node;if((a=p)!=null&&a.node)return this.state=p.failState,p.node;throw((o=c)==null?void 0:o.error)||m.error||((l=p)==null?void 0:l.error)}reportReservedArrowTypeParam(r){var n;r.params.length===1&&!r.params[0].constraint&&!((n=r.extra)!=null&&n.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(xe.ReservedArrowTypeParam,r)}parseMaybeUnary(r,n){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(r,n)}parseArrow(r){if(this.match(14)){let n=this.tryParse(s=>{let i=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&s(),i});if(n.aborted)return;n.thrown||(n.error&&(this.state=n.failState),r.returnType=n.node)}return super.parseArrow(r)}parseFunctionParamType(r){this.eat(17)&&(r.optional=!0);let n=this.tsTryParseTypeAnnotation();return n&&(r.typeAnnotation=n),this.resetEndLocation(r),r}isAssignable(r,n){switch(r.type){case"TSTypeCastExpression":return this.isAssignable(r.expression,n);case"TSParameterProperty":return!0;default:return super.isAssignable(r,n)}}toAssignable(r,n=!1){switch(r.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(r,n);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":n?this.expressionScope.recordArrowParameterBindingError(xe.UnexpectedTypeCastInParameter,r):this.raise(xe.UnexpectedTypeCastInParameter,r),this.toAssignable(r.expression,n);break;case"AssignmentExpression":!n&&r.left.type==="TSTypeCastExpression"&&(r.left=this.typeCastToParameter(r.left));default:super.toAssignable(r,n)}}toAssignableParenthesizedExpression(r,n){switch(r.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(r.expression,n);break;default:super.toAssignable(r,n)}}checkToRestConversion(r,n){switch(r.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(r.expression,!1);break;default:super.checkToRestConversion(r,n)}}isValidLVal(r,n,s){switch(r){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(s!==64||!n)&&["expression",!0];default:return super.isValidLVal(r,n,s)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(r,n){if(this.match(47)||this.match(51)){let s=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let i=super.parseMaybeDecoratorArguments(r,n);return i.typeParameters=s,i}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(r,n)}checkCommaAfterRest(r){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===r?(this.next(),!1):super.checkCommaAfterRest(r)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(r,n){let s=super.parseMaybeDefault(r,n);return s.type==="AssignmentPattern"&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(xe.TypeAnnotationAfterAssign,s.typeAnnotation),s}getTokenFromCode(r){if(this.state.inType){if(r===62){this.finishOp(48,1);return}if(r===60){this.finishOp(47,1);return}}super.getTokenFromCode(r)}reScan_lt_gt(){let{type:r}=this.state;r===47?(this.state.pos-=1,this.readToken_lt()):r===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:r}=this.state;return r===51?(this.state.pos-=2,this.finishOp(47,1),47):r}toAssignableListItem(r,n,s){let i=r[n];i.type==="TSTypeCastExpression"&&(r[n]=this.typeCastToParameter(i)),super.toAssignableListItem(r,n,s)}typeCastToParameter(r){return r.expression.typeAnnotation=r.typeAnnotation,this.resetEndLocation(r.expression,r.typeAnnotation.loc.end),r.expression}shouldParseArrow(r){return this.match(14)?r.every(n=>this.isAssignable(n,!0)):super.shouldParseArrow(r)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(r){if(this.match(47)||this.match(51)){let n=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());n&&(r.typeParameters=n)}return super.jsxParseOpeningElementAfterName(r)}getGetterSetterExpectedParamCount(r){let n=super.getGetterSetterExpectedParamCount(r),i=this.getObjectOrClassMethodParams(r)[0];return i&&this.isThisParam(i)?n+1:n}parseCatchClauseParam(){let r=super.parseCatchClauseParam(),n=this.tsTryParseTypeAnnotation();return n&&(r.typeAnnotation=n,this.resetEndLocation(r)),r}tsInAmbientContext(r){let{isAmbientContext:n,strict:s}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return r()}finally{this.state.isAmbientContext=n,this.state.strict=s}}parseClass(r,n,s){let i=this.state.inAbstractClass;this.state.inAbstractClass=!!r.abstract;try{return super.parseClass(r,n,s)}finally{this.state.inAbstractClass=i}}tsParseAbstractDeclaration(r,n){if(this.match(80))return r.abstract=!0,this.maybeTakeDecorators(n,this.parseClass(r,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return r.abstract=!0,this.raise(xe.NonClassMethodPropertyHasAbstractModifier,r),this.tsParseInterfaceDeclaration(r)}else this.unexpected(null,80)}parseMethod(r,n,s,i,a,o,l){let u=super.parseMethod(r,n,s,i,a,o,l);if((u.abstract||u.type==="TSAbstractMethodDefinition")&&(this.hasPlugin("estree")?u.value:u).body){let{key:d}=u;this.raise(xe.AbstractMethodHasImplementation,u,{methodName:d.type==="Identifier"&&!u.computed?d.name:`[${this.input.slice(this.offsetToSourcePos(d.start),this.offsetToSourcePos(d.end))}]`})}return u}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(r,n,s,i){return!n&&i?(this.parseTypeOnlyImportExportSpecifier(r,!1,s),this.finishNode(r,"ExportSpecifier")):(r.exportKind="value",super.parseExportSpecifier(r,n,s,i))}parseImportSpecifier(r,n,s,i,a){return!n&&i?(this.parseTypeOnlyImportExportSpecifier(r,!0,s),this.finishNode(r,"ImportSpecifier")):(r.importKind="value",super.parseImportSpecifier(r,n,s,i,s?4098:4096))}parseTypeOnlyImportExportSpecifier(r,n,s){let i=n?"imported":"local",a=n?"local":"exported",o=r[i],l,u=!1,c=!0,p=o.loc.start;if(this.isContextual(93)){let m=this.parseIdentifier();if(this.isContextual(93)){let g=this.parseIdentifier();Sn(this.state.type)?(u=!0,o=m,l=n?this.parseIdentifier():this.parseModuleExportName(),c=!1):(l=g,c=!1)}else Sn(this.state.type)?(c=!1,l=n?this.parseIdentifier():this.parseModuleExportName()):(u=!0,o=m)}else Sn(this.state.type)&&(u=!0,n?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());u&&s&&this.raise(n?xe.TypeModifierIsUsedInTypeImports:xe.TypeModifierIsUsedInTypeExports,p),r[i]=o,r[a]=l;let d=n?"importKind":"exportKind";r[d]=u?"type":"value",c&&this.eatContextual(93)&&(r[a]=n?this.parseIdentifier():this.parseModuleExportName()),r[a]||(r[a]=this.cloneIdentifier(r[i])),n&&this.checkIdentifier(r[a],u?4098:4096)}fillOptionalPropertiesForTSESLint(r){var n,s,i,a,o,l,u,c,p,d,m,g,f,b,T,w,I,N,L,W,U,H,pe,Ee,ce,qe,ze,Ot,J,se,V,G,j,re,de,ye,Te,he,De,we,Ve,pt,ut,Ke,gt,Dt;switch(r.type){case"ExpressionStatement":(n=r.directive)!=null||(r.directive=void 0);return;case"RestElement":r.value=void 0;case"Identifier":case"ArrayPattern":case"AssignmentPattern":case"ObjectPattern":(s=r.decorators)!=null||(r.decorators=[]),(i=r.optional)!=null||(r.optional=!1),(a=r.typeAnnotation)!=null||(r.typeAnnotation=void 0);return;case"TSParameterProperty":(o=r.accessibility)!=null||(r.accessibility=void 0),(l=r.decorators)!=null||(r.decorators=[]),(u=r.override)!=null||(r.override=!1),(c=r.readonly)!=null||(r.readonly=!1),(p=r.static)!=null||(r.static=!1);return;case"TSEmptyBodyFunctionExpression":r.body=null;case"TSDeclareFunction":case"FunctionDeclaration":case"FunctionExpression":case"ClassMethod":case"ClassPrivateMethod":(d=r.declare)!=null||(r.declare=!1),(m=r.returnType)!=null||(r.returnType=void 0),(g=r.typeParameters)!=null||(r.typeParameters=void 0);return;case"Property":(f=r.optional)!=null||(r.optional=!1);return;case"TSMethodSignature":case"TSPropertySignature":(b=r.optional)!=null||(r.optional=!1);case"TSIndexSignature":(T=r.accessibility)!=null||(r.accessibility=void 0),(w=r.readonly)!=null||(r.readonly=!1),(I=r.static)!=null||(r.static=!1);return;case"TSAbstractPropertyDefinition":case"PropertyDefinition":case"TSAbstractAccessorProperty":case"AccessorProperty":(N=r.declare)!=null||(r.declare=!1),(L=r.definite)!=null||(r.definite=!1),(W=r.readonly)!=null||(r.readonly=!1),(U=r.typeAnnotation)!=null||(r.typeAnnotation=void 0);case"TSAbstractMethodDefinition":case"MethodDefinition":(H=r.accessibility)!=null||(r.accessibility=void 0),(pe=r.decorators)!=null||(r.decorators=[]),(Ee=r.override)!=null||(r.override=!1),(ce=r.optional)!=null||(r.optional=!1);return;case"ClassExpression":(qe=r.id)!=null||(r.id=null);case"ClassDeclaration":(ze=r.abstract)!=null||(r.abstract=!1),(Ot=r.declare)!=null||(r.declare=!1),(J=r.decorators)!=null||(r.decorators=[]),(se=r.implements)!=null||(r.implements=[]),(V=r.superTypeArguments)!=null||(r.superTypeArguments=void 0),(G=r.typeParameters)!=null||(r.typeParameters=void 0);return;case"TSTypeAliasDeclaration":case"VariableDeclaration":(j=r.declare)!=null||(r.declare=!1);return;case"VariableDeclarator":(re=r.definite)!=null||(r.definite=!1);return;case"TSEnumDeclaration":(de=r.const)!=null||(r.const=!1),(ye=r.declare)!=null||(r.declare=!1);return;case"TSEnumMember":(Te=r.computed)!=null||(r.computed=!1);return;case"TSImportType":(he=r.qualifier)!=null||(r.qualifier=null),(De=r.options)!=null||(r.options=null);return;case"TSInterfaceDeclaration":(we=r.declare)!=null||(r.declare=!1),(Ve=r.extends)!=null||(r.extends=[]);return;case"TSModuleDeclaration":(pt=r.declare)!=null||(r.declare=!1),(ut=r.global)!=null||(r.global=r.kind==="global");return;case"TSTypeParameter":(Ke=r.const)!=null||(r.const=!1),(gt=r.in)!=null||(r.in=!1),(Dt=r.out)!=null||(r.out=!1);return}}};function PX(e){if(e.type!=="MemberExpression")return!1;let{computed:t,property:r}=e;return t&&r.type!=="StringLiteral"&&(r.type!=="TemplateLiteral"||r.expressions.length>0)?!1:RS(e.object)}function AX(e,t){var r;let{type:n}=e;if((r=e.extra)!=null&&r.parenthesized)return!1;if(t){if(n==="Literal"){let{value:s}=e;if(typeof s=="string"||typeof s=="boolean")return!0}}else if(n==="StringLiteral"||n==="BooleanLiteral")return!0;return!!(MS(e,t)||CX(e,t)||n==="TemplateLiteral"&&e.expressions.length===0||PX(e))}function MS(e,t){return t?e.type==="Literal"&&(typeof e.value=="number"||"bigint"in e):e.type==="NumericLiteral"||e.type==="BigIntLiteral"}function CX(e,t){if(e.type==="UnaryExpression"){let{operator:r,argument:n}=e;if(r==="-"&&MS(n,t))return!0}return!1}function RS(e){return e.type==="Identifier"?!0:e.type!=="MemberExpression"||e.computed?!1:RS(e.object)}var SS=$n`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),DX=e=>class extends e{parsePlaceholder(r){if(this.match(133)){let n=this.startNode();return this.next(),this.assertNoSpace(),n.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(n,r)}}finishPlaceholder(r,n){let s=r;return(!s.expectedNode||!s.type)&&(s=this.finishNode(s,"Placeholder")),s.expectedNode=n,s}getTokenFromCode(r){r===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(r)}parseExprAtom(r){return this.parsePlaceholder("Expression")||super.parseExprAtom(r)}parseIdentifier(r){return this.parsePlaceholder("Identifier")||super.parseIdentifier(r)}checkReservedWord(r,n,s,i){r!==void 0&&super.checkReservedWord(r,n,s,i)}cloneIdentifier(r){let n=super.cloneIdentifier(r);return n.type==="Placeholder"&&(n.expectedNode=r.expectedNode),n}cloneStringLiteral(r){return r.type==="Placeholder"?this.cloneIdentifier(r):super.cloneStringLiteral(r)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(r,n,s){return r==="Placeholder"||super.isValidLVal(r,n,s)}toAssignable(r,n){r&&r.type==="Placeholder"&&r.expectedNode==="Expression"?r.expectedNode="Pattern":super.toAssignable(r,n)}chStartsBindingIdentifier(r,n){if(super.chStartsBindingIdentifier(r,n))return!0;let s=this.nextTokenStart();return this.input.charCodeAt(s)===37&&this.input.charCodeAt(s+1)===37}verifyBreakContinue(r,n){r.label&&r.label.type==="Placeholder"||super.verifyBreakContinue(r,n)}parseExpressionStatement(r,n){var s;if(n.type!=="Placeholder"||(s=n.extra)!=null&&s.parenthesized)return super.parseExpressionStatement(r,n);if(this.match(14)){let a=r;return a.label=this.finishPlaceholder(n,"Identifier"),this.next(),a.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(a,"LabeledStatement")}this.semicolon();let i=r;return i.name=n.name,this.finishPlaceholder(i,"Statement")}parseBlock(r,n,s){return this.parsePlaceholder("BlockStatement")||super.parseBlock(r,n,s)}parseFunctionId(r){return this.parsePlaceholder("Identifier")||super.parseFunctionId(r)}parseClass(r,n,s){let i=n?"ClassDeclaration":"ClassExpression";this.next();let a=this.state.strict,o=this.parsePlaceholder("Identifier");if(o)if(this.match(81)||this.match(133)||this.match(5))r.id=o;else{if(s||!n)return r.id=null,r.body=this.finishPlaceholder(o,"ClassBody"),this.finishNode(r,i);throw this.raise(SS.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(r,n,s);return super.parseClassSuper(r),r.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!r.superClass,a),this.finishNode(r,i)}parseExport(r,n){let s=this.parsePlaceholder("Identifier");if(!s)return super.parseExport(r,n);let i=r;if(!this.isContextual(98)&&!this.match(12))return i.specifiers=[],i.source=null,i.declaration=this.finishPlaceholder(s,"Declaration"),this.finishNode(i,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let a=this.startNode();return a.exported=s,i.specifiers=[this.finishNode(a,"ExportDefaultSpecifier")],super.parseExport(i,n)}isExportDefaultSpecifier(){if(this.match(65)){let r=this.nextTokenStart();if(this.isUnparsedContextual(r,"from")&&this.input.startsWith(Ms(133),this.nextTokenStartSince(r+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(r,n){var s;return(s=r.specifiers)!=null&&s.length?!0:super.maybeParseExportDefaultSpecifier(r,n)}checkExport(r){let{specifiers:n}=r;n!=null&&n.length&&(r.specifiers=n.filter(s=>s.exported.type==="Placeholder")),super.checkExport(r),r.specifiers=n}parseImport(r){let n=this.parsePlaceholder("Identifier");if(!n)return super.parseImport(r);if(r.specifiers=[],!this.isContextual(98)&&!this.match(12))return r.source=this.finishPlaceholder(n,"StringLiteral"),this.semicolon(),this.finishNode(r,"ImportDeclaration");let s=this.startNodeAtNode(n);return s.local=n,r.specifiers.push(this.finishNode(s,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(r)||this.parseNamedImportSpecifiers(r)),this.expectContextual(98),r.source=this.parseImportSource(),this.semicolon(),this.finishNode(r,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(SS.UnexpectedSpace,this.state.lastTokEndLoc)}},wX=e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let r=this.state.startLoc,n=this.startNode();if(this.next(),bt(this.state.type)){let s=this.parseIdentifierName(),i=this.createIdentifier(n,s);if(this.castNodeTo(i,"V8IntrinsicIdentifier"),this.match(10))return i}this.unexpected(r)}}parseExprAtom(r){return this.parseV8Intrinsic()||super.parseExprAtom(r)}},vS=["minimal","fsharp","hack","smart"],PS=["^^","@@","^","%","#"];function IX(e){if(e.has("decorators")){if(e.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let n=e.get("decorators").decoratorsBeforeExport;if(n!=null&&typeof n!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let s=e.get("decorators").allowCallParenthesized;if(s!=null&&typeof s!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(e.has("flow")&&e.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(e.has("placeholders")&&e.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(e.has("pipelineOperator")){var t;let n=e.get("pipelineOperator").proposal;if(!vS.includes(n)){let s=vS.map(i=>`"${i}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${s}.`)}if(n==="hack"){if(e.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(e.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let s=e.get("pipelineOperator").topicToken;if(!PS.includes(s)){let i=PS.map(a=>`"${a}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${i}.`)}{var r;if(s==="#"&&((r=e.get("recordAndTuple"))==null?void 0:r.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",e.get("recordAndTuple")])}\`.`)}}else if(n==="smart"&&((t=e.get("recordAndTuple"))==null?void 0:t.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",e.get("recordAndTuple")])}\`.`)}if(e.has("moduleAttributes")){if(e.has("deprecatedImportAssert")||e.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(e.get("moduleAttributes").version!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(e.has("importAssertions")&&e.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(!e.has("deprecatedImportAssert")&&e.has("importAttributes")&&e.get("importAttributes").deprecatedAssertSyntax&&e.set("deprecatedImportAssert",{}),e.has("recordAndTuple")){let n=e.get("recordAndTuple").syntaxType;if(n!=null){let s=["hash","bar"];if(!s.includes(n))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+s.map(i=>`'${i}'`).join(", "))}}if(e.has("asyncDoExpressions")&&!e.has("doExpressions")){let n=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw n.missingPlugins="doExpressions",n}if(e.has("optionalChainingAssign")&&e.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.");if(e.has("discardBinding")&&e.get("discardBinding").syntaxType!=="void")throw new Error("The 'discardBinding' plugin requires a 'syntaxType' option. Currently the only supported value is 'void'.")}var qS={estree:BG,jsx:pX,flow:oX,typescript:vX,v8intrinsic:wX,placeholders:DX},_X=Object.keys(qS),Mm=class extends jm{checkProto(t,r,n,s){if(t.type==="SpreadElement"||this.isObjectMethod(t)||t.computed||t.shorthand)return n;let i=t.key;return(i.type==="Identifier"?i.name:i.value)==="__proto__"?r?(this.raise(O.RecordNoProto,i),!0):(n&&(s?s.doubleProtoLoc===null&&(s.doubleProtoLoc=i.loc.start):this.raise(O.DuplicateProto,i)),!0):n}shouldExitDescending(t,r){return t.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(t.start)===r}getExpression(){if(this.enterInitialScopes(),this.nextToken(),this.match(140))throw this.raise(O.ParseExpressionEmptyInput,this.state.startLoc);let t=this.parseExpression();if(!this.match(140))throw this.raise(O.ParseExpressionExpectsEOF,this.state.startLoc,{unexpected:this.input.codePointAt(this.state.start)});return this.finalizeRemainingComments(),t.comments=this.comments,t.errors=this.state.errors,this.optionFlags&256&&(t.tokens=this.tokens),t}parseExpression(t,r){return t?this.disallowInAnd(()=>this.parseExpressionBase(r)):this.allowInAnd(()=>this.parseExpressionBase(r))}parseExpressionBase(t){let r=this.state.startLoc,n=this.parseMaybeAssign(t);if(this.match(12)){let s=this.startNodeAt(r);for(s.expressions=[n];this.eat(12);)s.expressions.push(this.parseMaybeAssign(t));return this.toReferencedList(s.expressions),this.finishNode(s,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(t,r){return this.disallowInAnd(()=>this.parseMaybeAssign(t,r))}parseMaybeAssignAllowIn(t,r){return this.allowInAnd(()=>this.parseMaybeAssign(t,r))}setOptionalParametersError(t){t.optionalParametersLoc=this.state.startLoc}parseMaybeAssign(t,r){let n=this.state.startLoc,s=this.isContextual(108);if(s&&this.prodParam.hasYield){this.next();let l=this.parseYield(n);return r&&(l=r.call(this,l,n)),l}let i;t?i=!1:(t=new ya,i=!0);let{type:a}=this.state;(a===10||bt(a))&&(this.state.potentialArrowAt=this.state.start);let o=this.parseMaybeConditional(t);if(r&&(o=r.call(this,o,n)),MG(this.state.type)){let l=this.startNodeAt(n),u=this.state.value;if(l.operator=u,this.match(29)){this.toAssignable(o,!0),l.left=o;let c=n.index;t.doubleProtoLoc!=null&&t.doubleProtoLoc.index>=c&&(t.doubleProtoLoc=null),t.shorthandAssignLoc!=null&&t.shorthandAssignLoc.index>=c&&(t.shorthandAssignLoc=null),t.privateKeyLoc!=null&&t.privateKeyLoc.index>=c&&(this.checkDestructuringPrivate(t),t.privateKeyLoc=null),t.voidPatternLoc!=null&&t.voidPatternLoc.index>=c&&(t.voidPatternLoc=null)}else l.left=o;return this.next(),l.right=this.parseMaybeAssign(),this.checkLVal(o,this.finishNode(l,"AssignmentExpression")),l}else i&&this.checkExpressionErrors(t,!0);if(s){let{type:l}=this.state;if((this.hasPlugin("v8intrinsic")?Oo(l):Oo(l)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(O.YieldNotInGeneratorFunction,n),this.parseYield(n)}return o}parseMaybeConditional(t){let r=this.state.startLoc,n=this.state.potentialArrowAt,s=this.parseExprOps(t);return this.shouldExitDescending(s,n)?s:this.parseConditional(s,r,t)}parseConditional(t,r,n){if(this.eat(17)){let s=this.startNodeAt(r);return s.test=t,s.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),s.alternate=this.parseMaybeAssign(),this.finishNode(s,"ConditionalExpression")}return t}parseMaybeUnaryOrPrivate(t){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(t)}parseExprOps(t){let r=this.state.startLoc,n=this.state.potentialArrowAt,s=this.parseMaybeUnaryOrPrivate(t);return this.shouldExitDescending(s,n)?s:this.parseExprOp(s,r,-1)}parseExprOp(t,r,n){if(this.isPrivateName(t)){let i=this.getPrivateNameSV(t);(n>=Iu(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(O.PrivateInExpectedIn,t,{identifierName:i}),this.classScope.usePrivateName(i,t.loc.start)}let s=this.state.type;if(qG(s)&&(this.prodParam.hasIn||!this.match(58))){let i=Iu(s);if(i>n){if(s===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return t;this.checkPipelineAtInfixOperator(t,r)}let a=this.startNodeAt(r);a.left=t,a.operator=this.state.value;let o=s===41||s===42,l=s===40;if(l&&(i=Iu(42)),this.next(),s===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(O.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);a.right=this.parseExprOpRightExpr(s,i);let u=this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression"),c=this.state.type;if(l&&(c===41||c===42)||o&&c===40)throw this.raise(O.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(u,r,n)}}return t}parseExprOpRightExpr(t,r){let n=this.state.startLoc;switch(t){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(r))}if(this.getPluginOption("pipelineOperator","proposal")==="smart")return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(O.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(t,r),n)});default:return this.parseExprOpBaseRightExpr(t,r)}}parseExprOpBaseRightExpr(t,r){let n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),n,KG(t)?r-1:r)}parseHackPipeBody(){var t;let{startLoc:r}=this.state,n=this.parseMaybeAssign();return CG.has(n.type)&&!((t=n.extra)!=null&&t.parenthesized)&&this.raise(O.PipeUnparenthesizedBody,r,{type:n.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(O.PipeTopicUnused,r),n}checkExponentialAfterUnary(t){this.match(57)&&this.raise(O.UnexpectedTokenUnaryExponentiation,t.argument)}parseMaybeUnary(t,r){let n=this.state.startLoc,s=this.isContextual(96);if(s&&this.recordAwaitIfAllowed()){this.next();let l=this.parseAwait(n);return r||this.checkExponentialAfterUnary(l),l}let i=this.match(34),a=this.startNode();if(VG(this.state.type)){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let l=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),this.state.strict&&l){let u=a.argument;u.type==="Identifier"?this.raise(O.StrictDelete,a):this.hasPropertyAsPrivateName(u)&&this.raise(O.DeletePrivateField,a)}if(!i)return r||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}let o=this.parseUpdate(a,i,t);if(s){let{type:l}=this.state;if((this.hasPlugin("v8intrinsic")?Oo(l):Oo(l)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(O.AwaitNotInAsyncContext,n),this.parseAwait(n)}return o}parseUpdate(t,r,n){if(r){let a=t;return this.checkLVal(a.argument,this.finishNode(a,"UpdateExpression")),t}let s=this.state.startLoc,i=this.parseExprSubscripts(n);if(this.checkExpressionErrors(n,!1))return i;for(;UG(this.state.type)&&!this.canInsertSemicolon();){let a=this.startNodeAt(s);a.operator=this.state.value,a.prefix=!1,a.argument=i,this.next(),this.checkLVal(i,i=this.finishNode(a,"UpdateExpression"))}return i}parseExprSubscripts(t){let r=this.state.startLoc,n=this.state.potentialArrowAt,s=this.parseExprAtom(t);return this.shouldExitDescending(s,n)?s:this.parseSubscripts(s,r)}parseSubscripts(t,r,n){let s={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(t),stop:!1};do t=this.parseSubscript(t,r,n,s),s.maybeAsyncArrow=!1;while(!s.stop);return t}parseSubscript(t,r,n,s){let{type:i}=this.state;if(!n&&i===15)return this.parseBind(t,r,n,s);if(Ou(i))return this.parseTaggedTemplateExpression(t,r,s);let a=!1;if(i===18){if(n&&(this.raise(O.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return this.stopParseSubscript(t,s);s.optionalChainMember=a=!0,this.next()}if(!n&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(t,r,s,a);{let o=this.eat(0);return o||a||this.eat(16)?this.parseMember(t,r,s,o,a):this.stopParseSubscript(t,s)}}stopParseSubscript(t,r){return r.stop=!0,t}parseMember(t,r,n,s,i){let a=this.startNodeAt(r);return a.object=t,a.computed=s,s?(a.property=this.parseExpression(),this.expect(3)):this.match(139)?(t.type==="Super"&&this.raise(O.SuperPrivateField,r),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),n.optionalChainMember?(a.optional=i,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(t,r,n,s){let i=this.startNodeAt(r);return i.object=t,this.next(),i.callee=this.parseNoCallExpr(),s.stop=!0,this.parseSubscripts(this.finishNode(i,"BindExpression"),r,n)}parseCoverCallAndAsyncArrowHead(t,r,n,s){let i=this.state.maybeInArrowParameters,a=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(r);o.callee=t;let{maybeAsyncArrow:l,optionalChainMember:u}=n;l&&(this.expressionScope.enter(EX()),a=new ya),u&&(o.optional=s),s?o.arguments=this.parseCallExpressionArguments():o.arguments=this.parseCallExpressionArguments(t.type!=="Super",o,a);let c=this.finishCallExpression(o,u);return l&&this.shouldParseAsyncArrow()&&!s?(n.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),c=this.parseAsyncArrowFromCallExpression(this.startNodeAt(r),c)):(l&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(c)),this.state.maybeInArrowParameters=i,c}toReferencedArguments(t,r){this.toReferencedListDeep(t.arguments,r)}parseTaggedTemplateExpression(t,r,n){let s=this.startNodeAt(r);return s.tag=t,s.quasi=this.parseTemplate(!0),n.optionalChainMember&&this.raise(O.OptionalChainingNoTemplate,r),this.finishNode(s,"TaggedTemplateExpression")}atPossibleAsyncArrow(t){return t.type==="Identifier"&&t.name==="async"&&this.state.lastTokEndLoc.index===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&this.offsetToSourcePos(t.start)===this.state.potentialArrowAt}finishCallExpression(t,r){if(t.callee.type==="Import")if(t.arguments.length===0||t.arguments.length>2)this.raise(O.ImportCallArity,t);else for(let n of t.arguments)n.type==="SpreadElement"&&this.raise(O.ImportCallSpreadArgument,n);return this.finishNode(t,r?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(t,r,n){let s=[],i=!0,a=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(11);){if(i)i=!1;else if(this.expect(12),this.match(11)){r&&this.addTrailingCommaExtraToNode(r),this.next();break}s.push(this.parseExprListItem(11,!1,n,t))}return this.state.inFSharpPipelineDirectBody=a,s}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(t,r){var n;return this.resetPreviousNodeTrailingComments(r),this.expect(19),this.parseArrowExpression(t,r.arguments,!0,(n=r.extra)==null?void 0:n.trailingCommaLoc),r.innerComments&&jo(t,r.innerComments),r.callee.trailingComments&&jo(t,r.callee.trailingComments),t}parseNoCallExpr(){let t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),t,!0)}parseExprAtom(t){let r,n=null,{type:s}=this.state;switch(s){case 79:return this.parseSuper();case 83:return r=this.startNode(),this.next(),this.match(16)?this.parseImportMetaPropertyOrPhaseCall(r):this.match(10)?this.optionFlags&512?this.parseImportCall(r):this.finishNode(r,"Import"):(this.raise(O.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(r,"Import"));case 78:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let i=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(i)}case 0:return this.parseArrayLike(3,!0,!1,t);case 5:return this.parseObjectLike(8,!1,!1,t);case 68:return this.parseFunctionOrFunctionSent();case 26:n=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(n,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{r=this.startNode(),this.next(),r.object=null;let i=r.callee=this.parseNoCallExpr();if(i.type==="MemberExpression")return this.finishNode(r,"BindExpression");throw this.raise(O.UnsupportedBind,i)}case 139:return this.raise(O.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let i=this.getPluginOption("pipelineOperator","proposal");if(i)return this.parseTopicReference(i);this.unexpected();break}case 47:{let i=this.input.codePointAt(this.nextTokenStart());rs(i)||i===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:{if(s===137)return this.parseDecimalLiteral(this.state.value);if(s===2||s===1)return this.parseArrayLike(this.state.type===2?4:3,!1,!0);if(s===6||s===7)return this.parseObjectLike(this.state.type===6?9:8,!1,!0)}if(bt(s)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let i=this.state.potentialArrowAt===this.state.start,a=this.state.containsEsc,o=this.parseIdentifier();if(!a&&o.name==="async"&&!this.canInsertSemicolon()){let{type:l}=this.state;if(l===68)return this.resetPreviousNodeTrailingComments(o),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(o));if(bt(l))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(o)):o;if(l===90)return this.resetPreviousNodeTrailingComments(o),this.parseDo(this.startNodeAtNode(o),!0)}return i&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(o),[o],!1)):o}else this.unexpected()}}parseTopicReferenceThenEqualsSign(t,r){let n=this.getPluginOption("pipelineOperator","proposal");if(n)return this.state.type=t,this.state.value=r,this.state.pos--,this.state.end--,this.state.endLoc=Fr(this.state.endLoc,-1),this.parseTopicReference(n);this.unexpected()}parseTopicReference(t){let r=this.startNode(),n=this.state.startLoc,s=this.state.type;return this.next(),this.finishTopicReference(r,n,t,s)}finishTopicReference(t,r,n,s){if(this.testTopicReferenceConfiguration(n,r,s))return n==="hack"?(this.topicReferenceIsAllowedInCurrentContext()||this.raise(O.PipeTopicUnbound,r),this.registerTopicReference(),this.finishNode(t,"TopicReference")):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(O.PrimaryTopicNotAllowed,r),this.registerTopicReference(),this.finishNode(t,"PipelinePrimaryTopicReference"));throw this.raise(O.PipeTopicUnconfiguredToken,r,{token:Ms(s)})}testTopicReferenceConfiguration(t,r,n){switch(t){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Ms(n)}]);case"smart":return n===27;default:throw this.raise(O.PipeTopicRequiresHackPipes,r)}}parseAsyncArrowUnaryFunction(t){this.prodParam.enter(_u(!0,this.prodParam.hasYield));let r=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(O.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(t,r,!0)}parseDo(t,r){this.expectPlugin("doExpressions"),r&&this.expectPlugin("asyncDoExpressions"),t.async=r,this.next();let n=this.state.labels;return this.state.labels=[],r?(this.prodParam.enter(2),t.body=this.parseBlock(),this.prodParam.exit()):t.body=this.parseBlock(),this.state.labels=n,this.finishNode(t,"DoExpression")}parseSuper(){let t=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!(this.optionFlags&16)?this.raise(O.SuperNotAllowed,t):!this.scope.allowSuper&&!(this.optionFlags&16)&&this.raise(O.UnexpectedSuper,t),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(O.UnsupportedSuper,t),this.finishNode(t,"Super")}parsePrivateName(){let t=this.startNode(),r=this.startNodeAt(Fr(this.state.startLoc,1)),n=this.state.value;return this.next(),t.id=this.createIdentifier(r,n),this.finishNode(t,"PrivateName")}parseFunctionOrFunctionSent(){let t=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let r=this.createIdentifier(this.startNodeAtNode(t),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(t,r,"sent")}return this.parseFunction(t)}parseMetaProperty(t,r,n){t.meta=r;let s=this.state.containsEsc;return t.property=this.parseIdentifier(!0),(t.property.name!==n||s)&&this.raise(O.UnsupportedMetaProperty,t.property,{target:r.name,onlyValidPropertyName:n}),this.finishNode(t,"MetaProperty")}parseImportMetaPropertyOrPhaseCall(t){if(this.next(),this.isContextual(105)||this.isContextual(97)){let r=this.isContextual(105);return this.expectPlugin(r?"sourcePhaseImports":"deferredImportEvaluation"),this.next(),t.phase=r?"source":"defer",this.parseImportCall(t)}else{let r=this.createIdentifierAt(this.startNodeAtNode(t),"import",this.state.lastTokStartLoc);return this.isContextual(101)&&(this.inModule||this.raise(O.ImportMetaOutsideModule,r),this.sawUnambiguousESM=!0),this.parseMetaProperty(t,r,"meta")}}parseLiteralAtNode(t,r,n){return this.addExtra(n,"rawValue",t),this.addExtra(n,"raw",this.input.slice(this.offsetToSourcePos(n.start),this.state.end)),n.value=t,this.next(),this.finishNode(n,r)}parseLiteral(t,r){let n=this.startNode();return this.parseLiteralAtNode(t,r,n)}parseStringLiteral(t){return this.parseLiteral(t,"StringLiteral")}parseNumericLiteral(t){return this.parseLiteral(t,"NumericLiteral")}parseBigIntLiteral(t){return this.parseLiteral(t,"BigIntLiteral")}parseDecimalLiteral(t){return this.parseLiteral(t,"DecimalLiteral")}parseRegExpLiteral(t){let r=this.startNode();return this.addExtra(r,"raw",this.input.slice(this.offsetToSourcePos(r.start),this.state.end)),r.pattern=t.pattern,r.flags=t.flags,this.next(),this.finishNode(r,"RegExpLiteral")}parseBooleanLiteral(t){let r=this.startNode();return r.value=t,this.next(),this.finishNode(r,"BooleanLiteral")}parseNullLiteral(){let t=this.startNode();return this.next(),this.finishNode(t,"NullLiteral")}parseParenAndDistinguishExpression(t){let r=this.state.startLoc,n;this.next(),this.expressionScope.enter(bX());let s=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let a=this.state.startLoc,o=[],l=new ya,u=!0,c,p;for(;!this.match(11);){if(u)u=!1;else if(this.expect(12,l.optionalParametersLoc===null?null:l.optionalParametersLoc),this.match(11)){p=this.state.startLoc;break}if(this.match(21)){let g=this.state.startLoc;if(c=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),g)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowInOrVoidPattern(11,l,this.parseParenItem))}let d=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=s,this.state.inFSharpPipelineDirectBody=i;let m=this.startNodeAt(r);return t&&this.shouldParseArrow(o)&&(m=this.parseArrow(m))?(this.checkDestructuringPrivate(l),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(m,o,!1),m):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),p&&this.unexpected(p),c&&this.unexpected(c),this.checkExpressionErrors(l,!0),this.toReferencedListDeep(o,!0),o.length>1?(n=this.startNodeAt(a),n.expressions=o,this.finishNode(n,"SequenceExpression"),this.resetEndLocation(n,d)):n=o[0],this.wrapParenthesis(r,n))}wrapParenthesis(t,r){if(!(this.optionFlags&1024))return this.addExtra(r,"parenthesized",!0),this.addExtra(r,"parenStart",t.index),this.takeSurroundingComments(r,t.index,this.state.lastTokEndLoc.index),r;let n=this.startNodeAt(t);return n.expression=r,this.finishNode(n,"ParenthesizedExpression")}shouldParseArrow(t){return!this.canInsertSemicolon()}parseArrow(t){if(this.eat(19))return t}parseParenItem(t,r){return t}parseNewOrNewTarget(){let t=this.startNode();if(this.next(),this.match(16)){let r=this.createIdentifier(this.startNodeAtNode(t),"new");this.next();let n=this.parseMetaProperty(t,r,"target");return this.scope.allowNewTarget||this.raise(O.UnexpectedNewTarget,n),n}return this.parseNew(t)}parseNew(t){if(this.parseNewCallee(t),this.eat(10)){let r=this.parseExprList(11);this.toReferencedList(r),t.arguments=r}else t.arguments=[];return this.finishNode(t,"NewExpression")}parseNewCallee(t){let r=this.match(83),n=this.parseNoCallExpr();t.callee=n,r&&(n.type==="Import"||n.type==="ImportExpression")&&this.raise(O.ImportCallNotNewExpression,n)}parseTemplateElement(t){let{start:r,startLoc:n,end:s,value:i}=this.state,a=r+1,o=this.startNodeAt(Fr(n,1));i===null&&(t||this.raise(O.InvalidEscapeSequenceTemplate,Fr(this.state.firstInvalidTemplateEscapePos,1)));let l=this.match(24),u=l?-1:-2,c=s+u;o.value={raw:this.input.slice(a,c).replace(/\r\n?/g,`
|
|
`),cooked:i===null?null:i.slice(1,u)},o.tail=l,this.next();let p=this.finishNode(o,"TemplateElement");return this.resetEndLocation(p,Fr(this.state.lastTokEndLoc,u)),p}parseTemplate(t){let r=this.startNode(),n=this.parseTemplateElement(t),s=[n],i=[];for(;!n.tail;)i.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),s.push(n=this.parseTemplateElement(t));return r.expressions=i,r.quasis=s,this.finishNode(r,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(t,r,n,s){n&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=!1,o=!0,l=this.startNode();for(l.properties=[],this.next();!this.match(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){this.addTrailingCommaExtraToNode(l);break}let c;r?c=this.parseBindingProperty():(c=this.parsePropertyDefinition(s),a=this.checkProto(c,n,a,s)),n&&!this.isObjectProperty(c)&&c.type!=="SpreadElement"&&this.raise(O.InvalidRecordProperty,c),c.shorthand&&this.addExtra(c,"shorthand",!0),l.properties.push(c)}this.next(),this.state.inFSharpPipelineDirectBody=i;let u="ObjectExpression";return r?u="ObjectPattern":n&&(u="RecordExpression"),this.finishNode(l,u)}addTrailingCommaExtraToNode(t){this.addExtra(t,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(t,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(t){return!t.computed&&t.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(t){let r=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(O.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)r.push(this.parseDecorator());let n=this.startNode(),s=!1,i=!1,a;if(this.match(21))return r.length&&this.unexpected(),this.parseSpread();r.length&&(n.decorators=r,r=[]),n.method=!1,t&&(a=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(n);let l=this.state.containsEsc;if(this.parsePropertyName(n,t),!o&&!l&&this.maybeAsyncOrAccessorProp(n)){let{key:u}=n,c=u.name;c==="async"&&!this.hasPrecedingLineBreak()&&(s=!0,this.resetPreviousNodeTrailingComments(u),o=this.eat(55),this.parsePropertyName(n)),(c==="get"||c==="set")&&(i=!0,this.resetPreviousNodeTrailingComments(u),n.kind=c,this.match(55)&&(o=!0,this.raise(O.AccessorIsGenerator,this.state.curPosition(),{kind:c}),this.next()),this.parsePropertyName(n))}return this.parseObjPropValue(n,a,o,s,!1,i,t)}getGetterSetterExpectedParamCount(t){return t.kind==="get"?0:1}getObjectOrClassMethodParams(t){return t.params}checkGetterSetterParams(t){var r;let n=this.getGetterSetterExpectedParamCount(t),s=this.getObjectOrClassMethodParams(t);s.length!==n&&this.raise(t.kind==="get"?O.BadGetterArity:O.BadSetterArity,t),t.kind==="set"&&((r=s[s.length-1])==null?void 0:r.type)==="RestElement"&&this.raise(O.BadSetterRestParameter,t)}parseObjectMethod(t,r,n,s,i){if(i){let a=this.parseMethod(t,r,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(a),a}if(n||r||this.match(10))return s&&this.unexpected(),t.kind="method",t.method=!0,this.parseMethod(t,r,n,!1,!1,"ObjectMethod")}parseObjectProperty(t,r,n,s){if(t.shorthand=!1,this.eat(14))return t.value=n?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowInOrVoidPattern(8,s),this.finishObjectProperty(t);if(!t.computed&&t.key.type==="Identifier"){if(this.checkReservedWord(t.key.name,t.key.loc.start,!0,!1),n)t.value=this.parseMaybeDefault(r,this.cloneIdentifier(t.key));else if(this.match(29)){let i=this.state.startLoc;s!=null?s.shorthandAssignLoc===null&&(s.shorthandAssignLoc=i):this.raise(O.InvalidCoverInitializedName,i),t.value=this.parseMaybeDefault(r,this.cloneIdentifier(t.key))}else t.value=this.cloneIdentifier(t.key);return t.shorthand=!0,this.finishObjectProperty(t)}}finishObjectProperty(t){return this.finishNode(t,"ObjectProperty")}parseObjPropValue(t,r,n,s,i,a,o){let l=this.parseObjectMethod(t,n,s,i,a)||this.parseObjectProperty(t,r,i,o);return l||this.unexpected(),l}parsePropertyName(t,r){if(this.eat(0))t.computed=!0,t.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:n,value:s}=this.state,i;if(Sn(n))i=this.parseIdentifier(!0);else switch(n){case 135:i=this.parseNumericLiteral(s);break;case 134:i=this.parseStringLiteral(s);break;case 136:i=this.parseBigIntLiteral(s);break;case 139:{let a=this.state.startLoc;r!=null?r.privateKeyLoc===null&&(r.privateKeyLoc=a):this.raise(O.UnexpectedPrivateField,a),i=this.parsePrivateName();break}default:if(n===137){i=this.parseDecimalLiteral(s);break}this.unexpected()}t.key=i,n!==139&&(t.computed=!1)}}initFunction(t,r){t.id=null,t.generator=!1,t.async=r}parseMethod(t,r,n,s,i,a,o=!1){this.initFunction(t,n),t.generator=r,this.scope.enter(530|(o?576:0)|(i?32:0)),this.prodParam.enter(_u(n,t.generator)),this.parseFunctionParams(t,s);let l=this.parseFunctionBodyAndFinish(t,a,!0);return this.prodParam.exit(),this.scope.exit(),l}parseArrayLike(t,r,n,s){n&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=this.startNode();return this.next(),a.elements=this.parseExprList(t,!n,s,a),this.state.inFSharpPipelineDirectBody=i,this.finishNode(a,n?"TupleExpression":"ArrayExpression")}parseArrowExpression(t,r,n,s){this.scope.enter(518);let i=_u(n,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=8),this.prodParam.enter(i),this.initFunction(t,n);let a=this.state.maybeInArrowParameters;return r&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(t,r,s)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(t,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(t,"ArrowFunctionExpression")}setArrowFunctionParameters(t,r,n){this.toAssignableList(r,n,!1),t.params=r}parseFunctionBodyAndFinish(t,r,n=!1){return this.parseFunctionBody(t,!1,n),this.finishNode(t,r)}parseFunctionBody(t,r,n=!1){let s=r&&!this.match(5);if(this.expressionScope.enter(LS()),s)t.body=this.parseMaybeAssign(),this.checkParams(t,!1,r,!1);else{let i=this.state.strict,a=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),t.body=this.parseBlock(!0,!1,o=>{let l=!this.isSimpleParamList(t.params);o&&l&&this.raise(O.IllegalLanguageModeDirective,(t.kind==="method"||t.kind==="constructor")&&t.key?t.key.loc.end:t);let u=!i&&this.state.strict;this.checkParams(t,!this.state.strict&&!r&&!n&&!l,r,u),this.state.strict&&t.id&&this.checkIdentifier(t.id,65,u)}),this.prodParam.exit(),this.state.labels=a}this.expressionScope.exit()}isSimpleParameter(t){return t.type==="Identifier"}isSimpleParamList(t){for(let r=0,n=t.length;r<n;r++)if(!this.isSimpleParameter(t[r]))return!1;return!0}checkParams(t,r,n,s=!0){let i=!r&&new Set,a={type:"FormalParameters"};for(let o of t.params)this.checkLVal(o,a,5,i,s)}parseExprList(t,r,n,s){let i=[],a=!0;for(;!this.eat(t);){if(a)a=!1;else if(this.expect(12),this.match(t)){s&&this.addTrailingCommaExtraToNode(s),this.next();break}i.push(this.parseExprListItem(t,r,n))}return i}parseExprListItem(t,r,n,s){let i;if(this.match(12))r||this.raise(O.UnexpectedToken,this.state.curPosition(),{unexpected:","}),i=null;else if(this.match(21)){let a=this.state.startLoc;i=this.parseParenItem(this.parseSpread(n),a)}else if(this.match(17)){this.expectPlugin("partialApplication"),s||this.raise(O.UnexpectedArgumentPlaceholder,this.state.startLoc);let a=this.startNode();this.next(),i=this.finishNode(a,"ArgumentPlaceholder")}else i=this.parseMaybeAssignAllowInOrVoidPattern(t,n,this.parseParenItem);return i}parseIdentifier(t){let r=this.startNode(),n=this.parseIdentifierName(t);return this.createIdentifier(r,n)}createIdentifier(t,r){return t.name=r,t.loc.identifierName=r,this.finishNode(t,"Identifier")}createIdentifierAt(t,r,n){return t.name=r,t.loc.identifierName=r,this.finishNodeAt(t,"Identifier",n)}parseIdentifierName(t){let r,{startLoc:n,type:s}=this.state;Sn(s)?r=this.state.value:this.unexpected();let i=LG(s);return t?i&&this.replaceToken(132):this.checkReservedWord(r,n,i,!1),this.next(),r}checkReservedWord(t,r,n,s){if(t.length>10||!tX(t))return;if(n&&QG(t)){this.raise(O.UnexpectedKeyword,r,{keyword:t});return}if((this.state.strict?s?OS:_S:IS)(t,this.inModule)){this.raise(O.UnexpectedReservedWord,r,{reservedWord:t});return}else if(t==="yield"){if(this.prodParam.hasYield){this.raise(O.YieldBindingIdentifier,r);return}}else if(t==="await"){if(this.prodParam.hasAwait){this.raise(O.AwaitBindingIdentifier,r);return}if(this.scope.inStaticBlock){this.raise(O.AwaitBindingIdentifierInStaticBlock,r);return}this.expressionScope.recordAsyncArrowParametersError(r)}else if(t==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(O.ArgumentsInClass,r);return}}recordAwaitIfAllowed(){let t=this.prodParam.hasAwait;return t&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),t}parseAwait(t){let r=this.startNodeAt(t);return this.expressionScope.recordParameterInitializerError(O.AwaitExpressionFormalParameter,r),this.eat(55)&&this.raise(O.ObsoleteAwaitStar,r),!this.scope.inFunction&&!(this.optionFlags&1)&&(this.isAmbiguousPrefixOrIdentifier()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(r.argument=this.parseMaybeUnary(null,!0)),this.finishNode(r,"AwaitExpression")}isAmbiguousPrefixOrIdentifier(){if(this.hasPrecedingLineBreak())return!0;let{type:t}=this.state;return t===53||t===10||t===0||Ou(t)||t===102&&!this.state.containsEsc||t===138||t===56||this.hasPlugin("v8intrinsic")&&t===54}parseYield(t){let r=this.startNodeAt(t);this.expressionScope.recordParameterInitializerError(O.YieldInParameter,r);let n=!1,s=null;if(!this.hasPrecedingLineBreak())switch(n=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!n)break;default:s=this.parseMaybeAssign()}return r.delegate=n,r.argument=s,this.finishNode(r,"YieldExpression")}parseImportCall(t){if(this.next(),t.source=this.parseMaybeAssignAllowIn(),t.options=null,this.eat(12)){if(this.match(11))this.addTrailingCommaExtraToNode(t.source);else if(t.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&(this.addTrailingCommaExtraToNode(t.options),!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(O.ImportCallArity,t)}}return this.expect(11),this.finishNode(t,"ImportExpression")}checkPipelineAtInfixOperator(t,r){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&t.type==="SequenceExpression"&&this.raise(O.PipelineHeadSequenceExpression,r)}parseSmartPipelineBodyInStyle(t,r){if(this.isSimpleReference(t)){let n=this.startNodeAt(r);return n.callee=t,this.finishNode(n,"PipelineBareFunction")}else{let n=this.startNodeAt(r);return this.checkSmartPipeTopicBodyEarlyErrors(r),n.expression=t,this.finishNode(n,"PipelineTopicExpression")}}isSimpleReference(t){switch(t.type){case"MemberExpression":return!t.computed&&this.isSimpleReference(t.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(t){if(this.match(19))throw this.raise(O.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(O.PipelineTopicUnused,t)}withTopicBindingContext(t){let r=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=r}}withSmartMixTopicForbiddingContext(t){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let r=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=r}}else return t()}withSoloAwaitPermittingContext(t){let r=this.state.soloAwait;this.state.soloAwait=!0;try{return t()}finally{this.state.soloAwait=r}}allowInAnd(t){let r=this.prodParam.currentFlags();if(8&~r){this.prodParam.enter(r|8);try{return t()}finally{this.prodParam.exit()}}return t()}disallowInAnd(t){let r=this.prodParam.currentFlags();if(8&r){this.prodParam.enter(r&-9);try{return t()}finally{this.prodParam.exit()}}return t()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(t){let r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let s=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,t);return this.state.inFSharpPipelineDirectBody=n,s}parseModuleExpression(){this.expectPlugin("moduleBlocks");let t=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let r=this.startNodeAt(this.state.endLoc);this.next();let n=this.initializeScopes(!0);this.enterInitialScopes();try{t.body=this.parseProgram(r,8,"module")}finally{n()}return this.finishNode(t,"ModuleExpression")}parseVoidPattern(t){this.expectPlugin("discardBinding");let r=this.startNode();return t!=null&&(t.voidPatternLoc=this.state.startLoc),this.next(),this.finishNode(r,"VoidPattern")}parseMaybeAssignAllowInOrVoidPattern(t,r,n){if(r!=null&&this.match(88)){let s=this.lookaheadCharCode();if(s===44||s===(t===3?93:t===8?125:41)||s===61)return this.parseMaybeDefault(this.state.startLoc,this.parseVoidPattern(r))}return this.parseMaybeAssignAllowIn(r,n)}parsePropertyNamePrefixOperator(t){}},bm={kind:1},NX={kind:2},OX=/[\uD800-\uDFFF]/u,Em=/in(?:stanceof)?/y;function BX(e,t,r){for(let n=0;n<e.length;n++){let s=e[n],{type:i}=s;if(typeof i=="number"){{if(i===139){let{loc:a,start:o,value:l,end:u}=s,c=o+1,p=Fr(a.start,1);e.splice(n,1,new Vn({type:es(27),value:"#",start:o,end:c,startLoc:a.start,endLoc:p}),new Vn({type:es(132),value:l,start:c,end:u,startLoc:p,endLoc:a.end})),n++;continue}if(Ou(i)){let{loc:a,start:o,value:l,end:u}=s,c=o+1,p=Fr(a.start,1),d;t.charCodeAt(o-r)===96?d=new Vn({type:es(22),value:"`",start:o,end:c,startLoc:a.start,endLoc:p}):d=new Vn({type:es(8),value:"}",start:o,end:c,startLoc:a.start,endLoc:p});let m,g,f,b;i===24?(g=u-1,f=Fr(a.end,-1),m=l===null?null:l.slice(1,-1),b=new Vn({type:es(22),value:"`",start:g,end:u,startLoc:f,endLoc:a.end})):(g=u-2,f=Fr(a.end,-2),m=l===null?null:l.slice(1,-2),b=new Vn({type:es(23),value:"${",start:g,end:u,startLoc:f,endLoc:a.end})),e.splice(n,1,d,new Vn({type:es(20),value:m,start:c,end:g,startLoc:p,endLoc:f}),b),n+=2;continue}}s.type=es(i)}}return e}var Rm=class extends Mm{parseTopLevel(t,r){return t.program=this.parseProgram(r,140,this.options.sourceType==="module"?"module":"script"),t.comments=this.comments,this.optionFlags&256&&(t.tokens=BX(this.tokens,this.input,this.startIndex)),this.finishNode(t,"File")}parseProgram(t,r,n){if(t.sourceType=n,t.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(t,!0,!0,r),this.inModule){if(!(this.optionFlags&64)&&this.scope.undefinedExports.size>0)for(let[i,a]of Array.from(this.scope.undefinedExports))this.raise(O.ModuleExportUndefined,a,{localName:i});this.addExtra(t,"topLevelAwait",this.state.hasTopLevelAwait)}let s;return r===140?s=this.finishNode(t,"Program"):s=this.finishNodeAt(t,"Program",Fr(this.state.startLoc,-1)),s}stmtToDirective(t){let r=this.castNodeTo(t,"Directive"),n=this.castNodeTo(t.expression,"DirectiveLiteral"),s=n.value,i=this.input.slice(this.offsetToSourcePos(n.start),this.offsetToSourcePos(n.end)),a=n.value=i.slice(1,-1);return this.addExtra(n,"raw",i),this.addExtra(n,"rawValue",a),this.addExtra(n,"expressionValue",s),r.value=n,delete t.expression,r}parseInterpreterDirective(){if(!this.match(28))return null;let t=this.startNode();return t.value=this.state.value,this.next(),this.finishNode(t,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}isUsing(){if(!this.isContextual(107))return!1;let t=this.nextTokenInLineStart(),r=this.codePointAtPos(t);return this.chStartsBindingIdentifier(r,t)}isForUsing(){if(!this.isContextual(107))return!1;let t=this.nextTokenInLineStart(),r=this.codePointAtPos(t);if(this.isUnparsedContextual(t,"of")){let n=this.lookaheadCharCodeSince(t+2);if(n!==61&&n!==58&&n!==59)return!1}return!!(this.chStartsBindingIdentifier(r,t)||this.isUnparsedContextual(t,"void"))}isAwaitUsing(){if(!this.isContextual(96))return!1;let t=this.nextTokenInLineStart();if(this.isUnparsedContextual(t,"using")){t=this.nextTokenInLineStartSince(t+5);let r=this.codePointAtPos(t);if(this.chStartsBindingIdentifier(r,t))return!0}return!1}chStartsBindingIdentifier(t,r){if(rs(t)){if(Em.lastIndex=r,Em.test(this.input)){let n=this.codePointAtPos(Em.lastIndex);if(!ha(n)&&n!==92)return!1}return!0}else return t===92}chStartsBindingPattern(t){return t===91||t===123}hasFollowingBindingAtom(){let t=this.nextTokenStart(),r=this.codePointAtPos(t);return this.chStartsBindingPattern(r)||this.chStartsBindingIdentifier(r,t)}hasInLineFollowingBindingIdentifierOrBrace(){let t=this.nextTokenInLineStart(),r=this.codePointAtPos(t);return r===123||this.chStartsBindingIdentifier(r,t)}allowsUsing(){return(this.scope.inModule||!this.scope.inTopLevel)&&!this.scope.inBareCaseStatement}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(t=!1){let r=0;return this.options.annexB&&!this.state.strict&&(r|=4,t&&(r|=8)),this.parseStatementLike(r)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(t){let r=null;return this.match(26)&&(r=this.parseDecorators(!0)),this.parseStatementContent(t,r)}parseStatementContent(t,r){let n=this.state.type,s=this.startNode(),i=!!(t&2),a=!!(t&4),o=t&1;switch(n){case 60:return this.parseBreakContinueStatement(s,!0);case 63:return this.parseBreakContinueStatement(s,!1);case 64:return this.parseDebuggerStatement(s);case 90:return this.parseDoWhileStatement(s);case 91:return this.parseForStatement(s);case 68:if(this.lookaheadCharCode()===46)break;return a||this.raise(this.state.strict?O.StrictFunction:this.options.annexB?O.SloppyFunctionAnnexB:O.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(s,!1,!i&&a);case 80:return i||this.unexpected(),this.parseClass(this.maybeTakeDecorators(r,s),!0);case 69:return this.parseIfStatement(s);case 70:return this.parseReturnStatement(s);case 71:return this.parseSwitchStatement(s);case 72:return this.parseThrowStatement(s);case 73:return this.parseTryStatement(s);case 96:if(this.isAwaitUsing())return this.allowsUsing()?i?this.recordAwaitIfAllowed()||this.raise(O.AwaitUsingNotInAsyncContext,s):this.raise(O.UnexpectedLexicalDeclaration,s):this.raise(O.UnexpectedUsingDeclaration,s),this.next(),this.parseVarStatement(s,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.allowsUsing()?i||this.raise(O.UnexpectedLexicalDeclaration,this.state.startLoc):this.raise(O.UnexpectedUsingDeclaration,this.state.startLoc),this.parseVarStatement(s,"using");case 100:{if(this.state.containsEsc)break;let c=this.nextTokenStart(),p=this.codePointAtPos(c);if(p!==91&&(!i&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(p,c)&&p!==123))break}case 75:i||this.raise(O.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let c=this.state.value;return this.parseVarStatement(s,c)}case 92:return this.parseWhileStatement(s);case 76:return this.parseWithStatement(s);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(s);case 83:{let c=this.lookaheadCharCode();if(c===40||c===46)break}case 82:{!(this.optionFlags&8)&&!o&&this.raise(O.UnexpectedImportExport,this.state.startLoc),this.next();let c;return n===83?c=this.parseImport(s):c=this.parseExport(s,r),this.assertModuleNodeAllowed(c),c}default:if(this.isAsyncFunction())return i||this.raise(O.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(s,!0,!i&&a)}let l=this.state.value,u=this.parseExpression();return bt(n)&&u.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(s,l,u,t):this.parseExpressionStatement(s,u,r)}assertModuleNodeAllowed(t){!(this.optionFlags&8)&&!this.inModule&&this.raise(O.ImportOutsideModule,t)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(t,r,n){if(t){var s;(s=r.decorators)!=null&&s.length?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(O.DecoratorsBeforeAfterExport,r.decorators[0]),r.decorators.unshift(...t)):r.decorators=t,this.resetStartLocationFromNode(r,t[0]),n&&this.resetStartLocationFromNode(n,r)}return r}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(t){let r=[];do r.push(this.parseDecorator());while(this.match(26));if(this.match(82))t||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(O.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(O.UnexpectedLeadingDecorator,this.state.startLoc);return r}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let t=this.startNode();if(this.next(),this.hasPlugin("decorators")){let r=this.state.startLoc,n;if(this.match(10)){let s=this.state.startLoc;this.next(),n=this.parseExpression(),this.expect(11),n=this.wrapParenthesis(s,n);let i=this.state.startLoc;t.expression=this.parseMaybeDecoratorArguments(n,s),this.getPluginOption("decorators","allowCallParenthesized")===!1&&t.expression!==n&&this.raise(O.DecoratorArgumentsOutsideParentheses,i)}else{for(n=this.parseIdentifier(!1);this.eat(16);){let s=this.startNodeAt(r);s.object=n,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),s.property=this.parsePrivateName()):s.property=this.parseIdentifier(!0),s.computed=!1,n=this.finishNode(s,"MemberExpression")}t.expression=this.parseMaybeDecoratorArguments(n,r)}}else t.expression=this.parseExprSubscripts();return this.finishNode(t,"Decorator")}parseMaybeDecoratorArguments(t,r){if(this.eat(10)){let n=this.startNodeAt(r);return n.callee=t,n.arguments=this.parseCallExpressionArguments(),this.toReferencedList(n.arguments),this.finishNode(n,"CallExpression")}return t}parseBreakContinueStatement(t,r){return this.next(),this.isLineTerminator()?t.label=null:(t.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(t,r),this.finishNode(t,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(t,r){let n;for(n=0;n<this.state.labels.length;++n){let s=this.state.labels[n];if((t.label==null||s.name===t.label.name)&&(s.kind!=null&&(r||s.kind===1)||t.label&&r))break}if(n===this.state.labels.length){let s=r?"BreakStatement":"ContinueStatement";this.raise(O.IllegalBreakContinue,t,{type:s})}}parseDebuggerStatement(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let t=this.parseExpression();return this.expect(11),t}parseDoWhileStatement(t){return this.next(),this.state.labels.push(bm),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),t.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(t,"DoWhileStatement")}parseForStatement(t){this.next(),this.state.labels.push(bm);let r=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(r=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return r!==null&&this.unexpected(r),this.parseFor(t,null);let n=this.isContextual(100);{let l=this.isAwaitUsing(),u=l||this.isForUsing(),c=n&&this.hasFollowingBindingAtom()||u;if(this.match(74)||this.match(75)||c){let p=this.startNode(),d;l?(d="await using",this.recordAwaitIfAllowed()||this.raise(O.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):d=this.state.value,this.next(),this.parseVar(p,!0,d);let m=this.finishNode(p,"VariableDeclaration"),g=this.match(58);return g&&u&&this.raise(O.ForInUsing,m),(g||this.isContextual(102))&&m.declarations.length===1?this.parseForIn(t,m,r):(r!==null&&this.unexpected(r),this.parseFor(t,m))}}let s=this.isContextual(95),i=new ya,a=this.parseExpression(!0,i),o=this.isContextual(102);if(o&&(n&&this.raise(O.ForOfLet,a),r===null&&s&&a.type==="Identifier"&&this.raise(O.ForOfAsync,a)),o||this.match(58)){this.checkDestructuringPrivate(i),this.toAssignable(a,!0);let l=o?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{type:l}),this.parseForIn(t,a,r)}else this.checkExpressionErrors(i,!0);return r!==null&&this.unexpected(r),this.parseFor(t,a)}parseFunctionStatement(t,r,n){return this.next(),this.parseFunction(t,1|(n?2:0)|(r?8:0))}parseIfStatement(t){return this.next(),t.test=this.parseHeaderExpression(),t.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),t.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(t,"IfStatement")}parseReturnStatement(t){return this.prodParam.hasReturn||this.raise(O.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")}parseSwitchStatement(t){this.next(),t.discriminant=this.parseHeaderExpression();let r=t.cases=[];this.expect(5),this.state.labels.push(NX),this.scope.enter(256);let n;for(let s;!this.match(8);)if(this.match(61)||this.match(65)){let i=this.match(61);n&&this.finishNode(n,"SwitchCase"),r.push(n=this.startNode()),n.consequent=[],this.next(),i?n.test=this.parseExpression():(s&&this.raise(O.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),s=!0,n.test=null),this.expect(14)}else n?n.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),n&&this.finishNode(n,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(t,"SwitchStatement")}parseThrowStatement(t){return this.next(),this.hasPrecedingLineBreak()&&this.raise(O.NewlineAfterThrow,this.state.lastTokEndLoc),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")}parseCatchClauseParam(){let t=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&t.type==="Identifier"?8:0),this.checkLVal(t,{type:"CatchClause"},9),t}parseTryStatement(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.match(62)){let r=this.startNode();this.next(),this.match(10)?(this.expect(10),r.param=this.parseCatchClauseParam(),this.expect(11)):(r.param=null,this.scope.enter(0)),r.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),t.handler=this.finishNode(r,"CatchClause")}return t.finalizer=this.eat(67)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(O.NoCatchOrFinally,t),this.finishNode(t,"TryStatement")}parseVarStatement(t,r,n=!1){return this.next(),this.parseVar(t,!1,r,n),this.semicolon(),this.finishNode(t,"VariableDeclaration")}parseWhileStatement(t){return this.next(),t.test=this.parseHeaderExpression(),this.state.labels.push(bm),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(t,"WhileStatement")}parseWithStatement(t){return this.state.strict&&this.raise(O.StrictWith,this.state.startLoc),this.next(),t.object=this.parseHeaderExpression(),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(t,"WithStatement")}parseEmptyStatement(t){return this.next(),this.finishNode(t,"EmptyStatement")}parseLabeledStatement(t,r,n,s){for(let a of this.state.labels)a.name===r&&this.raise(O.LabelRedeclaration,n,{labelName:r});let i=RG(this.state.type)?1:this.match(71)?2:null;for(let a=this.state.labels.length-1;a>=0;a--){let o=this.state.labels[a];if(o.statementStart===t.start)o.statementStart=this.sourceToOffsetPos(this.state.start),o.kind=i;else break}return this.state.labels.push({name:r,kind:i,statementStart:this.sourceToOffsetPos(this.state.start)}),t.body=s&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),t.label=n,this.finishNode(t,"LabeledStatement")}parseExpressionStatement(t,r,n){return t.expression=r,this.semicolon(),this.finishNode(t,"ExpressionStatement")}parseBlock(t=!1,r=!0,n){let s=this.startNode();return t&&this.state.strictErrors.clear(),this.expect(5),r&&this.scope.enter(0),this.parseBlockBody(s,t,!1,8,n),r&&this.scope.exit(),this.finishNode(s,"BlockStatement")}isValidDirective(t){return t.type==="ExpressionStatement"&&t.expression.type==="StringLiteral"&&!t.expression.extra.parenthesized}parseBlockBody(t,r,n,s,i){let a=t.body=[],o=t.directives=[];this.parseBlockOrModuleBlockBody(a,r?o:void 0,n,s,i)}parseBlockOrModuleBlockBody(t,r,n,s,i){let a=this.state.strict,o=!1,l=!1;for(;!this.match(s);){let u=n?this.parseModuleItem():this.parseStatementListItem();if(r&&!l){if(this.isValidDirective(u)){let c=this.stmtToDirective(u);r.push(c),!o&&c.value.value==="use strict"&&(o=!0,this.setStrict(!0));continue}l=!0,this.state.strictErrors.clear()}t.push(u)}i==null||i.call(this,o),a||this.setStrict(!1),this.next()}parseFor(t,r){return t.init=r,this.semicolon(!1),t.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),t.update=this.match(11)?null:this.parseExpression(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,"ForStatement")}parseForIn(t,r,n){let s=this.match(58);return this.next(),s?n!==null&&this.unexpected(n):t.await=n!==null,r.type==="VariableDeclaration"&&r.declarations[0].init!=null&&(!s||!this.options.annexB||this.state.strict||r.kind!=="var"||r.declarations[0].id.type!=="Identifier")&&this.raise(O.ForInOfLoopInitializer,r,{type:s?"ForInStatement":"ForOfStatement"}),r.type==="AssignmentPattern"&&this.raise(O.InvalidLhs,r,{ancestor:{type:"ForStatement"}}),t.left=r,t.right=s?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,s?"ForInStatement":"ForOfStatement")}parseVar(t,r,n,s=!1){let i=t.declarations=[];for(t.kind=n;;){let a=this.startNode();if(this.parseVarId(a,n),a.init=this.eat(29)?r?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,a.init===null&&!s&&(a.id.type!=="Identifier"&&!(r&&(this.match(58)||this.isContextual(102)))?this.raise(O.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(n==="const"||n==="using"||n==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(O.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:n})),i.push(this.finishNode(a,"VariableDeclarator")),!this.eat(12))break}return t}parseVarId(t,r){let n=this.parseBindingAtom();r==="using"||r==="await using"?(n.type==="ArrayPattern"||n.type==="ObjectPattern")&&this.raise(O.UsingDeclarationHasBindingPattern,n.loc.start):n.type==="VoidPattern"&&this.raise(O.UnexpectedVoidPattern,n.loc.start),this.checkLVal(n,{type:"VariableDeclarator"},r==="var"?5:8201),t.id=n}parseAsyncFunctionExpression(t){return this.parseFunction(t,8)}parseFunction(t,r=0){let n=r&2,s=!!(r&1),i=s&&!(r&4),a=!!(r&8);this.initFunction(t,a),this.match(55)&&(n&&this.raise(O.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),t.generator=!0),s&&(t.id=this.parseFunctionId(i));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(514),this.prodParam.enter(_u(a,t.generator)),s||(t.id=this.parseFunctionId()),this.parseFunctionParams(t,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(t,s?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),s&&!n&&this.registerFunctionStatementId(t),this.state.maybeInArrowParameters=o,t}parseFunctionId(t){return t||bt(this.state.type)?this.parseIdentifier():null}parseFunctionParams(t,r){this.expect(10),this.expressionScope.enter(gX()),t.params=this.parseBindingList(11,41,2|(r?4:0)),this.expressionScope.exit()}registerFunctionStatementId(t){t.id&&this.scope.declareName(t.id.name,!this.options.annexB||this.state.strict||t.generator||t.async?this.scope.treatFunctionsAsVar?5:8201:17,t.id.loc.start)}parseClass(t,r,n){this.next();let s=this.state.strict;return this.state.strict=!0,this.parseClassId(t,r,n),this.parseClassSuper(t),t.body=this.parseClassBody(!!t.superClass,s),this.finishNode(t,r?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(t){return t.type==="Identifier"&&t.name==="constructor"||t.type==="StringLiteral"&&t.value==="constructor"}isNonstaticConstructor(t){return!t.computed&&!t.static&&this.nameIsConstructor(t.key)}parseClassBody(t,r){this.classScope.enter();let n={hadConstructor:!1,hadSuperClass:t},s=[],i=this.startNode();if(i.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(s.length>0)throw this.raise(O.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){s.push(this.parseDecorator());continue}let a=this.startNode();s.length&&(a.decorators=s,this.resetStartLocationFromNode(a,s[0]),s=[]),this.parseClassMember(i,a,n),a.kind==="constructor"&&a.decorators&&a.decorators.length>0&&this.raise(O.DecoratorConstructor,a)}}),this.state.strict=r,this.next(),s.length)throw this.raise(O.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(t,r){let n=this.parseIdentifier(!0);if(this.isClassMethod()){let s=r;return s.kind="method",s.computed=!1,s.key=n,s.static=!1,this.pushClassMethod(t,s,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let s=r;return s.computed=!1,s.key=n,s.static=!1,t.body.push(this.parseClassProperty(s)),!0}return this.resetPreviousNodeTrailingComments(n),!1}parseClassMember(t,r,n){let s=this.isContextual(106);if(s){if(this.parseClassMemberFromModifier(t,r))return;if(this.eat(5)){this.parseClassStaticBlock(t,r);return}}this.parseClassMemberWithIsStatic(t,r,n,s)}parseClassMemberWithIsStatic(t,r,n,s){let i=r,a=r,o=r,l=r,u=r,c=i,p=i;if(r.static=s,this.parsePropertyNamePrefixOperator(r),this.eat(55)){c.kind="method";let T=this.match(139);if(this.parseClassElementName(c),this.parsePostMemberNameModifiers(c),T){this.pushClassPrivateMethod(t,a,!0,!1);return}this.isNonstaticConstructor(i)&&this.raise(O.ConstructorIsGenerator,i.key),this.pushClassMethod(t,i,!0,!1,!1,!1);return}let d=!this.state.containsEsc&&bt(this.state.type),m=this.parseClassElementName(r),g=d?m.name:null,f=this.isPrivateName(m),b=this.state.startLoc;if(this.parsePostMemberNameModifiers(p),this.isClassMethod()){if(c.kind="method",f){this.pushClassPrivateMethod(t,a,!1,!1);return}let T=this.isNonstaticConstructor(i),w=!1;T&&(i.kind="constructor",n.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(O.DuplicateConstructor,m),T&&this.hasPlugin("typescript")&&r.override&&this.raise(O.OverrideOnConstructor,m),n.hadConstructor=!0,w=n.hadSuperClass),this.pushClassMethod(t,i,!1,!1,T,w)}else if(this.isClassProperty())f?this.pushClassPrivateProperty(t,l):this.pushClassProperty(t,o);else if(g==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(m);let T=this.eat(55);p.optional&&this.unexpected(b),c.kind="method";let w=this.match(139);this.parseClassElementName(c),this.parsePostMemberNameModifiers(p),w?this.pushClassPrivateMethod(t,a,T,!0):(this.isNonstaticConstructor(i)&&this.raise(O.ConstructorIsAsync,i.key),this.pushClassMethod(t,i,T,!0,!1,!1))}else if((g==="get"||g==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(m),c.kind=g;let T=this.match(139);this.parseClassElementName(i),T?this.pushClassPrivateMethod(t,a,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(O.ConstructorIsAccessor,i.key),this.pushClassMethod(t,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}else if(g==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(m);let T=this.match(139);this.parseClassElementName(o),this.pushClassAccessorProperty(t,u,T)}else this.isLineTerminator()?f?this.pushClassPrivateProperty(t,l):this.pushClassProperty(t,o):this.unexpected()}parseClassElementName(t){let{type:r,value:n}=this.state;if((r===132||r===134)&&t.static&&n==="prototype"&&this.raise(O.StaticPrototype,this.state.startLoc),r===139){n==="constructor"&&this.raise(O.ConstructorClassPrivateField,this.state.startLoc);let s=this.parsePrivateName();return t.key=s,s}return this.parsePropertyName(t),t.key}parseClassStaticBlock(t,r){var n;this.scope.enter(720);let s=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let i=r.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=s,t.body.push(this.finishNode(r,"StaticBlock")),(n=r.decorators)!=null&&n.length&&this.raise(O.DecoratorStaticBlock,r)}pushClassProperty(t,r){!r.computed&&this.nameIsConstructor(r.key)&&this.raise(O.ConstructorClassField,r.key),t.body.push(this.parseClassProperty(r))}pushClassPrivateProperty(t,r){let n=this.parseClassPrivateProperty(r);t.body.push(n),this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),0,n.key.loc.start)}pushClassAccessorProperty(t,r,n){!n&&!r.computed&&this.nameIsConstructor(r.key)&&this.raise(O.ConstructorClassField,r.key);let s=this.parseClassAccessorProperty(r);t.body.push(s),n&&this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),0,s.key.loc.start)}pushClassMethod(t,r,n,s,i,a){t.body.push(this.parseMethod(r,n,s,i,a,"ClassMethod",!0))}pushClassPrivateMethod(t,r,n,s){let i=this.parseMethod(r,n,s,!1,!1,"ClassPrivateMethod",!0);t.body.push(i);let a=i.kind==="get"?i.static?6:2:i.kind==="set"?i.static?5:1:0;this.declareClassPrivateMethodInScope(i,a)}declareClassPrivateMethodInScope(t,r){this.classScope.declarePrivateName(this.getPrivateNameSV(t.key),r,t.key.loc.start)}parsePostMemberNameModifiers(t){}parseClassPrivateProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassPrivateProperty")}parseClassProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassProperty")}parseClassAccessorProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassAccessorProperty")}parseInitializer(t){this.scope.enter(592),this.expressionScope.enter(LS()),this.prodParam.enter(0),t.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(t,r,n,s=8331){if(bt(this.state.type))t.id=this.parseIdentifier(),r&&this.declareNameFromIdentifier(t.id,s);else if(n||!r)t.id=null;else throw this.raise(O.MissingClassName,this.state.startLoc)}parseClassSuper(t){t.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(t,r){let n=this.parseMaybeImportPhase(t,!0),s=this.maybeParseExportDefaultSpecifier(t,n),i=!s||this.eat(12),a=i&&this.eatExportStar(t),o=a&&this.maybeParseExportNamespaceSpecifier(t),l=i&&(!o||this.eat(12)),u=s||a;if(a&&!o){if(s&&this.unexpected(),r)throw this.raise(O.UnsupportedDecoratorExport,t);return this.parseExportFrom(t,!0),this.sawUnambiguousESM=!0,this.finishNode(t,"ExportAllDeclaration")}let c=this.maybeParseExportNamedSpecifiers(t);s&&i&&!a&&!c&&this.unexpected(null,5),o&&l&&this.unexpected(null,98);let p;if(u||c){if(p=!1,r)throw this.raise(O.UnsupportedDecoratorExport,t);this.parseExportFrom(t,u)}else p=this.maybeParseExportDeclaration(t);if(u||c||p){var d;let m=t;if(this.checkExport(m,!0,!1,!!m.source),((d=m.declaration)==null?void 0:d.type)==="ClassDeclaration")this.maybeTakeDecorators(r,m.declaration,m);else if(r)throw this.raise(O.UnsupportedDecoratorExport,t);return this.sawUnambiguousESM=!0,this.finishNode(m,"ExportNamedDeclaration")}if(this.eat(65)){let m=t,g=this.parseExportDefaultExpression();if(m.declaration=g,g.type==="ClassDeclaration")this.maybeTakeDecorators(r,g,m);else if(r)throw this.raise(O.UnsupportedDecoratorExport,t);return this.checkExport(m,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(m,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(t){return this.eat(55)}maybeParseExportDefaultSpecifier(t,r){if(r||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",r==null?void 0:r.loc.start);let n=r||this.parseIdentifier(!0),s=this.startNodeAtNode(n);return s.exported=n,t.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(t){if(this.isContextual(93)){var r,n;(n=(r=t).specifiers)!=null||(r.specifiers=[]);let s=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),s.exported=this.parseModuleExportName(),t.specifiers.push(this.finishNode(s,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(t){if(this.match(5)){let r=t;r.specifiers||(r.specifiers=[]);let n=r.exportKind==="type";return r.specifiers.push(...this.parseExportSpecifiers(n)),r.source=null,this.hasPlugin("importAssertions")?r.assertions=[]:r.attributes=[],r.declaration=null,!0}return!1}maybeParseExportDeclaration(t){return this.shouldParseExportDeclaration()?(t.specifiers=[],t.source=null,this.hasPlugin("importAssertions")?t.assertions=[]:t.attributes=[],t.declaration=this.parseExportDeclaration(t),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let t=this.nextTokenInLineStart();return this.isUnparsedContextual(t,"function")}parseExportDefaultExpression(){let t=this.startNode();if(this.match(68))return this.next(),this.parseFunction(t,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(t,13);if(this.match(80))return this.parseClass(t,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(O.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet()||this.isUsing()||this.isAwaitUsing())throw this.raise(O.UnsupportedDefaultExport,this.state.startLoc);let r=this.parseMaybeAssignAllowIn();return this.semicolon(),r}parseExportDeclaration(t){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:t}=this.state;if(bt(t)){if(t===95&&!this.state.containsEsc||t===100)return!1;if((t===130||t===129)&&!this.state.containsEsc){let s=this.nextTokenStart(),i=this.input.charCodeAt(s);if(i===123||this.chStartsBindingIdentifier(i,s)&&!this.input.startsWith("from",s))return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let r=this.nextTokenStart(),n=this.isUnparsedContextual(r,"from");if(this.input.charCodeAt(r)===44||bt(this.state.type)&&n)return!0;if(this.match(65)&&n){let s=this.input.charCodeAt(this.nextTokenStartSince(r+4));return s===34||s===39}return!1}parseExportFrom(t,r){this.eatContextual(98)?(t.source=this.parseImportSource(),this.checkExport(t),this.maybeParseImportAttributes(t),this.checkJSONModuleImport(t)):r&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:t}=this.state;return t===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(O.DecoratorBeforeExport,this.state.startLoc),!0):this.isUsing()?(this.raise(O.UsingDeclarationExport,this.state.startLoc),!0):this.isAwaitUsing()?(this.raise(O.UsingDeclarationExport,this.state.startLoc),!0):t===74||t===75||t===68||t===80||this.isLet()||this.isAsyncFunction()}checkExport(t,r,n,s){if(r){var i;if(n){if(this.checkDuplicateExports(t,"default"),this.hasPlugin("exportDefaultFrom")){var a;let o=t.declaration;o.type==="Identifier"&&o.name==="from"&&o.end-o.start===4&&!((a=o.extra)!=null&&a.parenthesized)&&this.raise(O.ExportDefaultFromAsIdentifier,o)}}else if((i=t.specifiers)!=null&&i.length)for(let o of t.specifiers){let{exported:l}=o,u=l.type==="Identifier"?l.name:l.value;if(this.checkDuplicateExports(o,u),!s&&o.local){let{local:c}=o;c.type!=="Identifier"?this.raise(O.ExportBindingIsString,o,{localName:c.value,exportName:u}):(this.checkReservedWord(c.name,c.loc.start,!0,!1),this.scope.checkLocalExport(c))}}else if(t.declaration){let o=t.declaration;if(o.type==="FunctionDeclaration"||o.type==="ClassDeclaration"){let{id:l}=o;if(!l)throw new Error("Assertion failure");this.checkDuplicateExports(t,l.name)}else if(o.type==="VariableDeclaration")for(let l of o.declarations)this.checkDeclaration(l.id)}}}checkDeclaration(t){if(t.type==="Identifier")this.checkDuplicateExports(t,t.name);else if(t.type==="ObjectPattern")for(let r of t.properties)this.checkDeclaration(r);else if(t.type==="ArrayPattern")for(let r of t.elements)r&&this.checkDeclaration(r);else t.type==="ObjectProperty"?this.checkDeclaration(t.value):t.type==="RestElement"?this.checkDeclaration(t.argument):t.type==="AssignmentPattern"&&this.checkDeclaration(t.left)}checkDuplicateExports(t,r){this.exportedIdentifiers.has(r)&&(r==="default"?this.raise(O.DuplicateDefaultExport,t):this.raise(O.DuplicateExport,t,{exportName:r})),this.exportedIdentifiers.add(r)}parseExportSpecifiers(t){let r=[],n=!0;for(this.expect(5);!this.eat(8);){if(n)n=!1;else if(this.expect(12),this.eat(8))break;let s=this.isContextual(130),i=this.match(134),a=this.startNode();a.local=this.parseModuleExportName(),r.push(this.parseExportSpecifier(a,i,t,s))}return r}parseExportSpecifier(t,r,n,s){return this.eatContextual(93)?t.exported=this.parseModuleExportName():r?t.exported=this.cloneStringLiteral(t.local):t.exported||(t.exported=this.cloneIdentifier(t.local)),this.finishNode(t,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){let t=this.parseStringLiteral(this.state.value),r=OX.exec(t.value);return r&&this.raise(O.ModuleExportNameHasLoneSurrogate,t,{surrogateCharCode:r[0].charCodeAt(0)}),t}return this.parseIdentifier(!0)}isJSONModuleImport(t){return t.assertions!=null?t.assertions.some(({key:r,value:n})=>n.value==="json"&&(r.type==="Identifier"?r.name==="type":r.value==="type")):!1}checkImportReflection(t){let{specifiers:r}=t,n=r.length===1?r[0].type:null;if(t.phase==="source")n!=="ImportDefaultSpecifier"&&this.raise(O.SourcePhaseImportRequiresDefault,r[0].loc.start);else if(t.phase==="defer")n!=="ImportNamespaceSpecifier"&&this.raise(O.DeferImportRequiresNamespace,r[0].loc.start);else if(t.module){var s;n!=="ImportDefaultSpecifier"&&this.raise(O.ImportReflectionNotBinding,r[0].loc.start),((s=t.assertions)==null?void 0:s.length)>0&&this.raise(O.ImportReflectionHasAssertion,r[0].loc.start)}}checkJSONModuleImport(t){if(this.isJSONModuleImport(t)&&t.type!=="ExportAllDeclaration"){let{specifiers:r}=t;if(r!=null){let n=r.find(s=>{let i;if(s.type==="ExportSpecifier"?i=s.local:s.type==="ImportSpecifier"&&(i=s.imported),i!==void 0)return i.type==="Identifier"?i.name!=="default":i.value!=="default"});n!==void 0&&this.raise(O.ImportJSONBindingNotDefault,n.loc.start)}}}isPotentialImportPhase(t){return t?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(t,r,n,s){r||(n==="module"?(this.expectPlugin("importReflection",s),t.module=!0):this.hasPlugin("importReflection")&&(t.module=!1),n==="source"?(this.expectPlugin("sourcePhaseImports",s),t.phase="source"):n==="defer"?(this.expectPlugin("deferredImportEvaluation",s),t.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(t.phase=null))}parseMaybeImportPhase(t,r){if(!this.isPotentialImportPhase(r))return this.applyImportPhase(t,r,null),null;let n=this.startNode(),s=this.parseIdentifierName(!0),{type:i}=this.state;return(Sn(i)?i!==98||this.lookaheadCharCode()===102:i!==12)?(this.applyImportPhase(t,r,s,n.loc.start),null):(this.applyImportPhase(t,r,null),this.createIdentifier(n,s))}isPrecedingIdImportPhase(t){let{type:r}=this.state;return bt(r)?r!==98||this.lookaheadCharCode()===102:r!==12}parseImport(t){return this.match(134)?this.parseImportSourceAndAttributes(t):this.parseImportSpecifiersAndAfter(t,this.parseMaybeImportPhase(t,!1))}parseImportSpecifiersAndAfter(t,r){t.specifiers=[];let s=!this.maybeParseDefaultImportSpecifier(t,r)||this.eat(12),i=s&&this.maybeParseStarImportSpecifier(t);return s&&!i&&this.parseNamedImportSpecifiers(t),this.expectContextual(98),this.parseImportSourceAndAttributes(t)}parseImportSourceAndAttributes(t){var r;return(r=t.specifiers)!=null||(t.specifiers=[]),t.source=this.parseImportSource(),this.maybeParseImportAttributes(t),this.checkImportReflection(t),this.checkJSONModuleImport(t),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(t,r,n){r.local=this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(r,n))}finishImportSpecifier(t,r,n=8201){return this.checkLVal(t.local,{type:r},n),this.finishNode(t,r)}parseImportAttributes(){this.expect(5);let t=[],r=new Set;do{if(this.match(8))break;let n=this.startNode(),s=this.state.value;if(r.has(s)&&this.raise(O.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:s}),r.add(s),this.match(134)?n.key=this.parseStringLiteral(s):n.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(O.ModuleAttributeInvalidValue,this.state.startLoc);n.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(n,"ImportAttribute"))}while(this.eat(12));return this.expect(8),t}parseModuleAttributes(){let t=[],r=new Set;do{let n=this.startNode();if(n.key=this.parseIdentifier(!0),n.key.name!=="type"&&this.raise(O.ModuleAttributeDifferentFromType,n.key),r.has(n.key.name)&&this.raise(O.ModuleAttributesWithDuplicateKeys,n.key,{key:n.key.name}),r.add(n.key.name),this.expect(14),!this.match(134))throw this.raise(O.ModuleAttributeInvalidValue,this.state.startLoc);n.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(n,"ImportAttribute"))}while(this.eat(12));return t}maybeParseImportAttributes(t){let r;var n=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?(r=this.parseModuleAttributes(),this.addExtra(t,"deprecatedWithLegacySyntax",!0)):r=this.parseImportAttributes(),n=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(!this.hasPlugin("deprecatedImportAssert")&&!this.hasPlugin("importAssertions")&&this.raise(O.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(t,"deprecatedAssertSyntax",!0),this.next(),r=this.parseImportAttributes()):r=[];!n&&this.hasPlugin("importAssertions")?t.assertions=r:t.attributes=r}maybeParseDefaultImportSpecifier(t,r){if(r){let n=this.startNodeAtNode(r);return n.local=r,t.specifiers.push(this.finishImportSpecifier(n,"ImportDefaultSpecifier")),!0}else if(Sn(this.state.type))return this.parseImportSpecifierLocal(t,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(t){if(this.match(55)){let r=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(t,r,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(t){let r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else{if(this.eat(14))throw this.raise(O.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let n=this.startNode(),s=this.match(134),i=this.isContextual(130);n.imported=this.parseModuleExportName();let a=this.parseImportSpecifier(n,s,t.importKind==="type"||t.importKind==="typeof",i,void 0);t.specifiers.push(a)}}parseImportSpecifier(t,r,n,s,i){if(this.eatContextual(93))t.local=this.parseIdentifier();else{let{imported:a}=t;if(r)throw this.raise(O.ImportBindingIsString,t,{importName:a.value});this.checkReservedWord(a.name,t.loc.start,!0,!0),t.local||(t.local=this.cloneIdentifier(a))}return this.finishImportSpecifier(t,"ImportSpecifier",i)}isThisParam(t){return t.type==="Identifier"&&t.name==="this"}},ku=class extends Rm{constructor(t,r,n){t=NG(t),super(t,r),this.options=t,this.initializeScopes(),this.plugins=n,this.filename=t.sourceFilename,this.startIndex=t.startIndex;let s=0;t.allowAwaitOutsideFunction&&(s|=1),t.allowReturnOutsideFunction&&(s|=2),t.allowImportExportEverywhere&&(s|=8),t.allowSuperOutsideMethod&&(s|=16),t.allowUndeclaredExports&&(s|=64),t.allowNewTargetOutsideFunction&&(s|=4),t.allowYieldOutsideFunction&&(s|=32),t.ranges&&(s|=128),t.tokens&&(s|=256),t.createImportExpressions&&(s|=512),t.createParenthesizedExpressions&&(s|=1024),t.errorRecovery&&(s|=2048),t.attachComment&&(s|=4096),t.annexB&&(s|=8192),this.optionFlags=s}getScopeHandler(){return Lo}parse(){this.enterInitialScopes();let t=this.startNode(),r=this.startNode();return this.nextToken(),t.errors=null,this.parseTopLevel(t,r),t.errors=this.state.errors,t.comments.length=this.state.commentsLen,t}};function kX(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";let n=Bo(t,e),s=n.parse();if(n.sawUnambiguousESM)return s;if(n.ambiguousScriptDifferentAst)try{return t.sourceType="script",Bo(t,e).parse()}catch{}else s.program.sourceType="script";return s}catch(n){try{return t.sourceType="script",Bo(t,e).parse()}catch{}throw n}}else return Bo(t,e).parse()}function FX(e,t){let r=Bo(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()}function LX(e){let t={};for(let r of Object.keys(e))t[r]=es(e[r]);return t}var jX=LX(FG);function Bo(e,t){let r=ku,n=new Map;if(e!=null&&e.plugins){for(let s of e.plugins){let i,a;typeof s=="string"?i=s:[i,a]=s,n.has(i)||n.set(i,a||{})}IX(n),r=MX(n)}return new r(e,t,n)}var AS=new Map;function MX(e){let t=[];for(let s of _X)e.has(s)&&t.push(s);let r=t.join("|"),n=AS.get(r);if(!n){n=ku;for(let s of t)n=qS[s](n);AS.set(r,n)}return n}Mo.parse=kX;Mo.parseExpression=FX;Mo.tokTypes=jX});var $S=x((Iwe,Ym)=>{var Lu=process||{},US=Lu.argv||[],Fu=Lu.env||{},RX=!(Fu.NO_COLOR||US.includes("--no-color"))&&(!!Fu.FORCE_COLOR||US.includes("--color")||Lu.platform==="win32"||(Lu.stdout||{}).isTTY&&Fu.TERM!=="dumb"||!!Fu.CI),qX=(e,t,r=e)=>n=>{let s=""+n,i=s.indexOf(t,e.length);return~i?e+UX(s,t,r,i)+t:e+s+t},UX=(e,t,r,n)=>{let s="",i=0;do s+=e.substring(i,n)+r,i=n+t.length,n=e.indexOf(t,i);while(~n);return s+e.substring(i)},VS=(e=RX)=>{let t=e?qX:()=>String;return{isColorSupported:e,reset:t("\x1B[0m","\x1B[0m"),bold:t("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:t("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:t("\x1B[3m","\x1B[23m"),underline:t("\x1B[4m","\x1B[24m"),inverse:t("\x1B[7m","\x1B[27m"),hidden:t("\x1B[8m","\x1B[28m"),strikethrough:t("\x1B[9m","\x1B[29m"),black:t("\x1B[30m","\x1B[39m"),red:t("\x1B[31m","\x1B[39m"),green:t("\x1B[32m","\x1B[39m"),yellow:t("\x1B[33m","\x1B[39m"),blue:t("\x1B[34m","\x1B[39m"),magenta:t("\x1B[35m","\x1B[39m"),cyan:t("\x1B[36m","\x1B[39m"),white:t("\x1B[37m","\x1B[39m"),gray:t("\x1B[90m","\x1B[39m"),bgBlack:t("\x1B[40m","\x1B[49m"),bgRed:t("\x1B[41m","\x1B[49m"),bgGreen:t("\x1B[42m","\x1B[49m"),bgYellow:t("\x1B[43m","\x1B[49m"),bgBlue:t("\x1B[44m","\x1B[49m"),bgMagenta:t("\x1B[45m","\x1B[49m"),bgCyan:t("\x1B[46m","\x1B[49m"),bgWhite:t("\x1B[47m","\x1B[49m"),blackBright:t("\x1B[90m","\x1B[39m"),redBright:t("\x1B[91m","\x1B[39m"),greenBright:t("\x1B[92m","\x1B[39m"),yellowBright:t("\x1B[93m","\x1B[39m"),blueBright:t("\x1B[94m","\x1B[39m"),magentaBright:t("\x1B[95m","\x1B[39m"),cyanBright:t("\x1B[96m","\x1B[39m"),whiteBright:t("\x1B[97m","\x1B[39m"),bgBlackBright:t("\x1B[100m","\x1B[49m"),bgRedBright:t("\x1B[101m","\x1B[49m"),bgGreenBright:t("\x1B[102m","\x1B[49m"),bgYellowBright:t("\x1B[103m","\x1B[49m"),bgBlueBright:t("\x1B[104m","\x1B[49m"),bgMagentaBright:t("\x1B[105m","\x1B[49m"),bgCyanBright:t("\x1B[106m","\x1B[49m"),bgWhiteBright:t("\x1B[107m","\x1B[49m")}};Ym.exports=VS();Ym.exports.createColors=VS});var WS=x(ju=>{Object.defineProperty(ju,"__esModule",{value:!0});ju.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;ju.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!!(e[3]||e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}});var Ta=x(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});var Jm=$S(),KS=WS(),HS=ia();function VX(){return typeof process=="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?!1:Jm.isColorSupported}var Mu=(e,t)=>r=>e(t(r));function YS(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:Mu(Mu(e.white,e.bgRed),e.bold),gutter:e.gray,marker:Mu(e.red,e.bold),message:Mu(e.red,e.bold),reset:e.reset}}var $X=YS(Jm.createColors(!0)),WX=YS(Jm.createColors(!1));function JS(e){return e?$X:WX}var KX=new Set(["as","async","from","get","of","set"]),HX=/\r\n|[\n\r\u2028\u2029]/,GX=/^[()[\]{}]$/,zS;{let e=/^[a-z][\w-]*$/i,t=function(r,n,s){if(r.type==="name"){if(HS.isKeyword(r.value)||HS.isStrictReservedWord(r.value,!0)||KX.has(r.value))return"keyword";if(e.test(r.value)&&(s[n-1]==="<"||s.slice(n-2,n)==="</"))return"jsxIdentifier";if(r.value[0]!==r.value[0].toLowerCase())return"capitalized"}return r.type==="punctuator"&&GX.test(r.value)?"bracket":r.type==="invalid"&&(r.value==="@"||r.value==="#")?"punctuator":r.type};zS=function*(r){let n;for(;n=KS.default.exec(r);){let s=KS.matchToToken(n);yield{type:t(s,n.index,r),value:s.value}}}}function QS(e){if(e==="")return"";let t=JS(!0),r="";for(let{type:n,value:s}of zS(e))n in t?r+=s.split(HX).map(i=>t[n](i)).join(`
|
|
`):r+=s;return r}var GS=!1,XS=/\r\n|[\n\r\u2028\u2029]/;function XX(e,t,r){let n=Object.assign({column:0,line:-1},e.start),s=Object.assign({},n,e.end),{linesAbove:i=2,linesBelow:a=3}=r||{},o=n.line,l=n.column,u=s.line,c=s.column,p=Math.max(o-(i+1),0),d=Math.min(t.length,u+a);o===-1&&(p=0),u===-1&&(d=t.length);let m=u-o,g={};if(m)for(let f=0;f<=m;f++){let b=f+o;if(!l)g[b]=!0;else if(f===0){let T=t[b-1].length;g[b]=[l,T-l+1]}else if(f===m)g[b]=[0,c];else{let T=t[b-f].length;g[b]=[0,T]}}else l===c?l?g[o]=[l,0]:g[o]=!0:g[o]=[l,c-l];return{start:p,end:d,markerLines:g}}function ZS(e,t,r={}){let n=r.forceColor||VX()&&r.highlightCode,s=JS(n),i=e.split(XS),{start:a,end:o,markerLines:l}=XX(t,i,r),u=t.start&&typeof t.start.column=="number",c=String(o).length,d=(n?QS(e):e).split(XS,o).slice(a,o).map((m,g)=>{let f=a+1+g,T=` ${` ${f}`.slice(-c)} |`,w=l[f],I=!l[f+1];if(w){let N="";if(Array.isArray(w)){let L=m.slice(0,Math.max(w[0]-1,0)).replace(/[^\t]/g," "),W=w[1]||1;N=[`
|
|
`,s.gutter(T.replace(/\d/g," "))," ",L,s.marker("^").repeat(W)].join(""),I&&r.message&&(N+=" "+s.message(r.message))}return[s.marker(">"),s.gutter(T),m.length>0?` ${m}`:"",N].join("")}else return` ${s.gutter(T)}${m.length>0?` ${m}`:""}`}).join(`
|
|
`);return r.message&&!u&&(d=`${" ".repeat(c+1)}${r.message}
|
|
${d}`),n?s.reset(d):d}function YX(e,t,r,n={}){if(!GS){GS=!0;let i="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(i,"DeprecationWarning");else{let a=new Error(i);a.name="DeprecationWarning",console.warn(new Error(i))}}return r=Math.max(r,0),ZS(e,{start:{column:r,line:t}},n)}qo.codeFrameColumns=ZS;qo.default=YX;qo.highlight=QS});var Qm=x(zm=>{"use strict";Object.defineProperty(zm,"__esModule",{value:!0});zm.default=uY;var JX=Fe(),zX=Ro(),QX=Ta(),{isCallExpression:ZX,isExpressionStatement:eY,isFunction:tY,isIdentifier:rY,isJSXIdentifier:nY,isNewExpression:sY,isPlaceholder:Ru,isStatement:iY,isStringLiteral:ev,removePropertiesDeep:aY,traverse:oY}=JX,lY=/^[_$A-Z0-9]+$/;function uY(e,t,r){let{placeholderWhitelist:n,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:a}=r,o=fY(t,r.parser,a);aY(o,{preserveComments:i}),e.validate(o);let l={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:n,placeholderPattern:s,syntacticPlaceholders:a};return oY(o,cY,l),Object.assign({ast:o},l.syntactic.placeholders.length?l.syntactic:l.legacy)}function cY(e,t,r){var n;let s,i=r.syntactic.placeholders.length>0;if(Ru(e)){if(r.syntacticPlaceholders===!1)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");s=e.name.name,i=!0}else{if(i||r.syntacticPlaceholders)return;if(rY(e)||nY(e))s=e.name;else if(ev(e))s=e.value;else return}if(i&&(r.placeholderPattern!=null||r.placeholderWhitelist!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!i&&(r.placeholderPattern===!1||!(r.placeholderPattern||lY).test(s))&&!((n=r.placeholderWhitelist)!=null&&n.has(s)))return;t=t.slice();let{node:a,key:o}=t[t.length-1],l;ev(e)||Ru(e,{expectedNode:"StringLiteral"})?l="string":sY(a)&&o==="arguments"||ZX(a)&&o==="arguments"||tY(a)&&o==="params"?l="param":eY(a)&&!Ru(e)?(l="statement",t=t.slice(0,-1)):iY(e)&&Ru(e)?l="statement":l="other";let{placeholders:u,placeholderNames:c}=i?r.syntactic:r.legacy;u.push({name:s,type:l,resolve:p=>pY(p,t),isDuplicate:c.has(s)}),c.add(s)}function pY(e,t){let r=e;for(let i=0;i<t.length-1;i++){let{key:a,index:o}=t[i];o===void 0?r=r[a]:r=r[a][o]}let{key:n,index:s}=t[t.length-1];return{parent:r,key:n,index:s}}function fY(e,t,r){let n=(t.plugins||[]).slice();r!==!1&&n.push("placeholders"),t=Object.assign({allowAwaitOutsideFunction:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowYieldOutsideFunction:!0,sourceType:"module"},t,{plugins:n});try{return(0,zX.parse)(e,t)}catch(s){let i=s.loc;throw i&&(s.message+=`
|
|
`+(0,QX.codeFrameColumns)(e,{start:i}),s.code="BABEL_TEMPLATE_PARSE_ERROR"),s}}});var ry=x(ty=>{"use strict";Object.defineProperty(ty,"__esModule",{value:!0});ty.default=bY;var dY=Fe(),{blockStatement:hY,cloneNode:ey,emptyStatement:mY,expressionStatement:Zm,identifier:qu,isStatement:tv,isStringLiteral:yY,stringLiteral:gY,validate:rv}=dY;function bY(e,t){let r=ey(e.ast);return t&&(e.placeholders.forEach(n=>{if(!hasOwnProperty.call(t,n.name)){let s=n.name;throw new Error(`Error: No substitution given for "${s}". If this is not meant to be a
|
|
placeholder you may want to consider passing one of the following options to @babel/template:
|
|
- { placeholderPattern: false, placeholderWhitelist: new Set(['${s}'])}
|
|
- { placeholderPattern: /^${s}$/ }`)}}),Object.keys(t).forEach(n=>{if(!e.placeholderNames.has(n))throw new Error(`Unknown substitution "${n}" given`)})),e.placeholders.slice().reverse().forEach(n=>{try{var s;EY(n,r,(s=t&&t[n.name])!=null?s:null)}catch(i){throw i.message=`@babel/template placeholder "${n.name}": ${i.message}`,i}}),r}function EY(e,t,r){e.isDuplicate&&(Array.isArray(r)?r=r.map(o=>ey(o)):typeof r=="object"&&(r=ey(r)));let{parent:n,key:s,index:i}=e.resolve(t);if(e.type==="string"){if(typeof r=="string"&&(r=gY(r)),!r||!yY(r))throw new Error("Expected string substitution")}else if(e.type==="statement")i===void 0?r?Array.isArray(r)?r=hY(r):typeof r=="string"?r=Zm(qu(r)):tv(r)||(r=Zm(r)):r=mY():r&&!Array.isArray(r)&&(typeof r=="string"&&(r=qu(r)),tv(r)||(r=Zm(r)));else if(e.type==="param"){if(typeof r=="string"&&(r=qu(r)),i===void 0)throw new Error("Assertion failure.")}else if(typeof r=="string"&&(r=qu(r)),Array.isArray(r))throw new Error("Cannot replace single expression with an array.");function a(o,l,u){let c=o[l];o[l]=u,(c.type==="Identifier"||c.type==="Placeholder")&&(c.typeAnnotation&&(u.typeAnnotation=c.typeAnnotation),c.optional&&(u.optional=c.optional),c.decorators&&(u.decorators=c.decorators))}if(i===void 0)rv(n,s,r),a(n,s,r);else{let o=n[s].slice();e.type==="statement"||e.type==="param"?r==null?o.splice(i,1):Array.isArray(r)?o.splice(i,1,...r):a(o,i,r):a(o,i,r),rv(n,s,o),n[s]=o}}});var nv=x(ny=>{"use strict";Object.defineProperty(ny,"__esModule",{value:!0});ny.default=vY;var TY=Au(),xY=Qm(),SY=ry();function vY(e,t,r){t=e.code(t);let n;return s=>{let i=(0,TY.normalizeReplacements)(s);return n||(n=(0,xY.default)(e,t,r)),e.unwrap((0,SY.default)(n,i))}}});var sv=x(sy=>{"use strict";Object.defineProperty(sy,"__esModule",{value:!0});sy.default=DY;var PY=Au(),AY=Qm(),CY=ry();function DY(e,t,r){let{metadata:n,names:s}=wY(e,t,r);return i=>{let a={};return i.forEach((o,l)=>{a[s[l]]=o}),o=>{let l=(0,PY.normalizeReplacements)(o);return l&&Object.keys(l).forEach(u=>{if(hasOwnProperty.call(a,u))throw new Error("Unexpected replacement overlap.")}),e.unwrap((0,CY.default)(n,l?Object.assign(l,a):a))}}}function wY(e,t,r){let n="BABEL_TPL$",s=t.join("");do n="$$"+n;while(s.includes(n));let{names:i,code:a}=IY(t,n);return{metadata:(0,AY.default)(e,e.code(a),{parser:r.parser,placeholderWhitelist:new Set(i.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders}),names:i}}function IY(e,t){let r=[],n=e[0];for(let s=1;s<e.length;s++){let i=`${t}${s-1}`;r.push(i),n+=i+e[s]}return{names:r,code:n}}});var cv=x(iy=>{"use strict";Object.defineProperty(iy,"__esModule",{value:!0});iy.default=uv;var Kn=Au(),iv=nv(),av=sv(),ov=(0,Kn.validate)({placeholderPattern:!1});function uv(e,t){let r=new WeakMap,n=new WeakMap,s=t||(0,Kn.validate)(null);return Object.assign((i,...a)=>{if(typeof i=="string"){if(a.length>1)throw new Error("Unexpected extra params.");return lv((0,iv.default)(e,i,(0,Kn.merge)(s,(0,Kn.validate)(a[0]))))}else if(Array.isArray(i)){let o=r.get(i);return o||(o=(0,av.default)(e,i,s),r.set(i,o)),lv(o(a))}else if(typeof i=="object"&&i){if(a.length>0)throw new Error("Unexpected extra params.");return uv(e,(0,Kn.merge)(s,(0,Kn.validate)(i)))}throw new Error(`Unexpected template param ${typeof i}`)},{ast:(i,...a)=>{if(typeof i=="string"){if(a.length>1)throw new Error("Unexpected extra params.");return(0,iv.default)(e,i,(0,Kn.merge)((0,Kn.merge)(s,(0,Kn.validate)(a[0])),ov))()}else if(Array.isArray(i)){let o=n.get(i);return o||(o=(0,av.default)(e,i,(0,Kn.merge)(s,ov)),n.set(i,o)),o(a)()}throw new Error(`Unexpected template param ${typeof i}`)}})}function lv(e){let t="";try{throw new Error}catch(r){r.stack&&(t=r.stack.split(`
|
|
`).slice(3).join(`
|
|
`))}return r=>{try{return e(r)}catch(n){throw n.stack+=`
|
|
=============
|
|
${t}`,n}}}});var $o=x(Hr=>{"use strict";Object.defineProperty(Hr,"__esModule",{value:!0});Hr.statements=Hr.statement=Hr.smart=Hr.program=Hr.expression=Hr.default=void 0;var Uo=cS(),Vo=cv(),ay=Hr.smart=(0,Vo.default)(Uo.smart),_Y=Hr.statement=(0,Vo.default)(Uo.statement),NY=Hr.statements=(0,Vo.default)(Uo.statements),OY=Hr.expression=(0,Vo.default)(Uo.expression),BY=Hr.program=(0,Vo.default)(Uo.program),jwe=Hr.default=Object.assign(ay.bind(void 0),{smart:ay,statement:_Y,statements:NY,expression:OY,program:BY,ast:ay.ast})});var pv=x(Uu=>{"use strict";Object.defineProperty(Uu,"__esModule",{value:!0});Uu.default=void 0;var kY=$o();function X(e,t,r){return Object.freeze({minVersion:e,ast:()=>kY.default.program.ast(t,{preserveComments:!0}),metadata:r})}var FY=Uu.default={__proto__:null,OverloadYield:X("7.18.14","function _OverloadYield(e,d){this.v=e,this.k=d}",{globals:[],locals:{_OverloadYield:["body.0.id"]},exportBindingAssignments:[],exportName:"_OverloadYield",dependencies:{},internal:!1}),applyDecoratedDescriptor:X("7.0.0-beta.0",'function _applyDecoratedDescriptor(i,e,r,n,l){var a={};return Object.keys(n).forEach((function(i){a[i]=n[i]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce((function(r,n){return n(i,e,r)||r}),a),l&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(l):void 0,a.initializer=void 0),void 0===a.initializer?(Object.defineProperty(i,e,a),null):a}',{globals:["Object"],locals:{_applyDecoratedDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_applyDecoratedDescriptor",dependencies:{},internal:!1}),applyDecs2311:X("7.24.0",'function applyDecs2311(e,t,n,r,o,i){var a,c,u,s,f,l,p,d=Symbol.metadata||Symbol.for("Symbol.metadata"),m=Object.defineProperty,h=Object.create,y=[h(null),h(null)],v=t.length;function g(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function b(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function applyDec(e,t,n,r,o,i,u,s,f,l,p){function d(e){if(!p(e))throw new TypeError("Attempted to access private element on non-instance")}var h=[].concat(t[0]),v=t[3],w=!u,D=1===o,S=3===o,j=4===o,E=2===o;function I(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),P[t].call(o,i)}}if(!w){var P={},k=[],F=S?"get":j||D?"set":"value";if(f?(l||D?P={get:setFunctionName((function(){return v(this)}),r,"get"),set:function(e){t[4](this,e)}}:P[F]=v,l||setFunctionName(P[F],r,E?"":F)):l||(P=Object.getOwnPropertyDescriptor(e,r)),!l&&!f){if((c=y[+s][r])&&7!=(c^o))throw Error("Decorating two elements with the same name ("+P[F].name+") is not supported yet");y[+s][r]=o<3?1:o}}for(var N=e,O=h.length-1;O>=0;O-=n?2:1){var T=b(h[O],"A decorator","be",!0),z=n?h[O-1]:void 0,A={},H={kind:["field","accessor","method","getter","setter","class"][o],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw new TypeError("attempted to call addInitializer after decoration was finished");b(t,"An initializer","be",!0),i.push(t)}.bind(null,A)};if(w)c=T.call(z,N,H),A.v=1,b(c,"class decorators","return")&&(N=c);else if(H.static=s,H.private=f,c=H.access={has:f?p.bind():function(e){return r in e}},j||(c.get=f?E?function(e){return d(e),P.value}:I("get",0,d):function(e){return e[r]}),E||S||(c.set=f?I("set",0,d):function(e,t){e[r]=t}),N=T.call(z,D?{get:P.get,set:P.set}:P[F],H),A.v=1,D){if("object"==typeof N&&N)(c=b(N.get,"accessor.get"))&&(P.get=c),(c=b(N.set,"accessor.set"))&&(P.set=c),(c=b(N.init,"accessor.init"))&&k.unshift(c);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else b(N,(l?"field":"method")+" decorators","return")&&(l?k.unshift(N):P[F]=N)}return o<2&&u.push(g(k,s,1),g(i,s,0)),l||w||(f?D?u.splice(-1,0,I("get",s),I("set",s)):u.push(E?P[F]:b.call.bind(P[F])):m(e,r,P)),N}function w(e){return m(e,d,{configurable:!0,enumerable:!0,value:a})}return void 0!==i&&(a=i[d]),a=h(null==a?null:a),f=[],l=function(e){e&&f.push(g(e))},p=function(t,r){for(var i=0;i<n.length;i++){var a=n[i],c=a[1],l=7&c;if((8&c)==t&&!l==r){var p=a[2],d=!!a[3],m=16&c;applyDec(t?e:e.prototype,a,m,d?"#"+p:toPropertyKey(p),l,l<2?[]:t?s=s||[]:u=u||[],f,!!t,d,r,t&&d?function(t){return checkInRHS(t)===e}:o)}}},p(8,0),p(0,0),p(8,1),p(0,1),l(u),l(s),c=f,v||w(e),{e:c,get c(){var n=[];return v&&[w(e=applyDec(e,[t],r,e.name,5,n)),g(n,1)]}}}',{globals:["Symbol","Object","TypeError","Error"],locals:{applyDecs2311:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2311",dependencies:{checkInRHS:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.10.consequent.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.3.alternate.callee"]},internal:!1}),arrayLikeToArray:X("7.9.0","function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}",{globals:["Array"],locals:{_arrayLikeToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayLikeToArray",dependencies:{},internal:!1}),arrayWithHoles:X("7.0.0-beta.0","function _arrayWithHoles(r){if(Array.isArray(r))return r}",{globals:["Array"],locals:{_arrayWithHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithHoles",dependencies:{},internal:!1}),arrayWithoutHoles:X("7.0.0-beta.0","function _arrayWithoutHoles(r){if(Array.isArray(r))return arrayLikeToArray(r)}",{globals:["Array"],locals:{_arrayWithoutHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithoutHoles",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.argument.callee"]},internal:!1}),assertClassBrand:X("7.24.0",'function _assertClassBrand(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}',{globals:["TypeError"],locals:{_assertClassBrand:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertClassBrand",dependencies:{},internal:!1}),assertThisInitialized:X("7.0.0-beta.0",`function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}`,{globals:["ReferenceError"],locals:{_assertThisInitialized:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertThisInitialized",dependencies:{},internal:!1}),asyncGeneratorDelegate:X("7.0.0-beta.0",'function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise((function(n){n(t[e](r))})),{done:!1,value:new OverloadYield(r,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return n?(n=!1,t):pump("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(n)throw n=!1,t;return pump("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return n?(n=!1,t):pump("return",t)}),e}',{globals:["Promise","Symbol"],locals:{_asyncGeneratorDelegate:["body.0.id"]},exportBindingAssignments:[],exportName:"_asyncGeneratorDelegate",dependencies:{OverloadYield:["body.0.body.body.1.body.body.0.argument.expressions.2.properties.1.value.callee"]},internal:!1}),asyncIterator:X("7.15.9",'function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then((function(r){return{value:r,done:n}}))}return AsyncFromSyncIterator=function(r){this.s=r,this.n=r.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function(r){var n=this.s.return;return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))},throw:function(r){var n=this.s.return;return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))}},new AsyncFromSyncIterator(r)}',{globals:["Symbol","TypeError","Object","Promise"],locals:{_asyncIterator:["body.0.id"],AsyncFromSyncIterator:["body.1.id","body.0.body.body.1.body.body.1.consequent.argument.callee","body.1.body.body.1.argument.expressions.1.left.object","body.1.body.body.1.argument.expressions.2.callee","body.1.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:[],exportName:"_asyncIterator",dependencies:{},internal:!1}),asyncToGenerator:X("7.0.0-beta.0",'function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise((function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)}))}}',{globals:["Promise"],locals:{asyncGeneratorStep:["body.0.id","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.1.body.body.0.expression.callee","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.2.body.body.0.expression.callee"],_asyncToGenerator:["body.1.id"]},exportBindingAssignments:[],exportName:"_asyncToGenerator",dependencies:{},internal:!1}),awaitAsyncGenerator:X("7.0.0-beta.0","function _awaitAsyncGenerator(e){return new OverloadYield(e,0)}",{globals:[],locals:{_awaitAsyncGenerator:["body.0.id"]},exportBindingAssignments:[],exportName:"_awaitAsyncGenerator",dependencies:{OverloadYield:["body.0.body.body.0.argument.callee"]},internal:!1}),callSuper:X("7.23.8","function _callSuper(t,o,e){return o=getPrototypeOf(o),possibleConstructorReturn(t,isNativeReflectConstruct()?Reflect.construct(o,e||[],getPrototypeOf(t).constructor):o.apply(t,e))}",{globals:["Reflect"],locals:{_callSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_callSuper",dependencies:{getPrototypeOf:["body.0.body.body.0.argument.expressions.0.right.callee","body.0.body.body.0.argument.expressions.1.arguments.1.consequent.arguments.2.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.argument.expressions.1.arguments.1.test.callee"],possibleConstructorReturn:["body.0.body.body.0.argument.expressions.1.callee"]},internal:!1}),checkInRHS:X("7.20.5",`function _checkInRHS(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?typeof e:"null"));return e}`,{globals:["Object","TypeError"],locals:{_checkInRHS:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkInRHS",dependencies:{},internal:!1}),checkPrivateRedeclaration:X("7.14.1",'function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}',{globals:["TypeError"],locals:{_checkPrivateRedeclaration:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkPrivateRedeclaration",dependencies:{},internal:!1}),classCallCheck:X("7.0.0-beta.0",'function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}',{globals:["TypeError"],locals:{_classCallCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCallCheck",dependencies:{},internal:!1}),classNameTDZError:X("7.0.0-beta.0",`function _classNameTDZError(e){throw new ReferenceError('Class "'+e+'" cannot be referenced in computed property keys.')}`,{globals:["ReferenceError"],locals:{_classNameTDZError:["body.0.id"]},exportBindingAssignments:[],exportName:"_classNameTDZError",dependencies:{},internal:!1}),classPrivateFieldGet2:X("7.24.0","function _classPrivateFieldGet2(s,a){return s.get(assertClassBrand(s,a))}",{globals:[],locals:{_classPrivateFieldGet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]},internal:!1}),classPrivateFieldInitSpec:X("7.14.1","function _classPrivateFieldInitSpec(e,t,a){checkPrivateRedeclaration(e,t),t.set(e,a)}",{globals:[],locals:{_classPrivateFieldInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]},internal:!1}),classPrivateFieldLooseBase:X("7.0.0-beta.0",'function _classPrivateFieldBase(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}',{globals:["TypeError"],locals:{_classPrivateFieldBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldBase",dependencies:{},internal:!1}),classPrivateFieldLooseKey:X("7.0.0-beta.0",'var id=0;function _classPrivateFieldKey(e){return"__private_"+id+++"_"+e}',{globals:[],locals:{id:["body.0.declarations.0.id","body.1.body.body.0.argument.left.left.right.argument","body.1.body.body.0.argument.left.left.right.argument"],_classPrivateFieldKey:["body.1.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldKey",dependencies:{},internal:!1}),classPrivateFieldSet2:X("7.24.0","function _classPrivateFieldSet2(s,a,r){return s.set(assertClassBrand(s,a),r),r}",{globals:[],locals:{_classPrivateFieldSet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]},internal:!1}),classPrivateGetter:X("7.24.0","function _classPrivateGetter(s,r,a){return a(assertClassBrand(s,r))}",{globals:[],locals:{_classPrivateGetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateGetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]},internal:!1}),classPrivateMethodInitSpec:X("7.14.1","function _classPrivateMethodInitSpec(e,a){checkPrivateRedeclaration(e,a),a.add(e)}",{globals:[],locals:{_classPrivateMethodInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]},internal:!1}),classPrivateSetter:X("7.24.0","function _classPrivateSetter(s,r,a,t){return r(assertClassBrand(s,a),t),t}",{globals:[],locals:{_classPrivateSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateSetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]},internal:!1}),classStaticPrivateMethodGet:X("7.3.2","function _classStaticPrivateMethodGet(s,a,t){return assertClassBrand(a,s),t}",{globals:[],locals:{_classStaticPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]},internal:!1}),construct:X("7.0.0-beta.0","function _construct(t,e,r){if(isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o));return r&&setPrototypeOf(p,r.prototype),p}",{globals:["Reflect"],locals:{_construct:["body.0.id"]},exportBindingAssignments:[],exportName:"_construct",dependencies:{isNativeReflectConstruct:["body.0.body.body.0.test.callee"],setPrototypeOf:["body.0.body.body.4.argument.expressions.0.right.callee"]},internal:!1}),createClass:X("7.0.0-beta.0",'function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,toPropertyKey(o.key),o)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}',{globals:["Object"],locals:{_defineProperties:["body.0.id","body.1.body.body.0.argument.expressions.0.right.callee","body.1.body.body.0.argument.expressions.1.right.callee"],_createClass:["body.1.id"]},exportBindingAssignments:[],exportName:"_createClass",dependencies:{toPropertyKey:["body.0.body.body.0.body.body.1.expression.expressions.3.arguments.1.callee"]},internal:!1}),createForOfIteratorHelper:X("7.9.0",'function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var n=0,F=function(){};return{s:F,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(r)},n:function(){var r=t.next();return a=r.done,r},e:function(r){u=!0,o=r},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelper",dependencies:{unsupportedIterableToArray:["body.0.body.body.1.consequent.body.0.test.left.right.right.callee"]},internal:!1}),createForOfIteratorHelperLoose:X("7.9.0",'function _createForOfIteratorHelperLoose(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(t)return(t=t.call(r)).next.bind(t);if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var o=0;return function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelperLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelperLoose",dependencies:{unsupportedIterableToArray:["body.0.body.body.2.test.left.right.right.callee"]},internal:!1}),createSuper:X("7.9.0","function _createSuper(t){var r=isNativeReflectConstruct();return function(){var e,o=getPrototypeOf(t);if(r){var s=getPrototypeOf(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return possibleConstructorReturn(this,e)}}",{globals:["Reflect"],locals:{_createSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.body.body.0.declarations.1.init.callee","body.0.body.body.1.argument.body.body.1.consequent.body.0.declarations.0.init.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.declarations.0.init.callee"],possibleConstructorReturn:["body.0.body.body.1.argument.body.body.2.argument.callee"]},internal:!1}),decorate:X("7.1.5",`function _decorate(e,r,t,i){var o=_getDecoratorsApi();if(i)for(var n=0;n<i.length;n++)o=i[n](o);var s=r((function(e){o.initializeInstanceElements(e,a.elements)}),t),a=o.decorateClass(_coalesceClassElements(s.d.map(_createElementDescriptor)),e);return o.initializeClassElements(s.F,a.elements),o.runClassFinishers(s.F,a.finishers)}function _getDecoratorsApi(){_getDecoratorsApi=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var o=r.placement;if(r.kind===i&&("static"===o||"prototype"===o)){var n="static"===o?e:t;this.defineClassElement(n,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],o={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,o)}),this),e.forEach((function(e){if(!_hasDecorators(e))return t.push(e);var r=this.decorateElement(e,o);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var n=this.decorateConstructor(t,r);return i.push.apply(i,n.finishers),n.finishers=i,n},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],o=e.decorators,n=o.length-1;n>=0;n--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,o[n])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var p=0;p<c.length;p++)this.addElementPlacement(c[p],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var o=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,r[i])(o)||o);if(void 0!==n.finisher&&t.push(n.finisher),void 0!==n.elements){e=n.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){if(void 0!==e)return toArray(e).map((function(e){var r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this)},toElementDescriptor:function(e){var r=e.kind+"";if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=toPropertyKey(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var o=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:r,key:t,placement:i,descriptor:Object.assign({},o)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(o,"get","The property descriptor of a field descriptor"),this.disallowProperty(o,"set","The property descriptor of a field descriptor"),this.disallowProperty(o,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:_optionalCallableProperty(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=e.kind+"";if("class"!==r)throw new TypeError('A class descriptor\\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var t=_optionalCallableProperty(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}};return e}function _createElementDescriptor(e){var r,t=toPropertyKey(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function _coalesceGetterSetter(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function _coalesceClassElements(e){for(var r=[],isSameElement=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},t=0;t<e.length;t++){var i,o=e[t];if("method"===o.kind&&(i=r.find(isSameElement)))if(_isDataDescriptor(o.descriptor)||_isDataDescriptor(i.descriptor)){if(_hasDecorators(o)||_hasDecorators(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(_hasDecorators(o)){if(_hasDecorators(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}_coalesceGetterSetter(o,i)}else r.push(o)}return r}function _hasDecorators(e){return e.decorators&&e.decorators.length}function _isDataDescriptor(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function _optionalCallableProperty(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}`,{globals:["Object","TypeError","Symbol","ReferenceError"],locals:{_decorate:["body.0.id"],_getDecoratorsApi:["body.1.id","body.0.body.body.0.declarations.0.init.callee","body.1.body.body.0.expression.left"],_createElementDescriptor:["body.2.id","body.0.body.body.2.declarations.1.init.arguments.0.arguments.0.arguments.0"],_coalesceGetterSetter:["body.3.id","body.4.body.body.0.body.body.1.consequent.alternate.body.1.expression.callee"],_coalesceClassElements:["body.4.id","body.0.body.body.2.declarations.1.init.arguments.0.callee"],_hasDecorators:["body.5.id","body.1.body.body.1.declarations.0.init.properties.4.value.body.body.1.test.expressions.1.arguments.0.body.body.0.test.argument.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.left.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.right.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.test.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.consequent.body.0.test.callee"],_isDataDescriptor:["body.6.id","body.4.body.body.0.body.body.1.consequent.test.left.callee","body.4.body.body.0.body.body.1.consequent.test.right.callee"],_optionalCallableProperty:["body.7.id","body.1.body.body.1.declarations.0.init.properties.11.value.body.body.0.argument.properties.1.value.callee","body.1.body.body.1.declarations.0.init.properties.13.value.body.body.3.declarations.0.init.callee"]},exportBindingAssignments:[],exportName:"_decorate",dependencies:{toArray:["body.1.body.body.1.declarations.0.init.properties.9.value.body.body.0.consequent.argument.callee.object.callee"],toPropertyKey:["body.1.body.body.1.declarations.0.init.properties.10.value.body.body.2.declarations.0.init.callee","body.2.body.body.0.declarations.1.init.callee"]},internal:!1}),defaults:X("7.0.0-beta.0","function _defaults(e,r){for(var t=Object.getOwnPropertyNames(r),o=0;o<t.length;o++){var n=t[o],a=Object.getOwnPropertyDescriptor(r,n);a&&a.configurable&&void 0===e[n]&&Object.defineProperty(e,n,a)}return e}",{globals:["Object"],locals:{_defaults:["body.0.id"]},exportBindingAssignments:[],exportName:"_defaults",dependencies:{},internal:!1}),defineAccessor:X("7.20.7","function _defineAccessor(e,r,n,t){var c={configurable:!0,enumerable:!0};return c[e]=t,Object.defineProperty(r,n,c)}",{globals:["Object"],locals:{_defineAccessor:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineAccessor",dependencies:{},internal:!1}),defineProperty:X("7.0.0-beta.0","function _defineProperty(e,r,t){return(r=toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}",{globals:["Object"],locals:{_defineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineProperty",dependencies:{toPropertyKey:["body.0.body.body.0.argument.expressions.0.test.left.right.callee"]},internal:!1}),extends:X("7.0.0-beta.0","function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}",{globals:["Object"],locals:{_extends:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_extends",dependencies:{},internal:!1}),get:X("7.0.0-beta.0",'function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},_get.apply(null,arguments)}',{globals:["Reflect","Object"],locals:{_get:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_get",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.0.init.callee"]},internal:!1}),getPrototypeOf:X("7.0.0-beta.0","function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}",{globals:["Object"],locals:{_getPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_getPrototypeOf",dependencies:{},internal:!1}),identity:X("7.17.0","function _identity(t){return t}",{globals:[],locals:{_identity:["body.0.id"]},exportBindingAssignments:[],exportName:"_identity",dependencies:{},internal:!1}),importDeferProxy:X("7.23.0","function _importDeferProxy(e){var t=null,constValue=function(e){return function(){return e}},proxy=function(r){return function(n,o,f){return null===t&&(t=e()),r(t,o,f)}};return new Proxy({},{defineProperty:constValue(!1),deleteProperty:constValue(!1),get:proxy(Reflect.get),getOwnPropertyDescriptor:proxy(Reflect.getOwnPropertyDescriptor),getPrototypeOf:constValue(null),isExtensible:constValue(!1),has:proxy(Reflect.has),ownKeys:proxy(Reflect.ownKeys),preventExtensions:constValue(!0),set:constValue(!1),setPrototypeOf:constValue(!1)})}",{globals:["Proxy","Reflect"],locals:{_importDeferProxy:["body.0.id"]},exportBindingAssignments:[],exportName:"_importDeferProxy",dependencies:{},internal:!1}),inherits:X("7.0.0-beta.0",'function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&setPrototypeOf(t,e)}',{globals:["TypeError","Object"],locals:{_inherits:["body.0.id"]},exportBindingAssignments:[],exportName:"_inherits",dependencies:{setPrototypeOf:["body.0.body.body.1.expression.expressions.2.right.callee"]},internal:!1}),inheritsLoose:X("7.0.0-beta.0","function _inheritsLoose(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,setPrototypeOf(t,o)}",{globals:["Object"],locals:{_inheritsLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_inheritsLoose",dependencies:{setPrototypeOf:["body.0.body.body.0.expression.expressions.2.callee"]},internal:!1}),initializerDefineProperty:X("7.0.0-beta.0","function _initializerDefineProperty(e,i,r,l){r&&Object.defineProperty(e,i,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(l):void 0})}",{globals:["Object"],locals:{_initializerDefineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerDefineProperty",dependencies:{},internal:!1}),initializerWarningHelper:X("7.0.0-beta.0",'function _initializerWarningHelper(r,e){throw Error("Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.")}',{globals:["Error"],locals:{_initializerWarningHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerWarningHelper",dependencies:{},internal:!1}),instanceof:X("7.0.0-beta.0",'function _instanceof(n,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](n):n instanceof e}',{globals:["Symbol"],locals:{_instanceof:["body.0.id"]},exportBindingAssignments:[],exportName:"_instanceof",dependencies:{},internal:!1}),interopRequireDefault:X("7.0.0-beta.0","function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}",{globals:[],locals:{_interopRequireDefault:["body.0.id"]},exportBindingAssignments:[],exportName:"_interopRequireDefault",dependencies:{},internal:!1}),interopRequireWildcard:X("7.14.0",'function _interopRequireWildcard(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(_interopRequireWildcard=function(e,t){if(!t&&e&&e.__esModule)return e;var o,i,f={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return f;if(o=t?n:r){if(o.has(e))return o.get(e);o.set(e,f)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?o(f,t,i):f[t]=e[t]);return f})(e,t)}',{globals:["WeakMap","Object"],locals:{_interopRequireWildcard:["body.0.id","body.0.body.body.1.argument.callee.left"]},exportBindingAssignments:["body.0.body.body.1.argument.callee"],exportName:"_interopRequireWildcard",dependencies:{},internal:!1}),isNativeFunction:X("7.0.0-beta.0",'function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(n){return"function"==typeof t}}',{globals:["Function"],locals:{_isNativeFunction:["body.0.id"]},exportBindingAssignments:[],exportName:"_isNativeFunction",dependencies:{},internal:!1}),isNativeReflectConstruct:X("7.9.0","function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function(){return!!t})()}",{globals:["Boolean","Reflect"],locals:{_isNativeReflectConstruct:["body.0.id","body.0.body.body.1.argument.callee.left"]},exportBindingAssignments:["body.0.body.body.1.argument.callee"],exportName:"_isNativeReflectConstruct",dependencies:{},internal:!1}),iterableToArray:X("7.0.0-beta.0",'function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}',{globals:["Symbol","Array"],locals:{_iterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArray",dependencies:{},internal:!1}),iterableToArrayLimit:X("7.0.0-beta.0",'function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}',{globals:["Symbol","Object"],locals:{_iterableToArrayLimit:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArrayLimit",dependencies:{},internal:!1}),jsx:X("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;function _createRawReactElement(e,r,E,l){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,n=arguments.length-3;if(r||0===n||(r={children:void 0}),1===n)r.children=l;else if(n>1){for(var t=Array(n),f=0;f<n;f++)t[f]=arguments[f+3];r.children=t}if(r&&o)for(var i in o)void 0===r[i]&&(r[i]=o[i]);else r||(r=o||{});return{$$typeof:REACT_ELEMENT_TYPE,type:e,key:void 0===E?null:""+E,ref:null,props:r,_owner:null}}',{globals:["Symbol","Array"],locals:{REACT_ELEMENT_TYPE:["body.0.declarations.0.id","body.1.body.body.0.expression.left","body.1.body.body.4.argument.properties.0.value","body.1.body.body.0.expression.right.left"],_createRawReactElement:["body.1.id"]},exportBindingAssignments:[],exportName:"_createRawReactElement",dependencies:{},internal:!1}),maybeArrayLike:X("7.9.0",'function _maybeArrayLike(r,a,e){if(a&&!Array.isArray(a)&&"number"==typeof a.length){var y=a.length;return arrayLikeToArray(a,void 0!==e&&e<y?e:y)}return r(a,e)}',{globals:["Array"],locals:{_maybeArrayLike:["body.0.id"]},exportBindingAssignments:[],exportName:"_maybeArrayLike",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.1.argument.callee"]},internal:!1}),newArrowCheck:X("7.0.0-beta.0",'function _newArrowCheck(n,r){if(n!==r)throw new TypeError("Cannot instantiate an arrow function")}',{globals:["TypeError"],locals:{_newArrowCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_newArrowCheck",dependencies:{},internal:!1}),nonIterableRest:X("7.0.0-beta.0",'function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableRest:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableRest",dependencies:{},internal:!1}),nonIterableSpread:X("7.0.0-beta.0",'function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableSpread",dependencies:{},internal:!1}),nullishReceiverError:X("7.22.6",'function _nullishReceiverError(r){throw new TypeError("Cannot set property of null or undefined.")}',{globals:["TypeError"],locals:{_nullishReceiverError:["body.0.id"]},exportBindingAssignments:[],exportName:"_nullishReceiverError",dependencies:{},internal:!1}),objectDestructuringEmpty:X("7.0.0-beta.0",'function _objectDestructuringEmpty(t){if(null==t)throw new TypeError("Cannot destructure "+t)}',{globals:["TypeError"],locals:{_objectDestructuringEmpty:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectDestructuringEmpty",dependencies:{},internal:!1}),objectSpread2:X("7.5.0","function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){defineProperty(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}",{globals:["Object"],locals:{ownKeys:["body.0.id","body.1.body.body.0.body.body.1.expression.consequent.callee.object.callee","body.1.body.body.0.body.body.1.expression.alternate.alternate.callee.object.callee"],_objectSpread2:["body.1.id"]},exportBindingAssignments:[],exportName:"_objectSpread2",dependencies:{defineProperty:["body.1.body.body.0.body.body.1.expression.consequent.arguments.0.body.body.0.expression.callee"]},internal:!1}),objectWithoutProperties:X("7.0.0-beta.0","function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,i=objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)o=n[r],-1===t.indexOf(o)&&{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}",{globals:["Object"],locals:{_objectWithoutProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutProperties",dependencies:{objectWithoutPropertiesLoose:["body.0.body.body.1.declarations.2.init.callee"]},internal:!1}),objectWithoutPropertiesLoose:X("7.0.0-beta.0","function _objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(-1!==e.indexOf(n))continue;t[n]=r[n]}return t}",{globals:[],locals:{_objectWithoutPropertiesLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutPropertiesLoose",dependencies:{},internal:!1}),possibleConstructorReturn:X("7.0.0-beta.0",'function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return assertThisInitialized(t)}',{globals:["TypeError"],locals:{_possibleConstructorReturn:["body.0.id"]},exportBindingAssignments:[],exportName:"_possibleConstructorReturn",dependencies:{assertThisInitialized:["body.0.body.body.2.argument.callee"]},internal:!1}),readOnlyError:X("7.0.0-beta.0",`function _readOnlyError(r){throw new TypeError('"'+r+'" is read-only')}`,{globals:["TypeError"],locals:{_readOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_readOnlyError",dependencies:{},internal:!1}),regenerator:X("7.27.0",`function _regenerator(){
|
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return define(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,r){return i=t,c=0,u=e,G.n=r,a}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0))}if(o||r>1)return a;throw y=!0,n}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break}catch(t){i=e,c=1,u=t}finally{f=1}}return{value:t,done:y}}}(r,o,i),!0),u}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(define(t={},n,(function(){return this})),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,define(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,define(u,"constructor",GeneratorFunctionPrototype),define(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",define(GeneratorFunctionPrototype,o,"GeneratorFunction"),define(u),define(u,o,"Generator"),define(u,n,(function(){return this})),define(u,"toString",(function(){return"[object Generator]"})),(_regenerator=function(){return{w:i,m:f}})()}`,{globals:["Symbol","Object","TypeError"],locals:{_regenerator:["body.0.id","body.0.body.body.9.argument.expressions.9.callee.left"]},exportBindingAssignments:["body.0.body.body.9.argument.expressions.9.callee"],exportName:"_regenerator",dependencies:{regeneratorDefine:["body.0.body.body.1.body.body.1.argument.expressions.0.callee","body.0.body.body.7.declarations.0.init.alternate.expressions.0.callee","body.0.body.body.8.body.body.0.argument.expressions.0.alternate.expressions.1.callee","body.0.body.body.9.argument.expressions.1.callee","body.0.body.body.9.argument.expressions.2.callee","body.0.body.body.9.argument.expressions.4.callee","body.0.body.body.9.argument.expressions.5.callee","body.0.body.body.9.argument.expressions.6.callee","body.0.body.body.9.argument.expressions.7.callee","body.0.body.body.9.argument.expressions.8.callee"]},internal:!1}),regeneratorAsync:X("7.27.0","function _regeneratorAsync(n,e,r,t,o){var a=asyncGen(n,e,r,t,o);return a.next().then((function(n){return n.done?n.value:a.next()}))}",{globals:[],locals:{_regeneratorAsync:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorAsync",dependencies:{regeneratorAsyncGen:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),regeneratorAsyncGen:X("7.27.0","function _regeneratorAsyncGen(r,e,t,o,n){return new regeneratorAsyncIterator(regenerator().w(r,e,t,o),n||Promise)}",{globals:["Promise"],locals:{_regeneratorAsyncGen:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorAsyncGen",dependencies:{regenerator:["body.0.body.body.0.argument.arguments.0.callee.object.callee"],regeneratorAsyncIterator:["body.0.body.body.0.argument.callee"]},internal:!1}),regeneratorAsyncIterator:X("7.27.0",'function AsyncIterator(t,e){function n(r,o,i,f){try{var c=t[r](o),u=c.value;return u instanceof OverloadYield?e.resolve(u.v).then((function(t){n("next",t,i,f)}),(function(t){n("throw",t,i,f)})):e.resolve(u).then((function(t){c.value=t,i(c)}),(function(t){return n("throw",t,i,f)}))}catch(t){f(t)}}var r;this.next||(define(AsyncIterator.prototype),define(AsyncIterator.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),define(this,"_invoke",(function(t,o,i){function f(){return new e((function(e,r){n(t,i,e,r)}))}return r=r?r.then(f,f):f()}),!0)}',{globals:["Symbol"],locals:{AsyncIterator:["body.0.id","body.0.body.body.2.expression.expressions.0.right.expressions.0.arguments.0.object","body.0.body.body.2.expression.expressions.0.right.expressions.1.arguments.0.object"]},exportBindingAssignments:[],exportName:"AsyncIterator",dependencies:{OverloadYield:["body.0.body.body.0.body.body.0.block.body.1.argument.test.right"],regeneratorDefine:["body.0.body.body.2.expression.expressions.0.right.expressions.0.callee","body.0.body.body.2.expression.expressions.0.right.expressions.1.callee","body.0.body.body.2.expression.expressions.1.callee"]},internal:!0}),regeneratorDefine:X("7.27.0",'function regeneratorDefine(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}regeneratorDefine=function(e,r,n,t){function o(r,n){regeneratorDefine(e,r,(function(e){return this._invoke(r,n,e)}))}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2))},regeneratorDefine(e,r,n,t)}',{globals:["Object"],locals:{regeneratorDefine:["body.0.id","body.0.body.body.2.expression.expressions.0.right.body.body.0.body.body.0.expression.callee","body.0.body.body.2.expression.expressions.1.callee","body.0.body.body.2.expression.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.2.expression.expressions.0"],exportName:"regeneratorDefine",dependencies:{},internal:!0}),regeneratorKeys:X("7.27.0","function _regeneratorKeys(e){var n=Object(e),r=[];for(var t in n)r.unshift(t);return function e(){for(;r.length;)if((t=r.pop())in n)return e.value=t,e.done=!1,e;return e.done=!0,e}}",{globals:["Object"],locals:{_regeneratorKeys:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorKeys",dependencies:{},internal:!1}),regeneratorValues:X("7.18.0",'function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}throw new TypeError(typeof e+" is not iterable")}',{globals:["Symbol","isNaN","TypeError"],locals:{_regeneratorValues:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorValues",dependencies:{},internal:!1}),set:X("7.0.0-beta.0",'function set(e,r,t,o){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,r,t,o){var f,i=superPropBase(e,r);if(i){if((f=Object.getOwnPropertyDescriptor(i,r)).set)return f.set.call(o,t),!0;if(!f.writable)return!1}if(f=Object.getOwnPropertyDescriptor(o,r)){if(!f.writable)return!1;f.value=t,Object.defineProperty(o,r,f)}else defineProperty(o,r,t);return!0},set(e,r,t,o)}function _set(e,r,t,o,f){if(!set(e,r,t,o||e)&&f)throw new TypeError("failed to set property");return t}',{globals:["Reflect","Object","TypeError"],locals:{set:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.0.test.left.argument.callee","body.0.body.body.0.argument.expressions.0.left"],_set:["body.1.id"]},exportBindingAssignments:[],exportName:"_set",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.1.init.callee"],defineProperty:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.2.alternate.expression.callee"]},internal:!1}),setFunctionName:X("7.23.6",'function setFunctionName(e,t,n){"symbol"==typeof t&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}',{globals:["Object"],locals:{setFunctionName:["body.0.id"]},exportBindingAssignments:[],exportName:"setFunctionName",dependencies:{},internal:!1}),setPrototypeOf:X("7.0.0-beta.0","function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}",{globals:["Object"],locals:{_setPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_setPrototypeOf",dependencies:{},internal:!1}),skipFirstGeneratorNext:X("7.0.0-beta.0","function _skipFirstGeneratorNext(t){return function(){var r=t.apply(this,arguments);return r.next(),r}}",{globals:[],locals:{_skipFirstGeneratorNext:["body.0.id"]},exportBindingAssignments:[],exportName:"_skipFirstGeneratorNext",dependencies:{},internal:!1}),slicedToArray:X("7.0.0-beta.0","function _slicedToArray(r,e){return arrayWithHoles(r)||iterableToArrayLimit(r,e)||unsupportedIterableToArray(r,e)||nonIterableRest()}",{globals:[],locals:{_slicedToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_slicedToArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArrayLimit:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]},internal:!1}),superPropBase:X("7.0.0-beta.0","function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=getPrototypeOf(t)););return t}",{globals:[],locals:{_superPropBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropBase",dependencies:{getPrototypeOf:["body.0.body.body.0.test.right.right.right.callee"]},internal:!1}),superPropGet:X("7.25.0",'function _superPropGet(t,o,e,r){var p=get(getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t)}:p}',{globals:[],locals:{_superPropGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropGet",dependencies:{get:["body.0.body.body.0.declarations.0.init.callee"],getPrototypeOf:["body.0.body.body.0.declarations.0.init.arguments.0.callee"]},internal:!1}),superPropSet:X("7.25.0","function _superPropSet(t,e,o,r,p,f){return set(getPrototypeOf(f?t.prototype:t),e,o,r,p)}",{globals:[],locals:{_superPropSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropSet",dependencies:{set:["body.0.body.body.0.argument.callee"],getPrototypeOf:["body.0.body.body.0.argument.arguments.0.callee"]},internal:!1}),taggedTemplateLiteral:X("7.0.0-beta.0","function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}",{globals:["Object"],locals:{_taggedTemplateLiteral:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteral",dependencies:{},internal:!1}),taggedTemplateLiteralLoose:X("7.0.0-beta.0","function _taggedTemplateLiteralLoose(e,t){return t||(t=e.slice(0)),e.raw=t,e}",{globals:[],locals:{_taggedTemplateLiteralLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteralLoose",dependencies:{},internal:!1}),tdz:X("7.5.5",'function _tdzError(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}',{globals:["ReferenceError"],locals:{_tdzError:["body.0.id"]},exportBindingAssignments:[],exportName:"_tdzError",dependencies:{},internal:!1}),temporalRef:X("7.0.0-beta.0","function _temporalRef(r,e){return r===undef?err(e):r}",{globals:[],locals:{_temporalRef:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalRef",dependencies:{temporalUndefined:["body.0.body.body.0.argument.test.right"],tdz:["body.0.body.body.0.argument.consequent.callee"]},internal:!1}),temporalUndefined:X("7.0.0-beta.0","function _temporalUndefined(){}",{globals:[],locals:{_temporalUndefined:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalUndefined",dependencies:{},internal:!1}),toArray:X("7.0.0-beta.0","function _toArray(r){return arrayWithHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableRest()}",{globals:[],locals:{_toArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]},internal:!1}),toConsumableArray:X("7.0.0-beta.0","function _toConsumableArray(r){return arrayWithoutHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableSpread()}",{globals:[],locals:{_toConsumableArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toConsumableArray",dependencies:{arrayWithoutHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableSpread:["body.0.body.body.0.argument.right.callee"]},internal:!1}),toPrimitive:X("7.1.5",'function toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}',{globals:["Symbol","TypeError","String","Number"],locals:{toPrimitive:["body.0.id"]},exportBindingAssignments:[],exportName:"toPrimitive",dependencies:{},internal:!1}),toPropertyKey:X("7.1.5",'function toPropertyKey(t){var i=toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}',{globals:[],locals:{toPropertyKey:["body.0.id"]},exportBindingAssignments:[],exportName:"toPropertyKey",dependencies:{toPrimitive:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),toSetter:X("7.24.0",'function _toSetter(t,e,n){e||(e=[]);var r=e.length++;return Object.defineProperty({},"_",{set:function(o){e[r]=o,t.apply(n,e)}})}',{globals:["Object"],locals:{_toSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_toSetter",dependencies:{},internal:!1}),tsRewriteRelativeImportExtensions:X("7.27.0",'function tsRewriteRelativeImportExtensions(t,e){return"string"==typeof t&&/^\\.\\.?\\//.test(t)?t.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+)?)\\.([cm]?)ts$/i,(function(t,s,r,n,o){return s?e?".jsx":".js":!r||n&&o?r+n+"."+o.toLowerCase()+"js":t})):t}',{globals:[],locals:{tsRewriteRelativeImportExtensions:["body.0.id"]},exportBindingAssignments:[],exportName:"tsRewriteRelativeImportExtensions",dependencies:{},internal:!1}),typeof:X("7.0.0-beta.0",'function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}',{globals:["Symbol"],locals:{_typeof:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_typeof",dependencies:{},internal:!1}),unsupportedIterableToArray:X("7.9.0",'function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?arrayLikeToArray(r,a):void 0}}',{globals:["Array"],locals:{_unsupportedIterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_unsupportedIterableToArray",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.0.consequent.argument.callee","body.0.body.body.0.consequent.body.2.argument.expressions.1.alternate.consequent.callee"]},internal:!1}),usingCtx:X("7.23.9",'function _usingCtx(){var r="function"==typeof SuppressedError?SuppressedError:function(r,e){var n=Error();return n.name="SuppressedError",n.error=r,n.suppressed=e,n},e={},n=[];function using(r,e){if(null!=e){if(Object(e)!==e)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(r)var o=e[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(void 0===o&&(o=e[Symbol.dispose||Symbol.for("Symbol.dispose")],r))var t=o;if("function"!=typeof o)throw new TypeError("Object is not disposable.");t&&(o=function(){try{t.call(e)}catch(r){return Promise.reject(r)}}),n.push({v:e,d:o,a:r})}else r&&n.push({d:e,a:r});return e}return{e:e,u:using.bind(null,!1),a:using.bind(null,!0),d:function(){var o,t=this.e,s=0;function next(){for(;o=n.pop();)try{if(!o.a&&1===s)return s=0,n.push(o),Promise.resolve().then(next);if(o.d){var r=o.d.call(o.v);if(o.a)return s|=2,Promise.resolve(r).then(next,err)}else s|=1}catch(r){return err(r)}if(1===s)return t!==e?Promise.reject(t):Promise.resolve();if(t!==e)throw t}function err(n){return t=t!==e?new r(n,t):n,next()}return next()}}}',{globals:["SuppressedError","Error","Object","TypeError","Symbol","Promise"],locals:{_usingCtx:["body.0.id"]},exportBindingAssignments:[],exportName:"_usingCtx",dependencies:{},internal:!1}),wrapAsyncGenerator:X("7.0.0-beta.0",'function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments))}}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then((function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value}settle(n.done?"return":"normal",t)}),(function(e){resume("throw",e)}))}catch(e){settle("throw",e)}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1})}(r=r.next)?resume(r.key,r.arg):t=null}this._invoke=function(e,n){return new Promise((function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};',{globals:["Promise","Symbol"],locals:{_wrapAsyncGenerator:["body.0.id"],AsyncGenerator:["body.1.id","body.0.body.body.0.argument.body.body.0.argument.callee","body.2.expression.expressions.0.left.object.object","body.2.expression.expressions.1.left.object.object","body.2.expression.expressions.2.left.object.object","body.2.expression.expressions.3.left.object.object"]},exportBindingAssignments:[],exportName:"_wrapAsyncGenerator",dependencies:{OverloadYield:["body.1.body.body.1.body.body.0.block.body.0.declarations.2.init.right"]},internal:!1}),wrapNativeSuper:X("7.0.0-beta.0",'function _wrapNativeSuper(t){var r="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(t){if(null===t||!isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper)}function Wrapper(){return construct(t,arguments,getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),setPrototypeOf(Wrapper,t)},_wrapNativeSuper(t)}',{globals:["Map","TypeError","Object"],locals:{_wrapNativeSuper:["body.0.id","body.0.body.body.1.argument.expressions.1.callee","body.0.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.1.argument.expressions.0"],exportName:"_wrapNativeSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.arguments.2.object.callee"],setPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.4.argument.expressions.1.callee"],isNativeFunction:["body.0.body.body.1.argument.expressions.0.right.body.body.0.test.right.argument.callee"],construct:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.callee"]},internal:!1}),wrapRegExp:X("7.19.0",'function _wrapRegExp(){_wrapRegExp=function(e,r){return new BabelRegExp(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function BabelRegExp(e,t,p){var o=RegExp(e,t);return r.set(o,p||r.get(e)),setPrototypeOf(o,BabelRegExp.prototype)}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce((function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1<o.length;)i++;r[t]=e[o[i]]}return r}),Object.create(null))}return inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(r){var t=e.exec.call(this,r);if(t){t.groups=buildGroups(t,this);var p=t.indices;p&&(p.groups=buildGroups(p,this))}return t},BabelRegExp.prototype[Symbol.replace]=function(t,p){if("string"==typeof p){var o=r.get(this);return e[Symbol.replace].call(this,t,p.replace(/\\$<([^>]+)(>|$)/g,(function(e,r,t){if(""===t)return e;var p=o[r];return Array.isArray(p)?"$"+p.join("$"):"number"==typeof p?"$"+p:""})))}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e)}))}return e[Symbol.replace].call(this,t,p)},_wrapRegExp.apply(this,arguments)}',{globals:["RegExp","WeakMap","Object","Symbol","Array"],locals:{_wrapRegExp:["body.0.id","body.0.body.body.4.argument.expressions.3.callee.object","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_wrapRegExp",dependencies:{setPrototypeOf:["body.0.body.body.2.body.body.1.argument.expressions.1.callee"],inherits:["body.0.body.body.4.argument.expressions.0.callee"]},internal:!1}),writeOnlyError:X("7.12.13",`function _writeOnlyError(r){throw new TypeError('"'+r+'" is write-only')}`,{globals:["TypeError"],locals:{_writeOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_writeOnlyError",dependencies:{},internal:!1})};Object.assign(FY,{AwaitValue:X("7.0.0-beta.0","function _AwaitValue(t){this.wrapped=t}",{globals:[],locals:{_AwaitValue:["body.0.id"]},exportBindingAssignments:[],exportName:"_AwaitValue",dependencies:{},internal:!1}),applyDecs:X("7.17.8",'function old_createMetadataMethodsForProperty(e,t,a,r){return{getMetadata:function(o){old_assertNotFinished(r,"getMetadata"),old_assertMetadataKey(o);var i=e[o];if(void 0!==i)if(1===t){var n=i.public;if(void 0!==n)return n[a]}else if(2===t){var l=i.private;if(void 0!==l)return l.get(a)}else if(Object.hasOwnProperty.call(i,"constructor"))return i.constructor},setMetadata:function(o,i){old_assertNotFinished(r,"setMetadata"),old_assertMetadataKey(o);var n=e[o];if(void 0===n&&(n=e[o]={}),1===t){var l=n.public;void 0===l&&(l=n.public={}),l[a]=i}else if(2===t){var s=n.priv;void 0===s&&(s=n.private=new Map),s.set(a,i)}else n.constructor=i}}}function old_convertMetadataMapToFinal(e,t){var a=e[Symbol.metadata||Symbol.for("Symbol.metadata")],r=Object.getOwnPropertySymbols(t);if(0!==r.length){for(var o=0;o<r.length;o++){var i=r[o],n=t[i],l=a?a[i]:null,s=n.public,c=l?l.public:null;s&&c&&Object.setPrototypeOf(s,c);var d=n.private;if(d){var u=Array.from(d.values()),f=l?l.private:null;f&&(u=u.concat(f)),n.private=u}l&&Object.setPrototypeOf(n,l)}a&&Object.setPrototypeOf(t,a),e[Symbol.metadata||Symbol.for("Symbol.metadata")]=t}}function old_createAddInitializerMethod(e,t){return function(a){old_assertNotFinished(t,"addInitializer"),old_assertCallable(a,"An initializer"),e.push(a)}}function old_memberDec(e,t,a,r,o,i,n,l,s){var c;switch(i){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var d,u,f={kind:c,name:l?"#"+t:toPropertyKey(t),isStatic:n,isPrivate:l},p={v:!1};if(0!==i&&(f.addInitializer=old_createAddInitializerMethod(o,p)),l){d=2,u=Symbol(t);var v={};0===i?(v.get=a.get,v.set=a.set):2===i?v.get=function(){return a.value}:(1!==i&&3!==i||(v.get=function(){return a.get.call(this)}),1!==i&&4!==i||(v.set=function(e){a.set.call(this,e)})),f.access=v}else d=1,u=t;try{return e(s,Object.assign(f,old_createMetadataMethodsForProperty(r,d,u,p)))}finally{p.v=!0}}function old_assertNotFinished(e,t){if(e.v)throw Error("attempted to call "+t+" after decoration was finished")}function old_assertMetadataKey(e){if("symbol"!=typeof e)throw new TypeError("Metadata keys must be symbols, received: "+e)}function old_assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function old_assertValidReturnValue(e,t){var a=typeof t;if(1===e){if("object"!==a||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&old_assertCallable(t.get,"accessor.get"),void 0!==t.set&&old_assertCallable(t.set,"accessor.set"),void 0!==t.init&&old_assertCallable(t.init,"accessor.init"),void 0!==t.initializer&&old_assertCallable(t.initializer,"accessor.initializer")}else if("function"!==a)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function old_getInit(e){var t;return null==(t=e.init)&&(t=e.initializer)&&void 0!==console&&console.warn(".initializer has been renamed to .init as of March 2022"),t}function old_applyMemberDec(e,t,a,r,o,i,n,l,s){var c,d,u,f,p,v,y,h=a[0];if(n?(0===o||1===o?(c={get:a[3],set:a[4]},u="get"):3===o?(c={get:a[3]},u="get"):4===o?(c={set:a[3]},u="set"):c={value:a[3]},0!==o&&(1===o&&setFunctionName(a[4],"#"+r,"set"),setFunctionName(a[3],"#"+r,u))):0!==o&&(c=Object.getOwnPropertyDescriptor(t,r)),1===o?f={get:c.get,set:c.set}:2===o?f=c.value:3===o?f=c.get:4===o&&(f=c.set),"function"==typeof h)void 0!==(p=old_memberDec(h,r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?d=p:1===o?(d=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p);else for(var m=h.length-1;m>=0;m--){var b;void 0!==(p=old_memberDec(h[m],r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?b=p:1===o?(b=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)))}if(0===o||1===o){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var g=d;d=function(e,t){for(var a=t,r=0;r<g.length;r++)a=g[r].call(e,a);return a}}else{var _=d;d=function(e,t){return _.call(e,t)}}e.push(d)}0!==o&&(1===o?(c.get=f.get,c.set=f.set):2===o?c.value=f:3===o?c.get=f:4===o&&(c.set=f),n?1===o?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===o?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,r,c))}function old_applyMemberDecs(e,t,a,r,o){for(var i,n,l=new Map,s=new Map,c=0;c<o.length;c++){var d=o[c];if(Array.isArray(d)){var u,f,p,v=d[1],y=d[2],h=d.length>3,m=v>=5;if(m?(u=t,f=r,0!=(v-=5)&&(p=n=n||[])):(u=t.prototype,f=a,0!==v&&(p=i=i||[])),0!==v&&!h){var b=m?s:l,g=b.get(y)||0;if(!0===g||3===g&&4!==v||4===g&&3!==v)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+y);!g&&v>2?b.set(y,v):b.set(y,!0)}old_applyMemberDec(e,u,d,y,v,m,h,f,p)}}old_pushInitializers(e,i),old_pushInitializers(e,n)}function old_pushInitializers(e,t){t&&e.push((function(e){for(var a=0;a<t.length;a++)t[a].call(e);return e}))}function old_applyClassDecs(e,t,a,r){if(r.length>0){for(var o=[],i=t,n=t.name,l=r.length-1;l>=0;l--){var s={v:!1};try{var c=Object.assign({kind:"class",name:n,addInitializer:old_createAddInitializerMethod(o,s)},old_createMetadataMethodsForProperty(a,0,n,s)),d=r[l](i,c)}finally{s.v=!0}void 0!==d&&(old_assertValidReturnValue(10,d),i=d)}e.push(i,(function(){for(var e=0;e<o.length;e++)o[e].call(i)}))}}function applyDecs(e,t,a){var r=[],o={},i={};return old_applyMemberDecs(r,e,i,o,t),old_convertMetadataMapToFinal(e.prototype,i),old_applyClassDecs(r,e,o,a),old_convertMetadataMapToFinal(e,o),r}',{globals:["Object","Map","Symbol","Array","Error","TypeError","console"],locals:{old_createMetadataMethodsForProperty:["body.0.id","body.3.body.body.4.block.body.0.argument.arguments.1.arguments.1.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.1.callee"],old_convertMetadataMapToFinal:["body.1.id","body.13.body.body.1.argument.expressions.1.callee","body.13.body.body.1.argument.expressions.3.callee"],old_createAddInitializerMethod:["body.2.id","body.3.body.body.3.test.expressions.0.right.right.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.0.properties.2.value.callee"],old_memberDec:["body.3.id","body.9.body.body.1.consequent.expression.left.right.right.callee","body.9.body.body.1.alternate.body.body.1.expression.left.right.right.callee"],old_assertNotFinished:["body.4.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.0.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.0.callee","body.2.body.body.0.argument.body.body.0.expression.expressions.0.callee"],old_assertMetadataKey:["body.5.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.1.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.1.callee"],old_assertCallable:["body.6.id","body.2.body.body.0.argument.body.body.0.expression.expressions.1.callee","body.7.body.body.1.consequent.body.1.expression.expressions.0.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.1.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.2.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.3.right.callee"],old_assertValidReturnValue:["body.7.id","body.9.body.body.1.consequent.expression.right.expressions.0.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.0.callee","body.12.body.body.0.consequent.body.0.body.body.2.expression.right.expressions.0.callee"],old_getInit:["body.8.id","body.9.body.body.1.consequent.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee"],old_applyMemberDec:["body.9.id","body.10.body.body.0.body.body.1.consequent.body.2.expression.callee"],old_applyMemberDecs:["body.10.id","body.13.body.body.1.argument.expressions.0.callee"],old_pushInitializers:["body.11.id","body.10.body.body.1.expression.expressions.0.callee","body.10.body.body.1.expression.expressions.1.callee"],old_applyClassDecs:["body.12.id","body.13.body.body.1.argument.expressions.2.callee"],applyDecs:["body.13.id"]},exportBindingAssignments:[],exportName:"applyDecs",dependencies:{setFunctionName:["body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.3.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]},internal:!1}),applyDecs2203:X("7.19.0",'function applyDecs2203Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,a,n,i,s,o){var c;switch(n){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==n&&(f.addInitializer=createAddInitializerMethod(a,p)),0===n?s?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===n?l=function(){return r.value}:(1!==n&&3!==n||(l=function(){return r.get.call(this)}),1!==n&&4!==n||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(e,t,r,a,n,i,s,o){var c,l,u,f,p,d,h=r[0];if(s?c=0===n||1===n?{get:r[3],set:r[4]}:3===n?{get:r[3]}:4===n?{set:r[3]}:{value:r[3]}:0!==n&&(c=Object.getOwnPropertyDescriptor(t,a)),1===n?u={get:c.get,set:c.set}:2===n?u=c.value:3===n?u=c.get:4===n&&(u=c.set),"function"==typeof h)void 0!==(f=memberDec(h,a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?l=f:1===n?(l=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var v=h.length-1;v>=0;v--){var g;void 0!==(f=memberDec(h[v],a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?g=f:1===n?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g)))}if(0===n||1===n){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,a=0;a<y.length;a++)r=y[a].call(e,r);return r}}else{var m=l;l=function(e,t){return m.call(e,t)}}e.push(l)}0!==n&&(1===n?(c.get=u.get,c.set=u.set):2===n?c.value=u:3===n?c.get=u:4===n&&(c.set=u),s?1===n?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===n?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,a,c))}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){var a=[];return function(e,t,r){for(var a,n,i=new Map,s=new Map,o=0;o<r.length;o++){var c=r[o];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=t,0!=(f-=5)&&(u=n=n||[])):(l=t.prototype,0!==f&&(u=a=a||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(e,l,c,p,f,h,d,u)}}pushInitializers(e,a),pushInitializers(e,n)}(a,e,t),function(e,t,r){if(r.length>0){for(var a=[],n=t,i=t.name,s=r.length-1;s>=0;s--){var o={v:!1};try{var c=r[s](n,{kind:"class",name:i,addInitializer:createAddInitializerMethod(a,o)})}finally{o.v=!0}void 0!==c&&(assertValidReturnValue(10,c),n=c)}e.push(n,(function(){for(var e=0;e<a.length;e++)a[e].call(n)}))}}(a,e,r),a}}var applyDecs2203Impl;function applyDecs2203(e,t,r){return(applyDecs2203Impl=applyDecs2203Impl||applyDecs2203Factory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203Factory:["body.0.id","body.2.body.body.0.argument.callee.right.right.callee"],applyDecs2203Impl:["body.1.declarations.0.id","body.2.body.body.0.argument.callee.right.left","body.2.body.body.0.argument.callee.left"],applyDecs2203:["body.2.id"]},exportBindingAssignments:[],exportName:"applyDecs2203",dependencies:{},internal:!1}),applyDecs2203R:X("7.20.0",'function applyDecs2203RFactory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,n,a,i,o,s){var c;switch(a){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:o?"#"+t:toPropertyKey(t),static:i,private:o},p={v:!1};0!==a&&(f.addInitializer=createAddInitializerMethod(n,p)),0===a?o?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===a?l=function(){return r.value}:(1!==a&&3!==a||(l=function(){return r.get.call(this)}),1!==a&&4!==a||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(s,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(e,t,r,n,a,i,o,s){var c,l,u,f,p,d,h,v=r[0];if(o?(0===a||1===a?(c={get:r[3],set:r[4]},u="get"):3===a?(c={get:r[3]},u="get"):4===a?(c={set:r[3]},u="set"):c={value:r[3]},0!==a&&(1===a&&setFunctionName(r[4],"#"+n,"set"),setFunctionName(r[3],"#"+n,u))):0!==a&&(c=Object.getOwnPropertyDescriptor(t,n)),1===a?f={get:c.get,set:c.set}:2===a?f=c.value:3===a?f=c.get:4===a&&(f=c.set),"function"==typeof v)void 0!==(p=memberDec(v,n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?l=p:1===a?(l=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p);else for(var g=v.length-1;g>=0;g--){var y;void 0!==(p=memberDec(v[g],n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?y=p:1===a?(y=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p,void 0!==y&&(void 0===l?l=y:"function"==typeof l?l=[l,y]:l.push(y)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var m=l;l=function(e,t){for(var r=t,n=0;n<m.length;n++)r=m[n].call(e,r);return r}}else{var b=l;l=function(e,t){return b.call(e,t)}}e.push(l)}0!==a&&(1===a?(c.get=f.get,c.set=f.set):2===a?c.value=f:3===a?c.get=f:4===a&&(c.set=f),o?1===a?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===a?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,n,c))}function applyMemberDecs(e,t){for(var r,n,a=[],i=new Map,o=new Map,s=0;s<t.length;s++){var c=t[s];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=e,0!=(f-=5)&&(u=n=n||[])):(l=e.prototype,0!==f&&(u=r=r||[])),0!==f&&!d){var v=h?o:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(a,l,c,p,f,h,d,u)}}return pushInitializers(a,r),pushInitializers(a,n),a}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){return{e:applyMemberDecs(e,t),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var o={v:!1};try{var s=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,o)})}finally{o.v=!0}void 0!==s&&(assertValidReturnValue(10,s),n=s)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}function applyDecs2203R(e,t,r){return(applyDecs2203R=applyDecs2203RFactory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203RFactory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2203R:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2203R",dependencies:{setFunctionName:["body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.1.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]},internal:!1}),applyDecs2301:X("7.21.0",'function applyDecs2301Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,n,a,i,s,o,c){var u;switch(a){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var l,f,p={kind:u,name:s?"#"+t:toPropertyKey(t),static:i,private:s},d={v:!1};if(0!==a&&(p.addInitializer=createAddInitializerMethod(n,d)),s||0!==a&&2!==a)if(2===a)l=function(e){return assertInstanceIfPrivate(c,e),r.value};else{var h=0===a||1===a;(h||3===a)&&(l=s?function(e){return assertInstanceIfPrivate(c,e),r.get.call(e)}:function(e){return r.get.call(e)}),(h||4===a)&&(f=s?function(e,t){assertInstanceIfPrivate(c,e),r.set.call(e,t)}:function(e,t){r.set.call(e,t)})}else l=function(e){return e[t]},0===a&&(f=function(e,r){e[t]=r});var v=s?c.bind():function(e){return t in e};p.access=l&&f?{get:l,set:f,has:v}:l?{get:l,has:v}:{set:f,has:v};try{return e(o,p)}finally{d.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function curryThis2(e){return function(t){e(this,t)}}function applyMemberDec(e,t,r,n,a,i,s,o,c){var u,l,f,p,d,h,v,y,g=r[0];if(s?(0===a||1===a?(u={get:(d=r[3],function(){return d(this)}),set:curryThis2(r[4])},f="get"):3===a?(u={get:r[3]},f="get"):4===a?(u={set:r[3]},f="set"):u={value:r[3]},0!==a&&(1===a&&setFunctionName(u.set,"#"+n,"set"),setFunctionName(u[f||"value"],"#"+n,f))):0!==a&&(u=Object.getOwnPropertyDescriptor(t,n)),1===a?p={get:u.get,set:u.set}:2===a?p=u.value:3===a?p=u.get:4===a&&(p=u.set),"function"==typeof g)void 0!==(h=memberDec(g,n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?l=h:1===a?(l=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h);else for(var m=g.length-1;m>=0;m--){var b;void 0!==(h=memberDec(g[m],n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?b=h:1===a?(b=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h,void 0!==b&&(void 0===l?l=b:"function"==typeof l?l=[l,b]:l.push(b)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var I=l;l=function(e,t){for(var r=t,n=0;n<I.length;n++)r=I[n].call(e,r);return r}}else{var w=l;l=function(e,t){return w.call(e,t)}}e.push(l)}0!==a&&(1===a?(u.get=p.get,u.set=p.set):2===a?u.value=p:3===a?u.get=p:4===a&&(u.set=p),s?1===a?(e.push((function(e,t){return p.get.call(e,t)})),e.push((function(e,t){return p.set.call(e,t)}))):2===a?e.push(p):e.push((function(e,t){return p.call(e,t)})):Object.defineProperty(t,n,u))}function applyMemberDecs(e,t,r){for(var n,a,i,s=[],o=new Map,c=new Map,u=0;u<t.length;u++){var l=t[u];if(Array.isArray(l)){var f,p,d=l[1],h=l[2],v=l.length>3,y=d>=5,g=r;if(y?(f=e,0!=(d-=5)&&(p=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),g=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=y?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&d>2?m.set(h,d):m.set(h,!0)}applyMemberDec(s,f,l,h,d,y,v,p,g)}}return pushInitializers(s,n),pushInitializers(s,a),s}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r,n){return{e:applyMemberDecs(e,t,n),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}function applyDecs2301(e,t,r,n){return(applyDecs2301=applyDecs2301Factory())(e,t,r,n)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2301Factory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2301:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2301",dependencies:{checkInRHS:["body.0.body.body.7.body.body.0.body.body.1.consequent.body.1.test.expressions.0.consequent.expressions.2.right.right.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.2.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]},internal:!1}),applyDecs2305:X("7.21.0",'function applyDecs2305(e,t,r,n,o,a){function i(e,t,r){return function(n,o){return r&&r(n),e[t].call(n,o)}}function c(e,t){for(var r=0;r<e.length;r++)e[r].call(t);return t}function s(e,t,r,n){if("function"!=typeof e&&(n||void 0!==e))throw new TypeError(t+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return e}function applyDec(e,t,r,n,o,a,c,u,l,f,p,d,h){function m(e){if(!h(e))throw new TypeError("Attempted to access private element on non-instance")}var y,v=t[0],g=t[3],b=!u;if(!b){r||Array.isArray(v)||(v=[v]);var w={},S=[],A=3===o?"get":4===o||d?"set":"value";f?(p||d?w={get:setFunctionName((function(){return g(this)}),n,"get"),set:function(e){t[4](this,e)}}:w[A]=g,p||setFunctionName(w[A],n,2===o?"":A)):p||(w=Object.getOwnPropertyDescriptor(e,n))}for(var P=e,j=v.length-1;j>=0;j-=r?2:1){var D=v[j],E=r?v[j-1]:void 0,I={},O={kind:["field","accessor","method","getter","setter","class"][o],name:n,metadata:a,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");s(t,"An initializer","be",!0),c.push(t)}.bind(null,I)};try{if(b)(y=s(D.call(E,P,O),"class decorators","return"))&&(P=y);else{var k,F;O.static=l,O.private=f,f?2===o?k=function(e){return m(e),w.value}:(o<4&&(k=i(w,"get",m)),3!==o&&(F=i(w,"set",m))):(k=function(e){return e[n]},(o<2||4===o)&&(F=function(e,t){e[n]=t}));var N=O.access={has:f?h.bind():function(e){return n in e}};if(k&&(N.get=k),F&&(N.set=F),P=D.call(E,d?{get:w.get,set:w.set}:w[A],O),d){if("object"==typeof P&&P)(y=s(P.get,"accessor.get"))&&(w.get=y),(y=s(P.set,"accessor.set"))&&(w.set=y),(y=s(P.init,"accessor.init"))&&S.push(y);else if(void 0!==P)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else s(P,(p?"field":"method")+" decorators","return")&&(p?S.push(P):w[A]=P)}}finally{I.v=!0}}return(p||d)&&u.push((function(e,t){for(var r=S.length-1;r>=0;r--)t=S[r].call(e,t);return t})),p||b||(f?d?u.push(i(w,"get"),i(w,"set")):u.push(2===o?w[A]:i.call.bind(w[A])):Object.defineProperty(e,n,w)),P}function u(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var l=a[Symbol.metadata||Symbol.for("Symbol.metadata")];var f=Object.create(null==l?null:l),p=function(e,t,r,n){var o,a,i=[],s=function(t){return checkInRHS(t)===e},u=new Map;function l(e){e&&i.push(c.bind(null,e))}for(var f=0;f<t.length;f++){var p=t[f];if(Array.isArray(p)){var d=p[1],h=p[2],m=p.length>3,y=16&d,v=!!(8&d),g=0==(d&=7),b=h+"/"+v;if(!g&&!m){var w=u.get(b);if(!0===w||3===w&&4!==d||4===w&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);u.set(b,!(d>2)||d)}applyDec(v?e:e.prototype,p,y,m?"#"+h:toPropertyKey(h),d,n,v?a=a||[]:o=o||[],i,v,m,g,1===d,v&&m?s:r)}}return l(o),l(a),i}(e,t,o,f);return r.length||u(e,f),{e:p,get c(){var t=[];return r.length&&[u(applyDec(e,[r],n,e.name,5,f,t),f),c.bind(null,t,e)]}}}',{globals:["TypeError","Array","Object","Error","Symbol","Map"],locals:{applyDecs2305:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2305",dependencies:{checkInRHS:["body.0.body.body.6.declarations.1.init.callee.body.body.0.declarations.3.init.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.6.declarations.1.init.callee.body.body.2.body.body.1.consequent.body.2.expression.arguments.3.alternate.callee"]},internal:!1}),classApplyDescriptorDestructureSet:X("7.13.10",'function _classApplyDescriptorDestructureSet(e,t){if(t.set)return"__destrObj"in t||(t.__destrObj={set value(r){t.set.call(e,r)}}),t.__destrObj;if(!t.writable)throw new TypeError("attempted to set read only private field");return t}',{globals:["TypeError"],locals:{_classApplyDescriptorDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorDestructureSet",dependencies:{},internal:!1}),classApplyDescriptorGet:X("7.13.10","function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}",{globals:[],locals:{_classApplyDescriptorGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorGet",dependencies:{},internal:!1}),classApplyDescriptorSet:X("7.13.10",'function _classApplyDescriptorSet(e,t,l){if(t.set)t.set.call(e,l);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=l}}',{globals:["TypeError"],locals:{_classApplyDescriptorSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorSet",dependencies:{},internal:!1}),classCheckPrivateStaticAccess:X("7.13.10","function _classCheckPrivateStaticAccess(s,a,r){return assertClassBrand(a,s,r)}",{globals:[],locals:{_classCheckPrivateStaticAccess:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticAccess",dependencies:{assertClassBrand:["body.0.body.body.0.argument.callee"]},internal:!1}),classCheckPrivateStaticFieldDescriptor:X("7.13.10",'function _classCheckPrivateStaticFieldDescriptor(t,e){if(void 0===t)throw new TypeError("attempted to "+e+" private static field before its declaration")}',{globals:["TypeError"],locals:{_classCheckPrivateStaticFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticFieldDescriptor",dependencies:{},internal:!1}),classExtractFieldDescriptor:X("7.13.10","function _classExtractFieldDescriptor(e,t){return classPrivateFieldGet2(t,e)}",{globals:[],locals:{_classExtractFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classExtractFieldDescriptor",dependencies:{classPrivateFieldGet2:["body.0.body.body.0.argument.callee"]},internal:!1}),classPrivateFieldDestructureSet:X("7.4.4","function _classPrivateFieldDestructureSet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorDestructureSet(e,r)}",{globals:[],locals:{_classPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),classPrivateFieldGet:X("7.0.0-beta.0","function _classPrivateFieldGet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorGet(e,r)}",{globals:[],locals:{_classPrivateFieldGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),classPrivateFieldSet:X("7.0.0-beta.0","function _classPrivateFieldSet(e,t,r){var s=classPrivateFieldGet2(t,e);return classApplyDescriptorSet(e,s,r),r}",{globals:[],locals:{_classPrivateFieldSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.1.argument.expressions.0.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),classPrivateMethodGet:X("7.1.6","function _classPrivateMethodGet(s,a,r){return assertClassBrand(a,s),r}",{globals:[],locals:{_classPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]},internal:!1}),classPrivateMethodSet:X("7.1.6",'function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}',{globals:["TypeError"],locals:{_classPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodSet",dependencies:{},internal:!1}),classStaticPrivateFieldDestructureSet:X("7.13.10",'function _classStaticPrivateFieldDestructureSet(t,r,s){return assertClassBrand(r,t),classCheckPrivateStaticFieldDescriptor(s,"set"),classApplyDescriptorDestructureSet(t,s)}',{globals:[],locals:{_classStaticPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]},internal:!1}),classStaticPrivateFieldSpecGet:X("7.0.2",'function _classStaticPrivateFieldSpecGet(t,s,r){return assertClassBrand(s,t),classCheckPrivateStaticFieldDescriptor(r,"get"),classApplyDescriptorGet(t,r)}',{globals:[],locals:{_classStaticPrivateFieldSpecGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]},internal:!1}),classStaticPrivateFieldSpecSet:X("7.0.2",'function _classStaticPrivateFieldSpecSet(s,t,r,e){return assertClassBrand(t,s),classCheckPrivateStaticFieldDescriptor(r,"set"),classApplyDescriptorSet(s,r,e),e}',{globals:[],locals:{_classStaticPrivateFieldSpecSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]},internal:!1}),classStaticPrivateMethodSet:X("7.3.2",'function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}',{globals:["TypeError"],locals:{_classStaticPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodSet",dependencies:{},internal:!1}),defineEnumerableProperties:X("7.0.0-beta.0",'function _defineEnumerableProperties(e,r){for(var t in r){var n=r[t];n.configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,t,n)}if(Object.getOwnPropertySymbols)for(var a=Object.getOwnPropertySymbols(r),b=0;b<a.length;b++){var i=a[b];(n=r[i]).configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i,n)}return e}',{globals:["Object"],locals:{_defineEnumerableProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineEnumerableProperties",dependencies:{},internal:!1}),dispose:X("7.22.0",'function dispose_SuppressedError(r,e){return"undefined"!=typeof SuppressedError?dispose_SuppressedError=SuppressedError:(dispose_SuppressedError=function(r,e){this.suppressed=e,this.error=r,this.stack=Error().stack},dispose_SuppressedError.prototype=Object.create(Error.prototype,{constructor:{value:dispose_SuppressedError,writable:!0,configurable:!0}})),new dispose_SuppressedError(r,e)}function _dispose(r,e,s){function next(){for(;r.length>0;)try{var o=r.pop(),p=o.d.call(o.v);if(o.a)return Promise.resolve(p).then(next,err)}catch(r){return err(r)}if(s)throw e}function err(r){return e=s?new dispose_SuppressedError(e,r):r,s=!0,next()}return next()}',{globals:["SuppressedError","Error","Object","Promise"],locals:{dispose_SuppressedError:["body.0.id","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.left.object","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.right.arguments.1.properties.0.value.properties.0.value","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.1.body.body.0.argument.expressions.0.right.consequent.callee","body.0.body.body.0.argument.expressions.0.consequent.left","body.0.body.body.0.argument.expressions.0.alternate.expressions.0.left"],_dispose:["body.1.id"]},exportBindingAssignments:[],exportName:"_dispose",dependencies:{},internal:!1}),objectSpread:X("7.0.0-beta.0",'function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?Object(arguments[r]):{},o=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&o.push.apply(o,Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.forEach((function(r){defineProperty(e,r,t[r])}))}return e}',{globals:["Object"],locals:{_objectSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectSpread",dependencies:{defineProperty:["body.0.body.body.0.body.body.1.expression.expressions.1.arguments.0.body.body.0.expression.callee"]},internal:!1}),regeneratorRuntime:X("7.18.0",'function _regeneratorRuntime(){"use strict";var r=regenerator(),e=r.m(_regeneratorRuntime),t=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function n(r){var e="function"==typeof r&&r.constructor;return!!e&&(e===t||"GeneratorFunction"===(e.displayName||e.name))}var o={throw:1,return:2,break:3,continue:3};function a(r){var e,t;return function(n){e||(e={stop:function(){return t(n.a,2)},catch:function(){return n.v},abrupt:function(r,e){return t(n.a,o[r],e)},delegateYield:function(r,o,a){return e.resultName=o,t(n.d,values(r),a)},finish:function(r){return t(n.f,r)}},t=function(r,t,o){n.p=e.prev,n.n=e.next;try{return r(t,o)}finally{e.next=n.n}}),e.resultName&&(e[e.resultName]=n.v,e.resultName=void 0),e.sent=n.v,e.next=n.n;try{return r.call(this,e)}finally{n.p=e.prev,n.n=e.next}}}return(_regeneratorRuntime=function(){return{wrap:function(e,t,n,o){return r.w(a(e),t,n,o&&o.reverse())},isGeneratorFunction:n,mark:r.m,awrap:function(r,e){return new OverloadYield(r,e)},AsyncIterator:AsyncIterator,async:function(r,e,t,o,u){return(n(e)?asyncGen:async)(a(r),e,t,o,u)},keys:keys,values:values}})()}',{globals:["Object"],locals:{_regeneratorRuntime:["body.0.id","body.0.body.body.0.declarations.1.init.arguments.0","body.0.body.body.4.argument.callee.left"]},exportBindingAssignments:["body.0.body.body.4.argument.callee"],exportName:"_regeneratorRuntime",dependencies:{OverloadYield:["body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.3.value.body.body.0.argument.callee"],regenerator:["body.0.body.body.0.declarations.0.init.callee"],regeneratorAsync:["body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.5.value.body.body.0.argument.callee.alternate"],regeneratorAsyncGen:["body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.5.value.body.body.0.argument.callee.consequent"],regeneratorAsyncIterator:["body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.4.value"],regeneratorKeys:["body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.6.value"],regeneratorValues:["body.0.body.body.3.body.body.1.argument.body.body.0.expression.expressions.0.right.expressions.0.right.properties.3.value.body.body.0.argument.expressions.1.arguments.1.callee","body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.7.value"]},internal:!1}),using:X("7.22.0",'function _using(o,n,e){if(null==n)return n;if(Object(n)!==n)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(e)var r=n[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==r&&(r=n[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof r)throw new TypeError("Property [Symbol.dispose] is not a function.");return o.push({v:n,d:r,a:e}),n}',{globals:["Object","TypeError","Symbol"],locals:{_using:["body.0.id"]},exportBindingAssignments:[],exportName:"_using",dependencies:{},internal:!1})})});var uy=x(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=void 0;vn.get=dv;vn.getDependencies=qY;vn.isInternal=UY;vn.list=void 0;vn.minVersion=RY;var LY=Fe(),ly=pv(),{cloneNode:jY,identifier:fv}=LY;function Vu(e,t,r){try{let n=t.split("."),s=n.shift();for(;n.length>0;)e=e[s],s=n.shift();if(arguments.length>2)e[s]=r;else return e[s]}catch(n){throw n.message+=` (when accessing ${t})`,n}}function MY(e,t,r,n,s,i){let{locals:a,dependencies:o,exportBindingAssignments:l,exportName:u}=t,c=new Set(n||[]);r&&c.add(r);for(let[p,d]of(Object.entries||(m=>Object.keys(m).map(g=>[g,m[g]])))(a)){let m=p;if(r&&p===u)m=r;else for(;c.has(m);)m="_"+m;if(m!==p)for(let g of d)Vu(e,g,fv(m))}for(let[p,d]of(Object.entries||(m=>Object.keys(m).map(g=>[g,m[g]])))(o)){let m=typeof s=="function"&&s(p)||fv(p);for(let g of d)Vu(e,g,jY(m))}i==null||i(e,u,p=>{l.forEach(d=>Vu(e,d,p(Vu(e,d))))})}var oy=Object.create(null);function $u(e){if(!oy[e]){let t=ly.default[e];if(!t)throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e});oy[e]={minVersion:t.minVersion,build(r,n,s,i){let a=t.ast();return MY(a,t.metadata,n,s,r,i),{nodes:a.body,globals:t.metadata.globals}},getDependencies(){return Object.keys(t.metadata.dependencies)}}}return oy[e]}function dv(e,t,r,n,s){if(typeof r=="object"){let i=r;(i==null?void 0:i.type)==="Identifier"?r=i.name:r=void 0}return $u(e).build(t,r,n,s)}function RY(e){return $u(e).minVersion}function qY(e){return $u(e).getDependencies()}function UY(e){var t;return(t=ly.default[e])==null?void 0:t.metadata.internal}vn.ensure=e=>{$u(e)};var qwe=vn.list=Object.keys(ly.default).map(e=>e.replace(/^_/,"")),Uwe=vn.default=dv});var cy=x(Qe=>{"use strict";Object.defineProperty(Qe,"__esModule",{value:!0});Qe.Var=Qe.User=Qe.Statement=Qe.SpreadProperty=Qe.Scope=Qe.RestProperty=Qe.ReferencedMemberExpression=Qe.ReferencedIdentifier=Qe.Referenced=Qe.Pure=Qe.NumericLiteralTypeAnnotation=Qe.Generated=Qe.ForAwaitStatement=Qe.Flow=Qe.Expression=Qe.ExistentialTypeParam=Qe.BlockScoped=Qe.BindingIdentifier=void 0;var $we=Qe.ReferencedIdentifier=["Identifier","JSXIdentifier"],Wwe=Qe.ReferencedMemberExpression=["MemberExpression"],Kwe=Qe.BindingIdentifier=["Identifier"],Hwe=Qe.Statement=["Statement"],Gwe=Qe.Expression=["Expression"],Xwe=Qe.Scope=["Scopable","Pattern"],Ywe=Qe.Referenced=null,Jwe=Qe.BlockScoped=null,zwe=Qe.Var=["VariableDeclaration"],Qwe=Qe.User=null,Zwe=Qe.Generated=null,eIe=Qe.Pure=null,tIe=Qe.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],rIe=Qe.RestProperty=["RestElement"],nIe=Qe.SpreadProperty=["RestElement"],sIe=Qe.ExistentialTypeParam=["ExistsTypeAnnotation"],iIe=Qe.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],aIe=Qe.ForAwaitStatement=["ForOfStatement"]});var mv=x((lIe,hv)=>{var xa=1e3,Sa=xa*60,va=Sa*60,Ei=va*24,VY=Ei*7,$Y=Ei*365.25;hv.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return WY(e);if(r==="number"&&isFinite(e))return t.long?HY(e):KY(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function WY(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*$Y;case"weeks":case"week":case"w":return r*VY;case"days":case"day":case"d":return r*Ei;case"hours":case"hour":case"hrs":case"hr":case"h":return r*va;case"minutes":case"minute":case"mins":case"min":case"m":return r*Sa;case"seconds":case"second":case"secs":case"sec":case"s":return r*xa;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function KY(e){var t=Math.abs(e);return t>=Ei?Math.round(e/Ei)+"d":t>=va?Math.round(e/va)+"h":t>=Sa?Math.round(e/Sa)+"m":t>=xa?Math.round(e/xa)+"s":e+"ms"}function HY(e){var t=Math.abs(e);return t>=Ei?Wu(e,t,Ei,"day"):t>=va?Wu(e,t,va,"hour"):t>=Sa?Wu(e,t,Sa,"minute"):t>=xa?Wu(e,t,xa,"second"):e+" ms"}function Wu(e,t,r,n){var s=t>=r*1.5;return Math.round(e/r)+" "+n+(s?"s":"")}});var py=x((uIe,yv)=>{function GY(e){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=s,r.enabled=o,r.humanize=mv(),r.destroy=u,Object.keys(e).forEach(c=>{r[c]=e[c]}),r.names=[],r.skips=[],r.formatters={};function t(c){let p=0;for(let d=0;d<c.length;d++)p=(p<<5)-p+c.charCodeAt(d),p|=0;return r.colors[Math.abs(p)%r.colors.length]}r.selectColor=t;function r(c){let p,d=null,m,g;function f(...b){if(!f.enabled)return;let T=f,w=Number(new Date),I=w-(p||w);T.diff=I,T.prev=p,T.curr=w,p=w,b[0]=r.coerce(b[0]),typeof b[0]!="string"&&b.unshift("%O");let N=0;b[0]=b[0].replace(/%([a-zA-Z%])/g,(W,U)=>{if(W==="%%")return"%";N++;let H=r.formatters[U];if(typeof H=="function"){let pe=b[N];W=H.call(T,pe),b.splice(N,1),N--}return W}),r.formatArgs.call(T,b),(T.log||r.log).apply(T,b)}return f.namespace=c,f.useColors=r.useColors(),f.color=r.selectColor(c),f.extend=n,f.destroy=r.destroy,Object.defineProperty(f,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(m!==r.namespaces&&(m=r.namespaces,g=r.enabled(c)),g),set:b=>{d=b}}),typeof r.init=="function"&&r.init(f),f}function n(c,p){let d=r(this.namespace+(typeof p=="undefined"?":":p)+c);return d.log=this.log,d}function s(c){r.save(c),r.namespaces=c,r.names=[],r.skips=[];let p=(typeof c=="string"?c:"").trim().replace(" ",",").split(",").filter(Boolean);for(let d of p)d[0]==="-"?r.skips.push(d.slice(1)):r.names.push(d)}function i(c,p){let d=0,m=0,g=-1,f=0;for(;d<c.length;)if(m<p.length&&(p[m]===c[d]||p[m]==="*"))p[m]==="*"?(g=m,f=d,m++):(d++,m++);else if(g!==-1)m=g+1,f++,d=f;else return!1;for(;m<p.length&&p[m]==="*";)m++;return m===p.length}function a(){let c=[...r.names,...r.skips.map(p=>"-"+p)].join(",");return r.enable(""),c}function o(c){for(let p of r.skips)if(i(c,p))return!1;for(let p of r.names)if(i(c,p))return!0;return!1}function l(c){return c instanceof Error?c.stack||c.message:c}function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}yv.exports=GY});var gv=x((Yr,Ku)=>{Yr.formatArgs=YY;Yr.save=JY;Yr.load=zY;Yr.useColors=XY;Yr.storage=QY();Yr.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();Yr.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function XY(){if(typeof window!="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document!="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!="undefined"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function YY(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+Ku.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,s=>{s!=="%%"&&(r++,s==="%c"&&(n=r))}),e.splice(n,0,t)}Yr.log=console.debug||console.log||(()=>{});function JY(e){try{e?Yr.storage.setItem("debug",e):Yr.storage.removeItem("debug")}catch{}}function zY(){let e;try{e=Yr.storage.getItem("debug")}catch{}return!e&&typeof process!="undefined"&&"env"in process&&(e=process.env.DEBUG),e}function QY(){try{return localStorage}catch{}}Ku.exports=py()(Yr);var{formatters:ZY}=Ku.exports;ZY.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Ev=x((cIe,bv)=>{"use strict";bv.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),s=t.indexOf("--");return n!==-1&&(s===-1||n<s)}});var Sv=x((pIe,xv)=>{"use strict";var eJ=require("os"),Tv=require("tty"),un=Ev(),{env:or}=process,Hu;un("no-color")||un("no-colors")||un("color=false")||un("color=never")?Hu=0:(un("color")||un("colors")||un("color=true")||un("color=always"))&&(Hu=1);function tJ(){if("FORCE_COLOR"in or)return or.FORCE_COLOR==="true"?1:or.FORCE_COLOR==="false"?0:or.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(or.FORCE_COLOR,10),3)}function rJ(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function nJ(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=tJ();n!==void 0&&(Hu=n);let s=r?Hu:n;if(s===0)return 0;if(r){if(un("color=16m")||un("color=full")||un("color=truecolor"))return 3;if(un("color=256"))return 2}if(e&&!t&&s===void 0)return 0;let i=s||0;if(or.TERM==="dumb")return i;if(process.platform==="win32"){let a=eJ.release().split(".");return Number(a[0])>=10&&Number(a[2])>=10586?Number(a[2])>=14931?3:2:1}if("CI"in or)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(a=>a in or)||or.CI_NAME==="codeship"?1:i;if("TEAMCITY_VERSION"in or)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(or.TEAMCITY_VERSION)?1:0;if(or.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in or){let a=Number.parseInt((or.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(or.TERM_PROGRAM){case"iTerm.app":return a>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(or.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(or.TERM)||"COLORTERM"in or?1:i}function fy(e,t={}){let r=nJ(e,{streamIsTTY:e&&e.isTTY,...t});return rJ(r)}xv.exports={supportsColor:fy,stdout:fy({isTTY:Tv.isatty(1)}),stderr:fy({isTTY:Tv.isatty(2)})}});var Pv=x((lr,Xu)=>{var sJ=require("tty"),Gu=require("util");lr.init=pJ;lr.log=lJ;lr.formatArgs=aJ;lr.save=uJ;lr.load=cJ;lr.useColors=iJ;lr.destroy=Gu.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");lr.colors=[6,2,3,4,5,1];try{let e=Sv();e&&(e.stderr||e).level>=2&&(lr.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}lr.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(s,i)=>i.toUpperCase()),n=process.env[t];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[r]=n,e},{});function iJ(){return"colors"in lr.inspectOpts?!!lr.inspectOpts.colors:sJ.isatty(process.stderr.fd)}function aJ(e){let{namespace:t,useColors:r}=this;if(r){let n=this.color,s="\x1B[3"+(n<8?n:"8;5;"+n),i=` ${s};1m${t} \x1B[0m`;e[0]=i+e[0].split(`
|
|
`).join(`
|
|
`+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)+`
|
|
`)}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(`
|
|
`).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(`
|
|
`),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(`
|
|
`,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?"":`
|
|
`,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,`
|
|
`)}if(this.format.concise)o=o.replace(/\n(?!$)/g,`
|
|
`);else{let c=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(c+=this._getIndent()),o=o.replace(/\n(?!$)/g,`
|
|
${" ".repeat(c)}`)}}}else n?o=`/*${t.value}*/`:o=`//${t.value}`;if(this._endsWithDiv&&this._space(),this.tokenMap){let{_printSemicolonBeforeNextToken:u,_printSemicolonBeforeNextNode:c}=this;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1,this.source("start",t.loc),this._append(o,s),this._printSemicolonBeforeNextNode=c,this._printSemicolonBeforeNextToken=u}else this.source("start",t.loc),this._append(o,s);!s&&!n&&this.newline(1,!0),i&&r!==3&&this.newline(1)}_printComments(t,r,n,s,i=0,a){let o=n.loc,l=r.length,u=!!o,c=u?o.start.line:0,p=u?o.end.line:0,d=0,m=0,g=this._noLineTerminator?function(){}:this.newline.bind(this);for(let f=0;f<l;f++){let b=r[f],T=this._shouldPrintComment(b,a);if(T===2){u=!1;break}if(u&&b.loc&&T===1){let w=b.loc.start.line,I=b.loc.end.line;if(t===0){let N=0;f===0?this._buf.hasContent()&&(b.type==="CommentLine"||w!==I)&&(N=m=1):N=w-d,d=I,g(N),this._printComment(b,1),f+1===l&&(g(Math.max(c-d,m)),d=c)}else if(t===1){let N=w-(f===0?c:d);d=I,g(N),this._printComment(b,1),f+1===l&&(g(Math.min(1,p-d)),d=p)}else{let N=w-(f===0?p-i:d);d=I,g(N),this._printComment(b,1)}}else{if(u=!1,T!==1)continue;if(l===1){let w=b.loc?b.loc.start.line===b.loc.end.line:!iA.test(b.value),I=w&&!Zse(n)&&!eie(s)&&!tie(s)&&!rie(n);t===0?this._printComment(b,I&&n.type!=="ObjectExpression"||w&&Qse(s,{body:n})?1:0):I&&t===2?this._printComment(b,1):this._printComment(b,0)}else t===1&&!(n.type==="ObjectExpression"&&n.properties.length>1)&&n.type!=="ClassBody"&&n.type!=="TSInterfaceBody"?this._printComment(b,f===0?2:f===l-1?3:0):this._printComment(b,0)}}t===2&&u&&d&&(this._lastCommentLine=d)}};Object.assign(Jo.prototype,Yse);(0,Jse.addDeprecatedGenerators)(Jo);var YIe=gc.default=Jo;function oie(e,t){this.token(",",!1,e),t||this.space()}});var bc=x(Ca=>{"use strict";Object.defineProperty(Ca,"__esModule",{value:!0});Ca.default=void 0;Ca.generate=cA;var oA=lP(),lA=aA();function uA(e,t,r){if(t.experimental_preserveFormat){if(typeof e!="string")throw new Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!t.retainLines)throw new Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(t.compact&&t.compact!=="auto")throw new Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(t.minified)throw new Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(t.jsescOption)throw new Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(r.tokens))throw new Error("`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.")}let n={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,preserveFormat:t.experimental_preserveFormat,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:t.comments==null||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},t.jsescOption),topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};{var s;n.decoratorsBeforeExport=t.decoratorsBeforeExport,n.jsescOption.json=t.jsonCompatibleStrings,n.recordAndTupleSyntaxType=(s=t.recordAndTupleSyntaxType)!=null?s:"hash"}n.minified?(n.compact=!0,n.shouldPrintComment=n.shouldPrintComment||(()=>n.comments)):n.shouldPrintComment=n.shouldPrintComment||(l=>n.comments||l.includes("@license")||l.includes("@preserve")),n.compact==="auto"&&(n.compact=typeof e=="string"&&e.length>5e5,n.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${t.filename} as it exceeds the max of 500KB.`)),(n.compact||n.preserveFormat)&&(n.indent.adjustMultilineComment=!1);let{auxiliaryCommentBefore:i,auxiliaryCommentAfter:a,shouldPrintComment:o}=n;return i&&!o(i)&&(n.auxiliaryCommentBefore=void 0),a&&!o(a)&&(n.auxiliaryCommentAfter=void 0),n}Ca.CodeGenerator=class{constructor(t,r={},n){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=t,this._format=uA(n,r,t),this._map=r.sourceMaps?new oA.default(r,n):null}generate(){return new lA.default(this._format,this._map).generate(this._ast)}};function cA(e,t={},r){let n=uA(r,t,e),s=t.sourceMaps?new oA.default(t,r):null;return new lA.default(n,s,e.tokens,typeof r=="string"?r:null).generate(e)}var QIe=Ca.default=cA});var pA=x(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.find=pie;fn.findParent=cie;fn.getAncestry=yie;fn.getDeepestCommonAncestorFrom=mie;fn.getEarliestCommonAncestorFrom=hie;fn.getFunctionParent=fie;fn.getStatementParent=die;fn.inType=Eie;fn.isAncestor=gie;fn.isDescendant=bie;var lie=Fe(),{VISITOR_KEYS:uie}=lie;function cie(e){let t=this;for(;t=t.parentPath;)if(e(t))return t;return null}function pie(e){let t=this;do if(e(t))return t;while(t=t.parentPath);return null}function fie(){return this.findParent(e=>e.isFunction())}function die(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())break;e=e.parentPath}while(e);if(e&&(e.isProgram()||e.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return e}function hie(e){return this.getDeepestCommonAncestorFrom(e,function(t,r,n){let s,i=uie[t.type];for(let a of n){let o=a[r+1];if(!s){s=o;continue}if(o.listKey&&s.listKey===o.listKey&&o.key<s.key){s=o;continue}let l=i.indexOf(s.parentKey),u=i.indexOf(o.parentKey);l>u&&(s=o)}return s})}function mie(e,t){if(!e.length)return this;if(e.length===1)return e[0];let r=1/0,n,s,i=e.map(o=>{let l=[];do l.unshift(o);while((o=o.parentPath)&&o!==this);return l.length<r&&(r=l.length),l}),a=i[0];e:for(let o=0;o<r;o++){let l=a[o];for(let u of i)if(u[o]!==l)break e;n=o,s=l}if(s)return t?t(s,n,i):s;throw new Error("Couldn't find intersection")}function yie(){let e=this,t=[];do t.push(e);while(e=e.parentPath);return t}function gie(e){return e.isDescendant(this)}function bie(e){return!!this.findParent(t=>t===e)}function Eie(...e){let t=this;for(;t;){if(e.includes(t.node.type))return!0;t=t.parentPath}return!1}});var a0=x(i0=>{"use strict";Object.defineProperty(i0,"__esModule",{value:!0});i0.createUnionType=Pie;var Tie=Fe(),{createFlowUnionType:fA,createTSUnionType:dA,createUnionTypeAnnotation:xie,isFlowType:Sie,isTSType:vie}=Tie;function Pie(e){{if(e.every(t=>Sie(t)))return fA?fA(e):xie(e);if(e.every(t=>vie(t))&&dA)return dA(e)}}});var bA=x(o0=>{"use strict";Object.defineProperty(o0,"__esModule",{value:!0});o0.default=Iie;var Aie=Fe(),mA=a0(),{BOOLEAN_NUMBER_BINARY_OPERATORS:Cie,createTypeAnnotationBasedOnTypeof:Die,numberTypeAnnotation:yA,voidTypeAnnotation:wie}=Aie;function Iie(e){if(!this.isReferenced())return;let t=this.scope.getBinding(e.name);if(t)return t.identifier.typeAnnotation?t.identifier.typeAnnotation:_ie(t,this,e.name);if(e.name==="undefined")return wie();if(e.name==="NaN"||e.name==="Infinity")return yA();e.name}function _ie(e,t,r){let n=[],s=[],i=hA(e,t,s),a=gA(e,t,r);if(a){let o=hA(e,a.ifStatement);i=i.filter(l=>!o.includes(l)),n.push(a.typeAnnotation)}if(i.length){i.push(...s);for(let o of i)n.push(o.getTypeAnnotation())}if(n.length)return(0,mA.createUnionType)(n)}function hA(e,t,r){let n=e.constantViolations.slice();return n.unshift(e.path),n.filter(s=>{s=s.resolve();let i=s._guessExecutionStatusRelativeTo(t);return r&&i==="unknown"&&r.push(s),i==="before"})}function Nie(e,t){let r=t.node.operator,n=t.get("right").resolve(),s=t.get("left").resolve(),i;if(s.isIdentifier({name:e})?i=n:n.isIdentifier({name:e})&&(i=s),i)return r==="==="?i.getTypeAnnotation():Cie.includes(r)?yA():void 0;if(r!=="==="&&r!=="==")return;let a,o;if(s.isUnaryExpression({operator:"typeof"})?(a=s,o=n):n.isUnaryExpression({operator:"typeof"})&&(a=n,o=s),!a||!a.get("argument").isIdentifier({name:e})||(o=o.resolve(),!o.isLiteral()))return;let l=o.node.value;if(typeof l=="string")return Die(l)}function Oie(e,t,r){let n;for(;n=t.parentPath;){if(n.isIfStatement()||n.isConditionalExpression())return t.key==="test"?void 0:n;if(n.isFunction()&&n.parentPath.scope.getBinding(r)!==e)return;t=n}}function gA(e,t,r){let n=Oie(e,t,r);if(!n)return;let i=[n.get("test")],a=[];for(let o=0;o<i.length;o++){let l=i[o];if(l.isLogicalExpression())l.node.operator==="&&"&&(i.push(l.get("left")),i.push(l.get("right")));else if(l.isBinaryExpression()){let u=Nie(r,l);u&&a.push(u)}}return a.length?{typeAnnotation:(0,mA.createUnionType)(a),ifStatement:n}:gA(e,n,r)}});var CA=x(ht=>{"use strict";Object.defineProperty(ht,"__esModule",{value:!0});ht.ArrayExpression=vA;ht.AssignmentExpression=tae;ht.BinaryExpression=Jie;ht.BooleanLiteral=iae;ht.CallExpression=hae;ht.ConditionalExpression=Qie;ht.ClassDeclaration=ht.ClassExpression=ht.FunctionDeclaration=ht.ArrowFunctionExpression=ht.FunctionExpression=uae;Object.defineProperty(ht,"Identifier",{enumerable:!0,get:function(){return kie.default}});ht.LogicalExpression=zie;ht.NewExpression=Gie;ht.NullLiteral=aae;ht.NumericLiteral=sae;ht.ObjectExpression=lae;ht.ParenthesizedExpression=eae;ht.RegExpLiteral=oae;ht.RestElement=PA;ht.SequenceExpression=Zie;ht.StringLiteral=nae;ht.TSAsExpression=SA;ht.TSNonNullExpression=Hie;ht.TaggedTemplateExpression=mae;ht.TemplateLiteral=Xie;ht.TypeCastExpression=xA;ht.UnaryExpression=Yie;ht.UpdateExpression=rae;ht.VariableDeclarator=Kie;var Bie=Fe(),kie=bA(),TA=a0(),{BOOLEAN_BINARY_OPERATORS:Fie,BOOLEAN_UNARY_OPERATORS:Lie,NUMBER_BINARY_OPERATORS:jie,NUMBER_UNARY_OPERATORS:Mie,STRING_UNARY_OPERATORS:Rie,anyTypeAnnotation:EA,arrayTypeAnnotation:l0,booleanTypeAnnotation:u0,buildMatchMemberExpression:Ec,genericTypeAnnotation:Us,identifier:wi,nullLiteralTypeAnnotation:qie,numberTypeAnnotation:Da,stringTypeAnnotation:Ii,tupleTypeAnnotation:Uie,unionTypeAnnotation:Vie,voidTypeAnnotation:$ie,isIdentifier:Wie}=Bie;function Kie(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()}function xA(e){return e.typeAnnotation}xA.validParent=!0;function SA(e){return e.typeAnnotation}SA.validParent=!0;function Hie(){return this.get("expression").getTypeAnnotation()}function Gie(e){if(e.callee.type==="Identifier")return Us(e.callee)}function Xie(){return Ii()}function Yie(e){let t=e.operator;if(t==="void")return $ie();if(Mie.includes(t))return Da();if(Rie.includes(t))return Ii();if(Lie.includes(t))return u0()}function Jie(e){let t=e.operator;if(jie.includes(t))return Da();if(Fie.includes(t))return u0();if(t==="+"){let r=this.get("right"),n=this.get("left");return n.isBaseType("number")&&r.isBaseType("number")?Da():n.isBaseType("string")||r.isBaseType("string")?Ii():Vie([Ii(),Da()])}}function zie(){let e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,TA.createUnionType)(e)}function Qie(){let e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,TA.createUnionType)(e)}function Zie(){return this.get("expressions").pop().getTypeAnnotation()}function eae(){return this.get("expression").getTypeAnnotation()}function tae(){return this.get("right").getTypeAnnotation()}function rae(e){let t=e.operator;if(t==="++"||t==="--")return Da()}function nae(){return Ii()}function sae(){return Da()}function iae(){return u0()}function aae(){return qie()}function oae(){return Us(wi("RegExp"))}function lae(){return Us(wi("Object"))}function vA(){return Us(wi("Array"))}function PA(){return vA()}PA.validParent=!0;function uae(){return Us(wi("Function"))}var cae=Ec("Array.from"),pae=Ec("Object.keys"),fae=Ec("Object.values"),dae=Ec("Object.entries");function hae(){let{callee:e}=this.node;return pae(e)?l0(Ii()):cae(e)||fae(e)||Wie(e,{name:"Array"})?l0(EA()):dae(e)?l0(Uie([Ii(),EA()])):AA(this.get("callee"))}function mae(){return AA(this.get("tag"))}function AA(e){if(e=e.resolve(),e.isFunction()){let{node:t}=e;if(t.async)return t.generator?Us(wi("AsyncIterator")):Us(wi("Promise"));if(t.generator)return Us(wi("Iterator"));if(e.node.returnType)return e.node.returnType}}});var NA=x(Vs=>{"use strict";Object.defineProperty(Vs,"__esModule",{value:!0});Vs._getTypeAnnotation=_A;Vs.baseTypeStrictlyMatches=jae;Vs.couldBeBaseType=Lae;Vs.getTypeAnnotation=kae;Vs.isBaseType=Fae;Vs.isGenericType=Mae;var DA=CA(),yae=Fe(),{anyTypeAnnotation:IA,isAnyTypeAnnotation:Tc,isArrayTypeAnnotation:gae,isBooleanTypeAnnotation:bae,isEmptyTypeAnnotation:Eae,isFlowBaseAnnotation:Tae,isGenericTypeAnnotation:xae,isIdentifier:wA,isMixedTypeAnnotation:Sae,isNumberTypeAnnotation:vae,isStringTypeAnnotation:Pae,isTSArrayType:Aae,isTSTypeAnnotation:Cae,isTSTypeReference:Dae,isTupleTypeAnnotation:wae,isTypeAnnotation:Iae,isUnionTypeAnnotation:_ae,isVoidTypeAnnotation:Nae,stringTypeAnnotation:Oae,voidTypeAnnotation:Bae}=yae;function kae(){let e=this.getData("typeAnnotation");return e!=null||(e=_A.call(this)||IA(),(Iae(e)||Cae(e))&&(e=e.typeAnnotation),this.setData("typeAnnotation",e)),e}var c0=new WeakSet;function _A(){let e=this.node;if(!e)if(this.key==="init"&&this.parentPath.isVariableDeclarator()){let r=this.parentPath.parentPath,n=r.parentPath;return r.key==="left"&&n.isForInStatement()?Oae():r.key==="left"&&n.isForOfStatement()?IA():Bae()}else return;if(e.typeAnnotation)return e.typeAnnotation;if(!c0.has(e)){c0.add(e);try{var t;let r=DA[e.type];if(r)return r.call(this,e);if(r=DA[this.parentPath.type],(t=r)!=null&&t.validParent)return this.parentPath.getTypeAnnotation()}finally{c0.delete(e)}}}function Fae(e,t){return p0(e,this.getTypeAnnotation(),t)}function p0(e,t,r){if(e==="string")return Pae(t);if(e==="number")return vae(t);if(e==="boolean")return bae(t);if(e==="any")return Tc(t);if(e==="mixed")return Sae(t);if(e==="empty")return Eae(t);if(e==="void")return Nae(t);if(r)return!1;throw new Error(`Unknown base type ${e}`)}function Lae(e){let t=this.getTypeAnnotation();if(Tc(t))return!0;if(_ae(t)){for(let r of t.types)if(Tc(r)||p0(e,r,!0))return!0;return!1}else return p0(e,t,!0)}function jae(e){let t=this.getTypeAnnotation(),r=e.getTypeAnnotation();return!Tc(t)&&Tae(t)?r.type===t.type:!1}function Mae(e){let t=this.getTypeAnnotation();return e==="Array"&&(Aae(t)||gae(t)||wae(t))?!0:xae(t)&&wA(t.id,{name:e})||Dae(t)&&wA(t.typeName,{name:e})}});var OA=x(xc=>{"use strict";Object.defineProperty(xc,"__esModule",{value:!0});xc.hooks=void 0;var i_e=xc.hooks=[function(e,t){if(e.key==="test"&&(t.isWhile()||t.isSwitchCase())||e.key==="declaration"&&t.isExportDeclaration()||e.key==="body"&&t.isLabeledStatement()||e.listKey==="declarations"&&t.isVariableDeclaration()&&t.node.declarations.length===1||e.key==="expression"&&t.isExpressionStatement())return t.remove(),!0},function(e,t){if(t.isSequenceExpression()&&t.node.expressions.length===1)return t.replaceWith(t.node.expressions[0]),!0},function(e,t){if(t.isBinary())return e.key==="left"?t.replaceWith(t.node.right):t.replaceWith(t.node.left),!0},function(e,t){if(t.isIfStatement()&&e.key==="consequent"||e.key==="body"&&(t.isLoop()||t.isArrowFunctionExpression()))return e.replaceWith({type:"BlockStatement",body:[]}),!0}]});var Sc=x($s=>{"use strict";Object.defineProperty($s,"__esModule",{value:!0});$s._assertUnremoved=jA;$s._callRemovalHooks=FA;$s._markRemoved=f0;$s._remove=LA;$s._removeFromScope=kA;$s.remove=Hae;var Rae=OA(),qae=vi(),Uae=d0(),BA=as(),Vae=Fe(),$ae=vc(),Wae=Pn(),{getBindingIdentifiers:Kae}=Vae;function Hae(){var e;if(jA.call(this),Wae.resync.call(this),FA.call(this)){f0.call(this);return}(e=this.opts)!=null&&e.noScope||kA.call(this),this.shareCommentsWithSiblings(),LA.call(this),f0.call(this)}function kA(){let e=Kae(this.node,!1,!1,!0);Object.keys(e).forEach(t=>this.scope.removeBinding(t))}function FA(){if(this.parentPath){for(let e of Rae.hooks)if(e(this,this.parentPath))return!0}}function LA(){Array.isArray(this.container)?(this.container.splice(this.key,1),$ae.updateSiblingKeys.call(this,this.key,-1)):Uae._replaceWith.call(this,null)}function f0(){if(this._traverseFlags|=BA.SHOULD_SKIP|BA.REMOVED,this.parent){var e;(e=(0,qae.getCachedPaths)(this))==null||e.delete(this.node)}this.node=null}function jA(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}});var RA=x(Pc=>{"use strict";Object.defineProperty(Pc,"__esModule",{value:!0});Pc.default=void 0;var MA=Fe(),Gae=MA,{react:Xae}=MA,{cloneNode:Yae,jsxExpressionContainer:Jae,variableDeclaration:zae,variableDeclarator:Qae}=Gae,Zae={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&Xae.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression())return;if(e.node.name==="this"){let n=e.scope;do if(n.path.isFunction()&&!n.path.isArrowFunctionExpression())break;while(n=n.parent);n&&t.breakOnScopePaths.push(n.path)}let r=e.scope.getBinding(e.node.name);if(r){for(let n of r.constantViolations)if(n.scope!==r.path.scope){t.mutableBinding=!0,e.stop();return}r===t.scope.getBinding(e.node.name)&&(t.bindings[e.node.name]=r)}}},h0=class{constructor(t,r){this.breakOnScopePaths=void 0,this.bindings=void 0,this.mutableBinding=void 0,this.scopes=void 0,this.scope=void 0,this.path=void 0,this.attachAfter=void 0,this.breakOnScopePaths=[],this.bindings={},this.mutableBinding=!1,this.scopes=[],this.scope=r,this.path=t,this.attachAfter=!1}isCompatibleScope(t){for(let r of Object.keys(this.bindings)){let n=this.bindings[r];if(!t.bindingIdentifierEquals(r,n.identifier))return!1}return!0}getCompatibleScopes(){let t=this.path.scope;do{if(this.isCompatibleScope(t))this.scopes.push(t);else break;if(this.breakOnScopePaths.includes(t.path))break}while(t=t.parent)}getAttachmentPath(){let t=this._getAttachmentPath();if(!t)return;let r=t.scope;if(r.path===t&&(r=t.scope.parent),r.path.isProgram()||r.path.isFunction())for(let n of Object.keys(this.bindings)){if(!r.hasOwnBinding(n))continue;let s=this.bindings[n];if(s.kind==="param"||s.path.parentKey==="params")continue;if(this.getAttachmentParentForPath(s.path).key>=t.key){this.attachAfter=!0,t=s.path;for(let a of s.constantViolations)this.getAttachmentParentForPath(a).key>t.key&&(t=a)}}return t}_getAttachmentPath(){let r=this.scopes.pop();if(r){if(r.path.isFunction())if(this.hasOwnParamBindings(r)){if(this.scope===r)return;let n=r.path.get("body").get("body");for(let s=0;s<n.length;s++)if(!n[s].node._blockHoist)return n[s]}else return this.getNextScopeAttachmentParent();else if(r.path.isProgram())return this.getNextScopeAttachmentParent()}}getNextScopeAttachmentParent(){let t=this.scopes.pop();if(t)return this.getAttachmentParentForPath(t.path)}getAttachmentParentForPath(t){do if(!t.parentPath||Array.isArray(t.container)&&t.isStatement())return t;while(t=t.parentPath)}hasOwnParamBindings(t){for(let r of Object.keys(this.bindings)){if(!t.hasOwnBinding(r))continue;let n=this.bindings[r];if(n.kind==="param"&&n.constant)return!0}return!1}run(){if(this.path.traverse(Zae,this),this.mutableBinding)return;this.getCompatibleScopes();let t=this.getAttachmentPath();if(!t||t.getFunctionParent()===this.path.getFunctionParent())return;let r=t.scope.generateUidIdentifier("ref"),n=Qae(r,this.path.node),s=this.attachAfter?"insertAfter":"insertBefore",[i]=t[s]([t.isVariableDeclarator()?n:zae("var",[n])]),a=this.path.parentPath;return a.isJSXElement()&&this.path.container===a.node.children&&(r=Jae(r)),this.path.replaceWith(Yae(r)),t.isVariableDeclarator()?i.get("init"):i.get("declarations.0.init")}};Pc.default=h0});var vc=x(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn._containerInsert=E0;dn._containerInsertAfter=VA;dn._containerInsertBefore=T0;dn._verifyNodeList=zo;dn.insertAfter=yoe;dn.insertBefore=hoe;dn.pushContainer=boe;dn.unshiftContainer=goe;dn.updateSiblingKeys=KA;var eoe=vi(),b0=as(),m0=Pn(),Ac=Sc(),toe=Fe(),roe=RA(),{arrowFunctionExpression:noe,assertExpression:soe,assignmentExpression:ioe,blockStatement:qA,callExpression:aoe,cloneNode:y0,expressionStatement:g0,isAssignmentExpression:ooe,isCallExpression:loe,isExportNamedDeclaration:UA,isExpression:uoe,isIdentifier:coe,isSequenceExpression:poe,isSuper:foe,thisExpression:doe}=toe;function hoe(e){Ac._assertUnremoved.call(this);let t=zo.call(this,e),{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||UA(n)||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertBefore(t);if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&this.key==="init")return this.node&&t.push(this.node),this.replaceExpressionWithStatements(t);if(Array.isArray(this.container))return T0.call(this,t);if(this.isStatementOrBlock()){let s=this.node,i=s&&(!this.isExpressionStatement()||s.expression!=null);return this.replaceWith(qA(i?[s]:[])),this.unshiftContainer("body",t)}else throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")}function E0(e,t){KA.call(this,e,t.length);let r=[];this.container.splice(e,0,...t);for(let i=0;i<t.length;i++){var n;let a=e+i,o=this.getSibling(a);r.push(o),(n=this.context)!=null&&n.queue&&m0.pushContext.call(o,this.context)}let s=m0._getQueueContexts.call(this);for(let i of r){m0.setScope.call(i),i.debug("Inserted.");for(let a of s)a.maybeQueue(i,!0)}return r}function T0(e){return E0.call(this,this.key,e)}function VA(e){return E0.call(this,this.key+1,e)}var $A=e=>e[e.length-1];function WA(e){return poe(e.parent)&&($A(e.parent.expressions)!==e.node||WA(e.parentPath))}function moe(e,t){if(!ooe(e)||!coe(e.left))return!1;let r=t.getBlockParent();return r.hasOwnBinding(e.left.name)&&r.getOwnBinding(e.left.name).constantViolations.length<=1}function yoe(e){if(Ac._assertUnremoved.call(this),this.isSequenceExpression())return $A(this.get("expressions")).insertAfter(e);let t=zo.call(this,e),{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||UA(n)||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertAfter(t.map(s=>uoe(s)?g0(s):s));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){let s=this;if(s.node){let i=s.node,{scope:a}=this;if(a.path.isPattern())return soe(i),s.replaceWith(aoe(noe([],i),[])),s.get("callee.body").insertAfter(t),[s];if(WA(s))t.unshift(i);else if(loe(i)&&foe(i.callee))t.unshift(i),t.push(doe());else if(moe(i,a))t.unshift(i),t.push(y0(i.left));else if(a.isPure(i,!0))t.push(i);else{r.isMethod({computed:!0,key:i})&&(a=a.parent);let o=a.generateDeclaredUidIdentifier();t.unshift(g0(ioe("=",y0(o),i))),t.push(g0(y0(o)))}}return this.replaceExpressionWithStatements(t)}else{if(Array.isArray(this.container))return VA.call(this,t);if(this.isStatementOrBlock()){let s=this.node,i=s&&(!this.isExpressionStatement()||s.expression!=null);return this.replaceWith(qA(i?[s]:[])),this.pushContainer("body",t)}else throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")}}function KA(e,t){if(!this.parent)return;let r=(0,eoe.getCachedPaths)(this);if(r)for(let[,n]of r)typeof n.key=="number"&&n.container===this.container&&n.key>=e&&(n.key+=t)}function zo(e){if(!e)return[];Array.isArray(e)||(e=[e]);for(let t=0;t<e.length;t++){let r=e[t],n;if(r?typeof r!="object"?n="contains a non-object node":r.type?r instanceof b0.default&&(n="has a NodePath when it expected a raw object"):n="without a type":n="has falsy node",n){let s=Array.isArray(r)?"array":typeof r;throw new Error(`Node list ${n} with the index of ${t} and type of ${s}`)}}return e}function goe(e,t){Ac._assertUnremoved.call(this),t=zo.call(this,t);let r=b0.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).setContext(this.context);return T0.call(r,t)}function boe(e,t){Ac._assertUnremoved.call(this);let r=zo.call(this,t),n=this.node[e];return b0.default.get({parentPath:this,parent:this.node,container:n,listKey:e,key:n.length}).setContext(this.context).replaceWithMultiple(r)}dn.hoist=function(t=this.scope){return new roe.default(this,t).run()}});var d0=x(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws._replaceWith=ZA;Ws.replaceExpressionWithStatements=Hoe;Ws.replaceInline=Goe;Ws.replaceWith=Koe;Ws.replaceWithMultiple=$oe;Ws.replaceWithSourceString=Woe;var Eoe=Ta(),S0=zt(),Toe=as(),JA=vi(),v0=vc(),xoe=Ro(),Soe=Fe(),wa=Pn(),{FUNCTION_TYPES:HA,arrowFunctionExpression:voe,assignmentExpression:zA,awaitExpression:Poe,blockStatement:Aoe,buildUndefinedNode:x0,callExpression:Coe,cloneNode:P0,conditionalExpression:Doe,expressionStatement:woe,getBindingIdentifiers:Ioe,identifier:_oe,inheritLeadingComments:Noe,inheritTrailingComments:Ooe,inheritsComments:Boe,isBlockStatement:koe,isEmptyStatement:GA,isExpression:QA,isExpressionStatement:Foe,isIfStatement:Loe,isProgram:joe,isStatement:Moe,isVariableDeclaration:Roe,removeComments:qoe,returnStatement:XA,sequenceExpression:Uoe,validate:YA,yieldExpression:Voe}=Soe;function $oe(e){var t;wa.resync.call(this),e=v0._verifyNodeList.call(this,e),Noe(e[0],this.node),Ooe(e[e.length-1],this.node),(t=(0,JA.getCachedPaths)(this))==null||t.delete(this.node),this.node=this.container[this.key]=null;let r=this.insertAfter(e);return this.node?this.requeue():this.remove(),r}function Woe(e){wa.resync.call(this);let t;try{e=`(${e})`,t=(0,xoe.parse)(e)}catch(n){let s=n.loc;throw s&&(n.message+=` - make sure this is an expression.
|
|
`+(0,Eoe.codeFrameColumns)(e,{start:{line:s.line,column:s.column+1}}),n.code="BABEL_REPLACE_SOURCE_ERROR"),n}let r=t.program.body[0].expression;return S0.default.removeProperties(r),this.replaceWith(r)}function Koe(e){if(wa.resync.call(this),this.removed)throw new Error("You can't replace this node, we've already removed it");let t=e instanceof Toe.default?e.node:e;if(!t)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===t)return[this];if(this.isProgram()&&!joe(t))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(t))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if(typeof t=="string")throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let r="";if(this.isNodeType("Statement")&&QA(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t)&&!this.parentPath.isExportDefaultDeclaration()&&(t=woe(t),r="expression"),this.isNodeType("Expression")&&Moe(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t))return this.replaceExpressionWithStatements([t]);let n=this.node;return n&&(Boe(t,n),qoe(n)),ZA.call(this,t),this.type=t.type,wa.setScope.call(this),this.requeue(),[r?this.get(r):this]}function ZA(e){var t;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?YA(this.parent,this.key,[e]):YA(this.parent,this.key,e),this.debug(`Replace with ${e==null?void 0:e.type}`),(t=(0,JA.getCachedPaths)(this))==null||t.set(e,this).delete(this.node),this.node=this.container[this.key]=e}function Hoe(e){wa.resync.call(this);let t=[],r=Cc(e,t);if(r){for(let d of t)this.scope.push({id:d});return this.replaceWith(r)[0].get("expressions")}let n=this.getFunctionParent(),s=n==null?void 0:n.node.async,i=n==null?void 0:n.node.generator,a=voe([],Aoe(e));this.replaceWith(Coe(a,[]));let o=this.get("callee");o.get("body").scope.hoistVariables(d=>this.scope.push({id:d}));let l=o.getCompletionRecords();for(let d of l){if(!d.isExpressionStatement())continue;let m=d.findParent(g=>g.isLoop());if(m){let g=m.getData("expressionReplacementReturnUid");g?g=_oe(g.name):(g=o.scope.generateDeclaredUidIdentifier("ret"),o.get("body").pushContainer("body",XA(P0(g))),m.setData("expressionReplacementReturnUid",g)),d.get("expression").replaceWith(zA("=",P0(g),d.node.expression))}else d.replaceWith(XA(d.node.expression))}o.arrowFunctionToExpression();let u=o,c=s&&S0.default.hasType(this.get("callee.body").node,"AwaitExpression",HA),p=i&&S0.default.hasType(this.get("callee.body").node,"YieldExpression",HA);return c&&(u.set("async",!0),p||this.replaceWith(Poe(this.node))),p&&(u.set("generator",!0),this.replaceWith(Voe(this.node,!0))),u.get("body.body")}function Cc(e,t){let r=[],n=!0;for(let s of e)if(GA(s)||(n=!1),QA(s))r.push(s);else if(Foe(s))r.push(s.expression);else if(Roe(s)){if(s.kind!=="var")return;for(let i of s.declarations){let a=Ioe(i);for(let o of Object.keys(a))t.push(P0(a[o]));i.init&&r.push(zA("=",i.id,i.init))}n=!0}else if(Loe(s)){let i=s.consequent?Cc([s.consequent],t):x0(),a=s.alternate?Cc([s.alternate],t):x0();if(!i||!a)return;r.push(Doe(s.test,i,a))}else if(koe(s)){let i=Cc(s.body,t);if(!i)return;r.push(i)}else if(GA(s))e.indexOf(s)===0&&(n=!0);else return;return n&&r.push(x0()),r.length===1?r[0]:Uoe(r)}function Goe(e){if(wa.resync.call(this),Array.isArray(e))if(Array.isArray(this.container)){e=v0._verifyNodeList.call(this,e);let t=v0._containerInsertAfter.call(this,e);return this.remove(),t}else return this.replaceWithMultiple(e);else return this.replaceWith(e)}});var nC=x(Dc=>{"use strict";Object.defineProperty(Dc,"__esModule",{value:!0});Dc.evaluate=tle;Dc.evaluateTruthy=Zoe;var Xoe=["Number","String","Math"],Yoe=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],Joe=["random"];function eC(e){return Xoe.includes(e)}function zoe(e){return Yoe.includes(e)}function Qoe(e){return Joe.includes(e)}function Zoe(){let e=this.evaluate();if(e.confident)return!!e.value}function Cn(e,t){t.confident&&(t.deoptPath=e,t.confident=!1)}var tC=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function jr(e,t){let{node:r}=e,{seen:n}=t;if(n.has(r)){let s=n.get(r);if(s.resolved)return s.value;Cn(e,t);return}else{let s={resolved:!1};n.set(r,s);let i=ele(e,t);return t.confident&&(s.resolved=!0,s.value=i),i}}function ele(e,t){if(t.confident){if(e.isSequenceExpression()){let n=e.get("expressions");return jr(n[n.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral())return e.node.value;if(e.isNullLiteral())return null;if(e.isTemplateLiteral())return rC(e,e.node.quasis,t);if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){let n=e.get("tag.object"),{node:{name:s}}=n,i=e.get("tag.property");if(n.isIdentifier()&&s==="String"&&!e.scope.getBinding(s)&&i.isIdentifier()&&i.node.name==="raw")return rC(e,e.node.quasi.quasis,t,!0)}if(e.isConditionalExpression()){let n=jr(e.get("test"),t);return t.confident?jr(n?e.get("consequent"):e.get("alternate"),t):void 0}if(e.isExpressionWrapper())return jr(e.get("expression"),t);if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){let n=e.get("property"),s=e.get("object");if(s.isLiteral()){let i=s.node.value,a=typeof i,o=null;if(e.node.computed){if(o=jr(n,t),!t.confident)return}else n.isIdentifier()&&(o=n.node.name);if((a==="number"||a==="string")&&o!=null&&(typeof o=="number"||typeof o=="string"))return i[o]}}if(e.isReferencedIdentifier()){let n=e.scope.getBinding(e.node.name);if(n){if(n.constantViolations.length>0||e.node.start<n.path.node.end){Cn(n.path,t);return}let o=n.path.scope;if(n.kind==="var"&&o!==n.scope){let l=!o.path.parentPath.isBlockStatement();for(let u=o.parent;u;u=u.parent){var r;if(u===e.scope){if(l){Cn(n.path,t);return}break}(r=u.path.parentPath)!=null&&r.isBlockStatement()&&(l=!0)}}if(n.hasValue)return n.value}let s=e.node.name;if(tC.has(s)){if(!n)return tC.get(s);Cn(n.path,t);return}let i=e.resolve();if(i===e){Cn(e,t);return}let a=jr(i,t);if(typeof a=="object"&&a!==null&&n.references>1){Cn(i,t);return}return a}if(e.isUnaryExpression({prefix:!0})){if(e.node.operator==="void")return;let n=e.get("argument");if(e.node.operator==="typeof"&&(n.isFunction()||n.isClass()))return"function";let s=jr(n,t);if(!t.confident)return;switch(e.node.operator){case"!":return!s;case"+":return+s;case"-":return-s;case"~":return~s;case"typeof":return typeof s}}if(e.isArrayExpression()){let n=[],s=e.get("elements");for(let i of s){let a=i.evaluate();if(a.confident)n.push(a.value);else{Cn(a.deopt,t);return}}return n}if(e.isObjectExpression()){let n={},s=e.get("properties");for(let i of s){if(i.isObjectMethod()||i.isSpreadElement()){Cn(i,t);return}let a=i.get("key"),o;if(i.node.computed){if(o=a.evaluate(),!o.confident){Cn(o.deopt,t);return}o=o.value}else a.isIdentifier()?o=a.node.name:o=a.node.value;let u=i.get("value").evaluate();if(!u.confident){Cn(u.deopt,t);return}u=u.value,n[o]=u}return n}if(e.isLogicalExpression()){let n=t.confident,s=jr(e.get("left"),t),i=t.confident;t.confident=n;let a=jr(e.get("right"),t),o=t.confident;switch(e.node.operator){case"||":return t.confident=i&&(!!s||o),t.confident?s||a:void 0;case"&&":return t.confident=i&&(!s||o),t.confident?s&&a:void 0;case"??":return t.confident=i&&(s!=null||o),t.confident?s!=null?s:a:void 0}}if(e.isBinaryExpression()){let n=jr(e.get("left"),t);if(!t.confident)return;let s=jr(e.get("right"),t);if(!t.confident)return;switch(e.node.operator){case"-":return n-s;case"+":return n+s;case"/":return n/s;case"*":return n*s;case"%":return n%s;case"**":return Math.pow(n,s);case"<":return n<s;case">":return n>s;case"<=":return n<=s;case">=":return n>=s;case"==":return n==s;case"!=":return n!=s;case"===":return n===s;case"!==":return n!==s;case"|":return n|s;case"&":return n&s;case"^":return n^s;case"<<":return n<<s;case">>":return n>>s;case">>>":return n>>>s}}if(e.isCallExpression()){let n=e.get("callee"),s,i;if(n.isIdentifier()&&!e.scope.getBinding(n.node.name)&&(eC(n.node.name)||zoe(n.node.name))&&(i=global[n.node.name]),n.isMemberExpression()){let a=n.get("object"),o=n.get("property");if(a.isIdentifier()&&o.isIdentifier()&&eC(a.node.name)&&!Qoe(o.node.name)){s=global[a.node.name];let l=o.node.name;hasOwnProperty.call(s,l)&&(i=s[l])}if(a.isLiteral()&&o.isIdentifier()){let l=typeof a.node.value;(l==="string"||l==="number")&&(s=a.node.value,i=s[o.node.name])}}if(i){let a=e.get("arguments").map(o=>jr(o,t));return t.confident?i.apply(s,a):void 0}}Cn(e,t)}}function rC(e,t,r,n=!1){let s="",i=0,a=e.isTemplateLiteral()?e.get("expressions"):e.get("quasi.expressions");for(let o of t){if(!r.confident)break;s+=n?o.value.raw:o.value.cooked;let l=a[i++];l&&(s+=String(jr(l,r)))}if(r.confident)return s}function tle(){let e={confident:!0,deoptPath:null,seen:new Map},t=jr(this,e);return e.confident||(t=void 0),{confident:e.confident,deopt:e.deoptPath,value:t}}});var pC=x(os=>{"use strict";Object.defineProperty(os,"__esModule",{value:!0});os.arrowFunctionToExpression=Nle;os.ensureBlock=wle;os.ensureFunctionName=$le;os.splitExportDeclaration=Ule;os.toComputedKey=Dle;os.unwrapFunctionEnvironment=Ile;var rle=Fe(),nle=$o(),D0=Yu(),sle=Pn(),{arrowFunctionExpression:w0,assignmentExpression:_i,binaryExpression:A0,blockStatement:ile,callExpression:Ia,conditionalExpression:ale,expressionStatement:aC,identifier:St,isIdentifier:ole,jsxIdentifier:lle,logicalExpression:ule,LOGICAL_OPERATORS:cle,memberExpression:Dn,metaProperty:ple,numericLiteral:fle,objectExpression:dle,restElement:hle,returnStatement:mle,sequenceExpression:yle,spreadElement:gle,stringLiteral:oC,super:C0,thisExpression:Qo,toExpression:lC,unaryExpression:ble,toBindingIdentifierName:Ele,isFunction:Tle,isAssignmentPattern:xle,isRestElement:Sle,getFunctionName:vle,cloneNode:Ni,variableDeclaration:Ple,variableDeclarator:Ale,exportNamedDeclaration:sC,exportSpecifier:iC,inherits:Cle}=rle;function Dle(){let e;if(this.isMemberExpression())e=this.node.property;else if(this.isProperty()||this.isMethod())e=this.node.key;else throw new ReferenceError("todo");return this.node.computed||ole(e)&&(e=oC(e.name)),e}function wle(){let e=this.get("body"),t=e.node;if(Array.isArray(e))throw new Error("Can't convert array path to a block statement");if(!t)throw new Error("Can't convert node without a body");if(e.isBlockStatement())return t;let r=[],n="body",s,i;e.isStatement()?(i="body",s=0,r.push(e.node)):(n+=".body.0",this.isFunction()?(s="argument",r.push(mle(e.node))):(s="expression",r.push(aC(e.node)))),this.node.body=ile(r);let a=this.get(n);return sle.setup.call(e,a,i?a.node[i]:a.node,i,s),this.node}os.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};function Ile(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");uC(this)}function _le(e,t){e.node.type=t}function Nle({allowInsertArrow:e=!0,allowInsertArrowWithRest:t=e,noNewArrows:r=!(n=>(n=arguments[0])==null?void 0:n.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let n=this;if(!r){var s;n=(s=n.ensureFunctionName(!1))!=null?s:n}let{thisBinding:i,fnPath:a}=uC(n,r,e,t);if(a.ensureBlock(),_le(a,"FunctionExpression"),!r){let o=i?null:a.scope.generateUidIdentifier("arrowCheckId");return o&&a.parentPath.scope.push({id:o,init:dle([])}),a.get("body").unshiftContainer("body",aC(Ia(this.hub.addHelper("newArrowCheck"),[Qo(),St(o?o.name:i)]))),a.replaceWith(Ia(Dn(a.node,St("bind")),[o?St(o.name):Qo()])),a.get("callee.object")}return a}var Ole=(0,D0.environmentVisitor)({CallExpression(e,{allSuperCalls:t}){e.get("callee").isSuper()&&t.push(e)}});function uC(e,t=!0,r=!0,n=!0){let s,i=e.findParent(m=>m.isArrowFunctionExpression()?(s!=null||(s=m),!1):m.isFunction()||m.isProgram()||m.isClassProperty({static:!1})||m.isClassPrivateProperty({static:!1})),a=i.isClassMethod({kind:"constructor"});if(i.isClassProperty()||i.isClassPrivateProperty())if(s)i=s;else if(r)e.replaceWith(Ia(w0([],lC(e.node)),[])),i=e.get("callee"),e=i.get("body");else throw e.buildCodeFrameError("Unable to transform arrow inside class property");let{thisPaths:o,argumentsPaths:l,newTargetPaths:u,superProps:c,superCalls:p}=qle(e);if(a&&p.length>0){if(!r)throw p[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super()` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");if(!n)throw p[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");let m=[];i.traverse(Ole,{allSuperCalls:m});let g=jle(i);m.forEach(f=>{let b=St(g);b.loc=f.node.callee.loc,f.get("callee").replaceWith(b)})}if(l.length>0){let m=Zo(i,"arguments",()=>{let g=()=>St("arguments");return i.scope.path.isProgram()?ale(A0("===",ble("typeof",g()),oC("undefined")),i.scope.buildUndefinedNode(),g()):g()});l.forEach(g=>{let f=St(m);f.loc=g.node.loc,g.replaceWith(f)})}if(u.length>0){let m=Zo(i,"newtarget",()=>ple(St("new"),St("target")));u.forEach(g=>{let f=St(m);f.loc=g.node.loc,g.replaceWith(f)})}if(c.length>0){if(!r)throw c[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");c.reduce((g,f)=>g.concat(kle(f)),[]).forEach(g=>{let f=g.node.computed?"":g.get("property").node.name,b=g.parentPath,T=b.isAssignmentExpression({left:g.node}),w=b.isCallExpression({callee:g.node}),I=b.isTaggedTemplateExpression({tag:g.node}),N=Mle(i,T,f),L=[];if(g.node.computed&&L.push(g.get("property").node),T){let U=b.node.right;L.push(U)}let W=Ia(St(N),L);w?(b.unshiftContainer("arguments",Qo()),g.replaceWith(Dn(W,St("call"))),o.push(b.get("arguments.0"))):T?b.replaceWith(W):I?(g.replaceWith(Ia(Dn(W,St("bind"),!1),[Qo()])),o.push(g.get("arguments.0"))):g.replaceWith(W)})}let d;return(o.length>0||!t)&&(d=Lle(i,a),(t||a&&cC(i))&&(o.forEach(m=>{let g=m.isJSX()?lle(d):St(d);g.loc=m.node.loc,m.replaceWith(g)}),t||(d=null))),{thisBinding:d,fnPath:e}}function Ble(e){return cle.includes(e)}function kle(e){if(e.parentPath.isAssignmentExpression()&&e.parentPath.node.operator!=="="){let r=e.parentPath,n=r.node.operator.slice(0,-1),s=r.node.right,i=Ble(n);if(e.node.computed){let a=e.scope.generateDeclaredUidIdentifier("tmp"),o=e.node.object,l=e.node.property;r.get("left").replaceWith(Dn(o,_i("=",a,l),!0)),r.get("right").replaceWith(t(i?"=":n,Dn(o,St(a.name),!0),s))}else{let a=e.node.object,o=e.node.property;r.get("left").replaceWith(Dn(a,o)),r.get("right").replaceWith(t(i?"=":n,Dn(a,St(o.name)),s))}return i?r.replaceWith(ule(n,r.node.left,r.node.right)):r.node.operator="=",[r.get("left"),r.get("right").get("left")]}else if(e.parentPath.isUpdateExpression()){let r=e.parentPath,n=e.scope.generateDeclaredUidIdentifier("tmp"),s=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null,i=[_i("=",n,Dn(e.node.object,s?_i("=",s,e.node.property):e.node.property,e.node.computed)),_i("=",Dn(e.node.object,s?St(s.name):e.node.property,e.node.computed),A0(e.parentPath.node.operator[0],St(n.name),fle(1)))];e.parentPath.node.prefix||i.push(St(n.name)),r.replaceWith(yle(i));let a=r.get("expressions.0.right"),o=r.get("expressions.1.left");return[a,o]}return[e];function t(r,n,s){return r==="="?_i("=",n,s):A0(r,n,s)}}function cC(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}var Fle=(0,D0.environmentVisitor)({CallExpression(e,{supers:t,thisBinding:r}){e.get("callee").isSuper()&&(t.has(e.node)||(t.add(e.node),e.replaceWithMultiple([e.node,_i("=",St(r),St("this"))])))}});function Lle(e,t){return Zo(e,"this",r=>{if(!t||!cC(e))return Qo();e.traverse(Fle,{supers:new WeakSet,thisBinding:r})})}function jle(e){return Zo(e,"supercall",()=>{let t=e.scope.generateUidIdentifier("args");return w0([hle(t)],Ia(C0(),[gle(St(t.name))]))})}function Mle(e,t,r){return Zo(e,`superprop_${t?"set":"get"}:${r||""}`,()=>{let s=[],i;if(r)i=Dn(C0(),St(r));else{let a=e.scope.generateUidIdentifier("prop");s.unshift(a),i=Dn(C0(),St(a.name),!0)}if(t){let a=e.scope.generateUidIdentifier("value");s.push(a),i=_i("=",i,St(a.name))}return w0(s,i)})}function Zo(e,t,r){let n="binding:"+t,s=e.getData(n);if(!s){let i=e.scope.generateUidIdentifier(t);s=i.name,e.setData(n,s),e.scope.push({id:i,init:r(s)})}return s}var Rle=(0,D0.environmentVisitor)({ThisExpression(e,{thisPaths:t}){t.push(e)},JSXIdentifier(e,{thisPaths:t}){e.node.name==="this"&&(!e.parentPath.isJSXMemberExpression({object:e.node})&&!e.parentPath.isJSXOpeningElement({name:e.node})||t.push(e))},CallExpression(e,{superCalls:t}){e.get("callee").isSuper()&&t.push(e)},MemberExpression(e,{superProps:t}){e.get("object").isSuper()&&t.push(e)},Identifier(e,{argumentsPaths:t}){if(!e.isReferencedIdentifier({name:"arguments"}))return;let r=e.scope;do{if(r.hasOwnBinding("arguments")){r.rename("arguments");return}if(r.path.isFunction()&&!r.path.isArrowFunctionExpression())break}while(r=r.parent);t.push(e)},MetaProperty(e,{newTargetPaths:t}){e.get("meta").isIdentifier({name:"new"})&&e.get("property").isIdentifier({name:"target"})&&t.push(e)}});function qle(e){let t=[],r=[],n=[],s=[],i=[];return e.traverse(Rle,{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:s,superCalls:i}),{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:s,superCalls:i}}function Ule(){if(!this.isExportDeclaration()||this.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(this.isExportNamedDeclaration()&&this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let e=this.get("declaration");if(this.isExportDefaultDeclaration()){let s=e.isFunctionDeclaration()||e.isClassDeclaration(),i=e.isFunctionExpression()||e.isClassExpression(),a=e.isScope()?e.scope.parent:e.scope,o=e.node.id,l=!1;o?i&&a.hasBinding(o.name)&&(l=!0,o=a.generateUidIdentifier(o.name)):(l=!0,o=a.generateUidIdentifier("default"),(s||i)&&(e.node.id=Ni(o)));let u=s?e.node:Ple("var",[Ale(Ni(o),e.node)]),c=sC(null,[iC(Ni(o),St("default"))]);return this.insertAfter(c),this.replaceWith(u),l&&a.registerDeclaration(this),this}else if(this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let t=e.getOuterBindingIdentifiers(),r=Object.keys(t).map(s=>iC(St(s),St(s))),n=sC(null,r);return this.insertAfter(n),this.replaceWith(e.node),this}var Vle={"ReferencedIdentifier|BindingIdentifier"(e,t){e.node.name===t.name&&(t.needsRename=!0,e.stop())},Scope(e,t){e.scope.hasOwnBinding(t.name)&&e.skip()}};function $le(e){if(this.node.id)return this;let t=vle(this.node,this.parent);if(t==null)return this;let{name:r}=t;if(!e&&/[\uD800-\uDFFF]/.test(r)||r.startsWith("get ")||r.startsWith("set "))return null;r=Ele(r.replace(/[/ ]/g,"_"));let n=St(r);Cle(n,t.originalNode);let s={needsRename:!1,name:r},{scope:i}=this,a=i.getOwnBinding(r);if(a?a.kind==="param"&&(s.needsRename=!0):(i.parent.hasBinding(r)||i.hasGlobal(r))&&this.traverse(Vle,s),!s.needsRename)return this.node.id=n,i.getProgramParent().references[n.name]=!0,this;if(i.hasBinding(n.name)&&!i.hasGlobal(n.name))return i.rename(n.name),this.node.id=n,i.getProgramParent().references[n.name]=!0,this;if(!Tle(this.node))return null;let o=i.generateUidIdentifier(n.name),l=[];for(let c=0,p=Wle(this.node);c<p;c++)l.push(i.generateUidIdentifier("x"));let u=nle.default.expression.ast`
|
|
(function (${o}) {
|
|
function ${n}(${l}) {
|
|
return ${Ni(o)}.apply(this, arguments);
|
|
}
|
|
|
|
${Ni(n)}.toString = function () {
|
|
return ${Ni(o)}.toString();
|
|
}
|
|
|
|
return ${Ni(n)};
|
|
})(${lC(this.node)})
|
|
`;return this.replaceWith(u)[0].get("arguments.0")}function Wle(e){let t=e.params.findIndex(r=>xle(r)||Sle(r));return t===-1?e.params.length:t}});var gC=x(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});Kt._guessExecutionStatusRelativeTo=pue;Kt._resolve=yC;Kt.canHaveVariableDeclarationOrExpression=nue;Kt.canSwapBetweenExpressionAndStatement=sue;Kt.getSource=lue;Kt.isCompletionRecord=iue;Kt.isConstantExpression=mue;Kt.isInStrictMode=yue;Kt.isNodeType=rue;Kt.isStatementOrBlock=aue;Kt.isStatic=tue;Kt.matchesPattern=eue;Kt.referencesImport=oue;Kt.resolve=hue;Kt.willIMaybeExecuteBefore=uue;var Kle=Fe(),{STATEMENT_OR_BLOCK_KEYS:Hle,VISITOR_KEYS:Gle,isBlockStatement:mC,isExpression:Xle,isIdentifier:Yle,isLiteral:Jle,isStringLiteral:zle,isType:Qle,matchesPattern:Zle}=Kle;function eue(e,t){return Zle(this.node,e,t)}Kt.has=function(t){var r;let n=(r=this.node)==null?void 0:r[t];return n&&Array.isArray(n)?!!n.length:!!n};function tue(){return this.scope.isStatic(this.node)}Kt.is=Kt.has,Kt.isnt=function(t){return!this.has(t)},Kt.equals=function(t,r){return this.node[t]===r};function rue(e){return Qle(this.type,e)}function nue(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function sue(e){return this.key!=="body"||!this.parentPath.isArrowFunctionExpression()?!1:this.isExpression()?mC(e):this.isBlockStatement()?Xle(e):!1}function iue(e){let t=this,r=!0;do{let{type:n,container:s}=t;if(!r&&(t.isFunction()||n==="StaticBlock"))return!!e;if(r=!1,Array.isArray(s)&&t.key!==s.length-1)return!1}while((t=t.parentPath)&&!t.isProgram()&&!t.isDoExpression());return!0}function aue(){return this.parentPath.isLabeledStatement()||mC(this.container)?!1:Hle.includes(this.key)}function oue(e,t){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===t||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?zle(this.node.property,{value:t}):this.node.property.name===t)){let i=this.get("object");return i.isReferencedIdentifier()&&i.referencesImport(e,"*")}return!1}let r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return!1;let n=r.path,s=n.parentPath;if(!s.isImportDeclaration())return!1;if(s.node.source.value===e){if(!t)return!0}else return!1;return!!(n.isImportDefaultSpecifier()&&t==="default"||n.isImportNamespaceSpecifier()&&t==="*"||n.isImportSpecifier()&&Yle(n.node.imported,{name:t}))}function lue(){let e=this.node;if(e.end){let t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function uue(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function fC(e){return e.isProgram()?e:(e.parentPath.scope.getFunctionParent()||e.parentPath.scope.getProgramParent()).path}function cue(e,t){switch(e){case"LogicalExpression":return t==="right";case"ConditionalExpression":case"IfStatement":return t==="consequent"||t==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return t==="body";case"ForStatement":return t==="body"||t==="update";case"SwitchStatement":return t==="cases";case"TryStatement":return t==="handler";case"AssignmentPattern":return t==="right";case"OptionalMemberExpression":return t==="property";case"OptionalCallExpression":return t==="arguments";default:return!1}}function dC(e,t){for(let r=0;r<t;r++){let n=e[r];if(cue(n.parent.type,n.parentKey))return!0}return!1}var hC=Symbol();function pue(e){return I0(this,e,new Map)}function I0(e,t,r){let n={this:fC(e),target:fC(t)};if(n.target.node!==n.this.node)return due(e,n.target,r);let s={target:t.getAncestry(),this:e.getAncestry()};if(s.target.includes(e))return"after";if(s.this.includes(t))return"before";let i,a={target:0,this:0};for(;!i&&a.this<s.this.length;){let c=s.this[a.this];a.target=s.target.indexOf(c),a.target>=0?i=c:a.this++}if(!i)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(dC(s.this,a.this-1)||dC(s.target,a.target-1))return"unknown";let o={this:s.this[a.this-1],target:s.target[a.target-1]};if(o.target.listKey&&o.this.listKey&&o.target.container===o.this.container)return o.target.key>o.this.key?"before":"after";let l=Gle[i.type],u={this:l.indexOf(o.this.parentKey),target:l.indexOf(o.target.parentKey)};return u.target>u.this?"before":"after"}function fue(e,t,r){if(t.isFunctionDeclaration()){if(t.parentPath.isExportDeclaration())return"unknown"}else return I0(e,t,r)==="before"?"before":"unknown";let n=t.scope.getBinding(t.node.id.name);if(!n.references)return"before";let s=n.referencePaths,i;for(let a of s){if(!!a.find(u=>u.node===t.node))continue;if(a.key!=="callee"||!a.parentPath.isCallExpression())return"unknown";let l=I0(e,a,r);if(i&&i!==l)return"unknown";i=l}return i}function due(e,t,r){let n=r.get(e.node),s;if(!n)r.set(e.node,n=new Map);else if(s=n.get(t.node))return s===hC?"unknown":s;n.set(t.node,hC);let i=fue(e,t,r);return n.set(t.node,i),i}function hue(e,t){return yC.call(this,e,t)||this}function yC(e,t){var r;if(!((r=t)!=null&&r.includes(this)))if(t=t||[],t.push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(e,t)}else if(this.isReferencedIdentifier()){let n=this.scope.getBinding(this.node.name);if(!n||!n.constant||n.kind==="module")return;if(n.path!==this){let s=n.path.resolve(e,t);return this.find(i=>i.node===s.node)?void 0:s}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(e,t);if(e&&this.isMemberExpression()){let n=this.toComputedKey();if(!Jle(n))return;let s=n.value,i=this.get("object").resolve(e,t);if(i.isObjectExpression()){let a=i.get("properties");for(let o of a){if(!o.isProperty())continue;let l=o.get("key"),u=o.isnt("computed")&&l.isIdentifier({name:s});if(u=u||l.isLiteral({value:s}),u)return o.get("value").resolve(e,t)}}else if(i.isArrayExpression()&&!isNaN(+s)){let o=i.get("elements")[s];if(o)return o.resolve(e,t)}}}}function mue(){if(this.isIdentifier()){let e=this.scope.getBinding(this.node.name);return e?e.constant:!1}if(this.isLiteral())return this.isRegExpLiteral()?!1:this.isTemplateLiteral()?this.get("expressions").every(e=>e.isConstantExpression()):!0;if(this.isUnaryExpression())return this.node.operator!=="void"?!1:this.get("argument").isConstantExpression();if(this.isBinaryExpression()){let{operator:e}=this.node;return e!=="in"&&e!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return this.isMemberExpression()?!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0}):this.isCallExpression()?this.node.arguments.length===1&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral():!1}function yue(){return!!(this.isProgram()?this:this.parentPath).find(r=>{if(r.isProgram({sourceType:"module"})||r.isClass())return!0;if(r.isArrowFunctionExpression()&&!r.get("body").isBlockStatement())return!1;let n;if(r.isFunction())n=r.node.body;else if(r.isProgram())n=r.node;else return!1;for(let s of n.directives)if(s.value.value==="use strict")return!0})}});var SC=x(mr=>{"use strict";Object.defineProperty(mr,"__esModule",{value:!0});mr._getKey=TC;mr._getPattern=xC;mr.get=Bue;mr.getAllNextSiblings=Nue;mr.getAllPrevSiblings=Oue;mr.getAssignmentIdentifiers=kue;mr.getBindingIdentifierPaths=jue;mr.getBindingIdentifiers=Fue;mr.getCompletionRecords=Due;mr.getNextSibling=_ue;mr.getOpposite=Pue;mr.getOuterBindingIdentifierPaths=Mue;mr.getOuterBindingIdentifiers=Lue;mr.getPrevSibling=Iue;mr.getSibling=wue;var N0=as(),gue=Fe(),{getAssignmentIdentifiers:bue,getBindingIdentifiers:EC,getOuterBindingIdentifiers:Eue,numericLiteral:Tue,unaryExpression:xue}=gue,O0=0,el=1;function Sue(e){return{type:O0,path:e}}function vue(e){return{type:el,path:e}}function Pue(){return this.key==="left"?this.getSibling("right"):this.key==="right"?this.getSibling("left"):null}function _a(e,t,r){return e&&t.push(...Na(e,r)),t}function Aue(e,t,r){let n=[];for(let s=0;s<e.length;s++){let i=e[s],a=Na(i,r),o=[],l=[];for(let u of a)u.type===O0&&o.push(u),u.type===el&&l.push(u);o.length&&(n=o),t.push(...l)}return t.push(...n),t}function Cue(e){e.forEach(t=>{t.type=el})}function _0(e,t){e.forEach(r=>{r.path.isBreakStatement({label:null})&&(t?r.path.replaceWith(xue("void",Tue(0))):r.path.remove())})}function bC(e,t){let r=[];if(t.canHaveBreak){let n=[];for(let s=0;s<e.length;s++){let i=e[s],a=Object.assign({},t,{inCaseClause:!1});i.isBlockStatement()&&(t.inCaseClause||t.shouldPopulateBreak)?a.shouldPopulateBreak=!0:a.shouldPopulateBreak=!1;let o=Na(i,a);if(o.length>0&&o.every(l=>l.type===el)){n.length>0&&o.every(l=>l.path.isBreakStatement({label:null}))?(Cue(n),r.push(...n),n.some(l=>l.path.isDeclaration())&&(r.push(...o),t.shouldPreserveBreak||_0(o,!0)),t.shouldPreserveBreak||_0(o,!1)):(r.push(...o),!t.shouldPopulateBreak&&!t.shouldPreserveBreak&&_0(o,!0));break}if(s===e.length-1)r.push(...o);else{n=[];for(let l=0;l<o.length;l++){let u=o[l];u.type===el&&r.push(u),u.type===O0&&n.push(u)}}}}else if(e.length)for(let n=e.length-1;n>=0;n--){let s=Na(e[n],t);if(s.length>1||s.length===1&&!s[0].path.isVariableDeclaration()&&!s[0].path.isEmptyStatement()){r.push(...s);break}}return r}function Na(e,t){let r=[];if(e.isIfStatement())r=_a(e.get("consequent"),r,t),r=_a(e.get("alternate"),r,t);else{if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement())return _a(e.get("body"),r,t);if(e.isProgram()||e.isBlockStatement())return bC(e.get("body"),t);if(e.isFunction())return Na(e.get("body"),t);if(e.isTryStatement())r=_a(e.get("block"),r,t),r=_a(e.get("handler"),r,t);else{if(e.isCatchClause())return _a(e.get("body"),r,t);if(e.isSwitchStatement())return Aue(e.get("cases"),r,t);if(e.isSwitchCase())return bC(e.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0,shouldPreserveBreak:t.shouldPreserveBreak});e.isBreakStatement()?r.push(vue(e)):r.push(Sue(e))}}return r}function Due(e=!1){return Na(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1,shouldPreserveBreak:e}).map(r=>r.path)}function wue(e){return N0.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function Iue(){return this.getSibling(this.key-1)}function _ue(){return this.getSibling(this.key+1)}function Nue(){let e=this.key,t=this.getSibling(++e),r=[];for(;t.node;)r.push(t),t=this.getSibling(++e);return r}function Oue(){let e=this.key,t=this.getSibling(--e),r=[];for(;t.node;)r.push(t),t=this.getSibling(--e);return r}function Bue(e,t=!0){t===!0&&(t=this.context);let r=e.split(".");return r.length===1?TC.call(this,e,t):xC.call(this,r,t)}function TC(e,t){let r=this.node,n=r[e];return Array.isArray(n)?n.map((s,i)=>N0.default.get({listKey:e,parentPath:this,parent:r,container:n,key:i}).setContext(t)):N0.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}function xC(e,t){let r=this;for(let n of e)n==="."?r=r.parentPath:Array.isArray(r)?r=r[n]:r=r.get(n,t);return r}function kue(){return bue(this.node)}function Fue(e){return EC(this.node,e)}function Lue(e){return Eue(this.node,e)}function jue(e=!1,t=!1){let n=[this],s=Object.create(null);for(;n.length;){let i=n.shift();if(!i||!i.node)continue;let a=EC.keys[i.node.type];if(i.isIdentifier()){e?(s[i.node.name]=s[i.node.name]||[]).push(i):s[i.node.name]=i;continue}if(i.isExportDeclaration()){let o=i.get("declaration");o.isDeclaration()&&n.push(o);continue}if(t){if(i.isFunctionDeclaration()){n.push(i.get("id"));continue}if(i.isFunctionExpression())continue}if(a)for(let o=0;o<a.length;o++){let l=a[o],u=i.get(l);Array.isArray(u)?n.push(...u):u.node&&n.push(u)}}return s}function Mue(e=!1){return this.getBindingIdentifierPaths(e,!0)}});var PC=x(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});tl.addComment=$ue;tl.addComments=Wue;tl.shareCommentsWithSiblings=Vue;var Rue=Fe(),{addComment:que,addComments:Uue}=Rue;function Vue(){if(typeof this.key=="string")return;let e=this.node;if(!e)return;let t=e.trailingComments,r=e.leadingComments;if(!t&&!r)return;let n=this.getSibling(this.key-1),s=this.getSibling(this.key+1),i=!!n.node,a=!!s.node;i&&(r&&n.addComments("trailing",vC(r,n.node.trailingComments)),t&&!a&&n.addComments("trailing",t)),a&&(t&&s.addComments("leading",vC(t,s.node.leadingComments)),r&&!i&&s.addComments("leading",r))}function vC(e,t){if(!(t!=null&&t.length))return e;let r=new Set(t);return e.filter(n=>!r.has(n))}function $ue(e,t,r){que(this.node,e,t,r)}function Wue(e,t){Uue(this.node,e,t)}});var as=x(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.default=Xn.SHOULD_STOP=Xn.SHOULD_SKIP=Xn.REMOVED=void 0;var Kue=cy(),Hue=Ti(),Gue=zt(),Xue=Sy(),DC=Fe(),wc=DC,Yue=vi(),Jue=bc(),Hn=pA(),Oa=NA(),Ba=d0(),AC=nC(),Oi=pC(),Qt=gC(),wC=Pn(),Ht=wC,ka=Sc(),Gn=vc(),Mr=SC(),B0=PC(),zue=my(),{validate:Que}=DC,CC=Hue("babel"),y_e=Xn.REMOVED=1,g_e=Xn.SHOULD_STOP=2,b_e=Xn.SHOULD_SKIP=4,ls=Xn.default=class IC{constructor(t,r){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this._store=null,this.parent=r,this.hub=t,this.data=null,this.context=null,this.scope=null}get removed(){return(this._traverseFlags&1)>0}set removed(t){t?this._traverseFlags|=1:this._traverseFlags&=-2}get shouldStop(){return(this._traverseFlags&2)>0}set shouldStop(t){t?this._traverseFlags|=2:this._traverseFlags&=-3}get shouldSkip(){return(this._traverseFlags&4)>0}set shouldSkip(t){t?this._traverseFlags|=4:this._traverseFlags&=-5}static get({hub:t,parentPath:r,parent:n,container:s,listKey:i,key:a}){if(!t&&r&&(t=r.hub),!n)throw new Error("To get a node path the parent needs to exist");let o=s[a],l=Yue.getOrCreateCachedPaths(n,r),u=l.get(o);return u||(u=new IC(t,n),o&&l.set(o,u)),wC.setup.call(u,r,s,i,a),u}getScope(t){return this.isScope()?new Xue.default(this):t}setData(t,r){return this.data==null&&(this.data=Object.create(null)),this.data[t]=r}getData(t,r){this.data==null&&(this.data=Object.create(null));let n=this.data[t];return n===void 0&&r!==void 0&&(n=this.data[t]=r),n}hasNode(){return this.node!=null}buildCodeFrameError(t,r=SyntaxError){return this.hub.buildError(this.node,t,r)}traverse(t,r){(0,Gue.default)(this.node,t,this.scope,r,this)}set(t,r){Que(this.node,t,r),this.node[t]=r}getPathLocation(){let t=[],r=this;do{let n=r.key;r.inList&&(n=`${r.listKey}[${n}]`),t.unshift(n)}while(r=r.parentPath);return t.join(".")}debug(t){CC.enabled&&CC(`${this.getPathLocation()} ${this.type}: ${t}`)}toString(){return(0,Jue.default)(this.node).code}get inList(){return!!this.listKey}set inList(t){t||(this.listKey=null)}get parentKey(){return this.listKey||this.key}},Zue={findParent:Hn.findParent,find:Hn.find,getFunctionParent:Hn.getFunctionParent,getStatementParent:Hn.getStatementParent,getEarliestCommonAncestorFrom:Hn.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:Hn.getDeepestCommonAncestorFrom,getAncestry:Hn.getAncestry,isAncestor:Hn.isAncestor,isDescendant:Hn.isDescendant,inType:Hn.inType,getTypeAnnotation:Oa.getTypeAnnotation,isBaseType:Oa.isBaseType,couldBeBaseType:Oa.couldBeBaseType,baseTypeStrictlyMatches:Oa.baseTypeStrictlyMatches,isGenericType:Oa.isGenericType,replaceWithMultiple:Ba.replaceWithMultiple,replaceWithSourceString:Ba.replaceWithSourceString,replaceWith:Ba.replaceWith,replaceExpressionWithStatements:Ba.replaceExpressionWithStatements,replaceInline:Ba.replaceInline,evaluateTruthy:AC.evaluateTruthy,evaluate:AC.evaluate,toComputedKey:Oi.toComputedKey,ensureBlock:Oi.ensureBlock,unwrapFunctionEnvironment:Oi.unwrapFunctionEnvironment,arrowFunctionToExpression:Oi.arrowFunctionToExpression,splitExportDeclaration:Oi.splitExportDeclaration,ensureFunctionName:Oi.ensureFunctionName,matchesPattern:Qt.matchesPattern,isStatic:Qt.isStatic,isNodeType:Qt.isNodeType,canHaveVariableDeclarationOrExpression:Qt.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:Qt.canSwapBetweenExpressionAndStatement,isCompletionRecord:Qt.isCompletionRecord,isStatementOrBlock:Qt.isStatementOrBlock,referencesImport:Qt.referencesImport,getSource:Qt.getSource,willIMaybeExecuteBefore:Qt.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:Qt._guessExecutionStatusRelativeTo,resolve:Qt.resolve,isConstantExpression:Qt.isConstantExpression,isInStrictMode:Qt.isInStrictMode,isDenylisted:Ht.isDenylisted,visit:Ht.visit,skip:Ht.skip,skipKey:Ht.skipKey,stop:Ht.stop,setContext:Ht.setContext,requeue:Ht.requeue,requeueComputedKeyAndDecorators:Ht.requeueComputedKeyAndDecorators,remove:ka.remove,insertBefore:Gn.insertBefore,insertAfter:Gn.insertAfter,unshiftContainer:Gn.unshiftContainer,pushContainer:Gn.pushContainer,getOpposite:Mr.getOpposite,getCompletionRecords:Mr.getCompletionRecords,getSibling:Mr.getSibling,getPrevSibling:Mr.getPrevSibling,getNextSibling:Mr.getNextSibling,getAllNextSiblings:Mr.getAllNextSiblings,getAllPrevSiblings:Mr.getAllPrevSiblings,get:Mr.get,getAssignmentIdentifiers:Mr.getAssignmentIdentifiers,getBindingIdentifiers:Mr.getBindingIdentifiers,getOuterBindingIdentifiers:Mr.getOuterBindingIdentifiers,getBindingIdentifierPaths:Mr.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:Mr.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:B0.shareCommentsWithSiblings,addComment:B0.addComment,addComments:B0.addComments};Object.assign(ls.prototype,Zue);ls.prototype.arrowFunctionToShadowed=Oi.arrowFunctionToShadowed,Object.assign(ls.prototype,{has:Qt.has,is:Qt.is,isnt:Qt.isnt,equals:Qt.equals,hoist:Gn.hoist,updateSiblingKeys:Gn.updateSiblingKeys,call:Ht.call,isBlacklisted:Ht.isBlacklisted,setScope:Ht.setScope,resync:Ht.resync,popContext:Ht.popContext,pushContext:Ht.pushContext,setup:Ht.setup,setKey:Ht.setKey});ls.prototype._guessExecutionStatusRelativeToDifferentFunctions=Qt._guessExecutionStatusRelativeTo,ls.prototype._guessExecutionStatusRelativeToDifferentFunctions=Qt._guessExecutionStatusRelativeTo,Object.assign(ls.prototype,{_getTypeAnnotation:Oa._getTypeAnnotation,_replaceWith:Ba._replaceWith,_resolve:Qt._resolve,_call:Ht._call,_resyncParent:Ht._resyncParent,_resyncKey:Ht._resyncKey,_resyncList:Ht._resyncList,_resyncRemoved:Ht._resyncRemoved,_getQueueContexts:Ht._getQueueContexts,_removeFromScope:ka._removeFromScope,_callRemovalHooks:ka._callRemovalHooks,_remove:ka._remove,_markRemoved:ka._markRemoved,_assertUnremoved:ka._assertUnremoved,_containerInsert:Gn._containerInsert,_containerInsertBefore:Gn._containerInsertBefore,_containerInsertAfter:Gn._containerInsertAfter,_verifyNodeList:Gn._verifyNodeList,_getKey:Mr._getKey,_getPattern:Mr._getPattern});for(let e of wc.TYPES){let t=`is${e}`,r=wc[t];ls.prototype[t]=function(n){return r(this.node,n)},ls.prototype[`assert${e}`]=function(n){if(!r(this.node,n))throw new TypeError(`Expected node path of type ${e}`)}}Object.assign(ls.prototype,zue);for(let e of Object.keys(Kue))e[0]!=="_"&&(wc.TYPES.includes(e)||wc.TYPES.push(e))});var _C=x(Ic=>{"use strict";Object.defineProperty(Ic,"__esModule",{value:!0});Ic.default=void 0;var ece=as(),tce=Fe(),k0=Pn(),{VISITOR_KEYS:rce}=tce,F0=class{constructor(t,r,n,s){this.queue=null,this.priorityQueue=null,this.parentPath=s,this.scope=t,this.state=n,this.opts=r}shouldVisit(t){let r=this.opts;if(r.enter||r.exit||r[t.type])return!0;let n=rce[t.type];if(!(n!=null&&n.length))return!1;for(let s of n)if(t[s])return!0;return!1}create(t,r,n,s){return ece.default.get({parentPath:this.parentPath,parent:t,container:r,key:n,listKey:s})}maybeQueue(t,r){this.queue&&(r?this.queue.push(t):this.priorityQueue.push(t))}visitMultiple(t,r,n){if(t.length===0)return!1;let s=[];for(let i=0;i<t.length;i++){let a=t[i];a&&this.shouldVisit(a)&&s.push(this.create(r,t,i,n))}return this.visitQueue(s)}visitSingle(t,r){return this.shouldVisit(t[r])?this.visitQueue([this.create(t,t,r)]):!1}visitQueue(t){this.queue=t,this.priorityQueue=[];let r=new WeakSet,n=!1,s=0;for(;s<t.length;){let i=t[s];if(s++,k0.resync.call(i),(i.contexts.length===0||i.contexts[i.contexts.length-1]!==this)&&k0.pushContext.call(i,this),i.key===null)continue;let{node:a}=i;if(!r.has(a)){if(a&&r.add(a),i.visit()){n=!0;break}if(this.priorityQueue.length&&(n=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=t,n))break}}for(let i=0;i<s;i++)k0.popContext.call(t[i]);return this.queue=null,n}visit(t,r){let n=t[r];return n?Array.isArray(n)?this.visitMultiple(n,t,r):this.visitSingle(t,r):!1}};Ic.default=F0});var Qu=x(L0=>{"use strict";Object.defineProperty(L0,"__esModule",{value:!0});L0.traverseNode=ace;var nce=_C(),x_e=as(),sce=Fe(),S_e=Pn(),{VISITOR_KEYS:ice}=sce;function ace(e,t,r,n,s,i,a){let o=ice[e.type];if(!o)return!1;let l=new nce.default(r,t,n,s);if(a)return i!=null&&i[s.parentKey]?!1:l.visitQueue([s]);for(let u of o)if(!(i!=null&&i[u])&&l.visit(e,u))return!0;return!1}});var Pn=x(Rt=>{"use strict";Object.defineProperty(Rt,"__esModule",{value:!0});Rt._call=M0;Rt._getQueueContexts=Sce;Rt._resyncKey=LC;Rt._resyncList=jC;Rt._resyncParent=FC;Rt._resyncRemoved=yce;Rt.call=j0;Rt.isDenylisted=BC;Rt.popContext=gce;Rt.pushContext=bce;Rt.requeue=Tce;Rt.requeueComputedKeyAndDecorators=xce;Rt.resync=mce;Rt.setContext=hce;Rt.setKey=_c;Rt.setScope=kC;Rt.setup=Ece;Rt.skip=pce;Rt.skipKey=fce;Rt.stop=dce;Rt.visit=cce;var oce=Qu(),NC=as(),lce=Sc(),uce=Fe();function j0(e){let t=this.opts;if(this.debug(e),this.node&&M0.call(this,t[e]))return!0;if(this.node){var r;return M0.call(this,(r=t[this.node.type])==null?void 0:r[e])}return!1}function M0(e){if(!e)return!1;for(let t of e){if(!t)continue;let r=this.node;if(!r)return!0;let n=t.call(this.state,this,this.state);if(n&&typeof n=="object"&&typeof n.then=="function")throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(n)throw new Error(`Unexpected return value from visitor method ${t}`);if(this.node!==r||this._traverseFlags>0)return!0}return!1}function BC(){var e;let t=(e=this.opts.denylist)!=null?e:this.opts.blacklist;return t==null?void 0:t.includes(this.node.type)}Rt.isBlacklisted=BC;function OC(e,t){e.context!==t&&(e.context=t,e.state=t.state,e.opts=t.opts)}function cce(){var e,t;if(!this.node||this.isDenylisted()||(e=(t=this.opts).shouldSkip)!=null&&e.call(t,this))return!1;let r=this.context;return this.shouldSkip||j0.call(this,"enter")?(this.debug("Skip..."),this.shouldStop):(OC(this,r),this.debug("Recursing into..."),this.shouldStop=(0,oce.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),OC(this,r),j0.call(this,"exit"),this.shouldStop)}function pce(){this.shouldSkip=!0}function fce(e){this.skipKeys==null&&(this.skipKeys={}),this.skipKeys[e]=!0}function dce(){this._traverseFlags|=NC.SHOULD_SKIP|NC.SHOULD_STOP}function kC(){var e,t;if((e=this.opts)!=null&&e.noScope)return;let r=this.parentPath;((this.key==="key"||this.listKey==="decorators")&&r.isMethod()||this.key==="discriminant"&&r.isSwitchStatement())&&(r=r.parentPath);let n;for(;r&&!n;){var s;if((s=r.opts)!=null&&s.noScope)return;n=r.scope,r=r.parentPath}this.scope=this.getScope(n),(t=this.scope)==null||t.init()}function hce(e){return this.skipKeys!=null&&(this.skipKeys={}),this._traverseFlags=0,e&&(this.context=e,this.state=e.state,this.opts=e.opts),kC.call(this),this}function mce(){this.removed||(FC.call(this),jC.call(this),LC.call(this))}function FC(){this.parentPath&&(this.parent=this.parentPath.node)}function LC(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let e=0;e<this.container.length;e++)if(this.container[e]===this.node){_c.call(this,e);return}}else for(let e of Object.keys(this.container))if(this.container[e]===this.node){_c.call(this,e);return}this.key=null}}function jC(){if(!this.parent||!this.inList)return;let e=this.parent[this.listKey];this.container!==e&&(this.container=e||null)}function yce(){(this.key==null||!this.container||this.container[this.key]!==this.node)&&lce._markRemoved.call(this)}function gce(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)}function bce(e){this.contexts.push(e),this.setContext(e)}function Ece(e,t,r,n){this.listKey=r,this.container=t,this.parentPath=e||this.parentPath,_c.call(this,n)}function _c(e){var t;this.key=e,this.node=this.container[this.key],this.type=(t=this.node)==null?void 0:t.type}function Tce(e=this){if(e.removed)return;let t=this.contexts;for(let r of t)r.maybeQueue(e)}function xce(){let{context:e,node:t}=this;if(!uce.isPrivate(t)&&t.computed&&e.maybeQueue(this.get("key")),t.decorators)for(let r of this.get("decorators"))e.maybeQueue(r)}function Sce(){let e=this,t=this.contexts;for(;!t.length&&(e=e.parentPath,!!e);)t=e.contexts;return t}});var MC=x(Nc=>{"use strict";Object.defineProperty(Nc,"__esModule",{value:!0});Nc.default=void 0;var R0=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(t,r,n=TypeError){return new n(r)}};Nc.default=R0});var zt=x(us=>{"use strict";Object.defineProperty(us,"__esModule",{value:!0});Object.defineProperty(us,"Hub",{enumerable:!0,get:function(){return Dce.default}});Object.defineProperty(us,"NodePath",{enumerable:!0,get:function(){return Ace.default}});Object.defineProperty(us,"Scope",{enumerable:!0,get:function(){return Cce.default}});us.visitors=us.default=void 0;Pn();var nl=Yu();us.visitors=nl;var vce=Fe(),Pce=vi(),RC=Qu(),Ace=as(),Cce=Sy(),Dce=MC(),{VISITOR_KEYS:wce,removeProperties:Ice,traverseFast:rl}=vce;function wn(e,t={},r,n,s,i){if(e){if(!t.noScope&&!r&&e.type!=="Program"&&e.type!=="File")throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${e.type} node without passing scope and parentPath.`);if(!s&&i)throw new Error("visitSelf can only be used when providing a NodePath.");wce[e.type]&&(nl.explode(t),(0,RC.traverseNode)(e,t,r,n,s,null,i))}}var C_e=us.default=wn;wn.visitors=nl;wn.verify=nl.verify;wn.explode=nl.explode;wn.cheap=function(e,t){rl(e,t)};wn.node=function(e,t,r,n,s,i){(0,RC.traverseNode)(e,t,r,n,s,i)};wn.clearNode=function(e,t){Ice(e,t)};wn.removeProperties=function(e,t){return rl(e,wn.clearNode,t),e};wn.hasType=function(e,t,r){return r!=null&&r.includes(e.type)?!1:e.type===t?!0:rl(e,function(n){if(r!=null&&r.includes(n.type))return rl.skip;if(n.type===t)return rl.stop})};wn.cache=Pce});var ps=x((Ue,WC)=>{Ue=WC.exports=Xe;var xt;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?xt=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:xt=function(){};Ue.SEMVER_SPEC_VERSION="2.0.0";var sl=256,Oc=Number.MAX_SAFE_INTEGER||9007199254740991,q0=16,_ce=sl-6,Fa=Ue.re=[],Tt=Ue.safeRe=[],ee=Ue.src=[],$=Ue.tokens={},VC=0;function Ze(e){$[e]=VC++}var V0="[a-zA-Z0-9-]",U0=[["\\s",1],["\\d",sl],[V0,_ce]];function al(e){for(var t=0;t<U0.length;t++){var r=U0[t][0],n=U0[t][1];e=e.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}")}return e}Ze("NUMERICIDENTIFIER");ee[$.NUMERICIDENTIFIER]="0|[1-9]\\d*";Ze("NUMERICIDENTIFIERLOOSE");ee[$.NUMERICIDENTIFIERLOOSE]="\\d+";Ze("NONNUMERICIDENTIFIER");ee[$.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+V0+"*";Ze("MAINVERSION");ee[$.MAINVERSION]="("+ee[$.NUMERICIDENTIFIER]+")\\.("+ee[$.NUMERICIDENTIFIER]+")\\.("+ee[$.NUMERICIDENTIFIER]+")";Ze("MAINVERSIONLOOSE");ee[$.MAINVERSIONLOOSE]="("+ee[$.NUMERICIDENTIFIERLOOSE]+")\\.("+ee[$.NUMERICIDENTIFIERLOOSE]+")\\.("+ee[$.NUMERICIDENTIFIERLOOSE]+")";Ze("PRERELEASEIDENTIFIER");ee[$.PRERELEASEIDENTIFIER]="(?:"+ee[$.NUMERICIDENTIFIER]+"|"+ee[$.NONNUMERICIDENTIFIER]+")";Ze("PRERELEASEIDENTIFIERLOOSE");ee[$.PRERELEASEIDENTIFIERLOOSE]="(?:"+ee[$.NUMERICIDENTIFIERLOOSE]+"|"+ee[$.NONNUMERICIDENTIFIER]+")";Ze("PRERELEASE");ee[$.PRERELEASE]="(?:-("+ee[$.PRERELEASEIDENTIFIER]+"(?:\\."+ee[$.PRERELEASEIDENTIFIER]+")*))";Ze("PRERELEASELOOSE");ee[$.PRERELEASELOOSE]="(?:-?("+ee[$.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+ee[$.PRERELEASEIDENTIFIERLOOSE]+")*))";Ze("BUILDIDENTIFIER");ee[$.BUILDIDENTIFIER]=V0+"+";Ze("BUILD");ee[$.BUILD]="(?:\\+("+ee[$.BUILDIDENTIFIER]+"(?:\\."+ee[$.BUILDIDENTIFIER]+")*))";Ze("FULL");Ze("FULLPLAIN");ee[$.FULLPLAIN]="v?"+ee[$.MAINVERSION]+ee[$.PRERELEASE]+"?"+ee[$.BUILD]+"?";ee[$.FULL]="^"+ee[$.FULLPLAIN]+"$";Ze("LOOSEPLAIN");ee[$.LOOSEPLAIN]="[v=\\s]*"+ee[$.MAINVERSIONLOOSE]+ee[$.PRERELEASELOOSE]+"?"+ee[$.BUILD]+"?";Ze("LOOSE");ee[$.LOOSE]="^"+ee[$.LOOSEPLAIN]+"$";Ze("GTLT");ee[$.GTLT]="((?:<|>)?=?)";Ze("XRANGEIDENTIFIERLOOSE");ee[$.XRANGEIDENTIFIERLOOSE]=ee[$.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";Ze("XRANGEIDENTIFIER");ee[$.XRANGEIDENTIFIER]=ee[$.NUMERICIDENTIFIER]+"|x|X|\\*";Ze("XRANGEPLAIN");ee[$.XRANGEPLAIN]="[v=\\s]*("+ee[$.XRANGEIDENTIFIER]+")(?:\\.("+ee[$.XRANGEIDENTIFIER]+")(?:\\.("+ee[$.XRANGEIDENTIFIER]+")(?:"+ee[$.PRERELEASE]+")?"+ee[$.BUILD]+"?)?)?";Ze("XRANGEPLAINLOOSE");ee[$.XRANGEPLAINLOOSE]="[v=\\s]*("+ee[$.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+ee[$.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+ee[$.XRANGEIDENTIFIERLOOSE]+")(?:"+ee[$.PRERELEASELOOSE]+")?"+ee[$.BUILD]+"?)?)?";Ze("XRANGE");ee[$.XRANGE]="^"+ee[$.GTLT]+"\\s*"+ee[$.XRANGEPLAIN]+"$";Ze("XRANGELOOSE");ee[$.XRANGELOOSE]="^"+ee[$.GTLT]+"\\s*"+ee[$.XRANGEPLAINLOOSE]+"$";Ze("COERCE");ee[$.COERCE]="(^|[^\\d])(\\d{1,"+q0+"})(?:\\.(\\d{1,"+q0+"}))?(?:\\.(\\d{1,"+q0+"}))?(?:$|[^\\d])";Ze("COERCERTL");Fa[$.COERCERTL]=new RegExp(ee[$.COERCE],"g");Tt[$.COERCERTL]=new RegExp(al(ee[$.COERCE]),"g");Ze("LONETILDE");ee[$.LONETILDE]="(?:~>?)";Ze("TILDETRIM");ee[$.TILDETRIM]="(\\s*)"+ee[$.LONETILDE]+"\\s+";Fa[$.TILDETRIM]=new RegExp(ee[$.TILDETRIM],"g");Tt[$.TILDETRIM]=new RegExp(al(ee[$.TILDETRIM]),"g");var Nce="$1~";Ze("TILDE");ee[$.TILDE]="^"+ee[$.LONETILDE]+ee[$.XRANGEPLAIN]+"$";Ze("TILDELOOSE");ee[$.TILDELOOSE]="^"+ee[$.LONETILDE]+ee[$.XRANGEPLAINLOOSE]+"$";Ze("LONECARET");ee[$.LONECARET]="(?:\\^)";Ze("CARETTRIM");ee[$.CARETTRIM]="(\\s*)"+ee[$.LONECARET]+"\\s+";Fa[$.CARETTRIM]=new RegExp(ee[$.CARETTRIM],"g");Tt[$.CARETTRIM]=new RegExp(al(ee[$.CARETTRIM]),"g");var Oce="$1^";Ze("CARET");ee[$.CARET]="^"+ee[$.LONECARET]+ee[$.XRANGEPLAIN]+"$";Ze("CARETLOOSE");ee[$.CARETLOOSE]="^"+ee[$.LONECARET]+ee[$.XRANGEPLAINLOOSE]+"$";Ze("COMPARATORLOOSE");ee[$.COMPARATORLOOSE]="^"+ee[$.GTLT]+"\\s*("+ee[$.LOOSEPLAIN]+")$|^$";Ze("COMPARATOR");ee[$.COMPARATOR]="^"+ee[$.GTLT]+"\\s*("+ee[$.FULLPLAIN]+")$|^$";Ze("COMPARATORTRIM");ee[$.COMPARATORTRIM]="(\\s*)"+ee[$.GTLT]+"\\s*("+ee[$.LOOSEPLAIN]+"|"+ee[$.XRANGEPLAIN]+")";Fa[$.COMPARATORTRIM]=new RegExp(ee[$.COMPARATORTRIM],"g");Tt[$.COMPARATORTRIM]=new RegExp(al(ee[$.COMPARATORTRIM]),"g");var Bce="$1$2$3";Ze("HYPHENRANGE");ee[$.HYPHENRANGE]="^\\s*("+ee[$.XRANGEPLAIN]+")\\s+-\\s+("+ee[$.XRANGEPLAIN]+")\\s*$";Ze("HYPHENRANGELOOSE");ee[$.HYPHENRANGELOOSE]="^\\s*("+ee[$.XRANGEPLAINLOOSE]+")\\s+-\\s+("+ee[$.XRANGEPLAINLOOSE]+")\\s*$";Ze("STAR");ee[$.STAR]="(<|>)?=?\\s*\\*";for(Yn=0;Yn<VC;Yn++)xt(Yn,ee[Yn]),Fa[Yn]||(Fa[Yn]=new RegExp(ee[Yn]),Tt[Yn]=new RegExp(al(ee[Yn])));var Yn;Ue.parse=ki;function ki(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof Xe)return e;if(typeof e!="string"||e.length>sl)return null;var r=t.loose?Tt[$.LOOSE]:Tt[$.FULL];if(!r.test(e))return null;try{return new Xe(e,t)}catch{return null}}Ue.valid=kce;function kce(e,t){var r=ki(e,t);return r?r.version:null}Ue.clean=Fce;function Fce(e,t){var r=ki(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}Ue.SemVer=Xe;function Xe(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof Xe){if(e.loose===t.loose)return e;e=e.version}else if(typeof e!="string")throw new TypeError("Invalid Version: "+e);if(e.length>sl)throw new TypeError("version is longer than "+sl+" characters");if(!(this instanceof Xe))return new Xe(e,t);xt("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?Tt[$.LOOSE]:Tt[$.FULL]);if(!r)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Oc||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Oc||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Oc||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(n){if(/^[0-9]+$/.test(n)){var s=+n;if(s>=0&&s<Oc)return s}return n}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}Xe.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};Xe.prototype.toString=function(){return this.version};Xe.prototype.compare=function(e){return xt("SemVer.compare",this.version,this.options,e),e instanceof Xe||(e=new Xe(e,this.options)),this.compareMain(e)||this.comparePre(e)};Xe.prototype.compareMain=function(e){return e instanceof Xe||(e=new Xe(e,this.options)),Bi(this.major,e.major)||Bi(this.minor,e.minor)||Bi(this.patch,e.patch)};Xe.prototype.comparePre=function(e){if(e instanceof Xe||(e=new Xe(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],n=e.prerelease[t];if(xt("prerelease compare",t,r,n),r===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(r===n)continue;return Bi(r,n)}while(++t)};Xe.prototype.compareBuild=function(e){e instanceof Xe||(e=new Xe(e,this.options));var t=0;do{var r=this.build[t],n=e.build[t];if(xt("prerelease compare",t,r,n),r===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(r===n)continue;return Bi(r,n)}while(++t)};Xe.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t),this.inc("pre",t);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this};Ue.inc=Lce;function Lce(e,t,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new Xe(e,r).inc(t,n).version}catch{return null}}Ue.diff=jce;function jce(e,t){if($0(e,t))return null;var r=ki(e),n=ki(t),s="";if(r.prerelease.length||n.prerelease.length){s="pre";var i="prerelease"}for(var a in r)if((a==="major"||a==="minor"||a==="patch")&&r[a]!==n[a])return s+a;return i}Ue.compareIdentifiers=Bi;var qC=/^[0-9]+$/;function Bi(e,t){var r=qC.test(e),n=qC.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1}Ue.rcompareIdentifiers=Mce;function Mce(e,t){return Bi(t,e)}Ue.major=Rce;function Rce(e,t){return new Xe(e,t).major}Ue.minor=qce;function qce(e,t){return new Xe(e,t).minor}Ue.patch=Uce;function Uce(e,t){return new Xe(e,t).patch}Ue.compare=cs;function cs(e,t,r){return new Xe(e,r).compare(new Xe(t,r))}Ue.compareLoose=Vce;function Vce(e,t){return cs(e,t,!0)}Ue.compareBuild=$ce;function $ce(e,t,r){var n=new Xe(e,r),s=new Xe(t,r);return n.compare(s)||n.compareBuild(s)}Ue.rcompare=Wce;function Wce(e,t,r){return cs(t,e,r)}Ue.sort=Kce;function Kce(e,t){return e.sort(function(r,n){return Ue.compareBuild(r,n,t)})}Ue.rsort=Hce;function Hce(e,t){return e.sort(function(r,n){return Ue.compareBuild(n,r,t)})}Ue.gt=il;function il(e,t,r){return cs(e,t,r)>0}Ue.lt=Bc;function Bc(e,t,r){return cs(e,t,r)<0}Ue.eq=$0;function $0(e,t,r){return cs(e,t,r)===0}Ue.neq=$C;function $C(e,t,r){return cs(e,t,r)!==0}Ue.gte=W0;function W0(e,t,r){return cs(e,t,r)>=0}Ue.lte=K0;function K0(e,t,r){return cs(e,t,r)<=0}Ue.cmp=kc;function kc(e,t,r,n){switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return $0(e,r,n);case"!=":return $C(e,r,n);case">":return il(e,r,n);case">=":return W0(e,r,n);case"<":return Bc(e,r,n);case"<=":return K0(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}Ue.Comparator=hn;function hn(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof hn){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof hn))return new hn(e,t);e=e.trim().split(/\s+/).join(" "),xt("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===La?this.value="":this.value=this.operator+this.semver.version,xt("comp",this)}var La={};hn.prototype.parse=function(e){var t=this.options.loose?Tt[$.COMPARATORLOOSE]:Tt[$.COMPARATOR],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new Xe(r[2],this.options.loose):this.semver=La};hn.prototype.toString=function(){return this.value};hn.prototype.test=function(e){if(xt("Comparator.test",e,this.options.loose),this.semver===La||e===La)return!0;if(typeof e=="string")try{e=new Xe(e,this.options)}catch{return!1}return kc(e,this.operator,this.semver,this.options)};hn.prototype.intersects=function(e,t){if(!(e instanceof hn))throw new TypeError("a Comparator is required");(!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1});var r;if(this.operator==="")return this.value===""?!0:(r=new Vt(e.value,t),Fc(this.value,r,t));if(e.operator==="")return e.value===""?!0:(r=new Vt(this.value,t),Fc(e.semver,r,t));var n=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">"),s=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<"),i=this.semver.version===e.semver.version,a=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<="),o=kc(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),l=kc(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return n||s||i&&a||o||l};Ue.Range=Vt;function Vt(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof Vt)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new Vt(e.raw,t);if(e instanceof hn)return new Vt(e.value,t);if(!(this instanceof Vt))return new Vt(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(r){return this.parseRange(r.trim())},this).filter(function(r){return r.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}Vt.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range};Vt.prototype.toString=function(){return this.range};Vt.prototype.parseRange=function(e){var t=this.options.loose,r=t?Tt[$.HYPHENRANGELOOSE]:Tt[$.HYPHENRANGE];e=e.replace(r,rpe),xt("hyphen replace",e),e=e.replace(Tt[$.COMPARATORTRIM],Bce),xt("comparator trim",e,Tt[$.COMPARATORTRIM]),e=e.replace(Tt[$.TILDETRIM],Nce),e=e.replace(Tt[$.CARETTRIM],Oce),e=e.split(/\s+/).join(" ");var n=t?Tt[$.COMPARATORLOOSE]:Tt[$.COMPARATOR],s=e.split(" ").map(function(i){return Xce(i,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(s=s.filter(function(i){return!!i.match(n)})),s=s.map(function(i){return new hn(i,this.options)},this),s};Vt.prototype.intersects=function(e,t){if(!(e instanceof Vt))throw new TypeError("a Range is required");return this.set.some(function(r){return UC(r,t)&&e.set.some(function(n){return UC(n,t)&&r.every(function(s){return n.every(function(i){return s.intersects(i,t)})})})})};function UC(e,t){for(var r=!0,n=e.slice(),s=n.pop();r&&n.length;)r=n.every(function(i){return s.intersects(i,t)}),s=n.pop();return r}Ue.toComparators=Gce;function Gce(e,t){return new Vt(e,t).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}function Xce(e,t){return xt("comp",e,t),e=zce(e,t),xt("caret",e),e=Yce(e,t),xt("tildes",e),e=Zce(e,t),xt("xrange",e),e=tpe(e,t),xt("stars",e),e}function Rr(e){return!e||e.toLowerCase()==="x"||e==="*"}function Yce(e,t){return e.trim().split(/\s+/).map(function(r){return Jce(r,t)}).join(" ")}function Jce(e,t){var r=t.loose?Tt[$.TILDELOOSE]:Tt[$.TILDE];return e.replace(r,function(n,s,i,a,o){xt("tilde",e,n,s,i,a,o);var l;return Rr(s)?l="":Rr(i)?l=">="+s+".0.0 <"+(+s+1)+".0.0":Rr(a)?l=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":o?(xt("replaceTilde pr",o),l=">="+s+"."+i+"."+a+"-"+o+" <"+s+"."+(+i+1)+".0"):l=">="+s+"."+i+"."+a+" <"+s+"."+(+i+1)+".0",xt("tilde return",l),l})}function zce(e,t){return e.trim().split(/\s+/).map(function(r){return Qce(r,t)}).join(" ")}function Qce(e,t){xt("caret",e,t);var r=t.loose?Tt[$.CARETLOOSE]:Tt[$.CARET];return e.replace(r,function(n,s,i,a,o){xt("caret",e,n,s,i,a,o);var l;return Rr(s)?l="":Rr(i)?l=">="+s+".0.0 <"+(+s+1)+".0.0":Rr(a)?s==="0"?l=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":l=">="+s+"."+i+".0 <"+(+s+1)+".0.0":o?(xt("replaceCaret pr",o),s==="0"?i==="0"?l=">="+s+"."+i+"."+a+"-"+o+" <"+s+"."+i+"."+(+a+1):l=">="+s+"."+i+"."+a+"-"+o+" <"+s+"."+(+i+1)+".0":l=">="+s+"."+i+"."+a+"-"+o+" <"+(+s+1)+".0.0"):(xt("no pr"),s==="0"?i==="0"?l=">="+s+"."+i+"."+a+" <"+s+"."+i+"."+(+a+1):l=">="+s+"."+i+"."+a+" <"+s+"."+(+i+1)+".0":l=">="+s+"."+i+"."+a+" <"+(+s+1)+".0.0"),xt("caret return",l),l})}function Zce(e,t){return xt("replaceXRanges",e,t),e.split(/\s+/).map(function(r){return epe(r,t)}).join(" ")}function epe(e,t){e=e.trim();var r=t.loose?Tt[$.XRANGELOOSE]:Tt[$.XRANGE];return e.replace(r,function(n,s,i,a,o,l){xt("xRange",e,n,s,i,a,o,l);var u=Rr(i),c=u||Rr(a),p=c||Rr(o),d=p;return s==="="&&d&&(s=""),l=t.includePrerelease?"-0":"",u?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&d?(c&&(a=0),o=0,s===">"?(s=">=",c?(i=+i+1,a=0,o=0):(a=+a+1,o=0)):s==="<="&&(s="<",c?i=+i+1:a=+a+1),n=s+i+"."+a+"."+o+l):c?n=">="+i+".0.0"+l+" <"+(+i+1)+".0.0"+l:p&&(n=">="+i+"."+a+".0"+l+" <"+i+"."+(+a+1)+".0"+l),xt("xRange return",n),n})}function tpe(e,t){return xt("replaceStars",e,t),e.trim().replace(Tt[$.STAR],"")}function rpe(e,t,r,n,s,i,a,o,l,u,c,p,d){return Rr(r)?t="":Rr(n)?t=">="+r+".0.0":Rr(s)?t=">="+r+"."+n+".0":t=">="+t,Rr(l)?o="":Rr(u)?o="<"+(+l+1)+".0.0":Rr(c)?o="<"+l+"."+(+u+1)+".0":p?o="<="+l+"."+u+"."+c+"-"+p:o="<="+o,(t+" "+o).trim()}Vt.prototype.test=function(e){if(!e)return!1;if(typeof e=="string")try{e=new Xe(e,this.options)}catch{return!1}for(var t=0;t<this.set.length;t++)if(npe(this.set[t],e,this.options))return!0;return!1};function npe(e,t,r){for(var n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(n=0;n<e.length;n++)if(xt(e[n].semver),e[n].semver!==La&&e[n].semver.prerelease.length>0){var s=e[n].semver;if(s.major===t.major&&s.minor===t.minor&&s.patch===t.patch)return!0}return!1}return!0}Ue.satisfies=Fc;function Fc(e,t,r){try{t=new Vt(t,r)}catch{return!1}return t.test(e)}Ue.maxSatisfying=spe;function spe(e,t,r){var n=null,s=null;try{var i=new Vt(t,r)}catch{return null}return e.forEach(function(a){i.test(a)&&(!n||s.compare(a)===-1)&&(n=a,s=new Xe(n,r))}),n}Ue.minSatisfying=ipe;function ipe(e,t,r){var n=null,s=null;try{var i=new Vt(t,r)}catch{return null}return e.forEach(function(a){i.test(a)&&(!n||s.compare(a)===1)&&(n=a,s=new Xe(n,r))}),n}Ue.minVersion=ape;function ape(e,t){e=new Vt(e,t);var r=new Xe("0.0.0");if(e.test(r)||(r=new Xe("0.0.0-0"),e.test(r)))return r;r=null;for(var n=0;n<e.set.length;++n){var s=e.set[n];s.forEach(function(i){var a=new Xe(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!r||il(r,a))&&(r=a);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+i.operator)}})}return r&&e.test(r)?r:null}Ue.validRange=ope;function ope(e,t){try{return new Vt(e,t).range||"*"}catch{return null}}Ue.ltr=lpe;function lpe(e,t,r){return H0(e,t,"<",r)}Ue.gtr=upe;function upe(e,t,r){return H0(e,t,">",r)}Ue.outside=H0;function H0(e,t,r,n){e=new Xe(e,n),t=new Vt(t,n);var s,i,a,o,l;switch(r){case">":s=il,i=K0,a=Bc,o=">",l=">=";break;case"<":s=Bc,i=W0,a=il,o="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Fc(e,t,n))return!1;for(var u=0;u<t.set.length;++u){var c=t.set[u],p=null,d=null;if(c.forEach(function(m){m.semver===La&&(m=new hn(">=0.0.0")),p=p||m,d=d||m,s(m.semver,p.semver,n)?p=m:a(m.semver,d.semver,n)&&(d=m)}),p.operator===o||p.operator===l||(!d.operator||d.operator===o)&&i(e,d.semver))return!1;if(d.operator===l&&a(e,d.semver))return!1}return!0}Ue.prerelease=cpe;function cpe(e,t){var r=ki(e,t);return r&&r.prerelease.length?r.prerelease:null}Ue.intersects=ppe;function ppe(e,t,r){return e=new Vt(e,r),t=new Vt(t,r),e.intersects(t)}Ue.coerce=fpe;function fpe(e,t){if(e instanceof Xe)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};var r=null;if(!t.rtl)r=e.match(Tt[$.COERCE]);else{for(var n;(n=Tt[$.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),Tt[$.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;Tt[$.COERCERTL].lastIndex=-1}return r===null?null:ki(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}});var GC=x(jc=>{"use strict";Object.defineProperty(jc,"__esModule",{value:!0});jc.default=void 0;var In=require("assert"),dpe=Fe(),{callExpression:G0,cloneNode:Lc,expressionStatement:KC,identifier:ol,importDeclaration:hpe,importDefaultSpecifier:mpe,importNamespaceSpecifier:ype,importSpecifier:gpe,memberExpression:X0,stringLiteral:HC,variableDeclaration:bpe,variableDeclarator:Epe}=dpe,Y0=class{constructor(t,r,n){this._statements=[],this._resultName=null,this._importedSource=void 0,this._scope=r,this._hub=n,this._importedSource=t}done(){return{statements:this._statements,resultName:this._resultName}}import(){return this._statements.push(hpe([],HC(this._importedSource))),this}require(){return this._statements.push(KC(G0(ol("require"),[HC(this._importedSource)]))),this}namespace(t="namespace"){let r=this._scope.generateUidIdentifier(t),n=this._statements[this._statements.length-1];return In(n.type==="ImportDeclaration"),In(n.specifiers.length===0),n.specifiers=[ype(r)],this._resultName=Lc(r),this}default(t){let r=this._scope.generateUidIdentifier(t),n=this._statements[this._statements.length-1];return In(n.type==="ImportDeclaration"),In(n.specifiers.length===0),n.specifiers=[mpe(r)],this._resultName=Lc(r),this}named(t,r){if(r==="default")return this.default(t);let n=this._scope.generateUidIdentifier(t),s=this._statements[this._statements.length-1];return In(s.type==="ImportDeclaration"),In(s.specifiers.length===0),s.specifiers=[gpe(n,ol(r))],this._resultName=Lc(n),this}var(t){let r=this._scope.generateUidIdentifier(t),n=this._statements[this._statements.length-1];return n.type!=="ExpressionStatement"&&(In(this._resultName),n=KC(this._resultName),this._statements.push(n)),this._statements[this._statements.length-1]=bpe("var",[Epe(r,n.expression)]),this._resultName=Lc(r),this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(t){let r=this._statements[this._statements.length-1];return r.type==="ExpressionStatement"?r.expression=G0(t,[r.expression]):r.type==="VariableDeclaration"?(In(r.declarations.length===1),r.declarations[0].init=G0(t,[r.declarations[0].init])):In.fail("Unexpected type."),this}prop(t){let r=this._statements[this._statements.length-1];return r.type==="ExpressionStatement"?r.expression=X0(r.expression,ol(t)):r.type==="VariableDeclaration"?(In(r.declarations.length===1),r.declarations[0].init=X0(r.declarations[0].init,ol(t))):In.fail("Unexpected type:"+r.type),this}read(t){this._resultName=X0(this._resultName,ol(t))}};jc.default=Y0});var z0=x(J0=>{"use strict";Object.defineProperty(J0,"__esModule",{value:!0});J0.default=Tpe;function Tpe(e){return e.node.sourceType==="module"}});var ZC=x(Rc=>{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});Rc.default=void 0;var XC=require("assert"),xpe=Fe(),Spe=GC(),vpe=z0(),{identifier:Ppe,importSpecifier:Ape,numericLiteral:Cpe,sequenceExpression:Dpe,isImportDeclaration:YC}=xpe,Q0=class{constructor(t,r,n){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:!1,ensureNoContext:!1,importPosition:"before"};let s=t.find(i=>i.isProgram());this._programPath=s,this._programScope=s.scope,this._hub=s.hub,this._defaultOpts=this._applyDefaults(r,n,!0)}addDefault(t,r){return this.addNamed("default",t,r)}addNamed(t,r,n){return XC(typeof t=="string"),this._generateImport(this._applyDefaults(r,n),t)}addNamespace(t,r){return this._generateImport(this._applyDefaults(t,r),null)}addSideEffect(t,r){return this._generateImport(this._applyDefaults(t,r),void 0)}_applyDefaults(t,r,n=!1){let s;return typeof t=="string"?s=Object.assign({},this._defaultOpts,{importedSource:t},r):(XC(!r,"Unexpected secondary arguments."),s=Object.assign({},this._defaultOpts,t)),!n&&r&&(r.nameHint!==void 0&&(s.nameHint=r.nameHint),r.blockHoist!==void 0&&(s.blockHoist=r.blockHoist)),s}_generateImport(t,r){let n=r==="default",s=!!r&&!n,i=r===null,{importedSource:a,importedType:o,importedInterop:l,importingInterop:u,ensureLiveReference:c,ensureNoContext:p,nameHint:d,importPosition:m,blockHoist:g}=t,f=d||r,b=(0,vpe.default)(this._programPath),T=b&&u==="node",w=b&&u==="babel";if(m==="after"&&!b)throw new Error('"importPosition": "after" is only supported in modules');let I=new Spe.default(a,this._programScope,this._hub);if(o==="es6"){if(!T&&!w)throw new Error("Cannot import an ES6 module from CommonJS");I.import(),i?I.namespace(d||a):(n||s)&&I.named(f,r)}else{if(o!=="commonjs")throw new Error(`Unexpected interopType "${o}"`);if(l==="babel")if(T){f=f!=="default"?f:a;let W=`${a}$es6Default`;I.import(),i?I.default(W).var(f||a).wildcardInterop():n?c?I.default(W).var(f||a).defaultInterop().read("default"):I.default(W).var(f).defaultInterop().prop(r):s&&I.default(W).read(r)}else w?(I.import(),i?I.namespace(f||a):(n||s)&&I.named(f,r)):(I.require(),i?I.var(f||a).wildcardInterop():(n||s)&&c?n?(f=f!=="default"?f:a,I.var(f).read(r),I.defaultInterop()):I.var(a).read(r):n?I.var(f).defaultInterop().prop(r):s&&I.var(f).prop(r));else if(l==="compiled")T?(I.import(),i?I.default(f||a):(n||s)&&I.default(a).read(f)):w?(I.import(),i?I.namespace(f||a):(n||s)&&I.named(f,r)):(I.require(),i?I.var(f||a):(n||s)&&(c?I.var(a).read(f):I.prop(r).var(f)));else if(l==="uncompiled"){if(n&&c)throw new Error("No live reference for commonjs default");T?(I.import(),i?I.default(f||a):n?I.default(f):s&&I.default(a).read(f)):w?(I.import(),i?I.default(f||a):n?I.default(f):s&&I.named(f,r)):(I.require(),i?I.var(f||a):n?I.var(f):s&&(c?I.var(a).read(f):I.var(f).prop(r)))}else throw new Error(`Unknown importedInterop "${l}".`)}let{statements:N,resultName:L}=I.done();return this._insertStatements(N,m,g),(n||s)&&p&&L.type!=="Identifier"?Dpe([Cpe(0),L]):L}_insertStatements(t,r="before",n=3){if(r==="after"){if(this._insertStatementsAfter(t))return}else if(this._insertStatementsBefore(t,n))return;this._programPath.unshiftContainer("body",t)}_insertStatementsBefore(t,r){if(t.length===1&&YC(t[0])&&Mc(t[0])){let s=this._programPath.get("body").find(i=>i.isImportDeclaration()&&Mc(i.node));if((s==null?void 0:s.node.source.value)===t[0].source.value&&QC(s.node,t[0]))return!0}t.forEach(s=>{s._blockHoist=r});let n=this._programPath.get("body").find(s=>{let i=s.node._blockHoist;return Number.isFinite(i)&&i<4});return n?(n.insertBefore(t),!0):!1}_insertStatementsAfter(t){let r=new Set(t),n=new Map;for(let i of t)if(YC(i)&&Mc(i)){let a=i.source.value;n.has(a)||n.set(a,[]),n.get(a).push(i)}let s=null;for(let i of this._programPath.get("body"))if(i.isImportDeclaration()&&Mc(i.node)){s=i;let a=i.node.source.value,o=n.get(a);if(!o)continue;for(let l of o)r.has(l)&&QC(i.node,l)&&r.delete(l)}return r.size===0?!0:(s&&s.insertAfter(Array.from(r)),!!s)}};Rc.default=Q0;function Mc(e){return e.importKind!=="type"&&e.importKind!=="typeof"}function JC(e){return e.specifiers.length===1&&e.specifiers[0].type==="ImportNamespaceSpecifier"||e.specifiers.length===2&&e.specifiers[1].type==="ImportNamespaceSpecifier"}function zC(e){return e.specifiers.length>0&&e.specifiers[0].type==="ImportDefaultSpecifier"}function QC(e,t){return e.specifiers.length?t.specifiers.length?JC(e)||JC(t)?!1:(zC(t)&&(zC(e)?t.specifiers[0]=Ape(t.specifiers[0].local,Ppe("default")):e.specifiers.unshift(t.specifiers.shift())),e.specifiers.push(...t.specifiers),!0):!0:(e.specifiers=t.specifiers,!0)}});var Z0=x(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Object.defineProperty(Ks,"ImportInjector",{enumerable:!0,get:function(){return ll.default}});Ks.addDefault=Ipe;Ks.addNamed=_pe;Ks.addNamespace=Npe;Ks.addSideEffect=Ope;Object.defineProperty(Ks,"isModule",{enumerable:!0,get:function(){return wpe.default}});var ll=ZC(),wpe=z0();function Ipe(e,t,r){return new ll.default(e).addDefault(t,r)}function _pe(e,t,r,n){return new ll.default(e).addNamed(t,r,n)}function Npe(e,t,r){return new ll.default(e).addNamespace(t,r)}function Ope(e,t,r){return new ll.default(e).addSideEffect(t,r)}});var r2=x(eg=>{"use strict";Object.defineProperty(eg,"__esModule",{value:!0});eg.default=Bpe;var e2=vt(),t2=zt(),qc;function Bpe(e){qc||(qc=t2.visitors.environmentVisitor({ThisExpression(t){t.replaceWith(e2.types.unaryExpression("void",e2.types.numericLiteral(0),!0))}}),qc.noScope=!0),(0,t2.default)(e.node,qc)}});var n2=x(tg=>{"use strict";Object.defineProperty(tg,"__esModule",{value:!0});tg.default=Fpe;var ke=vt();function kpe(e){do switch(e.parent.type){case"TSTypeAnnotation":case"TSTypeAliasDeclaration":case"TSTypeReference":case"TypeAnnotation":case"TypeAlias":return!0;case"ExportSpecifier":return e.parentPath.parent.exportKind==="type";default:if(e.parentPath.isStatement()||e.parentPath.isExpression())return!1}while(e=e.parentPath)}function Fpe(e,t,r){let n=new Map,s=new Map,i=l=>{e.requeue(l)};for(let[l,u]of t.source){for(let[c,p]of u.imports)n.set(c,[l,p,null]);for(let c of u.importsNamespace)n.set(c,[l,null,c])}for(let[l,u]of t.local){let c=s.get(l);c||(c=[],s.set(l,c)),c.push(...u.names)}let a={metadata:t,requeueInParent:i,scope:e.scope,exported:s};e.traverse(Lpe,a);let o={seen:new WeakSet,metadata:t,requeueInParent:i,scope:e.scope,imported:n,exported:s,buildImportReference([l,u,c],p){let d=t.source.get(l);if(d.referenced=!0,c){if(d.wrap){var m;p=(m=r(p,d.wrap))!=null?m:p}return p}let g=ke.types.identifier(d.name);if(d.wrap){var f;g=(f=r(g,d.wrap))!=null?f:g}if(u==="default"&&d.interop==="node-default")return g;let b=t.stringSpecifiers.has(u);return ke.types.memberExpression(g,b?ke.types.stringLiteral(u):ke.types.identifier(u),b)}};e.traverse(jpe,o)}var Lpe={Scope(e){e.skip()},ClassDeclaration(e){let{requeueInParent:t,exported:r,metadata:n}=this,{id:s}=e.node;if(!s)throw new Error("Expected class to have a name");let i=s.name,a=r.get(i)||[];if(a.length>0){let o=ke.types.expressionStatement(Fi(n,a,ke.types.identifier(i),e.scope));o._blockHoist=e.node._blockHoist,t(e.insertAfter(o)[0])}},VariableDeclaration(e){let{requeueInParent:t,exported:r,metadata:n}=this,s=e.node.kind==="var";for(let i of e.get("declarations")){let{id:a}=i.node,{init:o}=i.node;if(ke.types.isIdentifier(a)&&r.has(a.name)&&!ke.types.isArrowFunctionExpression(o)&&(!ke.types.isFunctionExpression(o)||o.id)&&(!ke.types.isClassExpression(o)||o.id)){if(!o){if(s)continue;o=e.scope.buildUndefinedNode()}i.node.init=Fi(n,r.get(a.name),o,e.scope),t(i.get("init"))}else for(let l of Object.keys(i.getOuterBindingIdentifiers()))if(r.has(l)){let u=ke.types.expressionStatement(Fi(n,r.get(l),ke.types.identifier(l),e.scope));u._blockHoist=e.node._blockHoist,t(e.insertAfter(u)[0])}}}},Fi=(e,t,r,n)=>{let s=e.exportName;for(let i=n;i!=null;i=i.parent)i.hasOwnBinding(s)&&i.rename(s);return(t||[]).reduce((i,a)=>{let{stringSpecifiers:o}=e,l=o.has(a);return ke.types.assignmentExpression("=",ke.types.memberExpression(ke.types.identifier(s),l?ke.types.stringLiteral(a):ke.types.identifier(a),l),i)},r)},Uc=e=>ke.template.expression.ast`
|
|
(function() {
|
|
throw new Error('"' + '${e}' + '" is read-only.');
|
|
})()
|
|
`,jpe={ReferencedIdentifier(e){let{seen:t,buildImportReference:r,scope:n,imported:s,requeueInParent:i}=this;if(t.has(e.node))return;t.add(e.node);let a=e.node.name,o=s.get(a);if(o){if(kpe(e))throw e.buildCodeFrameError(`Cannot transform the imported binding "${a}" since it's also used in a type annotation. Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`);let l=e.scope.getBinding(a);if(n.getBinding(a)!==l)return;let c=r(o,e.node);if(c.loc=e.node.loc,(e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&ke.types.isMemberExpression(c))e.replaceWith(ke.types.sequenceExpression([ke.types.numericLiteral(0),c]));else if(e.isJSXIdentifier()&&ke.types.isMemberExpression(c)){let{object:p,property:d}=c;e.replaceWith(ke.types.jsxMemberExpression(ke.types.jsxIdentifier(p.name),ke.types.jsxIdentifier(d.name)))}else e.replaceWith(c);i(e),e.skip()}},UpdateExpression(e){let{scope:t,seen:r,imported:n,exported:s,requeueInParent:i,buildImportReference:a}=this;if(r.has(e.node))return;r.add(e.node);let o=e.get("argument");if(o.isMemberExpression())return;let l=e.node;if(o.isIdentifier()){let u=o.node.name;if(t.getBinding(u)!==e.scope.getBinding(u))return;let c=s.get(u),p=n.get(u);if((c==null?void 0:c.length)>0||p)if(p)e.replaceWith(ke.types.assignmentExpression(l.operator[0]+"=",a(p,o.node),Uc(u)));else if(l.prefix)e.replaceWith(Fi(this.metadata,c,ke.types.cloneNode(l),e.scope));else{let d=t.generateDeclaredUidIdentifier(u);e.replaceWith(ke.types.sequenceExpression([ke.types.assignmentExpression("=",ke.types.cloneNode(d),ke.types.cloneNode(l)),Fi(this.metadata,c,ke.types.identifier(u),e.scope),ke.types.cloneNode(d)]))}}i(e),e.skip()},AssignmentExpression:{exit(e){let{scope:t,seen:r,imported:n,exported:s,requeueInParent:i,buildImportReference:a}=this;if(r.has(e.node))return;r.add(e.node);let o=e.get("left");if(!o.isMemberExpression())if(o.isIdentifier()){let l=o.node.name;if(t.getBinding(l)!==e.scope.getBinding(l))return;let u=s.get(l),c=n.get(l);if((u==null?void 0:u.length)>0||c){let p=e.node;c&&(p.left=a(c,o.node),p.right=ke.types.sequenceExpression([p.right,Uc(l)]));let{operator:d}=p,m;d==="="?m=p:d==="&&="||d==="||="||d==="??="?m=ke.types.assignmentExpression("=",p.left,ke.types.logicalExpression(d.slice(0,-1),ke.types.cloneNode(p.left),p.right)):m=ke.types.assignmentExpression("=",p.left,ke.types.binaryExpression(d.slice(0,-1),ke.types.cloneNode(p.left),p.right)),e.replaceWith(Fi(this.metadata,u,m,e.scope)),i(e),e.skip()}}else{let l=o.getOuterBindingIdentifiers(),u=Object.keys(l).filter(d=>t.getBinding(d)===e.scope.getBinding(d)),c=u.find(d=>n.has(d));c&&(e.node.right=ke.types.sequenceExpression([e.node.right,Uc(c)]));let p=[];if(u.forEach(d=>{let m=s.get(d)||[];m.length>0&&p.push(Fi(this.metadata,m,ke.types.identifier(d),e.scope))}),p.length>0){let d=ke.types.sequenceExpression(p);e.parentPath.isExpressionStatement()&&(d=ke.types.expressionStatement(d),d._blockHoist=e.parentPath.node._blockHoist);let m=e.insertAfter(d)[0];i(m)}}}},ForXStatement(e){let{scope:t,node:r}=e,{left:n}=r,{exported:s,imported:i,scope:a}=this;if(!ke.types.isVariableDeclaration(n)){let o=!1,l,u=e.get("body").scope;for(let d of Object.keys(ke.types.getOuterBindingIdentifiers(n)))a.getBinding(d)===t.getBinding(d)&&(s.has(d)&&(o=!0,u.hasOwnBinding(d)&&u.rename(d)),i.has(d)&&!l&&(l=d));if(!o&&!l)return;e.ensureBlock();let c=e.get("body"),p=t.generateUidIdentifierBasedOnNode(n);e.get("left").replaceWith(ke.types.variableDeclaration("let",[ke.types.variableDeclarator(ke.types.cloneNode(p))])),t.registerDeclaration(e.get("left")),o&&c.unshiftContainer("body",ke.types.expressionStatement(ke.types.assignmentExpression("=",n,p))),l&&c.unshiftContainer("body",ke.types.expressionStatement(Uc(l)))}}}});var rg=x(ja=>{"use strict";Object.defineProperty(ja,"__esModule",{value:!0});ja.default=Vpe;ja.hasExports=Rpe;ja.isSideEffectImport=qpe;ja.validateImportInteropOption=i2;var s2=require("path"),Mpe=ia();function Rpe(e){return e.hasExports}function qpe(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function i2(e){if(typeof e!="function"&&e!=="none"&&e!=="babel"&&e!=="node")throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`);return e}function Upe(e,t,r){return typeof e=="function"?i2(e(t,r)):e}function Vpe(e,t,{importInterop:r,initializeReexports:n=!1,getWrapperPayload:s,esNamespaceOnly:i=!1,filename:a}){t||(t=e.scope.generateUidIdentifier("exports").name);let o=new Set;Kpe(e);let{local:l,sources:u,hasExports:c}=$pe(e,{initializeReexports:n,getWrapperPayload:s},o);Hpe(e);for(let[p,d]of u){let{importsNamespace:m,imports:g}=d;if(m.size>0&&g.size===0){let[b]=m;d.name=b}let f=Upe(r,p,a);f==="none"?d.interop="none":f==="node"&&d.interop==="namespace"?d.interop="node-namespace":f==="node"&&d.interop==="default"?d.interop="node-default":i&&d.interop==="namespace"&&(d.interop="default")}return{exportName:t,exportNameListName:null,hasExports:c,local:l,source:u,stringSpecifiers:o}}function Vc(e,t){if(e.isIdentifier())return e.node.name;if(e.isStringLiteral()){let r=e.node.value;return(0,Mpe.isIdentifierName)(r)||t.add(r),r}else throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}function a2(e){if(!e.isExportSpecifier())throw e.isExportNamespaceSpecifier()?e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-transform-export-namespace-from`."):e.buildCodeFrameError("Unexpected export specifier type")}function $pe(e,{getWrapperPayload:t,initializeReexports:r},n){let s=Wpe(e,r,n),i=new Map,a=new Map,o=(u,c)=>{let p=u.value,d=a.get(p);return d?i.get(p).push(c):(d={name:e.scope.generateUidIdentifier((0,s2.basename)(p,(0,s2.extname)(p))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,wrap:null,get lazy(){return this.wrap==="lazy"},referenced:!1},a.set(p,d),i.set(p,[c])),d},l=!1;e.get("body").forEach(u=>{if(u.isImportDeclaration()){let c=o(u.node.source,u.node);c.loc||(c.loc=u.node.loc),u.get("specifiers").forEach(p=>{if(p.isImportDefaultSpecifier()){let d=p.get("local").node.name;c.imports.set(d,"default");let m=s.get(d);m&&(s.delete(d),m.names.forEach(g=>{c.reexports.set(g,"default")}),c.referenced=!0)}else if(p.isImportNamespaceSpecifier()){let d=p.get("local").node.name;c.importsNamespace.add(d);let m=s.get(d);m&&(s.delete(d),m.names.forEach(g=>{c.reexportNamespace.add(g)}),c.referenced=!0)}else if(p.isImportSpecifier()){let d=Vc(p.get("imported"),n),m=p.get("local").node.name;c.imports.set(m,d);let g=s.get(m);g&&(s.delete(m),g.names.forEach(f=>{c.reexports.set(f,d)}),c.referenced=!0)}})}else if(u.isExportAllDeclaration()){l=!0;let c=o(u.node.source,u.node);c.loc||(c.loc=u.node.loc),c.reexportAll={loc:u.node.loc},c.referenced=!0}else if(u.isExportNamedDeclaration()&&u.node.source){l=!0;let c=o(u.node.source,u.node);c.loc||(c.loc=u.node.loc),u.get("specifiers").forEach(p=>{a2(p);let d=Vc(p.get("local"),n),m=Vc(p.get("exported"),n);if(c.reexports.set(m,d),c.referenced=!0,m==="__esModule")throw p.get("exported").buildCodeFrameError('Illegal export "__esModule".')})}else(u.isExportNamedDeclaration()||u.isExportDefaultDeclaration())&&(l=!0)});for(let u of a.values()){let c=!1,p=!1;u.importsNamespace.size>0&&(c=!0,p=!0),u.reexportAll&&(p=!0);for(let d of u.imports.values())d==="default"?c=!0:p=!0;for(let d of u.reexports.values())d==="default"?c=!0:p=!0;c&&p?u.interop="namespace":c&&(u.interop="default")}if(t)for(let[u,c]of a)c.wrap=t(u,c,i.get(u));return{hasExports:l,local:s,sources:a}}function Wpe(e,t,r){let n=new Map,s=e.scope,i=e.get("body");i.forEach(l=>{let u;if(l.isImportDeclaration())u="import";else{if(l.isExportDefaultDeclaration()&&(l=l.get("declaration")),l.isExportNamedDeclaration()){if(l.node.declaration)l=l.get("declaration");else if(t&&l.node.source&&l.get("source").isStringLiteral()){l.get("specifiers").forEach(c=>{a2(c),n.set(c.get("local").node.name,"block")});return}}if(l.isFunctionDeclaration())u="hoisted";else if(l.isClassDeclaration())u="block";else if(l.isVariableDeclaration({kind:"var"}))u="var";else if(l.isVariableDeclaration())u="block";else return}Object.keys(l.getOuterBindingIdentifiers()).forEach(c=>{n.set(c,u)})});let a=new Map,o=l=>{let u=l.node.name,c=a.get(u);if(!c){var p,d;let m=(p=n.get(u))!=null?p:(d=s.getBinding(u))==null?void 0:d.kind;if(m===void 0)throw l.buildCodeFrameError(`Exporting local "${u}", which is not declared.`);c={names:[],kind:m},a.set(u,c)}return c};return i.forEach(l=>{if(l.isExportNamedDeclaration()&&(t||!l.node.source))if(l.node.declaration){let u=l.get("declaration"),c=u.getOuterBindingIdentifierPaths();Object.keys(c).forEach(p=>{if(p==="__esModule")throw u.buildCodeFrameError('Illegal export "__esModule".');o(c[p]).names.push(p)})}else l.get("specifiers").forEach(u=>{let c=u.get("local"),p=u.get("exported"),d=o(c),m=Vc(p,r);if(m==="__esModule")throw p.buildCodeFrameError('Illegal export "__esModule".');d.names.push(m)});else if(l.isExportDefaultDeclaration()){let u=l.get("declaration");if(u.isFunctionDeclaration()||u.isClassDeclaration())o(u.get("id")).names.push("default");else throw u.buildCodeFrameError("Unexpected default expression export.")}}),a}function Kpe(e){e.get("body").forEach(t=>{if(t.isExportDefaultDeclaration()){{var r;(r=t.splitExportDeclaration)!=null||(t.splitExportDeclaration=zt().NodePath.prototype.splitExportDeclaration)}t.splitExportDeclaration()}})}function Hpe(e){e.get("body").forEach(t=>{if(t.isImportDeclaration())t.remove();else if(t.isExportNamedDeclaration())t.node.declaration?(t.node.declaration._blockHoist=t.node._blockHoist,t.replaceWith(t.node.declaration)):t.remove();else if(t.isExportDefaultDeclaration()){let r=t.get("declaration");if(r.isFunctionDeclaration()||r.isClassDeclaration())r._blockHoist=t.node._blockHoist,t.replaceWith(r);else throw r.buildCodeFrameError("Unexpected default expression export.")}else t.isExportAllDeclaration()&&t.remove()})}});var o2=x($c=>{"use strict";Object.defineProperty($c,"__esModule",{value:!0});$c.toGetWrapperPayload=Ype;$c.wrapReference=Jpe;var Gpe=vt(),Xpe=rg();function Ype(e){return(t,r)=>{if(e===!1||(0,Xpe.isSideEffectImport)(r)||r.reexportAll)return null;if(e===!0)return t.includes(".")?null:"lazy";if(Array.isArray(e))return e.includes(t)?"lazy":null;if(typeof e=="function")return e(t)?"lazy":null;throw new Error(".lazy must be a boolean, string array, or function")}}function Jpe(e,t){return t==="lazy"?Gpe.types.callExpression(e,[]):null}});var ng=x(Wc=>{"use strict";Object.defineProperty(Wc,"__esModule",{value:!0});Wc.buildDynamicImport=zpe;var yr=vt();Wc.getDynamicImportSource=function(t){let[r]=t.arguments;return yr.types.isStringLiteral(r)||yr.types.isTemplateLiteral(r)?r:yr.template.expression.ast`\`\${${r}}\``};function zpe(e,t,r,n){let s=yr.types.isCallExpression(e)?e.arguments[0]:e.source;if(yr.types.isStringLiteral(s)||yr.types.isTemplateLiteral(s)&&s.quasis.length===0)return t?yr.template.expression.ast`
|
|
Promise.resolve().then(() => ${n(s)})
|
|
`:n(s);let i=yr.types.isTemplateLiteral(s)?yr.types.identifier("specifier"):yr.types.templateLiteral([yr.types.templateElement({raw:""}),yr.types.templateElement({raw:""})],[yr.types.identifier("specifier")]);return t?yr.template.expression.ast`
|
|
(specifier =>
|
|
new Promise(r => r(${i}))
|
|
.then(s => ${n(yr.types.identifier("s"))})
|
|
)(${s})
|
|
`:r?yr.template.expression.ast`
|
|
(specifier =>
|
|
new Promise(r => r(${n(i)}))
|
|
)(${s})
|
|
`:yr.template.expression.ast`
|
|
(specifier => ${n(i)})(${s})
|
|
`}});var l2=x(Kc=>{"use strict";Object.defineProperty(Kc,"__esModule",{value:!0});Kc.default=sg;{let e=sg;Kc.default=sg=function(r,n){var s,i,a,o;return e(r,{moduleId:(s=n.moduleId)!=null?s:r.moduleId,moduleIds:(i=n.moduleIds)!=null?i:r.moduleIds,getModuleId:(a=n.getModuleId)!=null?a:r.getModuleId,moduleRoot:(o=n.moduleRoot)!=null?o:r.moduleRoot})}}function sg(e,t){let{filename:r,filenameRelative:n=r,sourceRoot:s=t.moduleRoot}=e,{moduleId:i,moduleIds:a=!!i,getModuleId:o,moduleRoot:l=s}=t;if(!a)return null;if(i!=null&&!o)return i;let u=l!=null?l+"/":"";if(n){let c=s!=null?new RegExp("^"+s+"/?"):"";u+=n.replace(c,"").replace(/\.\w*$/,"")}return u=u.replace(/\\/g,"/"),o&&o(u)||u}});var cl=x(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});Object.defineProperty(Qr,"buildDynamicImport",{enumerable:!0,get:function(){return efe.buildDynamicImport}});Qr.buildNamespaceInitStatements=ife;Qr.ensureStatementsHoisted=nfe;Object.defineProperty(Qr,"getModuleName",{enumerable:!0,get:function(){return tfe.default}});Object.defineProperty(Qr,"hasExports",{enumerable:!0,get:function(){return ul.hasExports}});Object.defineProperty(Qr,"isModule",{enumerable:!0,get:function(){return u2.isModule}});Object.defineProperty(Qr,"isSideEffectImport",{enumerable:!0,get:function(){return ul.isSideEffectImport}});Qr.rewriteModuleStatementsAndPrepareHeader=rfe;Object.defineProperty(Qr,"rewriteThis",{enumerable:!0,get:function(){return c2.default}});Qr.wrapInterop=sfe;var Qpe=require("assert"),nt=vt(),u2=Z0(),c2=r2(),Zpe=n2(),ul=rg(),lg=o2(),efe=ng(),tfe=l2();Qr.getDynamicImportSource=ng().getDynamicImportSource;function rfe(e,{exportName:t,strict:r,allowTopLevelThis:n,strictMode:s,noInterop:i,importInterop:a=i?"none":"babel",lazy:o,getWrapperPayload:l=lg.toGetWrapperPayload(o!=null?o:!1),wrapReference:u=lg.wrapReference,esNamespaceOnly:c,filename:p,constantReexports:d=arguments[1].loose,enumerableModuleMeta:m=arguments[1].loose,noIncompleteNsImportDetection:g}){(0,ul.validateImportInteropOption)(a),Qpe((0,u2.isModule)(e),"Cannot process module statements in a script"),e.node.sourceType="script";let f=(0,ul.default)(e,t,{importInterop:a,initializeReexports:d,getWrapperPayload:l,esNamespaceOnly:c,filename:p});n||(0,c2.default)(e),(0,Zpe.default)(e,f,u),s!==!1&&(e.node.directives.some(I=>I.value.value==="use strict")||e.unshiftContainer("directives",nt.types.directive(nt.types.directiveLiteral("use strict"))));let b=[];(0,ul.hasExports)(f)&&!r&&b.push(afe(f,m));let T=lfe(e,f);return T&&(f.exportNameListName=T.name,b.push(T.statement)),b.push(...ufe(e,f,u,d,g)),{meta:f,headers:b}}function nfe(e){e.forEach(t=>{t._blockHoist=3})}function sfe(e,t,r){if(r==="none")return null;if(r==="node-namespace")return nt.types.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,nt.types.booleanLiteral(!0)]);if(r==="node-default")return null;let n;if(r==="default")n="interopRequireDefault";else if(r==="namespace")n="interopRequireWildcard";else throw new Error(`Unknown interop: ${r}`);return nt.types.callExpression(e.hub.addHelper(n),[t])}function ife(e,t,r=!1,n=lg.wrapReference){var s;let i=[],a=nt.types.identifier(t.name);for(let l of t.importsNamespace)l!==t.name&&i.push(nt.template.statement`var NAME = SOURCE;`({NAME:l,SOURCE:nt.types.cloneNode(a)}));let o=(s=n(a,t.wrap))!=null?s:a;r&&i.push(...p2(e,t,!0,n));for(let l of t.reexportNamespace)i.push((nt.types.isIdentifier(o)?nt.template.statement`EXPORTS.NAME = NAMESPACE;`:nt.template.statement`
|
|
Object.defineProperty(EXPORTS, "NAME", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return NAMESPACE;
|
|
}
|
|
});
|
|
`)({EXPORTS:e.exportName,NAME:l,NAMESPACE:nt.types.cloneNode(o)}));if(t.reexportAll){let l=ofe(e,nt.types.cloneNode(o),r);l.loc=t.reexportAll.loc,i.push(l)}return i}var ig={constant:({exports:e,exportName:t,namespaceImport:r})=>nt.template.statement.ast`
|
|
${e}.${t} = ${r};
|
|
`,constantComputed:({exports:e,exportName:t,namespaceImport:r})=>nt.template.statement.ast`
|
|
${e}["${t}"] = ${r};
|
|
`,spec:({exports:e,exportName:t,namespaceImport:r})=>nt.template.statement.ast`
|
|
Object.defineProperty(${e}, "${t}", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return ${r};
|
|
},
|
|
});
|
|
`};function p2(e,t,r,n){var s;let i=nt.types.identifier(t.name);i=(s=n(i,t.wrap))!=null?s:i;let{stringSpecifiers:a}=e;return Array.from(t.reexports,([o,l])=>{let u=nt.types.cloneNode(i);l==="default"&&t.interop==="node-default"||(a.has(l)?u=nt.types.memberExpression(u,nt.types.stringLiteral(l),!0):u=nt.types.memberExpression(u,nt.types.identifier(l)));let c={exports:e.exportName,exportName:o,namespaceImport:u};return r||nt.types.isIdentifier(u)?a.has(o)?ig.constantComputed(c):ig.constant(c):ig.spec(c)})}function afe(e,t=!1){return(t?nt.template.statement`
|
|
EXPORTS.__esModule = true;
|
|
`:nt.template.statement`
|
|
Object.defineProperty(EXPORTS, "__esModule", {
|
|
value: true,
|
|
});
|
|
`)({EXPORTS:e.exportName})}function ofe(e,t,r){return(r?nt.template.statement`
|
|
Object.keys(NAMESPACE).forEach(function(key) {
|
|
if (key === "default" || key === "__esModule") return;
|
|
VERIFY_NAME_LIST;
|
|
if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
|
|
|
|
EXPORTS[key] = NAMESPACE[key];
|
|
});
|
|
`:nt.template.statement`
|
|
Object.keys(NAMESPACE).forEach(function(key) {
|
|
if (key === "default" || key === "__esModule") return;
|
|
VERIFY_NAME_LIST;
|
|
if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
|
|
|
|
Object.defineProperty(EXPORTS, key, {
|
|
enumerable: true,
|
|
get: function() {
|
|
return NAMESPACE[key];
|
|
},
|
|
});
|
|
});
|
|
`)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,nt.template)`
|
|
if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return;
|
|
`({EXPORTS_LIST:e.exportNameListName}):null})}function lfe(e,t){let r=Object.create(null);for(let i of t.local.values())for(let a of i.names)r[a]=!0;let n=!1;for(let i of t.source.values()){for(let a of i.reexports.keys())r[a]=!0;for(let a of i.reexportNamespace)r[a]=!0;n=n||!!i.reexportAll}if(!n||Object.keys(r).length===0)return null;let s=e.scope.generateUidIdentifier("exportNames");return delete r.default,{name:s.name,statement:nt.types.variableDeclaration("var",[nt.types.variableDeclarator(s,nt.types.valueToNode(r))])}}function ufe(e,t,r,n=!1,s=!1){let i=[];for(let[o,l]of t.local)if(l.kind!=="import"){if(l.kind==="hoisted")i.push([l.names[0],og(t,l.names,nt.types.identifier(o))]);else if(!s)for(let u of l.names)i.push([u,null])}for(let o of t.source.values()){if(!n){let l=p2(t,o,!1,r),u=[...o.reexports.keys()];for(let c=0;c<l.length;c++)i.push([u[c],l[c]])}if(!s)for(let l of o.reexportNamespace)i.push([l,null])}i.sort(([o],[l])=>o<l?-1:l<o?1:0);let a=[];if(s)for(let[,o]of i)a.push(o);else for(let l=0;l<i.length;l+=100){let u=[];for(let c=0;c<100&&l+c<i.length;c++){let[p,d]=i[l+c];d!==null?(u.length>0&&(a.push(og(t,u,e.scope.buildUndefinedNode())),u=[]),a.push(d)):u.push(p)}u.length>0&&a.push(og(t,u,e.scope.buildUndefinedNode()))}return a}var ag={computed:({exports:e,name:t,value:r})=>nt.template.expression.ast`${e}["${t}"] = ${r}`,default:({exports:e,name:t,value:r})=>nt.template.expression.ast`${e}.${t} = ${r}`,define:({exports:e,name:t,value:r})=>nt.template.expression.ast`
|
|
Object.defineProperty(${e}, "${t}", {
|
|
enumerable: true,
|
|
value: void 0,
|
|
writable: true
|
|
})["${t}"] = ${r}`};function og(e,t,r){let{stringSpecifiers:n,exportName:s}=e;return nt.types.expressionStatement(t.reduce((i,a)=>{let o={exports:s,name:a,value:i};return a==="__proto__"?ag.define(o):n.has(a)?ag.computed(o):ag.default(o)},r))}});var d2=x(f2=>{f2.getModuleName=()=>cl().getModuleName});var cg=x(Gc=>{"use strict";Object.defineProperty(Gc,"__esModule",{value:!0});Gc.default=void 0;function Li(){let e=uy();return Li=function(){return e},e}function ug(){let e=zt();return ug=function(){return e},e}function h2(){let e=Ta();return h2=function(){return e},e}function m2(){let e=Fe();return m2=function(){return e},e}function Hc(){let e=ps();return Hc=function(){return e},e}var cfe=d2(),{cloneNode:pfe,interpreterDirective:ffe}=m2(),dfe={enter(e,t){let r=e.node.loc;r&&(t.loc=r,e.stop())}},Ma=class{constructor(t,{code:r,ast:n,inputMap:s}){this._map=new Map,this.opts=void 0,this.declarations={},this.path=void 0,this.ast=void 0,this.scope=void 0,this.metadata={},this.code="",this.inputMap=void 0,this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)},this.opts=t,this.code=r,this.ast=n,this.inputMap=s,this.path=ug().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext(),this.scope=this.path.scope}get shebang(){let{interpreter:t}=this.path.node;return t?t.value:""}set shebang(t){t?this.path.get("interpreter").replaceWith(ffe(t)):this.path.get("interpreter").remove()}set(t,r){if(t==="helpersNamespace")throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility.If you are using @babel/plugin-external-helpers you will need to use a newer version than the one you currently have installed. If you have your own implementation, you'll want to explore using 'helperGenerator' alongside 'file.availableHelper()'.");this._map.set(t,r)}get(t){return this._map.get(t)}has(t){return this._map.has(t)}availableHelper(t,r){if(Li().isInternal(t))return!1;let n;try{n=Li().minVersion(t)}catch(s){if(s.code!=="BABEL_HELPER_UNKNOWN")throw s;return!1}return typeof r!="string"?!0:(Hc().valid(r)&&(r=`^${r}`),!Hc().intersects(`<${n}`,r)&&!Hc().intersects(">=8.0.0",r))}addHelper(t){if(Li().isInternal(t))throw new Error("Cannot use internal helper "+t);return this._addHelper(t)}_addHelper(t){let r=this.declarations[t];if(r)return pfe(r);let n=this.get("helperGenerator");if(n){let u=n(t);if(u)return u}Li().minVersion(t);let s=this.declarations[t]=this.scope.generateUidIdentifier(t),i={};for(let u of Li().getDependencies(t))i[u]=this._addHelper(u);let{nodes:a,globals:o}=Li().get(t,u=>i[u],s.name,Object.keys(this.scope.getAllBindings()));o.forEach(u=>{this.path.scope.hasBinding(u,!0)&&this.path.scope.rename(u)}),a.forEach(u=>{u._compact=!0});let l=this.path.unshiftContainer("body",a);for(let u of l)u.isVariableDeclaration()&&this.scope.registerDeclaration(u);return s}buildCodeFrameError(t,r,n=SyntaxError){let s=t==null?void 0:t.loc;if(!s&&t){let i={loc:null};(0,ug().default)(t,dfe,this.scope,i),s=i.loc;let a="This is an error on an internal node. Probably an internal error.";s&&(a+=" Location has been estimated."),r+=` (${a})`}if(s){let{highlightCode:i=!0}=this.opts;r+=`
|
|
`+(0,h2().codeFrameColumns)(this.code,{start:{line:s.start.line,column:s.start.column+1},end:s.end&&s.start.line===s.end.line?{line:s.end.line,column:s.end.column+1}:void 0},{highlightCode:i})}return new n(r)}};Gc.default=Ma;Ma.prototype.addImport=function(){throw new Error("This API has been removed. If you're looking for this functionality in Babel 7, you should import the '@babel/helper-module-imports' module and use the functions exposed from that module, such as 'addNamed' or 'addDefault'.")},Ma.prototype.addTemplateObject=function(){throw new Error("This function has been moved into the template literal transform itself.")},Ma.prototype.getModuleName=function(){return cfe.getModuleName()(this.opts,this.opts)}});var T2=x(gg=>{"use strict";Object.defineProperty(gg,"__esModule",{value:!0});gg.default=Ife;function pg(){let e=uy();return pg=function(){return e},e}function y2(){let e=bc();return y2=function(){return e},e}function g2(){let e=$o();return g2=function(){return e},e}function b2(){let e=Fe();return b2=function(){return e},e}var{arrayExpression:hfe,assignmentExpression:Xc,binaryExpression:mfe,blockStatement:yfe,callExpression:gfe,cloneNode:bfe,conditionalExpression:Efe,exportNamedDeclaration:Tfe,exportSpecifier:xfe,expressionStatement:fg,functionExpression:Sfe,identifier:gr,memberExpression:dg,objectExpression:hg,program:Yc,stringLiteral:E2,unaryExpression:vfe,variableDeclaration:mg,variableDeclarator:yg}=b2(),Pfe=e=>g2().default.statement`
|
|
(function (root, factory) {
|
|
if (typeof define === "function" && define.amd) {
|
|
define(AMD_ARGUMENTS, factory);
|
|
} else if (typeof exports === "object") {
|
|
factory(COMMON_ARGUMENTS);
|
|
} else {
|
|
factory(BROWSER_ARGUMENTS);
|
|
}
|
|
})(UMD_ROOT, function (FACTORY_PARAMETERS) {
|
|
FACTORY_BODY
|
|
});
|
|
`(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)}
|
|
at ${t.join(`
|
|
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===`
|
|
`?(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`
|
|
`:case"\r":case"\u2028":case"\u2029":Z();return;case"/":Z(),Ye="comment";return;case void 0:return Z(),Bt("eof")}if(ur.isSpaceSeparator(st)){Z();return}return z2[qr]()},comment(){switch(st){case"*":Z(),Ye="multiLineComment";return;case"/":Z(),Ye="singleLineComment";return}throw kt(Z())},multiLineComment(){switch(st){case"*":Z(),Ye="multiLineCommentAsterisk";return;case void 0:throw kt(Z())}Z()},multiLineCommentAsterisk(){switch(st){case"*":Z();return;case"/":Z(),Ye="default";return;case void 0:throw kt(Z())}Z(),Ye="multiLineComment"},singleLineComment(){switch(st){case`
|
|
`:case"\r":case"\u2028":case"\u2029":Z(),Ye="default";return;case void 0:return Z(),Bt("eof")}Z()},value(){switch(st){case"{":case"[":return Bt("punctuator",Z());case"n":return Z(),Ui("ull"),Bt("null",null);case"t":return Z(),Ui("rue"),Bt("boolean",!0);case"f":return Z(),Ui("alse"),Bt("boolean",!1);case"-":case"+":Z()==="-"&&(ds=-1),Ye="sign";return;case".":$e=Z(),Ye="decimalPointLeading";return;case"0":$e=Z(),Ye="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":$e=Z(),Ye="decimalInteger";return;case"I":return Z(),Ui("nfinity"),Bt("numeric",1/0);case"N":return Z(),Ui("aN"),Bt("numeric",NaN);case'"':case"'":dl=Z()==='"',$e="",Ye="string";return}throw kt(Z())},identifierNameStartEscape(){if(st!=="u")throw kt(Z());Z();let e=kg();switch(e){case"$":case"_":break;default:if(!ur.isIdStartChar(e))throw J2();break}$e+=e,Ye="identifierName"},identifierName(){switch(st){case"$":case"_":case"\u200C":case"\u200D":$e+=Z();return;case"\\":Z(),Ye="identifierNameEscape";return}if(ur.isIdContinueChar(st)){$e+=Z();return}return Bt("identifier",$e)},identifierNameEscape(){if(st!=="u")throw kt(Z());Z();let e=kg();switch(e){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!ur.isIdContinueChar(e))throw J2();break}$e+=e,Ye="identifierName"},sign(){switch(st){case".":$e=Z(),Ye="decimalPointLeading";return;case"0":$e=Z(),Ye="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":$e=Z(),Ye="decimalInteger";return;case"I":return Z(),Ui("nfinity"),Bt("numeric",ds*(1/0));case"N":return Z(),Ui("aN"),Bt("numeric",NaN)}throw kt(Z())},zero(){switch(st){case".":$e+=Z(),Ye="decimalPoint";return;case"e":case"E":$e+=Z(),Ye="decimalExponent";return;case"x":case"X":$e+=Z(),Ye="hexadecimal";return}return Bt("numeric",ds*0)},decimalInteger(){switch(st){case".":$e+=Z(),Ye="decimalPoint";return;case"e":case"E":$e+=Z(),Ye="decimalExponent";return}if(ur.isDigit(st)){$e+=Z();return}return Bt("numeric",ds*Number($e))},decimalPointLeading(){if(ur.isDigit(st)){$e+=Z(),Ye="decimalFraction";return}throw kt(Z())},decimalPoint(){switch(st){case"e":case"E":$e+=Z(),Ye="decimalExponent";return}if(ur.isDigit(st)){$e+=Z(),Ye="decimalFraction";return}return Bt("numeric",ds*Number($e))},decimalFraction(){switch(st){case"e":case"E":$e+=Z(),Ye="decimalExponent";return}if(ur.isDigit(st)){$e+=Z();return}return Bt("numeric",ds*Number($e))},decimalExponent(){switch(st){case"+":case"-":$e+=Z(),Ye="decimalExponentSign";return}if(ur.isDigit(st)){$e+=Z(),Ye="decimalExponentInteger";return}throw kt(Z())},decimalExponentSign(){if(ur.isDigit(st)){$e+=Z(),Ye="decimalExponentInteger";return}throw kt(Z())},decimalExponentInteger(){if(ur.isDigit(st)){$e+=Z();return}return Bt("numeric",ds*Number($e))},hexadecimal(){if(ur.isHexDigit(st)){$e+=Z(),Ye="hexadecimalInteger";return}throw kt(Z())},hexadecimalInteger(){if(ur.isHexDigit(st)){$e+=Z();return}return Bt("numeric",ds*Number($e))},string(){switch(st){case"\\":Z(),$e+=pde();return;case'"':if(dl)return Z(),Bt("string",$e);$e+=Z();return;case"'":if(!dl)return Z(),Bt("string",$e);$e+=Z();return;case`
|
|
`:case"\r":throw kt(Z());case"\u2028":case"\u2029":hde(st);break;case void 0:throw kt(Z())}$e+=Z()},start(){switch(st){case"{":case"[":return Bt("punctuator",Z())}Ye="value"},beforePropertyName(){switch(st){case"$":case"_":$e=Z(),Ye="identifierName";return;case"\\":Z(),Ye="identifierNameStartEscape";return;case"}":return Bt("punctuator",Z());case'"':case"'":dl=Z()==='"',Ye="string";return}if(ur.isIdStartChar(st)){$e+=Z(),Ye="identifierName";return}throw kt(Z())},afterPropertyName(){if(st===":")return Bt("punctuator",Z());throw kt(Z())},beforePropertyValue(){Ye="value"},afterPropertyValue(){switch(st){case",":case"}":return Bt("punctuator",Z())}throw kt(Z())},beforeArrayValue(){if(st==="]")return Bt("punctuator",Z());Ye="value"},afterArrayValue(){switch(st){case",":case"]":return Bt("punctuator",Z())}throw kt(Z())},end(){throw kt(Z())}};function Bt(e,t){return{type:e,value:t,line:Xs,column:Nn}}function Ui(e){for(let t of e){if(ms()!==t)throw kt(Z());Z()}}function pde(){switch(ms()){case"b":return Z(),"\b";case"f":return Z(),"\f";case"n":return Z(),`
|
|
`;case"r":return Z(),"\r";case"t":return Z()," ";case"v":return Z(),"\v";case"0":if(Z(),ur.isDigit(ms()))throw kt(Z());return"\0";case"x":return Z(),fde();case"u":return Z(),kg();case`
|
|
`:case"\u2028":case"\u2029":return Z(),"";case"\r":return Z(),ms()===`
|
|
`&&Z(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw kt(Z());case void 0:throw kt(Z())}return Z()}function fde(){let e="",t=ms();if(!ur.isHexDigit(t)||(e+=Z(),t=ms(),!ur.isHexDigit(t)))throw kt(Z());return e+=Z(),String.fromCodePoint(parseInt(e,16))}function kg(){let e="",t=4;for(;t-- >0;){let r=ms();if(!ur.isHexDigit(r))throw kt(Z());e+=Z()}return String.fromCodePoint(parseInt(e,16))}var dde={start(){if(cr.type==="eof")throw Vi();Ng()},beforePropertyName(){switch(cr.type){case"identifier":case"string":Fg=cr.value,qr="afterPropertyName";return;case"punctuator":ap();return;case"eof":throw Vi()}},afterPropertyName(){if(cr.type==="eof")throw Vi();qr="beforePropertyValue"},beforePropertyValue(){if(cr.type==="eof")throw Vi();Ng()},beforeArrayValue(){if(cr.type==="eof")throw Vi();if(cr.type==="punctuator"&&cr.value==="]"){ap();return}Ng()},afterPropertyValue(){if(cr.type==="eof")throw Vi();switch(cr.value){case",":qr="beforePropertyName";return;case"}":ap()}},afterArrayValue(){if(cr.type==="eof")throw Vi();switch(cr.value){case",":qr="beforeArrayValue";return;case"]":ap()}},end(){}};function Ng(){let e;switch(cr.type){case"punctuator":switch(cr.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=cr.value;break}if(hl===void 0)hl=e;else{let t=hs[hs.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,Fg,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(e!==null&&typeof e=="object")hs.push(e),Array.isArray(e)?qr="beforeArrayValue":qr="beforePropertyName";else{let t=hs[hs.length-1];t==null?qr="end":Array.isArray(t)?qr="afterArrayValue":qr="afterPropertyValue"}}function ap(){hs.pop();let e=hs[hs.length-1];e==null?qr="end":Array.isArray(e)?qr="afterArrayValue":qr="afterPropertyValue"}function kt(e){return lp(e===void 0?`JSON5: invalid end of input at ${Xs}:${Nn}`:`JSON5: invalid character '${Q2(e)}' at ${Xs}:${Nn}`)}function Vi(){return lp(`JSON5: invalid end of input at ${Xs}:${Nn}`)}function J2(){return Nn-=5,lp(`JSON5: invalid identifier character at ${Xs}:${Nn}`)}function hde(e){console.warn(`JSON5: '${Q2(e)}' in strings is not valid ECMAScript; consider escaping`)}function Q2(e){let t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){let r=e.charCodeAt(0).toString(16);return"\\x"+("00"+r).substring(r.length)}return e}function lp(e){let t=new SyntaxError(e);return t.lineNumber=Xs,t.columnNumber=Nn,t}});var rD=x((iNe,tD)=>{var Lg=_g();tD.exports=function(t,r,n){let s=[],i="",a,o,l="",u;if(r!=null&&typeof r=="object"&&!Array.isArray(r)&&(n=r.space,u=r.quote,r=r.replacer),typeof r=="function")o=r;else if(Array.isArray(r)){a=[];for(let f of r){let b;typeof f=="string"?b=f:(typeof f=="number"||f instanceof String||f instanceof Number)&&(b=String(f)),b!==void 0&&a.indexOf(b)<0&&a.push(b)}}return n instanceof Number?n=Number(n):n instanceof String&&(n=String(n)),typeof n=="number"?n>0&&(n=Math.min(10,Math.floor(n)),l=" ".substr(0,n)):typeof n=="string"&&(l=n.substr(0,10)),c("",{"":t});function c(f,b){let T=b[f];switch(T!=null&&(typeof T.toJSON5=="function"?T=T.toJSON5(f):typeof T.toJSON=="function"&&(T=T.toJSON(f))),o&&(T=o.call(b,f,T)),T instanceof Number?T=Number(T):T instanceof String?T=String(T):T instanceof Boolean&&(T=T.valueOf()),T){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof T=="string")return p(T,!1);if(typeof T=="number")return String(T);if(typeof T=="object")return Array.isArray(T)?g(T):d(T)}function p(f){let b={"'":.1,'"':.2},T={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},w="";for(let N=0;N<f.length;N++){let L=f[N];switch(L){case"'":case'"':b[L]++,w+=L;continue;case"\0":if(Lg.isDigit(f[N+1])){w+="\\x00";continue}}if(T[L]){w+=T[L];continue}if(L<" "){let W=L.charCodeAt(0).toString(16);w+="\\x"+("00"+W).substring(W.length);continue}w+=L}let I=u||Object.keys(b).reduce((N,L)=>b[N]<b[L]?N:L);return w=w.replace(new RegExp(I,"g"),T[I]),I+w+I}function d(f){if(s.indexOf(f)>=0)throw TypeError("Converting circular structure to JSON5");s.push(f);let b=i;i=i+l;let T=a||Object.keys(f),w=[];for(let N of T){let L=c(N,f);if(L!==void 0){let W=m(N)+":";l!==""&&(W+=" "),W+=L,w.push(W)}}let I;if(w.length===0)I="{}";else{let N;if(l==="")N=w.join(","),I="{"+N+"}";else{let L=`,
|
|
`+i;N=w.join(L),I=`{
|
|
`+i+N+`,
|
|
`+b+"}"}}return s.pop(),i=b,I}function m(f){if(f.length===0)return p(f,!0);let b=String.fromCodePoint(f.codePointAt(0));if(!Lg.isIdStartChar(b))return p(f,!0);for(let T=b.length;T<f.length;T++)if(!Lg.isIdContinueChar(String.fromCodePoint(f.codePointAt(T))))return p(f,!0);return f}function g(f){if(s.indexOf(f)>=0)throw TypeError("Converting circular structure to JSON5");s.push(f);let b=i;i=i+l;let T=[];for(let I=0;I<f.length;I++){let N=c(String(I),f);T.push(N!==void 0?N:"null")}let w;if(T.length===0)w="[]";else if(l==="")w="["+T.join(",")+"]";else{let I=`,
|
|
`+i,N=T.join(I);w=`[
|
|
`+i+N+`,
|
|
`+b+"]"}return s.pop(),i=b,w}}});var sD=x((aNe,nD)=>{var mde=eD(),yde=rD(),gde={parse:mde,stringify:yde};nD.exports=gde});var jg=x(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});ml.makeConfigAPI=oD;ml.makePluginAPI=bde;ml.makePresetAPI=lD;function aD(){let e=ps();return aD=function(){return e},e}var up=vt(),iD=Ri();function oD(e){let t=n=>e.using(s=>n===void 0?s.envName:typeof n=="function"?(0,iD.assertSimpleType)(n(s.envName)):(Array.isArray(n)?n:[n]).some(i=>{if(typeof i!="string")throw new Error("Unexpected non-string value");return i===s.envName})),r=n=>e.using(s=>(0,iD.assertSimpleType)(n(s.caller)));return{version:up.version,cache:e.simple(),env:t,async:()=>!1,caller:r,assertVersion:Ede}}function lD(e,t){let r=()=>JSON.parse(e.using(s=>JSON.stringify(s.targets))),n=s=>{t.push(s)};return Object.assign({},oD(e),{targets:r,addExternalDependency:n})}function bde(e,t){let r=n=>e.using(s=>s.assumptions[n]);return Object.assign({},lD(e,t),{assumption:r})}function Ede(e){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.");if(e==="*"||aD().satisfies(up.version,e))return;let t=Error.stackTraceLimit;typeof t=="number"&&t<25&&(Error.stackTraceLimit=25);let r=new Error(`Requires Babel "${e}", but was loaded with "${up.version}". 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.`);throw typeof t=="number"&&(Error.stackTraceLimit=t),Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:up.version,range:e})}});var pp=x(cp=>{"use strict";Object.defineProperty(cp,"__esModule",{value:!0});cp.finalize=Tde;cp.flattenToSet=xde;function Tde(e){return Object.freeze(e)}function xde(e){let t=new Set,r=[e];for(;r.length>0;)for(let n of r.pop())Array.isArray(n)?r.push(n):t.add(n);return t}});var dp=x(fp=>{"use strict";Object.defineProperty(fp,"__esModule",{value:!0});fp.default=void 0;var Sde=pp(),Mg=class{constructor(t,r,n,s=(0,Sde.finalize)([])){this.key=void 0,this.manipulateOptions=void 0,this.post=void 0,this.pre=void 0,this.visitor=void 0,this.parserOverride=void 0,this.generatorOverride=void 0,this.options=void 0,this.externalDependencies=void 0,this.key=t.name||n,this.manipulateOptions=t.manipulateOptions,this.post=t.post,this.pre=t.pre,this.visitor=t.visitor||{},this.parserOverride=t.parserOverride,this.generatorOverride=t.generatorOverride,this.options=r,this.externalDependencies=s}};fp.default=Mg});var cD=x(Rg=>{"use strict";Object.defineProperty(Rg,"__esModule",{value:!0});Rg.once=vde;var uD=Gs();function vde(e){let t,r,n=!1;return function*(){if(!t){if(r)return n=!0,yield*(0,uD.waitFor)(r);if(yield*(0,uD.isAsync)()){let s,i;r=new Promise((a,o)=>{s=a,i=o});try{t={ok:!0,value:yield*e()},r=null,n&&s(t.value)}catch(a){t={ok:!1,value:a},r=null,n&&i(a)}}else try{t={ok:!0,value:yield*e()}}catch(s){t={ok:!1,value:s}}}if(t.ok)return t.value;throw t.value}}});var pD=x((pNe,Pde)=>{Pde.exports=[{name:"nodejs",version:"0.2.0",date:"2011-08-26",lts:!1,security:!1,v8:"2.3.8.0"},{name:"nodejs",version:"0.3.0",date:"2011-08-26",lts:!1,security:!1,v8:"2.5.1.0"},{name:"nodejs",version:"0.4.0",date:"2011-08-26",lts:!1,security:!1,v8:"3.1.2.0"},{name:"nodejs",version:"0.5.0",date:"2011-08-26",lts:!1,security:!1,v8:"3.1.8.25"},{name:"nodejs",version:"0.6.0",date:"2011-11-04",lts:!1,security:!1,v8:"3.6.6.6"},{name:"nodejs",version:"0.7.0",date:"2012-01-17",lts:!1,security:!1,v8:"3.8.6.0"},{name:"nodejs",version:"0.8.0",date:"2012-06-22",lts:!1,security:!1,v8:"3.11.10.10"},{name:"nodejs",version:"0.9.0",date:"2012-07-20",lts:!1,security:!1,v8:"3.11.10.15"},{name:"nodejs",version:"0.10.0",date:"2013-03-11",lts:!1,security:!1,v8:"3.14.5.8"},{name:"nodejs",version:"0.11.0",date:"2013-03-28",lts:!1,security:!1,v8:"3.17.13.0"},{name:"nodejs",version:"0.12.0",date:"2015-02-06",lts:!1,security:!1,v8:"3.28.73.0"},{name:"nodejs",version:"4.0.0",date:"2015-09-08",lts:!1,security:!1,v8:"4.5.103.30"},{name:"nodejs",version:"4.1.0",date:"2015-09-17",lts:!1,security:!1,v8:"4.5.103.33"},{name:"nodejs",version:"4.2.0",date:"2015-10-12",lts:"Argon",security:!1,v8:"4.5.103.35"},{name:"nodejs",version:"4.3.0",date:"2016-02-09",lts:"Argon",security:!1,v8:"4.5.103.35"},{name:"nodejs",version:"4.4.0",date:"2016-03-08",lts:"Argon",security:!1,v8:"4.5.103.35"},{name:"nodejs",version:"4.5.0",date:"2016-08-16",lts:"Argon",security:!1,v8:"4.5.103.37"},{name:"nodejs",version:"4.6.0",date:"2016-09-27",lts:"Argon",security:!0,v8:"4.5.103.37"},{name:"nodejs",version:"4.7.0",date:"2016-12-06",lts:"Argon",security:!1,v8:"4.5.103.43"},{name:"nodejs",version:"4.8.0",date:"2017-02-21",lts:"Argon",security:!1,v8:"4.5.103.45"},{name:"nodejs",version:"4.9.0",date:"2018-03-28",lts:"Argon",security:!0,v8:"4.5.103.53"},{name:"nodejs",version:"5.0.0",date:"2015-10-29",lts:!1,security:!1,v8:"4.6.85.28"},{name:"nodejs",version:"5.1.0",date:"2015-11-17",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.2.0",date:"2015-12-09",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.3.0",date:"2015-12-15",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.4.0",date:"2016-01-06",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.5.0",date:"2016-01-21",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.6.0",date:"2016-02-09",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.7.0",date:"2016-02-23",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.8.0",date:"2016-03-09",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.9.0",date:"2016-03-16",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.10.0",date:"2016-04-01",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.11.0",date:"2016-04-21",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.12.0",date:"2016-06-23",lts:!1,security:!1,v8:"4.6.85.32"},{name:"nodejs",version:"6.0.0",date:"2016-04-26",lts:!1,security:!1,v8:"5.0.71.35"},{name:"nodejs",version:"6.1.0",date:"2016-05-05",lts:!1,security:!1,v8:"5.0.71.35"},{name:"nodejs",version:"6.2.0",date:"2016-05-17",lts:!1,security:!1,v8:"5.0.71.47"},{name:"nodejs",version:"6.3.0",date:"2016-07-06",lts:!1,security:!1,v8:"5.0.71.52"},{name:"nodejs",version:"6.4.0",date:"2016-08-12",lts:!1,security:!1,v8:"5.0.71.60"},{name:"nodejs",version:"6.5.0",date:"2016-08-26",lts:!1,security:!1,v8:"5.1.281.81"},{name:"nodejs",version:"6.6.0",date:"2016-09-14",lts:!1,security:!1,v8:"5.1.281.83"},{name:"nodejs",version:"6.7.0",date:"2016-09-27",lts:!1,security:!0,v8:"5.1.281.83"},{name:"nodejs",version:"6.8.0",date:"2016-10-12",lts:!1,security:!1,v8:"5.1.281.84"},{name:"nodejs",version:"6.9.0",date:"2016-10-18",lts:"Boron",security:!1,v8:"5.1.281.84"},{name:"nodejs",version:"6.10.0",date:"2017-02-21",lts:"Boron",security:!1,v8:"5.1.281.93"},{name:"nodejs",version:"6.11.0",date:"2017-06-06",lts:"Boron",security:!1,v8:"5.1.281.102"},{name:"nodejs",version:"6.12.0",date:"2017-11-06",lts:"Boron",security:!1,v8:"5.1.281.108"},{name:"nodejs",version:"6.13.0",date:"2018-02-10",lts:"Boron",security:!1,v8:"5.1.281.111"},{name:"nodejs",version:"6.14.0",date:"2018-03-28",lts:"Boron",security:!0,v8:"5.1.281.111"},{name:"nodejs",version:"6.15.0",date:"2018-11-27",lts:"Boron",security:!0,v8:"5.1.281.111"},{name:"nodejs",version:"6.16.0",date:"2018-12-26",lts:"Boron",security:!1,v8:"5.1.281.111"},{name:"nodejs",version:"6.17.0",date:"2019-02-28",lts:"Boron",security:!0,v8:"5.1.281.111"},{name:"nodejs",version:"7.0.0",date:"2016-10-25",lts:!1,security:!1,v8:"5.4.500.36"},{name:"nodejs",version:"7.1.0",date:"2016-11-08",lts:!1,security:!1,v8:"5.4.500.36"},{name:"nodejs",version:"7.2.0",date:"2016-11-22",lts:!1,security:!1,v8:"5.4.500.43"},{name:"nodejs",version:"7.3.0",date:"2016-12-20",lts:!1,security:!1,v8:"5.4.500.45"},{name:"nodejs",version:"7.4.0",date:"2017-01-04",lts:!1,security:!1,v8:"5.4.500.45"},{name:"nodejs",version:"7.5.0",date:"2017-01-31",lts:!1,security:!1,v8:"5.4.500.48"},{name:"nodejs",version:"7.6.0",date:"2017-02-21",lts:!1,security:!1,v8:"5.5.372.40"},{name:"nodejs",version:"7.7.0",date:"2017-02-28",lts:!1,security:!1,v8:"5.5.372.41"},{name:"nodejs",version:"7.8.0",date:"2017-03-29",lts:!1,security:!1,v8:"5.5.372.43"},{name:"nodejs",version:"7.9.0",date:"2017-04-11",lts:!1,security:!1,v8:"5.5.372.43"},{name:"nodejs",version:"7.10.0",date:"2017-05-02",lts:!1,security:!1,v8:"5.5.372.43"},{name:"nodejs",version:"8.0.0",date:"2017-05-30",lts:!1,security:!1,v8:"5.8.283.41"},{name:"nodejs",version:"8.1.0",date:"2017-06-08",lts:!1,security:!1,v8:"5.8.283.41"},{name:"nodejs",version:"8.2.0",date:"2017-07-19",lts:!1,security:!1,v8:"5.8.283.41"},{name:"nodejs",version:"8.3.0",date:"2017-08-08",lts:!1,security:!1,v8:"6.0.286.52"},{name:"nodejs",version:"8.4.0",date:"2017-08-15",lts:!1,security:!1,v8:"6.0.286.52"},{name:"nodejs",version:"8.5.0",date:"2017-09-12",lts:!1,security:!1,v8:"6.0.287.53"},{name:"nodejs",version:"8.6.0",date:"2017-09-26",lts:!1,security:!1,v8:"6.0.287.53"},{name:"nodejs",version:"8.7.0",date:"2017-10-11",lts:!1,security:!1,v8:"6.1.534.42"},{name:"nodejs",version:"8.8.0",date:"2017-10-24",lts:!1,security:!1,v8:"6.1.534.42"},{name:"nodejs",version:"8.9.0",date:"2017-10-31",lts:"Carbon",security:!1,v8:"6.1.534.46"},{name:"nodejs",version:"8.10.0",date:"2018-03-06",lts:"Carbon",security:!1,v8:"6.2.414.50"},{name:"nodejs",version:"8.11.0",date:"2018-03-28",lts:"Carbon",security:!0,v8:"6.2.414.50"},{name:"nodejs",version:"8.12.0",date:"2018-09-10",lts:"Carbon",security:!1,v8:"6.2.414.66"},{name:"nodejs",version:"8.13.0",date:"2018-11-20",lts:"Carbon",security:!1,v8:"6.2.414.72"},{name:"nodejs",version:"8.14.0",date:"2018-11-27",lts:"Carbon",security:!0,v8:"6.2.414.72"},{name:"nodejs",version:"8.15.0",date:"2018-12-26",lts:"Carbon",security:!1,v8:"6.2.414.75"},{name:"nodejs",version:"8.16.0",date:"2019-04-16",lts:"Carbon",security:!1,v8:"6.2.414.77"},{name:"nodejs",version:"8.17.0",date:"2019-12-17",lts:"Carbon",security:!0,v8:"6.2.414.78"},{name:"nodejs",version:"9.0.0",date:"2017-10-31",lts:!1,security:!1,v8:"6.2.414.32"},{name:"nodejs",version:"9.1.0",date:"2017-11-07",lts:!1,security:!1,v8:"6.2.414.32"},{name:"nodejs",version:"9.2.0",date:"2017-11-14",lts:!1,security:!1,v8:"6.2.414.44"},{name:"nodejs",version:"9.3.0",date:"2017-12-12",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.4.0",date:"2018-01-10",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.5.0",date:"2018-01-31",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.6.0",date:"2018-02-21",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.7.0",date:"2018-03-01",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.8.0",date:"2018-03-07",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.9.0",date:"2018-03-21",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.10.0",date:"2018-03-28",lts:!1,security:!0,v8:"6.2.414.46"},{name:"nodejs",version:"9.11.0",date:"2018-04-04",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"10.0.0",date:"2018-04-24",lts:!1,security:!1,v8:"6.6.346.24"},{name:"nodejs",version:"10.1.0",date:"2018-05-08",lts:!1,security:!1,v8:"6.6.346.27"},{name:"nodejs",version:"10.2.0",date:"2018-05-23",lts:!1,security:!1,v8:"6.6.346.32"},{name:"nodejs",version:"10.3.0",date:"2018-05-29",lts:!1,security:!1,v8:"6.6.346.32"},{name:"nodejs",version:"10.4.0",date:"2018-06-06",lts:!1,security:!1,v8:"6.7.288.43"},{name:"nodejs",version:"10.5.0",date:"2018-06-20",lts:!1,security:!1,v8:"6.7.288.46"},{name:"nodejs",version:"10.6.0",date:"2018-07-04",lts:!1,security:!1,v8:"6.7.288.46"},{name:"nodejs",version:"10.7.0",date:"2018-07-18",lts:!1,security:!1,v8:"6.7.288.49"},{name:"nodejs",version:"10.8.0",date:"2018-08-01",lts:!1,security:!1,v8:"6.7.288.49"},{name:"nodejs",version:"10.9.0",date:"2018-08-15",lts:!1,security:!1,v8:"6.8.275.24"},{name:"nodejs",version:"10.10.0",date:"2018-09-06",lts:!1,security:!1,v8:"6.8.275.30"},{name:"nodejs",version:"10.11.0",date:"2018-09-19",lts:!1,security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.12.0",date:"2018-10-10",lts:!1,security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.13.0",date:"2018-10-30",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.14.0",date:"2018-11-27",lts:"Dubnium",security:!0,v8:"6.8.275.32"},{name:"nodejs",version:"10.15.0",date:"2018-12-26",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.16.0",date:"2019-05-28",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.17.0",date:"2019-10-22",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.18.0",date:"2019-12-17",lts:"Dubnium",security:!0,v8:"6.8.275.32"},{name:"nodejs",version:"10.19.0",date:"2020-02-05",lts:"Dubnium",security:!0,v8:"6.8.275.32"},{name:"nodejs",version:"10.20.0",date:"2020-03-26",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.21.0",date:"2020-06-02",lts:"Dubnium",security:!0,v8:"6.8.275.32"},{name:"nodejs",version:"10.22.0",date:"2020-07-21",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.23.0",date:"2020-10-27",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.24.0",date:"2021-02-23",lts:"Dubnium",security:!0,v8:"6.8.275.32"},{name:"nodejs",version:"11.0.0",date:"2018-10-23",lts:!1,security:!1,v8:"7.0.276.28"},{name:"nodejs",version:"11.1.0",date:"2018-10-30",lts:!1,security:!1,v8:"7.0.276.32"},{name:"nodejs",version:"11.2.0",date:"2018-11-15",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.3.0",date:"2018-11-27",lts:!1,security:!0,v8:"7.0.276.38"},{name:"nodejs",version:"11.4.0",date:"2018-12-07",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.5.0",date:"2018-12-18",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.6.0",date:"2018-12-26",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.7.0",date:"2019-01-17",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.8.0",date:"2019-01-24",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.9.0",date:"2019-01-30",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.10.0",date:"2019-02-14",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.11.0",date:"2019-03-05",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.12.0",date:"2019-03-14",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.13.0",date:"2019-03-28",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.14.0",date:"2019-04-10",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.15.0",date:"2019-04-30",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"12.0.0",date:"2019-04-23",lts:!1,security:!1,v8:"7.4.288.21"},{name:"nodejs",version:"12.1.0",date:"2019-04-29",lts:!1,security:!1,v8:"7.4.288.21"},{name:"nodejs",version:"12.2.0",date:"2019-05-07",lts:!1,security:!1,v8:"7.4.288.21"},{name:"nodejs",version:"12.3.0",date:"2019-05-21",lts:!1,security:!1,v8:"7.4.288.27"},{name:"nodejs",version:"12.4.0",date:"2019-06-04",lts:!1,security:!1,v8:"7.4.288.27"},{name:"nodejs",version:"12.5.0",date:"2019-06-26",lts:!1,security:!1,v8:"7.5.288.22"},{name:"nodejs",version:"12.6.0",date:"2019-07-03",lts:!1,security:!1,v8:"7.5.288.22"},{name:"nodejs",version:"12.7.0",date:"2019-07-23",lts:!1,security:!1,v8:"7.5.288.22"},{name:"nodejs",version:"12.8.0",date:"2019-08-06",lts:!1,security:!1,v8:"7.5.288.22"},{name:"nodejs",version:"12.9.0",date:"2019-08-20",lts:!1,security:!1,v8:"7.6.303.29"},{name:"nodejs",version:"12.10.0",date:"2019-09-04",lts:!1,security:!1,v8:"7.6.303.29"},{name:"nodejs",version:"12.11.0",date:"2019-09-25",lts:!1,security:!1,v8:"7.7.299.11"},{name:"nodejs",version:"12.12.0",date:"2019-10-11",lts:!1,security:!1,v8:"7.7.299.13"},{name:"nodejs",version:"12.13.0",date:"2019-10-21",lts:"Erbium",security:!1,v8:"7.7.299.13"},{name:"nodejs",version:"12.14.0",date:"2019-12-17",lts:"Erbium",security:!0,v8:"7.7.299.13"},{name:"nodejs",version:"12.15.0",date:"2020-02-05",lts:"Erbium",security:!0,v8:"7.7.299.13"},{name:"nodejs",version:"12.16.0",date:"2020-02-11",lts:"Erbium",security:!1,v8:"7.8.279.23"},{name:"nodejs",version:"12.17.0",date:"2020-05-26",lts:"Erbium",security:!1,v8:"7.8.279.23"},{name:"nodejs",version:"12.18.0",date:"2020-06-02",lts:"Erbium",security:!0,v8:"7.8.279.23"},{name:"nodejs",version:"12.19.0",date:"2020-10-06",lts:"Erbium",security:!1,v8:"7.8.279.23"},{name:"nodejs",version:"12.20.0",date:"2020-11-24",lts:"Erbium",security:!1,v8:"7.8.279.23"},{name:"nodejs",version:"12.21.0",date:"2021-02-23",lts:"Erbium",security:!0,v8:"7.8.279.23"},{name:"nodejs",version:"12.22.0",date:"2021-03-30",lts:"Erbium",security:!1,v8:"7.8.279.23"},{name:"nodejs",version:"13.0.0",date:"2019-10-22",lts:!1,security:!1,v8:"7.8.279.17"},{name:"nodejs",version:"13.1.0",date:"2019-11-05",lts:!1,security:!1,v8:"7.8.279.17"},{name:"nodejs",version:"13.2.0",date:"2019-11-21",lts:!1,security:!1,v8:"7.9.317.23"},{name:"nodejs",version:"13.3.0",date:"2019-12-03",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.4.0",date:"2019-12-17",lts:!1,security:!0,v8:"7.9.317.25"},{name:"nodejs",version:"13.5.0",date:"2019-12-18",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.6.0",date:"2020-01-07",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.7.0",date:"2020-01-21",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.8.0",date:"2020-02-05",lts:!1,security:!0,v8:"7.9.317.25"},{name:"nodejs",version:"13.9.0",date:"2020-02-18",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.10.0",date:"2020-03-04",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.11.0",date:"2020-03-12",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.12.0",date:"2020-03-26",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.13.0",date:"2020-04-14",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.14.0",date:"2020-04-29",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"14.0.0",date:"2020-04-21",lts:!1,security:!1,v8:"8.1.307.30"},{name:"nodejs",version:"14.1.0",date:"2020-04-29",lts:!1,security:!1,v8:"8.1.307.31"},{name:"nodejs",version:"14.2.0",date:"2020-05-05",lts:!1,security:!1,v8:"8.1.307.31"},{name:"nodejs",version:"14.3.0",date:"2020-05-19",lts:!1,security:!1,v8:"8.1.307.31"},{name:"nodejs",version:"14.4.0",date:"2020-06-02",lts:!1,security:!0,v8:"8.1.307.31"},{name:"nodejs",version:"14.5.0",date:"2020-06-30",lts:!1,security:!1,v8:"8.3.110.9"},{name:"nodejs",version:"14.6.0",date:"2020-07-20",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.7.0",date:"2020-07-29",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.8.0",date:"2020-08-11",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.9.0",date:"2020-08-27",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.10.0",date:"2020-09-08",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.11.0",date:"2020-09-15",lts:!1,security:!0,v8:"8.4.371.19"},{name:"nodejs",version:"14.12.0",date:"2020-09-22",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.13.0",date:"2020-09-29",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.14.0",date:"2020-10-15",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.15.0",date:"2020-10-27",lts:"Fermium",security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.16.0",date:"2021-02-23",lts:"Fermium",security:!0,v8:"8.4.371.19"},{name:"nodejs",version:"14.17.0",date:"2021-05-11",lts:"Fermium",security:!1,v8:"8.4.371.23"},{name:"nodejs",version:"14.18.0",date:"2021-09-28",lts:"Fermium",security:!1,v8:"8.4.371.23"},{name:"nodejs",version:"14.19.0",date:"2022-02-01",lts:"Fermium",security:!1,v8:"8.4.371.23"},{name:"nodejs",version:"14.20.0",date:"2022-07-07",lts:"Fermium",security:!0,v8:"8.4.371.23"},{name:"nodejs",version:"14.21.0",date:"2022-11-01",lts:"Fermium",security:!1,v8:"8.4.371.23"},{name:"nodejs",version:"15.0.0",date:"2020-10-20",lts:!1,security:!1,v8:"8.6.395.16"},{name:"nodejs",version:"15.1.0",date:"2020-11-04",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.2.0",date:"2020-11-10",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.3.0",date:"2020-11-24",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.4.0",date:"2020-12-09",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.5.0",date:"2020-12-22",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.6.0",date:"2021-01-14",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.7.0",date:"2021-01-25",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.8.0",date:"2021-02-02",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.9.0",date:"2021-02-18",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.10.0",date:"2021-02-23",lts:!1,security:!0,v8:"8.6.395.17"},{name:"nodejs",version:"15.11.0",date:"2021-03-03",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.12.0",date:"2021-03-17",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.13.0",date:"2021-03-31",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.14.0",date:"2021-04-06",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"16.0.0",date:"2021-04-20",lts:!1,security:!1,v8:"9.0.257.17"},{name:"nodejs",version:"16.1.0",date:"2021-05-04",lts:!1,security:!1,v8:"9.0.257.24"},{name:"nodejs",version:"16.2.0",date:"2021-05-19",lts:!1,security:!1,v8:"9.0.257.25"},{name:"nodejs",version:"16.3.0",date:"2021-06-03",lts:!1,security:!1,v8:"9.0.257.25"},{name:"nodejs",version:"16.4.0",date:"2021-06-23",lts:!1,security:!1,v8:"9.1.269.36"},{name:"nodejs",version:"16.5.0",date:"2021-07-14",lts:!1,security:!1,v8:"9.1.269.38"},{name:"nodejs",version:"16.6.0",date:"2021-07-29",lts:!1,security:!0,v8:"9.2.230.21"},{name:"nodejs",version:"16.7.0",date:"2021-08-18",lts:!1,security:!1,v8:"9.2.230.21"},{name:"nodejs",version:"16.8.0",date:"2021-08-25",lts:!1,security:!1,v8:"9.2.230.21"},{name:"nodejs",version:"16.9.0",date:"2021-09-07",lts:!1,security:!1,v8:"9.3.345.16"},{name:"nodejs",version:"16.10.0",date:"2021-09-22",lts:!1,security:!1,v8:"9.3.345.19"},{name:"nodejs",version:"16.11.0",date:"2021-10-08",lts:!1,security:!1,v8:"9.4.146.19"},{name:"nodejs",version:"16.12.0",date:"2021-10-20",lts:!1,security:!1,v8:"9.4.146.19"},{name:"nodejs",version:"16.13.0",date:"2021-10-26",lts:"Gallium",security:!1,v8:"9.4.146.19"},{name:"nodejs",version:"16.14.0",date:"2022-02-08",lts:"Gallium",security:!1,v8:"9.4.146.24"},{name:"nodejs",version:"16.15.0",date:"2022-04-26",lts:"Gallium",security:!1,v8:"9.4.146.24"},{name:"nodejs",version:"16.16.0",date:"2022-07-07",lts:"Gallium",security:!0,v8:"9.4.146.24"},{name:"nodejs",version:"16.17.0",date:"2022-08-16",lts:"Gallium",security:!1,v8:"9.4.146.26"},{name:"nodejs",version:"16.18.0",date:"2022-10-12",lts:"Gallium",security:!1,v8:"9.4.146.26"},{name:"nodejs",version:"16.19.0",date:"2022-12-13",lts:"Gallium",security:!1,v8:"9.4.146.26"},{name:"nodejs",version:"16.20.0",date:"2023-03-28",lts:"Gallium",security:!1,v8:"9.4.146.26"},{name:"nodejs",version:"17.0.0",date:"2021-10-19",lts:!1,security:!1,v8:"9.5.172.21"},{name:"nodejs",version:"17.1.0",date:"2021-11-09",lts:!1,security:!1,v8:"9.5.172.25"},{name:"nodejs",version:"17.2.0",date:"2021-11-30",lts:!1,security:!1,v8:"9.6.180.14"},{name:"nodejs",version:"17.3.0",date:"2021-12-17",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.4.0",date:"2022-01-18",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.5.0",date:"2022-02-10",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.6.0",date:"2022-02-22",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.7.0",date:"2022-03-09",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.8.0",date:"2022-03-22",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.9.0",date:"2022-04-07",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"18.0.0",date:"2022-04-18",lts:!1,security:!1,v8:"10.1.124.8"},{name:"nodejs",version:"18.1.0",date:"2022-05-03",lts:!1,security:!1,v8:"10.1.124.8"},{name:"nodejs",version:"18.2.0",date:"2022-05-17",lts:!1,security:!1,v8:"10.1.124.8"},{name:"nodejs",version:"18.3.0",date:"2022-06-02",lts:!1,security:!1,v8:"10.2.154.4"},{name:"nodejs",version:"18.4.0",date:"2022-06-16",lts:!1,security:!1,v8:"10.2.154.4"},{name:"nodejs",version:"18.5.0",date:"2022-07-06",lts:!1,security:!0,v8:"10.2.154.4"},{name:"nodejs",version:"18.6.0",date:"2022-07-13",lts:!1,security:!1,v8:"10.2.154.13"},{name:"nodejs",version:"18.7.0",date:"2022-07-26",lts:!1,security:!1,v8:"10.2.154.13"},{name:"nodejs",version:"18.8.0",date:"2022-08-24",lts:!1,security:!1,v8:"10.2.154.13"},{name:"nodejs",version:"18.9.0",date:"2022-09-07",lts:!1,security:!1,v8:"10.2.154.15"},{name:"nodejs",version:"18.10.0",date:"2022-09-28",lts:!1,security:!1,v8:"10.2.154.15"},{name:"nodejs",version:"18.11.0",date:"2022-10-13",lts:!1,security:!1,v8:"10.2.154.15"},{name:"nodejs",version:"18.12.0",date:"2022-10-25",lts:"Hydrogen",security:!1,v8:"10.2.154.15"},{name:"nodejs",version:"18.13.0",date:"2023-01-05",lts:"Hydrogen",security:!1,v8:"10.2.154.23"},{name:"nodejs",version:"18.14.0",date:"2023-02-01",lts:"Hydrogen",security:!1,v8:"10.2.154.23"},{name:"nodejs",version:"18.15.0",date:"2023-03-05",lts:"Hydrogen",security:!1,v8:"10.2.154.26"},{name:"nodejs",version:"18.16.0",date:"2023-04-12",lts:"Hydrogen",security:!1,v8:"10.2.154.26"},{name:"nodejs",version:"18.17.0",date:"2023-07-18",lts:"Hydrogen",security:!1,v8:"10.2.154.26"},{name:"nodejs",version:"18.18.0",date:"2023-09-18",lts:"Hydrogen",security:!1,v8:"10.2.154.26"},{name:"nodejs",version:"18.19.0",date:"2023-11-29",lts:"Hydrogen",security:!1,v8:"10.2.154.26"},{name:"nodejs",version:"18.20.0",date:"2024-03-26",lts:"Hydrogen",security:!1,v8:"10.2.154.26"},{name:"nodejs",version:"19.0.0",date:"2022-10-17",lts:!1,security:!1,v8:"10.7.193.13"},{name:"nodejs",version:"19.1.0",date:"2022-11-14",lts:!1,security:!1,v8:"10.7.193.20"},{name:"nodejs",version:"19.2.0",date:"2022-11-29",lts:!1,security:!1,v8:"10.8.168.20"},{name:"nodejs",version:"19.3.0",date:"2022-12-14",lts:!1,security:!1,v8:"10.8.168.21"},{name:"nodejs",version:"19.4.0",date:"2023-01-05",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"19.5.0",date:"2023-01-24",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"19.6.0",date:"2023-02-01",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"19.7.0",date:"2023-02-21",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"19.8.0",date:"2023-03-14",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"19.9.0",date:"2023-04-10",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"20.0.0",date:"2023-04-17",lts:!1,security:!1,v8:"11.3.244.4"},{name:"nodejs",version:"20.1.0",date:"2023-05-03",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.2.0",date:"2023-05-16",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.3.0",date:"2023-06-08",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.4.0",date:"2023-07-04",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.5.0",date:"2023-07-19",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.6.0",date:"2023-08-23",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.7.0",date:"2023-09-18",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.8.0",date:"2023-09-28",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.9.0",date:"2023-10-24",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.10.0",date:"2023-11-22",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.11.0",date:"2024-01-09",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.12.0",date:"2024-03-26",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.13.0",date:"2024-05-07",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.14.0",date:"2024-05-28",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.15.0",date:"2024-06-20",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.16.0",date:"2024-07-24",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.17.0",date:"2024-08-21",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.18.0",date:"2024-10-03",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"21.0.0",date:"2023-10-17",lts:!1,security:!1,v8:"11.8.172.13"},{name:"nodejs",version:"21.1.0",date:"2023-10-24",lts:!1,security:!1,v8:"11.8.172.15"},{name:"nodejs",version:"21.2.0",date:"2023-11-14",lts:!1,security:!1,v8:"11.8.172.17"},{name:"nodejs",version:"21.3.0",date:"2023-11-30",lts:!1,security:!1,v8:"11.8.172.17"},{name:"nodejs",version:"21.4.0",date:"2023-12-05",lts:!1,security:!1,v8:"11.8.172.17"},{name:"nodejs",version:"21.5.0",date:"2023-12-19",lts:!1,security:!1,v8:"11.8.172.17"},{name:"nodejs",version:"21.6.0",date:"2024-01-14",lts:!1,security:!1,v8:"11.8.172.17"},{name:"nodejs",version:"21.7.0",date:"2024-03-06",lts:!1,security:!1,v8:"11.8.172.17"},{name:"nodejs",version:"22.0.0",date:"2024-04-24",lts:!1,security:!1,v8:"12.4.254.14"},{name:"nodejs",version:"22.1.0",date:"2024-05-02",lts:!1,security:!1,v8:"12.4.254.14"},{name:"nodejs",version:"22.2.0",date:"2024-05-15",lts:!1,security:!1,v8:"12.4.254.14"},{name:"nodejs",version:"22.3.0",date:"2024-06-11",lts:!1,security:!1,v8:"12.4.254.20"},{name:"nodejs",version:"22.4.0",date:"2024-07-02",lts:!1,security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"22.5.0",date:"2024-07-17",lts:!1,security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"22.6.0",date:"2024-08-06",lts:!1,security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"22.7.0",date:"2024-08-21",lts:!1,security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"22.8.0",date:"2024-09-03",lts:!1,security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"22.9.0",date:"2024-09-17",lts:!1,security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"22.10.0",date:"2024-10-16",lts:!1,security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"22.11.0",date:"2024-10-29",lts:"Jod",security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"22.12.0",date:"2024-12-02",lts:"Jod",security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"23.0.0",date:"2024-10-16",lts:!1,security:!1,v8:"12.9.202.26"},{name:"nodejs",version:"23.1.0",date:"2024-10-24",lts:!1,security:!1,v8:"12.9.202.28"},{name:"nodejs",version:"23.2.0",date:"2024-11-11",lts:!1,security:!1,v8:"12.9.202.28"},{name:"nodejs",version:"23.3.0",date:"2024-11-20",lts:!1,security:!1,v8:"12.9.202.28"}]});var dD=x((fNe,fD)=>{fD.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}});var hp=x((dNe,hD)=>{hD.exports.browsers=dD()});var yD=x((hNe,mD)=>{mD.exports={0:"117",1:"20",2:"21",3:"22",4:"23",5:"24",6:"25",7:"26",8:"27",9:"28",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"80",I:"138",J:"4",K:"6",L:"13",M:"14",N:"16",O:"17",P:"18",Q:"79",R:"81",S:"83",T:"84",U:"85",V:"86",W:"87",X:"88",Y:"89",Z:"90",a:"91",b:"92",c:"93",d:"94",e:"95",f:"96",g:"97",h:"98",i:"99",j:"100",k:"101",l:"102",m:"103",n:"104",o:"105",p:"106",q:"107",r:"108",s:"109",t:"110",u:"111",v:"112",w:"113",x:"114",y:"115",z:"116",AB:"118",BB:"119",CB:"120",DB:"121",EB:"122",FB:"123",GB:"124",HB:"125",IB:"126",JB:"127",KB:"128",LB:"129",MB:"130",NB:"131",OB:"132",PB:"133",QB:"134",RB:"135",SB:"136",TB:"137",UB:"5",VB:"19",WB:"29",XB:"30",YB:"31",ZB:"32",aB:"33",bB:"34",cB:"35",dB:"36",eB:"37",fB:"38",gB:"39",hB:"40",iB:"41",jB:"42",kB:"43",lB:"44",mB:"45",nB:"46",oB:"47",pB:"48",qB:"49",rB:"50",sB:"51",tB:"52",uB:"53",vB:"54",wB:"55",xB:"56",yB:"57",zB:"58","0B":"60","1B":"62","2B":"63","3B":"64","4B":"65","5B":"66","6B":"67","7B":"68","8B":"69","9B":"70",AC:"71",BC:"72",CC:"73",DC:"74",EC:"75",FC:"76",GC:"77",HC:"78",IC:"140",JC:"11.1",KC:"12.1",LC:"15.5",MC:"16.0",NC:"17.0",OC:"18.0",PC:"3",QC:"59",RC:"61",SC:"82",TC:"139",UC:"141",VC:"3.2",WC:"10.1",XC:"15.2-15.3",YC:"15.4",ZC:"16.1",aC:"16.2",bC:"16.3",cC:"16.4",dC:"16.5",eC:"17.1",fC:"17.2",gC:"17.3",hC:"17.4",iC:"17.5",jC:"18.1",kC:"18.2",lC:"18.3",mC:"18.4",nC:"18.5",oC:"26.0",pC:"11.5",qC:"4.2-4.3",rC:"5.5",sC:"2",tC:"142",uC:"143",vC:"144",wC:"3.5",xC:"3.6",yC:"3.1",zC:"5.1","0C":"6.1","1C":"7.1","2C":"9.1","3C":"13.1","4C":"14.1","5C":"15.1","6C":"15.6","7C":"16.6","8C":"17.6","9C":"TP",AD:"9.5-9.6",BD:"10.0-10.1",CD:"10.5",DD:"10.6",ED:"11.6",FD:"4.0-4.1",GD:"5.0-5.1",HD:"6.0-6.1",ID:"7.0-7.1",JD:"8.1-8.4",KD:"9.0-9.2",LD:"9.3",MD:"10.0-10.2",ND:"10.3",OD:"11.0-11.2",PD:"11.3-11.4",QD:"12.0-12.1",RD:"12.2-12.5",SD:"13.0-13.1",TD:"13.2",UD:"13.3",VD:"13.4-13.7",WD:"14.0-14.4",XD:"14.5-14.8",YD:"15.0-15.1",ZD:"15.6-15.8",aD:"16.6-16.7",bD:"17.6-17.7",cD:"all",dD:"2.1",eD:"2.2",fD:"2.3",gD:"4.1",hD:"4.4",iD:"4.4.3-4.4.4",jD:"5.0-5.4",kD:"6.2-6.4",lD:"7.2-7.4",mD:"8.2",nD:"9.2",oD:"11.1-11.2",pD:"12.0",qD:"13.0",rD:"14.0",sD:"15.0",tD:"19.0",uD:"14.9",vD:"13.52",wD:"2.5",xD:"3.0-3.1"}});var qg=x((mNe,gD)=>{gD.exports.browserVersions=yD()});var ED=x((yNe,bD)=>{bD.exports={A:{A:{K:0,D:0,E:.0395412,F:.0263608,A:.0131804,B:.395412,rC:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","rC","K","D","E","F","A","B","","",""],E:"IE",F:{rC:962323200,K:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968e3}},B:{A:{0:0,C:0,L:0,M:0,G:0,N:0,O:0,P:.084984,Q:0,H:0,R:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:.010623,c:0,d:0,e:0,f:.007082,g:0,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,p:0,q:0,r:.003541,s:.042492,t:0,u:0,v:0,w:.007082,x:.010623,y:.003541,z:0,AB:.003541,BB:.003541,CB:.031869,DB:.007082,EB:.014164,FB:.003541,GB:.007082,HB:.007082,IB:.014164,JB:.014164,KB:.010623,LB:.010623,MB:.014164,NB:.031869,OB:.017705,PB:.021246,QB:.056656,RB:.053115,SB:.584265,TB:3.30021,I:.265575},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","L","M","G","N","O","P","Q","H","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","I","","",""],E:"Edge",F:{0:1694649600,C:1438128e3,L:1447286400,M:1470096e3,G:1491868800,N:1508198400,O:1525046400,P:1542067200,Q:1579046400,H:1581033600,R:1586736e3,S:1590019200,T:1594857600,U:1598486400,V:1602201600,W:1605830400,X:161136e4,Y:1614816e3,Z:1618358400,a:1622073600,b:1626912e3,c:1630627200,d:1632441600,e:1634774400,f:1637539200,g:1641427200,h:1643932800,i:1646265600,j:1649635200,k:1651190400,l:1653955200,m:1655942400,n:1659657600,o:1661990400,p:1664755200,q:1666915200,r:1670198400,s:1673481600,t:1675900800,u:1678665600,v:1680825600,w:1683158400,x:1685664e3,y:1689897600,z:1692576e3,AB:1697155200,BB:1698969600,CB:1701993600,DB:1706227200,EB:1708732800,FB:1711152e3,GB:1713398400,HB:1715990400,IB:1718841600,JB:1721865600,KB:1724371200,LB:1726704e3,MB:1729123200,NB:1731542400,OB:1737417600,PB:1740614400,QB:1741219200,RB:1743984e3,SB:1746316800,TB:1748476800,I:1750896e3},D:{C:"ms",L:"ms",M:"ms",G:"ms",N:"ms",O:"ms",P:"ms"}},C:{A:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,sC:0,PC:0,J:0,UB:0,K:0,D:0,E:0,F:0,A:0,B:.046033,C:0,L:0,M:0,G:0,N:0,O:0,P:0,VB:0,WB:0,XB:0,YB:0,ZB:0,aB:0,bB:0,cB:0,dB:0,eB:0,fB:0,gB:0,hB:0,iB:0,jB:0,kB:0,lB:0,mB:0,nB:0,oB:0,pB:0,qB:0,rB:0,sB:0,tB:.024787,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,QC:.007082,"0B":0,RC:0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":0,"6B":0,"7B":0,"8B":0,"9B":0,AC:0,BC:0,CC:0,DC:0,EC:0,FC:0,GC:0,HC:.010623,Q:0,H:0,R:0,SC:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0,c:0,d:.003541,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,p:0,q:0,r:0,s:.007082,t:0,u:0,v:0,w:0,x:0,y:.233706,z:0,AB:.113312,BB:0,CB:.003541,DB:0,EB:0,FB:0,GB:0,HB:.014164,IB:0,JB:.003541,KB:.077902,LB:0,MB:0,NB:0,OB:.003541,PB:.007082,QB:.007082,RB:.010623,SB:.021246,TB:.017705,I:.07082,TC:1.12958,IC:.159345,UC:0,tC:0,uC:0,vC:0,wC:0,xC:0},B:"moz",C:["sC","PC","wC","xC","J","UB","K","D","E","F","A","B","C","L","M","G","N","O","P","VB","1","2","3","4","5","6","7","8","9","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","QC","0B","RC","1B","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","Q","H","R","SC","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","I","TC","IC","UC","tC","uC","vC"],E:"Firefox",F:{0:1693267200,1:1361232e3,2:1364860800,3:1368489600,4:1372118400,5:1375747200,6:1379376e3,7:1386633600,8:1391472e3,9:1395100800,sC:1161648e3,PC:1213660800,wC:124632e4,xC:1264032e3,J:1300752e3,UB:1308614400,K:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968e3,C:1331596800,L:1335225600,M:1338854400,G:1342483200,N:1346112e3,O:1349740800,P:1353628800,VB:1357603200,WB:1398729600,XB:1402358400,YB:1405987200,ZB:1409616e3,aB:1413244800,bB:1417392e3,cB:1421107200,dB:1424736e3,eB:1428278400,fB:1431475200,gB:1435881600,hB:1439251200,iB:144288e4,jB:1446508800,kB:1450137600,lB:1453852800,mB:1457395200,nB:1461628800,oB:1465257600,pB:1470096e3,qB:1474329600,rB:1479168e3,sB:1485216e3,tB:1488844800,uB:149256e4,vB:1497312e3,wB:1502150400,xB:1506556800,yB:1510617600,zB:1516665600,QC:1520985600,"0B":1525824e3,RC:1529971200,"1B":1536105600,"2B":1540252800,"3B":1544486400,"4B":154872e4,"5B":1552953600,"6B":1558396800,"7B":1562630400,"8B":1567468800,"9B":1571788800,AC:1575331200,BC:1578355200,CC:1581379200,DC:1583798400,EC:1586304e3,FC:1588636800,GC:1591056e3,HC:1593475200,Q:1595894400,H:1598313600,R:1600732800,SC:1603152e3,S:1605571200,T:1607990400,U:1611619200,V:1614038400,W:1616457600,X:1618790400,Y:1622505600,Z:1626134400,a:1628553600,b:1630972800,c:1633392e3,d:1635811200,e:1638835200,f:1641859200,g:1644364800,h:1646697600,i:1649116800,j:1651536e3,k:1653955200,l:1656374400,m:1658793600,n:1661212800,o:1663632e3,p:1666051200,q:1668470400,r:1670889600,s:1673913600,t:1676332800,u:1678752e3,v:1681171200,w:1683590400,x:1686009600,y:1688428800,z:1690848e3,AB:1695686400,BB:1698105600,CB:1700524800,DB:1702944e3,EB:1705968e3,FB:1708387200,GB:1710806400,HB:1713225600,IB:1715644800,JB:1718064e3,KB:1720483200,LB:1722902400,MB:1725321600,NB:1727740800,OB:173016e4,PB:1732579200,QB:1736208e3,RB:1738627200,SB:1741046400,TB:1743465600,I:1745884800,TC:1748304e3,IC:1750723200,UC:1753142400,tC:null,uC:null,vC:null}},D:{A:{0:.063738,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,J:0,UB:0,K:0,D:0,E:0,F:0,A:0,B:0,C:0,L:0,M:0,G:0,N:0,O:0,P:0,VB:0,WB:0,XB:0,YB:0,ZB:0,aB:0,bB:0,cB:0,dB:0,eB:0,fB:.003541,gB:.007082,hB:.007082,iB:.007082,jB:.007082,kB:.007082,lB:.007082,mB:.010623,nB:.007082,oB:.010623,pB:.017705,qB:.017705,rB:.010623,sB:.007082,tB:.010623,uB:.010623,vB:.007082,wB:.007082,xB:.017705,yB:.007082,zB:.010623,QC:.007082,"0B":.007082,RC:0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":.021246,"6B":0,"7B":.003541,"8B":.010623,"9B":.017705,AC:0,BC:.003541,CC:.007082,DC:.007082,EC:.003541,FC:.003541,GC:.007082,HC:.010623,Q:.060197,H:.010623,R:.017705,S:.028328,T:.003541,U:.010623,V:.014164,W:.03541,X:.010623,Y:.007082,Z:.007082,a:.024787,b:.010623,c:.010623,d:.014164,e:.003541,f:.007082,g:.017705,h:.042492,i:.017705,j:.007082,k:.021246,l:.014164,m:.07082,n:.03541,o:.017705,p:.017705,q:.021246,r:.03541,s:.754233,t:.021246,u:.031869,v:1.86257,w:.095607,x:.046033,y:.024787,z:.134558,AB:.056656,BB:.042492,CB:.049574,DB:.074361,EB:.07082,FB:.162886,GB:.067279,HB:.417838,IB:.067279,JB:.031869,KB:.081443,LB:.056656,MB:.095607,NB:.570101,OB:.329313,PB:.332854,QB:.237247,RB:.350559,SB:1.99358,TB:11.2781,I:.449707,TC:.014164,IC:0,UC:0},B:"webkit",C:["","","","","","","","","J","UB","K","D","E","F","A","B","C","L","M","G","N","O","P","VB","1","2","3","4","5","6","7","8","9","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","QC","0B","RC","1B","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","Q","H","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","I","TC","IC","UC"],E:"Chrome",F:{0:1694476800,1:133704e4,2:1340668800,3:1343692800,4:1348531200,5:1352246400,6:1357862400,7:1361404800,8:1364428800,9:1369094400,J:1264377600,UB:1274745600,K:1283385600,D:1287619200,E:1291248e3,F:1296777600,A:1299542400,B:1303862400,C:1307404800,L:1312243200,M:1316131200,G:1316131200,N:1319500800,O:1323734400,P:1328659200,VB:1332892800,WB:1374105600,XB:1376956800,YB:1384214400,ZB:1389657600,aB:1392940800,bB:1397001600,cB:1400544e3,dB:1405468800,eB:1409011200,fB:141264e4,gB:1416268800,hB:1421798400,iB:1425513600,jB:1429401600,kB:143208e4,lB:1437523200,mB:1441152e3,nB:1444780800,oB:1449014400,pB:1453248e3,qB:1456963200,rB:1460592e3,sB:1464134400,tB:1469059200,uB:1472601600,vB:1476230400,wB:1480550400,xB:1485302400,yB:1489017600,zB:149256e4,QC:1496707200,"0B":1500940800,RC:1504569600,"1B":1508198400,"2B":1512518400,"3B":1516752e3,"4B":1520294400,"5B":1523923200,"6B":1527552e3,"7B":1532390400,"8B":1536019200,"9B":1539648e3,AC:1543968e3,BC:154872e4,CC:1552348800,DC:1555977600,EC:1559606400,FC:1564444800,GC:1568073600,HC:1571702400,Q:1575936e3,H:1580860800,R:1586304e3,S:1589846400,T:1594684800,U:1598313600,V:1601942400,W:1605571200,X:1611014400,Y:1614556800,Z:1618272e3,a:1621987200,b:1626739200,c:1630368e3,d:1632268800,e:1634601600,f:1637020800,g:1641340800,h:1643673600,i:1646092800,j:1648512e3,k:1650931200,l:1653350400,m:1655769600,n:1659398400,o:1661817600,p:1664236800,q:1666656e3,r:166968e4,s:1673308800,t:1675728e3,u:1678147200,v:1680566400,w:1682985600,x:1685404800,y:1689724800,z:1692057600,AB:1696896e3,BB:1698710400,CB:1701993600,DB:1705968e3,EB:1708387200,FB:1710806400,GB:1713225600,HB:1715644800,IB:1718064e3,JB:1721174400,KB:1724112e3,LB:1726531200,MB:1728950400,NB:1731369600,OB:1736812800,PB:1738627200,QB:1741046400,RB:1743465600,SB:1745884800,TB:1748304e3,I:1750723200,TC:null,IC:null,UC:null}},E:{A:{J:0,UB:0,K:0,D:0,E:0,F:0,A:0,B:0,C:0,L:0,M:.010623,G:0,yC:0,VC:0,zC:0,"0C":0,"1C":0,"2C":0,WC:0,JC:.007082,KC:.007082,"3C":.028328,"4C":.031869,"5C":.014164,XC:.003541,YC:.007082,LC:.010623,"6C":.116853,MC:.024787,ZC:.017705,aC:.014164,bC:.028328,cC:.010623,dC:.017705,"7C":.166427,NC:.010623,eC:.109771,fC:.014164,gC:.014164,hC:.031869,iC:.056656,"8C":.169968,OC:.017705,jC:.042492,kC:.021246,lC:.113312,mC:.10623,nC:1.26414,oC:0,"9C":0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","yC","VC","J","UB","zC","K","0C","D","1C","E","F","2C","A","WC","B","JC","C","KC","L","3C","M","4C","G","5C","XC","YC","LC","6C","MC","ZC","aC","bC","cC","dC","7C","NC","eC","fC","gC","hC","iC","8C","OC","jC","kC","lC","mC","nC","oC","9C",""],E:"Safari",F:{yC:1205798400,VC:1226534400,J:1244419200,UB:1275868800,zC:131112e4,K:1343174400,"0C":13824e5,D:13824e5,"1C":1410998400,E:1413417600,F:1443657600,"2C":1458518400,A:1474329600,WC:1490572800,B:1505779200,JC:1522281600,C:1537142400,KC:1553472e3,L:1568851200,"3C":1585008e3,M:1600214400,"4C":1619395200,G:1632096e3,"5C":1635292800,XC:1639353600,YC:1647216e3,LC:1652745600,"6C":1658275200,MC:1662940800,ZC:1666569600,aC:1670889600,bC:1674432e3,cC:1679875200,dC:1684368e3,"7C":1690156800,NC:1695686400,eC:1698192e3,fC:1702252800,gC:1705881600,hC:1709596800,iC:1715558400,"8C":1722211200,OC:1726444800,jC:1730073600,kC:1733875200,lC:1737936e3,mC:1743379200,nC:1747008e3,oC:null,"9C":null}},F:{A:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,F:0,B:0,C:0,G:0,N:0,O:0,P:0,VB:0,WB:0,XB:0,YB:0,ZB:0,aB:0,bB:0,cB:0,dB:0,eB:0,fB:0,gB:0,hB:.003541,iB:0,jB:0,kB:0,lB:0,mB:0,nB:.007082,oB:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":0,"6B":0,"7B":0,"8B":0,"9B":0,AC:0,BC:0,CC:0,DC:0,EC:0,FC:0,GC:0,HC:0,Q:0,H:0,R:0,SC:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:.031869,Z:.017705,a:0,b:0,c:0,d:0,e:.028328,f:0,g:0,h:0,i:0,j:0,k:0,l:.067279,m:0,n:0,o:0,p:0,q:0,r:0,s:0,t:0,u:0,v:0,w:.003541,x:0,y:0,z:0,AD:0,BD:0,CD:0,DD:0,JC:0,pC:0,ED:0,KC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","F","AD","BD","CD","DD","B","JC","pC","ED","C","KC","G","N","O","P","VB","1","2","3","4","5","6","7","8","9","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","Q","H","R","SC","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","","",""],E:"Opera",F:{0:1739404800,1:1393891200,2:1399334400,3:1401753600,4:1405987200,5:1409616e3,6:1413331200,7:1417132800,8:1422316800,9:1425945600,F:1150761600,AD:1223424e3,BD:1251763200,CD:1267488e3,DD:1277942400,B:1292457600,JC:1302566400,pC:1309219200,ED:1323129600,C:1323129600,KC:1352073600,G:1372723200,N:1377561600,O:1381104e3,P:1386288e3,VB:1390867200,WB:1430179200,XB:1433808e3,YB:1438646400,ZB:1442448e3,aB:1445904e3,bB:1449100800,cB:1454371200,dB:1457308800,eB:146232e4,fB:1465344e3,gB:1470096e3,hB:1474329600,iB:1477267200,jB:1481587200,kB:1486425600,lB:1490054400,mB:1494374400,nB:1498003200,oB:1502236800,pB:1506470400,qB:1510099200,rB:1515024e3,sB:1517961600,tB:1521676800,uB:1525910400,vB:1530144e3,wB:1534982400,xB:1537833600,yB:1543363200,zB:1548201600,"0B":1554768e3,"1B":1561593600,"2B":1566259200,"3B":1570406400,"4B":1573689600,"5B":1578441600,"6B":1583971200,"7B":1587513600,"8B":1592956800,"9B":1595894400,AC:1600128e3,BC:1603238400,CC:161352e4,DC:1612224e3,EC:1616544e3,FC:1619568e3,GC:1623715200,HC:1627948800,Q:1631577600,H:1633392e3,R:1635984e3,SC:1638403200,S:1642550400,T:1644969600,U:1647993600,V:1650412800,W:1652745600,X:1654646400,Y:1657152e3,Z:1660780800,a:1663113600,b:1668816e3,c:1668643200,d:1671062400,e:1675209600,f:1677024e3,g:1679529600,h:1681948800,i:1684195200,j:1687219200,k:1690329600,l:1692748800,m:1696204800,n:169992e4,o:169992e4,p:1702944e3,q:1707264e3,r:1710115200,s:1711497600,t:1716336e3,u:1719273600,v:1721088e3,w:1724284800,x:1727222400,y:1732665600,z:1736294400},D:{F:"o",B:"o",C:"o",AD:"o",BD:"o",CD:"o",DD:"o",JC:"o",pC:"o",ED:"o",KC:"o"}},G:{A:{E:0,VC:0,FD:0,qC:.00270245,GD:0,HD:.00540489,ID:.00540489,JD:0,KD:.00270245,LD:.0162147,MD:.00135122,ND:.0270245,OD:.172957,PD:.00945856,QD:.00270245,RD:.0932344,SD:.00135122,TD:.00405367,UD:.00270245,VD:.0148635,WD:.0986393,XD:.036483,YD:.0256732,XC:.0229708,YC:.0297269,LC:.0324293,ZD:.417528,MC:.0554001,ZC:.113503,aC:.0581026,bC:.106747,cC:.024322,dC:.0432391,aD:.522923,NC:.0283757,eC:.0499952,fC:.0391855,gC:.0554001,hC:.101342,iC:.205386,bD:.537787,OC:.133771,jC:.299971,kC:.158093,lC:.682368,mC:.722904,nC:8.47352,oC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","VC","FD","qC","GD","HD","ID","E","JD","KD","LD","MD","ND","OD","PD","QD","RD","SD","TD","UD","VD","WD","XD","YD","XC","YC","LC","ZD","MC","ZC","aC","bC","cC","dC","aD","NC","eC","fC","gC","hC","iC","bD","OC","jC","kC","lC","mC","nC","oC","",""],E:"Safari on iOS",F:{VC:1270252800,FD:1283904e3,qC:1299628800,GD:1331078400,HD:1359331200,ID:1394409600,E:1410912e3,JD:1413763200,KD:1442361600,LD:1458518400,MD:1473724800,ND:1490572800,OD:1505779200,PD:1522281600,QD:1537142400,RD:1553472e3,SD:1568851200,TD:1572220800,UD:1580169600,VD:1585008e3,WD:1600214400,XD:1619395200,YD:1632096e3,XC:1639353600,YC:1647216e3,LC:1652659200,ZD:1658275200,MC:1662940800,ZC:1666569600,aC:1670889600,bC:1674432e3,cC:1679875200,dC:1684368e3,aD:1690156800,NC:1694995200,eC:1698192e3,fC:1702252800,gC:1705881600,hC:1709596800,iC:1715558400,bD:1722211200,OC:1726444800,jC:1730073600,kC:1733875200,lC:1737936e3,mC:1743379200,nC:1747008e3,oC:null}},H:{A:{cD:.04},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cD","","",""],E:"Opera Mini",F:{cD:1426464e3}},I:{A:{PC:0,J:0,I:.690007,dD:0,eD:0,fD:0,gD:0,qC:138223e-9,hD:0,iD:55289e-8},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","dD","eD","fD","PC","J","gD","qC","hD","iD","I","","",""],E:"Android Browser",F:{dD:1256515200,eD:1274313600,fD:1291593600,PC:1298332800,J:1318896e3,gD:1341792e3,qC:1374624e3,hD:1386547200,iD:1401667200,I:1750723200}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,H:.883637,JC:0,pC:0,KC:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","JC","pC","C","KC","H","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,JC:1314835200,pC:1318291200,C:1330300800,KC:1349740800,H:1709769600},D:{H:"webkit"}},L:{A:{I:47.8316},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","","",""],E:"Chrome for Android",F:{I:1750723200}},M:{A:{IC:.316491},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","IC","","",""],E:"Firefox for Android",F:{IC:1750723200}},N:{A:{A:0,B:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{LC:.794457},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","LC","","",""],E:"UC Browser for Android",F:{LC:1710115200},D:{LC:"webkit"}},P:{A:{1:0,2:.0217318,3:.0217318,4:.0217318,5:.0325978,6:.0434637,7:.0651955,8:.119525,9:1.74941,J:0,jD:0,kD:0,lD:.0108659,mD:0,nD:0,WC:0,oD:0,pD:0,qD:0,rD:0,sD:0,MC:0,NC:0,OC:0,tD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","J","jD","kD","lD","mD","nD","WC","oD","pD","qD","rD","sD","MC","NC","OC","tD","1","2","3","4","5","6","7","8","9","","",""],E:"Samsung Internet",F:{1:1677369600,2:1684454400,3:1689292800,4:1697587200,5:1711497600,6:1715126400,7:1717718400,8:1725667200,9:1746057600,J:1461024e3,jD:1481846400,kD:1509408e3,lD:1528329600,mD:1546128e3,nD:1554163200,WC:1567900800,oD:1582588800,pD:1593475200,qD:1605657600,rD:1618531200,sD:1629072e3,MC:1640736e3,NC:1651708800,OC:1659657600,tD:1667260800}},Q:{A:{uD:.19377},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","uD","","",""],E:"QQ Browser",F:{uD:1710288e3}},R:{A:{vD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","vD","","",""],E:"Baidu Browser",F:{vD:1710201600}},S:{A:{wD:.012918,xD:0},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","wD","xD","","",""],E:"KaiOS Browser",F:{wD:1527811200,xD:1631664e3}}}});var vD=x((gNe,SD)=>{"use strict";var Ade=hp().browsers,Ug=qg().browserVersions,TD=ED();function xD(e){return Object.keys(e).reduce((t,r)=>(t[Ug[r]]=e[r],t),{})}SD.exports.agents=Object.keys(TD).reduce((e,t)=>{let r=TD[t];return e[Ade[t]]=Object.keys(r).reduce((n,s)=>(s==="A"?n.usage_global=xD(r[s]):s==="C"?n.versions=r[s].reduce((i,a)=>(a===""?i.push(null):i.push(Ug[a]),i),[]):s==="D"?n.prefix_exceptions=xD(r[s]):s==="E"?n.browser=r[s]:s==="F"?n.release_date=Object.keys(r[s]).reduce((i,a)=>(i[Ug[a]]=r[s][a],i),{}):n.prefix=r[s],n),{}),e},{})});var AD=x((bNe,PD)=>{PD.exports={"0.20":"39","0.21":"41","0.22":"41","0.23":"41","0.24":"41","0.25":"42","0.26":"42","0.27":"43","0.28":"43","0.29":"43","0.30":"44","0.31":"45","0.32":"45","0.33":"45","0.34":"45","0.35":"45","0.36":"47","0.37":"49","1.0":"49","1.1":"50","1.2":"51","1.3":"52","1.4":"53","1.5":"54","1.6":"56","1.7":"58","1.8":"59","2.0":"61","2.1":"61","3.0":"66","3.1":"66","4.0":"69","4.1":"69","4.2":"69","5.0":"73","6.0":"76","6.1":"76","7.0":"78","7.1":"78","7.2":"78","7.3":"78","8.0":"80","8.1":"80","8.2":"80","8.3":"80","8.4":"80","8.5":"80","9.0":"83","9.1":"83","9.2":"83","9.3":"83","9.4":"83","10.0":"85","10.1":"85","10.2":"85","10.3":"85","10.4":"85","11.0":"87","11.1":"87","11.2":"87","11.3":"87","11.4":"87","11.5":"87","12.0":"89","12.1":"89","12.2":"89","13.0":"91","13.1":"91","13.2":"91","13.3":"91","13.4":"91","13.5":"91","13.6":"91","14.0":"93","14.1":"93","14.2":"93","15.0":"94","15.1":"94","15.2":"94","15.3":"94","15.4":"94","15.5":"94","16.0":"96","16.1":"96","16.2":"96","17.0":"98","17.1":"98","17.2":"98","17.3":"98","17.4":"98","18.0":"100","18.1":"100","18.2":"100","18.3":"100","19.0":"102","19.1":"102","20.0":"104","20.1":"104","20.2":"104","20.3":"104","21.0":"106","21.1":"106","21.2":"106","21.3":"106","21.4":"106","22.0":"108","22.1":"108","22.2":"108","22.3":"108","23.0":"110","23.1":"110","23.2":"110","23.3":"110","24.0":"112","24.1":"112","24.2":"112","24.3":"112","24.4":"112","24.5":"112","24.6":"112","24.7":"112","24.8":"112","25.0":"114","25.1":"114","25.2":"114","25.3":"114","25.4":"114","25.5":"114","25.6":"114","25.7":"114","25.8":"114","25.9":"114","26.0":"116","26.1":"116","26.2":"116","26.3":"116","26.4":"116","26.5":"116","26.6":"116","27.0":"118","27.1":"118","27.2":"118","27.3":"118","28.0":"120","28.1":"120","28.2":"120","28.3":"120","29.0":"122","29.1":"122","29.2":"122","29.3":"122","29.4":"122","30.0":"124","30.1":"124","30.2":"124","30.3":"124","30.4":"124","30.5":"124","31.0":"126","31.1":"126","31.2":"126","31.3":"126","31.4":"126","31.5":"126","31.6":"126","31.7":"126","32.0":"128","32.1":"128","32.2":"128","32.3":"128","33.0":"130","33.1":"130","33.2":"130","33.3":"130","33.4":"130","34.0":"132","34.1":"132","34.2":"132","34.3":"132","34.4":"132","34.5":"132","35.0":"134","35.1":"134","35.2":"134","35.3":"134","35.4":"134","35.5":"134","35.6":"134","35.7":"134","36.0":"136","36.1":"136","36.2":"136","36.3":"136","36.4":"136","36.5":"136","36.6":"136","36.7":"136","37.0":"138","37.1":"138","37.2":"138","38.0":"140"}});var CD=x((ENe,Cde)=>{Cde.exports={"v0.8":{start:"2012-06-25",end:"2014-07-31"},"v0.10":{start:"2013-03-11",end:"2016-10-31"},"v0.12":{start:"2015-02-06",end:"2016-12-31"},v4:{start:"2015-09-08",lts:"2015-10-12",maintenance:"2017-04-01",end:"2018-04-30",codename:"Argon"},v5:{start:"2015-10-29",maintenance:"2016-04-30",end:"2016-06-30"},v6:{start:"2016-04-26",lts:"2016-10-18",maintenance:"2018-04-30",end:"2019-04-30",codename:"Boron"},v7:{start:"2016-10-25",maintenance:"2017-04-30",end:"2017-06-30"},v8:{start:"2017-05-30",lts:"2017-10-31",maintenance:"2019-01-01",end:"2019-12-31",codename:"Carbon"},v9:{start:"2017-10-01",maintenance:"2018-04-01",end:"2018-06-30"},v10:{start:"2018-04-24",lts:"2018-10-30",maintenance:"2020-05-19",end:"2021-04-30",codename:"Dubnium"},v11:{start:"2018-10-23",maintenance:"2019-04-22",end:"2019-06-01"},v12:{start:"2019-04-23",lts:"2019-10-21",maintenance:"2020-11-30",end:"2022-04-30",codename:"Erbium"},v13:{start:"2019-10-22",maintenance:"2020-04-01",end:"2020-06-01"},v14:{start:"2020-04-21",lts:"2020-10-27",maintenance:"2021-10-19",end:"2023-04-30",codename:"Fermium"},v15:{start:"2020-10-20",maintenance:"2021-04-01",end:"2021-06-01"},v16:{start:"2021-04-20",lts:"2021-10-26",maintenance:"2022-10-18",end:"2023-09-11",codename:"Gallium"},v17:{start:"2021-10-19",maintenance:"2022-04-01",end:"2022-06-01"},v18:{start:"2022-04-19",lts:"2022-10-25",maintenance:"2023-10-18",end:"2025-04-30",codename:"Hydrogen"},v19:{start:"2022-10-18",maintenance:"2023-04-01",end:"2023-06-01"},v20:{start:"2023-04-18",lts:"2023-10-24",maintenance:"2024-10-22",end:"2026-04-30",codename:"Iron"},v21:{start:"2023-10-17",maintenance:"2024-04-01",end:"2024-06-01"},v22:{start:"2024-04-24",lts:"2024-10-29",maintenance:"2025-10-21",end:"2027-04-30",codename:"Jod"},v23:{start:"2024-10-16",maintenance:"2025-04-01",end:"2025-06-01"},v24:{start:"2025-04-22",lts:"2025-10-28",maintenance:"2026-10-20",end:"2028-04-30",codename:""}}});var $g=x((TNe,DD)=>{function Vg(e){this.name="BrowserslistError",this.message=e,this.browserslist=!0,Error.captureStackTrace&&Error.captureStackTrace(this,Vg)}Vg.prototype=Error.prototype;DD.exports=Vg});var ID=x((xNe,wD)=>{wD.exports={1:"ls",2:"rec",3:"pr",4:"cr",5:"wd",6:"other",7:"unoff"}});var ND=x((SNe,_D)=>{_D.exports={y:1,n:2,a:4,p:8,u:16,x:32,d:64}});var kD=x((vNe,Wg)=>{"use strict";var Dde=ID(),OD=ND(),wde=hp().browsers,Ide=qg().browserVersions,_de=Math.log(2);function Nde(e){let t=Object.keys(OD).reduce((s,i)=>(e&OD[i]&&s.push(i),s),[]),r=e>>7,n=[];for(;r;){let s=Math.floor(Math.log(r)/_de)+1;n.unshift(`#${s}`),r-=Math.pow(2,s-1)}return t.concat(n).join(" ")}function BD(e){let t={status:Dde[e.B],title:e.C,shown:e.D};return t.stats=Object.keys(e.A).reduce((r,n)=>{let s=e.A[n];return r[wde[n]]=Object.keys(s).reduce((i,a)=>{let o=s[a].split(" "),l=Nde(a);return o.forEach(u=>i[Ide[u]]=l),i},{}),r},{}),t}Wg.exports=BD;Wg.exports.default=BD});var LD=x((PNe,Kg)=>{"use strict";var Ode=hp().browsers;function FD(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return t[Ode[r]]=Object.keys(n).reduce((s,i)=>{let a=n[i];return i==="_"?a.split(" ").forEach(o=>s[o]=null):s[i]=a,s},{}),t},{})}Kg.exports=FD;Kg.exports.default=FD});var HD=x((ANe,yl)=>{var Bde=kD().default,kde=LD().default,Ys=require("fs"),On=require("path"),Ar=$g(),jD=/^\s*\[(.+)]\s*$/,Fde=/^browserslist-config-/,Lde=/@[^/]+(?:\/[^/]+)?\/browserslist-config(?:-|$|\/)/,MD="Browserslist config should be a string or an array of strings with browser queries",Hg=!1,RD={},qD={},mp={};function UD(e){var t=" Use `dangerousExtend` option to disable.";if(!Fde.test(e)&&!Lde.test(e))throw new Ar("Browserslist config needs `browserslist-config-` prefix. "+t);if(e.replace(/^@[^/]+\//,"").indexOf(".")!==-1)throw new Ar("`.` not allowed in Browserslist config name. "+t);if(e.indexOf("node_modules")!==-1)throw new Ar("`node_modules` not allowed in Browserslist config."+t)}function ys(e){return Ys.existsSync(e)&&Ys.statSync(e).isFile()}function jde(e){return Ys.existsSync(e)&&Ys.statSync(e).isDirectory()}function VD(e,t,r){var n=On.resolve(e),s=[],i;do{if(!Mde(n))break;if(r&&n in r){i=r[n];break}if(s.push(n),!!jde(n)){var a=t(n);if(typeof a!="undefined"){i=a;break}}}while(n!==(n=On.dirname(n)));return r&&!process.env.BROWSERSLIST_DISABLE_CACHE&&s.forEach(function(o){r[o]=i}),i}function Mde(e){if(!process.env.BROWSERSLIST_ROOT_PATH)return!0;var t=On.resolve(process.env.BROWSERSLIST_ROOT_PATH);return On.relative(t,e).substring(0,2)!==".."}function Rde(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)if(typeof e[t]!="string")throw new Ar(MD)}else if(typeof e!="string")throw new Ar(MD)}function Gg(e,t){if(typeof e!="object")return e;var r;if(typeof t.env=="string"?r=t.env:process.env.BROWSERSLIST_ENV?r=process.env.BROWSERSLIST_ENV:process.env.NODE_ENV?r=process.env.NODE_ENV:r="production",t.throwOnMissing&&r&&r!=="defaults"&&!e[r])throw new Ar("Missing config for Browserslist environment `"+r+"`");return e[r]||e.defaults}function KD(e){var t=Ys.readFileSync(e).toString().replace(/^\uFEFF/m,""),r;if(t.indexOf('"browserslist"')>=0)r=JSON.parse(t).browserslist;else if(t.indexOf('"browserlist"')>=0){var n=JSON.parse(t);if(n.browserlist&&!n.browserslist)throw new Ar("`browserlist` key instead of `browserslist` in "+e)}(Array.isArray(r)||typeof r=="string")&&(r={defaults:r});for(var s in r)Rde(r[s]);return r}function $D(e){if(e in mp)return mp[e];var t=On.basename(e)==="package.json",r=t?KD(e):yl.exports.readConfig(e);return process.env.BROWSERSLIST_DISABLE_CACHE||(mp[e]=r),r}function qde(e){var t=0;for(var r in e){var n=e[r].releaseDate||{};for(var s in n)t<n[s]&&(t=n[s])}return t*1e3}function Ude(e){var t=new Date,r=new Date(e),n=t.getFullYear()-r.getFullYear(),s=t.getMonth()-r.getMonth();return n*12+s}function WD(e,t){if(e||(e={}),t&&"dataByBrowser"in t&&(t=t.dataByBrowser),typeof t=="object"){var r={};for(var n in t){var s=Object.keys(t[n]);if(s.length===1&&e[n]&&e[n].versions.length===1){var i=e[n].versions[0];r[n]={},r[n][i]=t[n][s[0]]}else r[n]=t[n]}return r}}function Vde(e,t){for(var r in e){var n=e[r];if("0"in n){var s=t[r].versions;n[s[s.length-1]]=n[0],delete n[0]}}}yl.exports={loadQueries:function(t,r){!t.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND&&UD(r);var n=require(require.resolve(r,{paths:[".",t.path]}));if(typeof n=="object"&&n!==null&&n.__esModule&&(n=n.default),n){if(Array.isArray(n))return n;if(typeof n=="object")return n.defaults||(n.defaults=[]),Gg(n,t,r)}throw new Ar("`"+r+"` config exports not an array of queries or an object of envs")},loadStat:function(t,r,n){!t.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND&&UD(r);var s=require(require.resolve(On.join(r,"browserslist-stats.json"),{paths:["."]}));return WD(n,s)},getStat:function(t,r){var n;if(t.stats?n=t.stats:process.env.BROWSERSLIST_STATS?n=process.env.BROWSERSLIST_STATS:t.path&&On.resolve&&Ys.existsSync&&(n=VD(t.path,function(s){var i=On.join(s,"browserslist-stats.json");return ys(i)?i:void 0},RD)),typeof n=="string")try{n=JSON.parse(Ys.readFileSync(n))}catch{throw new Ar("Can't read "+n)}return WD(r,n)},loadConfig:function(t){if(process.env.BROWSERSLIST)return process.env.BROWSERSLIST;if(t.config||process.env.BROWSERSLIST_CONFIG){var r=t.config||process.env.BROWSERSLIST_CONFIG;return Gg($D(r),t)}else return t.path?Gg(yl.exports.findConfig(t.path),t):void 0},loadCountry:function(t,r,n){var s=r.replace(/[^\w-]/g,"");if(!t[s]){var i;try{i=require("caniuse-lite/data/regions/"+s+".js")}catch{throw new Ar("Unknown region name `"+s+"`.")}var a=kde(i);Vde(a,n),t[r]={};for(var o in a)for(var l in a[o])t[r][o+" "+l]=a[o][l]}},loadFeature:function(t,r){if(r=r.replace(/[^\w-]/g,""),!t[r]){var n;try{n=require("caniuse-lite/data/features/"+r+".js")}catch{throw new Ar("Unknown feature name `"+r+"`.")}var s=Bde(n).stats;t[r]={};for(var i in s){t[r][i]={};for(var a in s[i])t[r][i][a]=s[i][a]}}},parseConfig:function(t){var r={defaults:[]},n=["defaults"];return t.toString().replace(/#[^\n]*/g,"").split(/\n|,/).map(function(s){return s.trim()}).filter(function(s){return s!==""}).forEach(function(s){jD.test(s)?(n=s.match(jD)[1].trim().split(" "),n.forEach(function(i){if(r[i])throw new Ar("Duplicate section "+i+" in Browserslist config");r[i]=[]})):n.forEach(function(i){r[i].push(s)})}),r},readConfig:function(t){if(!ys(t))throw new Ar("Can't read "+t+" config");return yl.exports.parseConfig(Ys.readFileSync(t))},findConfigFile:function(t){return VD(t,function(r){var n=On.join(r,"browserslist"),s=On.join(r,"package.json"),i=On.join(r,".browserslistrc"),a;if(ys(s))try{a=KD(s)}catch(o){if(o.name==="BrowserslistError")throw o;console.warn("[Browserslist] Could not parse "+s+". Ignoring it.")}if(ys(n)&&a)throw new Ar(r+" contains both browserslist and package.json with browsers");if(ys(i)&&a)throw new Ar(r+" contains both .browserslistrc and package.json with browsers");if(ys(n)&&ys(i))throw new Ar(r+" contains both .browserslistrc and browserslist");if(ys(n))return n;if(ys(i))return i;if(a)return s},qD)},findConfig:function(t){var r=this.findConfigFile(t);return r?$D(r):void 0},clearCaches:function(){Hg=!1,RD={},qD={},mp={},this.cache={}},oldDataWarning:function(t){if(!Hg&&(Hg=!0,!process.env.BROWSERSLIST_IGNORE_OLD_DATA)){var r=qde(t),n=Ude(r);if(r!==0&&n>=6){var s=n+" "+(n>1?"months":"month");console.warn("Browserslist: browsers data (caniuse-lite) is "+s+` old. Please run:
|
|
npx update-browserslist-db@latest
|
|
Why you should do it regularly: https://github.com/browserslist/update-db#readme`)}}},currentNode:function(){return"node "+process.versions.node},env:process.env}});var zD=x((CNe,JD)=>{var GD=/^\s+and\s+(.*)/i,XD=/^(?:,\s*|\s+or\s+)(.*)/i;function YD(e){return Array.isArray(e)?e.reduce(function(t,r){return t.concat(YD(r))},[]):[e]}function $de(e,t){for(var r=e.length,n=1;n<=r;n++){var s=e.substr(-n,n);if(t(s,n,r))return e.slice(0,-n)}return""}function Xg(e,t){var r={query:t};t.indexOf("not ")===0&&(r.not=!0,t=t.slice(4));for(var n in e){var s=e[n],i=t.match(s.regexp);if(i){r.type=n;for(var a=0;a<s.matches.length;a++)r[s.matches[a]]=i[a+1];return r}}return r.type="unknown",r}function Wde(e,t,r){var n;return $de(t,function(s,i,a){return GD.test(s)?(n=Xg(e,s.match(GD)[1]),n.compose="and",r.unshift(n),!0):XD.test(s)?(n=Xg(e,s.match(XD)[1]),n.compose="or",r.unshift(n),!0):i===a?(n=Xg(e,s.trim()),n.compose="or",r.unshift(n),!0):!1})}JD.exports=function(t,r){return Array.isArray(r)||(r=[r]),YD(r.map(function(n){var s=[];do n=Wde(t,n,s);while(n);return s}))}});var hw=x((DNe,dw)=>{var Kde=pD(),gs=vD().agents,Bn=AD(),Yg=CD(),xp=require("path"),Gr=$g(),pr=HD(),Hde=zD(),Gde=365.259641*24*60*60*1e3,iw="37",Xde=14;function aw(e,t){return(e+".").indexOf(t+".")===0}function Yde(e){var t=e.slice(1);return Ce.nodeVersions.some(function(r){return aw(r,t)})}function QD(e){return e.filter(function(t){return typeof t=="string"})}function yp(e){var t=e;return e.split(".").length===3&&(t=e.split(".").slice(0,-1).join(".")),t}function Js(e){return function(r){return e+" "+r}}function tb(e){return parseInt(e.split(".")[0])}function gp(e,t){if(e.length===0)return[];var r=ow(e.map(tb)),n=r[r.length-t];if(!n)return e;for(var s=[],i=e.length-1;i>=0&&!(n>tb(e[i]));i--)s.unshift(e[i]);return s}function ow(e){for(var t=[],r=0;r<e.length;r++)t.indexOf(e[r])===-1&&t.push(e[r]);return t}function Sp(e,t,r){for(var n in r)e[t+" "+n]=r[n]}function ZD(e,t){if(t=parseFloat(t),e===">")return function(n){return r(n)>t};return e===">="?function(n){return r(n)>=t}:e==="<"?function(n){return parseFloat(n)<t}:function(n){return parseFloat(n)<=t};function r(n){return parseFloat(n.split("-")[1]||n)}}function Jde(e,t){return t=t.split(".").map(zs),t[1]=t[1]||0,t[2]=t[2]||0,e===">"?function(r){return r=r.split(".").map(zs),gl(r,t)>0}:e===">="?function(r){return r=r.split(".").map(zs),gl(r,t)>=0}:e==="<"?function(r){return r=r.split(".").map(zs),gl(t,r)>0}:function(r){return r=r.split(".").map(zs),gl(t,r)>=0}}function zs(e){return parseInt(e)}function Tp(e,t){return e<t?-1:e>t?1:0}function gl(e,t){return Tp(parseInt(e[0]),parseInt(t[0]))||Tp(parseInt(e[1]||"0"),parseInt(t[1]||"0"))||Tp(parseInt(e[2]||"0"),parseInt(t[2]||"0"))}function ew(e,t){switch(t=t.split(".").map(zs),typeof t[1]=="undefined"&&(t[1]="x"),e){case"<=":return function(r){return r=r.split(".").map(zs),tw(r,t)<=0};case">=":default:return function(r){return r=r.split(".").map(zs),tw(r,t)>=0}}}function tw(e,t){return e[0]!==t[0]?e[0]<t[0]?-1:1:t[1]==="x"?0:e[1]!==t[1]?e[1]<t[1]?-1:1:0}function zde(e,t){return e.versions.indexOf(t)!==-1?t:Ce.versionAliases[e.name][t]?Ce.versionAliases[e.name][t]:!1}function bp(e,t){var r=zde(e,t);return r||(e.versions.length===1?e.versions[0]:!1)}function lw(e,t){return e=e/1e3,Object.keys(gs).reduce(function(r,n){var s=Qs(n,t);if(!s)return r;var i=Object.keys(s.releaseDate).filter(function(a){var o=s.releaseDate[a];return o!==null&&o>=e});return r.concat(i.map(Js(s.name)))},[])}function rw(e){return{name:e.name,versions:e.versions,released:e.released,releaseDate:e.releaseDate}}function Qs(e,t){if(e=e.toLowerCase(),e=Ce.aliases[e]||e,t.mobileToDesktop&&Ce.desktopNames[e]){var r=Ce.data[Ce.desktopNames[e]];if(e==="android")return Zde(rw(Ce.data[e]),r);var n=rw(r);return n.name=e,n}return Ce.data[e]}function nw(e,t){var r=t.indexOf(iw);return e.filter(function(n){return/^(?:[2-4]\.|[34]$)/.test(n)}).concat(t.slice(r))}function Qde(e){var t={};for(var r in e)t[r]=e[r];return t}function Zde(e,t){return e.released=nw(e.released,t.released),e.versions=nw(e.versions,t.versions),e.releaseDate=Qde(e.releaseDate),e.released.forEach(function(r){e.releaseDate[r]===void 0&&(e.releaseDate[r]=t.releaseDate[r])}),e}function $a(e,t){var r=Qs(e,t);if(!r)throw new Gr("Unknown browser "+e);return r}function ehe(e){return new Gr("Unknown browser query `"+e+"`. Maybe you are using old Browserslist or made typo in query.")}function Ep(e,t,r,n){var s=1;switch(t){case"android":if(n.mobileToDesktop)return e;var i=Ce.data.chrome.released;s=i.length-i.indexOf(iw);break;case"op_mob":var a=Ce.data.op_mob.released.slice(-1)[0];s=tb(a)-Xde+1;break;default:return e}return r<=s?e.slice(-1):e.slice(s-1-r)}function sw(e,t){return typeof e=="string"&&(e.indexOf("y")>=0||t&&e.indexOf("a")>=0)}function Wa(e,t){return rb(e).reduce(function(r,n,s){if(n.not&&s===0)throw new Gr("Write any browsers query (for instance, `defaults`) before `"+n.query+"`");var i=nb[n.type],a=i.select.call(Ce,t,n).map(function(l){var u=l.split(" ");return u[1]==="0"?u[0]+" "+Qs(u[0],t).versions[0]:l});if(n.compose==="and")return n.not?r.filter(function(l){return a.indexOf(l)===-1}):r.filter(function(l){return a.indexOf(l)!==-1});if(n.not){var o={};return a.forEach(function(l){o[l]=!0}),r.filter(function(l){return!o[l]})}return r.concat(a)},[])}function uw(e){return typeof e=="undefined"&&(e={}),typeof e.path=="undefined"&&(e.path=xp.resolve?xp.resolve("."):"."),e}function cw(e,t){if(typeof e=="undefined"||e===null){var r=Ce.loadConfig(t);r?e=r:e=Ce.defaults}return e}function pw(e){if(!(typeof e=="string"||Array.isArray(e)))throw new Gr("Browser queries must be an array or string. Got "+typeof e+".")}var Jg={},zg={};function Ce(e,t){t=uw(t),e=cw(e,t),pw(e);var r=rb(e).some(function(l){return nb[l.type].needsPath}),n={ignoreUnknownVersions:t.ignoreUnknownVersions,dangerousExtend:t.dangerousExtend,mobileToDesktop:t.mobileToDesktop,env:t.env};r&&(n.path=t.path),pr.oldDataWarning(Ce.data);var s=pr.getStat(t,Ce.data);if(s){n.customUsage={};for(var i in s)Sp(n.customUsage,i,s[i])}var a=JSON.stringify([e,n]);if(Jg[a])return Jg[a];var o=ow(Wa(e,n)).sort(function(l,u){if(l=l.split(" "),u=u.split(" "),l[0]===u[0]){var c=l[1].split("-")[0],p=u[1].split("-")[0];return gl(p.split("."),c.split("."))}else return Tp(l[0],u[0])});return pr.env.BROWSERSLIST_DISABLE_CACHE||(Jg[a]=o),o}function rb(e){var t=JSON.stringify(e);if(t in zg)return zg[t];var r=Hde(nb,e);return pr.env.BROWSERSLIST_DISABLE_CACHE||(zg[t]=r),r}function fw(e,t){var r=pr.loadStat(e,t,Ce.data);if(r){e.customUsage={};for(var n in r)Sp(e.customUsage,n,r[n])}if(!e.customUsage)throw new Gr("Custom usage statistics was not provided");return e.customUsage}Ce.parse=function(e,t){return t=uw(t),e=cw(e,t),pw(e),rb(e)};Ce.cache={};Ce.data={};Ce.usage={global:{},custom:null};Ce.defaults=["> 0.5%","last 2 versions","Firefox ESR","not dead"];Ce.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};Ce.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",android:"chrome"};Ce.versionAliases={};Ce.clearCaches=pr.clearCaches;Ce.parseConfig=pr.parseConfig;Ce.readConfig=pr.readConfig;Ce.findConfigFile=pr.findConfigFile;Ce.findConfig=pr.findConfig;Ce.loadConfig=pr.loadConfig;Ce.coverage=function(e,t){var r;if(typeof t=="undefined")r=Ce.usage.global;else if(t==="my stats"){var n={};n.path=xp.resolve?xp.resolve("."):".";var s=pr.getStat(n);if(!s)throw new Gr("Custom usage statistics was not provided");r={};for(var i in s)Sp(r,i,s[i])}else if(typeof t=="string")t.length>2?t=t.toLowerCase():t=t.toUpperCase(),pr.loadCountry(Ce.usage,t,Ce.data),r=Ce.usage[t];else{"dataByBrowser"in t&&(t=t.dataByBrowser),r={};for(var a in t)for(var o in t[a])r[a+" "+o]=t[a][o]}return e.reduce(function(l,u){var c=r[u];return c===void 0&&(c=r[u.replace(/ \S+$/," 0")]),l+(c||0)},0)};function Qg(e,t){var r=Ce.nodeVersions.filter(function(n){return aw(n,t.version)});if(r.length===0){if(e.ignoreUnknownVersions)return[];throw new Gr("Unknown version "+t.version+" of Node.js")}return["node "+r[r.length-1]]}function Zg(e,t){var r=parseInt(t.year),n=parseInt(t.month||"01")-1,s=parseInt(t.day||"01");return lw(Date.UTC(r,n,s,0,0,0),e)}function eb(e,t){var r=parseFloat(t.coverage),n=Ce.usage.global;if(t.place)if(t.place.match(/^my\s+stats$/i)){if(!e.customUsage)throw new Gr("Custom usage statistics was not provided");n=e.customUsage}else{var s;t.place.length===2?s=t.place.toUpperCase():s=t.place.toLowerCase(),pr.loadCountry(Ce.usage,s,Ce.data),n=Ce.usage[s]}else t.config&&(n=fw(e,t.config));for(var i=Object.keys(n).sort(function(c,p){return n[p]-n[c]}),a=0,o=[],l,u=0;u<i.length&&(l=i[u],!(n[l]===0||(a+=n[l],o.push(l),a>=r)));u++);return o}var nb={last_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(e,t){return Object.keys(gs).reduce(function(r,n){var s=Qs(n,e);if(!s)return r;var i=gp(s.released,t.versions);return i=i.map(Js(s.name)),i=Ep(i,s.name,t.versions,e),r.concat(i)},[])}},last_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+versions?$/i,select:function(e,t){return Object.keys(gs).reduce(function(r,n){var s=Qs(n,e);if(!s)return r;var i=s.released.slice(-t.versions);return i=i.map(Js(s.name)),i=Ep(i,s.name,t.versions,e),r.concat(i)},[])}},last_electron_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(e,t){var r=gp(Object.keys(Bn),t.versions);return r.map(function(n){return"chrome "+Bn[n]})}},last_node_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+major\s+versions?$/i,select:function(e,t){return gp(Ce.nodeVersions,t.versions).map(function(r){return"node "+r})}},last_browser_major_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(e,t){var r=$a(t.browser,e),n=gp(r.released,t.versions),s=n.map(Js(r.name));return s=Ep(s,r.name,t.versions,e),s}},last_electron_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(e,t){return Object.keys(Bn).slice(-t.versions).map(function(r){return"chrome "+Bn[r]})}},last_node_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+versions?$/i,select:function(e,t){return Ce.nodeVersions.slice(-t.versions).map(function(r){return"node "+r})}},last_browser_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(e,t){var r=$a(t.browser,e),n=r.released.slice(-t.versions).map(Js(r.name));return n=Ep(n,r.name,t.versions,e),n}},unreleased_versions:{matches:[],regexp:/^unreleased\s+versions$/i,select:function(e){return Object.keys(gs).reduce(function(t,r){var n=Qs(r,e);if(!n)return t;var s=n.versions.filter(function(i){return n.released.indexOf(i)===-1});return s=s.map(Js(n.name)),t.concat(s)},[])}},unreleased_electron_versions:{matches:[],regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},unreleased_browser_versions:{matches:["browser"],regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(e,t){var r=$a(t.browser,e);return r.versions.filter(function(n){return r.released.indexOf(n)===-1}).map(Js(r.name))}},last_years:{matches:["years"],regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(e,t){return lw(Date.now()-Gde*t.years,e)}},since_y:{matches:["year"],regexp:/^since (\d+)$/i,select:Zg},since_y_m:{matches:["year","month"],regexp:/^since (\d+)-(\d+)$/i,select:Zg},since_y_m_d:{matches:["year","month","day"],regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:Zg},popularity:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(e,t){var r=parseFloat(t.popularity),n=Ce.usage.global;return Object.keys(n).reduce(function(s,i){return t.sign===">"?n[i]>r&&s.push(i):t.sign==="<"?n[i]<r&&s.push(i):t.sign==="<="?n[i]<=r&&s.push(i):n[i]>=r&&s.push(i),s},[])}},popularity_in_my_stats:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(e,t){var r=parseFloat(t.popularity);if(!e.customUsage)throw new Gr("Custom usage statistics was not provided");var n=e.customUsage;return Object.keys(n).reduce(function(s,i){var a=n[i];return a==null||(t.sign===">"?a>r&&s.push(i):t.sign==="<"?a<r&&s.push(i):t.sign==="<="?a<=r&&s.push(i):a>=r&&s.push(i)),s},[])}},popularity_in_config_stats:{matches:["sign","popularity","config"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(e,t){var r=parseFloat(t.popularity),n=fw(e,t.config);return Object.keys(n).reduce(function(s,i){var a=n[i];return a==null||(t.sign===">"?a>r&&s.push(i):t.sign==="<"?a<r&&s.push(i):t.sign==="<="?a<=r&&s.push(i):a>=r&&s.push(i)),s},[])}},popularity_in_place:{matches:["sign","popularity","place"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(e,t){var r=parseFloat(t.popularity),n=t.place;n.length===2?n=n.toUpperCase():n=n.toLowerCase(),pr.loadCountry(Ce.usage,n,Ce.data);var s=Ce.usage[n];return Object.keys(s).reduce(function(i,a){var o=s[a];return o==null||(t.sign===">"?o>r&&i.push(a):t.sign==="<"?o<r&&i.push(a):t.sign==="<="?o<=r&&i.push(a):o>=r&&i.push(a)),i},[])}},cover:{matches:["coverage"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/i,select:eb},cover_in:{matches:["coverage","place"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/i,select:eb},cover_config:{matches:["coverage","config"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/i,select:eb},supports:{matches:["supportType","feature"],regexp:/^(?:(fully|partially)\s+)?supports\s+([\w-]+)$/,select:function(e,t){pr.loadFeature(Ce.cache,t.feature);var r=t.supportType!=="fully",n=Ce.cache[t.feature],s=[];for(var i in n){for(var a=Qs(i,e),o=a.released.length-1;o>=0&&!(a.released[o]in n[i]);)o--;var l=e.mobileToDesktop&&i in Ce.desktopNames&&sw(n[i][a.released[o]],r);a.versions.forEach(function(u){var c=n[i][u];c===void 0&&l&&(c=n[Ce.desktopNames[i]][u]),sw(c,r)&&s.push(i+" "+u)})}return s}},electron_range:{matches:["from","to"],regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,t){var r=yp(t.from),n=yp(t.to),s=parseFloat(t.from),i=parseFloat(t.to);if(!Bn[r])throw new Gr("Unknown version "+s+" of electron");if(!Bn[n])throw new Gr("Unknown version "+i+" of electron");return Object.keys(Bn).filter(function(a){var o=parseFloat(a);return o>=s&&o<=i}).map(function(a){return"chrome "+Bn[a]})}},node_range:{matches:["from","to"],regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,t){return Ce.nodeVersions.filter(ew(">=",t.from)).filter(ew("<=",t.to)).map(function(r){return"node "+r})}},browser_range:{matches:["browser","from","to"],regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,t){var r=$a(t.browser,e),n=parseFloat(bp(r,t.from)||t.from),s=parseFloat(bp(r,t.to)||t.to);function i(a){var o=parseFloat(a);return o>=n&&o<=s}return r.released.filter(i).map(Js(r.name))}},electron_ray:{matches:["sign","version"],regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,t){var r=yp(t.version);return Object.keys(Bn).filter(ZD(t.sign,r)).map(function(n){return"chrome "+Bn[n]})}},node_ray:{matches:["sign","version"],regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,t){return Ce.nodeVersions.filter(Jde(t.sign,t.version)).map(function(r){return"node "+r})}},browser_ray:{matches:["browser","sign","version"],regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(e,t){var r=t.version,n=$a(t.browser,e),s=Ce.versionAliases[n.name][r];return s&&(r=s),n.released.filter(ZD(t.sign,r)).map(function(i){return n.name+" "+i})}},firefox_esr:{matches:[],regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 128","firefox 140"]}},opera_mini_all:{matches:[],regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},electron_version:{matches:["version"],regexp:/^electron\s+([\d.]+)$/i,select:function(e,t){var r=yp(t.version),n=Bn[r];if(!n)throw new Gr("Unknown version "+t.version+" of electron");return["chrome "+n]}},node_major_version:{matches:["version"],regexp:/^node\s+(\d+)$/i,select:Qg},node_minor_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+)$/i,select:Qg},node_patch_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:Qg},current_node:{matches:[],regexp:/^current\s+node$/i,select:function(e){return[pr.currentNode(Wa,e)]}},maintained_node:{matches:[],regexp:/^maintained\s+node\s+versions$/i,select:function(e){var t=Date.now(),r=Object.keys(Yg).filter(function(n){return t<Date.parse(Yg[n].end)&&t>Date.parse(Yg[n].start)&&Yde(n)}).map(function(n){return"node "+n.slice(1)});return Wa(r,e)}},phantomjs_1_9:{matches:[],regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},phantomjs_2_1:{matches:[],regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},browser_version:{matches:["browser","version"],regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(e,t){var r=t.version;/^tp$/i.test(r)&&(r="TP");var n=$a(t.browser,e),s=bp(n,r);if(s)r=s;else if(r.indexOf(".")===-1?s=r+".0":s=r.replace(/\.0$/,""),s=bp(n,s),s)r=s;else{if(e.ignoreUnknownVersions)return[];throw new Gr("Unknown version "+r+" of "+t.browser)}return[n.name+" "+r]}},browserslist_config:{matches:[],regexp:/^browserslist config$/i,needsPath:!0,select:function(e){return Ce(void 0,e)}},extends:{matches:["config"],regexp:/^extends (.+)$/i,needsPath:!0,select:function(e,t){return Wa(pr.loadQueries(e,t.config),e)}},defaults:{matches:[],regexp:/^defaults$/i,select:function(e){return Wa(Ce.defaults,e)}},dead:{matches:[],regexp:/^dead$/i,select:function(e){var t=["Baidu >= 0","ie <= 11","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return Wa(t,e)}},unknown:{matches:[],regexp:/^(\w+)$/i,select:function(e,t){throw Qs(t.query,e)?new Gr("Specify versions in Browserslist query for browser "+t.query):ehe(t.query)}}};(function(){for(var e in gs){var t=gs[e];Ce.data[e]={name:e,versions:QD(gs[e].versions),released:QD(gs[e].versions.slice(0,-3)),releaseDate:gs[e].release_date},Sp(Ce.usage.global,e,t.usage_global),Ce.versionAliases[e]={};for(var r=0;r<t.versions.length;r++){var n=t.versions[r];if(n&&n.indexOf("-")!==-1)for(var s=n.split("-"),i=0;i<s.length;i++)Ce.versionAliases[e][s[i]]=n}}Ce.nodeVersions=Kde.map(function(a){return a.version})})();dw.exports=Ce});var ib=x(sb=>{"use strict";Object.defineProperty(sb,"__esModule",{value:!0});sb.findSuggestion=rhe;var{min:mw}=Math;function the(e,t){let r=[],n=[],s,i,a=e.length,o=t.length;if(!a)return o;if(!o)return a;for(i=0;i<=o;i++)r[i]=i;for(s=1;s<=a;s++){for(n=[s],i=1;i<=o;i++)n[i]=e[s-1]===t[i-1]?r[i-1]:mw(r[i-1],r[i],n[i-1])+1;r=n}return n[o]}function rhe(e,t){let r=t.map(n=>the(n,e));return t[r.indexOf(mw(...r))]}});var yw=x(vp=>{"use strict";Object.defineProperty(vp,"__esModule",{value:!0});vp.OptionValidator=void 0;var nhe=ib(),ab=class{constructor(t){this.descriptor=t}validateTopLevelOptions(t,r){let n=Object.keys(r);for(let s of Object.keys(t))if(!n.includes(s))throw new Error(this.formatMessage(`'${s}' is not a valid top-level option.
|
|
- Did you mean '${(0,nhe.findSuggestion)(s,n)}'?`))}validateBooleanOption(t,r,n){return r===void 0?n:(this.invariant(typeof r=="boolean",`'${t}' option must be a boolean.`),r)}validateStringOption(t,r,n){return r===void 0?n:(this.invariant(typeof r=="string",`'${t}' option must be a string.`),r)}invariant(t,r){if(!t)throw new Error(this.formatMessage(r))}formatMessage(t){return`${this.descriptor}: ${t}`}};vp.OptionValidator=ab});var Ap=x(Pp=>{"use strict";Object.defineProperty(Pp,"__esModule",{value:!0});Object.defineProperty(Pp,"OptionValidator",{enumerable:!0,get:function(){return she.OptionValidator}});Object.defineProperty(Pp,"findSuggestion",{enumerable:!0,get:function(){return ihe.findSuggestion}});var she=yw(),ihe=ib()});var bw=x((NNe,gw)=>{"use strict";gw.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}});var Tw=x((ONe,Ew)=>{"use strict";Ew.exports=mt;mt.Node=$i;mt.create=mt;function mt(e){var t=this;if(t instanceof mt||(t=new mt),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(s){t.push(s)});else if(arguments.length>0)for(var r=0,n=arguments.length;r<n;r++)t.push(arguments[r]);return t}mt.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t};mt.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};mt.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};mt.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)ohe(this,arguments[e]);return this.length};mt.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)lhe(this,arguments[e]);return this.length};mt.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};mt.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};mt.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;r!==null;n++)e.call(t,r.value,n,this),r=r.next};mt.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;r!==null;n--)e.call(t,r.value,n,this),r=r.prev};mt.prototype.get=function(e){for(var t=0,r=this.head;r!==null&&t<e;t++)r=r.next;if(t===e&&r!==null)return r.value};mt.prototype.getReverse=function(e){for(var t=0,r=this.tail;r!==null&&t<e;t++)r=r.prev;if(t===e&&r!==null)return r.value};mt.prototype.map=function(e,t){t=t||this;for(var r=new mt,n=this.head;n!==null;)r.push(e.call(t,n.value,this)),n=n.next;return r};mt.prototype.mapReverse=function(e,t){t=t||this;for(var r=new mt,n=this.tail;n!==null;)r.push(e.call(t,n.value,this)),n=n.prev;return r};mt.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=0;n!==null;s++)r=e(r,n.value,s),n=n.next;return r};mt.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=this.length-1;n!==null;s--)r=e(r,n.value,s),n=n.prev;return r};mt.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;r!==null;t++)e[t]=r.value,r=r.next;return e};mt.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;r!==null;t++)e[t]=r.value,r=r.prev;return e};mt.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new mt;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=0,s=this.head;s!==null&&n<e;n++)s=s.next;for(;s!==null&&n<t;n++,s=s.next)r.push(s.value);return r};mt.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new mt;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=this.length,s=this.tail;s!==null&&n>t;n--)s=s.prev;for(;s!==null&&n>e;n--,s=s.prev)r.push(s.value);return r};mt.prototype.splice=function(e,t){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,n=this.head;n!==null&&r<e;r++)n=n.next;for(var s=[],r=0;n&&r<t;r++)s.push(n.value),n=this.removeNode(n);n===null&&(n=this.tail),n!==this.head&&n!==this.tail&&(n=n.prev);for(var r=2;r<arguments.length;r++)n=ahe(this,n,arguments[r]);return s};mt.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;r!==null;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=t,this.tail=e,this};function ahe(e,t,r){var n=t===e.head?new $i(r,null,t,e):new $i(r,t,t.next,e);return n.next===null&&(e.tail=n),n.prev===null&&(e.head=n),e.length++,n}function ohe(e,t){e.tail=new $i(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function lhe(e,t){e.head=new $i(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function $i(e,t,r,n){if(!(this instanceof $i))return new $i(e,t,r,n);this.list=n,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}try{bw()(mt)}catch{}});var Aw=x((BNe,Pw)=>{"use strict";var uhe=Tw(),Wi=Symbol("max"),Es=Symbol("length"),Ka=Symbol("lengthCalculator"),El=Symbol("allowStale"),Ki=Symbol("maxAge"),bs=Symbol("dispose"),xw=Symbol("noDisposeOnSet"),fr=Symbol("lruList"),kn=Symbol("cache"),vw=Symbol("updateAgeOnGet"),ob=()=>1,ub=class{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");let r=this[Wi]=t.max||1/0,n=t.length||ob;if(this[Ka]=typeof n!="function"?ob:n,this[El]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Ki]=t.maxAge||0,this[bs]=t.dispose,this[xw]=t.noDisposeOnSet||!1,this[vw]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[Wi]=t||1/0,bl(this)}get max(){return this[Wi]}set allowStale(t){this[El]=!!t}get allowStale(){return this[El]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Ki]=t,bl(this)}get maxAge(){return this[Ki]}set lengthCalculator(t){typeof t!="function"&&(t=ob),t!==this[Ka]&&(this[Ka]=t,this[Es]=0,this[fr].forEach(r=>{r.length=this[Ka](r.value,r.key),this[Es]+=r.length})),bl(this)}get lengthCalculator(){return this[Ka]}get length(){return this[Es]}get itemCount(){return this[fr].length}rforEach(t,r){r=r||this;for(let n=this[fr].tail;n!==null;){let s=n.prev;Sw(this,t,n,r),n=s}}forEach(t,r){r=r||this;for(let n=this[fr].head;n!==null;){let s=n.next;Sw(this,t,n,r),n=s}}keys(){return this[fr].toArray().map(t=>t.key)}values(){return this[fr].toArray().map(t=>t.value)}reset(){this[bs]&&this[fr]&&this[fr].length&&this[fr].forEach(t=>this[bs](t.key,t.value)),this[kn]=new Map,this[fr]=new uhe,this[Es]=0}dump(){return this[fr].map(t=>Cp(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[fr]}set(t,r,n){if(n=n||this[Ki],n&&typeof n!="number")throw new TypeError("maxAge must be a number");let s=n?Date.now():0,i=this[Ka](r,t);if(this[kn].has(t)){if(i>this[Wi])return Ha(this,this[kn].get(t)),!1;let l=this[kn].get(t).value;return this[bs]&&(this[xw]||this[bs](t,l.value)),l.now=s,l.maxAge=n,l.value=r,this[Es]+=i-l.length,l.length=i,this.get(t),bl(this),!0}let a=new cb(t,r,i,s,n);return a.length>this[Wi]?(this[bs]&&this[bs](t,r),!1):(this[Es]+=a.length,this[fr].unshift(a),this[kn].set(t,this[fr].head),bl(this),!0)}has(t){if(!this[kn].has(t))return!1;let r=this[kn].get(t).value;return!Cp(this,r)}get(t){return lb(this,t,!0)}peek(t){return lb(this,t,!1)}pop(){let t=this[fr].tail;return t?(Ha(this,t),t.value):null}del(t){Ha(this,this[kn].get(t))}load(t){this.reset();let r=Date.now();for(let n=t.length-1;n>=0;n--){let s=t[n],i=s.e||0;if(i===0)this.set(s.k,s.v);else{let a=i-r;a>0&&this.set(s.k,s.v,a)}}}prune(){this[kn].forEach((t,r)=>lb(this,r,!1))}},lb=(e,t,r)=>{let n=e[kn].get(t);if(n){let s=n.value;if(Cp(e,s)){if(Ha(e,n),!e[El])return}else r&&(e[vw]&&(n.value.now=Date.now()),e[fr].unshiftNode(n));return s.value}},Cp=(e,t)=>{if(!t||!t.maxAge&&!e[Ki])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[Ki]&&r>e[Ki]},bl=e=>{if(e[Es]>e[Wi])for(let t=e[fr].tail;e[Es]>e[Wi]&&t!==null;){let r=t.prev;Ha(e,t),t=r}},Ha=(e,t)=>{if(t){let r=t.value;e[bs]&&e[bs](r.key,r.value),e[Es]-=r.length,e[kn].delete(r.key),e[fr].removeNode(t)}},cb=class{constructor(t,r,n,s,i){this.key=t,this.value=r,this.length=n,this.now=s,this.maxAge=i||0}},Sw=(e,t,r,n)=>{let s=r.value;Cp(e,s)&&(Ha(e,r),e[El]||(s=void 0)),s&&t.call(n,s.value,s.key,e)};Pw.exports=ub});var Dp=x(Ga=>{"use strict";Object.defineProperty(Ga,"__esModule",{value:!0});Ga.unreleasedLabels=Ga.browserNameMap=void 0;var kNe=Ga.unreleasedLabels={safari:"tp"},FNe=Ga.browserNameMap={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",deno:"deno",op_mob:"opera_mobile",opera:"opera",safari:"safari",samsung:"samsung"}});var wp=x(Zs=>{"use strict";Object.defineProperty(Zs,"__esModule",{value:!0});Zs.getHighestUnreleased=mhe;Zs.getLowestImplementedVersion=yhe;Zs.getLowestUnreleased=Iw;Zs.isUnreleasedVersion=hhe;Zs.semverMin=ww;Zs.semverify=dhe;var Cw=ps(),che=Ap(),Dw=Dp(),phe=/^(?:\d+|\d(?:\d?[^\d\n\r\u2028\u2029]\d+|\d{2,}(?:[^\d\n\r\u2028\u2029]\d+)?))$/,fhe=new che.OptionValidator("@babel/helper-compilation-targets");function ww(e,t){return e&&Cw.lt(e,t)?e:t}function dhe(e){if(typeof e=="string"&&Cw.valid(e))return e;fhe.invariant(typeof e=="number"||typeof e=="string"&&phe.test(e),`'${e}' is not a valid version`),e=e.toString();let t=0,r=0;for(;(t=e.indexOf(".",t+1))>0;)r++;return e+".0".repeat(2-r)}function hhe(e,t){let r=Dw.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function Iw(e,t,r){let n=Dw.unreleasedLabels[r];return e===n?t:t===n?e:ww(e,t)}function mhe(e,t,r){return Iw(e,t,r)===e?t:e}function yhe(e,t){let r=e[t];return!r&&t==="android"?e.chrome:r}});var _w=x(Ip=>{"use strict";Object.defineProperty(Ip,"__esModule",{value:!0});Ip.TargetNames=void 0;var MNe=Ip.TargetNames={node:"node",deno:"deno",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino",opera_mobile:"opera_mobile"}});var pb=x(_p=>{"use strict";Object.defineProperty(_p,"__esModule",{value:!0});_p.prettifyTargets=Ehe;_p.prettifyVersion=Nw;var ghe=ps(),bhe=Dp();function Nw(e){if(typeof e!="string")return e;let{major:t,minor:r,patch:n}=ghe.parse(e),s=[t];return(r||n)&&s.push(r),n&&s.push(n),s.join(".")}function Ehe(e){return Object.keys(e).reduce((t,r)=>{let n=e[r],s=bhe.unreleasedLabels[r];return typeof n=="string"&&s!==n&&(n=Nw(n)),t[r]=n,t},{})}});var Bw=x(fb=>{"use strict";Object.defineProperty(fb,"__esModule",{value:!0});fb.getInclusionReasons=xhe;var The=ps(),Ow=pb(),Np=wp();function xhe(e,t,r){let n=r[e]||{};return Object.keys(t).reduce((s,i)=>{let a=(0,Np.getLowestImplementedVersion)(n,i),o=t[i];if(!a)s[i]=(0,Ow.prettifyVersion)(o);else{let l=(0,Np.isUnreleasedVersion)(a,i);!(0,Np.isUnreleasedVersion)(o,i)&&(l||The.lt(o.toString(),(0,Np.semverify)(a)))&&(s[i]=(0,Ow.prettifyVersion)(o))}return s},{})}});var kw=x((VNe,She)=>{She.exports={"transform-explicit-resource-management":{chrome:"134",edge:"134",node:"24",electron:"35.0"},"transform-duplicate-named-capturing-groups-regex":{chrome:"126",opera:"112",edge:"126",firefox:"129",safari:"17.4",node:"23",ios:"17.4",electron:"31.0"},"transform-regexp-modifiers":{chrome:"125",opera:"111",edge:"125",firefox:"132",node:"23",samsung:"27",electron:"31.0"},"transform-unicode-sets-regex":{chrome:"112",opera:"98",edge:"112",firefox:"116",safari:"17",node:"20",deno:"1.32",ios:"17",samsung:"23",opera_mobile:"75",electron:"24.0"},"bugfix/transform-v8-static-class-fields-redefine-readonly":{chrome:"98",opera:"84",edge:"98",firefox:"75",safari:"15",node:"12",deno:"1.18",ios:"15",samsung:"11",opera_mobile:"52",electron:"17.0"},"bugfix/transform-firefox-class-in-computed-class-key":{chrome:"74",opera:"62",edge:"79",firefox:"126",safari:"16",node:"12",deno:"1",ios:"16",samsung:"11",opera_mobile:"53",electron:"6.0"},"bugfix/transform-safari-class-field-initializer-scope":{chrome:"74",opera:"62",edge:"79",firefox:"69",safari:"16",node:"12",deno:"1",ios:"16",samsung:"11",opera_mobile:"53",electron:"6.0"},"transform-class-static-block":{chrome:"94",opera:"80",edge:"94",firefox:"93",safari:"16.4",node:"16.11",deno:"1.14",ios:"16.4",samsung:"17",opera_mobile:"66",electron:"15.0"},"proposal-class-static-block":{chrome:"94",opera:"80",edge:"94",firefox:"93",safari:"16.4",node:"16.11",deno:"1.14",ios:"16.4",samsung:"17",opera_mobile:"66",electron:"15.0"},"transform-private-property-in-object":{chrome:"91",opera:"77",edge:"91",firefox:"90",safari:"15",node:"16.9",deno:"1.9",ios:"15",samsung:"16",opera_mobile:"64",electron:"13.0"},"proposal-private-property-in-object":{chrome:"91",opera:"77",edge:"91",firefox:"90",safari:"15",node:"16.9",deno:"1.9",ios:"15",samsung:"16",opera_mobile:"64",electron:"13.0"},"transform-class-properties":{chrome:"74",opera:"62",edge:"79",firefox:"90",safari:"14.1",node:"12",deno:"1",ios:"14.5",samsung:"11",opera_mobile:"53",electron:"6.0"},"proposal-class-properties":{chrome:"74",opera:"62",edge:"79",firefox:"90",safari:"14.1",node:"12",deno:"1",ios:"14.5",samsung:"11",opera_mobile:"53",electron:"6.0"},"transform-private-methods":{chrome:"84",opera:"70",edge:"84",firefox:"90",safari:"15",node:"14.6",deno:"1",ios:"15",samsung:"14",opera_mobile:"60",electron:"10.0"},"proposal-private-methods":{chrome:"84",opera:"70",edge:"84",firefox:"90",safari:"15",node:"14.6",deno:"1",ios:"15",samsung:"14",opera_mobile:"60",electron:"10.0"},"transform-numeric-separator":{chrome:"75",opera:"62",edge:"79",firefox:"70",safari:"13",node:"12.5",deno:"1",ios:"13",samsung:"11",rhino:"1.7.14",opera_mobile:"54",electron:"6.0"},"proposal-numeric-separator":{chrome:"75",opera:"62",edge:"79",firefox:"70",safari:"13",node:"12.5",deno:"1",ios:"13",samsung:"11",rhino:"1.7.14",opera_mobile:"54",electron:"6.0"},"transform-logical-assignment-operators":{chrome:"85",opera:"71",edge:"85",firefox:"79",safari:"14",node:"15",deno:"1.2",ios:"14",samsung:"14",opera_mobile:"60",electron:"10.0"},"proposal-logical-assignment-operators":{chrome:"85",opera:"71",edge:"85",firefox:"79",safari:"14",node:"15",deno:"1.2",ios:"14",samsung:"14",opera_mobile:"60",electron:"10.0"},"transform-nullish-coalescing-operator":{chrome:"80",opera:"67",edge:"80",firefox:"72",safari:"13.1",node:"14",deno:"1",ios:"13.4",samsung:"13",rhino:"1.8",opera_mobile:"57",electron:"8.0"},"proposal-nullish-coalescing-operator":{chrome:"80",opera:"67",edge:"80",firefox:"72",safari:"13.1",node:"14",deno:"1",ios:"13.4",samsung:"13",rhino:"1.8",opera_mobile:"57",electron:"8.0"},"transform-optional-chaining":{chrome:"91",opera:"77",edge:"91",firefox:"74",safari:"13.1",node:"16.9",deno:"1.9",ios:"13.4",samsung:"16",opera_mobile:"64",electron:"13.0"},"proposal-optional-chaining":{chrome:"91",opera:"77",edge:"91",firefox:"74",safari:"13.1",node:"16.9",deno:"1.9",ios:"13.4",samsung:"16",opera_mobile:"64",electron:"13.0"},"transform-json-strings":{chrome:"66",opera:"53",edge:"79",firefox:"62",safari:"12",node:"10",deno:"1",ios:"12",samsung:"9",rhino:"1.7.14",opera_mobile:"47",electron:"3.0"},"proposal-json-strings":{chrome:"66",opera:"53",edge:"79",firefox:"62",safari:"12",node:"10",deno:"1",ios:"12",samsung:"9",rhino:"1.7.14",opera_mobile:"47",electron:"3.0"},"transform-optional-catch-binding":{chrome:"66",opera:"53",edge:"79",firefox:"58",safari:"11.1",node:"10",deno:"1",ios:"11.3",samsung:"9",opera_mobile:"47",electron:"3.0"},"proposal-optional-catch-binding":{chrome:"66",opera:"53",edge:"79",firefox:"58",safari:"11.1",node:"10",deno:"1",ios:"11.3",samsung:"9",opera_mobile:"47",electron:"3.0"},"transform-parameters":{chrome:"49",opera:"36",edge:"18",firefox:"52",safari:"16.3",node:"6",deno:"1",ios:"16.3",samsung:"5",opera_mobile:"36",electron:"0.37"},"transform-async-generator-functions":{chrome:"63",opera:"50",edge:"79",firefox:"57",safari:"12",node:"10",deno:"1",ios:"12",samsung:"8",opera_mobile:"46",electron:"3.0"},"proposal-async-generator-functions":{chrome:"63",opera:"50",edge:"79",firefox:"57",safari:"12",node:"10",deno:"1",ios:"12",samsung:"8",opera_mobile:"46",electron:"3.0"},"transform-object-rest-spread":{chrome:"60",opera:"47",edge:"79",firefox:"55",safari:"11.1",node:"8.3",deno:"1",ios:"11.3",samsung:"8",opera_mobile:"44",electron:"2.0"},"proposal-object-rest-spread":{chrome:"60",opera:"47",edge:"79",firefox:"55",safari:"11.1",node:"8.3",deno:"1",ios:"11.3",samsung:"8",opera_mobile:"44",electron:"2.0"},"transform-dotall-regex":{chrome:"62",opera:"49",edge:"79",firefox:"78",safari:"11.1",node:"8.10",deno:"1",ios:"11.3",samsung:"8",rhino:"1.7.15",opera_mobile:"46",electron:"3.0"},"transform-unicode-property-regex":{chrome:"64",opera:"51",edge:"79",firefox:"78",safari:"11.1",node:"10",deno:"1",ios:"11.3",samsung:"9",opera_mobile:"47",electron:"3.0"},"proposal-unicode-property-regex":{chrome:"64",opera:"51",edge:"79",firefox:"78",safari:"11.1",node:"10",deno:"1",ios:"11.3",samsung:"9",opera_mobile:"47",electron:"3.0"},"transform-named-capturing-groups-regex":{chrome:"64",opera:"51",edge:"79",firefox:"78",safari:"11.1",node:"10",deno:"1",ios:"11.3",samsung:"9",opera_mobile:"47",electron:"3.0"},"transform-async-to-generator":{chrome:"55",opera:"42",edge:"15",firefox:"52",safari:"11",node:"7.6",deno:"1",ios:"11",samsung:"6",opera_mobile:"42",electron:"1.6"},"transform-exponentiation-operator":{chrome:"52",opera:"39",edge:"14",firefox:"52",safari:"10.1",node:"7",deno:"1",ios:"10.3",samsung:"6",rhino:"1.7.14",opera_mobile:"41",electron:"1.3"},"transform-template-literals":{chrome:"41",opera:"28",edge:"13",firefox:"34",safari:"13",node:"4",deno:"1",ios:"13",samsung:"3.4",opera_mobile:"28",electron:"0.21"},"transform-literals":{chrome:"44",opera:"31",edge:"12",firefox:"53",safari:"9",node:"4",deno:"1",ios:"9",samsung:"4",rhino:"1.7.15",opera_mobile:"32",electron:"0.30"},"transform-function-name":{chrome:"51",opera:"38",edge:"79",firefox:"53",safari:"10",node:"6.5",deno:"1",ios:"10",samsung:"5",opera_mobile:"41",electron:"1.2"},"transform-arrow-functions":{chrome:"47",opera:"34",edge:"13",firefox:"43",safari:"10",node:"6",deno:"1",ios:"10",samsung:"5",rhino:"1.7.13",opera_mobile:"34",electron:"0.36"},"transform-block-scoped-functions":{chrome:"41",opera:"28",edge:"12",firefox:"46",safari:"10",node:"4",deno:"1",ie:"11",ios:"10",samsung:"3.4",opera_mobile:"28",electron:"0.21"},"transform-classes":{chrome:"46",opera:"33",edge:"13",firefox:"45",safari:"10",node:"5",deno:"1",ios:"10",samsung:"5",opera_mobile:"33",electron:"0.36"},"transform-object-super":{chrome:"46",opera:"33",edge:"13",firefox:"45",safari:"10",node:"5",deno:"1",ios:"10",samsung:"5",opera_mobile:"33",electron:"0.36"},"transform-shorthand-properties":{chrome:"43",opera:"30",edge:"12",firefox:"33",safari:"9",node:"4",deno:"1",ios:"9",samsung:"4",rhino:"1.7.14",opera_mobile:"30",electron:"0.27"},"transform-duplicate-keys":{chrome:"42",opera:"29",edge:"12",firefox:"34",safari:"9",node:"4",deno:"1",ios:"9",samsung:"3.4",opera_mobile:"29",electron:"0.25"},"transform-computed-properties":{chrome:"44",opera:"31",edge:"12",firefox:"34",safari:"7.1",node:"4",deno:"1",ios:"8",samsung:"4",rhino:"1.8",opera_mobile:"32",electron:"0.30"},"transform-for-of":{chrome:"51",opera:"38",edge:"15",firefox:"53",safari:"10",node:"6.5",deno:"1",ios:"10",samsung:"5",opera_mobile:"41",electron:"1.2"},"transform-sticky-regex":{chrome:"49",opera:"36",edge:"13",firefox:"3",safari:"10",node:"6",deno:"1",ios:"10",samsung:"5",rhino:"1.7.15",opera_mobile:"36",electron:"0.37"},"transform-unicode-escapes":{chrome:"44",opera:"31",edge:"12",firefox:"53",safari:"9",node:"4",deno:"1",ios:"9",samsung:"4",rhino:"1.7.15",opera_mobile:"32",electron:"0.30"},"transform-unicode-regex":{chrome:"50",opera:"37",edge:"13",firefox:"46",safari:"12",node:"6",deno:"1",ios:"12",samsung:"5",opera_mobile:"37",electron:"1.1"},"transform-spread":{chrome:"46",opera:"33",edge:"13",firefox:"45",safari:"10",node:"5",deno:"1",ios:"10",samsung:"5",opera_mobile:"33",electron:"0.36"},"transform-destructuring":{chrome:"51",opera:"38",edge:"15",firefox:"53",safari:"10",node:"6.5",deno:"1",ios:"10",samsung:"5",opera_mobile:"41",electron:"1.2"},"transform-block-scoping":{chrome:"50",opera:"37",edge:"14",firefox:"53",safari:"11",node:"6",deno:"1",ios:"11",samsung:"5",opera_mobile:"37",electron:"1.1"},"transform-typeof-symbol":{chrome:"48",opera:"35",edge:"12",firefox:"36",safari:"9",node:"6",deno:"1",ios:"9",samsung:"5",rhino:"1.8",opera_mobile:"35",electron:"0.37"},"transform-new-target":{chrome:"46",opera:"33",edge:"14",firefox:"41",safari:"10",node:"5",deno:"1",ios:"10",samsung:"5",opera_mobile:"33",electron:"0.36"},"transform-regenerator":{chrome:"50",opera:"37",edge:"13",firefox:"53",safari:"10",node:"6",deno:"1",ios:"10",samsung:"5",opera_mobile:"37",electron:"1.1"},"transform-member-expression-literals":{chrome:"7",opera:"12",edge:"12",firefox:"2",safari:"5.1",node:"0.4",deno:"1",ie:"9",android:"4",ios:"6",phantom:"1.9",samsung:"1",rhino:"1.7.13",opera_mobile:"12",electron:"0.20"},"transform-property-literals":{chrome:"7",opera:"12",edge:"12",firefox:"2",safari:"5.1",node:"0.4",deno:"1",ie:"9",android:"4",ios:"6",phantom:"1.9",samsung:"1",rhino:"1.7.13",opera_mobile:"12",electron:"0.20"},"transform-reserved-words":{chrome:"13",opera:"10.50",edge:"12",firefox:"2",safari:"3.1",node:"0.6",deno:"1",ie:"9",android:"4.4",ios:"6",phantom:"1.9",samsung:"1",rhino:"1.7.13",opera_mobile:"10.1",electron:"0.20"},"transform-export-namespace-from":{chrome:"72",deno:"1.0",edge:"79",firefox:"80",node:"13.2.0",opera:"60",opera_mobile:"51",safari:"14.1",ios:"14.5",samsung:"11.0",android:"72",electron:"5.0"},"proposal-export-namespace-from":{chrome:"72",deno:"1.0",edge:"79",firefox:"80",node:"13.2.0",opera:"60",opera_mobile:"51",safari:"14.1",ios:"14.5",samsung:"11.0",android:"72",electron:"5.0"}}});var Lw=x(($Ne,Fw)=>{Fw.exports=kw()});var qw=x(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});Tl.default=Phe;Tl.isRequired=Rw;Tl.targetsSupported=Mw;var jw=ps(),Op=wp(),vhe=Lw();function Mw(e,t){let r=Object.keys(e);return r.length===0?!1:r.filter(s=>{let i=(0,Op.getLowestImplementedVersion)(t,s);if(!i)return!0;let a=e[s];if((0,Op.isUnreleasedVersion)(a,s))return!1;if((0,Op.isUnreleasedVersion)(i,s))return!0;if(!jw.valid(a.toString()))throw new Error(`Invalid version passed for target "${s}": "${a}". Versions must be in semver format (major.minor.patch)`);return jw.gt((0,Op.semverify)(i),a.toString())}).length===0}function Rw(e,t,{compatData:r=vhe,includes:n,excludes:s}={}){return s!=null&&s.has(e)?!1:n!=null&&n.has(e)?!0:!Mw(t,r[e])}function Phe(e,t,r,n,s,i,a){let o=new Set,l={compatData:e,includes:t,excludes:r};for(let u in e)if(Rw(u,n,l))o.add(u);else if(a){let c=a.get(u);c&&o.add(c)}return s==null||s.forEach(u=>!r.has(u)&&o.add(u)),i==null||i.forEach(u=>!t.has(u)&&o.delete(u)),o}});var Uw=x((KNe,Ahe)=>{Ahe.exports={"es6.module":{chrome:"61",and_chr:"61",edge:"16",firefox:"60",and_ff:"60",node:"13.2.0",opera:"48",op_mob:"45",safari:"10.1",ios:"10.3",samsung:"8.2",android:"61",electron:"2.0",ios_saf:"10.3"}}});var $w=x((HNe,Vw)=>{Vw.exports=Uw()});var gb=x(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Object.defineProperty(Jn,"TargetNames",{enumerable:!0,get:function(){return mb.TargetNames}});Jn.default=Rhe;Object.defineProperty(Jn,"filterItems",{enumerable:!0,get:function(){return Gw.default}});Object.defineProperty(Jn,"getInclusionReasons",{enumerable:!0,get:function(){return whe.getInclusionReasons}});Jn.isBrowsersQueryValid=Xw;Object.defineProperty(Jn,"isRequired",{enumerable:!0,get:function(){return Gw.isRequired}});Object.defineProperty(Jn,"prettifyTargets",{enumerable:!0,get:function(){return Dhe.prettifyTargets}});Object.defineProperty(Jn,"unreleasedLabels",{enumerable:!0,get:function(){return Hw.unreleasedLabels}});var hb=hw(),Kw=Ap(),Che=Aw(),Fn=wp(),Hw=Dp(),mb=_w(),Dhe=pb(),whe=Bw(),Gw=qw(),Ihe=$w(),db=Ihe["es6.module"],yb=new Kw.OptionValidator("@babel/helper-compilation-targets");function _he(e){let t=Object.keys(mb.TargetNames);for(let r of Object.keys(e))if(!(r in mb.TargetNames))throw new Error(yb.formatMessage(`'${r}' is not a valid target
|
|
- Did you mean '${(0,Kw.findSuggestion)(r,t)}'?`));return e}function Xw(e){return typeof e=="string"||Array.isArray(e)&&e.every(t=>typeof t=="string")}function Nhe(e){return yb.invariant(e===void 0||Xw(e),`'${String(e)}' is not a valid browserslist query`),e}function Ohe(e){return e.reduce((t,r)=>{let[n,s]=r.split(" "),i=Hw.browserNameMap[n];if(!i)return t;try{let a=s.split("-")[0].toLowerCase(),o=(0,Fn.isUnreleasedVersion)(a,i);if(!t[i])return t[i]=o?a:(0,Fn.semverify)(a),t;let l=t[i],u=(0,Fn.isUnreleasedVersion)(l,i);if(u&&o)t[i]=(0,Fn.getLowestUnreleased)(l,a,i);else if(u)t[i]=(0,Fn.semverify)(a);else if(!u&&!o){let c=(0,Fn.semverify)(a);t[i]=(0,Fn.semverMin)(l,c)}}catch{}return t},{})}function Bhe(e){e.length&&(console.warn(`Warning, the following targets are using a decimal version:
|
|
`),e.forEach(({target:t,value:r})=>console.warn(` ${t}: ${r}`)),console.warn(`
|
|
We recommend using a string for minor/patch versions to avoid numbers like 6.10
|
|
getting parsed as 6.1, which can lead to unexpected behavior.
|
|
`))}function Yw(e,t){try{return(0,Fn.semverify)(t)}catch{throw new Error(yb.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}function khe(e){return["node",e===!0||e==="current"?process.versions.node.split("-")[0]:Yw("node",e)]}function Fhe(e,t){let r=(0,Fn.isUnreleasedVersion)(t,e)?t.toLowerCase():Yw(e,t);return[e,r]}function Lhe(e){let t=Object.assign({},e);return delete t.esmodules,delete t.browsers,t}function jhe(e,t){let r=hb(e,{mobileToDesktop:!0,env:t});return Ohe(r)}var Ww=new Che({max:64});function Mhe(e,t){let r=typeof e=="string"?e:e.join()+t,n=Ww.get(r);return n||(n=jhe(e,t),Ww.set(r,n)),Object.assign({},n)}function Rhe(e={},t={}){var r,n;let{browsers:s,esmodules:i}=e,{configPath:a=".",onBrowserslistConfigFound:o}=t;Nhe(s);let l=Lhe(e),u=_he(l),p=!!s||Object.keys(u).length>0,d=!t.ignoreBrowserslistConfig&&!p;if(!s&&d){if(s=process.env.BROWSERSLIST,!s){let f=t.configFile||process.env.BROWSERSLIST_CONFIG||hb.findConfigFile(a);f!=null&&(o==null||o(f),s=hb.loadConfig({config:f,env:t.browserslistEnv}))}s==null&&(s=[])}if(i&&(i!=="intersect"||!((r=s)!=null&&r.length))&&(s=Object.keys(db).map(f=>`${f} >= ${db[f]}`).join(", "),i=!1),(n=s)!=null&&n.length){let f=Mhe(s,t.browserslistEnv);if(i==="intersect")for(let b of Object.keys(f))if(b!=="deno"&&b!=="ie"){let T=db[b==="opera_mobile"?"op_mob":b];if(T){let w=f[b];f[b]=(0,Fn.getHighestUnreleased)(w,(0,Fn.semverify)(T),b)}else delete f[b]}else delete f[b];u=Object.assign(f,u)}let m={},g=[];for(let f of Object.keys(u).sort()){let b=u[f];typeof b=="number"&&b%1!==0&&g.push({target:f,value:b});let[T,w]=f==="node"?khe(b):Fhe(f,b);w&&(m[T]=w)}return Bhe(g),m}});var bb=x(Bp=>{"use strict";Object.defineProperty(Bp,"__esModule",{value:!0});Bp.resolveBrowserslistConfigFile=qhe;Bp.resolveTargets=Uhe;function Jw(){let e=require("path");return Jw=function(){return e},e}function zw(){let e=gb();return zw=function(){return e},e}function qhe(e,t){return Jw().resolve(t,e)}function Uhe(e,t){let r=e.targets,n;typeof r=="string"||Array.isArray(r)?n={browsers:r}:r&&("esmodules"in r?n=Object.assign({},r,{esmodules:"intersect"}):n=r);let{browserslistConfigFile:s}=e,i,a=!1;return typeof s=="string"?i=s:a=s===!1,(0,zw().default)(n,{ignoreBrowserslistConfig:a,configFile:i,configPath:t,browserslistEnv:e.browserslistEnv})}});var Eb=x(Sl=>{"use strict";Object.defineProperty(Sl,"__esModule",{value:!0});Sl.createCachedDescriptors=Khe;Sl.createDescriptor=oI;Sl.createUncachedDescriptors=Hhe;function tI(){let e=Zr();return tI=function(){return e},e}var Qw=cD(),Zw=Pl(),Vhe=vl(),xl=Ri(),$he=bb();function Whe(e,t){var r,n,s,i;return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&((r=e.file)==null?void 0:r.request)===((n=t.file)==null?void 0:n.request)&&((s=e.file)==null?void 0:s.resolved)===((i=t.file)==null?void 0:i.resolved)}function*eI(e){return e}function rI(e,t){return typeof e.browserslistConfigFile=="string"&&(e.browserslistConfigFile=(0,$he.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)),e}function Khe(e,t,r){let{plugins:n,presets:s,passPerPreset:i}=t;return{options:rI(t,e),plugins:n?()=>Jhe(n,e)(r):()=>eI([]),presets:s?()=>Xhe(s,e)(r)(!!i):()=>eI([])}}function Hhe(e,t,r){return{options:rI(t,e),plugins:(0,Qw.once)(()=>iI(t.plugins||[],e,r)),presets:(0,Qw.once)(()=>sI(t.presets||[],e,r,!!t.passPerPreset))}}var Ghe=new WeakMap,Xhe=(0,xl.makeWeakCacheSync)((e,t)=>{let r=t.using(n=>n);return(0,xl.makeStrongCacheSync)(n=>(0,xl.makeStrongCache)(function*(s){return(yield*sI(e,r,n,s)).map(a=>nI(Ghe,a))}))}),Yhe=new WeakMap,Jhe=(0,xl.makeWeakCacheSync)((e,t)=>{let r=t.using(n=>n);return(0,xl.makeStrongCache)(function*(n){return(yield*iI(e,r,n)).map(i=>nI(Yhe,i))})}),zhe={};function nI(e,t){let{value:r,options:n=zhe}=t;if(n===!1)return t;let s=e.get(r);s||(s=new WeakMap,e.set(r,s));let i=s.get(n);if(i||(i=[],s.set(n,i)),!i.includes(t)){let a=i.filter(o=>Whe(o,t));if(a.length>0)return a[0];i.push(t)}return t}function*sI(e,t,r,n){return yield*aI("preset",e,t,r,n)}function*iI(e,t,r){return yield*aI("plugin",e,t,r)}function*aI(e,t,r,n,s){let i=yield*tI().all(t.map((a,o)=>oI(a,r,{type:e,alias:`${n}$${o}`,ownPass:!!s})));return Qhe(i),i}function*oI(e,t,{type:r,alias:n,ownPass:s}){let i=(0,Vhe.getItemDescriptor)(e);if(i)return i;let a,o,l=e;Array.isArray(l)&&(l.length===3?[l,o,a]=l:[l,o]=l);let u,c=null;if(typeof l=="string"){if(typeof r!="string")throw new Error("To resolve a string-based item, the type of item must be given");let p=r==="plugin"?Zw.loadPlugin:Zw.loadPreset,d=l;({filepath:c,value:l}=yield*p(l,t)),u={request:d,resolved:c}}if(!l)throw new Error(`Unexpected falsy value: ${String(l)}`);if(typeof l=="object"&&l.__esModule)if(l.default)l=l.default;else throw new Error("Must export a default export when using ES6 modules.");if(typeof l!="object"&&typeof l!="function")throw new Error(`Unsupported format: ${typeof l}. Expected an object or a function.`);if(c!==null&&typeof l=="object"&&l)throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${c}`);return{name:a,alias:c||n,value:l,options:o,dirname:t,ownPass:s,file:u}}function Qhe(e){let t=new Map;for(let r of e){if(typeof r.value!="function")continue;let n=t.get(r.value);if(n||(n=new Set,t.set(r.value,n)),n.has(r.name)){let s=e.filter(i=>i.value===r.value);throw new Error(["Duplicate plugin/preset detected.","If you'd like to use two separate instances of a plugin,","they need separate names, e.g.",""," plugins: ["," ['some-plugin', {}],"," ['some-plugin', {}, 'some unique name'],"," ]","","Duplicates detected are:",`${JSON.stringify(s,null,2)}`].join(`
|
|
`))}n.add(r.name)}}});var vl=x(Al=>{"use strict";Object.defineProperty(Al,"__esModule",{value:!0});Al.createConfigItem=eme;Al.createItemFromDescriptor=uI;Al.getItemDescriptor=tme;function lI(){let e=require("path");return lI=function(){return e},e}var Zhe=Eb();function uI(e){return new kp(e)}function*eme(e,{dirname:t=".",type:r}={}){let n=yield*(0,Zhe.createDescriptor)(e,lI().resolve(t),{type:r,alias:"programmatic item"});return uI(n)}var Tb=Symbol.for("@babel/core@7 - ConfigItem");function tme(e){if(e!=null&&e[Tb])return e._descriptor}var kp=class{constructor(t){this._descriptor=void 0,this[Tb]=!0,this.value=void 0,this.options=void 0,this.dirname=void 0,this.name=void 0,this.file=void 0,this._descriptor=t,Object.defineProperty(this,"_descriptor",{enumerable:!1}),Object.defineProperty(this,Tb,{enumerable:!1}),this.value=this._descriptor.value,this.options=this._descriptor.options,this.dirname=this._descriptor.dirname,this.name=this._descriptor.name,this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:void 0,Object.freeze(this)}};Object.freeze(kp.prototype)});var cI=x(Fp=>{"use strict";Object.defineProperty(Fp,"__esModule",{value:!0});Fp.default=void 0;var zNe=Fp.default={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."}}});var vb=x(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});Gt.access=en;Gt.assertArray=Sb;Gt.assertAssumptions=Tme;Gt.assertBabelrcSearch=mme;Gt.assertBoolean=xb;Gt.assertCallerMetadata=ome;Gt.assertCompact=ime;Gt.assertConfigApplicableTest=dme;Gt.assertConfigFileSearch=hme;Gt.assertFunction=cme;Gt.assertIgnoreList=pme;Gt.assertInputSourceMap=lme;Gt.assertObject=dI;Gt.assertPluginList=yme;Gt.assertRootMode=nme;Gt.assertSourceMaps=sme;Gt.assertSourceType=ame;Gt.assertString=ume;Gt.assertTargets=bme;Gt.msg=it;function Cl(){let e=gb();return Cl=function(){return e},e}var rme=Dl();function it(e){switch(e.type){case"root":return"";case"env":return`${it(e.parent)}.env["${e.name}"]`;case"overrides":return`${it(e.parent)}.overrides[${e.index}]`;case"option":return`${it(e.parent)}.${e.name}`;case"access":return`${it(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function en(e,t){return{type:"access",name:t,parent:e}}function nme(e,t){if(t!==void 0&&t!=="root"&&t!=="upward"&&t!=="upward-optional")throw new Error(`${it(e)} must be a "root", "upward", "upward-optional" or undefined`);return t}function sme(e,t){if(t!==void 0&&typeof t!="boolean"&&t!=="inline"&&t!=="both")throw new Error(`${it(e)} must be a boolean, "inline", "both", or undefined`);return t}function ime(e,t){if(t!==void 0&&typeof t!="boolean"&&t!=="auto")throw new Error(`${it(e)} must be a boolean, "auto", or undefined`);return t}function ame(e,t){if(t!==void 0&&t!=="module"&&t!=="commonjs"&&t!=="script"&&t!=="unambiguous")throw new Error(`${it(e)} must be "module", "commonjs", "script", "unambiguous", or undefined`);return t}function ome(e,t){let r=dI(e,t);if(r){if(typeof r.name!="string")throw new Error(`${it(e)} set but does not contain "name" property string`);for(let n of Object.keys(r)){let s=en(e,n),i=r[n];if(i!=null&&typeof i!="boolean"&&typeof i!="string"&&typeof i!="number")throw new Error(`${it(s)} must be null, undefined, a boolean, a string, or a number.`)}}return t}function lme(e,t){if(t!==void 0&&typeof t!="boolean"&&(typeof t!="object"||!t))throw new Error(`${it(e)} must be a boolean, object, or undefined`);return t}function ume(e,t){if(t!==void 0&&typeof t!="string")throw new Error(`${it(e)} must be a string, or undefined`);return t}function cme(e,t){if(t!==void 0&&typeof t!="function")throw new Error(`${it(e)} must be a function, or undefined`);return t}function xb(e,t){if(t!==void 0&&typeof t!="boolean")throw new Error(`${it(e)} must be a boolean, or undefined`);return t}function dI(e,t){if(t!==void 0&&(typeof t!="object"||Array.isArray(t)||!t))throw new Error(`${it(e)} must be an object, or undefined`);return t}function Sb(e,t){if(t!=null&&!Array.isArray(t))throw new Error(`${it(e)} must be an array, or undefined`);return t}function pme(e,t){let r=Sb(e,t);return r==null||r.forEach((n,s)=>fme(en(e,s),n)),r}function fme(e,t){if(typeof t!="string"&&typeof t!="function"&&!(t instanceof RegExp))throw new Error(`${it(e)} must be an array of string/Function/RegExp values, or undefined`);return t}function dme(e,t){if(t===void 0)return t;if(Array.isArray(t))t.forEach((r,n)=>{if(!Lp(r))throw new Error(`${it(en(e,n))} must be a string/Function/RegExp.`)});else if(!Lp(t))throw new Error(`${it(e)} must be a string/Function/RegExp, or an array of those`);return t}function Lp(e){return typeof e=="string"||typeof e=="function"||e instanceof RegExp}function hme(e,t){if(t!==void 0&&typeof t!="boolean"&&typeof t!="string")throw new Error(`${it(e)} must be a undefined, a boolean, a string, got ${JSON.stringify(t)}`);return t}function mme(e,t){if(t===void 0||typeof t=="boolean")return t;if(Array.isArray(t))t.forEach((r,n)=>{if(!Lp(r))throw new Error(`${it(en(e,n))} must be a string/Function/RegExp.`)});else if(!Lp(t))throw new Error(`${it(e)} must be a undefined, a boolean, a string/Function/RegExp or an array of those, got ${JSON.stringify(t)}`);return t}function yme(e,t){let r=Sb(e,t);return r&&r.forEach((n,s)=>gme(en(e,s),n)),r}function gme(e,t){if(Array.isArray(t)){if(t.length===0)throw new Error(`${it(e)} must include an object`);if(t.length>3)throw new Error(`${it(e)} may only be a two-tuple or three-tuple`);if(pI(en(e,0),t[0]),t.length>1){let r=t[1];if(r!==void 0&&r!==!1&&(typeof r!="object"||Array.isArray(r)||r===null))throw new Error(`${it(en(e,1))} must be an object, false, or undefined`)}if(t.length===3){let r=t[2];if(r!==void 0&&typeof r!="string")throw new Error(`${it(en(e,2))} must be a string, or undefined`)}}else pI(e,t);return t}function pI(e,t){if((typeof t!="object"||!t)&&typeof t!="string"&&typeof t!="function")throw new Error(`${it(e)} must be a string, object, function`);return t}function bme(e,t){if((0,Cl().isBrowsersQueryValid)(t))return t;if(typeof t!="object"||!t||Array.isArray(t))throw new Error(`${it(e)} must be a string, an array of strings or an object`);let r=en(e,"browsers"),n=en(e,"esmodules");fI(r,t.browsers),xb(n,t.esmodules);for(let s of Object.keys(t)){let i=t[s],a=en(e,s);if(s==="esmodules")xb(a,i);else if(s==="browsers")fI(a,i);else if(hasOwnProperty.call(Cl().TargetNames,s))Eme(a,i);else{let o=Object.keys(Cl().TargetNames).join(", ");throw new Error(`${it(a)} is not a valid target. Supported targets are ${o}`)}}return t}function fI(e,t){if(t!==void 0&&!(0,Cl().isBrowsersQueryValid)(t))throw new Error(`${it(e)} must be undefined, a string or an array of strings`)}function Eme(e,t){if(!(typeof t=="number"&&Math.round(t)===t)&&typeof t!="string")throw new Error(`${it(e)} must be a string or an integer number`)}function Tme(e,t){if(t===void 0)return;if(typeof t!="object"||t===null)throw new Error(`${it(e)} must be an object or undefined.`);let r=e;do r=r.parent;while(r.type!=="root");let n=r.source==="preset";for(let s of Object.keys(t)){let i=en(e,s);if(!rme.assumptionsNames.has(s))throw new Error(`${it(i)} is not a supported assumption.`);if(typeof t[s]!="boolean")throw new Error(`${it(i)} must be a boolean.`);if(n&&t[s]===!1)throw new Error(`${it(i)} cannot be set to 'false' inside presets.`)}return t}});var Dl=x(Xa=>{"use strict";Object.defineProperty(Xa,"__esModule",{value:!0});Xa.assumptionsNames=void 0;Xa.checkNoUnwrappedItemOptionPairs=wme;Xa.validate=vme;var hI=cI(),Ae=vb(),xme=qi(),mI={cwd:Ae.assertString,root:Ae.assertString,rootMode:Ae.assertRootMode,configFile:Ae.assertConfigFileSearch,caller:Ae.assertCallerMetadata,filename:Ae.assertString,filenameRelative:Ae.assertString,code:Ae.assertBoolean,ast:Ae.assertBoolean,cloneInputAst:Ae.assertBoolean,envName:Ae.assertString},yI={babelrc:Ae.assertBoolean,babelrcRoots:Ae.assertBabelrcSearch},gI={extends:Ae.assertString,ignore:Ae.assertIgnoreList,only:Ae.assertIgnoreList,targets:Ae.assertTargets,browserslistConfigFile:Ae.assertConfigFileSearch,browserslistEnv:Ae.assertString},bI={inputSourceMap:Ae.assertInputSourceMap,presets:Ae.assertPluginList,plugins:Ae.assertPluginList,passPerPreset:Ae.assertBoolean,assumptions:Ae.assertAssumptions,env:Cme,overrides:Dme,test:Ae.assertConfigApplicableTest,include:Ae.assertConfigApplicableTest,exclude:Ae.assertConfigApplicableTest,retainLines:Ae.assertBoolean,comments:Ae.assertBoolean,shouldPrintComment:Ae.assertFunction,compact:Ae.assertCompact,minified:Ae.assertBoolean,auxiliaryCommentBefore:Ae.assertString,auxiliaryCommentAfter:Ae.assertString,sourceType:Ae.assertSourceType,wrapPluginVisitorMethod:Ae.assertFunction,highlightCode:Ae.assertBoolean,sourceMaps:Ae.assertSourceMaps,sourceMap:Ae.assertSourceMaps,sourceFileName:Ae.assertString,sourceRoot:Ae.assertString,parserOpts:Ae.assertObject,generatorOpts:Ae.assertObject};Object.assign(bI,{getModuleId:Ae.assertFunction,moduleRoot:Ae.assertString,moduleIds:Ae.assertBoolean,moduleId:Ae.assertString});var Sme=["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","noUninitializedPrivateFieldAccess","objectRestNoSymbols","privateFieldsAsSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"],eOe=Xa.assumptionsNames=new Set(Sme);function EI(e){return e.type==="root"?e.source:EI(e.parent)}function vme(e,t,r){try{return Pb({type:"root",source:e},t)}catch(n){let s=new xme.default(n.message,r);throw n.code&&(s.code=n.code),s}}function Pb(e,t){let r=EI(e);return Ame(t),Object.keys(t).forEach(n=>{let s={type:"option",name:n,parent:e};if(r==="preset"&&gI[n])throw new Error(`${(0,Ae.msg)(s)} is not allowed in preset options`);if(r!=="arguments"&&mI[n])throw new Error(`${(0,Ae.msg)(s)} is only allowed in root programmatic options`);if(r!=="arguments"&&r!=="configfile"&&yI[n])throw r==="babelrcfile"||r==="extendsfile"?new Error(`${(0,Ae.msg)(s)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, or babel.config.js/config file options`):new Error(`${(0,Ae.msg)(s)} is only allowed in root programmatic options, or babel.config.js/config file options`);(bI[n]||gI[n]||yI[n]||mI[n]||Pme)(s,t[n])}),t}function Pme(e){let t=e.name;if(hI.default[t]){let{message:r,version:n=5}=hI.default[t];throw new Error(`Using removed Babel ${n} option: ${(0,Ae.msg)(e)} - ${r}`)}else{let r=new Error(`Unknown option: ${(0,Ae.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);throw r.code="BABEL_UNKNOWN_OPTION",r}}function Ame(e){if(hasOwnProperty.call(e,"sourceMap")&&hasOwnProperty.call(e,"sourceMaps"))throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}function Cme(e,t){if(e.parent.type==="env")throw new Error(`${(0,Ae.msg)(e)} is not allowed inside of another .env block`);let r=e.parent,n=(0,Ae.assertObject)(e,t);if(n)for(let s of Object.keys(n)){let i=(0,Ae.assertObject)((0,Ae.access)(e,s),n[s]);if(!i)continue;Pb({type:"env",name:s,parent:r},i)}return n}function Dme(e,t){if(e.parent.type==="env")throw new Error(`${(0,Ae.msg)(e)} is not allowed inside an .env block`);if(e.parent.type==="overrides")throw new Error(`${(0,Ae.msg)(e)} is not allowed inside an .overrides block`);let r=e.parent,n=(0,Ae.assertArray)(e,t);if(n)for(let[s,i]of n.entries()){let a=(0,Ae.access)(e,s),o=(0,Ae.assertObject)(a,i);if(!o)throw new Error(`${(0,Ae.msg)(a)} must be an object`);Pb({type:"overrides",index:s,parent:r},o)}return n}function wme(e,t,r,n){if(t===0)return;let s=e[t-1],i=e[t];s.file&&s.options===void 0&&typeof i.value=="object"&&(n.message+=`
|
|
- Maybe you meant to use
|
|
"${r}s": [
|
|
["${s.file.request}", ${JSON.stringify(i.value,void 0,2)}]
|
|
]
|
|
To be a valid ${r}, its name and options should be wrapped in a pair of brackets`)}});var Ib=x(wb=>{"use strict";Object.defineProperty(wb,"__esModule",{value:!0});wb.default=Nme;function jp(){let e=require("path");return jp=function(){return e},e}var wl=`\\${jp().sep}`,Ab=`(?:${wl}|$)`,Cb=`[^${wl}]+`,Db=`(?:${Cb}${wl})`,xI=`(?:${Cb}${Ab})`,Ime=`${Db}*?`,_me=`${Db}*?${xI}?`;function TI(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function Nme(e,t){let r=jp().resolve(t,e).split(jp().sep);return new RegExp(["^",...r.map((n,s)=>{let i=s===r.length-1;return n==="**"?i?_me:Ime:n==="*"?i?xI:Db:n.indexOf("*.")===0?Cb+TI(n.slice(1))+(i?Ab:wl):TI(n)+(i?Ab:wl)})].join(""))}});var PI=x(Ya=>{"use strict";Object.defineProperty(Ya,"__esModule",{value:!0});Ya.ConfigPrinter=Ya.ChainFormatter=void 0;function vI(){let e=Zr();return vI=function(){return e},e}var Ome=Ya.ChainFormatter={Programmatic:0,Config:1},_b={title(e,t,r){let n="";return e===Ome.Programmatic?(n="programmatic options",t&&(n+=" from "+t)):n="config "+r,n},loc(e,t){let r="";return e!=null&&(r+=`.overrides[${e}]`),t!=null&&(r+=`.env["${t}"]`),r},*optionsAndDescriptors(e){let t=Object.assign({},e.options);delete t.overrides,delete t.env;let r=[...yield*e.plugins()];r.length&&(t.plugins=r.map(s=>SI(s)));let n=[...yield*e.presets()];return n.length&&(t.presets=[...n].map(s=>SI(s))),JSON.stringify(t,void 0,2)}};function SI(e){var t;let r=(t=e.file)==null?void 0:t.request;return r==null&&(typeof e.value=="object"?r=e.value:typeof e.value=="function"&&(r=`[Function: ${e.value.toString().slice(0,50)} ... ]`)),r==null&&(r="[Unknown]"),e.options===void 0?r:e.name==null?[r,e.options]:[r,e.options,e.name]}var Nb=class e{constructor(){this._stack=[]}configure(t,r,{callerName:n,filepath:s}){return t?(i,a,o)=>{this._stack.push({type:r,callerName:n,filepath:s,content:i,index:a,envName:o})}:()=>{}}static*format(t){let r=_b.title(t.type,t.callerName,t.filepath),n=_b.loc(t.index,t.envName);n&&(r+=` ${n}`);let s=yield*_b.optionsAndDescriptors(t.content);return`${r}
|
|
${s}`}*output(){return this._stack.length===0?"":(yield*vI().all(this._stack.map(r=>e.format(r)))).join(`
|
|
|
|
`)}};Ya.ConfigPrinter=Nb});var Ub=x(za=>{"use strict";Object.defineProperty(za,"__esModule",{value:!0});za.buildPresetChain=Fme;za.buildPresetChainWalker=void 0;za.buildRootChain=Ume;function DI(){let e=require("path");return DI=function(){return e},e}function wI(){let e=Ti();return wI=function(){return e},e}var Fb=Dl(),II=Ib(),_l=PI(),Bme=fs(),kme=qi(),Il=Pl(),ir=Ri(),mn=Eb(),AI=wI()("babel:config:config-chain");function*Fme(e,t){let r=yield*Lme(e,t);return r?{plugins:qp(r.plugins),presets:qp(r.presets),options:r.options.map(n=>_I(n)),files:new Set}:null}var Lme=za.buildPresetChainWalker=qb({root:e=>jme(e),env:(e,t)=>Mme(e)(t),overrides:(e,t)=>Rme(e)(t),overridesEnv:(e,t,r)=>qme(e)(t)(r),createLogger:()=>()=>{}}),jme=(0,ir.makeWeakCacheSync)(e=>Lb(e,e.alias,mn.createUncachedDescriptors)),Mme=(0,ir.makeWeakCacheSync)(e=>(0,ir.makeStrongCacheSync)(t=>jb(e,e.alias,mn.createUncachedDescriptors,t))),Rme=(0,ir.makeWeakCacheSync)(e=>(0,ir.makeStrongCacheSync)(t=>Mb(e,e.alias,mn.createUncachedDescriptors,t))),qme=(0,ir.makeWeakCacheSync)(e=>(0,ir.makeStrongCacheSync)(t=>(0,ir.makeStrongCacheSync)(r=>Rb(e,e.alias,mn.createUncachedDescriptors,t,r))));function*Ume(e,t){let r,n,s=new _l.ConfigPrinter,i=yield*Hme({options:e,dirname:t.cwd},t,void 0,s);if(!i)return null;let a=yield*s.output(),o;typeof e.configFile=="string"?o=yield*(0,Il.loadConfig)(e.configFile,t.cwd,t.envName,t.caller):e.configFile!==!1&&(o=yield*(0,Il.findRootConfig)(t.root,t.envName,t.caller));let{babelrc:l,babelrcRoots:u}=e,c=t.cwd,p=Rp(),d=new _l.ConfigPrinter;if(o){let w=$me(o),I=yield*Bb(w,t,void 0,d);if(!I)return null;r=yield*d.output(),l===void 0&&(l=w.options.babelrc),u===void 0&&(c=w.dirname,u=w.options.babelrcRoots),Ja(p,I)}let m,g,f=!1,b=Rp();if((l===!0||l===void 0)&&typeof t.filename=="string"){let w=yield*(0,Il.findPackageData)(t.filename);if(w&&Vme(t,w,u,c)){if({ignore:m,config:g}=yield*(0,Il.findRelativeConfig)(w,t.envName,t.caller),m&&b.files.add(m.filepath),m&&NI(t,m.ignore,null,m.dirname)&&(f=!0),g&&!f){let I=Wme(g),N=new _l.ConfigPrinter,L=yield*Bb(I,t,void 0,N);L?(n=yield*N.output(),Ja(b,L)):f=!0}g&&f&&b.files.add(g.filepath)}}t.showConfig&&console.log(`Babel configs on "${t.filename}" (ascending priority):
|
|
`+[r,n,a].filter(w=>!!w).join(`
|
|
|
|
`)+`
|
|
-----End Babel configs-----`);let T=Ja(Ja(Ja(Rp(),p),b),i);return{plugins:f?[]:qp(T.plugins),presets:f?[]:qp(T.presets),options:f?[]:T.options.map(w=>_I(w)),fileHandling:f?"ignored":"transpile",ignore:m||void 0,babelrc:g||void 0,config:o||void 0,files:T.files}}function Vme(e,t,r,n){if(typeof r=="boolean")return r;let s=e.root;if(r===void 0)return t.directories.includes(s);let i=r;return Array.isArray(i)||(i=[i]),i=i.map(a=>typeof a=="string"?DI().resolve(n,a):a),i.length===1&&i[0]===s?t.directories.includes(s):i.some(a=>(typeof a=="string"&&(a=(0,II.default)(a,n)),t.directories.some(o=>OI(a,n,o,e))))}var $me=(0,ir.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,Fb.validate)("configfile",e.options,e.filepath)})),Wme=(0,ir.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,Fb.validate)("babelrcfile",e.options,e.filepath)})),Kme=(0,ir.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,Fb.validate)("extendsfile",e.options,e.filepath)})),Hme=qb({root:e=>Lb(e,"base",mn.createCachedDescriptors),env:(e,t)=>jb(e,"base",mn.createCachedDescriptors,t),overrides:(e,t)=>Mb(e,"base",mn.createCachedDescriptors,t),overridesEnv:(e,t,r)=>Rb(e,"base",mn.createCachedDescriptors,t,r),createLogger:(e,t,r)=>Zme(e,t,r)}),Gme=qb({root:e=>Xme(e),env:(e,t)=>Yme(e)(t),overrides:(e,t)=>Jme(e)(t),overridesEnv:(e,t,r)=>zme(e)(t)(r),createLogger:(e,t,r)=>Qme(e.filepath,t,r)});function*Bb(e,t,r,n){let s=yield*Gme(e,t,r,n);return s==null||s.files.add(e.filepath),s}var Xme=(0,ir.makeWeakCacheSync)(e=>Lb(e,e.filepath,mn.createUncachedDescriptors)),Yme=(0,ir.makeWeakCacheSync)(e=>(0,ir.makeStrongCacheSync)(t=>jb(e,e.filepath,mn.createUncachedDescriptors,t))),Jme=(0,ir.makeWeakCacheSync)(e=>(0,ir.makeStrongCacheSync)(t=>Mb(e,e.filepath,mn.createUncachedDescriptors,t))),zme=(0,ir.makeWeakCacheSync)(e=>(0,ir.makeStrongCacheSync)(t=>(0,ir.makeStrongCacheSync)(r=>Rb(e,e.filepath,mn.createUncachedDescriptors,t,r))));function Qme(e,t,r){return r?r.configure(t.showConfig,_l.ChainFormatter.Config,{filepath:e}):()=>{}}function Lb({dirname:e,options:t},r,n){return n(e,t,r)}function Zme(e,t,r){var n;return r?r.configure(t.showConfig,_l.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name}):()=>{}}function jb({dirname:e,options:t},r,n,s){var i;let a=(i=t.env)==null?void 0:i[s];return a?n(e,a,`${r}.env["${s}"]`):null}function Mb({dirname:e,options:t},r,n,s){var i;let a=(i=t.overrides)==null?void 0:i[s];if(!a)throw new Error("Assertion failure - missing override");return n(e,a,`${r}.overrides[${s}]`)}function Rb({dirname:e,options:t},r,n,s,i){var a,o;let l=(a=t.overrides)==null?void 0:a[s];if(!l)throw new Error("Assertion failure - missing override");let u=(o=l.env)==null?void 0:o[i];return u?n(e,u,`${r}.overrides[${s}].env["${i}"]`):null}function qb({root:e,env:t,overrides:r,overridesEnv:n,createLogger:s}){return function*(a,o,l=new Set,u){let{dirname:c}=a,p=[],d=e(a);if(Mp(d,c,o,a.filepath)){p.push({config:d,envName:void 0,index:void 0});let f=t(a,o.envName);f&&Mp(f,c,o,a.filepath)&&p.push({config:f,envName:o.envName,index:void 0}),(d.options.overrides||[]).forEach((b,T)=>{let w=r(a,T);if(Mp(w,c,o,a.filepath)){p.push({config:w,index:T,envName:void 0});let I=n(a,T,o.envName);I&&Mp(I,c,o,a.filepath)&&p.push({config:I,index:T,envName:o.envName})}})}if(p.some(({config:{options:{ignore:f,only:b}}})=>NI(o,f,b,c)))return null;let m=Rp(),g=s(a,o,u);for(let{config:f,index:b,envName:T}of p){if(!(yield*eye(m,f.options,c,o,l,u)))return null;g(f,b,T),yield*tye(m,f)}return m}}function*eye(e,t,r,n,s,i){if(t.extends===void 0)return!0;let a=yield*(0,Il.loadConfig)(t.extends,r,n.envName,n.caller);if(s.has(a))throw new Error(`Configuration cycle detected loading ${a.filepath}.
|
|
File already loaded following the config chain:
|
|
`+Array.from(s,l=>` - ${l.filepath}`).join(`
|
|
`));s.add(a);let o=yield*Bb(Kme(a),n,s,i);return s.delete(a),o?(Ja(e,o),!0):!1}function Ja(e,t){e.options.push(...t.options),e.plugins.push(...t.plugins),e.presets.push(...t.presets);for(let r of t.files)e.files.add(r);return e}function*tye(e,{options:t,plugins:r,presets:n}){return e.options.push(t),e.plugins.push(...yield*r()),e.presets.push(...yield*n()),e}function Rp(){return{options:[],presets:[],plugins:[],files:new Set}}function _I(e){let t=Object.assign({},e);return delete t.extends,delete t.env,delete t.overrides,delete t.plugins,delete t.presets,delete t.passPerPreset,delete t.ignore,delete t.only,delete t.test,delete t.include,delete t.exclude,hasOwnProperty.call(t,"sourceMap")&&(t.sourceMaps=t.sourceMap,delete t.sourceMap),t}function qp(e){let t=new Map,r=[];for(let n of e)if(typeof n.value=="function"){let s=n.value,i=t.get(s);i||(i=new Map,t.set(s,i));let a=i.get(n.name);a?a.value=n:(a={value:n},r.push(a),n.ownPass||i.set(n.name,a))}else r.push({value:n});return r.reduce((n,s)=>(n.push(s.value),n),[])}function Mp({options:e},t,r,n){return(e.test===void 0||Ob(r,e.test,t,n))&&(e.include===void 0||Ob(r,e.include,t,n))&&(e.exclude===void 0||!Ob(r,e.exclude,t,n))}function Ob(e,t,r,n){let s=Array.isArray(t)?t:[t];return kb(e,s,r,n)}function CI(e,t){return t instanceof RegExp?String(t):t}function NI(e,t,r,n){if(t&&kb(e,t,n)){var s;let a=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t,CI)}\` from "${n}"`;return AI(a),e.showConfig&&console.log(a),!0}if(r&&!kb(e,r,n)){var i;let a=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r,CI)}\` from "${n}"`;return AI(a),e.showConfig&&console.log(a),!0}return!1}function kb(e,t,r,n){return t.some(s=>OI(s,r,e.filename,e,n))}function OI(e,t,r,n,s){if(typeof e=="function")return!!(0,Bme.endHiddenCallStack)(e)(r,{dirname:t,envName:n.envName,caller:n.caller});if(typeof r!="string")throw new kme.default("Configuration contains string/RegExp pattern, but no filename was passed to Babel",s);return typeof e=="string"&&(e=(0,II.default)(e,t)),e.test(r)}});var BI=x(Vb=>{"use strict";Object.defineProperty(Vb,"__esModule",{value:!0});Vb.validatePluginObject=iye;var Ts=vb(),rye={name:Ts.assertString,manipulateOptions:Ts.assertFunction,pre:Ts.assertFunction,post:Ts.assertFunction,inherits:Ts.assertFunction,visitor:nye,parserOverride:Ts.assertFunction,generatorOverride:Ts.assertFunction};function nye(e,t){let r=(0,Ts.assertObject)(e,t);if(r&&(Object.keys(r).forEach(n=>{n!=="_exploded"&&n!=="_verified"&&sye(n,r[n])}),r.enter||r.exit))throw new Error(`${(0,Ts.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`);return r}function sye(e,t){if(t&&typeof t=="object")Object.keys(t).forEach(r=>{if(r!=="enter"&&r!=="exit")throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)});else if(typeof t!="function")throw new Error(`.visitor["${e}"] must be a function`)}function iye(e){let t={type:"root",source:"plugin"};return Object.keys(e).forEach(r=>{let n=rye[r];if(n)n({type:"option",name:r,parent:t},e[r]);else{let s=new Error(`.${r} is not a valid Plugin property`);throw s.code="BABEL_UNKNOWN_PLUGIN_PROPERTY",s}}),e}});var Wb=x($b=>{"use strict";Object.defineProperty($b,"__esModule",{value:!0});$b.getEnv=aye;function aye(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}});var Kb=x(Wp=>{"use strict";Object.defineProperty(Wp,"__esModule",{value:!0});Wp.default=FI;Wp.loadPartialConfig=yye;function Up(){let e=require("path");return Up=function(){return e},e}var oye=dp(),lye=Zc(),kI=vl(),uye=Ub(),cye=Wb(),pye=Dl(),Vp=Pl(),fye=bb(),dye=["showIgnoredFiles"];function hye(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 mye(e,t){switch(t){case"root":return e;case"upward-optional":{let r=(0,Vp.findConfigUpwards)(e);return r===null?e:r}case"upward":{let r=(0,Vp.findConfigUpwards)(e);if(r!==null)return r;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not be found when searching upward from "${e}".
|
|
One of the following config files must be in the directory tree: "${Vp.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error("Assertion failure - unknown rootMode value.")}}function*FI(e){if(e!=null&&(typeof e!="object"||Array.isArray(e)))throw new Error("Babel options must be an object, null, or undefined");let t=e?(0,pye.validate)("arguments",e):{},{envName:r=(0,cye.getEnv)(),cwd:n=".",root:s=".",rootMode:i="root",caller:a,cloneInputAst:o=!0}=t,l=Up().resolve(n),u=mye(Up().resolve(l,s),i),c=typeof t.filename=="string"?Up().resolve(n,t.filename):void 0,p=yield*(0,Vp.resolveShowConfigPath)(l),d={filename:c,cwd:l,root:u,envName:r,caller:a,showConfig:p===c},m=yield*(0,uye.buildRootChain)(t,d);if(!m)return null;let g={assumptions:{}};return m.options.forEach(b=>{(0,lye.mergeOptions)(g,b)}),{options:Object.assign({},g,{targets:(0,fye.resolveTargets)(g,u),cloneInputAst:o,babelrc:!1,configFile:!1,browserslistConfigFile:!1,passPerPreset:!1,envName:d.envName,cwd:d.cwd,root:d.root,rootMode:"root",filename:typeof d.filename=="string"?d.filename:void 0,plugins:m.plugins.map(b=>(0,kI.createItemFromDescriptor)(b)),presets:m.presets.map(b=>(0,kI.createItemFromDescriptor)(b))}),context:d,fileHandling:m.fileHandling,ignore:m.ignore,babelrc:m.babelrc,config:m.config,files:m.files}}function*yye(e){let t=!1;if(typeof e=="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r),e=hye(r,dye)}let n=yield*FI(e);if(!n)return null;let{options:s,babelrc:i,ignore:a,config:o,fileHandling:l,files:u}=n;return l==="ignored"&&!t?null:((s.plugins||[]).forEach(c=>{if(c.value instanceof oye.default)throw new Error("Passing cached plugin instances is not supported in babel.loadPartialConfig()")}),new $p(s,i?i.filepath:void 0,a?a.filepath:void 0,o?o.filepath:void 0,l,u))}var $p=class{constructor(t,r,n,s,i,a){this.options=void 0,this.babelrc=void 0,this.babelignore=void 0,this.config=void 0,this.fileHandling=void 0,this.files=void 0,this.options=t,this.babelignore=n,this.babelrc=r,this.config=s,this.fileHandling=i,this.files=a,Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==void 0||this.config!==void 0}};Object.freeze($p.prototype)});var WI=x(Kp=>{"use strict";Object.defineProperty(Kp,"__esModule",{value:!0});Kp.default=void 0;function RI(){let e=Zr();return RI=function(){return e},e}var Xb=Gs(),LI=Zc(),gye=vt(),qI=dp(),bye=vl(),Eye=Ub(),zb=pp();function Yb(){let e=zt();return Yb=function(){return e},e}var Qb=Ri(),Jb=Dl(),Tye=BI(),UI=jg(),xye=Kb(),Sye=qi(),lOe=Kp.default=RI()(function*(t){var r;let n=yield*(0,xye.default)(t);if(!n)return null;let{options:s,context:i,fileHandling:a}=n;if(a==="ignored")return null;let o={},{plugins:l,presets:u}=s;if(!l||!u)throw new Error("Assertion failure - plugins and presets exist");let c=Object.assign({},i,{targets:s.targets}),p=N=>{let L=(0,bye.getItemDescriptor)(N);if(!L)throw new Error("Assertion failure - must be config item");return L},d=u.map(p),m=l.map(p),g=[[]],f=[],b=[];if(yield*jI(i,function*N(L,W){let U=[];for(let pe=0;pe<L.length;pe++){let Ee=L[pe];if(Ee.options!==!1){try{var H=yield*wye(Ee,c)}catch(ce){throw ce.code==="BABEL_UNKNOWN_OPTION"&&(0,Jb.checkNoUnwrappedItemOptionPairs)(L,pe,"preset",ce),ce}b.push(H.externalDependencies),Ee.ownPass?U.push({preset:H.chain,pass:[]}):U.unshift({preset:H.chain,pass:W})}}if(U.length>0){g.splice(1,0,...U.map(pe=>pe.pass).filter(pe=>pe!==W));for(let{preset:pe,pass:Ee}of U){if(!pe||(Ee.push(...pe.plugins),yield*N(pe.presets,Ee)))return!0;pe.options.forEach(qe=>{(0,LI.mergeOptions)(o,qe)})}}})(d,g[0]))return null;let w=o;(0,LI.mergeOptions)(w,s);let I=Object.assign({},c,{assumptions:(r=w.assumptions)!=null?r:{}});return yield*jI(i,function*(){g[0].unshift(...m);for(let W of g){let U=[];f.push(U);for(let H=0;H<W.length;H++){let pe=W[H];if(pe.options!==!1){try{var L=yield*$I(pe,I)}catch(Ee){throw Ee.code==="BABEL_UNKNOWN_PLUGIN_PROPERTY"&&(0,Jb.checkNoUnwrappedItemOptionPairs)(W,H,"plugin",Ee),Ee}U.push(L),b.push(L.externalDependencies)}}}})(),w.plugins=f[0],w.presets=f.slice(1).filter(N=>N.length>0).map(N=>({plugins:N})),w.passPerPreset=w.presets.length>0,{options:w,passes:f,externalDependencies:(0,zb.finalize)(b)}});function jI(e,t){return function*(r,n){try{return yield*t(r,n)}catch(i){if(!/^\[BABEL\]/.test(i.message)){var s;i.message=`[BABEL] ${(s=e.filename)!=null?s:"unknown file"}: ${i.message}`}throw i}}}var VI=e=>(0,Qb.makeWeakCache)(function*({value:t,options:r,dirname:n,alias:s},i){if(r===!1)throw new Error("Assertion failure");r=r||{};let a=[],o=t;if(typeof t=="function"){let l=(0,Xb.maybeAsync)(t,"You appear to be using an async plugin/preset, but Babel has been called synchronously"),u=Object.assign({},gye,e(i,a));try{o=yield*l(u,r,n)}catch(c){throw s&&(c.message+=` (While processing: ${JSON.stringify(s)})`),c}}if(!o||typeof o!="object")throw new Error("Plugin/Preset did not return an object.");if((0,Xb.isThenable)(o))throw yield*[],new Error(`You appear to be using a promise as a 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. As an alternative, you can prefix the promise with "await". (While processing: ${JSON.stringify(s)})`);if(a.length>0&&(!i.configured()||i.mode()==="forever")){let l=`A plugin/preset has external untracked dependencies (${a[0]}), but the cache `;throw i.configured()?l+=" has been configured to never be invalidated. ":l+="has not been configured to be invalidated when the external dependencies change. ",l+=`Plugins/presets should configure their cache to be invalidated when the external dependencies change, for example using \`api.cache.invalidate(() => statSync(filepath).mtimeMs)\` or \`api.cache.never()\`
|
|
(While processing: ${JSON.stringify(s)})`,new Error(l)}return{value:o,options:r,dirname:n,alias:s,externalDependencies:(0,zb.finalize)(a)}}),vye=VI(UI.makePluginAPI),Pye=VI(UI.makePresetAPI),Aye=(0,Qb.makeWeakCache)(function*({value:e,options:t,dirname:r,alias:n,externalDependencies:s},i){let a=(0,Tye.validatePluginObject)(e),o=Object.assign({},a);if(o.visitor&&(o.visitor=Yb().default.explode(Object.assign({},o.visitor))),o.inherits){let l={name:void 0,alias:`${n}$inherits`,value:o.inherits,options:t,dirname:r},u=yield*(0,Xb.forwardAsync)($I,c=>i.invalidate(p=>c(l,p)));o.pre=Gb(u.pre,o.pre),o.post=Gb(u.post,o.post),o.manipulateOptions=Gb(u.manipulateOptions,o.manipulateOptions),o.visitor=Yb().default.visitors.merge([u.visitor||{},o.visitor||{}]),u.externalDependencies.length>0&&(s.length===0?s=u.externalDependencies:s=(0,zb.finalize)([s,u.externalDependencies]))}return new qI.default(o,t,n,s)});function*$I(e,t){if(e.value instanceof qI.default){if(e.options)throw new Error("Passed options to an existing Plugin instance will not work.");return e.value}return yield*Aye(yield*vye(e,t),t)}var Hb=e=>e&&typeof e!="function",MI=(e,t)=>{if(Hb(e.test)||Hb(e.include)||Hb(e.exclude)){let r=t.name?`"${t.name}"`:"/* your preset */";throw new Sye.default([`Preset ${r} requires a filename to be set when babel is called directly,`,"```",`babel.transformSync(code, { filename: 'file.ts', presets: [${r}] });`,"```","See https://babeljs.io/docs/en/options#filename for more information."].join(`
|
|
`))}},Cye=(e,t,r)=>{if(!t.filename){var n;let{options:s}=e;MI(s,r),(n=s.overrides)==null||n.forEach(i=>MI(i,r))}},Dye=(0,Qb.makeWeakCacheSync)(({value:e,dirname:t,alias:r,externalDependencies:n})=>({options:(0,Jb.validate)("preset",e),alias:r,dirname:t,externalDependencies:n}));function*wye(e,t){let r=Dye(yield*Pye(e,t));return Cye(r,t,e),{chain:yield*(0,Eye.buildPresetChain)(r,t),externalDependencies:r.externalDependencies}}function Gb(e,t){return e?t?function(...r){let n=e.apply(this,r);return n&&typeof n.then=="function"?n.then(()=>t.apply(this,r)):t.apply(this,r)}:e:t}});var Qa=x(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.createConfigItem=jye;gn.createConfigItemAsync=Lye;gn.createConfigItemSync=XI;Object.defineProperty(gn,"default",{enumerable:!0,get:function(){return KI.default}});gn.loadOptions=Fye;gn.loadOptionsAsync=kye;gn.loadOptionsSync=GI;gn.loadPartialConfig=Oye;gn.loadPartialConfigAsync=Nye;gn.loadPartialConfigSync=HI;function Yp(){let e=Zr();return Yp=function(){return e},e}var KI=WI(),Iye=Kb(),_ye=vl(),yn=fs(),Hp=Yp()(Iye.loadPartialConfig);function Nye(...e){return(0,yn.beginHiddenCallStack)(Hp.async)(...e)}function HI(...e){return(0,yn.beginHiddenCallStack)(Hp.sync)(...e)}function Oye(e,t){if(t!==void 0)(0,yn.beginHiddenCallStack)(Hp.errback)(e,t);else if(typeof e=="function")(0,yn.beginHiddenCallStack)(Hp.errback)(void 0,e);else return HI(e)}function*Bye(e){var t;let r=yield*(0,KI.default)(e);return(t=r==null?void 0:r.options)!=null?t:null}var Gp=Yp()(Bye);function kye(...e){return(0,yn.beginHiddenCallStack)(Gp.async)(...e)}function GI(...e){return(0,yn.beginHiddenCallStack)(Gp.sync)(...e)}function Fye(e,t){if(t!==void 0)(0,yn.beginHiddenCallStack)(Gp.errback)(e,t);else if(typeof e=="function")(0,yn.beginHiddenCallStack)(Gp.errback)(void 0,e);else return GI(e)}var Xp=Yp()(_ye.createConfigItem);function Lye(...e){return(0,yn.beginHiddenCallStack)(Xp.async)(...e)}function XI(...e){return(0,yn.beginHiddenCallStack)(Xp.sync)(...e)}function jye(e,t,r){if(r!==void 0)(0,yn.beginHiddenCallStack)(Xp.errback)(e,t,r);else if(typeof t=="function")(0,yn.beginHiddenCallStack)(Xp.errback)(e,void 0,r);else return XI(e,t)}});var YI=x(Jp=>{"use strict";Object.defineProperty(Jp,"__esModule",{value:!0});Jp.default=void 0;var Nl=class{constructor(t,r,n,s){this._map=new Map,this.key=void 0,this.file=void 0,this.opts=void 0,this.cwd=void 0,this.filename=void 0,this.isAsync=void 0,this.key=r,this.file=t,this.opts=n||{},this.cwd=t.opts.cwd,this.filename=t.opts.filename,this.isAsync=s}set(t,r){this._map.set(t,r)}get(t){return this._map.get(t)}availableHelper(t,r){return this.file.availableHelper(t,r)}addHelper(t){return this.file.addHelper(t)}buildCodeFrameError(t,r,n){return this.file.buildCodeFrameError(t,r,n)}};Jp.default=Nl;Nl.prototype.getModuleName=function(){return this.file.getModuleName()},Nl.prototype.addImport=function(){this.file.addImport()}});var e_=x(e1=>{"use strict";Object.defineProperty(e1,"__esModule",{value:!0});e1.default=Rye;function QI(){let e=zt();return QI=function(){return e},e}var Mye=dp(),Zb,JI={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){e.body=zI(e.body)}},SwitchCase:{exit({node:e}){e.consequent=zI(e.consequent)}}}};function zI(e){let t=Math.pow(2,30)-1,r=!1;for(let n=0;n<e.length;n++){let s=e[n],i=ZI(s);if(i>t){r=!0;break}t=i}return r?qye(e.slice()):e}function Rye(){return Zb||(Zb=new Mye.default(Object.assign({},JI,{visitor:QI().default.explode(JI.visitor)}),{})),Zb}function ZI(e){let t=e==null?void 0:e._blockHoist;return t==null?1:t===!0?2:t}function qye(e){let t=Object.create(null);for(let s=0;s<e.length;s++){let i=e[s],a=ZI(i);(t[a]||(t[a]=[])).push(i)}let r=Object.keys(t).map(s=>+s).sort((s,i)=>i-s),n=0;for(let s of r){let i=t[s];for(let a of i)e[n++]=a}return e}});var r1=x(t1=>{"use strict";Object.defineProperty(t1,"__esModule",{value:!0});t1.default=Uye;function zp(){let e=require("path");return zp=function(){return e},e}function Uye(e){let{filename:t,cwd:r,filenameRelative:n=typeof t=="string"?zp().relative(r,t):"unknown",sourceType:s="module",inputSourceMap:i,sourceMaps:a=!!i,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=zp().basename(n),comments:u=!0,compact:c="auto"}=e.options,p=e.options,d=Object.assign({},p,{parserOpts:Object.assign({sourceType:zp().extname(n)===".mjs"?"module":s,sourceFileName:t,plugins:[]},p.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:p.auxiliaryCommentBefore,auxiliaryCommentAfter:p.auxiliaryCommentAfter,retainLines:p.retainLines,comments:u,shouldPrintComment:p.shouldPrintComment,compact:c,minified:p.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},p.generatorOpts)});for(let m of e.passes)for(let g of m)g.manipulateOptions&&g.manipulateOptions(d,d.parserOpts);return d}});var n1=x(Xt=>{"use strict";Object.defineProperty(Xt,"commentRegex",{get:function(){return/^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/mg}});Object.defineProperty(Xt,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/mg}});var Qp;typeof Buffer!="undefined"?typeof Buffer.from=="function"?Qp=Vye:Qp=$ye:Qp=Wye;function Vye(e){return Buffer.from(e,"base64").toString()}function $ye(e){if(typeof value=="number")throw new TypeError("The value to decode must not be of type number.");return new Buffer(e,"base64").toString()}function Wye(e){return decodeURIComponent(escape(atob(e)))}function Kye(e){return e.split(",").pop()}function Hye(e,t){var r=Xt.mapFileCommentRegex.exec(e),n=r[1]||r[2];try{var e=t(n);return e!=null&&typeof e.catch=="function"?e.catch(s):e}catch(i){s(i)}function s(i){throw new Error("An error occurred while trying to read the map file at "+n+`
|
|
`+i.stack)}}function Cr(e,t){t=t||{},t.hasComment&&(e=Kye(e)),t.encoding==="base64"?e=Qp(e):t.encoding==="uri"&&(e=decodeURIComponent(e)),(t.isJSON||t.encoding)&&(e=JSON.parse(e)),this.sourcemap=e}Cr.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)};typeof Buffer!="undefined"?typeof Buffer.from=="function"?Cr.prototype.toBase64=Gye:Cr.prototype.toBase64=Xye:Cr.prototype.toBase64=Yye;function Gye(){var e=this.toJSON();return Buffer.from(e,"utf8").toString("base64")}function Xye(){var e=this.toJSON();if(typeof e=="number")throw new TypeError("The json to encode must not be of type number.");return new Buffer(e,"utf8").toString("base64")}function Yye(){var e=this.toJSON();return btoa(unescape(encodeURIComponent(e)))}Cr.prototype.toURI=function(){var e=this.toJSON();return encodeURIComponent(e)};Cr.prototype.toComment=function(e){var t,r,n;return e!=null&&e.encoding==="uri"?(t="",r=this.toURI()):(t=";base64",r=this.toBase64()),n="sourceMappingURL=data:application/json;charset=utf-8"+t+","+r,e!=null&&e.multiline?"/*# "+n+" */":"//# "+n};Cr.prototype.toObject=function(){return JSON.parse(this.toJSON())};Cr.prototype.addProperty=function(e,t){if(this.sourcemap.hasOwnProperty(e))throw new Error('property "'+e+'" already exists on the sourcemap, use set property instead');return this.setProperty(e,t)};Cr.prototype.setProperty=function(e,t){return this.sourcemap[e]=t,this};Cr.prototype.getProperty=function(e){return this.sourcemap[e]};Xt.fromObject=function(e){return new Cr(e)};Xt.fromJSON=function(e){return new Cr(e,{isJSON:!0})};Xt.fromURI=function(e){return new Cr(e,{encoding:"uri"})};Xt.fromBase64=function(e){return new Cr(e,{encoding:"base64"})};Xt.fromComment=function(e){var t,r;return e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),t=Xt.commentRegex.exec(e),r=t&&t[4]||"uri",new Cr(e,{encoding:r,hasComment:!0})};function t_(e){return new Cr(e,{isJSON:!0})}Xt.fromMapFileComment=function(e,t){if(typeof t=="string")throw new Error("String directory paths are no longer supported with `fromMapFileComment`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var r=Hye(e,t);return r!=null&&typeof r.then=="function"?r.then(t_):t_(r)};Xt.fromSource=function(e){var t=e.match(Xt.commentRegex);return t?Xt.fromComment(t.pop()):null};Xt.fromMapFileSource=function(e,t){if(typeof t=="string")throw new Error("String directory paths are no longer supported with `fromMapFileSource`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var r=e.match(Xt.mapFileCommentRegex);return r?Xt.fromMapFileComment(r.pop(),t):null};Xt.removeComments=function(e){return e.replace(Xt.commentRegex,"")};Xt.removeMapFileComments=function(e){return e.replace(Xt.mapFileCommentRegex,"")};Xt.generateMapFileComment=function(e,t){var r="sourceMappingURL="+e;return t&&t.multiline?"/*# "+r+" */":"//# "+r}});var s_=x(s1=>{"use strict";Object.defineProperty(s1,"__esModule",{value:!0});s1.default=Jye;var n_={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-do-expressions"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decimal"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decorators"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-decorators"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-do-expressions"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-do-expressions"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-default-from"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-export-default-from"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-flow"},transform:{name:"@babel/preset-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-flow"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-bind"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-bind"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-sent"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-sent"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx"},transform:{name:"@babel/preset-react",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-react"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-pipeline-operator"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-pipeline-operator"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-record-and-tuple"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-throw-expressions"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-throw-expressions"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-typescript"},transform:{name:"@babel/preset-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-typescript"}}};Object.assign(n_,{asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-generators"},transform:{name:"@babel/plugin-transform-async-generator-functions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-async-generator-functions"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-private-methods",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-methods"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-class-static-block"},transform:{name:"@babel/plugin-transform-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-static-block"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-dynamic-import"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-namespace-from"},transform:{name:"@babel/plugin-transform-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-export-namespace-from"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-assertions"}},importAttributes:{syntax:{name:"@babel/plugin-syntax-import-attributes",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-meta"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-logical-assignment-operators"},transform:{name:"@babel/plugin-transform-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-logical-assignment-operators"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-module-string-names"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-numeric-separator"},transform:{name:"@babel/plugin-transform-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-numeric-separator"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-nullish-coalescing-operator"},transform:{name:"@babel/plugin-transform-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-nullish-coalescing-opearator"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-object-rest-spread"},transform:{name:"@babel/plugin-transform-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-object-rest-spread"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-catch-binding"},transform:{name:"@babel/plugin-transform-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-catch-binding"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-chaining"},transform:{name:"@babel/plugin-transform-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-chaining"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-private-property-in-object"},transform:{name:"@babel/plugin-transform-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-property-in-object"}},regexpUnicodeSets:{syntax:{name:"@babel/plugin-syntax-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-syntax-unicode-sets-regex/README.md"},transform:{name:"@babel/plugin-transform-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-proposalunicode-sets-regex/README.md"}}});var r_=({name:e,url:t})=>`${e} (${t})`;function Jye(e,t,r,n){let s=`Support for the experimental syntax '${e}' isn't currently enabled (${t.line}:${t.column+1}):
|
|
|
|
`+r,i=n_[e];if(i){let{syntax:o,transform:l}=i;if(o){let u=r_(o);if(l){let c=r_(l),p=l.name.startsWith("@babel/plugin")?"plugins":"presets";s+=`
|
|
|
|
Add ${c} to the '${p}' section of your Babel config to enable transformation.
|
|
If you want to leave it as-is, add ${u} to the 'plugins' section to enable parsing.`}else s+=`
|
|
|
|
Add ${u} to the 'plugins' section of your Babel config to enable parsing.`}}return s+=`
|
|
|
|
If you already added the plugin for this syntax to your config, it's possible that your config isn't being loaded.
|
|
You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:
|
|
npx cross-env BABEL_SHOW_CONFIG_FOR=${n==="unknown"?"<name of the input file>":n} <your build command>
|
|
See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
`,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+=`
|
|
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}
|
|
|
|
`+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.
|
|
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+=`
|
|
`+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`
|
|
function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
|
|
`]):Dr.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
|
|
`}},Y0e={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){return this._get(e)},_get(e){let t=this._getPrototypeOfExpression();return xs(this.file.addHelper("get"),[this.isDerivedConstructor?Xi([wr(),t]):t,this.prop(e),wr()])},set(e,t){let r=this._getPrototypeOfExpression();return xs(this.file.addHelper("set"),[this.isDerivedConstructor?Xi([wr(),r]):r,this.prop(e),t,wr(),Dr.types.booleanLiteral(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(e,t){return(0,lf.default)(this._get(e),wr(),t,!1)},optionalCall(e,t){return(0,lf.default)(this._get(e),br(wr()),t,!0)},delete(e){return e.node.computed?Xi([xs(this.file.addHelper("toPropertyKey"),[br(e.node.property)]),Dr.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
|
|
`]):Dr.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
|
|
`}},J0e=Object.assign({},M_,{prop(e){let{property:t}=e.node;return this.memoiser.has(t)?br(this.memoiser.get(t)):br(t)},get(e){let{isStatic:t,getSuperRef:r}=this,{computed:n}=e.node,s=this.prop(e),i;if(t){var a;i=(a=r())!=null?a:Gi(eo("Function"),eo("prototype"))}else{var o;i=Gi((o=r())!=null?o:eo("Object"),eo("prototype"))}return Gi(i,s,n)},set(e,t){let{computed:r}=e.node,n=this.prop(e);return G0e("=",Gi(wr(),n,r),t)},destructureSet(e){let{computed:t}=e.node,r=this.prop(e);return Gi(wr(),r,t)},call(e,t){return(0,lf.default)(this.get(e),wr(),t,!1)},optionalCall(e,t){return(0,lf.default)(this.get(e),wr(),t,!0)}}),k1=class{constructor(t){var r;let n=t.methodPath;this.methodPath=n,this.isDerivedConstructor=n.isClassMethod({kind:"constructor"})&&!!t.superRef,this.isStatic=n.isObjectMethod()||n.node.static||(n.isStaticBlock==null?void 0:n.isStaticBlock()),this.isPrivateMethod=n.isPrivate()&&n.isMethod(),this.file=t.file,this.constantSuper=(r=t.constantSuper)!=null?r:t.isLoose,this.opts=t}getObjectRef(){return br(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return br(this.opts.superRef);if(this.opts.getSuperRef)return br(this.opts.getSuperRef())}replace(){let{methodPath:t}=this;this.opts.refToPreserve&&t.traverse(X0e,{refName:this.opts.refToPreserve.name});let r=this.constantSuper?J0e:this.file.availableHelper("superPropSet")?M_:Y0e;L_.shouldSkip=n=>{if(n.parentPath===t&&(n.parentKey==="decorators"||n.parentKey==="key"))return!0},(0,H0e.default)(t,L_,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:r.get},r))}};to.default=k1});var cf=x(L1=>{"use strict";Object.defineProperty(L1,"__esModule",{value:!0});L1.default=tge;var z0e=Fe(),{addComment:Q0e}=z0e,Z0e="#__PURE__",ege=({leadingComments:e})=>!!e&&e.some(t=>/[@#]__PURE__/.test(t.value));function tge(e){let t=e.node||e;ege(t)||Q0e(t,"leading",Z0e)}});var Fl=x(kl=>{"use strict";Object.defineProperty(kl,"__esModule",{value:!0});kl.isTransparentExprWrapper=j1;kl.skipTransparentExprWrapperNodes=cge;kl.skipTransparentExprWrappers=uge;var rge=Fe(),{isParenthesizedExpression:nge,isTSAsExpression:sge,isTSNonNullExpression:ige,isTSSatisfiesExpression:age,isTSTypeAssertion:oge,isTypeCastExpression:lge}=rge;function j1(e){return sge(e)||age(e)||oge(e)||ige(e)||lge(e)||nge(e)}function uge(e){for(;j1(e.node);)e=e.get("expression");return e}function cge(e){for(;j1(e);)e=e.expression;return e}});var R1=x(M1=>{"use strict";Object.defineProperty(M1,"__esModule",{value:!0});M1.assertFieldTransformed=pge;function pge(e){if(e.node.declare)throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by @babel/plugin-transform-typescript.
|
|
If you have already enabled that plugin (or '@babel/preset-typescript'), make sure that it runs before any plugin related to additional class features:
|
|
- @babel/plugin-transform-class-properties
|
|
- @babel/plugin-transform-private-methods
|
|
- @babel/plugin-proposal-decorators`)}});var W1=x(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.buildCheckInRHS=df;ei.buildFieldsInitNodes=Fge;ei.buildPrivateNamesMap=gge;ei.buildPrivateNamesNodes=bge;ei.privateNameVisitorFactory=$1;ei.transformPrivateNamesUsage=Pge;var k=vt(),W_=zt(),fge=uf(),dge=N1(),R_=B1(),hge=cf(),mge=Fl(),yge=R1();Ir=e=>e.availableHelper("classPrivateFieldGet2");var Ir;function gge(e,t,r,n){let s=new Map,i;for(let a of r)if(a.isPrivate()){let{name:o}=a.node.key.id,l=s.get(o);if(!l){let u=!a.isProperty(),c=a.node.static,p=!1,d;!t&&Ir(n)&&u&&!c?(p=!!i,i!=null||(i=a.scope.generateUidIdentifier(`${e}_brand`)),d=i):d=a.scope.generateUidIdentifier(o),l={id:d,static:c,method:u,initAdded:p},s.set(o,l)}if(a.isClassPrivateMethod())if(a.node.kind==="get"){let{body:u}=a.node.body,c;u.length===1&&k.types.isReturnStatement(c=u[0])&&k.types.isCallExpression(c=c.argument)&&c.arguments.length===1&&k.types.isThisExpression(c.arguments[0])&&k.types.isIdentifier(c=c.callee)?(l.getId=k.types.cloneNode(c),l.getterDeclared=!0):l.getId=a.scope.generateUidIdentifier(`get_${o}`)}else if(a.node.kind==="set"){let{params:u}=a.node,{body:c}=a.node.body,p;c.length===1&&k.types.isExpressionStatement(p=c[0])&&k.types.isCallExpression(p=p.expression)&&p.arguments.length===2&&k.types.isThisExpression(p.arguments[0])&&k.types.isIdentifier(p.arguments[1],{name:u[0].name})&&k.types.isIdentifier(p=p.callee)?(l.setId=k.types.cloneNode(p),l.setterDeclared=!0):l.setId=a.scope.generateUidIdentifier(`set_${o}`)}else a.node.kind==="method"&&(l.methodId=a.scope.generateUidIdentifier(o));s.set(o,l)}return s}function bge(e,t,r,n){let s=[],i=new Set;for(let[a,o]of e){let{static:l,method:u,getId:c,setId:p}=o,d=c||p,m=k.types.cloneNode(o.id),g;if(t)g=k.types.callExpression(n.addHelper("classPrivateFieldLooseKey"),[k.types.stringLiteral(a)]);else if(r)g=k.types.callExpression(k.types.identifier("Symbol"),[k.types.stringLiteral(a)]);else if(!l){if(i.has(m.name))continue;i.add(m.name),g=k.types.newExpression(k.types.identifier(u&&(!d||Ir(n))?"WeakSet":"WeakMap"),[])}g&&(r||(0,hge.default)(g),s.push(k.template.statement.ast`var ${m} = ${g}`))}return s}function $1(e){let t=W_.visitors.environmentVisitor(Object.assign({},e)),r=Object.assign({},e,{Class(n){let{privateNamesMap:s}=this,i=n.get("body.body"),a=new Map(s),o=[];for(let l of i){if(!l.isPrivate())continue;let{name:u}=l.node.key.id;a.delete(u),o.push(u)}o.length&&(n.get("body").traverse(t,Object.assign({},this,{redeclared:o})),n.traverse(r,Object.assign({},this,{privateNamesMap:a})),n.skipKey("body"))}});return r}var Ege=$1({PrivateName(e,{noDocumentAll:t}){let{privateNamesMap:r,redeclared:n}=this,{node:s,parentPath:i}=e;if(!i.isMemberExpression({property:s})&&!i.isOptionalMemberExpression({property:s}))return;let{name:a}=s.id;r.has(a)&&(n!=null&&n.includes(a)||this.handle(i,t))}});function K_(e,t,r){for(;(n=t)!=null&&n.hasBinding(e)&&!t.bindingIdentifierEquals(e,r);){var n;t.rename(e),t=t.parent}}function df(e,t,r){return r||!(t.availableHelper!=null&&t.availableHelper("checkInRHS"))?e:k.types.callExpression(t.addHelper("checkInRHS"),[e])}var Tge=$1({BinaryExpression(e,{file:t}){let{operator:r,left:n,right:s}=e.node;if(r!=="in"||!k.types.isPrivateName(n))return;let{privateFieldsAsProperties:i,privateNamesMap:a,redeclared:o}=this,{name:l}=n.id;if(!a.has(l)||o!=null&&o.includes(l))return;if(K_(this.classRef.name,e.scope,this.innerBinding),i){let{id:p}=a.get(l);e.replaceWith(k.template.expression.ast`
|
|
Object.prototype.hasOwnProperty.call(${df(s,t)}, ${k.types.cloneNode(p)})
|
|
`);return}let{id:u,static:c}=a.get(l);if(c){e.replaceWith(k.template.expression.ast`${df(s,t)} === ${k.types.cloneNode(this.classRef)}`);return}e.replaceWith(k.template.expression.ast`${k.types.cloneNode(u)}.has(${df(s,t)})`)}});function pf(e,t){return k.types.callExpression(e.addHelper("readOnlyError"),[k.types.stringLiteral(`#${t}`)])}function xge(e,t){return e.availableHelper("writeOnlyError")?k.types.callExpression(e.addHelper("writeOnlyError"),[k.types.stringLiteral(`#${t}`)]):(console.warn("@babel/helpers is outdated, update it to silence this warning."),k.types.buildUndefinedNode())}function q1(e,t){return t?e:k.types.memberExpression(e,k.types.identifier("_"))}function q_(e){return function(t){return k.types.inherits(e.apply(this,arguments),t.node)}}var Sge={memoise(e,t){let{scope:r}=e,{object:n}=e.node,s=r.maybeGenerateMemoised(n);s&&this.memoiser.set(n,s,t)},receiver(e){let{object:t}=e.node;return this.memoiser.has(t)?k.types.cloneNode(this.memoiser.get(t)):k.types.cloneNode(t)},get:q_(function(e){let{classRef:t,privateNamesMap:r,file:n,innerBinding:s,noUninitializedPrivateFieldAccess:i}=this,a=e.node.property,{name:o}=a.id,{id:l,static:u,method:c,methodId:p,getId:d,setId:m}=r.get(o),g=d||m,f=b=>k.types.inherits(k.types.cloneNode(b),a);if(u){if(K_(t.name,e.scope,s),!Ir(n)){let w=c&&!g?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";return k.types.callExpression(n.addHelper(w),[this.receiver(e),k.types.cloneNode(t),f(l)])}let b=this.receiver(e),T=k.types.isIdentifier(b)&&b.name===t.name;if(!c)return q1(T?f(l):k.types.callExpression(n.addHelper("assertClassBrand"),[k.types.cloneNode(t),b,f(l)]),i);if(d)return T?k.types.callExpression(f(d),[b]):k.types.callExpression(n.addHelper("classPrivateGetter"),[k.types.cloneNode(t),b,f(d)]);if(m){let w=k.types.buildUndefinedNode();return T?w:k.types.sequenceExpression([k.types.callExpression(n.addHelper("assertClassBrand"),[k.types.cloneNode(t),b]),w])}return T?f(l):k.types.callExpression(n.addHelper("assertClassBrand"),[k.types.cloneNode(t),b,f(l)])}return c?g?d?Ir(n)?k.types.callExpression(n.addHelper("classPrivateGetter"),[k.types.cloneNode(l),this.receiver(e),f(d)]):k.types.callExpression(n.addHelper("classPrivateFieldGet"),[this.receiver(e),f(l)]):k.types.sequenceExpression([this.receiver(e),xge(n,o)]):Ir(n)?k.types.callExpression(n.addHelper("assertClassBrand"),[k.types.cloneNode(l),this.receiver(e),f(p)]):k.types.callExpression(n.addHelper("classPrivateMethodGet"),[this.receiver(e),k.types.cloneNode(l),f(p)]):Ir(n)?k.types.callExpression(n.addHelper("classPrivateFieldGet2"),[f(l),this.receiver(e)]):k.types.callExpression(n.addHelper("classPrivateFieldGet"),[this.receiver(e),f(l)])}),boundGet(e){return this.memoise(e,1),k.types.callExpression(k.types.memberExpression(this.get(e),k.types.identifier("bind")),[this.receiver(e)])},set:q_(function(e,t){let{classRef:r,privateNamesMap:n,file:s,noUninitializedPrivateFieldAccess:i}=this,a=e.node.property,{name:o}=a.id,{id:l,static:u,method:c,setId:p,getId:d}=n.get(o),m=d||p,g=f=>k.types.inherits(k.types.cloneNode(f),a);if(u){if(!Ir(s)){let T=c&&!m?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return k.types.callExpression(s.addHelper(T),[this.receiver(e),k.types.cloneNode(r),g(l),t])}let f=this.receiver(e),b=k.types.isIdentifier(f)&&f.name===r.name;if(c&&!p){let T=pf(s,o);return b?k.types.sequenceExpression([t,T]):k.types.sequenceExpression([t,k.types.callExpression(s.addHelper("assertClassBrand"),[k.types.cloneNode(r),f]),pf(s,o)])}return p?b?k.types.callExpression(k.types.cloneNode(p),[f,t]):k.types.callExpression(s.addHelper("classPrivateSetter"),[k.types.cloneNode(r),g(p),f,t]):k.types.assignmentExpression("=",q1(g(l),i),b?t:k.types.callExpression(s.addHelper("assertClassBrand"),[k.types.cloneNode(r),f,t]))}return c?p?Ir(s)?k.types.callExpression(s.addHelper("classPrivateSetter"),[k.types.cloneNode(l),g(p),this.receiver(e),t]):k.types.callExpression(s.addHelper("classPrivateFieldSet"),[this.receiver(e),g(l),t]):k.types.sequenceExpression([this.receiver(e),t,pf(s,o)]):Ir(s)?k.types.callExpression(s.addHelper("classPrivateFieldSet2"),[g(l),this.receiver(e),t]):k.types.callExpression(s.addHelper("classPrivateFieldSet"),[this.receiver(e),g(l),t])}),destructureSet(e){let{classRef:t,privateNamesMap:r,file:n,noUninitializedPrivateFieldAccess:s}=this,i=e.node.property,{name:a}=i.id,{id:o,static:l,method:u,setId:c}=r.get(a),p=f=>k.types.inherits(k.types.cloneNode(f),i);if(!Ir(n)){if(l){try{var d=n.addHelper("classStaticPrivateFieldDestructureSet")}catch{throw new Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \nplease update @babel/helpers to the latest version.")}return k.types.memberExpression(k.types.callExpression(d,[this.receiver(e),k.types.cloneNode(t),p(o)]),k.types.identifier("value"))}return k.types.memberExpression(k.types.callExpression(n.addHelper("classPrivateFieldDestructureSet"),[this.receiver(e),p(o)]),k.types.identifier("value"))}if(u&&!c)return k.types.memberExpression(k.types.sequenceExpression([e.node.object,pf(n,a)]),k.types.identifier("_"));if(l&&!u){let f=this.get(e);if(!s||!k.types.isCallExpression(f))return f;let b=f.arguments.pop();return f.arguments.push(k.template.expression.ast`(_) => ${b} = _`),k.types.memberExpression(k.types.callExpression(n.addHelper("toSetter"),[f]),k.types.identifier("_"))}let m=this.set(e,k.types.identifier("_"));if(!k.types.isCallExpression(m)||!k.types.isIdentifier(m.arguments[m.arguments.length-1],{name:"_"}))throw e.buildCodeFrameError("Internal Babel error while compiling this code. This is a Babel bug. Please report it at https://github.com/babel/babel/issues.");let g;return k.types.isMemberExpression(m.callee,{computed:!1})&&k.types.isIdentifier(m.callee.property)&&m.callee.property.name==="call"?g=[m.callee.object,k.types.arrayExpression(m.arguments.slice(1,-1)),m.arguments[0]]:g=[m.callee,k.types.arrayExpression(m.arguments.slice(0,-1))],k.types.memberExpression(k.types.callExpression(n.addHelper("toSetter"),g),k.types.identifier("_"))},call(e,t){return this.memoise(e,1),(0,R_.default)(this.get(e),this.receiver(e),t,!1)},optionalCall(e,t){return this.memoise(e,1),(0,R_.default)(this.get(e),this.receiver(e),t,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}},vge={get(e){let{privateNamesMap:t,file:r}=this,{object:n}=e.node,{name:s}=e.node.property.id;return k.template.expression`BASE(REF, PROP)[PROP]`({BASE:r.addHelper("classPrivateFieldLooseBase"),REF:k.types.cloneNode(n),PROP:k.types.cloneNode(t.get(s).id)})},set(){throw new Error("private name handler with loose = true don't need set()")},boundGet(e){return k.types.callExpression(k.types.memberExpression(this.get(e),k.types.identifier("bind")),[k.types.cloneNode(e.node.object)])},simpleSet(e){return this.get(e)},destructureSet(e){return this.get(e)},call(e,t){return k.types.callExpression(this.get(e),t)},optionalCall(e,t){return k.types.optionalCallExpression(this.get(e),t,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}};function Pge(e,t,r,{privateFieldsAsProperties:n,noUninitializedPrivateFieldAccess:s,noDocumentAll:i,innerBinding:a},o){if(!r.size)return;let l=t.get("body"),u=n?vge:Sge;(0,dge.default)(l,Ege,Object.assign({privateNamesMap:r,classRef:e,file:o},u,{noDocumentAll:i,noUninitializedPrivateFieldAccess:s,innerBinding:a})),l.traverse(Tge,{privateNamesMap:r,classRef:e,file:o,privateFieldsAsProperties:n,innerBinding:a})}function U_(e,t,r){let{id:n}=r.get(t.node.key.id.name),s=t.node.value||t.scope.buildUndefinedNode();return dr(k.template.statement.ast`
|
|
Object.defineProperty(${e}, ${k.types.cloneNode(n)}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
writable: true,
|
|
value: ${s}
|
|
});
|
|
`,t)}function Age(e,t,r,n){let{id:s}=r.get(t.node.key.id.name),i=t.node.value||t.scope.buildUndefinedNode();if(!n.availableHelper("classPrivateFieldInitSpec"))return dr(k.template.statement.ast`${k.types.cloneNode(s)}.set(${e}, {
|
|
// configurable is always false for private elements
|
|
// enumerable is always false for private elements
|
|
writable: true,
|
|
value: ${i},
|
|
})`,t);let a=n.addHelper("classPrivateFieldInitSpec");return V1(dr(k.types.expressionStatement(k.types.callExpression(a,[k.types.thisExpression(),V1(k.types.cloneNode(s),t.node.key),Ir(n)?i:k.template.expression.ast`{ writable: true, value: ${i} }`])),t),t.node)}function Cge(e,t,r){let n=t.get(e.node.key.id.name),s=r?e.node.value:k.template.expression.ast`{
|
|
_: ${e.node.value||k.types.buildUndefinedNode()}
|
|
}`;return dr(k.types.variableDeclaration("var",[k.types.variableDeclarator(k.types.cloneNode(n.id),s)]),e)}U1=function(e,t){let r=t.get(e.node.key.id.name),{id:n,getId:s,setId:i,initAdded:a}=r,o=s||i;if(!e.isProperty()&&(a||!o))return;if(o)return t.set(e.node.key.id.name,Object.assign({},r,{initAdded:!0})),dr(k.template.statement.ast`
|
|
var ${k.types.cloneNode(n)} = {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${s?s.name:e.scope.buildUndefinedNode()},
|
|
set: ${i?i.name:e.scope.buildUndefinedNode()}
|
|
}
|
|
`,e);let l=e.node.value||e.scope.buildUndefinedNode();return dr(k.template.statement.ast`
|
|
var ${k.types.cloneNode(n)} = {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
writable: true,
|
|
value: ${l}
|
|
};
|
|
`,e)};var U1;function Dge(e,t,r){let n=r.get(t.node.key.id.name),{methodId:s,id:i,getId:a,setId:o,initAdded:l}=n;if(l)return;if(s)return dr(k.template.statement.ast`
|
|
Object.defineProperty(${e}, ${i}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
value: ${s.name}
|
|
});
|
|
`,t);if(a||o)return r.set(t.node.key.id.name,Object.assign({},n,{initAdded:!0})),dr(k.template.statement.ast`
|
|
Object.defineProperty(${e}, ${i}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${a?a.name:t.scope.buildUndefinedNode()},
|
|
set: ${o?o.name:t.scope.buildUndefinedNode()}
|
|
});
|
|
`,t)}function wge(e,t,r,n){let s=r.get(t.node.key.id.name);if(!s.initAdded)return!Ir(n)&&(s.getId||s.setId)?Ige(e,t,r,n):_ge(e,t,r,n)}function Ige(e,t,r,n){let s=r.get(t.node.key.id.name),{id:i,getId:a,setId:o}=s;if(r.set(t.node.key.id.name,Object.assign({},s,{initAdded:!0})),!n.availableHelper("classPrivateFieldInitSpec"))return dr(k.template.statement.ast`
|
|
${i}.set(${e}, {
|
|
get: ${a?a.name:t.scope.buildUndefinedNode()},
|
|
set: ${o?o.name:t.scope.buildUndefinedNode()}
|
|
});
|
|
`,t);let l=n.addHelper("classPrivateFieldInitSpec");return V1(dr(k.template.statement.ast`${l}(
|
|
${k.types.thisExpression()},
|
|
${k.types.cloneNode(i)},
|
|
{
|
|
get: ${a?a.name:t.scope.buildUndefinedNode()},
|
|
set: ${o?o.name:t.scope.buildUndefinedNode()}
|
|
},
|
|
)`,t),t.node)}function _ge(e,t,r,n){let s=r.get(t.node.key.id.name),{id:i}=s;if(!n.availableHelper("classPrivateMethodInitSpec"))return dr(k.template.statement.ast`${i}.add(${e})`,t);let a=n.addHelper("classPrivateMethodInitSpec");return dr(k.template.statement.ast`${a}(
|
|
${k.types.thisExpression()},
|
|
${k.types.cloneNode(i)}
|
|
)`,t)}function V_(e,t){let{key:r,computed:n}=t.node,s=t.node.value||t.scope.buildUndefinedNode();return dr(k.types.expressionStatement(k.types.assignmentExpression("=",k.types.memberExpression(e,r,n||k.types.isLiteral(r)),s)),t)}function $_(e,t,r){let{key:n,computed:s}=t.node,i=t.node.value||t.scope.buildUndefinedNode();return dr(k.types.expressionStatement(k.types.callExpression(r.addHelper("defineProperty"),[e,s||k.types.isLiteral(n)?n:k.types.stringLiteral(n.name),i])),t)}function Nge(e,t,r,n){let s=n.get(t.node.key.id.name),{id:i,methodId:a,getId:o,setId:l,initAdded:u}=s;return u?void 0:o||l?(n.set(t.node.key.id.name,Object.assign({},s,{initAdded:!0})),dr(k.template.statement.ast`
|
|
Object.defineProperty(${e}, ${i}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${o?o.name:t.scope.buildUndefinedNode()},
|
|
set: ${l?l.name:t.scope.buildUndefinedNode()}
|
|
})
|
|
`,t)):dr(k.template.statement.ast`
|
|
Object.defineProperty(${e}, ${i}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
value: ${a.name}
|
|
});
|
|
`,t)}function ff(e,t,r,n=!1){let s=r.get(t.node.key.id.name),{id:i,methodId:a,getId:o,setId:l,getterDeclared:u,setterDeclared:c,static:p}=s,{params:d,body:m,generator:g,async:f}=t.node,b=o&&d.length===0,T=l&&d.length>0;if(b&&u||T&&c)return r.set(t.node.key.id.name,Object.assign({},s,{initAdded:!0})),null;if(Ir(e)&&(b||T)&&!n){let I=t.get("body").scope,N=I.generateUidIdentifier("this"),L={thisRef:N,argumentsPath:[]};if(t.traverse(H_,L),L.argumentsPath.length){let W=I.generateUidIdentifier("arguments");I.push({id:W,init:k.template.expression.ast`[].slice.call(arguments, 1)`});for(let U of L.argumentsPath)U.replaceWith(k.types.cloneNode(W))}d.unshift(k.types.cloneNode(N))}let w=a;return b?(r.set(t.node.key.id.name,Object.assign({},s,{getterDeclared:!0,initAdded:!0})),w=o):T?(r.set(t.node.key.id.name,Object.assign({},s,{setterDeclared:!0,initAdded:!0})),w=l):p&&!n&&(w=i),dr(k.types.functionDeclaration(k.types.cloneNode(w),d,m,g,f),t)}var H_=W_.visitors.environmentVisitor({Identifier(e,t){t.argumentsPath&&e.node.name==="arguments"&&t.argumentsPath.push(e)},UnaryExpression(e){let{node:t}=e;if(t.operator==="delete"){let r=(0,mge.skipTransparentExprWrapperNodes)(t.argument);k.types.isThisExpression(r)&&e.replaceWith(k.types.booleanLiteral(!0))}},ThisExpression(e,t){t.needsClassRef=!0,e.replaceWith(k.types.cloneNode(t.thisRef))},MetaProperty(e){let{node:t,scope:r}=e;t.meta.name==="new"&&t.property.name==="target"&&e.replaceWith(r.buildUndefinedNode())}}),Oge={ReferencedIdentifier(e,t){e.scope.bindingIdentifierEquals(e.node.name,t.innerBinding)&&(t.needsClassRef=!0,e.node.name=t.thisRef.name)}};function Bge(e,t,r){var n;let s={thisRef:t,needsClassRef:!1,innerBinding:r};return e.isMethod()||e.traverse(H_,s),r!=null&&(n=s.thisRef)!=null&&n.name&&s.thisRef.name!==r.name&&e.traverse(Oge,s),s.needsClassRef}function kge({key:e,computed:t}){return e.type==="Identifier"?!t&&(e.name==="name"||e.name==="length"):e.type==="StringLiteral"?e.value==="name"||e.value==="length":!1}function dr(e,t){return k.types.inheritLeadingComments(e,t.node),k.types.inheritInnerComments(e,t.node),e}function V1(e,t){return e.start=t.start,e.end=t.end,e.loc=t.loc,e}function Fge(e,t,r,n,s,i,a,o,l,u){let c=0,p,d=[],m=[],g=!1,f=[],b=null,T=k.types.isIdentifier(t)?()=>t:()=>(p!=null||(p=r[0].scope.generateUidIdentifierBasedOnNode(t)),p),w=e!=null?e:r[0].scope.generateUidIdentifier((u==null?void 0:u.name)||"Class");e!=null||(e=k.types.cloneNode(u));for(let I of r){I.isClassProperty()&&yge.assertFieldTransformed(I);let N=!(k.types.isStaticBlock!=null&&k.types.isStaticBlock(I.node))&&I.node.static,L=!N,W=I.isPrivate(),U=!W,H=I.isProperty(),pe=!H,Ee=I.isStaticBlock==null?void 0:I.isStaticBlock();switch(N&&(c|=1),(N||pe&&W||Ee)&&(new fge.default({methodPath:I,constantSuper:l,file:s,refToPreserve:u,getSuperRef:T,getObjectRef(){return c|=2,N||Ee?w:k.types.memberExpression(w,k.types.identifier("prototype"))}}).replace(),Bge(I,w,u)&&(c|=2)),g=!1,!0){case Ee:{let ce=I.node.body;ce.length===1&&k.types.isExpressionStatement(ce[0])?d.push(dr(ce[0],I)):d.push(k.types.inheritsComments(k.template.statement.ast`(() => { ${ce} })()`,I.node));break}case(N&&W&&H&&a):d.push(U_(k.types.cloneNode(e),I,n));break;case(N&&W&&H&&!a):Ir(s)?d.push(Cge(I,n,o)):d.push(U1(I,n));break;case(N&&U&&H&&i):if(!kge(I.node)){d.push(V_(k.types.cloneNode(e),I));break}case(N&&U&&H&&!i):d.push($_(k.types.cloneNode(e),I,s));break;case(L&&W&&H&&a):m.push(U_(k.types.thisExpression(),I,n));break;case(L&&W&&H&&!a):m.push(Age(k.types.thisExpression(),I,n,s));break;case(L&&W&&pe&&a):m.unshift(Dge(k.types.thisExpression(),I,n)),f.push(ff(s,I,n,a));break;case(L&&W&&pe&&!a):m.unshift(wge(k.types.thisExpression(),I,n,s)),f.push(ff(s,I,n,a));break;case(N&&W&&pe&&!a):Ir(s)||d.unshift(U1(I,n)),f.push(ff(s,I,n,a));break;case(N&&W&&pe&&a):d.unshift(Nge(k.types.cloneNode(e),I,s,n)),f.push(ff(s,I,n,a));break;case(L&&U&&H&&i):m.push(V_(k.types.thisExpression(),I));break;case(L&&U&&H&&!i):g=!0,m.push($_(k.types.thisExpression(),I,s));break;default:throw new Error("Unreachable.")}}return c&2&&u!=null&&(b=k.types.expressionStatement(k.types.assignmentExpression("=",k.types.cloneNode(w),k.types.cloneNode(u)))),{staticNodes:d.filter(Boolean),instanceNodes:m.filter(Boolean),lastInstanceNodeReturnsThis:g,pureStaticNodes:f.filter(Boolean),classBindingNode:b,wrapClass(I){for(let N of r)N.node.leadingComments=null,N.remove();return p&&(I.scope.push({id:k.types.cloneNode(p)}),I.set("superClass",k.types.assignmentExpression("=",p,I.node.superClass))),c!==0&&(I.isClassExpression()?(I.scope.push({id:e}),I.replaceWith(k.types.assignmentExpression("=",k.types.cloneNode(e),I.node))):(u==null&&(I.node.id=e),b!=null&&I.scope.push({id:w}))),I}}}});var K1=x(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});Ll.extractComputedKeys=Uge;Ll.injectInitialization=qge;Ll.memoiseComputedKey=X_;var Yt=vt(),Lge=zt(),jge=Lge.visitors.environmentVisitor({Super(e){let{node:t,parentPath:r}=e;r.isCallExpression({callee:t})&&this.push(r)}}),Mge={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e,{scope:t}){t.hasOwnBinding(e.node.name)&&(t.rename(e.node.name),e.skip())}};function G_(e,t){if(t.classBinding&&t.classBinding===e.scope.getBinding(e.node.name)){let r=t.file.addHelper("classNameTDZError"),n=Yt.types.callExpression(r,[Yt.types.stringLiteral(e.node.name)]);e.replaceWith(Yt.types.sequenceExpression([n,e.node])),e.skip()}}var Rge={ReferencedIdentifier:G_,"TSTypeAnnotation|TypeAnnotation"(e){e.skip()}};function qge(e,t,r,n,s){if(!r.length)return;let i=!!e.node.superClass;if(!t){let a=Yt.types.classMethod("constructor",Yt.types.identifier("constructor"),[],Yt.types.blockStatement([]));i&&(a.params=[Yt.types.restElement(Yt.types.identifier("args"))],a.body.body.push(Yt.template.statement.ast`super(...args)`)),[t]=e.get("body").unshiftContainer("body",a)}if(n&&n(Mge,{scope:t.scope}),i){let a=[];t.traverse(jge,a);let o=!0;for(let l of a)if(o?o=!1:r=r.map(u=>Yt.types.cloneNode(u)),l.parentPath.isExpressionStatement())l.insertAfter(r);else{let u=[l.node,...r.map(c=>Yt.types.toExpression(c))];s||u.push(Yt.types.thisExpression()),l.replaceWith(Yt.types.sequenceExpression(u))}}else t.get("body").unshiftContainer("body",r)}function X_(e,t,r){if(Yt.types.isIdentifier(e)&&t.hasUid(e.name))return;if(Yt.types.isAssignmentExpression(e,{operator:"="})&&Yt.types.isIdentifier(e.left)&&t.hasUid(e.left.name))return Yt.types.cloneNode(e);{let i=Yt.types.identifier(r);return t.push({id:i,kind:"let"}),Yt.types.assignmentExpression("=",Yt.types.cloneNode(i),e)}}function Uge(e,t,r){let{scope:n}=e,s=[],i={classBinding:e.node.id&&n.getBinding(e.node.id.name),file:r};for(let a of t){let o=a.get("key");o.isReferencedIdentifier()?G_(o,i):o.traverse(Rge,i);let l=a.node;if(!o.isConstantExpression()){let u=X_(o.node,n,n.generateUidBasedOnNode(o.node));u&&(s.push(Yt.types.expressionStatement(u)),l.key=Yt.types.cloneNode(u.left))}}return s}});var Z1=x(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});Rl.default=xbe;Rl.hasDecorators=Vge;Rl.hasOwnDecorators=J1;var C=vt(),Y_=uf(),ti=Fl(),iN=W1(),hf=K1();function J1(e){var t;return!!((t=e.decorators)!=null&&t.length)}function Vge(e){return J1(e)||e.body.body.some(J1)}function aN(e,t=e.length-1){if(t===-1){e.unshift(65);return}let r=e[t];r===90?e[t]=97:r===122?(e[t]=65,aN(e,t-1)):e[t]=r+1}function $ge(e){let t=[],r=new Set;return e.traverse({PrivateName(n){r.add(n.node.id.name)}}),()=>{let n;do aN(t),n=String.fromCharCode(...t);while(r.has(n));return C.types.privateName(C.types.identifier(n))}}function Wge(e){let t;return()=>(t||(t=$ge(e)),t())}function Kge(e,t){let r=e.node.id,n=e.scope;if(e.type==="ClassDeclaration"){let s=r.name,i=n.generateUidIdentifierBasedOnNode(r),a=C.types.identifier(s);return n.rename(s,i.name),e.get("id").replaceWith(a),{id:C.types.cloneNode(i),path:e}}else{let s;r?(t=r.name,s=tn(n.parent,t),n.rename(t,s.name)):s=tn(n.parent,typeof t=="string"?t:"decorated_class");let i=C.types.classExpression(typeof t=="string"?C.types.identifier(t):null,e.node.superClass,e.node.body),[a]=e.replaceWith(C.types.sequenceExpression([i,s]));return{id:C.types.cloneNode(s),path:a.get("expressions.0")}}}function J_(e,t,r){return e.type==="PrivateName"?C.types.classPrivateProperty(e,t,void 0,r):C.types.classProperty(e,t,void 0,void 0,r)}function H1(e,t){e.node.id||(e.node.id=typeof t=="string"?C.types.identifier(t):e.scope.generateUidIdentifier("Class"))}function z_(e,t,r,n,s,i,a,o){let l=(o==="2023-11"||o==="2023-05")&&a?e:C.types.thisExpression(),u=C.types.blockStatement([C.types.returnStatement(C.types.memberExpression(C.types.cloneNode(l),C.types.cloneNode(s)))]),c=C.types.blockStatement([C.types.expressionStatement(C.types.assignmentExpression("=",C.types.memberExpression(C.types.cloneNode(l),C.types.cloneNode(s)),C.types.identifier("v")))]),p,d;r.type==="PrivateName"?(p=C.types.classPrivateMethod("get",r,[],u,a),d=C.types.classPrivateMethod("set",n,[C.types.identifier("v")],c,a)):(p=C.types.classMethod("get",r,[],u,i,a),d=C.types.classMethod("set",n,[C.types.identifier("v")],c,i,a)),t.insertAfter(d),t.insertAfter(p)}function Q_(e,t){return t!=="2023-11"&&t!=="2023-05"&&t!=="2023-01"?[C.template.expression.ast`
|
|
function () {
|
|
return this.${C.types.cloneNode(e)};
|
|
}
|
|
`,C.template.expression.ast`
|
|
function (value) {
|
|
this.${C.types.cloneNode(e)} = value;
|
|
}
|
|
`]:[C.template.expression.ast`
|
|
o => o.${C.types.cloneNode(e)}
|
|
`,C.template.expression.ast`
|
|
(o, v) => o.${C.types.cloneNode(e)} = v
|
|
`]}function Q1(e){if(e=(0,ti.skipTransparentExprWrappers)(e),e.isSequenceExpression()){let t=e.get("expressions");return Q1(t[t.length-1])}return e}function Hge(e){let t=Q1(e);if(t.isConstantExpression())return C.types.cloneNode(e.node);if(t.isIdentifier()&&e.scope.hasUid(t.node.name))return C.types.cloneNode(e.node);if(t.isAssignmentExpression()&&t.get("left").isIdentifier())return C.types.cloneNode(t.node.left);throw new Error(`Internal Error: the computed key ${e.toString()} has not yet been memoised.`)}function jl(e,t){let r=t.get("key");r.isSequenceExpression()?e.push(...r.node.expressions):e.push(r.node),r.replaceWith(ni(e))}function Gge(e,t){let r=t.get("key"),n=Q1(r);if(n.isConstantExpression())jl(e,t);else{let s=r.scope.parent,i=(0,hf.memoiseComputedKey)(n.node,s,s.generateUid("computedKey"));if(!i)jl(e,t);else{let a=[...e,C.types.cloneNode(i.left)],o=n.parentPath;o.isSequenceExpression()?o.pushContainer("expressions",a):n.replaceWith(ni([C.types.cloneNode(i),...a]))}}}function G1(e,t){let r=t.get("value");r.node?e.push(r.node):e.length>0&&(e[e.length-1]=C.types.unaryExpression("void",e[e.length-1])),r.replaceWith(ni(e))}function Xge(e,t){t.unshiftContainer("body",C.types.expressionStatement(ni(e)))}function Yge(e,t){t.node.body.body.unshift(C.types.expressionStatement(ni(e)))}function Z_(e,t){return C.types.isCallExpression(e)&&C.types.isIdentifier(e.callee,{name:t.name})}function Jge(e,t){if(t){if(e.length>=2&&Z_(e[1],t)){let r=C.types.callExpression(C.types.cloneNode(t),[e[0]]);e.splice(0,2,r)}e.length>=2&&C.types.isThisExpression(e[e.length-1])&&Z_(e[e.length-2],t)&&e.splice(e.length-1,1)}return ni(e)}function zge(e,t,r){t.traverse({CallExpression:{exit(n){if(!n.get("callee").isSuper())return;let s=[n.node,...e.map(i=>C.types.cloneNode(i))];n.isCompletionRecord()&&s.push(C.types.thisExpression()),n.replaceWith(Jge(s,r)),n.skip()}},ClassMethod(n){n.node.kind==="constructor"&&n.skip()}})}function eN(e,t){let r=[C.types.expressionStatement(ni(e))];return t&&r.unshift(C.types.expressionStatement(C.types.callExpression(C.types.super(),[C.types.spreadElement(C.types.identifier("args"))]))),C.types.classMethod("constructor",C.types.identifier("constructor"),t?[C.types.restElement(C.types.identifier("args"))]:[],C.types.blockStatement(r))}function tN(e){return C.types.staticBlock([C.types.expressionStatement(ni(e))])}var Yi=0,ri=1,Qge=2,oN=3,mf=4,Zge=5,ebe=8,tbe=16;function rbe(e){switch(e.node.type){case"ClassProperty":case"ClassPrivateProperty":return Yi;case"ClassAccessorProperty":return ri;case"ClassMethod":case"ClassPrivateMethod":return e.node.kind==="get"?oN:e.node.kind==="set"?mf:Qge}}function nbe(e){return[...e.filter(t=>t.isStatic&&t.kind>=ri&&t.kind<=mf),...e.filter(t=>!t.isStatic&&t.kind>=ri&&t.kind<=mf),...e.filter(t=>t.isStatic&&t.kind===Yi),...e.filter(t=>!t.isStatic&&t.kind===Yi)]}function rN(e,t,r){let n=e.length,s=t.some(Boolean),i=[];for(let a=0;a<n;a++)(r==="2023-11"||r==="2023-05")&&s&&i.push(t[a]||C.types.unaryExpression("void",C.types.numericLiteral(0))),i.push(e[a].expression);return{haveThis:s,decs:i}}function sbe(e,t){return C.types.arrayExpression(e.map(r=>{let n=r.kind;return r.isStatic&&(n+=t==="2023-11"||t==="2023-05"?ebe:Zge),r.decoratorsHaveThis&&(n+=tbe),C.types.arrayExpression([r.decoratorsArray,C.types.numericLiteral(n),r.name,...r.privateMethods||[]])}))}function ibe(e){let t=[];for(let r of e){let{locals:n}=r;Array.isArray(n)?t.push(...n):n!==void 0&&t.push(n)}return t}function abe(e,t,r,n,s,i){t.insertAfter(C.types.classPrivateMethod("get",C.types.cloneNode(r),[],C.types.blockStatement([C.types.returnStatement(C.types.callExpression(C.types.cloneNode(n),e==="2023-11"&&i?[]:[C.types.thisExpression()]))]),i)),t.insertAfter(C.types.classPrivateMethod("set",C.types.cloneNode(r),[C.types.identifier("v")],C.types.blockStatement([C.types.expressionStatement(C.types.callExpression(C.types.cloneNode(s),e==="2023-11"&&i?[C.types.identifier("v")]:[C.types.thisExpression(),C.types.identifier("v")]))]),i))}function obe(e,t,r,n){let s,i;e.node.kind==="set"?(s=[C.types.identifier("v")],i=[C.types.expressionStatement(C.types.callExpression(r,[C.types.thisExpression(),C.types.identifier("v")]))]):(s=[],i=[C.types.returnStatement(C.types.callExpression(r,[C.types.thisExpression()]))]),e.replaceWith(C.types.classPrivateMethod(e.node.kind,C.types.cloneNode(t),s,C.types.blockStatement(i),n))}function nN(e){let{type:t}=e;return t!=="TSDeclareMethod"&&t!=="TSIndexSignature"&&t!=="StaticBlock"}function lbe(e){return C.types.callExpression(C.types.arrowFunctionExpression([],C.types.blockStatement(e.body)),[])}function ube(e){return C.types.functionExpression(null,[],C.types.blockStatement(e.body))}function cbe(e){return C.types.functionExpression(null,[],C.types.blockStatement([C.types.returnStatement(e)]))}function ni(e){return e.length===0?C.types.unaryExpression("void",C.types.numericLiteral(0)):e.length===1?e[0]:C.types.sequenceExpression(e)}function sN(e){let{params:t,body:r,generator:n,async:s}=e;return C.types.functionExpression(void 0,t,r,n,s)}function lN(e,t){return C.types.callExpression(e.addHelper("setFunctionName"),[C.types.thisExpression(),t])}function z1(e,t){return C.types.callExpression(e.addHelper("toPropertyKey"),[t])}function X1(e){return C.types.arrowFunctionExpression([C.types.identifier("_")],C.types.binaryExpression("in",C.types.cloneNode(e),C.types.identifier("_")))}function pbe(e){try{return C.types.traverseFast(e,t=>{if(C.types.isPrivateName(t))throw null}),!1}catch{return!0}}function fbe(e){let{node:t}=e;t.computed=!0,C.types.isIdentifier(t.key)&&(t.key=C.types.stringLiteral(t.key.name))}function Y1(e,t){let r=!1;if(t.length>0){let n=(0,iN.privateNameVisitorFactory)({PrivateName(i,a){a.privateNamesMap.has(i.node.id.name)&&(r=!0,i.stop())}}),s=new Map;for(let i of t)s.set(i,null);e.traverse(n,{privateNamesMap:s})}return r}function dbe(e,t){let r=(0,iN.privateNameVisitorFactory)({PrivateName(s,i){if(!i.privateNamesMap.has(s.node.id.name))return;let a=s.parentPath,o=a.parentPath;if(o.node.type==="AssignmentExpression"&&o.node.left===a.node||o.node.type==="UpdateExpression"||o.node.type==="RestElement"||o.node.type==="ArrayPattern"||o.node.type==="ObjectProperty"&&o.node.value===a.node&&o.parentPath.type==="ObjectPattern"||o.node.type==="ForOfStatement"&&o.node.left===a.node)throw s.buildCodeFrameError(`Decorated private methods are read-only, but "#${s.node.id.name}" is updated via this expression.`)}}),n=new Map;for(let s of t)n.set(s,null);e.traverse(r,{privateNamesMap:n})}function hbe(e,t,r,n,s,i,a){var o;let l=e.get("body.body"),u=e.node.decorators,c=!1,p=!1,d=!1,m=Wge(e),g=[],f=e.scope.parent,b=(R,F,Q)=>{let ie=tn(f,F);return Q.push(C.types.assignmentExpression("=",ie,R)),C.types.cloneNode(ie)},T,w,I=(o=e.node.id)==null?void 0:o.name,N=typeof s=="object"?s:void 0,L=R=>{try{return C.types.traverseFast(R,F=>{if(C.types.isThisExpression(F)||C.types.isSuper(F)||C.types.isYieldExpression(F)||C.types.isAwaitExpression(F)||C.types.isIdentifier(F,{name:"arguments"})||I&&C.types.isIdentifier(F,{name:I})||C.types.isMetaProperty(F)&&F.meta.name!=="import")throw null}),!1}catch{return!0}},W=[];for(let R of l){if(!nN(R))continue;let F=R.node;if(!F.static&&C.types.isPrivateName(F.key)&&W.push(F.key.id.name),Ml(F)){switch(F.type){case"ClassProperty":i.ClassProperty(R,t);break;case"ClassPrivateProperty":i.ClassPrivateProperty(R,t);break;case"ClassAccessorProperty":if(i.ClassAccessorProperty(R,t),a==="2023-11")break;default:F.static?w!=null||(w=tn(f,"initStatic")):T!=null||(T=tn(f,"initProto"));break}c=!0,d||(d=F.decorators.some(L))}else if(F.type==="ClassAccessorProperty"){i.ClassAccessorProperty(R,t);let{key:Q,value:ie,static:ve,computed:Se}=F,Le=m(),At=J_(Le,ie,ve),ft=R.get("key"),[qt]=R.replaceWith(At),Zt,Lt;Se&&!ft.isConstantExpression()?(Zt=(0,hf.memoiseComputedKey)(z1(t,Q),f,f.generateUid("computedKey")),Lt=C.types.cloneNode(Zt.left)):(Zt=C.types.cloneNode(Q),Lt=C.types.cloneNode(Q)),H1(e,s),z_(e.node.id,qt,Zt,Lt,Le,Se,ve,a)}"computed"in R.node&&R.node.computed&&(p||(p=!f.isStatic(R.node.key)))}if(!u&&!c){!e.node.id&&typeof s=="string"&&(e.node.id=C.types.identifier(s)),N&&e.node.body.body.unshift(tN([lN(t,N)]));return}let U=[],H,pe=new Set,Ee,ce,qe=null;function ze(R){let F=!1,Q=!1,ie=[];for(let ve of R){let{expression:Se}=ve,Le;(a==="2023-11"||a==="2023-05")&&C.types.isMemberExpression(Se)&&(C.types.isSuper(Se.object)?Le=C.types.thisExpression():f.isStatic(Se.object)?Le=C.types.cloneNode(Se.object):(qe!=null||(qe=tn(f,"obj")),Le=C.types.assignmentExpression("=",C.types.cloneNode(qe),Se.object),Se.object=C.types.cloneNode(qe))),ie.push(Le),F||(F=!f.isStatic(Se)),Q||(Q=L(ve))}return{hasSideEffects:F,usesFnContext:Q,decoratorsThis:ie}}let Ot=p||d||a!=="2023-11",J=!1,se=0,V=[],G,j=[];if(u){Ee=tn(f,"initClass"),J=e.isClassDeclaration(),{id:ce,path:e}=Kge(e,s),e.node.decorators=null;let R=u.some(pbe),{hasSideEffects:F,usesFnContext:Q,decoratorsThis:ie}=ze(u),{haveThis:ve,decs:Se}=rN(u,ie,a);if(se=ve?1:0,V=Se,(Q||F&&Ot||R)&&(G=b(C.types.arrayExpression(V),"classDecs",g)),!c)for(let Le of e.get("body.body")){let{node:At}=Le;if("computed"in At&&At.computed)if(Le.isClassProperty({static:!0})){if(!Le.get("key").isConstantExpression()){let qt=At.key,Zt=(0,hf.memoiseComputedKey)(qt,f,f.generateUid("computedKey"));Zt!=null&&(At.key=C.types.cloneNode(Zt.left),j.push(Zt))}}else j.length>0&&(jl(j,Le),j=[])}}else H1(e,s),ce=C.types.cloneNode(e.node.id);let re,de=!1,ye=[],Te=[];if(c){if(T){let R=C.types.callExpression(C.types.cloneNode(T),[C.types.thisExpression()]);ye.push(R)}for(let R of l){if(!nN(R)){Te.length>0&&R.isStaticBlock()&&(Xge(Te,R),Te=[]);continue}let{node:F}=R,Q=F.decorators,ie=!!(Q!=null&&Q.length),ve="computed"in F&&F.computed,Se="computedKey";F.key.type==="PrivateName"?Se=F.key.id.name:!ve&&F.key.type==="Identifier"&&(Se=F.key.name);let Le,At;if(ie){let{hasSideEffects:er,usesFnContext:$t,decoratorsThis:Jt}=ze(Q),{decs:sr,haveThis:Sr}=rN(Q,Jt,a);At=Sr,Le=sr.length===1?sr[0]:C.types.arrayExpression(sr),($t||er&&Ot)&&(Le=b(Le,Se+"Decs",j))}if(ve&&!R.get("key").isConstantExpression()){let er=F.key,$t=(0,hf.memoiseComputedKey)(ie?z1(t,er):er,f,f.generateUid("computedKey"));$t!=null&&(u&&R.isClassProperty({static:!0})?(F.key=C.types.cloneNode($t.left),j.push($t)):F.key=$t)}let{key:ft,static:qt}=F,Zt=ft.type==="PrivateName",Lt=rbe(R);Zt&&!qt&&(ie&&(de=!0),(C.types.isClassPrivateProperty(F)||!re)&&(re=ft)),R.isClassMethod({kind:"constructor"})&&(H=R);let Ur;if(ie){let er,$t;if(ve?$t=Hge(R.get("key")):ft.type==="PrivateName"?$t=C.types.stringLiteral(ft.id.name):ft.type==="Identifier"?$t=C.types.stringLiteral(ft.name):$t=C.types.cloneNode(ft),Lt===ri){let{value:Jt}=R.node,sr=a==="2023-11"&&qt?[]:[C.types.thisExpression()];Jt&&sr.push(C.types.cloneNode(Jt));let Sr=m(),_s=tn(f,`init_${Se}`),sd=C.types.callExpression(C.types.cloneNode(_s),sr),Zl=J_(Sr,sd,qt),[q]=R.replaceWith(Zl);if(Zt){er=Q_(Sr,a);let z=tn(f,`get_${Se}`),te=tn(f,`set_${Se}`);abe(a,q,ft,z,te,qt),Ur=[_s,z,te]}else H1(e,s),z_(e.node.id,q,C.types.cloneNode(ft),C.types.isAssignmentExpression(ft)?C.types.cloneNode(ft.left):C.types.cloneNode(ft),Sr,ve,qt,a),Ur=[_s]}else if(Lt===Yi){let Jt=tn(f,`init_${Se}`),sr=R.get("value"),Sr=a==="2023-11"&&qt?[]:[C.types.thisExpression()];sr.node&&Sr.push(sr.node),sr.replaceWith(C.types.callExpression(C.types.cloneNode(Jt),Sr)),Ur=[Jt],Zt&&(er=Q_(ft,a))}else if(Zt){let Jt=tn(f,`call_${Se}`);if(Ur=[Jt],new Y_.default({constantSuper:r,methodPath:R,objectRef:ce,superRef:e.node.superClass,file:t.file,refToPreserve:ce}).replace(),er=[sN(R.node)],Lt===oN||Lt===mf)obe(R,C.types.cloneNode(ft),C.types.cloneNode(Jt),qt);else{let Sr=R.node;e.node.body.body.unshift(C.types.classPrivateProperty(ft,C.types.cloneNode(Jt),[],Sr.static)),pe.add(ft.id.name),R.remove()}}U.push({kind:Lt,decoratorsArray:Le,decoratorsHaveThis:At,name:$t,isStatic:qt,privateMethods:er,locals:Ur}),R.node&&(R.node.decorators=null)}if(ve&&j.length>0&&(u&&R.isClassProperty({static:!0})||(jl(j,Lt===ri?R.getNextSibling():R),j=[])),ye.length>0&&!qt&&(Lt===Yi||Lt===ri)&&(G1(ye,R),ye=[]),Te.length>0&&qt&&(Lt===Yi||Lt===ri)&&(G1(Te,R),Te=[]),ie&&a==="2023-11"&&(Lt===Yi||Lt===ri)){let er=tn(f,`init_extra_${Se}`);Ur.push(er);let $t=C.types.callExpression(C.types.cloneNode(er),qt?[]:[C.types.thisExpression()]);qt?Te.push($t):ye.push($t)}}}if(j.length>0){let R=e.get("body.body"),F;for(let Q=R.length-1;Q>=0;Q--){let ie=R[Q],ve=ie.node;if(ve.computed){if(u&&C.types.isClassProperty(ve,{static:!0}))continue;F=ie;break}}F!=null&&(Gge(j,F),j=[])}if(ye.length>0){let R=!!e.node.superClass;H?R?zge(ye,H,T):Yge(ye,H):e.node.body.body.unshift(eN(ye,R)),ye=[]}Te.length>0&&(e.node.body.body.push(tN(Te)),Te=[]);let he=nbe(U),De=sbe(a==="2023-11"?U:he,a),we=ibe(he);T&&we.push(T),w&&we.push(w);let Ve=[],pt=!1,ut=Ee&&C.types.callExpression(C.types.cloneNode(Ee),[]),Ke=e,gt=e.node,Dt=[];if(u){Ve.push(ce,Ee);let R=[];if(e.get("body.body").forEach(F=>{if(F.isStaticBlock()){if(Y1(F,W)){let Q=b(ube(F.node),"staticBlock",Dt);Te.push(C.types.callExpression(C.types.memberExpression(Q,C.types.identifier("call")),[C.types.thisExpression()]))}else Te.push(lbe(F.node));F.remove();return}if((F.isClassProperty()||F.isClassPrivateProperty())&&F.node.static){let Q=F.get("value");if(Y1(Q,W)){let ie=b(cbe(Q.node),"fieldValue",Dt);Q.replaceWith(C.types.callExpression(C.types.memberExpression(ie,C.types.identifier("call")),[C.types.thisExpression()]))}Te.length>0&&(G1(Te,F),Te=[]),F.node.static=!1,R.push(F.node),F.remove()}else if(F.isClassPrivateMethod({static:!0})){if(Y1(F,W)){new Y_.default({constantSuper:r,methodPath:F,objectRef:ce,superRef:e.node.superClass,file:t.file,refToPreserve:ce}).replace();let ie=b(sN(F.node),F.get("key.id").node.name,Dt);n?(F.node.params=[C.types.restElement(C.types.identifier("arg"))],F.node.body=C.types.blockStatement([C.types.returnStatement(C.types.callExpression(C.types.memberExpression(ie,C.types.identifier("apply")),[C.types.thisExpression(),C.types.identifier("arg")]))])):(F.node.params=F.node.params.map((ve,Se)=>C.types.isRestElement(ve)?C.types.restElement(C.types.identifier("arg")):C.types.identifier("_"+Se)),F.node.body=C.types.blockStatement([C.types.returnStatement(C.types.callExpression(C.types.memberExpression(ie,C.types.identifier("apply")),[C.types.thisExpression(),C.types.identifier("arguments")]))]))}F.node.static=!1,R.push(F.node),F.remove()}}),R.length>0||Te.length>0){let F=C.template.expression.ast`
|
|
class extends ${t.addHelper("identity")} {}
|
|
`;F.body.body=[C.types.classProperty(C.types.toExpression(gt),void 0,void 0,void 0,!0,!0),...R];let Q=[],ie=C.types.newExpression(F,[]);Te.length>0&&Q.push(...Te),ut&&(pt=!0,Q.push(ut)),Q.length>0?(Q.unshift(C.types.callExpression(C.types.super(),[C.types.cloneNode(ce)])),F.body.body.push(eN(Q,!1))):ie.arguments.push(C.types.cloneNode(ce));let[ve]=e.replaceWith(ie);Ke=ve.get("callee").get("body").get("body.0.key")}}!pt&&ut&&e.node.body.body.push(C.types.staticBlock([C.types.expressionStatement(ut)]));let{superClass:_r}=gt;if(_r&&(a==="2023-11"||a==="2023-05")){let R=e.scope.maybeGenerateMemoised(_r);R&&(gt.superClass=C.types.assignmentExpression("=",R,_r),_r=R)}let xr=C.types.staticBlock([]);gt.body.body.unshift(xr);let nr=xr.body;if(j.length>0){let R=Ke.get("body.body"),F;for(let Q of R)if((Q.isClassProperty()||Q.isClassMethod())&&Q.node.kind!=="constructor"){F=Q;break}F!=null?(fbe(F),jl(j,F)):(gt.body.body.unshift(C.types.classProperty(C.types.sequenceExpression([...j,C.types.stringLiteral("_")]),void 0,void 0,void 0,!0,!0)),nr.push(C.types.expressionStatement(C.types.unaryExpression("delete",C.types.memberExpression(C.types.thisExpression(),C.types.identifier("_")))))),j=[]}if(nr.push(C.types.expressionStatement(mbe(we,Ve,De,G!=null?G:C.types.arrayExpression(V),C.types.numericLiteral(se),de?re:null,N,C.types.cloneNode(_r),t,a))),w&&nr.push(C.types.expressionStatement(C.types.callExpression(C.types.cloneNode(w),[C.types.thisExpression()]))),Dt.length>0&&nr.push(...Dt.map(R=>C.types.expressionStatement(R))),e.insertBefore(g.map(R=>C.types.expressionStatement(R))),J)if(!f.getBinding(ce.name).constantViolations.length)e.insertBefore(C.types.variableDeclaration("let",[C.types.variableDeclarator(C.types.cloneNode(ce))]));else{let F=f.generateUidIdentifier("t"+ce.name),Q=ce;e.replaceWithMultiple([C.types.variableDeclaration("let",[C.types.variableDeclarator(C.types.cloneNode(Q)),C.types.variableDeclarator(F)]),C.types.blockStatement([C.types.variableDeclaration("let",[C.types.variableDeclarator(C.types.cloneNode(ce))]),e.node,C.types.expressionStatement(C.types.assignmentExpression("=",C.types.cloneNode(F),C.types.cloneNode(ce)))]),C.types.expressionStatement(C.types.assignmentExpression("=",C.types.cloneNode(Q),C.types.cloneNode(F)))])}return pe.size>0&&dbe(e,pe),e.scope.crawl(),e}function mbe(e,t,r,n,s,i,a,o,l,u){let c,p,d=[a?lN(l,a):C.types.thisExpression(),n,r];{if(u!=="2023-11"&&d.splice(1,2,r,n),u==="2021-12"||u==="2022-03"&&!l.availableHelper("applyDecs2203R"))return c=C.types.arrayPattern([...e,...t]),p=C.types.callExpression(l.addHelper(u==="2021-12"?"applyDecs":"applyDecs2203"),d),C.types.assignmentExpression("=",c,p);u==="2022-03"?p=C.types.callExpression(l.addHelper("applyDecs2203R"),d):u==="2023-01"?(i&&d.push(X1(i)),p=C.types.callExpression(l.addHelper("applyDecs2301"),d)):u==="2023-05"&&((i||o||s.value!==0)&&d.push(s),i?d.push(X1(i)):o&&d.push(C.types.unaryExpression("void",C.types.numericLiteral(0))),o&&d.push(o),p=C.types.callExpression(l.addHelper("applyDecs2305"),d))}return u==="2023-11"&&((i||o||s.value!==0)&&d.push(s),i?d.push(X1(i)):o&&d.push(C.types.unaryExpression("void",C.types.numericLiteral(0))),o&&d.push(o),p=C.types.callExpression(l.addHelper("applyDecs2311"),d)),e.length>0?t.length>0?c=C.types.objectPattern([C.types.objectProperty(C.types.identifier("e"),C.types.arrayPattern(e)),C.types.objectProperty(C.types.identifier("c"),C.types.arrayPattern(t))]):(c=C.types.arrayPattern(e),p=C.types.memberExpression(p,C.types.identifier("e"),!1,!1)):(c=C.types.arrayPattern(t),p=C.types.memberExpression(p,C.types.identifier("c"),!1,!1)),C.types.assignmentExpression("=",c,p)}function ybe(e){return e.type==="Identifier"?e.name==="__proto__":e.value==="__proto__"}function Ml(e){return e.decorators&&e.decorators.length>0}function gbe(e){switch(e.type){case"ClassAccessorProperty":return!0;case"ClassMethod":case"ClassProperty":case"ClassPrivateMethod":case"ClassPrivateProperty":return Ml(e);default:return!1}}function bbe(e){return Ml(e)||e.body.body.some(gbe)}function Ebe(e,t){function r(n,s,i){switch(s.type){case"StringLiteral":return C.types.stringLiteral(s.value);case"NumericLiteral":case"BigIntLiteral":{let a=s.value+"";return n.get("key").replaceWith(C.types.stringLiteral(a)),C.types.stringLiteral(a)}default:{let a=n.scope.maybeGenerateMemoised(s);return n.get("key").replaceWith(C.types.assignmentExpression("=",a,z1(i,s))),C.types.cloneNode(a)}}}return{VariableDeclarator(n,s){let i=n.node.id;if(i.type==="Identifier"){let a=(0,ti.skipTransparentExprWrappers)(n.get("init"));if(e(a)){let o=i.name;t(a,s,o)}}},AssignmentExpression(n,s){let i=n.node.left;if(i.type==="Identifier"){let a=(0,ti.skipTransparentExprWrappers)(n.get("right"));if(e(a))switch(n.node.operator){case"=":case"&&=":case"||=":case"??=":t(a,s,i.name)}}},AssignmentPattern(n,s){let i=n.node.left;if(i.type==="Identifier"){let a=(0,ti.skipTransparentExprWrappers)(n.get("right"));if(e(a)){let o=i.name;t(a,s,o)}}},ObjectExpression(n,s){for(let i of n.get("properties")){if(!i.isObjectProperty())continue;let{node:a}=i,o=a.key,l=(0,ti.skipTransparentExprWrappers)(i.get("value"));if(e(l)){if(a.computed){let u=r(i,o,s);t(l,s,u)}else if(!ybe(o))if(o.type==="Identifier")t(l,s,o.name);else{let u=C.types.stringLiteral(o.value+"");t(l,s,u)}}}},ClassPrivateProperty(n,s){let{node:i}=n,a=(0,ti.skipTransparentExprWrappers)(n.get("value"));if(e(a)){let o=C.types.stringLiteral("#"+i.key.id.name);t(a,s,o)}},ClassAccessorProperty(n,s){let{node:i}=n,a=i.key,o=(0,ti.skipTransparentExprWrappers)(n.get("value"));if(e(o))if(i.computed){let l=r(n,a,s);t(o,s,l)}else if(a.type==="Identifier")t(o,s,a.name);else if(a.type==="PrivateName"){let l=C.types.stringLiteral("#"+a.id.name);t(o,s,l)}else{let l=C.types.stringLiteral(a.value+"");t(o,s,l)}},ClassProperty(n,s){let{node:i}=n,a=i.key,o=(0,ti.skipTransparentExprWrappers)(n.get("value"));if(e(o))if(i.computed){let l=r(n,a,s);t(o,s,l)}else if(a.type==="Identifier")t(o,s,a.name);else{let l=C.types.stringLiteral(a.value+"");t(o,s,l)}}}}function Tbe(e){return e.isClassExpression({id:null})&&bbe(e.node)}function tn(e,t){let r=e.generateUidIdentifier(t);return e.push({id:r,kind:"let"}),C.types.cloneNode(r)}function xbe({assertVersion:e,assumption:t},{loose:r},n,s){var i,a;e(n==="2023-11"||n==="2023-05"||n==="2023-01"?"^7.21.0":n==="2021-12"?"^7.16.0":"^7.19.0");let o=new WeakSet,l=(i=t("constantSuper"))!=null?i:r,u=(a=t("ignoreFunctionLength"))!=null?a:r,c=Ebe(Tbe,p);function p(d,m,g){var f;if(o.has(d))return;let{node:b}=d;g!=null||(g=(f=b.id)==null?void 0:f.name);let T=hbe(d,m,l,u,g,c,n);if(T){o.add(T);return}o.add(d)}return{name:"proposal-decorators",inherits:s,visitor:Object.assign({ExportDefaultDeclaration(d,m){let{declaration:g}=d.node;if((g==null?void 0:g.type)==="ClassDeclaration"&&Ml(g)){let b=!g.id;{var f;(f=d.splitExportDeclaration)!=null||(d.splitExportDeclaration=zt().NodePath.prototype.splitExportDeclaration)}let T=d.splitExportDeclaration();b&&p(T,m,C.types.stringLiteral("default"))}},ExportNamedDeclaration(d){let{declaration:m}=d.node;if((m==null?void 0:m.type)==="ClassDeclaration"&&Ml(m)){{var g;(g=d.splitExportDeclaration)!=null||(d.splitExportDeclaration=zt().NodePath.prototype.splitExportDeclaration)}d.splitExportDeclaration()}},Class(d,m){p(d,m,void 0)}},c)}}});var cN=x(eE=>{"use strict";Object.defineProperty(eE,"__esModule",{value:!0});eE.buildDecoratedClass=Dbe;var Ct=vt(),Sbe=uf();function ro(e,t){return t?Ct.types.objectProperty(Ct.types.identifier(e),t):null}function vbe(e,t){return Ct.types.objectMethod("method",Ct.types.identifier(e),[],Ct.types.blockStatement(t))}function uN(e){let t;return e.decorators&&e.decorators.length>0&&(t=Ct.types.arrayExpression(e.decorators.map(r=>r.expression))),e.decorators=void 0,t}function Pbe(e){return e.computed?e.key:Ct.types.isIdentifier(e.key)?Ct.types.stringLiteral(e.key.name):Ct.types.stringLiteral(String(e.key.value))}function Abe(e,t,r,n){let s=n.isClassMethod();if(n.isPrivate())throw n.buildCodeFrameError(`Private ${s?"methods":"fields"} in decorated classes are not supported yet.`);if(n.node.type==="ClassAccessorProperty")throw n.buildCodeFrameError('Accessor properties are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');if(n.node.type==="StaticBlock")throw n.buildCodeFrameError('Static blocks are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');let{node:i,scope:a}=n;n.isTSDeclareMethod()||new Sbe.default({methodPath:n,objectRef:t,superRef:r,file:e,refToPreserve:t}).replace();let o=[ro("kind",Ct.types.stringLiteral(Ct.types.isClassMethod(i)?i.kind:"field")),ro("decorators",uN(i)),ro("static",i.static&&Ct.types.booleanLiteral(!0)),ro("key",Pbe(i))].filter(Boolean);if(s){{var l;(l=n.ensureFunctionName)!=null||(n.ensureFunctionName=zt().NodePath.prototype.ensureFunctionName)}n.ensureFunctionName(!1),o.push(ro("value",Ct.types.toExpression(n.node)))}else Ct.types.isClassProperty(i)&&i.value?o.push(vbe("value",Ct.template.statements.ast`return ${i.value}`)):o.push(ro("value",a.buildUndefinedNode()));return n.remove(),Ct.types.objectExpression(o)}function Cbe(e){return e.addHelper("decorate")}function Dbe(e,t,r,n){let{node:s,scope:i}=t,a=i.generateUidIdentifier("initialize"),o=s.id&&t.isDeclaration(),l=t.isInStrictMode(),{superClass:u}=s;s.type="ClassDeclaration",s.id||(s.id=Ct.types.cloneNode(e));let c;u&&(c=i.generateUidIdentifierBasedOnNode(s.superClass,"super"),s.superClass=c);let p=uN(s),d=Ct.types.arrayExpression(r.filter(b=>!b.node.abstract&&b.node.type!=="TSIndexSignature").map(b=>Abe(n,s.id,c,b))),m=Ct.template.expression.ast`
|
|
${Cbe(n)}(
|
|
${p||Ct.types.nullLiteral()},
|
|
function (${a}, ${u?Ct.types.cloneNode(c):null}) {
|
|
${s}
|
|
return { F: ${Ct.types.cloneNode(s.id)}, d: ${d} };
|
|
},
|
|
${u}
|
|
)
|
|
`;l||m.arguments[1].body.directives.push(Ct.types.directive(Ct.types.directiveLiteral("use strict")));let g=m,f="arguments.1.body.body.0";return o&&(g=Ct.template.statement.ast`let ${e} = ${m}`,f="declarations.0.init."+f),{instanceNodes:[Ct.template.statement.ast`
|
|
${Ct.types.cloneNode(a)}(this)
|
|
`],wrapClass(b){return b.replaceWith(g),b.get(f)}}}});var hN=x(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});Ji.FEATURES=void 0;Ji.enableFeature=wbe;Ji.isLoose=nE;Ji.shouldTransform=Ibe;var pN=Z1(),Ss=Ji.FEATURES=Object.freeze({fields:2,privateMethods:4,decorators:8,privateIn:16,staticBlocks:32}),fN=new Map([[Ss.fields,"@babel/plugin-transform-class-properties"],[Ss.privateMethods,"@babel/plugin-transform-private-methods"],[Ss.privateIn,"@babel/plugin-transform-private-property-in-object"]]),tE="@babel/plugin-class-features/featuresKey",ql="@babel/plugin-class-features/looseKey";si="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing";var si;rE=function(e,t){return!!(e.get(si)&t)};var rE;function wbe(e,t,r){(!vs(e,t)||rE(e,t))&&(e.set(tE,e.get(tE)|t),r==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"?(yf(e,t,!0),e.set(si,e.get(si)|t)):r==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"?(yf(e,t,!1),e.set(si,e.get(si)|t)):yf(e,t,r));let n;for(let[i,a]of fN){if(!vs(e,i)||rE(e,i))continue;let o=nE(e,i);if(n===!o)throw new Error(`'loose' mode configuration must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled).
|
|
|
|
`+dN(e));n=o;var s=a}if(n!==void 0)for(let[i,a]of fN)vs(e,i)&&nE(e,i)!==n&&(yf(e,i,n),console.warn(`Though the "loose" option was set to "${!n}" in your @babel/preset-env config, it will not be used for ${a} since the "loose" mode option was set to "${n}" for ${s}.
|
|
The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
|
|
["${a}", { "loose": ${n} }]
|
|
to the "plugins" section of your Babel config.
|
|
|
|
`+dN(e)))}function dN(e){let{filename:t}=e.opts;return(!t||t==="unknown")&&(t="[name of the input file]"),`If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options.
|
|
You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:
|
|
npx cross-env BABEL_SHOW_CONFIG_FOR=${t} <your build command>
|
|
See https://babeljs.io/docs/configuration#print-effective-configs for more info.`}function vs(e,t){return!!(e.get(tE)&t)}function nE(e,t){return!!(e.get(ql)&t)}function yf(e,t,r){r?e.set(ql,e.get(ql)|t):e.set(ql,e.get(ql)&~t),e.set(si,e.get(si)&~t)}function Ibe(e,t){let r=null,n=null,s=null,i=null,a=null;(0,pN.hasOwnDecorators)(e.node)&&(r=e.get("decorators.0"));for(let o of e.get("body.body"))!r&&(0,pN.hasOwnDecorators)(o.node)&&(r=o.get("decorators.0")),!n&&o.isClassProperty()&&(n=o),!s&&o.isClassPrivateProperty()&&(s=o),!i&&o.isClassPrivateMethod!=null&&o.isClassPrivateMethod()&&(i=o),!a&&o.isStaticBlock!=null&&o.isStaticBlock()&&(a=o);if(r&&s)throw s.buildCodeFrameError("Private fields in decorated classes are not supported yet.");if(r&&i)throw i.buildCodeFrameError("Private methods in decorated classes are not supported yet.");if(r&&!vs(t,Ss.decorators))throw e.buildCodeFrameError(`Decorators are not enabled.
|
|
If you are using ["@babel/plugin-proposal-decorators", { "version": "legacy" }], make sure it comes *before* "@babel/plugin-transform-class-properties" and enable loose mode, like so:
|
|
["@babel/plugin-proposal-decorators", { "version": "legacy" }]
|
|
["@babel/plugin-transform-class-properties", { "loose": true }]`);if(i&&!vs(t,Ss.privateMethods))throw i.buildCodeFrameError("Class private methods are not enabled. Please add `@babel/plugin-transform-private-methods` to your configuration.");if((n||s)&&!vs(t,Ss.fields)&&!vs(t,Ss.privateMethods))throw e.buildCodeFrameError("Class fields are not enabled. Please add `@babel/plugin-transform-class-properties` to your configuration.");if(a&&!vs(t,Ss.staticBlocks))throw e.buildCodeFrameError("Static class blocks are not enabled. Please add `@babel/plugin-transform-class-static-block` to your configuration.");return!!(r||i||a||(n||s)&&vs(t,Ss.fields))}});var so=x(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Object.defineProperty(Qi,"FEATURES",{enumerable:!0,get:function(){return no.FEATURES}});Object.defineProperty(Qi,"buildCheckInRHS",{enumerable:!0,get:function(){return Ul.buildCheckInRHS}});Qi.createClassFeaturePlugin=Bbe;Object.defineProperty(Qi,"enableFeature",{enumerable:!0,get:function(){return no.enableFeature}});Object.defineProperty(Qi,"injectInitialization",{enumerable:!0,get:function(){return aE.injectInitialization}});var sE=vt(),_be=ps(),Ul=W1(),iE=Z1(),Nbe=cN(),aE=K1(),no=hN(),Obe=R1(),zi="@babel/plugin-class-features/version";function Bbe({name:e,feature:t,loose:r,manipulateOptions:n,api:s,inherits:i,decoratorVersion:a}){var o;if(t&no.FEATURES.decorators&&(a==="2023-11"||a==="2023-05"||a==="2023-01"||a==="2022-03"||a==="2021-12"))return(0,iE.default)(s,{loose:r},a,i);s!=null||(s={assumption:()=>{}});let l=s.assumption("setPublicClassFields"),u=s.assumption("privateFieldsAsSymbols"),c=s.assumption("privateFieldsAsProperties"),p=(o=s.assumption("noUninitializedPrivateFieldAccess"))!=null?o:!1,d=s.assumption("constantSuper"),m=s.assumption("noDocumentAll");if(c&&u)throw new Error('Cannot enable both the "privateFieldsAsProperties" and "privateFieldsAsSymbols" assumptions as the same time.');let g=c||u;if(r===!0){let f=[];l!==void 0&&f.push('"setPublicClassFields"'),c!==void 0&&f.push('"privateFieldsAsProperties"'),u!==void 0&&f.push('"privateFieldsAsSymbols"'),f.length!==0&&console.warn(`[${e}]: You are using the "loose: true" option and you are explicitly setting a value for the ${f.join(" and ")} assumption${f.length>1?"s":""}. The "loose" option can cause incompatibilities with the other class features plugins, so it's recommended that you replace it with the following top-level option:
|
|
"assumptions": {
|
|
"setPublicClassFields": true,
|
|
"privateFieldsAsSymbols": true
|
|
}`)}return{name:e,manipulateOptions:n,inherits:i,pre(f){if((0,no.enableFeature)(f,t,r),typeof f.get(zi)=="number"){f.set(zi,"7.27.1");return}(!f.get(zi)||_be.lt(f.get(zi),"7.27.1"))&&f.set(zi,"7.27.1")},visitor:{Class(f,{file:b}){if(b.get(zi)!=="7.27.1"||!(0,no.shouldTransform)(f,b))return;let T=f.isClassDeclaration();T&&(0,Obe.assertFieldTransformed)(f);let w=(0,no.isLoose)(b,t),I,N=(0,iE.hasDecorators)(f.node),L=[],W=[],U=[],H=new Set,pe=f.get("body");for(let he of pe.get("body")){if((he.isClassProperty()||he.isClassMethod())&&he.node.computed&&U.push(he),he.isPrivate()){let{name:De}=he.node.key.id,we=`get ${De}`,Ve=`set ${De}`;if(he.isClassPrivateMethod()){if(he.node.kind==="get"){if(H.has(we)||H.has(De)&&!H.has(Ve))throw he.buildCodeFrameError("Duplicate private field");H.add(we).add(De)}else if(he.node.kind==="set"){if(H.has(Ve)||H.has(De)&&!H.has(we))throw he.buildCodeFrameError("Duplicate private field");H.add(Ve).add(De)}}else{if(H.has(De)&&!H.has(we)&&!H.has(Ve)||H.has(De)&&(H.has(we)||H.has(Ve)))throw he.buildCodeFrameError("Duplicate private field");H.add(De)}}he.isClassMethod({kind:"constructor"})?I=he:(W.push(he),(he.isProperty()||he.isPrivate()||he.isStaticBlock!=null&&he.isStaticBlock())&&L.push(he))}if(!L.length&&!N)return;let Ee=f.node.id,ce;if(!Ee||!T){{var qe;(qe=f.ensureFunctionName)!=null||(f.ensureFunctionName=zt().NodePath.prototype.ensureFunctionName)}f.ensureFunctionName(!1),ce=f.scope.generateUidIdentifier((Ee==null?void 0:Ee.name)||"Class")}let ze=ce!=null?ce:sE.types.cloneNode(Ee),Ot=(0,Ul.buildPrivateNamesMap)(ze.name,g!=null?g:w,L,b),J=(0,Ul.buildPrivateNamesNodes)(Ot,c!=null?c:w,u!=null?u:!1,b);(0,Ul.transformPrivateNamesUsage)(ze,f,Ot,{privateFieldsAsProperties:g!=null?g:w,noUninitializedPrivateFieldAccess:p,noDocumentAll:m,innerBinding:Ee},b);let se,V,G,j,re,de,ye;N?(V=re=se=[],{instanceNodes:G,wrapClass:ye}=(0,Nbe.buildDecoratedClass)(ze,f,W,b)):(se=(0,aE.extractComputedKeys)(f,U,b),{staticNodes:V,pureStaticNodes:re,instanceNodes:G,lastInstanceNodeReturnsThis:j,classBindingNode:de,wrapClass:ye}=(0,Ul.buildFieldsInitNodes)(ce,f.node.superClass,L,Ot,b,l!=null?l:w,g!=null?g:w,p,d!=null?d:w,Ee)),G.length>0&&(0,aE.injectInitialization)(f,I,G,(he,De)=>{if(!N)for(let we of L)sE.types.isStaticBlock!=null&&sE.types.isStaticBlock(we.node)||we.node.static||we.traverse(he,De)},j);let Te=ye(f);Te.insertBefore([...J,...se]),V.length>0&&Te.insertAfter(V),re.length>0&&Te.find(he=>he.isStatement()||he.isDeclaration()).insertAfter(re),de!=null&&T&&Te.insertAfter(de)},ExportDefaultDeclaration(f,{file:b}){{if(b.get(zi)!=="7.27.1")return;let w=f.get("declaration");if(w.isClassDeclaration()&&(0,iE.hasDecorators)(w.node))if(w.node.id){{var T;(T=f.splitExportDeclaration)!=null||(f.splitExportDeclaration=zt().NodePath.prototype.splitExportDeclaration)}f.splitExportDeclaration()}else w.node.type="ClassExpression"}}}}}});var lE=x(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});Vl.default=Mbe;Vl.isSyntacticallyString=gf;Vl.translateEnumValues=yN;var io=vt(),kbe=require("assert"),Fbe=cf(),Lbe=Fl(),oE=new WeakMap,jbe=io.template.expression(`
|
|
(function (ID) {
|
|
ASSIGNMENTS;
|
|
return ID;
|
|
})(INIT)
|
|
`);function Mbe(e,t){let{node:r,parentPath:n}=e;if(r.declare){e.remove();return}let s=r.id.name,{fill:i,data:a,isPure:o}=Vbe(e,t,r.id);switch(n.type){case"BlockStatement":case"ExportNamedDeclaration":case"Program":{let u=t.isProgram(e.parent),c=l(n),p=t.objectExpression([]);(c||u)&&(p=t.logicalExpression("||",t.cloneNode(i.ID),p));let d=jbe(Object.assign({},i,{INIT:p}));o&&(0,Fbe.default)(d),c?(n.isExportDeclaration()?n:e).replaceWith(t.expressionStatement(t.assignmentExpression("=",t.cloneNode(r.id),d))):e.scope.registerDeclaration(e.replaceWith(t.variableDeclaration(u?"var":"let",[t.variableDeclarator(r.id,d)]))[0]),oE.set(e.scope.getBindingIdentifier(s),a);break}default:throw new Error(`Unexpected enum parent '${e.parent.type}`)}function l(u){return u.isExportDeclaration()?l(u.parentPath):u.getData(s)?!0:(u.setData(s,!0),!1)}}var Rbe=io.template.statement(`
|
|
ENUM["NAME"] = VALUE;
|
|
`),qbe=io.template.statement(`
|
|
ENUM[ENUM["NAME"] = VALUE] = "NAME";
|
|
`),Ube=(e,t)=>(e?Rbe:qbe)(t);function Vbe(e,t,r){let{enumValues:n,data:s,isPure:i}=yN(e,t),a=e.get("members"),o=[];for(let l=0;l<a.length;l++){let[u,c]=n[l];o.push(t.inheritsComments(Ube(gf(c),{ENUM:t.cloneNode(r),NAME:u,VALUE:c}),a[l].node))}return{fill:{ID:t.cloneNode(r),ASSIGNMENTS:o},data:s,isPure:i}}function gf(e){switch(e=(0,Lbe.skipTransparentExprWrapperNodes)(e),e.type){case"BinaryExpression":{let t=e.left,r=e.right;return e.operator==="+"&&(gf(t)||gf(r))}case"TemplateLiteral":case"StringLiteral":return!0}return!1}function mN(e,t){let{seen:r,path:n,t:s}=t,i=e.node.name;if(r.has(i)){for(let a=e.scope;a!==n.scope;a=a.parent)if(a.hasOwnBinding(i))return;e.replaceWith(s.memberExpression(s.cloneNode(n.node.id),s.cloneNode(e.node))),e.skip()}}var $be={ReferencedIdentifier:mN};function yN(e,t){var r;let n=e.scope.getBindingIdentifier(e.node.id.name),s=(r=oE.get(n))!=null?r:new Map,i=-1,a,o=!0,u=e.get("members").map(c=>{let p=c.node,d=t.isIdentifier(p.id)?p.id.name:p.id.value,m=c.get("initializer"),g=p.initializer,f;if(g)i=gN(m,s),i!==void 0?(s.set(d,i),kbe(typeof i=="number"||typeof i=="string"),i===1/0||Number.isNaN(i)?f=t.identifier(String(i)):i===-1/0?f=t.unaryExpression("-",t.identifier("Infinity")):f=t.valueToNode(i)):(o&&(o=m.isPure()),m.isReferencedIdentifier()?mN(m,{t,seen:s,path:e}):m.traverse($be,{t,seen:s,path:e}),f=m.node,s.set(d,void 0));else if(typeof i=="number")i+=1,f=t.numericLiteral(i),s.set(d,i);else{if(typeof i=="string")throw e.buildCodeFrameError("Enum member must have initializer.");{let b=t.memberExpression(t.cloneNode(e.node.id),t.stringLiteral(a),!0);f=t.binaryExpression("+",t.numericLiteral(1),b),s.set(d,void 0)}}return a=d,[d,f]});return{isPure:o,data:s,enumValues:u}}function gN(e,t,r=new Set){return n(e);function n(o){let l=o.node;switch(l.type){case"MemberExpression":return s(o,t,r);case"StringLiteral":return l.value;case"UnaryExpression":return i(o);case"BinaryExpression":return a(o);case"NumericLiteral":return l.value;case"ParenthesizedExpression":return n(o.get("expression"));case"Identifier":return s(o,t,r);case"TemplateLiteral":{if(l.quasis.length===1)return l.quasis[0].value.cooked;let u=o.get("expressions"),c=l.quasis,p="";for(let d=0;d<c.length;d++)if(p+=c[d].value.cooked,d+1<c.length){let m=s(u[d],t,r);if(m===void 0)return;p+=m}return p}default:return}}function s(o,l,u){if(o.isMemberExpression()){let c=o.node,p=c.object,d=c.property;if(!io.types.isIdentifier(p)||(c.computed?!io.types.isStringLiteral(d):!io.types.isIdentifier(d)))return;let m=o.scope.getBindingIdentifier(p.name),g=oE.get(m);return g?g.get(d.computed?d.value:d.name):void 0}else if(o.isIdentifier()){let c=o.node.name;if(["Infinity","NaN"].includes(c))return Number(c);let p=l==null?void 0:l.get(c);return p!==void 0?p:l!=null&&l.has(c)||u.has(o.node)?void 0:(u.add(o.node),p=gN(o.resolve(),l,u),p)}}function i(o){let l=n(o.get("argument"));if(l!==void 0)switch(o.node.operator){case"+":return l;case"-":return-l;case"~":return~l;default:return}}function a(o){let l=n(o.get("left"));if(l===void 0)return;let u=n(o.get("right"));if(u!==void 0)switch(o.node.operator){case"|":return l|u;case"&":return l&u;case">>":return l>>u;case">>>":return l>>>u;case"<<":return l<<u;case"^":return l^u;case"*":return l*u;case"/":return l/u;case"+":return l+u;case"-":return l-u;case"%":return l%u;case"**":return Math.pow(l,u);default:return}}}});var uE=x($l=>{"use strict";Object.defineProperty($l,"__esModule",{value:!0});$l.EXPORTED_CONST_ENUMS_IN_NAMESPACE=void 0;$l.default=Hbe;var Wbe=lE(),Kbe=$l.EXPORTED_CONST_ENUMS_IN_NAMESPACE=new WeakSet;function Hbe(e,t){let{name:r}=e.node.id,n=e.parentPath.isExportNamedDeclaration(),s=n;!s&&t.isProgram(e.parent)&&(s=e.parent.body.some(o=>t.isExportNamedDeclaration(o)&&o.exportKind!=="type"&&!o.source&&o.specifiers.some(l=>t.isExportSpecifier(l)&&l.exportKind!=="type"&&l.local.name===r)));let{enumValues:i}=(0,Wbe.translateEnumValues)(e,t);if(s||Kbe.has(e.node)){let o=t.objectExpression(i.map(([l,u])=>t.objectProperty(t.isValidIdentifier(l)?t.identifier(l):t.stringLiteral(l),u)));e.scope.hasOwnBinding(r)?(n?e.parentPath:e).replaceWith(t.expressionStatement(t.callExpression(t.memberExpression(t.identifier("Object"),t.identifier("assign")),[e.node.id,o]))):(e.replaceWith(t.variableDeclaration("var",[t.variableDeclarator(e.node.id,o)])),e.scope.registerDeclaration(e));return}let a=new Map(i);e.scope.path.traverse({Scope(o){o.scope.hasOwnBinding(r)&&o.skip()},MemberExpression(o){if(!t.isIdentifier(o.node.object,{name:r}))return;let l;if(o.node.computed)if(t.isStringLiteral(o.node.property))l=o.node.property.value;else return;else if(t.isIdentifier(o.node.property))l=o.node.property.name;else return;a.has(l)&&o.replaceWith(t.cloneNode(a.get(l)))}}),e.remove()}});var cE=x(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.GLOBAL_TYPES=void 0;ao.isGlobalType=Gbe;ao.registerGlobalType=Xbe;var bN=ao.GLOBAL_TYPES=new WeakMap;function Gbe({scope:e},t){return e.hasBinding(t)?!1:bN.get(e).has(t)?!0:(console.warn(`The exported identifier "${t}" is not declared in Babel's scope tracker
|
|
as a JavaScript value binding, and "@babel/plugin-transform-typescript"
|
|
never encountered it as a TypeScript type declaration.
|
|
It will be treated as a JavaScript value.
|
|
|
|
This problem is likely caused by another plugin injecting
|
|
"${t}" without registering it in the scope tracker. If you are the author
|
|
of that plugin, please use "scope.registerDeclaration(declarationPath)".`),!1)}function Xbe(e,t){bN.get(e).add(t)}});var TN=x(bf=>{"use strict";Object.defineProperty(bf,"__esModule",{value:!0});bf.default=zbe;bf.getFirstIdentifier=hE;var yt=vt(),Ybe=cE(),Jbe=uE();function hE(e){return yt.types.isIdentifier(e)?e:hE(e.left)}function zbe(e,t){if(e.node.declare||e.node.id.type==="StringLiteral"){e.remove();return}if(!t)throw e.get("id").buildCodeFrameError("Namespace not marked type-only declare. Non-declarative namespaces are only supported experimentally in Babel. To enable and review caveats see: https://babeljs.io/docs/en/babel-plugin-transform-typescript");let r=hE(e.node.id).name,n=dE(e,e.node);if(n===null){let s=e.findParent(i=>i.isProgram());(0,Ybe.registerGlobalType)(s.scope,r),e.remove()}else e.scope.hasOwnBinding(r)?e.replaceWith(n):e.scope.registerDeclaration(e.replaceWithMultiple([pE(r),n])[0])}function pE(e){return yt.types.variableDeclaration("let",[yt.types.variableDeclarator(yt.types.identifier(e))])}function fE(e,t){return yt.types.memberExpression(yt.types.identifier(e),yt.types.identifier(t))}function Qbe(e,t,r){if(e.kind!=="const")throw r.file.buildCodeFrameError(e,"Namespaces exporting non-const are not supported by Babel. Change to const or see: https://babeljs.io/docs/en/babel-plugin-transform-typescript");let{declarations:n}=e;if(n.every(a=>yt.types.isIdentifier(a.id))){for(let a of n)a.init=yt.types.assignmentExpression("=",fE(t,a.id.name),a.init);return[e]}let s=yt.types.getBindingIdentifiers(e),i=[];for(let a in s)i.push(yt.types.assignmentExpression("=",fE(t,a),yt.types.cloneNode(s[a])));return[e,yt.types.expressionStatement(yt.types.sequenceExpression(i))]}function EN(e,t){return e.hub.buildError(t,"Ambient modules cannot be nested in other modules or namespaces.",Error)}function dE(e,t,r){let n=new Set,s=t.id,i=e.scope.generateUid(s.name),a=t.body,o=t.id,l;l=yt.types.isTSModuleBlock(a)?a.body:[yt.types.exportNamedDeclaration(a)];let u=!0;for(let p=0;p<l.length;p++){let d=l[p];switch(d.type){case"TSModuleDeclaration":{if(!yt.types.isIdentifier(d.id))throw EN(e,d);let m=dE(e,d);if(m!==null){u=!1;let g=d.id.name;n.has(g)?l[p]=m:(n.add(g),l.splice(p++,1,pE(g),m))}continue}case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":u=!1,n.add(d.id.name);continue;case"VariableDeclaration":{u=!1;for(let m in yt.types.getBindingIdentifiers(d))n.add(m);continue}default:u&&(u=yt.types.isTypeScript(d));continue;case"ExportNamedDeclaration":}if(!("declare"in d.declaration&&d.declaration.declare))switch(d.declaration.type){case"TSEnumDeclaration":Jbe.EXPORTED_CONST_ENUMS_IN_NAMESPACE.add(d.declaration);case"FunctionDeclaration":case"ClassDeclaration":{u=!1;let m=d.declaration.id.name;n.add(m),l.splice(p++,1,d.declaration,yt.types.expressionStatement(yt.types.assignmentExpression("=",fE(i,m),yt.types.identifier(m))));break}case"VariableDeclaration":{u=!1;let m=Qbe(d.declaration,i,e.hub);l.splice(p,m.length,...m),p+=m.length-1;break}case"TSModuleDeclaration":{if(!yt.types.isIdentifier(d.declaration.id))throw EN(e,d.declaration);let m=dE(e,d.declaration,yt.types.identifier(i));if(m!==null){u=!1;let g=d.declaration.id.name;n.has(g)?l[p]=m:(n.add(g),l.splice(p++,1,pE(g),m))}else l.splice(p,1),p--}}}if(u)return null;let c=yt.types.objectExpression([]);if(r){let p=yt.types.memberExpression(r,s);c=yt.template.expression.ast`
|
|
${yt.types.cloneNode(p)} ||
|
|
(${yt.types.cloneNode(p)} = ${c})
|
|
`}return yt.template.statement.ast`
|
|
(function (${yt.types.identifier(i)}) {
|
|
${l}
|
|
})(${s} || (${yt.types.cloneNode(s)} = ${c}));
|
|
`}});var PN=x(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});Tf.default=void 0;var Zbe=Ft(),e1e=P_(),t1e=so(),r1e=uE(),n1e=lE(),Ps=cE(),xN=TN();function s1e(e){switch(e.parent.type){case"TSTypeReference":case"TSExpressionWithTypeArguments":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;case"TSQualifiedName":return e.parentPath.findParent(t=>t.type!=="TSQualifiedName").type!=="TSImportEqualsDeclaration";case"ExportSpecifier":return e.parent.exportKind==="type"||e.parentPath.parent.exportKind==="type";default:return!1}}var En=new WeakMap,SN=new WeakSet;function Ef(e){let t=e.getBindingIdentifiers();for(let r of Object.keys(t)){let n=e.scope.getBinding(r);n&&n.identifier===t[r]&&n.scope.removeBinding(r)}e.opts.noScope=!0,e.remove(),e.opts.noScope=!1}function vN(e,t,r,n,s=""){if(t.file.get("@babel/plugin-transform-modules-*")!=="commonjs")throw e.buildCodeFrameError(`\`${r}\` is only supported when compiling modules to CommonJS.
|
|
Please consider using \`${n}\`${s}, or add @babel/plugin-transform-modules-commonjs to your Babel config.`)}var KOe=Tf.default=(0,Zbe.declare)((e,t)=>{let{types:r,template:n}=e;e.assertVersion(7);let s=/\*?\s*@jsx((?:Frag)?)\s+(\S+)/,{allowNamespaces:i=!0,jsxPragma:a="React.createElement",jsxPragmaFrag:o="React.Fragment",onlyRemoveTypeImports:l=!1,optimizeConstEnums:u=!1}=t;var{allowDeclareFields:c=!1}=t;let p={field(f){let{node:b}=f;if(!c&&b.declare)throw f.buildCodeFrameError("The 'declare' modifier is only allowed when the 'allowDeclareFields' option of @babel/plugin-transform-typescript or @babel/preset-typescript is enabled.");if(b.declare){if(b.value)throw f.buildCodeFrameError("Fields with the 'declare' modifier cannot be initialized here, but only in the constructor");b.decorators||f.remove()}else if(b.definite){if(b.value)throw f.buildCodeFrameError("Definitely assigned fields cannot be initialized here, but only in the constructor");!c&&!b.decorators&&!r.isClassPrivateProperty(b)&&f.remove()}else(b.abstract||!c&&!b.value&&!b.decorators&&!r.isClassPrivateProperty(b))&&f.remove();b.accessibility&&(b.accessibility=null),b.abstract&&(b.abstract=null),b.readonly&&(b.readonly=null),b.optional&&(b.optional=null),b.typeAnnotation&&(b.typeAnnotation=null),b.definite&&(b.definite=null),b.declare&&(b.declare=null),b.override&&(b.override=null)},method({node:f}){f.accessibility&&(f.accessibility=null),f.abstract&&(f.abstract=null),f.optional&&(f.optional=null),f.override&&(f.override=null)},constructor(f,b){f.node.accessibility&&(f.node.accessibility=null);let T=[],{scope:w}=f;for(let I of f.get("params")){let N=I.node;if(N.type==="TSParameterProperty"){let L=N.parameter;if(SN.has(L))continue;SN.add(L);let W;if(r.isIdentifier(L))W=L;else if(r.isAssignmentPattern(L)&&r.isIdentifier(L.left))W=L.left;else throw I.buildCodeFrameError("Parameter properties can not be destructuring patterns.");T.push(n.statement.ast`
|
|
this.${r.cloneNode(W)} = ${r.cloneNode(W)}
|
|
`),I.replaceWith(I.get("parameter")),w.registerBinding("param",I)}}(0,t1e.injectInitialization)(b,f,T)}};return{name:"transform-typescript",inherits:e1e.default,visitor:{Pattern:m,Identifier:m,RestElement:m,Program:{enter(f,b){let{file:T}=b,w=null,I=null,N=f.scope;if(Ps.GLOBAL_TYPES.has(N)||Ps.GLOBAL_TYPES.set(N,new Set),T.ast.comments)for(let U of T.ast.comments){let H=s.exec(U.value);H&&(H[1]?I=H[2]:w=H[2])}let L=w||a;L&&([L]=L.split("."));let W=I||o;W&&([W]=W.split("."));for(let U of f.get("body")){if(U.isImportDeclaration()){if(En.has(b.file.ast.program)||En.set(b.file.ast.program,!0),U.node.importKind==="type"){for(let ce of U.node.specifiers)(0,Ps.registerGlobalType)(N,ce.local.name);U.remove();continue}let H=new Set,pe=U.node.specifiers.length,Ee=()=>pe>0&&pe===H.size;for(let ce of U.node.specifiers)if(ce.type==="ImportSpecifier"&&ce.importKind==="type"){(0,Ps.registerGlobalType)(N,ce.local.name);let qe=U.scope.getBinding(ce.local.name);qe&&H.add(qe.path)}if(l)En.set(f.node,!1);else{if(U.node.specifiers.length===0){En.set(f.node,!1);continue}for(let ce of U.node.specifiers){let qe=U.scope.getBinding(ce.local.name);qe&&!H.has(qe.path)&&(g({binding:qe,programPath:f,pragmaImportName:L,pragmaFragImportName:W})?H.add(qe.path):En.set(f.node,!1))}}if(Ee()&&!l)U.remove();else for(let ce of H)ce.remove();continue}if(!l&&U.isTSImportEqualsDeclaration()){let{id:H}=U.node,pe=U.scope.getBinding(H.name);if(pe&&!U.node.isExport&&g({binding:pe,programPath:f,pragmaImportName:L,pragmaFragImportName:W})){U.remove();continue}}if(U.isExportDeclaration()&&(U=U.get("declaration")),U.isVariableDeclaration({declare:!0}))for(let H of Object.keys(U.getBindingIdentifiers()))(0,Ps.registerGlobalType)(N,H);else(U.isTSTypeAliasDeclaration()||U.isTSDeclareFunction()&&U.get("id").isIdentifier()||U.isTSInterfaceDeclaration()||U.isClassDeclaration({declare:!0})||U.isTSEnumDeclaration({declare:!0})||U.isTSModuleDeclaration({declare:!0})&&U.get("id").isIdentifier())&&(0,Ps.registerGlobalType)(N,U.node.id.name)}},exit(f){f.node.sourceType==="module"&&En.get(f.node)&&f.pushContainer("body",r.exportNamedDeclaration())}},ExportNamedDeclaration(f,b){if(En.has(b.file.ast.program)||En.set(b.file.ast.program,!0),f.node.exportKind==="type"){f.remove();return}if(f.node.source&&f.node.specifiers.length>0&&f.node.specifiers.every(T=>T.type==="ExportSpecifier"&&T.exportKind==="type")){f.remove();return}if(!f.node.source&&f.node.specifiers.length>0&&f.node.specifiers.every(T=>r.isExportSpecifier(T)&&(0,Ps.isGlobalType)(f,T.local.name))){f.remove();return}if(r.isTSModuleDeclaration(f.node.declaration)){let T=f.node.declaration;if(!r.isStringLiteral(T.id)){let w=(0,xN.getFirstIdentifier)(T.id);if(f.scope.hasOwnBinding(w.name))f.replaceWith(T);else{let[I]=f.replaceWithMultiple([r.exportNamedDeclaration(r.variableDeclaration("let",[r.variableDeclarator(r.cloneNode(w))])),T]);f.scope.registerDeclaration(I)}}}En.set(b.file.ast.program,!1)},ExportAllDeclaration(f){f.node.exportKind==="type"&&f.remove()},ExportSpecifier(f){(!f.parent.source&&(0,Ps.isGlobalType)(f,f.node.local.name)||f.node.exportKind==="type")&&f.remove()},ExportDefaultDeclaration(f,b){if(En.has(b.file.ast.program)||En.set(b.file.ast.program,!0),r.isIdentifier(f.node.declaration)&&(0,Ps.isGlobalType)(f,f.node.declaration.name)){f.remove();return}En.set(b.file.ast.program,!1)},TSDeclareFunction(f){Ef(f)},TSDeclareMethod(f){Ef(f)},VariableDeclaration(f){f.node.declare&&Ef(f)},VariableDeclarator({node:f}){f.definite&&(f.definite=null)},TSIndexSignature(f){f.remove()},ClassDeclaration(f){let{node:b}=f;b.declare&&Ef(f)},Class(f){let{node:b}=f;b.typeParameters&&(b.typeParameters=null),b.superTypeParameters&&(b.superTypeParameters=null),b.implements&&(b.implements=null),b.abstract&&(b.abstract=null),f.get("body.body").forEach(T=>{T.isClassMethod()||T.isClassPrivateMethod()?T.node.kind==="constructor"?p.constructor(T,f):p.method(T):(T.isClassProperty()||T.isClassPrivateProperty()||T.isClassAccessorProperty())&&p.field(T)})},Function(f){let{node:b}=f;b.typeParameters&&(b.typeParameters=null),b.returnType&&(b.returnType=null);let T=b.params;T.length>0&&r.isIdentifier(T[0],{name:"this"})&&T.shift()},TSModuleDeclaration(f){(0,xN.default)(f,i)},TSInterfaceDeclaration(f){f.remove()},TSTypeAliasDeclaration(f){f.remove()},TSEnumDeclaration(f){u&&f.node.const?(0,r1e.default)(f,r):(0,n1e.default)(f,r)},TSImportEqualsDeclaration(f,b){let{id:T,moduleReference:w}=f.node,I,N;r.isTSExternalModuleReference(w)?(vN(f,b,`import ${T.name} = require(...);`,`import ${T.name} from '...';`," alongside Typescript's --allowSyntheticDefaultImports option"),I=r.callExpression(r.identifier("require"),[w.expression]),N="const"):(I=d(w),N="var");let L=r.variableDeclaration(N,[r.variableDeclarator(T,I)]);f.replaceWith(f.node.isExport?r.exportNamedDeclaration(L):L),f.scope.registerDeclaration(f)},TSExportAssignment(f,b){vN(f,b,"export = <value>;","export default <value>;"),f.replaceWith(n.statement.ast`module.exports = ${f.node.expression}`)},TSTypeAssertion(f){f.replaceWith(f.node.expression)},[`TSAsExpression${r.tsSatisfiesExpression?"|TSSatisfiesExpression":""}`](f){let{node:b}=f;do b=b.expression;while(r.isTSAsExpression(b)||r.isTSSatisfiesExpression!=null&&r.isTSSatisfiesExpression(b));f.replaceWith(b)},[e.types.tsInstantiationExpression?"TSNonNullExpression|TSInstantiationExpression":"TSNonNullExpression"](f){f.replaceWith(f.node.expression)},CallExpression(f){f.node.typeParameters=null},OptionalCallExpression(f){f.node.typeParameters=null},NewExpression(f){f.node.typeParameters=null},JSXOpeningElement(f){f.node.typeParameters=null},TaggedTemplateExpression(f){f.node.typeParameters=null}}};function d(f){return r.isTSQualifiedName(f)?r.memberExpression(d(f.left),f.right):f}function m({node:f}){f.typeAnnotation&&(f.typeAnnotation=null),r.isIdentifier(f)&&f.optional&&(f.optional=null)}function g({binding:f,programPath:b,pragmaImportName:T,pragmaFragImportName:w}){for(let N of f.referencePaths)if(!s1e(N))return!1;if(f.identifier.name!==T&&f.identifier.name!==w)return!0;let I=!1;return b.traverse({"JSXElement|JSXFragment"(N){I=!0,N.stop()}}),!I}})});var mE=x(xf=>{"use strict";Object.defineProperty(xf,"__esModule",{value:!0});xf.default=void 0;var i1e=Ft(),GOe=xf.default=(0,i1e.declare)(e=>(e.assertVersion(7),{name:"syntax-jsx",manipulateOptions(t,r){r.plugins.some(n=>(Array.isArray(n)?n[0]:n)==="typescript")||r.plugins.push("jsx")}}))});var DN=x(yE=>{"use strict";Object.defineProperty(yE,"__esModule",{value:!0});yE.transformDynamicImport=l1e;var AN=vt(),a1e=cl(),CN=e=>AN.template.expression.ast`require(${e})`,o1e=(e,t)=>AN.types.callExpression(t.addHelper("interopRequireWildcard"),[CN(e)]);function l1e(e,t,r){let n=t?CN:o1e;e.replaceWith((0,a1e.buildDynamicImport)(e.node,!0,!1,s=>n(s,r)))}});var IN=x(Sf=>{"use strict";Object.defineProperty(Sf,"__esModule",{value:!0});Sf.lazyImportsHook=void 0;var wN=vt(),u1e=cl(),c1e=e=>({name:"@babel/plugin-transform-modules-commonjs/lazy",version:"7.27.1",getWrapperPayload(t,r){if((0,u1e.isSideEffectImport)(r)||r.reexportAll)return null;if(e===!0)return t.includes(".")?null:"lazy/function";if(Array.isArray(e))return e.includes(t)?"lazy/function":null;if(typeof e=="function")return e(t)?"lazy/function":null},buildRequireWrapper(t,r,n,s){if(n==="lazy/function")return s?wN.template.statement.ast`
|
|
function ${t}() {
|
|
const data = ${r};
|
|
${t} = function(){ return data; };
|
|
return data;
|
|
}
|
|
`:!1},wrapReference(t,r){if(r==="lazy/function")return wN.types.callExpression(t,[])}});Sf.lazyImportsHook=c1e});var _N=x(vf=>{"use strict";Object.defineProperty(vf,"__esModule",{value:!0});vf.defineCommonJSHook=p1e;vf.makeInvokers=f1e;var bE="@babel/plugin-transform-modules-commonjs/customWrapperPlugin";function p1e(e,t){let r=e.get(bE);r||e.set(bE,r=[]),r.push(t)}function gE(e,t){if(e)for(let r of e){let n=t(r);if(n!=null)return n}}function f1e(e){let t=e.get(bE);return{getWrapperPayload(...r){return gE(t,n=>n.getWrapperPayload==null?void 0:n.getWrapperPayload(...r))},wrapReference(...r){return gE(t,n=>n.wrapReference==null?void 0:n.wrapReference(...r))},buildRequireWrapper(...r){return gE(t,n=>n.buildRequireWrapper==null?void 0:n.buildRequireWrapper(...r))}}}});var TE=x(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.default=void 0;Object.defineProperty(Wl,"defineCommonJSHook",{enumerable:!0,get:function(){return EE.defineCommonJSHook}});var d1e=Ft(),Zi=cl(),Ln=vt(),h1e=DN(),m1e=IN(),EE=_N(),QOe=Wl.default=(0,d1e.declare)((e,t)=>{var r,n,s;e.assertVersion(7);let{strictNamespace:i=!1,mjsStrictNamespace:a=i,allowTopLevelThis:o,strict:l,strictMode:u,noInterop:c,importInterop:p,lazy:d=!1,allowCommonJSExports:m=!0,loose:g=!1}=t,f=(r=e.assumption("constantReexports"))!=null?r:g,b=(n=e.assumption("enumerableModuleMeta"))!=null?n:g,T=(s=e.assumption("noIncompleteNsImportDetection"))!=null?s:!1;if(typeof d!="boolean"&&typeof d!="function"&&(!Array.isArray(d)||!d.every(N=>typeof N=="string")))throw new Error(".lazy must be a boolean, array of strings, or a function");if(typeof i!="boolean")throw new Error(".strictNamespace must be a boolean, or undefined");if(typeof a!="boolean")throw new Error(".mjsStrictNamespace must be a boolean, or undefined");let w=N=>Ln.template.expression.ast`
|
|
(function(){
|
|
throw new Error(
|
|
"The CommonJS '" + "${N}" + "' variable is not available in ES6 modules." +
|
|
"Consider setting setting sourceType:script or sourceType:unambiguous in your " +
|
|
"Babel config for this file.");
|
|
})()
|
|
`,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`
|
|
var ${ce.name} = ${Ot};
|
|
`)}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.
|
|
`,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:
|
|
- Use a .cts config file
|
|
- Update to Node.js 23.6.0, which has native TypeScript support
|
|
- 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+=`
|
|
If you are using Yarn Plug'n'Play, you may also need to add the following configuration to your .yarnrc.yml file:
|
|
|
|
packageExtensions:
|
|
"@babel/core@*":
|
|
peerDependencies:
|
|
"@babel/preset-typescript": "*"
|
|
`),new oo.default(r,e)}}});var zN=x(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});Cs.ROOT_CONFIG_FILENAMES=void 0;Cs.findConfigUpwards=V1e;Cs.findRelativeConfig=$1e;Cs.findRootConfig=W1e;Cs.loadConfig=K1e;Cs.resolveShowConfigPath=H1e;function $N(){let e=Ti();return $N=function(){return e},e}function _E(){let e=require("fs");return _E=function(){return e},e}function rn(){let e=require("path");return rn=function(){return e},e}function WN(){let e=sD();return WN=function(){return e},e}function KN(){let e=Zr();return KN=function(){return e},e}var HN=Ri(),w1e=jg(),GN=Ag(),I1e=IE(),_1e=Ib(),jn=qi(),N1e=tp();require("module");var O1e=fs(),B1e=Gs(),NE=$N()("babel:config:loading:files:configuration"),XN=Cs.ROOT_CONFIG_FILENAMES=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts","babel.config.ts","babel.config.mts"],k1e=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"],F1e=".babelignore",L1e=(0,HN.makeWeakCache)(function*(t,r){return yield*[],{options:(0,O1e.endHiddenCallStack)(t)((0,w1e.makeConfigAPI)(r)),cacheNeedsConfiguration:!r.configured()}});function*j1e(e,t){if(!_E().existsSync(e))return null;let r=yield*(0,I1e.default)(e,(yield*(0,B1e.isAsync)())?"auto":"require","You appear to be using a native ECMAScript module configuration file, which is only supported when running Babel asynchronously or when using the Node.js `--experimental-require-module` flag.","You appear to be using a configuration file that contains top-level await, which is only supported when running Babel asynchronously."),n=!1;if(typeof r=="function"&&({options:r,cacheNeedsConfiguration:n}=yield*L1e(r,t)),!r||typeof r!="object"||Array.isArray(r))throw new jn.default("Configuration should be an exported JavaScript object.",e);if(typeof r.then=="function")throw r.catch==null||r.catch(()=>{}),new jn.default("You appear to be using an async configuration, 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 return your config.",e);return n&&G1e(e),M1e(r,e)}var VN=new WeakMap;function M1e(e,t){let r=VN.get(e);r||VN.set(e,r=new Map);let n=r.get(t);return n||(n={filepath:t,dirname:rn().dirname(t),options:e},r.set(t,n)),n}var R1e=(0,HN.makeWeakCacheSync)(e=>{let t=e.options.babel;if(t===void 0)return null;if(typeof t!="object"||Array.isArray(t)||t===null)throw new jn.default(".babel property must be an object",e.filepath);return{filepath:e.filepath,dirname:e.dirname,options:t}}),q1e=(0,GN.makeStaticFileCache)((e,t)=>{let r;try{r=WN().parse(t)}catch(n){throw new jn.default(`Error while parsing config - ${n.message}`,e)}if(!r)throw new jn.default("No config detected",e);if(typeof r!="object")throw new jn.default(`Config returned typeof ${typeof r}`,e);if(Array.isArray(r))throw new jn.default("Expected config object but found array",e);return delete r.$schema,{filepath:e,dirname:rn().dirname(e),options:r}}),U1e=(0,GN.makeStaticFileCache)((e,t)=>{let r=rn().dirname(e),n=t.split(`
|
|
`).map(s=>s.replace(/#.*$/,"").trim()).filter(Boolean);for(let s of n)if(s[0]==="!")throw new jn.default("Negation of file paths is not supported.",e);return{filepath:e,dirname:rn().dirname(e),ignore:n.map(s=>(0,_1e.default)(s,r))}});function V1e(e){let t=e;for(;;){for(let n of XN)if(_E().existsSync(rn().join(t,n)))return t;let r=rn().dirname(t);if(t===r)break;t=r}return null}function*$1e(e,t,r){let n=null,s=null,i=rn().dirname(e.filepath);for(let o of e.directories){if(!n){var a;n=yield*YN(k1e,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?R1e(e.pkg):null)}if(!s){let l=rn().join(o,F1e);s=yield*U1e(l),s&&NE("Found ignore %o from %o.",s.filepath,i)}}return{config:n,ignore:s}}function W1e(e,t,r){return YN(XN,e,t,r)}function*YN(e,t,r,n,s=null){let a=(yield*KN().all(e.map(o=>JN(rn().join(t,o),r,n)))).reduce((o,l)=>{if(l&&o)throw new jn.default(`Multiple configuration files found. Please remove one:
|
|
- ${rn().basename(o.filepath)}
|
|
- ${l.filepath}
|
|
from ${t}`);return l||o},s);return a&&NE("Found configuration %o from %o.",a.filepath,t),a}function*K1e(e,t,r,n){let s=(((a,o)=>(a=a.split("."),o=o.split("."),+a[0]>+o[0]||a[0]==o[0]&&+a[1]>=+o[1]))(process.versions.node,"8.9")?require.resolve:(a,{paths:[o]},l=require("module"))=>{let u=l._findPath(a,l._nodeModulePaths(o).concat(o));if(u)return u;throw u=new Error(`Cannot resolve module '${a}'`),u.code="MODULE_NOT_FOUND",u})(e,{paths:[t]}),i=yield*JN(s,r,n);if(!i)throw new jn.default("Config file contains no configuration data",s);return NE("Loaded config %o from %o.",e,t),i}function JN(e,t,r){switch(rn().extname(e)){case".js":case".cjs":case".mjs":case".ts":case".cts":case".mts":return j1e(e,{envName:t,caller:r});default:return q1e(e)}}function*H1e(e){let t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){let r=rn().resolve(e,t);if(!(yield*N1e.stat(r)).isFile())throw new Error(`${r}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`);return r}return null}function G1e(e){throw new jn.default(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured
|
|
for various types of caching, using the first param of their handler functions:
|
|
|
|
module.exports = function(api) {
|
|
// The API exposes the following:
|
|
|
|
// Cache the returned value forever and don't call this function again.
|
|
api.cache(true);
|
|
|
|
// Don't cache at all. Not recommended because it will be very slow.
|
|
api.cache(false);
|
|
|
|
// Cached based on the value of some function. If this function returns a value different from
|
|
// a previously-encountered value, the plugins will re-evaluate.
|
|
var env = api.cache(() => process.env.NODE_ENV);
|
|
|
|
// If testing for a specific env, we recommend specifics to avoid instantiating a plugin for
|
|
// any possible NODE_ENV value that might come up during plugin execution.
|
|
var isProd = api.cache(() => process.env.NODE_ENV === "production");
|
|
|
|
// .cache(fn) will perform a linear search though instances to find the matching plugin based
|
|
// based on previous instantiated plugins. If you want to recreate the plugin and discard the
|
|
// previous instance whenever something changes, you may use:
|
|
var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");
|
|
|
|
// Note, we also expose the following more-verbose versions of the above examples:
|
|
api.cache.forever(); // api.cache(true)
|
|
api.cache.never(); // api.cache(false)
|
|
api.cache.using(fn); // api.cache(fn)
|
|
|
|
// Return the value that will be cached.
|
|
return { };
|
|
};`,e)}});var SO=x(_f=>{"use strict";Object.defineProperty(_f,"__esModule",{value:!0});_f.moduleResolve=xO;_f.resolve=MEe;function zn(){let e=require("assert");return zn=function(){return e},e}function Yl(){let e=pO(require("fs"),!0);return Yl=function(){return e},e}function ii(){let e=require("process");return ii=function(){return e},e}function Ie(){let e=require("url");return Ie=function(){return e},e}function Df(){let e=require("path");return Df=function(){return e},e}function wf(){let e=require("module");return wf=function(){return e},e}function cO(){let e=require("v8");return cO=function(){return e},e}function Xl(){let e=require("util");return Xl=function(){return e},e}function pO(e,t){if(typeof WeakMap=="function")var r=new WeakMap,n=new WeakMap;return(pO=function(s,i){if(!i&&s&&s.__esModule)return s;var a,o,l={__proto__:null,default:s};if(s===null||typeof s!="object"&&typeof s!="function")return l;if(a=i?n:r){if(a.has(s))return a.get(s);a.set(s,l)}for(let u in s)u!=="default"&&{}.hasOwnProperty.call(s,u)&&((o=(a=Object.defineProperty)&&Object.getOwnPropertyDescriptor(s,u))&&(o.get||o.set)?a(l,u,o):l[u]=s[u]);return l})(e,t)}var X1e={}.hasOwnProperty,Y1e=/^([A-Z][a-z\d]*)+$/,J1e=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),Er={};function OE(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}var fO=new Map,z1e="__node_internal_",QN;Er.ERR_INVALID_ARG_TYPE=Tn("ERR_INVALID_ARG_TYPE",(e,t,r)=>{zn()(typeof e=="string","'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";if(e.endsWith(" argument"))n+=`${e} `;else{let o=e.includes(".")?"property":"argument";n+=`"${e}" ${o} `}n+="must be ";let s=[],i=[],a=[];for(let o of t)zn()(typeof o=="string","All expected entries have to be of type string"),J1e.has(o)?s.push(o.toLowerCase()):Y1e.exec(o)===null?(zn()(o!=="object",'The value "object" should be written as "Object"'),a.push(o)):i.push(o);if(i.length>0){let o=s.indexOf("object");o!==-1&&(s.slice(o,1),i.push("Object"))}return s.length>0&&(n+=`${s.length>1?"one of type":"of type"} ${OE(s,"or")}`,(i.length>0||a.length>0)&&(n+=" or ")),i.length>0&&(n+=`an instance of ${OE(i,"or")}`,a.length>0&&(n+=" or ")),a.length>0&&(a.length>1?n+=`one of ${OE(a,"or")}`:(a[0].toLowerCase()!==a[0]&&(n+="an "),n+=`${a[0]}`)),n+=`. Received ${rEe(r)}`,n},TypeError);Er.ERR_INVALID_MODULE_SPECIFIER=Tn("ERR_INVALID_MODULE_SPECIFIER",(e,t,r=void 0)=>`Invalid module "${e}" ${t}${r?` imported from ${r}`:""}`,TypeError);Er.ERR_INVALID_PACKAGE_CONFIG=Tn("ERR_INVALID_PACKAGE_CONFIG",(e,t,r)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${r?`. ${r}`:""}`,Error);Er.ERR_INVALID_PACKAGE_TARGET=Tn("ERR_INVALID_PACKAGE_TARGET",(e,t,r,n=!1,s=void 0)=>{let i=typeof r=="string"&&!n&&r.length>0&&!r.startsWith("./");return t==="."?(zn()(n===!1),`Invalid "exports" main target ${JSON.stringify(r)} defined in the package config ${e}package.json${s?` imported from ${s}`:""}${i?'; targets must start with "./"':""}`):`Invalid "${n?"imports":"exports"}" target ${JSON.stringify(r)} defined for '${t}' in the package config ${e}package.json${s?` imported from ${s}`:""}${i?'; targets must start with "./"':""}`},Error);Er.ERR_MODULE_NOT_FOUND=Tn("ERR_MODULE_NOT_FOUND",(e,t,r=!1)=>`Cannot find ${r?"module":"package"} '${e}' imported from ${t}`,Error);Er.ERR_NETWORK_IMPORT_DISALLOWED=Tn("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error);Er.ERR_PACKAGE_IMPORT_NOT_DEFINED=Tn("ERR_PACKAGE_IMPORT_NOT_DEFINED",(e,t,r)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${r}`,TypeError);Er.ERR_PACKAGE_PATH_NOT_EXPORTED=Tn("ERR_PACKAGE_PATH_NOT_EXPORTED",(e,t,r=void 0)=>t==="."?`No "exports" main defined in ${e}package.json${r?` imported from ${r}`:""}`:`Package subpath '${t}' is not defined by "exports" in ${e}package.json${r?` imported from ${r}`:""}`,Error);Er.ERR_UNSUPPORTED_DIR_IMPORT=Tn("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error);Er.ERR_UNSUPPORTED_RESOLVE_REQUEST=Tn("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError);Er.ERR_UNKNOWN_FILE_EXTENSION=Tn("ERR_UNKNOWN_FILE_EXTENSION",(e,t)=>`Unknown file extension "${e}" for ${t}`,TypeError);Er.ERR_INVALID_ARG_VALUE=Tn("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let n=(0,Xl().inspect)(t);return n.length>128&&(n=`${n.slice(0,128)}...`),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`},TypeError);function Tn(e,t,r){return fO.set(e,t),Q1e(r,e)}function Q1e(e,t){return r;function r(...n){let s=Error.stackTraceLimit;LE()&&(Error.stackTraceLimit=0);let i=new e;LE()&&(Error.stackTraceLimit=s);let a=tEe(t,n,i);return Object.defineProperties(i,{message:{value:a,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),eEe(i),i.code=t,i}}function LE(){try{if(cO().startupSnapshot.isBuildingSnapshot())return!1}catch{}let e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return e===void 0?Object.isExtensible(Error):X1e.call(e,"writable")&&e.writable!==void 0?e.writable:e.set!==void 0}function Z1e(e){let t=z1e+e.name;return Object.defineProperty(e,"name",{value:t}),e}var eEe=Z1e(function(e){let t=LE();return t&&(QN=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=QN),e});function tEe(e,t,r){let n=fO.get(e);if(zn()(n!==void 0,"expected `message` to be found"),typeof n=="function")return zn()(n.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${n.length}).`),Reflect.apply(n,r,t);let s=/%[dfijoOs]/g,i=0;for(;s.exec(n)!==null;)i++;return zn()(i===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${i}).`),t.length===0?n:(t.unshift(n),Reflect.apply(Xl().format,null,t))}function rEe(e){if(e==null)return String(e);if(typeof e=="function"&&e.name)return`function ${e.name}`;if(typeof e=="object")return e.constructor&&e.constructor.name?`an instance of ${e.constructor.name}`:`${(0,Xl().inspect)(e,{depth:-1})}`;let t=(0,Xl().inspect)(e,{colors:!1});return t.length>28&&(t=`${t.slice(0,25)}...`),`type ${typeof e} (${t})`}var Hl={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:nEe}=Er,ZN=new Map;function dO(e,{base:t,specifier:r}){let n=ZN.get(e);if(n)return n;let s;try{s=Yl().default.readFileSync(Df().toNamespacedPath(e),"utf8")}catch(a){let o=a;if(o.code!=="ENOENT")throw o}let i={exists:!1,pjsonPath:e,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(s!==void 0){let a;try{a=JSON.parse(s)}catch(o){let l=o,u=new nEe(e,(t?`"${r}" from `:"")+(0,Ie().fileURLToPath)(t||r),l.message);throw u.cause=l,u}i.exists=!0,Hl.call(a,"name")&&typeof a.name=="string"&&(i.name=a.name),Hl.call(a,"main")&&typeof a.main=="string"&&(i.main=a.main),Hl.call(a,"exports")&&(i.exports=a.exports),Hl.call(a,"imports")&&(i.imports=a.imports),Hl.call(a,"type")&&(a.type==="commonjs"||a.type==="module")&&(i.type=a.type)}return ZN.set(e,i),i}function jE(e){let t=new URL("package.json",e);for(;!t.pathname.endsWith("node_modules/package.json");){let s=dO((0,Ie().fileURLToPath)(t),{specifier:e});if(s.exists)return s;let i=t;if(t=new URL("../package.json",t),t.pathname===i.pathname)break}return{pjsonPath:(0,Ie().fileURLToPath)(t),exists:!1,type:"none"}}function eO(e){return jE(e).type}var{ERR_UNKNOWN_FILE_EXTENSION:sEe}=Er,iEe={}.hasOwnProperty,aEe={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};function oEe(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":e==="application/json"?"json":null}var tO={__proto__:null,"data:":lEe,"file:":cEe,"http:":rO,"https:":rO,"node:"(){return"builtin"}};function lEe(e){let{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return oEe(t)}function uEe(e){let t=e.pathname,r=t.length;for(;r--;){let n=t.codePointAt(r);if(n===47)return"";if(n===46)return t.codePointAt(r-1)===47?"":t.slice(r)}return""}function cEe(e,t,r){let n=uEe(e);if(n===".js"){let a=eO(e);return a!=="none"?a:"commonjs"}if(n===""){let a=eO(e);return a==="none"||a==="commonjs"?"commonjs":"module"}let s=aEe[n];if(s)return s;if(r)return;let i=(0,Ie().fileURLToPath)(e);throw new sEe(n,i)}function rO(){}function hO(e,t){let r=e.protocol;return iEe.call(tO,r)&&tO[r](e,t,!0)||null}var{ERR_INVALID_ARG_VALUE:pEe}=Er,mO=Object.freeze(["node","import"]),fEe=new Set(mO);function dEe(){return mO}function hEe(){return fEe}function mEe(e){if(e!==void 0&&e!==dEe()){if(!Array.isArray(e))throw new pEe("conditions",e,"expected an array");return new Set(e)}return hEe()}var Af=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:BE,ERR_INVALID_MODULE_SPECIFIER:If,ERR_INVALID_PACKAGE_CONFIG:yO,ERR_INVALID_PACKAGE_TARGET:yEe,ERR_MODULE_NOT_FOUND:ME,ERR_PACKAGE_IMPORT_NOT_DEFINED:gEe,ERR_PACKAGE_PATH_NOT_EXPORTED:bEe,ERR_UNSUPPORTED_DIR_IMPORT:EEe,ERR_UNSUPPORTED_RESOLVE_REQUEST:nO}=Er,gO={}.hasOwnProperty,sO=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,iO=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,TEe=/^\.|%|\\/,Cf=/\*/g,xEe=/%2f|%5c/i,aO=new Set,SEe=/[/\\]{2}/;function oO(e,t,r,n,s,i,a){if(ii().noDeprecation)return;let o=(0,Ie().fileURLToPath)(n),l=SEe.exec(a?e:t)!==null;ii().emitWarning(`Use of deprecated ${l?"double slash":"leading or trailing slash matching"} resolving "${e}" for module request "${t}" ${t===r?"":`matched to "${r}" `}in the "${s?"imports":"exports"}" field module resolution of the package at ${o}${i?` imported from ${(0,Ie().fileURLToPath)(i)}`:""}.`,"DeprecationWarning","DEP0166")}function lO(e,t,r,n){if(ii().noDeprecation||hO(e,{parentURL:r.href})!=="module")return;let i=(0,Ie().fileURLToPath)(e.href),a=(0,Ie().fileURLToPath)(new(Ie()).URL(".",t)),o=(0,Ie().fileURLToPath)(r);n?Df().resolve(a,n)!==i&&ii().emitWarning(`Package ${a} has a "main" field set to "${n}", excluding the full filename and extension to the resolved file at "${i.slice(a.length)}", imported from ${o}.
|
|
Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):ii().emitWarning(`No "main" or "exports" field defined in the package.json for ${a} resolving the main entry point "${i.slice(a.length)}", imported from ${o}.
|
|
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function bO(e){try{return(0,Yl().statSync)(e)}catch{}}function kE(e){let t=(0,Yl().statSync)(e,{throwIfNoEntry:!1}),r=t?t.isFile():void 0;return r==null?!1:r}function vEe(e,t,r){let n;if(t.main!==void 0){if(n=new(Ie()).URL(t.main,e),kE(n))return n;let a=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`],o=-1;for(;++o<a.length&&(n=new(Ie()).URL(a[o],e),!kE(n));)n=void 0;if(n)return lO(n,e,r,t.main),n}let s=["./index.js","./index.json","./index.node"],i=-1;for(;++i<s.length&&(n=new(Ie()).URL(s[i],e),!kE(n));)n=void 0;if(n)return lO(n,e,r,t.main),n;throw new ME((0,Ie().fileURLToPath)(new(Ie()).URL(".",e)),(0,Ie().fileURLToPath)(r))}function PEe(e,t,r){if(xEe.exec(e.pathname)!==null)throw new If(e.pathname,'must not include encoded "/" or "\\" characters',(0,Ie().fileURLToPath)(t));let n;try{n=(0,Ie().fileURLToPath)(e)}catch(i){let a=i;throw Object.defineProperty(a,"input",{value:String(e)}),Object.defineProperty(a,"module",{value:String(t)}),a}let s=bO(n.endsWith("/")?n.slice(-1):n);if(s&&s.isDirectory()){let i=new EEe(n,(0,Ie().fileURLToPath)(t));throw i.url=String(e),i}if(!s||!s.isFile()){let i=new ME(n||e.pathname,t&&(0,Ie().fileURLToPath)(t),!0);throw i.url=String(e),i}if(!r){let i=(0,Yl().realpathSync)(n),{search:a,hash:o}=e;e=(0,Ie().pathToFileURL)(i+(n.endsWith(Df().sep)?"/":"")),e.search=a,e.hash=o}return e}function AEe(e,t,r){return new gEe(e,t&&(0,Ie().fileURLToPath)(new(Ie()).URL(".",t)),(0,Ie().fileURLToPath)(r))}function FE(e,t,r){return new bEe((0,Ie().fileURLToPath)(new(Ie()).URL(".",t)),e,r&&(0,Ie().fileURLToPath)(r))}function CEe(e,t,r,n,s){let i=`request is not a valid match in pattern "${t}" for the "${n?"imports":"exports"}" resolution of ${(0,Ie().fileURLToPath)(r)}`;throw new If(e,i,s&&(0,Ie().fileURLToPath)(s))}function Gl(e,t,r,n,s){return t=typeof t=="object"&&t!==null?JSON.stringify(t,null,""):`${t}`,new yEe((0,Ie().fileURLToPath)(new(Ie()).URL(".",r)),e,t,n,s&&(0,Ie().fileURLToPath)(s))}function DEe(e,t,r,n,s,i,a,o,l){if(t!==""&&!i&&e[e.length-1]!=="/")throw Gl(r,e,n,a,s);if(!e.startsWith("./")){if(a&&!e.startsWith("../")&&!e.startsWith("/")){let d=!1;try{new(Ie()).URL(e),d=!0}catch{}if(!d){let m=i?Af.call(Cf,e,()=>t):e+t;return TO(m,n,l)}}throw Gl(r,e,n,a,s)}if(sO.exec(e.slice(2))!==null)if(iO.exec(e.slice(2))===null){if(!o){let d=i?r.replace("*",()=>t):r+t,m=i?Af.call(Cf,e,()=>t):e;oO(m,d,r,n,a,s,!0)}}else throw Gl(r,e,n,a,s);let u=new(Ie()).URL(e,n),c=u.pathname,p=new(Ie()).URL(".",n).pathname;if(!c.startsWith(p))throw Gl(r,e,n,a,s);if(t==="")return u;if(sO.exec(t)!==null){let d=i?r.replace("*",()=>t):r+t;if(iO.exec(t)===null){if(!o){let m=i?Af.call(Cf,e,()=>t):e;oO(m,d,r,n,a,s,!1)}}else CEe(d,r,n,a,s)}return i?new(Ie()).URL(Af.call(Cf,u.href,()=>t)):new(Ie()).URL(t,u)}function wEe(e){let t=Number(e);return`${t}`!==e?!1:t>=0&&t<4294967295}function lo(e,t,r,n,s,i,a,o,l){if(typeof t=="string")return DEe(t,r,n,e,s,i,a,o,l);if(Array.isArray(t)){let u=t;if(u.length===0)return null;let c,p=-1;for(;++p<u.length;){let d=u[p],m;try{m=lo(e,d,r,n,s,i,a,o,l)}catch(g){let f=g;if(c=f,f.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw g}if(m!==void 0){if(m===null){c=null;continue}return m}}if(c==null)return null;throw c}if(typeof t=="object"&&t!==null){let u=Object.getOwnPropertyNames(t),c=-1;for(;++c<u.length;){let p=u[c];if(wEe(p))throw new yO((0,Ie().fileURLToPath)(e),s,'"exports" cannot contain numeric property keys.')}for(c=-1;++c<u.length;){let p=u[c];if(p==="default"||l&&l.has(p)){let d=t[p],m=lo(e,d,r,n,s,i,a,o,l);if(m===void 0)continue;return m}}return null}if(t===null)return null;throw Gl(n,t,e,a,s)}function IEe(e,t,r){if(typeof e=="string"||Array.isArray(e))return!0;if(typeof e!="object"||e===null)return!1;let n=Object.getOwnPropertyNames(e),s=!1,i=0,a=-1;for(;++a<n.length;){let o=n[a],l=o===""||o[0]!==".";if(i++===0)s=l;else if(s!==l)throw new yO((0,Ie().fileURLToPath)(t),r,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return s}function _Ee(e,t,r){if(ii().noDeprecation)return;let n=(0,Ie().fileURLToPath)(t);aO.has(n+"|"+e)||(aO.add(n+"|"+e),ii().emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${n}${r?` imported from ${(0,Ie().fileURLToPath)(r)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function uO(e,t,r,n,s){let i=r.exports;if(IEe(i,e,n)&&(i={".":i}),gO.call(i,t)&&!t.includes("*")&&!t.endsWith("/")){let c=i[t],p=lo(e,c,"",t,n,!1,!1,!1,s);if(p==null)throw FE(t,e,n);return p}let a="",o="",l=Object.getOwnPropertyNames(i),u=-1;for(;++u<l.length;){let c=l[u],p=c.indexOf("*");if(p!==-1&&t.startsWith(c.slice(0,p))){t.endsWith("/")&&_Ee(t,e,n);let d=c.slice(p+1);t.length>=c.length&&t.endsWith(d)&&EO(a,c)===1&&c.lastIndexOf("*")===p&&(a=c,o=t.slice(p,t.length-d.length))}}if(a){let c=i[a],p=lo(e,c,o,a,n,!0,!1,t.endsWith("/"),s);if(p==null)throw FE(t,e,n);return p}throw FE(t,e,n)}function EO(e,t){let r=e.indexOf("*"),n=t.indexOf("*"),s=r===-1?e.length:r+1,i=n===-1?t.length:n+1;return s>i?-1:i>s||r===-1?1:n===-1||e.length>t.length?-1:t.length>e.length?1:0}function NEe(e,t,r){if(e==="#"||e.startsWith("#/")||e.endsWith("/")){let i="is not a valid internal imports specifier name";throw new If(e,i,(0,Ie().fileURLToPath)(t))}let n,s=jE(t);if(s.exists){n=(0,Ie().pathToFileURL)(s.pjsonPath);let i=s.imports;if(i)if(gO.call(i,e)&&!e.includes("*")){let a=lo(n,i[e],"",e,t,!1,!0,!1,r);if(a!=null)return a}else{let a="",o="",l=Object.getOwnPropertyNames(i),u=-1;for(;++u<l.length;){let c=l[u],p=c.indexOf("*");if(p!==-1&&e.startsWith(c.slice(0,-1))){let d=c.slice(p+1);e.length>=c.length&&e.endsWith(d)&&EO(a,c)===1&&c.lastIndexOf("*")===p&&(a=c,o=e.slice(p,e.length-d.length))}}if(a){let c=i[a],p=lo(n,c,o,a,t,!0,!0,!1,r);if(p!=null)return p}}}throw AEe(e,n,t)}function OEe(e,t){let r=e.indexOf("/"),n=!0,s=!1;e[0]==="@"&&(s=!0,r===-1||e.length===0?n=!1:r=e.indexOf("/",r+1));let i=r===-1?e:e.slice(0,r);if(TEe.exec(i)!==null&&(n=!1),!n)throw new If(e,"is not a valid package name",(0,Ie().fileURLToPath)(t));let a="."+(r===-1?"":e.slice(r));return{packageName:i,packageSubpath:a,isScoped:s}}function TO(e,t,r){if(wf().builtinModules.includes(e))return new(Ie()).URL("node:"+e);let{packageName:n,packageSubpath:s,isScoped:i}=OEe(e,t),a=jE(t);if(a.exists){let c=(0,Ie().pathToFileURL)(a.pjsonPath);if(a.name===n&&a.exports!==void 0&&a.exports!==null)return uO(c,s,a,t,r)}let o=new(Ie()).URL("./node_modules/"+n+"/package.json",t),l=(0,Ie().fileURLToPath)(o),u;do{let c=bO(l.slice(0,-13));if(!c||!c.isDirectory()){u=l,o=new(Ie()).URL((i?"../../../../node_modules/":"../../../node_modules/")+n+"/package.json",o),l=(0,Ie().fileURLToPath)(o);continue}let p=dO(l,{base:t,specifier:e});return p.exports!==void 0&&p.exports!==null?uO(o,s,p,t,r):s==="."?vEe(o,p,t):new(Ie()).URL(s,o)}while(l.length!==u.length);throw new ME(n,(0,Ie().fileURLToPath)(t),!1)}function BEe(e){return e[0]==="."&&(e.length===1||e[1]==="/"||e[1]==="."&&(e.length===2||e[2]==="/"))}function RE(e){return e===""?!1:e[0]==="/"?!0:BEe(e)}function xO(e,t,r,n){let s=t.protocol,a=s==="data:"||s==="http:"||s==="https:",o;if(RE(e))try{o=new(Ie()).URL(e,t)}catch(l){let u=new nO(e,t);throw u.cause=l,u}else if(s==="file:"&&e[0]==="#")o=NEe(e,t,r);else try{o=new(Ie()).URL(e)}catch(l){if(a&&!wf().builtinModules.includes(e)){let u=new nO(e,t);throw u.cause=l,u}o=TO(e,t,r)}return zn()(o!==void 0,"expected to be defined"),o.protocol!=="file:"?o:PEe(o,t,n)}function kEe(e,t,r){if(r){let n=r.protocol;if(n==="http:"||n==="https:"){if(RE(e)){let s=t==null?void 0:t.protocol;if(s&&s!=="https:"&&s!=="http:")throw new BE(e,r,"remote imports cannot import from a local location.");return{url:(t==null?void 0:t.href)||""}}throw wf().builtinModules.includes(e)?new BE(e,r,"remote imports cannot import from a local location."):new BE(e,r,"only relative and absolute specifiers are supported.")}}}function FEe(e){return!!(e&&typeof e=="object"&&"href"in e&&typeof e.href=="string"&&"protocol"in e&&typeof e.protocol=="string"&&e.href&&e.protocol)}function LEe(e){if(e!==void 0&&typeof e!="string"&&!FEe(e))throw new Er.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],e)}function jEe(e,t={}){let{parentURL:r}=t;zn()(r!==void 0,"expected `parentURL` to be defined"),LEe(r);let n;if(r)try{n=new(Ie()).URL(r)}catch{}let s,i;try{if(s=RE(e)?new(Ie()).URL(e,n):new(Ie()).URL(e),i=s.protocol,i==="data:")return{url:s.href,format:null}}catch{}let a=kEe(e,s,n);if(a)return a;if(i===void 0&&s&&(i=s.protocol),i==="node:")return{url:e};if(s&&s.protocol==="node:")return{url:e};let o=mEe(t.conditions),l=xO(e,new(Ie()).URL(r),o,!1);return{url:l.href,format:hO(l,{parentURL:r})}}function MEe(e,t){if(!t)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return jEe(e,{parentURL:t}).url}catch(r){let n=r;if((n.code==="ERR_UNSUPPORTED_DIR_IMPORT"||n.code==="ERR_MODULE_NOT_FOUND")&&typeof n.url=="string")return n.url;throw r}}});var NO=x(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.loadPlugin=JEe;ai.loadPreset=zEe;ai.resolvePreset=ai.resolvePlugin=void 0;function PO(){let e=Ti();return PO=function(){return e},e}function VE(){let e=require("path");return VE=function(){return e},e}var $E=Gs(),AO=IE();function UE(){let e=require("url");return UE=function(){return e},e}var REe=SO();require("module");function CO(){let e=require("fs");return CO=function(){return e},e}var DO=PO()("babel:config:loading:files:plugins"),qEe=/^module:/,UEe=/^(?!@|module:|[^/]+\/|babel-plugin-)/,VEe=/^(?!@|module:|[^/]+\/|babel-preset-)/,$Ee=/^(@babel\/)(?!plugin-|[^/]+\/)/,WEe=/^(@babel\/)(?!preset-|[^/]+\/)/,KEe=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/,HEe=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/,GEe=/^(@(?!babel$)[^/]+)$/,XEe=ai.resolvePlugin=IO.bind(null,"plugin"),YEe=ai.resolvePreset=IO.bind(null,"preset");function*JEe(e,t){let{filepath:r,loader:n}=XEe(e,t,yield*(0,$E.isAsync)()),s=yield*_O("plugin",n,r);return DO("Loaded plugin %o from %o.",e,t),{filepath:r,value:s}}function*zEe(e,t){let{filepath:r,loader:n}=YEe(e,t,yield*(0,$E.isAsync)()),s=yield*_O("preset",n,r);return DO("Loaded preset %o from %o.",e,t),{filepath:r,value:s}}function qE(e,t){if(VE().isAbsolute(t))return t;let r=e==="preset";return t.replace(r?VEe:UEe,`babel-${e}-`).replace(r?WEe:$Ee,`$1${e}-`).replace(r?HEe:KEe,`$1babel-${e}-`).replace(GEe,`$1/babel-${e}`).replace(qEe,"")}function*wO(e,t){let r=qE(e,t),{error:n,value:s}=yield r;if(!n)return s;if(n.code!=="MODULE_NOT_FOUND")throw n;r!==t&&!(yield t).error&&(n.message+=`
|
|
- If you want to resolve "${t}", use "module:${t}"`),(yield qE(e,"@babel/"+t)).error||(n.message+=`
|
|
- Did you mean "@babel/${t}"?`);let i=e==="preset"?"plugin":"preset";if((yield qE(i,t)).error||(n.message+=`
|
|
- Did you accidentally pass a ${i} as a ${e}?`),e==="plugin"){let a=r.replace("-proposal-","-transform-");a!==r&&!(yield a).error&&(n.message+=`
|
|
- Did you mean "${a}"?`)}throw n.message+=`
|
|
|
|
Make sure that all the Babel plugins and presets you are using
|
|
are defined as dependencies or devDependencies in your package.json
|
|
file. It's possible that the missing plugin is loaded by a preset
|
|
you are using that forgot to add the plugin to its dependencies: you
|
|
can workaround this problem by explicitly adding the missing package
|
|
to your top-level package.json.
|
|
`,n}function QEe(e,t){try{return t?{error:null,value:(((r,n)=>(r=r.split("."),n=n.split("."),+r[0]>+n[0]||r[0]==n[0]&&+r[1]>=+n[1]))(process.versions.node,"8.9")?require.resolve:(r,{paths:[n]},s=require("module"))=>{let i=s._findPath(r,s._nodeModulePaths(n).concat(n));if(i)return i;throw i=new Error(`Cannot resolve module '${r}'`),i.code="MODULE_NOT_FOUND",i})(e,{paths:[t]})}:{error:null,value:require.resolve(e)}}catch(r){return{error:r,value:null}}}function ZEe(e,t){try{return{error:null,value:(0,REe.resolve)(e,t)}}catch(r){return{error:r,value:null}}}function vO(e,t,r){let n=wO(e,t),s=n.next();for(;!s.done;)s=n.next(QEe(s.value,r));return{loader:"require",filepath:s.value}}function eTe(e,t,r){let n=(0,UE().pathToFileURL)(VE().join(r,"./babel-virtual-resolve-base.js")).href,s=wO(e,t),i=s.next();for(;!i.done;)i=s.next(ZEe(i.value,n));return{loader:"auto",filepath:(0,UE().fileURLToPath)(i.value)}}function IO(e,t,r,n){if(!AO.supportsESM||!n)return vO(e,t,r);try{let s=eTe(e,t,r);if(!(0,CO().existsSync)(s.filepath))throw Object.assign(new Error(`Could not resolve "${t}" in file ${r}.`),{type:"MODULE_NOT_FOUND"});return s}catch(s){try{return vO(e,t,r)}catch(i){throw s.type==="MODULE_NOT_FOUND"?s:i.type==="MODULE_NOT_FOUND"?i:s}}}Nf=new Set;var Nf;function*_O(e,t,r){if(!(yield*(0,$E.isAsync)())&&Nf.has(r))throw new Error(`Reentrant ${e} detected trying to load "${r}". This module is not ignored and is trying to load itself while compiling itself, leading to a dependency cycle. We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.`);try{return Nf.add(r),yield*(0,AO.default)(r,t,`You appear to be using a native ECMAScript module ${e}, which is only supported when running Babel asynchronously or when using the Node.js \`--experimental-require-module\` flag.`,`You appear to be using a ${e} that contains top-level await, which is only supported when running Babel asynchronously.`,!0)}catch(n){throw n.message=`[BABEL]: ${n.message} (While processing: ${r})`,n}finally{Nf.delete(r)}}});var Pl=x(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});Object.defineProperty(nn,"ROOT_CONFIG_FILENAMES",{enumerable:!0,get:function(){return uo.ROOT_CONFIG_FILENAMES}});Object.defineProperty(nn,"findConfigUpwards",{enumerable:!0,get:function(){return uo.findConfigUpwards}});Object.defineProperty(nn,"findPackageData",{enumerable:!0,get:function(){return tTe.findPackageData}});Object.defineProperty(nn,"findRelativeConfig",{enumerable:!0,get:function(){return uo.findRelativeConfig}});Object.defineProperty(nn,"findRootConfig",{enumerable:!0,get:function(){return uo.findRootConfig}});Object.defineProperty(nn,"loadConfig",{enumerable:!0,get:function(){return uo.loadConfig}});Object.defineProperty(nn,"loadPlugin",{enumerable:!0,get:function(){return Of.loadPlugin}});Object.defineProperty(nn,"loadPreset",{enumerable:!0,get:function(){return Of.loadPreset}});Object.defineProperty(nn,"resolvePlugin",{enumerable:!0,get:function(){return Of.resolvePlugin}});Object.defineProperty(nn,"resolvePreset",{enumerable:!0,get:function(){return Of.resolvePreset}});Object.defineProperty(nn,"resolveShowConfigPath",{enumerable:!0,get:function(){return uo.resolveShowConfigPath}});var tTe=G2(),uo=zN(),Of=NO()});var BO=x(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.transform=void 0;co.transformAsync=iTe;co.transformSync=sTe;function OO(){let e=Zr();return OO=function(){return e},e}var rTe=Qa(),nTe=tf(),Bf=fs(),kf=OO()(function*(t,r){let n=yield*(0,rTe.default)(r);return n===null?null:yield*(0,nTe.run)(n,t)}),o3e=co.transform=function(t,r,n){let s,i;if(typeof r=="function"?(i=r,s=void 0):(s=r,i=n),i===void 0)return(0,Bf.beginHiddenCallStack)(kf.sync)(t,s);(0,Bf.beginHiddenCallStack)(kf.errback)(t,s,i)};function sTe(...e){return(0,Bf.beginHiddenCallStack)(kf.sync)(...e)}function iTe(...e){return(0,Bf.beginHiddenCallStack)(kf.async)(...e)}});var FO=x(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.transformFromAst=void 0;po.transformFromAstAsync=uTe;po.transformFromAstSync=lTe;function kO(){let e=Zr();return kO=function(){return e},e}var aTe=Qa(),oTe=tf(),Ff=fs(),Lf=kO()(function*(e,t,r){let n=yield*(0,aTe.default)(r);if(n===null)return null;if(!e)throw new Error("No AST given");return yield*(0,oTe.run)(n,t,e)}),u3e=po.transformFromAst=function(t,r,n,s){let i,a;if(typeof n=="function"?(a=n,i=void 0):(i=n,a=s),a===void 0)return(0,Ff.beginHiddenCallStack)(Lf.sync)(t,r,i);(0,Ff.beginHiddenCallStack)(Lf.errback)(t,r,i,a)};function lTe(...e){return(0,Ff.beginHiddenCallStack)(Lf.sync)(...e)}function uTe(...e){return(0,Ff.beginHiddenCallStack)(Lf.async)(...e)}});var jO=x(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.parse=void 0;fo.parseAsync=hTe;fo.parseSync=dTe;function LO(){let e=Zr();return LO=function(){return e},e}var cTe=Qa(),pTe=o1(),fTe=r1(),jf=fs(),Mf=LO()(function*(t,r){let n=yield*(0,cTe.default)(r);return n===null?null:yield*(0,pTe.default)(n.passes,(0,fTe.default)(n),t)}),p3e=fo.parse=function(t,r,n){if(typeof r=="function"&&(n=r,r=void 0),n===void 0)return(0,jf.beginHiddenCallStack)(Mf.sync)(t,r);(0,jf.beginHiddenCallStack)(Mf.errback)(t,r,n)};function dTe(...e){return(0,jf.beginHiddenCallStack)(Mf.sync)(...e)}function hTe(...e){return(0,jf.beginHiddenCallStack)(Mf.async)(...e)}});var vt=x(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.DEFAULT_EXTENSIONS=void 0;Object.defineProperty(We,"File",{enumerable:!0,get:function(){return mTe.default}});Object.defineProperty(We,"buildExternalHelpers",{enumerable:!0,get:function(){return yTe.default}});Object.defineProperty(We,"createConfigItem",{enumerable:!0,get:function(){return Qn.createConfigItem}});Object.defineProperty(We,"createConfigItemAsync",{enumerable:!0,get:function(){return Qn.createConfigItemAsync}});Object.defineProperty(We,"createConfigItemSync",{enumerable:!0,get:function(){return Qn.createConfigItemSync}});Object.defineProperty(We,"getEnv",{enumerable:!0,get:function(){return gTe.getEnv}});Object.defineProperty(We,"loadOptions",{enumerable:!0,get:function(){return Qn.loadOptions}});Object.defineProperty(We,"loadOptionsAsync",{enumerable:!0,get:function(){return Qn.loadOptionsAsync}});Object.defineProperty(We,"loadOptionsSync",{enumerable:!0,get:function(){return Qn.loadOptionsSync}});Object.defineProperty(We,"loadPartialConfig",{enumerable:!0,get:function(){return Qn.loadPartialConfig}});Object.defineProperty(We,"loadPartialConfigAsync",{enumerable:!0,get:function(){return Qn.loadPartialConfigAsync}});Object.defineProperty(We,"loadPartialConfigSync",{enumerable:!0,get:function(){return Qn.loadPartialConfigSync}});Object.defineProperty(We,"parse",{enumerable:!0,get:function(){return GE.parse}});Object.defineProperty(We,"parseAsync",{enumerable:!0,get:function(){return GE.parseAsync}});Object.defineProperty(We,"parseSync",{enumerable:!0,get:function(){return GE.parseSync}});We.resolvePreset=We.resolvePlugin=void 0;Object.defineProperty(We,"template",{enumerable:!0,get:function(){return VO().default}});Object.defineProperty(We,"tokTypes",{enumerable:!0,get:function(){return qO().tokTypes}});Object.defineProperty(We,"transform",{enumerable:!0,get:function(){return WE.transform}});Object.defineProperty(We,"transformAsync",{enumerable:!0,get:function(){return WE.transformAsync}});Object.defineProperty(We,"transformFile",{enumerable:!0,get:function(){return KE.transformFile}});Object.defineProperty(We,"transformFileAsync",{enumerable:!0,get:function(){return KE.transformFileAsync}});Object.defineProperty(We,"transformFileSync",{enumerable:!0,get:function(){return KE.transformFileSync}});Object.defineProperty(We,"transformFromAst",{enumerable:!0,get:function(){return HE.transformFromAst}});Object.defineProperty(We,"transformFromAstAsync",{enumerable:!0,get:function(){return HE.transformFromAstAsync}});Object.defineProperty(We,"transformFromAstSync",{enumerable:!0,get:function(){return HE.transformFromAstSync}});Object.defineProperty(We,"transformSync",{enumerable:!0,get:function(){return WE.transformSync}});Object.defineProperty(We,"traverse",{enumerable:!0,get:function(){return UO().default}});We.version=We.types=void 0;var mTe=cg(),yTe=T2(),MO=Pl(),gTe=Wb();function RO(){let e=Fe();return RO=function(){return e},e}Object.defineProperty(We,"types",{enumerable:!0,get:function(){return RO()}});function qO(){let e=Ro();return qO=function(){return e},e}function UO(){let e=zt();return UO=function(){return e},e}function VO(){let e=$o();return VO=function(){return e},e}var Qn=Qa(),WE=BO(),KE=P1(),HE=FO(),GE=jO(),d3e=We.version="7.28.0",bTe=(e,t)=>MO.resolvePlugin(e,t,!1).filepath;We.resolvePlugin=bTe;var ETe=(e,t)=>MO.resolvePreset(e,t,!1).filepath;We.resolvePreset=ETe;var h3e=We.DEFAULT_EXTENSIONS=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);We.OptionManager=class{init(t){return(0,Qn.loadOptionsSync)(t)}},We.Plugin=function(t){throw new Error(`The (${t}) Babel 5 plugin is being run with an unsupported Babel version.`)}});var $O=x(Rf=>{"use strict";Object.defineProperty(Rf,"__esModule",{value:!0});Rf.default=void 0;var TTe=Ft(),g3e=Rf.default=(0,TTe.declare)((e,{deprecatedAssertSyntax:t})=>{if(e.assertVersion("^7.22.0 || >8.0.0-alpha <8.0.0-beta"),t!=null&&typeof t!="boolean")throw new Error("'deprecatedAssertSyntax' must be a boolean, if specified.");return{name:"syntax-import-attributes",manipulateOptions({parserOpts:r,generatorOpts:n}){var s;(s=n.importAttributesKeyword)!=null||(n.importAttributesKeyword="with");let i=r.plugins.indexOf("importAssertions");i!==-1&&(r.plugins.splice(i,1),t=!0),t?r.plugins.push("deprecatedImportAssert",["importAttributes",{deprecatedAssertSyntax:!0}]):r.plugins.push("importAttributes")}}})});var WO=x(qf=>{"use strict";Object.defineProperty(qf,"__esModule",{value:!0});qf.default=void 0;var xTe=Ft(),E3e=qf.default=(0,xTe.declare)((e,t)=>{e.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");let{version:r}=t;{let{legacy:s}=t;if(s!==void 0){if(typeof s!="boolean")throw new Error(".legacy must be a boolean.");if(r!==void 0)throw new Error("You can either use the .legacy or the .version option, not both.")}if(r===void 0)r=s?"legacy":"2018-09";else if(r!=="2023-11"&&r!=="2023-05"&&r!=="2023-01"&&r!=="2022-03"&&r!=="2021-12"&&r!=="2018-09"&&r!=="legacy")throw new Error("Unsupported decorators version: "+r);var{decoratorsBeforeExport:n}=t;if(n===void 0){if(r==="2021-12"||r==="2022-03")n=!1;else if(r==="2018-09")throw new Error("The decorators plugin, when .version is '2018-09' or not specified, requires a 'decoratorsBeforeExport' option, whose value must be a boolean.")}else{if(r==="legacy"||r==="2022-03"||r==="2023-01")throw new Error(`'decoratorsBeforeExport' can't be used with ${r} decorators.`);if(typeof n!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean.")}}return{name:"syntax-decorators",manipulateOptions({generatorOpts:s},i){r==="legacy"?i.plugins.push("decorators-legacy"):r==="2023-01"||r==="2023-05"||r==="2023-11"?i.plugins.push(["decorators",{allowCallParenthesized:!1}],"decoratorAutoAccessors"):r==="2022-03"?i.plugins.push(["decorators",{decoratorsBeforeExport:!1,allowCallParenthesized:!1}],"decoratorAutoAccessors"):r==="2021-12"?(i.plugins.push(["decorators",{decoratorsBeforeExport:n}],"decoratorAutoAccessors"),s.decoratorsBeforeExport=n):r==="2018-09"&&(i.plugins.push(["decorators",{decoratorsBeforeExport:n}]),s.decoratorsBeforeExport=n)}}})});var YO=x(Uf=>{"use strict";Object.defineProperty(Uf,"__esModule",{value:!0});Uf.default=void 0;var ge=vt(),STe=ge.template.statement(`
|
|
DECORATOR(CLASS_REF = INNER) || CLASS_REF;
|
|
`),vTe=(0,ge.template)(`
|
|
CLASS_REF.prototype;
|
|
`),PTe=(0,ge.template)(`
|
|
Object.getOwnPropertyDescriptor(TARGET, PROPERTY);
|
|
`),ATe=(0,ge.template)(`
|
|
(TEMP = Object.getOwnPropertyDescriptor(TARGET, PROPERTY), (TEMP = TEMP ? TEMP.value : undefined), {
|
|
enumerable: true,
|
|
configurable: true,
|
|
writable: true,
|
|
initializer: function(){
|
|
return TEMP;
|
|
}
|
|
})
|
|
`),XE=new WeakSet;function KO(e){let r=(e.isClass()?[e,...e.get("body.body")]:e.get("properties")).reduce((n,s)=>n.concat(s.node.decorators||[]),[]).filter(n=>!ge.types.isIdentifier(n.expression));if(r.length!==0)return ge.types.sequenceExpression(r.map(n=>{let s=n.expression,i=n.expression=e.scope.generateDeclaredUidIdentifier("dec");return ge.types.assignmentExpression("=",i,s)}).concat([e.node]))}function CTe(e){if(!GO(e.node))return;let t=e.node.decorators||[];e.node.decorators=null;let r=e.scope.generateDeclaredUidIdentifier("class");return t.map(n=>n.expression).reverse().reduce(function(n,s){return STe({CLASS_REF:ge.types.cloneNode(r),DECORATOR:ge.types.cloneNode(s),INNER:n}).expression},e.node)}function GO(e){var t;return!!((t=e.decorators)!=null&&t.length)}function DTe(e,t){if(YE(e.node.body.body))return XO(e,t,e.node.body.body)}function YE(e){return e.some(t=>{var r;return(r=t.decorators)==null?void 0:r.length})}function wTe(e,t){if(YE(e.node.properties))return XO(e,t,e.node.properties.filter(r=>r.type!=="SpreadElement"))}function XO(e,t,r){let n=e.scope.generateDeclaredUidIdentifier(e.isClass()?"class":"obj"),s=r.reduce(function(i,a){let o=[];if(a.decorators!=null&&(o=a.decorators,a.decorators=null),o.length===0)return i;if(a.computed)throw e.buildCodeFrameError("Computed method/property decorators are not yet supported.");let l=ge.types.isLiteral(a.key)?a.key:ge.types.stringLiteral(a.key.name),u=e.isClass()&&!a.static?vTe({CLASS_REF:n}).expression:n;if(ge.types.isClassProperty(a,{static:!1})){let c=e.scope.generateDeclaredUidIdentifier("descriptor"),p=a.value?ge.types.functionExpression(null,[],ge.types.blockStatement([ge.types.returnStatement(a.value)])):ge.types.nullLiteral();a.value=ge.types.callExpression(t.addHelper("initializerWarningHelper"),[c,ge.types.thisExpression()]),XE.add(a.value),i.push(ge.types.assignmentExpression("=",ge.types.cloneNode(c),ge.types.callExpression(t.addHelper("applyDecoratedDescriptor"),[ge.types.cloneNode(u),ge.types.cloneNode(l),ge.types.arrayExpression(o.map(d=>ge.types.cloneNode(d.expression))),ge.types.objectExpression([ge.types.objectProperty(ge.types.identifier("configurable"),ge.types.booleanLiteral(!0)),ge.types.objectProperty(ge.types.identifier("enumerable"),ge.types.booleanLiteral(!0)),ge.types.objectProperty(ge.types.identifier("writable"),ge.types.booleanLiteral(!0)),ge.types.objectProperty(ge.types.identifier("initializer"),p)])])))}else i.push(ge.types.callExpression(t.addHelper("applyDecoratedDescriptor"),[ge.types.cloneNode(u),ge.types.cloneNode(l),ge.types.arrayExpression(o.map(c=>ge.types.cloneNode(c.expression))),ge.types.isObjectProperty(a)||ge.types.isClassProperty(a,{static:!0})?ATe({TEMP:e.scope.generateDeclaredUidIdentifier("init"),TARGET:ge.types.cloneNode(u),PROPERTY:ge.types.cloneNode(l)}).expression:PTe({TARGET:ge.types.cloneNode(u),PROPERTY:ge.types.cloneNode(l)}).expression,ge.types.cloneNode(u)]));return i},[]);return ge.types.sequenceExpression([ge.types.assignmentExpression("=",ge.types.cloneNode(n),e.node),ge.types.sequenceExpression(s),ge.types.cloneNode(n)])}function HO({node:e,scope:t}){if(!GO(e)&&!YE(e.body.body))return;let r=e.id?ge.types.cloneNode(e.id):t.generateUidIdentifier("class");return ge.types.variableDeclaration("let",[ge.types.variableDeclarator(r,ge.types.toExpression(e))])}var ITe={ExportDefaultDeclaration(e){let t=e.get("declaration");if(!t.isClassDeclaration())return;let r=HO(t);if(r){let[n]=e.replaceWithMultiple([r,ge.types.exportNamedDeclaration(null,[ge.types.exportSpecifier(ge.types.cloneNode(r.declarations[0].id),ge.types.identifier("default"))])]);t.node.id||e.scope.registerDeclaration(n)}},ClassDeclaration(e){let t=HO(e);if(t){let[r]=e.replaceWith(t),n=r.get("declarations.0"),s=n.node.id,i=e.scope.getOwnBinding(s.name);i.identifier=s,i.path=n}},ClassExpression(e,t){let r=KO(e)||CTe(e)||DTe(e,t);r&&e.replaceWith(r)},ObjectExpression(e,t){let r=KO(e)||wTe(e,t);r&&e.replaceWith(r)},AssignmentExpression(e,t){XE.has(e.node.right)&&e.replaceWith(ge.types.callExpression(t.addHelper("initializerDefineProperty"),[ge.types.cloneNode(e.get("left.object").node),ge.types.stringLiteral(e.get("left.property").node.name||e.get("left.property").node.value),ge.types.cloneNode(e.get("right.arguments")[0].node),ge.types.cloneNode(e.get("right.arguments")[1].node)]))},CallExpression(e,t){e.node.arguments.length===3&&XE.has(e.node.arguments[2])&&e.node.callee.name===t.addHelper("defineProperty").name&&e.replaceWith(ge.types.callExpression(t.addHelper("initializerDefineProperty"),[ge.types.cloneNode(e.get("arguments")[0].node),ge.types.cloneNode(e.get("arguments")[1].node),ge.types.cloneNode(e.get("arguments.2.arguments")[0].node),ge.types.cloneNode(e.get("arguments.2.arguments")[1].node)]))}},x3e=Uf.default=ITe});var QO=x(Vf=>{"use strict";Object.defineProperty(Vf,"__esModule",{value:!0});Vf.default=void 0;var _Te=Ft(),JO=WO(),zO=so(),NTe=YO(),v3e=Vf.default=(0,_Te.declare)((e,t)=>{e.assertVersion(7);var{legacy:r}=t;let{version:n}=t;if(r||n==="legacy")return{name:"proposal-decorators",inherits:JO.default,visitor:NTe.default};if(!n||n==="2018-09"||n==="2021-12"||n==="2022-03"||n==="2023-01"||n==="2023-05"||n==="2023-11")return e.assertVersion("^7.0.2"),(0,zO.createClassFeaturePlugin)({name:"proposal-decorators",api:e,feature:zO.FEATURES.decorators,inherits:JO.default,decoratorVersion:n});throw new Error("The '.version' option must be one of 'legacy', '2023-11', '2023-05', '2023-01', '2022-03', or '2021-12'.")})});var s3=x(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});var OTe=Ft(),K=vt();function ZO(e){return K.types.isUnaryExpression(e)&&e.operator==="void"&&K.types.isPureish(e.argument)}function JE(e,t){e.ensureBlock();let{scope:r,node:n}=e,s=e.get("body").scope.bindings;Object.keys(s).some(a=>r.hasBinding(a))?n.body=K.types.blockStatement([...t,n.body]):n.body.body.unshift(...t)}function e3(e){return e.elements.some(t=>K.types.isRestElement(t))}function BTe(e){return e.properties.some(t=>K.types.isRestElement(t))}var r3={},kTe=(e,t,r)=>{if(t.length&&K.types.isIdentifier(e)&&K.types.isReferenced(e,t[t.length-1].node)&&r.bindings[e.name])throw r.deopt=!0,r3},ho=class{constructor(t){this.blockHoist=void 0,this.operator=void 0,this.arrayRefSet=void 0,this.nodes=void 0,this.scope=void 0,this.kind=void 0,this.iterableIsArray=void 0,this.arrayLikeIsIterable=void 0,this.objectRestNoSymbols=void 0,this.useBuiltIns=void 0,this.addHelper=void 0,this.blockHoist=t.blockHoist,this.operator=t.operator,this.arrayRefSet=new Set,this.nodes=t.nodes||[],this.scope=t.scope,this.kind=t.kind,this.iterableIsArray=t.iterableIsArray,this.arrayLikeIsIterable=t.arrayLikeIsIterable,this.objectRestNoSymbols=t.objectRestNoSymbols,this.useBuiltIns=t.useBuiltIns,this.addHelper=t.addHelper}getExtendsHelper(){return this.useBuiltIns?K.types.memberExpression(K.types.identifier("Object"),K.types.identifier("assign")):this.addHelper("extends")}buildVariableAssignment(t,r){let n=this.operator;(K.types.isMemberExpression(t)||K.types.isOptionalMemberExpression(t))&&(n="=");let s;if(n)s=K.types.expressionStatement(K.types.assignmentExpression(n,t,K.types.cloneNode(r)||this.scope.buildUndefinedNode()));else{let i;this.kind==="const"&&r===null?i=this.scope.buildUndefinedNode():i=K.types.cloneNode(r),s=K.types.variableDeclaration(this.kind,[K.types.variableDeclarator(t,i)])}return s._blockHoist=this.blockHoist,s}buildVariableDeclaration(t,r){let n=K.types.variableDeclaration("var",[K.types.variableDeclarator(K.types.cloneNode(t),K.types.cloneNode(r))]);return n._blockHoist=this.blockHoist,n}push(t,r){let n=K.types.cloneNode(r);K.types.isObjectPattern(t)?this.pushObjectPattern(t,n):K.types.isArrayPattern(t)?this.pushArrayPattern(t,n):K.types.isAssignmentPattern(t)?this.pushAssignmentPattern(t,n):this.nodes.push(this.buildVariableAssignment(t,n))}toArray(t,r){if(this.iterableIsArray||K.types.isIdentifier(t)&&this.arrayRefSet.has(t.name))return t;{let{scope:n,arrayLikeIsIterable:s}=this;if(K.types.isIdentifier(t)){let o=n.getBinding(t.name);if(o!=null&&o.constant&&o.path.isGenericType("Array"))return t}if(K.types.isArrayExpression(t))return t;if(K.types.isIdentifier(t,{name:"arguments"}))return K.template.expression.ast`
|
|
Array.prototype.slice.call(${t})
|
|
`;let i,a=[t];return typeof r=="number"?(a.push(K.types.numericLiteral(r)),i="slicedToArray"):i="toArray",s&&(a.unshift(n.path.hub.addHelper(i)),i="maybeArrayLike"),K.types.callExpression(n.path.hub.addHelper(i),a)}}pushAssignmentPattern({left:t,right:r},n){if(ZO(n)){this.push(t,r);return}let s=this.scope.generateUidIdentifierBasedOnNode(n);this.nodes.push(this.buildVariableDeclaration(s,n));let i=K.types.conditionalExpression(K.types.binaryExpression("===",K.types.cloneNode(s),this.scope.buildUndefinedNode()),r,K.types.cloneNode(s));if(K.types.isPattern(t)){let a,o;this.kind==="const"||this.kind==="let"?(a=this.scope.generateUidIdentifier(s.name),o=this.buildVariableDeclaration(a,i)):(a=s,o=K.types.expressionStatement(K.types.assignmentExpression("=",K.types.cloneNode(s),i))),this.nodes.push(o),this.push(t,a)}else this.nodes.push(this.buildVariableAssignment(t,i))}pushObjectRest(t,r,n,s){let i=n3(t.properties.slice(0,s),r,this.scope,a=>this.addHelper(a),this.objectRestNoSymbols,this.useBuiltIns);this.nodes.push(this.buildVariableAssignment(n.argument,i))}pushObjectProperty(t,r){K.types.isLiteral(t.key)&&(t.computed=!0);let n=t.value,s=K.types.memberExpression(K.types.cloneNode(r),t.key,t.computed);K.types.isPattern(n)?this.push(n,s):this.nodes.push(this.buildVariableAssignment(n,s))}pushObjectPattern(t,r){if(!t.properties.length){this.nodes.push(K.types.expressionStatement(K.types.callExpression(this.addHelper("objectDestructuringEmpty"),ZO(r)?[]:[r])));return}if(t.properties.length>1&&!this.scope.isStatic(r)){let n=this.scope.generateUidIdentifierBasedOnNode(r);this.nodes.push(this.buildVariableDeclaration(n,r)),r=n}if(BTe(t)){let n;for(let s=0;s<t.properties.length;s++){let i=t.properties[s];if(K.types.isRestElement(i))break;let a=i.key;if(i.computed&&!this.scope.isPure(a)){let o=this.scope.generateUidIdentifierBasedOnNode(a);this.nodes.push(this.buildVariableDeclaration(o,a)),n||(n=t=Object.assign({},t,{properties:t.properties.slice()})),n.properties[s]=Object.assign({},i,{key:o})}}}for(let n=0;n<t.properties.length;n++){let s=t.properties[n];K.types.isRestElement(s)?this.pushObjectRest(t,r,s,n):this.pushObjectProperty(s,r)}}canUnpackArrayPattern(t,r){if(!K.types.isArrayExpression(r))return!1;if(t.elements.length>r.elements.length)return;if(t.elements.length<r.elements.length&&!e3(t))return!1;for(let i of t.elements)if(!i||K.types.isMemberExpression(i))return!1;for(let i of r.elements)if(K.types.isSpreadElement(i)||K.types.isCallExpression(i)||K.types.isMemberExpression(i))return!1;let s={deopt:!1,bindings:K.types.getBindingIdentifiers(t)};try{K.types.traverse(r,kTe,s)}catch(i){if(i!==r3)throw i}return!s.deopt}pushUnpackedArrayPattern(t,r){let n=s=>s!=null?s:this.scope.buildUndefinedNode();for(let s=0;s<t.elements.length;s++){let i=t.elements[s];K.types.isRestElement(i)?this.push(i.argument,K.types.arrayExpression(r.elements.slice(s).map(n))):this.push(i,n(r.elements[s]))}}pushArrayPattern(t,r){if(r===null){this.nodes.push(K.types.expressionStatement(K.types.callExpression(this.addHelper("objectDestructuringEmpty"),[])));return}if(!t.elements)return;if(this.canUnpackArrayPattern(t,r)){this.pushUnpackedArrayPattern(t,r);return}let n=!e3(t)&&t.elements.length,s=this.toArray(r,n);K.types.isIdentifier(s)?r=s:(r=this.scope.generateUidIdentifierBasedOnNode(r),this.arrayRefSet.add(r.name),this.nodes.push(this.buildVariableDeclaration(r,s)));for(let i=0;i<t.elements.length;i++){let a=t.elements[i];if(!a)continue;let o;K.types.isRestElement(a)?(o=this.toArray(r),o=K.types.callExpression(K.types.memberExpression(o,K.types.identifier("slice")),[K.types.numericLiteral(i)]),this.push(a.argument,o)):(o=K.types.memberExpression(r,K.types.numericLiteral(i),!0),this.push(a,o))}}init(t,r){if(!K.types.isArrayExpression(r)&&!K.types.isMemberExpression(r)){let n=this.scope.maybeGenerateMemoised(r,!0);n&&(this.nodes.push(this.buildVariableDeclaration(n,K.types.cloneNode(r))),r=n)}return this.push(t,r),this.nodes}};function n3(e,t,r,n,s,i){let a=[],o=!0,l=!1;for(let c=0;c<e.length;c++){let p=e[c],d=p.key;K.types.isIdentifier(d)&&!p.computed?a.push(K.types.stringLiteral(d.name)):K.types.isTemplateLiteral(d)?(a.push(K.types.cloneNode(d)),l=!0):K.types.isLiteral(d)?a.push(K.types.stringLiteral(String(d.value))):K.types.isPrivateName(d)||(a.push(K.types.cloneNode(d)),o=!1)}let u;if(a.length===0){let c=i?K.types.memberExpression(K.types.identifier("Object"),K.types.identifier("assign")):n("extends");u=K.types.callExpression(c,[K.types.objectExpression([]),K.types.sequenceExpression([K.types.callExpression(n("objectDestructuringEmpty"),[K.types.cloneNode(t)]),K.types.cloneNode(t)])])}else{let c=K.types.arrayExpression(a);if(!o)c=K.types.callExpression(K.types.memberExpression(c,K.types.identifier("map")),[n("toPropertyKey")]);else if(!l&&!K.types.isProgram(r.block)){let p=r.getProgramParent(),d=p.generateUidIdentifier("excluded");p.push({id:d,init:c,kind:"const"}),c=K.types.cloneNode(d)}u=K.types.callExpression(n(`objectWithoutProperties${s?"Loose":""}`),[K.types.cloneNode(t),c])}return u}function FTe(e,t,r,n,s,i){let{node:a,scope:o}=e,l=a.kind,u=a.loc,c=[];for(let m=0;m<a.declarations.length;m++){let g=a.declarations[m],f=g.init,b=g.id,T=new ho({blockHoist:a._blockHoist,nodes:c,scope:o,kind:a.kind,iterableIsArray:n,arrayLikeIsIterable:r,useBuiltIns:i,objectRestNoSymbols:s,addHelper:t});K.types.isPattern(b)?(T.init(b,f),+m!==a.declarations.length-1&&K.types.inherits(c[c.length-1],g)):c.push(K.types.inherits(T.buildVariableAssignment(b,f),g))}let p=null,d=[];for(let m of c){if(K.types.isVariableDeclaration(m))if(p!==null){p.declarations.push(...m.declarations);continue}else m.kind=l,p=m;else p=null;m.loc||(m.loc=u),d.push(m)}if(d.length===2&&K.types.isVariableDeclaration(d[0])&&K.types.isExpressionStatement(d[1])&&K.types.isCallExpression(d[1].expression)&&d[0].declarations.length===1){let m=d[1].expression;m.arguments=[d[0].declarations[0].init],d=[m]}else if(K.types.isForStatement(e.parent,{init:a})&&!d.some(m=>K.types.isVariableDeclaration(m)))for(let m=0;m<d.length;m++){let g=d[m];K.types.isExpressionStatement(g)&&(d[m]=g.expression)}d.length===1?e.replaceWith(d[0]):e.replaceWithMultiple(d),o.crawl()}function LTe(e,t,r,n,s,i){let{node:a,scope:o,parentPath:l}=e,u=[],c=new ho({operator:a.operator,scope:o,nodes:u,arrayLikeIsIterable:r,iterableIsArray:n,objectRestNoSymbols:s,useBuiltIns:i,addHelper:t}),p;(!l.isExpressionStatement()&&!l.isSequenceExpression()||e.isCompletionRecord())&&(p=o.generateUidIdentifierBasedOnNode(a.right,"ref"),u.push(K.types.variableDeclaration("var",[K.types.variableDeclarator(p,a.right)])),K.types.isArrayExpression(a.right)&&c.arrayRefSet.add(p.name)),c.init(a.left,p||a.right),p&&(l.isArrowFunctionExpression()?(e.replaceWith(K.types.blockStatement([])),u.push(K.types.returnStatement(K.types.cloneNode(p)))):u.push(K.types.expressionStatement(K.types.cloneNode(p)))),e.replaceWithMultiple(u),o.crawl()}function t3(e){for(let t of e.declarations)if(K.types.isPattern(t.id)&&t.id.type!=="VoidPattern")return!0;return!1}var jTe=OTe.declare((e,t)=>{var r,n,s,i,a,o;e.assertVersion(7);let{useBuiltIns:l=!1}=t,u=(r=(n=e.assumption("iterableIsArray"))!=null?n:t.loose)!=null?r:!1,c=(s=(i=t.allowArrayLike)!=null?i:e.assumption("arrayLikeIsIterable"))!=null?s:!1,p=(a=(o=e.assumption("objectRestNoSymbols"))!=null?o:t.loose)!=null?a:!1;return{name:"transform-destructuring",visitor:{ExportNamedDeclaration(d){let m=d.get("declaration");if(m.isVariableDeclaration()&&t3(m.node)){{var g;(g=d.splitExportDeclaration)!=null||(d.splitExportDeclaration=zt().NodePath.prototype.splitExportDeclaration)}d.splitExportDeclaration()}},ForXStatement(d){let{node:m,scope:g}=d,f=m.left;if(K.types.isPattern(f)){let N=g.generateUidIdentifier("ref");m.left=K.types.variableDeclaration("var",[K.types.variableDeclarator(N)]),d.ensureBlock();let L=d.node.body.body,W=[];L.length===0&&d.isCompletionRecord()&&W.unshift(K.types.expressionStatement(g.buildUndefinedNode())),W.unshift(K.types.expressionStatement(K.types.assignmentExpression("=",f,K.types.cloneNode(N)))),JE(d,W),g.crawl();return}if(!K.types.isVariableDeclaration(f))return;let b=f.declarations[0].id;if(!K.types.isPattern(b)||b.type==="VoidPattern")return;let T=g.generateUidIdentifier("ref");m.left=K.types.variableDeclaration(f.kind,[K.types.variableDeclarator(T,null)]);let w=[];new ho({kind:f.kind,scope:g,nodes:w,arrayLikeIsIterable:c,iterableIsArray:u,objectRestNoSymbols:p,useBuiltIns:l,addHelper:N=>this.addHelper(N)}).init(b,T),JE(d,w),g.crawl()},CatchClause({node:d,scope:m}){let g=d.param;if(!K.types.isPattern(g))return;let f=m.generateUidIdentifier("ref");d.param=f;let b=[];new ho({kind:"let",scope:m,nodes:b,arrayLikeIsIterable:c,iterableIsArray:u,objectRestNoSymbols:p,useBuiltIns:l,addHelper:w=>this.addHelper(w)}).init(g,f),d.body.body=[...b,...d.body.body],m.crawl()},AssignmentExpression(d,m){K.types.isPattern(d.node.left)&<e(d,g=>m.addHelper(g),c,u,p,l)},VariableDeclaration(d,m){let{node:g,parent:f}=d;K.types.isForXStatement(f)||!f||!d.container||t3(g)&&FTe(d,b=>m.addHelper(b),c,u,p,l)}}}});Jl.buildObjectExcludingKeys=n3;Jl.default=jTe;Jl.unshiftForXStatementBody=JE});var i3=x($f=>{"use strict";Object.defineProperty($f,"__esModule",{value:!0});$f.default=void 0;var MTe=Ft(),RTe=s3(),Re=vt();function qTe(e){return Re.types.isArrowFunctionExpression(e)||(Re.types.isFunctionExpression(e)||Re.types.isClassExpression(e))&&!e.id}function UTe(e,t,r){return Re.types.callExpression(e.addHelper("setFunctionName"),[t,Re.types.stringLiteral(r)])}var C3e=$f.default=(0,MTe.declare)(e=>{e.assertVersion("^7.23.9 || >8.0.0-alpha <8.0.0-beta");let t=new Map;function r(i){return Re.types.isVariableDeclaration(i)?i.kind==="using"||i.kind==="await using"||t.has(i):!1}let n={ForOfStatement(i){let{left:a}=i.node;if(!r(a))return;let{id:o}=a.declarations[0],l=i.scope.generateUidIdentifierBasedOnNode(o);a.declarations[0].id=l,a.kind="const",i.ensureBlock(),(0,RTe.unshiftForXStatementBody)(i,[Re.types.variableDeclaration("using",[Re.types.variableDeclarator(o,Re.types.cloneNode(l))])])},"BlockStatement|StaticBlock"(i,a){let o=null,l=!1,u=i.scope;for(let m of i.node.body){if(!r(m))continue;o!=null||(o=u.generateUidIdentifier("usingCtx"));let g=m.kind==="await using"||t.get(m)===1;l||(l=g),t.delete(m)||(m.kind="const");for(let f of m.declarations){let b=f.init;f.init=Re.types.callExpression(Re.types.memberExpression(Re.types.cloneNode(o),g?Re.types.identifier("a"):Re.types.identifier("u")),[qTe(b)&&Re.types.isIdentifier(f.id)?UTe(a,b,f.id.name):b])}}if(!o)return;let c=Re.types.callExpression(Re.types.memberExpression(Re.types.cloneNode(o),Re.types.identifier("d")),[]),p=Re.template.statement.ast`
|
|
try {
|
|
var ${Re.types.cloneNode(o)} = ${a.addHelper("usingCtx")}();
|
|
${i.node.body}
|
|
} catch (_) {
|
|
${Re.types.cloneNode(o)}.e = _;
|
|
} finally {
|
|
${l?Re.types.awaitExpression(c):c}
|
|
}
|
|
`;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`{
|
|
fileName: ${e},
|
|
lineNumber: ${n},
|
|
columnNumber: ${s},
|
|
}`}function A3(e,t){let r=`transform-react-jsx-${t.slice(2)}`;return e.buildCodeFrameError(`Duplicate ${t} prop found. You are most likely using the deprecated ${r} Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.`)}});var D3=x(rd=>{"use strict";Object.defineProperty(rd,"__esModule",{value:!0});rd.default=void 0;var vxe=C3(),X3e=rd.default=(0,vxe.default)({name:"transform-react-jsx",development:!1})});var Dxe={};U3(Dxe,{babelParse:()=>Cxe,babelTransform:()=>Axe,codeFrameColumns:()=>O3.codeFrameColumns,declare:()=>B3.declare,traverse:()=>Pxe,types:()=>k3.types});module.exports=V3(Dxe);var w3=ci(require("path")),nd=ci(vt()),I3=ci(zt()),O3=ci(Ta()),B3=ci(Ft()),k3=ci(vt()),Pxe=I3.default;function _3(e,t,r,n){let s=[[$O(),{deprecatedAssertSyntax:!0}]];return e&&s.push([QO(),{version:"2023-05"}],[i3()],[o3()],[u3()],[p3()],[f3()],[d3()],[y3()],[b3()],[E3()],[T3()],[x3()],[S3()],[v3()],[({template:i})=>({name:"replace-ts-export-assignment",visitor:{TSExportAssignment(a){a.replaceWith(i("module.exports = ASSIGNMENT;")({ASSIGNMENT:a.node.expression}))}}})]),s.push([D3(),{throwIfNamespace:!1,runtime:"automatic",importSource:w3.default.dirname(require.resolve("playwright"))}]),t||(s.push([TE()]),s.push([()=>({name:"css-to-identity-obj-proxy",visitor:{ImportDeclaration(i){i.node.source.value.match(/\.(css|less|scss)$/)&&i.remove()}}})])),{browserslistConfigFile:!1,babelrc:!1,configFile:!1,assumptions:{setPublicClassFields:!0},presets:e?[[SE(),{onlyRemoveTypeImports:!1}]]:[],plugins:[...r.map(([i,a])=>[require(i),a]),...s,...n.map(([i,a])=>[require(i),a])],compact:!1,sourceMaps:"both"}}var tT=!1;function N3(e){return e.endsWith(".ts")||e.endsWith(".tsx")||e.endsWith(".mts")||e.endsWith(".cts")}function Axe(e,t,r,n,s){if(tT)return null;tT=!0;try{let i=_3(N3(t),r,n,s);return nd.transform(e,{filename:t,...i})}finally{tT=!1}}function Cxe(e,t,r){let n=_3(N3(t),r,[],[]);return nd.parse(e,{filename:t,...n})}0&&(module.exports={babelParse,babelTransform,codeFrameColumns,declare,traverse,types});
|