@junobuild/config-loader 0.1.3 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,430 +1,4 @@
1
1
  import { createRequire as topLevelCreateRequire } from 'module';
2
2
  const require = topLevelCreateRequire(import.meta.url);
3
- var eB=Object.create;var xv=Object.defineProperty;var tB=Object.getOwnPropertyDescriptor;var rB=Object.getOwnPropertyNames;var nB=Object.getPrototypeOf,sB=Object.prototype.hasOwnProperty;var me=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var E=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var iB=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of rB(t))!sB.call(e,s)&&s!==r&&xv(e,s,{get:()=>t[s],enumerable:!(n=tB(t,s))||n.enumerable});return e};var yd=(e,t,r)=>(r=e!=null?eB(nB(e)):{},iB(t||!e||!e.__esModule?xv(r,"default",{value:e,enumerable:!0}):r,e));var yu=E(gd=>{"use strict";Object.defineProperty(gd,"__esModule",{value:!0});gd.default=aB;function aB(e,t){let r=Object.keys(t);for(let n of r)if(e[n]!==t[n])return!1;return!0}});var xo=E(bd=>{"use strict";Object.defineProperty(bd,"__esModule",{value:!0});bd.default=oB;var Pv=new Set;function oB(e,t,r=""){if(Pv.has(e))return;Pv.add(e);let{internal:n,trace:s}=lB(1,2);n||console.warn(`${r}\`${e}\` has been deprecated, please migrate to \`${t}\`
4
- ${s}`)}function lB(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(`
5
- `)}}});var $t=E(v=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});v.isAccessor=S4;v.isAnyTypeAnnotation=$F;v.isArgumentPlaceholder=bL;v.isArrayExpression=uB;v.isArrayPattern=oF;v.isArrayTypeAnnotation=WF;v.isArrowFunctionExpression=lF;v.isAssignmentExpression=cB;v.isAssignmentPattern=aF;v.isAwaitExpression=_F;v.isBigIntLiteral=BF;v.isBinary=KR;v.isBinaryExpression=fB;v.isBindExpression=EL;v.isBlock=XR;v.isBlockParent=HR;v.isBlockStatement=mB;v.isBooleanLiteral=LB;v.isBooleanLiteralTypeAnnotation=GF;v.isBooleanTypeAnnotation=KF;v.isBreakStatement=yB;v.isCallExpression=gB;v.isCatchClause=bB;v.isClass=E4;v.isClassAccessorProperty=jF;v.isClassBody=uF;v.isClassDeclaration=fF;v.isClassExpression=cF;v.isClassImplements=XF;v.isClassMethod=xF;v.isClassPrivateMethod=qF;v.isClassPrivateProperty=MF;v.isClassProperty=RF;v.isCompletionStatement=zR;v.isConditional=QR;v.isConditionalExpression=EB;v.isContinueStatement=vB;v.isDebuggerStatement=TB;v.isDecimalLiteral=CL;v.isDeclaration=o4;v.isDeclareClass=YF;v.isDeclareExportAllDeclaration=sk;v.isDeclareExportDeclaration=nk;v.isDeclareFunction=JF;v.isDeclareInterface=zF;v.isDeclareModule=QF;v.isDeclareModuleExports=ZF;v.isDeclareOpaqueType=tk;v.isDeclareTypeAlias=ek;v.isDeclareVariable=rk;v.isDeclaredPredicate=ik;v.isDecorator=TL;v.isDirective=dB;v.isDirectiveLiteral=hB;v.isDoExpression=SL;v.isDoWhileStatement=SB;v.isEmptyStatement=xB;v.isEmptyTypeAnnotation=yk;v.isEnumBody=I4;v.isEnumBooleanBody=Wk;v.isEnumBooleanMember=Xk;v.isEnumDeclaration=$k;v.isEnumDefaultedMember=zk;v.isEnumMember=O4;v.isEnumNumberBody=Kk;v.isEnumNumberMember=Yk;v.isEnumStringBody=Gk;v.isEnumStringMember=Jk;v.isEnumSymbolBody=Hk;v.isExistsTypeAnnotation=ak;v.isExportAllDeclaration=pF;v.isExportDeclaration=v4;v.isExportDefaultDeclaration=dF;v.isExportDefaultSpecifier=xL;v.isExportNamedDeclaration=hF;v.isExportNamespaceSpecifier=FF;v.isExportSpecifier=mF;v.isExpression=WR;v.isExpressionStatement=PB;v.isExpressionWrapper=t4;v.isFile=AB;v.isFlow=P4;v.isFlowBaseAnnotation=C4;v.isFlowDeclaration=w4;v.isFlowPredicate=D4;v.isFlowType=A4;v.isFor=r4;v.isForInStatement=CB;v.isForOfStatement=yF;v.isForStatement=wB;v.isForXStatement=n4;v.isFunction=s4;v.isFunctionDeclaration=DB;v.isFunctionExpression=IB;v.isFunctionParent=i4;v.isFunctionTypeAnnotation=ok;v.isFunctionTypeParam=lk;v.isGenericTypeAnnotation=uk;v.isIdentifier=OB;v.isIfStatement=_B;v.isImmutable=p4;v.isImport=NF;v.isImportAttribute=vL;v.isImportDeclaration=gF;v.isImportDefaultSpecifier=bF;v.isImportExpression=TF;v.isImportNamespaceSpecifier=EF;v.isImportOrExportDeclaration=Av;v.isImportSpecifier=vF;v.isIndexedAccessType=Qk;v.isInferredPredicate=ck;v.isInterfaceDeclaration=pk;v.isInterfaceExtends=fk;v.isInterfaceTypeAnnotation=dk;v.isInterpreterDirective=pB;v.isIntersectionTypeAnnotation=hk;v.isJSX=_4;v.isJSXAttribute=eL;v.isJSXClosingElement=tL;v.isJSXClosingFragment=hL;v.isJSXElement=rL;v.isJSXEmptyExpression=nL;v.isJSXExpressionContainer=sL;v.isJSXFragment=pL;v.isJSXIdentifier=aL;v.isJSXMemberExpression=oL;v.isJSXNamespacedName=lL;v.isJSXOpeningElement=uL;v.isJSXOpeningFragment=dL;v.isJSXSpreadAttribute=cL;v.isJSXSpreadChild=iL;v.isJSXText=fL;v.isLVal=u4;v.isLabeledStatement=NB;v.isLiteral=f4;v.isLogicalExpression=jB;v.isLoop=ZR;v.isMemberExpression=MB;v.isMetaProperty=SF;v.isMethod=h4;v.isMiscellaneous=N4;v.isMixedTypeAnnotation=mk;v.isModuleDeclaration=U4;v.isModuleExpression=wL;v.isModuleSpecifier=T4;v.isNewExpression=qB;v.isNoop=mL;v.isNullLiteral=kB;v.isNullLiteralTypeAnnotation=HF;v.isNullableTypeAnnotation=gk;v.isNumberLiteral=R4;v.isNumberLiteralTypeAnnotation=bk;v.isNumberTypeAnnotation=Ek;v.isNumericLiteral=FB;v.isObjectExpression=VB;v.isObjectMember=m4;v.isObjectMethod=$B;v.isObjectPattern=PF;v.isObjectProperty=WB;v.isObjectTypeAnnotation=vk;v.isObjectTypeCallProperty=Sk;v.isObjectTypeIndexer=xk;v.isObjectTypeInternalSlot=Tk;v.isObjectTypeProperty=Pk;v.isObjectTypeSpreadProperty=Ak;v.isOpaqueType=Ck;v.isOptionalCallExpression=LF;v.isOptionalIndexedAccessType=Zk;v.isOptionalMemberExpression=kF;v.isParenthesizedExpression=XB;v.isPattern=b4;v.isPatternLike=l4;v.isPipelineBareFunction=OL;v.isPipelinePrimaryTopicReference=_L;v.isPipelineTopicExpression=IL;v.isPlaceholder=yL;v.isPrivate=x4;v.isPrivateName=UF;v.isProgram=UB;v.isProperty=y4;v.isPureish=a4;v.isQualifiedTypeIdentifier=wk;v.isRecordExpression=PL;v.isRegExpLiteral=RB;v.isRegexLiteral=j4;v.isRestElement=KB;v.isRestProperty=M4;v.isReturnStatement=GB;v.isScopable=GR;v.isSequenceExpression=HB;v.isSpreadElement=AF;v.isSpreadProperty=q4;v.isStandardized=$R;v.isStatement=YR;v.isStaticBlock=VF;v.isStringLiteral=BB;v.isStringLiteralTypeAnnotation=Dk;v.isStringTypeAnnotation=Ik;v.isSuper=CF;v.isSwitchCase=YB;v.isSwitchStatement=JB;v.isSymbolTypeAnnotation=Ok;v.isTSAnyKeyword=UL;v.isTSArrayType=oR;v.isTSAsExpression=CR;v.isTSBaseType=L4;v.isTSBigIntKeyword=$L;v.isTSBooleanKeyword=VL;v.isTSCallSignatureDeclaration=LL;v.isTSConditionalType=hR;v.isTSConstructSignatureDeclaration=RL;v.isTSConstructorType=rR;v.isTSDeclareFunction=BL;v.isTSDeclareMethod=FL;v.isTSEntityName=c4;v.isTSEnumDeclaration=IR;v.isTSEnumMember=OR;v.isTSExportAssignment=RR;v.isTSExpressionWithTypeArguments=TR;v.isTSExternalModuleReference=kR;v.isTSFunctionType=tR;v.isTSImportEqualsDeclaration=FR;v.isTSImportType=BR;v.isTSIndexSignature=qL;v.isTSIndexedAccessType=bR;v.isTSInferType=mR;v.isTSInstantiationExpression=AR;v.isTSInterfaceBody=xR;v.isTSInterfaceDeclaration=SR;v.isTSIntersectionType=dR;v.isTSIntrinsicKeyword=WL;v.isTSLiteralType=vR;v.isTSMappedType=ER;v.isTSMethodSignature=ML;v.isTSModuleBlock=NR;v.isTSModuleDeclaration=_R;v.isTSNamedTupleMember=fR;v.isTSNamespaceExportDeclaration=jR;v.isTSNeverKeyword=KL;v.isTSNonNullExpression=LR;v.isTSNullKeyword=GL;v.isTSNumberKeyword=HL;v.isTSObjectKeyword=XL;v.isTSOptionalType=uR;v.isTSParameterProperty=NL;v.isTSParenthesizedType=yR;v.isTSPropertySignature=jL;v.isTSQualifiedName=kL;v.isTSRestType=cR;v.isTSSatisfiesExpression=wR;v.isTSStringKeyword=YL;v.isTSSymbolKeyword=JL;v.isTSThisType=eR;v.isTSTupleType=lR;v.isTSType=k4;v.isTSTypeAliasDeclaration=PR;v.isTSTypeAnnotation=MR;v.isTSTypeAssertion=DR;v.isTSTypeElement=F4;v.isTSTypeLiteral=aR;v.isTSTypeOperator=gR;v.isTSTypeParameter=VR;v.isTSTypeParameterDeclaration=UR;v.isTSTypeParameterInstantiation=qR;v.isTSTypePredicate=sR;v.isTSTypeQuery=iR;v.isTSTypeReference=nR;v.isTSUndefinedKeyword=zL;v.isTSUnionType=pR;v.isTSUnknownKeyword=QL;v.isTSVoidKeyword=ZL;v.isTaggedTemplateExpression=wF;v.isTemplateElement=DF;v.isTemplateLiteral=IF;v.isTerminatorless=JR;v.isThisExpression=zB;v.isThisTypeAnnotation=_k;v.isThrowStatement=QB;v.isTopicReference=DL;v.isTryStatement=ZB;v.isTupleExpression=AL;v.isTupleTypeAnnotation=Nk;v.isTypeAlias=Fk;v.isTypeAnnotation=kk;v.isTypeCastExpression=Lk;v.isTypeParameter=Rk;v.isTypeParameterDeclaration=jk;v.isTypeParameterInstantiation=Mk;v.isTypeScript=B4;v.isTypeofTypeAnnotation=Bk;v.isUnaryExpression=eF;v.isUnaryLike=g4;v.isUnionTypeAnnotation=qk;v.isUpdateExpression=tF;v.isUserWhitespacable=d4;v.isV8IntrinsicIdentifier=gL;v.isVariableDeclaration=rF;v.isVariableDeclarator=nF;v.isVariance=Uk;v.isVoidTypeAnnotation=Vk;v.isWhile=e4;v.isWhileStatement=sF;v.isWithStatement=iF;v.isYieldExpression=OF;var x=yu(),Po=xo();function uB(e,t){return!e||e.type!=="ArrayExpression"?!1:t==null||(0,x.default)(e,t)}function cB(e,t){return!e||e.type!=="AssignmentExpression"?!1:t==null||(0,x.default)(e,t)}function fB(e,t){return!e||e.type!=="BinaryExpression"?!1:t==null||(0,x.default)(e,t)}function pB(e,t){return!e||e.type!=="InterpreterDirective"?!1:t==null||(0,x.default)(e,t)}function dB(e,t){return!e||e.type!=="Directive"?!1:t==null||(0,x.default)(e,t)}function hB(e,t){return!e||e.type!=="DirectiveLiteral"?!1:t==null||(0,x.default)(e,t)}function mB(e,t){return!e||e.type!=="BlockStatement"?!1:t==null||(0,x.default)(e,t)}function yB(e,t){return!e||e.type!=="BreakStatement"?!1:t==null||(0,x.default)(e,t)}function gB(e,t){return!e||e.type!=="CallExpression"?!1:t==null||(0,x.default)(e,t)}function bB(e,t){return!e||e.type!=="CatchClause"?!1:t==null||(0,x.default)(e,t)}function EB(e,t){return!e||e.type!=="ConditionalExpression"?!1:t==null||(0,x.default)(e,t)}function vB(e,t){return!e||e.type!=="ContinueStatement"?!1:t==null||(0,x.default)(e,t)}function TB(e,t){return!e||e.type!=="DebuggerStatement"?!1:t==null||(0,x.default)(e,t)}function SB(e,t){return!e||e.type!=="DoWhileStatement"?!1:t==null||(0,x.default)(e,t)}function xB(e,t){return!e||e.type!=="EmptyStatement"?!1:t==null||(0,x.default)(e,t)}function PB(e,t){return!e||e.type!=="ExpressionStatement"?!1:t==null||(0,x.default)(e,t)}function AB(e,t){return!e||e.type!=="File"?!1:t==null||(0,x.default)(e,t)}function CB(e,t){return!e||e.type!=="ForInStatement"?!1:t==null||(0,x.default)(e,t)}function wB(e,t){return!e||e.type!=="ForStatement"?!1:t==null||(0,x.default)(e,t)}function DB(e,t){return!e||e.type!=="FunctionDeclaration"?!1:t==null||(0,x.default)(e,t)}function IB(e,t){return!e||e.type!=="FunctionExpression"?!1:t==null||(0,x.default)(e,t)}function OB(e,t){return!e||e.type!=="Identifier"?!1:t==null||(0,x.default)(e,t)}function _B(e,t){return!e||e.type!=="IfStatement"?!1:t==null||(0,x.default)(e,t)}function NB(e,t){return!e||e.type!=="LabeledStatement"?!1:t==null||(0,x.default)(e,t)}function BB(e,t){return!e||e.type!=="StringLiteral"?!1:t==null||(0,x.default)(e,t)}function FB(e,t){return!e||e.type!=="NumericLiteral"?!1:t==null||(0,x.default)(e,t)}function kB(e,t){return!e||e.type!=="NullLiteral"?!1:t==null||(0,x.default)(e,t)}function LB(e,t){return!e||e.type!=="BooleanLiteral"?!1:t==null||(0,x.default)(e,t)}function RB(e,t){return!e||e.type!=="RegExpLiteral"?!1:t==null||(0,x.default)(e,t)}function jB(e,t){return!e||e.type!=="LogicalExpression"?!1:t==null||(0,x.default)(e,t)}function MB(e,t){return!e||e.type!=="MemberExpression"?!1:t==null||(0,x.default)(e,t)}function qB(e,t){return!e||e.type!=="NewExpression"?!1:t==null||(0,x.default)(e,t)}function UB(e,t){return!e||e.type!=="Program"?!1:t==null||(0,x.default)(e,t)}function VB(e,t){return!e||e.type!=="ObjectExpression"?!1:t==null||(0,x.default)(e,t)}function $B(e,t){return!e||e.type!=="ObjectMethod"?!1:t==null||(0,x.default)(e,t)}function WB(e,t){return!e||e.type!=="ObjectProperty"?!1:t==null||(0,x.default)(e,t)}function KB(e,t){return!e||e.type!=="RestElement"?!1:t==null||(0,x.default)(e,t)}function GB(e,t){return!e||e.type!=="ReturnStatement"?!1:t==null||(0,x.default)(e,t)}function HB(e,t){return!e||e.type!=="SequenceExpression"?!1:t==null||(0,x.default)(e,t)}function XB(e,t){return!e||e.type!=="ParenthesizedExpression"?!1:t==null||(0,x.default)(e,t)}function YB(e,t){return!e||e.type!=="SwitchCase"?!1:t==null||(0,x.default)(e,t)}function JB(e,t){return!e||e.type!=="SwitchStatement"?!1:t==null||(0,x.default)(e,t)}function zB(e,t){return!e||e.type!=="ThisExpression"?!1:t==null||(0,x.default)(e,t)}function QB(e,t){return!e||e.type!=="ThrowStatement"?!1:t==null||(0,x.default)(e,t)}function ZB(e,t){return!e||e.type!=="TryStatement"?!1:t==null||(0,x.default)(e,t)}function eF(e,t){return!e||e.type!=="UnaryExpression"?!1:t==null||(0,x.default)(e,t)}function tF(e,t){return!e||e.type!=="UpdateExpression"?!1:t==null||(0,x.default)(e,t)}function rF(e,t){return!e||e.type!=="VariableDeclaration"?!1:t==null||(0,x.default)(e,t)}function nF(e,t){return!e||e.type!=="VariableDeclarator"?!1:t==null||(0,x.default)(e,t)}function sF(e,t){return!e||e.type!=="WhileStatement"?!1:t==null||(0,x.default)(e,t)}function iF(e,t){return!e||e.type!=="WithStatement"?!1:t==null||(0,x.default)(e,t)}function aF(e,t){return!e||e.type!=="AssignmentPattern"?!1:t==null||(0,x.default)(e,t)}function oF(e,t){return!e||e.type!=="ArrayPattern"?!1:t==null||(0,x.default)(e,t)}function lF(e,t){return!e||e.type!=="ArrowFunctionExpression"?!1:t==null||(0,x.default)(e,t)}function uF(e,t){return!e||e.type!=="ClassBody"?!1:t==null||(0,x.default)(e,t)}function cF(e,t){return!e||e.type!=="ClassExpression"?!1:t==null||(0,x.default)(e,t)}function fF(e,t){return!e||e.type!=="ClassDeclaration"?!1:t==null||(0,x.default)(e,t)}function pF(e,t){return!e||e.type!=="ExportAllDeclaration"?!1:t==null||(0,x.default)(e,t)}function dF(e,t){return!e||e.type!=="ExportDefaultDeclaration"?!1:t==null||(0,x.default)(e,t)}function hF(e,t){return!e||e.type!=="ExportNamedDeclaration"?!1:t==null||(0,x.default)(e,t)}function mF(e,t){return!e||e.type!=="ExportSpecifier"?!1:t==null||(0,x.default)(e,t)}function yF(e,t){return!e||e.type!=="ForOfStatement"?!1:t==null||(0,x.default)(e,t)}function gF(e,t){return!e||e.type!=="ImportDeclaration"?!1:t==null||(0,x.default)(e,t)}function bF(e,t){return!e||e.type!=="ImportDefaultSpecifier"?!1:t==null||(0,x.default)(e,t)}function EF(e,t){return!e||e.type!=="ImportNamespaceSpecifier"?!1:t==null||(0,x.default)(e,t)}function vF(e,t){return!e||e.type!=="ImportSpecifier"?!1:t==null||(0,x.default)(e,t)}function TF(e,t){return!e||e.type!=="ImportExpression"?!1:t==null||(0,x.default)(e,t)}function SF(e,t){return!e||e.type!=="MetaProperty"?!1:t==null||(0,x.default)(e,t)}function xF(e,t){return!e||e.type!=="ClassMethod"?!1:t==null||(0,x.default)(e,t)}function PF(e,t){return!e||e.type!=="ObjectPattern"?!1:t==null||(0,x.default)(e,t)}function AF(e,t){return!e||e.type!=="SpreadElement"?!1:t==null||(0,x.default)(e,t)}function CF(e,t){return!e||e.type!=="Super"?!1:t==null||(0,x.default)(e,t)}function wF(e,t){return!e||e.type!=="TaggedTemplateExpression"?!1:t==null||(0,x.default)(e,t)}function DF(e,t){return!e||e.type!=="TemplateElement"?!1:t==null||(0,x.default)(e,t)}function IF(e,t){return!e||e.type!=="TemplateLiteral"?!1:t==null||(0,x.default)(e,t)}function OF(e,t){return!e||e.type!=="YieldExpression"?!1:t==null||(0,x.default)(e,t)}function _F(e,t){return!e||e.type!=="AwaitExpression"?!1:t==null||(0,x.default)(e,t)}function NF(e,t){return!e||e.type!=="Import"?!1:t==null||(0,x.default)(e,t)}function BF(e,t){return!e||e.type!=="BigIntLiteral"?!1:t==null||(0,x.default)(e,t)}function FF(e,t){return!e||e.type!=="ExportNamespaceSpecifier"?!1:t==null||(0,x.default)(e,t)}function kF(e,t){return!e||e.type!=="OptionalMemberExpression"?!1:t==null||(0,x.default)(e,t)}function LF(e,t){return!e||e.type!=="OptionalCallExpression"?!1:t==null||(0,x.default)(e,t)}function RF(e,t){return!e||e.type!=="ClassProperty"?!1:t==null||(0,x.default)(e,t)}function jF(e,t){return!e||e.type!=="ClassAccessorProperty"?!1:t==null||(0,x.default)(e,t)}function MF(e,t){return!e||e.type!=="ClassPrivateProperty"?!1:t==null||(0,x.default)(e,t)}function qF(e,t){return!e||e.type!=="ClassPrivateMethod"?!1:t==null||(0,x.default)(e,t)}function UF(e,t){return!e||e.type!=="PrivateName"?!1:t==null||(0,x.default)(e,t)}function VF(e,t){return!e||e.type!=="StaticBlock"?!1:t==null||(0,x.default)(e,t)}function $F(e,t){return!e||e.type!=="AnyTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function WF(e,t){return!e||e.type!=="ArrayTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function KF(e,t){return!e||e.type!=="BooleanTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function GF(e,t){return!e||e.type!=="BooleanLiteralTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function HF(e,t){return!e||e.type!=="NullLiteralTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function XF(e,t){return!e||e.type!=="ClassImplements"?!1:t==null||(0,x.default)(e,t)}function YF(e,t){return!e||e.type!=="DeclareClass"?!1:t==null||(0,x.default)(e,t)}function JF(e,t){return!e||e.type!=="DeclareFunction"?!1:t==null||(0,x.default)(e,t)}function zF(e,t){return!e||e.type!=="DeclareInterface"?!1:t==null||(0,x.default)(e,t)}function QF(e,t){return!e||e.type!=="DeclareModule"?!1:t==null||(0,x.default)(e,t)}function ZF(e,t){return!e||e.type!=="DeclareModuleExports"?!1:t==null||(0,x.default)(e,t)}function ek(e,t){return!e||e.type!=="DeclareTypeAlias"?!1:t==null||(0,x.default)(e,t)}function tk(e,t){return!e||e.type!=="DeclareOpaqueType"?!1:t==null||(0,x.default)(e,t)}function rk(e,t){return!e||e.type!=="DeclareVariable"?!1:t==null||(0,x.default)(e,t)}function nk(e,t){return!e||e.type!=="DeclareExportDeclaration"?!1:t==null||(0,x.default)(e,t)}function sk(e,t){return!e||e.type!=="DeclareExportAllDeclaration"?!1:t==null||(0,x.default)(e,t)}function ik(e,t){return!e||e.type!=="DeclaredPredicate"?!1:t==null||(0,x.default)(e,t)}function ak(e,t){return!e||e.type!=="ExistsTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function ok(e,t){return!e||e.type!=="FunctionTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function lk(e,t){return!e||e.type!=="FunctionTypeParam"?!1:t==null||(0,x.default)(e,t)}function uk(e,t){return!e||e.type!=="GenericTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function ck(e,t){return!e||e.type!=="InferredPredicate"?!1:t==null||(0,x.default)(e,t)}function fk(e,t){return!e||e.type!=="InterfaceExtends"?!1:t==null||(0,x.default)(e,t)}function pk(e,t){return!e||e.type!=="InterfaceDeclaration"?!1:t==null||(0,x.default)(e,t)}function dk(e,t){return!e||e.type!=="InterfaceTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function hk(e,t){return!e||e.type!=="IntersectionTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function mk(e,t){return!e||e.type!=="MixedTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function yk(e,t){return!e||e.type!=="EmptyTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function gk(e,t){return!e||e.type!=="NullableTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function bk(e,t){return!e||e.type!=="NumberLiteralTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function Ek(e,t){return!e||e.type!=="NumberTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function vk(e,t){return!e||e.type!=="ObjectTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function Tk(e,t){return!e||e.type!=="ObjectTypeInternalSlot"?!1:t==null||(0,x.default)(e,t)}function Sk(e,t){return!e||e.type!=="ObjectTypeCallProperty"?!1:t==null||(0,x.default)(e,t)}function xk(e,t){return!e||e.type!=="ObjectTypeIndexer"?!1:t==null||(0,x.default)(e,t)}function Pk(e,t){return!e||e.type!=="ObjectTypeProperty"?!1:t==null||(0,x.default)(e,t)}function Ak(e,t){return!e||e.type!=="ObjectTypeSpreadProperty"?!1:t==null||(0,x.default)(e,t)}function Ck(e,t){return!e||e.type!=="OpaqueType"?!1:t==null||(0,x.default)(e,t)}function wk(e,t){return!e||e.type!=="QualifiedTypeIdentifier"?!1:t==null||(0,x.default)(e,t)}function Dk(e,t){return!e||e.type!=="StringLiteralTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function Ik(e,t){return!e||e.type!=="StringTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function Ok(e,t){return!e||e.type!=="SymbolTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function _k(e,t){return!e||e.type!=="ThisTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function Nk(e,t){return!e||e.type!=="TupleTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function Bk(e,t){return!e||e.type!=="TypeofTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function Fk(e,t){return!e||e.type!=="TypeAlias"?!1:t==null||(0,x.default)(e,t)}function kk(e,t){return!e||e.type!=="TypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function Lk(e,t){return!e||e.type!=="TypeCastExpression"?!1:t==null||(0,x.default)(e,t)}function Rk(e,t){return!e||e.type!=="TypeParameter"?!1:t==null||(0,x.default)(e,t)}function jk(e,t){return!e||e.type!=="TypeParameterDeclaration"?!1:t==null||(0,x.default)(e,t)}function Mk(e,t){return!e||e.type!=="TypeParameterInstantiation"?!1:t==null||(0,x.default)(e,t)}function qk(e,t){return!e||e.type!=="UnionTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function Uk(e,t){return!e||e.type!=="Variance"?!1:t==null||(0,x.default)(e,t)}function Vk(e,t){return!e||e.type!=="VoidTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function $k(e,t){return!e||e.type!=="EnumDeclaration"?!1:t==null||(0,x.default)(e,t)}function Wk(e,t){return!e||e.type!=="EnumBooleanBody"?!1:t==null||(0,x.default)(e,t)}function Kk(e,t){return!e||e.type!=="EnumNumberBody"?!1:t==null||(0,x.default)(e,t)}function Gk(e,t){return!e||e.type!=="EnumStringBody"?!1:t==null||(0,x.default)(e,t)}function Hk(e,t){return!e||e.type!=="EnumSymbolBody"?!1:t==null||(0,x.default)(e,t)}function Xk(e,t){return!e||e.type!=="EnumBooleanMember"?!1:t==null||(0,x.default)(e,t)}function Yk(e,t){return!e||e.type!=="EnumNumberMember"?!1:t==null||(0,x.default)(e,t)}function Jk(e,t){return!e||e.type!=="EnumStringMember"?!1:t==null||(0,x.default)(e,t)}function zk(e,t){return!e||e.type!=="EnumDefaultedMember"?!1:t==null||(0,x.default)(e,t)}function Qk(e,t){return!e||e.type!=="IndexedAccessType"?!1:t==null||(0,x.default)(e,t)}function Zk(e,t){return!e||e.type!=="OptionalIndexedAccessType"?!1:t==null||(0,x.default)(e,t)}function eL(e,t){return!e||e.type!=="JSXAttribute"?!1:t==null||(0,x.default)(e,t)}function tL(e,t){return!e||e.type!=="JSXClosingElement"?!1:t==null||(0,x.default)(e,t)}function rL(e,t){return!e||e.type!=="JSXElement"?!1:t==null||(0,x.default)(e,t)}function nL(e,t){return!e||e.type!=="JSXEmptyExpression"?!1:t==null||(0,x.default)(e,t)}function sL(e,t){return!e||e.type!=="JSXExpressionContainer"?!1:t==null||(0,x.default)(e,t)}function iL(e,t){return!e||e.type!=="JSXSpreadChild"?!1:t==null||(0,x.default)(e,t)}function aL(e,t){return!e||e.type!=="JSXIdentifier"?!1:t==null||(0,x.default)(e,t)}function oL(e,t){return!e||e.type!=="JSXMemberExpression"?!1:t==null||(0,x.default)(e,t)}function lL(e,t){return!e||e.type!=="JSXNamespacedName"?!1:t==null||(0,x.default)(e,t)}function uL(e,t){return!e||e.type!=="JSXOpeningElement"?!1:t==null||(0,x.default)(e,t)}function cL(e,t){return!e||e.type!=="JSXSpreadAttribute"?!1:t==null||(0,x.default)(e,t)}function fL(e,t){return!e||e.type!=="JSXText"?!1:t==null||(0,x.default)(e,t)}function pL(e,t){return!e||e.type!=="JSXFragment"?!1:t==null||(0,x.default)(e,t)}function dL(e,t){return!e||e.type!=="JSXOpeningFragment"?!1:t==null||(0,x.default)(e,t)}function hL(e,t){return!e||e.type!=="JSXClosingFragment"?!1:t==null||(0,x.default)(e,t)}function mL(e,t){return!e||e.type!=="Noop"?!1:t==null||(0,x.default)(e,t)}function yL(e,t){return!e||e.type!=="Placeholder"?!1:t==null||(0,x.default)(e,t)}function gL(e,t){return!e||e.type!=="V8IntrinsicIdentifier"?!1:t==null||(0,x.default)(e,t)}function bL(e,t){return!e||e.type!=="ArgumentPlaceholder"?!1:t==null||(0,x.default)(e,t)}function EL(e,t){return!e||e.type!=="BindExpression"?!1:t==null||(0,x.default)(e,t)}function vL(e,t){return!e||e.type!=="ImportAttribute"?!1:t==null||(0,x.default)(e,t)}function TL(e,t){return!e||e.type!=="Decorator"?!1:t==null||(0,x.default)(e,t)}function SL(e,t){return!e||e.type!=="DoExpression"?!1:t==null||(0,x.default)(e,t)}function xL(e,t){return!e||e.type!=="ExportDefaultSpecifier"?!1:t==null||(0,x.default)(e,t)}function PL(e,t){return!e||e.type!=="RecordExpression"?!1:t==null||(0,x.default)(e,t)}function AL(e,t){return!e||e.type!=="TupleExpression"?!1:t==null||(0,x.default)(e,t)}function CL(e,t){return!e||e.type!=="DecimalLiteral"?!1:t==null||(0,x.default)(e,t)}function wL(e,t){return!e||e.type!=="ModuleExpression"?!1:t==null||(0,x.default)(e,t)}function DL(e,t){return!e||e.type!=="TopicReference"?!1:t==null||(0,x.default)(e,t)}function IL(e,t){return!e||e.type!=="PipelineTopicExpression"?!1:t==null||(0,x.default)(e,t)}function OL(e,t){return!e||e.type!=="PipelineBareFunction"?!1:t==null||(0,x.default)(e,t)}function _L(e,t){return!e||e.type!=="PipelinePrimaryTopicReference"?!1:t==null||(0,x.default)(e,t)}function NL(e,t){return!e||e.type!=="TSParameterProperty"?!1:t==null||(0,x.default)(e,t)}function BL(e,t){return!e||e.type!=="TSDeclareFunction"?!1:t==null||(0,x.default)(e,t)}function FL(e,t){return!e||e.type!=="TSDeclareMethod"?!1:t==null||(0,x.default)(e,t)}function kL(e,t){return!e||e.type!=="TSQualifiedName"?!1:t==null||(0,x.default)(e,t)}function LL(e,t){return!e||e.type!=="TSCallSignatureDeclaration"?!1:t==null||(0,x.default)(e,t)}function RL(e,t){return!e||e.type!=="TSConstructSignatureDeclaration"?!1:t==null||(0,x.default)(e,t)}function jL(e,t){return!e||e.type!=="TSPropertySignature"?!1:t==null||(0,x.default)(e,t)}function ML(e,t){return!e||e.type!=="TSMethodSignature"?!1:t==null||(0,x.default)(e,t)}function qL(e,t){return!e||e.type!=="TSIndexSignature"?!1:t==null||(0,x.default)(e,t)}function UL(e,t){return!e||e.type!=="TSAnyKeyword"?!1:t==null||(0,x.default)(e,t)}function VL(e,t){return!e||e.type!=="TSBooleanKeyword"?!1:t==null||(0,x.default)(e,t)}function $L(e,t){return!e||e.type!=="TSBigIntKeyword"?!1:t==null||(0,x.default)(e,t)}function WL(e,t){return!e||e.type!=="TSIntrinsicKeyword"?!1:t==null||(0,x.default)(e,t)}function KL(e,t){return!e||e.type!=="TSNeverKeyword"?!1:t==null||(0,x.default)(e,t)}function GL(e,t){return!e||e.type!=="TSNullKeyword"?!1:t==null||(0,x.default)(e,t)}function HL(e,t){return!e||e.type!=="TSNumberKeyword"?!1:t==null||(0,x.default)(e,t)}function XL(e,t){return!e||e.type!=="TSObjectKeyword"?!1:t==null||(0,x.default)(e,t)}function YL(e,t){return!e||e.type!=="TSStringKeyword"?!1:t==null||(0,x.default)(e,t)}function JL(e,t){return!e||e.type!=="TSSymbolKeyword"?!1:t==null||(0,x.default)(e,t)}function zL(e,t){return!e||e.type!=="TSUndefinedKeyword"?!1:t==null||(0,x.default)(e,t)}function QL(e,t){return!e||e.type!=="TSUnknownKeyword"?!1:t==null||(0,x.default)(e,t)}function ZL(e,t){return!e||e.type!=="TSVoidKeyword"?!1:t==null||(0,x.default)(e,t)}function eR(e,t){return!e||e.type!=="TSThisType"?!1:t==null||(0,x.default)(e,t)}function tR(e,t){return!e||e.type!=="TSFunctionType"?!1:t==null||(0,x.default)(e,t)}function rR(e,t){return!e||e.type!=="TSConstructorType"?!1:t==null||(0,x.default)(e,t)}function nR(e,t){return!e||e.type!=="TSTypeReference"?!1:t==null||(0,x.default)(e,t)}function sR(e,t){return!e||e.type!=="TSTypePredicate"?!1:t==null||(0,x.default)(e,t)}function iR(e,t){return!e||e.type!=="TSTypeQuery"?!1:t==null||(0,x.default)(e,t)}function aR(e,t){return!e||e.type!=="TSTypeLiteral"?!1:t==null||(0,x.default)(e,t)}function oR(e,t){return!e||e.type!=="TSArrayType"?!1:t==null||(0,x.default)(e,t)}function lR(e,t){return!e||e.type!=="TSTupleType"?!1:t==null||(0,x.default)(e,t)}function uR(e,t){return!e||e.type!=="TSOptionalType"?!1:t==null||(0,x.default)(e,t)}function cR(e,t){return!e||e.type!=="TSRestType"?!1:t==null||(0,x.default)(e,t)}function fR(e,t){return!e||e.type!=="TSNamedTupleMember"?!1:t==null||(0,x.default)(e,t)}function pR(e,t){return!e||e.type!=="TSUnionType"?!1:t==null||(0,x.default)(e,t)}function dR(e,t){return!e||e.type!=="TSIntersectionType"?!1:t==null||(0,x.default)(e,t)}function hR(e,t){return!e||e.type!=="TSConditionalType"?!1:t==null||(0,x.default)(e,t)}function mR(e,t){return!e||e.type!=="TSInferType"?!1:t==null||(0,x.default)(e,t)}function yR(e,t){return!e||e.type!=="TSParenthesizedType"?!1:t==null||(0,x.default)(e,t)}function gR(e,t){return!e||e.type!=="TSTypeOperator"?!1:t==null||(0,x.default)(e,t)}function bR(e,t){return!e||e.type!=="TSIndexedAccessType"?!1:t==null||(0,x.default)(e,t)}function ER(e,t){return!e||e.type!=="TSMappedType"?!1:t==null||(0,x.default)(e,t)}function vR(e,t){return!e||e.type!=="TSLiteralType"?!1:t==null||(0,x.default)(e,t)}function TR(e,t){return!e||e.type!=="TSExpressionWithTypeArguments"?!1:t==null||(0,x.default)(e,t)}function SR(e,t){return!e||e.type!=="TSInterfaceDeclaration"?!1:t==null||(0,x.default)(e,t)}function xR(e,t){return!e||e.type!=="TSInterfaceBody"?!1:t==null||(0,x.default)(e,t)}function PR(e,t){return!e||e.type!=="TSTypeAliasDeclaration"?!1:t==null||(0,x.default)(e,t)}function AR(e,t){return!e||e.type!=="TSInstantiationExpression"?!1:t==null||(0,x.default)(e,t)}function CR(e,t){return!e||e.type!=="TSAsExpression"?!1:t==null||(0,x.default)(e,t)}function wR(e,t){return!e||e.type!=="TSSatisfiesExpression"?!1:t==null||(0,x.default)(e,t)}function DR(e,t){return!e||e.type!=="TSTypeAssertion"?!1:t==null||(0,x.default)(e,t)}function IR(e,t){return!e||e.type!=="TSEnumDeclaration"?!1:t==null||(0,x.default)(e,t)}function OR(e,t){return!e||e.type!=="TSEnumMember"?!1:t==null||(0,x.default)(e,t)}function _R(e,t){return!e||e.type!=="TSModuleDeclaration"?!1:t==null||(0,x.default)(e,t)}function NR(e,t){return!e||e.type!=="TSModuleBlock"?!1:t==null||(0,x.default)(e,t)}function BR(e,t){return!e||e.type!=="TSImportType"?!1:t==null||(0,x.default)(e,t)}function FR(e,t){return!e||e.type!=="TSImportEqualsDeclaration"?!1:t==null||(0,x.default)(e,t)}function kR(e,t){return!e||e.type!=="TSExternalModuleReference"?!1:t==null||(0,x.default)(e,t)}function LR(e,t){return!e||e.type!=="TSNonNullExpression"?!1:t==null||(0,x.default)(e,t)}function RR(e,t){return!e||e.type!=="TSExportAssignment"?!1:t==null||(0,x.default)(e,t)}function jR(e,t){return!e||e.type!=="TSNamespaceExportDeclaration"?!1:t==null||(0,x.default)(e,t)}function MR(e,t){return!e||e.type!=="TSTypeAnnotation"?!1:t==null||(0,x.default)(e,t)}function qR(e,t){return!e||e.type!=="TSTypeParameterInstantiation"?!1:t==null||(0,x.default)(e,t)}function UR(e,t){return!e||e.type!=="TSTypeParameterDeclaration"?!1:t==null||(0,x.default)(e,t)}function VR(e,t){return!e||e.type!=="TSTypeParameter"?!1:t==null||(0,x.default)(e,t)}function $R(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":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,x.default)(e,t)}function WR(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,x.default)(e,t)}function KR(e,t){if(!e)return!1;switch(e.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return t==null||(0,x.default)(e,t)}function GR(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,x.default)(e,t)}function HR(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,x.default)(e,t)}function XR(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,x.default)(e,t)}function YR(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,x.default)(e,t)}function JR(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,x.default)(e,t)}function zR(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,x.default)(e,t)}function QR(e,t){if(!e)return!1;switch(e.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return t==null||(0,x.default)(e,t)}function ZR(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,x.default)(e,t)}function e4(e,t){if(!e)return!1;switch(e.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return t==null||(0,x.default)(e,t)}function t4(e,t){if(!e)return!1;switch(e.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return t==null||(0,x.default)(e,t)}function r4(e,t){if(!e)return!1;switch(e.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return t==null||(0,x.default)(e,t)}function n4(e,t){if(!e)return!1;switch(e.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return t==null||(0,x.default)(e,t)}function s4(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,x.default)(e,t)}function i4(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,x.default)(e,t)}function a4(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,x.default)(e,t)}function o4(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":break;case"Placeholder":if(e.expectedNode==="Declaration")break;default:return!1}return t==null||(0,x.default)(e,t)}function l4(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":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,x.default)(e,t)}function u4(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,x.default)(e,t)}function c4(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,x.default)(e,t)}function f4(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,x.default)(e,t)}function p4(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,x.default)(e,t)}function d4(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,x.default)(e,t)}function h4(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return t==null||(0,x.default)(e,t)}function m4(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return t==null||(0,x.default)(e,t)}function y4(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,x.default)(e,t)}function g4(e,t){if(!e)return!1;switch(e.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return t==null||(0,x.default)(e,t)}function b4(e,t){if(!e)return!1;switch(e.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(e.expectedNode==="Pattern")break;default:return!1}return t==null||(0,x.default)(e,t)}function E4(e,t){if(!e)return!1;switch(e.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return t==null||(0,x.default)(e,t)}function Av(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,x.default)(e,t)}function v4(e,t){if(!e)return!1;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return t==null||(0,x.default)(e,t)}function T4(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,x.default)(e,t)}function S4(e,t){if(!e)return!1;switch(e.type){case"ClassAccessorProperty":break;default:return!1}return t==null||(0,x.default)(e,t)}function x4(e,t){if(!e)return!1;switch(e.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return t==null||(0,x.default)(e,t)}function P4(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,x.default)(e,t)}function A4(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,x.default)(e,t)}function C4(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,x.default)(e,t)}function w4(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,x.default)(e,t)}function D4(e,t){if(!e)return!1;switch(e.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return t==null||(0,x.default)(e,t)}function I4(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,x.default)(e,t)}function O4(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,x.default)(e,t)}function _4(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,x.default)(e,t)}function N4(e,t){if(!e)return!1;switch(e.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return t==null||(0,x.default)(e,t)}function B4(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"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":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,x.default)(e,t)}function F4(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,x.default)(e,t)}function k4(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"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return t==null||(0,x.default)(e,t)}function L4(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"TSLiteralType":break;default:return!1}return t==null||(0,x.default)(e,t)}function R4(e,t){return(0,Po.default)("isNumberLiteral","isNumericLiteral"),!e||e.type!=="NumberLiteral"?!1:t==null||(0,x.default)(e,t)}function j4(e,t){return(0,Po.default)("isRegexLiteral","isRegExpLiteral"),!e||e.type!=="RegexLiteral"?!1:t==null||(0,x.default)(e,t)}function M4(e,t){return(0,Po.default)("isRestProperty","isRestElement"),!e||e.type!=="RestProperty"?!1:t==null||(0,x.default)(e,t)}function q4(e,t){return(0,Po.default)("isSpreadProperty","isSpreadElement"),!e||e.type!=="SpreadProperty"?!1:t==null||(0,x.default)(e,t)}function U4(e,t){return(0,Po.default)("isModuleDeclaration","isImportOrExportDeclaration"),Av(e,t)}});var vd=E(Ed=>{"use strict";Object.defineProperty(Ed,"__esModule",{value:!0});Ed.default=V4;var Ao=$t();function V4(e,t,r){if(!(0,Ao.isMemberExpression)(e))return!1;let n=Array.isArray(t)?t:t.split("."),s=[],i;for(i=e;(0,Ao.isMemberExpression)(i);i=i.object)s.push(i.property);if(s.push(i),s.length<n.length||!r&&s.length>n.length)return!1;for(let a=0,o=s.length-1;a<n.length;a++,o--){let l=s[o],u;if((0,Ao.isIdentifier)(l))u=l.name;else if((0,Ao.isStringLiteral)(l))u=l.value;else if((0,Ao.isThisExpression)(l))u="this";else return!1;if(n[a]!==u)return!1}return!0}});var Sd=E(Td=>{"use strict";Object.defineProperty(Td,"__esModule",{value:!0});Td.default=W4;var $4=vd();function W4(e,t){let r=e.split(".");return n=>(0,$4.default)(n,r,t)}});var Cv=E(gu=>{"use strict";Object.defineProperty(gu,"__esModule",{value:!0});gu.default=void 0;var K4=Sd(),G4=(0,K4.default)("React.Component"),SSe=gu.default=G4});var wv=E(xd=>{"use strict";Object.defineProperty(xd,"__esModule",{value:!0});xd.default=H4;function H4(e){return!!e&&/^[a-z]/.test(e)}});var Iv=E((ASe,Dv)=>{"use strict";var Co=null;function wo(e){if(Co!==null&&typeof Co.property){let t=Co;return Co=wo.prototype=null,t}return Co=wo.prototype=e??Object.create(null),new wo}wo();Dv.exports=function(t){return wo(t)}});var bu=E(Pd=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});Pd.default=X4;var Ov=rn();function X4(e,t){if(e===t)return!0;if(e==null||Ov.ALIAS_KEYS[t])return!1;let r=Ov.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return!0;for(let n of r)if(e===n)return!0}return!1}});var Cd=E(Ad=>{"use strict";Object.defineProperty(Ad,"__esModule",{value:!0});Ad.default=J4;var Y4=rn();function J4(e,t){if(e===t)return!0;let r=Y4.PLACEHOLDERS_ALIAS[e];if(r){for(let n of r)if(t===n)return!0}return!1}});var ua=E(wd=>{"use strict";Object.defineProperty(wd,"__esModule",{value:!0});wd.default=t8;var z4=yu(),Q4=bu(),Z4=Cd(),e8=rn();function t8(e,t,r){return t?(0,Q4.default)(t.type,e)?typeof r>"u"?!0:(0,z4.default)(t,r):!r&&t.type==="Placeholder"&&e in e8.FLIPPED_ALIAS_KEYS?(0,Z4.default)(t.expectedNode,e):!1:!1}});var kv=E(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.isIdentifierChar=Fv;Do.isIdentifierName=i8;Do.isIdentifierStart=Bv;var Id="\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-\u1C88\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-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\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",_v="\u200C\u200D\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\u0898-\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",r8=new RegExp("["+Id+"]"),n8=new RegExp("["+Id+_v+"]");Id=_v=null;var Nv=[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,68,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,349,41,7,1,79,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,159,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,264,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,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,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,757,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],s8=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,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,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,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,983,6,110,6,6,9,4759,9,787719,239];function Dd(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 Bv(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&r8.test(String.fromCharCode(e)):Dd(e,Nv)}function Fv(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&&n8.test(String.fromCharCode(e)):Dd(e,Nv)||Dd(e,s8)}function i8(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,!Bv(n))return!1}else if(!Fv(n))return!1}return!t}});var Mv=E(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.isKeyword=c8;mi.isReservedWord=Lv;mi.isStrictBindOnlyReservedWord=jv;mi.isStrictBindReservedWord=u8;mi.isStrictReservedWord=Rv;var Od={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"]},a8=new Set(Od.keyword),o8=new Set(Od.strict),l8=new Set(Od.strictBind);function Lv(e,t){return t&&e==="await"||e==="enum"}function Rv(e,t){return Lv(e,t)||o8.has(e)}function jv(e){return l8.has(e)}function u8(e,t){return Rv(e,t)||jv(e)}function c8(e){return a8.has(e)}});var ca=E(jn=>{"use strict";Object.defineProperty(jn,"__esModule",{value:!0});Object.defineProperty(jn,"isIdentifierChar",{enumerable:!0,get:function(){return _d.isIdentifierChar}});Object.defineProperty(jn,"isIdentifierName",{enumerable:!0,get:function(){return _d.isIdentifierName}});Object.defineProperty(jn,"isIdentifierStart",{enumerable:!0,get:function(){return _d.isIdentifierStart}});Object.defineProperty(jn,"isKeyword",{enumerable:!0,get:function(){return Io.isKeyword}});Object.defineProperty(jn,"isReservedWord",{enumerable:!0,get:function(){return Io.isReservedWord}});Object.defineProperty(jn,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return Io.isStrictBindOnlyReservedWord}});Object.defineProperty(jn,"isStrictBindReservedWord",{enumerable:!0,get:function(){return Io.isStrictBindReservedWord}});Object.defineProperty(jn,"isStrictReservedWord",{enumerable:!0,get:function(){return Io.isStrictReservedWord}});var _d=kv(),Io=Mv()});var fa=E(Bd=>{"use strict";Object.defineProperty(Bd,"__esModule",{value:!0});Bd.default=f8;var Nd=ca();function f8(e,t=!0){return typeof e!="string"||t&&((0,Nd.isKeyword)(e)||(0,Nd.isStrictReservedWord)(e,!0))?!1:(0,Nd.isIdentifierName)(e)}});var $v=E(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.readCodePoint=Vv;Oo.readInt=Uv;Oo.readStringContents=d8;var p8=function(t){return t>=48&&t<=57},qv={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Eu={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 d8(e,t,r,n,s,i){let a=r,o=n,l=s,u="",c=null,f=r,{length:p}=t;for(;;){if(r>=p){i.unterminated(a,o,l),u+=t.slice(f,r);break}let h=t.charCodeAt(r);if(h8(e,h,t,r)){u+=t.slice(f,r);break}if(h===92){u+=t.slice(f,r);let b=m8(t,r,n,s,e==="template",i);b.ch===null&&!c?c={pos:r,lineStart:n,curLine:s}:u+=b.ch,{pos:r,lineStart:n,curLine:s}=b,f=r}else h===8232||h===8233?(++r,++s,n=r):h===10||h===13?e==="template"?(u+=t.slice(f,r)+`
6
- `,++r,h===13&&t.charCodeAt(r)===10&&++r,++s,f=n=r):i.unterminated(a,o,l):++r}return{pos:r,str:u,firstInvalidLoc:c,lineStart:n,curLine:s,containsInvalid:!!c}}function h8(e,t,r,n){return e==="template"?t===96||t===36&&r.charCodeAt(n+1)===123:t===(e==="double"?34:39)}function m8(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(`
7
- `);case 114:return o("\r");case 120:{let u;return{code:u,pos:t}=Fd(e,t,r,n,2,!1,a,i),o(u===null?null:String.fromCharCode(u))}case 117:{let u;return{code:u,pos:t}=Vv(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,f=/^[0-7]+/.exec(e.slice(u,t+2))[0],p=parseInt(f,8);p>255&&(f=f.slice(0,-1),p=parseInt(f,8)),t+=f.length-1;let h=e.charCodeAt(t);if(f!=="0"||h===56||h===57){if(s)return o(null);i.strictNumericEscape(u,r,n)}return o(String.fromCharCode(p))}return o(String.fromCharCode(l))}}function Fd(e,t,r,n,s,i,a,o){let l=t,u;return{n:u,pos:t}=Uv(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 Uv(e,t,r,n,s,i,a,o,l,u){let c=t,f=s===16?qv.hex:qv.decBinOct,p=s===16?Eu.hex:s===10?Eu.dec:s===8?Eu.oct:Eu.bin,h=!1,b=0;for(let d=0,y=i??1/0;d<y;++d){let P=e.charCodeAt(t),D;if(P===95&&o!=="bail"){let N=e.charCodeAt(t-1),B=e.charCodeAt(t+1);if(o){if(Number.isNaN(B)||!p(B)||f.has(N)||f.has(B)){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(P>=97?D=P-97+10:P>=65?D=P-65+10:p8(P)?D=P-48:D=1/0,D>=s){if(D<=9&&u)return{n:null,pos:t};if(D<=9&&l.invalidDigit(t,r,n,s))D=0;else if(a)D=0,h=!0;else break}++t,b=b*s+D}return t===c||i!=null&&t-c!==i||h?{n:null,pos:t}:{n:b,pos:t}}function Vv(e,t,r,n,s,i){let a=e.charCodeAt(t),o;if(a===123){if(++t,{code:o,pos:t}=Fd(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}=Fd(e,t,r,n,4,!1,s,i));return{code:o,pos:t}}});var Ls=E(Ke=>{"use strict";Object.defineProperty(Ke,"__esModule",{value:!0});Ke.UPDATE_OPERATORS=Ke.UNARY_OPERATORS=Ke.STRING_UNARY_OPERATORS=Ke.STATEMENT_OR_BLOCK_KEYS=Ke.NUMBER_UNARY_OPERATORS=Ke.NUMBER_BINARY_OPERATORS=Ke.NOT_LOCAL_BINDING=Ke.LOGICAL_OPERATORS=Ke.INHERIT_KEYS=Ke.FOR_INIT_KEYS=Ke.FLATTENABLE_KEYS=Ke.EQUALITY_BINARY_OPERATORS=Ke.COMPARISON_BINARY_OPERATORS=Ke.COMMENT_KEYS=Ke.BOOLEAN_UNARY_OPERATORS=Ke.BOOLEAN_NUMBER_BINARY_OPERATORS=Ke.BOOLEAN_BINARY_OPERATORS=Ke.BLOCK_SCOPED_SYMBOL=Ke.BINARY_OPERATORS=Ke.ASSIGNMENT_OPERATORS=void 0;var FSe=Ke.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],kSe=Ke.FLATTENABLE_KEYS=["body","expressions"],LSe=Ke.FOR_INIT_KEYS=["left","init"],RSe=Ke.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"],y8=Ke.LOGICAL_OPERATORS=["||","&&","??"],jSe=Ke.UPDATE_OPERATORS=["++","--"],g8=Ke.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],b8=Ke.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],E8=Ke.COMPARISON_BINARY_OPERATORS=[...b8,"in","instanceof"],v8=Ke.BOOLEAN_BINARY_OPERATORS=[...E8,...g8],Wv=Ke.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],MSe=Ke.BINARY_OPERATORS=["+",...Wv,...v8,"|>"],qSe=Ke.ASSIGNMENT_OPERATORS=["=","+=",...Wv.map(e=>e+"="),...y8.map(e=>e+"=")],T8=Ke.BOOLEAN_UNARY_OPERATORS=["delete","!"],S8=Ke.NUMBER_UNARY_OPERATORS=["+","-","~"],x8=Ke.STRING_UNARY_OPERATORS=["typeof"],USe=Ke.UNARY_OPERATORS=["void","throw",...T8,...S8,...x8],VSe=Ke.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},$Se=Ke.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),WSe=Ke.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")});var ns=E(ct=>{"use strict";Object.defineProperty(ct,"__esModule",{value:!0});ct.VISITOR_KEYS=ct.NODE_PARENT_VALIDATIONS=ct.NODE_FIELDS=ct.FLIPPED_ALIAS_KEYS=ct.DEPRECATED_KEYS=ct.BUILDER_KEYS=ct.ALIAS_KEYS=void 0;ct.arrayOf=Gv;ct.arrayOfType=Hv;ct.assertEach=Xv;ct.assertNodeOrValueType=k8;ct.assertNodeType=Ld;ct.assertOneOf=F8;ct.assertOptionalChainStart=R8;ct.assertShape=L8;ct.assertValueType=Md;ct.chain=Yv;ct.default=Jv;ct.defineAliasedType=q8;ct.typeIs=Su;ct.validate=jd;ct.validateArrayOfType=B8;ct.validateOptional=_8;ct.validateOptionalType=N8;ct.validateType=O8;var Kv=ua(),Tu=xu(),P8=ct.VISITOR_KEYS={},A8=ct.ALIAS_KEYS={},kd=ct.FLIPPED_ALIAS_KEYS={},C8=ct.NODE_FIELDS={},w8=ct.BUILDER_KEYS={},D8=ct.DEPRECATED_KEYS={},I8=ct.NODE_PARENT_VALIDATIONS={};function vu(e){return Array.isArray(e)?"array":e===null?"null":typeof e}function jd(e){return{validate:e}}function Su(e){return typeof e=="string"?Ld(e):Ld(...e)}function O8(e){return jd(Su(e))}function _8(e){return{validate:e,optional:!0}}function N8(e){return{validate:Su(e),optional:!0}}function Gv(e){return Yv(Md("array"),Xv(e))}function Hv(e){return Gv(Su(e))}function B8(e){return jd(Hv(e))}function Xv(e){function t(r,n,s){if(Array.isArray(s))for(let i=0;i<s.length;i++){let a=`${n}[${i}]`,o=s[i];e(r,a,o),process.env.BABEL_TYPES_8_BREAKING&&(0,Tu.validateChild)(r,a,o)}}return t.each=e,t}function F8(...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}function Ld(...e){function t(r,n,s){for(let i of e)if((0,Kv.default)(i,s)){(0,Tu.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?.type)}`)}return t.oneOfNodeTypes=e,t}function k8(...e){function t(r,n,s){for(let i of e)if(vu(s)===i||(0,Kv.default)(i,s)){(0,Tu.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?.type)}`)}return t.oneOfNodeOrValueTypes=e,t}function Md(e){function t(r,n,s){if(!(vu(s)===e))throw new TypeError(`Property ${n} expected type of ${e} but got ${vu(s)}`)}return t.type=e,t}function L8(e){function t(r,n,s){let i=[];for(let a of Object.keys(e))try{(0,Tu.validateField)(r,a,s[a],e[a])}catch(o){if(o instanceof TypeError){i.push(o.message);continue}throw o}if(i.length)throw new TypeError(`Property ${n} of ${r.type} expected to have the following:
8
- ${i.join(`
9
- `)}`)}return t.shapeOf=e,t}function R8(){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 Yv(...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 j8=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],M8=["default","optional","deprecated","validate"],Rd={};function q8(...e){return(t,r={})=>{let n=r.aliases;if(!n){var s,i;r.inherits&&(n=(s=Rd[r.inherits].aliases)==null?void 0:s.slice()),(i=n)!=null||(n=[]),r.aliases=n}let a=e.filter(o=>!n.includes(o));n.unshift(...a),Jv(t,r)}}function Jv(e,t={}){let r=t.inherits&&Rd[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(!j8.includes(o))throw new Error(`Unknown type option "${o}" on ${e}`);t.deprecatedAlias&&(D8[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=Md(vu(l.default)));for(let u of Object.keys(l))if(!M8.includes(u))throw new Error(`Unknown field key "${u}" on ${e}.${o}`)}P8[e]=t.visitor=s,w8[e]=t.builder=a,C8[e]=t.fields=n,A8[e]=t.aliases=i,i.forEach(o=>{kd[o]=kd[o]||[],kd[o].push(e)}),t.validate&&(I8[e]=t.validate),Rd[e]=t}});var Ud=E($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});$r.patternLikeCommon=$r.functionTypeAnnotationCommon=$r.functionDeclarationCommon=$r.functionCommon=$r.classMethodOrPropertyCommon=$r.classMethodOrDeclareMethodCommon=void 0;var Dr=ua(),U8=fa(),zv=ca(),V8=$v(),_o=Ls(),m=ns(),ae=(0,m.defineAliasedType)("Standardized");ae("ArrayExpression",{fields:{elements:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]});ae("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,m.assertValueType)("string");let e=(0,m.assertOneOf)(..._o.ASSIGNMENT_OPERATORS),t=(0,m.assertOneOf)("=");return function(r,n,s){((0,Dr.default)("Pattern",r.left)?t:e)(r,n,s)}}()},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,m.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,m.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,m.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});ae("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,m.assertOneOf)(..._o.BINARY_OPERATORS)},left:{validate:function(){let e=(0,m.assertNodeType)("Expression"),t=(0,m.assertNodeType)("Expression","PrivateName");return Object.assign(function(n,s,i){(n.operator==="in"?t:e)(n,s,i)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:(0,m.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});ae("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,m.assertValueType)("string")}}});ae("Directive",{visitor:["value"],fields:{value:{validate:(0,m.assertNodeType)("DirectiveLiteral")}}});ae("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,m.assertValueType)("string")}}});ae("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Directive"))),default:[]},body:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});ae("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,m.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});ae("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,m.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Expression","SpreadElement","ArgumentPlaceholder")))}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,m.assertOneOf)(!0,!1),optional:!0}},{typeArguments:{validate:(0,m.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,m.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})});ae("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,m.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,m.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});ae("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,m.assertNodeType)("Expression")},consequent:{validate:(0,m.assertNodeType)("Expression")},alternate:{validate:(0,m.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});ae("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,m.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});ae("DebuggerStatement",{aliases:["Statement"]});ae("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,m.assertNodeType)("Expression")},body:{validate:(0,m.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});ae("EmptyStatement",{aliases:["Statement"]});ae("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,m.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});ae("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,m.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,m.assertEach)((0,m.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,m.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}});ae("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,m.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,m.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,m.assertNodeType)("Expression")},body:{validate:(0,m.assertNodeType)("Statement")}}});ae("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,m.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,m.assertNodeType)("Expression"),optional:!0},update:{validate:(0,m.assertNodeType)("Expression"),optional:!0},body:{validate:(0,m.assertNodeType)("Statement")}}});var pa=()=>({params:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:!1},async:{default:!1}});$r.functionCommon=pa;var yi=()=>({returnType:{validate:(0,m.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,m.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});$r.functionTypeAnnotationCommon=yi;var Qv=()=>Object.assign({},pa(),{declare:{validate:(0,m.assertValueType)("boolean"),optional:!0},id:{validate:(0,m.assertNodeType)("Identifier"),optional:!0}});$r.functionDeclarationCommon=Qv;ae("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","returnType","body"],fields:Object.assign({},Qv(),yi(),{body:{validate:(0,m.assertNodeType)("BlockStatement")},predicate:{validate:(0,m.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};let e=(0,m.assertNodeType)("Identifier");return function(t,r,n){(0,Dr.default)("ExportDefaultDeclaration",t)||e(n,"id",n.id)}}()});ae("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},pa(),yi(),{id:{validate:(0,m.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,m.assertNodeType)("BlockStatement")},predicate:{validate:(0,m.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});var da=()=>({typeAnnotation:{validate:(0,m.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,m.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Decorator"))),optional:!0}});$r.patternLikeCommon=da;ae("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},da(),{name:{validate:(0,m.chain)((0,m.assertValueType)("string"),Object.assign(function(e,t,r){if(process.env.BABEL_TYPES_8_BREAKING&&!(0,U8.default)(r,!1))throw new TypeError(`"${r}" is not a valid identifier name`)},{type:"string"}))}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let n=/\.(\w+)$/.exec(t);if(!n)return;let[,s]=n,i={computed:!1};if(s==="property"){if((0,Dr.default)("MemberExpression",e,i)||(0,Dr.default)("OptionalMemberExpression",e,i))return}else if(s==="key"){if((0,Dr.default)("Property",e,i)||(0,Dr.default)("Method",e,i))return}else if(s==="exported"){if((0,Dr.default)("ExportSpecifier",e))return}else if(s==="imported"){if((0,Dr.default)("ImportSpecifier",e,{imported:r}))return}else if(s==="meta"&&(0,Dr.default)("MetaProperty",e,{meta:r}))return;if(((0,zv.isKeyword)(r.name)||(0,zv.isReservedWord)(r.name,!1))&&r.name!=="this")throw new TypeError(`"${r.name}" is not a valid identifier`)}});ae("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,m.assertNodeType)("Expression")},consequent:{validate:(0,m.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,m.assertNodeType)("Statement")}}});ae("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,m.assertNodeType)("Identifier")},body:{validate:(0,m.assertNodeType)("Statement")}}});ae("StringLiteral",{builder:["value"],fields:{value:{validate:(0,m.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});ae("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,m.chain)((0,m.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"]});ae("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});ae("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,m.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});ae("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,m.assertValueType)("string")},flags:{validate:(0,m.chain)((0,m.assertValueType)("string"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let n=/[^gimsuy]/.exec(r);if(n)throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)},{type:"string"})),default:""}}});ae("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,m.assertOneOf)(..._o.LOGICAL_OPERATORS)},left:{validate:(0,m.assertNodeType)("Expression")},right:{validate:(0,m.assertNodeType)("Expression")}}});ae("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,m.assertNodeType)("Expression","Super")},property:{validate:function(){let e=(0,m.assertNodeType)("Identifier","PrivateName"),t=(0,m.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,m.assertOneOf)(!0,!1),optional:!0}})});ae("NewExpression",{inherits:"CallExpression"});ae("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,m.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,m.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Directive"))),default:[]},body:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});ae("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});ae("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},pa(),yi(),{kind:Object.assign({validate:(0,m.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:function(){let e=(0,m.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=(0,m.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,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Decorator"))),optional:!0},body:{validate:(0,m.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});ae("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:function(){let e=(0,m.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),t=(0,m.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,m.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,m.chain)((0,m.assertValueType)("boolean"),Object.assign(function(e,t,r){if(process.env.BABEL_TYPES_8_BREAKING&&r&&e.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")},{type:"boolean"}),function(e,t,r){if(process.env.BABEL_TYPES_8_BREAKING&&r&&!(0,Dr.default)("Identifier",e.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}),default:!1},decorators:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){let e=(0,m.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),t=(0,m.assertNodeType)("Expression");return function(r,n,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;((0,Dr.default)("ObjectPattern",r)?e:t)(s,"value",s.value)}}()});ae("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},da(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,m.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,m.assertNodeType)("LVal")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;let r=/(\w+)\[(\d+)\]/.exec(t);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}`)}});ae("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,m.assertNodeType)("Expression"),optional:!0}}});ae("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Expression")))}},aliases:["Expression"]});ae("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,m.assertNodeType)("Expression")}}});ae("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,m.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Statement")))}}});ae("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,m.assertNodeType)("Expression")},cases:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("SwitchCase")))}}});ae("ThisExpression",{aliases:["Expression"]});ae("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,m.assertNodeType)("Expression")}}});ae("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,m.chain)((0,m.assertNodeType)("BlockStatement"),Object.assign(function(e){if(process.env.BABEL_TYPES_8_BREAKING&&!e.handler&&!e.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:(0,m.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,m.assertNodeType)("BlockStatement")}}});ae("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,m.assertNodeType)("Expression")},operator:{validate:(0,m.assertOneOf)(..._o.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});ae("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,m.assertNodeType)("Identifier","MemberExpression"):(0,m.assertNodeType)("Expression")},operator:{validate:(0,m.assertOneOf)(..._o.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});ae("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,m.assertValueType)("boolean"),optional:!0},kind:{validate:(0,m.assertOneOf)("var","let","const","using","await using")},declarations:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(process.env.BABEL_TYPES_8_BREAKING&&(0,Dr.default)("ForXStatement",e,{left:r})&&r.declarations.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}});ae("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,m.assertNodeType)("LVal");let e=(0,m.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),t=(0,m.assertNodeType)("Identifier");return function(r,n,s){(r.init?e:t)(r,n,s)}}()},definite:{optional:!0,validate:(0,m.assertValueType)("boolean")},init:{optional:!0,validate:(0,m.assertNodeType)("Expression")}}});ae("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,m.assertNodeType)("Expression")},body:{validate:(0,m.assertNodeType)("Statement")}}});ae("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,m.assertNodeType)("Expression")},body:{validate:(0,m.assertNodeType)("Statement")}}});ae("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},da(),{left:{validate:(0,m.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,m.assertNodeType)("Expression")},decorators:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Decorator"))),optional:!0}})});ae("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},da(),{elements:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeOrValueType)("null","PatternLike","LVal")))}})});ae("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},pa(),yi(),{expression:{validate:(0,m.assertValueType)("boolean")},body:{validate:(0,m.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,m.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});ae("ClassBody",{visitor:["body"],fields:{body:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}});ae("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,m.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,m.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,m.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,m.assertNodeType)("Expression")},superTypeParameters:{validate:(0,m.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,m.assertNodeType)("InterfaceExtends"),optional:!0}}});ae("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,m.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,m.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,m.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,m.assertNodeType)("Expression")},superTypeParameters:{validate:(0,m.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,m.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,m.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,m.assertValueType)("boolean"),optional:!0}},validate:function(){let e=(0,m.assertNodeType)("Identifier");return function(t,r,n){process.env.BABEL_TYPES_8_BREAKING&&((0,Dr.default)("ExportDefaultDeclaration",t)||e(n,"id",n.id))}}()});ae("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:(0,m.assertNodeType)("StringLiteral")},exportKind:(0,m.validateOptional)((0,m.assertOneOf)("type","value")),attributes:{optional:!0,validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("ImportAttribute")))}}});ae("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,m.assertNodeType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression")},exportKind:(0,m.validateOptional)((0,m.assertOneOf)("value"))}});ae("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:(0,m.chain)((0,m.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(process.env.BABEL_TYPES_8_BREAKING&&r&&e.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")},{oneOfNodeTypes:["Declaration"]}),function(e,t,r){if(process.env.BABEL_TYPES_8_BREAKING&&r&&e.source)throw new TypeError("Cannot export a declaration from a source")})},attributes:{optional:!0,validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)(function(){let e=(0,m.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),t=(0,m.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?function(r,n,s){(r.source?e:t)(r,n,s)}:e}()))},source:{validate:(0,m.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,m.validateOptional)((0,m.assertOneOf)("type","value"))}});ae("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,m.assertNodeType)("Identifier")},exported:{validate:(0,m.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,m.assertOneOf)("type","value"),optional:!0}}});ae("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,m.assertNodeType)("VariableDeclaration","LVal");let e=(0,m.assertNodeType)("VariableDeclaration"),t=(0,m.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return function(r,n,s){(0,Dr.default)("VariableDeclaration",s)?e(r,n,s):t(r,n,s)}}()},right:{validate:(0,m.assertNodeType)("Expression")},body:{validate:(0,m.assertNodeType)("Statement")},await:{default:!1}}});ae("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:!0,validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("ImportAttribute")))},module:{optional:!0,validate:(0,m.assertValueType)("boolean")},phase:{default:null,validate:(0,m.assertOneOf)("source","defer")},specifiers:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,m.assertNodeType)("StringLiteral")},importKind:{validate:(0,m.assertOneOf)("type","typeof","value"),optional:!0}}});ae("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,m.assertNodeType)("Identifier")}}});ae("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,m.assertNodeType)("Identifier")}}});ae("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,m.assertNodeType)("Identifier")},imported:{validate:(0,m.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,m.assertOneOf)("type","typeof","value"),optional:!0}}});ae("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,m.assertOneOf)("source","defer")},source:{validate:(0,m.assertNodeType)("Expression")},options:{validate:(0,m.assertNodeType)("Expression"),optional:!0}}});ae("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,m.chain)((0,m.assertNodeType)("Identifier"),Object.assign(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let n;switch(r.name){case"function":n="sent";break;case"new":n="target";break;case"import":n="meta";break}if(!(0,Dr.default)("Identifier",e.property,{name:n}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,m.assertNodeType)("Identifier")}}});var Pu=()=>({abstract:{validate:(0,m.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,m.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,m.assertValueType)("boolean"),optional:!0},key:{validate:(0,m.chain)(function(){let e=(0,m.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=(0,m.assertNodeType)("Expression");return function(r,n,s){(r.computed?t:e)(r,n,s)}}(),(0,m.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});$r.classMethodOrPropertyCommon=Pu;var qd=()=>Object.assign({},pa(),Pu(),{params:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,m.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,m.chain)((0,m.assertValueType)("string"),(0,m.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Decorator"))),optional:!0}});$r.classMethodOrDeclareMethodCommon=qd;ae("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({},qd(),yi(),{body:{validate:(0,m.assertNodeType)("BlockStatement")}})});ae("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},da(),{properties:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("RestElement","ObjectProperty")))}})});ae("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,m.assertNodeType)("Expression")}}});ae("Super",{aliases:["Expression"]});ae("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,m.assertNodeType)("Expression")},quasi:{validate:(0,m.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,m.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});ae("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,m.chain)((0,m.assertShape)({raw:{validate:(0,m.assertValueType)("string")},cooked:{validate:(0,m.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,V8.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}}});ae("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("TemplateElement")))},expressions:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.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.
10
- Expected ${r.length+1} quasis but got ${e.quasis.length}`)})}}});ae("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,m.chain)((0,m.assertValueType)("boolean"),Object.assign(function(e,t,r){if(process.env.BABEL_TYPES_8_BREAKING&&r&&!e.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})),default:!1},argument:{optional:!0,validate:(0,m.assertNodeType)("Expression")}}});ae("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,m.assertNodeType)("Expression")}}});ae("Import",{aliases:["Expression"]});ae("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,m.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});ae("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,m.assertNodeType)("Identifier")}}});ae("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,m.assertNodeType)("Expression")},property:{validate:function(){let e=(0,m.assertNodeType)("Identifier"),t=(0,m.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,m.chain)((0,m.assertValueType)("boolean"),(0,m.assertOptionalChainStart)()):(0,m.assertValueType)("boolean")}}});ae("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,m.assertNodeType)("Expression")},arguments:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Expression","SpreadElement","ArgumentPlaceholder")))},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,m.chain)((0,m.assertValueType)("boolean"),(0,m.assertOptionalChainStart)()):(0,m.assertValueType)("boolean")},typeArguments:{validate:(0,m.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,m.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}});ae("ClassProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},Pu(),{value:{validate:(0,m.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,m.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,m.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,m.assertValueType)("boolean"),optional:!0},declare:{validate:(0,m.assertValueType)("boolean"),optional:!0},variance:{validate:(0,m.assertNodeType)("Variance"),optional:!0}})});ae("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},Pu(),{key:{validate:(0,m.chain)(function(){let e=(0,m.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),t=(0,m.assertNodeType)("Expression");return function(r,n,s){(r.computed?t:e)(r,n,s)}}(),(0,m.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,m.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,m.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,m.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,m.assertValueType)("boolean"),optional:!0},declare:{validate:(0,m.assertValueType)("boolean"),optional:!0},variance:{validate:(0,m.assertNodeType)("Variance"),optional:!0}})});ae("ClassPrivateProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,m.assertNodeType)("PrivateName")},value:{validate:(0,m.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,m.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Decorator"))),optional:!0},static:{validate:(0,m.assertValueType)("boolean"),default:!1},readonly:{validate:(0,m.assertValueType)("boolean"),optional:!0},definite:{validate:(0,m.assertValueType)("boolean"),optional:!0},variance:{validate:(0,m.assertNodeType)("Variance"),optional:!0}}});ae("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},qd(),yi(),{kind:{validate:(0,m.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,m.assertNodeType)("PrivateName")},body:{validate:(0,m.assertNodeType)("BlockStatement")}})});ae("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,m.assertNodeType)("Identifier")}}});ae("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,m.chain)((0,m.assertValueType)("array"),(0,m.assertEach)((0,m.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]})});var Zv=E(()=>{"use strict";var L=ns(),Te=(0,L.defineAliasedType)("Flow"),Vd=e=>{let t=e==="DeclareClass";Te(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...t?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,L.validateType)("Identifier"),typeParameters:(0,L.validateOptionalType)("TypeParameterDeclaration"),extends:(0,L.validateOptional)((0,L.arrayOfType)("InterfaceExtends"))},t?{mixins:(0,L.validateOptional)((0,L.arrayOfType)("InterfaceExtends")),implements:(0,L.validateOptional)((0,L.arrayOfType)("ClassImplements"))}:{},{body:(0,L.validateType)("ObjectTypeAnnotation")})})};Te("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Te("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,L.validateType)("FlowType")}});Te("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Te("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,L.validate)((0,L.assertValueType)("boolean"))}});Te("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Te("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,L.validateType)("Identifier"),typeParameters:(0,L.validateOptionalType)("TypeParameterInstantiation")}});Vd("DeclareClass");Te("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,L.validateType)("Identifier"),predicate:(0,L.validateOptionalType)("DeclaredPredicate")}});Vd("DeclareInterface");Te("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,L.validateType)(["Identifier","StringLiteral"]),body:(0,L.validateType)("BlockStatement"),kind:(0,L.validateOptional)((0,L.assertOneOf)("CommonJS","ES"))}});Te("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,L.validateType)("TypeAnnotation")}});Te("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,L.validateType)("Identifier"),typeParameters:(0,L.validateOptionalType)("TypeParameterDeclaration"),right:(0,L.validateType)("FlowType")}});Te("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,L.validateType)("Identifier"),typeParameters:(0,L.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,L.validateOptionalType)("FlowType"),impltype:(0,L.validateOptionalType)("FlowType")}});Te("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,L.validateType)("Identifier")}});Te("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,L.validateOptionalType)("Flow"),specifiers:(0,L.validateOptional)((0,L.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,L.validateOptionalType)("StringLiteral"),default:(0,L.validateOptional)((0,L.assertValueType)("boolean"))}});Te("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,L.validateType)("StringLiteral"),exportKind:(0,L.validateOptional)((0,L.assertOneOf)("type","value"))}});Te("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,L.validateType)("Flow")}});Te("ExistsTypeAnnotation",{aliases:["FlowType"]});Te("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,L.validateOptionalType)("TypeParameterDeclaration"),params:(0,L.validate)((0,L.arrayOfType)("FunctionTypeParam")),rest:(0,L.validateOptionalType)("FunctionTypeParam"),this:(0,L.validateOptionalType)("FunctionTypeParam"),returnType:(0,L.validateType)("FlowType")}});Te("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,L.validateOptionalType)("Identifier"),typeAnnotation:(0,L.validateType)("FlowType"),optional:(0,L.validateOptional)((0,L.assertValueType)("boolean"))}});Te("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,L.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,L.validateOptionalType)("TypeParameterInstantiation")}});Te("InferredPredicate",{aliases:["FlowPredicate"]});Te("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,L.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,L.validateOptionalType)("TypeParameterInstantiation")}});Vd("InterfaceDeclaration");Te("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,L.validateOptional)((0,L.arrayOfType)("InterfaceExtends")),body:(0,L.validateType)("ObjectTypeAnnotation")}});Te("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,L.validate)((0,L.arrayOfType)("FlowType"))}});Te("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Te("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Te("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,L.validateType)("FlowType")}});Te("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,L.validate)((0,L.assertValueType)("number"))}});Te("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Te("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,L.validate)((0,L.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:(0,L.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,L.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,L.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,L.assertValueType)("boolean"),default:!1},inexact:(0,L.validateOptional)((0,L.assertValueType)("boolean"))}});Te("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,L.validateType)("Identifier"),value:(0,L.validateType)("FlowType"),optional:(0,L.validate)((0,L.assertValueType)("boolean")),static:(0,L.validate)((0,L.assertValueType)("boolean")),method:(0,L.validate)((0,L.assertValueType)("boolean"))}});Te("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,L.validateType)("FlowType"),static:(0,L.validate)((0,L.assertValueType)("boolean"))}});Te("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,L.validateOptionalType)("Identifier"),key:(0,L.validateType)("FlowType"),value:(0,L.validateType)("FlowType"),static:(0,L.validate)((0,L.assertValueType)("boolean")),variance:(0,L.validateOptionalType)("Variance")}});Te("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,L.validateType)(["Identifier","StringLiteral"]),value:(0,L.validateType)("FlowType"),kind:(0,L.validate)((0,L.assertOneOf)("init","get","set")),static:(0,L.validate)((0,L.assertValueType)("boolean")),proto:(0,L.validate)((0,L.assertValueType)("boolean")),optional:(0,L.validate)((0,L.assertValueType)("boolean")),variance:(0,L.validateOptionalType)("Variance"),method:(0,L.validate)((0,L.assertValueType)("boolean"))}});Te("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,L.validateType)("FlowType")}});Te("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,L.validateType)("Identifier"),typeParameters:(0,L.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,L.validateOptionalType)("FlowType"),impltype:(0,L.validateType)("FlowType")}});Te("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,L.validateType)("Identifier"),qualification:(0,L.validateType)(["Identifier","QualifiedTypeIdentifier"])}});Te("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,L.validate)((0,L.assertValueType)("string"))}});Te("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Te("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Te("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Te("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,L.validate)((0,L.arrayOfType)("FlowType"))}});Te("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,L.validateType)("FlowType")}});Te("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,L.validateType)("Identifier"),typeParameters:(0,L.validateOptionalType)("TypeParameterDeclaration"),right:(0,L.validateType)("FlowType")}});Te("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,L.validateType)("FlowType")}});Te("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,L.validateType)("Expression"),typeAnnotation:(0,L.validateType)("TypeAnnotation")}});Te("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,L.validate)((0,L.assertValueType)("string")),bound:(0,L.validateOptionalType)("TypeAnnotation"),default:(0,L.validateOptionalType)("FlowType"),variance:(0,L.validateOptionalType)("Variance")}});Te("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,L.validate)((0,L.arrayOfType)("TypeParameter"))}});Te("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,L.validate)((0,L.arrayOfType)("FlowType"))}});Te("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,L.validate)((0,L.arrayOfType)("FlowType"))}});Te("Variance",{builder:["kind"],fields:{kind:(0,L.validate)((0,L.assertOneOf)("minus","plus"))}});Te("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Te("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,L.validateType)("Identifier"),body:(0,L.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});Te("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,L.validate)((0,L.assertValueType)("boolean")),members:(0,L.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,L.validate)((0,L.assertValueType)("boolean"))}});Te("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,L.validate)((0,L.assertValueType)("boolean")),members:(0,L.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,L.validate)((0,L.assertValueType)("boolean"))}});Te("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,L.validate)((0,L.assertValueType)("boolean")),members:(0,L.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,L.validate)((0,L.assertValueType)("boolean"))}});Te("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,L.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,L.validate)((0,L.assertValueType)("boolean"))}});Te("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,L.validateType)("Identifier"),init:(0,L.validateType)("BooleanLiteral")}});Te("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,L.validateType)("Identifier"),init:(0,L.validateType)("NumericLiteral")}});Te("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,L.validateType)("Identifier"),init:(0,L.validateType)("StringLiteral")}});Te("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,L.validateType)("Identifier")}});Te("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,L.validateType)("FlowType"),indexType:(0,L.validateType)("FlowType")}});Te("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,L.validateType)("FlowType"),indexType:(0,L.validateType)("FlowType"),optional:(0,L.validate)((0,L.assertValueType)("boolean"))}})});var eT=E(()=>{"use strict";var dt=ns(),Ir=(0,dt.defineAliasedType)("JSX");Ir("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,dt.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,dt.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});Ir("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,dt.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});Ir("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,dt.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,dt.assertNodeType)("JSXClosingElement")},children:{validate:(0,dt.chain)((0,dt.assertValueType)("array"),(0,dt.assertEach)((0,dt.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:(0,dt.assertValueType)("boolean"),optional:!0}})});Ir("JSXEmptyExpression",{});Ir("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,dt.assertNodeType)("Expression","JSXEmptyExpression")}}});Ir("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,dt.assertNodeType)("Expression")}}});Ir("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,dt.assertValueType)("string")}}});Ir("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,dt.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,dt.assertNodeType)("JSXIdentifier")}}});Ir("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,dt.assertNodeType)("JSXIdentifier")},name:{validate:(0,dt.assertNodeType)("JSXIdentifier")}}});Ir("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,dt.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:(0,dt.chain)((0,dt.assertValueType)("array"),(0,dt.assertEach)((0,dt.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,dt.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});Ir("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,dt.assertNodeType)("Expression")}}});Ir("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,dt.assertValueType)("string")}}});Ir("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,dt.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,dt.assertNodeType)("JSXClosingFragment")},children:{validate:(0,dt.chain)((0,dt.assertValueType)("array"),(0,dt.assertEach)((0,dt.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});Ir("JSXOpeningFragment",{aliases:["Immutable"]});Ir("JSXClosingFragment",{aliases:["Immutable"]})});var Kd=E(Rs=>{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});Rs.PLACEHOLDERS_FLIPPED_ALIAS=Rs.PLACEHOLDERS_ALIAS=Rs.PLACEHOLDERS=void 0;var $8=ns(),W8=Rs.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],Wd=Rs.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let e of W8){let t=$8.ALIAS_KEYS[e];t!=null&&t.length&&(Wd[e]=t)}var $d=Rs.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(Wd).forEach(e=>{Wd[e].forEach(t=>{hasOwnProperty.call($d,t)||($d[t]=[]),$d[t].push(e)})})});var tT=E(()=>{"use strict";var Au=ns(),K8=Kd(),Gd=(0,Au.defineAliasedType)("Miscellaneous");Gd("Noop",{visitor:[]});Gd("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,Au.assertNodeType)("Identifier")},expectedNode:{validate:(0,Au.assertOneOf)(...K8.PLACEHOLDERS)}}});Gd("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,Au.assertValueType)("string")}}})});var rT=E(()=>{"use strict";var ft=ns();(0,ft.default)("ArgumentPlaceholder",{});(0,ft.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,ft.assertNodeType)("Expression")},callee:{validate:(0,ft.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}});(0,ft.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,ft.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,ft.assertNodeType)("StringLiteral")}}});(0,ft.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,ft.assertNodeType)("Expression")}}});(0,ft.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,ft.assertNodeType)("BlockStatement")},async:{validate:(0,ft.assertValueType)("boolean"),default:!1}}});(0,ft.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,ft.assertNodeType)("Identifier")}}});(0,ft.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,ft.chain)((0,ft.assertValueType)("array"),(0,ft.assertEach)((0,ft.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,ft.default)("TupleExpression",{fields:{elements:{validate:(0,ft.chain)((0,ft.assertValueType)("array"),(0,ft.assertEach)((0,ft.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,ft.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,ft.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,ft.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,ft.assertNodeType)("Program")}},aliases:["Expression"]});(0,ft.default)("TopicReference",{aliases:["Expression"]});(0,ft.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,ft.assertNodeType)("Expression")}},aliases:["Expression"]});(0,ft.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,ft.assertNodeType)("Expression")}},aliases:["Expression"]});(0,ft.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})});var cT=E(()=>{"use strict";var K=ns(),nT=Ud(),G8=ua(),Ne=(0,K.defineAliasedType)("TypeScript"),Wr=(0,K.assertValueType)("boolean"),sT=()=>({returnType:{validate:(0,K.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,K.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});Ne("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,K.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,K.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,K.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,K.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,K.chain)((0,K.assertValueType)("array"),(0,K.assertEach)((0,K.assertNodeType)("Decorator"))),optional:!0}}});Ne("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,nT.functionDeclarationCommon)(),sT())});Ne("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,nT.classMethodOrDeclareMethodCommon)(),sT())});Ne("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,K.validateType)("TSEntityName"),right:(0,K.validateType)("Identifier")}});var Cu=()=>({typeParameters:(0,K.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,K.validateArrayOfType)(["ArrayPattern","Identifier","ObjectPattern","RestElement"]),typeAnnotation:(0,K.validateOptionalType)("TSTypeAnnotation")}),iT={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:Cu()};Ne("TSCallSignatureDeclaration",iT);Ne("TSConstructSignatureDeclaration",iT);var aT=()=>({key:(0,K.validateType)("Expression"),computed:{default:!1},optional:(0,K.validateOptional)(Wr)});Ne("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},aT(),{readonly:(0,K.validateOptional)(Wr),typeAnnotation:(0,K.validateOptionalType)("TSTypeAnnotation"),kind:{validate:(0,K.assertOneOf)("get","set")}})});Ne("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},Cu(),aT(),{kind:{validate:(0,K.assertOneOf)("method","get","set")}})});Ne("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,K.validateOptional)(Wr),static:(0,K.validateOptional)(Wr),parameters:(0,K.validateArrayOfType)("Identifier"),typeAnnotation:(0,K.validateOptionalType)("TSTypeAnnotation")}});var H8=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let e of H8)Ne(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});Ne("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var oT={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};Ne("TSFunctionType",Object.assign({},oT,{fields:Cu()}));Ne("TSConstructorType",Object.assign({},oT,{fields:Object.assign({},Cu(),{abstract:(0,K.validateOptional)(Wr)})}));Ne("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,K.validateType)("TSEntityName"),typeParameters:(0,K.validateOptionalType)("TSTypeParameterInstantiation")}});Ne("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,K.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,K.validateOptionalType)("TSTypeAnnotation"),asserts:(0,K.validateOptional)(Wr)}});Ne("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,K.validateType)(["TSEntityName","TSImportType"]),typeParameters:(0,K.validateOptionalType)("TSTypeParameterInstantiation")}});Ne("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,K.validateArrayOfType)("TSTypeElement")}});Ne("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,K.validateType)("TSType")}});Ne("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,K.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});Ne("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,K.validateType)("TSType")}});Ne("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,K.validateType)("TSType")}});Ne("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,K.validateType)("Identifier"),optional:{validate:Wr,default:!1},elementType:(0,K.validateType)("TSType")}});var lT={aliases:["TSType"],visitor:["types"],fields:{types:(0,K.validateArrayOfType)("TSType")}};Ne("TSUnionType",lT);Ne("TSIntersectionType",lT);Ne("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,K.validateType)("TSType"),extendsType:(0,K.validateType)("TSType"),trueType:(0,K.validateType)("TSType"),falseType:(0,K.validateType)("TSType")}});Ne("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,K.validateType)("TSTypeParameter")}});Ne("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,K.validateType)("TSType")}});Ne("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,K.validate)((0,K.assertValueType)("string")),typeAnnotation:(0,K.validateType)("TSType")}});Ne("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,K.validateType)("TSType"),indexType:(0,K.validateType)("TSType")}});Ne("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:(0,K.validateType)("TSTypeParameter")},{readonly:(0,K.validateOptional)((0,K.assertOneOf)(!0,!1,"+","-")),optional:(0,K.validateOptional)((0,K.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,K.validateOptionalType)("TSType"),nameType:(0,K.validateOptionalType)("TSType")})});Ne("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let e=(0,K.assertNodeType)("NumericLiteral","BigIntLiteral"),t=(0,K.assertOneOf)("-"),r=(0,K.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function n(s,i,a){(0,G8.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}()}}});Ne("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,K.validateType)("TSEntityName"),typeParameters:(0,K.validateOptionalType)("TSTypeParameterInstantiation")}});Ne("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,K.validateOptional)(Wr),id:(0,K.validateType)("Identifier"),typeParameters:(0,K.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,K.validateOptional)((0,K.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,K.validateType)("TSInterfaceBody")}});Ne("TSInterfaceBody",{visitor:["body"],fields:{body:(0,K.validateArrayOfType)("TSTypeElement")}});Ne("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,K.validateOptional)(Wr),id:(0,K.validateType)("Identifier"),typeParameters:(0,K.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,K.validateType)("TSType")}});Ne("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,K.validateType)("Expression"),typeParameters:(0,K.validateOptionalType)("TSTypeParameterInstantiation")}});var uT={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,K.validateType)("Expression"),typeAnnotation:(0,K.validateType)("TSType")}};Ne("TSAsExpression",uT);Ne("TSSatisfiesExpression",uT);Ne("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,K.validateType)("TSType"),expression:(0,K.validateType)("Expression")}});Ne("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,K.validateOptional)(Wr),const:(0,K.validateOptional)(Wr),id:(0,K.validateType)("Identifier"),members:(0,K.validateArrayOfType)("TSEnumMember"),initializer:(0,K.validateOptionalType)("Expression")}});Ne("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,K.validateType)(["Identifier","StringLiteral"]),initializer:(0,K.validateOptionalType)("Expression")}});Ne("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,K.validateOptional)(Wr),global:(0,K.validateOptional)(Wr),id:(0,K.validateType)(["Identifier","StringLiteral"]),body:(0,K.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});Ne("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,K.validateArrayOfType)("Statement")}});Ne("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,K.validateType)("StringLiteral"),qualifier:(0,K.validateOptionalType)("TSEntityName"),typeParameters:(0,K.validateOptionalType)("TSTypeParameterInstantiation"),options:{validate:(0,K.assertNodeType)("Expression"),optional:!0}}});Ne("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,K.validate)(Wr),id:(0,K.validateType)("Identifier"),moduleReference:(0,K.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,K.assertOneOf)("type","value"),optional:!0}}});Ne("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,K.validateType)("StringLiteral")}});Ne("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,K.validateType)("Expression")}});Ne("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,K.validateType)("Expression")}});Ne("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,K.validateType)("Identifier")}});Ne("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,K.assertNodeType)("TSType")}}});Ne("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,K.chain)((0,K.assertValueType)("array"),(0,K.assertEach)((0,K.assertNodeType)("TSType")))}}});Ne("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,K.chain)((0,K.assertValueType)("array"),(0,K.assertEach)((0,K.assertNodeType)("TSTypeParameter")))}}});Ne("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,K.assertValueType)("string")},in:{validate:(0,K.assertValueType)("boolean"),optional:!0},out:{validate:(0,K.assertValueType)("boolean"),optional:!0},const:{validate:(0,K.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,K.assertNodeType)("TSType"),optional:!0},default:{validate:(0,K.assertNodeType)("TSType"),optional:!0}}})});var fT=E(wu=>{"use strict";Object.defineProperty(wu,"__esModule",{value:!0});wu.DEPRECATED_ALIASES=void 0;var ixe=wu.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var rn=E(Or=>{"use strict";Object.defineProperty(Or,"__esModule",{value:!0});Object.defineProperty(Or,"ALIAS_KEYS",{enumerable:!0,get:function(){return ar.ALIAS_KEYS}});Object.defineProperty(Or,"BUILDER_KEYS",{enumerable:!0,get:function(){return ar.BUILDER_KEYS}});Object.defineProperty(Or,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return Hd.DEPRECATED_ALIASES}});Object.defineProperty(Or,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return ar.DEPRECATED_KEYS}});Object.defineProperty(Or,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return ar.FLIPPED_ALIAS_KEYS}});Object.defineProperty(Or,"NODE_FIELDS",{enumerable:!0,get:function(){return ar.NODE_FIELDS}});Object.defineProperty(Or,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return ar.NODE_PARENT_VALIDATIONS}});Object.defineProperty(Or,"PLACEHOLDERS",{enumerable:!0,get:function(){return No.PLACEHOLDERS}});Object.defineProperty(Or,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return No.PLACEHOLDERS_ALIAS}});Object.defineProperty(Or,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return No.PLACEHOLDERS_FLIPPED_ALIAS}});Or.TYPES=void 0;Object.defineProperty(Or,"VISITOR_KEYS",{enumerable:!0,get:function(){return ar.VISITOR_KEYS}});var js=Iv();Ud();Zv();eT();tT();rT();cT();var ar=ns(),No=Kd(),Hd=fT();Object.keys(Hd.DEPRECATED_ALIASES).forEach(e=>{ar.FLIPPED_ALIAS_KEYS[e]=ar.FLIPPED_ALIAS_KEYS[Hd.DEPRECATED_ALIASES[e]]});js(ar.VISITOR_KEYS);js(ar.ALIAS_KEYS);js(ar.FLIPPED_ALIAS_KEYS);js(ar.NODE_FIELDS);js(ar.BUILDER_KEYS);js(ar.DEPRECATED_KEYS);js(No.PLACEHOLDERS_ALIAS);js(No.PLACEHOLDERS_FLIPPED_ALIAS);var oxe=Or.TYPES=[].concat(Object.keys(ar.VISITOR_KEYS),Object.keys(ar.FLIPPED_ALIAS_KEYS),Object.keys(ar.DEPRECATED_KEYS))});var xu=E(Bo=>{"use strict";Object.defineProperty(Bo,"__esModule",{value:!0});Bo.default=X8;Bo.validateChild=hT;Bo.validateField=dT;var pT=rn();function X8(e,t,r){if(!e)return;let n=pT.NODE_FIELDS[e.type];if(!n)return;let s=n[t];dT(e,t,r,s),hT(e,t,r)}function dT(e,t,r,n){n!=null&&n.validate&&(n.optional&&r==null||n.validate(e,t,r))}function hT(e,t,r){if(r==null)return;let n=pT.NODE_PARENT_VALIDATIONS[r.type];n&&n(e,t,r)}});var mT=E(Xd=>{"use strict";Object.defineProperty(Xd,"__esModule",{value:!0});Xd.default=z8;var Y8=xu(),J8=Be();function z8(e){let t=J8.BUILDER_KEYS[e.type];for(let r of t)(0,Y8.default)(e,r,e[r]);return e}});var _r=E(g=>{"use strict";Object.defineProperty(g,"__esModule",{value:!0});g.anyTypeAnnotation=Dj;g.argumentPlaceholder=n5;g.arrayExpression=Q8;g.arrayPattern=H6;g.arrayTypeAnnotation=Ij;g.arrowFunctionExpression=X6;g.assignmentExpression=Z8;g.assignmentPattern=G6;g.awaitExpression=yj;g.bigIntLiteral=bj;g.binaryExpression=e6;g.bindExpression=s5;g.blockStatement=s6;g.booleanLiteral=P6;g.booleanLiteralTypeAnnotation=_j;g.booleanTypeAnnotation=Oj;g.breakStatement=i6;g.callExpression=a6;g.catchClause=o6;g.classAccessorProperty=xj;g.classBody=Y6;g.classDeclaration=z6;g.classExpression=J6;g.classImplements=Bj;g.classMethod=uj;g.classPrivateMethod=Aj;g.classPrivateProperty=Pj;g.classProperty=Sj;g.conditionalExpression=l6;g.continueStatement=u6;g.debuggerStatement=c6;g.decimalLiteral=f5;g.declareClass=Fj;g.declareExportAllDeclaration=$j;g.declareExportDeclaration=Vj;g.declareFunction=kj;g.declareInterface=Lj;g.declareModule=Rj;g.declareModuleExports=jj;g.declareOpaqueType=qj;g.declareTypeAlias=Mj;g.declareVariable=Uj;g.declaredPredicate=Wj;g.decorator=a5;g.directive=r6;g.directiveLiteral=n6;g.doExpression=o5;g.doWhileStatement=f6;g.emptyStatement=p6;g.emptyTypeAnnotation=tM;g.enumBooleanBody=IM;g.enumBooleanMember=BM;g.enumDeclaration=DM;g.enumDefaultedMember=LM;g.enumNumberBody=OM;g.enumNumberMember=FM;g.enumStringBody=_M;g.enumStringMember=kM;g.enumSymbolBody=NM;g.existsTypeAnnotation=Kj;g.exportAllDeclaration=Q6;g.exportDefaultDeclaration=Z6;g.exportDefaultSpecifier=l5;g.exportNamedDeclaration=ej;g.exportNamespaceSpecifier=Ej;g.exportSpecifier=tj;g.expressionStatement=d6;g.file=h6;g.forInStatement=m6;g.forOfStatement=rj;g.forStatement=y6;g.functionDeclaration=g6;g.functionExpression=b6;g.functionTypeAnnotation=Gj;g.functionTypeParam=Hj;g.genericTypeAnnotation=Xj;g.identifier=E6;g.ifStatement=v6;g.import=gj;g.importAttribute=i5;g.importDeclaration=nj;g.importDefaultSpecifier=sj;g.importExpression=oj;g.importNamespaceSpecifier=ij;g.importSpecifier=aj;g.indexedAccessType=RM;g.inferredPredicate=Yj;g.interfaceDeclaration=zj;g.interfaceExtends=Jj;g.interfaceTypeAnnotation=Qj;g.interpreterDirective=t6;g.intersectionTypeAnnotation=Zj;g.jSXAttribute=g.jsxAttribute=MM;g.jSXClosingElement=g.jsxClosingElement=qM;g.jSXClosingFragment=g.jsxClosingFragment=ZM;g.jSXElement=g.jsxElement=UM;g.jSXEmptyExpression=g.jsxEmptyExpression=VM;g.jSXExpressionContainer=g.jsxExpressionContainer=$M;g.jSXFragment=g.jsxFragment=zM;g.jSXIdentifier=g.jsxIdentifier=KM;g.jSXMemberExpression=g.jsxMemberExpression=GM;g.jSXNamespacedName=g.jsxNamespacedName=HM;g.jSXOpeningElement=g.jsxOpeningElement=XM;g.jSXOpeningFragment=g.jsxOpeningFragment=QM;g.jSXSpreadAttribute=g.jsxSpreadAttribute=YM;g.jSXSpreadChild=g.jsxSpreadChild=WM;g.jSXText=g.jsxText=JM;g.labeledStatement=T6;g.logicalExpression=A6;g.memberExpression=C6;g.metaProperty=lj;g.mixedTypeAnnotation=eM;g.moduleExpression=p5;g.newExpression=w6;g.noop=e5;g.nullLiteral=x6;g.nullLiteralTypeAnnotation=Nj;g.nullableTypeAnnotation=rM;g.numberLiteral=D9;g.numberLiteralTypeAnnotation=nM;g.numberTypeAnnotation=sM;g.numericLiteral=yT;g.objectExpression=I6;g.objectMethod=O6;g.objectPattern=cj;g.objectProperty=_6;g.objectTypeAnnotation=iM;g.objectTypeCallProperty=oM;g.objectTypeIndexer=lM;g.objectTypeInternalSlot=aM;g.objectTypeProperty=uM;g.objectTypeSpreadProperty=cM;g.opaqueType=fM;g.optionalCallExpression=Tj;g.optionalIndexedAccessType=jM;g.optionalMemberExpression=vj;g.parenthesizedExpression=F6;g.pipelineBareFunction=m5;g.pipelinePrimaryTopicReference=y5;g.pipelineTopicExpression=h5;g.placeholder=t5;g.privateName=Cj;g.program=D6;g.qualifiedTypeIdentifier=pM;g.recordExpression=u5;g.regExpLiteral=gT;g.regexLiteral=I9;g.restElement=bT;g.restProperty=O9;g.returnStatement=N6;g.sequenceExpression=B6;g.spreadElement=ET;g.spreadProperty=_9;g.staticBlock=wj;g.stringLiteral=S6;g.stringLiteralTypeAnnotation=dM;g.stringTypeAnnotation=hM;g.super=fj;g.switchCase=k6;g.switchStatement=L6;g.symbolTypeAnnotation=mM;g.taggedTemplateExpression=pj;g.templateElement=dj;g.templateLiteral=hj;g.thisExpression=R6;g.thisTypeAnnotation=yM;g.throwStatement=j6;g.topicReference=d5;g.tryStatement=M6;g.tSAnyKeyword=g.tsAnyKeyword=C5;g.tSArrayType=g.tsArrayType=G5;g.tSAsExpression=g.tsAsExpression=f9;g.tSBigIntKeyword=g.tsBigIntKeyword=D5;g.tSBooleanKeyword=g.tsBooleanKeyword=w5;g.tSCallSignatureDeclaration=g.tsCallSignatureDeclaration=T5;g.tSConditionalType=g.tsConditionalType=Z5;g.tSConstructSignatureDeclaration=g.tsConstructSignatureDeclaration=S5;g.tSConstructorType=g.tsConstructorType=U5;g.tSDeclareFunction=g.tsDeclareFunction=b5;g.tSDeclareMethod=g.tsDeclareMethod=E5;g.tSEnumDeclaration=g.tsEnumDeclaration=h9;g.tSEnumMember=g.tsEnumMember=m9;g.tSExportAssignment=g.tsExportAssignment=S9;g.tSExpressionWithTypeArguments=g.tsExpressionWithTypeArguments=a9;g.tSExternalModuleReference=g.tsExternalModuleReference=v9;g.tSFunctionType=g.tsFunctionType=q5;g.tSImportEqualsDeclaration=g.tsImportEqualsDeclaration=E9;g.tSImportType=g.tsImportType=b9;g.tSIndexSignature=g.tsIndexSignature=A5;g.tSIndexedAccessType=g.tsIndexedAccessType=n9;g.tSInferType=g.tsInferType=e9;g.tSInstantiationExpression=g.tsInstantiationExpression=c9;g.tSInterfaceBody=g.tsInterfaceBody=l9;g.tSInterfaceDeclaration=g.tsInterfaceDeclaration=o9;g.tSIntersectionType=g.tsIntersectionType=Q5;g.tSIntrinsicKeyword=g.tsIntrinsicKeyword=I5;g.tSLiteralType=g.tsLiteralType=i9;g.tSMappedType=g.tsMappedType=s9;g.tSMethodSignature=g.tsMethodSignature=P5;g.tSModuleBlock=g.tsModuleBlock=g9;g.tSModuleDeclaration=g.tsModuleDeclaration=y9;g.tSNamedTupleMember=g.tsNamedTupleMember=J5;g.tSNamespaceExportDeclaration=g.tsNamespaceExportDeclaration=x9;g.tSNeverKeyword=g.tsNeverKeyword=O5;g.tSNonNullExpression=g.tsNonNullExpression=T9;g.tSNullKeyword=g.tsNullKeyword=_5;g.tSNumberKeyword=g.tsNumberKeyword=N5;g.tSObjectKeyword=g.tsObjectKeyword=B5;g.tSOptionalType=g.tsOptionalType=X5;g.tSParameterProperty=g.tsParameterProperty=g5;g.tSParenthesizedType=g.tsParenthesizedType=t9;g.tSPropertySignature=g.tsPropertySignature=x5;g.tSQualifiedName=g.tsQualifiedName=v5;g.tSRestType=g.tsRestType=Y5;g.tSSatisfiesExpression=g.tsSatisfiesExpression=p9;g.tSStringKeyword=g.tsStringKeyword=F5;g.tSSymbolKeyword=g.tsSymbolKeyword=k5;g.tSThisType=g.tsThisType=M5;g.tSTupleType=g.tsTupleType=H5;g.tSTypeAliasDeclaration=g.tsTypeAliasDeclaration=u9;g.tSTypeAnnotation=g.tsTypeAnnotation=P9;g.tSTypeAssertion=g.tsTypeAssertion=d9;g.tSTypeLiteral=g.tsTypeLiteral=K5;g.tSTypeOperator=g.tsTypeOperator=r9;g.tSTypeParameter=g.tsTypeParameter=w9;g.tSTypeParameterDeclaration=g.tsTypeParameterDeclaration=C9;g.tSTypeParameterInstantiation=g.tsTypeParameterInstantiation=A9;g.tSTypePredicate=g.tsTypePredicate=$5;g.tSTypeQuery=g.tsTypeQuery=W5;g.tSTypeReference=g.tsTypeReference=V5;g.tSUndefinedKeyword=g.tsUndefinedKeyword=L5;g.tSUnionType=g.tsUnionType=z5;g.tSUnknownKeyword=g.tsUnknownKeyword=R5;g.tSVoidKeyword=g.tsVoidKeyword=j5;g.tupleExpression=c5;g.tupleTypeAnnotation=gM;g.typeAlias=EM;g.typeAnnotation=vM;g.typeCastExpression=TM;g.typeParameter=SM;g.typeParameterDeclaration=xM;g.typeParameterInstantiation=PM;g.typeofTypeAnnotation=bM;g.unaryExpression=q6;g.unionTypeAnnotation=AM;g.updateExpression=U6;g.v8IntrinsicIdentifier=r5;g.variableDeclaration=V6;g.variableDeclarator=$6;g.variance=CM;g.voidTypeAnnotation=wM;g.whileStatement=W6;g.withStatement=K6;g.yieldExpression=mj;var O=mT(),Du=xo();function Q8(e=[]){return(0,O.default)({type:"ArrayExpression",elements:e})}function Z8(e,t,r){return(0,O.default)({type:"AssignmentExpression",operator:e,left:t,right:r})}function e6(e,t,r){return(0,O.default)({type:"BinaryExpression",operator:e,left:t,right:r})}function t6(e){return(0,O.default)({type:"InterpreterDirective",value:e})}function r6(e){return(0,O.default)({type:"Directive",value:e})}function n6(e){return(0,O.default)({type:"DirectiveLiteral",value:e})}function s6(e,t=[]){return(0,O.default)({type:"BlockStatement",body:e,directives:t})}function i6(e=null){return(0,O.default)({type:"BreakStatement",label:e})}function a6(e,t){return(0,O.default)({type:"CallExpression",callee:e,arguments:t})}function o6(e=null,t){return(0,O.default)({type:"CatchClause",param:e,body:t})}function l6(e,t,r){return(0,O.default)({type:"ConditionalExpression",test:e,consequent:t,alternate:r})}function u6(e=null){return(0,O.default)({type:"ContinueStatement",label:e})}function c6(){return{type:"DebuggerStatement"}}function f6(e,t){return(0,O.default)({type:"DoWhileStatement",test:e,body:t})}function p6(){return{type:"EmptyStatement"}}function d6(e){return(0,O.default)({type:"ExpressionStatement",expression:e})}function h6(e,t=null,r=null){return(0,O.default)({type:"File",program:e,comments:t,tokens:r})}function m6(e,t,r){return(0,O.default)({type:"ForInStatement",left:e,right:t,body:r})}function y6(e=null,t=null,r=null,n){return(0,O.default)({type:"ForStatement",init:e,test:t,update:r,body:n})}function g6(e=null,t,r,n=!1,s=!1){return(0,O.default)({type:"FunctionDeclaration",id:e,params:t,body:r,generator:n,async:s})}function b6(e=null,t,r,n=!1,s=!1){return(0,O.default)({type:"FunctionExpression",id:e,params:t,body:r,generator:n,async:s})}function E6(e){return(0,O.default)({type:"Identifier",name:e})}function v6(e,t,r=null){return(0,O.default)({type:"IfStatement",test:e,consequent:t,alternate:r})}function T6(e,t){return(0,O.default)({type:"LabeledStatement",label:e,body:t})}function S6(e){return(0,O.default)({type:"StringLiteral",value:e})}function yT(e){return(0,O.default)({type:"NumericLiteral",value:e})}function x6(){return{type:"NullLiteral"}}function P6(e){return(0,O.default)({type:"BooleanLiteral",value:e})}function gT(e,t=""){return(0,O.default)({type:"RegExpLiteral",pattern:e,flags:t})}function A6(e,t,r){return(0,O.default)({type:"LogicalExpression",operator:e,left:t,right:r})}function C6(e,t,r=!1,n=null){return(0,O.default)({type:"MemberExpression",object:e,property:t,computed:r,optional:n})}function w6(e,t){return(0,O.default)({type:"NewExpression",callee:e,arguments:t})}function D6(e,t=[],r="script",n=null){return(0,O.default)({type:"Program",body:e,directives:t,sourceType:r,interpreter:n})}function I6(e){return(0,O.default)({type:"ObjectExpression",properties:e})}function O6(e="method",t,r,n,s=!1,i=!1,a=!1){return(0,O.default)({type:"ObjectMethod",kind:e,key:t,params:r,body:n,computed:s,generator:i,async:a})}function _6(e,t,r=!1,n=!1,s=null){return(0,O.default)({type:"ObjectProperty",key:e,value:t,computed:r,shorthand:n,decorators:s})}function bT(e){return(0,O.default)({type:"RestElement",argument:e})}function N6(e=null){return(0,O.default)({type:"ReturnStatement",argument:e})}function B6(e){return(0,O.default)({type:"SequenceExpression",expressions:e})}function F6(e){return(0,O.default)({type:"ParenthesizedExpression",expression:e})}function k6(e=null,t){return(0,O.default)({type:"SwitchCase",test:e,consequent:t})}function L6(e,t){return(0,O.default)({type:"SwitchStatement",discriminant:e,cases:t})}function R6(){return{type:"ThisExpression"}}function j6(e){return(0,O.default)({type:"ThrowStatement",argument:e})}function M6(e,t=null,r=null){return(0,O.default)({type:"TryStatement",block:e,handler:t,finalizer:r})}function q6(e,t,r=!0){return(0,O.default)({type:"UnaryExpression",operator:e,argument:t,prefix:r})}function U6(e,t,r=!1){return(0,O.default)({type:"UpdateExpression",operator:e,argument:t,prefix:r})}function V6(e,t){return(0,O.default)({type:"VariableDeclaration",kind:e,declarations:t})}function $6(e,t=null){return(0,O.default)({type:"VariableDeclarator",id:e,init:t})}function W6(e,t){return(0,O.default)({type:"WhileStatement",test:e,body:t})}function K6(e,t){return(0,O.default)({type:"WithStatement",object:e,body:t})}function G6(e,t){return(0,O.default)({type:"AssignmentPattern",left:e,right:t})}function H6(e){return(0,O.default)({type:"ArrayPattern",elements:e})}function X6(e,t,r=!1){return(0,O.default)({type:"ArrowFunctionExpression",params:e,body:t,async:r,expression:null})}function Y6(e){return(0,O.default)({type:"ClassBody",body:e})}function J6(e=null,t=null,r,n=null){return(0,O.default)({type:"ClassExpression",id:e,superClass:t,body:r,decorators:n})}function z6(e=null,t=null,r,n=null){return(0,O.default)({type:"ClassDeclaration",id:e,superClass:t,body:r,decorators:n})}function Q6(e){return(0,O.default)({type:"ExportAllDeclaration",source:e})}function Z6(e){return(0,O.default)({type:"ExportDefaultDeclaration",declaration:e})}function ej(e=null,t=[],r=null){return(0,O.default)({type:"ExportNamedDeclaration",declaration:e,specifiers:t,source:r})}function tj(e,t){return(0,O.default)({type:"ExportSpecifier",local:e,exported:t})}function rj(e,t,r,n=!1){return(0,O.default)({type:"ForOfStatement",left:e,right:t,body:r,await:n})}function nj(e,t){return(0,O.default)({type:"ImportDeclaration",specifiers:e,source:t})}function sj(e){return(0,O.default)({type:"ImportDefaultSpecifier",local:e})}function ij(e){return(0,O.default)({type:"ImportNamespaceSpecifier",local:e})}function aj(e,t){return(0,O.default)({type:"ImportSpecifier",local:e,imported:t})}function oj(e,t=null){return(0,O.default)({type:"ImportExpression",source:e,options:t})}function lj(e,t){return(0,O.default)({type:"MetaProperty",meta:e,property:t})}function uj(e="method",t,r,n,s=!1,i=!1,a=!1,o=!1){return(0,O.default)({type:"ClassMethod",kind:e,key:t,params:r,body:n,computed:s,static:i,generator:a,async:o})}function cj(e){return(0,O.default)({type:"ObjectPattern",properties:e})}function ET(e){return(0,O.default)({type:"SpreadElement",argument:e})}function fj(){return{type:"Super"}}function pj(e,t){return(0,O.default)({type:"TaggedTemplateExpression",tag:e,quasi:t})}function dj(e,t=!1){return(0,O.default)({type:"TemplateElement",value:e,tail:t})}function hj(e,t){return(0,O.default)({type:"TemplateLiteral",quasis:e,expressions:t})}function mj(e=null,t=!1){return(0,O.default)({type:"YieldExpression",argument:e,delegate:t})}function yj(e){return(0,O.default)({type:"AwaitExpression",argument:e})}function gj(){return{type:"Import"}}function bj(e){return(0,O.default)({type:"BigIntLiteral",value:e})}function Ej(e){return(0,O.default)({type:"ExportNamespaceSpecifier",exported:e})}function vj(e,t,r=!1,n){return(0,O.default)({type:"OptionalMemberExpression",object:e,property:t,computed:r,optional:n})}function Tj(e,t,r){return(0,O.default)({type:"OptionalCallExpression",callee:e,arguments:t,optional:r})}function Sj(e,t=null,r=null,n=null,s=!1,i=!1){return(0,O.default)({type:"ClassProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:s,static:i})}function xj(e,t=null,r=null,n=null,s=!1,i=!1){return(0,O.default)({type:"ClassAccessorProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:s,static:i})}function Pj(e,t=null,r=null,n=!1){return(0,O.default)({type:"ClassPrivateProperty",key:e,value:t,decorators:r,static:n})}function Aj(e="method",t,r,n,s=!1){return(0,O.default)({type:"ClassPrivateMethod",kind:e,key:t,params:r,body:n,static:s})}function Cj(e){return(0,O.default)({type:"PrivateName",id:e})}function wj(e){return(0,O.default)({type:"StaticBlock",body:e})}function Dj(){return{type:"AnyTypeAnnotation"}}function Ij(e){return(0,O.default)({type:"ArrayTypeAnnotation",elementType:e})}function Oj(){return{type:"BooleanTypeAnnotation"}}function _j(e){return(0,O.default)({type:"BooleanLiteralTypeAnnotation",value:e})}function Nj(){return{type:"NullLiteralTypeAnnotation"}}function Bj(e,t=null){return(0,O.default)({type:"ClassImplements",id:e,typeParameters:t})}function Fj(e,t=null,r=null,n){return(0,O.default)({type:"DeclareClass",id:e,typeParameters:t,extends:r,body:n})}function kj(e){return(0,O.default)({type:"DeclareFunction",id:e})}function Lj(e,t=null,r=null,n){return(0,O.default)({type:"DeclareInterface",id:e,typeParameters:t,extends:r,body:n})}function Rj(e,t,r=null){return(0,O.default)({type:"DeclareModule",id:e,body:t,kind:r})}function jj(e){return(0,O.default)({type:"DeclareModuleExports",typeAnnotation:e})}function Mj(e,t=null,r){return(0,O.default)({type:"DeclareTypeAlias",id:e,typeParameters:t,right:r})}function qj(e,t=null,r=null){return(0,O.default)({type:"DeclareOpaqueType",id:e,typeParameters:t,supertype:r})}function Uj(e){return(0,O.default)({type:"DeclareVariable",id:e})}function Vj(e=null,t=null,r=null){return(0,O.default)({type:"DeclareExportDeclaration",declaration:e,specifiers:t,source:r})}function $j(e){return(0,O.default)({type:"DeclareExportAllDeclaration",source:e})}function Wj(e){return(0,O.default)({type:"DeclaredPredicate",value:e})}function Kj(){return{type:"ExistsTypeAnnotation"}}function Gj(e=null,t,r=null,n){return(0,O.default)({type:"FunctionTypeAnnotation",typeParameters:e,params:t,rest:r,returnType:n})}function Hj(e=null,t){return(0,O.default)({type:"FunctionTypeParam",name:e,typeAnnotation:t})}function Xj(e,t=null){return(0,O.default)({type:"GenericTypeAnnotation",id:e,typeParameters:t})}function Yj(){return{type:"InferredPredicate"}}function Jj(e,t=null){return(0,O.default)({type:"InterfaceExtends",id:e,typeParameters:t})}function zj(e,t=null,r=null,n){return(0,O.default)({type:"InterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n})}function Qj(e=null,t){return(0,O.default)({type:"InterfaceTypeAnnotation",extends:e,body:t})}function Zj(e){return(0,O.default)({type:"IntersectionTypeAnnotation",types:e})}function eM(){return{type:"MixedTypeAnnotation"}}function tM(){return{type:"EmptyTypeAnnotation"}}function rM(e){return(0,O.default)({type:"NullableTypeAnnotation",typeAnnotation:e})}function nM(e){return(0,O.default)({type:"NumberLiteralTypeAnnotation",value:e})}function sM(){return{type:"NumberTypeAnnotation"}}function iM(e,t=[],r=[],n=[],s=!1){return(0,O.default)({type:"ObjectTypeAnnotation",properties:e,indexers:t,callProperties:r,internalSlots:n,exact:s})}function aM(e,t,r,n,s){return(0,O.default)({type:"ObjectTypeInternalSlot",id:e,value:t,optional:r,static:n,method:s})}function oM(e){return(0,O.default)({type:"ObjectTypeCallProperty",value:e,static:null})}function lM(e=null,t,r,n=null){return(0,O.default)({type:"ObjectTypeIndexer",id:e,key:t,value:r,variance:n,static:null})}function uM(e,t,r=null){return(0,O.default)({type:"ObjectTypeProperty",key:e,value:t,variance:r,kind:null,method:null,optional:null,proto:null,static:null})}function cM(e){return(0,O.default)({type:"ObjectTypeSpreadProperty",argument:e})}function fM(e,t=null,r=null,n){return(0,O.default)({type:"OpaqueType",id:e,typeParameters:t,supertype:r,impltype:n})}function pM(e,t){return(0,O.default)({type:"QualifiedTypeIdentifier",id:e,qualification:t})}function dM(e){return(0,O.default)({type:"StringLiteralTypeAnnotation",value:e})}function hM(){return{type:"StringTypeAnnotation"}}function mM(){return{type:"SymbolTypeAnnotation"}}function yM(){return{type:"ThisTypeAnnotation"}}function gM(e){return(0,O.default)({type:"TupleTypeAnnotation",types:e})}function bM(e){return(0,O.default)({type:"TypeofTypeAnnotation",argument:e})}function EM(e,t=null,r){return(0,O.default)({type:"TypeAlias",id:e,typeParameters:t,right:r})}function vM(e){return(0,O.default)({type:"TypeAnnotation",typeAnnotation:e})}function TM(e,t){return(0,O.default)({type:"TypeCastExpression",expression:e,typeAnnotation:t})}function SM(e=null,t=null,r=null){return(0,O.default)({type:"TypeParameter",bound:e,default:t,variance:r,name:null})}function xM(e){return(0,O.default)({type:"TypeParameterDeclaration",params:e})}function PM(e){return(0,O.default)({type:"TypeParameterInstantiation",params:e})}function AM(e){return(0,O.default)({type:"UnionTypeAnnotation",types:e})}function CM(e){return(0,O.default)({type:"Variance",kind:e})}function wM(){return{type:"VoidTypeAnnotation"}}function DM(e,t){return(0,O.default)({type:"EnumDeclaration",id:e,body:t})}function IM(e){return(0,O.default)({type:"EnumBooleanBody",members:e,explicitType:null,hasUnknownMembers:null})}function OM(e){return(0,O.default)({type:"EnumNumberBody",members:e,explicitType:null,hasUnknownMembers:null})}function _M(e){return(0,O.default)({type:"EnumStringBody",members:e,explicitType:null,hasUnknownMembers:null})}function NM(e){return(0,O.default)({type:"EnumSymbolBody",members:e,hasUnknownMembers:null})}function BM(e){return(0,O.default)({type:"EnumBooleanMember",id:e,init:null})}function FM(e,t){return(0,O.default)({type:"EnumNumberMember",id:e,init:t})}function kM(e,t){return(0,O.default)({type:"EnumStringMember",id:e,init:t})}function LM(e){return(0,O.default)({type:"EnumDefaultedMember",id:e})}function RM(e,t){return(0,O.default)({type:"IndexedAccessType",objectType:e,indexType:t})}function jM(e,t){return(0,O.default)({type:"OptionalIndexedAccessType",objectType:e,indexType:t,optional:null})}function MM(e,t=null){return(0,O.default)({type:"JSXAttribute",name:e,value:t})}function qM(e){return(0,O.default)({type:"JSXClosingElement",name:e})}function UM(e,t=null,r,n=null){return(0,O.default)({type:"JSXElement",openingElement:e,closingElement:t,children:r,selfClosing:n})}function VM(){return{type:"JSXEmptyExpression"}}function $M(e){return(0,O.default)({type:"JSXExpressionContainer",expression:e})}function WM(e){return(0,O.default)({type:"JSXSpreadChild",expression:e})}function KM(e){return(0,O.default)({type:"JSXIdentifier",name:e})}function GM(e,t){return(0,O.default)({type:"JSXMemberExpression",object:e,property:t})}function HM(e,t){return(0,O.default)({type:"JSXNamespacedName",namespace:e,name:t})}function XM(e,t,r=!1){return(0,O.default)({type:"JSXOpeningElement",name:e,attributes:t,selfClosing:r})}function YM(e){return(0,O.default)({type:"JSXSpreadAttribute",argument:e})}function JM(e){return(0,O.default)({type:"JSXText",value:e})}function zM(e,t,r){return(0,O.default)({type:"JSXFragment",openingFragment:e,closingFragment:t,children:r})}function QM(){return{type:"JSXOpeningFragment"}}function ZM(){return{type:"JSXClosingFragment"}}function e5(){return{type:"Noop"}}function t5(e,t){return(0,O.default)({type:"Placeholder",expectedNode:e,name:t})}function r5(e){return(0,O.default)({type:"V8IntrinsicIdentifier",name:e})}function n5(){return{type:"ArgumentPlaceholder"}}function s5(e,t){return(0,O.default)({type:"BindExpression",object:e,callee:t})}function i5(e,t){return(0,O.default)({type:"ImportAttribute",key:e,value:t})}function a5(e){return(0,O.default)({type:"Decorator",expression:e})}function o5(e,t=!1){return(0,O.default)({type:"DoExpression",body:e,async:t})}function l5(e){return(0,O.default)({type:"ExportDefaultSpecifier",exported:e})}function u5(e){return(0,O.default)({type:"RecordExpression",properties:e})}function c5(e=[]){return(0,O.default)({type:"TupleExpression",elements:e})}function f5(e){return(0,O.default)({type:"DecimalLiteral",value:e})}function p5(e){return(0,O.default)({type:"ModuleExpression",body:e})}function d5(){return{type:"TopicReference"}}function h5(e){return(0,O.default)({type:"PipelineTopicExpression",expression:e})}function m5(e){return(0,O.default)({type:"PipelineBareFunction",callee:e})}function y5(){return{type:"PipelinePrimaryTopicReference"}}function g5(e){return(0,O.default)({type:"TSParameterProperty",parameter:e})}function b5(e=null,t=null,r,n=null){return(0,O.default)({type:"TSDeclareFunction",id:e,typeParameters:t,params:r,returnType:n})}function E5(e=null,t,r=null,n,s=null){return(0,O.default)({type:"TSDeclareMethod",decorators:e,key:t,typeParameters:r,params:n,returnType:s})}function v5(e,t){return(0,O.default)({type:"TSQualifiedName",left:e,right:t})}function T5(e=null,t,r=null){return(0,O.default)({type:"TSCallSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r})}function S5(e=null,t,r=null){return(0,O.default)({type:"TSConstructSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r})}function x5(e,t=null){return(0,O.default)({type:"TSPropertySignature",key:e,typeAnnotation:t,kind:null})}function P5(e,t=null,r,n=null){return(0,O.default)({type:"TSMethodSignature",key:e,typeParameters:t,parameters:r,typeAnnotation:n,kind:null})}function A5(e,t=null){return(0,O.default)({type:"TSIndexSignature",parameters:e,typeAnnotation:t})}function C5(){return{type:"TSAnyKeyword"}}function w5(){return{type:"TSBooleanKeyword"}}function D5(){return{type:"TSBigIntKeyword"}}function I5(){return{type:"TSIntrinsicKeyword"}}function O5(){return{type:"TSNeverKeyword"}}function _5(){return{type:"TSNullKeyword"}}function N5(){return{type:"TSNumberKeyword"}}function B5(){return{type:"TSObjectKeyword"}}function F5(){return{type:"TSStringKeyword"}}function k5(){return{type:"TSSymbolKeyword"}}function L5(){return{type:"TSUndefinedKeyword"}}function R5(){return{type:"TSUnknownKeyword"}}function j5(){return{type:"TSVoidKeyword"}}function M5(){return{type:"TSThisType"}}function q5(e=null,t,r=null){return(0,O.default)({type:"TSFunctionType",typeParameters:e,parameters:t,typeAnnotation:r})}function U5(e=null,t,r=null){return(0,O.default)({type:"TSConstructorType",typeParameters:e,parameters:t,typeAnnotation:r})}function V5(e,t=null){return(0,O.default)({type:"TSTypeReference",typeName:e,typeParameters:t})}function $5(e,t=null,r=null){return(0,O.default)({type:"TSTypePredicate",parameterName:e,typeAnnotation:t,asserts:r})}function W5(e,t=null){return(0,O.default)({type:"TSTypeQuery",exprName:e,typeParameters:t})}function K5(e){return(0,O.default)({type:"TSTypeLiteral",members:e})}function G5(e){return(0,O.default)({type:"TSArrayType",elementType:e})}function H5(e){return(0,O.default)({type:"TSTupleType",elementTypes:e})}function X5(e){return(0,O.default)({type:"TSOptionalType",typeAnnotation:e})}function Y5(e){return(0,O.default)({type:"TSRestType",typeAnnotation:e})}function J5(e,t,r=!1){return(0,O.default)({type:"TSNamedTupleMember",label:e,elementType:t,optional:r})}function z5(e){return(0,O.default)({type:"TSUnionType",types:e})}function Q5(e){return(0,O.default)({type:"TSIntersectionType",types:e})}function Z5(e,t,r,n){return(0,O.default)({type:"TSConditionalType",checkType:e,extendsType:t,trueType:r,falseType:n})}function e9(e){return(0,O.default)({type:"TSInferType",typeParameter:e})}function t9(e){return(0,O.default)({type:"TSParenthesizedType",typeAnnotation:e})}function r9(e){return(0,O.default)({type:"TSTypeOperator",typeAnnotation:e,operator:null})}function n9(e,t){return(0,O.default)({type:"TSIndexedAccessType",objectType:e,indexType:t})}function s9(e,t=null,r=null){return(0,O.default)({type:"TSMappedType",typeParameter:e,typeAnnotation:t,nameType:r})}function i9(e){return(0,O.default)({type:"TSLiteralType",literal:e})}function a9(e,t=null){return(0,O.default)({type:"TSExpressionWithTypeArguments",expression:e,typeParameters:t})}function o9(e,t=null,r=null,n){return(0,O.default)({type:"TSInterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n})}function l9(e){return(0,O.default)({type:"TSInterfaceBody",body:e})}function u9(e,t=null,r){return(0,O.default)({type:"TSTypeAliasDeclaration",id:e,typeParameters:t,typeAnnotation:r})}function c9(e,t=null){return(0,O.default)({type:"TSInstantiationExpression",expression:e,typeParameters:t})}function f9(e,t){return(0,O.default)({type:"TSAsExpression",expression:e,typeAnnotation:t})}function p9(e,t){return(0,O.default)({type:"TSSatisfiesExpression",expression:e,typeAnnotation:t})}function d9(e,t){return(0,O.default)({type:"TSTypeAssertion",typeAnnotation:e,expression:t})}function h9(e,t){return(0,O.default)({type:"TSEnumDeclaration",id:e,members:t})}function m9(e,t=null){return(0,O.default)({type:"TSEnumMember",id:e,initializer:t})}function y9(e,t){return(0,O.default)({type:"TSModuleDeclaration",id:e,body:t})}function g9(e){return(0,O.default)({type:"TSModuleBlock",body:e})}function b9(e,t=null,r=null){return(0,O.default)({type:"TSImportType",argument:e,qualifier:t,typeParameters:r})}function E9(e,t){return(0,O.default)({type:"TSImportEqualsDeclaration",id:e,moduleReference:t,isExport:null})}function v9(e){return(0,O.default)({type:"TSExternalModuleReference",expression:e})}function T9(e){return(0,O.default)({type:"TSNonNullExpression",expression:e})}function S9(e){return(0,O.default)({type:"TSExportAssignment",expression:e})}function x9(e){return(0,O.default)({type:"TSNamespaceExportDeclaration",id:e})}function P9(e){return(0,O.default)({type:"TSTypeAnnotation",typeAnnotation:e})}function A9(e){return(0,O.default)({type:"TSTypeParameterInstantiation",params:e})}function C9(e){return(0,O.default)({type:"TSTypeParameterDeclaration",params:e})}function w9(e=null,t=null,r){return(0,O.default)({type:"TSTypeParameter",constraint:e,default:t,name:r})}function D9(e){return(0,Du.default)("NumberLiteral","NumericLiteral","The node type "),yT(e)}function I9(e,t=""){return(0,Du.default)("RegexLiteral","RegExpLiteral","The node type "),gT(e,t)}function O9(e){return(0,Du.default)("RestProperty","RestElement","The node type "),bT(e)}function _9(e){return(0,Du.default)("SpreadProperty","SpreadElement","The node type "),ET(e)}});var vT=E(Yd=>{"use strict";Object.defineProperty(Yd,"__esModule",{value:!0});Yd.default=F9;var N9=_r(),B9=Be();function F9(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,B9.inherits)((0,N9.stringLiteral)(s),e))}});var TT=E(zd=>{"use strict";Object.defineProperty(zd,"__esModule",{value:!0});zd.default=L9;var Jd=$t(),k9=vT();function L9(e){let t=[];for(let r=0;r<e.children.length;r++){let n=e.children[r];if((0,Jd.isJSXText)(n)){(0,k9.default)(n,t);continue}(0,Jd.isJSXExpressionContainer)(n)&&(n=n.expression),!(0,Jd.isJSXEmptyExpression)(n)&&t.push(n)}return t}});var Zd=E(Qd=>{"use strict";Object.defineProperty(Qd,"__esModule",{value:!0});Qd.default=j9;var R9=rn();function j9(e){return!!(e&&R9.VISITOR_KEYS[e.type])}});var ST=E(eh=>{"use strict";Object.defineProperty(eh,"__esModule",{value:!0});eh.default=q9;var M9=Zd();function q9(e){if(!(0,M9.default)(e)){var t;let r=(t=e?.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}});var xT=E(T=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0});T.assertAccessor=rW;T.assertAnyTypeAnnotation=Sq;T.assertArgumentPlaceholder=zU;T.assertArrayExpression=V9;T.assertArrayPattern=q7;T.assertArrayTypeAnnotation=xq;T.assertArrowFunctionExpression=U7;T.assertAssignmentExpression=$9;T.assertAssignmentPattern=M7;T.assertAwaitExpression=cq;T.assertBigIntLiteral=pq;T.assertBinary=P$;T.assertBinaryExpression=W9;T.assertBindExpression=QU;T.assertBlock=w$;T.assertBlockParent=C$;T.assertBlockStatement=X9;T.assertBooleanLiteral=m7;T.assertBooleanLiteralTypeAnnotation=Aq;T.assertBooleanTypeAnnotation=Pq;T.assertBreakStatement=Y9;T.assertCallExpression=J9;T.assertCatchClause=z9;T.assertClass=Q$;T.assertClassAccessorProperty=gq;T.assertClassBody=V7;T.assertClassDeclaration=W7;T.assertClassExpression=$7;T.assertClassImplements=wq;T.assertClassMethod=rq;T.assertClassPrivateMethod=Eq;T.assertClassPrivateProperty=bq;T.assertClassProperty=yq;T.assertCompletionStatement=O$;T.assertConditional=_$;T.assertConditionalExpression=Q9;T.assertContinueStatement=Z9;T.assertDebuggerStatement=e7;T.assertDecimalLiteral=iV;T.assertDeclaration=q$;T.assertDeclareClass=Dq;T.assertDeclareExportAllDeclaration=Rq;T.assertDeclareExportDeclaration=Lq;T.assertDeclareFunction=Iq;T.assertDeclareInterface=Oq;T.assertDeclareModule=_q;T.assertDeclareModuleExports=Nq;T.assertDeclareOpaqueType=Fq;T.assertDeclareTypeAlias=Bq;T.assertDeclareVariable=kq;T.assertDeclaredPredicate=jq;T.assertDecorator=eV;T.assertDirective=G9;T.assertDirectiveLiteral=H9;T.assertDoExpression=tV;T.assertDoWhileStatement=t7;T.assertEmptyStatement=r7;T.assertEmptyTypeAnnotation=Yq;T.assertEnumBody=uW;T.assertEnumBooleanBody=xU;T.assertEnumBooleanMember=wU;T.assertEnumDeclaration=SU;T.assertEnumDefaultedMember=OU;T.assertEnumMember=cW;T.assertEnumNumberBody=PU;T.assertEnumNumberMember=DU;T.assertEnumStringBody=AU;T.assertEnumStringMember=IU;T.assertEnumSymbolBody=CU;T.assertExistsTypeAnnotation=Mq;T.assertExportAllDeclaration=K7;T.assertExportDeclaration=eW;T.assertExportDefaultDeclaration=G7;T.assertExportDefaultSpecifier=rV;T.assertExportNamedDeclaration=H7;T.assertExportNamespaceSpecifier=dq;T.assertExportSpecifier=X7;T.assertExpression=x$;T.assertExpressionStatement=n7;T.assertExpressionWrapper=F$;T.assertFile=s7;T.assertFlow=sW;T.assertFlowBaseAnnotation=aW;T.assertFlowDeclaration=oW;T.assertFlowPredicate=lW;T.assertFlowType=iW;T.assertFor=k$;T.assertForInStatement=i7;T.assertForOfStatement=Y7;T.assertForStatement=a7;T.assertForXStatement=L$;T.assertFunction=R$;T.assertFunctionDeclaration=o7;T.assertFunctionExpression=l7;T.assertFunctionParent=j$;T.assertFunctionTypeAnnotation=qq;T.assertFunctionTypeParam=Uq;T.assertGenericTypeAnnotation=Vq;T.assertIdentifier=u7;T.assertIfStatement=c7;T.assertImmutable=K$;T.assertImport=fq;T.assertImportAttribute=ZU;T.assertImportDeclaration=J7;T.assertImportDefaultSpecifier=z7;T.assertImportExpression=eq;T.assertImportNamespaceSpecifier=Q7;T.assertImportOrExportDeclaration=Z$;T.assertImportSpecifier=Z7;T.assertIndexedAccessType=_U;T.assertInferredPredicate=$q;T.assertInterfaceDeclaration=Kq;T.assertInterfaceExtends=Wq;T.assertInterfaceTypeAnnotation=Gq;T.assertInterpreterDirective=K9;T.assertIntersectionTypeAnnotation=Hq;T.assertJSX=fW;T.assertJSXAttribute=BU;T.assertJSXClosingElement=FU;T.assertJSXClosingFragment=HU;T.assertJSXElement=kU;T.assertJSXEmptyExpression=LU;T.assertJSXExpressionContainer=RU;T.assertJSXFragment=KU;T.assertJSXIdentifier=MU;T.assertJSXMemberExpression=qU;T.assertJSXNamespacedName=UU;T.assertJSXOpeningElement=VU;T.assertJSXOpeningFragment=GU;T.assertJSXSpreadAttribute=$U;T.assertJSXSpreadChild=jU;T.assertJSXText=WU;T.assertLVal=V$;T.assertLabeledStatement=f7;T.assertLiteral=W$;T.assertLogicalExpression=g7;T.assertLoop=N$;T.assertMemberExpression=b7;T.assertMetaProperty=tq;T.assertMethod=H$;T.assertMiscellaneous=pW;T.assertMixedTypeAnnotation=Xq;T.assertModuleDeclaration=TW;T.assertModuleExpression=aV;T.assertModuleSpecifier=tW;T.assertNewExpression=E7;T.assertNoop=XU;T.assertNullLiteral=h7;T.assertNullLiteralTypeAnnotation=Cq;T.assertNullableTypeAnnotation=Jq;T.assertNumberLiteral=gW;T.assertNumberLiteralTypeAnnotation=zq;T.assertNumberTypeAnnotation=Qq;T.assertNumericLiteral=d7;T.assertObjectExpression=T7;T.assertObjectMember=X$;T.assertObjectMethod=S7;T.assertObjectPattern=nq;T.assertObjectProperty=x7;T.assertObjectTypeAnnotation=Zq;T.assertObjectTypeCallProperty=tU;T.assertObjectTypeIndexer=rU;T.assertObjectTypeInternalSlot=eU;T.assertObjectTypeProperty=nU;T.assertObjectTypeSpreadProperty=sU;T.assertOpaqueType=iU;T.assertOptionalCallExpression=mq;T.assertOptionalIndexedAccessType=NU;T.assertOptionalMemberExpression=hq;T.assertParenthesizedExpression=w7;T.assertPattern=z$;T.assertPatternLike=U$;T.assertPipelineBareFunction=uV;T.assertPipelinePrimaryTopicReference=cV;T.assertPipelineTopicExpression=lV;T.assertPlaceholder=YU;T.assertPrivate=nW;T.assertPrivateName=vq;T.assertProgram=v7;T.assertProperty=Y$;T.assertPureish=M$;T.assertQualifiedTypeIdentifier=aU;T.assertRecordExpression=nV;T.assertRegExpLiteral=y7;T.assertRegexLiteral=bW;T.assertRestElement=P7;T.assertRestProperty=EW;T.assertReturnStatement=A7;T.assertScopable=A$;T.assertSequenceExpression=C7;T.assertSpreadElement=sq;T.assertSpreadProperty=vW;T.assertStandardized=S$;T.assertStatement=D$;T.assertStaticBlock=Tq;T.assertStringLiteral=p7;T.assertStringLiteralTypeAnnotation=oU;T.assertStringTypeAnnotation=lU;T.assertSuper=iq;T.assertSwitchCase=D7;T.assertSwitchStatement=I7;T.assertSymbolTypeAnnotation=uU;T.assertTSAnyKeyword=vV;T.assertTSArrayType=qV;T.assertTSAsExpression=i$;T.assertTSBaseType=yW;T.assertTSBigIntKeyword=SV;T.assertTSBooleanKeyword=TV;T.assertTSCallSignatureDeclaration=mV;T.assertTSConditionalType=HV;T.assertTSConstructSignatureDeclaration=yV;T.assertTSConstructorType=kV;T.assertTSDeclareFunction=pV;T.assertTSDeclareMethod=dV;T.assertTSEntityName=$$;T.assertTSEnumDeclaration=l$;T.assertTSEnumMember=u$;T.assertTSExportAssignment=y$;T.assertTSExpressionWithTypeArguments=e$;T.assertTSExternalModuleReference=h$;T.assertTSFunctionType=FV;T.assertTSImportEqualsDeclaration=d$;T.assertTSImportType=p$;T.assertTSIndexSignature=EV;T.assertTSIndexedAccessType=zV;T.assertTSInferType=XV;T.assertTSInstantiationExpression=s$;T.assertTSInterfaceBody=r$;T.assertTSInterfaceDeclaration=t$;T.assertTSIntersectionType=GV;T.assertTSIntrinsicKeyword=xV;T.assertTSLiteralType=ZV;T.assertTSMappedType=QV;T.assertTSMethodSignature=bV;T.assertTSModuleBlock=f$;T.assertTSModuleDeclaration=c$;T.assertTSNamedTupleMember=WV;T.assertTSNamespaceExportDeclaration=g$;T.assertTSNeverKeyword=PV;T.assertTSNonNullExpression=m$;T.assertTSNullKeyword=AV;T.assertTSNumberKeyword=CV;T.assertTSObjectKeyword=wV;T.assertTSOptionalType=VV;T.assertTSParameterProperty=fV;T.assertTSParenthesizedType=YV;T.assertTSPropertySignature=gV;T.assertTSQualifiedName=hV;T.assertTSRestType=$V;T.assertTSSatisfiesExpression=a$;T.assertTSStringKeyword=DV;T.assertTSSymbolKeyword=IV;T.assertTSThisType=BV;T.assertTSTupleType=UV;T.assertTSType=mW;T.assertTSTypeAliasDeclaration=n$;T.assertTSTypeAnnotation=b$;T.assertTSTypeAssertion=o$;T.assertTSTypeElement=hW;T.assertTSTypeLiteral=MV;T.assertTSTypeOperator=JV;T.assertTSTypeParameter=T$;T.assertTSTypeParameterDeclaration=v$;T.assertTSTypeParameterInstantiation=E$;T.assertTSTypePredicate=RV;T.assertTSTypeQuery=jV;T.assertTSTypeReference=LV;T.assertTSUndefinedKeyword=OV;T.assertTSUnionType=KV;T.assertTSUnknownKeyword=_V;T.assertTSVoidKeyword=NV;T.assertTaggedTemplateExpression=aq;T.assertTemplateElement=oq;T.assertTemplateLiteral=lq;T.assertTerminatorless=I$;T.assertThisExpression=O7;T.assertThisTypeAnnotation=cU;T.assertThrowStatement=_7;T.assertTopicReference=oV;T.assertTryStatement=N7;T.assertTupleExpression=sV;T.assertTupleTypeAnnotation=fU;T.assertTypeAlias=dU;T.assertTypeAnnotation=hU;T.assertTypeCastExpression=mU;T.assertTypeParameter=yU;T.assertTypeParameterDeclaration=gU;T.assertTypeParameterInstantiation=bU;T.assertTypeScript=dW;T.assertTypeofTypeAnnotation=pU;T.assertUnaryExpression=B7;T.assertUnaryLike=J$;T.assertUnionTypeAnnotation=EU;T.assertUpdateExpression=F7;T.assertUserWhitespacable=G$;T.assertV8IntrinsicIdentifier=JU;T.assertVariableDeclaration=k7;T.assertVariableDeclarator=L7;T.assertVariance=vU;T.assertVoidTypeAnnotation=TU;T.assertWhile=B$;T.assertWhileStatement=R7;T.assertWithStatement=j7;T.assertYieldExpression=uq;var U9=ua(),Fo=xo();function S(e,t,r){if(!(0,U9.default)(e,t,r))throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, but instead got "${t.type}".`)}function V9(e,t){S("ArrayExpression",e,t)}function $9(e,t){S("AssignmentExpression",e,t)}function W9(e,t){S("BinaryExpression",e,t)}function K9(e,t){S("InterpreterDirective",e,t)}function G9(e,t){S("Directive",e,t)}function H9(e,t){S("DirectiveLiteral",e,t)}function X9(e,t){S("BlockStatement",e,t)}function Y9(e,t){S("BreakStatement",e,t)}function J9(e,t){S("CallExpression",e,t)}function z9(e,t){S("CatchClause",e,t)}function Q9(e,t){S("ConditionalExpression",e,t)}function Z9(e,t){S("ContinueStatement",e,t)}function e7(e,t){S("DebuggerStatement",e,t)}function t7(e,t){S("DoWhileStatement",e,t)}function r7(e,t){S("EmptyStatement",e,t)}function n7(e,t){S("ExpressionStatement",e,t)}function s7(e,t){S("File",e,t)}function i7(e,t){S("ForInStatement",e,t)}function a7(e,t){S("ForStatement",e,t)}function o7(e,t){S("FunctionDeclaration",e,t)}function l7(e,t){S("FunctionExpression",e,t)}function u7(e,t){S("Identifier",e,t)}function c7(e,t){S("IfStatement",e,t)}function f7(e,t){S("LabeledStatement",e,t)}function p7(e,t){S("StringLiteral",e,t)}function d7(e,t){S("NumericLiteral",e,t)}function h7(e,t){S("NullLiteral",e,t)}function m7(e,t){S("BooleanLiteral",e,t)}function y7(e,t){S("RegExpLiteral",e,t)}function g7(e,t){S("LogicalExpression",e,t)}function b7(e,t){S("MemberExpression",e,t)}function E7(e,t){S("NewExpression",e,t)}function v7(e,t){S("Program",e,t)}function T7(e,t){S("ObjectExpression",e,t)}function S7(e,t){S("ObjectMethod",e,t)}function x7(e,t){S("ObjectProperty",e,t)}function P7(e,t){S("RestElement",e,t)}function A7(e,t){S("ReturnStatement",e,t)}function C7(e,t){S("SequenceExpression",e,t)}function w7(e,t){S("ParenthesizedExpression",e,t)}function D7(e,t){S("SwitchCase",e,t)}function I7(e,t){S("SwitchStatement",e,t)}function O7(e,t){S("ThisExpression",e,t)}function _7(e,t){S("ThrowStatement",e,t)}function N7(e,t){S("TryStatement",e,t)}function B7(e,t){S("UnaryExpression",e,t)}function F7(e,t){S("UpdateExpression",e,t)}function k7(e,t){S("VariableDeclaration",e,t)}function L7(e,t){S("VariableDeclarator",e,t)}function R7(e,t){S("WhileStatement",e,t)}function j7(e,t){S("WithStatement",e,t)}function M7(e,t){S("AssignmentPattern",e,t)}function q7(e,t){S("ArrayPattern",e,t)}function U7(e,t){S("ArrowFunctionExpression",e,t)}function V7(e,t){S("ClassBody",e,t)}function $7(e,t){S("ClassExpression",e,t)}function W7(e,t){S("ClassDeclaration",e,t)}function K7(e,t){S("ExportAllDeclaration",e,t)}function G7(e,t){S("ExportDefaultDeclaration",e,t)}function H7(e,t){S("ExportNamedDeclaration",e,t)}function X7(e,t){S("ExportSpecifier",e,t)}function Y7(e,t){S("ForOfStatement",e,t)}function J7(e,t){S("ImportDeclaration",e,t)}function z7(e,t){S("ImportDefaultSpecifier",e,t)}function Q7(e,t){S("ImportNamespaceSpecifier",e,t)}function Z7(e,t){S("ImportSpecifier",e,t)}function eq(e,t){S("ImportExpression",e,t)}function tq(e,t){S("MetaProperty",e,t)}function rq(e,t){S("ClassMethod",e,t)}function nq(e,t){S("ObjectPattern",e,t)}function sq(e,t){S("SpreadElement",e,t)}function iq(e,t){S("Super",e,t)}function aq(e,t){S("TaggedTemplateExpression",e,t)}function oq(e,t){S("TemplateElement",e,t)}function lq(e,t){S("TemplateLiteral",e,t)}function uq(e,t){S("YieldExpression",e,t)}function cq(e,t){S("AwaitExpression",e,t)}function fq(e,t){S("Import",e,t)}function pq(e,t){S("BigIntLiteral",e,t)}function dq(e,t){S("ExportNamespaceSpecifier",e,t)}function hq(e,t){S("OptionalMemberExpression",e,t)}function mq(e,t){S("OptionalCallExpression",e,t)}function yq(e,t){S("ClassProperty",e,t)}function gq(e,t){S("ClassAccessorProperty",e,t)}function bq(e,t){S("ClassPrivateProperty",e,t)}function Eq(e,t){S("ClassPrivateMethod",e,t)}function vq(e,t){S("PrivateName",e,t)}function Tq(e,t){S("StaticBlock",e,t)}function Sq(e,t){S("AnyTypeAnnotation",e,t)}function xq(e,t){S("ArrayTypeAnnotation",e,t)}function Pq(e,t){S("BooleanTypeAnnotation",e,t)}function Aq(e,t){S("BooleanLiteralTypeAnnotation",e,t)}function Cq(e,t){S("NullLiteralTypeAnnotation",e,t)}function wq(e,t){S("ClassImplements",e,t)}function Dq(e,t){S("DeclareClass",e,t)}function Iq(e,t){S("DeclareFunction",e,t)}function Oq(e,t){S("DeclareInterface",e,t)}function _q(e,t){S("DeclareModule",e,t)}function Nq(e,t){S("DeclareModuleExports",e,t)}function Bq(e,t){S("DeclareTypeAlias",e,t)}function Fq(e,t){S("DeclareOpaqueType",e,t)}function kq(e,t){S("DeclareVariable",e,t)}function Lq(e,t){S("DeclareExportDeclaration",e,t)}function Rq(e,t){S("DeclareExportAllDeclaration",e,t)}function jq(e,t){S("DeclaredPredicate",e,t)}function Mq(e,t){S("ExistsTypeAnnotation",e,t)}function qq(e,t){S("FunctionTypeAnnotation",e,t)}function Uq(e,t){S("FunctionTypeParam",e,t)}function Vq(e,t){S("GenericTypeAnnotation",e,t)}function $q(e,t){S("InferredPredicate",e,t)}function Wq(e,t){S("InterfaceExtends",e,t)}function Kq(e,t){S("InterfaceDeclaration",e,t)}function Gq(e,t){S("InterfaceTypeAnnotation",e,t)}function Hq(e,t){S("IntersectionTypeAnnotation",e,t)}function Xq(e,t){S("MixedTypeAnnotation",e,t)}function Yq(e,t){S("EmptyTypeAnnotation",e,t)}function Jq(e,t){S("NullableTypeAnnotation",e,t)}function zq(e,t){S("NumberLiteralTypeAnnotation",e,t)}function Qq(e,t){S("NumberTypeAnnotation",e,t)}function Zq(e,t){S("ObjectTypeAnnotation",e,t)}function eU(e,t){S("ObjectTypeInternalSlot",e,t)}function tU(e,t){S("ObjectTypeCallProperty",e,t)}function rU(e,t){S("ObjectTypeIndexer",e,t)}function nU(e,t){S("ObjectTypeProperty",e,t)}function sU(e,t){S("ObjectTypeSpreadProperty",e,t)}function iU(e,t){S("OpaqueType",e,t)}function aU(e,t){S("QualifiedTypeIdentifier",e,t)}function oU(e,t){S("StringLiteralTypeAnnotation",e,t)}function lU(e,t){S("StringTypeAnnotation",e,t)}function uU(e,t){S("SymbolTypeAnnotation",e,t)}function cU(e,t){S("ThisTypeAnnotation",e,t)}function fU(e,t){S("TupleTypeAnnotation",e,t)}function pU(e,t){S("TypeofTypeAnnotation",e,t)}function dU(e,t){S("TypeAlias",e,t)}function hU(e,t){S("TypeAnnotation",e,t)}function mU(e,t){S("TypeCastExpression",e,t)}function yU(e,t){S("TypeParameter",e,t)}function gU(e,t){S("TypeParameterDeclaration",e,t)}function bU(e,t){S("TypeParameterInstantiation",e,t)}function EU(e,t){S("UnionTypeAnnotation",e,t)}function vU(e,t){S("Variance",e,t)}function TU(e,t){S("VoidTypeAnnotation",e,t)}function SU(e,t){S("EnumDeclaration",e,t)}function xU(e,t){S("EnumBooleanBody",e,t)}function PU(e,t){S("EnumNumberBody",e,t)}function AU(e,t){S("EnumStringBody",e,t)}function CU(e,t){S("EnumSymbolBody",e,t)}function wU(e,t){S("EnumBooleanMember",e,t)}function DU(e,t){S("EnumNumberMember",e,t)}function IU(e,t){S("EnumStringMember",e,t)}function OU(e,t){S("EnumDefaultedMember",e,t)}function _U(e,t){S("IndexedAccessType",e,t)}function NU(e,t){S("OptionalIndexedAccessType",e,t)}function BU(e,t){S("JSXAttribute",e,t)}function FU(e,t){S("JSXClosingElement",e,t)}function kU(e,t){S("JSXElement",e,t)}function LU(e,t){S("JSXEmptyExpression",e,t)}function RU(e,t){S("JSXExpressionContainer",e,t)}function jU(e,t){S("JSXSpreadChild",e,t)}function MU(e,t){S("JSXIdentifier",e,t)}function qU(e,t){S("JSXMemberExpression",e,t)}function UU(e,t){S("JSXNamespacedName",e,t)}function VU(e,t){S("JSXOpeningElement",e,t)}function $U(e,t){S("JSXSpreadAttribute",e,t)}function WU(e,t){S("JSXText",e,t)}function KU(e,t){S("JSXFragment",e,t)}function GU(e,t){S("JSXOpeningFragment",e,t)}function HU(e,t){S("JSXClosingFragment",e,t)}function XU(e,t){S("Noop",e,t)}function YU(e,t){S("Placeholder",e,t)}function JU(e,t){S("V8IntrinsicIdentifier",e,t)}function zU(e,t){S("ArgumentPlaceholder",e,t)}function QU(e,t){S("BindExpression",e,t)}function ZU(e,t){S("ImportAttribute",e,t)}function eV(e,t){S("Decorator",e,t)}function tV(e,t){S("DoExpression",e,t)}function rV(e,t){S("ExportDefaultSpecifier",e,t)}function nV(e,t){S("RecordExpression",e,t)}function sV(e,t){S("TupleExpression",e,t)}function iV(e,t){S("DecimalLiteral",e,t)}function aV(e,t){S("ModuleExpression",e,t)}function oV(e,t){S("TopicReference",e,t)}function lV(e,t){S("PipelineTopicExpression",e,t)}function uV(e,t){S("PipelineBareFunction",e,t)}function cV(e,t){S("PipelinePrimaryTopicReference",e,t)}function fV(e,t){S("TSParameterProperty",e,t)}function pV(e,t){S("TSDeclareFunction",e,t)}function dV(e,t){S("TSDeclareMethod",e,t)}function hV(e,t){S("TSQualifiedName",e,t)}function mV(e,t){S("TSCallSignatureDeclaration",e,t)}function yV(e,t){S("TSConstructSignatureDeclaration",e,t)}function gV(e,t){S("TSPropertySignature",e,t)}function bV(e,t){S("TSMethodSignature",e,t)}function EV(e,t){S("TSIndexSignature",e,t)}function vV(e,t){S("TSAnyKeyword",e,t)}function TV(e,t){S("TSBooleanKeyword",e,t)}function SV(e,t){S("TSBigIntKeyword",e,t)}function xV(e,t){S("TSIntrinsicKeyword",e,t)}function PV(e,t){S("TSNeverKeyword",e,t)}function AV(e,t){S("TSNullKeyword",e,t)}function CV(e,t){S("TSNumberKeyword",e,t)}function wV(e,t){S("TSObjectKeyword",e,t)}function DV(e,t){S("TSStringKeyword",e,t)}function IV(e,t){S("TSSymbolKeyword",e,t)}function OV(e,t){S("TSUndefinedKeyword",e,t)}function _V(e,t){S("TSUnknownKeyword",e,t)}function NV(e,t){S("TSVoidKeyword",e,t)}function BV(e,t){S("TSThisType",e,t)}function FV(e,t){S("TSFunctionType",e,t)}function kV(e,t){S("TSConstructorType",e,t)}function LV(e,t){S("TSTypeReference",e,t)}function RV(e,t){S("TSTypePredicate",e,t)}function jV(e,t){S("TSTypeQuery",e,t)}function MV(e,t){S("TSTypeLiteral",e,t)}function qV(e,t){S("TSArrayType",e,t)}function UV(e,t){S("TSTupleType",e,t)}function VV(e,t){S("TSOptionalType",e,t)}function $V(e,t){S("TSRestType",e,t)}function WV(e,t){S("TSNamedTupleMember",e,t)}function KV(e,t){S("TSUnionType",e,t)}function GV(e,t){S("TSIntersectionType",e,t)}function HV(e,t){S("TSConditionalType",e,t)}function XV(e,t){S("TSInferType",e,t)}function YV(e,t){S("TSParenthesizedType",e,t)}function JV(e,t){S("TSTypeOperator",e,t)}function zV(e,t){S("TSIndexedAccessType",e,t)}function QV(e,t){S("TSMappedType",e,t)}function ZV(e,t){S("TSLiteralType",e,t)}function e$(e,t){S("TSExpressionWithTypeArguments",e,t)}function t$(e,t){S("TSInterfaceDeclaration",e,t)}function r$(e,t){S("TSInterfaceBody",e,t)}function n$(e,t){S("TSTypeAliasDeclaration",e,t)}function s$(e,t){S("TSInstantiationExpression",e,t)}function i$(e,t){S("TSAsExpression",e,t)}function a$(e,t){S("TSSatisfiesExpression",e,t)}function o$(e,t){S("TSTypeAssertion",e,t)}function l$(e,t){S("TSEnumDeclaration",e,t)}function u$(e,t){S("TSEnumMember",e,t)}function c$(e,t){S("TSModuleDeclaration",e,t)}function f$(e,t){S("TSModuleBlock",e,t)}function p$(e,t){S("TSImportType",e,t)}function d$(e,t){S("TSImportEqualsDeclaration",e,t)}function h$(e,t){S("TSExternalModuleReference",e,t)}function m$(e,t){S("TSNonNullExpression",e,t)}function y$(e,t){S("TSExportAssignment",e,t)}function g$(e,t){S("TSNamespaceExportDeclaration",e,t)}function b$(e,t){S("TSTypeAnnotation",e,t)}function E$(e,t){S("TSTypeParameterInstantiation",e,t)}function v$(e,t){S("TSTypeParameterDeclaration",e,t)}function T$(e,t){S("TSTypeParameter",e,t)}function S$(e,t){S("Standardized",e,t)}function x$(e,t){S("Expression",e,t)}function P$(e,t){S("Binary",e,t)}function A$(e,t){S("Scopable",e,t)}function C$(e,t){S("BlockParent",e,t)}function w$(e,t){S("Block",e,t)}function D$(e,t){S("Statement",e,t)}function I$(e,t){S("Terminatorless",e,t)}function O$(e,t){S("CompletionStatement",e,t)}function _$(e,t){S("Conditional",e,t)}function N$(e,t){S("Loop",e,t)}function B$(e,t){S("While",e,t)}function F$(e,t){S("ExpressionWrapper",e,t)}function k$(e,t){S("For",e,t)}function L$(e,t){S("ForXStatement",e,t)}function R$(e,t){S("Function",e,t)}function j$(e,t){S("FunctionParent",e,t)}function M$(e,t){S("Pureish",e,t)}function q$(e,t){S("Declaration",e,t)}function U$(e,t){S("PatternLike",e,t)}function V$(e,t){S("LVal",e,t)}function $$(e,t){S("TSEntityName",e,t)}function W$(e,t){S("Literal",e,t)}function K$(e,t){S("Immutable",e,t)}function G$(e,t){S("UserWhitespacable",e,t)}function H$(e,t){S("Method",e,t)}function X$(e,t){S("ObjectMember",e,t)}function Y$(e,t){S("Property",e,t)}function J$(e,t){S("UnaryLike",e,t)}function z$(e,t){S("Pattern",e,t)}function Q$(e,t){S("Class",e,t)}function Z$(e,t){S("ImportOrExportDeclaration",e,t)}function eW(e,t){S("ExportDeclaration",e,t)}function tW(e,t){S("ModuleSpecifier",e,t)}function rW(e,t){S("Accessor",e,t)}function nW(e,t){S("Private",e,t)}function sW(e,t){S("Flow",e,t)}function iW(e,t){S("FlowType",e,t)}function aW(e,t){S("FlowBaseAnnotation",e,t)}function oW(e,t){S("FlowDeclaration",e,t)}function lW(e,t){S("FlowPredicate",e,t)}function uW(e,t){S("EnumBody",e,t)}function cW(e,t){S("EnumMember",e,t)}function fW(e,t){S("JSX",e,t)}function pW(e,t){S("Miscellaneous",e,t)}function dW(e,t){S("TypeScript",e,t)}function hW(e,t){S("TSTypeElement",e,t)}function mW(e,t){S("TSType",e,t)}function yW(e,t){S("TSBaseType",e,t)}function gW(e,t){(0,Fo.default)("assertNumberLiteral","assertNumericLiteral"),S("NumberLiteral",e,t)}function bW(e,t){(0,Fo.default)("assertRegexLiteral","assertRegExpLiteral"),S("RegexLiteral",e,t)}function EW(e,t){(0,Fo.default)("assertRestProperty","assertRestElement"),S("RestProperty",e,t)}function vW(e,t){(0,Fo.default)("assertSpreadProperty","assertSpreadElement"),S("SpreadProperty",e,t)}function TW(e,t){(0,Fo.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),S("ModuleDeclaration",e,t)}});var PT=E(Iu=>{"use strict";Object.defineProperty(Iu,"__esModule",{value:!0});Iu.default=void 0;var Sn=_r(),gxe=Iu.default=SW;function SW(e){switch(e){case"string":return(0,Sn.stringTypeAnnotation)();case"number":return(0,Sn.numberTypeAnnotation)();case"undefined":return(0,Sn.voidTypeAnnotation)();case"boolean":return(0,Sn.booleanTypeAnnotation)();case"function":return(0,Sn.genericTypeAnnotation)((0,Sn.identifier)("Function"));case"object":return(0,Sn.genericTypeAnnotation)((0,Sn.identifier)("Object"));case"symbol":return(0,Sn.genericTypeAnnotation)((0,Sn.identifier)("Symbol"));case"bigint":return(0,Sn.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+e)}});var rh=E(th=>{"use strict";Object.defineProperty(th,"__esModule",{value:!0});th.default=CT;var ko=$t();function AT(e){return(0,ko.isIdentifier)(e)?e.name:`${e.id.name}.${AT(e.qualification)}`}function CT(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,ko.isAnyTypeAnnotation)(o))return[o];if((0,ko.isFlowBaseAnnotation)(o)){n.set(o.type,o);continue}if((0,ko.isUnionTypeAnnotation)(o)){s.has(o.types)||(t.push(...o.types),s.add(o.types));continue}if((0,ko.isGenericTypeAnnotation)(o)){let l=AT(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=CT(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 wT=E(nh=>{"use strict";Object.defineProperty(nh,"__esModule",{value:!0});nh.default=AW;var xW=_r(),PW=rh();function AW(e){let t=(0,PW.default)(e);return t.length===1?t[0]:(0,xW.unionTypeAnnotation)(t)}});var OT=E(sh=>{"use strict";Object.defineProperty(sh,"__esModule",{value:!0});sh.default=IT;var Lo=$t();function DT(e){return(0,Lo.isIdentifier)(e)?e.name:`${e.right.name}.${DT(e.left)}`}function IT(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,Lo.isTSAnyKeyword)(o))return[o];if((0,Lo.isTSBaseType)(o)){n.set(o.type,o);continue}if((0,Lo.isTSUnionType)(o)){s.has(o.types)||(t.push(...o.types),s.add(o.types));continue}if((0,Lo.isTSTypeReference)(o)&&o.typeParameters){let l=DT(o.typeName);if(r.has(l)){let u=r.get(l);u.typeParameters?o.typeParameters&&(u.typeParameters.params.push(...o.typeParameters.params),u.typeParameters.params=IT(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 _T=E(ih=>{"use strict";Object.defineProperty(ih,"__esModule",{value:!0});ih.default=IW;var CW=_r(),wW=OT(),DW=$t();function IW(e){let t=e.map(n=>(0,DW.isTSTypeAnnotation)(n)?n.typeAnnotation:n),r=(0,wW.default)(t);return r.length===1?r[0]:(0,CW.tsUnionType)(r)}});var NT=E(C=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0});Object.defineProperty(C,"AnyTypeAnnotation",{enumerable:!0,get:function(){return w.anyTypeAnnotation}});Object.defineProperty(C,"ArgumentPlaceholder",{enumerable:!0,get:function(){return w.argumentPlaceholder}});Object.defineProperty(C,"ArrayExpression",{enumerable:!0,get:function(){return w.arrayExpression}});Object.defineProperty(C,"ArrayPattern",{enumerable:!0,get:function(){return w.arrayPattern}});Object.defineProperty(C,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return w.arrayTypeAnnotation}});Object.defineProperty(C,"ArrowFunctionExpression",{enumerable:!0,get:function(){return w.arrowFunctionExpression}});Object.defineProperty(C,"AssignmentExpression",{enumerable:!0,get:function(){return w.assignmentExpression}});Object.defineProperty(C,"AssignmentPattern",{enumerable:!0,get:function(){return w.assignmentPattern}});Object.defineProperty(C,"AwaitExpression",{enumerable:!0,get:function(){return w.awaitExpression}});Object.defineProperty(C,"BigIntLiteral",{enumerable:!0,get:function(){return w.bigIntLiteral}});Object.defineProperty(C,"BinaryExpression",{enumerable:!0,get:function(){return w.binaryExpression}});Object.defineProperty(C,"BindExpression",{enumerable:!0,get:function(){return w.bindExpression}});Object.defineProperty(C,"BlockStatement",{enumerable:!0,get:function(){return w.blockStatement}});Object.defineProperty(C,"BooleanLiteral",{enumerable:!0,get:function(){return w.booleanLiteral}});Object.defineProperty(C,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return w.booleanLiteralTypeAnnotation}});Object.defineProperty(C,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return w.booleanTypeAnnotation}});Object.defineProperty(C,"BreakStatement",{enumerable:!0,get:function(){return w.breakStatement}});Object.defineProperty(C,"CallExpression",{enumerable:!0,get:function(){return w.callExpression}});Object.defineProperty(C,"CatchClause",{enumerable:!0,get:function(){return w.catchClause}});Object.defineProperty(C,"ClassAccessorProperty",{enumerable:!0,get:function(){return w.classAccessorProperty}});Object.defineProperty(C,"ClassBody",{enumerable:!0,get:function(){return w.classBody}});Object.defineProperty(C,"ClassDeclaration",{enumerable:!0,get:function(){return w.classDeclaration}});Object.defineProperty(C,"ClassExpression",{enumerable:!0,get:function(){return w.classExpression}});Object.defineProperty(C,"ClassImplements",{enumerable:!0,get:function(){return w.classImplements}});Object.defineProperty(C,"ClassMethod",{enumerable:!0,get:function(){return w.classMethod}});Object.defineProperty(C,"ClassPrivateMethod",{enumerable:!0,get:function(){return w.classPrivateMethod}});Object.defineProperty(C,"ClassPrivateProperty",{enumerable:!0,get:function(){return w.classPrivateProperty}});Object.defineProperty(C,"ClassProperty",{enumerable:!0,get:function(){return w.classProperty}});Object.defineProperty(C,"ConditionalExpression",{enumerable:!0,get:function(){return w.conditionalExpression}});Object.defineProperty(C,"ContinueStatement",{enumerable:!0,get:function(){return w.continueStatement}});Object.defineProperty(C,"DebuggerStatement",{enumerable:!0,get:function(){return w.debuggerStatement}});Object.defineProperty(C,"DecimalLiteral",{enumerable:!0,get:function(){return w.decimalLiteral}});Object.defineProperty(C,"DeclareClass",{enumerable:!0,get:function(){return w.declareClass}});Object.defineProperty(C,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return w.declareExportAllDeclaration}});Object.defineProperty(C,"DeclareExportDeclaration",{enumerable:!0,get:function(){return w.declareExportDeclaration}});Object.defineProperty(C,"DeclareFunction",{enumerable:!0,get:function(){return w.declareFunction}});Object.defineProperty(C,"DeclareInterface",{enumerable:!0,get:function(){return w.declareInterface}});Object.defineProperty(C,"DeclareModule",{enumerable:!0,get:function(){return w.declareModule}});Object.defineProperty(C,"DeclareModuleExports",{enumerable:!0,get:function(){return w.declareModuleExports}});Object.defineProperty(C,"DeclareOpaqueType",{enumerable:!0,get:function(){return w.declareOpaqueType}});Object.defineProperty(C,"DeclareTypeAlias",{enumerable:!0,get:function(){return w.declareTypeAlias}});Object.defineProperty(C,"DeclareVariable",{enumerable:!0,get:function(){return w.declareVariable}});Object.defineProperty(C,"DeclaredPredicate",{enumerable:!0,get:function(){return w.declaredPredicate}});Object.defineProperty(C,"Decorator",{enumerable:!0,get:function(){return w.decorator}});Object.defineProperty(C,"Directive",{enumerable:!0,get:function(){return w.directive}});Object.defineProperty(C,"DirectiveLiteral",{enumerable:!0,get:function(){return w.directiveLiteral}});Object.defineProperty(C,"DoExpression",{enumerable:!0,get:function(){return w.doExpression}});Object.defineProperty(C,"DoWhileStatement",{enumerable:!0,get:function(){return w.doWhileStatement}});Object.defineProperty(C,"EmptyStatement",{enumerable:!0,get:function(){return w.emptyStatement}});Object.defineProperty(C,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return w.emptyTypeAnnotation}});Object.defineProperty(C,"EnumBooleanBody",{enumerable:!0,get:function(){return w.enumBooleanBody}});Object.defineProperty(C,"EnumBooleanMember",{enumerable:!0,get:function(){return w.enumBooleanMember}});Object.defineProperty(C,"EnumDeclaration",{enumerable:!0,get:function(){return w.enumDeclaration}});Object.defineProperty(C,"EnumDefaultedMember",{enumerable:!0,get:function(){return w.enumDefaultedMember}});Object.defineProperty(C,"EnumNumberBody",{enumerable:!0,get:function(){return w.enumNumberBody}});Object.defineProperty(C,"EnumNumberMember",{enumerable:!0,get:function(){return w.enumNumberMember}});Object.defineProperty(C,"EnumStringBody",{enumerable:!0,get:function(){return w.enumStringBody}});Object.defineProperty(C,"EnumStringMember",{enumerable:!0,get:function(){return w.enumStringMember}});Object.defineProperty(C,"EnumSymbolBody",{enumerable:!0,get:function(){return w.enumSymbolBody}});Object.defineProperty(C,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return w.existsTypeAnnotation}});Object.defineProperty(C,"ExportAllDeclaration",{enumerable:!0,get:function(){return w.exportAllDeclaration}});Object.defineProperty(C,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return w.exportDefaultDeclaration}});Object.defineProperty(C,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return w.exportDefaultSpecifier}});Object.defineProperty(C,"ExportNamedDeclaration",{enumerable:!0,get:function(){return w.exportNamedDeclaration}});Object.defineProperty(C,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return w.exportNamespaceSpecifier}});Object.defineProperty(C,"ExportSpecifier",{enumerable:!0,get:function(){return w.exportSpecifier}});Object.defineProperty(C,"ExpressionStatement",{enumerable:!0,get:function(){return w.expressionStatement}});Object.defineProperty(C,"File",{enumerable:!0,get:function(){return w.file}});Object.defineProperty(C,"ForInStatement",{enumerable:!0,get:function(){return w.forInStatement}});Object.defineProperty(C,"ForOfStatement",{enumerable:!0,get:function(){return w.forOfStatement}});Object.defineProperty(C,"ForStatement",{enumerable:!0,get:function(){return w.forStatement}});Object.defineProperty(C,"FunctionDeclaration",{enumerable:!0,get:function(){return w.functionDeclaration}});Object.defineProperty(C,"FunctionExpression",{enumerable:!0,get:function(){return w.functionExpression}});Object.defineProperty(C,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return w.functionTypeAnnotation}});Object.defineProperty(C,"FunctionTypeParam",{enumerable:!0,get:function(){return w.functionTypeParam}});Object.defineProperty(C,"GenericTypeAnnotation",{enumerable:!0,get:function(){return w.genericTypeAnnotation}});Object.defineProperty(C,"Identifier",{enumerable:!0,get:function(){return w.identifier}});Object.defineProperty(C,"IfStatement",{enumerable:!0,get:function(){return w.ifStatement}});Object.defineProperty(C,"Import",{enumerable:!0,get:function(){return w.import}});Object.defineProperty(C,"ImportAttribute",{enumerable:!0,get:function(){return w.importAttribute}});Object.defineProperty(C,"ImportDeclaration",{enumerable:!0,get:function(){return w.importDeclaration}});Object.defineProperty(C,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return w.importDefaultSpecifier}});Object.defineProperty(C,"ImportExpression",{enumerable:!0,get:function(){return w.importExpression}});Object.defineProperty(C,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return w.importNamespaceSpecifier}});Object.defineProperty(C,"ImportSpecifier",{enumerable:!0,get:function(){return w.importSpecifier}});Object.defineProperty(C,"IndexedAccessType",{enumerable:!0,get:function(){return w.indexedAccessType}});Object.defineProperty(C,"InferredPredicate",{enumerable:!0,get:function(){return w.inferredPredicate}});Object.defineProperty(C,"InterfaceDeclaration",{enumerable:!0,get:function(){return w.interfaceDeclaration}});Object.defineProperty(C,"InterfaceExtends",{enumerable:!0,get:function(){return w.interfaceExtends}});Object.defineProperty(C,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return w.interfaceTypeAnnotation}});Object.defineProperty(C,"InterpreterDirective",{enumerable:!0,get:function(){return w.interpreterDirective}});Object.defineProperty(C,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return w.intersectionTypeAnnotation}});Object.defineProperty(C,"JSXAttribute",{enumerable:!0,get:function(){return w.jsxAttribute}});Object.defineProperty(C,"JSXClosingElement",{enumerable:!0,get:function(){return w.jsxClosingElement}});Object.defineProperty(C,"JSXClosingFragment",{enumerable:!0,get:function(){return w.jsxClosingFragment}});Object.defineProperty(C,"JSXElement",{enumerable:!0,get:function(){return w.jsxElement}});Object.defineProperty(C,"JSXEmptyExpression",{enumerable:!0,get:function(){return w.jsxEmptyExpression}});Object.defineProperty(C,"JSXExpressionContainer",{enumerable:!0,get:function(){return w.jsxExpressionContainer}});Object.defineProperty(C,"JSXFragment",{enumerable:!0,get:function(){return w.jsxFragment}});Object.defineProperty(C,"JSXIdentifier",{enumerable:!0,get:function(){return w.jsxIdentifier}});Object.defineProperty(C,"JSXMemberExpression",{enumerable:!0,get:function(){return w.jsxMemberExpression}});Object.defineProperty(C,"JSXNamespacedName",{enumerable:!0,get:function(){return w.jsxNamespacedName}});Object.defineProperty(C,"JSXOpeningElement",{enumerable:!0,get:function(){return w.jsxOpeningElement}});Object.defineProperty(C,"JSXOpeningFragment",{enumerable:!0,get:function(){return w.jsxOpeningFragment}});Object.defineProperty(C,"JSXSpreadAttribute",{enumerable:!0,get:function(){return w.jsxSpreadAttribute}});Object.defineProperty(C,"JSXSpreadChild",{enumerable:!0,get:function(){return w.jsxSpreadChild}});Object.defineProperty(C,"JSXText",{enumerable:!0,get:function(){return w.jsxText}});Object.defineProperty(C,"LabeledStatement",{enumerable:!0,get:function(){return w.labeledStatement}});Object.defineProperty(C,"LogicalExpression",{enumerable:!0,get:function(){return w.logicalExpression}});Object.defineProperty(C,"MemberExpression",{enumerable:!0,get:function(){return w.memberExpression}});Object.defineProperty(C,"MetaProperty",{enumerable:!0,get:function(){return w.metaProperty}});Object.defineProperty(C,"MixedTypeAnnotation",{enumerable:!0,get:function(){return w.mixedTypeAnnotation}});Object.defineProperty(C,"ModuleExpression",{enumerable:!0,get:function(){return w.moduleExpression}});Object.defineProperty(C,"NewExpression",{enumerable:!0,get:function(){return w.newExpression}});Object.defineProperty(C,"Noop",{enumerable:!0,get:function(){return w.noop}});Object.defineProperty(C,"NullLiteral",{enumerable:!0,get:function(){return w.nullLiteral}});Object.defineProperty(C,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return w.nullLiteralTypeAnnotation}});Object.defineProperty(C,"NullableTypeAnnotation",{enumerable:!0,get:function(){return w.nullableTypeAnnotation}});Object.defineProperty(C,"NumberLiteral",{enumerable:!0,get:function(){return w.numberLiteral}});Object.defineProperty(C,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return w.numberLiteralTypeAnnotation}});Object.defineProperty(C,"NumberTypeAnnotation",{enumerable:!0,get:function(){return w.numberTypeAnnotation}});Object.defineProperty(C,"NumericLiteral",{enumerable:!0,get:function(){return w.numericLiteral}});Object.defineProperty(C,"ObjectExpression",{enumerable:!0,get:function(){return w.objectExpression}});Object.defineProperty(C,"ObjectMethod",{enumerable:!0,get:function(){return w.objectMethod}});Object.defineProperty(C,"ObjectPattern",{enumerable:!0,get:function(){return w.objectPattern}});Object.defineProperty(C,"ObjectProperty",{enumerable:!0,get:function(){return w.objectProperty}});Object.defineProperty(C,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return w.objectTypeAnnotation}});Object.defineProperty(C,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return w.objectTypeCallProperty}});Object.defineProperty(C,"ObjectTypeIndexer",{enumerable:!0,get:function(){return w.objectTypeIndexer}});Object.defineProperty(C,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return w.objectTypeInternalSlot}});Object.defineProperty(C,"ObjectTypeProperty",{enumerable:!0,get:function(){return w.objectTypeProperty}});Object.defineProperty(C,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return w.objectTypeSpreadProperty}});Object.defineProperty(C,"OpaqueType",{enumerable:!0,get:function(){return w.opaqueType}});Object.defineProperty(C,"OptionalCallExpression",{enumerable:!0,get:function(){return w.optionalCallExpression}});Object.defineProperty(C,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return w.optionalIndexedAccessType}});Object.defineProperty(C,"OptionalMemberExpression",{enumerable:!0,get:function(){return w.optionalMemberExpression}});Object.defineProperty(C,"ParenthesizedExpression",{enumerable:!0,get:function(){return w.parenthesizedExpression}});Object.defineProperty(C,"PipelineBareFunction",{enumerable:!0,get:function(){return w.pipelineBareFunction}});Object.defineProperty(C,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return w.pipelinePrimaryTopicReference}});Object.defineProperty(C,"PipelineTopicExpression",{enumerable:!0,get:function(){return w.pipelineTopicExpression}});Object.defineProperty(C,"Placeholder",{enumerable:!0,get:function(){return w.placeholder}});Object.defineProperty(C,"PrivateName",{enumerable:!0,get:function(){return w.privateName}});Object.defineProperty(C,"Program",{enumerable:!0,get:function(){return w.program}});Object.defineProperty(C,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return w.qualifiedTypeIdentifier}});Object.defineProperty(C,"RecordExpression",{enumerable:!0,get:function(){return w.recordExpression}});Object.defineProperty(C,"RegExpLiteral",{enumerable:!0,get:function(){return w.regExpLiteral}});Object.defineProperty(C,"RegexLiteral",{enumerable:!0,get:function(){return w.regexLiteral}});Object.defineProperty(C,"RestElement",{enumerable:!0,get:function(){return w.restElement}});Object.defineProperty(C,"RestProperty",{enumerable:!0,get:function(){return w.restProperty}});Object.defineProperty(C,"ReturnStatement",{enumerable:!0,get:function(){return w.returnStatement}});Object.defineProperty(C,"SequenceExpression",{enumerable:!0,get:function(){return w.sequenceExpression}});Object.defineProperty(C,"SpreadElement",{enumerable:!0,get:function(){return w.spreadElement}});Object.defineProperty(C,"SpreadProperty",{enumerable:!0,get:function(){return w.spreadProperty}});Object.defineProperty(C,"StaticBlock",{enumerable:!0,get:function(){return w.staticBlock}});Object.defineProperty(C,"StringLiteral",{enumerable:!0,get:function(){return w.stringLiteral}});Object.defineProperty(C,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return w.stringLiteralTypeAnnotation}});Object.defineProperty(C,"StringTypeAnnotation",{enumerable:!0,get:function(){return w.stringTypeAnnotation}});Object.defineProperty(C,"Super",{enumerable:!0,get:function(){return w.super}});Object.defineProperty(C,"SwitchCase",{enumerable:!0,get:function(){return w.switchCase}});Object.defineProperty(C,"SwitchStatement",{enumerable:!0,get:function(){return w.switchStatement}});Object.defineProperty(C,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return w.symbolTypeAnnotation}});Object.defineProperty(C,"TSAnyKeyword",{enumerable:!0,get:function(){return w.tsAnyKeyword}});Object.defineProperty(C,"TSArrayType",{enumerable:!0,get:function(){return w.tsArrayType}});Object.defineProperty(C,"TSAsExpression",{enumerable:!0,get:function(){return w.tsAsExpression}});Object.defineProperty(C,"TSBigIntKeyword",{enumerable:!0,get:function(){return w.tsBigIntKeyword}});Object.defineProperty(C,"TSBooleanKeyword",{enumerable:!0,get:function(){return w.tsBooleanKeyword}});Object.defineProperty(C,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return w.tsCallSignatureDeclaration}});Object.defineProperty(C,"TSConditionalType",{enumerable:!0,get:function(){return w.tsConditionalType}});Object.defineProperty(C,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return w.tsConstructSignatureDeclaration}});Object.defineProperty(C,"TSConstructorType",{enumerable:!0,get:function(){return w.tsConstructorType}});Object.defineProperty(C,"TSDeclareFunction",{enumerable:!0,get:function(){return w.tsDeclareFunction}});Object.defineProperty(C,"TSDeclareMethod",{enumerable:!0,get:function(){return w.tsDeclareMethod}});Object.defineProperty(C,"TSEnumDeclaration",{enumerable:!0,get:function(){return w.tsEnumDeclaration}});Object.defineProperty(C,"TSEnumMember",{enumerable:!0,get:function(){return w.tsEnumMember}});Object.defineProperty(C,"TSExportAssignment",{enumerable:!0,get:function(){return w.tsExportAssignment}});Object.defineProperty(C,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return w.tsExpressionWithTypeArguments}});Object.defineProperty(C,"TSExternalModuleReference",{enumerable:!0,get:function(){return w.tsExternalModuleReference}});Object.defineProperty(C,"TSFunctionType",{enumerable:!0,get:function(){return w.tsFunctionType}});Object.defineProperty(C,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return w.tsImportEqualsDeclaration}});Object.defineProperty(C,"TSImportType",{enumerable:!0,get:function(){return w.tsImportType}});Object.defineProperty(C,"TSIndexSignature",{enumerable:!0,get:function(){return w.tsIndexSignature}});Object.defineProperty(C,"TSIndexedAccessType",{enumerable:!0,get:function(){return w.tsIndexedAccessType}});Object.defineProperty(C,"TSInferType",{enumerable:!0,get:function(){return w.tsInferType}});Object.defineProperty(C,"TSInstantiationExpression",{enumerable:!0,get:function(){return w.tsInstantiationExpression}});Object.defineProperty(C,"TSInterfaceBody",{enumerable:!0,get:function(){return w.tsInterfaceBody}});Object.defineProperty(C,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return w.tsInterfaceDeclaration}});Object.defineProperty(C,"TSIntersectionType",{enumerable:!0,get:function(){return w.tsIntersectionType}});Object.defineProperty(C,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return w.tsIntrinsicKeyword}});Object.defineProperty(C,"TSLiteralType",{enumerable:!0,get:function(){return w.tsLiteralType}});Object.defineProperty(C,"TSMappedType",{enumerable:!0,get:function(){return w.tsMappedType}});Object.defineProperty(C,"TSMethodSignature",{enumerable:!0,get:function(){return w.tsMethodSignature}});Object.defineProperty(C,"TSModuleBlock",{enumerable:!0,get:function(){return w.tsModuleBlock}});Object.defineProperty(C,"TSModuleDeclaration",{enumerable:!0,get:function(){return w.tsModuleDeclaration}});Object.defineProperty(C,"TSNamedTupleMember",{enumerable:!0,get:function(){return w.tsNamedTupleMember}});Object.defineProperty(C,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return w.tsNamespaceExportDeclaration}});Object.defineProperty(C,"TSNeverKeyword",{enumerable:!0,get:function(){return w.tsNeverKeyword}});Object.defineProperty(C,"TSNonNullExpression",{enumerable:!0,get:function(){return w.tsNonNullExpression}});Object.defineProperty(C,"TSNullKeyword",{enumerable:!0,get:function(){return w.tsNullKeyword}});Object.defineProperty(C,"TSNumberKeyword",{enumerable:!0,get:function(){return w.tsNumberKeyword}});Object.defineProperty(C,"TSObjectKeyword",{enumerable:!0,get:function(){return w.tsObjectKeyword}});Object.defineProperty(C,"TSOptionalType",{enumerable:!0,get:function(){return w.tsOptionalType}});Object.defineProperty(C,"TSParameterProperty",{enumerable:!0,get:function(){return w.tsParameterProperty}});Object.defineProperty(C,"TSParenthesizedType",{enumerable:!0,get:function(){return w.tsParenthesizedType}});Object.defineProperty(C,"TSPropertySignature",{enumerable:!0,get:function(){return w.tsPropertySignature}});Object.defineProperty(C,"TSQualifiedName",{enumerable:!0,get:function(){return w.tsQualifiedName}});Object.defineProperty(C,"TSRestType",{enumerable:!0,get:function(){return w.tsRestType}});Object.defineProperty(C,"TSSatisfiesExpression",{enumerable:!0,get:function(){return w.tsSatisfiesExpression}});Object.defineProperty(C,"TSStringKeyword",{enumerable:!0,get:function(){return w.tsStringKeyword}});Object.defineProperty(C,"TSSymbolKeyword",{enumerable:!0,get:function(){return w.tsSymbolKeyword}});Object.defineProperty(C,"TSThisType",{enumerable:!0,get:function(){return w.tsThisType}});Object.defineProperty(C,"TSTupleType",{enumerable:!0,get:function(){return w.tsTupleType}});Object.defineProperty(C,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return w.tsTypeAliasDeclaration}});Object.defineProperty(C,"TSTypeAnnotation",{enumerable:!0,get:function(){return w.tsTypeAnnotation}});Object.defineProperty(C,"TSTypeAssertion",{enumerable:!0,get:function(){return w.tsTypeAssertion}});Object.defineProperty(C,"TSTypeLiteral",{enumerable:!0,get:function(){return w.tsTypeLiteral}});Object.defineProperty(C,"TSTypeOperator",{enumerable:!0,get:function(){return w.tsTypeOperator}});Object.defineProperty(C,"TSTypeParameter",{enumerable:!0,get:function(){return w.tsTypeParameter}});Object.defineProperty(C,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return w.tsTypeParameterDeclaration}});Object.defineProperty(C,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return w.tsTypeParameterInstantiation}});Object.defineProperty(C,"TSTypePredicate",{enumerable:!0,get:function(){return w.tsTypePredicate}});Object.defineProperty(C,"TSTypeQuery",{enumerable:!0,get:function(){return w.tsTypeQuery}});Object.defineProperty(C,"TSTypeReference",{enumerable:!0,get:function(){return w.tsTypeReference}});Object.defineProperty(C,"TSUndefinedKeyword",{enumerable:!0,get:function(){return w.tsUndefinedKeyword}});Object.defineProperty(C,"TSUnionType",{enumerable:!0,get:function(){return w.tsUnionType}});Object.defineProperty(C,"TSUnknownKeyword",{enumerable:!0,get:function(){return w.tsUnknownKeyword}});Object.defineProperty(C,"TSVoidKeyword",{enumerable:!0,get:function(){return w.tsVoidKeyword}});Object.defineProperty(C,"TaggedTemplateExpression",{enumerable:!0,get:function(){return w.taggedTemplateExpression}});Object.defineProperty(C,"TemplateElement",{enumerable:!0,get:function(){return w.templateElement}});Object.defineProperty(C,"TemplateLiteral",{enumerable:!0,get:function(){return w.templateLiteral}});Object.defineProperty(C,"ThisExpression",{enumerable:!0,get:function(){return w.thisExpression}});Object.defineProperty(C,"ThisTypeAnnotation",{enumerable:!0,get:function(){return w.thisTypeAnnotation}});Object.defineProperty(C,"ThrowStatement",{enumerable:!0,get:function(){return w.throwStatement}});Object.defineProperty(C,"TopicReference",{enumerable:!0,get:function(){return w.topicReference}});Object.defineProperty(C,"TryStatement",{enumerable:!0,get:function(){return w.tryStatement}});Object.defineProperty(C,"TupleExpression",{enumerable:!0,get:function(){return w.tupleExpression}});Object.defineProperty(C,"TupleTypeAnnotation",{enumerable:!0,get:function(){return w.tupleTypeAnnotation}});Object.defineProperty(C,"TypeAlias",{enumerable:!0,get:function(){return w.typeAlias}});Object.defineProperty(C,"TypeAnnotation",{enumerable:!0,get:function(){return w.typeAnnotation}});Object.defineProperty(C,"TypeCastExpression",{enumerable:!0,get:function(){return w.typeCastExpression}});Object.defineProperty(C,"TypeParameter",{enumerable:!0,get:function(){return w.typeParameter}});Object.defineProperty(C,"TypeParameterDeclaration",{enumerable:!0,get:function(){return w.typeParameterDeclaration}});Object.defineProperty(C,"TypeParameterInstantiation",{enumerable:!0,get:function(){return w.typeParameterInstantiation}});Object.defineProperty(C,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return w.typeofTypeAnnotation}});Object.defineProperty(C,"UnaryExpression",{enumerable:!0,get:function(){return w.unaryExpression}});Object.defineProperty(C,"UnionTypeAnnotation",{enumerable:!0,get:function(){return w.unionTypeAnnotation}});Object.defineProperty(C,"UpdateExpression",{enumerable:!0,get:function(){return w.updateExpression}});Object.defineProperty(C,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return w.v8IntrinsicIdentifier}});Object.defineProperty(C,"VariableDeclaration",{enumerable:!0,get:function(){return w.variableDeclaration}});Object.defineProperty(C,"VariableDeclarator",{enumerable:!0,get:function(){return w.variableDeclarator}});Object.defineProperty(C,"Variance",{enumerable:!0,get:function(){return w.variance}});Object.defineProperty(C,"VoidTypeAnnotation",{enumerable:!0,get:function(){return w.voidTypeAnnotation}});Object.defineProperty(C,"WhileStatement",{enumerable:!0,get:function(){return w.whileStatement}});Object.defineProperty(C,"WithStatement",{enumerable:!0,get:function(){return w.withStatement}});Object.defineProperty(C,"YieldExpression",{enumerable:!0,get:function(){return w.yieldExpression}});var w=_r()});var oh=E(ah=>{"use strict";Object.defineProperty(ah,"__esModule",{value:!0});ah.buildUndefinedNode=OW;var BT=_r();function OW(){return(0,BT.unaryExpression)("void",(0,BT.numericLiteral)(0),!0)}});var Ms=E(uh=>{"use strict";Object.defineProperty(uh,"__esModule",{value:!0});uh.default=_W;var FT=rn(),kT=$t(),{hasOwn:Mn}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function LT(e,t,r,n){return e&&typeof e.type=="string"?RT(e,t,r,n):e}function lh(e,t,r,n){return Array.isArray(e)?e.map(s=>LT(s,t,r,n)):LT(e,t,r,n)}function _W(e,t=!0,r=!1){return RT(e,t,r,new Map)}function RT(e,t=!0,r=!1,n){if(!e)return e;let{type:s}=e,i={type:e.type};if((0,kT.isIdentifier)(e))i.name=e.name,Mn(e,"optional")&&typeof e.optional=="boolean"&&(i.optional=e.optional),Mn(e,"typeAnnotation")&&(i.typeAnnotation=t?lh(e.typeAnnotation,!0,r,n):e.typeAnnotation),Mn(e,"decorators")&&(i.decorators=t?lh(e.decorators,!0,r,n):e.decorators);else if(Mn(FT.NODE_FIELDS,s))for(let a of Object.keys(FT.NODE_FIELDS[s]))Mn(e,a)&&(t?i[a]=(0,kT.isFile)(e)&&a==="comments"?Ou(e.comments,t,r,n):lh(e[a],!0,r,n):i[a]=e[a]);else throw new Error(`Unknown node type: "${s}"`);return Mn(e,"loc")&&(r?i.loc=null:i.loc=e.loc),Mn(e,"leadingComments")&&(i.leadingComments=Ou(e.leadingComments,t,r,n)),Mn(e,"innerComments")&&(i.innerComments=Ou(e.innerComments,t,r,n)),Mn(e,"trailingComments")&&(i.trailingComments=Ou(e.trailingComments,t,r,n)),Mn(e,"extra")&&(i.extra=Object.assign({},e.extra)),i}function Ou(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 jT=E(ch=>{"use strict";Object.defineProperty(ch,"__esModule",{value:!0});ch.default=BW;var NW=Ms();function BW(e){return(0,NW.default)(e,!1)}});var MT=E(fh=>{"use strict";Object.defineProperty(fh,"__esModule",{value:!0});fh.default=kW;var FW=Ms();function kW(e){return(0,FW.default)(e)}});var qT=E(ph=>{"use strict";Object.defineProperty(ph,"__esModule",{value:!0});ph.default=RW;var LW=Ms();function RW(e){return(0,LW.default)(e,!0,!0)}});var UT=E(dh=>{"use strict";Object.defineProperty(dh,"__esModule",{value:!0});dh.default=MW;var jW=Ms();function MW(e){return(0,jW.default)(e,!1,!0)}});var mh=E(hh=>{"use strict";Object.defineProperty(hh,"__esModule",{value:!0});hh.default=qW;function qW(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 VT=E(yh=>{"use strict";Object.defineProperty(yh,"__esModule",{value:!0});yh.default=VW;var UW=mh();function VW(e,t,r,n){return(0,UW.default)(e,t,[{type:n?"CommentLine":"CommentBlock",value:r}])}});var _u=E(gh=>{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.default=$W;function $W(e,t,r){t&&r&&(t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean))))}});var Eh=E(bh=>{"use strict";Object.defineProperty(bh,"__esModule",{value:!0});bh.default=KW;var WW=_u();function KW(e,t){(0,WW.default)("innerComments",e,t)}});var Th=E(vh=>{"use strict";Object.defineProperty(vh,"__esModule",{value:!0});vh.default=HW;var GW=_u();function HW(e,t){(0,GW.default)("leadingComments",e,t)}});var xh=E(Sh=>{"use strict";Object.defineProperty(Sh,"__esModule",{value:!0});Sh.default=YW;var XW=_u();function YW(e,t){(0,XW.default)("trailingComments",e,t)}});var Ah=E(Ph=>{"use strict";Object.defineProperty(Ph,"__esModule",{value:!0});Ph.default=ZW;var JW=xh(),zW=Th(),QW=Eh();function ZW(e,t){return(0,JW.default)(e,t),(0,zW.default)(e,t),(0,QW.default)(e,t),e}});var $T=E(Ch=>{"use strict";Object.defineProperty(Ch,"__esModule",{value:!0});Ch.default=tK;var eK=Ls();function tK(e){return eK.COMMENT_KEYS.forEach(t=>{e[t]=null}),e}});var WT=E(ee=>{"use strict";Object.defineProperty(ee,"__esModule",{value:!0});ee.WHILE_TYPES=ee.USERWHITESPACABLE_TYPES=ee.UNARYLIKE_TYPES=ee.TYPESCRIPT_TYPES=ee.TSTYPE_TYPES=ee.TSTYPEELEMENT_TYPES=ee.TSENTITYNAME_TYPES=ee.TSBASETYPE_TYPES=ee.TERMINATORLESS_TYPES=ee.STATEMENT_TYPES=ee.STANDARDIZED_TYPES=ee.SCOPABLE_TYPES=ee.PUREISH_TYPES=ee.PROPERTY_TYPES=ee.PRIVATE_TYPES=ee.PATTERN_TYPES=ee.PATTERNLIKE_TYPES=ee.OBJECTMEMBER_TYPES=ee.MODULESPECIFIER_TYPES=ee.MODULEDECLARATION_TYPES=ee.MISCELLANEOUS_TYPES=ee.METHOD_TYPES=ee.LVAL_TYPES=ee.LOOP_TYPES=ee.LITERAL_TYPES=ee.JSX_TYPES=ee.IMPORTOREXPORTDECLARATION_TYPES=ee.IMMUTABLE_TYPES=ee.FUNCTION_TYPES=ee.FUNCTIONPARENT_TYPES=ee.FOR_TYPES=ee.FORXSTATEMENT_TYPES=ee.FLOW_TYPES=ee.FLOWTYPE_TYPES=ee.FLOWPREDICATE_TYPES=ee.FLOWDECLARATION_TYPES=ee.FLOWBASEANNOTATION_TYPES=ee.EXPRESSION_TYPES=ee.EXPRESSIONWRAPPER_TYPES=ee.EXPORTDECLARATION_TYPES=ee.ENUMMEMBER_TYPES=ee.ENUMBODY_TYPES=ee.DECLARATION_TYPES=ee.CONDITIONAL_TYPES=ee.COMPLETIONSTATEMENT_TYPES=ee.CLASS_TYPES=ee.BLOCK_TYPES=ee.BLOCKPARENT_TYPES=ee.BINARY_TYPES=ee.ACCESSOR_TYPES=void 0;var Le=rn(),jxe=ee.STANDARDIZED_TYPES=Le.FLIPPED_ALIAS_KEYS.Standardized,Mxe=ee.EXPRESSION_TYPES=Le.FLIPPED_ALIAS_KEYS.Expression,qxe=ee.BINARY_TYPES=Le.FLIPPED_ALIAS_KEYS.Binary,Uxe=ee.SCOPABLE_TYPES=Le.FLIPPED_ALIAS_KEYS.Scopable,Vxe=ee.BLOCKPARENT_TYPES=Le.FLIPPED_ALIAS_KEYS.BlockParent,$xe=ee.BLOCK_TYPES=Le.FLIPPED_ALIAS_KEYS.Block,Wxe=ee.STATEMENT_TYPES=Le.FLIPPED_ALIAS_KEYS.Statement,Kxe=ee.TERMINATORLESS_TYPES=Le.FLIPPED_ALIAS_KEYS.Terminatorless,Gxe=ee.COMPLETIONSTATEMENT_TYPES=Le.FLIPPED_ALIAS_KEYS.CompletionStatement,Hxe=ee.CONDITIONAL_TYPES=Le.FLIPPED_ALIAS_KEYS.Conditional,Xxe=ee.LOOP_TYPES=Le.FLIPPED_ALIAS_KEYS.Loop,Yxe=ee.WHILE_TYPES=Le.FLIPPED_ALIAS_KEYS.While,Jxe=ee.EXPRESSIONWRAPPER_TYPES=Le.FLIPPED_ALIAS_KEYS.ExpressionWrapper,zxe=ee.FOR_TYPES=Le.FLIPPED_ALIAS_KEYS.For,Qxe=ee.FORXSTATEMENT_TYPES=Le.FLIPPED_ALIAS_KEYS.ForXStatement,Zxe=ee.FUNCTION_TYPES=Le.FLIPPED_ALIAS_KEYS.Function,ePe=ee.FUNCTIONPARENT_TYPES=Le.FLIPPED_ALIAS_KEYS.FunctionParent,tPe=ee.PUREISH_TYPES=Le.FLIPPED_ALIAS_KEYS.Pureish,rPe=ee.DECLARATION_TYPES=Le.FLIPPED_ALIAS_KEYS.Declaration,nPe=ee.PATTERNLIKE_TYPES=Le.FLIPPED_ALIAS_KEYS.PatternLike,sPe=ee.LVAL_TYPES=Le.FLIPPED_ALIAS_KEYS.LVal,iPe=ee.TSENTITYNAME_TYPES=Le.FLIPPED_ALIAS_KEYS.TSEntityName,aPe=ee.LITERAL_TYPES=Le.FLIPPED_ALIAS_KEYS.Literal,oPe=ee.IMMUTABLE_TYPES=Le.FLIPPED_ALIAS_KEYS.Immutable,lPe=ee.USERWHITESPACABLE_TYPES=Le.FLIPPED_ALIAS_KEYS.UserWhitespacable,uPe=ee.METHOD_TYPES=Le.FLIPPED_ALIAS_KEYS.Method,cPe=ee.OBJECTMEMBER_TYPES=Le.FLIPPED_ALIAS_KEYS.ObjectMember,fPe=ee.PROPERTY_TYPES=Le.FLIPPED_ALIAS_KEYS.Property,pPe=ee.UNARYLIKE_TYPES=Le.FLIPPED_ALIAS_KEYS.UnaryLike,dPe=ee.PATTERN_TYPES=Le.FLIPPED_ALIAS_KEYS.Pattern,hPe=ee.CLASS_TYPES=Le.FLIPPED_ALIAS_KEYS.Class,rK=ee.IMPORTOREXPORTDECLARATION_TYPES=Le.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,mPe=ee.EXPORTDECLARATION_TYPES=Le.FLIPPED_ALIAS_KEYS.ExportDeclaration,yPe=ee.MODULESPECIFIER_TYPES=Le.FLIPPED_ALIAS_KEYS.ModuleSpecifier,gPe=ee.ACCESSOR_TYPES=Le.FLIPPED_ALIAS_KEYS.Accessor,bPe=ee.PRIVATE_TYPES=Le.FLIPPED_ALIAS_KEYS.Private,EPe=ee.FLOW_TYPES=Le.FLIPPED_ALIAS_KEYS.Flow,vPe=ee.FLOWTYPE_TYPES=Le.FLIPPED_ALIAS_KEYS.FlowType,TPe=ee.FLOWBASEANNOTATION_TYPES=Le.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,SPe=ee.FLOWDECLARATION_TYPES=Le.FLIPPED_ALIAS_KEYS.FlowDeclaration,xPe=ee.FLOWPREDICATE_TYPES=Le.FLIPPED_ALIAS_KEYS.FlowPredicate,PPe=ee.ENUMBODY_TYPES=Le.FLIPPED_ALIAS_KEYS.EnumBody,APe=ee.ENUMMEMBER_TYPES=Le.FLIPPED_ALIAS_KEYS.EnumMember,CPe=ee.JSX_TYPES=Le.FLIPPED_ALIAS_KEYS.JSX,wPe=ee.MISCELLANEOUS_TYPES=Le.FLIPPED_ALIAS_KEYS.Miscellaneous,DPe=ee.TYPESCRIPT_TYPES=Le.FLIPPED_ALIAS_KEYS.TypeScript,IPe=ee.TSTYPEELEMENT_TYPES=Le.FLIPPED_ALIAS_KEYS.TSTypeElement,OPe=ee.TSTYPE_TYPES=Le.FLIPPED_ALIAS_KEYS.TSType,_Pe=ee.TSBASETYPE_TYPES=Le.FLIPPED_ALIAS_KEYS.TSBaseType,NPe=ee.MODULEDECLARATION_TYPES=rK});var Ih=E(Dh=>{"use strict";Object.defineProperty(Dh,"__esModule",{value:!0});Dh.default=nK;var Nu=$t(),wh=_r();function nK(e,t){if((0,Nu.isBlockStatement)(e))return e;let r=[];return(0,Nu.isEmptyStatement)(e)?r=[]:((0,Nu.isStatement)(e)||((0,Nu.isFunction)(t)?e=(0,wh.returnStatement)(e):e=(0,wh.expressionStatement)(e)),r=[e]),(0,wh.blockStatement)(r)}});var KT=E(Oh=>{"use strict";Object.defineProperty(Oh,"__esModule",{value:!0});Oh.default=iK;var sK=Ih();function iK(e,t="body"){let r=(0,sK.default)(e[t],e);return e[t]=r,r}});var Nh=E(_h=>{"use strict";Object.defineProperty(_h,"__esModule",{value:!0});_h.default=lK;var aK=fa(),oK=ca();function lK(e){e=e+"";let t="";for(let r of e)t+=(0,oK.isIdentifierChar)(r.codePointAt(0))?r:"-";return t=t.replace(/^[-0-9]+/,""),t=t.replace(/[-\s]+(.)?/g,function(r,n){return n?n.toUpperCase():""}),(0,aK.default)(t)||(t=`_${t}`),t||"_"}});var GT=E(Bh=>{"use strict";Object.defineProperty(Bh,"__esModule",{value:!0});Bh.default=cK;var uK=Nh();function cK(e){return e=(0,uK.default)(e),(e==="eval"||e==="arguments")&&(e="_"+e),e}});var HT=E(Fh=>{"use strict";Object.defineProperty(Fh,"__esModule",{value:!0});Fh.default=dK;var fK=$t(),pK=_r();function dK(e,t=e.key||e.property){return!e.computed&&(0,fK.isIdentifier)(t)&&(t=(0,pK.stringLiteral)(t.name)),t}});var XT=E(Bu=>{"use strict";Object.defineProperty(Bu,"__esModule",{value:!0});Bu.default=void 0;var Ro=$t(),MPe=Bu.default=hK;function hK(e){if((0,Ro.isExpressionStatement)(e)&&(e=e.expression),(0,Ro.isExpression)(e))return e;if((0,Ro.isClass)(e)?e.type="ClassExpression":(0,Ro.isFunction)(e)&&(e.type="FunctionExpression"),!(0,Ro.isExpression)(e))throw new Error(`cannot turn ${e.type} to an expression`);return e}});var Rh=E(Lh=>{"use strict";Object.defineProperty(Lh,"__esModule",{value:!0});Lh.default=kh;var mK=rn();function kh(e,t,r){if(!e)return;let n=mK.VISITOR_KEYS[e.type];if(n){r=r||{},t(e,r);for(let s of n){let i=e[s];if(Array.isArray(i))for(let a of i)kh(a,t,r);else kh(i,t,r)}}}});var Mh=E(jh=>{"use strict";Object.defineProperty(jh,"__esModule",{value:!0});jh.default=bK;var yK=Ls(),YT=["tokens","start","end","loc","raw","rawValue"],gK=[...yK.COMMENT_KEYS,"comments",...YT];function bK(e,t={}){let r=t.preserveComments?YT:gK;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 Uh=E(qh=>{"use strict";Object.defineProperty(qh,"__esModule",{value:!0});qh.default=TK;var EK=Rh(),vK=Mh();function TK(e,t){return(0,EK.default)(e,vK.default,t),e}});var zT=E(Vh=>{"use strict";Object.defineProperty(Vh,"__esModule",{value:!0});Vh.default=gi;var JT=$t(),SK=Ms(),xK=Uh();function gi(e,t=e.key){let r;return e.kind==="method"?gi.increment()+"":((0,JT.isIdentifier)(t)?r=t.name:(0,JT.isStringLiteral)(t)?r=JSON.stringify(t.value):r=JSON.stringify((0,xK.default)((0,SK.default)(t))),e.computed&&(r=`[${r}]`),e.static&&(r=`static:${r}`),r)}gi.uid=0;gi.increment=function(){return gi.uid>=Number.MAX_SAFE_INTEGER?gi.uid=0:gi.uid++}});var QT=E(ku=>{"use strict";Object.defineProperty(ku,"__esModule",{value:!0});ku.default=void 0;var Fu=$t(),PK=_r(),KPe=ku.default=AK;function AK(e,t){if((0,Fu.isStatement)(e))return e;let r=!1,n;if((0,Fu.isClass)(e))r=!0,n="ClassDeclaration";else if((0,Fu.isFunction)(e))r=!0,n="FunctionDeclaration";else if((0,Fu.isAssignmentExpression)(e))return(0,PK.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 ZT=E(Lu=>{"use strict";Object.defineProperty(Lu,"__esModule",{value:!0});Lu.default=void 0;var CK=fa(),Er=_r(),HPe=Lu.default=$h,wK=Function.call.bind(Object.prototype.toString);function DK(e){return wK(e)==="[object RegExp]"}function IK(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 $h(e){if(e===void 0)return(0,Er.identifier)("undefined");if(e===!0||e===!1)return(0,Er.booleanLiteral)(e);if(e===null)return(0,Er.nullLiteral)();if(typeof e=="string")return(0,Er.stringLiteral)(e);if(typeof e=="number"){let t;if(Number.isFinite(e))t=(0,Er.numericLiteral)(Math.abs(e));else{let r;Number.isNaN(e)?r=(0,Er.numericLiteral)(0):r=(0,Er.numericLiteral)(1),t=(0,Er.binaryExpression)("/",r,(0,Er.numericLiteral)(0))}return(e<0||Object.is(e,-0))&&(t=(0,Er.unaryExpression)("-",t)),t}if(DK(e)){let t=e.source,r=/\/([a-z]*)$/.exec(e.toString())[1];return(0,Er.regExpLiteral)(t,r)}if(Array.isArray(e))return(0,Er.arrayExpression)(e.map($h));if(IK(e)){let t=[];for(let r of Object.keys(e)){let n;(0,CK.default)(r)?n=(0,Er.identifier)(r):n=(0,Er.stringLiteral)(r),t.push((0,Er.objectProperty)(n,$h(e[r])))}return(0,Er.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}});var eS=E(Wh=>{"use strict";Object.defineProperty(Wh,"__esModule",{value:!0});Wh.default=_K;var OK=_r();function _K(e,t,r=!1){return e.object=(0,OK.memberExpression)(e.object,e.property,e.computed),e.property=t,e.computed=!!r,e}});var rS=E(Kh=>{"use strict";Object.defineProperty(Kh,"__esModule",{value:!0});Kh.default=BK;var tS=Ls(),NK=Ah();function BK(e,t){if(!e||!t)return e;for(let r of tS.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 tS.INHERIT_KEYS.force)e[r]=t[r];return(0,NK.default)(e,t),e}});var nS=E(Gh=>{"use strict";Object.defineProperty(Gh,"__esModule",{value:!0});Gh.default=LK;var FK=_r(),kK=Be();function LK(e,t){if((0,kK.isSuper)(e.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return e.object=(0,FK.memberExpression)(t,e.object),e}});var sS=E(Hh=>{"use strict";Object.defineProperty(Hh,"__esModule",{value:!0});Hh.default=RK;function RK(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 jo=E(Yh=>{"use strict";Object.defineProperty(Yh,"__esModule",{value:!0});Yh.default=Xh;var ss=$t();function Xh(e,t,r,n){let s=[].concat(e),i=Object.create(null);for(;s.length;){let a=s.shift();if(!a||n&&((0,ss.isAssignmentExpression)(a)||(0,ss.isUnaryExpression)(a)||(0,ss.isUpdateExpression)(a)))continue;if((0,ss.isIdentifier)(a)){t?(i[a.name]=i[a.name]||[]).push(a):i[a.name]=a;continue}if((0,ss.isExportDeclaration)(a)&&!(0,ss.isExportAllDeclaration)(a)){(0,ss.isDeclaration)(a.declaration)&&s.push(a.declaration);continue}if(r){if((0,ss.isFunctionDeclaration)(a)){s.push(a.id);continue}if((0,ss.isFunctionExpression)(a))continue}let o=Xh.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 jK={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"],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"]};Xh.keys=jK});var iS=E(Ru=>{"use strict";Object.defineProperty(Ru,"__esModule",{value:!0});Ru.default=void 0;var MK=jo(),eAe=Ru.default=qK;function qK(e,t){return(0,MK.default)(e,t,!0)}});var oS=E(Jh=>{"use strict";Object.defineProperty(Jh,"__esModule",{value:!0});Jh.default=VK;var nn=$t();function UK(e){return(0,nn.isNullLiteral)(e)?"null":(0,nn.isRegExpLiteral)(e)?`/${e.pattern}/${e.flags}`:(0,nn.isTemplateLiteral)(e)?e.quasis.map(t=>t.value.raw).join(""):e.value!==void 0?String(e.value):null}function aS(e){if(!e.computed||(0,nn.isLiteral)(e.key))return e.key}function VK(e,t){if("id"in e&&e.id)return{name:e.id.name,originalNode:e.id};let r="",n;if((0,nn.isObjectProperty)(t,{value:e})?n=aS(t):(0,nn.isObjectMethod)(e)||(0,nn.isClassMethod)(e)?(n=aS(e),e.kind==="get"?r="get ":e.kind==="set"&&(r="set ")):(0,nn.isVariableDeclarator)(t,{init:e})?n=t.id:(0,nn.isAssignmentExpression)(t,{operator:"=",right:e})&&(n=t.left),!n)return null;let s=(0,nn.isLiteral)(n)?UK(n):(0,nn.isIdentifier)(n)?n.name:(0,nn.isPrivateName)(n)?n.id.name:null;return s==null?null:{name:r+s,originalNode:n}}});var lS=E(Qh=>{"use strict";Object.defineProperty(Qh,"__esModule",{value:!0});Qh.default=WK;var $K=rn();function WK(e,t,r){typeof t=="function"&&(t={enter:t});let{enter:n,exit:s}=t;zh(e,n,s,r,[])}function zh(e,t,r,n,s){let i=$K.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}),zh(u,t,r,n,s),s.pop())}else o&&(s.push({node:e,key:a}),zh(o,t,r,n,s),s.pop())}r&&r(e,s,n)}}});var uS=E(Zh=>{"use strict";Object.defineProperty(Zh,"__esModule",{value:!0});Zh.default=GK;var KK=jo();function GK(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression")return!1;let n=KK.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 tm=E(em=>{"use strict";Object.defineProperty(em,"__esModule",{value:!0});em.default=YK;var HK=$t(),XK=Ls();function YK(e){return(0,HK.isVariableDeclaration)(e)&&(e.kind!=="var"||e[XK.BLOCK_SCOPED_SYMBOL])}});var fS=E(rm=>{"use strict";Object.defineProperty(rm,"__esModule",{value:!0});rm.default=zK;var cS=$t(),JK=tm();function zK(e){return(0,cS.isFunctionDeclaration)(e)||(0,cS.isClassDeclaration)(e)||(0,JK.default)(e)}});var pS=E(nm=>{"use strict";Object.defineProperty(nm,"__esModule",{value:!0});nm.default=eG;var QK=bu(),ZK=$t();function eG(e){return(0,QK.default)(e.type,"Immutable")?!0:(0,ZK.isIdentifier)(e)?e.name==="undefined":!1}});var hS=E(im=>{"use strict";Object.defineProperty(im,"__esModule",{value:!0});im.default=sm;var dS=rn();function sm(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(dS.NODE_FIELDS[e.type]||e.type),n=dS.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(!sm(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(!sm(i,a))return!1}}return!0}});var mS=E(am=>{"use strict";Object.defineProperty(am,"__esModule",{value:!0});am.default=tG;function tG(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 yS=E(om=>{"use strict";Object.defineProperty(om,"__esModule",{value:!0});om.default=rG;var bi=$t();function rG(e,t){return(0,bi.isBlockStatement)(e)&&((0,bi.isFunction)(t)||(0,bi.isCatchClause)(t))?!1:(0,bi.isPattern)(e)&&((0,bi.isFunction)(t)||(0,bi.isCatchClause)(t))?!0:(0,bi.isScopable)(e)}});var bS=E(lm=>{"use strict";Object.defineProperty(lm,"__esModule",{value:!0});lm.default=nG;var gS=$t();function nG(e){return(0,gS.isImportDefaultSpecifier)(e)||(0,gS.isIdentifier)(e.imported||e.exported,{name:"default"})}});var ES=E(um=>{"use strict";Object.defineProperty(um,"__esModule",{value:!0});um.default=aG;var sG=fa(),iG=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 aG(e){return(0,sG.default)(e)&&!iG.has(e)}});var vS=E(cm=>{"use strict";Object.defineProperty(cm,"__esModule",{value:!0});cm.default=uG;var oG=$t(),lG=Ls();function uG(e){return(0,oG.isVariableDeclaration)(e,{kind:"var"})&&!e[lG.BLOCK_SCOPED_SYMBOL]}});var TS=E(dm=>{"use strict";Object.defineProperty(dm,"__esModule",{value:!0});dm.default=ju;var cG=jo(),Ei=$t(),fm=_r(),pm=oh(),fG=Ms();function ju(e,t){let r=[],n=!0;for(let s of e)if((0,Ei.isEmptyStatement)(s)||(n=!1),(0,Ei.isExpression)(s))r.push(s);else if((0,Ei.isExpressionStatement)(s))r.push(s.expression);else if((0,Ei.isVariableDeclaration)(s)){if(s.kind!=="var")return;for(let i of s.declarations){let a=(0,cG.default)(i);for(let o of Object.keys(a))t.push({kind:s.kind,id:(0,fG.default)(a[o])});i.init&&r.push((0,fm.assignmentExpression)("=",i.id,i.init))}n=!0}else if((0,Ei.isIfStatement)(s)){let i=s.consequent?ju([s.consequent],t):(0,pm.buildUndefinedNode)(),a=s.alternate?ju([s.alternate],t):(0,pm.buildUndefinedNode)();if(!i||!a)return;r.push((0,fm.conditionalExpression)(s.test,i,a))}else if((0,Ei.isBlockStatement)(s)){let i=ju(s.body,t);if(!i)return;r.push(i)}else if((0,Ei.isEmptyStatement)(s))e.indexOf(s)===0&&(n=!0);else return;return n&&r.push((0,pm.buildUndefinedNode)()),r.length===1?r[0]:(0,fm.sequenceExpression)(r)}});var SS=E(hm=>{"use strict";Object.defineProperty(hm,"__esModule",{value:!0});hm.default=dG;var pG=TS();function dG(e,t){if(!(e!=null&&e.length))return;let r=[],n=(0,pG.default)(e,r);if(n){for(let s of r)t.push(s);return n}}});var Be=E(ie=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0});var is={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(ie,"__internal__deprecationWarning",{enumerable:!0,get:function(){return gH.default}});Object.defineProperty(ie,"addComment",{enumerable:!0,get:function(){return AG.default}});Object.defineProperty(ie,"addComments",{enumerable:!0,get:function(){return CG.default}});Object.defineProperty(ie,"appendToMemberExpression",{enumerable:!0,get:function(){return UG.default}});Object.defineProperty(ie,"assertNode",{enumerable:!0,get:function(){return gG.default}});Object.defineProperty(ie,"buildMatchMemberExpression",{enumerable:!0,get:function(){return yH.default}});Object.defineProperty(ie,"clone",{enumerable:!0,get:function(){return TG.default}});Object.defineProperty(ie,"cloneDeep",{enumerable:!0,get:function(){return SG.default}});Object.defineProperty(ie,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return xG.default}});Object.defineProperty(ie,"cloneNode",{enumerable:!0,get:function(){return vG.default}});Object.defineProperty(ie,"cloneWithoutLoc",{enumerable:!0,get:function(){return PG.default}});Object.defineProperty(ie,"createFlowUnionType",{enumerable:!0,get:function(){return xS.default}});Object.defineProperty(ie,"createTSUnionType",{enumerable:!0,get:function(){return EG.default}});Object.defineProperty(ie,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return bG.default}});Object.defineProperty(ie,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return xS.default}});Object.defineProperty(ie,"ensureBlock",{enumerable:!0,get:function(){return NG.default}});Object.defineProperty(ie,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return HG.default}});Object.defineProperty(ie,"getBindingIdentifiers",{enumerable:!0,get:function(){return XG.default}});Object.defineProperty(ie,"getFunctionName",{enumerable:!0,get:function(){return JG.default}});Object.defineProperty(ie,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return YG.default}});Object.defineProperty(ie,"inheritInnerComments",{enumerable:!0,get:function(){return wG.default}});Object.defineProperty(ie,"inheritLeadingComments",{enumerable:!0,get:function(){return DG.default}});Object.defineProperty(ie,"inheritTrailingComments",{enumerable:!0,get:function(){return OG.default}});Object.defineProperty(ie,"inherits",{enumerable:!0,get:function(){return VG.default}});Object.defineProperty(ie,"inheritsComments",{enumerable:!0,get:function(){return IG.default}});Object.defineProperty(ie,"is",{enumerable:!0,get:function(){return ZG.default}});Object.defineProperty(ie,"isBinding",{enumerable:!0,get:function(){return eH.default}});Object.defineProperty(ie,"isBlockScoped",{enumerable:!0,get:function(){return tH.default}});Object.defineProperty(ie,"isImmutable",{enumerable:!0,get:function(){return rH.default}});Object.defineProperty(ie,"isLet",{enumerable:!0,get:function(){return nH.default}});Object.defineProperty(ie,"isNode",{enumerable:!0,get:function(){return sH.default}});Object.defineProperty(ie,"isNodesEquivalent",{enumerable:!0,get:function(){return iH.default}});Object.defineProperty(ie,"isPlaceholderType",{enumerable:!0,get:function(){return aH.default}});Object.defineProperty(ie,"isReferenced",{enumerable:!0,get:function(){return oH.default}});Object.defineProperty(ie,"isScope",{enumerable:!0,get:function(){return lH.default}});Object.defineProperty(ie,"isSpecifierDefault",{enumerable:!0,get:function(){return uH.default}});Object.defineProperty(ie,"isType",{enumerable:!0,get:function(){return cH.default}});Object.defineProperty(ie,"isValidES3Identifier",{enumerable:!0,get:function(){return fH.default}});Object.defineProperty(ie,"isValidIdentifier",{enumerable:!0,get:function(){return pH.default}});Object.defineProperty(ie,"isVar",{enumerable:!0,get:function(){return dH.default}});Object.defineProperty(ie,"matchesPattern",{enumerable:!0,get:function(){return hH.default}});Object.defineProperty(ie,"prependToMemberExpression",{enumerable:!0,get:function(){return $G.default}});ie.react=void 0;Object.defineProperty(ie,"removeComments",{enumerable:!0,get:function(){return _G.default}});Object.defineProperty(ie,"removeProperties",{enumerable:!0,get:function(){return WG.default}});Object.defineProperty(ie,"removePropertiesDeep",{enumerable:!0,get:function(){return KG.default}});Object.defineProperty(ie,"removeTypeDuplicates",{enumerable:!0,get:function(){return GG.default}});Object.defineProperty(ie,"shallowEqual",{enumerable:!0,get:function(){return QG.default}});Object.defineProperty(ie,"toBindingIdentifierName",{enumerable:!0,get:function(){return BG.default}});Object.defineProperty(ie,"toBlock",{enumerable:!0,get:function(){return FG.default}});Object.defineProperty(ie,"toComputedKey",{enumerable:!0,get:function(){return kG.default}});Object.defineProperty(ie,"toExpression",{enumerable:!0,get:function(){return LG.default}});Object.defineProperty(ie,"toIdentifier",{enumerable:!0,get:function(){return RG.default}});Object.defineProperty(ie,"toKeyAlias",{enumerable:!0,get:function(){return jG.default}});Object.defineProperty(ie,"toStatement",{enumerable:!0,get:function(){return MG.default}});Object.defineProperty(ie,"traverse",{enumerable:!0,get:function(){return Mu.default}});Object.defineProperty(ie,"traverseFast",{enumerable:!0,get:function(){return zG.default}});Object.defineProperty(ie,"validate",{enumerable:!0,get:function(){return mH.default}});Object.defineProperty(ie,"valueToNode",{enumerable:!0,get:function(){return qG.default}});var hG=Cv(),mG=wv(),yG=TT(),gG=ST(),mm=xT();Object.keys(mm).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(is,e)||e in ie&&ie[e]===mm[e]||Object.defineProperty(ie,e,{enumerable:!0,get:function(){return mm[e]}})});var bG=PT(),xS=wT(),EG=_T(),ym=_r();Object.keys(ym).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(is,e)||e in ie&&ie[e]===ym[e]||Object.defineProperty(ie,e,{enumerable:!0,get:function(){return ym[e]}})});var gm=NT();Object.keys(gm).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(is,e)||e in ie&&ie[e]===gm[e]||Object.defineProperty(ie,e,{enumerable:!0,get:function(){return gm[e]}})});var bm=oh();Object.keys(bm).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(is,e)||e in ie&&ie[e]===bm[e]||Object.defineProperty(ie,e,{enumerable:!0,get:function(){return bm[e]}})});var vG=Ms(),TG=jT(),SG=MT(),xG=qT(),PG=UT(),AG=VT(),CG=mh(),wG=Eh(),DG=Th(),IG=Ah(),OG=xh(),_G=$T(),Em=WT();Object.keys(Em).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(is,e)||e in ie&&ie[e]===Em[e]||Object.defineProperty(ie,e,{enumerable:!0,get:function(){return Em[e]}})});var vm=Ls();Object.keys(vm).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(is,e)||e in ie&&ie[e]===vm[e]||Object.defineProperty(ie,e,{enumerable:!0,get:function(){return vm[e]}})});var NG=KT(),BG=GT(),FG=Ih(),kG=HT(),LG=XT(),RG=Nh(),jG=zT(),MG=QT(),qG=ZT(),Tm=rn();Object.keys(Tm).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(is,e)||e in ie&&ie[e]===Tm[e]||Object.defineProperty(ie,e,{enumerable:!0,get:function(){return Tm[e]}})});var UG=eS(),VG=rS(),$G=nS(),WG=Mh(),KG=Uh(),GG=rh(),HG=sS(),XG=jo(),YG=iS(),JG=oS(),Mu=lS();Object.keys(Mu).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(is,e)||e in ie&&ie[e]===Mu[e]||Object.defineProperty(ie,e,{enumerable:!0,get:function(){return Mu[e]}})});var zG=Rh(),QG=yu(),ZG=ua(),eH=uS(),tH=fS(),rH=pS(),nH=tm(),sH=Zd(),iH=hS(),aH=Cd(),oH=mS(),lH=yS(),uH=bS(),cH=bu(),fH=ES(),pH=fa(),dH=vS(),hH=vd(),mH=xu(),yH=Sd(),Sm=$t();Object.keys(Sm).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(is,e)||e in ie&&ie[e]===Sm[e]||Object.defineProperty(ie,e,{enumerable:!0,get:function(){return Sm[e]}})});var gH=xo(),yAe=ie.react={isReactComponent:hG.default,isCompatTag:mG.default,buildChildren:yG.default};ie.toSequenceExpression=SS().default});var PS=E(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.statements=sn.statement=sn.smart=sn.program=sn.expression=void 0;var bH=Be(),{assertExpressionStatement:EH}=bH;function xm(e){return{code:t=>`/* @babel/template */;
11
- ${t}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}var bAe=sn.smart=xm(e=>e.length>1?e:e[0]),EAe=sn.statements=xm(e=>e),vAe=sn.statement=xm(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]}),vH=sn.expression={code:e=>`(
12
- ${e}
13
- )`,validate:e=>{if(e.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(vH.unwrap(e).start===0)throw new Error("Parse result included parens.")},unwrap:({program:e})=>{let[t]=e.body;return EH(t),t.expression}},TAe=sn.program={code:e=>e,validate:()=>{},unwrap:e=>e.program}});var qu=E(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});Mo.merge=xH;Mo.normalizeReplacements=AH;Mo.validate=PH;var TH=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function SH(e,t){if(e==null)return{};var r={},n=Object.keys(e),s,i;for(i=0;i<n.length;i++)s=n[i],!(t.indexOf(s)>=0)&&(r[s]=e[s]);return r}function xH(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 PH(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=SH(t,TH);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??void 0,preserveComments:s??void 0,syntacticPlaceholders:i??void 0}}function AH(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 Jo=E(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});function CH(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}var Un=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}},ba=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 Br(e,t){let{line:r,column:n,index:s}=e;return new Un(r,n+t,s+t)}var AS="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",wH={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:AS},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:AS}},CS={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"},$u=e=>e.type==="UpdateExpression"?CS.UpdateExpression[`${e.prefix}`]:CS[e.type],DH={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.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",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.",DynamicImportPhaseRequiresImportExpressions:({phase:e})=>`'import.${e}(...)' can only be parsed when using the 'createImportExpressions' option.`,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\`.
14
- - 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 `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:e})=>`A string literal cannot be used as an imported binding.
15
- - Did you mean \`import { "${e}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:e})=>`\`import()\` requires exactly ${e===1?"one argument":"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.",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 ${$u(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${$u(e)}.`,InvalidLhsOptionalChaining:({ancestor:e})=>`Invalid optional chaining in the left-hand side of ${$u(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`.",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.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},IH={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."},OH=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),_H={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 ${$u({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.'},NH=["message"];function wS(e,t,r){Object.defineProperty(e,t,{enumerable:!1,configurable:!0,value:r})}function BH({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),wS(l,"clone",function(c={}){var f;let{line:p,column:h,index:b}=(f=c.loc)!=null?f:a;return i(new Un(p,h,b),Object.assign({},o,c.details))}),wS(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 us(e,t){if(Array.isArray(e))return n=>us(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=CH(i,NH),l=typeof a=="string"?()=>a:a;r[n]=BH(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:n,toMessage:l},t?{syntaxPlugin:t}:{},o))}return r}var I=Object.assign({},us(wH),us(DH),us(IH),us`pipelineOperator`(_H)),{defineProperty:FH}=Object,DS=(e,t)=>{e&&FH(e,t,{enumerable:!1,value:e[t]})};function qo(e){return DS(e.loc.start,"index"),DS(e.loc.end,"index"),e}var kH=e=>class extends e{parse(){let r=qo(super.parse());return this.options.tokens&&(r.tokens=r.tokens.map(qo)),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)}directiveToStmt(r){let n=r.value;delete r.value,n.type="Literal",n.raw=n.extra.raw,n.value=n.extra.expressionValue;let s=r;return s.type="ExpressionStatement",s.expression=n,s.directive=n.extra.rawValue,delete n.extra,s}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}pushClassMethod(r,n,s,i,a,o){this.parseMethod(n,s,i,a,o,"ClassMethod",!0),n.typeParameters&&(n.value.typeParameters=n.typeParameters,delete n.typeParameters),r.body.push(n)}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,r.type="PrivateIdentifier",r}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();return u.kind=r.kind,u=super.parseMethod(u,n,s,i,a,o,l),u.type="FunctionExpression",delete u.kind,r.value=u,o==="ClassPrivateMethod"&&(r.computed=!1),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")&&(n.type="PropertyDefinition"),n}parseClassPrivateProperty(...r){let n=super.parseClassPrivateProperty(...r);return this.getPluginOption("estree","classFeatures")&&(n.type="PropertyDefinition",n.computed=!1),n}parseObjectMethod(r,n,s,i,a){let o=super.parseObjectMethod(r,n,s,i,a);return o&&(o.type="Property",o.kind==="method"&&(o.kind="init"),o.shorthand=!1),o}parseObjectProperty(r,n,s,i){let a=super.parseObjectProperty(r,n,s,i);return a&&(a.kind="init",a.type="Property"),a}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(I.PatternHasAccessor,r.key):r.type==="Property"&&r.method?this.raise(I.PatternHasMethod,r.key):super.toAssignableObjectExpressionProp(r,n,s)}finishCallExpression(r,n){let s=super.finishCallExpression(r,n);if(s.callee.type==="Import"){if(s.type="ImportExpression",s.source=s.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var i,a;s.options=(i=s.arguments[1])!=null?i:null,s.attributes=(a=s.arguments[1])!=null?a:null}delete s.arguments,delete s.callee}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"&&(i.type="ExportAllDeclaration",i.exported=i.specifiers[0].exported,delete i.specifiers);case"ExportDefaultDeclaration":{var a;let{declaration:o}=i;o?.type==="ClassDeclaration"&&((a=o.decorators)==null?void 0:a.length)>0&&o.start===i.start&&this.resetStartLocation(i,s)}break}return i}parseSubscript(r,n,s,i){let a=super.parseSubscript(r,n,s,i);if(i.optionalChainMember){if((a.type==="OptionalMemberExpression"||a.type==="OptionalCallExpression")&&(a.type=a.type.substring(8)),i.stop){let o=this.startNodeAtNode(a);return o.expression=a,this.finishNode(o,"ChainExpression")}}else(a.type==="MemberExpression"||a.type==="CallExpression")&&(a.optional=!1);return a}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")}finishNodeAt(r,n,s){return qo(super.finishNodeAt(r,n,s))}resetStartLocation(r,n){super.resetStartLocation(r,n),qo(r)}resetEndLocation(r,n=this.state.lastTokEndLoc){super.resetEndLocation(r,n),qo(r)}},Ti=class{constructor(t,r){this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!r}},At={brace:new Ti("{"),j_oTag:new Ti("<tag"),j_cTag:new Ti("</tag"),j_expr:new Ti("<tag>...</tag>",!0)};At.template=new Ti("`",!0);var ze=!0,le=!0,Pm=!0,Uo=!0,qs=!0,LH=!0,Gu=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}},Jm=new Map;function ot(e,t={}){t.keyword=e;let r=De(e,t);return Jm.set(e,r),r}function Nr(e,t){return De(e,{beforeExpr:ze,binop:t})}var Ko=-1,os=[],zm=[],Qm=[],Zm=[],ey=[],ty=[];function De(e,t={}){var r,n,s,i;return++Ko,zm.push(e),Qm.push((r=t.binop)!=null?r:-1),Zm.push((n=t.beforeExpr)!=null?n:!1),ey.push((s=t.startsExpr)!=null?s:!1),ty.push((i=t.prefix)!=null?i:!1),os.push(new Gu(e,t)),Ko}function Je(e,t={}){var r,n,s,i;return++Ko,Jm.set(e,Ko),zm.push(e),Qm.push((r=t.binop)!=null?r:-1),Zm.push((n=t.beforeExpr)!=null?n:!1),ey.push((s=t.startsExpr)!=null?s:!1),ty.push((i=t.prefix)!=null?i:!1),os.push(new Gu("name",t)),Ko}var RH={bracketL:De("[",{beforeExpr:ze,startsExpr:le}),bracketHashL:De("#[",{beforeExpr:ze,startsExpr:le}),bracketBarL:De("[|",{beforeExpr:ze,startsExpr:le}),bracketR:De("]"),bracketBarR:De("|]"),braceL:De("{",{beforeExpr:ze,startsExpr:le}),braceBarL:De("{|",{beforeExpr:ze,startsExpr:le}),braceHashL:De("#{",{beforeExpr:ze,startsExpr:le}),braceR:De("}"),braceBarR:De("|}"),parenL:De("(",{beforeExpr:ze,startsExpr:le}),parenR:De(")"),comma:De(",",{beforeExpr:ze}),semi:De(";",{beforeExpr:ze}),colon:De(":",{beforeExpr:ze}),doubleColon:De("::",{beforeExpr:ze}),dot:De("."),question:De("?",{beforeExpr:ze}),questionDot:De("?."),arrow:De("=>",{beforeExpr:ze}),template:De("template"),ellipsis:De("...",{beforeExpr:ze}),backQuote:De("`",{startsExpr:le}),dollarBraceL:De("${",{beforeExpr:ze,startsExpr:le}),templateTail:De("...`",{startsExpr:le}),templateNonTail:De("...${",{beforeExpr:ze,startsExpr:le}),at:De("@"),hash:De("#",{startsExpr:le}),interpreterDirective:De("#!..."),eq:De("=",{beforeExpr:ze,isAssign:Uo}),assign:De("_=",{beforeExpr:ze,isAssign:Uo}),slashAssign:De("_=",{beforeExpr:ze,isAssign:Uo}),xorAssign:De("_=",{beforeExpr:ze,isAssign:Uo}),moduloAssign:De("_=",{beforeExpr:ze,isAssign:Uo}),incDec:De("++/--",{prefix:qs,postfix:LH,startsExpr:le}),bang:De("!",{beforeExpr:ze,prefix:qs,startsExpr:le}),tilde:De("~",{beforeExpr:ze,prefix:qs,startsExpr:le}),doubleCaret:De("^^",{startsExpr:le}),doubleAt:De("@@",{startsExpr:le}),pipeline:Nr("|>",0),nullishCoalescing:Nr("??",1),logicalOR:Nr("||",1),logicalAND:Nr("&&",2),bitwiseOR:Nr("|",3),bitwiseXOR:Nr("^",4),bitwiseAND:Nr("&",5),equality:Nr("==/!=/===/!==",6),lt:Nr("</>/<=/>=",7),gt:Nr("</>/<=/>=",7),relational:Nr("</>/<=/>=",7),bitShift:Nr("<</>>/>>>",8),bitShiftL:Nr("<</>>/>>>",8),bitShiftR:Nr("<</>>/>>>",8),plusMin:De("+/-",{beforeExpr:ze,binop:9,prefix:qs,startsExpr:le}),modulo:De("%",{binop:10,startsExpr:le}),star:De("*",{binop:10}),slash:Nr("/",10),exponent:De("**",{beforeExpr:ze,binop:11,rightAssociative:!0}),_in:ot("in",{beforeExpr:ze,binop:7}),_instanceof:ot("instanceof",{beforeExpr:ze,binop:7}),_break:ot("break"),_case:ot("case",{beforeExpr:ze}),_catch:ot("catch"),_continue:ot("continue"),_debugger:ot("debugger"),_default:ot("default",{beforeExpr:ze}),_else:ot("else",{beforeExpr:ze}),_finally:ot("finally"),_function:ot("function",{startsExpr:le}),_if:ot("if"),_return:ot("return",{beforeExpr:ze}),_switch:ot("switch"),_throw:ot("throw",{beforeExpr:ze,prefix:qs,startsExpr:le}),_try:ot("try"),_var:ot("var"),_const:ot("const"),_with:ot("with"),_new:ot("new",{beforeExpr:ze,startsExpr:le}),_this:ot("this",{startsExpr:le}),_super:ot("super",{startsExpr:le}),_class:ot("class",{startsExpr:le}),_extends:ot("extends",{beforeExpr:ze}),_export:ot("export"),_import:ot("import",{startsExpr:le}),_null:ot("null",{startsExpr:le}),_true:ot("true",{startsExpr:le}),_false:ot("false",{startsExpr:le}),_typeof:ot("typeof",{beforeExpr:ze,prefix:qs,startsExpr:le}),_void:ot("void",{beforeExpr:ze,prefix:qs,startsExpr:le}),_delete:ot("delete",{beforeExpr:ze,prefix:qs,startsExpr:le}),_do:ot("do",{isLoop:Pm,beforeExpr:ze}),_for:ot("for",{isLoop:Pm}),_while:ot("while",{isLoop:Pm}),_as:Je("as",{startsExpr:le}),_assert:Je("assert",{startsExpr:le}),_async:Je("async",{startsExpr:le}),_await:Je("await",{startsExpr:le}),_defer:Je("defer",{startsExpr:le}),_from:Je("from",{startsExpr:le}),_get:Je("get",{startsExpr:le}),_let:Je("let",{startsExpr:le}),_meta:Je("meta",{startsExpr:le}),_of:Je("of",{startsExpr:le}),_sent:Je("sent",{startsExpr:le}),_set:Je("set",{startsExpr:le}),_source:Je("source",{startsExpr:le}),_static:Je("static",{startsExpr:le}),_using:Je("using",{startsExpr:le}),_yield:Je("yield",{startsExpr:le}),_asserts:Je("asserts",{startsExpr:le}),_checks:Je("checks",{startsExpr:le}),_exports:Je("exports",{startsExpr:le}),_global:Je("global",{startsExpr:le}),_implements:Je("implements",{startsExpr:le}),_intrinsic:Je("intrinsic",{startsExpr:le}),_infer:Je("infer",{startsExpr:le}),_is:Je("is",{startsExpr:le}),_mixins:Je("mixins",{startsExpr:le}),_proto:Je("proto",{startsExpr:le}),_require:Je("require",{startsExpr:le}),_satisfies:Je("satisfies",{startsExpr:le}),_keyof:Je("keyof",{startsExpr:le}),_readonly:Je("readonly",{startsExpr:le}),_unique:Je("unique",{startsExpr:le}),_abstract:Je("abstract",{startsExpr:le}),_declare:Je("declare",{startsExpr:le}),_enum:Je("enum",{startsExpr:le}),_module:Je("module",{startsExpr:le}),_namespace:Je("namespace",{startsExpr:le}),_interface:Je("interface",{startsExpr:le}),_type:Je("type",{startsExpr:le}),_opaque:Je("opaque",{startsExpr:le}),name:De("name",{startsExpr:le}),string:De("string",{startsExpr:le}),num:De("num",{startsExpr:le}),bigint:De("bigint",{startsExpr:le}),decimal:De("decimal",{startsExpr:le}),regexp:De("regexp",{startsExpr:le}),privateName:De("#name",{startsExpr:le}),eof:De("eof"),jsxName:De("jsxName"),jsxText:De("jsxText",{beforeExpr:!0}),jsxTagStart:De("jsxTagStart",{startsExpr:!0}),jsxTagEnd:De("jsxTagEnd"),placeholder:De("%%",{startsExpr:!0})};function ht(e){return e>=93&&e<=132}function jH(e){return e<=92}function xn(e){return e>=58&&e<=132}function qS(e){return e>=58&&e<=136}function MH(e){return Zm[e]}function Om(e){return ey[e]}function qH(e){return e>=29&&e<=33}function IS(e){return e>=129&&e<=131}function UH(e){return e>=90&&e<=92}function ry(e){return e>=58&&e<=92}function VH(e){return e>=39&&e<=59}function $H(e){return e===34}function WH(e){return ty[e]}function KH(e){return e>=121&&e<=123}function GH(e){return e>=124&&e<=130}function Vs(e){return zm[e]}function Wu(e){return Qm[e]}function HH(e){return e===57}function Hu(e){return e>=24&&e<=25}function as(e){return os[e]}os[8].updateContext=e=>{e.pop()},os[5].updateContext=os[7].updateContext=os[23].updateContext=e=>{e.push(At.brace)},os[22].updateContext=e=>{e[e.length-1]===At.template?e.pop():e.push(At.template)},os[142].updateContext=e=>{e.push(At.j_expr,At.j_oTag)};var ny="\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-\u1C88\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-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\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",US="\u200C\u200D\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\u0898-\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",XH=new RegExp("["+ny+"]"),YH=new RegExp("["+ny+US+"]");ny=US=null;var VS=[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,68,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,349,41,7,1,79,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,159,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,264,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,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,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,757,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],JH=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,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,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,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,983,6,110,6,6,9,4759,9,787719,239];function _m(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 ls(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&XH.test(String.fromCharCode(e)):_m(e,VS)}function ma(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&&YH.test(String.fromCharCode(e)):_m(e,VS)||_m(e,JH)}var sy={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"]},zH=new Set(sy.keyword),QH=new Set(sy.strict),ZH=new Set(sy.strictBind);function $S(e,t){return t&&e==="await"||e==="enum"}function WS(e,t){return $S(e,t)||QH.has(e)}function KS(e){return ZH.has(e)}function GS(e,t){return WS(e,t)||KS(e)}function eX(e){return zH.has(e)}function tX(e,t,r){return e===64&&t===64&&ls(r)}var rX=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 nX(e){return rX.has(e)}var Go=class{constructor(t){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=t}},Ho=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 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&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(t){return new Go(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&387));--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(I.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&387)return r}}currentThisScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:r}=this.scopeStack[t];if(r&451&&!(r&4))return r}}},Nm=class extends Go{constructor(...t){super(...t),this.declareFunctions=new Set}},Bm=class extends Ho{createScope(t){return new Nm(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)}},Fm=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}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?.[i]!==n[i])return!1;return!0}}getPluginOption(t,r){var n;return(n=this.plugins.get(t))==null?void 0:n[r]}};function HS(e,t){e.trailingComments===void 0?e.trailingComments=t:e.trailingComments.unshift(...t)}function sX(e,t){e.leadingComments===void 0?e.leadingComments=t:e.leadingComments.unshift(...t)}function Xo(e,t){e.innerComments===void 0?e.innerComments=t:e.innerComments.unshift(...t)}function Vo(e,t,r){let n=null,s=t.length;for(;n===null&&s>0;)n=t[--s];n===null||n.start>r.start?Xo(e,r.comments):HS(n,r.comments)}var km=class extends Fm{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){let{comments:r}=t;if(t.leadingNode!==null||t.trailingNode!==null)t.leadingNode!==null&&HS(t.leadingNode,r),t.trailingNode!==null&&sX(t.trailingNode,r);else{let{containingNode:n,start:s}=t;if(this.input.charCodeAt(s-1)===44)switch(n.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Vo(n,n.properties,t);break;case"CallExpression":case"OptionalCallExpression":Vo(n,n.arguments,t);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Vo(n,n.params,t);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Vo(n,n.elements,t);break;case"ExportNamedDeclaration":case"ImportDeclaration":Vo(n,n.specifiers,t);break;default:Xo(n,r)}else Xo(n,r)}}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)}resetPreviousIdentifierLeadingComments(t){let{commentStack:r}=this.state,{length:n}=r;n!==0&&(r[n-1].trailingNode===t?r[n-1].trailingNode=null:n>=2&&r[n-2].trailingNode===t&&(r[n-2].trailingNode=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}}},iX=/\r\n|[\r\n\u2028\u2029]/,Uu=new RegExp(iX.source,"g");function ya(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function OS(e,t,r){for(let n=t;n<r;n++)if(ya(e.charCodeAt(n)))return!0;return!1}var Am=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Cm=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function aX(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 Lm=class e{constructor(){this.flags=1024,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=139,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[At.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,startLine:n,startColumn:s}){this.strict=t===!1?!1:t===!0?!0:r==="module",this.curLine=n,this.lineStart=-s,this.startLoc=this.endLoc=new Un(n,s,0)}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 Un(this.curLine,this.pos-this.lineStart,this.pos)}clone(){let t=new e;return t.flags=this.flags,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}},oX=function(t){return t>=48&&t<=57},_S={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Vu={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 NS(e,t,r,n,s,i){let a=r,o=n,l=s,u="",c=null,f=r,{length:p}=t;for(;;){if(r>=p){i.unterminated(a,o,l),u+=t.slice(f,r);break}let h=t.charCodeAt(r);if(lX(e,h,t,r)){u+=t.slice(f,r);break}if(h===92){u+=t.slice(f,r);let b=uX(t,r,n,s,e==="template",i);b.ch===null&&!c?c={pos:r,lineStart:n,curLine:s}:u+=b.ch,{pos:r,lineStart:n,curLine:s}=b,f=r}else h===8232||h===8233?(++r,++s,n=r):h===10||h===13?e==="template"?(u+=t.slice(f,r)+`
16
- `,++r,h===13&&t.charCodeAt(r)===10&&++r,++s,f=n=r):i.unterminated(a,o,l):++r}return{pos:r,str:u,firstInvalidLoc:c,lineStart:n,curLine:s,containsInvalid:!!c}}function lX(e,t,r,n){return e==="template"?t===96||t===36&&r.charCodeAt(n+1)===123:t===(e==="double"?34:39)}function uX(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(`
17
- `);case 114:return o("\r");case 120:{let u;return{code:u,pos:t}=Rm(e,t,r,n,2,!1,a,i),o(u===null?null:String.fromCharCode(u))}case 117:{let u;return{code:u,pos:t}=YS(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,f=/^[0-7]+/.exec(e.slice(u,t+2))[0],p=parseInt(f,8);p>255&&(f=f.slice(0,-1),p=parseInt(f,8)),t+=f.length-1;let h=e.charCodeAt(t);if(f!=="0"||h===56||h===57){if(s)return o(null);i.strictNumericEscape(u,r,n)}return o(String.fromCharCode(p))}return o(String.fromCharCode(l))}}function Rm(e,t,r,n,s,i,a,o){let l=t,u;return{n:u,pos:t}=XS(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 XS(e,t,r,n,s,i,a,o,l,u){let c=t,f=s===16?_S.hex:_S.decBinOct,p=s===16?Vu.hex:s===10?Vu.dec:s===8?Vu.oct:Vu.bin,h=!1,b=0;for(let d=0,y=i??1/0;d<y;++d){let P=e.charCodeAt(t),D;if(P===95&&o!=="bail"){let N=e.charCodeAt(t-1),B=e.charCodeAt(t+1);if(o){if(Number.isNaN(B)||!p(B)||f.has(N)||f.has(B)){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(P>=97?D=P-97+10:P>=65?D=P-65+10:oX(P)?D=P-48:D=1/0,D>=s){if(D<=9&&u)return{n:null,pos:t};if(D<=9&&l.invalidDigit(t,r,n,s))D=0;else if(a)D=0,h=!0;else break}++t,b=b*s+D}return t===c||i!=null&&t-c!==i||h?{n:null,pos:t}:{n:b,pos:t}}function YS(e,t,r,n,s,i){let a=e.charCodeAt(t),o;if(a===123){if(++t,{code:o,pos:t}=Rm(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}=Rm(e,t,r,n,4,!1,s,i));return{code:o,pos:t}}function $o(e,t,r){return new Un(r,e-t,e)}var cX=new Set([103,109,115,105,121,117,100,118]),qn=class{constructor(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,this.loc=new ba(t.startLoc,t.endLoc)}},jm=class extends km{constructor(t,r){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(n,s,i,a)=>this.options.errorRecovery?(this.raise(I.InvalidDigit,$o(n,s,i),{radix:a}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(I.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(I.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(I.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(I.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(n,s,i)=>{this.recordStrictModeErrors(I.StrictNumericEscape,$o(n,s,i))},unterminated:(n,s,i)=>{throw this.raise(I.UnterminatedString,$o(n-1,s,i))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(I.StrictNumericEscape),unterminated:(n,s,i)=>{throw this.raise(I.UnterminatedTemplate,$o(n,s,i))}}),this.state=new Lm,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.options.tokens&&this.pushToken(new qn(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 Am.lastIndex=t,Am.test(this.input)?Am.lastIndex:t}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(t){return Cm.lastIndex=t,Cm.test(this.input)?Cm.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(139);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(I.UnterminatedComment,this.state.curPosition());for(this.state.pos=s+t.length,Uu.lastIndex=n+2;Uu.test(this.input)&&Uu.lastIndex<=s;)++this.state.curLine,this.state.lineStart=Uu.lastIndex;if(this.isLookahead)return;let i={type:"CommentBlock",value:this.input.slice(n+2,s),start:n,end:s+t.length,loc:new ba(r,this.state.curPosition())};return this.options.tokens&&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(;!ya(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:r,end:i,loc:new ba(n,this.state.curPosition())};return this.options.tokens&&this.pushToken(o),o}skipSpace(){let t=this.state.pos,r=[];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),this.options.attachComment&&r.push(s));break}case 47:{let s=this.skipLineComment(2);s!==void 0&&(this.addComment(s),this.options.attachComment&&r.push(s));break}default:break e}break;default:if(aX(n))++this.state.pos;else if(n===45&&!this.inModule&&this.options.annexB){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),this.options.attachComment&&r.push(i))}else break e}else if(n===60&&!this.inModule&&this.options.annexB){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),this.options.attachComment&&r.push(i))}else break e}else break e}}if(r.length>0){let n=this.state.pos,s={start:t,end: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(I.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?I.RecordExpressionHashIncorrectStartSyntaxType:I.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,r===123?this.finishToken(7):this.finishToken(1)}else ls(r)?(++this.state.pos,this.finishToken(138,this.readWord1(r))):r===92?(++this.state.pos,this.finishToken(138,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;!ya(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(I.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(I.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(I.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(I.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(ls(t)){this.readWord(t);return}}throw this.raise(I.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(I.UnterminatedRegExp,Br(t,1));let u=this.input.charCodeAt(i);if(ya(u))throw this.raise(I.UnterminatedRegExp,Br(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=()=>Br(t,i+2-r);for(;i<this.length;){let u=this.codePointAtPos(i),c=String.fromCharCode(u);if(cX.has(u))u===118?o.includes("u")&&this.raise(I.IncompatibleRegExpUVFlags,l()):u===117&&o.includes("v")&&this.raise(I.IncompatibleRegExpUVFlags,l()),o.includes(c)&&this.raise(I.DuplicateRegExpFlags,l());else if(ma(u)||u===92)this.raise(I.MalformedRegExpFlags,l());else break;++i,o+=c}this.state.pos=i,this.finishToken(137,{pattern:a,flags:o})}readInt(t,r,n=!1,s=!0){let{n:i,pos:a}=XS(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.curPosition(),n=!1;this.state.pos+=2;let s=this.readInt(t);s==null&&this.raise(I.InvalidDigit,Br(r,2),{radix:t});let i=this.input.charCodeAt(this.state.pos);if(i===110)++this.state.pos,n=!0;else if(i===109)throw this.raise(I.InvalidDecimal,r);if(ls(this.codePointAtPos(this.state.pos)))throw this.raise(I.NumberIdentifier,this.state.curPosition());if(n){let a=this.input.slice(r.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,a);return}this.finishToken(134,s)}readNumber(t){let r=this.state.pos,n=this.state.curPosition(),s=!1,i=!1,a=!1,o=!1,l=!1;!t&&this.readInt(10)===null&&this.raise(I.InvalidNumber,this.state.curPosition());let u=this.state.pos-r>=2&&this.input.charCodeAt(r)===48;if(u){let h=this.input.slice(r,this.state.pos);if(this.recordStrictModeErrors(I.StrictOctalLiteral,n),!this.state.strict){let b=h.indexOf("_");b>0&&this.raise(I.ZeroDigitNumericSeparator,Br(n,b))}l=u&&!/[89]/.test(h)}let c=this.input.charCodeAt(this.state.pos);if(c===46&&!l&&(++this.state.pos,this.readInt(10),s=!0,c=this.input.charCodeAt(this.state.pos)),(c===69||c===101)&&!l&&(c=this.input.charCodeAt(++this.state.pos),(c===43||c===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(I.InvalidOrMissingExponent,n),s=!0,o=!0,c=this.input.charCodeAt(this.state.pos)),c===110&&((s||u)&&this.raise(I.InvalidBigIntLiteral,n),++this.state.pos,i=!0),c===109&&(this.expectPlugin("decimal",this.state.curPosition()),(o||u)&&this.raise(I.InvalidDecimal,n),++this.state.pos,a=!0),ls(this.codePointAtPos(this.state.pos)))throw this.raise(I.NumberIdentifier,this.state.curPosition());let f=this.input.slice(r,this.state.pos).replace(/[_mn]/g,"");if(i){this.finishToken(135,f);return}if(a){this.finishToken(136,f);return}let p=l?parseInt(f,8):parseFloat(f);this.finishToken(134,p)}readCodePoint(t){let{code:r,pos:n}=YS(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}=NS(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(133,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}=NS("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 Un(n.curLine,n.pos-n.lineStart,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(ma(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?ls:ma;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(I.MissingUnicodeEscape,this.state.curPosition()),s=this.state.pos-1;continue}++this.state.pos;let l=this.readCodePoint(!0);l!==null&&(o(l)||this.raise(I.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=Jm.get(r);n!==void 0?this.finishToken(n,Vs(n)):this.finishToken(132,r)}checkKeywordEscapes(){let{type:t}=this.state;ry(t)&&this.state.containsEsc&&this.raise(I.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:Vs(t)})}raise(t,r,n={}){let s=r instanceof Un?r:r.loc.start,i=t(s,n);if(!this.options.errorRecovery)throw i;return this.isLookahead||this.state.errors.push(i),i}raiseOverwrite(t,r,n={}){let s=r instanceof Un?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(I.UnexpectedToken,t??this.state.startLoc,{expected:r?Vs(r):null})}expectPlugin(t,r){if(this.hasPlugin(t))return!0;throw this.raise(I.MissingPlugin,r??this.state.startLoc,{missingPlugin:[t]})}expectOnePlugin(t){if(!t.some(r=>this.hasPlugin(r)))throw this.raise(I.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:t})}errorBuilder(t){return(r,n,s)=>{this.raise(t,$o(r,n,s))}}},Mm=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},qm=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 Mm)}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(I.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,f=l&3,p=r&3;o=f===p||u!==c,o||i.delete(t)}else o||i.set(t,r)}o&&this.parser.raise(I.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(I.InvalidPrivateFieldResolution,r,{identifierName:t})}},Ea=class{constructor(t=0){this.type=t}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}},Xu=class extends Ea{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)}},Um=class{constructor(t){this.parser=void 0,this.stack=[new Ea],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(I.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 fX(){return new Ea(3)}function pX(){return new Xu(1)}function dX(){return new Xu(2)}function JS(){return new Ea}var Vm=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 Ku(e,t){return(e?2:0)|(t?1:0)}var $m=class extends jm{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){let n=t+r.length;if(this.input.slice(t,n)===r){let s=this.input.charCodeAt(n);return!(ma(s)||(s&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(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return OS(this.input,this.state.lastTokEndLoc.index,this.state.start)}hasFollowingLineBreak(){return OS(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(I.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}=t,o=!!n||!!s||!!a||!!i;if(!r)return o;n!=null&&this.raise(I.InvalidCoverInitializedName,n),s!=null&&this.raise(I.DuplicateProto,s),i!=null&&this.raise(I.UnexpectedPrivateField,i),a!=null&&this.unexpected(a)}isLiteralPropertyName(){return qS(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 Vm;let l=this.classScope;this.classScope=new qm(this);let u=this.expressionScope;return this.expressionScope=new Um(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&&(t|=2),this.scope.enter(1),this.prodParam.enter(t)}checkDestructuringPrivate(t){let{privateKeyLoc:r}=t;r!==null&&this.expectPlugin("destructuringPrivate",r)}},ga=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},va=class{constructor(t,r,n){this.type="",this.start=r,this.end=0,this.loc=new ba(n),t!=null&&t.options.ranges&&(this.range=[r,0]),t!=null&&t.filename&&(this.loc.filename=t.filename)}},iy=va.prototype;iy.__clone=function(){let e=new va(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};function hX(e){return cs(e)}function cs(e){let{type:t,start:r,end:n,loc:s,range:i,extra:a,name:o}=e,l=Object.create(iy);return l.type=t,l.start=r,l.end=n,l.loc=s,l.range=i,l.extra=a,l.name=o,t==="Placeholder"&&(l.expectedNode=e.expectedNode),l}function mX(e){let{type:t,start:r,end:n,loc:s,range:i,extra:a}=e;if(t==="Placeholder")return hX(e);let o=Object.create(iy);return o.type=t,o.start=r,o.end=n,o.loc=s,o.range=i,e.raw!==void 0?o.raw=e.raw:o.extra=a,o.value=e.value,o}var Wm=class extends $m{startNode(){let t=this.state.startLoc;return new va(this,t.index,t)}startNodeAt(t){return new va(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.options.ranges&&(t.range[1]=n.index),this.options.attachComment&&this.processComment(t),t}resetStartLocation(t,r){t.start=r.index,t.loc.start=r,this.options.ranges&&(t.range[0]=r.index)}resetEndLocation(t,r=this.state.lastTokEndLoc){t.end=r.index,t.loc.end=r,this.options.ranges&&(t.range[1]=r.index)}resetStartLocationFromNode(t,r){this.resetStartLocation(t,r.loc.start)}},yX=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Oe=us`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 gX(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function BS(e){return e.importKind==="type"||e.importKind==="typeof"}var bX={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function EX(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 vX=/\*?\s*@((?:no)?flow)\b/,TX=e=>class extends e{constructor(...r){super(...r),this.flowPragma=void 0}getScopeHandler(){return Bm}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(r,n){r!==133&&r!==13&&r!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(r,n)}addComment(r){if(this.flowPragma===void 0){let n=vX.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(Oe.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(Oe.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(133)?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(Oe.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(o)):(this.expectContextual(125,Oe.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=>{gX(o)?(i==="CommonJS"&&this.raise(Oe.AmbiguousDeclareModuleKind,o),i="ES"):o.type==="DeclareModuleExports"&&(a&&this.raise(Oe.DuplicateDeclareModuleExports,o),i==="ES"&&this.raise(Oe.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(Oe.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:s,suggestion:bX[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.type="ExportDeclaration",r.default=!1,delete r.exportKind),r.type="Declare"+r.type,r;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 n.type="DeclareTypeAlias",n}flowParseDeclareOpaqueType(r){this.next();let n=this.flowParseOpaqueType(r,!0);return n.type="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(Oe.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(r,n,s){yX.has(r)&&this.raise(s?Oe.AssignReservedType:Oe.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(Oe.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(142)?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")}flowParseTypeParameterInstantiation(){let r=this.startNode(),n=this.state.inType;r.params=[],this.state.inType=!0,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);return this.state.noAnonFunctionType=s,this.expect(48),this.state.inType=n,this.finishNode(r,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){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(134)||this.match(133)?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,f=!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 h=!1,b=null,d=null,y=this.startNode();if(i&&this.isContextual(118)){let D=this.lookahead();D.type!==14&&D.type!==17&&(this.next(),b=this.state.startLoc,r=!1)}if(r&&this.isContextual(106)){let D=this.lookahead();D.type!==14&&D.type!==17&&(this.next(),h=!0)}let P=this.flowParseVariance();if(this.eat(0))b!=null&&this.unexpected(b),this.eat(0)?(P&&this.unexpected(P.loc.start),l.internalSlots.push(this.flowParseObjectTypeInternalSlot(y,h))):l.indexers.push(this.flowParseObjectTypeIndexer(y,h,P));else if(this.match(10)||this.match(47))b!=null&&this.unexpected(b),P&&this.unexpected(P.loc.start),l.callProperties.push(this.flowParseObjectTypeCallProperty(y,h));else{let D="init";if(this.isContextual(99)||this.isContextual(104)){let B=this.lookahead();qS(B.type)&&(D=this.state.value,this.next())}let N=this.flowParseObjectTypeProperty(y,h,b,P,D,s,a??!c);N===null?(f=!0,d=this.state.lastTokStartLoc):l.properties.push(N)}this.flowObjectTypeSemicolon(),d&&!this.match(8)&&!this.match(9)&&this.raise(Oe.UnexpectedExplicitInexactInObject,d)}this.expect(u),s&&(l.inexact=f);let p=this.finishNode(l,"ObjectTypeAnnotation");return this.state.inType=o,p}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(Oe.InexactInsideExact,this.state.lastTokStartLoc):this.raise(Oe.InexactInsideNonObject,this.state.lastTokStartLoc),i&&this.raise(Oe.InexactVariance,i),null):(o||this.raise(Oe.UnexpectedSpreadType,this.state.lastTokStartLoc),s!=null&&this.unexpected(s),i&&this.raise(Oe.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(Oe.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"?Oe.GetterMayNotHaveThisParam:Oe.SetterMayNotHaveThisParam,r.value.this),s!==n&&this.raise(r.kind==="get"?I.BadGetterArity:I.BadSetterArity,r),r.kind==="set"&&r.value.rest&&this.raise(I.BadSetterRestParameter,r)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(r,n){var s;(s=r)!=null||(r=this.state.startLoc);let i=n||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let a=this.startNodeAt(r);a.qualification=i,a.id=this.flowParseRestrictedIdentifier(!0),i=this.finishNode(a,"QualifiedTypeIdentifier")}return i}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(Oe.ThisParamMustBeFirst,a),n=this.parseIdentifier(l),this.eat(17)&&(s=!0,l&&this.raise(Oe.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(ht(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 133: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(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",n);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",n);throw this.raise(Oe.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 134:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 135: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(ry(this.state.type)){let l=Vs(this.state.type);return this.next(),super.createIdentifier(n,l)}else if(ht(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(xn(s.type)){let i=this.startNode();return this.next(),this.flowParseInterface(i)}}else if(this.shouldParseEnums()&&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)||ht(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(r)}else if(ht(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 IS(r)||this.shouldParseEnums()&&r===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:r}=this.state;return IS(r)||this.shouldParseEnums()&&r===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&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 p=this.lookaheadCharCode();if(p===44||p===61||p===58||p===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,f]=this.getArrowLikeExpressions(l);if(u||f.length>0){let p=[...a];if(f.length>0){this.state=i,this.state.noArrowAt=p;for(let h=0;h<f.length;h++)p.push(f[h].start);({consequent:l,failed:u}=this.tryParseConditionalConsequent()),[c,f]=this.getArrowLikeExpressions(l)}u&&c.length>1&&this.raise(Oe.AmbiguousConditionalArrow,i.startLoc),u&&c.length===1&&(this.state=i,p.push(c[0].start),this.state.noArrowAt=p,{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,[]]):EX(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(6),super.checkParams(r,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(r,n){let s;return this.state.noArrowParamsConversionAt.includes(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.shouldParseEnums()&&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(Oe.DeclareClassElement,i):n.value&&this.raise(Oe.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(I.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):tX(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?.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(Oe.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(Oe.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(Oe.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)&&(r.superTypeParameters=this.flowParseTypeParameterInstantiation()),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(Oe.GetterMayNotHaveThisParam,s):this.isThisParam(s)&&this.raise(Oe.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}parseAssignableListItemTypes(r){return this.eat(17)&&(r.type!=="Identifier"&&this.raise(Oe.PatternIsOptional,r),this.isThisParam(r)&&this.raise(Oe.ThisParamMayNotBeOptional,r),r.optional=!0),this.match(14)?r.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(r)&&this.raise(Oe.ThisParamAnnotationRequired,r),this.match(29)&&this.isThisParam(r)&&this.raise(Oe.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(Oe.TypeBeforeInitializer,s.typeAnnotation),s}checkImportReflection(r){super.checkImportReflection(r),r.module&&r.importKind!=="value"&&this.raise(Oe.ImportReflectionHasImportType,r.specifiers[0].loc.start)}parseImportSpecifierLocal(r,n,s){n.local=BS(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 f=this.parseIdentifier(!0);l!==null&&!xn(this.state.type)?(r.imported=f,r.importKind=l,r.local=cs(f)):(r.imported=o,r.importKind=null,r.local=this.parseIdentifier())}else{if(l!==null&&xn(this.state.type))r.imported=this.parseIdentifier(!0),r.importKind=l;else{if(n)throw this.raise(I.ImportBindingIsString,r,{importName:o.value});r.imported=o,r.importKind=null}this.eatContextual(93)?r.local=this.parseIdentifier():(u=!0,r.local=cs(r.imported))}let c=BS(r);return s&&c&&this.raise(Oe.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(142)||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===At.j_oTag||c===At.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(p=>{var h;u=this.flowParseTypeParameterDeclaration();let b=this.forwardNoArrowParamsConversionAt(u,()=>{let y=super.parseMaybeAssign(r,n);return this.resetStartLocationFromNode(y,u),y});(h=b.extra)!=null&&h.parenthesized&&p();let d=this.maybeUnwrapTypeCastExpression(b);return d.type!=="ArrowFunctionExpression"&&p(),d.typeParameters=u,this.resetStartLocationFromNode(d,u),b},i),f=null;if(c.node&&this.maybeUnwrapTypeCastExpression(c.node).type==="ArrowFunctionExpression"){if(!c.error&&!c.aborted)return c.node.async&&this.raise(Oe.UnexpectedTypeParameterBeforeAsyncArrowFunction,u),c.node;f=c.node}if((o=a)!=null&&o.node)return this.state=a.failState,a.node;if(f)return this.state=c.failState,f;throw(l=a)!=null&&l.thrown?a.error:c.thrown?c.error:this.raise(Oe.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(r.start)?r.params=n:super.setArrowFunctionParameters(r,n)}checkParams(r,n,s,i=!0){if(!(s&&this.state.noArrowParamsConversionAt.includes(r.start))){for(let a=0;a<r.params.length;a++)this.isThisParam(r.params[a])&&a>0&&this.raise(Oe.ThisParamMustBeFirst,r.params[a]);super.checkParams(r,n,s,i)}}parseParenAndDistinguishExpression(r){return super.parseParenAndDistinguishExpression(r&&!this.state.noArrowAt.includes(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(11,!1),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.flowParseTypeParameterInstantiation(),this.expect(10),a.arguments=this.parseCallExpressionArguments(11,!1),a.optional=!0,this.finishCallExpression(a,!0)}else if(!s&&this.shouldParseTypes()&&this.match(47)){let a=this.startNodeAt(n);a.callee=r;let o=this.tryParse(()=>(a.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),a.arguments=super.parseCallExpressionArguments(11,!1),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(Oe.UnterminatedFlowComment,this.state.curPosition()),s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Oe.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(I.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(r,{enumName:n,memberName:s}){this.raise(Oe.EnumBooleanMemberNotInitialized,r,{memberName:s,enumName:n})}flowEnumErrorInvalidMemberInitializer(r,n){return this.raise(n.explicitType?n.explicitType==="symbol"?Oe.EnumInvalidMemberInitializerSymbolType:Oe.EnumInvalidMemberInitializerPrimaryType:Oe.EnumInvalidMemberInitializerUnknownType,r,n)}flowEnumErrorNumberMemberNotInitialized(r,n){this.raise(Oe.EnumNumberMemberNotInitialized,r,n)}flowEnumErrorStringMemberInconsistentlyInitialized(r,n){this.raise(Oe.EnumStringMemberInconsistentlyInitialized,r,n)}flowEnumMemberInit(){let r=this.state.startLoc,n=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{let s=this.parseNumericLiteral(this.state.value);return n()?{type:"number",loc:s.loc.start,value:s}:{type:"invalid",loc:r}}case 133:{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(Oe.EnumInvalidMemberName,l,{memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:r}),s.has(c)&&this.raise(Oe.EnumDuplicateMemberName,l,{memberName:c,enumName:r}),s.add(c);let f={enumName:r,explicitType:n,memberName:c};switch(o.id=l,u.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(u.loc,f,"boolean"),o.init=u.value,i.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(u.loc,f,"number"),o.init=u.value,i.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(u.loc,f,"string"),o.init=u.value,i.stringMembers.push(this.finishNode(o,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(u.loc,f);case"none":switch(n){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(u.loc,f);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(u.loc,f);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(!ht(this.state.type))throw this.raise(Oe.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:r});let{value:n}=this.state;return this.next(),n!=="boolean"&&n!=="number"&&n!=="string"&&n!=="symbol"&&this.raise(Oe.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,f=o.numberMembers.length,p=o.stringMembers.length,h=o.defaultedMembers.length;if(!c&&!f&&!p&&!h)return u();if(!c&&!f)return r.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:s}),this.expect(8),this.finishNode(r,"EnumStringBody");if(!f&&!p&&c>=h){for(let b of o.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(b.loc.start,{enumName:s,memberName:b.id.name});return r.members=o.booleanMembers,this.expect(8),this.finishNode(r,"EnumBooleanBody")}else if(!c&&!p&&f>=h){for(let b of o.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(b.loc.start,{enumName:s,memberName:b.id.name});return r.members=o.numberMembers,this.expect(8),this.finishNode(r,"EnumNumberBody")}else return this.raise(Oe.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")}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}maybeUnwrapTypeCastExpression(r){return r.type==="TypeCastExpression"?r.expression:r}},SX={__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"},vi=us`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 Us(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":!1}function ha(e){if(e.type==="JSXIdentifier")return e.name;if(e.type==="JSXNamespacedName")return e.namespace.name+":"+e.name.name;if(e.type==="JSXMemberExpression")return ha(e.object)+"."+ha(e.property);throw new Error("Node had unexpected type: "+e.type)}var xX=e=>class extends e{jsxReadToken(){let r="",n=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(vi.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(142)):super.getTokenFromCode(s);return}r+=this.input.slice(n,this.state.pos),this.finishToken(141,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:ya(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?`
18
- `:`\r
19
- `):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(I.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):ya(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(133,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=SX[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(ma(r)||r===45);this.finishToken(140,this.input.slice(n,this.state.pos))}jsxParseIdentifier(){let r=this.startNode();return this.match(140)?r.name=this.state.value:ry(this.state.type)?r.name=Vs(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(At.brace),this.next(),r=this.jsxParseExpressionContainer(r,At.j_oTag),r.expression.type==="JSXEmptyExpression"&&this.raise(vi.AttributeIsEmpty,r),r;case 142:case 133:return this.parseExprAtom();default:throw this.raise(vi.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(At.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(At.brace),this.next(),this.expect(21),r.argument=this.parseMaybeAssignAllowIn(),this.setContext(At.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(143)?this.finishNode(n,"JSXOpeningFragment"):(n.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(n))}jsxParseOpeningElementAfterName(r){let n=[];for(;!this.match(56)&&!this.match(143);)n.push(this.jsxParseAttribute());return r.attributes=n,r.selfClosing=this.eat(56),this.expect(143),this.finishNode(r,"JSXOpeningElement")}jsxParseClosingElementAt(r){let n=this.startNodeAt(r);return this.eat(143)?this.finishNode(n,"JSXClosingFragment"):(n.name=this.jsxParseElementName(),this.expect(143),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 142:if(r=this.state.startLoc,this.next(),this.eat(56)){a=this.jsxParseClosingElementAt(r);break e}s.push(this.jsxParseElementAt(r));break;case 141:s.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let o=this.startNode();this.setContext(At.brace),this.next(),this.match(21)?s.push(this.jsxParseSpreadChild(o)):s.push(this.jsxParseExpressionContainer(o,At.j_expr));break}default:this.unexpected()}Us(i)&&!Us(a)&&a!==null?this.raise(vi.MissingClosingTagFragment,a):!Us(i)&&Us(a)?this.raise(vi.MissingClosingTagElement,a,{openingTagName:ha(i.name)}):!Us(i)&&!Us(a)&&ha(a.name)!==ha(i.name)&&this.raise(vi.MissingClosingTagElement,a,{openingTagName:ha(i.name)})}if(Us(i)?(n.openingFragment=i,n.closingFragment=a):(n.openingElement=i,n.closingElement=a),n.children=s,this.match(47))throw this.raise(vi.UnwrappedAdjacentJSXElements,this.state.startLoc);return Us(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(142)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(142),this.jsxParseElement()):super.parseExprAtom(r)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(r){let n=this.curContext();if(n===At.j_expr){this.jsxReadToken();return}if(n===At.j_oTag||n===At.j_cTag){if(ls(r)){this.jsxReadWord();return}if(r===62){++this.state.pos,this.finishToken(143);return}if((r===34||r===39)&&n===At.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(142);return}super.getTokenFromCode(r)}updateContext(r){let{context:n,type:s}=this.state;if(s===56&&r===142)n.splice(-2,2,At.j_cTag),this.state.canStartJSXElement=!1;else if(s===142)n.push(At.j_oTag);else if(s===143){let i=n[n.length-1];i===At.j_oTag&&r===56||i===At.j_cTag?(n.pop(),this.state.canStartJSXElement=n[n.length-1]===At.j_expr):(this.setContext(At.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=MH(s)}},Km=class extends Go{constructor(...t){super(...t),this.tsNames=new Map}},Gm=class extends Ho{constructor(...t){super(...t),this.importsStack=[]}createScope(t){return this.importsStack.push(new Set),new Km(t)}enter(t){t===256&&this.importsStack.push(new Set),super.enter(t)}exit(){let t=super.exit();return t===256&&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(I.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)}},zS=e=>e.type==="ParenthesizedExpression"?zS(e.expression):e,Hm=class extends Wm{toAssignable(t,r=!1){var n,s;let i;switch((t.type==="ParenthesizedExpression"||(n=t.extra)!=null&&n.parenthesized)&&(i=zS(t),r?i.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(I.InvalidParenthesizedAssignment,t):i.type!=="MemberExpression"&&!this.isOptionalMemberExpression(i)&&this.raise(I.InvalidParenthesizedAssignment,t):this.raise(I.InvalidParenthesizedAssignment,t)),t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern";for(let o=0,l=t.properties.length,u=l-1;o<l;o++){var a;let c=t.properties[o],f=o===u;this.toAssignableObjectExpressionProp(c,f,r),f&&c.type==="RestElement"&&(a=t.extra)!=null&&a.trailingCommaLoc&&this.raise(I.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":t.type="ArrayPattern",this.toAssignableList(t.elements,(s=t.extra)==null?void 0:s.trailingCommaLoc,r);break;case"AssignmentExpression":t.operator!=="="&&this.raise(I.MissingEqInAssignment,t.left.loc.end),t.type="AssignmentPattern",delete t.operator,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"?I.PatternHasAccessor:I.PatternHasMethod,t.key);else if(t.type==="SpreadElement"){t.type="RestElement";let s=t.argument;this.checkToRestConversion(s,!1),this.toAssignable(s,n),r||this.raise(I.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];if(a){if(a.type==="SpreadElement"){a.type="RestElement";let o=a.argument;this.checkToRestConversion(o,!0),this.toAssignable(o,n)}else this.toAssignable(a,n);a.type==="RestElement"&&(i<s?this.raise(I.RestTrailingComma,a):r&&this.raise(I.RestTrailingComma,r))}}}isAssignable(t,r){switch(t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":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?.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();return this.next(),t.argument=this.parseBindingAtom(),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)}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)){if(i.push(this.parseAssignableListItemTypes(this.parseRestBinding(),n)),!this.checkCommaAfterRest(r)){this.expect(t);break}}else{let o=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(I.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)o.push(this.parseDecorator());i.push(this.parseAssignableListItem(n,o))}}return i}parseBindingRestProperty(t){return this.next(),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===138?(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)}parseAssignableListItem(t,r){let n=this.parseMaybeDefault();this.parseAssignableListItemTypes(n,t);let s=this.parseMaybeDefault(n.loc.start,n);return r.length&&(n.decorators=r),s}parseAssignableListItemTypes(t,r){return t}parseMaybeDefault(t,r){var n,s;if((n=t)!=null||(t=this.state.startLoc),r=(s=r)!=null?s:this.parseBindingAtom(),!this.eat(29))return r;let i=this.startNodeAt(t);return i.left=r,i.right=this.parseMaybeAssignAllowIn(),this.finishNode(i,"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"}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(I.InvalidLhsOptionalChaining,t,{ancestor:r})),n!==64&&this.raise(I.InvalidPropertyBindingPattern,t);return}if(l==="Identifier"){this.checkIdentifier(t,n,i);let{name:d}=t;s&&(s.has(d)?this.raise(I.ParamDupe,t):s.add(d));return}let c=this.isValidLVal(l,!(a||(o=t.extra)!=null&&o.parenthesized)&&r.type==="AssignmentExpression",n);if(c===!0)return;if(c===!1){let d=n===64?I.InvalidLhs:I.InvalidLhsBinding;this.raise(d,t,{ancestor:r});return}let f,p;typeof c=="string"?(f=c,p=l==="ParenthesizedExpression"):[f,p]=c;let h=l==="ArrayPattern"||l==="ObjectPattern"?{type:l}:r,b=t[f];if(Array.isArray(b))for(let d of b)d&&this.checkLVal(d,h,n,s,i,p);else b&&this.checkLVal(b,h,n,s,i,p)}checkIdentifier(t,r,n=!1){this.state.strict&&(n?GS(t.name,this.inModule):KS(t.name))&&(r===64?this.raise(I.StrictEvalArguments,t,{referenceName:t.name}):this.raise(I.StrictEvalArgumentsBinding,t,{bindingName:t.name})),r&8192&&t.name==="let"&&this.raise(I.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(I.InvalidRestAssignmentPattern,t)}}checkCommaAfterRest(t){return this.match(12)?(this.raise(this.lookaheadCharCode()===t?I.RestTrailingComma:I.ElementAfterRest,this.state.startLoc),!0):!1}};function PX(e){if(e==null)throw new Error(`Unexpected ${e} value.`);return e}function FS(e){if(!e)throw new Error("Assert fail")}var ve=us`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.",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.",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.`,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.",NonClassMethodPropertyHasAbstractModifer:"'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}.`});function AX(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 kS(e){return e==="private"||e==="public"||e==="protected"}function CX(e){return e==="in"||e==="out"}var wX=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:ve.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:ve.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:ve.InvalidModifierOnTypeParameter})}getScopeHandler(){return Gm}tsIsIdentifier(){return ht(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||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){if(!ht(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let s=this.state.value;if(r.includes(s)){if(n&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return s}}tsParseModifiers({allowedModifiers:r,disallowedModifiers:n,stopOnStartOfClassStaticBlock:s,errorTemplate:i=ve.InvalidModifierOnTypeMember},a){let o=(u,c,f,p)=>{c===f&&a[p]&&this.raise(ve.InvalidModifiersOrder,u,{orderedModifiers:[f,p]})},l=(u,c,f,p)=>{(a[f]&&c===p||a[p]&&c===f)&&this.raise(ve.IncompatibleModifiers,u,{modifiers:[f,p]})};for(;;){let{startLoc:u}=this.state,c=this.tsParseModifier(r.concat(n??[]),s);if(!c)break;kS(c)?a.accessibility?this.raise(ve.DuplicateAccessibilityModifier,u,{modifier:c}):(o(u,c,c,"override"),o(u,c,c,"static"),o(u,c,c,"readonly"),a.accessibility=c):CX(c)?(a[c]&&this.raise(ve.DuplicateModifier,u,{modifier:c}),a[c]=!0,o(u,c,"in","out")):(hasOwnProperty.call(a,c)?this.raise(ve.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 PX(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(133)||this.raise(ve.UnsupportedImportTypeArgument,this.state.startLoc),r.argument=super.parseExprAtom(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(r.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(r.options=super.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.eat(16)&&(r.qualifier=this.tsParseEntityName()),this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSImportType")}tsParseEntityName(r=!0){let n=this.parseIdentifier(r);for(;this.eat(16);){let s=this.startNodeAtNode(n);s.left=n,s.right=this.parseIdentifier(r),n=this.finishNode(s,"TSQualifiedName")}return n}tsParseTypeReference(){let r=this.startNode();return r.typeName=this.tsParseEntityName(),!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(),!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(142)?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(ve.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(ve.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(),ht(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){this.eat(17)&&(r.optional=!0);let s=r;if(this.match(10)||this.match(47)){n&&this.raise(ve.ReadonlyForMethodSignature,r);let i=s;i.kind&&this.match(47)&&this.raise(ve.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,i),this.tsParseTypeMemberSemicolon();let a="parameters",o="typeAnnotation";if(i.kind==="get")i[a].length>0&&(this.raise(I.BadGetterArity,this.state.curPosition()),this.isThisParam(i[a][0])&&this.raise(ve.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(i.kind==="set"){if(i[a].length!==1)this.raise(I.BadSetterArity,this.state.curPosition());else{let l=i[a][0];this.isThisParam(l)&&this.raise(ve.AccessorCannotDeclareThisParameter,this.state.curPosition()),l.type==="Identifier"&&l.optional&&this.raise(ve.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),l.type==="RestElement"&&this.raise(ve.SetAccessorCannotHaveRestParameter,this.state.curPosition())}i[o]&&this.raise(ve.SetAccessorCannotHaveReturnType,i[o])}else i.kind="method";return this.finishNode(i,"TSMethodSignature")}else{let i=s;n&&(i.readonly=!0);let a=this.tsTryParseTypeAnnotation();return a&&(i.typeAnnotation=a),this.tsParseTypeMemberSemicolon(),this.finishNode(i,"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.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(ve.OptionalTypeBeforeRequired,s),n||(n=i==="TSNamedTupleMember"&&s.optional||i==="TSOptionalType")}),this.finishNode(r,"TSTupleType")}tsParseTupleElementType(){let{startLoc:r}=this.state,n=this.eat(21),s,i,a,o,u=xn(this.state.type)?this.lookaheadCharCode():null;if(u===58)s=!0,a=!1,i=this.parseIdentifier(!0),this.expect(14),o=this.tsParseType();else if(u===63){a=!0;let c=this.state.startLoc,f=this.state.value,p=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(s=!0,i=this.createIdentifier(this.startNodeAt(c),f),this.expect(17),this.expect(14),o=this.tsParseType()):(s=!1,o=p,this.expect(17))}else o=this.tsParseType(),a=this.eat(17),s=this.eat(14);if(s){let c;i?(c=this.startNodeAtNode(i),c.optional=a,c.label=i,c.elementType=o,this.eat(17)&&(c.optional=!0,this.raise(ve.TupleOptionalAfterType,this.state.lastTokStartLoc))):(c=this.startNodeAtNode(o),c.optional=a,this.raise(ve.InvalidTupleMemberLabel,o),c.label=o,c.elementType=this.tsParseType()),o=this.finishNode(c,"TSNamedTupleMember")}else if(a){let c=this.startNodeAtNode(o);c.typeAnnotation=o,o=this.finishNode(c,"TSOptionalType")}if(n){let c=this.startNodeAt(r);c.typeAnnotation=o,o=this.finishNode(c,"TSRestType")}return o}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 134:case 135:case 133: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 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let r=this.startNode(),n=this.lookahead();return n.type!==134&&n.type!==135&&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(ht(r)||r===88||r===84){let n=r===88?"TSVoidKeyword":r===84?"TSNullKeyword":AX(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 r=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let n=this.startNodeAtNode(r);n.elementType=r,this.expect(3),r=this.finishNode(n,"TSArrayType")}else{let n=this.startNodeAtNode(r);n.objectType=r,n.indexType=this.tsParseType(),this.expect(3),r=this.finishNode(n,"TSIndexedAccessType")}return r}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(ve.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 KH(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(ht(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(),!ht(this.state.type)&&!this.match(78)?!1:(r&&this.raise(I.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(){FS(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.lookahead().type===77}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(ve.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(),this.match(47)&&(i.typeParameters=this.tsParseTypeArguments()),this.finishNode(i,"TSExpressionWithTypeArguments")});return s.length||this.raise(ve.EmptyHeritageClauseType,n,{token:r}),s}tsParseInterfaceDeclaration(r,n={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),n.declare&&(r.declare=!0),ht(this.state.type)?(r.id=this.parseIdentifier(),this.checkIdentifier(r.id,130)):(r.id=null,this.raise(ve.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.lookahead().type!==16){let n=this.startNode();return this.next(),this.finishNode(n,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(r,"TSTypeAliasDeclaration")}tsInNoContext(r){let n=this.state.context;this.state.context=[n[0]];try{return r()}finally{this.state.context=n}}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(133)?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")}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(256),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.global=!0,r.id=this.parseIdentifier()):this.match(133)?r.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),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(ve.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(!1)}tsParseExternalModuleReference(){let r=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||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,s;return this.isContextual(100)&&(n=74,s="let"),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 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(r.declare=!0,this.parseVarStatement(r,s||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(r,{const:!0,declare:!0}));case 129:{let i=this.tsParseInterfaceDeclaration(r,{declare:!0});if(i)return i}default:if(ht(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(256),this.prodParam.enter(0);let i=r;return i.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)||ht(this.state.type)))return this.tsParseAbstractDeclaration(r,i);break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(r);if(ht(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(r)}break;case"namespace":if(this.tsCheckLineTerminator(s)&&ht(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(r);break;case"type":if(this.tsCheckLineTerminator(s)&&ht(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.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),r.params.length===0?this.raise(ve.EmptyTypeArguments,r):!this.state.inType&&this.curContext()===At.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(r,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return GH(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(r,n){let s=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(ve.UnexpectedParameterModifier,s);let u=this.parseMaybeDefault();this.parseAssignableListItemTypes(u,r);let c=this.parseMaybeDefault(u.loc.start,u);if(a||l||o){let f=this.startNodeAt(s);return n.length&&(f.decorators=n),a&&(f.accessibility=a),l&&(f.readonly=l),o&&(f.override=o),c.type!=="Identifier"&&c.type!=="AssignmentPattern"&&this.raise(ve.UnsupportedParameterPropertyKind,f),f.parameter=c,this.finishNode(f,"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(ve.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(ve.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?.type==="TSTypeCastExpression"&&this.raise(ve.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 p=this.tsTryParseGenericAsyncArrowFunction(n);if(p)return p}let u=this.tsParseTypeArgumentsInExpression();if(!u)return;if(a&&!this.match(10)){o=this.state.curPosition();return}if(Hu(this.state.type)){let p=super.parseTaggedTemplateExpression(r,n,i);return p.typeParameters=u,p}if(!s&&this.eat(10)){let p=this.startNodeAt(n);return p.callee=r,p.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(p.arguments),p.typeParameters=u,i.optionalChainMember&&(p.optional=a),this.finishCallExpression(p,i.optionalChainMember)}let c=this.state.type;if(c===48||c===52||c!==10&&Om(c)&&!this.hasPrecedingLineBreak())return;let f=this.startNodeAt(n);return f.expression=r,f.typeParameters=u,this.finishNode(f,"TSInstantiationExpression")});if(o&&this.unexpected(o,10),l)return l.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(ve.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),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(Wu(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(I.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(ve.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(133))return r.importKind="value",super.parseImport(r);let n;if(ht(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(ve.TypeImportCannotSpecifyDefaultAndNamed,n),n}parseExport(r,n){if(this.match(83)){this.next();let s=r,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.lookahead().type===80}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;for(let{id:o,init:l}of a.declarations)l&&(n!=="const"||o.typeAnnotation?this.raise(ve.InitializerNotAllowedInAmbientContext,l):IX(l,this.hasPlugin("estree"))||this.raise(ve.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=>kS(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:ve.InvalidModifierOnTypeParameterPositions},n);let a=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(n,i)&&this.raise(ve.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(ve.IndexSignatureHasAbstract,n),n.accessibility&&this.raise(ve.IndexSignatureHasAccessibility,n,{modifier:n.accessibility}),n.declare&&this.raise(ve.IndexSignatureHasDeclare,n),n.override&&this.raise(ve.IndexSignatureHasOverride,n);return}!this.state.inAbstractClass&&n.abstract&&this.raise(ve.NonAbstractClassHasAbstractMethod,n),n.override&&(s.hadSuperClass||this.raise(ve.OverrideNotInSubClass,n)),super.parseClassMemberWithIsStatic(r,n,s,i)}parsePostMemberNameModifiers(r){this.eat(17)&&(r.optional=!0),r.readonly&&this.match(10)&&this.raise(ve.ClassMethodHasReadonly,r),r.declare&&this.match(10)&&this.raise(ve.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.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(r,n,s);let i=this.tryParse(()=>super.parseConditional(r,n));return i.node?(i.error&&(this.state=i.failState),i.node):(i.error&&super.setOptionalParametersError(s,i.error),r)}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(ve.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let a=ht(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(r);return a?((a.type==="TSInterfaceDeclaration"||a.type==="TSTypeAliasDeclaration"||s)&&(r.exportKind="type"),s&&(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(ve.DeclareClassFieldHasInitializer,this.state.startLoc),r.abstract&&this.match(29)){let{key:n}=r;this.raise(ve.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:n.type==="Identifier"&&!r.computed?n.name:`[${this.input.slice(n.start,n.end)}]`})}return super.parseClassProperty(r)}parseClassPrivateProperty(r){return r.abstract&&this.raise(ve.PrivateElementHasAbstract,r),r.accessibility&&this.raise(ve.PrivateElementHasAccessibility,r,{modifier:r.accessibility}),this.parseClassPropertyAnnotation(r),super.parseClassPrivateProperty(r)}parseClassAccessorProperty(r){return this.parseClassPropertyAnnotation(r),r.optional&&this.raise(ve.AccessorCannotBeOptional,r),super.parseClassAccessorProperty(r)}pushClassMethod(r,n,s,i,a,o){let l=this.tsTryParseTypeParameters(this.tsParseConstModifier);l&&a&&this.raise(ve.ConstructorHasTypeParameters,l);let{declare:u=!1,kind:c}=n;u&&(c==="get"||c==="set")&&this.raise(ve.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"&&!hasOwnProperty.call(r.value,"body")||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,f;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(u=this.state.clone(),c=this.tryParse(()=>super.parseMaybeAssign(r,n),u),!c.error)return c.node;let{context:b}=this.state,d=b[b.length-1];(d===At.j_oTag||d===At.j_expr)&&b.pop()}if(!((s=c)!=null&&s.error)&&!this.match(47))return super.parseMaybeAssign(r,n);(!u||u===this.state)&&(u=this.state.clone());let p,h=this.tryParse(b=>{var d,y;p=this.tsParseTypeParameters(this.tsParseConstModifier);let P=super.parseMaybeAssign(r,n);return(P.type!=="ArrowFunctionExpression"||(d=P.extra)!=null&&d.parenthesized)&&b(),((y=p)==null?void 0:y.params.length)!==0&&this.resetStartLocationFromNode(P,p),P.typeParameters=p,P},u);if(!h.error&&!h.aborted)return p&&this.reportReservedArrowTypeParam(p),h.node;if(!c&&(FS(!this.hasPlugin("jsx")),f=this.tryParse(()=>super.parseMaybeAssign(r,n),u),!f.error))return f.node;if((i=c)!=null&&i.node)return this.state=c.failState,c.node;if(h.node)return this.state=h.failState,p&&this.reportReservedArrowTypeParam(p),h.node;if((a=f)!=null&&a.node)return this.state=f.failState,f.node;throw((o=c)==null?void 0:o.error)||h.error||((l=f)==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(ve.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)}parseAssignableListItemTypes(r,n){if(!(n&2))return r;this.eat(17)&&(r.optional=!0);let s=this.tsTryParseTypeAnnotation();return s&&(r.typeAnnotation=s),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(ve.UnexpectedTypeCastInParameter,r):this.raise(ve.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":case"TSInstantiationExpression":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){if(this.match(47)||this.match(51)){let n=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let s=super.parseMaybeDecoratorArguments(r);return s.typeParameters=n,s}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(r)}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(ve.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}toAssignableList(r,n,s){for(let i=0;i<r.length;i++){let a=r[i];a?.type==="TSTypeCastExpression"&&(r[i]=this.typeCastToParameter(a))}super.toAssignableList(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(ve.NonClassMethodPropertyHasAbstractModifer,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&&(this.hasPlugin("estree")?!!u.value.body:!!u.body)){let{key:f}=u;this.raise(ve.AbstractMethodHasImplementation,u,{methodName:f.type==="Identifier"&&!u.computed?f.name:`[${this.input.slice(f.start,f.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,f=o.loc.start;if(this.isContextual(93)){let h=this.parseIdentifier();if(this.isContextual(93)){let b=this.parseIdentifier();xn(this.state.type)?(u=!0,o=h,l=n?this.parseIdentifier():this.parseModuleExportName(),c=!1):(l=b,c=!1)}else xn(this.state.type)?(c=!1,l=n?this.parseIdentifier():this.parseModuleExportName()):(u=!0,o=h)}else xn(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?ve.TypeModifierIsUsedInTypeImports:ve.TypeModifierIsUsedInTypeExports,f),r[i]=o,r[a]=l;let p=n?"importKind":"exportKind";r[p]=u?"type":"value",c&&this.eatContextual(93)&&(r[a]=n?this.parseIdentifier():this.parseModuleExportName()),r[a]||(r[a]=cs(r[i])),n&&this.checkIdentifier(r[a],u?4098:4096)}};function DX(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:ZS(e.object)}function IX(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!!(QS(e,t)||OX(e,t)||n==="TemplateLiteral"&&e.expressions.length===0||DX(e))}function QS(e,t){return t?e.type==="Literal"&&(typeof e.value=="number"||"bigint"in e):e.type==="NumericLiteral"||e.type==="BigIntLiteral"}function OX(e,t){if(e.type==="UnaryExpression"){let{operator:r,argument:n}=e;if(r==="-"&&QS(n,t))return!0}return!1}function ZS(e){return e.type==="Identifier"?!0:e.type!=="MemberExpression"||e.computed?!1:ZS(e.object)}var LS=us`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),_X=e=>class extends e{parsePlaceholder(r){if(this.match(144)){let n=this.startNode();return this.next(),this.assertNoSpace(),n.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),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(144,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)}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){return!!(super.chStartsBindingIdentifier(r,n)||this.lookahead().type===144)}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(144)||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(LS.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(Vs(144),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.state.lastTokEndLoc.index&&this.raise(LS.UnexpectedSpace,this.state.lastTokEndLoc)}},NX=e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let r=this.state.startLoc,n=this.startNode();if(this.next(),ht(this.state.type)){let s=this.parseIdentifierName(),i=this.createIdentifier(n,s);if(i.type="V8IntrinsicIdentifier",this.match(10))return i}this.unexpected(r)}}parseExprAtom(r){return this.parseV8Intrinsic()||super.parseExprAtom(r)}},RS=["minimal","fsharp","hack","smart"],jS=["^^","@@","^","%","#"];function BX(e){if(e.has("decorators")){if(e.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let r=e.get("decorators").decoratorsBeforeExport;if(r!=null&&typeof r!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let n=e.get("decorators").allowCallParenthesized;if(n!=null&&typeof n!="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 r=e.get("pipelineOperator").proposal;if(!RS.includes(r)){let s=RS.map(i=>`"${i}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${s}.`)}let n=((t=e.get("recordAndTuple"))==null?void 0:t.syntaxType)==="hash";if(r==="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(!jS.includes(s)){let i=jS.map(a=>`"${a}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${i}.`)}if(s==="#"&&n)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",e.get("recordAndTuple")])}\`.`)}else if(r==="smart"&&n)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",e.get("recordAndTuple")])}\`.`)}if(e.has("moduleAttributes")){if(e.has("importAttributes")||e.has("importAssertions"))throw new Error("Cannot combine importAssertions, importAttributes 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("importAttributes")&&e.has("importAssertions"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(e.has("recordAndTuple")){let r=e.get("recordAndTuple").syntaxType;if(r!=null){let n=["hash","bar"];if(!n.includes(r))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+n.map(s=>`'${s}'`).join(", "))}}if(e.has("asyncDoExpressions")&&!e.has("doExpressions")){let r=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw r.missingPlugins="doExpressions",r}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'.")}var ex={estree:kH,jsx:xX,flow:TX,typescript:wX,v8intrinsic:NX,placeholders:_X},FX=Object.keys(ex),wm={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function kX(e){if(e==null)return Object.assign({},wm);if(e.annexB!=null&&e.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let t={};for(let n of Object.keys(wm)){var r;t[n]=(r=e[n])!=null?r:wm[n]}return t}var Xm=class extends Hm{checkProto(t,r,n,s){if(t.type==="SpreadElement"||this.isObjectMethod(t)||t.computed||t.shorthand)return;let i=t.key;if((i.type==="Identifier"?i.name:i.value)==="__proto__"){if(r){this.raise(I.RecordNoProto,i);return}n.used&&(s?s.doubleProtoLoc===null&&(s.doubleProtoLoc=i.loc.start):this.raise(I.DuplicateProto,i)),n.used=!0}}shouldExitDescending(t,r){return t.type==="ArrowFunctionExpression"&&t.start===r}getExpression(){this.enterInitialScopes(),this.nextToken();let t=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),t.comments=this.comments,t.errors=this.state.errors,this.options.tokens&&(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,r){var n;t.optionalParametersLoc=(n=r?.loc)!=null?n:this.state.startLoc}parseMaybeAssign(t,r){let n=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let o=this.parseYield();return r&&(o=r.call(this,o,n)),o}let s;t?s=!1:(t=new ga,s=!0);let{type:i}=this.state;(i===10||ht(i))&&(this.state.potentialArrowAt=this.state.start);let a=this.parseMaybeConditional(t);if(r&&(a=r.call(this,a,n)),qH(this.state.type)){let o=this.startNodeAt(n),l=this.state.value;if(o.operator=l,this.match(29)){this.toAssignable(a,!0),o.left=a;let u=n.index;t.doubleProtoLoc!=null&&t.doubleProtoLoc.index>=u&&(t.doubleProtoLoc=null),t.shorthandAssignLoc!=null&&t.shorthandAssignLoc.index>=u&&(t.shorthandAssignLoc=null),t.privateKeyLoc!=null&&t.privateKeyLoc.index>=u&&(this.checkDestructuringPrivate(t),t.privateKeyLoc=null)}else o.left=a;return this.next(),o.right=this.parseMaybeAssign(),this.checkLVal(a,this.finishNode(o,"AssignmentExpression")),o}else s&&this.checkExpressionErrors(t,!0);return a}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(138)?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>=Wu(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(I.PrivateInExpectedIn,t,{identifierName:i}),this.classScope.usePrivateName(i,t.loc.start)}let s=this.state.type;if(VH(s)&&(this.prodParam.hasIn||!this.match(58))){let i=Wu(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=Wu(42)),this.next(),s===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(I.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(I.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"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(I.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(t,r),n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(r))}default:return this.parseExprOpBaseRightExpr(t,r)}}parseExprOpBaseRightExpr(t,r){let n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),n,HH(t)?r-1:r)}parseHackPipeBody(){var t;let{startLoc:r}=this.state,n=this.parseMaybeAssign();return OH.has(n.type)&&!((t=n.extra)!=null&&t.parenthesized)&&this.raise(I.PipeUnparenthesizedBody,r,{type:n.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(I.PipeTopicUnused,r),n}checkExponentialAfterUnary(t){this.match(57)&&this.raise(I.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(WH(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(I.StrictDelete,a):this.hasPropertyAsPrivateName(u)&&this.raise(I.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")?Om(l):Om(l)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(I.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(;$H(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(Hu(i))return this.parseTaggedTemplateExpression(t,r,s);let a=!1;if(i===18){if(n&&(this.raise(I.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return s.stop=!0,t;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):(s.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(138)?(t.type==="Super"&&this.raise(I.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(dX()),a=new ga),u&&(o.optional=s),s?o.arguments=this.parseCallExpressionArguments(11):o.arguments=this.parseCallExpressionArguments(11,t.type==="Import",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(I.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&&t.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(t,r){if(t.callee.type==="Import")if(t.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),t.arguments.length===0||t.arguments.length>2)this.raise(I.ImportCallArity,t,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let n of t.arguments)n.type==="SpreadElement"&&this.raise(I.ImportCallSpreadArgument,n);return this.finishNode(t,r?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(t,r,n,s,i){let a=[],o=!0,l=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){r&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(I.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),s&&this.addTrailingCommaExtraToNode(s),this.next();break}a.push(this.parseExprListItem(!1,i,n))}return this.state.inFSharpPipelineDirectBody=l,a}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&&Xo(t,r.innerComments),r.callee.trailingComments&&Xo(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.parseImportMetaProperty(r):this.match(10)?this.options.createImportExpressions?this.parseImportCall(r):this.finishNode(r,"Import"):(this.raise(I.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 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 136:return this.parseDecimalLiteral(this.state.value);case 133: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 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,t);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);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(I.UnsupportedBind,i)}case 138:return this.raise(I.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());ls(i)||i===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(ht(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(ht(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=Br(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)){let i=n==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(n==="smart"?I.PrimaryTopicNotAllowed:I.PipeTopicUnbound,r),this.registerTopicReference(),this.finishNode(t,i)}else throw this.raise(I.PipeTopicUnconfiguredToken,r,{token:Vs(s)})}testTopicReferenceConfiguration(t,r,n){switch(t){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Vs(n)}]);case"smart":return n===27;default:throw this.raise(I.PipeTopicRequiresHackPipes,r)}}parseAsyncArrowUnaryFunction(t){this.prodParam.enter(Ku(!0,this.prodParam.hasYield));let r=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(I.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.options.allowSuperOutsideMethod?this.raise(I.SuperNotAllowed,t):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(I.UnexpectedSuper,t),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(I.UnsupportedSuper,t),this.finishNode(t,"Super")}parsePrivateName(){let t=this.startNode(),r=this.startNodeAt(Br(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(I.UnsupportedMetaProperty,t.property,{target:r.name,onlyValidPropertyName:n}),this.finishNode(t,"MetaProperty")}parseImportMetaProperty(t){let r=this.createIdentifier(this.startNodeAtNode(t),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(I.ImportMetaOutsideModule,r),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){let n=this.isContextual(105);if(n||this.unexpected(),this.expectPlugin(n?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(I.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),t.phase=n?"source":"defer",this.parseImportCall(t)}return this.parseMetaProperty(t,r,"meta")}parseLiteralAtNode(t,r,n){return this.addExtra(n,"rawValue",t),this.addExtra(n,"raw",this.input.slice(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(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(pX());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 ga,u=!0,c,f;for(;!this.match(11);){if(u)u=!1;else if(this.expect(12,l.optionalParametersLoc===null?null:l.optionalParametersLoc),this.match(11)){f=this.state.startLoc;break}if(this.match(21)){let b=this.state.startLoc;if(c=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),b)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowIn(l,this.parseParenItem))}let p=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=s,this.state.inFSharpPipelineDirectBody=i;let h=this.startNodeAt(r);return t&&this.shouldParseArrow(o)&&(h=this.parseArrow(h))?(this.checkDestructuringPrivate(l),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(h,o,!1),h):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),f&&this.unexpected(f),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,p)):n=o[0],this.wrapParenthesis(r,n))}wrapParenthesis(t,r){if(!this.options.createParenthesizedExpressions)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.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(I.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(I.ImportCallNotNewExpression,n)}parseTemplateElement(t){let{start:r,startLoc:n,end:s,value:i}=this.state,a=r+1,o=this.startNodeAt(Br(n,1));i===null&&(t||this.raise(I.InvalidEscapeSequenceTemplate,Br(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,`
20
- `),cooked:i===null?null:i.slice(1,u)},o.tail=l,this.next();let f=this.finishNode(o,"TemplateElement");return this.resetEndLocation(f,Br(this.state.lastTokEndLoc,u)),f}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=Object.create(null),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),this.checkProto(c,n,a,s)),n&&!this.isObjectProperty(c)&&c.type!=="SpreadElement"&&this.raise(I.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(I.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(I.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"?I.BadGetterArity:I.BadSetterArity,t),t.kind==="set"&&((r=s[s.length-1])==null?void 0:r.type)==="RestElement"&&this.raise(I.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.parseMaybeAssignAllowIn(s),this.finishNode(t,"ObjectProperty");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,cs(t.key));else if(this.match(29)){let i=this.state.startLoc;s!=null?s.shorthandAssignLoc===null&&(s.shorthandAssignLoc=i):this.raise(I.InvalidCoverInitializedName,i),t.value=this.parseMaybeDefault(r,cs(t.key))}else t.value=cs(t.key);return t.shorthand=!0,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(xn(n))i=this.parseIdentifier(!0);else switch(n){case 134:i=this.parseNumericLiteral(s);break;case 133:i=this.parseStringLiteral(s);break;case 135:i=this.parseBigIntLiteral(s);break;case 136:i=this.parseDecimalLiteral(s);break;case 138:{let a=this.state.startLoc;r!=null?r.privateKeyLoc===null&&(r.privateKeyLoc=a):this.raise(I.UnexpectedPrivateField,a),i=this.parsePrivateName();break}default:this.unexpected()}t.key=i,n!==138&&(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(18|(o?64:0)|(i?32:0)),this.prodParam.enter(Ku(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(6);let i=Ku(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(JS()),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(I.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(r,n))}return i}parseExprListItem(t,r,n){let s;if(this.match(12))t||this.raise(I.UnexpectedToken,this.state.curPosition(),{unexpected:","}),s=null;else if(this.match(21)){let i=this.state.startLoc;s=this.parseParenItem(this.parseSpread(r),i)}else if(this.match(17)){this.expectPlugin("partialApplication"),n||this.raise(I.UnexpectedArgumentPlaceholder,this.state.startLoc);let i=this.startNode();this.next(),s=this.finishNode(i,"ArgumentPlaceholder")}else s=this.parseMaybeAssignAllowIn(r,this.parseParenItem);return s}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")}parseIdentifierName(t){let r,{startLoc:n,type:s}=this.state;xn(s)?r=this.state.value:this.unexpected();let i=jH(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||!nX(t))return;if(n&&eX(t)){this.raise(I.UnexpectedKeyword,r,{keyword:t});return}if((this.state.strict?s?GS:WS:$S)(t,this.inModule)){this.raise(I.UnexpectedReservedWord,r,{reservedWord:t});return}else if(t==="yield"){if(this.prodParam.hasYield){this.raise(I.YieldBindingIdentifier,r);return}}else if(t==="await"){if(this.prodParam.hasAwait){this.raise(I.AwaitBindingIdentifier,r);return}if(this.scope.inStaticBlock){this.raise(I.AwaitBindingIdentifierInStaticBlock,r);return}this.expressionScope.recordAsyncArrowParametersError(r)}else if(t==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(I.ArgumentsInClass,r);return}}recordAwaitIfAllowed(){let t=this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction;return t&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),t}parseAwait(t){let r=this.startNodeAt(t);return this.expressionScope.recordParameterInitializerError(I.AwaitExpressionFormalParameter,r),this.eat(55)&&this.raise(I.ObsoleteAwaitStar,r),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(r.argument=this.parseMaybeUnary(null,!0)),this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:t}=this.state;return t===53||t===10||t===0||Hu(t)||t===102&&!this.state.containsEsc||t===137||t===56||this.hasPlugin("v8intrinsic")&&t===54}parseYield(){let t=this.startNode();this.expressionScope.recordParameterInitializerError(I.YieldInParameter,t),this.next();let r=!1,n=null;if(!this.hasPrecedingLineBreak())switch(r=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!r)break;default:n=this.parseMaybeAssign()}return t.delegate=r,t.argument=n,this.finishNode(t,"YieldExpression")}parseImportCall(t){return this.next(),t.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(t.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(t.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(t,"ImportExpression")}checkPipelineAtInfixOperator(t,r){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&t.type==="SequenceExpression"&&this.raise(I.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(I.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(I.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")}parsePropertyNamePrefixOperator(t){}},Dm={kind:1},LX={kind:2},RX=/[\uD800-\uDFFF]/u,Im=/in(?:stanceof)?/y;function jX(e,t){for(let r=0;r<e.length;r++){let n=e[r],{type:s}=n;if(typeof s=="number"){{if(s===138){let{loc:i,start:a,value:o,end:l}=n,u=a+1,c=Br(i.start,1);e.splice(r,1,new qn({type:as(27),value:"#",start:a,end:u,startLoc:i.start,endLoc:c}),new qn({type:as(132),value:o,start:u,end:l,startLoc:c,endLoc:i.end})),r++;continue}if(Hu(s)){let{loc:i,start:a,value:o,end:l}=n,u=a+1,c=Br(i.start,1),f;t.charCodeAt(a)===96?f=new qn({type:as(22),value:"`",start:a,end:u,startLoc:i.start,endLoc:c}):f=new qn({type:as(8),value:"}",start:a,end:u,startLoc:i.start,endLoc:c});let p,h,b,d;s===24?(h=l-1,b=Br(i.end,-1),p=o===null?null:o.slice(1,-1),d=new qn({type:as(22),value:"`",start:h,end:l,startLoc:b,endLoc:i.end})):(h=l-2,b=Br(i.end,-2),p=o===null?null:o.slice(1,-2),d=new qn({type:as(23),value:"${",start:h,end:l,startLoc:b,endLoc:i.end})),e.splice(r,1,f,new qn({type:as(20),value:p,start:u,end:h,startLoc:c,endLoc:b}),d),r+=2;continue}}n.type=as(s)}}return e}var Ym=class extends Xm{parseTopLevel(t,r){return t.program=this.parseProgram(r),t.comments=this.comments,this.options.tokens&&(t.tokens=jX(this.tokens,this.input)),this.finishNode(t,"File")}parseProgram(t,r=139,n=this.options.sourceType){if(t.sourceType=n,t.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(t,!0,!0,r),this.inModule){if(!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[i,a]of Array.from(this.scope.undefinedExports))this.raise(I.ModuleExportUndefined,a,{localName:i});this.addExtra(t,"topLevelAwait",this.state.hasTopLevelAwait)}let s;return r===139?s=this.finishNode(t,"Program"):s=this.finishNodeAt(t,"Program",Br(this.state.startLoc,-1)),s}stmtToDirective(t){let r=t;r.type="Directive",r.value=r.expression,delete r.expression;let n=r.value,s=n.value,i=this.input.slice(n.start,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),n.type="DirectiveLiteral",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}chStartsBindingIdentifier(t,r){if(ls(t)){if(Im.lastIndex=r,Im.test(this.input)){let n=this.codePointAtPos(Im.lastIndex);if(!ma(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)}startsUsingForOf(){let{type:t,containsEsc:r}=this.lookahead();if(t===102&&!r)return!1;if(ht(t)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){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 this.expectPlugin("explicitResourceManagement"),!0}return!1}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?I.StrictFunction:this.options.annexB?I.SloppyFunctionAnnexB:I.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.state.containsEsc&&this.startsAwaitUsing())return this.recordAwaitIfAllowed()?i||this.raise(I.UnexpectedLexicalDeclaration,s):this.raise(I.AwaitUsingNotInAsyncContext,s),this.next(),this.parseVarStatement(s,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(I.UnexpectedUsingDeclaration,this.state.startLoc):i||this.raise(I.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(s,"using");case 100:{if(this.state.containsEsc)break;let c=this.nextTokenStart(),f=this.codePointAtPos(c);if(f!==91&&(!i&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(f,c)&&f!==123))break}case 75:i||this.raise(I.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.options.allowImportExportEverywhere&&!o&&this.raise(I.UnexpectedImportExport,this.state.startLoc),this.next();let c;return n===83?(c=this.parseImport(s),c.type==="ImportDeclaration"&&(!c.importKind||c.importKind==="value")&&(this.sawUnambiguousESM=!0)):(c=this.parseExport(s,r),(c.type==="ExportNamedDeclaration"&&(!c.exportKind||c.exportKind==="value")||c.type==="ExportAllDeclaration"&&(!c.exportKind||c.exportKind==="value")||c.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(c),c}default:if(this.isAsyncFunction())return i||this.raise(I.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(s,!0,!i&&a)}let l=this.state.value,u=this.parseExpression();return ht(n)&&u.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(s,l,u,t):this.parseExpressionStatement(s,u,r)}assertModuleNodeAllowed(t){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(I.ImportOutsideModule,t)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(t,r,n){return t&&(r.decorators&&r.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(I.DecoratorsBeforeAfterExport,r.decorators[0]),r.decorators.unshift(...t)):r.decorators=t,this.resetStartLocationFromNode(r,t[0]),n&&this.resetStartLocationFromNode(n,r)),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(I.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(I.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),this.getPluginOption("decorators","allowCallParenthesized")===!1&&t.expression!==n&&this.raise(I.DecoratorArgumentsOutsideParentheses,i)}else{for(n=this.parseIdentifier(!1);this.eat(16);){let s=this.startNodeAt(r);s.object=n,this.match(138)?(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)}}else t.expression=this.parseExprSubscripts();return this.finishNode(t,"Decorator")}parseMaybeDecoratorArguments(t){if(this.eat(10)){let r=this.startNodeAtNode(t);return r.callee=t,r.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(r.arguments),this.finishNode(r,"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(I.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(Dm),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(Dm);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.isContextual(96)&&this.startsAwaitUsing(),u=l||this.isContextual(107)&&this.startsUsingForOf(),c=n&&this.hasFollowingBindingAtom()||u;if(this.match(74)||this.match(75)||c){let f=this.startNode(),p;l?(p="await using",this.recordAwaitIfAllowed()||this.raise(I.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):p=this.state.value,this.next(),this.parseVar(f,!0,p);let h=this.finishNode(f,"VariableDeclaration"),b=this.match(58);return b&&u&&this.raise(I.ForInUsing,h),(b||this.isContextual(102))&&h.declarations.length===1?this.parseForIn(t,h,r):(r!==null&&this.unexpected(r),this.parseFor(t,h))}}let s=this.isContextual(95),i=new ga,a=this.parseExpression(!0,i),o=this.isContextual(102);if(o&&(n&&this.raise(I.ForOfLet,a),r===null&&s&&a.type==="Identifier"&&this.raise(I.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.options.allowReturnOutsideFunction&&this.raise(I.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(LX),this.scope.enter(0);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(I.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(I.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(I.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(Dm),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(t,"WhileStatement")}parseWithStatement(t){return this.state.strict&&this.raise(I.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(I.LabelRedeclaration,n,{labelName:r});let i=UH(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.state.start,o.kind=i;else break}return this.state.labels.push({name:r,kind:i,statementStart: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?.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(I.ForInOfLoopInitializer,r,{type:s?"ForInStatement":"ForOfStatement"}),r.type==="AssignmentPattern"&&this.raise(I.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(I.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(n==="const"||n==="using"||n==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(I.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(I.UsingDeclarationHasBindingPattern,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(I.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(2),this.prodParam.enter(Ku(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||ht(this.state.type)?this.parseIdentifier():null}parseFunctionParams(t,r){this.expect(10),this.expressionScope.enter(fX()),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(I.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(I.DecoratorConstructor,a)}}),this.state.strict=r,this.next(),s.length)throw this.raise(I.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,f=i;if(r.static=s,this.parsePropertyNamePrefixOperator(r),this.eat(55)){c.kind="method";let P=this.match(138);if(this.parseClassElementName(c),P){this.pushClassPrivateMethod(t,a,!0,!1);return}this.isNonstaticConstructor(i)&&this.raise(I.ConstructorIsGenerator,i.key),this.pushClassMethod(t,i,!0,!1,!1,!1);return}let p=!this.state.containsEsc&&ht(this.state.type),h=this.parseClassElementName(r),b=p?h.name:null,d=this.isPrivateName(h),y=this.state.startLoc;if(this.parsePostMemberNameModifiers(f),this.isClassMethod()){if(c.kind="method",d){this.pushClassPrivateMethod(t,a,!1,!1);return}let P=this.isNonstaticConstructor(i),D=!1;P&&(i.kind="constructor",n.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(I.DuplicateConstructor,h),P&&this.hasPlugin("typescript")&&r.override&&this.raise(I.OverrideOnConstructor,h),n.hadConstructor=!0,D=n.hadSuperClass),this.pushClassMethod(t,i,!1,!1,P,D)}else if(this.isClassProperty())d?this.pushClassPrivateProperty(t,l):this.pushClassProperty(t,o);else if(b==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(h);let P=this.eat(55);f.optional&&this.unexpected(y),c.kind="method";let D=this.match(138);this.parseClassElementName(c),this.parsePostMemberNameModifiers(f),D?this.pushClassPrivateMethod(t,a,P,!0):(this.isNonstaticConstructor(i)&&this.raise(I.ConstructorIsAsync,i.key),this.pushClassMethod(t,i,P,!0,!1,!1))}else if((b==="get"||b==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(h),c.kind=b;let P=this.match(138);this.parseClassElementName(i),P?this.pushClassPrivateMethod(t,a,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(I.ConstructorIsAccessor,i.key),this.pushClassMethod(t,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}else if(b==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(h);let P=this.match(138);this.parseClassElementName(o),this.pushClassAccessorProperty(t,u,P)}else this.isLineTerminator()?d?this.pushClassPrivateProperty(t,l):this.pushClassProperty(t,o):this.unexpected()}parseClassElementName(t){let{type:r,value:n}=this.state;if((r===132||r===133)&&t.static&&n==="prototype"&&this.raise(I.StaticPrototype,this.state.startLoc),r===138){n==="constructor"&&this.raise(I.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(208);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(I.DecoratorStaticBlock,r)}pushClassProperty(t,r){!r.computed&&this.nameIsConstructor(r.key)&&this.raise(I.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(I.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(80),this.expressionScope.enter(JS()),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(ht(this.state.type))t.id=this.parseIdentifier(),r&&this.declareNameFromIdentifier(t.id,s);else if(n||!r)t.id=null;else throw this.raise(I.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(I.UnsupportedDecoratorExport,t);return this.parseExportFrom(t,!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 f;if(u||c){if(f=!1,r)throw this.raise(I.UnsupportedDecoratorExport,t);this.parseExportFrom(t,u)}else f=this.maybeParseExportDeclaration(t);if(u||c||f){var p;let h=t;if(this.checkExport(h,!0,!1,!!h.source),((p=h.declaration)==null?void 0:p.type)==="ClassDeclaration")this.maybeTakeDecorators(r,h.declaration,h);else if(r)throw this.raise(I.UnsupportedDecoratorExport,t);return this.finishNode(h,"ExportNamedDeclaration")}if(this.eat(65)){let h=t,b=this.parseExportDefaultExpression();if(h.declaration=b,b.type==="ClassDeclaration")this.maybeTakeDecorators(r,b,h);else if(r)throw this.raise(I.UnsupportedDecoratorExport,t);return this.checkExport(h,!0,!0),this.finishNode(h,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(t){return this.eat(55)}maybeParseExportDefaultSpecifier(t,r){if(r||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",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,r.declaration=null,this.hasPlugin("importAssertions")&&(r.assertions=[]),!0}return!1}maybeParseExportDeclaration(t){return this.shouldParseExportDeclaration()?(t.specifiers=[],t.source=null,this.hasPlugin("importAssertions")&&(t.assertions=[]),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(I.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(I.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(ht(t)){if(t===95&&!this.state.containsEsc||t===100)return!1;if((t===130||t===129)&&!this.state.containsEsc){let{type:s}=this.lookahead();if(ht(s)&&s!==98||s===5)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||ht(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(I.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)?(this.raise(I.UsingDeclarationExport,this.state.startLoc),!0):this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(I.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(I.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(I.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(I.DuplicateDefaultExport,t):this.raise(I.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(133),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=mX(t.local):t.exported||(t.exported=cs(t.local)),this.finishNode(t,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){let t=this.parseStringLiteral(this.state.value),r=RX.exec(t.value);return r&&this.raise(I.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(I.SourcePhaseImportRequiresDefault,r[0].loc.start);else if(t.phase==="defer")n!=="ImportNamespaceSpecifier"&&this.raise(I.DeferImportRequiresNamespace,r[0].loc.start);else if(t.module){var s;n!=="ImportDefaultSpecifier"&&this.raise(I.ImportReflectionNotBinding,r[0].loc.start),((s=t.assertions)==null?void 0:s.length)>0&&this.raise(I.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(I.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.parseIdentifier(!0),{type:s}=this.state;return(xn(s)?s!==98||this.lookaheadCharCode()===102:s!==12)?(this.resetPreviousIdentifierLeadingComments(n),this.applyImportPhase(t,r,n.name,n.loc.start),null):(this.applyImportPhase(t,r,null),n)}isPrecedingIdImportPhase(t){let{type:r}=this.state;return ht(r)?r!==98||this.lookaheadCharCode()===102:r!==12}parseImport(t){return this.match(133)?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.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.match(133)||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(I.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:s}),r.add(s),this.match(133)?n.key=this.parseStringLiteral(s):n.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(I.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(I.ModuleAttributeDifferentFromType,n.key),r.has(n.key.name)&&this.raise(I.ModuleAttributesWithDuplicateKeys,n.key,{key:n.key.name}),r.add(n.key.name),this.expect(14),!this.match(133))throw this.raise(I.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,n=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?r=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),r=this.parseImportAttributes()),n=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(I.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(t,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),r=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))r=[];else if(this.hasPlugin("moduleAttributes"))r=[];else return;!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(xn(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(I.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let n=this.startNode(),s=this.match(133),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(I.ImportBindingIsString,t,{importName:a.value});this.checkReservedWord(a.name,t.loc.start,!0,!0),t.local||(t.local=cs(a))}return this.finishImportSpecifier(t,"ImportSpecifier",i)}isThisParam(t){return t.type==="Identifier"&&t.name==="this"}},Yu=class extends Ym{constructor(t,r,n){t=kX(t),super(t,r),this.options=t,this.initializeScopes(),this.plugins=n,this.filename=t.sourceFilename}getScopeHandler(){return Ho}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 MX(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";let n=Wo(t,e),s=n.parse();if(n.sawUnambiguousESM)return s;if(n.ambiguousScriptDifferentAst)try{return t.sourceType="script",Wo(t,e).parse()}catch{}else s.program.sourceType="script";return s}catch(n){try{return t.sourceType="script",Wo(t,e).parse()}catch{}throw n}}else return Wo(t,e).parse()}function qX(e,t){let r=Wo(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()}function UX(e){let t={};for(let r of Object.keys(e))t[r]=as(e[r]);return t}var VX=UX(RH);function Wo(e,t){let r=Yu,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||{})}BX(n),r=$X(n)}return new r(e,t,n)}var MS=new Map;function $X(e){let t=[];for(let s of FX)e.has(s)&&t.push(s);let r=t.join("|"),n=MS.get(r);if(!n){n=Yu;for(let s of t)n=ex[s](n);MS.set(r,n)}return n}Yo.parse=MX;Yo.parseExpression=qX;Yo.tokTypes=VX});var tx=E(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 oy=E((NAe,ay)=>{var Qu=process||{},rx=Qu.argv||[],zu=Qu.env||{},WX=!(zu.NO_COLOR||rx.includes("--no-color"))&&(!!zu.FORCE_COLOR||rx.includes("--color")||Qu.platform==="win32"||(Qu.stdout||{}).isTTY&&zu.TERM!=="dumb"||!!zu.CI),KX=(e,t,r=e)=>n=>{let s=""+n,i=s.indexOf(t,e.length);return~i?e+GX(s,t,r,i)+t:e+s+t},GX=(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)},nx=(e=WX)=>{let t=e?KX:()=>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")}};ay.exports=nx();ay.exports.createColors=nx});var ix=E((BAe,sx)=>{"use strict";var HX=/[|\\{}()[\]^$+*?.]/g;sx.exports=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(HX,"\\$&")}});var ox=E((FAe,ax)=>{"use strict";ax.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var ly=E((kAe,fx)=>{var Si=ox(),cx={};for(Zu in Si)Si.hasOwnProperty(Zu)&&(cx[Si[Zu]]=Zu);var Zu,Pe=fx.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(Fr in Pe)if(Pe.hasOwnProperty(Fr)){if(!("channels"in Pe[Fr]))throw new Error("missing channels property: "+Fr);if(!("labels"in Pe[Fr]))throw new Error("missing channel labels property: "+Fr);if(Pe[Fr].labels.length!==Pe[Fr].channels)throw new Error("channel and label counts mismatch: "+Fr);lx=Pe[Fr].channels,ux=Pe[Fr].labels,delete Pe[Fr].channels,delete Pe[Fr].labels,Object.defineProperty(Pe[Fr],"channels",{value:lx}),Object.defineProperty(Pe[Fr],"labels",{value:ux})}var lx,ux,Fr;Pe.rgb.hsl=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,s=Math.min(t,r,n),i=Math.max(t,r,n),a=i-s,o,l,u;return i===s?o=0:t===i?o=(r-n)/a:r===i?o=2+(n-t)/a:n===i&&(o=4+(t-r)/a),o=Math.min(o*60,360),o<0&&(o+=360),u=(s+i)/2,i===s?l=0:u<=.5?l=a/(i+s):l=a/(2-i-s),[o,l*100,u*100]};Pe.rgb.hsv=function(e){var t,r,n,s,i,a=e[0]/255,o=e[1]/255,l=e[2]/255,u=Math.max(a,o,l),c=u-Math.min(a,o,l),f=function(p){return(u-p)/6/c+1/2};return c===0?s=i=0:(i=c/u,t=f(a),r=f(o),n=f(l),a===u?s=n-r:o===u?s=1/3+t-n:l===u&&(s=2/3+r-t),s<0?s+=1:s>1&&(s-=1)),[s*360,i*100,u*100]};Pe.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2],s=Pe.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[s,i*100,n*100]};Pe.rgb.cmyk=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,s,i,a,o;return o=Math.min(1-t,1-r,1-n),s=(1-t-o)/(1-o)||0,i=(1-r-o)/(1-o)||0,a=(1-n-o)/(1-o)||0,[s*100,i*100,a*100,o*100]};function XX(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}Pe.rgb.keyword=function(e){var t=cx[e];if(t)return t;var r=1/0,n;for(var s in Si)if(Si.hasOwnProperty(s)){var i=Si[s],a=XX(e,i);a<r&&(r=a,n=s)}return n};Pe.keyword.rgb=function(e){return Si[e]};Pe.rgb.xyz=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var s=t*.4124+r*.3576+n*.1805,i=t*.2126+r*.7152+n*.0722,a=t*.0193+r*.1192+n*.9505;return[s*100,i*100,a*100]};Pe.rgb.lab=function(e){var t=Pe.rgb.xyz(e),r=t[0],n=t[1],s=t[2],i,a,o;return r/=95.047,n/=100,s/=108.883,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,i=116*n-16,a=500*(r-n),o=200*(n-s),[i,a,o]};Pe.hsl.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,s,i,a,o,l;if(r===0)return l=n*255,[l,l,l];n<.5?i=n*(1+r):i=n+r-n*r,s=2*n-i,o=[0,0,0];for(var u=0;u<3;u++)a=t+1/3*-(u-1),a<0&&a++,a>1&&a--,6*a<1?l=s+(i-s)*6*a:2*a<1?l=i:3*a<2?l=s+(i-s)*(2/3-a)*6:l=s,o[u]=l*255;return o};Pe.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,s=r,i=Math.max(n,.01),a,o;return n*=2,r*=n<=1?n:2-n,s*=i<=1?i:2-i,o=(n+r)/2,a=n===0?2*s/(i+s):2*r/(n+r),[t,a*100,o*100]};Pe.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,s=Math.floor(t)%6,i=t-Math.floor(t),a=255*n*(1-r),o=255*n*(1-r*i),l=255*n*(1-r*(1-i));switch(n*=255,s){case 0:return[n,l,a];case 1:return[o,n,a];case 2:return[a,n,l];case 3:return[a,o,n];case 4:return[l,a,n];case 5:return[n,a,o]}};Pe.hsv.hsl=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,s=Math.max(n,.01),i,a,o;return o=(2-r)*n,i=(2-r)*s,a=r*s,a/=i<=1?i:2-i,a=a||0,o/=2,[t,a*100,o*100]};Pe.hwb.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,s=r+n,i,a,o,l;s>1&&(r/=s,n/=s),i=Math.floor(6*t),a=1-n,o=6*t-i,(i&1)!==0&&(o=1-o),l=r+o*(a-r);var u,c,f;switch(i){default:case 6:case 0:u=a,c=l,f=r;break;case 1:u=l,c=a,f=r;break;case 2:u=r,c=a,f=l;break;case 3:u=r,c=l,f=a;break;case 4:u=l,c=r,f=a;break;case 5:u=a,c=r,f=l;break}return[u*255,c*255,f*255]};Pe.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,s=e[3]/100,i,a,o;return i=1-Math.min(1,t*(1-s)+s),a=1-Math.min(1,r*(1-s)+s),o=1-Math.min(1,n*(1-s)+s),[i*255,a*255,o*255]};Pe.xyz.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,s,i,a;return s=t*3.2406+r*-1.5372+n*-.4986,i=t*-.9689+r*1.8758+n*.0415,a=t*.0557+r*-.204+n*1.057,s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92,s=Math.min(Math.max(0,s),1),i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),[s*255,i*255,a*255]};Pe.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2],s,i,a;return t/=95.047,r/=100,n/=108.883,t=t>.008856?Math.pow(t,1/3):7.787*t+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,s=116*r-16,i=500*(t-r),a=200*(r-n),[s,i,a]};Pe.lab.xyz=function(e){var t=e[0],r=e[1],n=e[2],s,i,a;i=(t+16)/116,s=r/500+i,a=i-n/200;var o=Math.pow(i,3),l=Math.pow(s,3),u=Math.pow(a,3);return i=o>.008856?o:(i-16/116)/7.787,s=l>.008856?l:(s-16/116)/7.787,a=u>.008856?u:(a-16/116)/7.787,s*=95.047,i*=100,a*=108.883,[s,i,a]};Pe.lab.lch=function(e){var t=e[0],r=e[1],n=e[2],s,i,a;return s=Math.atan2(n,r),i=s*360/2/Math.PI,i<0&&(i+=360),a=Math.sqrt(r*r+n*n),[t,a,i]};Pe.lch.lab=function(e){var t=e[0],r=e[1],n=e[2],s,i,a;return a=n/360*2*Math.PI,s=r*Math.cos(a),i=r*Math.sin(a),[t,s,i]};Pe.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],s=1 in arguments?arguments[1]:Pe.rgb.hsv(e)[2];if(s=Math.round(s/50),s===0)return 30;var i=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return s===2&&(i+=60),i};Pe.hsv.ansi16=function(e){return Pe.rgb.ansi16(Pe.hsv.rgb(e),e[2])};Pe.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];if(t===r&&r===n)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;var s=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return s};Pe.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];var r=(~~(e>50)+1)*.5,n=(t&1)*r*255,s=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[n,s,i]};Pe.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var r,n=Math.floor(e/36)/5*255,s=Math.floor((r=e%36)/6)/5*255,i=r%6/5*255;return[n,s,i]};Pe.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255),r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};Pe.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];t[0].length===3&&(r=r.split("").map(function(o){return o+o}).join(""));var n=parseInt(r,16),s=n>>16&255,i=n>>8&255,a=n&255;return[s,i,a]};Pe.rgb.hcg=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,s=Math.max(Math.max(t,r),n),i=Math.min(Math.min(t,r),n),a=s-i,o,l;return a<1?o=i/(1-a):o=0,a<=0?l=0:s===t?l=(r-n)/a%6:s===r?l=2+(n-t)/a:l=4+(t-r)/a+4,l/=6,l%=1,[l*360,a*100,o*100]};Pe.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,s=0;return r<.5?n=2*t*r:n=2*t*(1-r),n<1&&(s=(r-.5*n)/(1-n)),[e[0],n*100,s*100]};Pe.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,s=0;return n<1&&(s=(r-n)/(1-n)),[e[0],n*100,s*100]};Pe.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];var s=[0,0,0],i=t%1*6,a=i%1,o=1-a,l=0;switch(Math.floor(i)){case 0:s[0]=1,s[1]=a,s[2]=0;break;case 1:s[0]=o,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=a;break;case 3:s[0]=0,s[1]=o,s[2]=1;break;case 4:s[0]=a,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=o}return l=(1-r)*n,[(r*s[0]+l)*255,(r*s[1]+l)*255,(r*s[2]+l)*255]};Pe.hcg.hsv=function(e){var t=e[1]/100,r=e[2]/100,n=t+r*(1-t),s=0;return n>0&&(s=t/n),[e[0],s*100,n*100]};Pe.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100,n=r*(1-t)+.5*t,s=0;return n>0&&n<.5?s=t/(2*n):n>=.5&&n<1&&(s=t/(2*(1-n))),[e[0],s*100,n*100]};Pe.hcg.hwb=function(e){var t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};Pe.hwb.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1-r,s=n-t,i=0;return s<1&&(i=(n-s)/(1-s)),[e[0],s*100,i*100]};Pe.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};Pe.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};Pe.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};Pe.gray.hsl=Pe.gray.hsv=function(e){return[0,0,e[0]]};Pe.gray.hwb=function(e){return[0,100,e[0]]};Pe.gray.cmyk=function(e){return[0,0,0,e[0]]};Pe.gray.lab=function(e){return[e[0],0,0]};Pe.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255,r=(t<<16)+(t<<8)+t,n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};Pe.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}});var dx=E((LAe,px)=>{var ec=ly();function YX(){for(var e={},t=Object.keys(ec),r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}function JX(e){var t=YX(),r=[e];for(t[e].distance=0;r.length;)for(var n=r.pop(),s=Object.keys(ec[n]),i=s.length,a=0;a<i;a++){var o=s[a],l=t[o];l.distance===-1&&(l.distance=t[n].distance+1,l.parent=n,r.unshift(o))}return t}function zX(e,t){return function(r){return t(e(r))}}function QX(e,t){for(var r=[t[e].parent,e],n=ec[t[e].parent][e],s=t[e].parent;t[s].parent;)r.unshift(t[s].parent),n=zX(ec[t[s].parent][s],n),s=t[s].parent;return n.conversion=r,n}px.exports=function(e){for(var t=JX(e),r={},n=Object.keys(t),s=n.length,i=0;i<s;i++){var a=n[i],o=t[a];o.parent!==null&&(r[a]=QX(a,t))}return r}});var mx=E((RAe,hx)=>{var uy=ly(),ZX=dx(),Ta={},eY=Object.keys(uy);function tY(e){var t=function(r){return r==null?r:(arguments.length>1&&(r=Array.prototype.slice.call(arguments)),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}function rY(e){var t=function(r){if(r==null)return r;arguments.length>1&&(r=Array.prototype.slice.call(arguments));var n=e(r);if(typeof n=="object")for(var s=n.length,i=0;i<s;i++)n[i]=Math.round(n[i]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}eY.forEach(function(e){Ta[e]={},Object.defineProperty(Ta[e],"channels",{value:uy[e].channels}),Object.defineProperty(Ta[e],"labels",{value:uy[e].labels});var t=ZX(e),r=Object.keys(t);r.forEach(function(n){var s=t[n];Ta[e][n]=rY(s),Ta[e][n].raw=tY(s)})});hx.exports=Ta});var gx=E((jAe,yx)=>{"use strict";var Sa=mx(),tc=(e,t)=>function(){return`\x1B[${e.apply(Sa,arguments)+t}m`},rc=(e,t)=>function(){let r=e.apply(Sa,arguments);return`\x1B[${38+t};5;${r}m`},nc=(e,t)=>function(){let r=e.apply(Sa,arguments);return`\x1B[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function nY(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(let s of Object.keys(t)){let i=t[s];for(let a of Object.keys(i)){let o=i[a];t[a]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},i[a]=t[a],e.set(o[0],o[1])}Object.defineProperty(t,s,{value:i,enumerable:!1}),Object.defineProperty(t,"codes",{value:e,enumerable:!1})}let r=s=>s,n=(s,i,a)=>[s,i,a];t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi={ansi:tc(r,0)},t.color.ansi256={ansi256:rc(r,0)},t.color.ansi16m={rgb:nc(n,0)},t.bgColor.ansi={ansi:tc(r,10)},t.bgColor.ansi256={ansi256:rc(r,10)},t.bgColor.ansi16m={rgb:nc(n,10)};for(let s of Object.keys(Sa)){if(typeof Sa[s]!="object")continue;let i=Sa[s];s==="ansi16"&&(s="ansi"),"ansi16"in i&&(t.color.ansi[s]=tc(i.ansi16,0),t.bgColor.ansi[s]=tc(i.ansi16,10)),"ansi256"in i&&(t.color.ansi256[s]=rc(i.ansi256,0),t.bgColor.ansi256[s]=rc(i.ansi256,10)),"rgb"in i&&(t.color.ansi16m[s]=nc(i.rgb,0),t.bgColor.ansi16m[s]=nc(i.rgb,10))}return t}Object.defineProperty(yx,"exports",{enumerable:!0,get:nY})});var Ex=E((MAe,bx)=>{"use strict";bx.exports=(e,t)=>{t=t||process.argv;let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),s=t.indexOf("--");return n!==-1&&(s===-1?!0:n<s)}});var Tx=E((qAe,vx)=>{"use strict";var sY=me("os"),Pn=Ex(),vr=process.env,xa;Pn("no-color")||Pn("no-colors")||Pn("color=false")?xa=!1:(Pn("color")||Pn("colors")||Pn("color=true")||Pn("color=always"))&&(xa=!0);"FORCE_COLOR"in vr&&(xa=vr.FORCE_COLOR.length===0||parseInt(vr.FORCE_COLOR,10)!==0);function iY(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function aY(e){if(xa===!1)return 0;if(Pn("color=16m")||Pn("color=full")||Pn("color=truecolor"))return 3;if(Pn("color=256"))return 2;if(e&&!e.isTTY&&xa!==!0)return 0;let t=xa?1:0;if(process.platform==="win32"){let r=sY.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in vr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(r=>r in vr)||vr.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in vr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(vr.TEAMCITY_VERSION)?1:0;if(vr.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in vr){let r=parseInt((vr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(vr.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(vr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(vr.TERM)||"COLORTERM"in vr?1:(vr.TERM==="dumb",t)}function cy(e){let t=aY(e);return iY(t)}vx.exports={supportsColor:cy,stdout:cy(process.stdout),stderr:cy(process.stderr)}});var Cx=E((UAe,Ax)=>{"use strict";var oY=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Sx=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,lY=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,uY=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,cY=new Map([["n",`
21
- `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Px(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):cY.get(e)||e}function fY(e,t){let r=[],n=t.trim().split(/\s*,\s*/g),s;for(let i of n)if(!isNaN(i))r.push(Number(i));else if(s=i.match(lY))r.push(s[2].replace(uY,(a,o,l)=>o?Px(o):l));else throw new Error(`Invalid Chalk template style argument: ${i} (in style '${e}')`);return r}function pY(e){Sx.lastIndex=0;let t=[],r;for(;(r=Sx.exec(e))!==null;){let n=r[1];if(r[2]){let s=fY(n,r[2]);t.push([n].concat(s))}else t.push([n])}return t}function xx(e,t){let r={};for(let s of t)for(let i of s.styles)r[i[0]]=s.inverse?null:i.slice(1);let n=e;for(let s of Object.keys(r))if(Array.isArray(r[s])){if(!(s in n))throw new Error(`Unknown Chalk style: ${s}`);r[s].length>0?n=n[s].apply(n,r[s]):n=n[s]}return n}Ax.exports=(e,t)=>{let r=[],n=[],s=[];if(t.replace(oY,(i,a,o,l,u,c)=>{if(a)s.push(Px(a));else if(l){let f=s.join("");s=[],n.push(r.length===0?f:xx(e,r)(f)),r.push({inverse:o,styles:pY(l)})}else if(u){if(r.length===0)throw new Error("Found extraneous } in Chalk template literal");n.push(xx(e,r)(s.join(""))),s=[],r.pop()}else s.push(c)}),n.push(s.join("")),r.length>0){let i=`Chalk template literal is missing ${r.length} closing bracket${r.length===1?"":"s"} (\`}\`)`;throw new Error(i)}return n.join("")}});var _x=E((VAe,Qo)=>{"use strict";var py=ix(),er=gx(),fy=Tx().stdout,dY=Cx(),Dx=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),Ix=["ansi","ansi","ansi256","ansi16m"],Ox=new Set(["gray"]),Pa=Object.create(null);function wx(e,t){t=t||{};let r=fy?fy.level:0;e.level=t.level===void 0?r:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function zo(e){if(!this||!(this instanceof zo)||this.template){let t={};return wx(t,e),t.template=function(){let r=[].slice.call(arguments);return yY.apply(null,[t.template].concat(r))},Object.setPrototypeOf(t,zo.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=zo,t.template}wx(this,e)}Dx&&(er.blue.open="\x1B[94m");for(let e of Object.keys(er))er[e].closeRe=new RegExp(py(er[e].close),"g"),Pa[e]={get(){let t=er[e];return sc.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};Pa.visible={get(){return sc.call(this,this._styles||[],!0,"visible")}};er.color.closeRe=new RegExp(py(er.color.close),"g");for(let e of Object.keys(er.color.ansi))Ox.has(e)||(Pa[e]={get(){let t=this.level;return function(){let n={open:er.color[Ix[t]][e].apply(null,arguments),close:er.color.close,closeRe:er.color.closeRe};return sc.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}});er.bgColor.closeRe=new RegExp(py(er.bgColor.close),"g");for(let e of Object.keys(er.bgColor.ansi)){if(Ox.has(e))continue;let t="bg"+e[0].toUpperCase()+e.slice(1);Pa[t]={get(){let r=this.level;return function(){let s={open:er.bgColor[Ix[r]][e].apply(null,arguments),close:er.bgColor.close,closeRe:er.bgColor.closeRe};return sc.call(this,this._styles?this._styles.concat(s):[s],this._empty,e)}}}}var hY=Object.defineProperties(()=>{},Pa);function sc(e,t,r){let n=function(){return mY.apply(n,arguments)};n._styles=e,n._empty=t;let s=this;return Object.defineProperty(n,"level",{enumerable:!0,get(){return s.level},set(i){s.level=i}}),Object.defineProperty(n,"enabled",{enumerable:!0,get(){return s.enabled},set(i){s.enabled=i}}),n.hasGrey=this.hasGrey||r==="gray"||r==="grey",n.__proto__=hY,n}function mY(){let e=arguments,t=e.length,r=String(arguments[0]);if(t===0)return"";if(t>1)for(let s=1;s<t;s++)r+=" "+e[s];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;let n=er.dim.open;Dx&&this.hasGrey&&(er.dim.open="");for(let s of this._styles.slice().reverse())r=s.open+r.replace(s.closeRe,s.open)+s.close,r=r.replace(/\r?\n/g,`${s.close}$&${s.open}`);return er.dim.open=n,r}function yY(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");let r=[].slice.call(arguments,2),n=[t.raw[0]];for(let s=1;s<t.length;s++)n.push(String(r[s-1]).replace(/[{}\\]/g,"\\$&")),n.push(String(t.raw[s]));return dY(e,n.join(""))}Object.defineProperties(zo.prototype,Pa);Qo.exports=zo();Qo.exports.supportsColor=fy;Qo.exports.default=Qo.exports});var Mx=E(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.default=PY;Zo.shouldHighlight=jx;var Nx=tx(),Bx=ca(),hy=gY(oy(),!0);function kx(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(kx=function(n){return n?r:t})(e)}function gY(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=kx(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&{}.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}var Lx=typeof process=="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?(0,hy.createColors)(!1):hy.default,Fx=(e,t)=>r=>e(t(r)),bY=new Set(["as","async","from","get","of","set"]);function EY(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:Fx(Fx(e.white,e.bgRed),e.bold)}}var vY=/\r\n|[\n\r\u2028\u2029]/,TY=/^[()[\]{}]$/,Rx;{let e=/^[a-z][\w-]*$/i,t=function(r,n,s){if(r.type==="name"){if((0,Bx.isKeyword)(r.value)||(0,Bx.isStrictReservedWord)(r.value,!0)||bY.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"&&TY.test(r.value)?"bracket":r.type==="invalid"&&(r.value==="@"||r.value==="#")?"punctuator":r.type};Rx=function*(r){let n;for(;n=Nx.default.exec(r);){let s=Nx.matchToToken(n);yield{type:t(s,n.index,r),value:s.value}}}}function SY(e,t){let r="";for(let{type:n,value:s}of Rx(t)){let i=e[n];i?r+=s.split(vY).map(a=>i(a)).join(`
22
- `):r+=s}return r}function jx(e){return Lx.isColorSupported||e.forceColor}var dy;function xY(e){if(e){var t;return(t=dy)!=null||(dy=(0,hy.createColors)(!0)),dy}return Lx}function PY(e,t={}){if(e!==""&&jx(t)){let r=EY(xY(t.forceColor));return SY(r,e)}else return e}{let e,t;Zo.getChalk=({forceColor:r})=>{var n;if((n=e)!=null||(e=_x()),r){var s;return(s=t)!=null||(t=new e.constructor({enabled:!0,level:1})),t}return e}}});var el=E(ic=>{"use strict";Object.defineProperty(ic,"__esModule",{value:!0});ic.codeFrameColumns=Kx;ic.default=OY;var qx=Mx(),yy=AY(oy(),!0);function Wx(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Wx=function(n){return n?r:t})(e)}function AY(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Wx(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&{}.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}var CY=typeof process=="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?(0,yy.createColors)(!1):yy.default,Ux=(e,t)=>r=>e(t(r)),my;function wY(e){if(e){var t;return(t=my)!=null||(my=(0,yy.createColors)(!0)),my}return CY}var Vx=!1;function DY(e){return{gutter:e.gray,marker:Ux(e.red,e.bold),message:Ux(e.red,e.bold)}}var $x=/\r\n|[\n\r\u2028\u2029]/;function IY(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,f=Math.max(o-(i+1),0),p=Math.min(t.length,u+a);o===-1&&(f=0),u===-1&&(p=t.length);let h=u-o,b={};if(h)for(let d=0;d<=h;d++){let y=d+o;if(!l)b[y]=!0;else if(d===0){let P=t[y-1].length;b[y]=[l,P-l+1]}else if(d===h)b[y]=[0,c];else{let P=t[y-d].length;b[y]=[0,P]}}else l===c?l?b[o]=[l,0]:b[o]=!0:b[o]=[l,c-l];return{start:f,end:p,markerLines:b}}function Kx(e,t,r={}){let n=(r.highlightCode||r.forceColor)&&(0,qx.shouldHighlight)(r),s=wY(r.forceColor),i=DY(s),a=(d,y)=>n?d(y):y,o=e.split($x),{start:l,end:u,markerLines:c}=IY(t,o,r),f=t.start&&typeof t.start.column=="number",p=String(u).length,b=(n?(0,qx.default)(e,r):e).split($x,u).slice(l,u).map((d,y)=>{let P=l+1+y,N=` ${` ${P}`.slice(-p)} |`,B=c[P],F=!c[P+1];if(B){let j="";if(Array.isArray(B)){let W=d.slice(0,Math.max(B[0]-1,0)).replace(/[^\t]/g," "),re=B[1]||1;j=[`
23
- `,a(i.gutter,N.replace(/\d/g," "))," ",W,a(i.marker,"^").repeat(re)].join(""),F&&r.message&&(j+=" "+a(i.message,r.message))}return[a(i.marker,">"),a(i.gutter,N),d.length>0?` ${d}`:"",j].join("")}else return` ${a(i.gutter,N)}${d.length>0?` ${d}`:""}`}).join(`
24
- `);return r.message&&!f&&(b=`${" ".repeat(p+1)}${r.message}
25
- ${b}`),n?s.reset(b):b}function OY(e,t,r,n={}){if(!Vx){Vx=!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),Kx(e,{start:{column:r,line:t}},n)}});var by=E(gy=>{"use strict";Object.defineProperty(gy,"__esModule",{value:!0});gy.default=WY;var _Y=Be(),NY=Jo(),BY=el(),{isCallExpression:FY,isExpressionStatement:kY,isFunction:LY,isIdentifier:RY,isJSXIdentifier:jY,isNewExpression:MY,isPlaceholder:ac,isStatement:qY,isStringLiteral:Gx,removePropertiesDeep:UY,traverse:VY}=_Y,$Y=/^[_$A-Z0-9]+$/;function WY(e,t,r){let{placeholderWhitelist:n,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:a}=r,o=HY(t,r.parser,a);UY(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 VY(o,KY,l),Object.assign({ast:o},l.syntactic.placeholders.length?l.syntactic:l.legacy)}function KY(e,t,r){var n;let s,i=r.syntactic.placeholders.length>0;if(ac(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)||jY(e))s=e.name;else if(Gx(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||$Y).test(s))&&!((n=r.placeholderWhitelist)!=null&&n.has(s)))return;t=t.slice();let{node:a,key:o}=t[t.length-1],l;Gx(e)||ac(e,{expectedNode:"StringLiteral"})?l="string":MY(a)&&o==="arguments"||FY(a)&&o==="arguments"||LY(a)&&o==="params"?l="param":kY(a)&&!ac(e)?(l="statement",t=t.slice(0,-1)):qY(e)&&ac(e)?l="statement":l="other";let{placeholders:u,placeholderNames:c}=i?r.syntactic:r.legacy;u.push({name:s,type:l,resolve:f=>GY(f,t),isDuplicate:c.has(s)}),c.add(s)}function GY(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 HY(e,t,r){let n=(t.plugins||[]).slice();r!==!1&&n.push("placeholders"),t=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:"module"},t,{plugins:n});try{return(0,NY.parse)(e,t)}catch(s){let i=s.loc;throw i&&(s.message+=`
26
- `+(0,BY.codeFrameColumns)(e,{start:i}),s.code="BABEL_TEMPLATE_PARSE_ERROR"),s}}});var Sy=E(Ty=>{"use strict";Object.defineProperty(Ty,"__esModule",{value:!0});Ty.default=ZY;var XY=Be(),{blockStatement:YY,cloneNode:vy,emptyStatement:JY,expressionStatement:Ey,identifier:oc,isStatement:Hx,isStringLiteral:zY,stringLiteral:QY,validate:Xx}=XY;function ZY(e,t){let r=vy(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
27
- placeholder you may want to consider passing one of the following options to @babel/template:
28
- - { placeholderPattern: false, placeholderWhitelist: new Set(['${s}'])}
29
- - { 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{eJ(n,r,t&&t[n.name]||null)}catch(s){throw s.message=`@babel/template placeholder "${n.name}": ${s.message}`,s}}),r}function eJ(e,t,r){e.isDuplicate&&(Array.isArray(r)?r=r.map(o=>vy(o)):typeof r=="object"&&(r=vy(r)));let{parent:n,key:s,index:i}=e.resolve(t);if(e.type==="string"){if(typeof r=="string"&&(r=QY(r)),!r||!zY(r))throw new Error("Expected string substitution")}else if(e.type==="statement")i===void 0?r?Array.isArray(r)?r=YY(r):typeof r=="string"?r=Ey(oc(r)):Hx(r)||(r=Ey(r)):r=JY():r&&!Array.isArray(r)&&(typeof r=="string"&&(r=oc(r)),Hx(r)||(r=Ey(r)));else if(e.type==="param"){if(typeof r=="string"&&(r=oc(r)),i===void 0)throw new Error("Assertion failure.")}else if(typeof r=="string"&&(r=oc(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.typeAnnotation&&(u.typeAnnotation=c.typeAnnotation),c.optional&&(u.optional=c.optional),c.decorators&&(u.decorators=c.decorators))}if(i===void 0)Xx(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),Xx(n,s,o),n[s]=o}}});var Yx=E(xy=>{"use strict";Object.defineProperty(xy,"__esModule",{value:!0});xy.default=sJ;var tJ=qu(),rJ=by(),nJ=Sy();function sJ(e,t,r){t=e.code(t);let n;return s=>{let i=(0,tJ.normalizeReplacements)(s);return n||(n=(0,rJ.default)(e,t,r)),e.unwrap((0,nJ.default)(n,i))}}});var Jx=E(Py=>{"use strict";Object.defineProperty(Py,"__esModule",{value:!0});Py.default=lJ;var iJ=qu(),aJ=by(),oJ=Sy();function lJ(e,t,r){let{metadata:n,names:s}=uJ(e,t,r);return i=>{let a={};return i.forEach((o,l)=>{a[s[l]]=o}),o=>{let l=(0,iJ.normalizeReplacements)(o);return l&&Object.keys(l).forEach(u=>{if(hasOwnProperty.call(a,u))throw new Error("Unexpected replacement overlap.")}),e.unwrap((0,oJ.default)(n,l?Object.assign(l,a):a))}}}function uJ(e,t,r){let n="BABEL_TPL$",s=t.join("");do n="$$"+n;while(s.includes(n));let{names:i,code:a}=cJ(t,n);return{metadata:(0,aJ.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 cJ(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 rP=E(Ay=>{"use strict";Object.defineProperty(Ay,"__esModule",{value:!0});Ay.default=tP;var Vn=qu(),zx=Yx(),Qx=Jx(),Zx=(0,Vn.validate)({placeholderPattern:!1});function tP(e,t){let r=new WeakMap,n=new WeakMap,s=t||(0,Vn.validate)(null);return Object.assign((i,...a)=>{if(typeof i=="string"){if(a.length>1)throw new Error("Unexpected extra params.");return eP((0,zx.default)(e,i,(0,Vn.merge)(s,(0,Vn.validate)(a[0]))))}else if(Array.isArray(i)){let o=r.get(i);return o||(o=(0,Qx.default)(e,i,s),r.set(i,o)),eP(o(a))}else if(typeof i=="object"&&i){if(a.length>0)throw new Error("Unexpected extra params.");return tP(e,(0,Vn.merge)(s,(0,Vn.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,zx.default)(e,i,(0,Vn.merge)((0,Vn.merge)(s,(0,Vn.validate)(a[0])),Zx))()}else if(Array.isArray(i)){let o=n.get(i);return o||(o=(0,Qx.default)(e,i,(0,Vn.merge)(s,Zx)),n.set(i,o)),o(a)()}throw new Error(`Unexpected template param ${typeof i}`)}})}function eP(e){let t="";try{throw new Error}catch(r){r.stack&&(t=r.stack.split(`
30
- `).slice(3).join(`
31
- `))}return r=>{try{return e(r)}catch(n){throw n.stack+=`
32
- =============
33
- ${t}`,n}}}});var nl=E(Kr=>{"use strict";Object.defineProperty(Kr,"__esModule",{value:!0});Kr.statements=Kr.statement=Kr.smart=Kr.program=Kr.expression=Kr.default=void 0;var tl=PS(),rl=rP(),Cy=Kr.smart=(0,rl.default)(tl.smart),fJ=Kr.statement=(0,rl.default)(tl.statement),pJ=Kr.statements=(0,rl.default)(tl.statements),dJ=Kr.expression=(0,rl.default)(tl.expression),hJ=Kr.program=(0,rl.default)(tl.program),JAe=Kr.default=Object.assign(Cy.bind(void 0),{smart:Cy,statement:fJ,statements:pJ,expression:dJ,program:hJ,ast:Cy.ast})});var nP=E(lc=>{"use strict";Object.defineProperty(lc,"__esModule",{value:!0});lc.default=void 0;var mJ=nl();function X(e,t,r){return Object.freeze({minVersion:e,ast:()=>mJ.default.program.ast(t,{preserveComments:!0}),metadata:r})}var yJ=lc.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:{}}),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:{}}),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"]}}),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:{}}),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:{}}),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"]}}),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:{}}),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:{}}),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"]}}),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:{}}),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:{}}),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"]}}),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"]}}),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:{}}),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:{}}),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:{}}),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:{}}),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"]}}),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"]}}),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:{}}),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:{}}),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"]}}),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"]}}),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"]}}),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"]}}),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"]}}),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"]}}),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"]}}),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"]}}),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"]}}),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"]}}),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"]}}),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:{}}),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:{}}),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"]}}),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:{}}),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"]}}),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:{}}),identity:X("7.17.0","function _identity(t){return t}",{globals:[],locals:{_identity:["body.0.id"]},exportBindingAssignments:[],exportName:"_identity",dependencies:{}}),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:{}}),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"]}}),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"]}}),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:{}}),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:{}}),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:{}}),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:{}}),interopRequireWildcard:X("7.14.0",'function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}',{globals:["WeakMap","Object"],locals:{_getRequireWildcardCache:["body.0.id","body.1.body.body.2.declarations.0.init.callee","body.0.body.body.2.argument.callee.left"],_interopRequireWildcard:["body.1.id"]},exportBindingAssignments:[],exportName:"_interopRequireWildcard",dependencies:{}}),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:{}}),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:{}}),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:{}}),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:{}}),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:{}}),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"]}}),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:{}}),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:{}}),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:{}}),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:{}}),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:{}}),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"]}}),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 s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)o=s[r],t.includes(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"]}}),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(e.includes(n))continue;t[n]=r[n]}return t}",{globals:[],locals:{_objectWithoutPropertiesLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutPropertiesLoose",dependencies:{}}),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"]}}),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:{}}),regeneratorRuntime:X("7.18.0",`function _regeneratorRuntime(){"use strict";
34
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},e.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,(function(){return this})),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,(function(){return this})),define(g,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next}return next.done=!0,next}},e.values=values,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}`,{globals:["Object","Symbol","Error","TypeError","isNaN","Promise"],locals:{_regeneratorRuntime:["body.0.id","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_regeneratorRuntime",dependencies:{}}),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"]}}),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:{}}),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:{}}),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:{}}),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"]}}),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"]}}),superPropGet:X("7.25.0",'function _superPropertyGet(t,e,o,r){var p=get(getPrototypeOf(1&r?t.prototype:t),e,o);return 2&r&&"function"==typeof p?function(t){return p.apply(o,t)}:p}',{globals:[],locals:{_superPropertyGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropertyGet",dependencies:{get:["body.0.body.body.0.declarations.0.init.callee"],getPrototypeOf:["body.0.body.body.0.declarations.0.init.arguments.0.callee"]}}),superPropSet:X("7.25.0","function _superPropertySet(t,e,o,r,p,f){return set(getPrototypeOf(f?t.prototype:t),e,o,r,p)}",{globals:[],locals:{_superPropertySet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropertySet",dependencies:{set:["body.0.body.body.0.argument.callee"],getPrototypeOf:["body.0.body.body.0.argument.arguments.0.callee"]}}),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:{}}),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:{}}),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:{}}),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"]}}),temporalUndefined:X("7.0.0-beta.0","function _temporalUndefined(){}",{globals:[],locals:{_temporalUndefined:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalUndefined",dependencies:{}}),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"]}}),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"]}}),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:{}}),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"]}}),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:{}}),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:{}}),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"]}}),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:{}}),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"]}}),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"]}}),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){var t=o[r];return"$"+(Array.isArray(t)?t.join("$"):t)})))}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"]}}),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:{}})};Object.assign(yJ,{AwaitValue:X("7.0.0-beta.0","function _AwaitValue(t){this.wrapped=t}",{globals:[],locals:{_AwaitValue:["body.0.id"]},exportBindingAssignments:[],exportName:"_AwaitValue",dependencies:{}}),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"]}}),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:{}}),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"]}}),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"]}}),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"]}}),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:{}}),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:{}}),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:{}}),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"]}}),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:{}}),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"]}}),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"]}}),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"]}}),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"]}}),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"]}}),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:{}}),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"]}}),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"]}}),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"]}}),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:{}}),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:{}}),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:{}}),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"]}}),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:{}})})});var Dy=E($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.default=void 0;$n.get=aP;$n.getDependencies=TJ;$n.list=void 0;$n.minVersion=vJ;var gJ=Be(),iP=nP(),{cloneNode:bJ,identifier:sP}=gJ;function uc(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 EJ(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[f,p]of(Object.entries||(h=>Object.keys(h).map(b=>[b,h[b]])))(a)){let h=f;if(r&&f===u)h=r;else for(;c.has(h);)h="_"+h;if(h!==f)for(let b of p)uc(e,b,sP(h))}for(let[f,p]of(Object.entries||(h=>Object.keys(h).map(b=>[b,h[b]])))(o)){let h=typeof s=="function"&&s(f)||sP(f);for(let b of p)uc(e,b,bJ(h))}i?.(e,u,f=>{l.forEach(p=>uc(e,p,f(uc(e,p))))})}var wy=Object.create(null);function cc(e){if(!wy[e]){let t=iP.default[e];if(!t)throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e});wy[e]={minVersion:t.minVersion,build(r,n,s,i){let a=t.ast();return EJ(a,t.metadata,n,s,r,i),{nodes:a.body,globals:t.metadata.globals}},getDependencies(){return Object.keys(t.metadata.dependencies)}}}return wy[e]}function aP(e,t,r,n,s){if(typeof r=="object"){let i=r;i?.type==="Identifier"?r=i.name:r=void 0}return cc(e).build(t,r,n,s)}function vJ(e){return cc(e).minVersion}function TJ(e){return cc(e).getDependencies()}$n.ensure=e=>{cc(e)};var ZAe=$n.list=Object.keys(iP.default).map(e=>e.replace(/^_/,"")),eCe=$n.default=aP});var Iy=E(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});et.Var=et.User=et.Statement=et.SpreadProperty=et.Scope=et.RestProperty=et.ReferencedMemberExpression=et.ReferencedIdentifier=et.Referenced=et.Pure=et.NumericLiteralTypeAnnotation=et.Generated=et.ForAwaitStatement=et.Flow=et.Expression=et.ExistentialTypeParam=et.BlockScoped=et.BindingIdentifier=void 0;var rCe=et.ReferencedIdentifier=["Identifier","JSXIdentifier"],nCe=et.ReferencedMemberExpression=["MemberExpression"],sCe=et.BindingIdentifier=["Identifier"],iCe=et.Statement=["Statement"],aCe=et.Expression=["Expression"],oCe=et.Scope=["Scopable","Pattern"],lCe=et.Referenced=null,uCe=et.BlockScoped=null,cCe=et.Var=["VariableDeclaration"],fCe=et.User=null,pCe=et.Generated=null,dCe=et.Pure=null,hCe=et.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],mCe=et.RestProperty=["RestElement"],yCe=et.SpreadProperty=["RestElement"],gCe=et.ExistentialTypeParam=["ExistsTypeAnnotation"],bCe=et.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],ECe=et.ForAwaitStatement=["ForOfStatement"]});var lP=E((TCe,oP)=>{var Aa=1e3,Ca=Aa*60,wa=Ca*60,xi=wa*24,SJ=xi*7,xJ=xi*365.25;oP.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return PJ(e);if(r==="number"&&isFinite(e))return t.long?CJ(e):AJ(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function PJ(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*xJ;case"weeks":case"week":case"w":return r*SJ;case"days":case"day":case"d":return r*xi;case"hours":case"hour":case"hrs":case"hr":case"h":return r*wa;case"minutes":case"minute":case"mins":case"min":case"m":return r*Ca;case"seconds":case"second":case"secs":case"sec":case"s":return r*Aa;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function AJ(e){var t=Math.abs(e);return t>=xi?Math.round(e/xi)+"d":t>=wa?Math.round(e/wa)+"h":t>=Ca?Math.round(e/Ca)+"m":t>=Aa?Math.round(e/Aa)+"s":e+"ms"}function CJ(e){var t=Math.abs(e);return t>=xi?fc(e,t,xi,"day"):t>=wa?fc(e,t,wa,"hour"):t>=Ca?fc(e,t,Ca,"minute"):t>=Aa?fc(e,t,Aa,"second"):e+" ms"}function fc(e,t,r,n){var s=t>=r*1.5;return Math.round(e/r)+" "+n+(s?"s":"")}});var Oy=E((SCe,uP)=>{function wJ(e){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=s,r.enabled=o,r.humanize=lP(),r.destroy=u,Object.keys(e).forEach(c=>{r[c]=e[c]}),r.names=[],r.skips=[],r.formatters={};function t(c){let f=0;for(let p=0;p<c.length;p++)f=(f<<5)-f+c.charCodeAt(p),f|=0;return r.colors[Math.abs(f)%r.colors.length]}r.selectColor=t;function r(c){let f,p=null,h,b;function d(...y){if(!d.enabled)return;let P=d,D=Number(new Date),N=D-(f||D);P.diff=N,P.prev=f,P.curr=D,f=D,y[0]=r.coerce(y[0]),typeof y[0]!="string"&&y.unshift("%O");let B=0;y[0]=y[0].replace(/%([a-zA-Z%])/g,(j,W)=>{if(j==="%%")return"%";B++;let re=r.formatters[W];if(typeof re=="function"){let G=y[B];j=re.call(P,G),y.splice(B,1),B--}return j}),r.formatArgs.call(P,y),(P.log||r.log).apply(P,y)}return d.namespace=c,d.useColors=r.useColors(),d.color=r.selectColor(c),d.extend=n,d.destroy=r.destroy,Object.defineProperty(d,"enabled",{enumerable:!0,configurable:!1,get:()=>p!==null?p:(h!==r.namespaces&&(h=r.namespaces,b=r.enabled(c)),b),set:y=>{p=y}}),typeof r.init=="function"&&r.init(d),d}function n(c,f){let p=r(this.namespace+(typeof f>"u"?":":f)+c);return p.log=this.log,p}function s(c){r.save(c),r.namespaces=c,r.names=[],r.skips=[];let f=(typeof c=="string"?c:"").trim().replace(" ",",").split(",").filter(Boolean);for(let p of f)p[0]==="-"?r.skips.push(p.slice(1)):r.names.push(p)}function i(c,f){let p=0,h=0,b=-1,d=0;for(;p<c.length;)if(h<f.length&&(f[h]===c[p]||f[h]==="*"))f[h]==="*"?(b=h,d=p,h++):(p++,h++);else if(b!==-1)h=b+1,d++,p=d;else return!1;for(;h<f.length&&f[h]==="*";)h++;return h===f.length}function a(){let c=[...r.names,...r.skips.map(f=>"-"+f)].join(",");return r.enable(""),c}function o(c){for(let f of r.skips)if(i(c,f))return!1;for(let f of r.names)if(i(c,f))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}uP.exports=wJ});var cP=E((Hr,pc)=>{Hr.formatArgs=IJ;Hr.save=OJ;Hr.load=_J;Hr.useColors=DJ;Hr.storage=NJ();Hr.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`."))}})();Hr.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 DJ(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function IJ(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+pc.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)}Hr.log=console.debug||console.log||(()=>{});function OJ(e){try{e?Hr.storage.setItem("debug",e):Hr.storage.removeItem("debug")}catch{}}function _J(){let e;try{e=Hr.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function NJ(){try{return localStorage}catch{}}pc.exports=Oy()(Hr);var{formatters:BJ}=pc.exports;BJ.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var pP=E((xCe,fP)=>{"use strict";fP.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 mP=E((PCe,hP)=>{"use strict";var FJ=me("os"),dP=me("tty"),an=pP(),{env:or}=process,$s;an("no-color")||an("no-colors")||an("color=false")||an("color=never")?$s=0:(an("color")||an("colors")||an("color=true")||an("color=always"))&&($s=1);"FORCE_COLOR"in or&&(or.FORCE_COLOR==="true"?$s=1:or.FORCE_COLOR==="false"?$s=0:$s=or.FORCE_COLOR.length===0?1:Math.min(parseInt(or.FORCE_COLOR,10),3));function _y(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Ny(e,t){if($s===0)return 0;if(an("color=16m")||an("color=full")||an("color=truecolor"))return 3;if(an("color=256"))return 2;if(e&&!t&&$s===void 0)return 0;let r=$s||0;if(or.TERM==="dumb")return r;if(process.platform==="win32"){let n=FJ.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in or)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in or)||or.CI_NAME==="codeship"?1:r;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 n=parseInt((or.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(or.TERM_PROGRAM){case"iTerm.app":return n>=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:r}function kJ(e){let t=Ny(e,e&&e.isTTY);return _y(t)}hP.exports={supportsColor:kJ,stdout:_y(Ny(!0,dP.isatty(1))),stderr:_y(Ny(!0,dP.isatty(2)))}});var gP=E((lr,hc)=>{var LJ=me("tty"),dc=me("util");lr.init=$J;lr.log=qJ;lr.formatArgs=jJ;lr.save=UJ;lr.load=VJ;lr.useColors=RJ;lr.destroy=dc.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=mP();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 RJ(){return"colors"in lr.inspectOpts?!!lr.inspectOpts.colors:LJ.isatty(process.stderr.fd)}function jJ(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(`
35
- `).join(`
36
- `+i),e.push(s+"m+"+hc.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=MJ()+t+" "+e[0]}function MJ(){return lr.inspectOpts.hideDate?"":new Date().toISOString()+" "}function qJ(...e){return process.stderr.write(dc.formatWithOptions(lr.inspectOpts,...e)+`
37
- `)}function UJ(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function VJ(){return process.env.DEBUG}function $J(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]]}hc.exports=Oy()(lr);var{formatters:yP}=hc.exports;yP.o=function(e){return this.inspectOpts.colors=this.useColors,dc.inspect(e,this.inspectOpts).split(`
38
- `).map(t=>t.trim()).join(" ")};yP.O=function(e){return this.inspectOpts.colors=this.useColors,dc.inspect(e,this.inspectOpts)}});var Pi=E((ACe,By)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?By.exports=cP():By.exports=gP()});var ky=E(tr=>{"use strict";Object.defineProperty(tr,"__esModule",{value:!0});tr.isBindingIdentifier=pz;tr.isBlockScoped=gz;tr.isExpression=hz;tr.isFlow=Sz;tr.isForAwaitStatement=Az;tr.isGenerated=vz;tr.isPure=Tz;tr.isReferenced=yz;tr.isReferencedIdentifier=cz;tr.isReferencedMemberExpression=fz;tr.isRestProperty=xz;tr.isScope=mz;tr.isSpreadProperty=Pz;tr.isStatement=dz;tr.isUser=Ez;tr.isVar=bz;var WJ=Be(),{isBinding:KJ,isBlockScoped:GJ,isExportDeclaration:HJ,isExpression:XJ,isFlow:YJ,isForStatement:JJ,isForXStatement:zJ,isIdentifier:bP,isImportDeclaration:QJ,isImportSpecifier:ZJ,isJSXIdentifier:ez,isJSXMemberExpression:tz,isMemberExpression:rz,isRestElement:EP,isReferenced:Fy,isScope:nz,isStatement:sz,isVar:iz,isVariableDeclaration:az,react:oz,isForOfStatement:lz}=WJ,{isCompatTag:uz}=oz;function cz(e){let{node:t,parent:r}=this;if(!bP(t,e)&&!tz(r,e))if(ez(t,e)){if(uz(t.name))return!1}else return!1;return Fy(t,r,this.parentPath.parent)}function fz(){let{node:e,parent:t}=this;return rz(e)&&Fy(e,t)}function pz(){let{node:e,parent:t}=this,r=this.parentPath.parent;return bP(e)&&KJ(e,t,r)}function dz(){let{node:e,parent:t}=this;return sz(e)?!(az(e)&&(zJ(t,{left:e})||JJ(t,{init:e}))):!1}function hz(){return this.isIdentifier()?this.isReferencedIdentifier():XJ(this.node)}function mz(){return nz(this.node,this.parent)}function yz(){return Fy(this.node,this.parent)}function gz(){return GJ(this.node)}function bz(){return iz(this.node)}function Ez(){return this.node&&!!this.node.loc}function vz(){return!this.isUser()}function Tz(e){return this.scope.isPure(this.node,e)}function Sz(){let{node:e}=this;return YJ(e)?!0:QJ(e)?e.importKind==="type"||e.importKind==="typeof":HJ(e)?e.exportKind==="type":ZJ(e)?e.importKind==="type"||e.importKind==="typeof":!1}function xz(){var e;return EP(this.node)&&((e=this.parentPath)==null?void 0:e.isObjectPattern())}function Pz(){var e;return EP(this.node)&&((e=this.parentPath)==null?void 0:e.isObjectExpression())}function Az(){return lz(this.node,{await:!0})}tr.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},tr.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var il=E(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.environmentVisitor=Bz;Ci.explode=OP;Ci.isExplodedVisitor=IP;Ci.merge=NP;Ci.verify=_P;var DP=Iy(),Cz=ky(),wz=Be(),vP=Wn(),{DEPRECATED_KEYS:TP,DEPRECATED_ALIASES:SP,FLIPPED_ALIAS_KEYS:xP,TYPES:Dz,__internal__deprecationWarning:PP}=wz;function Iz(e){return e in DP}function IP(e){return e?._exploded}function OP(e){if(IP(e))return e;e._exploded=!0;for(let t of Object.keys(e)){if(Ai(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}_P(e),delete e.__esModule,Oz(e),wP(e);for(let t of Object.keys(e)){if(Ai(t)||!Iz(t))continue;let r=e[t];for(let s of Object.keys(r))r[s]=_z(t,r[s]);delete e[t];let n=DP[t];if(n!==null)for(let s of n)e[s]?sl(e[s],r):e[s]=r;else sl(e,r)}for(let t of Object.keys(e)){if(Ai(t))continue;let r=xP[t];if(t in TP){let s=TP[t];PP(t,s,"Visitor "),r=[s]}else if(t in SP){let s=SP[t];PP(t,s,"Visitor "),r=xP[s]}if(!r)continue;let n=e[t];delete e[t];for(let s of r){let i=e[s];i?sl(i,n):e[s]=Object.assign({},n)}}for(let t of Object.keys(e))Ai(t)||wP(e[t]);return e}function _P(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")&&AP(t,e[t]),Ai(t))continue;if(!Dz.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.25.6`);let r=e[t];if(typeof r=="object")for(let n of Object.keys(r))if(n==="enter"||n==="exit")AP(`${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 AP(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 NP(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=OP(e[s]),a=t[s],o=i;(a||r)&&(o=CP(o,a,r)),sl(n,o);for(let l of Object.keys(i)){if(Ai(l))continue;let u=i[l];(a||r)&&(u=CP(u,a,r));let c=n[l]||(n[l]={});sl(c,u)}}return n}function CP(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?.key,s,o)),o!==a&&(o.toString=()=>a.toString()),o}),n[s]=i)}return n}function Oz(e){for(let t of Object.keys(e)){if(Ai(t))continue;let r=e[t];typeof r=="function"&&(e[t]={enter:r})}}function wP(e){e.enter&&!Array.isArray(e.enter)&&(e.enter=[e.enter]),e.exit&&!Array.isArray(e.exit)&&(e.exit=[e.exit])}function _z(e,t){let r=`is${e}`,n=Cz[r],s=function(i){if(n.call(i))return t.apply(this,arguments)};return s.toString=()=>t.toString(),s}function Ai(e){return e[0]==="_"||e==="enter"||e==="exit"||e==="shouldSkip"||e==="denylist"||e==="noScope"||e==="skipKeys"||e==="blacklist"}function sl(e,t){for(let r of["enter","exit"])t[r]&&(e[r]=[].concat(e[r]||[],t[r]))}var Nz={FunctionParent(e){e.isArrowFunctionExpression()||(e.skip(),e.isMethod()&&(e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():vP.requeueComputedKeyAndDecorators.call(e)))},Property(e){e.isObjectProperty()||(e.skip(),e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():vP.requeueComputedKeyAndDecorators.call(e))}};function Bz(e){return NP([Nz,e])}});var BP=E(yc=>{"use strict";Object.defineProperty(yc,"__esModule",{value:!0});yc.default=void 0;var mc=Be(),Fz=mc,kz=gc(),Lz=il(),Rz=Wn(),{getAssignmentIdentifiers:jz}=Fz,Mz={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():Rz.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()?jz(e.node):e.getOuterBindingIdentifiers();for(let n in r)n===t.oldName&&(r[n].name=t.newName)}},Ly=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(mc.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};mc.isMethod(o)&&(o.computed&&(l.key=!0),mc.isObjectMethod(o)||(l.decorators=!0)),(0,kz.traverseNode)(o,(0,Lz.explode)(Mz),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))}};yc.default=Ly});var FP=E(bc=>{"use strict";Object.defineProperty(bc,"__esModule",{value:!0});bc.default=void 0;var Ry=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")&&qz(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}};bc.default=Ry;function qz(e){for(let{parentPath:t,key:r}=e;t;{parentPath:t,key:r}=t){if(t.isFunctionParent())return!1;if(t.isWhile()||t.isForXStatement()||t.isForStatement()&&r==="body")return!0}return!1}});var kP=E((OCe,Uz)=>{Uz.exports={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}}});var RP=E((_Ce,LP)=>{"use strict";LP.exports=kP()});var wi=E(Xr=>{"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});Xr.clear=$z;Xr.clearPath=jP;Xr.clearScope=MP;Xr.getCachedPaths=Wz;Xr.getOrCreateCachedPaths=Kz;Xr.scope=Xr.path=void 0;var Ec=Xr.path=new WeakMap,Vz=Xr.scope=new WeakMap;function $z(){jP(),MP()}function jP(){Xr.path=Ec=new WeakMap}function MP(){Xr.scope=Vz=new WeakMap}var jy=Object.freeze({});function Wz(e,t){var r,n;return e=null,(r=Ec.get((n=e)!=null?n:jy))==null?void 0:r.get(t)}function Kz(e,t){var r,n;e=null;let s=Ec.get((r=e)!=null?r:jy);s||Ec.set((n=e)!=null?n:jy,s=new WeakMap);let i=s.get(t);return i||s.set(t,i=new Map),i}});var Vy=E(Tc=>{"use strict";Object.defineProperty(Tc,"__esModule",{value:!0});Tc.default=void 0;var Gz=BP(),Hz=rr(),Xz=FP(),Yz=RP(),YP=Be(),Jz=YP,qP=wi(),zz=il(),{NOT_LOCAL_BINDING:UP,assignmentExpression:Qz,callExpression:VP,cloneNode:$P,getBindingIdentifiers:JP,identifier:Di,isArrayExpression:WP,isBinary:Zz,isCallExpression:KP,isClass:eQ,isClassBody:tQ,isClassDeclaration:rQ,isExportAllDeclaration:zP,isExportDefaultDeclaration:nQ,isExportNamedDeclaration:My,isFunctionDeclaration:sQ,isIdentifier:Ii,isImportDeclaration:qy,isLiteral:iQ,isMemberExpression:aQ,isMethod:oQ,isModuleSpecifier:lQ,isNullLiteral:uQ,isObjectExpression:cQ,isProperty:fQ,isPureish:pQ,isRegExpLiteral:dQ,isSuper:hQ,isTaggedTemplateExpression:mQ,isTemplateLiteral:QP,isThisExpression:GP,isUnaryExpression:yQ,isVariableDeclaration:gQ,expressionStatement:bQ,matchesPattern:HP,memberExpression:Uy,numericLiteral:EQ,toIdentifier:vQ,variableDeclaration:TQ,variableDeclarator:SQ,isRecordExpression:xQ,isTupleExpression:PQ,isObjectProperty:AQ,isTopicReference:XP,isMetaProperty:CQ,isPrivateName:wQ,isExportDeclaration:DQ,buildUndefinedNode:IQ,sequenceExpression:OQ}=YP;function _t(e,t){switch(e?.type){default:if(qy(e)||DQ(e)){var r;if((zP(e)||My(e)||qy(e))&&e.source)_t(e.source,t);else if((My(e)||qy(e))&&(r=e.specifiers)!=null&&r.length)for(let n of e.specifiers)_t(n,t);else(nQ(e)||My(e))&&e.declaration&&_t(e.declaration,t)}else lQ(e)?_t(e.local,t):iQ(e)&&!uQ(e)&&!dQ(e)&&!QP(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":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}}var vc={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)},ReferencedIdentifier(e,t){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(zP(t))return;let n=t.declaration;if(rQ(n)||sQ(n)){let s=n.id;if(!s)return;let i=r.getBinding(s.name);i?.reference(e)}else if(gQ(n))for(let s of n.declarations)for(let i of Object.keys(JP(s))){let a=r.getBinding(i);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[UP]&&e.scope.registerBinding("local",e.get("id"),e)},ClassExpression(e){e.node.id&&!e.node.id[UP]&&e.scope.registerBinding("local",e.get("id"),e)},TSTypeAnnotation(e){e.skip()}},_Q=0,al=class e{constructor(t){this.uid=void 0,this.path=void 0,this.block=void 0,this.labels=void 0,this.inited=void 0,this.bindings=void 0,this.references=void 0,this.globals=void 0,this.uids=void 0,this.data=void 0,this.crawling=void 0;let{node:r}=t,n=qP.scope.get(r);if(n?.path===t)return n;qP.scope.set(r,this),this.uid=_Q++,this.block=r,this.path=t,this.labels=new Map,this.inited=!1}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 parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(t,r,n){(0,Hz.default)(t,r,this,n,this.path)}generateDeclaredUidIdentifier(t){let r=this.generateUidIdentifier(t);return this.push({id:r}),$P(r)}generateUidIdentifier(t){return Di(this.generateUid(t))}generateUid(t="temp"){t=vQ(t).replace(/^_+/,"").replace(/\d+$/g,"");let r,n=1;do r=this._generateUid(t,n),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}_generateUid(t,r){let n=t;return r>1&&(n+=r),`_${n}`}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 Di(this.generateUidBasedOnNode(t,r))}isStatic(t){if(GP(t)||hQ(t)||XP(t))return!0;if(Ii(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}),$P(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.hub.buildError(s,`Duplicate declaration "${n}"`,TypeError)}rename(t,r){let n=this.getBinding(t);n&&(r||(r=this.generateUidIdentifier(t).name),new Gz.default(n,t,r).rename(arguments[2]))}_renameFromMap(t,r,n,s){t[r]&&(t[n]=s,t[r]=null)}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)}toArray(t,r,n){if(Ii(t)){let a=this.getBinding(t.name);if(a!=null&&a.constant&&a.path.isGenericType("Array"))return t}if(WP(t))return t;if(Ii(t,{name:"arguments"}))return VP(Uy(Uy(Uy(Di("Array"),Di("prototype")),Di("slice")),Di("call")),[t]);let s,i=[t];return r===!0?s="toConsumableArray":typeof r=="number"?(i.push(EQ(r)),s="slicedToArray"):s="toArray",n&&(i.unshift(this.hub.addHelper(s)),s="maybeArrayLike"),VP(this.hub.addHelper(s),i)}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 IQ()}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 Xz.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(Ii(t)){let a=this.getBinding(t.name);return a?r?a.constant:!0:!1}else{if(GP(t)||CQ(t)||XP(t)||wQ(t))return!0;if(eQ(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(tQ(t)){for(let a of t.body)if(!this.isPure(a,r))return!1;return!0}else{if(Zz(t))return this.isPure(t.left,r)&&this.isPure(t.right,r);if(WP(t)||PQ(t)){for(let a of t.elements)if(a!==null&&!this.isPure(a,r))return!1;return!0}else if(cQ(t)||xQ(t)){for(let a of t.properties)if(!this.isPure(a,r))return!1;return!0}else if(oQ(t)){var s;return!(t.computed&&!this.isPure(t.key,r)||((s=t.decorators)==null?void 0:s.length)>0)}else if(fQ(t)){var i;return!(t.computed&&!this.isPure(t.key,r)||((i=t.decorators)==null?void 0:i.length)>0||(AQ(t)||t.static)&&t.value!==null&&!this.isPure(t.value,r))}else{if(yQ(t))return this.isPure(t.argument,r);if(QP(t)){for(let a of t.expressions)if(!this.isPure(a,r))return!1;return!0}else return mQ(t)?HP(t.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(t.quasi,r):aQ(t)?!t.computed&&Ii(t.object)&&t.object.name==="Symbol"&&Ii(t.property)&&t.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0}):KP(t)?HP(t.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&t.arguments.length===1&&Jz.isStringLiteral(t.arguments[0]):pQ(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;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);let r=this.getProgramParent();if(r.crawling)return;let n={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,t.type!=="Program"&&(0,zz.isExplodedVisitor)(vc)){for(let i of vc.enter)i.call(n,t,n);let s=vc[t.type];if(s)for(let i of s.enter)i.call(n,t,n)}t.traverse(vc,n),this.crawling=!1;for(let s of n.assignments){let i=s.getAssignmentIdentifiers();for(let a of Object.keys(i))s.scope.getBinding(a)||r.addGlobal(i[a]);s.scope.registerConstantViolation(s)}for(let s of n.references){let i=s.scope.getBinding(s.node.name);i?i.reference(s):r.addGlobal(s.node)}for(let s of n.constantViolations)s.scope.registerConstantViolation(s)}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&&KP(r.parent,{callee:r.node})&&r.parent.arguments.length<=r.node.params.length&&Ii(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 p=TQ(i,[]);p._blockHoist=o,[u]=r.unshiftContainer("body",[p]),s||r.setData(l,u)}let c=SQ(a,n),f=u.node.declarations.push(c);r.scope.registerBinding(i,u.get("declarations")[f-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}getAllBindingsOfKind(...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}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?.identifier}hasOwnBinding(t){return!!this.getOwnBinding(t)}hasBinding(t,r){if(!t)return!1;let n=this;do if(n.hasOwnBinding(t))return!0;while(n=n.parent);let s,i;return typeof r=="object"?(s=r.noGlobals,i=r.noUids):typeof r=="boolean"&&(s=r),!!(!i&&this.hasUid(t)||!s&&e.globals.includes(t)||!s&&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 s of Object.keys(this.bindings)){let i=this.bindings[s];if(!i)continue;let{path:a}=i;if(!a.isVariableDeclarator())continue;let{parent:o,parentPath:l}=a;if(o.kind!=="var"||r.has(o))continue;r.add(a.parent);let u,c=[];for(let f of o.declarations){var n;(n=u)!=null||(u=f.id),f.init&&c.push(Qz("=",f.id,f.init));let p=Object.keys(JP(f,!1,!0,!0));for(let h of p)t(Di(h),f.init!=null)}if(l.parentPath.isFor({left:o}))l.replaceWith(u);else if(c.length===0)l.remove();else{let f=c.length===1?c[0]:OQ(c);l.parentPath.isForStatement({init:o})?l.replaceWith(f):l.replaceWith(bQ(f))}}}};Tc.default=al;al.globals=Object.keys(Yz.builtin);al.contextVariables=["arguments","undefined","Infinity","NaN"]});var eA=E((Sc,ZP)=>{(function(e,t){typeof Sc=="object"&&typeof ZP<"u"?t(Sc):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.setArray={}))})(Sc,function(e){"use strict";class t{constructor(){this._indexes={__proto__:null},this.array=[]}}function r(o){return o}function n(o,l){return o._indexes[l]}function s(o,l){let u=n(o,l);if(u!==void 0)return u;let{array:c,_indexes:f}=o,p=c.push(l);return f[l]=p-1}function i(o){let{array:l,_indexes:u}=o;if(l.length===0)return;let c=l.pop();u[c]=void 0}function a(o,l){let u=n(o,l);if(u===void 0)return;let{array:c,_indexes:f}=o;for(let p=u+1;p<c.length;p++){let h=c[p];c[p-1]=h,f[h]--}f[l]=void 0,c.pop()}e.SetArray=t,e.get=n,e.pop=i,e.put=s,e.remove=a,Object.defineProperty(e,"__esModule",{value:!0})})});var $y=E((xc,tA)=>{(function(e,t){typeof xc=="object"&&typeof tA<"u"?t(xc):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.sourcemapCodec={}))})(xc,function(e){"use strict";let n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=new Uint8Array(64),i=new Uint8Array(128);for(let G=0;G<n.length;G++){let V=n.charCodeAt(G);s[G]=V,i[V]=G}function a(G,V){let R=0,H=0,ge=0;do{let ne=G.next();ge=i[ne],R|=(ge&31)<<H,H+=5}while(ge&32);let fe=R&1;return R>>>=1,fe&&(R=-2147483648|-R),V+R}function o(G,V,R){let H=V-R;H=H<0?-H<<1|1:H<<1;do{let ge=H&31;H>>>=5,H>0&&(ge|=32),G.write(s[ge])}while(H>0);return V}function l(G,V){return G.pos>=V?!1:G.peek()!==44}let u=1024*16,c=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(G){return Buffer.from(G.buffer,G.byteOffset,G.byteLength).toString()}}:{decode(G){let V="";for(let R=0;R<G.length;R++)V+=String.fromCharCode(G[R]);return V}};class f{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(u)}write(V){let{buffer:R}=this;R[this.pos++]=V,this.pos===u&&(this.out+=c.decode(R),this.pos=0)}flush(){let{buffer:V,out:R,pos:H}=this;return H>0?R+c.decode(V.subarray(0,H)):R}}class p{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:R,pos:H}=this,ge=R.indexOf(V,H);return ge===-1?R.length:ge}}let h=[];function b(G){let{length:V}=G,R=new p(G),H=[],ge=[],fe=0;for(;R.pos<V;R.pos++){fe=a(R,fe);let ne=a(R,0);if(!l(R,V)){let ke=ge.pop();ke[2]=fe,ke[3]=ne;continue}let te=a(R,0),xe=a(R,0)&1?[fe,ne,0,0,te,a(R,0)]:[fe,ne,0,0,te],Ie=h;if(l(R,V)){Ie=[];do{let ke=a(R,0);Ie.push(ke)}while(l(R,V))}xe.vars=Ie,H.push(xe),ge.push(xe)}return H}function d(G){let V=new f;for(let R=0;R<G.length;)R=y(G,R,V,[0]);return V.flush()}function y(G,V,R,H){let ge=G[V],{0:fe,1:ne,2:te,3:ue,4:pe,vars:xe}=ge;V>0&&R.write(44),H[0]=o(R,fe,H[0]),o(R,ne,0),o(R,pe,0);let Ie=ge.length===6?1:0;o(R,Ie,0),ge.length===6&&o(R,ge[5],0);for(let ke of xe)o(R,ke,0);for(V++;V<G.length;){let ke=G[V],{0:be,1:qe}=ke;if(be>te||be===te&&qe>=ue)break;V=y(G,V,R,H)}return R.write(44),H[0]=o(R,te,H[0]),o(R,ue,0),V}function P(G){let{length:V}=G,R=new p(G),H=[],ge=[],fe=0,ne=0,te=0,ue=0,pe=0,xe=0,Ie=0,ke=0;do{let be=R.indexOf(";"),qe=0;for(;R.pos<be;R.pos++){if(qe=a(R,qe),!l(R,be)){let Zt=ge.pop();Zt[2]=fe,Zt[3]=qe;continue}let Lt=a(R,0),wt=Lt&1,we=Lt&2,Dt=Lt&4,Ut=null,Yt=h,sr;if(wt){let Zt=a(R,ne);te=a(R,ne===Zt?te:0),ne=Zt,sr=[fe,qe,0,0,Zt,te]}else sr=[fe,qe,0,0];if(sr.isScope=!!Dt,we){let Zt=ue,Vr=pe;ue=a(R,ue);let kn=Zt===ue;pe=a(R,kn?pe:0),xe=a(R,kn&&Vr===pe?xe:0),Ut=[ue,pe,xe]}if(sr.callsite=Ut,l(R,be)){Yt=[];do{Ie=fe,ke=qe;let Zt=a(R,0),Vr;if(Zt<-1){Vr=[[a(R,0)]];for(let kn=-1;kn>Zt;kn--){let ts=Ie;Ie=a(R,Ie),ke=a(R,Ie===ts?ke:0);let Tn=a(R,0);Vr.push([Tn,Ie,ke])}}else Vr=[[Zt]];Yt.push(Vr)}while(l(R,be))}sr.bindings=Yt,H.push(sr),ge.push(sr)}fe++,R.pos=be+1}while(R.pos<V);return H}function D(G){if(G.length===0)return"";let V=new f;for(let R=0;R<G.length;)R=N(G,R,V,[0,0,0,0,0,0,0]);return V.flush()}function N(G,V,R,H){let ge=G[V],{0:fe,1:ne,2:te,3:ue,isScope:pe,callsite:xe,bindings:Ie}=ge;H[0]<fe?(B(R,H[0],fe),H[0]=fe,H[1]=0):V>0&&R.write(44),H[1]=o(R,ge[1],H[1]);let ke=(ge.length===6?1:0)|(xe?2:0)|(pe?4:0);if(o(R,ke,0),ge.length===6){let{4:be,5:qe}=ge;be!==H[2]&&(H[3]=0),H[2]=o(R,be,H[2]),H[3]=o(R,qe,H[3])}if(xe){let{0:be,1:qe,2:Lt}=ge.callsite;be!==H[4]?(H[5]=0,H[6]=0):qe!==H[5]&&(H[6]=0),H[4]=o(R,be,H[4]),H[5]=o(R,qe,H[5]),H[6]=o(R,Lt,H[6])}if(Ie)for(let be of Ie){be.length>1&&o(R,-be.length,0);let qe=be[0][0];o(R,qe,0);let Lt=fe,wt=ne;for(let we=1;we<be.length;we++){let Dt=be[we];Lt=o(R,Dt[1],Lt),wt=o(R,Dt[2],wt),o(R,Dt[0],0)}}for(V++;V<G.length;){let be=G[V],{0:qe,1:Lt}=be;if(qe>te||qe===te&&Lt>=ue)break;V=N(G,V,R,H)}return H[0]<te?(B(R,H[0],te),H[0]=te,H[1]=0):R.write(44),H[1]=o(R,ue,H[1]),V}function B(G,V,R){do G.write(59);while(++V<R)}function F(G){let{length:V}=G,R=new p(G),H=[],ge=0,fe=0,ne=0,te=0,ue=0;do{let pe=R.indexOf(";"),xe=[],Ie=!0,ke=0;for(ge=0;R.pos<pe;){let be;ge=a(R,ge),ge<ke&&(Ie=!1),ke=ge,l(R,pe)?(fe=a(R,fe),ne=a(R,ne),te=a(R,te),l(R,pe)?(ue=a(R,ue),be=[ge,fe,ne,te,ue]):be=[ge,fe,ne,te]):be=[ge],xe.push(be),R.pos++}Ie||j(xe),H.push(xe),R.pos=pe+1}while(R.pos<=V);return H}function j(G){G.sort(W)}function W(G,V){return G[0]-V[0]}function re(G){let V=new f,R=0,H=0,ge=0,fe=0;for(let ne=0;ne<G.length;ne++){let te=G[ne];if(ne>0&&V.write(59),te.length===0)continue;let ue=0;for(let pe=0;pe<te.length;pe++){let xe=te[pe];pe>0&&V.write(44),ue=o(V,xe[0],ue),xe.length!==1&&(R=o(V,xe[1],R),H=o(V,xe[2],H),ge=o(V,xe[3],ge),xe.length!==4&&(fe=o(V,xe[4],fe)))}}return V.flush()}e.decode=F,e.decodeGeneratedRanges=P,e.decodeOriginalScopes=b,e.encode=re,e.encodeGeneratedRanges=D,e.encodeOriginalScopes=d,Object.defineProperty(e,"__esModule",{value:!0})})});var rA=E((Wy,Ky)=>{(function(e,t){typeof Wy=="object"&&typeof Ky<"u"?Ky.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self,e.resolveURI=t())})(Wy,function(){"use strict";let e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function n(y){return e.test(y)}function s(y){return y.startsWith("//")}function i(y){return y.startsWith("/")}function a(y){return y.startsWith("file:")}function o(y){return/^[.?#]/.test(y)}function l(y){let P=t.exec(y);return c(P[1],P[2]||"",P[3],P[4]||"",P[5]||"/",P[6]||"",P[7]||"")}function u(y){let P=r.exec(y),D=P[2];return c("file:","",P[1]||"","",i(D)?D:"/"+D,P[3]||"",P[4]||"")}function c(y,P,D,N,B,F,j){return{scheme:y,user:P,host:D,port:N,path:B,query:F,hash:j,type:7}}function f(y){if(s(y)){let D=l("http:"+y);return D.scheme="",D.type=6,D}if(i(y)){let D=l("http://foo.com"+y);return D.scheme="",D.host="",D.type=5,D}if(a(y))return u(y);if(n(y))return l(y);let P=l("http://foo.com/"+y);return P.scheme="",P.host="",P.type=y?y.startsWith("?")?3:y.startsWith("#")?2:4:1,P}function p(y){if(y.endsWith("/.."))return y;let P=y.lastIndexOf("/");return y.slice(0,P+1)}function h(y,P){b(P,P.type),y.path==="/"?y.path=P.path:y.path=p(P.path)+y.path}function b(y,P){let D=P<=4,N=y.path.split("/"),B=1,F=0,j=!1;for(let re=1;re<N.length;re++){let G=N[re];if(!G){j=!0;continue}if(j=!1,G!=="."){if(G===".."){F?(j=!0,F--,B--):D&&(N[B++]=G);continue}N[B++]=G,F++}}let W="";for(let re=1;re<B;re++)W+="/"+N[re];(!W||j&&!W.endsWith("/.."))&&(W+="/"),y.path=W}function d(y,P){if(!y&&!P)return"";let D=f(y),N=D.type;if(P&&N!==7){let F=f(P),j=F.type;switch(N){case 1:D.hash=F.hash;case 2:D.query=F.query;case 3:case 4:h(D,F);case 5:D.user=F.user,D.host=F.host,D.port=F.port;case 6:D.scheme=F.scheme}j>N&&(N=j)}b(D,N);let B=D.query+D.hash;switch(N){case 2:case 3:return B;case 4:{let F=D.path.slice(1);return F?o(P||y)&&!o(F)?"./"+F+B:F+B:B||"."}case 5:return D.path+B;default:return D.scheme+"//"+D.user+D.host+D.port+D.path+B}}return d})});var Ac=E((Pc,nA)=>{(function(e,t){typeof Pc=="object"&&typeof nA<"u"?t(Pc,$y(),rA()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/sourcemap-codec","@jridgewell/resolve-uri"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.traceMapping={},e.sourcemapCodec,e.resolveURI))})(Pc,function(e,t,r){"use strict";function n(k,$){return $&&!$.endsWith("/")&&($+="/"),r(k,$)}function s(k){if(!k)return"";let $=k.lastIndexOf("/");return k.slice(0,$+1)}let i=0,a=1,o=2,l=3,u=4,c=1,f=2;function p(k,$){let Y=h(k,0);if(Y===k.length)return k;$||(k=k.slice());for(let se=Y;se<k.length;se=h(k,se+1))k[se]=d(k[se],$);return k}function h(k,$){for(let Y=$;Y<k.length;Y++)if(!b(k[Y]))return Y;return k.length}function b(k){for(let $=1;$<k.length;$++)if(k[$][i]<k[$-1][i])return!1;return!0}function d(k,$){return $||(k=k.slice()),k.sort(y)}function y(k,$){return k[i]-$[i]}let P=!1;function D(k,$,Y,se){for(;Y<=se;){let Ee=Y+(se-Y>>1),he=k[Ee][i]-$;if(he===0)return P=!0,Ee;he<0?Y=Ee+1:se=Ee-1}return P=!1,Y-1}function N(k,$,Y){for(let se=Y+1;se<k.length&&k[se][i]===$;Y=se++);return Y}function B(k,$,Y){for(let se=Y-1;se>=0&&k[se][i]===$;Y=se--);return Y}function F(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function j(k,$,Y,se){let{lastKey:Ee,lastNeedle:he,lastIndex:_e}=Y,Ve=0,Fe=k.length-1;if(se===Ee){if($===he)return P=_e!==-1&&k[_e][i]===$,_e;$>=he?Ve=_e===-1?0:_e:Fe=_e}return Y.lastKey=se,Y.lastNeedle=$,Y.lastIndex=D(k,$,Ve,Fe)}function W(k,$){let Y=$.map(G);for(let se=0;se<k.length;se++){let Ee=k[se];for(let he=0;he<Ee.length;he++){let _e=Ee[he];if(_e.length===1)continue;let Ve=_e[a],Fe=_e[o],$e=_e[l],Jt=Y[Ve],ut=Jt[Fe]||(Jt[Fe]=[]),Ze=$[Ve],It=N(ut,$e,j(ut,$e,Ze,Fe));Ze.lastIndex=++It,re(ut,It,[$e,se,_e[i]])}}return Y}function re(k,$,Y){for(let se=k.length;se>$;se--)k[se]=k[se-1];k[$]=Y}function G(){return{__proto__:null}}let V=function(k,$){let Y=R(k);if(!("sections"in Y))return new Ie(Y,$);let se=[],Ee=[],he=[],_e=[],Ve=[];H(Y,$,se,Ee,he,_e,Ve,0,0,1/0,1/0);let Fe={version:3,file:Y.file,names:_e,sources:Ee,sourcesContent:he,mappings:se,ignoreList:Ve};return Vr(Fe)};function R(k){return typeof k=="string"?JSON.parse(k):k}function H(k,$,Y,se,Ee,he,_e,Ve,Fe,$e,Jt){let{sections:ut}=k;for(let Ze=0;Ze<ut.length;Ze++){let{map:It,offset:Vt}=ut[Ze],ir=$e,Rn=Jt;if(Ze+1<ut.length){let ks=ut[Ze+1].offset;ir=Math.min($e,Ve+ks.line),ir===$e?Rn=Math.min(Jt,Fe+ks.column):ir<$e&&(Rn=Fe+ks.column)}ge(It,$,Y,se,Ee,he,_e,Ve+Vt.line,Fe+Vt.column,ir,Rn)}}function ge(k,$,Y,se,Ee,he,_e,Ve,Fe,$e,Jt){let ut=R(k);if("sections"in ut)return H(...arguments);let Ze=new Ie(ut,$),It=se.length,Vt=he.length,ir=qe(Ze),{resolvedSources:Rn,sourcesContent:ks,ignoreList:To}=Ze;if(fe(se,Rn),fe(he,Ze.names),ks)fe(Ee,ks);else for(let wr=0;wr<Rn.length;wr++)Ee.push(null);if(To)for(let wr=0;wr<To.length;wr++)_e.push(To[wr]+It);for(let wr=0;wr<ir.length;wr++){let la=Ve+wr;if(la>$e)return;let So=ne(Y,la),Z3=wr===0?Fe:0,Ev=ir[wr];for(let md=0;md<Ev.length;md++){let hi=Ev[md],mu=Z3+hi[i];if(la===$e&&mu>=Jt)return;if(hi.length===1){So.push([mu]);continue}let vv=It+hi[a],Tv=hi[o],Sv=hi[l];So.push(hi.length===4?[mu,vv,Tv,Sv]:[mu,vv,Tv,Sv,Vt+hi[u]])}}}function fe(k,$){for(let Y=0;Y<$.length;Y++)k.push($[Y])}function ne(k,$){for(let Y=k.length;Y<=$;Y++)k[Y]=[];return k[$]}let te="`line` must be greater than 0 (lines start at line 1)",ue="`column` must be greater than or equal to 0 (columns start at column 0)",pe=-1,xe=1;class Ie{constructor($,Y){let se=typeof $=="string";if(!se&&$._decodedMemo)return $;let Ee=se?JSON.parse($):$,{version:he,file:_e,names:Ve,sourceRoot:Fe,sources:$e,sourcesContent:Jt}=Ee;this.version=he,this.file=_e,this.names=Ve||[],this.sourceRoot=Fe,this.sources=$e,this.sourcesContent=Jt,this.ignoreList=Ee.ignoreList||Ee.x_google_ignoreList||void 0;let ut=n(Fe||"",s(Y));this.resolvedSources=$e.map(It=>n(It||"",ut));let{mappings:Ze}=Ee;typeof Ze=="string"?(this._encoded=Ze,this._decoded=void 0):(this._encoded=void 0,this._decoded=p(Ze,se)),this._decodedMemo=F(),this._bySources=void 0,this._bySourceMemos=void 0}}function ke(k){return k}function be(k){var $,Y;return($=(Y=k)._encoded)!==null&&$!==void 0?$:Y._encoded=t.encode(k._decoded)}function qe(k){var $;return($=k)._decoded||($._decoded=t.decode(k._encoded))}function Lt(k,$,Y){let se=qe(k);if($>=se.length)return null;let Ee=se[$],he=rs(Ee,k._decodedMemo,$,Y,xe);return he===-1?null:Ee[he]}function wt(k,$){let{line:Y,column:se,bias:Ee}=$;if(Y--,Y<0)throw new Error(te);if(se<0)throw new Error(ue);let he=qe(k);if(Y>=he.length)return Ln(null,null,null,null);let _e=he[Y],Ve=rs(_e,k._decodedMemo,Y,se,Ee||xe);if(Ve===-1)return Ln(null,null,null,null);let Fe=_e[Ve];if(Fe.length===1)return Ln(null,null,null,null);let{names:$e,resolvedSources:Jt}=k;return Ln(Jt[Fe[a]],Fe[o]+1,Fe[l],Fe.length===5?$e[Fe[u]]:null)}function we(k,$){let{source:Y,line:se,column:Ee,bias:he}=$;return oe(k,Y,se,Ee,he||xe,!1)}function Dt(k,$){let{source:Y,line:se,column:Ee,bias:he}=$;return oe(k,Y,se,Ee,he||pe,!0)}function Ut(k,$){let Y=qe(k),{names:se,resolvedSources:Ee}=k;for(let he=0;he<Y.length;he++){let _e=Y[he];for(let Ve=0;Ve<_e.length;Ve++){let Fe=_e[Ve],$e=he+1,Jt=Fe[0],ut=null,Ze=null,It=null,Vt=null;Fe.length!==1&&(ut=Ee[Fe[1]],Ze=Fe[2]+1,It=Fe[3]),Fe.length===5&&(Vt=se[Fe[4]]),$({generatedLine:$e,generatedColumn:Jt,source:ut,originalLine:Ze,originalColumn:It,name:Vt})}}}function Yt(k,$){let{sources:Y,resolvedSources:se}=k,Ee=Y.indexOf($);return Ee===-1&&(Ee=se.indexOf($)),Ee}function sr(k,$){let{sourcesContent:Y}=k;if(Y==null)return null;let se=Yt(k,$);return se===-1?null:Y[se]}function Zt(k,$){let{ignoreList:Y}=k;if(Y==null)return!1;let se=Yt(k,$);return se===-1?!1:Y.includes(se)}function Vr(k,$){let Y=new Ie(Tn(k,[]),$);return Y._decoded=k.mappings,Y}function kn(k){return Tn(k,qe(k))}function ts(k){return Tn(k,be(k))}function Tn(k,$){return{version:k.version,file:k.file,names:k.names,sourceRoot:k.sourceRoot,sources:k.sources,sourcesContent:k.sourcesContent,mappings:$,ignoreList:k.ignoreList||k.x_google_ignoreList}}function Ln(k,$,Y,se){return{source:k,line:$,column:Y,name:se}}function Fs(k,$){return{line:k,column:$}}function rs(k,$,Y,se,Ee){let he=j(k,se,$,Y);return P?he=(Ee===pe?N:B)(k,se,he):Ee===pe&&he++,he===-1||he===k.length?-1:he}function de(k,$,Y,se,Ee){let he=rs(k,$,Y,se,xe);if(!P&&Ee===pe&&he++,he===-1||he===k.length)return[];let _e=P?se:k[he][i];P||(he=B(k,_e,he));let Ve=N(k,_e,he),Fe=[];for(;he<=Ve;he++){let $e=k[he];Fe.push(Fs($e[c]+1,$e[f]))}return Fe}function oe(k,$,Y,se,Ee,he){var _e;if(Y--,Y<0)throw new Error(te);if(se<0)throw new Error(ue);let{sources:Ve,resolvedSources:Fe}=k,$e=Ve.indexOf($);if($e===-1&&($e=Fe.indexOf($)),$e===-1)return he?[]:Fs(null,null);let ut=((_e=k)._bySources||(_e._bySources=W(qe(k),k._bySourceMemos=Ve.map(F))))[$e][Y];if(ut==null)return he?[]:Fs(null,null);let Ze=k._bySourceMemos[$e];if(he)return de(ut,Ze,Y,se,Ee);let It=rs(ut,Ze,Y,se,Ee);if(It===-1)return Fs(null,null);let Vt=ut[It];return Fs(Vt[c]+1,Vt[f])}e.AnyMap=V,e.GREATEST_LOWER_BOUND=xe,e.LEAST_UPPER_BOUND=pe,e.TraceMap=Ie,e.allGeneratedPositionsFor=Dt,e.decodedMap=kn,e.decodedMappings=qe,e.eachMapping=Ut,e.encodedMap=ts,e.encodedMappings=be,e.generatedPositionFor=we,e.isIgnored=Zt,e.originalPositionFor=wt,e.presortedDecodedMap=Vr,e.sourceContentFor=sr,e.traceSegment=Lt})});var Gy=E((Cc,sA)=>{(function(e,t){typeof Cc=="object"&&typeof sA<"u"?t(Cc,eA(),$y(),Ac()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/set-array","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.genMapping={},e.setArray,e.sourcemapCodec,e.traceMapping))})(Cc,function(e,t,r,n){"use strict";class c{constructor({file:te,sourceRoot:ue}={}){this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=te,this.sourceRoot=ue,this._ignoreList=new t.SetArray}}function f(ne){return ne}function p(ne,te,ue,pe,xe,Ie,ke,be){return j(!1,ne,te,ue,pe,xe,Ie,ke,be)}function h(ne,te){return fe(!1,ne,te)}let b=(ne,te,ue,pe,xe,Ie,ke,be)=>j(!0,ne,te,ue,pe,xe,Ie,ke,be),d=(ne,te)=>fe(!0,ne,te);function y(ne,te,ue){let{_sources:pe,_sourcesContent:xe}=ne,Ie=t.put(pe,te);xe[Ie]=ue}function P(ne,te,ue=!0){let{_sources:pe,_sourcesContent:xe,_ignoreList:Ie}=ne,ke=t.put(pe,te);ke===xe.length&&(xe[ke]=null),ue?t.put(Ie,ke):t.remove(Ie,ke)}function D(ne){let{_mappings:te,_sources:ue,_sourcesContent:pe,_names:xe,_ignoreList:Ie}=ne;return V(te),{version:3,file:ne.file||void 0,names:xe.array,sourceRoot:ne.sourceRoot||void 0,sources:ue.array,sourcesContent:pe,mappings:te,ignoreList:Ie.array}}function N(ne){let te=D(ne);return Object.assign(Object.assign({},te),{mappings:r.encode(te.mappings)})}function B(ne){let te=new n.TraceMap(ne),ue=new c({file:te.file,sourceRoot:te.sourceRoot});return R(ue._names,te.names),R(ue._sources,te.sources),ue._sourcesContent=te.sourcesContent||te.sources.map(()=>null),ue._mappings=n.decodedMappings(te),te.ignoreList&&R(ue._ignoreList,te.ignoreList),ue}function F(ne){let te=[],{_mappings:ue,_sources:pe,_names:xe}=ne;for(let Ie=0;Ie<ue.length;Ie++){let ke=ue[Ie];for(let be=0;be<ke.length;be++){let qe=ke[be],Lt={line:Ie+1,column:qe[0]},wt,we,Dt;qe.length!==1&&(wt=pe.array[qe[1]],we={line:qe[2]+1,column:qe[3]},qe.length===5&&(Dt=xe.array[qe[4]])),te.push({generated:Lt,source:wt,original:we,name:Dt})}}return te}function j(ne,te,ue,pe,xe,Ie,ke,be,qe){let{_mappings:Lt,_sources:wt,_sourcesContent:we,_names:Dt}=te,Ut=W(Lt,ue),Yt=re(Ut,pe);if(!xe)return ne&&H(Ut,Yt)?void 0:G(Ut,Yt,[pe]);let sr=t.put(wt,xe),Zt=be?t.put(Dt,be):-1;if(sr===we.length&&(we[sr]=qe??null),!(ne&&ge(Ut,Yt,sr,Ie,ke,Zt)))return G(Ut,Yt,be?[pe,sr,Ie,ke,Zt]:[pe,sr,Ie,ke])}function W(ne,te){for(let ue=ne.length;ue<=te;ue++)ne[ue]=[];return ne[te]}function re(ne,te){let ue=ne.length;for(let pe=ue-1;pe>=0;ue=pe--){let xe=ne[pe];if(te>=xe[0])break}return ue}function G(ne,te,ue){for(let pe=ne.length;pe>te;pe--)ne[pe]=ne[pe-1];ne[te]=ue}function V(ne){let{length:te}=ne,ue=te;for(let pe=ue-1;pe>=0&&!(ne[pe].length>0);ue=pe,pe--);ue<te&&(ne.length=ue)}function R(ne,te){for(let ue=0;ue<te.length;ue++)t.put(ne,te[ue])}function H(ne,te){return te===0?!0:ne[te-1].length===1}function ge(ne,te,ue,pe,xe,Ie){if(te===0)return!1;let ke=ne[te-1];return ke.length===1?!1:ue===ke[1]&&pe===ke[2]&&xe===ke[3]&&Ie===(ke.length===5?ke[4]:-1)}function fe(ne,te,ue){let{generated:pe,source:xe,original:Ie,name:ke,content:be}=ue;return xe?j(ne,te,pe.line-1,pe.column,xe,Ie.line-1,Ie.column,ke,be):j(ne,te,pe.line-1,pe.column,null,null,null,null,null)}e.GenMapping=c,e.addMapping=h,e.addSegment=p,e.allMappings=F,e.fromMap=B,e.maybeAddMapping=d,e.maybeAddSegment=b,e.setIgnore=P,e.setSourceContent=y,e.toDecodedMap=D,e.toEncodedMap=N,Object.defineProperty(e,"__esModule",{value:!0})})});var iA=E(wc=>{"use strict";Object.defineProperty(wc,"__esModule",{value:!0});wc.default=void 0;var Ws=Gy(),Hy=Ac(),Xy=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 Ws.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 Hy.TraceMap(t.inputSourceMap);let a=this._inputMap.resolvedSources;if(a.length)for(let o=0;o<a.length;o++){var i;(0,Ws.setSourceContent)(s,a[o],(i=this._inputMap.sourcesContent)==null?void 0:i[o])}}if(typeof r=="string"&&!t.inputSourceMap)(0,Ws.setSourceContent)(s,this._sourceFileName,r);else if(typeof r=="object")for(let a of Object.keys(r))(0,Ws.setSourceContent)(s,a.replace(/\\/g,"/"),r[a])}get(){return(0,Ws.toEncodedMap)(this._map)}getDecoded(){return(0,Ws.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,Ws.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,Hy.originalPositionFor)(this._inputMap,{line:r,column:n}),!l.name&&i){let u=(0,Hy.originalPositionFor)(this._inputMap,i);u.name&&(s=u.name)}}else l={source:a?.replace(/\\/g,"/")||this._sourceFileName,line:r,column:n};(0,Ws.maybeAddMapping)(this._map,{name:s,generated:t,source:(o=l)==null?void 0:o.source,original:l})}};wc.default=Xy});var aA=E(Dc=>{"use strict";Object.defineProperty(Dc,"__esModule",{value:!0});Dc.default=void 0;var Yy=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?.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?.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 f=t.indexOf(`
39
- `),p=0;for(f!==0&&this._mark(c,a,o,l,u);f!==-1;)i.line++,i.column=0,p=f+1,p<s&&c!==void 0&&this._mark(++c,0,null,null,u),f=t.indexOf(`
40
- `,p);i.column+=s-p}_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}};Dc.default=Yy});var fA=E(Oc=>{"use strict";Object.defineProperty(Oc,"__esModule",{value:!0});Oc.nodes=void 0;var NQ=Be(),{FLIPPED_ALIAS_KEYS:BQ,isArrayExpression:FQ,isAssignmentExpression:lA,isBinary:uA,isBlockStatement:kQ,isCallExpression:cA,isFunction:ol,isIdentifier:Ic,isLiteral:LQ,isMemberExpression:Jy,isObjectExpression:RQ,isOptionalCallExpression:jQ,isOptionalMemberExpression:MQ,isStringLiteral:qQ}=NQ;function Da(e,t){return e&&(Jy(e)||MQ(e)?(Da(e.object,t),e.computed&&Da(e.property,t)):uA(e)||lA(e)?(Da(e.left,t),Da(e.right,t)):cA(e)||jQ(e)?(t.hasCall=!0,Da(e.callee,t)):ol(e)?t.hasFunction=!0:Ic(e)&&(t.hasHelper=t.hasHelper||e.callee&&fs(e.callee))),t}function oA(e){return Da(e,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function fs(e){return e?Jy(e)?fs(e.object)||fs(e.property):Ic(e)?e.name==="require"||e.name.charCodeAt(0)===95:cA(e)?fs(e.callee):uA(e)||lA(e)?Ic(e.left)&&fs(e.left)||fs(e.right):!1:!1}function UQ(e){return LQ(e)||RQ(e)||FQ(e)||Ic(e)||Jy(e)}var Oi=Oc.nodes={AssignmentExpression(e){let t=oA(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(ol(e.left)||ol(e.right))return 2},Literal(e){if(qQ(e)&&e.value==="use strict")return 2},CallExpression(e){if(ol(e.callee)||fs(e))return 3},OptionalCallExpression(e){if(ol(e.callee))return 3},VariableDeclaration(e){for(let t=0;t<e.declarations.length;t++){let r=e.declarations[t],n=fs(r.id)&&!UQ(r.init);if(!n&&r.init){let s=oA(r.init);n=fs(r.init)&&s.hasCall||s.hasFunction}if(n)return 3}},IfStatement(e){if(kQ(e.consequent))return 3}};Oi.ObjectProperty=Oi.ObjectTypeProperty=Oi.ObjectMethod=function(e,t){if(t.properties[0]===e)return 1};Oi.ObjectTypeCallProperty=function(e,t){var r;if(t.callProperties[0]===e&&!((r=t.properties)!=null&&r.length))return 1};Oi.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};Oi.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(BQ[e]||[]).forEach(function(r){let n=t?3:0;Oi[r]=()=>n})})});var EA=E(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});mt.AssignmentExpression=mZ;mt.Binary=yA;mt.BinaryExpression=uZ;mt.ClassExpression=pZ;mt.ArrowFunctionExpression=mt.ConditionalExpression=bA;mt.DoExpression=rZ;mt.FunctionExpression=dZ;mt.FunctionTypeAnnotation=ZQ;mt.Identifier=gZ;mt.LogicalExpression=yZ;mt.NullableTypeAnnotation=QQ;mt.ObjectExpression=tZ;mt.OptionalIndexedAccessType=sZ;mt.OptionalCallExpression=mt.OptionalMemberExpression=hZ;mt.SequenceExpression=cZ;mt.TSSatisfiesExpression=mt.TSAsExpression=iZ;mt.TSInferType=oZ;mt.TSInstantiationExpression=lZ;mt.UnaryLike=mt.TSTypeAssertion=gA;mt.TSIntersectionType=mt.TSUnionType=aZ;mt.IntersectionTypeAnnotation=mt.UnionTypeAnnotation=nZ;mt.UpdateExpression=eZ;mt.AwaitExpression=mt.YieldExpression=fZ;var VQ=Be(),on=Ks(),{isArrayTypeAnnotation:$Q,isBinaryExpression:WQ,isCallExpression:KQ,isForOfStatement:GQ,isIndexedAccessType:HQ,isMemberExpression:hA,isObjectPattern:XQ,isOptionalMemberExpression:YQ,isYieldExpression:JQ,isStatement:zQ}=VQ,pA=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 dA(e,t){if(t==="BinaryExpression"||t==="LogicalExpression")return pA.get(e.operator);if(t==="TSAsExpression"||t==="TSSatisfiesExpression")return pA.get("in")}function zy(e){return e==="TSAsExpression"||e==="TSSatisfiesExpression"||e==="TSTypeAssertion"}var _c=(e,t)=>{let r=t.type;return(r==="ClassDeclaration"||r==="ClassExpression")&&t.superClass===e},Nc=(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 QQ(e,t){return $Q(t)}function ZQ(e,t,r){let n=t.type;return n==="UnionTypeAnnotation"||n==="IntersectionTypeAnnotation"||n==="ArrayTypeAnnotation"||!!(r&on.TokenContext.arrowFlowReturnType)}function eZ(e,t){return Nc(e,t)||_c(e,t)}function mA(e){return!!(e&(on.TokenContext.expressionStatement|on.TokenContext.arrowBody))}function tZ(e,t,r){return mA(r)}function rZ(e,t,r){return!e.async&&!!(r&on.TokenContext.expressionStatement)}function yA(e,t){let r=t.type;if(e.type==="BinaryExpression"&&e.operator==="**"&&r==="BinaryExpression"&&t.operator==="**")return t.left===e;if(_c(e,t)||Nc(e,t)||r==="UnaryExpression"||r==="SpreadElement"||r==="AwaitExpression")return!0;let n=dA(t,r);if(n!=null){let s=dA(e,e.type);if(n===s&&r==="BinaryExpression"&&t.right===e||n>s)return!0}}function nZ(e,t){let r=t.type;return r==="ArrayTypeAnnotation"||r==="NullableTypeAnnotation"||r==="IntersectionTypeAnnotation"||r==="UnionTypeAnnotation"}function sZ(e,t){return HQ(t)&&t.objectType===e}function iZ(e,t){return(t.type==="AssignmentExpression"||t.type==="AssignmentPattern")&&t.left===e||t.type==="BinaryExpression"&&(t.operator==="|"||t.operator==="&")&&e===t.left?!0:yA(e,t)}function aZ(e,t){let r=t.type;return r==="TSArrayType"||r==="TSOptionalType"||r==="TSIntersectionType"||r==="TSRestType"}function oZ(e,t){let r=t.type;return r==="TSArrayType"||r==="TSOptionalType"}function lZ(e,t){let r=t.type;return(r==="CallExpression"||r==="OptionalCallExpression"||r==="NewExpression"||r==="TSInstantiationExpression")&&!!t.typeParameters}function uZ(e,t,r,n){return e.operator==="in"&&n}function cZ(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:!zQ(t)}function fZ(e,t){let r=t.type;return r==="BinaryExpression"||r==="LogicalExpression"||r==="UnaryExpression"||r==="SpreadElement"||Nc(e,t)||r==="AwaitExpression"&&JQ(e)||r==="ConditionalExpression"&&e===t.test||_c(e,t)||zy(r)}function pZ(e,t,r){return!!(r&(on.TokenContext.expressionStatement|on.TokenContext.exportDefault))}function gA(e,t){return Nc(e,t)||WQ(t)&&t.operator==="**"&&t.left===e||_c(e,t)}function dZ(e,t,r){return!!(r&(on.TokenContext.expressionStatement|on.TokenContext.exportDefault))}function bA(e,t){let r=t.type;return r==="UnaryExpression"||r==="SpreadElement"||r==="BinaryExpression"||r==="LogicalExpression"||r==="ConditionalExpression"&&t.test===e||r==="AwaitExpression"||zy(r)?!0:gA(e,t)}function hZ(e,t){return KQ(t)&&t.callee===e||hA(t)&&t.object===e}function mZ(e,t,r){return mA(r)&&XQ(e.left)?!0:bA(e,t)}function yZ(e,t){let r=t.type;if(zy(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 gZ(e,t,r){var n;let s=t.type;if((n=e.extra)!=null&&n.parenthesized&&s==="AssignmentExpression"&&t.left===e){let i=t.right.type;if((i==="FunctionExpression"||i==="ClassExpression")&&t.right.id==null)return!0}return e.name==="let"?(hA(t,{object:e,computed:!0})||YQ(t,{object:e,computed:!0,optional:!1}))&&r&(on.TokenContext.expressionStatement|on.TokenContext.forHead|on.TokenContext.forInHead)?!0:!!(r&on.TokenContext.forOfHead):e.name==="async"&&GQ(t,{left:e,await:!1})}});var Ks=E(Gs=>{"use strict";Object.defineProperty(Gs,"__esModule",{value:!0});Gs.TokenContext=void 0;Gs.needsParens=_Z;Gs.needsWhitespace=Zy;Gs.needsWhitespaceAfter=OZ;Gs.needsWhitespaceBefore=IZ;var bZ=fA(),EZ=EA(),vZ=Be(),{FLIPPED_ALIAS_KEYS:TZ,isCallExpression:vA,isDecorator:SZ,isExpressionStatement:xZ,isMemberExpression:PZ,isNewExpression:AZ,isParenthesizedExpression:CZ}=vZ,jCe=Gs.TokenContext={expressionStatement:1,arrowBody:2,exportDefault:4,forHead:8,forInHead:16,forOfHead:32,arrowFlowReturnType:64};function TA(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=TZ[n];if(s)for(let i of s)r(i,e[n]);else r(n,e[n])}return t}var wZ=TA(EZ),DZ=TA(bZ.nodes);function SA(e){return vA(e)?!0:PZ(e)&&SA(e.object)}function Zy(e,t,r){var n;if(!e)return!1;xZ(e)&&(e=e.expression);let s=(n=DZ.get(e.type))==null?void 0:n(e,t);return typeof s=="number"?(s&r)!==0:!1}function IZ(e,t){return Zy(e,t,1)}function OZ(e,t){return Zy(e,t,2)}function _Z(e,t,r,n){var s;return t?AZ(t)&&t.callee===e&&SA(e)?!0:SZ(t)?!Qy(e)&&!(vA(e)&&Qy(e.callee))&&!CZ(e):(s=wZ.get(e.type))==null?void 0:s(e,t,r,n):!1}function Qy(e){switch(e.type){case"Identifier":return!0;case"MemberExpression":return!e.computed&&e.property.type==="Identifier"&&Qy(e.object);default:return!1}}});var xA=E(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});ll.TaggedTemplateExpression=NZ;ll.TemplateElement=BZ;ll.TemplateLiteral=FZ;function NZ(e){this.print(e.tag),this.print(e.typeParameters),this.print(e.quasi)}function BZ(){throw new Error("TemplateElement printing is handled in TemplateLiteral")}function FZ(e){let t=e.quasis,r="`";for(let n=0;n<t.length;n++)r+=t[n].value.raw,n+1<t.length&&(this.token(r+"${",!0),this.print(e.expressions[n]),r="}");this.token(r+"`",!0)}});var AA=E(bt=>{"use strict";Object.defineProperty(bt,"__esModule",{value:!0});bt.LogicalExpression=bt.BinaryExpression=bt.AssignmentExpression=iee;bt.AssignmentPattern=see;bt.AwaitExpression=eee;bt.BindExpression=aee;bt.CallExpression=QZ;bt.ConditionalExpression=$Z;bt.Decorator=YZ;bt.DoExpression=qZ;bt.EmptyStatement=ree;bt.ExpressionStatement=nee;bt.Import=ZZ;bt.MemberExpression=oee;bt.MetaProperty=lee;bt.ModuleExpression=fee;bt.NewExpression=WZ;bt.OptionalCallExpression=zZ;bt.OptionalMemberExpression=JZ;bt.ParenthesizedExpression=UZ;bt.PrivateName=uee;bt.SequenceExpression=KZ;bt.Super=HZ;bt.ThisExpression=GZ;bt.UnaryExpression=MZ;bt.UpdateExpression=VZ;bt.V8IntrinsicIdentifier=cee;bt.YieldExpression=tee;bt._shouldPrintDecoratorsBeforeExport=XZ;var kZ=Be(),LZ=Ks(),{isCallExpression:RZ,isLiteral:PA,isMemberExpression:e0,isNewExpression:jZ}=kZ;function MZ(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 qZ(e){e.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(e.body)}function UZ(e){this.tokenChar(40),this.print(e.expression),this.rightParens(e)}function VZ(e){e.prefix?(this.token(e.operator),this.print(e.argument)):(this.printTerminatorless(e.argument,!0),this.token(e.operator))}function $Z(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 WZ(e,t){if(this.word("new"),this.space(),this.print(e.callee),this.format.minified&&e.arguments.length===0&&!e.optional&&!RZ(t,{callee:e})&&!e0(t)&&!jZ(t))return;this.print(e.typeArguments),this.print(e.typeParameters),e.optional&&this.token("?."),this.tokenChar(40);let r=this.enterForStatementInit(!1);this.printList(e.arguments),r(),this.rightParens(e)}function KZ(e){this.printList(e.expressions)}function GZ(){this.word("this")}function HZ(){this.word("super")}function XZ(e){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof e.start=="number"&&e.start===e.declaration.start}function YZ(e){this.tokenChar(64),this.print(e.expression),this.newline()}function JZ(e){let{computed:t}=e,{optional:r,property:n}=e;if(this.print(e.object),!t&&e0(n))throw new TypeError("Got a MemberExpression for MemberExpression property");PA(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 zZ(e){this.print(e.callee),this.print(e.typeParameters),e.optional&&this.token("?."),this.print(e.typeArguments),this.tokenChar(40);let t=this.enterForStatementInit(!1);this.printList(e.arguments),t(),this.rightParens(e)}function QZ(e){this.print(e.callee),this.print(e.typeArguments),this.print(e.typeParameters),this.tokenChar(40);let t=this.enterForStatementInit(!1);this.printList(e.arguments),t(),this.rightParens(e)}function ZZ(){this.word("import")}function eee(e){this.word("await"),e.argument&&(this.space(),this.printTerminatorless(e.argument,!1))}function tee(e){this.word("yield",!0),e.delegate?(this.tokenChar(42),e.argument&&(this.space(),this.print(e.argument))):e.argument&&(this.space(),this.printTerminatorless(e.argument,!1))}function ree(){this.semicolon(!0)}function nee(e){this.tokenContext|=LZ.TokenContext.expressionStatement,this.print(e.expression),this.semicolon()}function see(e){this.print(e.left),e.left.type==="Identifier"&&(e.left.optional&&this.tokenChar(63),this.print(e.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(e.right)}function iee(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 aee(e){this.print(e.object),this.token("::"),this.print(e.callee)}function oee(e){if(this.print(e.object),!e.computed&&e0(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;if(PA(e.property)&&typeof e.property.value=="number"&&(t=!0),t){let r=this.enterForStatementInit(!1);this.tokenChar(91),this.print(e.property),this.tokenChar(93),r()}else this.tokenChar(46),this.print(e.property)}function lee(e){this.print(e.meta),this.tokenChar(46),this.print(e.property)}function uee(e){this.tokenChar(35),this.print(e.id)}function cee(e){this.tokenChar(37),this.word(e.name)}function fee(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 IA=E(Rt=>{"use strict";Object.defineProperty(Rt,"__esModule",{value:!0});Rt.BreakStatement=Tee;Rt.CatchClause=wee;Rt.ContinueStatement=See;Rt.DebuggerStatement=Oee;Rt.DoWhileStatement=vee;Rt.ForOfStatement=Rt.ForInStatement=void 0;Rt.ForStatement=bee;Rt.IfStatement=gee;Rt.LabeledStatement=Aee;Rt.ReturnStatement=xee;Rt.SwitchCase=Iee;Rt.SwitchStatement=Dee;Rt.ThrowStatement=Pee;Rt.TryStatement=Cee;Rt.VariableDeclaration=_ee;Rt.VariableDeclarator=Nee;Rt.WhileStatement=Eee;Rt.WithStatement=yee;var pee=Be(),t0=Ks(),{isFor:CA,isForStatement:dee,isIfStatement:hee,isStatement:mee}=pee;function yee(e){this.word("with"),this.space(),this.tokenChar(40),this.print(e.object),this.tokenChar(41),this.printBlock(e)}function gee(e){this.word("if"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.space();let t=e.alternate&&hee(wA(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 wA(e){let{body:t}=e;return mee(t)===!1?e:wA(t)}function bee(e){this.word("for"),this.space(),this.tokenChar(40);{let t=this.enterForStatementInit(!0);this.tokenContext|=t0.TokenContext.forHead,this.print(e.init),t()}this.tokenChar(59),e.test&&(this.space(),this.print(e.test)),this.tokenChar(59),e.update&&(this.space(),this.print(e.update)),this.tokenChar(41),this.printBlock(e)}function Eee(e){this.word("while"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.printBlock(e)}function DA(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=t?null:this.enterForStatementInit(!0);this.tokenContext|=t?t0.TokenContext.forOfHead:t0.TokenContext.forInHead,this.print(e.left),r?.()}this.space(),this.word(t?"of":"in"),this.space(),this.print(e.right),this.tokenChar(41),this.printBlock(e)}var VCe=Rt.ForInStatement=DA,$Ce=Rt.ForOfStatement=DA;function vee(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 Bc(e,t,r){t&&(e.space(),e.printTerminatorless(t,r)),e.semicolon()}function Tee(e){this.word("break"),Bc(this,e.label,!0)}function See(e){this.word("continue"),Bc(this,e.label,!0)}function xee(e){this.word("return"),Bc(this,e.argument,!1)}function Pee(e){this.word("throw"),Bc(this,e.argument,!1)}function Aee(e){this.print(e.label),this.tokenChar(58),this.space(),this.print(e.body)}function Cee(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 wee(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 Dee(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,{indent:!0,addNewlines(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}}),this.rightBrace(e)}function Iee(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,{indent:!0}))}function Oee(){this.word("debugger"),this.semicolon()}function _ee(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(!CA(t))for(let s of e.declarations)s.init&&(n=!0);if(this.printList(e.declarations,{separator:n?function(){this.tokenChar(44),this.newline()}:void 0,indent:e.declarations.length>1}),CA(t)){if(dee(t)){if(t.init===e)return}else if(t.left===e)return}this.semicolon()}function Nee(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 OA=E(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.ClassAccessorProperty=Mee;ln.ClassBody=Ree;ln.ClassExpression=ln.ClassDeclaration=Lee;ln.ClassMethod=Uee;ln.ClassPrivateMethod=Vee;ln.ClassPrivateProperty=qee;ln.ClassProperty=jee;ln.StaticBlock=Wee;ln._classMethodHead=$ee;var Bee=Be(),{isExportDefaultDeclaration:Fee,isExportNamedDeclaration:kee}=Bee;function Lee(e,t){(!(Fee(t)||kee(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 Ree(e){if(this.tokenChar(123),e.body.length===0)this.tokenChar(125);else{this.newline();let t=this.enterForStatementInit(!1);this.printSequence(e.body,{indent:!0}),t(),this.endsWith(10)||this.newline(),this.rightBrace(e)}}function jee(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),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 Mee(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 qee(e){this.printJoin(e.decorators),e.static&&(this.word("static"),this.space()),this.print(e.key),this.print(e.typeAnnotation),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value)),this.semicolon()}function Uee(e){this._classMethodHead(e),this.space(),this.print(e.body)}function Vee(e){this._classMethodHead(e),this.space(),this.print(e.body)}function $ee(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._methodHead(e)}function Wee(e){this.word("static"),this.space(),this.tokenChar(123),e.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(e.body,{indent:!0}),this.rightBrace(e))}});var _A=E(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.ArrowFunctionExpression=tte;An.FunctionDeclaration=An.FunctionExpression=ete;An._functionHead=Zee;An._methodHead=zee;An._param=Jee;An._parameters=Yee;An._params=Xee;An._predicate=Qee;var Kee=Be(),Gee=Ks(),{isIdentifier:Hee}=Kee;function Xee(e,t,r){this.print(e.typeParameters);let n=nte.call(this,t,r);n&&this.sourceIdentifierName(n.name,n.pos),this.tokenChar(40),this._parameters(e.params),this.tokenChar(41);let s=e.type==="ArrowFunctionExpression";this.print(e.returnType,s),this._noLineTerminator=s}function Yee(e){let t=this.enterForStatementInit(!1),r=e.length;for(let n=0;n<r;n++)this._param(e[n]),n<e.length-1&&(this.tokenChar(44),this.space());t()}function Jee(e){this.printJoin(e.decorators),this.print(e),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)}function zee(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 Qee(e,t){e.predicate&&(e.returnType||this.tokenChar(58),this.space(),this.print(e.predicate,t))}function Zee(e,t){e.async&&(this.word("async"),this._endsWithInnerRaw=!1,this.space()),this.word("function"),e.generator&&(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 ete(e,t){this._functionHead(e,t),this.space(),this.print(e.body)}function tte(e,t){e.async&&(this.word("async",!0),this.space());let r;!this.format.retainLines&&e.params.length===1&&Hee(r=e.params[0])&&!rte(e,r)?this.print(r,!0):this._params(e,void 0,t),this._predicate(e,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=Gee.TokenContext.arrowBody,this.print(e.body)}function rte(e,t){var r,n;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||(r=t.leadingComments)!=null&&r.length||(n=t.trailingComments)!=null&&n.length)}function nte(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 r0=E(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});kr.ExportAllDeclaration=gte;kr.ExportDefaultDeclaration=Ete;kr.ExportDefaultSpecifier=dte;kr.ExportNamedDeclaration=bte;kr.ExportNamespaceSpecifier=mte;kr.ExportSpecifier=hte;kr.ImportAttribute=Tte;kr.ImportDeclaration=vte;kr.ImportDefaultSpecifier=pte;kr.ImportExpression=xte;kr.ImportNamespaceSpecifier=Ste;kr.ImportSpecifier=fte;kr._printAttributes=yte;var ste=Be(),ite=Ks(),{isClassDeclaration:ate,isExportDefaultSpecifier:ote,isExportNamespaceSpecifier:lte,isImportDefaultSpecifier:ute,isImportNamespaceSpecifier:cte,isStatement:BA}=ste;function fte(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 pte(e){this.print(e.local)}function dte(e){this.print(e.exported)}function hte(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 mte(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported)}var NA=!1;function yte(e){let{importAttributesKeyword:t}=this.format,{attributes:r,assertions:n}=e;r&&!t&&!NA&&(NA=!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 s=t==="assert"||!t&&n;if(this.word(s?"assert":"with"),this.space(),!s&&t!=="with"){this.printList(r||n);return}this.tokenChar(123),this.space(),this.printList(r||n),this.space(),this.tokenChar(125)}function gte(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)):this.print(e.source),this.semicolon()}function FA(e,t){ate(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators)}function bte(e){if(FA(this,e),this.word("export"),this.space(),e.declaration){let n=e.declaration;this.print(n),BA(n)||this.semicolon()}else{e.exportKind==="type"&&(this.word("type"),this.space());let n=e.specifiers.slice(0),s=!1;for(;;){let i=n[0];if(ote(i)||lte(i))s=!0,this.print(n.shift()),n.length&&(this.tokenChar(44),this.space());else break}if((n.length||!n.length&&!s)&&(this.tokenChar(123),n.length&&(this.space(),this.printList(n),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)):this.print(e.source)}this.semicolon()}}function Ete(e){FA(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=ite.TokenContext.exportDefault;let t=e.declaration;this.print(t),BA(t)||this.semicolon()}function vte(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 a=s[0];if(ute(a)||cte(a))this.print(s.shift()),s.length&&(this.tokenChar(44),this.space());else break}s.length?(this.tokenChar(123),this.space(),this.printList(s),this.space(),this.tokenChar(125)):n&&!i&&(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)):this.print(e.source),this.semicolon()}function Tte(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)}function Ste(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local)}function xte(e){this.word("import"),e.phase&&(this.tokenChar(46),this.word(e.phase)),this.tokenChar(40),this.print(e.source),e.options!=null&&(this.tokenChar(44),this.space(),this.print(e.options)),this.tokenChar(41)}});var jA=E((XCe,RA)=>{"use strict";var kA={},Pte=kA.hasOwnProperty,LA=(e,t)=>{for(let r in e)Pte.call(e,r)&&t(r,e[r])},Ate=(e,t)=>(t&&LA(t,(r,n)=>{e[r]=n}),e),Cte=(e,t)=>{let r=e.length,n=-1;for(;++n<r;)t(e[n])},ul=kA.toString,wte=Array.isArray,Dte=Buffer.isBuffer,Ite=e=>ul.call(e)=="[object Object]",Ote=e=>typeof e=="string"||ul.call(e)=="[object String]",_te=e=>typeof e=="number"||ul.call(e)=="[object Number]",Nte=e=>typeof e=="function",Bte=e=>ul.call(e)=="[object Map]",Fte=e=>ul.call(e)=="[object Set]",kte={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},Lte=/["'\\\b\f\n\r\t]/,Rte=/[0-9]/,jte=/[ !#-&\(-\[\]-_a-~]/,Hs=(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__,f=t.__inline2__,p=a?"":`
41
- `,h,b=!0,d=t.numbers=="binary",y=t.numbers=="octal",P=t.numbers=="decimal",D=t.numbers=="hexadecimal";if(s&&e&&Nte(e.toJSON)&&(e=e.toJSON()),!Ote(e)){if(Bte(e))return e.size==0?"new Map()":(a||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+Hs(Array.from(e),t)+")");if(Fte(e))return e.size==0?"new Set()":"new Set("+Hs(Array.from(e),t)+")";if(Dte(e))return e.length==0?"Buffer.from([])":"Buffer.from("+Hs(Array.from(e),t)+")";if(wte(e))return h=[],t.wrap=!0,c&&(t.__inline1__=!1,t.__inline2__=!0),f||r(),Cte(e,j=>{b=!1,f&&(t.__inline2__=!1),h.push((a||f?"":l)+Hs(j,t))}),b?"[]":f?"["+h.join(", ")+"]":"["+p+h.join(","+p)+p+(a?"":u)+"]";if(_te(e)){if(s)return JSON.stringify(e);if(P)return String(e);if(D){let j=e.toString(16);return o||(j=j.toUpperCase()),"0x"+j}if(d)return"0b"+e.toString(2);if(y)return"0o"+e.toString(8)}else return Ite(e)?(h=[],t.wrap=!0,r(),LA(e,(j,W)=>{b=!1,h.push((a?"":l)+Hs(j,t)+":"+(a?"":" ")+Hs(W,t))}),b?"{}":"{"+p+h.join(","+p)+p+(a?"":u)+"}"):s?JSON.stringify(e)||"null":String(e)}let N=e,B=-1,F=N.length;for(h="";++B<F;){let j=N.charAt(B);if(t.es6){let R=N.charCodeAt(B);if(R>=55296&&R<=56319&&F>B+1){let H=N.charCodeAt(B+1);if(H>=56320&&H<=57343){let fe=((R-55296)*1024+H-56320+65536).toString(16);o||(fe=fe.toUpperCase()),h+="\\u{"+fe+"}",++B;continue}}}if(!t.escapeEverything){if(jte.test(j)){h+=j;continue}if(j=='"'){h+=i==j?'\\"':j;continue}if(j=="`"){h+=i==j?"\\`":j;continue}if(j=="'"){h+=i==j?"\\'":j;continue}}if(j=="\0"&&!s&&!Rte.test(N.charAt(B+1))){h+="\\0";continue}if(Lte.test(j)){h+=kte[j];continue}let W=j.charCodeAt(0);if(t.minimal&&W!=8232&&W!=8233){h+=j;continue}let re=W.toString(16);o||(re=re.toUpperCase());let G=re.length>2||s,V="\\"+(G?"u":"x")+("0000"+re).slice(G?-4:-2);h+=V}return t.wrap&&(h=i+h+i),i=="`"&&(h=h.replace(/\$\{/g,"\\${")),t.isScriptContext?h.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,s?"\\u003C!--":"\\x3C!--"):h};Hs.version="2.5.2";RA.exports=Hs});var s0=E(Nt=>{"use strict";Object.defineProperty(Nt,"__esModule",{value:!0});Nt.ArgumentPlaceholder=Vte;Nt.ArrayPattern=Nt.ArrayExpression=Hte;Nt.BigIntLiteral=tre;Nt.BooleanLiteral=zte;Nt.DecimalLiteral=rre;Nt.Identifier=Ute;Nt.NullLiteral=Qte;Nt.NumericLiteral=Zte;Nt.ObjectPattern=Nt.ObjectExpression=Wte;Nt.ObjectMethod=Kte;Nt.ObjectProperty=Gte;Nt.PipelineBareFunction=ire;Nt.PipelinePrimaryTopicReference=are;Nt.PipelineTopicExpression=sre;Nt.RecordExpression=Xte;Nt.RegExpLiteral=Jte;Nt.SpreadElement=Nt.RestElement=$te;Nt.StringLiteral=ere;Nt.TopicReference=nre;Nt.TupleExpression=Yte;var Mte=Be(),qA=jA(),{isAssignmentPattern:qte,isIdentifier:n0}=Mte;function Ute(e){var t;this.sourceIdentifierName(((t=e.loc)==null?void 0:t.identifierName)||e.name),this.word(e.name)}function Vte(){this.tokenChar(63)}function $te(e){this.token("..."),this.print(e.argument)}function Wte(e){let t=e.properties;if(this.tokenChar(123),t.length){let r=this.enterForStatementInit(!1);this.space(),this.printList(t,{indent:!0,statement:!0}),this.space(),r()}this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)}function Kte(e){this.printJoin(e.decorators),this._methodHead(e),this.space(),this.print(e.body)}function Gte(e){if(this.printJoin(e.decorators),e.computed)this.tokenChar(91),this.print(e.key),this.tokenChar(93);else{if(qte(e.value)&&n0(e.key)&&e.key.name===e.value.left.name){this.print(e.value);return}if(this.print(e.key),e.shorthand&&n0(e.key)&&n0(e.value)&&e.key.name===e.value.name)return}this.tokenChar(58),this.space(),this.print(e.value)}function Hte(e){let t=e.elements,r=t.length;this.tokenChar(91);let n=this.enterForStatementInit(!1);for(let s=0;s<t.length;s++){let i=t[s];i?(s>0&&this.space(),this.print(i),s<r-1&&this.tokenChar(44)):this.tokenChar(44)}n(),this.tokenChar(93)}function Xte(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,{indent:!0,statement:!0}),this.space()),this.token(n)}function Yte(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.tokenChar(44))}this.token(s)}function Jte(e){this.word(`/${e.pattern}/${e.flags}`)}function zte(e){this.word(e.value?"true":"false")}function Qte(){this.word("null")}function Zte(e){let t=this.getPossibleRaw(e),r=this.format.jsescOption,n=e.value,s=n+"";r.numbers?this.number(qA(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 ere(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&t!==void 0){this.token(t);return}let r=qA(e.value,this.format.jsescOption);this.token(r)}function tre(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&t!==void 0){this.word(t);return}this.word(e.value+"n")}function rre(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&t!==void 0){this.word(t);return}this.word(e.value+"m")}var MA=new Set(["^^","@@","^","%","#"]);function nre(){let{topicToken:e}=this.format;if(MA.has(e))this.token(e);else{let t=JSON.stringify(e),r=Array.from(MA,n=>JSON.stringify(n));throw new Error(`The "topicToken" generator option must be one of ${r.join(", ")} (${t} received instead).`)}}function sre(e){this.print(e.expression)}function ire(e){this.print(e.callee)}function are(){this.tokenChar(35)}});var VA=E(ye=>{"use strict";Object.defineProperty(ye,"__esModule",{value:!0});ye.AnyTypeAnnotation=fre;ye.ArrayTypeAnnotation=pre;ye.BooleanLiteralTypeAnnotation=hre;ye.BooleanTypeAnnotation=dre;ye.DeclareClass=yre;ye.DeclareExportAllDeclaration=wre;ye.DeclareExportDeclaration=Cre;ye.DeclareFunction=gre;ye.DeclareInterface=vre;ye.DeclareModule=Tre;ye.DeclareModuleExports=Sre;ye.DeclareOpaqueType=Pre;ye.DeclareTypeAlias=xre;ye.DeclareVariable=Are;ye.DeclaredPredicate=Ere;ye.EmptyTypeAnnotation=Yre;ye.EnumBooleanBody=Ire;ye.EnumBooleanMember=Fre;ye.EnumDeclaration=Dre;ye.EnumDefaultedMember=Bre;ye.EnumNumberBody=Ore;ye.EnumNumberMember=kre;ye.EnumStringBody=_re;ye.EnumStringMember=Lre;ye.EnumSymbolBody=Nre;ye.ExistsTypeAnnotation=jre;ye.FunctionTypeAnnotation=Mre;ye.FunctionTypeParam=qre;ye.IndexedAccessType=vne;ye.InferredPredicate=bre;ye.InterfaceDeclaration=Wre;ye.GenericTypeAnnotation=ye.ClassImplements=ye.InterfaceExtends=Ure;ye.InterfaceTypeAnnotation=Gre;ye.IntersectionTypeAnnotation=Hre;ye.MixedTypeAnnotation=Xre;ye.NullLiteralTypeAnnotation=mre;ye.NullableTypeAnnotation=Jre;Object.defineProperty(ye,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return UA.NumericLiteral}});ye.NumberTypeAnnotation=zre;ye.ObjectTypeAnnotation=one;ye.ObjectTypeCallProperty=une;ye.ObjectTypeIndexer=cne;ye.ObjectTypeInternalSlot=lne;ye.ObjectTypeProperty=fne;ye.ObjectTypeSpreadProperty=pne;ye.OpaqueType=ane;ye.OptionalIndexedAccessType=Tne;ye.QualifiedTypeIdentifier=dne;Object.defineProperty(ye,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return UA.StringLiteral}});ye.StringTypeAnnotation=Qre;ye.SymbolTypeAnnotation=hne;ye.ThisTypeAnnotation=Zre;ye.TupleTypeAnnotation=ene;ye.TypeAlias=rne;ye.TypeAnnotation=nne;ye.TypeCastExpression=gne;ye.TypeParameter=ine;ye.TypeParameterDeclaration=ye.TypeParameterInstantiation=sne;ye.TypeofTypeAnnotation=tne;ye.UnionTypeAnnotation=yne;ye.Variance=bne;ye.VoidTypeAnnotation=Ene;ye._interfaceish=Vre;ye._variance=$re;var ore=Be(),lre=r0(),ure=Ks(),UA=s0(),{isDeclareExportDeclaration:Fc,isStatement:cre}=ore;function fre(){this.word("any")}function pre(e){this.print(e.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function dre(){this.word("boolean")}function hre(e){this.word(e.value?"true":"false")}function mre(){this.word("null")}function yre(e,t){Fc(t)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(e)}function gre(e,t){Fc(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 bre(){this.tokenChar(37),this.word("checks")}function Ere(e){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(e.value),this.tokenChar(41)}function vre(e){this.word("declare"),this.space(),this.InterfaceDeclaration(e)}function Tre(e){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(e.id),this.space(),this.print(e.body)}function Sre(e){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(e.typeAnnotation)}function xre(e){this.word("declare"),this.space(),this.TypeAlias(e)}function Pre(e,t){Fc(t)||(this.word("declare"),this.space()),this.OpaqueType(e)}function Are(e,t){Fc(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()),Rre.call(this,e)}function wre(e){this.word("declare"),this.space(),lre.ExportAllDeclaration.call(this,e)}function Dre(e){let{id:t,body:r}=e;this.word("enum"),this.space(),this.print(t),this.print(r)}function kc(e,t,r){r&&(e.space(),e.word("of"),e.space(),e.word(t)),e.space()}function Lc(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 Ire(e){let{explicitType:t}=e;kc(this,"boolean",t),Lc(this,e)}function Ore(e){let{explicitType:t}=e;kc(this,"number",t),Lc(this,e)}function _re(e){let{explicitType:t}=e;kc(this,"string",t),Lc(this,e)}function Nre(e){kc(this,"symbol",!0),Lc(this,e)}function Bre(e){let{id:t}=e;this.print(t),this.tokenChar(44)}function i0(e,t){e.print(t.id),e.space(),e.token("="),e.space(),e.print(t.init),e.token(",")}function Fre(e){i0(this,e)}function kre(e){i0(this,e)}function Lre(e){i0(this,e)}function Rre(e){if(e.declaration){let t=e.declaration;this.print(t),cre(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 jre(){this.tokenChar(42)}function Mre(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?.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 qre(e){this.print(e.name),e.optional&&this.tokenChar(63),e.name&&(this.tokenChar(58),this.space()),this.print(e.typeAnnotation)}function Ure(e){this.print(e.id),this.print(e.typeParameters,!0)}function Vre(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 $re(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 Kre(){this.space(),this.tokenChar(38),this.space()}function Gre(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 Hre(e){this.printJoin(e.types,{separator:Kre})}function Xre(){this.word("mixed")}function Yre(){this.word("empty")}function Jre(e){this.tokenChar(63),this.print(e.typeAnnotation)}function zre(){this.word("number")}function Qre(){this.word("string")}function Zre(){this.word("this")}function ene(e){this.tokenChar(91),this.printList(e.types),this.tokenChar(93)}function tne(e){this.word("typeof"),this.space(),this.print(e.argument)}function rne(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 nne(e,t){this.tokenChar(58),this.space(),t.type==="ArrowFunctionExpression"?this.tokenContext|=ure.TokenContext.arrowFlowReturnType:e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)}function sne(e){this.tokenChar(60),this.printList(e.params,{}),this.tokenChar(62)}function ine(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 ane(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 one(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,{addNewlines(r){if(r&&!t[0])return 1},indent:!0,statement:!0,iterator:()=>{(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 lne(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 une(e){e.static&&(this.word("static"),this.space()),this.print(e.value)}function cne(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 fne(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 pne(e){this.token("..."),this.print(e.argument)}function dne(e){this.print(e.qualification),this.tokenChar(46),this.print(e.id)}function hne(){this.word("symbol")}function mne(){this.space(),this.tokenChar(124),this.space()}function yne(e){this.printJoin(e.types,{separator:mne})}function gne(e){this.tokenChar(40),this.print(e.expression),this.print(e.typeAnnotation),this.tokenChar(41)}function bne(e){e.kind==="plus"?this.tokenChar(43):this.tokenChar(45)}function Ene(){this.word("void")}function vne(e){this.print(e.objectType,!0),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)}function Tne(e){this.print(e.objectType),e.optional&&this.token("?."),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)}});var $A=E(ps=>{"use strict";Object.defineProperty(ps,"__esModule",{value:!0});ps.BlockStatement=Pne;ps.Directive=Ane;ps.DirectiveLiteral=Dne;ps.File=Sne;ps.InterpreterDirective=Ine;ps.Placeholder=One;ps.Program=xne;function Sne(e){e.program&&this.print(e.program.interpreter),this.print(e.program)}function xne(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,{trailingCommentsLineOffset:s}),(n=e.directives[r-1].trailingComments)!=null&&n.length||this.newline(s)}this.printSequence(e.body)}function Pne(e){var t;this.tokenChar(123);let r=(t=e.directives)==null?void 0:t.length;if(r){var n;let i=e.body.length?2:1;this.printSequence(e.directives,{indent:!0,trailingCommentsLineOffset:i}),(n=e.directives[r-1].trailingComments)!=null&&n.length||this.newline(i)}let s=this.enterForStatementInit(!1);this.printSequence(e.body,{indent:!0}),s(),this.rightBrace(e)}function Ane(e){this.print(e.value),this.semicolon()}var Cne=/(?:^|[^\\])(?:\\\\)*'/,wne=/(?:^|[^\\])(?:\\\\)*"/;function Dne(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&t!==void 0){this.token(t);return}let{value:r}=e;if(!wne.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 Ine(e){this.token(`#!${e.value}`),this.newline(1,!0)}function One(e){this.token("%%"),this.print(e.name),this.token("%%"),e.expectedNode==="Statement"&&this.semicolon()}});var WA=E(dr=>{"use strict";Object.defineProperty(dr,"__esModule",{value:!0});dr.JSXAttribute=_ne;dr.JSXClosingElement=Vne;dr.JSXClosingFragment=Gne;dr.JSXElement=Mne;dr.JSXEmptyExpression=$ne;dr.JSXExpressionContainer=Lne;dr.JSXFragment=Wne;dr.JSXIdentifier=Nne;dr.JSXMemberExpression=Fne;dr.JSXNamespacedName=Bne;dr.JSXOpeningElement=Une;dr.JSXOpeningFragment=Kne;dr.JSXSpreadAttribute=kne;dr.JSXSpreadChild=Rne;dr.JSXText=jne;function _ne(e){this.print(e.name),e.value&&(this.tokenChar(61),this.print(e.value))}function Nne(e){this.word(e.name)}function Bne(e){this.print(e.namespace),this.tokenChar(58),this.print(e.name)}function Fne(e){this.print(e.object),this.tokenChar(46),this.print(e.property)}function kne(e){this.tokenChar(123),this.token("..."),this.print(e.argument),this.rightBrace(e)}function Lne(e){this.tokenChar(123),this.print(e.expression),this.rightBrace(e)}function Rne(e){this.tokenChar(123),this.token("..."),this.print(e.expression),this.rightBrace(e)}function jne(e){let t=this.getPossibleRaw(e);t!==void 0?this.token(t,!0):this.token(e.value,!0)}function Mne(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 qne(){this.space()}function Une(e){this.tokenChar(60),this.print(e.name),this.print(e.typeParameters),e.attributes.length>0&&(this.space(),this.printJoin(e.attributes,{separator:qne})),e.selfClosing?(this.space(),this.token("/>")):this.tokenChar(62)}function Vne(e){this.token("</"),this.print(e.name),this.tokenChar(62)}function $ne(){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 Kne(){this.tokenChar(60),this.tokenChar(62)}function Gne(){this.token("</"),this.tokenChar(62)}});var HA=E(ce=>{"use strict";Object.defineProperty(ce,"__esModule",{value:!0});ce.TSAnyKeyword=ase;ce.TSArrayType=Dse;ce.TSSatisfiesExpression=ce.TSAsExpression=Gse;ce.TSBigIntKeyword=ose;ce.TSBooleanKeyword=fse;ce.TSCallSignatureDeclaration=ese;ce.TSConditionalType=kse;ce.TSConstructSignatureDeclaration=tse;ce.TSConstructorType=Tse;ce.TSDeclareFunction=zne;ce.TSDeclareMethod=Qne;ce.TSEnumDeclaration=Yse;ce.TSEnumMember=Jse;ce.TSExportAssignment=nie;ce.TSExpressionWithTypeArguments=Vse;ce.TSExternalModuleReference=tie;ce.TSFunctionType=vse;ce.TSImportEqualsDeclaration=eie;ce.TSImportType=Zse;ce.TSIndexSignature=ise;ce.TSIndexedAccessType=Mse;ce.TSInferType=Lse;ce.TSInstantiationExpression=Xse;ce.TSInterfaceBody=Wse;ce.TSInterfaceDeclaration=$se;ce.TSIntersectionType=Fse;ce.TSIntrinsicKeyword=bse;ce.TSLiteralType=Use;ce.TSMappedType=qse;ce.TSMethodSignature=sse;ce.TSModuleBlock=Qse;ce.TSModuleDeclaration=zse;ce.TSNamedTupleMember=Nse;ce.TSNamespaceExportDeclaration=sie;ce.TSNeverKeyword=gse;ce.TSNonNullExpression=rie;ce.TSNullKeyword=yse;ce.TSNumberKeyword=use;ce.TSObjectKeyword=cse;ce.TSOptionalType=Ose;ce.TSParameterProperty=Jne;ce.TSParenthesizedType=Rse;ce.TSPropertySignature=rse;ce.TSQualifiedName=Zne;ce.TSRestType=_se;ce.TSStringKeyword=pse;ce.TSSymbolKeyword=dse;ce.TSThisType=Ese;ce.TSTupleType=Ise;ce.TSTypeAliasDeclaration=Kse;ce.TSTypeAnnotation=Hne;ce.TSTypeAssertion=Hse;ce.TSTypeLiteral=Cse;ce.TSTypeOperator=jse;ce.TSTypeParameter=Yne;ce.TSTypeParameterDeclaration=ce.TSTypeParameterInstantiation=Xne;ce.TSTypePredicate=Pse;ce.TSTypeQuery=Ase;ce.TSTypeReference=xse;ce.TSUndefinedKeyword=mse;ce.TSUnionType=Bse;ce.TSUnknownKeyword=lse;ce.TSVoidKeyword=hse;ce.tsPrintClassMemberModifiers=aie;ce.tsPrintFunctionOrConstructorType=Sse;ce.tsPrintPropertyOrMethodName=nse;ce.tsPrintSignatureDeclarationBase=iie;ce.tsPrintTypeLiteralOrInterfaceBody=wse;function Hne(e){this.tokenChar(58),this.space(),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)}function Xne(e,t){this.tokenChar(60),this.printList(e.params,{}),t.type==="ArrowFunctionExpression"&&e.params.length===1&&this.tokenChar(44),this.tokenChar(62)}function Yne(e){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 Jne(e){e.accessibility&&(this.word(e.accessibility),this.space()),e.readonly&&(this.word("readonly"),this.space()),this._param(e.parameter)}function zne(e,t){e.declare&&(this.word("declare"),this.space()),this._functionHead(e,t),this.semicolon()}function Qne(e){this._classMethodHead(e),this.semicolon()}function Zne(e){this.print(e.left),this.tokenChar(46),this.print(e.right)}function ese(e){this.tsPrintSignatureDeclarationBase(e),this.semicolon()}function tse(e){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(e),this.semicolon()}function rse(e){let{readonly:t}=e;t&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(e),this.print(e.typeAnnotation),this.semicolon()}function nse(e){e.computed&&this.tokenChar(91),this.print(e.key),e.computed&&this.tokenChar(93),e.optional&&this.tokenChar(63)}function sse(e){let{kind:t}=e;(t==="set"||t==="get")&&(this.word(t),this.space()),this.tsPrintPropertyOrMethodName(e),this.tsPrintSignatureDeclarationBase(e),this.semicolon()}function ise(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.tokenChar(93),this.print(e.typeAnnotation),this.semicolon()}function ase(){this.word("any")}function ose(){this.word("bigint")}function lse(){this.word("unknown")}function use(){this.word("number")}function cse(){this.word("object")}function fse(){this.word("boolean")}function pse(){this.word("string")}function dse(){this.word("symbol")}function hse(){this.word("void")}function mse(){this.word("undefined")}function yse(){this.word("null")}function gse(){this.word("never")}function bse(){this.word("intrinsic")}function Ese(){this.word("this")}function vse(e){this.tsPrintFunctionOrConstructorType(e)}function Tse(e){e.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(e)}function Sse(e){let{typeParameters:t}=e,r=e.parameters;this.print(t),this.tokenChar(40),this._parameters(r),this.tokenChar(41),this.space(),this.token("=>"),this.space();let n=e.typeAnnotation;this.print(n.typeAnnotation)}function xse(e){this.print(e.typeName,!0),this.print(e.typeParameters,!0)}function Pse(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 Ase(e){this.word("typeof"),this.space(),this.print(e.exprName),e.typeParameters&&this.print(e.typeParameters)}function Cse(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)}function wse(e,t){a0(this,e,t)}function a0(e,t,r){if(e.token("{"),t.length){e.indent(),e.newline();for(let n of t)e.print(n),e.newline();e.dedent()}e.rightBrace(r)}function Dse(e){this.print(e.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function Ise(e){this.tokenChar(91),this.printList(e.elementTypes),this.tokenChar(93)}function Ose(e){this.print(e.typeAnnotation),this.tokenChar(63)}function _se(e){this.token("..."),this.print(e.typeAnnotation)}function Nse(e){this.print(e.label),e.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(e.elementType)}function Bse(e){GA(this,e,"|")}function Fse(e){GA(this,e,"&")}function GA(e,t,r){e.printJoin(t.types,{separator(){this.space(),this.token(r),this.space()}})}function kse(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 Lse(e){this.token("infer"),this.space(),this.print(e.typeParameter)}function Rse(e){this.tokenChar(40),this.print(e.typeAnnotation),this.tokenChar(41)}function jse(e){this.word(e.operator),this.space(),this.print(e.typeAnnotation)}function Mse(e){this.print(e.objectType,!0),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)}function qse(e){let{nameType:t,optional:r,readonly:n,typeAnnotation:s}=e;this.tokenChar(123),this.space(),n&&(KA(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&&(KA(this,r),this.tokenChar(63)),s&&(this.tokenChar(58),this.space(),this.print(s)),this.space(),this.tokenChar(125)}function KA(e,t){t!==!0&&e.token(t)}function Use(e){this.print(e.literal)}function Vse(e){this.print(e.expression),this.print(e.typeParameters)}function $se(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){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)}function Kse(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 Gse(e){var t;let{type:r,expression:n,typeAnnotation:s}=e,i=(t=n.trailingComments)==null?void 0:t.some(a=>a.type==="CommentLine"||/[\r\n\u2028\u2029]/.test(a.value));this.print(n,!0,void 0,i),this.space(),this.word(r==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(s)}function Hse(e){let{typeAnnotation:t,expression:r}=e;this.tokenChar(60),this.print(t),this.tokenChar(62),this.space(),this.print(r)}function Xse(e){this.print(e.expression),this.print(e.typeParameters)}function Yse(e){let{declare:t,const:r,id:n,members:s}=e;t&&(this.word("declare"),this.space()),r&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(n),this.space(),a0(this,s,e)}function Jse(e){let{id:t,initializer:r}=e;this.print(t),r&&(this.space(),this.tokenChar(61),this.space(),this.print(r)),this.tokenChar(44)}function zse(e){let{declare:t,id:r}=e;if(t&&(this.word("declare"),this.space()),e.global||(this.word(r.type==="Identifier"?"namespace":"module"),this.space()),this.print(r),!e.body){this.semicolon();return}let n=e.body;for(;n.type==="TSModuleDeclaration";)this.tokenChar(46),this.print(n.id),n=n.body;this.space(),this.print(n)}function Qse(e){a0(this,e.body,e)}function Zse(e){let{argument:t,qualifier:r,typeParameters:n}=e;this.word("import"),this.tokenChar(40),this.print(t),this.tokenChar(41),r&&(this.tokenChar(46),this.print(r)),n&&this.print(n)}function eie(e){let{isExport:t,id:r,moduleReference:n}=e;t&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(r),this.space(),this.tokenChar(61),this.space(),this.print(n),this.semicolon()}function tie(e){this.token("require("),this.print(e.expression),this.tokenChar(41)}function rie(e){this.print(e.expression),this.tokenChar(33)}function nie(e){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(e.expression),this.semicolon()}function sie(e){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(e.id),this.semicolon()}function iie(e){let{typeParameters:t}=e,r=e.parameters;this.print(t),this.tokenChar(40),this._parameters(r),this.tokenChar(41);let n=e.typeAnnotation;this.print(n)}function aie(e){let t=e.type==="ClassAccessorProperty"||e.type==="ClassProperty";t&&e.declare&&(this.word("declare"),this.space()),e.accessibility&&(this.word(e.accessibility),this.space()),e.static&&(this.word("static"),this.space()),e.override&&(this.word("override"),this.space()),e.abstract&&(this.word("abstract"),this.space()),t&&e.readonly&&(this.word("readonly"),this.space())}});var XA=E(lt=>{"use strict";Object.defineProperty(lt,"__esModule",{value:!0});var o0=xA();Object.keys(o0).forEach(function(e){e==="default"||e==="__esModule"||e in lt&&lt[e]===o0[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return o0[e]}})});var l0=AA();Object.keys(l0).forEach(function(e){e==="default"||e==="__esModule"||e in lt&&lt[e]===l0[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return l0[e]}})});var u0=IA();Object.keys(u0).forEach(function(e){e==="default"||e==="__esModule"||e in lt&&lt[e]===u0[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return u0[e]}})});var c0=OA();Object.keys(c0).forEach(function(e){e==="default"||e==="__esModule"||e in lt&&lt[e]===c0[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return c0[e]}})});var f0=_A();Object.keys(f0).forEach(function(e){e==="default"||e==="__esModule"||e in lt&&lt[e]===f0[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return f0[e]}})});var p0=r0();Object.keys(p0).forEach(function(e){e==="default"||e==="__esModule"||e in lt&&lt[e]===p0[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return p0[e]}})});var d0=s0();Object.keys(d0).forEach(function(e){e==="default"||e==="__esModule"||e in lt&&lt[e]===d0[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return d0[e]}})});var h0=VA();Object.keys(h0).forEach(function(e){e==="default"||e==="__esModule"||e in lt&&lt[e]===h0[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return h0[e]}})});var m0=$A();Object.keys(m0).forEach(function(e){e==="default"||e==="__esModule"||e in lt&&lt[e]===m0[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return m0[e]}})});var y0=WA();Object.keys(y0).forEach(function(e){e==="default"||e==="__esModule"||e in lt&&lt[e]===y0[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return y0[e]}})});var g0=HA();Object.keys(g0).forEach(function(e){e==="default"||e==="__esModule"||e in lt&&lt[e]===g0[e]||Object.defineProperty(lt,e,{enumerable:!0,get:function(){return g0[e]}})})});var JA=E(Rc=>{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});Rc.default=void 0;var oie=aA(),lie=Ks(),uie=Be(),cie=XA(),{isFunction:fie,isStatement:pie,isClassBody:die,isTSInterfaceBody:hie,isTSEnumDeclaration:mie}=uie,yie=/e/i,gie=/\.0+$/,YA=/[\n\r\u2028\u2029]/,bie=/[\n\r\u2028\u2029]|\*\//,{needsParens:Eie}=lie,cl=class{constructor(t,r){this.inForStatementInit=!1,this.tokenContext=0,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._parenPushNewlineState=null,this._noLineTerminator=!1,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.format=t,this._indentRepeat=t.indent.style.length,this._inputMap=r?._inputMap,this._buf=new oie.default(r,t.indent.style[0])}enterForStatementInit(t){let r=this.inForStatementInit;return r===t?()=>{}:(this.inForStatementInit=t,()=>{this.inForStatementInit=r})}generate(t){return this.print(t),this._maybeAddAuxComment(),this._buf.get()}indent(){this.format.compact||this.format.concise||this._indent++}dedent(){this.format.compact||this.format.concise||this._indent--}semicolon(t=!1){this._maybeAddAuxComment(),t?this._appendChar(59):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){if(!this.format.compact){if(t)this._space();else if(this._buf.hasContent()){let r=this.getLastChar();r!==32&&r!==10&&this._space()}}}word(t,r=!1){this.tokenContext=0,this._maybePrintInnerComments(),(this._endsWithWord||this._endsWithDiv&&t.charCodeAt(0)===47)&&this._space(),this._maybeAddAuxComment(),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)&&!yie.test(t)&&!gie.test(t)&&t.charCodeAt(t.length-1)!==46}token(t,r=!1){this.tokenContext=0,this._maybePrintInnerComments();let n=this.getLastChar(),s=t.charCodeAt(0);(n===33&&(t==="--"||s===61)||s===43&&n===43||s===45&&n===45||s===46&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._append(t,r),this._noLineTerminator=!1}tokenChar(t){this.tokenContext=0,this._maybePrintInnerComments();let r=this.getLastChar();(t===43&&r===43||t===45&&r===45||t===46&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),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._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)}_append(t,r){this._maybeAddParen(t),this._maybeIndent(t.charCodeAt(0)),this._buf.append(t,r),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(t){this._maybeAddParenChar(t),this._maybeIndent(t),this._buf.appendChar(t),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(t){this._maybeAddParenChar(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}_maybeAddParenChar(t){let r=this._parenPushNewlineState;if(r&&t!==32){if(t!==10){this._parenPushNewlineState=null;return}this.tokenChar(40),this.indent(),r.printed=!0}}_maybeAddParen(t){let r=this._parenPushNewlineState;if(!r)return;let n=t.length,s;for(s=0;s<n&&t.charCodeAt(s)===32;s++);if(s===n)return;let i=t.charCodeAt(s);if(i!==10){if(i!==47||s+1===n){this._parenPushNewlineState=null;return}let a=t.charCodeAt(s+1);if(a===42)return;if(a!==47){this._parenPushNewlineState=null;return}}this.tokenChar(40),this.indent(),r.printed=!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){var n;if(!this.format.retainLines)return;let s=r==null||(n=r[t])==null?void 0:n.line;if(s!=null){let i=s-this._buf.getCurrentLine();for(let a=0;a<i;a++)this._newline()}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(t,r){if(r)this._noLineTerminator=!0,this.print(t);else{let n={printed:!1};this._parenPushNewlineState=n,this.print(t),n.printed&&(this.dedent(),this.newline(),this.tokenChar(41))}}print(t,r,n,s){var 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 f=this._currentNode;this._currentNode=t;let p=this._insideAux;this._insideAux=t.loc==null,this._maybeAddAuxComment(this._insideAux&&!p);let h=(i=t.extra)==null?void 0:i.parenthesized,b=s||h&&l.retainFunctionParens&&o==="FunctionExpression"||Eie(t,f,this.tokenContext,this.inForStatementInit);if(!b&&h&&(a=t.leadingComments)!=null&&a.length&&t.leadingComments[0].type==="CommentBlock")switch(f?.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(f.callee!==t)break;default:b=!0}let d;b&&(this.tokenChar(40),this._endsWithInnerRaw=!1,d=this.enterForStatementInit(!1)),this._lastCommentLine=0,this._printLeadingComments(t,f);let y=o==="Program"||o==="File"?null:t.loc;this.exactSource(y,c.bind(this,t,f)),b?(this._printTrailingComments(t,f),this.tokenChar(41),this._noLineTerminator=r,d()):r&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(t,f)):this._printTrailingComments(t,f,n),this._currentNode=f,l.concise=u,this._insideAux=p,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?.raw!=null&&r.rawValue!=null&&t.value===r.rawValue)return r.raw}printJoin(t,r={}){if(!(t!=null&&t.length))return;let{indent:n}=r;if(n==null&&this.format.retainLines){var s;let c=(s=t[0].loc)==null?void 0:s.start.line;c!=null&&c!==this._buf.getCurrentLine()&&(n=!0)}n&&this.indent();let i={addNewlines:r.addNewlines,nextNodeStartLine:0},a=r.separator?r.separator.bind(this):null,o=t.length;for(let c=0;c<o;c++){let f=t[c];if(f&&(r.statement&&this._printNewline(c===0,i),this.print(f,void 0,r.trailingCommentsLineOffset||0),r.iterator==null||r.iterator(f,c),c<o-1&&a?.(),r.statement)){var l;if((l=f.trailingComments)!=null&&l.length||(this._lastCommentLine=0),c+1===o)this.newline(1);else{var u;let p=t[c+1];i.nextNodeStartLine=((u=p.loc)==null?void 0:u.start.line)||0,this._printNewline(!0,i)}}}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(){this._endsWithInnerRaw&&this.printInnerComments(),this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(){let t=this._currentNode,r=t.innerComments;if(!(r!=null&&r.length))return;let n=this.endsWith(32),s=this._indentInnerComments,i=this._printedComments.size;s&&this.indent(),this._printComments(1,r,t),n&&i!==this._printedComments.size&&this.space(),s&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(t,r={}){var n;r.statement=!0,(n=r.indent)!=null||(r.indent=!1),this.printJoin(t,r)}printList(t,r={}){r.separator==null&&(r.separator=vie),this.printJoin(t,r)}_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){return t.ignore||this._printedComments.has(t)?0:this._noLineTerminator&&bie.test(t.value)?2:(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){let{_parenPushNewlineState:u}=this;if(u?.printed===!1&&YA.test(t.value)&&(this.tokenChar(40),this.indent(),u.printed=!0),o=`/*${t.value}*/`,this.format.indent.adjustMultilineComment){var l;let c=(l=t.loc)==null?void 0:l.start.column;if(c){let f=new RegExp("\\n\\s{1,"+c+"}","g");o=o.replace(f,`
42
- `)}if(this.format.concise)o=o.replace(/\n(?!$)/g,`
43
- `);else{let f=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(f+=this._getIndent()),o=o.replace(/\n(?!$)/g,`
44
- ${" ".repeat(f)}`)}}}else n?o=`/*${t.value}*/`:o=`//${t.value}`;this._endsWithDiv&&this._space(),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){let a=n.loc,o=r.length,l=!!a,u=l?a.start.line:0,c=l?a.end.line:0,f=0,p=0,h=this._noLineTerminator?function(){}:this.newline.bind(this);for(let b=0;b<o;b++){let d=r[b],y=this._shouldPrintComment(d);if(y===2){l=!1;break}if(l&&d.loc&&y===1){let P=d.loc.start.line,D=d.loc.end.line;if(t===0){let N=0;b===0?this._buf.hasContent()&&(d.type==="CommentLine"||P!==D)&&(N=p=1):N=P-f,f=D,h(N),this._printComment(d,1),b+1===o&&(h(Math.max(u-f,p)),f=u)}else if(t===1){let N=P-(b===0?u:f);f=D,h(N),this._printComment(d,1),b+1===o&&(h(Math.min(1,c-f)),f=c)}else{let N=P-(b===0?c-i:f);f=D,h(N),this._printComment(d,1)}}else{if(l=!1,y!==1)continue;if(o===1){let P=d.loc?d.loc.start.line===d.loc.end.line:!YA.test(d.value),D=P&&!pie(n)&&!die(s)&&!hie(s)&&!mie(s);t===0?this._printComment(d,D&&n.type!=="ObjectExpression"||P&&fie(s,{body:n})?1:0):D&&t===2?this._printComment(d,1):this._printComment(d,0)}else t===1&&!(n.type==="ObjectExpression"&&n.properties.length>1)&&n.type!=="ClassBody"&&n.type!=="TSInterfaceBody"?this._printComment(d,b===0?2:b===o-1?3:0):this._printComment(d,0)}}t===2&&l&&f&&(this._lastCommentLine=f)}};Object.assign(cl.prototype,cie);cl.prototype.Noop=function(){};var t2e=Rc.default=cl;function vie(){this.tokenChar(44),this.space()}});var Mc=E(jc=>{"use strict";Object.defineProperty(jc,"__esModule",{value:!0});jc.default=Tie;var zA=iA(),QA=JA();function ZA(e,t){let r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,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 n;r.decoratorsBeforeExport=t.decoratorsBeforeExport,r.jsescOption.json=t.jsonCompatibleStrings,r.recordAndTupleSyntaxType=(n=t.recordAndTupleSyntaxType)!=null?n:"hash"}r.minified?(r.compact=!0,r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)):r.shouldPrintComment=r.shouldPrintComment||(o=>r.comments||o.includes("@license")||o.includes("@preserve")),r.compact==="auto"&&(r.compact=typeof e=="string"&&e.length>5e5,r.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${t.filename} as it exceeds the max of 500KB.`)),r.compact&&(r.indent.adjustMultilineComment=!1);let{auxiliaryCommentBefore:s,auxiliaryCommentAfter:i,shouldPrintComment:a}=r;return s&&!a(s)&&(r.auxiliaryCommentBefore=void 0),i&&!a(i)&&(r.auxiliaryCommentAfter=void 0),r}jc.CodeGenerator=class{constructor(t,r={},n){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=t,this._format=ZA(n,r),this._map=r.sourceMaps?new zA.default(r,n):null}generate(){return new QA.default(this._format,this._map).generate(this._ast)}};function Tie(e,t={},r){let n=ZA(r,t),s=t.sourceMaps?new zA.default(t,r):null;return new QA.default(n,s).generate(e)}});var eC=E(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.find=Aie;un.findParent=Pie;un.getAncestry=Oie;un.getDeepestCommonAncestorFrom=Iie;un.getEarliestCommonAncestorFrom=Die;un.getFunctionParent=Cie;un.getStatementParent=wie;un.inType=Bie;un.isAncestor=_ie;un.isDescendant=Nie;var Sie=Be(),{VISITOR_KEYS:xie}=Sie;function Pie(e){let t=this;for(;t=t.parentPath;)if(e(t))return t;return null}function Aie(e){let t=this;do if(e(t))return t;while(t=t.parentPath);return null}function Cie(){return this.findParent(e=>e.isFunction())}function wie(){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 Die(e){return this.getDeepestCommonAncestorFrom(e,function(t,r,n){let s,i=xie[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 Iie(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 Oie(){let e=this,t=[];do t.push(e);while(e=e.parentPath);return t}function _ie(e){return e.isDescendant(this)}function Nie(e){return!!this.findParent(t=>t===e)}function Bie(...e){let t=this;for(;t;){for(let r of e)if(t.node.type===r)return!0;t=t.parentPath}return!1}});var E0=E(b0=>{"use strict";Object.defineProperty(b0,"__esModule",{value:!0});b0.createUnionType=jie;var Fie=Be(),{createFlowUnionType:tC,createTSUnionType:rC,createUnionTypeAnnotation:kie,isFlowType:Lie,isTSType:Rie}=Fie;function jie(e){{if(e.every(t=>Lie(t)))return tC?tC(e):kie(e);if(e.every(t=>Rie(t))&&rC)return rC(e)}}});var oC=E(v0=>{"use strict";Object.defineProperty(v0,"__esModule",{value:!0});v0.default=$ie;var Mie=Be(),sC=E0(),{BOOLEAN_NUMBER_BINARY_OPERATORS:qie,createTypeAnnotationBasedOnTypeof:Uie,numberTypeAnnotation:iC,voidTypeAnnotation:Vie}=Mie;function $ie(e){if(!this.isReferenced())return;let t=this.scope.getBinding(e.name);if(t)return t.identifier.typeAnnotation?t.identifier.typeAnnotation:Wie(t,this,e.name);if(e.name==="undefined")return Vie();if(e.name==="NaN"||e.name==="Infinity")return iC();e.name}function Wie(e,t,r){let n=[],s=[],i=nC(e,t,s),a=aC(e,t,r);if(a){let o=nC(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,sC.createUnionType)(n)}function nC(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 Kie(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():qie.includes(r)?iC():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 Uie(l)}function Gie(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 aC(e,t,r){let n=Gie(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=Kie(r,l);u&&a.push(u)}}return a.length?{typeAnnotation:(0,sC.createUnionType)(a),ifStatement:n}:aC(e,n,r)}});var mC=E(yt=>{"use strict";Object.defineProperty(yt,"__esModule",{value:!0});yt.ArrayExpression=pC;yt.AssignmentExpression=mae;yt.BinaryExpression=cae;yt.BooleanLiteral=Eae;yt.CallExpression=Dae;yt.ConditionalExpression=pae;yt.ClassDeclaration=yt.ClassExpression=yt.FunctionDeclaration=yt.ArrowFunctionExpression=yt.FunctionExpression=xae;Object.defineProperty(yt,"Identifier",{enumerable:!0,get:function(){return Xie.default}});yt.LogicalExpression=fae;yt.NewExpression=oae;yt.NullLiteral=vae;yt.NumericLiteral=bae;yt.ObjectExpression=Sae;yt.ParenthesizedExpression=hae;yt.RegExpLiteral=Tae;yt.RestElement=dC;yt.SequenceExpression=dae;yt.StringLiteral=gae;yt.TSAsExpression=fC;yt.TSNonNullExpression=aae;yt.TaggedTemplateExpression=Iae;yt.TemplateLiteral=lae;yt.TypeCastExpression=cC;yt.UnaryExpression=uae;yt.UpdateExpression=yae;yt.VariableDeclarator=iae;var Hie=Be(),Xie=oC(),uC=E0(),{BOOLEAN_BINARY_OPERATORS:Yie,BOOLEAN_UNARY_OPERATORS:Jie,NUMBER_BINARY_OPERATORS:zie,NUMBER_UNARY_OPERATORS:Qie,STRING_UNARY_OPERATORS:Zie,anyTypeAnnotation:lC,arrayTypeAnnotation:T0,booleanTypeAnnotation:S0,buildMatchMemberExpression:qc,genericTypeAnnotation:Xs,identifier:_i,nullLiteralTypeAnnotation:eae,numberTypeAnnotation:Ia,stringTypeAnnotation:Ni,tupleTypeAnnotation:tae,unionTypeAnnotation:rae,voidTypeAnnotation:nae,isIdentifier:sae}=Hie;function iae(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()}function cC(e){return e.typeAnnotation}cC.validParent=!0;function fC(e){return e.typeAnnotation}fC.validParent=!0;function aae(){return this.get("expression").getTypeAnnotation()}function oae(e){if(e.callee.type==="Identifier")return Xs(e.callee)}function lae(){return Ni()}function uae(e){let t=e.operator;if(t==="void")return nae();if(Qie.includes(t))return Ia();if(Zie.includes(t))return Ni();if(Jie.includes(t))return S0()}function cae(e){let t=e.operator;if(zie.includes(t))return Ia();if(Yie.includes(t))return S0();if(t==="+"){let r=this.get("right"),n=this.get("left");return n.isBaseType("number")&&r.isBaseType("number")?Ia():n.isBaseType("string")||r.isBaseType("string")?Ni():rae([Ni(),Ia()])}}function fae(){let e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,uC.createUnionType)(e)}function pae(){let e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,uC.createUnionType)(e)}function dae(){return this.get("expressions").pop().getTypeAnnotation()}function hae(){return this.get("expression").getTypeAnnotation()}function mae(){return this.get("right").getTypeAnnotation()}function yae(e){let t=e.operator;if(t==="++"||t==="--")return Ia()}function gae(){return Ni()}function bae(){return Ia()}function Eae(){return S0()}function vae(){return eae()}function Tae(){return Xs(_i("RegExp"))}function Sae(){return Xs(_i("Object"))}function pC(){return Xs(_i("Array"))}function dC(){return pC()}dC.validParent=!0;function xae(){return Xs(_i("Function"))}var Pae=qc("Array.from"),Aae=qc("Object.keys"),Cae=qc("Object.values"),wae=qc("Object.entries");function Dae(){let{callee:e}=this.node;return Aae(e)?T0(Ni()):Pae(e)||Cae(e)||sae(e,{name:"Array"})?T0(lC()):wae(e)?T0(tae([Ni(),lC()])):hC(this.get("callee"))}function Iae(){return hC(this.get("tag"))}function hC(e){if(e=e.resolve(),e.isFunction()){let{node:t}=e;if(t.async)return t.generator?Xs(_i("AsyncIterator")):Xs(_i("Promise"));if(t.generator)return Xs(_i("Iterator"));if(e.node.returnType)return e.node.returnType}}});var vC=E(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});Ys._getTypeAnnotation=EC;Ys.baseTypeStrictlyMatches=zae;Ys.couldBeBaseType=Jae;Ys.getTypeAnnotation=Xae;Ys.isBaseType=Yae;Ys.isGenericType=Qae;var yC=mC(),Oae=Be(),{anyTypeAnnotation:bC,isAnyTypeAnnotation:Uc,isArrayTypeAnnotation:_ae,isBooleanTypeAnnotation:Nae,isEmptyTypeAnnotation:Bae,isFlowBaseAnnotation:Fae,isGenericTypeAnnotation:kae,isIdentifier:gC,isMixedTypeAnnotation:Lae,isNumberTypeAnnotation:Rae,isStringTypeAnnotation:jae,isTSArrayType:Mae,isTSTypeAnnotation:qae,isTSTypeReference:Uae,isTupleTypeAnnotation:Vae,isTypeAnnotation:$ae,isUnionTypeAnnotation:Wae,isVoidTypeAnnotation:Kae,stringTypeAnnotation:Gae,voidTypeAnnotation:Hae}=Oae;function Xae(){let e=this.getData("typeAnnotation");return e!=null||(e=EC.call(this)||bC(),($ae(e)||qae(e))&&(e=e.typeAnnotation),this.setData("typeAnnotation",e)),e}var x0=new WeakSet;function EC(){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()?Gae():r.key==="left"&&n.isForOfStatement()?bC():Hae()}else return;if(e.typeAnnotation)return e.typeAnnotation;if(!x0.has(e)){x0.add(e);try{var t;let r=yC[e.type];if(r)return r.call(this,e);if(r=yC[this.parentPath.type],(t=r)!=null&&t.validParent)return this.parentPath.getTypeAnnotation()}finally{x0.delete(e)}}}function Yae(e,t){return P0(e,this.getTypeAnnotation(),t)}function P0(e,t,r){if(e==="string")return jae(t);if(e==="number")return Rae(t);if(e==="boolean")return Nae(t);if(e==="any")return Uc(t);if(e==="mixed")return Lae(t);if(e==="empty")return Bae(t);if(e==="void")return Kae(t);if(r)return!1;throw new Error(`Unknown base type ${e}`)}function Jae(e){let t=this.getTypeAnnotation();if(Uc(t))return!0;if(Wae(t)){for(let r of t.types)if(Uc(r)||P0(e,r,!0))return!0;return!1}else return P0(e,t,!0)}function zae(e){let t=this.getTypeAnnotation(),r=e.getTypeAnnotation();return!Uc(t)&&Fae(t)?r.type===t.type:!1}function Qae(e){let t=this.getTypeAnnotation();return e==="Array"&&(Mae(t)||_ae(t)||Vae(t))?!0:kae(t)&&gC(t.id,{name:e})||Uae(t)&&gC(t.typeName,{name:e})}});var SC=E(Vc=>{"use strict";Object.defineProperty(Vc,"__esModule",{value:!0});Vc.default=void 0;var TC=Be(),Zae=TC,{react:eoe}=TC,{cloneNode:toe,jsxExpressionContainer:roe,variableDeclaration:noe,variableDeclarator:soe}=Zae,ioe={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&eoe.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)}}},A0=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(ioe,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=soe(r,this.path.node),s=this.attachAfter?"insertAfter":"insertBefore",[i]=t[s]([t.isVariableDeclarator()?n:noe("var",[n])]),a=this.path.parentPath;return a.isJSXElement()&&this.path.container===a.node.children&&(r=roe(r)),this.path.replaceWith(toe(r)),t.isVariableDeclarator()?i.get("init"):i.get("declarations.0.init")}};Vc.default=A0});var xC=E($c=>{"use strict";Object.defineProperty($c,"__esModule",{value:!0});$c.hooks=void 0;var f2e=$c.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 Wc=E(Js=>{"use strict";Object.defineProperty(Js,"__esModule",{value:!0});Js._assertUnremoved=DC;Js._callRemovalHooks=CC;Js._markRemoved=C0;Js._remove=wC;Js._removeFromScope=AC;Js.remove=doe;var aoe=xC(),ooe=wi(),loe=w0(),PC=zs(),uoe=Be(),coe=Kc(),foe=Wn(),{getBindingIdentifiers:poe}=uoe;function doe(){var e;if(DC.call(this),foe.resync.call(this),CC.call(this)){C0.call(this);return}(e=this.opts)!=null&&e.noScope||AC.call(this),this.shareCommentsWithSiblings(),wC.call(this),C0.call(this)}function AC(){let e=poe(this.node,!1,!1,!0);Object.keys(e).forEach(t=>this.scope.removeBinding(t))}function CC(){if(this.parentPath){for(let e of aoe.hooks)if(e(this,this.parentPath))return!0}}function wC(){Array.isArray(this.container)?(this.container.splice(this.key,1),coe.updateSiblingKeys.call(this,this.key,-1)):loe._replaceWith.call(this,null)}function C0(){this._traverseFlags|=PC.SHOULD_SKIP|PC.REMOVED,this.parent&&(0,ooe.getCachedPaths)(this.hub,this.parent).delete(this.node),this.node=null}function DC(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}});var Kc=E(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn._containerInsert=N0;cn._containerInsertAfter=_C;cn._containerInsertBefore=B0;cn._verifyNodeList=fl;cn.insertAfter=Ooe;cn.insertBefore=Doe;cn.pushContainer=Noe;cn.unshiftContainer=_oe;cn.updateSiblingKeys=FC;var hoe=wi(),moe=SC(),_0=zs(),D0=Wn(),Gc=Wc(),yoe=Be(),{arrowFunctionExpression:goe,assertExpression:boe,assignmentExpression:Eoe,blockStatement:IC,callExpression:voe,cloneNode:I0,expressionStatement:O0,isAssignmentExpression:Toe,isCallExpression:Soe,isExportNamedDeclaration:OC,isExpression:xoe,isIdentifier:Poe,isSequenceExpression:Aoe,isSuper:Coe,thisExpression:woe}=yoe;function Doe(e){Gc._assertUnremoved.call(this);let t=fl.call(this,e),{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||OC(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 B0.call(this,t);if(this.isStatementOrBlock()){let s=this.node,i=s&&(!this.isExpressionStatement()||s.expression!=null);return this.replaceWith(IC(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 N0(e,t){FC.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&&D0.pushContext.call(o,this.context)}let s=D0._getQueueContexts.call(this);for(let i of r){D0.setScope.call(i),i.debug("Inserted.");for(let a of s)a.maybeQueue(i,!0)}return r}function B0(e){return N0.call(this,this.key,e)}function _C(e){return N0.call(this,this.key+1,e)}var NC=e=>e[e.length-1];function BC(e){return Aoe(e.parent)&&(NC(e.parent.expressions)!==e.node||BC(e.parentPath))}function Ioe(e,t){if(!Toe(e)||!Poe(e.left))return!1;let r=t.getBlockParent();return r.hasOwnBinding(e.left.name)&&r.getOwnBinding(e.left.name).constantViolations.length<=1}function Ooe(e){if(Gc._assertUnremoved.call(this),this.isSequenceExpression())return NC(this.get("expressions")).insertAfter(e);let t=fl.call(this,e),{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||OC(n)||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertAfter(t.map(s=>xoe(s)?O0(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 boe(i),s.replaceWith(voe(goe([],i),[])),s.get("callee.body").insertAfter(t),[s];if(BC(s))t.unshift(i);else if(Soe(i)&&Coe(i.callee))t.unshift(i),t.push(woe());else if(Ioe(i,a))t.unshift(i),t.push(I0(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(O0(Eoe("=",I0(o),i))),t.push(O0(I0(o)))}}return this.replaceExpressionWithStatements(t)}else{if(Array.isArray(this.container))return _C.call(this,t);if(this.isStatementOrBlock()){let s=this.node,i=s&&(!this.isExpressionStatement()||s.expression!=null);return this.replaceWith(IC(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 FC(e,t){if(!this.parent)return;let r=(0,hoe.getCachedPaths)(this.hub,this.parent)||[];for(let[,n]of r)typeof n.key=="number"&&n.key>=e&&(n.key+=t)}function fl(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 _0.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 _oe(e,t){Gc._assertUnremoved.call(this),t=fl.call(this,t);let r=_0.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).setContext(this.context);return B0.call(r,t)}function Noe(e,t){Gc._assertUnremoved.call(this);let r=fl.call(this,t),n=this.node[e];return _0.default.get({parentPath:this,parent:this.node,container:n,listKey:e,key:n.length}).setContext(this.context).replaceWithMultiple(r)}cn.hoist=function(t=this.scope){return new moe.default(this,t).run()}});var w0=E(Qs=>{"use strict";Object.defineProperty(Qs,"__esModule",{value:!0});Qs._replaceWith=VC;Qs.replaceExpressionWithStatements=ale;Qs.replaceInline=ole;Qs.replaceWith=ile;Qs.replaceWithMultiple=nle;Qs.replaceWithSourceString=sle;var Boe=el(),k0=rr(),Foe=zs(),MC=wi(),L0=Kc(),koe=Jo(),Loe=Be(),Oa=Wn(),{FUNCTION_TYPES:kC,arrowFunctionExpression:Roe,assignmentExpression:qC,awaitExpression:joe,blockStatement:Moe,buildUndefinedNode:F0,callExpression:qoe,cloneNode:R0,conditionalExpression:Uoe,expressionStatement:Voe,getBindingIdentifiers:$oe,identifier:Woe,inheritLeadingComments:Koe,inheritTrailingComments:Goe,inheritsComments:Hoe,isBlockStatement:Xoe,isEmptyStatement:LC,isExpression:UC,isExpressionStatement:Yoe,isIfStatement:Joe,isProgram:zoe,isStatement:Qoe,isVariableDeclaration:Zoe,removeComments:ele,returnStatement:RC,sequenceExpression:tle,validate:jC,yieldExpression:rle}=Loe;function nle(e){var t;Oa.resync.call(this),e=L0._verifyNodeList.call(this,e),Koe(e[0],this.node),Goe(e[e.length-1],this.node),(t=(0,MC.getCachedPaths)(this.hub,this.parent))==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 sle(e){Oa.resync.call(this);let t;try{e=`(${e})`,t=(0,koe.parse)(e)}catch(n){let s=n.loc;throw s&&(n.message+=` - make sure this is an expression.
45
- `+(0,Boe.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 k0.default.removeProperties(r),this.replaceWith(r)}function ile(e){if(Oa.resync.call(this),this.removed)throw new Error("You can't replace this node, we've already removed it");let t=e instanceof Foe.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()&&!zoe(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")&&UC(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t)&&!this.parentPath.isExportDefaultDeclaration()&&(t=Voe(t),r="expression"),this.isNodeType("Expression")&&Qoe(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t))return this.replaceExpressionWithStatements([t]);let n=this.node;return n&&(Hoe(t,n),ele(n)),VC.call(this,t),this.type=t.type,Oa.setScope.call(this),this.requeue(),[r?this.get(r):this]}function VC(e){var t;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?jC(this.parent,this.key,[e]):jC(this.parent,this.key,e),this.debug(`Replace with ${e?.type}`),(t=(0,MC.getCachedPaths)(this.hub,this.parent))==null||t.set(e,this).delete(this.node),this.node=this.container[this.key]=e}function ale(e){Oa.resync.call(this);let t=[],r=Hc(e,t);if(r){for(let p of t)this.scope.push({id:p});return this.replaceWith(r)[0].get("expressions")}let n=this.getFunctionParent(),s=n?.node.async,i=n?.node.generator,a=Roe([],Moe(e));this.replaceWith(qoe(a,[]));let o=this.get("callee");o.get("body").scope.hoistVariables(p=>this.scope.push({id:p}));let l=o.getCompletionRecords();for(let p of l){if(!p.isExpressionStatement())continue;let h=p.findParent(b=>b.isLoop());if(h){let b=h.getData("expressionReplacementReturnUid");b?b=Woe(b.name):(b=o.scope.generateDeclaredUidIdentifier("ret"),o.get("body").pushContainer("body",RC(R0(b))),h.setData("expressionReplacementReturnUid",b)),p.get("expression").replaceWith(qC("=",R0(b),p.node.expression))}else p.replaceWith(RC(p.node.expression))}o.arrowFunctionToExpression();let u=o,c=s&&k0.default.hasType(this.get("callee.body").node,"AwaitExpression",kC),f=i&&k0.default.hasType(this.get("callee.body").node,"YieldExpression",kC);return c&&(u.set("async",!0),f||this.replaceWith(joe(this.node))),f&&(u.set("generator",!0),this.replaceWith(rle(this.node,!0))),u.get("body.body")}function Hc(e,t){let r=[],n=!0;for(let s of e)if(LC(s)||(n=!1),UC(s))r.push(s);else if(Yoe(s))r.push(s.expression);else if(Zoe(s)){if(s.kind!=="var")return;for(let i of s.declarations){let a=$oe(i);for(let o of Object.keys(a))t.push(R0(a[o]));i.init&&r.push(qC("=",i.id,i.init))}n=!0}else if(Joe(s)){let i=s.consequent?Hc([s.consequent],t):F0(),a=s.alternate?Hc([s.alternate],t):F0();if(!i||!a)return;r.push(Uoe(s.test,i,a))}else if(Xoe(s)){let i=Hc(s.body,t);if(!i)return;r.push(i)}else if(LC(s))e.indexOf(s)===0&&(n=!0);else return;return n&&r.push(F0()),r.length===1?r[0]:tle(r)}function ole(e){if(Oa.resync.call(this),Array.isArray(e))if(Array.isArray(this.container)){e=L0._verifyNodeList.call(this,e);let t=L0._containerInsertAfter.call(this,e);return this.remove(),t}else return this.replaceWithMultiple(e);else return this.replaceWith(e)}});var GC=E(Xc=>{"use strict";Object.defineProperty(Xc,"__esModule",{value:!0});Xc.evaluate=mle;Xc.evaluateTruthy=dle;var lle=["Number","String","Math"],ule=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],cle=["random"];function $C(e){return lle.includes(e)}function fle(e){return ule.includes(e)}function ple(e){return cle.includes(e)}function dle(){let e=this.evaluate();if(e.confident)return!!e.value}function ds(e,t){t.confident&&(t.deoptPath=e,t.confident=!1)}var WC=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function Lr(e,t){let{node:r}=e,{seen:n}=t;if(n.has(r)){let s=n.get(r);if(s.resolved)return s.value;ds(e,t);return}else{let s={resolved:!1};n.set(r,s);let i=hle(e,t);return t.confident&&(s.resolved=!0,s.value=i),i}}function hle(e,t){if(t.confident){if(e.isSequenceExpression()){let r=e.get("expressions");return Lr(r[r.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral())return e.node.value;if(e.isNullLiteral())return null;if(e.isTemplateLiteral())return KC(e,e.node.quasis,t);if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){let r=e.get("tag.object"),{node:{name:n}}=r,s=e.get("tag.property");if(r.isIdentifier()&&n==="String"&&!e.scope.getBinding(n)&&s.isIdentifier()&&s.node.name==="raw")return KC(e,e.node.quasi.quasis,t,!0)}if(e.isConditionalExpression()){let r=Lr(e.get("test"),t);return t.confident?Lr(r?e.get("consequent"):e.get("alternate"),t):void 0}if(e.isExpressionWrapper())return Lr(e.get("expression"),t);if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){let r=e.get("property"),n=e.get("object");if(n.isLiteral()){let s=n.node.value,i=typeof s,a=null;if(e.node.computed){if(a=Lr(r,t),!t.confident)return}else r.isIdentifier()&&(a=r.node.name);if((i==="number"||i==="string")&&a!=null&&(typeof a=="number"||typeof a=="string"))return s[a]}}if(e.isReferencedIdentifier()){let r=e.scope.getBinding(e.node.name);if(r){if(r.constantViolations.length>0||e.node.start<r.path.node.end){ds(r.path,t);return}if(r.hasValue)return r.value}let n=e.node.name;if(WC.has(n)){if(!r)return WC.get(n);ds(r.path,t);return}let s=e.resolve();if(s===e){ds(e,t);return}else return Lr(s,t)}if(e.isUnaryExpression({prefix:!0})){if(e.node.operator==="void")return;let r=e.get("argument");if(e.node.operator==="typeof"&&(r.isFunction()||r.isClass()))return"function";let n=Lr(r,t);if(!t.confident)return;switch(e.node.operator){case"!":return!n;case"+":return+n;case"-":return-n;case"~":return~n;case"typeof":return typeof n}}if(e.isArrayExpression()){let r=[],n=e.get("elements");for(let s of n){let i=s.evaluate();if(i.confident)r.push(i.value);else{ds(i.deopt,t);return}}return r}if(e.isObjectExpression()){let r={},n=e.get("properties");for(let s of n){if(s.isObjectMethod()||s.isSpreadElement()){ds(s,t);return}let i=s.get("key"),a;if(s.node.computed){if(a=i.evaluate(),!a.confident){ds(a.deopt,t);return}a=a.value}else i.isIdentifier()?a=i.node.name:a=i.node.value;let l=s.get("value").evaluate();if(!l.confident){ds(l.deopt,t);return}l=l.value,r[a]=l}return r}if(e.isLogicalExpression()){let r=t.confident,n=Lr(e.get("left"),t),s=t.confident;t.confident=r;let i=Lr(e.get("right"),t),a=t.confident;switch(e.node.operator){case"||":return t.confident=s&&(!!n||a),t.confident?n||i:void 0;case"&&":return t.confident=s&&(!n||a),t.confident?n&&i:void 0;case"??":return t.confident=s&&(n!=null||a),t.confident?n??i:void 0}}if(e.isBinaryExpression()){let r=Lr(e.get("left"),t);if(!t.confident)return;let n=Lr(e.get("right"),t);if(!t.confident)return;switch(e.node.operator){case"-":return r-n;case"+":return r+n;case"/":return r/n;case"*":return r*n;case"%":return r%n;case"**":return Math.pow(r,n);case"<":return r<n;case">":return r>n;case"<=":return r<=n;case">=":return r>=n;case"==":return r==n;case"!=":return r!=n;case"===":return r===n;case"!==":return r!==n;case"|":return r|n;case"&":return r&n;case"^":return r^n;case"<<":return r<<n;case">>":return r>>n;case">>>":return r>>>n}}if(e.isCallExpression()){let r=e.get("callee"),n,s;if(r.isIdentifier()&&!e.scope.getBinding(r.node.name)&&($C(r.node.name)||fle(r.node.name))&&(s=global[r.node.name]),r.isMemberExpression()){let i=r.get("object"),a=r.get("property");if(i.isIdentifier()&&a.isIdentifier()&&$C(i.node.name)&&!ple(a.node.name)){n=global[i.node.name];let o=a.node.name;hasOwnProperty.call(n,o)&&(s=n[o])}if(i.isLiteral()&&a.isIdentifier()){let o=typeof i.node.value;(o==="string"||o==="number")&&(n=i.node.value,s=n[a.node.name])}}if(s){let i=e.get("arguments").map(a=>Lr(a,t));return t.confident?s.apply(n,i):void 0}}ds(e,t)}}function KC(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(Lr(l,r)))}if(r.confident)return s}function mle(){let e={confident:!0,deoptPath:null,seen:new Map},t=Lr(this,e);return e.confident||(t=void 0),{confident:e.confident,deopt:e.deoptPath,value:t}}});var e2=E(hs=>{"use strict";Object.defineProperty(hs,"__esModule",{value:!0});hs.arrowFunctionToExpression=Kle;hs.ensureBlock=Vle;hs.ensureFunctionName=nue;hs.splitExportDeclaration=tue;hs.toComputedKey=Ule;hs.unwrapFunctionEnvironment=$le;var yle=Be(),gle=nl(),q0=il(),ble=Wn(),{arrowFunctionExpression:U0,assignmentExpression:Bi,binaryExpression:j0,blockStatement:Ele,callExpression:_a,conditionalExpression:vle,expressionStatement:YC,identifier:Ct,isIdentifier:Tle,jsxIdentifier:Sle,logicalExpression:xle,LOGICAL_OPERATORS:Ple,memberExpression:Cn,metaProperty:Ale,numericLiteral:Cle,objectExpression:wle,restElement:Dle,returnStatement:Ile,sequenceExpression:Ole,spreadElement:_le,stringLiteral:JC,super:M0,thisExpression:pl,toExpression:zC,unaryExpression:Nle,toBindingIdentifierName:Ble,isFunction:Fle,isAssignmentPattern:kle,isRestElement:Lle,getFunctionName:Rle,cloneNode:Fi,variableDeclaration:jle,variableDeclarator:Mle,exportNamedDeclaration:HC,exportSpecifier:XC,inherits:qle}=yle;function Ule(){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||Tle(e)&&(e=JC(e.name)),e}function Vle(){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(Ile(e.node))):(s="expression",r.push(YC(e.node)))),this.node.body=Ele(r);let a=this.get(n);return ble.setup.call(e,a,i?a.node[i]:a.node,i,s),this.node}hs.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};function $le(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");QC(this)}function Wle(e,t){e.node.type=t}function Kle({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}=QC(n,r,e,t);if(a.ensureBlock(),Wle(a,"FunctionExpression"),!r){let o=i?null:a.scope.generateUidIdentifier("arrowCheckId");return o&&a.parentPath.scope.push({id:o,init:wle([])}),a.get("body").unshiftContainer("body",YC(_a(this.hub.addHelper("newArrowCheck"),[pl(),Ct(o?o.name:i)]))),a.replaceWith(_a(Cn(a.node,Ct("bind")),[o?Ct(o.name):pl()])),a.get("callee.object")}return a}var Gle=(0,q0.environmentVisitor)({CallExpression(e,{allSuperCalls:t}){e.get("callee").isSuper()&&t.push(e)}});function QC(e,t=!0,r=!0,n=!0){let s,i=e.findParent(h=>{if(h.isArrowFunctionExpression()){var b;return(b=s)!=null||(s=h),!1}return h.isFunction()||h.isProgram()||h.isClassProperty({static:!1})||h.isClassPrivateProperty({static:!1})}),a=i.isClassMethod({kind:"constructor"});if(i.isClassProperty()||i.isClassPrivateProperty())if(s)i=s;else if(r)e.replaceWith(_a(U0([],zC(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:f}=eue(e);if(a&&f.length>0){if(!r)throw f[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 f[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 h=[];i.traverse(Gle,{allSuperCalls:h});let b=zle(i);h.forEach(d=>{let y=Ct(b);y.loc=d.node.callee.loc,d.get("callee").replaceWith(y)})}if(l.length>0){let h=dl(i,"arguments",()=>{let b=()=>Ct("arguments");return i.scope.path.isProgram()?vle(j0("===",Nle("typeof",b()),JC("undefined")),i.scope.buildUndefinedNode(),b()):b()});l.forEach(b=>{let d=Ct(h);d.loc=b.node.loc,b.replaceWith(d)})}if(u.length>0){let h=dl(i,"newtarget",()=>Ale(Ct("new"),Ct("target")));u.forEach(b=>{let d=Ct(h);d.loc=b.node.loc,b.replaceWith(d)})}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((b,d)=>b.concat(Xle(d)),[]).forEach(b=>{let d=b.node.computed?"":b.get("property").node.name,y=b.parentPath,P=y.isAssignmentExpression({left:b.node}),D=y.isCallExpression({callee:b.node}),N=y.isTaggedTemplateExpression({tag:b.node}),B=Qle(i,P,d),F=[];if(b.node.computed&&F.push(b.get("property").node),P){let W=y.node.right;F.push(W)}let j=_a(Ct(B),F);D?(y.unshiftContainer("arguments",pl()),b.replaceWith(Cn(j,Ct("call"))),o.push(y.get("arguments.0"))):P?y.replaceWith(j):N?(b.replaceWith(_a(Cn(j,Ct("bind"),!1),[pl()])),o.push(b.get("arguments.0"))):b.replaceWith(j)})}let p;return(o.length>0||!t)&&(p=Jle(i,a),(t||a&&ZC(i))&&(o.forEach(h=>{let b=h.isJSX()?Sle(p):Ct(p);b.loc=h.node.loc,h.replaceWith(b)}),t||(p=null))),{thisBinding:p,fnPath:e}}function Hle(e){return Ple.includes(e)}function Xle(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=Hle(n);if(e.node.computed){let a=e.scope.generateDeclaredUidIdentifier("tmp"),o=e.node.object,l=e.node.property;r.get("left").replaceWith(Cn(o,Bi("=",a,l),!0)),r.get("right").replaceWith(t(i?"=":n,Cn(o,Ct(a.name),!0),s))}else{let a=e.node.object,o=e.node.property;r.get("left").replaceWith(Cn(a,o)),r.get("right").replaceWith(t(i?"=":n,Cn(a,Ct(o.name)),s))}return i?r.replaceWith(xle(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=[Bi("=",n,Cn(e.node.object,s?Bi("=",s,e.node.property):e.node.property,e.node.computed)),Bi("=",Cn(e.node.object,s?Ct(s.name):e.node.property,e.node.computed),j0(e.parentPath.node.operator[0],Ct(n.name),Cle(1)))];e.parentPath.node.prefix||i.push(Ct(n.name)),r.replaceWith(Ole(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==="="?Bi("=",n,s):j0(r,n,s)}}function ZC(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}var Yle=(0,q0.environmentVisitor)({CallExpression(e,{supers:t,thisBinding:r}){e.get("callee").isSuper()&&(t.has(e.node)||(t.add(e.node),e.replaceWithMultiple([e.node,Bi("=",Ct(r),Ct("this"))])))}});function Jle(e,t){return dl(e,"this",r=>{if(!t||!ZC(e))return pl();e.traverse(Yle,{supers:new WeakSet,thisBinding:r})})}function zle(e){return dl(e,"supercall",()=>{let t=e.scope.generateUidIdentifier("args");return U0([Dle(t)],_a(M0(),[_le(Ct(t.name))]))})}function Qle(e,t,r){return dl(e,`superprop_${t?"set":"get"}:${r||""}`,()=>{let s=[],i;if(r)i=Cn(M0(),Ct(r));else{let a=e.scope.generateUidIdentifier("prop");s.unshift(a),i=Cn(M0(),Ct(a.name),!0)}if(t){let a=e.scope.generateUidIdentifier("value");s.push(a),i=Bi("=",i,Ct(a.name))}return U0(s,i)})}function dl(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 Zle=(0,q0.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 eue(e){let t=[],r=[],n=[],s=[],i=[];return e.traverse(Zle,{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:s,superCalls:i}),{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:s,superCalls:i}}function tue(){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=Fi(o)));let u=s?e.node:jle("var",[Mle(Fi(o),e.node)]),c=HC(null,[XC(Fi(o),Ct("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=>XC(Ct(s),Ct(s))),n=HC(null,r);return this.insertAfter(n),this.replaceWith(e.node),this}var rue={"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 nue(e){if(this.node.id)return this;let t=Rle(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=Ble(r.replace(/[/ ]/g,"_"));let n=Ct(r);qle(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(rue,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(!Fle(this.node))return null;let o=i.generateUidIdentifier(n.name),l=[];for(let c=0,f=sue(this.node);c<f;c++)l.push(i.generateUidIdentifier("x"));let u=gle.default.expression.ast`
46
- (function (${o}) {
47
- function ${n}(${l}) {
48
- return ${Fi(o)}.apply(this, arguments);
49
- }
50
-
51
- ${Fi(n)}.toString = function () {
52
- return ${Fi(o)}.toString();
53
- }
54
-
55
- return ${Fi(n)};
56
- })(${zC(this.node)})
57
- `;return this.replaceWith(u)[0].get("arguments.0")}function sue(e){let t=e.params.findIndex(r=>kle(r)||Lle(r));return t===-1?e.params.length:t}});var a2=E(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt._guessExecutionStatusRelativeTo=Aue;Wt._resolve=i2;Wt.canHaveVariableDeclarationOrExpression=gue;Wt.canSwapBetweenExpressionAndStatement=bue;Wt.getSource=Sue;Wt.isCompletionRecord=Eue;Wt.isConstantExpression=Iue;Wt.isInStrictMode=Oue;Wt.isNodeType=yue;Wt.isStatementOrBlock=vue;Wt.isStatic=mue;Wt.matchesPattern=hue;Wt.referencesImport=Tue;Wt.resolve=Due;Wt.willIMaybeExecuteBefore=xue;var iue=Be(),{STATEMENT_OR_BLOCK_KEYS:aue,VISITOR_KEYS:oue,isBlockStatement:s2,isExpression:lue,isIdentifier:uue,isLiteral:cue,isStringLiteral:fue,isType:pue,matchesPattern:due}=iue;function hue(e,t){return due(this.node,e,t)}Wt.has=function(t){var r;let n=(r=this.node)==null?void 0:r[t];return n&&Array.isArray(n)?!!n.length:!!n};function mue(){return this.scope.isStatic(this.node)}Wt.is=Wt.has,Wt.isnt=function(t){return!this.has(t)},Wt.equals=function(t,r){return this.node[t]===r};function yue(e){return pue(this.type,e)}function gue(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function bue(e){return this.key!=="body"||!this.parentPath.isArrowFunctionExpression()?!1:this.isExpression()?s2(e):this.isBlockStatement()?lue(e):!1}function Eue(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 vue(){return this.parentPath.isLabeledStatement()||s2(this.container)?!1:aue.includes(this.key)}function Tue(e,t){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===t||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?fue(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()&&uue(n.node.imported,{name:t}))}function Sue(){let e=this.node;if(e.end){let t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function xue(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function t2(e){return e.isProgram()?e:(e.parentPath.scope.getFunctionParent()||e.parentPath.scope.getProgramParent()).path}function Pue(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 r2(e,t){for(let r=0;r<t;r++){let n=e[r];if(Pue(n.parent.type,n.parentKey))return!0}return!1}var n2=Symbol();function Aue(e){return V0(this,e,new Map)}function V0(e,t,r){let n={this:t2(e),target:t2(t)};if(n.target.node!==n.this.node)return wue(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(r2(s.this,a.this-1)||r2(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=oue[i.type],u={this:l.indexOf(o.this.parentKey),target:l.indexOf(o.target.parentKey)};return u.target>u.this?"before":"after"}function Cue(e,t,r){if(t.isFunctionDeclaration()){if(t.parentPath.isExportDeclaration())return"unknown"}else return V0(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=V0(e,a,r);if(i&&i!==l)return"unknown";i=l}return i}function wue(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===n2?"unknown":s;n.set(t.node,n2);let i=Cue(e,t,r);return n.set(t.node,i),i}function Due(e,t){return i2.call(this,e,t)||this}function i2(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(!cue(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 Iue(){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 Oue(){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 f2=E(hr=>{"use strict";Object.defineProperty(hr,"__esModule",{value:!0});hr._getKey=u2;hr._getPattern=c2;hr.get=Hue;hr.getAllNextSiblings=Kue;hr.getAllPrevSiblings=Gue;hr.getAssignmentIdentifiers=Xue;hr.getBindingIdentifierPaths=zue;hr.getBindingIdentifiers=Yue;hr.getCompletionRecords=Uue;hr.getNextSibling=Wue;hr.getOpposite=jue;hr.getOuterBindingIdentifierPaths=Que;hr.getOuterBindingIdentifiers=Jue;hr.getPrevSibling=$ue;hr.getSibling=Vue;var W0=zs(),_ue=Be(),{getAssignmentIdentifiers:Nue,getBindingIdentifiers:l2,getOuterBindingIdentifiers:Bue,numericLiteral:Fue,unaryExpression:kue}=_ue,K0=0,hl=1;function Lue(e){return{type:K0,path:e}}function Rue(e){return{type:hl,path:e}}function jue(){return this.key==="left"?this.getSibling("right"):this.key==="right"?this.getSibling("left"):null}function Na(e,t,r){return e&&t.push(...Ba(e,r)),t}function Mue(e,t,r){let n=[];for(let s=0;s<e.length;s++){let i=e[s],a=Ba(i,r),o=[],l=[];for(let u of a)u.type===K0&&o.push(u),u.type===hl&&l.push(u);o.length&&(n=o),t.push(...l)}return t.push(...n),t}function que(e){e.forEach(t=>{t.type=hl})}function $0(e,t){e.forEach(r=>{r.path.isBreakStatement({label:null})&&(t?r.path.replaceWith(kue("void",Fue(0))):r.path.remove())})}function o2(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=Ba(i,a);if(o.length>0&&o.every(l=>l.type===hl)){n.length>0&&o.every(l=>l.path.isBreakStatement({label:null}))?(que(n),r.push(...n),n.some(l=>l.path.isDeclaration())&&(r.push(...o),$0(o,!0)),$0(o,!1)):(r.push(...o),t.shouldPopulateBreak||$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===hl&&r.push(u),u.type===K0&&n.push(u)}}}}else if(e.length)for(let n=e.length-1;n>=0;n--){let s=Ba(e[n],t);if(s.length>1||s.length===1&&!s[0].path.isVariableDeclaration()){r.push(...s);break}}return r}function Ba(e,t){let r=[];if(e.isIfStatement())r=Na(e.get("consequent"),r,t),r=Na(e.get("alternate"),r,t);else{if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement())return Na(e.get("body"),r,t);if(e.isProgram()||e.isBlockStatement())return o2(e.get("body"),t);if(e.isFunction())return Ba(e.get("body"),t);if(e.isTryStatement())r=Na(e.get("block"),r,t),r=Na(e.get("handler"),r,t);else{if(e.isCatchClause())return Na(e.get("body"),r,t);if(e.isSwitchStatement())return Mue(e.get("cases"),r,t);if(e.isSwitchCase())return o2(e.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});e.isBreakStatement()?r.push(Rue(e)):r.push(Lue(e))}}return r}function Uue(){return Ba(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map(t=>t.path)}function Vue(e){return W0.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function $ue(){return this.getSibling(this.key-1)}function Wue(){return this.getSibling(this.key+1)}function Kue(){let e=this.key,t=this.getSibling(++e),r=[];for(;t.node;)r.push(t),t=this.getSibling(++e);return r}function Gue(){let e=this.key,t=this.getSibling(--e),r=[];for(;t.node;)r.push(t),t=this.getSibling(--e);return r}function Hue(e,t=!0){t===!0&&(t=this.context);let r=e.split(".");return r.length===1?u2.call(this,e,t):c2.call(this,r,t)}function u2(e,t){let r=this.node,n=r[e];return Array.isArray(n)?n.map((s,i)=>W0.default.get({listKey:e,parentPath:this,parent:r,container:n,key:i}).setContext(t)):W0.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}function c2(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 Xue(){return Nue(this.node)}function Yue(e){return l2(this.node,e)}function Jue(e){return Bue(this.node,e)}function zue(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=l2.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 Que(e=!1){return this.getBindingIdentifierPaths(e,!0)}});var d2=E(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});ml.addComment=nce;ml.addComments=sce;ml.shareCommentsWithSiblings=rce;var Zue=Be(),{addComment:ece,addComments:tce}=Zue;function rce(){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",p2(r,n.node.trailingComments)),t&&!a&&n.addComments("trailing",t)),a&&(t&&s.addComments("leading",p2(t,s.node.leadingComments)),r&&!i&&s.addComments("leading",r))}function p2(e,t){if(!(t!=null&&t.length))return e;let r=new Set(t);return e.filter(n=>!r.has(n))}function nce(e,t,r){ece(this.node,e,t,r)}function sce(e,t){tce(this.node,e,t)}});var zs=E(Hn=>{"use strict";Object.defineProperty(Hn,"__esModule",{value:!0});Hn.default=Hn.SHOULD_STOP=Hn.SHOULD_SKIP=Hn.REMOVED=void 0;var ice=Iy(),ace=Pi(),oce=rr(),lce=Vy(),y2=Be(),Yc=y2,uce=wi(),cce=Mc(),Kn=eC(),Fa=vC(),ka=w0(),h2=GC(),ki=e2(),zt=a2(),g2=Wn(),Kt=g2,La=Wc(),Gn=Kc(),Rr=f2(),G0=d2(),fce=ky(),{validate:pce}=y2,m2=ace("babel"),T2e=Hn.REMOVED=1,S2e=Hn.SHOULD_STOP=2,x2e=Hn.SHOULD_SKIP=4,ms=Hn.default=class b2{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.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=uce.getOrCreateCachedPaths(t,n),u=l.get(o);return u||(u=new b2(t,n),o&&l.set(o,u)),g2.setup.call(u,r,s,i,a),u}getScope(t){return this.isScope()?new lce.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,oce.default)(this.node,t,this.scope,r,this)}set(t,r){pce(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){m2.enabled&&m2(`${this.getPathLocation()} ${this.type}: ${t}`)}toString(){return(0,cce.default)(this.node).code}get inList(){return!!this.listKey}set inList(t){t||(this.listKey=null)}get parentKey(){return this.listKey||this.key}},dce={findParent:Kn.findParent,find:Kn.find,getFunctionParent:Kn.getFunctionParent,getStatementParent:Kn.getStatementParent,getEarliestCommonAncestorFrom:Kn.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:Kn.getDeepestCommonAncestorFrom,getAncestry:Kn.getAncestry,isAncestor:Kn.isAncestor,isDescendant:Kn.isDescendant,inType:Kn.inType,getTypeAnnotation:Fa.getTypeAnnotation,isBaseType:Fa.isBaseType,couldBeBaseType:Fa.couldBeBaseType,baseTypeStrictlyMatches:Fa.baseTypeStrictlyMatches,isGenericType:Fa.isGenericType,replaceWithMultiple:ka.replaceWithMultiple,replaceWithSourceString:ka.replaceWithSourceString,replaceWith:ka.replaceWith,replaceExpressionWithStatements:ka.replaceExpressionWithStatements,replaceInline:ka.replaceInline,evaluateTruthy:h2.evaluateTruthy,evaluate:h2.evaluate,toComputedKey:ki.toComputedKey,ensureBlock:ki.ensureBlock,unwrapFunctionEnvironment:ki.unwrapFunctionEnvironment,arrowFunctionToExpression:ki.arrowFunctionToExpression,splitExportDeclaration:ki.splitExportDeclaration,ensureFunctionName:ki.ensureFunctionName,matchesPattern:zt.matchesPattern,isStatic:zt.isStatic,isNodeType:zt.isNodeType,canHaveVariableDeclarationOrExpression:zt.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:zt.canSwapBetweenExpressionAndStatement,isCompletionRecord:zt.isCompletionRecord,isStatementOrBlock:zt.isStatementOrBlock,referencesImport:zt.referencesImport,getSource:zt.getSource,willIMaybeExecuteBefore:zt.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:zt._guessExecutionStatusRelativeTo,resolve:zt.resolve,isConstantExpression:zt.isConstantExpression,isInStrictMode:zt.isInStrictMode,isDenylisted:Kt.isDenylisted,visit:Kt.visit,skip:Kt.skip,skipKey:Kt.skipKey,stop:Kt.stop,setContext:Kt.setContext,requeue:Kt.requeue,requeueComputedKeyAndDecorators:Kt.requeueComputedKeyAndDecorators,remove:La.remove,insertBefore:Gn.insertBefore,insertAfter:Gn.insertAfter,unshiftContainer:Gn.unshiftContainer,pushContainer:Gn.pushContainer,getOpposite:Rr.getOpposite,getCompletionRecords:Rr.getCompletionRecords,getSibling:Rr.getSibling,getPrevSibling:Rr.getPrevSibling,getNextSibling:Rr.getNextSibling,getAllNextSiblings:Rr.getAllNextSiblings,getAllPrevSiblings:Rr.getAllPrevSiblings,get:Rr.get,getAssignmentIdentifiers:Rr.getAssignmentIdentifiers,getBindingIdentifiers:Rr.getBindingIdentifiers,getOuterBindingIdentifiers:Rr.getOuterBindingIdentifiers,getBindingIdentifierPaths:Rr.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:Rr.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:G0.shareCommentsWithSiblings,addComment:G0.addComment,addComments:G0.addComments};Object.assign(ms.prototype,dce);ms.prototype.arrowFunctionToShadowed=ki.arrowFunctionToShadowed,Object.assign(ms.prototype,{has:zt.has,is:zt.is,isnt:zt.isnt,equals:zt.equals,hoist:Gn.hoist,updateSiblingKeys:Gn.updateSiblingKeys,call:Kt.call,isBlacklisted:Kt.isBlacklisted,setScope:Kt.setScope,resync:Kt.resync,popContext:Kt.popContext,pushContext:Kt.pushContext,setup:Kt.setup,setKey:Kt.setKey});ms.prototype._guessExecutionStatusRelativeToDifferentFunctions=zt._guessExecutionStatusRelativeTo,ms.prototype._guessExecutionStatusRelativeToDifferentFunctions=zt._guessExecutionStatusRelativeTo,Object.assign(ms.prototype,{_getTypeAnnotation:Fa._getTypeAnnotation,_replaceWith:ka._replaceWith,_resolve:zt._resolve,_call:Kt._call,_resyncParent:Kt._resyncParent,_resyncKey:Kt._resyncKey,_resyncList:Kt._resyncList,_resyncRemoved:Kt._resyncRemoved,_getQueueContexts:Kt._getQueueContexts,_removeFromScope:La._removeFromScope,_callRemovalHooks:La._callRemovalHooks,_remove:La._remove,_markRemoved:La._markRemoved,_assertUnremoved:La._assertUnremoved,_containerInsert:Gn._containerInsert,_containerInsertBefore:Gn._containerInsertBefore,_containerInsertAfter:Gn._containerInsertAfter,_verifyNodeList:Gn._verifyNodeList,_getKey:Rr._getKey,_getPattern:Rr._getPattern});for(let e of Yc.TYPES){let t=`is${e}`,r=Yc[t];ms.prototype[t]=function(n){return r(this.node,n)},ms.prototype[`assert${e}`]=function(n){if(!r(this.node,n))throw new TypeError(`Expected node path of type ${e}`)}}Object.assign(ms.prototype,fce);for(let e of Object.keys(ice))e[0]!=="_"&&(Yc.TYPES.includes(e)||Yc.TYPES.push(e))});var E2=E(Jc=>{"use strict";Object.defineProperty(Jc,"__esModule",{value:!0});Jc.default=void 0;var hce=zs(),mce=Be(),H0=Wn(),{VISITOR_KEYS:yce}=mce,X0=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=yce[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 hce.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++,H0.resync.call(i),(i.contexts.length===0||i.contexts[i.contexts.length-1]!==this)&&H0.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++)H0.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}};Jc.default=X0});var gc=E(Y0=>{"use strict";Object.defineProperty(Y0,"__esModule",{value:!0});Y0.traverseNode=vce;var gce=E2(),bce=Be(),{VISITOR_KEYS:Ece}=bce;function vce(e,t,r,n,s,i,a){let o=Ece[e.type];if(!o)return!1;let l=new gce.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 Wn=E(kt=>{"use strict";Object.defineProperty(kt,"__esModule",{value:!0});kt._call=z0;kt._getQueueContexts=Lce;kt._resyncKey=A2;kt._resyncList=C2;kt._resyncParent=P2;kt._resyncRemoved=Oce;kt.call=J0;kt.isDenylisted=S2;kt.popContext=_ce;kt.pushContext=Nce;kt.requeue=Fce;kt.requeueComputedKeyAndDecorators=kce;kt.resync=Ice;kt.setContext=Dce;kt.setKey=zc;kt.setScope=x2;kt.setup=Bce;kt.skip=Ace;kt.skipKey=Cce;kt.stop=wce;kt.visit=Pce;var Tce=gc(),v2=zs(),Sce=Wc(),xce=Be();function J0(e){let t=this.opts;if(this.debug(e),this.node&&z0.call(this,t[e]))return!0;if(this.node){var r;return z0.call(this,(r=t[this.node.type])==null?void 0:r[e])}return!1}function z0(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 S2(){var e;let t=(e=this.opts.denylist)!=null?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1}kt.isBlacklisted=S2;function T2(e,t){e.context!==t&&(e.context=t,e.state=t.state,e.opts=t.opts)}function Pce(){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):(T2(this,r),this.debug("Recursing into..."),this.shouldStop=(0,Tce.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),T2(this,r),J0.call(this,"exit"),this.shouldStop)}function Ace(){this.shouldSkip=!0}function Cce(e){this.skipKeys==null&&(this.skipKeys={}),this.skipKeys[e]=!0}function wce(){this._traverseFlags|=v2.SHOULD_SKIP|v2.SHOULD_STOP}function x2(){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 Dce(e){return this.skipKeys!=null&&(this.skipKeys={}),this._traverseFlags=0,e&&(this.context=e,this.state=e.state,this.opts=e.opts),x2.call(this),this}function Ice(){this.removed||(P2.call(this),C2.call(this),A2.call(this))}function P2(){this.parentPath&&(this.parent=this.parentPath.node)}function A2(){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){zc.call(this,e);return}}else for(let e of Object.keys(this.container))if(this.container[e]===this.node){zc.call(this,e);return}this.key=null}}function C2(){if(!this.parent||!this.inList)return;let e=this.parent[this.listKey];this.container!==e&&(this.container=e||null)}function Oce(){(this.key==null||!this.container||this.container[this.key]!==this.node)&&Sce._markRemoved.call(this)}function _ce(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)}function Nce(e){this.contexts.push(e),this.setContext(e)}function Bce(e,t,r,n){this.listKey=r,this.container=t,this.parentPath=e||this.parentPath,zc.call(this,n)}function zc(e){var t;this.key=e,this.node=this.container[this.key],this.type=(t=this.node)==null?void 0:t.type}function Fce(e=this){if(e.removed)return;let t=this.contexts;for(let r of t)r.maybeQueue(e)}function kce(){let{context:e,node:t}=this;if(!xce.isPrivate(t)&&t.computed&&e.maybeQueue(this.get("key")),t.decorators)for(let r of this.get("decorators"))e.maybeQueue(r)}function Lce(){let e=this,t=this.contexts;for(;!t.length&&(e=e.parentPath,!!e);)t=e.contexts;return t}});var w2=E(Qc=>{"use strict";Object.defineProperty(Qc,"__esModule",{value:!0});Qc.default=void 0;var Q0=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(t,r,n=TypeError){return new n(r)}};Qc.default=Q0});var rr=E(ys=>{"use strict";Object.defineProperty(ys,"__esModule",{value:!0});Object.defineProperty(ys,"Hub",{enumerable:!0,get:function(){return Uce.default}});Object.defineProperty(ys,"NodePath",{enumerable:!0,get:function(){return Mce.default}});Object.defineProperty(ys,"Scope",{enumerable:!0,get:function(){return qce.default}});ys.visitors=ys.default=void 0;Wn();var yl=il();ys.visitors=yl;var Rce=Be(),jce=wi(),D2=gc(),Mce=zs(),qce=Vy(),Uce=w2(),{VISITOR_KEYS:Vce,removeProperties:$ce,traverseFast:I2}=Rce;function fn(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.");Vce[e.type]&&(yl.explode(t),(0,D2.traverseNode)(e,t,r,n,s,null,i))}}var I2e=ys.default=fn;fn.visitors=yl;fn.verify=yl.verify;fn.explode=yl.explode;fn.cheap=function(e,t){I2(e,t)};fn.node=function(e,t,r,n,s,i){(0,D2.traverseNode)(e,t,r,n,s,i)};fn.clearNode=function(e,t){$ce(e,t)};fn.removeProperties=function(e,t){return I2(e,fn.clearNode,t),e};function Wce(e,t){e.node.type===t.type&&(t.has=!0,e.stop())}fn.hasType=function(e,t,r){if(r!=null&&r.includes(e.type))return!1;if(e.type===t)return!0;let n={has:!1,type:t};return fn(e,{noScope:!0,denylist:r,enter:Wce},null,n),n.has};fn.cache=jce});var nf=E((Re,F2)=>{Re=F2.exports=Ge;var vt;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?vt=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:vt=function(){};Re.SEMVER_SPEC_VERSION="2.0.0";var gl=256,Zc=Number.MAX_SAFE_INTEGER||9007199254740991,Z0=16,Kce=gl-6,Ra=Re.re=[],Et=Re.safeRe=[],z=Re.src=[],M=Re.tokens={},N2=0;function tt(e){M[e]=N2++}var tg="[a-zA-Z0-9-]",eg=[["\\s",1],["\\d",gl],[tg,Kce]];function El(e){for(var t=0;t<eg.length;t++){var r=eg[t][0],n=eg[t][1];e=e.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}")}return e}tt("NUMERICIDENTIFIER");z[M.NUMERICIDENTIFIER]="0|[1-9]\\d*";tt("NUMERICIDENTIFIERLOOSE");z[M.NUMERICIDENTIFIERLOOSE]="\\d+";tt("NONNUMERICIDENTIFIER");z[M.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+tg+"*";tt("MAINVERSION");z[M.MAINVERSION]="("+z[M.NUMERICIDENTIFIER]+")\\.("+z[M.NUMERICIDENTIFIER]+")\\.("+z[M.NUMERICIDENTIFIER]+")";tt("MAINVERSIONLOOSE");z[M.MAINVERSIONLOOSE]="("+z[M.NUMERICIDENTIFIERLOOSE]+")\\.("+z[M.NUMERICIDENTIFIERLOOSE]+")\\.("+z[M.NUMERICIDENTIFIERLOOSE]+")";tt("PRERELEASEIDENTIFIER");z[M.PRERELEASEIDENTIFIER]="(?:"+z[M.NUMERICIDENTIFIER]+"|"+z[M.NONNUMERICIDENTIFIER]+")";tt("PRERELEASEIDENTIFIERLOOSE");z[M.PRERELEASEIDENTIFIERLOOSE]="(?:"+z[M.NUMERICIDENTIFIERLOOSE]+"|"+z[M.NONNUMERICIDENTIFIER]+")";tt("PRERELEASE");z[M.PRERELEASE]="(?:-("+z[M.PRERELEASEIDENTIFIER]+"(?:\\."+z[M.PRERELEASEIDENTIFIER]+")*))";tt("PRERELEASELOOSE");z[M.PRERELEASELOOSE]="(?:-?("+z[M.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+z[M.PRERELEASEIDENTIFIERLOOSE]+")*))";tt("BUILDIDENTIFIER");z[M.BUILDIDENTIFIER]=tg+"+";tt("BUILD");z[M.BUILD]="(?:\\+("+z[M.BUILDIDENTIFIER]+"(?:\\."+z[M.BUILDIDENTIFIER]+")*))";tt("FULL");tt("FULLPLAIN");z[M.FULLPLAIN]="v?"+z[M.MAINVERSION]+z[M.PRERELEASE]+"?"+z[M.BUILD]+"?";z[M.FULL]="^"+z[M.FULLPLAIN]+"$";tt("LOOSEPLAIN");z[M.LOOSEPLAIN]="[v=\\s]*"+z[M.MAINVERSIONLOOSE]+z[M.PRERELEASELOOSE]+"?"+z[M.BUILD]+"?";tt("LOOSE");z[M.LOOSE]="^"+z[M.LOOSEPLAIN]+"$";tt("GTLT");z[M.GTLT]="((?:<|>)?=?)";tt("XRANGEIDENTIFIERLOOSE");z[M.XRANGEIDENTIFIERLOOSE]=z[M.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tt("XRANGEIDENTIFIER");z[M.XRANGEIDENTIFIER]=z[M.NUMERICIDENTIFIER]+"|x|X|\\*";tt("XRANGEPLAIN");z[M.XRANGEPLAIN]="[v=\\s]*("+z[M.XRANGEIDENTIFIER]+")(?:\\.("+z[M.XRANGEIDENTIFIER]+")(?:\\.("+z[M.XRANGEIDENTIFIER]+")(?:"+z[M.PRERELEASE]+")?"+z[M.BUILD]+"?)?)?";tt("XRANGEPLAINLOOSE");z[M.XRANGEPLAINLOOSE]="[v=\\s]*("+z[M.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+z[M.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+z[M.XRANGEIDENTIFIERLOOSE]+")(?:"+z[M.PRERELEASELOOSE]+")?"+z[M.BUILD]+"?)?)?";tt("XRANGE");z[M.XRANGE]="^"+z[M.GTLT]+"\\s*"+z[M.XRANGEPLAIN]+"$";tt("XRANGELOOSE");z[M.XRANGELOOSE]="^"+z[M.GTLT]+"\\s*"+z[M.XRANGEPLAINLOOSE]+"$";tt("COERCE");z[M.COERCE]="(^|[^\\d])(\\d{1,"+Z0+"})(?:\\.(\\d{1,"+Z0+"}))?(?:\\.(\\d{1,"+Z0+"}))?(?:$|[^\\d])";tt("COERCERTL");Ra[M.COERCERTL]=new RegExp(z[M.COERCE],"g");Et[M.COERCERTL]=new RegExp(El(z[M.COERCE]),"g");tt("LONETILDE");z[M.LONETILDE]="(?:~>?)";tt("TILDETRIM");z[M.TILDETRIM]="(\\s*)"+z[M.LONETILDE]+"\\s+";Ra[M.TILDETRIM]=new RegExp(z[M.TILDETRIM],"g");Et[M.TILDETRIM]=new RegExp(El(z[M.TILDETRIM]),"g");var Gce="$1~";tt("TILDE");z[M.TILDE]="^"+z[M.LONETILDE]+z[M.XRANGEPLAIN]+"$";tt("TILDELOOSE");z[M.TILDELOOSE]="^"+z[M.LONETILDE]+z[M.XRANGEPLAINLOOSE]+"$";tt("LONECARET");z[M.LONECARET]="(?:\\^)";tt("CARETTRIM");z[M.CARETTRIM]="(\\s*)"+z[M.LONECARET]+"\\s+";Ra[M.CARETTRIM]=new RegExp(z[M.CARETTRIM],"g");Et[M.CARETTRIM]=new RegExp(El(z[M.CARETTRIM]),"g");var Hce="$1^";tt("CARET");z[M.CARET]="^"+z[M.LONECARET]+z[M.XRANGEPLAIN]+"$";tt("CARETLOOSE");z[M.CARETLOOSE]="^"+z[M.LONECARET]+z[M.XRANGEPLAINLOOSE]+"$";tt("COMPARATORLOOSE");z[M.COMPARATORLOOSE]="^"+z[M.GTLT]+"\\s*("+z[M.LOOSEPLAIN]+")$|^$";tt("COMPARATOR");z[M.COMPARATOR]="^"+z[M.GTLT]+"\\s*("+z[M.FULLPLAIN]+")$|^$";tt("COMPARATORTRIM");z[M.COMPARATORTRIM]="(\\s*)"+z[M.GTLT]+"\\s*("+z[M.LOOSEPLAIN]+"|"+z[M.XRANGEPLAIN]+")";Ra[M.COMPARATORTRIM]=new RegExp(z[M.COMPARATORTRIM],"g");Et[M.COMPARATORTRIM]=new RegExp(El(z[M.COMPARATORTRIM]),"g");var Xce="$1$2$3";tt("HYPHENRANGE");z[M.HYPHENRANGE]="^\\s*("+z[M.XRANGEPLAIN]+")\\s+-\\s+("+z[M.XRANGEPLAIN]+")\\s*$";tt("HYPHENRANGELOOSE");z[M.HYPHENRANGELOOSE]="^\\s*("+z[M.XRANGEPLAINLOOSE]+")\\s+-\\s+("+z[M.XRANGEPLAINLOOSE]+")\\s*$";tt("STAR");z[M.STAR]="(<|>)?=?\\s*\\*";for(Xn=0;Xn<N2;Xn++)vt(Xn,z[Xn]),Ra[Xn]||(Ra[Xn]=new RegExp(z[Xn]),Et[Xn]=new RegExp(El(z[Xn])));var Xn;Re.parse=Ri;function Ri(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof Ge)return e;if(typeof e!="string"||e.length>gl)return null;var r=t.loose?Et[M.LOOSE]:Et[M.FULL];if(!r.test(e))return null;try{return new Ge(e,t)}catch{return null}}Re.valid=Yce;function Yce(e,t){var r=Ri(e,t);return r?r.version:null}Re.clean=Jce;function Jce(e,t){var r=Ri(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}Re.SemVer=Ge;function Ge(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof Ge){if(e.loose===t.loose)return e;e=e.version}else if(typeof e!="string")throw new TypeError("Invalid Version: "+e);if(e.length>gl)throw new TypeError("version is longer than "+gl+" characters");if(!(this instanceof Ge))return new Ge(e,t);vt("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?Et[M.LOOSE]:Et[M.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>Zc||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Zc||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Zc||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<Zc)return s}return n}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}Ge.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};Ge.prototype.toString=function(){return this.version};Ge.prototype.compare=function(e){return vt("SemVer.compare",this.version,this.options,e),e instanceof Ge||(e=new Ge(e,this.options)),this.compareMain(e)||this.comparePre(e)};Ge.prototype.compareMain=function(e){return e instanceof Ge||(e=new Ge(e,this.options)),Li(this.major,e.major)||Li(this.minor,e.minor)||Li(this.patch,e.patch)};Ge.prototype.comparePre=function(e){if(e instanceof Ge||(e=new Ge(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(vt("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 Li(r,n)}while(++t)};Ge.prototype.compareBuild=function(e){e instanceof Ge||(e=new Ge(e,this.options));var t=0;do{var r=this.build[t],n=e.build[t];if(vt("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 Li(r,n)}while(++t)};Ge.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};Re.inc=zce;function zce(e,t,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new Ge(e,r).inc(t,n).version}catch{return null}}Re.diff=Qce;function Qce(e,t){if(rg(e,t))return null;var r=Ri(e),n=Ri(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}Re.compareIdentifiers=Li;var O2=/^[0-9]+$/;function Li(e,t){var r=O2.test(e),n=O2.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1}Re.rcompareIdentifiers=Zce;function Zce(e,t){return Li(t,e)}Re.major=efe;function efe(e,t){return new Ge(e,t).major}Re.minor=tfe;function tfe(e,t){return new Ge(e,t).minor}Re.patch=rfe;function rfe(e,t){return new Ge(e,t).patch}Re.compare=gs;function gs(e,t,r){return new Ge(e,r).compare(new Ge(t,r))}Re.compareLoose=nfe;function nfe(e,t){return gs(e,t,!0)}Re.compareBuild=sfe;function sfe(e,t,r){var n=new Ge(e,r),s=new Ge(t,r);return n.compare(s)||n.compareBuild(s)}Re.rcompare=ife;function ife(e,t,r){return gs(t,e,r)}Re.sort=afe;function afe(e,t){return e.sort(function(r,n){return Re.compareBuild(r,n,t)})}Re.rsort=ofe;function ofe(e,t){return e.sort(function(r,n){return Re.compareBuild(n,r,t)})}Re.gt=bl;function bl(e,t,r){return gs(e,t,r)>0}Re.lt=ef;function ef(e,t,r){return gs(e,t,r)<0}Re.eq=rg;function rg(e,t,r){return gs(e,t,r)===0}Re.neq=B2;function B2(e,t,r){return gs(e,t,r)!==0}Re.gte=ng;function ng(e,t,r){return gs(e,t,r)>=0}Re.lte=sg;function sg(e,t,r){return gs(e,t,r)<=0}Re.cmp=tf;function tf(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 rg(e,r,n);case"!=":return B2(e,r,n);case">":return bl(e,r,n);case">=":return ng(e,r,n);case"<":return ef(e,r,n);case"<=":return sg(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}Re.Comparator=pn;function pn(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof pn){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof pn))return new pn(e,t);e=e.trim().split(/\s+/).join(" "),vt("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===ja?this.value="":this.value=this.operator+this.semver.version,vt("comp",this)}var ja={};pn.prototype.parse=function(e){var t=this.options.loose?Et[M.COMPARATORLOOSE]:Et[M.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 Ge(r[2],this.options.loose):this.semver=ja};pn.prototype.toString=function(){return this.value};pn.prototype.test=function(e){if(vt("Comparator.test",e,this.options.loose),this.semver===ja||e===ja)return!0;if(typeof e=="string")try{e=new Ge(e,this.options)}catch{return!1}return tf(e,this.operator,this.semver,this.options)};pn.prototype.intersects=function(e,t){if(!(e instanceof pn))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 jt(e.value,t),rf(this.value,r,t));if(e.operator==="")return e.value===""?!0:(r=new jt(this.value,t),rf(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=tf(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),l=tf(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return n||s||i&&a||o||l};Re.Range=jt;function jt(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof jt)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new jt(e.raw,t);if(e instanceof pn)return new jt(e.value,t);if(!(this instanceof jt))return new jt(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()}jt.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range};jt.prototype.toString=function(){return this.range};jt.prototype.parseRange=function(e){var t=this.options.loose,r=t?Et[M.HYPHENRANGELOOSE]:Et[M.HYPHENRANGE];e=e.replace(r,gfe),vt("hyphen replace",e),e=e.replace(Et[M.COMPARATORTRIM],Xce),vt("comparator trim",e,Et[M.COMPARATORTRIM]),e=e.replace(Et[M.TILDETRIM],Gce),e=e.replace(Et[M.CARETTRIM],Hce),e=e.split(/\s+/).join(" ");var n=t?Et[M.COMPARATORLOOSE]:Et[M.COMPARATOR],s=e.split(" ").map(function(i){return ufe(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 pn(i,this.options)},this),s};jt.prototype.intersects=function(e,t){if(!(e instanceof jt))throw new TypeError("a Range is required");return this.set.some(function(r){return _2(r,t)&&e.set.some(function(n){return _2(n,t)&&r.every(function(s){return n.every(function(i){return s.intersects(i,t)})})})})};function _2(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}Re.toComparators=lfe;function lfe(e,t){return new jt(e,t).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}function ufe(e,t){return vt("comp",e,t),e=pfe(e,t),vt("caret",e),e=cfe(e,t),vt("tildes",e),e=hfe(e,t),vt("xrange",e),e=yfe(e,t),vt("stars",e),e}function jr(e){return!e||e.toLowerCase()==="x"||e==="*"}function cfe(e,t){return e.trim().split(/\s+/).map(function(r){return ffe(r,t)}).join(" ")}function ffe(e,t){var r=t.loose?Et[M.TILDELOOSE]:Et[M.TILDE];return e.replace(r,function(n,s,i,a,o){vt("tilde",e,n,s,i,a,o);var l;return jr(s)?l="":jr(i)?l=">="+s+".0.0 <"+(+s+1)+".0.0":jr(a)?l=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":o?(vt("replaceTilde pr",o),l=">="+s+"."+i+"."+a+"-"+o+" <"+s+"."+(+i+1)+".0"):l=">="+s+"."+i+"."+a+" <"+s+"."+(+i+1)+".0",vt("tilde return",l),l})}function pfe(e,t){return e.trim().split(/\s+/).map(function(r){return dfe(r,t)}).join(" ")}function dfe(e,t){vt("caret",e,t);var r=t.loose?Et[M.CARETLOOSE]:Et[M.CARET];return e.replace(r,function(n,s,i,a,o){vt("caret",e,n,s,i,a,o);var l;return jr(s)?l="":jr(i)?l=">="+s+".0.0 <"+(+s+1)+".0.0":jr(a)?s==="0"?l=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":l=">="+s+"."+i+".0 <"+(+s+1)+".0.0":o?(vt("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"):(vt("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"),vt("caret return",l),l})}function hfe(e,t){return vt("replaceXRanges",e,t),e.split(/\s+/).map(function(r){return mfe(r,t)}).join(" ")}function mfe(e,t){e=e.trim();var r=t.loose?Et[M.XRANGELOOSE]:Et[M.XRANGE];return e.replace(r,function(n,s,i,a,o,l){vt("xRange",e,n,s,i,a,o,l);var u=jr(i),c=u||jr(a),f=c||jr(o),p=f;return s==="="&&p&&(s=""),l=t.includePrerelease?"-0":"",u?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&p?(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:f&&(n=">="+i+"."+a+".0"+l+" <"+i+"."+(+a+1)+".0"+l),vt("xRange return",n),n})}function yfe(e,t){return vt("replaceStars",e,t),e.trim().replace(Et[M.STAR],"")}function gfe(e,t,r,n,s,i,a,o,l,u,c,f,p){return jr(r)?t="":jr(n)?t=">="+r+".0.0":jr(s)?t=">="+r+"."+n+".0":t=">="+t,jr(l)?o="":jr(u)?o="<"+(+l+1)+".0.0":jr(c)?o="<"+l+"."+(+u+1)+".0":f?o="<="+l+"."+u+"."+c+"-"+f:o="<="+o,(t+" "+o).trim()}jt.prototype.test=function(e){if(!e)return!1;if(typeof e=="string")try{e=new Ge(e,this.options)}catch{return!1}for(var t=0;t<this.set.length;t++)if(bfe(this.set[t],e,this.options))return!0;return!1};function bfe(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(vt(e[n].semver),e[n].semver!==ja&&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}Re.satisfies=rf;function rf(e,t,r){try{t=new jt(t,r)}catch{return!1}return t.test(e)}Re.maxSatisfying=Efe;function Efe(e,t,r){var n=null,s=null;try{var i=new jt(t,r)}catch{return null}return e.forEach(function(a){i.test(a)&&(!n||s.compare(a)===-1)&&(n=a,s=new Ge(n,r))}),n}Re.minSatisfying=vfe;function vfe(e,t,r){var n=null,s=null;try{var i=new jt(t,r)}catch{return null}return e.forEach(function(a){i.test(a)&&(!n||s.compare(a)===1)&&(n=a,s=new Ge(n,r))}),n}Re.minVersion=Tfe;function Tfe(e,t){e=new jt(e,t);var r=new Ge("0.0.0");if(e.test(r)||(r=new Ge("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 Ge(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!r||bl(r,a))&&(r=a);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+i.operator)}})}return r&&e.test(r)?r:null}Re.validRange=Sfe;function Sfe(e,t){try{return new jt(e,t).range||"*"}catch{return null}}Re.ltr=xfe;function xfe(e,t,r){return ig(e,t,"<",r)}Re.gtr=Pfe;function Pfe(e,t,r){return ig(e,t,">",r)}Re.outside=ig;function ig(e,t,r,n){e=new Ge(e,n),t=new jt(t,n);var s,i,a,o,l;switch(r){case">":s=bl,i=sg,a=ef,o=">",l=">=";break;case"<":s=ef,i=ng,a=bl,o="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(rf(e,t,n))return!1;for(var u=0;u<t.set.length;++u){var c=t.set[u],f=null,p=null;if(c.forEach(function(h){h.semver===ja&&(h=new pn(">=0.0.0")),f=f||h,p=p||h,s(h.semver,f.semver,n)?f=h:a(h.semver,p.semver,n)&&(p=h)}),f.operator===o||f.operator===l||(!p.operator||p.operator===o)&&i(e,p.semver))return!1;if(p.operator===l&&a(e,p.semver))return!1}return!0}Re.prerelease=Afe;function Afe(e,t){var r=Ri(e,t);return r&&r.prerelease.length?r.prerelease:null}Re.intersects=Cfe;function Cfe(e,t,r){return e=new jt(e,r),t=new jt(t,r),e.intersects(t)}Re.coerce=wfe;function wfe(e,t){if(e instanceof Ge)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(Et[M.COERCE]);else{for(var n;(n=Et[M.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),Et[M.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;Et[M.COERCERTL].lastIndex=-1}return r===null?null:Ri(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}});var R2=E(af=>{"use strict";Object.defineProperty(af,"__esModule",{value:!0});af.default=void 0;var wn=me("assert"),Dfe=Be(),{callExpression:ag,cloneNode:sf,expressionStatement:k2,identifier:vl,importDeclaration:Ife,importDefaultSpecifier:Ofe,importNamespaceSpecifier:_fe,importSpecifier:Nfe,memberExpression:og,stringLiteral:L2,variableDeclaration:Bfe,variableDeclarator:Ffe}=Dfe,lg=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(Ife([],L2(this._importedSource))),this}require(){return this._statements.push(k2(ag(vl("require"),[L2(this._importedSource)]))),this}namespace(t="namespace"){let r=this._scope.generateUidIdentifier(t),n=this._statements[this._statements.length-1];return wn(n.type==="ImportDeclaration"),wn(n.specifiers.length===0),n.specifiers=[_fe(r)],this._resultName=sf(r),this}default(t){let r=this._scope.generateUidIdentifier(t),n=this._statements[this._statements.length-1];return wn(n.type==="ImportDeclaration"),wn(n.specifiers.length===0),n.specifiers=[Ofe(r)],this._resultName=sf(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 wn(s.type==="ImportDeclaration"),wn(s.specifiers.length===0),s.specifiers=[Nfe(n,vl(r))],this._resultName=sf(n),this}var(t){let r=this._scope.generateUidIdentifier(t),n=this._statements[this._statements.length-1];return n.type!=="ExpressionStatement"&&(wn(this._resultName),n=k2(this._resultName),this._statements.push(n)),this._statements[this._statements.length-1]=Bfe("var",[Ffe(r,n.expression)]),this._resultName=sf(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=ag(t,[r.expression]):r.type==="VariableDeclaration"?(wn(r.declarations.length===1),r.declarations[0].init=ag(t,[r.declarations[0].init])):wn.fail("Unexpected type."),this}prop(t){let r=this._statements[this._statements.length-1];return r.type==="ExpressionStatement"?r.expression=og(r.expression,vl(t)):r.type==="VariableDeclaration"?(wn(r.declarations.length===1),r.declarations[0].init=og(r.declarations[0].init,vl(t))):wn.fail("Unexpected type:"+r.type),this}read(t){this._resultName=og(this._resultName,vl(t))}};af.default=lg});var cg=E(ug=>{"use strict";Object.defineProperty(ug,"__esModule",{value:!0});ug.default=kfe;function kfe(e){return e.node.sourceType==="module"}});var $2=E(lf=>{"use strict";Object.defineProperty(lf,"__esModule",{value:!0});lf.default=void 0;var j2=me("assert"),Lfe=Be(),Rfe=R2(),jfe=cg(),{identifier:Mfe,importSpecifier:qfe,numericLiteral:Ufe,sequenceExpression:Vfe,isImportDeclaration:M2}=Lfe,fg=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 j2(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):(j2(!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:f,nameHint:p,importPosition:h,blockHoist:b}=t,d=p||r,y=(0,jfe.default)(this._programPath),P=y&&u==="node",D=y&&u==="babel";if(h==="after"&&!y)throw new Error('"importPosition": "after" is only supported in modules');let N=new Rfe.default(a,this._programScope,this._hub);if(o==="es6"){if(!P&&!D)throw new Error("Cannot import an ES6 module from CommonJS");N.import(),i?N.namespace(p||a):(n||s)&&N.named(d,r)}else{if(o!=="commonjs")throw new Error(`Unexpected interopType "${o}"`);if(l==="babel")if(P){d=d!=="default"?d:a;let j=`${a}$es6Default`;N.import(),i?N.default(j).var(d||a).wildcardInterop():n?c?N.default(j).var(d||a).defaultInterop().read("default"):N.default(j).var(d).defaultInterop().prop(r):s&&N.default(j).read(r)}else D?(N.import(),i?N.namespace(d||a):(n||s)&&N.named(d,r)):(N.require(),i?N.var(d||a).wildcardInterop():(n||s)&&c?n?(d=d!=="default"?d:a,N.var(d).read(r),N.defaultInterop()):N.var(a).read(r):n?N.var(d).defaultInterop().prop(r):s&&N.var(d).prop(r));else if(l==="compiled")P?(N.import(),i?N.default(d||a):(n||s)&&N.default(a).read(d)):D?(N.import(),i?N.namespace(d||a):(n||s)&&N.named(d,r)):(N.require(),i?N.var(d||a):(n||s)&&(c?N.var(a).read(d):N.prop(r).var(d)));else if(l==="uncompiled"){if(n&&c)throw new Error("No live reference for commonjs default");P?(N.import(),i?N.default(d||a):n?N.default(d):s&&N.default(a).read(d)):D?(N.import(),i?N.default(d||a):n?N.default(d):s&&N.named(d,r)):(N.require(),i?N.var(d||a):n?N.var(d):s&&(c?N.var(a).read(d):N.var(d).prop(r)))}else throw new Error(`Unknown importedInterop "${l}".`)}let{statements:B,resultName:F}=N.done();return this._insertStatements(B,h,b),(n||s)&&f&&F.type!=="Identifier"?Vfe([Ufe(0),F]):F}_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&&M2(t[0])&&of(t[0])){let s=this._programPath.get("body").find(i=>i.isImportDeclaration()&&of(i.node));if(s?.node.source.value===t[0].source.value&&V2(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(M2(i)&&of(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()&&of(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)&&V2(i.node,l)&&r.delete(l)}return r.size===0?!0:(s&&s.insertAfter(Array.from(r)),!!s)}};lf.default=fg;function of(e){return e.importKind!=="type"&&e.importKind!=="typeof"}function q2(e){return e.specifiers.length===1&&e.specifiers[0].type==="ImportNamespaceSpecifier"||e.specifiers.length===2&&e.specifiers[1].type==="ImportNamespaceSpecifier"}function U2(e){return e.specifiers.length>0&&e.specifiers[0].type==="ImportDefaultSpecifier"}function V2(e,t){return e.specifiers.length?t.specifiers.length?q2(e)||q2(t)?!1:(U2(t)&&(U2(e)?t.specifiers[0]=qfe(t.specifiers[0].local,Mfe("default")):e.specifiers.unshift(t.specifiers.shift())),e.specifiers.push(...t.specifiers),!0):!0:(e.specifiers=t.specifiers,!0)}});var W2=E(Zs=>{"use strict";Object.defineProperty(Zs,"__esModule",{value:!0});Object.defineProperty(Zs,"ImportInjector",{enumerable:!0,get:function(){return Tl.default}});Zs.addDefault=Wfe;Zs.addNamed=Kfe;Zs.addNamespace=Gfe;Zs.addSideEffect=Hfe;Object.defineProperty(Zs,"isModule",{enumerable:!0,get:function(){return $fe.default}});var Tl=$2(),$fe=cg();function Wfe(e,t,r){return new Tl.default(e).addDefault(t,r)}function Kfe(e,t,r,n){return new Tl.default(e).addNamed(t,r,n)}function Gfe(e,t,r){return new Tl.default(e).addNamespace(t,r)}function Hfe(e,t,r){return new Tl.default(e).addSideEffect(t,r)}});var H2=E(pg=>{"use strict";Object.defineProperty(pg,"__esModule",{value:!0});pg.default=Xfe;var K2=Qt(),G2=rr(),uf;function Xfe(e){uf||(uf=G2.visitors.environmentVisitor({ThisExpression(t){t.replaceWith(K2.types.unaryExpression("void",K2.types.numericLiteral(0),!0))}}),uf.noScope=!0),(0,G2.default)(e.node,uf)}});var gg=E(yg=>{"use strict";Object.defineProperty(yg,"__esModule",{value:!0});yg.default=Zfe;var Yfe=Be(),{LOGICAL_OPERATORS:Jfe,assignmentExpression:Sl,binaryExpression:hg,cloneNode:mg,identifier:cf,logicalExpression:zfe,numericLiteral:dg,sequenceExpression:Qfe,unaryExpression:X2}=Yfe,Y2={AssignmentExpression:{exit(e){let{scope:t,seen:r,bindingNames:n}=this;if(e.node.operator==="="||r.has(e.node))return;r.add(e.node);let s=e.get("left");if(!s.isIdentifier())return;let i=s.node.name;if(!n.has(i)||t.getBinding(i)!==e.scope.getBinding(i))return;let a=e.node.operator.slice(0,-1);Jfe.includes(a)?e.replaceWith(zfe(a,e.node.left,Sl("=",mg(e.node.left),e.node.right))):(e.node.right=hg(a,mg(e.node.left),e.node.right),e.node.operator="=")}}};Y2.UpdateExpression={exit(e){if(!this.includeUpdateExpression)return;let{scope:t,bindingNames:r}=this,n=e.get("argument");if(!n.isIdentifier())return;let s=n.node.name;if(r.has(s)&&t.getBinding(s)===e.scope.getBinding(s))if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){let i=e.node.operator==="++"?"+=":"-=";e.replaceWith(Sl(i,n.node,dg(1)))}else if(e.node.prefix)e.replaceWith(Sl("=",cf(s),hg(e.node.operator[0],X2("+",n.node),dg(1))));else{let i=e.scope.generateUidIdentifierBasedOnNode(n.node,"old"),a=i.name;e.scope.push({id:i});let o=hg(e.node.operator[0],cf(a),dg(1));e.replaceWith(Qfe([Sl("=",cf(a),X2("+",n.node)),Sl("=",mg(n.node),o),cf(a)]))}}};function Zfe(e,t){{var r;e.traverse(Y2,{scope:e.scope,bindingNames:t,seen:new WeakSet,includeUpdateExpression:(r=arguments[2])!=null?r:!0})}}});var J2=E(bg=>{"use strict";Object.defineProperty(bg,"__esModule",{value:!0});bg.default=npe;var epe=me("assert"),Ue=Qt(),tpe=gg();function rpe(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 npe(e,t,r){let n=new Map,s=new Map,i=u=>{e.requeue(u)};for(let[u,c]of t.source){for(let[f,p]of c.imports)n.set(f,[u,p,null]);for(let f of c.importsNamespace)n.set(f,[u,null,f])}for(let[u,c]of t.local){let f=s.get(u);f||(f=[],s.set(u,f)),f.push(...c.names)}let a={metadata:t,requeueInParent:i,scope:e.scope,exported:s};e.traverse(spe,a);let o=new Set([...Array.from(n.keys()),...Array.from(s.keys())]);(0,tpe.default)(e,o,!1);let l={seen:new WeakSet,metadata:t,requeueInParent:i,scope:e.scope,imported:n,exported:s,buildImportReference([u,c,f],p){let h=t.source.get(u);if(h.referenced=!0,f){if(h.wrap){var b;p=(b=r(p,h.wrap))!=null?b:p}return p}let d=Ue.types.identifier(h.name);if(h.wrap){var y;d=(y=r(d,h.wrap))!=null?y:d}if(c==="default"&&h.interop==="node-default")return d;let P=t.stringSpecifiers.has(c);return Ue.types.memberExpression(d,P?Ue.types.stringLiteral(c):Ue.types.identifier(c),P)}};e.traverse(ipe,l)}var spe={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=Ue.types.expressionStatement(ji(n,a,Ue.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(Ue.types.isIdentifier(a)&&r.has(a.name)&&!Ue.types.isArrowFunctionExpression(o)&&(!Ue.types.isFunctionExpression(o)||o.id)&&(!Ue.types.isClassExpression(o)||o.id)){if(!o){if(s)continue;o=e.scope.buildUndefinedNode()}i.node.init=ji(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=Ue.types.expressionStatement(ji(n,r.get(l),Ue.types.identifier(l),e.scope));u._blockHoist=e.node._blockHoist,t(e.insertAfter(u)[0])}}}},ji=(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 Ue.types.assignmentExpression("=",Ue.types.memberExpression(Ue.types.identifier(s),l?Ue.types.stringLiteral(a):Ue.types.identifier(a),l),i)},r)},ff=e=>Ue.template.expression.ast`
58
- (function() {
59
- throw new Error('"' + '${e}' + '" is read-only.');
60
- })()
61
- `,ipe={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(rpe(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}))&&Ue.types.isMemberExpression(c))e.replaceWith(Ue.types.sequenceExpression([Ue.types.numericLiteral(0),c]));else if(e.isJSXIdentifier()&&Ue.types.isMemberExpression(c)){let{object:f,property:p}=c;e.replaceWith(Ue.types.jsxMemberExpression(Ue.types.jsxIdentifier(f.name),Ue.types.jsxIdentifier(p.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),f=n.get(u);if(c?.length>0||f)if(f)e.replaceWith(Ue.types.assignmentExpression(l.operator[0]+"=",a(f,o.node),ff(u)));else if(l.prefix)e.replaceWith(ji(this.metadata,c,Ue.types.cloneNode(l),e.scope));else{let p=t.generateDeclaredUidIdentifier(u);e.replaceWith(Ue.types.sequenceExpression([Ue.types.assignmentExpression("=",Ue.types.cloneNode(p),Ue.types.cloneNode(l)),ji(this.metadata,c,Ue.types.identifier(u),e.scope),Ue.types.cloneNode(p)]))}}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?.length>0||c){epe(e.node.operator==="=","Path was not simplified");let f=e.node;c&&(f.left=a(c,o.node),f.right=Ue.types.sequenceExpression([f.right,ff(l)])),e.replaceWith(ji(this.metadata,u,f,e.scope)),i(e)}}else{let l=o.getOuterBindingIdentifiers(),u=Object.keys(l).filter(p=>t.getBinding(p)===e.scope.getBinding(p)),c=u.find(p=>n.has(p));c&&(e.node.right=Ue.types.sequenceExpression([e.node.right,ff(c)]));let f=[];if(u.forEach(p=>{let h=s.get(p)||[];h.length>0&&f.push(ji(this.metadata,h,Ue.types.identifier(p),e.scope))}),f.length>0){let p=Ue.types.sequenceExpression(f);e.parentPath.isExpressionStatement()&&(p=Ue.types.expressionStatement(p),p._blockHoist=e.parentPath.node._blockHoist);let h=e.insertAfter(p)[0];i(h)}}}},"ForOfStatement|ForInStatement"(e){let{scope:t,node:r}=e,{left:n}=r,{exported:s,imported:i,scope:a}=this;if(!Ue.types.isVariableDeclaration(n)){let o=!1,l,u=e.get("body").scope;for(let p of Object.keys(Ue.types.getOuterBindingIdentifiers(n)))a.getBinding(p)===t.getBinding(p)&&(s.has(p)&&(o=!0,u.hasOwnBinding(p)&&u.rename(p)),i.has(p)&&!l&&(l=p));if(!o&&!l)return;e.ensureBlock();let c=e.get("body"),f=t.generateUidIdentifierBasedOnNode(n);e.get("left").replaceWith(Ue.types.variableDeclaration("let",[Ue.types.variableDeclarator(Ue.types.cloneNode(f))])),t.registerDeclaration(e.get("left")),o&&c.unshiftContainer("body",Ue.types.expressionStatement(Ue.types.assignmentExpression("=",n,f))),l&&c.unshiftContainer("body",Ue.types.expressionStatement(ff(l)))}}}});var Eg=E(Ma=>{"use strict";Object.defineProperty(Ma,"__esModule",{value:!0});Ma.default=cpe;Ma.hasExports=ope;Ma.isSideEffectImport=lpe;Ma.validateImportInteropOption=Q2;var z2=me("path"),ape=ca();function ope(e){return e.hasExports}function lpe(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function Q2(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"?Q2(e(t,r)):e}function cpe(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;dpe(e);let{local:l,sources:u,hasExports:c}=fpe(e,{initializeReexports:n,getWrapperPayload:s},o);hpe(e);for(let[f,p]of u){let{importsNamespace:h,imports:b}=p;if(h.size>0&&b.size===0){let[y]=h;p.name=y}let d=upe(r,f,a);d==="none"?p.interop="none":d==="node"&&p.interop==="namespace"?p.interop="node-namespace":d==="node"&&p.interop==="default"?p.interop="node-default":i&&p.interop==="namespace"&&(p.interop="default")}return{exportName:t,exportNameListName:null,hasExports:c,local:l,source:u,stringSpecifiers:o}}function pf(e,t){if(e.isIdentifier())return e.node.name;if(e.isStringLiteral()){let r=e.node.value;return(0,ape.isIdentifierName)(r)||t.add(r),r}else throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}function Z2(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 fpe(e,{getWrapperPayload:t,initializeReexports:r},n){let s=ppe(e,r,n),i=new Map,a=new Map,o=(u,c)=>{let f=u.value,p=a.get(f);return p?i.get(f).push(c):(p={name:e.scope.generateUidIdentifier((0,z2.basename)(f,(0,z2.extname)(f))).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(f,p),i.set(f,[c])),p},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(f=>{if(f.isImportDefaultSpecifier()){let p=f.get("local").node.name;c.imports.set(p,"default");let h=s.get(p);h&&(s.delete(p),h.names.forEach(b=>{c.reexports.set(b,"default")}),c.referenced=!0)}else if(f.isImportNamespaceSpecifier()){let p=f.get("local").node.name;c.importsNamespace.add(p);let h=s.get(p);h&&(s.delete(p),h.names.forEach(b=>{c.reexportNamespace.add(b)}),c.referenced=!0)}else if(f.isImportSpecifier()){let p=pf(f.get("imported"),n),h=f.get("local").node.name;c.imports.set(h,p);let b=s.get(h);b&&(s.delete(h),b.names.forEach(d=>{c.reexports.set(d,p)}),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(f=>{Z2(f);let p=pf(f.get("local"),n),h=pf(f.get("exported"),n);if(c.reexports.set(h,p),c.referenced=!0,h==="__esModule")throw f.get("exported").buildCodeFrameError('Illegal export "__esModule".')})}else(u.isExportNamedDeclaration()||u.isExportDefaultDeclaration())&&(l=!0)});for(let u of a.values()){let c=!1,f=!1;u.importsNamespace.size>0&&(c=!0,f=!0),u.reexportAll&&(f=!0);for(let p of u.imports.values())p==="default"?c=!0:f=!0;for(let p of u.reexports.values())p==="default"?c=!0:f=!0;c&&f?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 ppe(e,t,r){let n=new Map;e.get("body").forEach(a=>{let o;if(a.isImportDeclaration())o="import";else{if(a.isExportDefaultDeclaration()&&(a=a.get("declaration")),a.isExportNamedDeclaration()){if(a.node.declaration)a=a.get("declaration");else if(t&&a.node.source&&a.get("source").isStringLiteral()){a.get("specifiers").forEach(l=>{Z2(l),n.set(l.get("local").node.name,"block")});return}}if(a.isFunctionDeclaration())o="hoisted";else if(a.isClassDeclaration())o="block";else if(a.isVariableDeclaration({kind:"var"}))o="var";else if(a.isVariableDeclaration())o="block";else return}Object.keys(a.getOuterBindingIdentifiers()).forEach(l=>{n.set(l,o)})});let s=new Map,i=a=>{let o=a.node.name,l=s.get(o);if(!l){let u=n.get(o);if(u===void 0)throw a.buildCodeFrameError(`Exporting local "${o}", which is not declared.`);l={names:[],kind:u},s.set(o,l)}return l};return e.get("body").forEach(a=>{if(a.isExportNamedDeclaration()&&(t||!a.node.source))if(a.node.declaration){let o=a.get("declaration"),l=o.getOuterBindingIdentifierPaths();Object.keys(l).forEach(u=>{if(u==="__esModule")throw o.buildCodeFrameError('Illegal export "__esModule".');i(l[u]).names.push(u)})}else a.get("specifiers").forEach(o=>{let l=o.get("local"),u=o.get("exported"),c=i(l),f=pf(u,r);if(f==="__esModule")throw u.buildCodeFrameError('Illegal export "__esModule".');c.names.push(f)});else if(a.isExportDefaultDeclaration()){let o=a.get("declaration");if(o.isFunctionDeclaration()||o.isClassDeclaration())i(o.get("id")).names.push("default");else throw o.buildCodeFrameError("Unexpected default expression export.")}}),s}function dpe(e){e.get("body").forEach(t=>{if(t.isExportDefaultDeclaration()){{var r;(r=t.splitExportDeclaration)!=null||(t.splitExportDeclaration=rr().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 ew=E(df=>{"use strict";Object.defineProperty(df,"__esModule",{value:!0});df.toGetWrapperPayload=gpe;df.wrapReference=bpe;var mpe=Qt(),ype=Eg();function gpe(e){return(t,r)=>{if(e===!1||(0,ype.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 bpe(e,t){return t==="lazy"?mpe.types.callExpression(e,[]):null}});var vg=E(hf=>{"use strict";Object.defineProperty(hf,"__esModule",{value:!0});hf.buildDynamicImport=Epe;var mr=Qt();hf.getDynamicImportSource=function(t){let[r]=t.arguments;return mr.types.isStringLiteral(r)||mr.types.isTemplateLiteral(r)?r:mr.template.expression.ast`\`\${${r}}\``};function Epe(e,t,r,n){let s=mr.types.isCallExpression(e)?e.arguments[0]:e.source;if(mr.types.isStringLiteral(s)||mr.types.isTemplateLiteral(s)&&s.quasis.length===0)return t?mr.template.expression.ast`
62
- Promise.resolve().then(() => ${n(s)})
63
- `:n(s);let i=mr.types.isTemplateLiteral(s)?mr.types.identifier("specifier"):mr.types.templateLiteral([mr.types.templateElement({raw:""}),mr.types.templateElement({raw:""})],[mr.types.identifier("specifier")]);return t?mr.template.expression.ast`
64
- (specifier =>
65
- new Promise(r => r(${i}))
66
- .then(s => ${n(mr.types.identifier("s"))})
67
- )(${s})
68
- `:r?mr.template.expression.ast`
69
- (specifier =>
70
- new Promise(r => r(${n(i)}))
71
- )(${s})
72
- `:mr.template.expression.ast`
73
- (specifier => ${n(i)})(${s})
74
- `}});var tw=E(mf=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});mf.default=Tg;{let e=Tg;mf.default=Tg=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 Tg(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 Pl=E(Yr=>{"use strict";Object.defineProperty(Yr,"__esModule",{value:!0});Object.defineProperty(Yr,"buildDynamicImport",{enumerable:!0,get:function(){return Spe.buildDynamicImport}});Yr.buildNamespaceInitStatements=wpe;Yr.ensureStatementsHoisted=Ape;Object.defineProperty(Yr,"getModuleName",{enumerable:!0,get:function(){return xpe.default}});Object.defineProperty(Yr,"hasExports",{enumerable:!0,get:function(){return xl.hasExports}});Object.defineProperty(Yr,"isModule",{enumerable:!0,get:function(){return rw.isModule}});Object.defineProperty(Yr,"isSideEffectImport",{enumerable:!0,get:function(){return xl.isSideEffectImport}});Yr.rewriteModuleStatementsAndPrepareHeader=Ppe;Object.defineProperty(Yr,"rewriteThis",{enumerable:!0,get:function(){return nw.default}});Yr.wrapInterop=Cpe;var vpe=me("assert"),st=Qt(),rw=W2(),nw=H2(),Tpe=J2(),xl=Eg(),Ag=ew(),Spe=vg(),xpe=tw();Yr.getDynamicImportSource=vg().getDynamicImportSource;function Ppe(e,{exportName:t,strict:r,allowTopLevelThis:n,strictMode:s,noInterop:i,importInterop:a=i?"none":"babel",lazy:o,getWrapperPayload:l=Ag.toGetWrapperPayload(o??!1),wrapReference:u=Ag.wrapReference,esNamespaceOnly:c,filename:f,constantReexports:p=arguments[1].loose,enumerableModuleMeta:h=arguments[1].loose,noIncompleteNsImportDetection:b}){(0,xl.validateImportInteropOption)(a),vpe((0,rw.isModule)(e),"Cannot process module statements in a script"),e.node.sourceType="script";let d=(0,xl.default)(e,t,{importInterop:a,initializeReexports:p,getWrapperPayload:l,esNamespaceOnly:c,filename:f});n||(0,nw.default)(e),(0,Tpe.default)(e,d,u),s!==!1&&(e.node.directives.some(N=>N.value.value==="use strict")||e.unshiftContainer("directives",st.types.directive(st.types.directiveLiteral("use strict"))));let y=[];(0,xl.hasExports)(d)&&!r&&y.push(Dpe(d,h));let P=Ope(e,d);return P&&(d.exportNameListName=P.name,y.push(P.statement)),y.push(..._pe(e,d,u,p,b)),{meta:d,headers:y}}function Ape(e){e.forEach(t=>{t._blockHoist=3})}function Cpe(e,t,r){if(r==="none")return null;if(r==="node-namespace")return st.types.callExpression(e.hub.addHelper("interopRequireWildcard"),[t,st.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 st.types.callExpression(e.hub.addHelper(n),[t])}function wpe(e,t,r=!1,n=Ag.wrapReference){var s;let i=[],a=st.types.identifier(t.name);for(let l of t.importsNamespace)l!==t.name&&i.push(st.template.statement`var NAME = SOURCE;`({NAME:l,SOURCE:st.types.cloneNode(a)}));let o=(s=n(a,t.wrap))!=null?s:a;r&&i.push(...sw(e,t,!0,n));for(let l of t.reexportNamespace)i.push((st.types.isIdentifier(o)?st.template.statement`EXPORTS.NAME = NAMESPACE;`:st.template.statement`
75
- Object.defineProperty(EXPORTS, "NAME", {
76
- enumerable: true,
77
- get: function() {
78
- return NAMESPACE;
79
- }
80
- });
81
- `)({EXPORTS:e.exportName,NAME:l,NAMESPACE:st.types.cloneNode(o)}));if(t.reexportAll){let l=Ipe(e,st.types.cloneNode(o),r);l.loc=t.reexportAll.loc,i.push(l)}return i}var Sg={constant:({exports:e,exportName:t,namespaceImport:r})=>st.template.statement.ast`
82
- ${e}.${t} = ${r};
83
- `,constantComputed:({exports:e,exportName:t,namespaceImport:r})=>st.template.statement.ast`
84
- ${e}["${t}"] = ${r};
85
- `,spec:({exports:e,exportName:t,namespaceImport:r})=>st.template.statement.ast`
86
- Object.defineProperty(${e}, "${t}", {
87
- enumerable: true,
88
- get: function() {
89
- return ${r};
90
- },
91
- });
92
- `};function sw(e,t,r,n){var s;let i=st.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=st.types.cloneNode(i);l==="default"&&t.interop==="node-default"||(a.has(l)?u=st.types.memberExpression(u,st.types.stringLiteral(l),!0):u=st.types.memberExpression(u,st.types.identifier(l)));let c={exports:e.exportName,exportName:o,namespaceImport:u};return r||st.types.isIdentifier(u)?a.has(o)?Sg.constantComputed(c):Sg.constant(c):Sg.spec(c)})}function Dpe(e,t=!1){return(t?st.template.statement`
93
- EXPORTS.__esModule = true;
94
- `:st.template.statement`
95
- Object.defineProperty(EXPORTS, "__esModule", {
96
- value: true,
97
- });
98
- `)({EXPORTS:e.exportName})}function Ipe(e,t,r){return(r?st.template.statement`
99
- Object.keys(NAMESPACE).forEach(function(key) {
100
- if (key === "default" || key === "__esModule") return;
101
- VERIFY_NAME_LIST;
102
- if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
103
-
104
- EXPORTS[key] = NAMESPACE[key];
105
- });
106
- `:st.template.statement`
107
- Object.keys(NAMESPACE).forEach(function(key) {
108
- if (key === "default" || key === "__esModule") return;
109
- VERIFY_NAME_LIST;
110
- if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
111
-
112
- Object.defineProperty(EXPORTS, key, {
113
- enumerable: true,
114
- get: function() {
115
- return NAMESPACE[key];
116
- },
117
- });
118
- });
119
- `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,st.template)`
120
- if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return;
121
- `({EXPORTS_LIST:e.exportNameListName}):null})}function Ope(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:st.types.variableDeclaration("var",[st.types.variableDeclarator(s,st.types.valueToNode(r))])}}function _pe(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],Pg(t,l.names,st.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=sw(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[f,p]=i[l+c];p!==null?(u.length>0&&(a.push(Pg(t,u,e.scope.buildUndefinedNode())),u=[]),a.push(p)):u.push(f)}u.length>0&&a.push(Pg(t,u,e.scope.buildUndefinedNode()))}return a}var xg={computed:({exports:e,name:t,value:r})=>st.template.expression.ast`${e}["${t}"] = ${r}`,default:({exports:e,name:t,value:r})=>st.template.expression.ast`${e}.${t} = ${r}`,define:({exports:e,name:t,value:r})=>st.template.expression.ast`
122
- Object.defineProperty(${e}, "${t}", {
123
- enumerable: true,
124
- value: void 0,
125
- writable: true
126
- })["${t}"] = ${r}`};function Pg(e,t,r){let{stringSpecifiers:n,exportName:s}=e;return st.types.expressionStatement(t.reduce((i,a)=>{let o={exports:s,name:a,value:i};return a==="__proto__"?xg.define(o):n.has(a)?xg.computed(o):xg.default(o)},r))}});var aw=E(iw=>{iw.getModuleName=()=>Pl().getModuleName});var wg=E(gf=>{"use strict";Object.defineProperty(gf,"__esModule",{value:!0});gf.default=void 0;function Al(){let e=Dy();return Al=function(){return e},e}function Cg(){let e=rr();return Cg=function(){return e},e}function ow(){let e=el();return ow=function(){return e},e}function lw(){let e=Be();return lw=function(){return e},e}function yf(){let e=nf();return yf=function(){return e},e}var Npe=Bpe(aw(),!0);function uw(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(uw=function(n){return n?r:t})(e)}function Bpe(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=uw(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&{}.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}var{cloneNode:Fpe,interpreterDirective:kpe}=lw(),Lpe={enter(e,t){let r=e.node.loc;r&&(t.loc=r,e.stop())}},qa=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=Cg().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(kpe(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){let n;try{n=Al().minVersion(t)}catch(s){if(s.code!=="BABEL_HELPER_UNKNOWN")throw s;return!1}return typeof r!="string"?!0:(yf().valid(r)&&(r=`^${r}`),!yf().intersects(`<${n}`,r)&&!yf().intersects(">=8.0.0",r))}addHelper(t){let r=this.declarations[t];if(r)return Fpe(r);let n=this.get("helperGenerator");if(n){let u=n(t);if(u)return u}Al().minVersion(t);let s=this.declarations[t]=this.scope.generateUidIdentifier(t),i={};for(let u of Al().getDependencies(t))i[u]=this.addHelper(u);let{nodes:a,globals:o}=Al().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?.loc;if(!s&&t){let i={loc:null};(0,Cg().default)(t,Lpe,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+=`
127
- `+(0,ow().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)}};gf.default=qa;qa.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'.")},qa.prototype.addTemplateObject=function(){throw new Error("This function has been moved into the template literal transform itself.")},qa.prototype.getModuleName=function(){return Npe.getModuleName()(this.opts,this.opts)}});var hw=E(Fg=>{"use strict";Object.defineProperty(Fg,"__esModule",{value:!0});Fg.default=Qpe;function Dg(){let e=Dy();return Dg=function(){return e},e}function cw(){let e=Mc();return cw=function(){return e},e}function fw(){let e=nl();return fw=function(){return e},e}function pw(){let e=Be();return pw=function(){return e},e}var{arrayExpression:Rpe,assignmentExpression:bf,binaryExpression:jpe,blockStatement:Mpe,callExpression:qpe,cloneNode:Upe,conditionalExpression:Vpe,exportNamedDeclaration:$pe,exportSpecifier:Wpe,expressionStatement:Ig,functionExpression:Kpe,identifier:yr,memberExpression:Og,objectExpression:_g,program:Ef,stringLiteral:dw,unaryExpression:Gpe,variableDeclaration:Ng,variableDeclarator:Bg}=pw(),Hpe=e=>fw().default.statement`
128
- (function (root, factory) {
129
- if (typeof define === "function" && define.amd) {
130
- define(AMD_ARGUMENTS, factory);
131
- } else if (typeof exports === "object") {
132
- factory(COMMON_ARGUMENTS);
133
- } else {
134
- factory(BROWSER_ARGUMENTS);
135
- }
136
- })(UMD_ROOT, function (FACTORY_PARAMETERS) {
137
- FACTORY_BODY
138
- });
139
- `(e);function Xpe(e){let t=yr("babelHelpers"),r=[],n=Kpe(null,[yr("global")],Mpe(r)),s=Ef([Ig(qpe(n,[Vpe(jpe("===",Gpe("typeof",yr("global")),dw("undefined")),yr("self"),yr("global"))]))]);return r.push(Ng("var",[Bg(t,bf("=",Og(yr("global"),t),_g([])))])),vf(r,t,e),s}function Ype(e){let t=[],r=vf(t,null,e);return t.unshift($pe(null,Object.keys(r).map(n=>Wpe(Upe(r[n]),yr(n))))),Ef(t,[],"module")}function Jpe(e){let t=yr("babelHelpers"),r=[];return r.push(Ng("var",[Bg(t,yr("global"))])),vf(r,t,e),Ef([Hpe({FACTORY_PARAMETERS:yr("global"),BROWSER_ARGUMENTS:bf("=",Og(yr("root"),t),_g([])),COMMON_ARGUMENTS:yr("exports"),AMD_ARGUMENTS:Rpe([dw("exports")]),FACTORY_BODY:r,UMD_ROOT:yr("this")})])}function zpe(e){let t=yr("babelHelpers"),r=[];r.push(Ng("var",[Bg(t,_g([]))]));let n=Ef(r);return vf(r,t,e),r.push(Ig(t)),n}function vf(e,t,r){let n=i=>t?Og(t,yr(i)):yr(`_${i}`),s={};return Dg().list.forEach(function(i){if(r&&!r.includes(i))return;let a=s[i]=n(i),{nodes:o}=Dg().get(i,n,t?null:`_${i}`,[],t?(l,u,c)=>{c(f=>bf("=",a,f)),l.body.push(Ig(bf("=",a,yr(u))))}:null);e.push(...o)}),s}function Qpe(e,t="global"){let r,n={global:Xpe,module:Ype,umd:Jpe,var:zpe}[t];if(n)r=n(e);else throw new Error(`Unsupported output type ${t}`);return(0,cw().default)(r).code}});var Jr=E((G2e,Sw)=>{"use strict";var yw=Symbol.for("gensync:v1:start"),gw=Symbol.for("gensync:v1:suspend"),Zpe="GENSYNC_EXPECTED_START",ede="GENSYNC_EXPECTED_SUSPEND",bw="GENSYNC_OPTIONS_ERROR",mw="GENSYNC_RACE_NONEMPTY",tde="GENSYNC_ERRBACK_NO_CALLBACK";Sw.exports=Object.assign(function(t){let r=t;return typeof t!="function"?r=nde(t):r=sde(t),Object.assign(r,rde(r))},{all:kg({name:"all",arity:1,sync:function(e){return Array.from(e[0]).map(r=>Lg(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)=>{Tf(a,l=>{i[o]=l,s+=1,s===i.length&&t(i)},r)})}}),race:kg({name:"race",arity:1,sync:function(e){let t=Array.from(e[0]);if(t.length===0)throw Mi("Must race at least 1 item",mw);return Lg(t[0])},async:function(e,t,r){let n=Array.from(e[0]);if(n.length===0)throw Mi("Must race at least 1 item",mw);for(let s of n)Tf(s,t,r)}})});function rde(e){return{sync:function(...r){return Lg(e.apply(this,r))},async:function(...r){return new Promise((n,s)=>{Tf(e.apply(this,r),n,s)})},errback:function(...r){let n=r.pop();if(typeof n!="function")throw Mi("Asynchronous function called without callback",tde);let s;try{s=e.apply(this,r)}catch(i){n(i);return}Tf(s,i=>n(void 0,i),i=>n(i))}}}function Cl(e,t,r,n){if(typeof r===e||n&&typeof r>"u")return;let s;throw n?s=`Expected opts.${t} to be either a ${e}, or undefined.`:s=`Expected opts.${t} to be a ${e}.`,Mi(s,bw)}function Mi(e,t){return Object.assign(new Error(e),{code:t})}function nde({name:e,arity:t,sync:r,async:n,errback:s}){if(Cl("string","name",e,!0),Cl("number","arity",t,!0),Cl("function","sync",r),Cl("function","async",n,!0),Cl("function","errback",s,!0),n&&s)throw Mi("Expected one of either opts.async or opts.errback, but got _both_.",bw);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),kg({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 sde(e){return Tw(e.name,e.length,function(...t){return e.apply(this,t)})}function kg({name:e,arity:t,sync:r,async:n}){return Tw(e,t,function*(...s){let i=yield yw;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 gw,a.hasOwnProperty("err"))throw a.err;return a.value})}function Lg(e){let t;for(;!({value:t}=e.next()).done;)Ew(t,e);return t}function Tf(e,t,r){(function n(){try{let s;for(;!({value:s}=e.next()).done;){Ew(s,e);let i=!0,a=!1,o=e.next(()=>{i?a=!0:n()});if(i=!1,ide(o,e),!a)return}return t(s)}catch(s){return r(s)}})()}function Ew(e,t){e!==yw&&vw(t,Mi(`Got unexpected yielded value in gensync generator: ${JSON.stringify(e)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,Zpe))}function ide({value:e,done:t},r){!t&&e===gw||vw(r,Mi(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.`,ede))}function vw(e,t){throw e.throw&&e.throw(t),t}function Tw(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 Ua=E(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.forwardAsync=lde;Dn.isAsync=void 0;Dn.isThenable=Cw;Dn.maybeAsync=ade;Dn.waitFor=Dn.onFirstPause=void 0;function ei(){let e=Jr();return ei=function(){return e},e}function xw(e,t,r,n,s,i,a){try{var o=e[i](a),l=o.value}catch(u){r(u);return}o.done?t(l):Promise.resolve(l).then(n,s)}function Aw(e){return function(){var t=this,r=arguments;return new Promise(function(n,s){var i=e.apply(t,r);function a(l){xw(i,n,s,a,o,"next",l)}function o(l){xw(i,n,s,a,o,"throw",l)}a(void 0)})}}var Pw=ei()(function*(e){return yield*e}),H2e=Dn.isAsync=ei()({sync:()=>!1,errback:e=>e(null,!0)});function ade(e,t){return ei()({sync(...r){let n=e.apply(this,r);if(Cw(n))throw new Error(t);return n},async(...r){return Promise.resolve(e.apply(this,r))}})}var ode=ei()({sync:e=>e("sync"),async:function(){var e=Aw(function*(t){return t("async")});return function(r){return e.apply(this,arguments)}}()});function lde(e,t){let r=ei()(e);return ode(n=>{let s=r[n];return t(s)})}var X2e=Dn.onFirstPause=ei()({name:"onFirstPause",arity:2,sync:function(e){return Pw.sync(e)},errback:function(e,t,r){let n=!1;Pw.errback(e,(s,i)=>{n=!0,r(s,i)}),n||t()}}),Y2e=Dn.waitFor=ei()({sync:e=>e,async:function(){var e=Aw(function*(t){return t});return function(r){return e.apply(this,arguments)}}()});function Cw(e){return!!e&&(typeof e=="object"||typeof e=="function")&&!!e.then&&typeof e.then=="function"}});var xf=E(Sf=>{"use strict";Object.defineProperty(Sf,"__esModule",{value:!0});Sf.isIterableIterator=fde;Sf.mergeOptions=ude;function ude(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]={});cde(s,n)}else{let n=t[r];n!==void 0&&(e[r]=n)}}function cde(e,t){for(let r of Object.keys(t)){let n=t[r];n!==void 0&&(e[r]=n)}}function fde(e){return!!e&&typeof e.next=="function"&&typeof e[Symbol.iterator]=="function"}});var Ui=E(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.assertSimpleType=Pf;qi.makeStrongCache=_w;qi.makeStrongCacheSync=mde;qi.makeWeakCache=Ow;qi.makeWeakCacheSync=hde;function Dw(){let e=Jr();return Dw=function(){return e},e}var Va=Ua(),pde=xf(),Iw=e=>Dw()(e).sync;function*dde(){return!0}function Ow(e){return Nw(WeakMap,e)}function hde(e){return Iw(Ow(e))}function _w(e){return Nw(Map,e)}function mde(e){return Iw(_w(e))}function Nw(e,t){let r=new e,n=new e,s=new e;return function*(a,o){let l=yield*(0,Va.isAsync)(),u=l?n:r,c=yield*yde(l,u,s,a,o);if(c.valid)return c.value;let f=new Rg(o),p=t(a,f),h,b;return(0,pde.isIterableIterator)(p)?b=yield*(0,Va.onFirstPause)(p,()=>{h=gde(f,s,a)}):b=p,Bw(u,f,a,b),h&&(s.delete(a),h.release(b)),b}}function*ww(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*yde(e,t,r,n,s){let i=yield*ww(t,n,s);if(i.valid)return i;if(e){let a=yield*ww(r,n,s);if(a.valid)return{valid:!0,value:yield*(0,Va.waitFor)(a.value.promise)}}return{valid:!1,value:null}}function gde(e,t,r){let n=new jg;return Bw(t,e,r,n),n}function Bw(e,t,r,n){t.configured()||t.forever();let s=e.get(r);switch(t.deactivate(),t.mode()){case"forever":s=[{value:n,valid:dde}],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 Rg=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 bde(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,Va.maybeAsync)(t,"You appear to be using an async cache handler, but Babel has been called synchronously");return(0,Va.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 bde(e){function t(r){if(typeof r=="boolean"){r?e.forever():e.never();return}return e.using(()=>Pf(r()))}return t.forever=()=>e.forever(),t.never=()=>e.never(),t.using=r=>e.using(()=>Pf(r())),t.invalidate=r=>e.invalidate(()=>Pf(r())),t}function Pf(e){if((0,Va.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 jg=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 Af=E($a=>{"use strict";Object.defineProperty($a,"__esModule",{value:!0});$a.stat=$a.readFile=void 0;function wl(){let e=me("fs");return wl=function(){return e},e}function Mg(){let e=Jr();return Mg=function(){return e},e}var Z2e=$a.readFile=Mg()({sync:wl().readFileSync,errback:wl().readFile}),ewe=$a.stat=Mg()({sync:wl().statSync,errback:wl().stat})});var Vg=E(Ug=>{"use strict";Object.defineProperty(Ug,"__esModule",{value:!0});Ug.makeStaticFileCache=Tde;var Ede=Ui(),vde=Af();function qg(){let e=me("fs");return qg=function(){return e},e}function Tde(e){return(0,Ede.makeStrongCache)(function*(t,r){return r.invalidate(()=>Sde(t))===null?null:e(t,yield*vde.readFile(t,"utf8"))})}function Sde(e){if(!qg().existsSync(e))return null;try{return+qg().statSync(e).mtime}catch(t){if(t.code!=="ENOENT"&&t.code!=="ENOTDIR")throw t}return null}});var bs=E(Wa=>{"use strict";Object.defineProperty(Wa,"__esModule",{value:!0});Wa.beginHiddenCallStack=Cde;Wa.endHiddenCallStack=wde;Wa.expectedError=Ade;Wa.injectVirtualStackFrame=Pde;var Fw,kw=Function.call.bind(Error.prototype.toString),wf=!!Error.captureStackTrace&&((Fw=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit"))==null?void 0:Fw.writable)===!0,Lw="startHiding - secret - don't use this - v1",Rw="stopHiding - secret - don't use this - v1",jw=new WeakSet,Cf=new WeakMap;function xde(e){return Object.create({isNative:()=>!1,isConstructor:()=>!1,isToplevel:()=>!0,getFileName:()=>e,getLineNumber:()=>{},getColumnNumber:()=>{},getFunctionName:()=>{},getMethodName:()=>{},getTypeName:()=>{},toString:()=>e})}function Pde(e,t){if(!wf)return;let r=Cf.get(e);return r||Cf.set(e,r=[]),r.push(xde(t)),e}function Ade(e){if(wf)return jw.add(e),e}function Cde(e){return wf?Object.defineProperty(function(...t){return Mw(),e(...t)},"name",{value:Rw}):e}function wde(e){return wf?Object.defineProperty(function(...t){return e(...t)},"name",{value:Lw}):e}function Mw(){Mw=()=>{};let{prepareStackTrace:e=Dde}=Error,t=50;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,t)),Error.prepareStackTrace=function(n,s){let i=[],o=jw.has(n)?"hiding":"unknown";for(let l=0;l<s.length;l++){let u=s[l].getFunctionName();if(u===Lw)o="hiding";else if(u===Rw){if(o==="hiding")o="showing",Cf.has(n)&&i.unshift(...Cf.get(n));else if(o==="unknown"){i=s;break}}else o!=="hiding"&&i.push(s[l])}return e(n,i)}}function Dde(e,t){return t.length===0?kw(e):`${kw(e)}
140
- at ${t.join(`
141
- at `)}`}});var Vi=E(Df=>{"use strict";Object.defineProperty(Df,"__esModule",{value:!0});Df.default=void 0;var qw=bs(),$g=class extends Error{constructor(t,r){super(t),(0,qw.expectedError)(this),r&&(0,qw.injectVirtualStackFrame)(this,r)}};Df.default=$g});var Uw=E(Kg=>{"use strict";Object.defineProperty(Kg,"__esModule",{value:!0});Kg.findPackageData=Nde;function Ka(){let e=me("path");return Ka=function(){return e},e}var Ide=Vg(),Wg=Vi(),Ode="package.json",_de=(0,Ide.makeStaticFileCache)((e,t)=>{let r;try{r=JSON.parse(t)}catch(n){throw new Wg.default(`Error while parsing JSON - ${n.message}`,e)}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!="object")throw new Wg.default(`Config returned typeof ${typeof r}`,e);if(Array.isArray(r))throw new Wg.default("Expected config object but found array",e);return{filepath:e,dirname:Ka().dirname(e),options:r}});function*Nde(e){let t=null,r=[],n=!0,s=Ka().dirname(e);for(;!t&&Ka().basename(s)!=="node_modules";){r.push(s),t=yield*_de(Ka().join(s,Ode));let i=Ka().dirname(s);if(s===i){n=!1;break}s=i}return{filepath:e,directories:r,pkg:t,isPackage:n}}});var Vw=E((awe,If)=>{If.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;If.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]/;If.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 Hg=E((owe,$w)=>{var Gg=Vw();$w.exports={isSpaceSeparator(e){return typeof e=="string"&&Gg.Space_Separator.test(e)},isIdStartChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||Gg.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"||Gg.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 Xw=E((lwe,Hw)=>{var ur=Hg(),Yg,Mr,vs,_f,ti,In,cr,Qg,Il;Hw.exports=function(t,r){Yg=String(t),Mr="start",vs=[],_f=0,ti=1,In=0,cr=void 0,Qg=void 0,Il=void 0;do cr=Bde(),Lde[Mr]();while(cr.type!=="eof");return typeof r=="function"?Jg({"":Il},"",r):Il};function Jg(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=Jg(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=Jg(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 He,We,Dl,Es,it;function Bde(){for(He="default",We="",Dl=!1,Es=1;;){it=Ts();let e=Kw[He]();if(e)return e}}function Ts(){if(Yg[_f])return String.fromCodePoint(Yg.codePointAt(_f))}function J(){let e=Ts();return e===`
142
- `?(ti++,In=0):e?In+=e.length:In++,e&&(_f+=e.length),e}var Kw={default(){switch(it){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
143
- `:case"\r":case"\u2028":case"\u2029":J();return;case"/":J(),He="comment";return;case void 0:return J(),Bt("eof")}if(ur.isSpaceSeparator(it)){J();return}return Kw[Mr]()},comment(){switch(it){case"*":J(),He="multiLineComment";return;case"/":J(),He="singleLineComment";return}throw Ft(J())},multiLineComment(){switch(it){case"*":J(),He="multiLineCommentAsterisk";return;case void 0:throw Ft(J())}J()},multiLineCommentAsterisk(){switch(it){case"*":J();return;case"/":J(),He="default";return;case void 0:throw Ft(J())}J(),He="multiLineComment"},singleLineComment(){switch(it){case`
144
- `:case"\r":case"\u2028":case"\u2029":J(),He="default";return;case void 0:return J(),Bt("eof")}J()},value(){switch(it){case"{":case"[":return Bt("punctuator",J());case"n":return J(),$i("ull"),Bt("null",null);case"t":return J(),$i("rue"),Bt("boolean",!0);case"f":return J(),$i("alse"),Bt("boolean",!1);case"-":case"+":J()==="-"&&(Es=-1),He="sign";return;case".":We=J(),He="decimalPointLeading";return;case"0":We=J(),He="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":We=J(),He="decimalInteger";return;case"I":return J(),$i("nfinity"),Bt("numeric",1/0);case"N":return J(),$i("aN"),Bt("numeric",NaN);case'"':case"'":Dl=J()==='"',We="",He="string";return}throw Ft(J())},identifierNameStartEscape(){if(it!=="u")throw Ft(J());J();let e=zg();switch(e){case"$":case"_":break;default:if(!ur.isIdStartChar(e))throw Ww();break}We+=e,He="identifierName"},identifierName(){switch(it){case"$":case"_":case"\u200C":case"\u200D":We+=J();return;case"\\":J(),He="identifierNameEscape";return}if(ur.isIdContinueChar(it)){We+=J();return}return Bt("identifier",We)},identifierNameEscape(){if(it!=="u")throw Ft(J());J();let e=zg();switch(e){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!ur.isIdContinueChar(e))throw Ww();break}We+=e,He="identifierName"},sign(){switch(it){case".":We=J(),He="decimalPointLeading";return;case"0":We=J(),He="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":We=J(),He="decimalInteger";return;case"I":return J(),$i("nfinity"),Bt("numeric",Es*(1/0));case"N":return J(),$i("aN"),Bt("numeric",NaN)}throw Ft(J())},zero(){switch(it){case".":We+=J(),He="decimalPoint";return;case"e":case"E":We+=J(),He="decimalExponent";return;case"x":case"X":We+=J(),He="hexadecimal";return}return Bt("numeric",Es*0)},decimalInteger(){switch(it){case".":We+=J(),He="decimalPoint";return;case"e":case"E":We+=J(),He="decimalExponent";return}if(ur.isDigit(it)){We+=J();return}return Bt("numeric",Es*Number(We))},decimalPointLeading(){if(ur.isDigit(it)){We+=J(),He="decimalFraction";return}throw Ft(J())},decimalPoint(){switch(it){case"e":case"E":We+=J(),He="decimalExponent";return}if(ur.isDigit(it)){We+=J(),He="decimalFraction";return}return Bt("numeric",Es*Number(We))},decimalFraction(){switch(it){case"e":case"E":We+=J(),He="decimalExponent";return}if(ur.isDigit(it)){We+=J();return}return Bt("numeric",Es*Number(We))},decimalExponent(){switch(it){case"+":case"-":We+=J(),He="decimalExponentSign";return}if(ur.isDigit(it)){We+=J(),He="decimalExponentInteger";return}throw Ft(J())},decimalExponentSign(){if(ur.isDigit(it)){We+=J(),He="decimalExponentInteger";return}throw Ft(J())},decimalExponentInteger(){if(ur.isDigit(it)){We+=J();return}return Bt("numeric",Es*Number(We))},hexadecimal(){if(ur.isHexDigit(it)){We+=J(),He="hexadecimalInteger";return}throw Ft(J())},hexadecimalInteger(){if(ur.isHexDigit(it)){We+=J();return}return Bt("numeric",Es*Number(We))},string(){switch(it){case"\\":J(),We+=Fde();return;case'"':if(Dl)return J(),Bt("string",We);We+=J();return;case"'":if(!Dl)return J(),Bt("string",We);We+=J();return;case`
145
- `:case"\r":throw Ft(J());case"\u2028":case"\u2029":Rde(it);break;case void 0:throw Ft(J())}We+=J()},start(){switch(it){case"{":case"[":return Bt("punctuator",J())}He="value"},beforePropertyName(){switch(it){case"$":case"_":We=J(),He="identifierName";return;case"\\":J(),He="identifierNameStartEscape";return;case"}":return Bt("punctuator",J());case'"':case"'":Dl=J()==='"',He="string";return}if(ur.isIdStartChar(it)){We+=J(),He="identifierName";return}throw Ft(J())},afterPropertyName(){if(it===":")return Bt("punctuator",J());throw Ft(J())},beforePropertyValue(){He="value"},afterPropertyValue(){switch(it){case",":case"}":return Bt("punctuator",J())}throw Ft(J())},beforeArrayValue(){if(it==="]")return Bt("punctuator",J());He="value"},afterArrayValue(){switch(it){case",":case"]":return Bt("punctuator",J())}throw Ft(J())},end(){throw Ft(J())}};function Bt(e,t){return{type:e,value:t,line:ti,column:In}}function $i(e){for(let t of e){if(Ts()!==t)throw Ft(J());J()}}function Fde(){switch(Ts()){case"b":return J(),"\b";case"f":return J(),"\f";case"n":return J(),`
146
- `;case"r":return J(),"\r";case"t":return J()," ";case"v":return J(),"\v";case"0":if(J(),ur.isDigit(Ts()))throw Ft(J());return"\0";case"x":return J(),kde();case"u":return J(),zg();case`
147
- `:case"\u2028":case"\u2029":return J(),"";case"\r":return J(),Ts()===`
148
- `&&J(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw Ft(J());case void 0:throw Ft(J())}return J()}function kde(){let e="",t=Ts();if(!ur.isHexDigit(t)||(e+=J(),t=Ts(),!ur.isHexDigit(t)))throw Ft(J());return e+=J(),String.fromCodePoint(parseInt(e,16))}function zg(){let e="",t=4;for(;t-- >0;){let r=Ts();if(!ur.isHexDigit(r))throw Ft(J());e+=J()}return String.fromCodePoint(parseInt(e,16))}var Lde={start(){if(cr.type==="eof")throw Wi();Xg()},beforePropertyName(){switch(cr.type){case"identifier":case"string":Qg=cr.value,Mr="afterPropertyName";return;case"punctuator":Of();return;case"eof":throw Wi()}},afterPropertyName(){if(cr.type==="eof")throw Wi();Mr="beforePropertyValue"},beforePropertyValue(){if(cr.type==="eof")throw Wi();Xg()},beforeArrayValue(){if(cr.type==="eof")throw Wi();if(cr.type==="punctuator"&&cr.value==="]"){Of();return}Xg()},afterPropertyValue(){if(cr.type==="eof")throw Wi();switch(cr.value){case",":Mr="beforePropertyName";return;case"}":Of()}},afterArrayValue(){if(cr.type==="eof")throw Wi();switch(cr.value){case",":Mr="beforeArrayValue";return;case"]":Of()}},end(){}};function Xg(){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(Il===void 0)Il=e;else{let t=vs[vs.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,Qg,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(e!==null&&typeof e=="object")vs.push(e),Array.isArray(e)?Mr="beforeArrayValue":Mr="beforePropertyName";else{let t=vs[vs.length-1];t==null?Mr="end":Array.isArray(t)?Mr="afterArrayValue":Mr="afterPropertyValue"}}function Of(){vs.pop();let e=vs[vs.length-1];e==null?Mr="end":Array.isArray(e)?Mr="afterArrayValue":Mr="afterPropertyValue"}function Ft(e){return Nf(e===void 0?`JSON5: invalid end of input at ${ti}:${In}`:`JSON5: invalid character '${Gw(e)}' at ${ti}:${In}`)}function Wi(){return Nf(`JSON5: invalid end of input at ${ti}:${In}`)}function Ww(){return In-=5,Nf(`JSON5: invalid identifier character at ${ti}:${In}`)}function Rde(e){console.warn(`JSON5: '${Gw(e)}' in strings is not valid ECMAScript; consider escaping`)}function Gw(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 Nf(e){let t=new SyntaxError(e);return t.lineNumber=ti,t.columnNumber=In,t}});var Jw=E((uwe,Yw)=>{var Zg=Hg();Yw.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 d of r){let y;typeof d=="string"?y=d:(typeof d=="number"||d instanceof String||d instanceof Number)&&(y=String(d)),y!==void 0&&a.indexOf(y)<0&&a.push(y)}}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(d,y){let P=y[d];switch(P!=null&&(typeof P.toJSON5=="function"?P=P.toJSON5(d):typeof P.toJSON=="function"&&(P=P.toJSON(d))),o&&(P=o.call(y,d,P)),P instanceof Number?P=Number(P):P instanceof String?P=String(P):P instanceof Boolean&&(P=P.valueOf()),P){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof P=="string")return f(P,!1);if(typeof P=="number")return String(P);if(typeof P=="object")return Array.isArray(P)?b(P):p(P)}function f(d){let y={"'":.1,'"':.2},P={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},D="";for(let B=0;B<d.length;B++){let F=d[B];switch(F){case"'":case'"':y[F]++,D+=F;continue;case"\0":if(Zg.isDigit(d[B+1])){D+="\\x00";continue}}if(P[F]){D+=P[F];continue}if(F<" "){let j=F.charCodeAt(0).toString(16);D+="\\x"+("00"+j).substring(j.length);continue}D+=F}let N=u||Object.keys(y).reduce((B,F)=>y[B]<y[F]?B:F);return D=D.replace(new RegExp(N,"g"),P[N]),N+D+N}function p(d){if(s.indexOf(d)>=0)throw TypeError("Converting circular structure to JSON5");s.push(d);let y=i;i=i+l;let P=a||Object.keys(d),D=[];for(let B of P){let F=c(B,d);if(F!==void 0){let j=h(B)+":";l!==""&&(j+=" "),j+=F,D.push(j)}}let N;if(D.length===0)N="{}";else{let B;if(l==="")B=D.join(","),N="{"+B+"}";else{let F=`,
149
- `+i;B=D.join(F),N=`{
150
- `+i+B+`,
151
- `+y+"}"}}return s.pop(),i=y,N}function h(d){if(d.length===0)return f(d,!0);let y=String.fromCodePoint(d.codePointAt(0));if(!Zg.isIdStartChar(y))return f(d,!0);for(let P=y.length;P<d.length;P++)if(!Zg.isIdContinueChar(String.fromCodePoint(d.codePointAt(P))))return f(d,!0);return d}function b(d){if(s.indexOf(d)>=0)throw TypeError("Converting circular structure to JSON5");s.push(d);let y=i;i=i+l;let P=[];for(let N=0;N<d.length;N++){let B=c(String(N),d);P.push(B!==void 0?B:"null")}let D;if(P.length===0)D="[]";else if(l==="")D="["+P.join(",")+"]";else{let N=`,
152
- `+i,B=P.join(N);D=`[
153
- `+i+B+`,
154
- `+y+"]"}return s.pop(),i=y,D}}});var Qw=E((cwe,zw)=>{var jde=Xw(),Mde=Jw(),qde={parse:jde,stringify:Mde};zw.exports=qde});var eb=E(Ol=>{"use strict";Object.defineProperty(Ol,"__esModule",{value:!0});Ol.makeConfigAPI=tD;Ol.makePluginAPI=Ude;Ol.makePresetAPI=rD;function eD(){let e=nf();return eD=function(){return e},e}var Bf=Qt(),Zw=Ui();function tD(e){let t=n=>e.using(s=>typeof n>"u"?s.envName:typeof n=="function"?(0,Zw.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,Zw.assertSimpleType)(n(s.caller)));return{version:Bf.version,cache:e.simple(),env:t,async:()=>!1,caller:r,assertVersion:Vde}}function rD(e,t){let r=()=>JSON.parse(e.using(s=>JSON.stringify(s.targets))),n=s=>{t.push(s)};return Object.assign({},tD(e),{targets:r,addExternalDependency:n})}function Ude(e,t){let r=n=>e.using(s=>s.assumptions[n]);return Object.assign({},rD(e,t),{assumption:r})}function Vde(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==="*"||eD().satisfies(Bf.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 "${Bf.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:Bf.version,range:e})}});var kf=E(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});Ff.finalize=$de;Ff.flattenToSet=Wde;function $de(e){return Object.freeze(e)}function Wde(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 Rf=E(Lf=>{"use strict";Object.defineProperty(Lf,"__esModule",{value:!0});Lf.default=void 0;var Kde=kf(),tb=class{constructor(t,r,n,s=(0,Kde.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}};Lf.default=tb});var sD=E(rb=>{"use strict";Object.defineProperty(rb,"__esModule",{value:!0});rb.once=Gde;var nD=Ua();function Gde(e){let t,r,n=!1;return function*(){if(!t){if(r)return n=!0,yield*(0,nD.waitFor)(r);if(yield*(0,nD.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 iD=E((mwe,Hde)=>{Hde.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:"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"}]});var oD=E((ywe,aD)=>{aD.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 jf=E((gwe,lD)=>{lD.exports.browsers=oD()});var cD=E((bwe,uD)=>{uD.exports={0:"24",1:"25",2:"112",3:"113",4:"114",5:"115",6:"116",7:"117",8:"118",9:"119",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"80",I:"128",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:"127",w:"20",x:"21",y:"22",z:"23",AB:"120",BB:"121",CB:"122",DB:"123",EB:"124",FB:"125",GB:"126",HB:"5",IB:"19",JB:"26",KB:"27",LB:"28",MB:"29",NB:"30",OB:"31",PB:"32",QB:"33",RB:"34",SB:"35",TB:"36",UB:"37",VB:"38",WB:"39",XB:"40",YB:"41",ZB:"42",aB:"43",bB:"44",cB:"45",dB:"46",eB:"47",fB:"48",gB:"49",hB:"50",iB:"51",jB:"52",kB:"53",lB:"54",mB:"55",nB:"56",oB:"57",pB:"58",qB:"60",rB:"62",sB:"63",tB:"64",uB:"65",vB:"66",wB:"67",xB:"68",yB:"69",zB:"70","0B":"71","1B":"72","2B":"73","3B":"74","4B":"75","5B":"76","6B":"77","7B":"78","8B":"11.1","9B":"12.1",AC:"15.5",BC:"16.0",CC:"17.0",DC:"18.0",EC:"3",FC:"59",GC:"61",HC:"82",IC:"129",JC:"130",KC:"131",LC:"3.2",MC:"10.1",NC:"15.2-15.3",OC:"15.4",PC:"16.1",QC:"16.2",RC:"16.3",SC:"16.4",TC:"16.5",UC:"17.1",VC:"17.2",WC:"17.3",XC:"17.4",YC:"17.5",ZC:"17.6",aC:"11.5",bC:"4.2-4.3",cC:"5.5",dC:"2",eC:"132",fC:"133",gC:"3.5",hC:"3.6",iC:"3.1",jC:"5.1",kC:"6.1",lC:"7.1",mC:"9.1",nC:"13.1",oC:"14.1",pC:"15.1",qC:"15.6",rC:"16.6",sC:"TP",tC:"9.5-9.6",uC:"10.0-10.1",vC:"10.5",wC:"10.6",xC:"11.6",yC:"4.0-4.1",zC:"5.0-5.1","0C":"6.0-6.1","1C":"7.0-7.1","2C":"8.1-8.4","3C":"9.0-9.2","4C":"9.3","5C":"10.0-10.2","6C":"10.3","7C":"11.0-11.2","8C":"11.3-11.4","9C":"12.0-12.1",AD:"12.2-12.5",BD:"13.0-13.1",CD:"13.2",DD:"13.3",ED:"13.4-13.7",FD:"14.0-14.4",GD:"14.5-14.8",HD:"15.0-15.1",ID:"15.6-15.8",JD:"16.6-16.7",KD:"all",LD:"2.1",MD:"2.2",ND:"2.3",OD:"4.1",PD:"4.4",QD:"4.4.3-4.4.4",RD:"5.0-5.4",SD:"6.2-6.4",TD:"7.2-7.4",UD:"8.2",VD:"9.2",WD:"11.1-11.2",XD:"12.0",YD:"13.0",ZD:"14.0",aD:"15.0",bD:"19.0",cD:"14.9",dD:"13.52",eD:"2.5",fD:"3.0-3.1"}});var nb=E((Ewe,fD)=>{fD.exports.browserVersions=cD()});var dD=E((vwe,pD)=>{pD.exports={A:{A:{K:0,D:0,E:.0563043,F:.0422282,A:.0140761,B:.478586,cC:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cC","K","D","E","F","A","B","","",""],E:"IE",F:{cC:962323200,K:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968e3}},B:{A:{2:.007166,3:.010749,4:.014332,5:.007166,6:.007166,7:.010749,8:.007166,9:.010749,C:0,L:0,M:.003583,G:0,N:0,O:.007166,P:.057328,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:.014332,c:0,d:0,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:.003583,r:.007166,s:.064494,t:.007166,u:.007166,AB:.039413,BB:.017915,CB:.025081,DB:.014332,EB:.025081,FB:.053745,GB:.254393,v:3.38594,I:.917248},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","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","v","I","","",""],E:"Edge",F:{2:1680825600,3:1683158400,4:1685664e3,5:1689897600,6:1692576e3,7:1694649600,8:1697155200,9:1698969600,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,AB:1701993600,BB:1706227200,CB:1708732800,DB:1711152e3,EB:1713398400,FB:1715990400,GB:1718841600,v:1721865600,I:1724371200},D:{C:"ms",L:"ms",M:"ms",G:"ms",N:"ms",O:"ms",P:"ms"}},C:{A:{0:0,1:0,2:0,3:.007166,4:0,5:.351134,6:0,7:.007166,8:.089575,9:0,dC:0,EC:0,J:.003583,HB:0,K:0,D:0,E:0,F:0,A:0,B:.014332,C:0,L:0,M:0,G:0,N:0,O:0,P:0,IB:0,w:0,x:0,y:0,z:0,JB:0,KB:0,LB:0,MB:0,NB:0,OB:0,PB:0,QB:0,RB:0,SB:0,TB:0,UB:0,VB:0,WB:0,XB:0,YB:0,ZB:0,aB:.003583,bB:.007166,cB:.003583,dB:0,eB:0,fB:0,gB:0,hB:.003583,iB:0,jB:.042996,kB:0,lB:.007166,mB:.003583,nB:.017915,oB:0,pB:0,FC:.003583,qB:0,GC: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":.014332,Q:0,H:0,R:0,HC:0,S:0,T:0,U:0,V:0,W:0,X:.007166,Y:0,Z:0,a:0,b:0,c:0,d:.003583,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:.007166,m:.010749,n:0,o:.003583,p:0,q:0,r:0,s:.007166,t:0,u:0,AB:.007166,BB:.007166,CB:.003583,DB:.007166,EB:.007166,FB:.014332,GB:.032247,v:.042996,I:.447875,IC:1.08923,JC:.007166,KC:0,eC:0,fC:0,gC:0,hC:0},B:"moz",C:["dC","EC","gC","hC","J","HB","K","D","E","F","A","B","C","L","M","G","N","O","P","IB","w","x","y","z","0","1","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","pB","FC","qB","GC","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","6B","7B","Q","H","R","HC","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","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","v","I","IC","JC","KC","eC","fC"],E:"Firefox",F:{0:1375747200,1:1379376e3,2:1681171200,3:1683590400,4:1686009600,5:1688428800,6:1690848e3,7:1693267200,8:1695686400,9:1698105600,dC:1161648e3,EC:1213660800,gC:124632e4,hC:1264032e3,J:1300752e3,HB: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,IB:1357603200,w:1361232e3,x:1364860800,y:1368489600,z:1372118400,JB:1386633600,KB:1391472e3,LB:1395100800,MB:1398729600,NB:1402358400,OB:1405987200,PB:1409616e3,QB:1413244800,RB:1417392e3,SB:1421107200,TB:1424736e3,UB:1428278400,VB:1431475200,WB:1435881600,XB:1439251200,YB:144288e4,ZB:1446508800,aB:1450137600,bB:1453852800,cB:1457395200,dB:1461628800,eB:1465257600,fB:1470096e3,gB:1474329600,hB:1479168e3,iB:1485216e3,jB:1488844800,kB:149256e4,lB:1497312e3,mB:1502150400,nB:1506556800,oB:1510617600,pB:1516665600,FC:1520985600,qB:1525824e3,GC:1529971200,rB:1536105600,sB:1540252800,tB:1544486400,uB:154872e4,vB:1552953600,wB:1558396800,xB:1562630400,yB:1567468800,zB:1571788800,"0B":1575331200,"1B":1578355200,"2B":1581379200,"3B":1583798400,"4B":1586304e3,"5B":1588636800,"6B":1591056e3,"7B":1593475200,Q:1595894400,H:1598313600,R:1600732800,HC: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,AB:1700524800,BB:1702944e3,CB:1705968e3,DB:1708387200,EB:1710806400,FB:1713225600,GB:1715644800,v:1718064e3,I:1720483200,IC:1722902400,JC:1725321600,KC:null,eC:null,fC:null}},D:{A:{0:0,1:0,2:.050162,3:.10749,4:.103907,5:.03583,6:.168401,7:.10749,8:.07166,9:.068077,J:0,HB: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,IB:0,w:0,x:0,y:0,z:0,JB:0,KB:0,LB:0,MB:0,NB:0,OB:0,PB:0,QB:0,RB:0,SB:0,TB:0,UB:0,VB:.010749,WB:0,XB:0,YB:0,ZB:0,aB:0,bB:0,cB:.003583,dB:0,eB:.007166,fB:.025081,gB:.021498,hB:.007166,iB:.003583,jB:.003583,kB:.007166,lB:0,mB:0,nB:.032247,oB:.003583,pB:.007166,FC:0,qB:0,GC:.003583,rB:0,sB:0,tB:0,uB:0,vB:.025081,wB:.007166,xB:0,yB:.028664,zB:.028664,"0B":0,"1B":0,"2B":.007166,"3B":.010749,"4B":.010749,"5B":.007166,"6B":.021498,"7B":.017915,Q:.103907,H:.014332,R:.021498,S:.032247,T:.010749,U:.014332,V:.025081,W:.075243,X:.017915,Y:.010749,Z:.014332,a:.053745,b:.014332,c:.014332,d:.050162,e:.010749,f:.010749,g:.017915,h:.046579,i:.025081,j:.021498,k:.021498,l:.017915,m:.111073,n:.085992,o:.017915,p:.028664,q:.03583,r:.046579,s:1.42603,t:.025081,u:.039413,AB:.10749,BB:.10749,CB:.118239,DB:.14332,EB:.229312,FB:.369049,GB:1.49053,v:12.777,I:2.30745,IC:.014332,JC:.003583,KC:0},B:"webkit",C:["","","","","","","","J","HB","K","D","E","F","A","B","C","L","M","G","N","O","P","IB","w","x","y","z","0","1","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","pB","FC","qB","GC","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","6B","7B","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","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","v","I","IC","JC","KC"],E:"Chrome",F:{0:1352246400,1:1357862400,2:1680566400,3:1682985600,4:1685404800,5:1689724800,6:1692057600,7:1694476800,8:1696896e3,9:1698710400,J:1264377600,HB: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,IB:1332892800,w:133704e4,x:1340668800,y:1343692800,z:1348531200,JB:1361404800,KB:1364428800,LB:1369094400,MB:1374105600,NB:1376956800,OB:1384214400,PB:1389657600,QB:1392940800,RB:1397001600,SB:1400544e3,TB:1405468800,UB:1409011200,VB:141264e4,WB:1416268800,XB:1421798400,YB:1425513600,ZB:1429401600,aB:143208e4,bB:1437523200,cB:1441152e3,dB:1444780800,eB:1449014400,fB:1453248e3,gB:1456963200,hB:1460592e3,iB:1464134400,jB:1469059200,kB:1472601600,lB:1476230400,mB:1480550400,nB:1485302400,oB:1489017600,pB:149256e4,FC:1496707200,qB:1500940800,GC:1504569600,rB:1508198400,sB:1512518400,tB:1516752e3,uB:1520294400,vB:1523923200,wB:1527552e3,xB:1532390400,yB:1536019200,zB:1539648e3,"0B":1543968e3,"1B":154872e4,"2B":1552348800,"3B":1555977600,"4B":1559606400,"5B":1564444800,"6B":1568073600,"7B":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,AB:1701993600,BB:1705968e3,CB:1708387200,DB:1710806400,EB:1713225600,FB:1715644800,GB:1718064e3,v:1721174400,I:1724112e3,IC:null,JC:null,KC:null}},E:{A:{J:0,HB:0,K:0,D:0,E:0,F:.003583,A:0,B:0,C:0,L:.007166,M:.028664,G:.007166,iC:0,LC:0,jC:0,kC:0,lC:0,mC:0,MC:0,"8B":.007166,"9B":.010749,nC:.057328,oC:.078826,pC:.025081,NC:.010749,OC:.021498,AC:.028664,qC:.218563,BC:.028664,PC:.03583,QC:.032247,RC:.182733,SC:.021498,TC:.042996,rC:.290223,CC:.017915,UC:.039413,VC:.039413,WC:.042996,XC:.118239,YC:1.44753,ZC:.415628,DC:.017915,sC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","iC","LC","J","HB","jC","K","kC","D","lC","E","F","mC","A","MC","B","8B","C","9B","L","nC","M","oC","G","pC","NC","OC","AC","qC","BC","PC","QC","RC","SC","TC","rC","CC","UC","VC","WC","XC","YC","ZC","DC","sC",""],E:"Safari",F:{iC:1205798400,LC:1226534400,J:1244419200,HB:1275868800,jC:131112e4,K:1343174400,kC:13824e5,D:13824e5,lC:1410998400,E:1413417600,F:1443657600,mC:1458518400,A:1474329600,MC:1490572800,B:1505779200,"8B":1522281600,C:1537142400,"9B":1553472e3,L:1568851200,nC:1585008e3,M:1600214400,oC:1619395200,G:1632096e3,pC:1635292800,NC:1639353600,OC:1647216e3,AC:1652745600,qC:1658275200,BC:1662940800,PC:1666569600,QC:1670889600,RC:1674432e3,SC:1679875200,TC:1684368e3,rC:1690156800,CC:1695686400,UC:1698192e3,VC:1702252800,WC:1705881600,XC:1709596800,YC:1715558400,ZC:1722211200,DC:null,sC:null}},F:{A:{0:0,1:0,F:0,B:0,C:0,G:0,N:0,O:0,P:0,IB:0,w:0,x:0,y:0,z:0,JB:0,KB:0,LB:0,MB:0,NB:0,OB:0,PB:0,QB:0,RB:0,SB:0,TB:0,UB:0,VB:0,WB:0,XB:.003583,YB:0,ZB:0,aB:0,bB:0,cB:0,dB:.017915,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: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,Q:0,H:0,R:0,HC:0,S:.028664,T:.003583,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0,c:0,d:0,e:.039413,f:0,g:0,h:0,i:0,j:0,k:0,l:.032247,m:0,n:0,o:0,p:0,q:0,r:0,s:.154069,t:0,u:.060911,tC:0,uC:0,vC:0,wC:0,"8B":0,aC:0,xC:0,"9B":0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","F","tC","uC","vC","wC","B","8B","aC","xC","C","9B","G","N","O","P","IB","w","x","y","z","0","1","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","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","Q","H","R","HC","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","","",""],E:"Opera",F:{0:1409616e3,1:1413331200,F:1150761600,tC:1223424e3,uC:1251763200,vC:1267488e3,wC:1277942400,B:1292457600,"8B":1302566400,aC:1309219200,xC:1323129600,C:1323129600,"9B":1352073600,G:1372723200,N:1377561600,O:1381104e3,P:1386288e3,IB:1390867200,w:1393891200,x:1399334400,y:1401753600,z:1405987200,JB:1417132800,KB:1422316800,LB:1425945600,MB:1430179200,NB:1433808e3,OB:1438646400,PB:1442448e3,QB:1445904e3,RB:1449100800,SB:1454371200,TB:1457308800,UB:146232e4,VB:1465344e3,WB:1470096e3,XB:1474329600,YB:1477267200,ZB:1481587200,aB:1486425600,bB:1490054400,cB:1494374400,dB:1498003200,eB:1502236800,fB:1506470400,gB:1510099200,hB:1515024e3,iB:1517961600,jB:1521676800,kB:1525910400,lB:1530144e3,mB:1534982400,nB:1537833600,oB:1543363200,pB:1548201600,qB:1554768e3,rB:1561593600,sB:1566259200,tB:1570406400,uB:1573689600,vB:1578441600,wB:1583971200,xB:1587513600,yB:1592956800,zB:1595894400,"0B":1600128e3,"1B":1603238400,"2B":161352e4,"3B":1612224e3,"4B":1616544e3,"5B":1619568e3,"6B":1623715200,"7B":1627948800,Q:1631577600,H:1633392e3,R:1635984e3,HC: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},D:{F:"o",B:"o",C:"o",tC:"o",uC:"o",vC:"o",wC:"o","8B":"o",aC:"o",xC:"o","9B":"o"}},G:{A:{E:0,LC:0,yC:0,bC:.00447708,zC:.00149236,"0C":.00746181,"1C":.00895417,"2C":0,"3C":.00746181,"4C":.0298472,"5C":.00895417,"6C":.0462632,"7C":.117897,"8C":.0149236,"9C":.0119389,AD:.199976,BD:.00298472,CD:.0656639,DD:.00895417,ED:.037309,FD:.152221,GD:.105958,HD:.0567097,NC:.0567097,OC:.0671563,AC:.0790952,ID:.741704,BC:.150729,PC:.317873,QC:.15819,RC:.264148,SC:.0656639,TC:.10745,JD:.920787,CC:.0850646,UC:.131328,VC:.120881,WC:.179083,XC:.419354,YC:8.55869,ZC:1.44162,DC:.156698},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","LC","yC","bC","zC","0C","1C","E","2C","3C","4C","5C","6C","7C","8C","9C","AD","BD","CD","DD","ED","FD","GD","HD","NC","OC","AC","ID","BC","PC","QC","RC","SC","TC","JD","CC","UC","VC","WC","XC","YC","ZC","DC","",""],E:"Safari on iOS",F:{LC:1270252800,yC:1283904e3,bC:1299628800,zC:1331078400,"0C":1359331200,"1C":1394409600,E:1410912e3,"2C":1413763200,"3C":1442361600,"4C":1458518400,"5C":1473724800,"6C":1490572800,"7C":1505779200,"8C":1522281600,"9C":1537142400,AD:1553472e3,BD:1568851200,CD:1572220800,DD:1580169600,ED:1585008e3,FD:1600214400,GD:1619395200,HD:1632096e3,NC:1639353600,OC:1647216e3,AC:1652659200,ID:1658275200,BC:1662940800,PC:1666569600,QC:1670889600,RC:1674432e3,SC:1679875200,TC:1684368e3,JD:1690156800,CC:1694995200,UC:1698192e3,VC:1702252800,WC:1705881600,XC:1709596800,YC:1715558400,ZC:1722211200,DC:null}},H:{A:{KD:.05},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","KD","","",""],E:"Opera Mini",F:{KD:1426464e3}},I:{A:{EC:0,J:327216e-10,I:.326169,LD:0,MD:0,ND:0,OD:130886e-9,bC:130886e-9,PD:0,QD:523546e-9},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","LD","MD","ND","EC","J","OD","bC","PD","QD","I","","",""],E:"Android Browser",F:{LD:1256515200,MD:1274313600,ND:1291593600,EC:1298332800,J:1318896e3,OD:1341792e3,bC:1374624e3,PD:1386547200,QD:1401667200,I:1725408e3}},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:1.24603,"8B":0,aC:0,"9B":0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","8B","aC","C","9B","H","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,"8B":1314835200,aC:1318291200,C:1330300800,"9B":1349740800,H:1709769600},D:{H:"webkit"}},L:{A:{I:44.331},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","","",""],E:"Chrome for Android",F:{I:1725408e3}},M:{A:{v:.365712},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","v","","",""],E:"Firefox for Android",F:{v:1718064e3}},N:{A:{A:0,B:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{AC:1.13563},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","AC","","",""],E:"UC Browser for Android",F:{AC:1710115200},D:{AC:"webkit"}},P:{A:{0:.0755255,1:1.27314,J:.0971042,w:.0215787,x:.0431574,y:.0647361,z:.0647361,RD:.0107894,SD:.0107894,TD:.0323681,UD:0,VD:0,MC:0,WD:.0107894,XD:0,YD:.0107894,ZD:0,aD:0,BC:0,CC:.0215787,DC:0,bD:.0215787},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","J","RD","SD","TD","UD","VD","MC","WD","XD","YD","ZD","aD","BC","CC","DC","bD","w","x","y","z","0","1","","",""],E:"Samsung Internet",F:{0:1711497600,1:1715126400,J:1461024e3,RD:1481846400,SD:1509408e3,TD:1528329600,UD:1546128e3,VD:1554163200,MC:1567900800,WD:1582588800,XD:1593475200,YD:1605657600,ZD:1618531200,aD:1629072e3,BC:1640736e3,CC:1651708800,DC:1659657600,bD:1667260800,w:1677369600,x:1684454400,y:1689292800,z:1697587200}},Q:{A:{cD:.3208},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cD","","",""],E:"QQ Browser",F:{cD:1710288e3}},R:{A:{dD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","dD","","",""],E:"Baidu Browser",F:{dD:1710201600}},S:{A:{eD:.051328,fD:0},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","eD","fD","","",""],E:"KaiOS Browser",F:{eD:1527811200,fD:1631664e3}}}});var gD=E((Twe,yD)=>{"use strict";var Xde=jf().browsers,sb=nb().browserVersions,hD=dD();function mD(e){return Object.keys(e).reduce((t,r)=>(t[sb[r]]=e[r],t),{})}yD.exports.agents=Object.keys(hD).reduce((e,t)=>{let r=hD[t];return e[Xde[t]]=Object.keys(r).reduce((n,s)=>(s==="A"?n.usage_global=mD(r[s]):s==="C"?n.versions=r[s].reduce((i,a)=>(a===""?i.push(null):i.push(sb[a]),i),[]):s==="D"?n.prefix_exceptions=mD(r[s]):s==="E"?n.browser=r[s]:s==="F"?n.release_date=Object.keys(r[s]).reduce((i,a)=>(i[sb[a]]=r[s][a],i),{}):n.prefix=r[s],n),{}),e},{})});var bD=E((Swe,Yde)=>{Yde.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:""},v23:{start:"2024-10-15",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 vD=E((xwe,ED)=>{ED.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","32.0":"128","32.1":"128","33.0":"130"}});var ab=E((Pwe,TD)=>{function ib(e){this.name="BrowserslistError",this.message=e,this.browserslist=!0,Error.captureStackTrace&&Error.captureStackTrace(this,ib)}ib.prototype=Error.prototype;TD.exports=ib});var CD=E((Awe,AD)=>{var SD=/^\s+and\s+(.*)/i,xD=/^(?:,\s*|\s+or\s+)(.*)/i;function PD(e){return Array.isArray(e)?e.reduce(function(t,r){return t.concat(PD(r))},[]):[e]}function Jde(e,t){for(var r=1,n=e.length;r<=n;r++){var s=e.substr(-r,r);if(t(s,r,n))return e.slice(0,-r)}return""}function ob(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 zde(e,t,r){var n;return Jde(t,function(s,i,a){return SD.test(s)?(n=ob(e,s.match(SD)[1]),n.compose="and",r.unshift(n),!0):xD.test(s)?(n=ob(e,s.match(xD)[1]),n.compose="or",r.unshift(n),!0):i===a?(n=ob(e,s.trim()),n.compose="or",r.unshift(n),!0):!1})}AD.exports=function(t,r){return Array.isArray(r)||(r=[r]),PD(r.map(function(n){var s=[];do n=zde(t,n,s);while(n);return s}))}});var DD=E((Cwe,wD)=>{wD.exports={1:"ls",2:"rec",3:"pr",4:"cr",5:"wd",6:"other",7:"unoff"}});var OD=E((wwe,ID)=>{ID.exports={y:1,n:2,a:4,p:8,u:16,x:32,d:64}});var BD=E((Dwe,lb)=>{"use strict";var Qde=DD(),_D=OD(),Zde=jf().browsers,ehe=nb().browserVersions,the=Math.log(2);function rhe(e){let t=Object.keys(_D).reduce((s,i)=>(e&_D[i]&&s.push(i),s),[]),r=e>>7,n=[];for(;r;){let s=Math.floor(Math.log(r)/the)+1;n.unshift(`#${s}`),r-=Math.pow(2,s-1)}return t.concat(n).join(" ")}function ND(e){let t={status:Qde[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[Zde[n]]=Object.keys(s).reduce((i,a)=>{let o=s[a].split(" "),l=rhe(a);return o.forEach(u=>i[ehe[u]]=l),i},{}),r},{}),t}lb.exports=ND;lb.exports.default=ND});var kD=E((Iwe,ub)=>{"use strict";var nhe=jf().browsers;function FD(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return t[nhe[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},{})}ub.exports=FD;ub.exports.default=FD});var VD=E((Owe,Ki)=>{var she=BD().default,ihe=kD().default,zr=me("path"),Ga=me("fs"),Tr=ab(),LD=/^\s*\[(.+)]\s*$/,ahe=/^browserslist-config-/,ohe=/@[^/]+(?:\/[^/]+)?\/browserslist-config(?:-|$|\/)/,lhe=6*30*24*60*60*1e3,RD="Browserslist config should be a string or an array of strings with browser queries",cb=!1,Uf={},Mf={};function jD(e){var t=" Use `dangerousExtend` option to disable.";if(!ahe.test(e)&&!ohe.test(e))throw new Tr("Browserslist config needs `browserslist-config-` prefix. "+t);if(e.replace(/^@[^/]+\//,"").indexOf(".")!==-1)throw new Tr("`.` not allowed in Browserslist config name. "+t);if(e.indexOf("node_modules")!==-1)throw new Tr("`node_modules` not allowed in Browserslist config."+t)}function Yn(e){if(e in Uf)return Uf[e];var t=Ga.existsSync(e)&&Ga.statSync(e).isFile();return process.env.BROWSERSLIST_DISABLE_CACHE||(Uf[e]=t),t}function MD(e,t){var r=Yn(e)?zr.dirname(e):e,n=zr.resolve(r);do{if(!uhe(n))break;var s=t(n);if(typeof s<"u")return s}while(n!==(n=zr.dirname(n)))}function uhe(e){if(!process.env.BROWSERSLIST_ROOT_PATH)return!0;var t=zr.resolve(process.env.BROWSERSLIST_ROOT_PATH);return zr.relative(t,e).substring(0,2)!==".."}function che(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)if(typeof e[t]!="string")throw new Tr(RD)}else if(typeof e!="string")throw new Tr(RD)}function qf(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 Tr("Missing config for Browserslist environment `"+r+"`");return e[r]||e.defaults}function qD(e){var t=JSON.parse(Ga.readFileSync(e).toString().replace(/^\uFEFF/m,""));if(t.browserlist&&!t.browserslist)throw new Tr("`browserlist` key instead of `browserslist` in "+e);var r=t.browserslist;(Array.isArray(r)||typeof r=="string")&&(r={defaults:r});for(var n in r)che(r[n]);return r}function fhe(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 UD(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 phe(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]}}}Ki.exports={loadQueries:function(t,r){!t.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND&&jD(r);var n=me(me.resolve(r,{paths:[".",t.path]}));if(n){if(Array.isArray(n))return n;if(typeof n=="object")return n.defaults||(n.defaults=[]),qf(n,t,r)}throw new Tr("`"+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&&jD(r);var s=me(me.resolve(zr.join(r,"browserslist-stats.json"),{paths:["."]}));return UD(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&&zr.resolve&&Ga.existsSync&&(n=MD(t.path,function(s){var i=zr.join(s,"browserslist-stats.json");return Yn(i)?i:void 0})),typeof n=="string")try{n=JSON.parse(Ga.readFileSync(n))}catch{throw new Tr("Can't read "+n)}return UD(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 zr.basename(r)==="package.json"?qf(qD(r),t):qf(Ki.exports.readConfig(r),t)}else return t.path?qf(Ki.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=me("caniuse-lite/data/regions/"+s+".js")}catch{throw new Tr("Unknown region name `"+s+"`.")}var a=ihe(i);phe(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=me("caniuse-lite/data/features/"+r+".js")}catch{throw new Tr("Unknown feature name `"+r+"`.")}var s=she(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){LD.test(s)?(n=s.match(LD)[1].trim().split(" "),n.forEach(function(i){if(r[i])throw new Tr("Duplicate section "+i+" in Browserslist config");r[i]=[]})):n.forEach(function(i){r[i].push(s)})}),r},readConfig:function(t){if(!Yn(t))throw new Tr("Can't read "+t+" config");return Ki.exports.parseConfig(Ga.readFileSync(t))},findConfig:function(t){t=zr.resolve(t);var r=[],n=MD(t,function(s){if(s in Mf)return Mf[s];r.push(s);var i=zr.join(s,"browserslist"),a=zr.join(s,"package.json"),o=zr.join(s,".browserslistrc"),l;if(Yn(a))try{l=qD(a)}catch(u){if(u.name==="BrowserslistError")throw u;console.warn("[Browserslist] Could not parse "+a+". Ignoring it.")}if(Yn(i)&&l)throw new Tr(s+" contains both browserslist and package.json with browsers");if(Yn(o)&&l)throw new Tr(s+" contains both .browserslistrc and package.json with browsers");if(Yn(i)&&Yn(o))throw new Tr(s+" contains both .browserslistrc and browserslist");return Yn(i)?Ki.exports.readConfig(i):Yn(o)?Ki.exports.readConfig(o):l});return process.env.BROWSERSLIST_DISABLE_CACHE||r.forEach(function(s){Mf[s]=n}),n},clearCaches:function(){cb=!1,Uf={},Mf={},this.cache={}},oldDataWarning:function(t){if(!cb&&(cb=!0,!process.env.BROWSERSLIST_IGNORE_OLD_DATA)){var r=fhe(t),n=Date.now()-lhe;r!==0&&r<n&&console.warn(`Browserslist: caniuse-lite is outdated. Please run:
155
- npx update-browserslist-db@latest
156
- Why you should do it regularly: https://github.com/browserslist/update-db#readme`)}},currentNode:function(){return"node "+process.versions.node},env:process.env}});var aI=E((Nwe,iI)=>{var dhe=iD(),Ss=gD().agents,fb=bD(),Hf=me("path"),On=vD(),Gr=ab(),zD=CD(),Sr=VD(),hhe=365.259641*24*60*60*1e3,QD="37",mhe=14;function ZD(e,t){return(e+".").indexOf(t+".")===0}function yhe(e){var t=e.slice(1);return Ae.nodeVersions.some(function(r){return ZD(r,t)})}function $D(e){return e.filter(function(t){return typeof t=="string"})}function Vf(e){var t=e;return e.split(".").length===3&&(t=e.split(".").slice(0,-1).join(".")),t}function ri(e){return function(r){return e+" "+r}}function mb(e){return parseInt(e.split(".")[0])}function $f(e,t){if(e.length===0)return[];var r=eI(e.map(mb)),n=r[r.length-t];if(!n)return e;for(var s=[],i=e.length-1;i>=0&&!(n>mb(e[i]));i--)s.unshift(e[i]);return s}function eI(e){for(var t=[],r=0;r<e.length;r++)t.indexOf(e[r])===-1&&t.push(e[r]);return t}function Xf(e,t,r){for(var n in r)e[t+" "+n]=r[n]}function WD(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 ghe(e,t){return t=t.split(".").map(ni),t[1]=t[1]||0,t[2]=t[2]||0,e===">"?function(r){return r=r.split(".").map(ni),_l(r,t)>0}:e===">="?function(r){return r=r.split(".").map(ni),_l(r,t)>=0}:e==="<"?function(r){return r=r.split(".").map(ni),_l(t,r)>0}:function(r){return r=r.split(".").map(ni),_l(t,r)>=0}}function ni(e){return parseInt(e)}function Gf(e,t){return e<t?-1:e>t?1:0}function _l(e,t){return Gf(parseInt(e[0]),parseInt(t[0]))||Gf(parseInt(e[1]||"0"),parseInt(t[1]||"0"))||Gf(parseInt(e[2]||"0"),parseInt(t[2]||"0"))}function KD(e,t){switch(t=t.split(".").map(ni),typeof t[1]>"u"&&(t[1]="x"),e){case"<=":return function(r){return r=r.split(".").map(ni),GD(r,t)<=0};case">=":default:return function(r){return r=r.split(".").map(ni),GD(r,t)>=0}}}function GD(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 bhe(e,t){return e.versions.indexOf(t)!==-1?t:Ae.versionAliases[e.name][t]?Ae.versionAliases[e.name][t]:!1}function Wf(e,t){var r=bhe(e,t);return r||(e.versions.length===1?e.versions[0]:!1)}function tI(e,t){return e=e/1e3,Object.keys(Ss).reduce(function(r,n){var s=si(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(ri(s.name)))},[])}function HD(e){return{name:e.name,versions:e.versions,released:e.released,releaseDate:e.releaseDate}}function si(e,t){if(e=e.toLowerCase(),e=Ae.aliases[e]||e,t.mobileToDesktop&&Ae.desktopNames[e]){var r=Ae.data[Ae.desktopNames[e]];if(e==="android")return vhe(HD(Ae.data[e]),r);var n=HD(r);return n.name=e,n}return Ae.data[e]}function XD(e,t){var r=t.indexOf(QD);return e.filter(function(n){return/^(?:[2-4]\.|[34]$)/.test(n)}).concat(t.slice(r))}function Ehe(e){var t={};for(var r in e)t[r]=e[r];return t}function vhe(e,t){return e.released=XD(e.released,t.released),e.versions=XD(e.versions,t.versions),e.releaseDate=Ehe(e.releaseDate),e.released.forEach(function(r){e.releaseDate[r]===void 0&&(e.releaseDate[r]=t.releaseDate[r])}),e}function Ha(e,t){var r=si(e,t);if(!r)throw new Gr("Unknown browser "+e);return r}function The(e){return new Gr("Unknown browser query `"+e+"`. Maybe you are using old Browserslist or made typo in query.")}function Kf(e,t,r,n){var s=1;switch(t){case"android":if(n.mobileToDesktop)return e;var i=Ae.data.chrome.released;s=i.length-i.indexOf(QD);break;case"op_mob":var a=Ae.data.op_mob.released.slice(-1)[0];s=mb(a)-mhe+1;break;default:return e}return r<=s?e.slice(-1):e.slice(s-1-r)}function YD(e,t){return typeof e=="string"&&(e.indexOf("y")>=0||t&&e.indexOf("a")>=0)}function Xa(e,t){return zD(yb,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=yb[n.type],a=i.select.call(Ae,t,n).map(function(l){var u=l.split(" ");return u[1]==="0"?u[0]+" "+si(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 rI(e){return typeof e>"u"&&(e={}),typeof e.path>"u"&&(e.path=Hf.resolve?Hf.resolve("."):"."),e}function nI(e,t){if(typeof e>"u"||e===null){var r=Ae.loadConfig(t);r?e=r:e=Ae.defaults}return e}function sI(e){if(!(typeof e=="string"||Array.isArray(e)))throw new Gr("Browser queries must be an array or string. Got "+typeof e+".")}var pb={};function Ae(e,t){t=rI(t),e=nI(e,t),sI(e);var r={ignoreUnknownVersions:t.ignoreUnknownVersions,dangerousExtend:t.dangerousExtend,mobileToDesktop:t.mobileToDesktop,path:t.path,env:t.env};Sr.oldDataWarning(Ae.data);var n=Sr.getStat(t,Ae.data);if(n){r.customUsage={};for(var s in n)Xf(r.customUsage,s,n[s])}var i=JSON.stringify([e,r]);if(pb[i])return pb[i];var a=eI(Xa(e,r)).sort(function(o,l){if(o=o.split(" "),l=l.split(" "),o[0]===l[0]){var u=o[1].split("-")[0],c=l[1].split("-")[0];return _l(c.split("."),u.split("."))}else return Gf(o[0],l[0])});return Sr.env.BROWSERSLIST_DISABLE_CACHE||(pb[i]=a),a}Ae.parse=function(e,t){return t=rI(t),e=nI(e,t),sI(e),zD(yb,e)};Ae.cache={};Ae.data={};Ae.usage={global:{},custom:null};Ae.defaults=["> 0.5%","last 2 versions","Firefox ESR","not dead"];Ae.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"};Ae.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",android:"chrome"};Ae.versionAliases={};Ae.clearCaches=Sr.clearCaches;Ae.parseConfig=Sr.parseConfig;Ae.readConfig=Sr.readConfig;Ae.findConfig=Sr.findConfig;Ae.loadConfig=Sr.loadConfig;Ae.coverage=function(e,t){var r;if(typeof t>"u")r=Ae.usage.global;else if(t==="my stats"){var n={};n.path=Hf.resolve?Hf.resolve("."):".";var s=Sr.getStat(n);if(!s)throw new Gr("Custom usage statistics was not provided");r={};for(var i in s)Xf(r,i,s[i])}else if(typeof t=="string")t.length>2?t=t.toLowerCase():t=t.toUpperCase(),Sr.loadCountry(Ae.usage,t,Ae.data),r=Ae.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 db(e,t){var r=Ae.nodeVersions.filter(function(n){return ZD(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 hb(e,t){var r=parseInt(t.year),n=parseInt(t.month||"01")-1,s=parseInt(t.day||"01");return tI(Date.UTC(r,n,s,0,0,0),e)}function JD(e,t){var r=parseFloat(t.coverage),n=Ae.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(),Sr.loadCountry(Ae.usage,s,Ae.data),n=Ae.usage[s]}for(var i=Object.keys(n).sort(function(c,f){return n[f]-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 yb={last_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(e,t){return Object.keys(Ss).reduce(function(r,n){var s=si(n,e);if(!s)return r;var i=$f(s.released,t.versions);return i=i.map(ri(s.name)),i=Kf(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(Ss).reduce(function(r,n){var s=si(n,e);if(!s)return r;var i=s.released.slice(-t.versions);return i=i.map(ri(s.name)),i=Kf(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=$f(Object.keys(On),t.versions);return r.map(function(n){return"chrome "+On[n]})}},last_node_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+major\s+versions?$/i,select:function(e,t){return $f(Ae.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=Ha(t.browser,e),n=$f(r.released,t.versions),s=n.map(ri(r.name));return s=Kf(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(On).slice(-t.versions).map(function(r){return"chrome "+On[r]})}},last_node_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+versions?$/i,select:function(e,t){return Ae.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=Ha(t.browser,e),n=r.released.slice(-t.versions).map(ri(r.name));return n=Kf(n,r.name,t.versions,e),n}},unreleased_versions:{matches:[],regexp:/^unreleased\s+versions$/i,select:function(e){return Object.keys(Ss).reduce(function(t,r){var n=si(r,e);if(!n)return t;var s=n.versions.filter(function(i){return n.released.indexOf(i)===-1});return s=s.map(ri(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=Ha(t.browser,e);return r.versions.filter(function(n){return r.released.indexOf(n)===-1}).map(ri(r.name))}},last_years:{matches:["years"],regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(e,t){return tI(Date.now()-hhe*t.years,e)}},since_y:{matches:["year"],regexp:/^since (\d+)$/i,select:hb},since_y_m:{matches:["year","month"],regexp:/^since (\d+)-(\d+)$/i,select:hb},since_y_m_d:{matches:["year","month","day"],regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:hb},popularity:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(e,t){var r=parseFloat(t.popularity),n=Ae.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=Sr.loadStat(e,t.config,Ae.data);if(n){e.customUsage={};for(var s in n)Xf(e.customUsage,s,n[s])}if(!e.customUsage)throw new Gr("Custom usage statistics was not provided");var i=e.customUsage;return Object.keys(i).reduce(function(a,o){var l=i[o];return l==null||(t.sign===">"?l>r&&a.push(o):t.sign==="<"?l<r&&a.push(o):t.sign==="<="?l<=r&&a.push(o):l>=r&&a.push(o)),a},[])}},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(),Sr.loadCountry(Ae.usage,n,Ae.data);var s=Ae.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:JD},cover_in:{matches:["coverage","place"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/i,select:JD},supports:{matches:["supportType","feature"],regexp:/^(?:(fully|partially)\s+)?supports\s+([\w-]+)$/,select:function(e,t){Sr.loadFeature(Ae.cache,t.feature);var r=t.supportType!=="fully",n=Ae.cache[t.feature],s=[];for(var i in n){for(var a=si(i,e),o=a.released.length-1;o>=0&&!(a.released[o]in n[i]);)o--;var l=e.mobileToDesktop&&i in Ae.desktopNames&&YD(n[i][a.released[o]],r);a.versions.forEach(function(u){var c=n[i][u];c===void 0&&l&&(c=n[Ae.desktopNames[i]][u]),YD(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=Vf(t.from),n=Vf(t.to),s=parseFloat(t.from),i=parseFloat(t.to);if(!On[r])throw new Gr("Unknown version "+s+" of electron");if(!On[n])throw new Gr("Unknown version "+i+" of electron");return Object.keys(On).filter(function(a){var o=parseFloat(a);return o>=s&&o<=i}).map(function(a){return"chrome "+On[a]})}},node_range:{matches:["from","to"],regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,t){return Ae.nodeVersions.filter(KD(">=",t.from)).filter(KD("<=",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=Ha(t.browser,e),n=parseFloat(Wf(r,t.from)||t.from),s=parseFloat(Wf(r,t.to)||t.to);function i(a){var o=parseFloat(a);return o>=n&&o<=s}return r.released.filter(i).map(ri(r.name))}},electron_ray:{matches:["sign","version"],regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,t){var r=Vf(t.version);return Object.keys(On).filter(WD(t.sign,r)).map(function(n){return"chrome "+On[n]})}},node_ray:{matches:["sign","version"],regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,t){return Ae.nodeVersions.filter(ghe(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=Ha(t.browser,e),s=Ae.versionAliases[n.name][r];return s&&(r=s),n.released.filter(WD(t.sign,r)).map(function(i){return n.name+" "+i})}},firefox_esr:{matches:[],regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 115","firefox 128"]}},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=Vf(t.version),n=On[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:db},node_minor_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+)$/i,select:db},node_patch_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:db},current_node:{matches:[],regexp:/^current\s+node$/i,select:function(e){return[Sr.currentNode(Xa,e)]}},maintained_node:{matches:[],regexp:/^maintained\s+node\s+versions$/i,select:function(e){var t=Date.now(),r=Object.keys(fb).filter(function(n){return t<Date.parse(fb[n].end)&&t>Date.parse(fb[n].start)&&yhe(n)}).map(function(n){return"node "+n.slice(1)});return Xa(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=Ha(t.browser,e),s=Wf(n,r);if(s)r=s;else if(r.indexOf(".")===-1?s=r+".0":s=r.replace(/\.0$/,""),s=Wf(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,select:function(e){return Ae(void 0,e)}},extends:{matches:["config"],regexp:/^extends (.+)$/i,select:function(e,t){return Xa(Sr.loadQueries(e,t.config),e)}},defaults:{matches:[],regexp:/^defaults$/i,select:function(e){return Xa(Ae.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 Xa(t,e)}},unknown:{matches:[],regexp:/^(\w+)$/i,select:function(e,t){throw si(t.query,e)?new Gr("Specify versions in Browserslist query for browser "+t.query):The(t.query)}}};(function(){for(var e in Ss){var t=Ss[e];Ae.data[e]={name:e,versions:$D(Ss[e].versions),released:$D(Ss[e].versions.slice(0,-3)),releaseDate:Ss[e].release_date},Xf(Ae.usage.global,e,t.usage_global),Ae.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++)Ae.versionAliases[e][s[i]]=n}}Ae.nodeVersions=dhe.map(function(a){return a.version})})();iI.exports=Ae});var bb=E(gb=>{"use strict";Object.defineProperty(gb,"__esModule",{value:!0});gb.findSuggestion=xhe;var{min:oI}=Math;function She(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]:oI(r[i-1],r[i],n[i-1])+1;r=n}return n[o]}function xhe(e,t){let r=t.map(n=>She(n,e));return t[r.indexOf(oI(...r))]}});var lI=E(Yf=>{"use strict";Object.defineProperty(Yf,"__esModule",{value:!0});Yf.OptionValidator=void 0;var Phe=bb(),Eb=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.
157
- - Did you mean '${(0,Phe.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}`}};Yf.OptionValidator=Eb});var zf=E(Jf=>{"use strict";Object.defineProperty(Jf,"__esModule",{value:!0});Object.defineProperty(Jf,"OptionValidator",{enumerable:!0,get:function(){return Ahe.OptionValidator}});Object.defineProperty(Jf,"findSuggestion",{enumerable:!0,get:function(){return Che.findSuggestion}});var Ahe=lI(),Che=bb()});var uI=E((Lwe,whe)=>{whe.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 fI=E((Rwe,cI)=>{cI.exports=uI()});var dI=E((jwe,pI)=>{"use strict";pI.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}});var mI=E((Mwe,hI)=>{"use strict";hI.exports=gt;gt.Node=Gi;gt.create=gt;function gt(e){var t=this;if(t instanceof gt||(t=new gt),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}gt.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};gt.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++}};gt.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++}};gt.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)Ihe(this,arguments[e]);return this.length};gt.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)Ohe(this,arguments[e]);return this.length};gt.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}};gt.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}};gt.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};gt.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};gt.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};gt.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};gt.prototype.map=function(e,t){t=t||this;for(var r=new gt,n=this.head;n!==null;)r.push(e.call(t,n.value,this)),n=n.next;return r};gt.prototype.mapReverse=function(e,t){t=t||this;for(var r=new gt,n=this.tail;n!==null;)r.push(e.call(t,n.value,this)),n=n.prev;return r};gt.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};gt.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};gt.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};gt.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};gt.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 gt;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};gt.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 gt;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};gt.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=Dhe(this,n,arguments[r]);return s};gt.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 Dhe(e,t,r){var n=t===e.head?new Gi(r,null,t,e):new Gi(r,t,t.next,e);return n.next===null&&(e.tail=n),n.prev===null&&(e.head=n),e.length++,n}function Ihe(e,t){e.tail=new Gi(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function Ohe(e,t){e.head=new Gi(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function Gi(e,t,r,n){if(!(this instanceof Gi))return new Gi(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{dI()(gt)}catch{}});var vI=E((qwe,EI)=>{"use strict";var _he=mI(),Hi=Symbol("max"),Ps=Symbol("length"),Ya=Symbol("lengthCalculator"),Bl=Symbol("allowStale"),Xi=Symbol("maxAge"),xs=Symbol("dispose"),yI=Symbol("noDisposeOnSet"),fr=Symbol("lruList"),_n=Symbol("cache"),bI=Symbol("updateAgeOnGet"),vb=()=>1,Sb=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[Hi]=t.max||1/0,n=t.length||vb;if(this[Ya]=typeof n!="function"?vb:n,this[Bl]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Xi]=t.maxAge||0,this[xs]=t.dispose,this[yI]=t.noDisposeOnSet||!1,this[bI]=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[Hi]=t||1/0,Nl(this)}get max(){return this[Hi]}set allowStale(t){this[Bl]=!!t}get allowStale(){return this[Bl]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Xi]=t,Nl(this)}get maxAge(){return this[Xi]}set lengthCalculator(t){typeof t!="function"&&(t=vb),t!==this[Ya]&&(this[Ya]=t,this[Ps]=0,this[fr].forEach(r=>{r.length=this[Ya](r.value,r.key),this[Ps]+=r.length})),Nl(this)}get lengthCalculator(){return this[Ya]}get length(){return this[Ps]}get itemCount(){return this[fr].length}rforEach(t,r){r=r||this;for(let n=this[fr].tail;n!==null;){let s=n.prev;gI(this,t,n,r),n=s}}forEach(t,r){r=r||this;for(let n=this[fr].head;n!==null;){let s=n.next;gI(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[xs]&&this[fr]&&this[fr].length&&this[fr].forEach(t=>this[xs](t.key,t.value)),this[_n]=new Map,this[fr]=new _he,this[Ps]=0}dump(){return this[fr].map(t=>Qf(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[Xi],n&&typeof n!="number")throw new TypeError("maxAge must be a number");let s=n?Date.now():0,i=this[Ya](r,t);if(this[_n].has(t)){if(i>this[Hi])return Ja(this,this[_n].get(t)),!1;let l=this[_n].get(t).value;return this[xs]&&(this[yI]||this[xs](t,l.value)),l.now=s,l.maxAge=n,l.value=r,this[Ps]+=i-l.length,l.length=i,this.get(t),Nl(this),!0}let a=new xb(t,r,i,s,n);return a.length>this[Hi]?(this[xs]&&this[xs](t,r),!1):(this[Ps]+=a.length,this[fr].unshift(a),this[_n].set(t,this[fr].head),Nl(this),!0)}has(t){if(!this[_n].has(t))return!1;let r=this[_n].get(t).value;return!Qf(this,r)}get(t){return Tb(this,t,!0)}peek(t){return Tb(this,t,!1)}pop(){let t=this[fr].tail;return t?(Ja(this,t),t.value):null}del(t){Ja(this,this[_n].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[_n].forEach((t,r)=>Tb(this,r,!1))}},Tb=(e,t,r)=>{let n=e[_n].get(t);if(n){let s=n.value;if(Qf(e,s)){if(Ja(e,n),!e[Bl])return}else r&&(e[bI]&&(n.value.now=Date.now()),e[fr].unshiftNode(n));return s.value}},Qf=(e,t)=>{if(!t||!t.maxAge&&!e[Xi])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[Xi]&&r>e[Xi]},Nl=e=>{if(e[Ps]>e[Hi])for(let t=e[fr].tail;e[Ps]>e[Hi]&&t!==null;){let r=t.prev;Ja(e,t),t=r}},Ja=(e,t)=>{if(t){let r=t.value;e[xs]&&e[xs](r.key,r.value),e[Ps]-=r.length,e[_n].delete(r.key),e[fr].removeNode(t)}},xb=class{constructor(t,r,n,s,i){this.key=t,this.value=r,this.length=n,this.now=s,this.maxAge=i||0}},gI=(e,t,r,n)=>{let s=r.value;Qf(e,s)&&(Ja(e,r),e[Bl]||(s=void 0)),s&&t.call(n,s.value,s.key,e)};EI.exports=Sb});var Rl=E((je,AI)=>{je=AI.exports=Xe;var St;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?St=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:St=function(){};je.SEMVER_SPEC_VERSION="2.0.0";var Fl=256,Zf=Number.MAX_SAFE_INTEGER||9007199254740991,Pb=16,Nhe=Fl-6,za=je.re=[],Tt=je.safeRe=[],Q=je.src=[],q=je.tokens={},xI=0;function rt(e){q[e]=xI++}var Cb="[a-zA-Z0-9-]",Ab=[["\\s",1],["\\d",Fl],[Cb,Nhe]];function Ll(e){for(var t=0;t<Ab.length;t++){var r=Ab[t][0],n=Ab[t][1];e=e.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}")}return e}rt("NUMERICIDENTIFIER");Q[q.NUMERICIDENTIFIER]="0|[1-9]\\d*";rt("NUMERICIDENTIFIERLOOSE");Q[q.NUMERICIDENTIFIERLOOSE]="\\d+";rt("NONNUMERICIDENTIFIER");Q[q.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+Cb+"*";rt("MAINVERSION");Q[q.MAINVERSION]="("+Q[q.NUMERICIDENTIFIER]+")\\.("+Q[q.NUMERICIDENTIFIER]+")\\.("+Q[q.NUMERICIDENTIFIER]+")";rt("MAINVERSIONLOOSE");Q[q.MAINVERSIONLOOSE]="("+Q[q.NUMERICIDENTIFIERLOOSE]+")\\.("+Q[q.NUMERICIDENTIFIERLOOSE]+")\\.("+Q[q.NUMERICIDENTIFIERLOOSE]+")";rt("PRERELEASEIDENTIFIER");Q[q.PRERELEASEIDENTIFIER]="(?:"+Q[q.NUMERICIDENTIFIER]+"|"+Q[q.NONNUMERICIDENTIFIER]+")";rt("PRERELEASEIDENTIFIERLOOSE");Q[q.PRERELEASEIDENTIFIERLOOSE]="(?:"+Q[q.NUMERICIDENTIFIERLOOSE]+"|"+Q[q.NONNUMERICIDENTIFIER]+")";rt("PRERELEASE");Q[q.PRERELEASE]="(?:-("+Q[q.PRERELEASEIDENTIFIER]+"(?:\\."+Q[q.PRERELEASEIDENTIFIER]+")*))";rt("PRERELEASELOOSE");Q[q.PRERELEASELOOSE]="(?:-?("+Q[q.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+Q[q.PRERELEASEIDENTIFIERLOOSE]+")*))";rt("BUILDIDENTIFIER");Q[q.BUILDIDENTIFIER]=Cb+"+";rt("BUILD");Q[q.BUILD]="(?:\\+("+Q[q.BUILDIDENTIFIER]+"(?:\\."+Q[q.BUILDIDENTIFIER]+")*))";rt("FULL");rt("FULLPLAIN");Q[q.FULLPLAIN]="v?"+Q[q.MAINVERSION]+Q[q.PRERELEASE]+"?"+Q[q.BUILD]+"?";Q[q.FULL]="^"+Q[q.FULLPLAIN]+"$";rt("LOOSEPLAIN");Q[q.LOOSEPLAIN]="[v=\\s]*"+Q[q.MAINVERSIONLOOSE]+Q[q.PRERELEASELOOSE]+"?"+Q[q.BUILD]+"?";rt("LOOSE");Q[q.LOOSE]="^"+Q[q.LOOSEPLAIN]+"$";rt("GTLT");Q[q.GTLT]="((?:<|>)?=?)";rt("XRANGEIDENTIFIERLOOSE");Q[q.XRANGEIDENTIFIERLOOSE]=Q[q.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";rt("XRANGEIDENTIFIER");Q[q.XRANGEIDENTIFIER]=Q[q.NUMERICIDENTIFIER]+"|x|X|\\*";rt("XRANGEPLAIN");Q[q.XRANGEPLAIN]="[v=\\s]*("+Q[q.XRANGEIDENTIFIER]+")(?:\\.("+Q[q.XRANGEIDENTIFIER]+")(?:\\.("+Q[q.XRANGEIDENTIFIER]+")(?:"+Q[q.PRERELEASE]+")?"+Q[q.BUILD]+"?)?)?";rt("XRANGEPLAINLOOSE");Q[q.XRANGEPLAINLOOSE]="[v=\\s]*("+Q[q.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+Q[q.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+Q[q.XRANGEIDENTIFIERLOOSE]+")(?:"+Q[q.PRERELEASELOOSE]+")?"+Q[q.BUILD]+"?)?)?";rt("XRANGE");Q[q.XRANGE]="^"+Q[q.GTLT]+"\\s*"+Q[q.XRANGEPLAIN]+"$";rt("XRANGELOOSE");Q[q.XRANGELOOSE]="^"+Q[q.GTLT]+"\\s*"+Q[q.XRANGEPLAINLOOSE]+"$";rt("COERCE");Q[q.COERCE]="(^|[^\\d])(\\d{1,"+Pb+"})(?:\\.(\\d{1,"+Pb+"}))?(?:\\.(\\d{1,"+Pb+"}))?(?:$|[^\\d])";rt("COERCERTL");za[q.COERCERTL]=new RegExp(Q[q.COERCE],"g");Tt[q.COERCERTL]=new RegExp(Ll(Q[q.COERCE]),"g");rt("LONETILDE");Q[q.LONETILDE]="(?:~>?)";rt("TILDETRIM");Q[q.TILDETRIM]="(\\s*)"+Q[q.LONETILDE]+"\\s+";za[q.TILDETRIM]=new RegExp(Q[q.TILDETRIM],"g");Tt[q.TILDETRIM]=new RegExp(Ll(Q[q.TILDETRIM]),"g");var Bhe="$1~";rt("TILDE");Q[q.TILDE]="^"+Q[q.LONETILDE]+Q[q.XRANGEPLAIN]+"$";rt("TILDELOOSE");Q[q.TILDELOOSE]="^"+Q[q.LONETILDE]+Q[q.XRANGEPLAINLOOSE]+"$";rt("LONECARET");Q[q.LONECARET]="(?:\\^)";rt("CARETTRIM");Q[q.CARETTRIM]="(\\s*)"+Q[q.LONECARET]+"\\s+";za[q.CARETTRIM]=new RegExp(Q[q.CARETTRIM],"g");Tt[q.CARETTRIM]=new RegExp(Ll(Q[q.CARETTRIM]),"g");var Fhe="$1^";rt("CARET");Q[q.CARET]="^"+Q[q.LONECARET]+Q[q.XRANGEPLAIN]+"$";rt("CARETLOOSE");Q[q.CARETLOOSE]="^"+Q[q.LONECARET]+Q[q.XRANGEPLAINLOOSE]+"$";rt("COMPARATORLOOSE");Q[q.COMPARATORLOOSE]="^"+Q[q.GTLT]+"\\s*("+Q[q.LOOSEPLAIN]+")$|^$";rt("COMPARATOR");Q[q.COMPARATOR]="^"+Q[q.GTLT]+"\\s*("+Q[q.FULLPLAIN]+")$|^$";rt("COMPARATORTRIM");Q[q.COMPARATORTRIM]="(\\s*)"+Q[q.GTLT]+"\\s*("+Q[q.LOOSEPLAIN]+"|"+Q[q.XRANGEPLAIN]+")";za[q.COMPARATORTRIM]=new RegExp(Q[q.COMPARATORTRIM],"g");Tt[q.COMPARATORTRIM]=new RegExp(Ll(Q[q.COMPARATORTRIM]),"g");var khe="$1$2$3";rt("HYPHENRANGE");Q[q.HYPHENRANGE]="^\\s*("+Q[q.XRANGEPLAIN]+")\\s+-\\s+("+Q[q.XRANGEPLAIN]+")\\s*$";rt("HYPHENRANGELOOSE");Q[q.HYPHENRANGELOOSE]="^\\s*("+Q[q.XRANGEPLAINLOOSE]+")\\s+-\\s+("+Q[q.XRANGEPLAINLOOSE]+")\\s*$";rt("STAR");Q[q.STAR]="(<|>)?=?\\s*\\*";for(Jn=0;Jn<xI;Jn++)St(Jn,Q[Jn]),za[Jn]||(za[Jn]=new RegExp(Q[Jn]),Tt[Jn]=new RegExp(Ll(Q[Jn])));var Jn;je.parse=Ji;function Ji(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof Xe)return e;if(typeof e!="string"||e.length>Fl)return null;var r=t.loose?Tt[q.LOOSE]:Tt[q.FULL];if(!r.test(e))return null;try{return new Xe(e,t)}catch{return null}}je.valid=Lhe;function Lhe(e,t){var r=Ji(e,t);return r?r.version:null}je.clean=Rhe;function Rhe(e,t){var r=Ji(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}je.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>Fl)throw new TypeError("version is longer than "+Fl+" characters");if(!(this instanceof Xe))return new Xe(e,t);St("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?Tt[q.LOOSE]:Tt[q.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>Zf||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Zf||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Zf||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<Zf)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 St("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)),Yi(this.major,e.major)||Yi(this.minor,e.minor)||Yi(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(St("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 Yi(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(St("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 Yi(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};je.inc=jhe;function jhe(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}}je.diff=Mhe;function Mhe(e,t){if(wb(e,t))return null;var r=Ji(e),n=Ji(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}je.compareIdentifiers=Yi;var TI=/^[0-9]+$/;function Yi(e,t){var r=TI.test(e),n=TI.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1}je.rcompareIdentifiers=qhe;function qhe(e,t){return Yi(t,e)}je.major=Uhe;function Uhe(e,t){return new Xe(e,t).major}je.minor=Vhe;function Vhe(e,t){return new Xe(e,t).minor}je.patch=$he;function $he(e,t){return new Xe(e,t).patch}je.compare=As;function As(e,t,r){return new Xe(e,r).compare(new Xe(t,r))}je.compareLoose=Whe;function Whe(e,t){return As(e,t,!0)}je.compareBuild=Khe;function Khe(e,t,r){var n=new Xe(e,r),s=new Xe(t,r);return n.compare(s)||n.compareBuild(s)}je.rcompare=Ghe;function Ghe(e,t,r){return As(t,e,r)}je.sort=Hhe;function Hhe(e,t){return e.sort(function(r,n){return je.compareBuild(r,n,t)})}je.rsort=Xhe;function Xhe(e,t){return e.sort(function(r,n){return je.compareBuild(n,r,t)})}je.gt=kl;function kl(e,t,r){return As(e,t,r)>0}je.lt=ep;function ep(e,t,r){return As(e,t,r)<0}je.eq=wb;function wb(e,t,r){return As(e,t,r)===0}je.neq=PI;function PI(e,t,r){return As(e,t,r)!==0}je.gte=Db;function Db(e,t,r){return As(e,t,r)>=0}je.lte=Ib;function Ib(e,t,r){return As(e,t,r)<=0}je.cmp=tp;function tp(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 wb(e,r,n);case"!=":return PI(e,r,n);case">":return kl(e,r,n);case">=":return Db(e,r,n);case"<":return ep(e,r,n);case"<=":return Ib(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}je.Comparator=dn;function dn(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof dn){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof dn))return new dn(e,t);e=e.trim().split(/\s+/).join(" "),St("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===Qa?this.value="":this.value=this.operator+this.semver.version,St("comp",this)}var Qa={};dn.prototype.parse=function(e){var t=this.options.loose?Tt[q.COMPARATORLOOSE]:Tt[q.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=Qa};dn.prototype.toString=function(){return this.value};dn.prototype.test=function(e){if(St("Comparator.test",e,this.options.loose),this.semver===Qa||e===Qa)return!0;if(typeof e=="string")try{e=new Xe(e,this.options)}catch{return!1}return tp(e,this.operator,this.semver,this.options)};dn.prototype.intersects=function(e,t){if(!(e instanceof dn))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 Mt(e.value,t),rp(this.value,r,t));if(e.operator==="")return e.value===""?!0:(r=new Mt(this.value,t),rp(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=tp(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),l=tp(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return n||s||i&&a||o||l};je.Range=Mt;function Mt(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof Mt)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new Mt(e.raw,t);if(e instanceof dn)return new Mt(e.value,t);if(!(this instanceof Mt))return new Mt(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()}Mt.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range};Mt.prototype.toString=function(){return this.range};Mt.prototype.parseRange=function(e){var t=this.options.loose,r=t?Tt[q.HYPHENRANGELOOSE]:Tt[q.HYPHENRANGE];e=e.replace(r,sme),St("hyphen replace",e),e=e.replace(Tt[q.COMPARATORTRIM],khe),St("comparator trim",e,Tt[q.COMPARATORTRIM]),e=e.replace(Tt[q.TILDETRIM],Bhe),e=e.replace(Tt[q.CARETTRIM],Fhe),e=e.split(/\s+/).join(" ");var n=t?Tt[q.COMPARATORLOOSE]:Tt[q.COMPARATOR],s=e.split(" ").map(function(i){return Jhe(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 dn(i,this.options)},this),s};Mt.prototype.intersects=function(e,t){if(!(e instanceof Mt))throw new TypeError("a Range is required");return this.set.some(function(r){return SI(r,t)&&e.set.some(function(n){return SI(n,t)&&r.every(function(s){return n.every(function(i){return s.intersects(i,t)})})})})};function SI(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}je.toComparators=Yhe;function Yhe(e,t){return new Mt(e,t).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}function Jhe(e,t){return St("comp",e,t),e=Zhe(e,t),St("caret",e),e=zhe(e,t),St("tildes",e),e=tme(e,t),St("xrange",e),e=nme(e,t),St("stars",e),e}function qr(e){return!e||e.toLowerCase()==="x"||e==="*"}function zhe(e,t){return e.trim().split(/\s+/).map(function(r){return Qhe(r,t)}).join(" ")}function Qhe(e,t){var r=t.loose?Tt[q.TILDELOOSE]:Tt[q.TILDE];return e.replace(r,function(n,s,i,a,o){St("tilde",e,n,s,i,a,o);var l;return qr(s)?l="":qr(i)?l=">="+s+".0.0 <"+(+s+1)+".0.0":qr(a)?l=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":o?(St("replaceTilde pr",o),l=">="+s+"."+i+"."+a+"-"+o+" <"+s+"."+(+i+1)+".0"):l=">="+s+"."+i+"."+a+" <"+s+"."+(+i+1)+".0",St("tilde return",l),l})}function Zhe(e,t){return e.trim().split(/\s+/).map(function(r){return eme(r,t)}).join(" ")}function eme(e,t){St("caret",e,t);var r=t.loose?Tt[q.CARETLOOSE]:Tt[q.CARET];return e.replace(r,function(n,s,i,a,o){St("caret",e,n,s,i,a,o);var l;return qr(s)?l="":qr(i)?l=">="+s+".0.0 <"+(+s+1)+".0.0":qr(a)?s==="0"?l=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":l=">="+s+"."+i+".0 <"+(+s+1)+".0.0":o?(St("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"):(St("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"),St("caret return",l),l})}function tme(e,t){return St("replaceXRanges",e,t),e.split(/\s+/).map(function(r){return rme(r,t)}).join(" ")}function rme(e,t){e=e.trim();var r=t.loose?Tt[q.XRANGELOOSE]:Tt[q.XRANGE];return e.replace(r,function(n,s,i,a,o,l){St("xRange",e,n,s,i,a,o,l);var u=qr(i),c=u||qr(a),f=c||qr(o),p=f;return s==="="&&p&&(s=""),l=t.includePrerelease?"-0":"",u?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&p?(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:f&&(n=">="+i+"."+a+".0"+l+" <"+i+"."+(+a+1)+".0"+l),St("xRange return",n),n})}function nme(e,t){return St("replaceStars",e,t),e.trim().replace(Tt[q.STAR],"")}function sme(e,t,r,n,s,i,a,o,l,u,c,f,p){return qr(r)?t="":qr(n)?t=">="+r+".0.0":qr(s)?t=">="+r+"."+n+".0":t=">="+t,qr(l)?o="":qr(u)?o="<"+(+l+1)+".0.0":qr(c)?o="<"+l+"."+(+u+1)+".0":f?o="<="+l+"."+u+"."+c+"-"+f:o="<="+o,(t+" "+o).trim()}Mt.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(ime(this.set[t],e,this.options))return!0;return!1};function ime(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(St(e[n].semver),e[n].semver!==Qa&&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}je.satisfies=rp;function rp(e,t,r){try{t=new Mt(t,r)}catch{return!1}return t.test(e)}je.maxSatisfying=ame;function ame(e,t,r){var n=null,s=null;try{var i=new Mt(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}je.minSatisfying=ome;function ome(e,t,r){var n=null,s=null;try{var i=new Mt(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}je.minVersion=lme;function lme(e,t){e=new Mt(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||kl(r,a))&&(r=a);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+i.operator)}})}return r&&e.test(r)?r:null}je.validRange=ume;function ume(e,t){try{return new Mt(e,t).range||"*"}catch{return null}}je.ltr=cme;function cme(e,t,r){return Ob(e,t,"<",r)}je.gtr=fme;function fme(e,t,r){return Ob(e,t,">",r)}je.outside=Ob;function Ob(e,t,r,n){e=new Xe(e,n),t=new Mt(t,n);var s,i,a,o,l;switch(r){case">":s=kl,i=Ib,a=ep,o=">",l=">=";break;case"<":s=ep,i=Db,a=kl,o="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(rp(e,t,n))return!1;for(var u=0;u<t.set.length;++u){var c=t.set[u],f=null,p=null;if(c.forEach(function(h){h.semver===Qa&&(h=new dn(">=0.0.0")),f=f||h,p=p||h,s(h.semver,f.semver,n)?f=h:a(h.semver,p.semver,n)&&(p=h)}),f.operator===o||f.operator===l||(!p.operator||p.operator===o)&&i(e,p.semver))return!1;if(p.operator===l&&a(e,p.semver))return!1}return!0}je.prerelease=pme;function pme(e,t){var r=Ji(e,t);return r&&r.prerelease.length?r.prerelease:null}je.intersects=dme;function dme(e,t,r){return e=new Mt(e,r),t=new Mt(t,r),e.intersects(t)}je.coerce=hme;function hme(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[q.COERCE]);else{for(var n;(n=Tt[q.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[q.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;Tt[q.COERCERTL].lastIndex=-1}return r===null?null:Ji(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}});var np=E(Za=>{"use strict";Object.defineProperty(Za,"__esModule",{value:!0});Za.unreleasedLabels=Za.browserNameMap=void 0;var Uwe=Za.unreleasedLabels={safari:"tp"},Vwe=Za.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 sp=E(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.getHighestUnreleased=vme;ii.getLowestImplementedVersion=Tme;ii.getLowestUnreleased=II;ii.isUnreleasedVersion=Eme;ii.semverMin=DI;ii.semverify=bme;var CI=Rl(),mme=zf(),wI=np(),yme=/^(?:\d+|\d(?:\d?[^\d\n\r\u2028\u2029]\d+|\d{2,}(?:[^\d\n\r\u2028\u2029]\d+)?))$/,gme=new mme.OptionValidator("@babel/helper-compilation-targets");function DI(e,t){return e&&CI.lt(e,t)?e:t}function bme(e){if(typeof e=="string"&&CI.valid(e))return e;gme.invariant(typeof e=="number"||typeof e=="string"&&yme.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 Eme(e,t){let r=wI.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function II(e,t,r){let n=wI.unreleasedLabels[r];return e===n?t:t===n?e:DI(e,t)}function vme(e,t,r){return II(e,t,r)===e?t:e}function Tme(e,t){let r=e[t];return!r&&t==="android"?e.chrome:r}});var OI=E(ip=>{"use strict";Object.defineProperty(ip,"__esModule",{value:!0});ip.TargetNames=void 0;var Kwe=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 _b=E(ap=>{"use strict";Object.defineProperty(ap,"__esModule",{value:!0});ap.prettifyTargets=Pme;ap.prettifyVersion=_I;var Sme=Rl(),xme=np();function _I(e){if(typeof e!="string")return e;let{major:t,minor:r,patch:n}=Sme.parse(e),s=[t];return(r||n)&&s.push(r),n&&s.push(n),s.join(".")}function Pme(e){return Object.keys(e).reduce((t,r)=>{let n=e[r],s=xme.unreleasedLabels[r];return typeof n=="string"&&s!==n&&(n=_I(n)),t[r]=n,t},{})}});var BI=E(Nb=>{"use strict";Object.defineProperty(Nb,"__esModule",{value:!0});Nb.getInclusionReasons=Cme;var Ame=Rl(),NI=_b(),op=sp();function Cme(e,t,r){let n=r[e]||{};return Object.keys(t).reduce((s,i)=>{let a=(0,op.getLowestImplementedVersion)(n,i),o=t[i];if(!a)s[i]=(0,NI.prettifyVersion)(o);else{let l=(0,op.isUnreleasedVersion)(a,i);!(0,op.isUnreleasedVersion)(o,i)&&(l||Ame.lt(o.toString(),(0,op.semverify)(a)))&&(s[i]=(0,NI.prettifyVersion)(o))}return s},{})}});var FI=E((Ywe,wme)=>{wme.exports={"transform-duplicate-named-capturing-groups-regex":{chrome:"126",opera:"112",edge:"126",firefox:"129",safari:"17.4",electron:"31.0"},"transform-unicode-sets-regex":{chrome:"112",opera:"98",edge:"112",firefox:"116",safari:"17",node:"20",deno:"1.32",ios:"17",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",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",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",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:"53",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",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:"38",opera:"25",edge:"12",firefox:"36",safari:"9",node:"0.12",deno:"1",ios:"9",samsung:"3",rhino:"1.7.13",opera_mobile:"25",electron:"0.20"},"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",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",opera:"60",opera_mobile:"51",safari:"14.1",ios:"14.5",samsung:"11.0",android:"72",electron:"5.0"}}});var LI=E((Jwe,kI)=>{kI.exports=FI()});var qI=E(jl=>{"use strict";Object.defineProperty(jl,"__esModule",{value:!0});jl.default=Ime;jl.isRequired=MI;jl.targetsSupported=jI;var RI=Rl(),Dme=LI(),lp=sp();function jI(e,t){let r=Object.keys(e);return r.length===0?!1:r.filter(s=>{let i=(0,lp.getLowestImplementedVersion)(t,s);if(!i)return!0;let a=e[s];if((0,lp.isUnreleasedVersion)(a,s))return!1;if((0,lp.isUnreleasedVersion)(i,s))return!0;if(!RI.valid(a.toString()))throw new Error(`Invalid version passed for target "${s}": "${a}". Versions must be in semver format (major.minor.patch)`);return RI.gt((0,lp.semverify)(i),a.toString())}).length===0}function MI(e,t,{compatData:r=Dme,includes:n,excludes:s}={}){return s!=null&&s.has(e)?!1:n!=null&&n.has(e)?!0:!jI(t,r[e])}function Ime(e,t,r,n,s,i,a){let o=new Set,l={compatData:e,includes:t,excludes:r};for(let u in e)if(MI(u,n,l))o.add(u);else if(a){let c=a.get(u);c&&o.add(c)}return s?.forEach(u=>!r.has(u)&&o.add(u)),i?.forEach(u=>!t.has(u)&&o.delete(u)),o}});var Lb=E(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});Object.defineProperty(zn,"TargetNames",{enumerable:!0,get:function(){return Fb.TargetNames}});zn.default=$me;Object.defineProperty(zn,"filterItems",{enumerable:!0,get:function(){return KI.default}});Object.defineProperty(zn,"getInclusionReasons",{enumerable:!0,get:function(){return Bme.getInclusionReasons}});zn.isBrowsersQueryValid=GI;Object.defineProperty(zn,"isRequired",{enumerable:!0,get:function(){return KI.isRequired}});Object.defineProperty(zn,"prettifyTargets",{enumerable:!0,get:function(){return Nme.prettifyTargets}});Object.defineProperty(zn,"unreleasedLabels",{enumerable:!0,get:function(){return WI.unreleasedLabels}});var VI=aI(),$I=zf(),Ome=fI(),_me=vI(),Nn=sp(),WI=np(),Fb=OI(),Nme=_b(),Bme=BI(),KI=qI(),Bb=Ome["es6.module"],kb=new $I.OptionValidator("@babel/helper-compilation-targets");function Fme(e){let t=Object.keys(Fb.TargetNames);for(let r of Object.keys(e))if(!(r in Fb.TargetNames))throw new Error(kb.formatMessage(`'${r}' is not a valid target
158
- - Did you mean '${(0,$I.findSuggestion)(r,t)}'?`));return e}function GI(e){return typeof e=="string"||Array.isArray(e)&&e.every(t=>typeof t=="string")}function kme(e){return kb.invariant(e===void 0||GI(e),`'${String(e)}' is not a valid browserslist query`),e}function Lme(e){return e.reduce((t,r)=>{let[n,s]=r.split(" "),i=WI.browserNameMap[n];if(!i)return t;try{let a=s.split("-")[0].toLowerCase(),o=(0,Nn.isUnreleasedVersion)(a,i);if(!t[i])return t[i]=o?a:(0,Nn.semverify)(a),t;let l=t[i],u=(0,Nn.isUnreleasedVersion)(l,i);if(u&&o)t[i]=(0,Nn.getLowestUnreleased)(l,a,i);else if(u)t[i]=(0,Nn.semverify)(a);else if(!u&&!o){let c=(0,Nn.semverify)(a);t[i]=(0,Nn.semverMin)(l,c)}}catch{}return t},{})}function Rme(e){e.length&&(console.warn(`Warning, the following targets are using a decimal version:
159
- `),e.forEach(({target:t,value:r})=>console.warn(` ${t}: ${r}`)),console.warn(`
160
- We recommend using a string for minor/patch versions to avoid numbers like 6.10
161
- getting parsed as 6.1, which can lead to unexpected behavior.
162
- `))}function HI(e,t){try{return(0,Nn.semverify)(t)}catch{throw new Error(kb.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}function jme(e){return["node",e===!0||e==="current"?process.versions.node:HI("node",e)]}function Mme(e,t){let r=(0,Nn.isUnreleasedVersion)(t,e)?t.toLowerCase():HI(e,t);return[e,r]}function qme(e){let t=Object.assign({},e);return delete t.esmodules,delete t.browsers,t}function Ume(e,t){let r=VI(e,{mobileToDesktop:!0,env:t});return Lme(r)}var UI=new _me({max:64});function Vme(e,t){let r=typeof e=="string"?e:e.join()+t,n=UI.get(r);return n||(n=Ume(e,t),UI.set(r,n)),Object.assign({},n)}function $me(e={},t={}){var r,n;let{browsers:s,esmodules:i}=e,{configPath:a="."}=t;kme(s);let o=qme(e),l=Fme(o),c=!!s||Object.keys(l).length>0,f=!t.ignoreBrowserslistConfig&&!c;if(!s&&f&&(s=VI.loadConfig({config:t.configFile,path:a,env:t.browserslistEnv}),s==null&&(s=[])),i&&(i!=="intersect"||!((r=s)!=null&&r.length))&&(s=Object.keys(Bb).map(b=>`${b} >= ${Bb[b]}`).join(", "),i=!1),(n=s)!=null&&n.length){let b=Vme(s,t.browserslistEnv);if(i==="intersect")for(let d of Object.keys(b))if(d!=="deno"&&d!=="ie"){let y=Bb[d==="opera_mobile"?"op_mob":d];if(y){let P=b[d];b[d]=(0,Nn.getHighestUnreleased)(P,(0,Nn.semverify)(y),d)}else delete b[d]}else delete b[d];l=Object.assign(b,l)}let p={},h=[];for(let b of Object.keys(l).sort()){let d=l[b];typeof d=="number"&&d%1!==0&&h.push({target:b,value:d});let[y,P]=b==="node"?jme(d):Mme(b,d);P&&(p[y]=P)}return Rme(h),p}});var Rb=E(up=>{"use strict";Object.defineProperty(up,"__esModule",{value:!0});up.resolveBrowserslistConfigFile=Wme;up.resolveTargets=Kme;function XI(){let e=me("path");return XI=function(){return e},e}function YI(){let e=Lb();return YI=function(){return e},e}function Wme(e,t){return XI().resolve(t,e)}function Kme(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,YI().default)(n,{ignoreBrowserslistConfig:a,configFile:i,configPath:t,browserslistEnv:e.browserslistEnv})}});var jb=E(ql=>{"use strict";Object.defineProperty(ql,"__esModule",{value:!0});ql.createCachedDescriptors=Yme;ql.createDescriptor=iO;ql.createUncachedDescriptors=Jme;function ZI(){let e=Jr();return ZI=function(){return e},e}var JI=sD(),zI=Vl(),Gme=Ul(),Ml=Ui(),Hme=Rb();function Xme(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*QI(e){return e}function eO(e,t){return typeof e.browserslistConfigFile=="string"&&(e.browserslistConfigFile=(0,Hme.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)),e}function Yme(e,t,r){let{plugins:n,presets:s,passPerPreset:i}=t;return{options:eO(t,e),plugins:n?()=>eye(n,e)(r):()=>QI([]),presets:s?()=>Qme(s,e)(r)(!!i):()=>QI([])}}function Jme(e,t,r){return{options:eO(t,e),plugins:(0,JI.once)(()=>nO(t.plugins||[],e,r)),presets:(0,JI.once)(()=>rO(t.presets||[],e,r,!!t.passPerPreset))}}var zme=new WeakMap,Qme=(0,Ml.makeWeakCacheSync)((e,t)=>{let r=t.using(n=>n);return(0,Ml.makeStrongCacheSync)(n=>(0,Ml.makeStrongCache)(function*(s){return(yield*rO(e,r,n,s)).map(a=>tO(zme,a))}))}),Zme=new WeakMap,eye=(0,Ml.makeWeakCacheSync)((e,t)=>{let r=t.using(n=>n);return(0,Ml.makeStrongCache)(function*(n){return(yield*nO(e,r,n)).map(i=>tO(Zme,i))})}),tye={};function tO(e,t){let{value:r,options:n=tye}=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=>Xme(o,t));if(a.length>0)return a[0];i.push(t)}return t}function*rO(e,t,r,n){return yield*sO("preset",e,t,r,n)}function*nO(e,t,r){return yield*sO("plugin",e,t,r)}function*sO(e,t,r,n,s){let i=yield*ZI().all(t.map((a,o)=>iO(a,r,{type:e,alias:`${n}$${o}`,ownPass:!!s})));return rye(i),i}function*iO(e,t,{type:r,alias:n,ownPass:s}){let i=(0,Gme.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 f=r==="plugin"?zI.loadPlugin:zI.loadPreset,p=l;({filepath:c,value:l}=yield*f(l,t)),u={request:p,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 rye(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(`
163
- `))}n.add(r.name)}}});var Ul=E($l=>{"use strict";Object.defineProperty($l,"__esModule",{value:!0});$l.createConfigItem=sye;$l.createItemFromDescriptor=oO;$l.getItemDescriptor=iye;function aO(){let e=me("path");return aO=function(){return e},e}var nye=jb();function oO(e){return new cp(e)}function*sye(e,{dirname:t=".",type:r}={}){let n=yield*(0,nye.createDescriptor)(e,aO().resolve(t),{type:r,alias:"programmatic item"});return oO(n)}var Mb=Symbol.for("@babel/core@7 - ConfigItem");function iye(e){if(e!=null&&e[Mb])return e._descriptor}var cp=class{constructor(t){this._descriptor=void 0,this[Mb]=!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,Mb,{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(cp.prototype)});var lO=E(fp=>{"use strict";Object.defineProperty(fp,"__esModule",{value:!0});fp.default=void 0;var rDe=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=E(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});Gt.access=Qr;Gt.assertArray=Ub;Gt.assertAssumptions=Pye;Gt.assertBabelrcSearch=Eye;Gt.assertBoolean=qb;Gt.assertCallerMetadata=fye;Gt.assertCompact=uye;Gt.assertConfigApplicableTest=gye;Gt.assertConfigFileSearch=bye;Gt.assertFunction=hye;Gt.assertIgnoreList=mye;Gt.assertInputSourceMap=pye;Gt.assertObject=fO;Gt.assertPluginList=vye;Gt.assertRootMode=oye;Gt.assertSourceMaps=lye;Gt.assertSourceType=cye;Gt.assertString=dye;Gt.assertTargets=Sye;Gt.msg=at;function Wl(){let e=Lb();return Wl=function(){return e},e}var aye=Kl();function at(e){switch(e.type){case"root":return"";case"env":return`${at(e.parent)}.env["${e.name}"]`;case"overrides":return`${at(e.parent)}.overrides[${e.index}]`;case"option":return`${at(e.parent)}.${e.name}`;case"access":return`${at(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function Qr(e,t){return{type:"access",name:t,parent:e}}function oye(e,t){if(t!==void 0&&t!=="root"&&t!=="upward"&&t!=="upward-optional")throw new Error(`${at(e)} must be a "root", "upward", "upward-optional" or undefined`);return t}function lye(e,t){if(t!==void 0&&typeof t!="boolean"&&t!=="inline"&&t!=="both")throw new Error(`${at(e)} must be a boolean, "inline", "both", or undefined`);return t}function uye(e,t){if(t!==void 0&&typeof t!="boolean"&&t!=="auto")throw new Error(`${at(e)} must be a boolean, "auto", or undefined`);return t}function cye(e,t){if(t!==void 0&&t!=="module"&&t!=="script"&&t!=="unambiguous")throw new Error(`${at(e)} must be "module", "script", "unambiguous", or undefined`);return t}function fye(e,t){let r=fO(e,t);if(r){if(typeof r.name!="string")throw new Error(`${at(e)} set but does not contain "name" property string`);for(let n of Object.keys(r)){let s=Qr(e,n),i=r[n];if(i!=null&&typeof i!="boolean"&&typeof i!="string"&&typeof i!="number")throw new Error(`${at(s)} must be null, undefined, a boolean, a string, or a number.`)}}return t}function pye(e,t){if(t!==void 0&&typeof t!="boolean"&&(typeof t!="object"||!t))throw new Error(`${at(e)} must be a boolean, object, or undefined`);return t}function dye(e,t){if(t!==void 0&&typeof t!="string")throw new Error(`${at(e)} must be a string, or undefined`);return t}function hye(e,t){if(t!==void 0&&typeof t!="function")throw new Error(`${at(e)} must be a function, or undefined`);return t}function qb(e,t){if(t!==void 0&&typeof t!="boolean")throw new Error(`${at(e)} must be a boolean, or undefined`);return t}function fO(e,t){if(t!==void 0&&(typeof t!="object"||Array.isArray(t)||!t))throw new Error(`${at(e)} must be an object, or undefined`);return t}function Ub(e,t){if(t!=null&&!Array.isArray(t))throw new Error(`${at(e)} must be an array, or undefined`);return t}function mye(e,t){let r=Ub(e,t);return r?.forEach((n,s)=>yye(Qr(e,s),n)),r}function yye(e,t){if(typeof t!="string"&&typeof t!="function"&&!(t instanceof RegExp))throw new Error(`${at(e)} must be an array of string/Function/RegExp values, or undefined`);return t}function gye(e,t){if(t===void 0)return t;if(Array.isArray(t))t.forEach((r,n)=>{if(!pp(r))throw new Error(`${at(Qr(e,n))} must be a string/Function/RegExp.`)});else if(!pp(t))throw new Error(`${at(e)} must be a string/Function/RegExp, or an array of those`);return t}function pp(e){return typeof e=="string"||typeof e=="function"||e instanceof RegExp}function bye(e,t){if(t!==void 0&&typeof t!="boolean"&&typeof t!="string")throw new Error(`${at(e)} must be a undefined, a boolean, a string, got ${JSON.stringify(t)}`);return t}function Eye(e,t){if(t===void 0||typeof t=="boolean")return t;if(Array.isArray(t))t.forEach((r,n)=>{if(!pp(r))throw new Error(`${at(Qr(e,n))} must be a string/Function/RegExp.`)});else if(!pp(t))throw new Error(`${at(e)} must be a undefined, a boolean, a string/Function/RegExp or an array of those, got ${JSON.stringify(t)}`);return t}function vye(e,t){let r=Ub(e,t);return r&&r.forEach((n,s)=>Tye(Qr(e,s),n)),r}function Tye(e,t){if(Array.isArray(t)){if(t.length===0)throw new Error(`${at(e)} must include an object`);if(t.length>3)throw new Error(`${at(e)} may only be a two-tuple or three-tuple`);if(uO(Qr(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(`${at(Qr(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(`${at(Qr(e,2))} must be a string, or undefined`)}}else uO(e,t);return t}function uO(e,t){if((typeof t!="object"||!t)&&typeof t!="string"&&typeof t!="function")throw new Error(`${at(e)} must be a string, object, function`);return t}function Sye(e,t){if((0,Wl().isBrowsersQueryValid)(t))return t;if(typeof t!="object"||!t||Array.isArray(t))throw new Error(`${at(e)} must be a string, an array of strings or an object`);let r=Qr(e,"browsers"),n=Qr(e,"esmodules");cO(r,t.browsers),qb(n,t.esmodules);for(let s of Object.keys(t)){let i=t[s],a=Qr(e,s);if(s==="esmodules")qb(a,i);else if(s==="browsers")cO(a,i);else if(hasOwnProperty.call(Wl().TargetNames,s))xye(a,i);else{let o=Object.keys(Wl().TargetNames).join(", ");throw new Error(`${at(a)} is not a valid target. Supported targets are ${o}`)}}return t}function cO(e,t){if(t!==void 0&&!(0,Wl().isBrowsersQueryValid)(t))throw new Error(`${at(e)} must be undefined, a string or an array of strings`)}function xye(e,t){if(!(typeof t=="number"&&Math.round(t)===t)&&typeof t!="string")throw new Error(`${at(e)} must be a string or an integer number`)}function Pye(e,t){if(t===void 0)return;if(typeof t!="object"||t===null)throw new Error(`${at(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=Qr(e,s);if(!aye.assumptionsNames.has(s))throw new Error(`${at(i)} is not a supported assumption.`);if(typeof t[s]!="boolean")throw new Error(`${at(i)} must be a boolean.`);if(n&&t[s]===!1)throw new Error(`${at(i)} cannot be set to 'false' inside presets.`)}return t}});var Kl=E(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.assumptionsNames=void 0;eo.checkNoUnwrappedItemOptionPairs=Nye;eo.validate=wye;var pO=lO(),Se=Vb(),Aye=Vi(),dO={cwd:Se.assertString,root:Se.assertString,rootMode:Se.assertRootMode,configFile:Se.assertConfigFileSearch,caller:Se.assertCallerMetadata,filename:Se.assertString,filenameRelative:Se.assertString,code:Se.assertBoolean,ast:Se.assertBoolean,cloneInputAst:Se.assertBoolean,envName:Se.assertString},hO={babelrc:Se.assertBoolean,babelrcRoots:Se.assertBabelrcSearch},mO={extends:Se.assertString,ignore:Se.assertIgnoreList,only:Se.assertIgnoreList,targets:Se.assertTargets,browserslistConfigFile:Se.assertConfigFileSearch,browserslistEnv:Se.assertString},yO={inputSourceMap:Se.assertInputSourceMap,presets:Se.assertPluginList,plugins:Se.assertPluginList,passPerPreset:Se.assertBoolean,assumptions:Se.assertAssumptions,env:Oye,overrides:_ye,test:Se.assertConfigApplicableTest,include:Se.assertConfigApplicableTest,exclude:Se.assertConfigApplicableTest,retainLines:Se.assertBoolean,comments:Se.assertBoolean,shouldPrintComment:Se.assertFunction,compact:Se.assertCompact,minified:Se.assertBoolean,auxiliaryCommentBefore:Se.assertString,auxiliaryCommentAfter:Se.assertString,sourceType:Se.assertSourceType,wrapPluginVisitorMethod:Se.assertFunction,highlightCode:Se.assertBoolean,sourceMaps:Se.assertSourceMaps,sourceMap:Se.assertSourceMaps,sourceFileName:Se.assertString,sourceRoot:Se.assertString,parserOpts:Se.assertObject,generatorOpts:Se.assertObject};Object.assign(yO,{getModuleId:Se.assertFunction,moduleRoot:Se.assertString,moduleIds:Se.assertBoolean,moduleId:Se.assertString});var Cye=["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","noUninitializedPrivateFieldAccess","objectRestNoSymbols","privateFieldsAsSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"],iDe=eo.assumptionsNames=new Set(Cye);function gO(e){return e.type==="root"?e.source:gO(e.parent)}function wye(e,t,r){try{return $b({type:"root",source:e},t)}catch(n){let s=new Aye.default(n.message,r);throw n.code&&(s.code=n.code),s}}function $b(e,t){let r=gO(e);return Iye(t),Object.keys(t).forEach(n=>{let s={type:"option",name:n,parent:e};if(r==="preset"&&mO[n])throw new Error(`${(0,Se.msg)(s)} is not allowed in preset options`);if(r!=="arguments"&&dO[n])throw new Error(`${(0,Se.msg)(s)} is only allowed in root programmatic options`);if(r!=="arguments"&&r!=="configfile"&&hO[n])throw r==="babelrcfile"||r==="extendsfile"?new Error(`${(0,Se.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,Se.msg)(s)} is only allowed in root programmatic options, or babel.config.js/config file options`);(yO[n]||mO[n]||hO[n]||dO[n]||Dye)(s,t[n])}),t}function Dye(e){let t=e.name;if(pO.default[t]){let{message:r,version:n=5}=pO.default[t];throw new Error(`Using removed Babel ${n} option: ${(0,Se.msg)(e)} - ${r}`)}else{let r=new Error(`Unknown option: ${(0,Se.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 Iye(e){if(hasOwnProperty.call(e,"sourceMap")&&hasOwnProperty.call(e,"sourceMaps"))throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}function Oye(e,t){if(e.parent.type==="env")throw new Error(`${(0,Se.msg)(e)} is not allowed inside of another .env block`);let r=e.parent,n=(0,Se.assertObject)(e,t);if(n)for(let s of Object.keys(n)){let i=(0,Se.assertObject)((0,Se.access)(e,s),n[s]);if(!i)continue;$b({type:"env",name:s,parent:r},i)}return n}function _ye(e,t){if(e.parent.type==="env")throw new Error(`${(0,Se.msg)(e)} is not allowed inside an .env block`);if(e.parent.type==="overrides")throw new Error(`${(0,Se.msg)(e)} is not allowed inside an .overrides block`);let r=e.parent,n=(0,Se.assertArray)(e,t);if(n)for(let[s,i]of n.entries()){let a=(0,Se.access)(e,s),o=(0,Se.assertObject)(a,i);if(!o)throw new Error(`${(0,Se.msg)(a)} must be an object`);$b({type:"overrides",index:s,parent:r},o)}return n}function Nye(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+=`
164
- - Maybe you meant to use
165
- "${r}s": [
166
- ["${s.file.request}", ${JSON.stringify(i.value,void 0,2)}]
167
- ]
168
- To be a valid ${r}, its name and options should be wrapped in a pair of brackets`)}});var Xb=E(Hb=>{"use strict";Object.defineProperty(Hb,"__esModule",{value:!0});Hb.default=kye;function dp(){let e=me("path");return dp=function(){return e},e}var Gl=`\\${dp().sep}`,Wb=`(?:${Gl}|$)`,Kb=`[^${Gl}]+`,Gb=`(?:${Kb}${Gl})`,EO=`(?:${Kb}${Wb})`,Bye=`${Gb}*?`,Fye=`${Gb}*?${EO}?`;function bO(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function kye(e,t){let r=dp().resolve(t,e).split(dp().sep);return new RegExp(["^",...r.map((n,s)=>{let i=s===r.length-1;return n==="**"?i?Fye:Bye:n==="*"?i?EO:Gb:n.indexOf("*.")===0?Kb+bO(n.slice(1))+(i?Wb:Gl):bO(n)+(i?Wb:Gl)})].join(""))}});var SO=E(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.ConfigPrinter=to.ChainFormatter=void 0;function TO(){let e=Jr();return TO=function(){return e},e}var Lye=to.ChainFormatter={Programmatic:0,Config:1},Yb={title(e,t,r){let n="";return e===Lye.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=>vO(s)));let n=[...yield*e.presets()];return n.length&&(t.presets=[...n].map(s=>vO(s))),JSON.stringify(t,void 0,2)}};function vO(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 Jb=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=Yb.title(t.type,t.callerName,t.filepath),n=Yb.loc(t.index,t.envName);n&&(r+=` ${n}`);let s=yield*Yb.optionsAndDescriptors(t.content);return`${r}
169
- ${s}`}*output(){return this._stack.length===0?"":(yield*TO().all(this._stack.map(r=>e.format(r)))).join(`
170
-
171
- `)}};to.ConfigPrinter=Jb});var aE=E(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.buildPresetChain=Mye;no.buildPresetChainWalker=void 0;no.buildRootChain=Kye;function AO(){let e=me("path");return AO=function(){return e},e}function CO(){let e=Pi();return CO=function(){return e},e}var eE=Kl(),wO=Xb(),Xl=SO(),Rye=bs(),jye=Vi(),Hl=Vl(),nr=Ui(),hn=jb(),xO=CO()("babel:config:config-chain");function*Mye(e,t){let r=yield*qye(e,t);return r?{plugins:yp(r.plugins),presets:yp(r.presets),options:r.options.map(n=>DO(n)),files:new Set}:null}var qye=no.buildPresetChainWalker=iE({root:e=>Uye(e),env:(e,t)=>Vye(e)(t),overrides:(e,t)=>$ye(e)(t),overridesEnv:(e,t,r)=>Wye(e)(t)(r),createLogger:()=>()=>{}}),Uye=(0,nr.makeWeakCacheSync)(e=>tE(e,e.alias,hn.createUncachedDescriptors)),Vye=(0,nr.makeWeakCacheSync)(e=>(0,nr.makeStrongCacheSync)(t=>rE(e,e.alias,hn.createUncachedDescriptors,t))),$ye=(0,nr.makeWeakCacheSync)(e=>(0,nr.makeStrongCacheSync)(t=>nE(e,e.alias,hn.createUncachedDescriptors,t))),Wye=(0,nr.makeWeakCacheSync)(e=>(0,nr.makeStrongCacheSync)(t=>(0,nr.makeStrongCacheSync)(r=>sE(e,e.alias,hn.createUncachedDescriptors,t,r))));function*Kye(e,t){let r,n,s=new Xl.ConfigPrinter,i=yield*Jye({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,Hl.loadConfig)(e.configFile,t.cwd,t.envName,t.caller):e.configFile!==!1&&(o=yield*(0,Hl.findRootConfig)(t.root,t.envName,t.caller));let{babelrc:l,babelrcRoots:u}=e,c=t.cwd,f=mp(),p=new Xl.ConfigPrinter;if(o){let D=Hye(o),N=yield*Qb(D,t,void 0,p);if(!N)return null;r=yield*p.output(),l===void 0&&(l=D.options.babelrc),u===void 0&&(c=D.dirname,u=D.options.babelrcRoots),ro(f,N)}let h,b,d=!1,y=mp();if((l===!0||l===void 0)&&typeof t.filename=="string"){let D=yield*(0,Hl.findPackageData)(t.filename);if(D&&Gye(t,D,u,c)){if({ignore:h,config:b}=yield*(0,Hl.findRelativeConfig)(D,t.envName,t.caller),h&&y.files.add(h.filepath),h&&IO(t,h.ignore,null,h.dirname)&&(d=!0),b&&!d){let N=Xye(b),B=new Xl.ConfigPrinter,F=yield*Qb(N,t,void 0,B);F?(n=yield*B.output(),ro(y,F)):d=!0}b&&d&&y.files.add(b.filepath)}}t.showConfig&&console.log(`Babel configs on "${t.filename}" (ascending priority):
172
- `+[r,n,a].filter(D=>!!D).join(`
173
-
174
- `)+`
175
- -----End Babel configs-----`);let P=ro(ro(ro(mp(),f),y),i);return{plugins:d?[]:yp(P.plugins),presets:d?[]:yp(P.presets),options:d?[]:P.options.map(D=>DO(D)),fileHandling:d?"ignored":"transpile",ignore:h||void 0,babelrc:b||void 0,config:o||void 0,files:P.files}}function Gye(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"?AO().resolve(n,a):a),i.length===1&&i[0]===s?t.directories.includes(s):i.some(a=>(typeof a=="string"&&(a=(0,wO.default)(a,n)),t.directories.some(o=>OO(a,n,o,e))))}var Hye=(0,nr.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,eE.validate)("configfile",e.options,e.filepath)})),Xye=(0,nr.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,eE.validate)("babelrcfile",e.options,e.filepath)})),Yye=(0,nr.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,eE.validate)("extendsfile",e.options,e.filepath)})),Jye=iE({root:e=>tE(e,"base",hn.createCachedDescriptors),env:(e,t)=>rE(e,"base",hn.createCachedDescriptors,t),overrides:(e,t)=>nE(e,"base",hn.createCachedDescriptors,t),overridesEnv:(e,t,r)=>sE(e,"base",hn.createCachedDescriptors,t,r),createLogger:(e,t,r)=>n0e(e,t,r)}),zye=iE({root:e=>Qye(e),env:(e,t)=>Zye(e)(t),overrides:(e,t)=>e0e(e)(t),overridesEnv:(e,t,r)=>t0e(e)(t)(r),createLogger:(e,t,r)=>r0e(e.filepath,t,r)});function*Qb(e,t,r,n){let s=yield*zye(e,t,r,n);return s?.files.add(e.filepath),s}var Qye=(0,nr.makeWeakCacheSync)(e=>tE(e,e.filepath,hn.createUncachedDescriptors)),Zye=(0,nr.makeWeakCacheSync)(e=>(0,nr.makeStrongCacheSync)(t=>rE(e,e.filepath,hn.createUncachedDescriptors,t))),e0e=(0,nr.makeWeakCacheSync)(e=>(0,nr.makeStrongCacheSync)(t=>nE(e,e.filepath,hn.createUncachedDescriptors,t))),t0e=(0,nr.makeWeakCacheSync)(e=>(0,nr.makeStrongCacheSync)(t=>(0,nr.makeStrongCacheSync)(r=>sE(e,e.filepath,hn.createUncachedDescriptors,t,r))));function r0e(e,t,r){return r?r.configure(t.showConfig,Xl.ChainFormatter.Config,{filepath:e}):()=>{}}function tE({dirname:e,options:t},r,n){return n(e,t,r)}function n0e(e,t,r){var n;return r?r.configure(t.showConfig,Xl.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name}):()=>{}}function rE({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 nE({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 sE({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 iE({root:e,env:t,overrides:r,overridesEnv:n,createLogger:s}){return function*(a,o,l=new Set,u){let{dirname:c}=a,f=[],p=e(a);if(hp(p,c,o,a.filepath)){f.push({config:p,envName:void 0,index:void 0});let d=t(a,o.envName);d&&hp(d,c,o,a.filepath)&&f.push({config:d,envName:o.envName,index:void 0}),(p.options.overrides||[]).forEach((y,P)=>{let D=r(a,P);if(hp(D,c,o,a.filepath)){f.push({config:D,index:P,envName:void 0});let N=n(a,P,o.envName);N&&hp(N,c,o,a.filepath)&&f.push({config:N,index:P,envName:o.envName})}})}if(f.some(({config:{options:{ignore:d,only:y}}})=>IO(o,d,y,c)))return null;let h=mp(),b=s(a,o,u);for(let{config:d,index:y,envName:P}of f){if(!(yield*s0e(h,d.options,c,o,l,u)))return null;b(d,y,P),yield*i0e(h,d)}return h}}function*s0e(e,t,r,n,s,i){if(t.extends===void 0)return!0;let a=yield*(0,Hl.loadConfig)(t.extends,r,n.envName,n.caller);if(s.has(a))throw new Error(`Configuration cycle detected loading ${a.filepath}.
176
- File already loaded following the config chain:
177
- `+Array.from(s,l=>` - ${l.filepath}`).join(`
178
- `));s.add(a);let o=yield*Qb(Yye(a),n,s,i);return s.delete(a),o?(ro(e,o),!0):!1}function ro(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*i0e(e,{options:t,plugins:r,presets:n}){return e.options.push(t),e.plugins.push(...yield*r()),e.presets.push(...yield*n()),e}function mp(){return{options:[],presets:[],plugins:[],files:new Set}}function DO(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 yp(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 hp({options:e},t,r,n){return(e.test===void 0||zb(r,e.test,t,n))&&(e.include===void 0||zb(r,e.include,t,n))&&(e.exclude===void 0||!zb(r,e.exclude,t,n))}function zb(e,t,r,n){let s=Array.isArray(t)?t:[t];return Zb(e,s,r,n)}function PO(e,t){return t instanceof RegExp?String(t):t}function IO(e,t,r,n){if(t&&Zb(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,PO)}\` from "${n}"`;return xO(a),e.showConfig&&console.log(a),!0}if(r&&!Zb(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,PO)}\` from "${n}"`;return xO(a),e.showConfig&&console.log(a),!0}return!1}function Zb(e,t,r,n){return t.some(s=>OO(s,r,e.filename,e,n))}function OO(e,t,r,n,s){if(typeof e=="function")return!!(0,Rye.endHiddenCallStack)(e)(r,{dirname:t,envName:n.envName,caller:n.caller});if(typeof r!="string")throw new jye.default("Configuration contains string/RegExp pattern, but no filename was passed to Babel",s);return typeof e=="string"&&(e=(0,wO.default)(e,t)),e.test(r)}});var _O=E(oE=>{"use strict";Object.defineProperty(oE,"__esModule",{value:!0});oE.validatePluginObject=u0e;var Cs=Vb(),a0e={name:Cs.assertString,manipulateOptions:Cs.assertFunction,pre:Cs.assertFunction,post:Cs.assertFunction,inherits:Cs.assertFunction,visitor:o0e,parserOverride:Cs.assertFunction,generatorOverride:Cs.assertFunction};function o0e(e,t){let r=(0,Cs.assertObject)(e,t);if(r&&(Object.keys(r).forEach(n=>{n!=="_exploded"&&n!=="_verified"&&l0e(n,r[n])}),r.enter||r.exit))throw new Error(`${(0,Cs.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`);return r}function l0e(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 u0e(e){let t={type:"root",source:"plugin"};return Object.keys(e).forEach(r=>{let n=a0e[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 uE=E(lE=>{"use strict";Object.defineProperty(lE,"__esModule",{value:!0});lE.getEnv=c0e;function c0e(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}});var cE=E(vp=>{"use strict";Object.defineProperty(vp,"__esModule",{value:!0});vp.default=BO;vp.loadPartialConfig=v0e;function gp(){let e=me("path");return gp=function(){return e},e}var f0e=Rf(),p0e=xf(),NO=Ul(),d0e=aE(),h0e=uE(),m0e=Kl(),bp=Vl(),y0e=Rb(),g0e=["showIgnoredFiles"];function b0e(e,t){if(e==null)return{};var r={},n=Object.keys(e),s,i;for(i=0;i<n.length;i++)s=n[i],!(t.indexOf(s)>=0)&&(r[s]=e[s]);return r}function E0e(e,t){switch(t){case"root":return e;case"upward-optional":{let r=(0,bp.findConfigUpwards)(e);return r===null?e:r}case"upward":{let r=(0,bp.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}".
179
- One of the following config files must be in the directory tree: "${bp.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error("Assertion failure - unknown rootMode value.")}}function*BO(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,m0e.validate)("arguments",e):{},{envName:r=(0,h0e.getEnv)(),cwd:n=".",root:s=".",rootMode:i="root",caller:a,cloneInputAst:o=!0}=t,l=gp().resolve(n),u=E0e(gp().resolve(l,s),i),c=typeof t.filename=="string"?gp().resolve(n,t.filename):void 0,f=yield*(0,bp.resolveShowConfigPath)(l),p={filename:c,cwd:l,root:u,envName:r,caller:a,showConfig:f===c},h=yield*(0,d0e.buildRootChain)(t,p);if(!h)return null;let b={assumptions:{}};return h.options.forEach(y=>{(0,p0e.mergeOptions)(b,y)}),{options:Object.assign({},b,{targets:(0,y0e.resolveTargets)(b,u),cloneInputAst:o,babelrc:!1,configFile:!1,browserslistConfigFile:!1,passPerPreset:!1,envName:p.envName,cwd:p.cwd,root:p.root,rootMode:"root",filename:typeof p.filename=="string"?p.filename:void 0,plugins:h.plugins.map(y=>(0,NO.createItemFromDescriptor)(y)),presets:h.presets.map(y=>(0,NO.createItemFromDescriptor)(y))}),context:p,fileHandling:h.fileHandling,ignore:h.ignore,babelrc:h.babelrc,config:h.config,files:h.files}}function*v0e(e){let t=!1;if(typeof e=="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r),e=b0e(r,g0e)}let n=yield*BO(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 f0e.default)throw new Error("Passing cached plugin instances is not supported in babel.loadPartialConfig()")}),new Ep(s,i?i.filepath:void 0,a?a.filepath:void 0,o?o.filepath:void 0,l,u))}var Ep=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(Ep.prototype)});var VO=E(Tp=>{"use strict";Object.defineProperty(Tp,"__esModule",{value:!0});Tp.default=void 0;function RO(){let e=Jr();return RO=function(){return e},e}var dE=Ua(),FO=xf(),T0e=Qt(),jO=Rf(),S0e=Ul(),x0e=aE(),yE=kf();function hE(){let e=rr();return hE=function(){return e},e}var gE=Ui(),mE=Kl(),P0e=_O(),MO=eb(),A0e=cE(),C0e=Vi(),dDe=Tp.default=RO()(function*(t){var r;let n=yield*(0,A0e.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}),f=B=>{let F=(0,S0e.getItemDescriptor)(B);if(!F)throw new Error("Assertion failure - must be config item");return F},p=u.map(f),h=l.map(f),b=[[]],d=[],y=[];if(yield*kO(i,function*B(F,j){let W=[];for(let G=0;G<F.length;G++){let V=F[G];if(V.options!==!1){try{var re=yield*N0e(V,c)}catch(R){throw R.code==="BABEL_UNKNOWN_OPTION"&&(0,mE.checkNoUnwrappedItemOptionPairs)(F,G,"preset",R),R}y.push(re.externalDependencies),V.ownPass?W.push({preset:re.chain,pass:[]}):W.unshift({preset:re.chain,pass:j})}}if(W.length>0){b.splice(1,0,...W.map(G=>G.pass).filter(G=>G!==j));for(let{preset:G,pass:V}of W){if(!G||(V.push(...G.plugins),yield*B(G.presets,V)))return!0;G.options.forEach(H=>{(0,FO.mergeOptions)(o,H)})}}})(p,b[0]))return null;let D=o;(0,FO.mergeOptions)(D,s);let N=Object.assign({},c,{assumptions:(r=D.assumptions)!=null?r:{}});return yield*kO(i,function*(){b[0].unshift(...h);for(let j of b){let W=[];d.push(W);for(let re=0;re<j.length;re++){let G=j[re];if(G.options!==!1){try{var F=yield*UO(G,N)}catch(V){throw V.code==="BABEL_UNKNOWN_PLUGIN_PROPERTY"&&(0,mE.checkNoUnwrappedItemOptionPairs)(j,re,"plugin",V),V}W.push(F),y.push(F.externalDependencies)}}}})(),D.plugins=d[0],D.presets=d.slice(1).filter(B=>B.length>0).map(B=>({plugins:B})),D.passPerPreset=D.presets.length>0,{options:D,passes:d,externalDependencies:(0,yE.finalize)(y)}});function kO(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 qO=e=>(0,gE.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,dE.maybeAsync)(t,"You appear to be using an async plugin/preset, but Babel has been called synchronously"),u=Object.assign({},T0e,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,dE.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()\`
180
- (While processing: ${JSON.stringify(s)})`,new Error(l)}return{value:o,options:r,dirname:n,alias:s,externalDependencies:(0,yE.finalize)(a)}}),w0e=qO(MO.makePluginAPI),D0e=qO(MO.makePresetAPI),I0e=(0,gE.makeWeakCache)(function*({value:e,options:t,dirname:r,alias:n,externalDependencies:s},i){let a=(0,P0e.validatePluginObject)(e),o=Object.assign({},a);if(o.visitor&&(o.visitor=hE().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,dE.forwardAsync)(UO,c=>i.invalidate(f=>c(l,f)));o.pre=pE(u.pre,o.pre),o.post=pE(u.post,o.post),o.manipulateOptions=pE(u.manipulateOptions,o.manipulateOptions),o.visitor=hE().default.visitors.merge([u.visitor||{},o.visitor||{}]),u.externalDependencies.length>0&&(s.length===0?s=u.externalDependencies:s=(0,yE.finalize)([s,u.externalDependencies]))}return new jO.default(o,t,n,s)});function*UO(e,t){if(e.value instanceof jO.default){if(e.options)throw new Error("Passed options to an existing Plugin instance will not work.");return e.value}return yield*I0e(yield*w0e(e,t),t)}var fE=e=>e&&typeof e!="function",LO=(e,t)=>{if(fE(e.test)||fE(e.include)||fE(e.exclude)){let r=t.name?`"${t.name}"`:"/* your preset */";throw new C0e.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(`
181
- `))}},O0e=(e,t,r)=>{if(!t.filename){var n;let{options:s}=e;LO(s,r),(n=s.overrides)==null||n.forEach(i=>LO(i,r))}},_0e=(0,gE.makeWeakCacheSync)(({value:e,dirname:t,alias:r,externalDependencies:n})=>({options:(0,mE.validate)("preset",e),alias:r,dirname:t,externalDependencies:n}));function*N0e(e,t){let r=_0e(yield*D0e(e,t));return O0e(r,t,e),{chain:yield*(0,x0e.buildPresetChain)(r,t),externalDependencies:r.externalDependencies}}function pE(e,t){let r=[e,t].filter(Boolean);return r.length<=1?r[0]:function(...n){for(let s of r)s.apply(this,n)}}});var so=E(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.createConfigItem=U0e;yn.createConfigItemAsync=q0e;yn.createConfigItemSync=GO;Object.defineProperty(yn,"default",{enumerable:!0,get:function(){return $O.default}});yn.loadOptions=M0e;yn.loadOptionsAsync=j0e;yn.loadOptionsSync=KO;yn.loadPartialConfig=L0e;yn.loadPartialConfigAsync=k0e;yn.loadPartialConfigSync=WO;function Ap(){let e=Jr();return Ap=function(){return e},e}var $O=VO(),B0e=cE(),F0e=Ul(),mn=bs(),Sp=Ap()(B0e.loadPartialConfig);function k0e(...e){return(0,mn.beginHiddenCallStack)(Sp.async)(...e)}function WO(...e){return(0,mn.beginHiddenCallStack)(Sp.sync)(...e)}function L0e(e,t){if(t!==void 0)(0,mn.beginHiddenCallStack)(Sp.errback)(e,t);else if(typeof e=="function")(0,mn.beginHiddenCallStack)(Sp.errback)(void 0,e);else return WO(e)}function*R0e(e){var t;let r=yield*(0,$O.default)(e);return(t=r?.options)!=null?t:null}var xp=Ap()(R0e);function j0e(...e){return(0,mn.beginHiddenCallStack)(xp.async)(...e)}function KO(...e){return(0,mn.beginHiddenCallStack)(xp.sync)(...e)}function M0e(e,t){if(t!==void 0)(0,mn.beginHiddenCallStack)(xp.errback)(e,t);else if(typeof e=="function")(0,mn.beginHiddenCallStack)(xp.errback)(void 0,e);else return KO(e)}var Pp=Ap()(F0e.createConfigItem);function q0e(...e){return(0,mn.beginHiddenCallStack)(Pp.async)(...e)}function GO(...e){return(0,mn.beginHiddenCallStack)(Pp.sync)(...e)}function U0e(e,t,r){if(r!==void 0)(0,mn.beginHiddenCallStack)(Pp.errback)(e,t,r);else if(typeof t=="function")(0,mn.beginHiddenCallStack)(Pp.errback)(e,void 0,r);else return GO(e,t)}});var HO=E(Cp=>{"use strict";Object.defineProperty(Cp,"__esModule",{value:!0});Cp.default=void 0;var Yl=class{constructor(t,r,n){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.key=r,this.file=t,this.opts=n||{},this.cwd=t.opts.cwd,this.filename=t.opts.filename}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)}};Cp.default=Yl;Yl.prototype.getModuleName=function(){return this.file.getModuleName()},Yl.prototype.addImport=function(){this.file.addImport()}});var QO=E(EE=>{"use strict";Object.defineProperty(EE,"__esModule",{value:!0});EE.default=$0e;function JO(){let e=rr();return JO=function(){return e},e}var V0e=Rf(),bE,XO={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){e.body=YO(e.body)}},SwitchCase:{exit({node:e}){e.consequent=YO(e.consequent)}}}};function YO(e){let t=Math.pow(2,30)-1,r=!1;for(let n=0;n<e.length;n++){let s=e[n],i=zO(s);if(i>t){r=!0;break}t=i}return r?W0e(e.slice()):e}function $0e(){return bE||(bE=new V0e.default(Object.assign({},XO,{visitor:JO().default.explode(XO.visitor)}),{})),bE}function zO(e){let t=e?._blockHoist;return t==null?1:t===!0?2:t}function W0e(e){let t=Object.create(null);for(let s=0;s<e.length;s++){let i=e[s],a=zO(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 TE=E(vE=>{"use strict";Object.defineProperty(vE,"__esModule",{value:!0});vE.default=K0e;function wp(){let e=me("path");return wp=function(){return e},e}function K0e(e){let{filename:t,cwd:r,filenameRelative:n=typeof t=="string"?wp().relative(r,t):"unknown",sourceType:s="module",inputSourceMap:i,sourceMaps:a=!!i,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=wp().basename(n),comments:u=!0,compact:c="auto"}=e.options,f=e.options,p=Object.assign({},f,{parserOpts:Object.assign({sourceType:wp().extname(n)===".mjs"?"module":s,sourceFileName:t,plugins:[]},f.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:f.auxiliaryCommentBefore,auxiliaryCommentAfter:f.auxiliaryCommentAfter,retainLines:f.retainLines,comments:u,shouldPrintComment:f.shouldPrintComment,compact:c,minified:f.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},f.generatorOpts)});for(let h of e.passes)for(let b of h)b.manipulateOptions&&b.manipulateOptions(p,p.parserOpts);return p}});var SE=E(Ht=>{"use strict";Object.defineProperty(Ht,"commentRegex",{get:function(){return/^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/mg}});Object.defineProperty(Ht,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/mg}});var Dp;typeof Buffer<"u"?typeof Buffer.from=="function"?Dp=G0e:Dp=H0e:Dp=X0e;function G0e(e){return Buffer.from(e,"base64").toString()}function H0e(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 X0e(e){return decodeURIComponent(escape(atob(e)))}function Y0e(e){return e.split(",").pop()}function J0e(e,t){var r=Ht.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+`
182
- `+i.stack)}}function xr(e,t){t=t||{},t.hasComment&&(e=Y0e(e)),t.encoding==="base64"?e=Dp(e):t.encoding==="uri"&&(e=decodeURIComponent(e)),(t.isJSON||t.encoding)&&(e=JSON.parse(e)),this.sourcemap=e}xr.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)};typeof Buffer<"u"?typeof Buffer.from=="function"?xr.prototype.toBase64=z0e:xr.prototype.toBase64=Q0e:xr.prototype.toBase64=Z0e;function z0e(){var e=this.toJSON();return Buffer.from(e,"utf8").toString("base64")}function Q0e(){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 Z0e(){var e=this.toJSON();return btoa(unescape(encodeURIComponent(e)))}xr.prototype.toURI=function(){var e=this.toJSON();return encodeURIComponent(e)};xr.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};xr.prototype.toObject=function(){return JSON.parse(this.toJSON())};xr.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)};xr.prototype.setProperty=function(e,t){return this.sourcemap[e]=t,this};xr.prototype.getProperty=function(e){return this.sourcemap[e]};Ht.fromObject=function(e){return new xr(e)};Ht.fromJSON=function(e){return new xr(e,{isJSON:!0})};Ht.fromURI=function(e){return new xr(e,{encoding:"uri"})};Ht.fromBase64=function(e){return new xr(e,{encoding:"base64"})};Ht.fromComment=function(e){var t,r;return e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),t=Ht.commentRegex.exec(e),r=t&&t[4]||"uri",new xr(e,{encoding:r,hasComment:!0})};function ZO(e){return new xr(e,{isJSON:!0})}Ht.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=J0e(e,t);return r!=null&&typeof r.then=="function"?r.then(ZO):ZO(r)};Ht.fromSource=function(e){var t=e.match(Ht.commentRegex);return t?Ht.fromComment(t.pop()):null};Ht.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(Ht.mapFileCommentRegex);return r?Ht.fromMapFileComment(r.pop(),t):null};Ht.removeComments=function(e){return e.replace(Ht.commentRegex,"")};Ht.removeMapFileComments=function(e){return e.replace(Ht.mapFileCommentRegex,"")};Ht.generateMapFileComment=function(e,t){var r="sourceMappingURL="+e;return t&&t.multiline?"/*# "+r+" */":"//# "+r}});var r_=E(xE=>{"use strict";Object.defineProperty(xE,"__esModule",{value:!0});xE.default=ege;var t_={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"}},importAttributes:{syntax:{name:"@babel/plugin-syntax-import-attributes",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes"}},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(t_,{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"}},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 e_=({name:e,url:t})=>`${e} (${t})`;function ege(e,t,r,n){let s=`Support for the experimental syntax '${e}' isn't currently enabled (${t.line}:${t.column+1}):
183
-
184
- `+r,i=t_[e];if(i){let{syntax:o,transform:l}=i;if(o){let u=e_(o);if(l){let c=e_(l),f=l.name.startsWith("@babel/plugin")?"plugins":"presets";s+=`
185
-
186
- Add ${c} to the '${f}' section of your Babel config to enable transformation.
187
- If you want to leave it as-is, add ${u} to the 'plugins' section to enable parsing.`}else s+=`
188
-
189
- Add ${u} to the 'plugins' section of your Babel config to enable parsing.`}}return s+=`
190
-
191
- If you already added the plugin for this syntax to your config, it's possible that your config isn't being loaded.
192
- You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:
193
- npx cross-env BABEL_SHOW_CONFIG_FOR=${n==="unknown"?"<name of the input file>":n} <your build command>
194
- See https://babeljs.io/docs/configuration#print-effective-configs for more info.
195
- `,s}});var CE=E(AE=>{"use strict";Object.defineProperty(AE,"__esModule",{value:!0});AE.default=rge;function PE(){let e=Jo();return PE=function(){return e},e}function n_(){let e=el();return n_=function(){return e},e}var tge=r_();function*rge(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,PE().parse);u!==void 0&&i.push(u)}}if(i.length===0)return(0,PE().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+=`
196
- 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,n_().codeFrameColumns)(s,{start:{line:a.line,column:a.column+1}},{highlightCode:r});o?i.message=`${n}: `+(0,tge.default)(o[0],a,l,n):i.message=`${n}: ${i.message}
197
-
198
- `+l,i.code="BABEL_PARSE_ERROR"}throw i}}});var s_=E(DE=>{"use strict";Object.defineProperty(DE,"__esModule",{value:!0});DE.default=nge;function wE(e,t){if(e!==null){if(t.has(e))return t.get(e);let r;if(Array.isArray(e)){r=new Array(e.length),t.set(e,r);for(let n=0;n<e.length;n++)r[n]=typeof e[n]!="object"?e[n]:wE(e[n],t)}else{r={},t.set(e,r);let n=Object.keys(e);for(let s=0;s<n.length;s++){let i=n[s];r[i]=typeof e[i]!="object"?e[i]:wE(e[i],t)}}return r}return e}function nge(e){return typeof e!="object"?e:wE(e,new Map)}});var c_=E(NE=>{"use strict";Object.defineProperty(NE,"__esModule",{value:!0});NE.default=cge;function o_(){let e=me("fs");return o_=function(){return e},e}function _E(){let e=me("path");return _E=function(){return e},e}function l_(){let e=Pi();return l_=function(){return e},e}function u_(){let e=Be();return u_=function(){return e},e}function Ip(){let e=SE();return Ip=function(){return e},e}var sge=wg(),ige=CE(),age=s_(),{file:oge,traverseFast:lge}=u_(),IE=l_()("babel:transform:file"),uge=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,.*$/,i_=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function*cge(e,t,r,n){if(r=`${r||""}`,n){if(n.type==="Program")n=oge(n,[],[]);else if(n.type!=="File")throw new Error("AST root must be a Program or File node");t.cloneInputAst&&(n=(0,age.default)(n))}else n=yield*(0,ige.default)(e,t,r);let s=null;if(t.inputSourceMap!==!1){if(typeof t.inputSourceMap=="object"&&(s=Ip().fromObject(t.inputSourceMap)),!s){let i=a_(uge,n);if(i)try{s=Ip().fromComment("//"+i)}catch{IE("discarding unknown inline input sourcemap")}}if(!s){let i=a_(i_,n);if(typeof t.filename=="string"&&i)try{let a=i_.exec(i),o=o_().readFileSync(_E().resolve(_E().dirname(t.filename),a[1]),"utf8");s=Ip().fromJSON(o)}catch(a){IE("discarding unknown file input sourcemap",a)}else i&&IE("discarding un-loadable file input sourcemap")}}return new sge.default(t,{code:r,ast:n,inputMap:s})}function OE(e,t,r){return t&&(t=t.filter(({value:n})=>e.test(n)?(r=n,!1):!0)),[t,r]}function a_(e,t){let r=null;return lge(t,n=>{[n.leadingComments,r]=OE(e,n.leadingComments,r),[n.innerComments,r]=OE(e,n.innerComments,r),[n.trailingComments,r]=OE(e,n.trailingComments,r)}),r}});var f_=E((BE,FE)=>{(function(e,t){typeof BE=="object"&&typeof FE<"u"?FE.exports=t(Ac(),Gy()):typeof define=="function"&&define.amd?define(["@jridgewell/trace-mapping","@jridgewell/gen-mapping"],t):(e=typeof globalThis<"u"?globalThis:e||self,e.remapping=t(e.traceMapping,e.genMapping))})(BE,function(e,t){"use strict";let r=s("",-1,-1,"",null,!1),n=[];function s(d,y,P,D,N,B){return{source:d,line:y,column:P,name:D,content:N,ignore:B}}function i(d,y,P,D,N){return{map:d,sources:y,source:P,content:D,ignore:N}}function a(d,y){return i(d,y,"",null,!1)}function o(d,y,P){return i(null,n,d,y,P)}function l(d){let y=new t.GenMapping({file:d.map.file}),{sources:P,map:D}=d,N=D.names,B=e.decodedMappings(D);for(let F=0;F<B.length;F++){let j=B[F];for(let W=0;W<j.length;W++){let re=j[W],G=re[0],V=r;if(re.length!==1){let ue=P[re[1]];if(V=u(ue,re[2],re[3],re.length===5?N[re[4]]:""),V==null)continue}let{column:R,line:H,name:ge,content:fe,source:ne,ignore:te}=V;t.maybeAddSegment(y,F,G,ne,H,R,ge),ne&&fe!=null&&t.setSourceContent(y,ne,fe),te&&t.setIgnore(y,ne,!0)}}return y}function u(d,y,P,D){if(!d.map)return s(d.source,y,P,D,d.content,d.ignore);let N=e.traceSegment(d.map,y,P);return N==null?null:N.length===1?r:u(d.sources[N[1]],N[2],N[3],N.length===5?d.map.names[N[4]]:D)}function c(d){return Array.isArray(d)?d:[d]}function f(d,y){let P=c(d).map(B=>new e.TraceMap(B,"")),D=P.pop();for(let B=0;B<P.length;B++)if(P[B].sources.length>1)throw new Error(`Transformation map ${B} must have exactly one source file.
199
- Did you specify these with the most recent transformation maps first?`);let N=p(D,y,"",0);for(let B=P.length-1;B>=0;B--)N=a(P[B],[N]);return N}function p(d,y,P,D){let{resolvedSources:N,sourcesContent:B,ignoreList:F}=d,j=D+1,W=N.map((re,G)=>{let V={importer:P,depth:j,source:re||"",content:void 0,ignore:void 0},R=y(V.source,V),{source:H,content:ge,ignore:fe}=V;if(R)return p(new e.TraceMap(R,H),y,H,j);let ne=ge!==void 0?ge:B?B[G]:null,te=fe!==void 0?fe:F?F.includes(G):!1;return o(H,ne,te)});return a(d,W)}class h{constructor(y,P){let D=P.decodedMappings?t.toDecodedMap(y):t.toEncodedMap(y);this.version=D.version,this.file=D.file,this.mappings=D.mappings,this.names=D.names,this.ignoreList=D.ignoreList,this.sourceRoot=D.sourceRoot,this.sources=D.sources,P.excludeContent||(this.sourcesContent=D.sourcesContent)}toString(){return JSON.stringify(this)}}function b(d,y,P){let D=typeof P=="object"?P:{excludeContent:!!P,decodedMappings:!1},N=f(d,y);return new h(l(N),D)}return b})});var h_=E(kE=>{"use strict";Object.defineProperty(kE,"__esModule",{value:!0});kE.default=fge;function d_(){let e=f_();return d_=function(){return e},e}function fge(e,t,r){let n=r.replace(/\\/g,"/"),s=!1,i=d_()(p_(t),(a,o)=>a===n&&!s?(s=!0,o.source="",p_(e)):null);return typeof e.sourceRoot=="string"&&(i.sourceRoot=e.sourceRoot),Object.assign({},i)}function p_(e){return Object.assign({},e,{sourceRoot:null})}});var y_=E(RE=>{"use strict";Object.defineProperty(RE,"__esModule",{value:!0});RE.default=dge;function m_(){let e=SE();return m_=function(){return e},e}function LE(){let e=Mc();return LE=function(){return e},e}var pge=h_();function dge(e,t){let{opts:r,ast:n,code:s,inputMap:i}=t,{generatorOpts:a}=r;a.inputSourceMap=i?.toObject();let o=[];for(let f of e)for(let p of f){let{generatorOverride:h}=p;if(h){let b=h(n,a,s,LE().default);b!==void 0&&o.push(b)}}let l;if(o.length===0)l=(0,LE().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,pge.default)(i.toObject(),c,a.sourceFileName):c=l.map),(r.sourceMaps==="inline"||r.sourceMaps==="both")&&(u+=`
200
- `+m_().fromObject(c).toComment()),r.sourceMaps==="inline"&&(c=null),{outputCode:u,outputMap:c}}});var Op=E(ME=>{"use strict";Object.defineProperty(ME,"__esModule",{value:!0});ME.run=vge;function jE(){let e=rr();return jE=function(){return e},e}var hge=HO(),mge=QO(),yge=TE(),gge=c_(),bge=y_(),Ege=kf();function*vge(e,t,r){let n=yield*(0,gge.default)(e.passes,(0,yge.default)(e),t,r),s=n.opts;try{yield*Tge(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,bge.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,Ege.flattenToSet)(e.externalDependencies)}}function*Tge(e,t){for(let r of t){let n=[],s=[],i=[];for(let o of r.concat([(0,mge.default)()])){let l=new hge.default(e,o.key,o.options);n.push([o,l]),s.push(l),i.push(o.visitor)}for(let[o,l]of n){let u=o.pre;if(u){let c=u.call(l,e);if(yield*[],g_(c))throw new Error("You appear to be using an plugin with an async .pre, 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.")}}let a=jE().default.visitors.merge(i,s,e.opts.wrapPluginVisitorMethod);(0,jE().default)(e.ast,a,e.scope);for(let[o,l]of n){let u=o.post;if(u){let c=u.call(l,e);if(yield*[],g_(c))throw new Error("You appear to be using an plugin with an async .post, 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.")}}}}function g_(e){return!!e&&(typeof e=="object"||typeof e=="function")&&!!e.then&&typeof e.then=="function"}});var UE=E(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});Jl.transformFile=Age;Jl.transformFileAsync=wge;Jl.transformFileSync=Cge;function b_(){let e=Jr();return b_=function(){return e},e}var Sge=so(),xge=Op(),Pge=Af(),qE=b_()(function*(e,t){let r=Object.assign({},t,{filename:e}),n=yield*(0,Sge.default)(r);if(n===null)return null;let s=yield*Pge.readFile(e,"utf8");return yield*(0,xge.run)(n,s)});function Age(...e){qE.errback(...e)}function Cge(...e){return qE.sync(...e)}function wge(...e){return qE.async(...e)}});var v_=E((DDe,E_)=>{E_.exports=function(t){return import(t)}});var T_=E((IDe,Dge)=>{Dge.exports={name:"@babel/preset-typescript",version:"7.24.7",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.24.7","@babel/helper-validator-option":"^7.24.7","@babel/plugin-syntax-jsx":"^7.24.7","@babel/plugin-transform-modules-commonjs":"^7.24.7","@babel/plugin-transform-typescript":"^7.24.7"},peerDependencies:{"@babel/core":"^7.0.0-0"},devDependencies:{"@babel/core":"^7.24.7","@babel/helper-plugin-test-runner":"^7.24.7"},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 io=E(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});zl.declare=S_;zl.declarePreset=void 0;var VE={assertVersion:e=>t=>{Oge(t,e.version)}};Object.assign(VE,{targets:()=>()=>({}),assumption:()=>()=>{}});function S_(e){return(t,r,n)=>{var s;let i;for(let o of Object.keys(VE)){var a;t[o]||((a=i)!=null||(i=Ige(t)),i[o]=VE[o](i))}return e((s=i)!=null?s:t,r||{},n)}}var ODe=zl.declarePreset=S_;function Ige(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 Oge(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 x_=E(_p=>{"use strict";Object.defineProperty(_p,"__esModule",{value:!0});_p.default=void 0;var _ge=io();$E=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 $E,NDe=_p.default=(0,_ge.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;$E(o,"flow"),$E(o,"jsx"),o.push("objectRestSpread","classProperties"),s&&o.push("jsx")}a.plugins.push(["typescript",{disallowAmbiguousJSXLike:r,dts:n}])}}})});var XE=E(HE=>{"use strict";Object.defineProperty(HE,"__esModule",{value:!0});var Nge=Be();function Bge(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 Fge=Bge(Nge);function KE(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 KE(n)}if(n.isSequenceExpression()){let{expressions:s}=n.node;return s[s.length-1]===r?KE(n):!0}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}var{LOGICAL_OPERATORS:kge,arrowFunctionExpression:P_,assignmentExpression:ao,binaryExpression:zi,booleanLiteral:Lge,callExpression:Fp,cloneNode:gn,conditionalExpression:Rge,identifier:I_,isMemberExpression:jge,isOptionalCallExpression:Mge,isOptionalMemberExpression:O_,isUpdateExpression:qge,logicalExpression:Bp,memberExpression:A_,nullLiteral:Np,optionalCallExpression:Uge,optionalMemberExpression:Vge,sequenceExpression:WE,updateExpression:C_}=Fge,GE=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?ao("=",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(O_(r))return A_(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(ao("=",i,s)),Fp(A_(t,I_("call")),[i,...e.node.arguments])}return Fp(t,e.node.arguments)}return e.node}function $ge(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 Wge={memoise(){},handle(e,t){let{node:r,parent:n,parentPath:s,scope:i}=e;if(e.isOptionalMemberExpression()){if($ge(e))return;let a=e.find(({node:W,parent:re})=>O_(re)?re.optional||re.object!==W:Mge(re)?W!==e.node&&re.optional||re.callee!==W:!0);if(i.path.isPattern()){a.replaceWith(Fp(P_([],a.node),[]));return}let o=KE(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 f=e;for(;;){if(f.isOptionalMemberExpression()){if(f.node.optional)break;f=f.get("object");continue}else if(f.isOptionalCallExpression()){if(f.node.optional)break;f=f.get("callee");continue}throw new Error(`Internal error: unexpected ${f.node.type}`)}let p=f.isOptionalMemberExpression()?f.node.object:f.node.callee,h=i.maybeGenerateMemoised(p),b=h??p,d=s.isOptionalCallExpression({callee:r}),y=W=>d,P=s.isCallExpression({callee:r});f.replaceWith(w_(f,b)),y()?n.optional?s.replaceWith(this.optionalCall(e,n.arguments)):s.replaceWith(this.call(e,n.arguments)):P?e.replaceWith(this.boundGet(e)):this.delete&&s.isUnaryExpression({operator:"delete"})?s.replaceWith(this.delete(e)):s.isAssignmentExpression()?D_(this,e,s):e.replaceWith(this.get(e));let D=e.node;for(let W=e;W!==a;){let re=W.parentPath;if(re===a&&y()&&n.optional){D=re.node;break}D=w_(re,D),W=re}let N,B=a.parentPath;if(jge(D)&&B.isOptionalCallExpression({callee:a.node,optional:!0})){let{object:W}=D;N=e.scope.maybeGenerateMemoised(W),N&&(D.object=ao("=",N,W))}let F=a;(c||u)&&(F=B,D=B.node);let j=h?ao("=",gn(b),gn(p)):gn(b);if(o){let W;t?W=zi("!=",j,Np()):W=Bp("&&",zi("!==",j,Np()),zi("!==",gn(b),i.buildUndefinedNode())),F.replaceWith(Bp("&&",W,D))}else{let W;t?W=zi("==",j,Np()):W=Bp("||",zi("===",j,Np()),zi("===",gn(b),i.buildUndefinedNode())),F.replaceWith(Rge(W,c?Lge(!0):i.buildUndefinedNode(),D))}if(N){let W=B.node;B.replaceWith(Uge(Vge(W.callee,I_("call"),!1,!0),[gn(N),...W.arguments],!1))}return}if(qge(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=[ao("=",gn(l),this.get(e))];if(o){u.push(C_(a,gn(l),o));let c=WE(u);s.replaceWith(this.set(e,c));return}else{let c=i.generateUidIdentifierBasedOnNode(r);i.push({id:c}),u.push(ao("=",gn(c),C_(a,gn(l),o)),gn(l));let f=WE(u);s.replaceWith(WE([this.set(e,f),gn(c)]));return}}if(s.isAssignmentExpression({left:r})){D_(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(Fp(P_([],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 D_(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);kge.includes(i)?(e.memoise(t,1),r.replaceWith(Bp(i,e.get(t),e.set(t,s)))):(e.memoise(t,2),r.replaceWith(e.set(t,zi(i,e.get(t),s))))}}function Kge(e,t,r){e.traverse(t,Object.assign({},Wge,r,{memoiser:new GE}))}HE.default=Kge});var JE=E(YE=>{"use strict";Object.defineProperty(YE,"__esModule",{value:!0});YE.default=Yge;var Gge=Be(),{callExpression:__,identifier:kp,isIdentifier:Hge,isSpreadElement:Xge,memberExpression:N_,optionalCallExpression:B_,optionalMemberExpression:F_}=Gge;function Yge(e,t,r,n){return r.length===1&&Xge(r[0])&&Hge(r[0].argument,{name:"arguments"})?n?B_(F_(e,kp("apply"),!1,!0),[t,r[0].argument],!1):__(N_(e,kp("apply")),[t,r[0].argument]):n?B_(F_(e,kp("call"),!1,!0),[t,...r],!1):__(N_(e,kp("call")),[t,...r])}});var Rp=E(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.default=void 0;var Jge=XE(),Lp=JE(),Pr=Qt(),QE=rr(),{assignmentExpression:zge,callExpression:ws,cloneNode:gr,identifier:oo,memberExpression:Qi,sequenceExpression:Zi,stringLiteral:L_,thisExpression:Ar}=Pr.types;lo.environmentVisitor=QE.visitors.environmentVisitor({}),lo.skipAllButComputedKey=function(t){t.skip(),t.node.computed&&t.context.maybeQueue(t.get("key"))};var k_=QE.visitors.environmentVisitor({Super(e,t){let{node:r,parentPath:n}=e;n.isMemberExpression({object:r})&&t.handle(n)}}),Qge=QE.visitors.environmentVisitor({Scopable(e,{refName:t}){let r=e.scope.getOwnBinding(t);r&&r.identifier.name===t&&e.scope.rename(t)}}),R_={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)?gr(this.memoiser.get(r)):t?gr(r):L_(r.name)},_getPrototypeOfExpression(){let e=gr(this.getObjectRef()),t=this.isStatic||this.isPrivateMethod?e:Qi(e,oo("prototype"));return ws(this.file.addHelper("getPrototypeOf"),[t])},get(e){let t=gr(this.getObjectRef());return ws(this.file.addHelper("superPropGet"),[this.isDerivedConstructor?Zi([Ar(),t]):t,this.prop(e),Ar(),...this.isStatic||this.isPrivateMethod?[]:[Pr.types.numericLiteral(1)]])},_call(e,t,r){let n=gr(this.getObjectRef()),s;t.length===1&&Pr.types.isSpreadElement(t[0])&&(Pr.types.isIdentifier(t[0].argument)||Pr.types.isArrayExpression(t[0].argument))?s=t[0].argument:s=Pr.types.arrayExpression(t);let i=Pr.types.callExpression(this.file.addHelper("superPropGet"),[this.isDerivedConstructor?Zi([Ar(),n]):n,this.prop(e),Ar(),Pr.types.numericLiteral(2|(this.isStatic||this.isPrivateMethod?0:1))]);return r?Pr.types.optionalCallExpression(i,[s],!0):ws(i,[s])},set(e,t){let r=gr(this.getObjectRef());return ws(this.file.addHelper("superPropSet"),[this.isDerivedConstructor?Zi([Ar(),r]):r,this.prop(e),t,Ar(),Pr.types.numericLiteral(e.isInStrictMode()?1:0),...this.isStatic||this.isPrivateMethod?[]:[Pr.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?Zi([ws(this.file.addHelper("toPropertyKey"),[gr(e.node.property)]),Pr.template.expression.ast`
201
- function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
202
- `]):Pr.template.expression.ast`
203
- function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
204
- `}},Zge={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)?gr(this.memoiser.get(r)):t?gr(r):L_(r.name)},_getPrototypeOfExpression(){let e=gr(this.getObjectRef()),t=this.isStatic||this.isPrivateMethod?e:Qi(e,oo("prototype"));return ws(this.file.addHelper("getPrototypeOf"),[t])},get(e){return this._get(e)},_get(e){let t=this._getPrototypeOfExpression();return ws(this.file.addHelper("get"),[this.isDerivedConstructor?Zi([Ar(),t]):t,this.prop(e),Ar()])},set(e,t){let r=this._getPrototypeOfExpression();return ws(this.file.addHelper("set"),[this.isDerivedConstructor?Zi([Ar(),r]):r,this.prop(e),t,Ar(),Pr.types.booleanLiteral(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(e,t){return(0,Lp.default)(this._get(e),Ar(),t,!1)},optionalCall(e,t){return(0,Lp.default)(this._get(e),gr(Ar()),t,!0)},delete(e){return e.node.computed?Zi([ws(this.file.addHelper("toPropertyKey"),[gr(e.node.property)]),Pr.template.expression.ast`
205
- function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
206
- `]):Pr.template.expression.ast`
207
- function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
208
- `}},ebe=Object.assign({},R_,{prop(e){let{property:t}=e.node;return this.memoiser.has(t)?gr(this.memoiser.get(t)):gr(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:Qi(oo("Function"),oo("prototype"))}else{var o;i=Qi((o=r())!=null?o:oo("Object"),oo("prototype"))}return Qi(i,s,n)},set(e,t){let{computed:r}=e.node,n=this.prop(e);return zge("=",Qi(Ar(),n,r),t)},destructureSet(e){let{computed:t}=e.node,r=this.prop(e);return Qi(Ar(),r,t)},call(e,t){return(0,Lp.default)(this.get(e),Ar(),t,!1)},optionalCall(e,t){return(0,Lp.default)(this.get(e),Ar(),t,!0)}}),zE=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 gr(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return gr(this.opts.superRef);if(this.opts.getSuperRef)return gr(this.opts.getSuperRef())}replace(){let{methodPath:t}=this;this.opts.refToPreserve&&t.traverse(Qge,{refName:this.opts.refToPreserve.name});let r=this.constantSuper?ebe:this.file.availableHelper("superPropSet")?R_:Zge;k_.shouldSkip=n=>{if(n.parentPath===t&&(n.parentKey==="decorators"||n.parentKey==="key"))return!0},(0,Jge.default)(t,k_,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))}};lo.default=zE});var jp=E(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});Ql.isTransparentExprWrapper=ZE;Ql.skipTransparentExprWrapperNodes=ube;Ql.skipTransparentExprWrappers=lbe;var tbe=Be(),{isParenthesizedExpression:rbe,isTSAsExpression:nbe,isTSNonNullExpression:sbe,isTSSatisfiesExpression:ibe,isTSTypeAssertion:abe,isTypeCastExpression:obe}=tbe;function ZE(e){return nbe(e)||ibe(e)||abe(e)||sbe(e)||obe(e)||rbe(e)}function lbe(e){for(;ZE(e.node);)e=e.get("expression");return e}function ube(e){for(;ZE(e);)e=e.expression;return e}});var t1=E(e1=>{"use strict";Object.defineProperty(e1,"__esModule",{value:!0});e1.default=hbe;var cbe=Be(),{addComment:fbe}=cbe,pbe="#__PURE__",dbe=({leadingComments:e})=>!!e&&e.some(t=>/[@#]__PURE__/.test(t.value));function hbe(e){let t=e.node||e;dbe(t)||fbe(t,"leading",pbe)}});var n1=E(r1=>{"use strict";Object.defineProperty(r1,"__esModule",{value:!0});r1.assertFieldTransformed=mbe;function mbe(e){if(e.node.declare)throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by @babel/plugin-transform-typescript.
209
- If you have already enabled that plugin (or '@babel/preset-typescript'), make sure that it runs before any plugin related to additional class features:
210
- - @babel/plugin-transform-class-properties
211
- - @babel/plugin-transform-private-methods
212
- - @babel/plugin-proposal-decorators`)}});var l1=E(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.buildCheckInRHS=Up;ai.buildFieldsInitNodes=Mbe;ai.buildPrivateNamesMap=Tbe;ai.buildPrivateNamesNodes=Sbe;ai.privateNameVisitorFactory=o1;ai.transformPrivateNamesUsage=Dbe;var _=Qt(),$_=rr(),ybe=Rp(),gbe=XE(),j_=JE(),bbe=t1(),Ebe=jp(),vbe=n1();Cr=e=>e.availableHelper("classPrivateFieldGet2");var Cr;function Tbe(e,t,r,n){let s=new Map,i;for(let o of r)if(o.isPrivate()){let{name:l}=o.node.key.id,u=s.get(l);if(!u){let c=!o.isProperty(),f=o.node.static,p=!1,h;if(!t&&Cr(n)&&c&&!f){var a;p=!!i,(a=i)!=null||(i=o.scope.generateUidIdentifier(`${e}_brand`)),h=i}else h=o.scope.generateUidIdentifier(l);u={id:h,static:f,method:c,initAdded:p},s.set(l,u)}if(o.isClassPrivateMethod())if(o.node.kind==="get"){let{body:c}=o.node.body,f;c.length===1&&_.types.isReturnStatement(f=c[0])&&_.types.isCallExpression(f=f.argument)&&f.arguments.length===1&&_.types.isThisExpression(f.arguments[0])&&_.types.isIdentifier(f=f.callee)?(u.getId=_.types.cloneNode(f),u.getterDeclared=!0):u.getId=o.scope.generateUidIdentifier(`get_${l}`)}else if(o.node.kind==="set"){let{params:c}=o.node,{body:f}=o.node.body,p;f.length===1&&_.types.isExpressionStatement(p=f[0])&&_.types.isCallExpression(p=p.expression)&&p.arguments.length===2&&_.types.isThisExpression(p.arguments[0])&&_.types.isIdentifier(p.arguments[1],{name:c[0].name})&&_.types.isIdentifier(p=p.callee)?(u.setId=_.types.cloneNode(p),u.setterDeclared=!0):u.setId=o.scope.generateUidIdentifier(`set_${l}`)}else o.node.kind==="method"&&(u.methodId=o.scope.generateUidIdentifier(l));s.set(l,u)}return s}function Sbe(e,t,r,n){let s=[],i=new Set;for(let[a,o]of e){let{static:l,method:u,getId:c,setId:f}=o,p=c||f,h=_.types.cloneNode(o.id),b;if(t)b=_.types.callExpression(n.addHelper("classPrivateFieldLooseKey"),[_.types.stringLiteral(a)]);else if(r)b=_.types.callExpression(_.types.identifier("Symbol"),[_.types.stringLiteral(a)]);else if(!l){if(i.has(h.name))continue;i.add(h.name),b=_.types.newExpression(_.types.identifier(u&&(!p||Cr(n))?"WeakSet":"WeakMap"),[])}b&&(r||(0,bbe.default)(b),s.push(_.template.statement.ast`var ${h} = ${b}`))}return s}function o1(e){let t=$_.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 xbe=o1({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 W_(e,t,r){for(;(n=t)!=null&&n.hasBinding(e)&&!t.bindingIdentifierEquals(e,r);){var n;t.rename(e),t=t.parent}}function Up(e,t,r){return r||!(t.availableHelper!=null&&t.availableHelper("checkInRHS"))?e:_.types.callExpression(t.addHelper("checkInRHS"),[e])}var Pbe=o1({BinaryExpression(e,{file:t}){let{operator:r,left:n,right:s}=e.node;if(r!=="in"||!_.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(W_(this.classRef.name,e.scope,this.innerBinding),i){let{id:f}=a.get(l);e.replaceWith(_.template.expression.ast`
213
- Object.prototype.hasOwnProperty.call(${Up(s,t)}, ${_.types.cloneNode(f)})
214
- `);return}let{id:u,static:c}=a.get(l);if(c){e.replaceWith(_.template.expression.ast`${Up(s,t)} === ${_.types.cloneNode(this.classRef)}`);return}e.replaceWith(_.template.expression.ast`${_.types.cloneNode(u)}.has(${Up(s,t)})`)}});function Mp(e,t){return _.types.callExpression(e.addHelper("readOnlyError"),[_.types.stringLiteral(`#${t}`)])}function Abe(e,t){return e.availableHelper("writeOnlyError")?_.types.callExpression(e.addHelper("writeOnlyError"),[_.types.stringLiteral(`#${t}`)]):(console.warn("@babel/helpers is outdated, update it to silence this warning."),_.types.buildUndefinedNode())}function s1(e,t){return t?e:_.types.memberExpression(e,_.types.identifier("_"))}function M_(e){return function(t){return _.types.inherits(e.apply(this,arguments),t.node)}}var Cbe={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)?_.types.cloneNode(this.memoiser.get(t)):_.types.cloneNode(t)},get:M_(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:f,getId:p,setId:h}=r.get(o),b=p||h,d=y=>_.types.inherits(_.types.cloneNode(y),a);if(u){if(W_(t.name,e.scope,s),!Cr(n)){let D=c&&!b?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";return _.types.callExpression(n.addHelper(D),[this.receiver(e),_.types.cloneNode(t),d(l)])}let y=this.receiver(e),P=_.types.isIdentifier(y)&&y.name===t.name;if(!c)return s1(P?d(l):_.types.callExpression(n.addHelper("assertClassBrand"),[_.types.cloneNode(t),y,d(l)]),i);if(p)return P?_.types.callExpression(d(p),[y]):_.types.callExpression(n.addHelper("classPrivateGetter"),[_.types.cloneNode(t),y,d(p)]);if(h){let D=_.types.buildUndefinedNode();return P?D:_.types.sequenceExpression([_.types.callExpression(n.addHelper("assertClassBrand"),[_.types.cloneNode(t),y]),D])}return P?d(l):_.types.callExpression(n.addHelper("assertClassBrand"),[_.types.cloneNode(t),y,d(l)])}return c?b?p?Cr(n)?_.types.callExpression(n.addHelper("classPrivateGetter"),[_.types.cloneNode(l),this.receiver(e),d(p)]):_.types.callExpression(n.addHelper("classPrivateFieldGet"),[this.receiver(e),d(l)]):_.types.sequenceExpression([this.receiver(e),Abe(n,o)]):Cr(n)?_.types.callExpression(n.addHelper("assertClassBrand"),[_.types.cloneNode(l),this.receiver(e),d(f)]):_.types.callExpression(n.addHelper("classPrivateMethodGet"),[this.receiver(e),_.types.cloneNode(l),d(f)]):Cr(n)?_.types.callExpression(n.addHelper("classPrivateFieldGet2"),[d(l),this.receiver(e)]):_.types.callExpression(n.addHelper("classPrivateFieldGet"),[this.receiver(e),d(l)])}),boundGet(e){return this.memoise(e,1),_.types.callExpression(_.types.memberExpression(this.get(e),_.types.identifier("bind")),[this.receiver(e)])},set:M_(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:f,getId:p}=n.get(o),h=p||f,b=d=>_.types.inherits(_.types.cloneNode(d),a);if(u){if(!Cr(s)){let P=c&&!h?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return _.types.callExpression(s.addHelper(P),[this.receiver(e),_.types.cloneNode(r),b(l),t])}let d=this.receiver(e),y=_.types.isIdentifier(d)&&d.name===r.name;if(c&&!f){let P=Mp(s,o);return y?_.types.sequenceExpression([t,P]):_.types.sequenceExpression([t,_.types.callExpression(s.addHelper("assertClassBrand"),[_.types.cloneNode(r),d]),Mp(s,o)])}return f?y?_.types.callExpression(_.types.cloneNode(f),[d,t]):_.types.callExpression(s.addHelper("classPrivateSetter"),[_.types.cloneNode(r),b(f),d,t]):_.types.assignmentExpression("=",s1(b(l),i),y?t:_.types.callExpression(s.addHelper("assertClassBrand"),[_.types.cloneNode(r),d,t]))}return c?f?Cr(s)?_.types.callExpression(s.addHelper("classPrivateSetter"),[_.types.cloneNode(l),b(f),this.receiver(e),t]):_.types.callExpression(s.addHelper("classPrivateFieldSet"),[this.receiver(e),b(l),t]):_.types.sequenceExpression([this.receiver(e),t,Mp(s,o)]):Cr(s)?_.types.callExpression(s.addHelper("classPrivateFieldSet2"),[b(l),this.receiver(e),t]):_.types.callExpression(s.addHelper("classPrivateFieldSet"),[this.receiver(e),b(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),f=d=>_.types.inherits(_.types.cloneNode(d),i);if(!Cr(n)){if(l){try{var p=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 _.types.memberExpression(_.types.callExpression(p,[this.receiver(e),_.types.cloneNode(t),f(o)]),_.types.identifier("value"))}return _.types.memberExpression(_.types.callExpression(n.addHelper("classPrivateFieldDestructureSet"),[this.receiver(e),f(o)]),_.types.identifier("value"))}if(u&&!c)return _.types.memberExpression(_.types.sequenceExpression([e.node.object,Mp(n,a)]),_.types.identifier("_"));if(l&&!u){let d=this.get(e);if(!s||!_.types.isCallExpression(d))return d;let y=d.arguments.pop();return d.arguments.push(_.template.expression.ast`(_) => ${y} = _`),_.types.memberExpression(_.types.callExpression(n.addHelper("toSetter"),[d]),_.types.identifier("_"))}let h=this.set(e,_.types.identifier("_"));if(!_.types.isCallExpression(h)||!_.types.isIdentifier(h.arguments[h.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 b;return _.types.isMemberExpression(h.callee,{computed:!1})&&_.types.isIdentifier(h.callee.property)&&h.callee.property.name==="call"?b=[h.callee.object,_.types.arrayExpression(h.arguments.slice(1,-1)),h.arguments[0]]:b=[h.callee,_.types.arrayExpression(h.arguments.slice(0,-1))],_.types.memberExpression(_.types.callExpression(n.addHelper("toSetter"),b),_.types.identifier("_"))},call(e,t){return this.memoise(e,1),(0,j_.default)(this.get(e),this.receiver(e),t,!1)},optionalCall(e,t){return this.memoise(e,1),(0,j_.default)(this.get(e),this.receiver(e),t,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}},wbe={get(e){let{privateNamesMap:t,file:r}=this,{object:n}=e.node,{name:s}=e.node.property.id;return _.template.expression`BASE(REF, PROP)[PROP]`({BASE:r.addHelper("classPrivateFieldLooseBase"),REF:_.types.cloneNode(n),PROP:_.types.cloneNode(t.get(s).id)})},set(){throw new Error("private name handler with loose = true don't need set()")},boundGet(e){return _.types.callExpression(_.types.memberExpression(this.get(e),_.types.identifier("bind")),[_.types.cloneNode(e.node.object)])},simpleSet(e){return this.get(e)},destructureSet(e){return this.get(e)},call(e,t){return _.types.callExpression(this.get(e),t)},optionalCall(e,t){return _.types.optionalCallExpression(this.get(e),t,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}};function Dbe(e,t,r,{privateFieldsAsProperties:n,noUninitializedPrivateFieldAccess:s,noDocumentAll:i,innerBinding:a},o){if(!r.size)return;let l=t.get("body"),u=n?wbe:Cbe;(0,gbe.default)(l,xbe,Object.assign({privateNamesMap:r,classRef:e,file:o},u,{noDocumentAll:i,noUninitializedPrivateFieldAccess:s,innerBinding:a})),l.traverse(Pbe,{privateNamesMap:r,classRef:e,file:o,privateFieldsAsProperties:n,innerBinding:a})}function q_(e,t,r){let{id:n}=r.get(t.node.key.id.name),s=t.node.value||t.scope.buildUndefinedNode();return pr(_.template.statement.ast`
215
- Object.defineProperty(${e}, ${_.types.cloneNode(n)}, {
216
- // configurable is false by default
217
- // enumerable is false by default
218
- writable: true,
219
- value: ${s}
220
- });
221
- `,t)}function Ibe(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 pr(_.template.statement.ast`${_.types.cloneNode(s)}.set(${e}, {
222
- // configurable is always false for private elements
223
- // enumerable is always false for private elements
224
- writable: true,
225
- value: ${i},
226
- })`,t);let a=n.addHelper("classPrivateFieldInitSpec");return a1(pr(_.types.expressionStatement(_.types.callExpression(a,[_.types.thisExpression(),a1(_.types.cloneNode(s),t.node.key),Cr(n)?i:_.template.expression.ast`{ writable: true, value: ${i} }`])),t),t.node)}function Obe(e,t,r){let n=t.get(e.node.key.id.name),s=r?e.node.value:_.template.expression.ast`{
227
- _: ${e.node.value||_.types.buildUndefinedNode()}
228
- }`;return pr(_.types.variableDeclaration("var",[_.types.variableDeclarator(_.types.cloneNode(n.id),s)]),e)}i1=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})),pr(_.template.statement.ast`
229
- var ${_.types.cloneNode(n)} = {
230
- // configurable is false by default
231
- // enumerable is false by default
232
- // writable is false by default
233
- get: ${s?s.name:e.scope.buildUndefinedNode()},
234
- set: ${i?i.name:e.scope.buildUndefinedNode()}
235
- }
236
- `,e);let l=e.node.value||e.scope.buildUndefinedNode();return pr(_.template.statement.ast`
237
- var ${_.types.cloneNode(n)} = {
238
- // configurable is false by default
239
- // enumerable is false by default
240
- writable: true,
241
- value: ${l}
242
- };
243
- `,e)};var i1;function _be(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 pr(_.template.statement.ast`
244
- Object.defineProperty(${e}, ${i}, {
245
- // configurable is false by default
246
- // enumerable is false by default
247
- // writable is false by default
248
- value: ${s.name}
249
- });
250
- `,t);if(a||o)return r.set(t.node.key.id.name,Object.assign({},n,{initAdded:!0})),pr(_.template.statement.ast`
251
- Object.defineProperty(${e}, ${i}, {
252
- // configurable is false by default
253
- // enumerable is false by default
254
- // writable is false by default
255
- get: ${a?a.name:t.scope.buildUndefinedNode()},
256
- set: ${o?o.name:t.scope.buildUndefinedNode()}
257
- });
258
- `,t)}function Nbe(e,t,r,n){let s=r.get(t.node.key.id.name);if(!s.initAdded)return!Cr(n)&&(s.getId||s.setId)?Bbe(e,t,r,n):Fbe(e,t,r,n)}function Bbe(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 pr(_.template.statement.ast`
259
- ${i}.set(${e}, {
260
- get: ${a?a.name:t.scope.buildUndefinedNode()},
261
- set: ${o?o.name:t.scope.buildUndefinedNode()}
262
- });
263
- `,t);let l=n.addHelper("classPrivateFieldInitSpec");return a1(pr(_.template.statement.ast`${l}(
264
- ${_.types.thisExpression()},
265
- ${_.types.cloneNode(i)},
266
- {
267
- get: ${a?a.name:t.scope.buildUndefinedNode()},
268
- set: ${o?o.name:t.scope.buildUndefinedNode()}
269
- },
270
- )`,t),t.node)}function Fbe(e,t,r,n){let s=r.get(t.node.key.id.name),{id:i}=s;if(!n.availableHelper("classPrivateMethodInitSpec"))return pr(_.template.statement.ast`${i}.add(${e})`,t);let a=n.addHelper("classPrivateMethodInitSpec");return pr(_.template.statement.ast`${a}(
271
- ${_.types.thisExpression()},
272
- ${_.types.cloneNode(i)}
273
- )`,t)}function U_(e,t){let{key:r,computed:n}=t.node,s=t.node.value||t.scope.buildUndefinedNode();return pr(_.types.expressionStatement(_.types.assignmentExpression("=",_.types.memberExpression(e,r,n||_.types.isLiteral(r)),s)),t)}function V_(e,t,r){let{key:n,computed:s}=t.node,i=t.node.value||t.scope.buildUndefinedNode();return pr(_.types.expressionStatement(_.types.callExpression(r.addHelper("defineProperty"),[e,s||_.types.isLiteral(n)?n:_.types.stringLiteral(n.name),i])),t)}function kbe(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})),pr(_.template.statement.ast`
274
- Object.defineProperty(${e}, ${i}, {
275
- // configurable is false by default
276
- // enumerable is false by default
277
- // writable is false by default
278
- get: ${o?o.name:t.scope.buildUndefinedNode()},
279
- set: ${l?l.name:t.scope.buildUndefinedNode()}
280
- })
281
- `,t)):pr(_.template.statement.ast`
282
- Object.defineProperty(${e}, ${i}, {
283
- // configurable is false by default
284
- // enumerable is false by default
285
- // writable is false by default
286
- value: ${a.name}
287
- });
288
- `,t)}function qp(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:f}=s,{params:p,body:h,generator:b,async:d}=t.node,y=o&&p.length===0,P=l&&p.length>0;if(y&&u||P&&c)return r.set(t.node.key.id.name,Object.assign({},s,{initAdded:!0})),null;if(Cr(e)&&(y||P)&&!n){let N=t.get("body").scope,B=N.generateUidIdentifier("this"),F={thisRef:B,argumentsPath:[]};if(t.traverse(K_,F),F.argumentsPath.length){let j=N.generateUidIdentifier("arguments");N.push({id:j,init:_.template.expression.ast`[].slice.call(arguments, 1)`});for(let W of F.argumentsPath)W.replaceWith(_.types.cloneNode(j))}p.unshift(_.types.cloneNode(B))}let D=a;return y?(r.set(t.node.key.id.name,Object.assign({},s,{getterDeclared:!0,initAdded:!0})),D=o):P?(r.set(t.node.key.id.name,Object.assign({},s,{setterDeclared:!0,initAdded:!0})),D=l):f&&!n&&(D=i),pr(_.types.functionDeclaration(_.types.cloneNode(D),p,h,b,d),t)}var K_=$_.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,Ebe.skipTransparentExprWrapperNodes)(t.argument);_.types.isThisExpression(r)&&e.replaceWith(_.types.booleanLiteral(!0))}},ThisExpression(e,t){t.needsClassRef=!0,e.replaceWith(_.types.cloneNode(t.thisRef))},MetaProperty(e){let{node:t,scope:r}=e;t.meta.name==="new"&&t.property.name==="target"&&e.replaceWith(r.buildUndefinedNode())}}),Lbe={ReferencedIdentifier(e,t){e.scope.bindingIdentifierEquals(e.node.name,t.innerBinding)&&(t.needsClassRef=!0,e.node.name=t.thisRef.name)}};function Rbe(e,t,r){var n;let s={thisRef:t,needsClassRef:!1,innerBinding:r};return e.isMethod()||e.traverse(K_,s),r!=null&&(n=s.thisRef)!=null&&n.name&&s.thisRef.name!==r.name&&e.traverse(Lbe,s),s.needsClassRef}function jbe({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 pr(e,t){return _.types.inheritLeadingComments(e,t.node),_.types.inheritInnerComments(e,t.node),e}function a1(e,t){return e.start=t.start,e.end=t.end,e.loc=t.loc,e}function Mbe(e,t,r,n,s,i,a,o,l,u){var c,f;let p=0,h,b=[],d=[],y=!1,P=[],D=null,N=_.types.isIdentifier(t)?()=>t:()=>{var F;return(F=h)!=null||(h=r[0].scope.generateUidIdentifierBasedOnNode(t)),h},B=(c=e)!=null?c:r[0].scope.generateUidIdentifier(u?.name||"Class");(f=e)!=null||(e=_.types.cloneNode(u));for(let F of r){F.isClassProperty()&&vbe.assertFieldTransformed(F);let j=!(_.types.isStaticBlock!=null&&_.types.isStaticBlock(F.node))&&F.node.static,W=!j,re=F.isPrivate(),G=!re,V=F.isProperty(),R=!V,H=F.isStaticBlock==null?void 0:F.isStaticBlock();switch(j&&(p|=1),(j||R&&re||H)&&(new ybe.default({methodPath:F,constantSuper:l,file:s,refToPreserve:u,getSuperRef:N,getObjectRef(){return p|=2,j||H?B:_.types.memberExpression(B,_.types.identifier("prototype"))}}).replace(),Rbe(F,B,u)&&(p|=2)),y=!1,!0){case H:{let ge=F.node.body;ge.length===1&&_.types.isExpressionStatement(ge[0])?b.push(pr(ge[0],F)):b.push(_.types.inheritsComments(_.template.statement.ast`(() => { ${ge} })()`,F.node));break}case(j&&re&&V&&a):b.push(q_(_.types.cloneNode(e),F,n));break;case(j&&re&&V&&!a):Cr(s)?b.push(Obe(F,n,o)):b.push(i1(F,n));break;case(j&&G&&V&&i):if(!jbe(F.node)){b.push(U_(_.types.cloneNode(e),F));break}case(j&&G&&V&&!i):b.push(V_(_.types.cloneNode(e),F,s));break;case(W&&re&&V&&a):d.push(q_(_.types.thisExpression(),F,n));break;case(W&&re&&V&&!a):d.push(Ibe(_.types.thisExpression(),F,n,s));break;case(W&&re&&R&&a):d.unshift(_be(_.types.thisExpression(),F,n)),P.push(qp(s,F,n,a));break;case(W&&re&&R&&!a):d.unshift(Nbe(_.types.thisExpression(),F,n,s)),P.push(qp(s,F,n,a));break;case(j&&re&&R&&!a):Cr(s)||b.unshift(i1(F,n)),P.push(qp(s,F,n,a));break;case(j&&re&&R&&a):b.unshift(kbe(_.types.cloneNode(e),F,s,n)),P.push(qp(s,F,n,a));break;case(W&&G&&V&&i):d.push(U_(_.types.thisExpression(),F));break;case(W&&G&&V&&!i):y=!0,d.push(V_(_.types.thisExpression(),F,s));break;default:throw new Error("Unreachable.")}}return p&2&&u!=null&&(D=_.types.expressionStatement(_.types.assignmentExpression("=",_.types.cloneNode(B),_.types.cloneNode(u)))),{staticNodes:b.filter(Boolean),instanceNodes:d.filter(Boolean),lastInstanceNodeReturnsThis:y,pureStaticNodes:P.filter(Boolean),classBindingNode:D,wrapClass(F){for(let j of r)j.node.leadingComments=null,j.remove();return h&&(F.scope.push({id:_.types.cloneNode(h)}),F.set("superClass",_.types.assignmentExpression("=",h,F.node.superClass))),p!==0&&(F.isClassExpression()?(F.scope.push({id:e}),F.replaceWith(_.types.assignmentExpression("=",_.types.cloneNode(e),F.node))):(u==null&&(F.node.id=e),D!=null&&F.scope.push({id:B}))),F}}}});var u1=E(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});Zl.extractComputedKeys=Kbe;Zl.injectInitialization=Wbe;Zl.memoiseComputedKey=H_;var Xt=Qt(),qbe=rr(),Ube=qbe.visitors.environmentVisitor({Super(e){let{node:t,parentPath:r}=e;r.isCallExpression({callee:t})&&this.push(r)}}),Vbe={"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=Xt.types.callExpression(r,[Xt.types.stringLiteral(e.node.name)]);e.replaceWith(Xt.types.sequenceExpression([n,e.node])),e.skip()}}var $be={ReferencedIdentifier:G_};function Wbe(e,t,r,n,s){if(!r.length)return;let i=!!e.node.superClass;if(!t){let a=Xt.types.classMethod("constructor",Xt.types.identifier("constructor"),[],Xt.types.blockStatement([]));i&&(a.params=[Xt.types.restElement(Xt.types.identifier("args"))],a.body.body.push(Xt.template.statement.ast`super(...args)`)),[t]=e.get("body").unshiftContainer("body",a)}if(n&&n(Vbe,{scope:t.scope}),i){let a=[];t.traverse(Ube,a);let o=!0;for(let l of a)if(o?o=!1:r=r.map(u=>Xt.types.cloneNode(u)),l.parentPath.isExpressionStatement())l.insertAfter(r);else{let u=[l.node,...r.map(c=>Xt.types.toExpression(c))];s||u.push(Xt.types.thisExpression()),l.replaceWith(Xt.types.sequenceExpression(u))}}else t.get("body").unshiftContainer("body",r)}function H_(e,t,r){if(Xt.types.isIdentifier(e)&&t.hasUid(e.name))return;if(Xt.types.isAssignmentExpression(e,{operator:"="})&&Xt.types.isIdentifier(e.left)&&t.hasUid(e.left.name))return Xt.types.cloneNode(e);{let i=Xt.types.identifier(r);return t.push({id:i,kind:"let"}),Xt.types.assignmentExpression("=",Xt.types.cloneNode(i),e)}}function Kbe(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($be,i);let l=a.node;if(!o.isConstantExpression()){let u=H_(o.node,n,n.generateUidBasedOnNode(o.node));u&&(s.push(Xt.types.expressionStatement(u)),l.key=Xt.types.cloneNode(u.left))}}return s}});var lN=E(y1=>{"use strict";Object.defineProperty(y1,"__esModule",{value:!0});y1.default=PEe;var A=Qt(),X_=Rp(),oi=jp(),sN=l1(),Vp=u1();function iN(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,iN(e,t-1)):e[t]=r+1}function Gbe(e){let t=[],r=new Set;return e.traverse({PrivateName(n){r.add(n.node.id.name)}}),()=>{let n;do iN(t),n=String.fromCharCode(...t);while(r.has(n));return A.types.privateName(A.types.identifier(n))}}function Hbe(e){let t;return()=>(t||(t=Gbe(e)),t())}function Xbe(e,t){let r=e.node.id,n=e.scope;if(e.type==="ClassDeclaration"){let s=r.name,i=n.generateUidIdentifierBasedOnNode(r),a=A.types.identifier(s);return n.rename(s,i.name),e.get("id").replaceWith(a),{id:A.types.cloneNode(i),path:e}}else{let s;r?(t=r.name,s=Zr(n.parent,t),n.rename(t,s.name)):s=Zr(n.parent,typeof t=="string"?t:"decorated_class");let i=A.types.classExpression(typeof t=="string"?A.types.identifier(t):null,e.node.superClass,e.node.body),[a]=e.replaceWith(A.types.sequenceExpression([i,s]));return{id:A.types.cloneNode(s),path:a.get("expressions.0")}}}function Y_(e,t,r){return e.type==="PrivateName"?A.types.classPrivateProperty(e,t,void 0,r):A.types.classProperty(e,t,void 0,void 0,r)}function c1(e,t){e.node.id||(e.node.id=typeof t=="string"?A.types.identifier(t):e.scope.generateUidIdentifier("Class"))}function J_(e,t,r,n,s,i,a,o){let l=(o==="2023-11"||o==="2023-05")&&a?e:A.types.thisExpression(),u=A.types.blockStatement([A.types.returnStatement(A.types.memberExpression(A.types.cloneNode(l),A.types.cloneNode(s)))]),c=A.types.blockStatement([A.types.expressionStatement(A.types.assignmentExpression("=",A.types.memberExpression(A.types.cloneNode(l),A.types.cloneNode(s)),A.types.identifier("v")))]),f,p;r.type==="PrivateName"?(f=A.types.classPrivateMethod("get",r,[],u,a),p=A.types.classPrivateMethod("set",n,[A.types.identifier("v")],c,a)):(f=A.types.classMethod("get",r,[],u,i,a),p=A.types.classMethod("set",n,[A.types.identifier("v")],c,i,a)),t.insertAfter(p),t.insertAfter(f)}function z_(e,t){return t!=="2023-11"&&t!=="2023-05"&&t!=="2023-01"?[A.template.expression.ast`
289
- function () {
290
- return this.${A.types.cloneNode(e)};
291
- }
292
- `,A.template.expression.ast`
293
- function (value) {
294
- this.${A.types.cloneNode(e)} = value;
295
- }
296
- `]:[A.template.expression.ast`
297
- o => o.${A.types.cloneNode(e)}
298
- `,A.template.expression.ast`
299
- (o, v) => o.${A.types.cloneNode(e)} = v
300
- `]}function m1(e){if(e=(0,oi.skipTransparentExprWrappers)(e),e.isSequenceExpression()){let t=e.get("expressions");return m1(t[t.length-1])}return e}function Ybe(e){let t=m1(e);if(t.isConstantExpression())return A.types.cloneNode(e.node);if(t.isIdentifier()&&e.scope.hasUid(t.node.name))return A.types.cloneNode(e.node);if(t.isAssignmentExpression()&&t.get("left").isIdentifier())return A.types.cloneNode(t.node.left);throw new Error(`Internal Error: the computed key ${e.toString()} has not yet been memoised.`)}function eu(e,t){let r=t.get("key");r.isSequenceExpression()?e.push(...r.node.expressions):e.push(r.node),r.replaceWith(ui(e))}function Jbe(e,t){let r=t.get("key"),n=m1(r);if(n.isConstantExpression())eu(e,t);else{let s=r.scope.parent,i=(0,Vp.memoiseComputedKey)(n.node,s,s.generateUid("computedKey"));if(!i)eu(e,t);else{let a=[...e,A.types.cloneNode(i.left)],o=n.parentPath;o.isSequenceExpression()?o.pushContainer("expressions",a):n.replaceWith(ui([A.types.cloneNode(i),...a]))}}}function f1(e,t){let r=t.get("value");r.node?e.push(r.node):e.length>0&&(e[e.length-1]=A.types.unaryExpression("void",e[e.length-1])),r.replaceWith(ui(e))}function zbe(e,t){t.unshiftContainer("body",A.types.expressionStatement(ui(e)))}function Qbe(e,t){t.node.body.body.unshift(A.types.expressionStatement(ui(e)))}function Q_(e,t){return A.types.isCallExpression(e)&&A.types.isIdentifier(e.callee,{name:t.name})}function Zbe(e,t){if(t){if(e.length>=2&&Q_(e[1],t)){let r=A.types.callExpression(A.types.cloneNode(t),[e[0]]);e.splice(0,2,r)}e.length>=2&&A.types.isThisExpression(e[e.length-1])&&Q_(e[e.length-2],t)&&e.splice(e.length-1,1)}return ui(e)}function eEe(e,t,r){t.traverse({CallExpression:{exit(n){if(!n.get("callee").isSuper())return;let s=[n.node,...e.map(i=>A.types.cloneNode(i))];n.isCompletionRecord()&&s.push(A.types.thisExpression()),n.replaceWith(Zbe(s,r)),n.skip()}},ClassMethod(n){n.node.kind==="constructor"&&n.skip()}})}function Z_(e,t){let r=[A.types.expressionStatement(ui(e))];return t&&r.unshift(A.types.expressionStatement(A.types.callExpression(A.types.super(),[A.types.spreadElement(A.types.identifier("args"))]))),A.types.classMethod("constructor",A.types.identifier("constructor"),t?[A.types.restElement(A.types.identifier("args"))]:[],A.types.blockStatement(r))}function eN(e){return A.types.staticBlock([A.types.expressionStatement(ui(e))])}var ea=0,li=1,tEe=2,aN=3,$p=4,rEe=5,nEe=8,sEe=16;function iEe(e){switch(e.node.type){case"ClassProperty":case"ClassPrivateProperty":return ea;case"ClassAccessorProperty":return li;case"ClassMethod":case"ClassPrivateMethod":return e.node.kind==="get"?aN:e.node.kind==="set"?$p:tEe}}function aEe(e){return[...e.filter(t=>t.isStatic&&t.kind>=li&&t.kind<=$p),...e.filter(t=>!t.isStatic&&t.kind>=li&&t.kind<=$p),...e.filter(t=>t.isStatic&&t.kind===ea),...e.filter(t=>!t.isStatic&&t.kind===ea)]}function tN(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]||A.types.unaryExpression("void",A.types.numericLiteral(0))),i.push(e[a].expression);return{haveThis:s,decs:i}}function oEe(e,t){return A.types.arrayExpression(e.map(r=>{let n=r.kind;return r.isStatic&&(n+=t==="2023-11"||t==="2023-05"?nEe:rEe),r.decoratorsHaveThis&&(n+=sEe),A.types.arrayExpression([r.decoratorsArray,A.types.numericLiteral(n),r.name,...r.privateMethods||[]])}))}function lEe(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 uEe(e,t,r,n,s,i){t.insertAfter(A.types.classPrivateMethod("get",A.types.cloneNode(r),[],A.types.blockStatement([A.types.returnStatement(A.types.callExpression(A.types.cloneNode(n),e==="2023-11"&&i?[]:[A.types.thisExpression()]))]),i)),t.insertAfter(A.types.classPrivateMethod("set",A.types.cloneNode(r),[A.types.identifier("v")],A.types.blockStatement([A.types.expressionStatement(A.types.callExpression(A.types.cloneNode(s),e==="2023-11"&&i?[A.types.identifier("v")]:[A.types.thisExpression(),A.types.identifier("v")]))]),i))}function cEe(e,t,r,n){let s,i;e.node.kind==="set"?(s=[A.types.identifier("v")],i=[A.types.expressionStatement(A.types.callExpression(r,[A.types.thisExpression(),A.types.identifier("v")]))]):(s=[],i=[A.types.returnStatement(A.types.callExpression(r,[A.types.thisExpression()]))]),e.replaceWith(A.types.classPrivateMethod(e.node.kind,A.types.cloneNode(t),s,A.types.blockStatement(i),n))}function rN(e){let{type:t}=e;return t!=="TSDeclareMethod"&&t!=="TSIndexSignature"&&t!=="StaticBlock"}function fEe(e){return A.types.callExpression(A.types.arrowFunctionExpression([],A.types.blockStatement(e.body)),[])}function pEe(e){return A.types.functionExpression(null,[],A.types.blockStatement(e.body))}function dEe(e){return A.types.functionExpression(null,[],A.types.blockStatement([A.types.returnStatement(e)]))}function ui(e){return e.length===0?A.types.unaryExpression("void",A.types.numericLiteral(0)):e.length===1?e[0]:A.types.sequenceExpression(e)}function nN(e){let{params:t,body:r,generator:n,async:s}=e;return A.types.functionExpression(void 0,t,r,n,s)}function oN(e,t){return A.types.callExpression(e.addHelper("setFunctionName"),[A.types.thisExpression(),t])}function h1(e,t){return A.types.callExpression(e.addHelper("toPropertyKey"),[t])}function p1(e){return A.types.arrowFunctionExpression([A.types.identifier("_")],A.types.binaryExpression("in",A.types.cloneNode(e),A.types.identifier("_")))}function hEe(e){try{return A.types.traverseFast(e,t=>{if(A.types.isPrivateName(t))throw null}),!1}catch{return!0}}function mEe(e){let{node:t}=e;t.computed=!0,A.types.isIdentifier(t.key)&&(t.key=A.types.stringLiteral(t.key.name))}function d1(e,t){let r=!1;if(t.length>0){let n=(0,sN.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 yEe(e,t){let r=(0,sN.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 gEe(e,t,r,n,s,i,a){var o,l;let u=e.get("body.body"),c=e.node.decorators,f=!1,p=!1,h=!1,b=Hbe(e),d=[],y=e.scope.parent,P=(de,oe,k)=>{let $=Zr(y,oe);return k.push(A.types.assignmentExpression("=",$,de)),A.types.cloneNode($)},D,N,B=(o=e.node.id)==null?void 0:o.name,F=typeof s=="object"?s:void 0,j=de=>{try{return A.types.traverseFast(de,oe=>{if(A.types.isThisExpression(oe)||A.types.isSuper(oe)||A.types.isYieldExpression(oe)||A.types.isAwaitExpression(oe)||A.types.isIdentifier(oe,{name:"arguments"})||B&&A.types.isIdentifier(oe,{name:B})||A.types.isMetaProperty(oe)&&oe.meta.name!=="import")throw null}),!1}catch{return!0}},W=[];for(let de of u){if(!rN(de))continue;let oe=de.node;if(!oe.static&&A.types.isPrivateName(oe.key)&&W.push(oe.key.id.name),tu(oe)){switch(oe.type){case"ClassProperty":i.ClassProperty(de,t);break;case"ClassPrivateProperty":i.ClassPrivateProperty(de,t);break;case"ClassAccessorProperty":if(i.ClassAccessorProperty(de,t),a==="2023-11")break;default:if(oe.static){var re;(re=N)!=null||(N=Zr(y,"initStatic"))}else{var G;(G=D)!=null||(D=Zr(y,"initProto"))}break}f=!0,h||(h=oe.decorators.some(j))}else if(oe.type==="ClassAccessorProperty"){i.ClassAccessorProperty(de,t);let{key:k,value:$,static:Y,computed:se}=oe,Ee=b(),he=Y_(Ee,$,Y),_e=de.get("key"),[Ve]=de.replaceWith(he),Fe,$e;se&&!_e.isConstantExpression()?(Fe=(0,Vp.memoiseComputedKey)(h1(t,k),y,y.generateUid("computedKey")),$e=A.types.cloneNode(Fe.left)):(Fe=A.types.cloneNode(k),$e=A.types.cloneNode(k)),c1(e,s),J_(e.node.id,Ve,Fe,$e,Ee,se,Y,a)}"computed"in de.node&&de.node.computed&&(p||(p=!y.isStatic(de.node.key)))}if(!c&&!f){!e.node.id&&typeof s=="string"&&(e.node.id=A.types.identifier(s)),F&&e.node.body.body.unshift(eN([oN(t,F)]));return}let V=[],R,H=new Set,ge,fe,ne=null;function te(de){let oe=!1,k=!1,$=[];for(let se of de){let{expression:Ee}=se,he;if((a==="2023-11"||a==="2023-05")&&A.types.isMemberExpression(Ee))if(A.types.isSuper(Ee.object))he=A.types.thisExpression();else if(y.isStatic(Ee.object))he=A.types.cloneNode(Ee.object);else{var Y;(Y=ne)!=null||(ne=Zr(y,"obj")),he=A.types.assignmentExpression("=",A.types.cloneNode(ne),Ee.object),Ee.object=A.types.cloneNode(ne)}$.push(he),oe||(oe=!y.isStatic(Ee)),k||(k=j(se))}return{hasSideEffects:oe,usesFnContext:k,decoratorsThis:$}}let ue=p||h||a!=="2023-11",pe=!1,xe=0,Ie=[],ke,be=[];if(c){ge=Zr(y,"initClass"),pe=e.isClassDeclaration(),{id:fe,path:e}=Xbe(e,s),e.node.decorators=null;let de=c.some(hEe),{hasSideEffects:oe,usesFnContext:k,decoratorsThis:$}=te(c),{haveThis:Y,decs:se}=tN(c,$,a);if(xe=Y?1:0,Ie=se,(k||oe&&ue||de)&&(ke=P(A.types.arrayExpression(Ie),"classDecs",d)),!f)for(let Ee of e.get("body.body")){let{node:he}=Ee;if("computed"in he&&he.computed)if(Ee.isClassProperty({static:!0})){if(!Ee.get("key").isConstantExpression()){let Ve=he.key,Fe=(0,Vp.memoiseComputedKey)(Ve,y,y.generateUid("computedKey"));Fe!=null&&(he.key=A.types.cloneNode(Fe.left),be.push(Fe))}}else be.length>0&&(eu(be,Ee),be=[])}}else c1(e,s),fe=A.types.cloneNode(e.node.id);let qe,Lt=!1,wt=[],we=[];if(f){if(D){let de=A.types.callExpression(A.types.cloneNode(D),[A.types.thisExpression()]);wt.push(de)}for(let de of u){if(!rN(de)){we.length>0&&de.isStaticBlock()&&(zbe(we,de),we=[]);continue}let{node:oe}=de,k=oe.decorators,$=!!(k!=null&&k.length),Y="computed"in oe&&oe.computed,se="computedKey";oe.key.type==="PrivateName"?se=oe.key.id.name:!Y&&oe.key.type==="Identifier"&&(se=oe.key.name);let Ee,he;if($){let{hasSideEffects:ut,usesFnContext:Ze,decoratorsThis:It}=te(k),{decs:Vt,haveThis:ir}=tN(k,It,a);he=ir,Ee=Vt.length===1?Vt[0]:A.types.arrayExpression(Vt),(Ze||ut&&ue)&&(Ee=P(Ee,se+"Decs",be))}if(Y&&!de.get("key").isConstantExpression()){let ut=oe.key,Ze=(0,Vp.memoiseComputedKey)($?h1(t,ut):ut,y,y.generateUid("computedKey"));Ze!=null&&(c&&de.isClassProperty({static:!0})?(oe.key=A.types.cloneNode(Ze.left),be.push(Ze)):oe.key=Ze)}let{key:_e,static:Ve}=oe,Fe=_e.type==="PrivateName",$e=iEe(de);Fe&&!Ve&&($&&(Lt=!0),(A.types.isClassPrivateProperty(oe)||!qe)&&(qe=_e)),de.isClassMethod({kind:"constructor"})&&(R=de);let Jt;if($){let ut,Ze;if(Y?Ze=Ybe(de.get("key")):_e.type==="PrivateName"?Ze=A.types.stringLiteral(_e.id.name):_e.type==="Identifier"?Ze=A.types.stringLiteral(_e.name):Ze=A.types.cloneNode(_e),$e===li){let{value:It}=de.node,Vt=a==="2023-11"&&Ve?[]:[A.types.thisExpression()];It&&Vt.push(A.types.cloneNode(It));let ir=b(),Rn=Zr(y,`init_${se}`),ks=A.types.callExpression(A.types.cloneNode(Rn),Vt),To=Y_(ir,ks,Ve),[wr]=de.replaceWith(To);if(Fe){ut=z_(ir,a);let la=Zr(y,`get_${se}`),So=Zr(y,`set_${se}`);uEe(a,wr,_e,la,So,Ve),Jt=[Rn,la,So]}else c1(e,s),J_(e.node.id,wr,A.types.cloneNode(_e),A.types.isAssignmentExpression(_e)?A.types.cloneNode(_e.left):A.types.cloneNode(_e),ir,Y,Ve,a),Jt=[Rn]}else if($e===ea){let It=Zr(y,`init_${se}`),Vt=de.get("value"),ir=a==="2023-11"&&Ve?[]:[A.types.thisExpression()];Vt.node&&ir.push(Vt.node),Vt.replaceWith(A.types.callExpression(A.types.cloneNode(It),ir)),Jt=[It],Fe&&(ut=z_(_e,a))}else if(Fe){let It=Zr(y,`call_${se}`);if(Jt=[It],new X_.default({constantSuper:r,methodPath:de,objectRef:fe,superRef:e.node.superClass,file:t.file,refToPreserve:fe}).replace(),ut=[nN(de.node)],$e===aN||$e===$p)cEe(de,A.types.cloneNode(_e),A.types.cloneNode(It),Ve);else{let ir=de.node;e.node.body.body.unshift(A.types.classPrivateProperty(_e,A.types.cloneNode(It),[],ir.static)),H.add(_e.id.name),de.remove()}}V.push({kind:$e,decoratorsArray:Ee,decoratorsHaveThis:he,name:Ze,isStatic:Ve,privateMethods:ut,locals:Jt}),de.node&&(de.node.decorators=null)}if(Y&&be.length>0&&(c&&de.isClassProperty({static:!0})||(eu(be,$e===li?de.getNextSibling():de),be=[])),wt.length>0&&!Ve&&($e===ea||$e===li)&&(f1(wt,de),wt=[]),we.length>0&&Ve&&($e===ea||$e===li)&&(f1(we,de),we=[]),$&&a==="2023-11"&&($e===ea||$e===li)){let ut=Zr(y,`init_extra_${se}`);Jt.push(ut);let Ze=A.types.callExpression(A.types.cloneNode(ut),Ve?[]:[A.types.thisExpression()]);Ve?we.push(Ze):wt.push(Ze)}}}if(be.length>0){let de=e.get("body.body"),oe;for(let k=de.length-1;k>=0;k--){let $=de[k],Y=$.node;if(Y.computed){if(c&&A.types.isClassProperty(Y,{static:!0}))continue;oe=$;break}}oe!=null&&(Jbe(be,oe),be=[])}if(wt.length>0){let de=!!e.node.superClass;R?de?eEe(wt,R,D):Qbe(wt,R):e.node.body.body.unshift(Z_(wt,de)),wt=[]}we.length>0&&(e.node.body.body.push(eN(we)),we=[]);let Dt=aEe(V),Ut=oEe(a==="2023-11"?V:Dt,a),Yt=lEe(Dt);D&&Yt.push(D),N&&Yt.push(N);let sr=[],Zt=!1,Vr=ge&&A.types.callExpression(A.types.cloneNode(ge),[]),kn=e,ts=e.node,Tn=[];if(c){sr.push(fe,ge);let de=[];if(e.get("body.body").forEach(oe=>{if(oe.isStaticBlock()){if(d1(oe,W)){let k=P(pEe(oe.node),"staticBlock",Tn);we.push(A.types.callExpression(A.types.memberExpression(k,A.types.identifier("call")),[A.types.thisExpression()]))}else we.push(fEe(oe.node));oe.remove();return}if((oe.isClassProperty()||oe.isClassPrivateProperty())&&oe.node.static){let k=oe.get("value");if(d1(k,W)){let $=P(dEe(k.node),"fieldValue",Tn);k.replaceWith(A.types.callExpression(A.types.memberExpression($,A.types.identifier("call")),[A.types.thisExpression()]))}we.length>0&&(f1(we,oe),we=[]),oe.node.static=!1,de.push(oe.node),oe.remove()}else if(oe.isClassPrivateMethod({static:!0})){if(d1(oe,W)){new X_.default({constantSuper:r,methodPath:oe,objectRef:fe,superRef:e.node.superClass,file:t.file,refToPreserve:fe}).replace();let $=P(nN(oe.node),oe.get("key.id").node.name,Tn);n?(oe.node.params=[A.types.restElement(A.types.identifier("arg"))],oe.node.body=A.types.blockStatement([A.types.returnStatement(A.types.callExpression(A.types.memberExpression($,A.types.identifier("apply")),[A.types.thisExpression(),A.types.identifier("arg")]))])):(oe.node.params=oe.node.params.map((Y,se)=>A.types.isRestElement(Y)?A.types.restElement(A.types.identifier("arg")):A.types.identifier("_"+se)),oe.node.body=A.types.blockStatement([A.types.returnStatement(A.types.callExpression(A.types.memberExpression($,A.types.identifier("apply")),[A.types.thisExpression(),A.types.identifier("arguments")]))]))}oe.node.static=!1,de.push(oe.node),oe.remove()}}),de.length>0||we.length>0){let oe=A.template.expression.ast`
301
- class extends ${t.addHelper("identity")} {}
302
- `;oe.body.body=[A.types.classProperty(A.types.toExpression(ts),void 0,void 0,void 0,!0,!0),...de];let k=[],$=A.types.newExpression(oe,[]);we.length>0&&k.push(...we),Vr&&(Zt=!0,k.push(Vr)),k.length>0?(k.unshift(A.types.callExpression(A.types.super(),[A.types.cloneNode(fe)])),oe.body.body.push(Z_(k,!1))):$.arguments.push(A.types.cloneNode(fe));let[Y]=e.replaceWith($);kn=Y.get("callee").get("body").get("body.0.key")}}!Zt&&Vr&&e.node.body.body.push(A.types.staticBlock([A.types.expressionStatement(Vr)]));let{superClass:Ln}=ts;if(Ln&&(a==="2023-11"||a==="2023-05")){let de=e.scope.maybeGenerateMemoised(Ln);de&&(ts.superClass=A.types.assignmentExpression("=",de,Ln),Ln=de)}let Fs=A.types.staticBlock([]);ts.body.body.unshift(Fs);let rs=Fs.body;if(be.length>0){let de=kn.get("body.body"),oe;for(let k of de)if((k.isClassProperty()||k.isClassMethod())&&k.node.kind!=="constructor"){oe=k;break}oe!=null?(mEe(oe),eu(be,oe)):(ts.body.body.unshift(A.types.classProperty(A.types.sequenceExpression([...be,A.types.stringLiteral("_")]),void 0,void 0,void 0,!0,!0)),rs.push(A.types.expressionStatement(A.types.unaryExpression("delete",A.types.memberExpression(A.types.thisExpression(),A.types.identifier("_")))))),be=[]}if(rs.push(A.types.expressionStatement(bEe(Yt,sr,Ut,(l=ke)!=null?l:A.types.arrayExpression(Ie),A.types.numericLiteral(xe),Lt?qe:null,F,A.types.cloneNode(Ln),t,a))),N&&rs.push(A.types.expressionStatement(A.types.callExpression(A.types.cloneNode(N),[A.types.thisExpression()]))),Tn.length>0&&rs.push(...Tn.map(de=>A.types.expressionStatement(de))),e.insertBefore(d.map(de=>A.types.expressionStatement(de))),pe)if(!y.getBinding(fe.name).constantViolations.length)e.insertBefore(A.types.variableDeclaration("let",[A.types.variableDeclarator(A.types.cloneNode(fe))]));else{let oe=y.generateUidIdentifier("t"+fe.name),k=fe;e.replaceWithMultiple([A.types.variableDeclaration("let",[A.types.variableDeclarator(A.types.cloneNode(k)),A.types.variableDeclarator(oe)]),A.types.blockStatement([A.types.variableDeclaration("let",[A.types.variableDeclarator(A.types.cloneNode(fe))]),e.node,A.types.expressionStatement(A.types.assignmentExpression("=",A.types.cloneNode(oe),A.types.cloneNode(fe)))]),A.types.expressionStatement(A.types.assignmentExpression("=",A.types.cloneNode(k),A.types.cloneNode(oe)))])}return H.size>0&&yEe(e,H),e.scope.crawl(),e}function bEe(e,t,r,n,s,i,a,o,l,u){let c,f,p=[a?oN(l,a):A.types.thisExpression(),n,r];{if(u!=="2023-11"&&p.splice(1,2,r,n),u==="2021-12"||u==="2022-03"&&!l.availableHelper("applyDecs2203R"))return c=A.types.arrayPattern([...e,...t]),f=A.types.callExpression(l.addHelper(u==="2021-12"?"applyDecs":"applyDecs2203"),p),A.types.assignmentExpression("=",c,f);u==="2022-03"?f=A.types.callExpression(l.addHelper("applyDecs2203R"),p):u==="2023-01"?(i&&p.push(p1(i)),f=A.types.callExpression(l.addHelper("applyDecs2301"),p)):u==="2023-05"&&((i||o||s.value!==0)&&p.push(s),i?p.push(p1(i)):o&&p.push(A.types.unaryExpression("void",A.types.numericLiteral(0))),o&&p.push(o),f=A.types.callExpression(l.addHelper("applyDecs2305"),p))}return u==="2023-11"&&((i||o||s.value!==0)&&p.push(s),i?p.push(p1(i)):o&&p.push(A.types.unaryExpression("void",A.types.numericLiteral(0))),o&&p.push(o),f=A.types.callExpression(l.addHelper("applyDecs2311"),p)),e.length>0?t.length>0?c=A.types.objectPattern([A.types.objectProperty(A.types.identifier("e"),A.types.arrayPattern(e)),A.types.objectProperty(A.types.identifier("c"),A.types.arrayPattern(t))]):(c=A.types.arrayPattern(e),f=A.types.memberExpression(f,A.types.identifier("e"),!1,!1)):(c=A.types.arrayPattern(t),f=A.types.memberExpression(f,A.types.identifier("c"),!1,!1)),A.types.assignmentExpression("=",c,f)}function EEe(e){return e.type==="Identifier"?e.name==="__proto__":e.value==="__proto__"}function tu(e){return e.decorators&&e.decorators.length>0}function vEe(e){switch(e.type){case"ClassAccessorProperty":return!0;case"ClassMethod":case"ClassProperty":case"ClassPrivateMethod":case"ClassPrivateProperty":return tu(e);default:return!1}}function TEe(e){return tu(e)||e.body.body.some(vEe)}function SEe(e,t){function r(n,s,i){switch(s.type){case"StringLiteral":return A.types.stringLiteral(s.value);case"NumericLiteral":case"BigIntLiteral":{let a=s.value+"";return n.get("key").replaceWith(A.types.stringLiteral(a)),A.types.stringLiteral(a)}default:{let a=n.scope.maybeGenerateMemoised(s);return n.get("key").replaceWith(A.types.assignmentExpression("=",a,h1(i,s))),A.types.cloneNode(a)}}}return{VariableDeclarator(n,s){let i=n.node.id;if(i.type==="Identifier"){let a=(0,oi.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,oi.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,oi.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,oi.skipTransparentExprWrappers)(i.get("value"));if(e(l)){if(a.computed){let u=r(i,o,s);t(l,s,u)}else if(!EEe(o))if(o.type==="Identifier")t(l,s,o.name);else{let u=A.types.stringLiteral(o.value+"");t(l,s,u)}}}},ClassPrivateProperty(n,s){let{node:i}=n,a=(0,oi.skipTransparentExprWrappers)(n.get("value"));if(e(a)){let o=A.types.stringLiteral("#"+i.key.id.name);t(a,s,o)}},ClassAccessorProperty(n,s){let{node:i}=n,a=i.key,o=(0,oi.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=A.types.stringLiteral("#"+a.id.name);t(o,s,l)}else{let l=A.types.stringLiteral(a.value+"");t(o,s,l)}},ClassProperty(n,s){let{node:i}=n,a=i.key,o=(0,oi.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=A.types.stringLiteral(a.value+"");t(o,s,l)}}}}function xEe(e){return e.isClassExpression({id:null})&&TEe(e.node)}function Zr(e,t){let r=e.generateUidIdentifier(t);return e.push({id:r,kind:"let"}),A.types.cloneNode(r)}function PEe({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=SEe(xEe,f);function f(p,h,b){var d,y;if(o.has(p))return;let{node:P}=p;(d=b)!=null||(b=(y=P.id)==null?void 0:y.name);let D=gEe(p,h,l,u,b,c,n);if(D){o.add(D);return}o.add(p)}return{name:"proposal-decorators",inherits:s,visitor:Object.assign({ExportDefaultDeclaration(p,h){let{declaration:b}=p.node;if(b?.type==="ClassDeclaration"&&tu(b)){let y=!b.id;{var d;(d=p.splitExportDeclaration)!=null||(p.splitExportDeclaration=rr().NodePath.prototype.splitExportDeclaration)}let P=p.splitExportDeclaration();y&&f(P,h,A.types.stringLiteral("default"))}},ExportNamedDeclaration(p){let{declaration:h}=p.node;if(h?.type==="ClassDeclaration"&&tu(h)){{var b;(b=p.splitExportDeclaration)!=null||(p.splitExportDeclaration=rr().NodePath.prototype.splitExportDeclaration)}p.splitExportDeclaration()}},Class(p,h){f(p,h,void 0)}},c)}}});var hN=E((Me,dN)=>{Me=dN.exports=Ye;var Pt;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?Pt=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:Pt=function(){};Me.SEMVER_SPEC_VERSION="2.0.0";var ru=256,Wp=Number.MAX_SAFE_INTEGER||9007199254740991,g1=16,AEe=ru-6,uo=Me.re=[],xt=Me.safeRe=[],Z=Me.src=[],U=Me.tokens={},fN=0;function nt(e){U[e]=fN++}var E1="[a-zA-Z0-9-]",b1=[["\\s",1],["\\d",ru],[E1,AEe]];function su(e){for(var t=0;t<b1.length;t++){var r=b1[t][0],n=b1[t][1];e=e.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}")}return e}nt("NUMERICIDENTIFIER");Z[U.NUMERICIDENTIFIER]="0|[1-9]\\d*";nt("NUMERICIDENTIFIERLOOSE");Z[U.NUMERICIDENTIFIERLOOSE]="\\d+";nt("NONNUMERICIDENTIFIER");Z[U.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+E1+"*";nt("MAINVERSION");Z[U.MAINVERSION]="("+Z[U.NUMERICIDENTIFIER]+")\\.("+Z[U.NUMERICIDENTIFIER]+")\\.("+Z[U.NUMERICIDENTIFIER]+")";nt("MAINVERSIONLOOSE");Z[U.MAINVERSIONLOOSE]="("+Z[U.NUMERICIDENTIFIERLOOSE]+")\\.("+Z[U.NUMERICIDENTIFIERLOOSE]+")\\.("+Z[U.NUMERICIDENTIFIERLOOSE]+")";nt("PRERELEASEIDENTIFIER");Z[U.PRERELEASEIDENTIFIER]="(?:"+Z[U.NUMERICIDENTIFIER]+"|"+Z[U.NONNUMERICIDENTIFIER]+")";nt("PRERELEASEIDENTIFIERLOOSE");Z[U.PRERELEASEIDENTIFIERLOOSE]="(?:"+Z[U.NUMERICIDENTIFIERLOOSE]+"|"+Z[U.NONNUMERICIDENTIFIER]+")";nt("PRERELEASE");Z[U.PRERELEASE]="(?:-("+Z[U.PRERELEASEIDENTIFIER]+"(?:\\."+Z[U.PRERELEASEIDENTIFIER]+")*))";nt("PRERELEASELOOSE");Z[U.PRERELEASELOOSE]="(?:-?("+Z[U.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+Z[U.PRERELEASEIDENTIFIERLOOSE]+")*))";nt("BUILDIDENTIFIER");Z[U.BUILDIDENTIFIER]=E1+"+";nt("BUILD");Z[U.BUILD]="(?:\\+("+Z[U.BUILDIDENTIFIER]+"(?:\\."+Z[U.BUILDIDENTIFIER]+")*))";nt("FULL");nt("FULLPLAIN");Z[U.FULLPLAIN]="v?"+Z[U.MAINVERSION]+Z[U.PRERELEASE]+"?"+Z[U.BUILD]+"?";Z[U.FULL]="^"+Z[U.FULLPLAIN]+"$";nt("LOOSEPLAIN");Z[U.LOOSEPLAIN]="[v=\\s]*"+Z[U.MAINVERSIONLOOSE]+Z[U.PRERELEASELOOSE]+"?"+Z[U.BUILD]+"?";nt("LOOSE");Z[U.LOOSE]="^"+Z[U.LOOSEPLAIN]+"$";nt("GTLT");Z[U.GTLT]="((?:<|>)?=?)";nt("XRANGEIDENTIFIERLOOSE");Z[U.XRANGEIDENTIFIERLOOSE]=Z[U.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";nt("XRANGEIDENTIFIER");Z[U.XRANGEIDENTIFIER]=Z[U.NUMERICIDENTIFIER]+"|x|X|\\*";nt("XRANGEPLAIN");Z[U.XRANGEPLAIN]="[v=\\s]*("+Z[U.XRANGEIDENTIFIER]+")(?:\\.("+Z[U.XRANGEIDENTIFIER]+")(?:\\.("+Z[U.XRANGEIDENTIFIER]+")(?:"+Z[U.PRERELEASE]+")?"+Z[U.BUILD]+"?)?)?";nt("XRANGEPLAINLOOSE");Z[U.XRANGEPLAINLOOSE]="[v=\\s]*("+Z[U.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+Z[U.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+Z[U.XRANGEIDENTIFIERLOOSE]+")(?:"+Z[U.PRERELEASELOOSE]+")?"+Z[U.BUILD]+"?)?)?";nt("XRANGE");Z[U.XRANGE]="^"+Z[U.GTLT]+"\\s*"+Z[U.XRANGEPLAIN]+"$";nt("XRANGELOOSE");Z[U.XRANGELOOSE]="^"+Z[U.GTLT]+"\\s*"+Z[U.XRANGEPLAINLOOSE]+"$";nt("COERCE");Z[U.COERCE]="(^|[^\\d])(\\d{1,"+g1+"})(?:\\.(\\d{1,"+g1+"}))?(?:\\.(\\d{1,"+g1+"}))?(?:$|[^\\d])";nt("COERCERTL");uo[U.COERCERTL]=new RegExp(Z[U.COERCE],"g");xt[U.COERCERTL]=new RegExp(su(Z[U.COERCE]),"g");nt("LONETILDE");Z[U.LONETILDE]="(?:~>?)";nt("TILDETRIM");Z[U.TILDETRIM]="(\\s*)"+Z[U.LONETILDE]+"\\s+";uo[U.TILDETRIM]=new RegExp(Z[U.TILDETRIM],"g");xt[U.TILDETRIM]=new RegExp(su(Z[U.TILDETRIM]),"g");var CEe="$1~";nt("TILDE");Z[U.TILDE]="^"+Z[U.LONETILDE]+Z[U.XRANGEPLAIN]+"$";nt("TILDELOOSE");Z[U.TILDELOOSE]="^"+Z[U.LONETILDE]+Z[U.XRANGEPLAINLOOSE]+"$";nt("LONECARET");Z[U.LONECARET]="(?:\\^)";nt("CARETTRIM");Z[U.CARETTRIM]="(\\s*)"+Z[U.LONECARET]+"\\s+";uo[U.CARETTRIM]=new RegExp(Z[U.CARETTRIM],"g");xt[U.CARETTRIM]=new RegExp(su(Z[U.CARETTRIM]),"g");var wEe="$1^";nt("CARET");Z[U.CARET]="^"+Z[U.LONECARET]+Z[U.XRANGEPLAIN]+"$";nt("CARETLOOSE");Z[U.CARETLOOSE]="^"+Z[U.LONECARET]+Z[U.XRANGEPLAINLOOSE]+"$";nt("COMPARATORLOOSE");Z[U.COMPARATORLOOSE]="^"+Z[U.GTLT]+"\\s*("+Z[U.LOOSEPLAIN]+")$|^$";nt("COMPARATOR");Z[U.COMPARATOR]="^"+Z[U.GTLT]+"\\s*("+Z[U.FULLPLAIN]+")$|^$";nt("COMPARATORTRIM");Z[U.COMPARATORTRIM]="(\\s*)"+Z[U.GTLT]+"\\s*("+Z[U.LOOSEPLAIN]+"|"+Z[U.XRANGEPLAIN]+")";uo[U.COMPARATORTRIM]=new RegExp(Z[U.COMPARATORTRIM],"g");xt[U.COMPARATORTRIM]=new RegExp(su(Z[U.COMPARATORTRIM]),"g");var DEe="$1$2$3";nt("HYPHENRANGE");Z[U.HYPHENRANGE]="^\\s*("+Z[U.XRANGEPLAIN]+")\\s+-\\s+("+Z[U.XRANGEPLAIN]+")\\s*$";nt("HYPHENRANGELOOSE");Z[U.HYPHENRANGELOOSE]="^\\s*("+Z[U.XRANGEPLAINLOOSE]+")\\s+-\\s+("+Z[U.XRANGEPLAINLOOSE]+")\\s*$";nt("STAR");Z[U.STAR]="(<|>)?=?\\s*\\*";for(Qn=0;Qn<fN;Qn++)Pt(Qn,Z[Qn]),uo[Qn]||(uo[Qn]=new RegExp(Z[Qn]),xt[Qn]=new RegExp(su(Z[Qn])));var Qn;Me.parse=ra;function ra(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof Ye)return e;if(typeof e!="string"||e.length>ru)return null;var r=t.loose?xt[U.LOOSE]:xt[U.FULL];if(!r.test(e))return null;try{return new Ye(e,t)}catch{return null}}Me.valid=IEe;function IEe(e,t){var r=ra(e,t);return r?r.version:null}Me.clean=OEe;function OEe(e,t){var r=ra(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}Me.SemVer=Ye;function Ye(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof Ye){if(e.loose===t.loose)return e;e=e.version}else if(typeof e!="string")throw new TypeError("Invalid Version: "+e);if(e.length>ru)throw new TypeError("version is longer than "+ru+" characters");if(!(this instanceof Ye))return new Ye(e,t);Pt("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?xt[U.LOOSE]:xt[U.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>Wp||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Wp||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Wp||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<Wp)return s}return n}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}Ye.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};Ye.prototype.toString=function(){return this.version};Ye.prototype.compare=function(e){return Pt("SemVer.compare",this.version,this.options,e),e instanceof Ye||(e=new Ye(e,this.options)),this.compareMain(e)||this.comparePre(e)};Ye.prototype.compareMain=function(e){return e instanceof Ye||(e=new Ye(e,this.options)),ta(this.major,e.major)||ta(this.minor,e.minor)||ta(this.patch,e.patch)};Ye.prototype.comparePre=function(e){if(e instanceof Ye||(e=new Ye(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(Pt("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 ta(r,n)}while(++t)};Ye.prototype.compareBuild=function(e){e instanceof Ye||(e=new Ye(e,this.options));var t=0;do{var r=this.build[t],n=e.build[t];if(Pt("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 ta(r,n)}while(++t)};Ye.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};Me.inc=_Ee;function _Ee(e,t,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new Ye(e,r).inc(t,n).version}catch{return null}}Me.diff=NEe;function NEe(e,t){if(v1(e,t))return null;var r=ra(e),n=ra(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}Me.compareIdentifiers=ta;var uN=/^[0-9]+$/;function ta(e,t){var r=uN.test(e),n=uN.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1}Me.rcompareIdentifiers=BEe;function BEe(e,t){return ta(t,e)}Me.major=FEe;function FEe(e,t){return new Ye(e,t).major}Me.minor=kEe;function kEe(e,t){return new Ye(e,t).minor}Me.patch=LEe;function LEe(e,t){return new Ye(e,t).patch}Me.compare=Ds;function Ds(e,t,r){return new Ye(e,r).compare(new Ye(t,r))}Me.compareLoose=REe;function REe(e,t){return Ds(e,t,!0)}Me.compareBuild=jEe;function jEe(e,t,r){var n=new Ye(e,r),s=new Ye(t,r);return n.compare(s)||n.compareBuild(s)}Me.rcompare=MEe;function MEe(e,t,r){return Ds(t,e,r)}Me.sort=qEe;function qEe(e,t){return e.sort(function(r,n){return Me.compareBuild(r,n,t)})}Me.rsort=UEe;function UEe(e,t){return e.sort(function(r,n){return Me.compareBuild(n,r,t)})}Me.gt=nu;function nu(e,t,r){return Ds(e,t,r)>0}Me.lt=Kp;function Kp(e,t,r){return Ds(e,t,r)<0}Me.eq=v1;function v1(e,t,r){return Ds(e,t,r)===0}Me.neq=pN;function pN(e,t,r){return Ds(e,t,r)!==0}Me.gte=T1;function T1(e,t,r){return Ds(e,t,r)>=0}Me.lte=S1;function S1(e,t,r){return Ds(e,t,r)<=0}Me.cmp=Gp;function Gp(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 v1(e,r,n);case"!=":return pN(e,r,n);case">":return nu(e,r,n);case">=":return T1(e,r,n);case"<":return Kp(e,r,n);case"<=":return S1(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}Me.Comparator=bn;function bn(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof bn){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof bn))return new bn(e,t);e=e.trim().split(/\s+/).join(" "),Pt("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===co?this.value="":this.value=this.operator+this.semver.version,Pt("comp",this)}var co={};bn.prototype.parse=function(e){var t=this.options.loose?xt[U.COMPARATORLOOSE]:xt[U.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 Ye(r[2],this.options.loose):this.semver=co};bn.prototype.toString=function(){return this.value};bn.prototype.test=function(e){if(Pt("Comparator.test",e,this.options.loose),this.semver===co||e===co)return!0;if(typeof e=="string")try{e=new Ye(e,this.options)}catch{return!1}return Gp(e,this.operator,this.semver,this.options)};bn.prototype.intersects=function(e,t){if(!(e instanceof bn))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 qt(e.value,t),Hp(this.value,r,t));if(e.operator==="")return e.value===""?!0:(r=new qt(this.value,t),Hp(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=Gp(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),l=Gp(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return n||s||i&&a||o||l};Me.Range=qt;function qt(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof qt)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new qt(e.raw,t);if(e instanceof bn)return new qt(e.value,t);if(!(this instanceof qt))return new qt(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()}qt.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range};qt.prototype.toString=function(){return this.range};qt.prototype.parseRange=function(e){var t=this.options.loose,r=t?xt[U.HYPHENRANGELOOSE]:xt[U.HYPHENRANGE];e=e.replace(r,zEe),Pt("hyphen replace",e),e=e.replace(xt[U.COMPARATORTRIM],DEe),Pt("comparator trim",e,xt[U.COMPARATORTRIM]),e=e.replace(xt[U.TILDETRIM],CEe),e=e.replace(xt[U.CARETTRIM],wEe),e=e.split(/\s+/).join(" ");var n=t?xt[U.COMPARATORLOOSE]:xt[U.COMPARATOR],s=e.split(" ").map(function(i){return $Ee(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 bn(i,this.options)},this),s};qt.prototype.intersects=function(e,t){if(!(e instanceof qt))throw new TypeError("a Range is required");return this.set.some(function(r){return cN(r,t)&&e.set.some(function(n){return cN(n,t)&&r.every(function(s){return n.every(function(i){return s.intersects(i,t)})})})})};function cN(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}Me.toComparators=VEe;function VEe(e,t){return new qt(e,t).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}function $Ee(e,t){return Pt("comp",e,t),e=GEe(e,t),Pt("caret",e),e=WEe(e,t),Pt("tildes",e),e=XEe(e,t),Pt("xrange",e),e=JEe(e,t),Pt("stars",e),e}function Ur(e){return!e||e.toLowerCase()==="x"||e==="*"}function WEe(e,t){return e.trim().split(/\s+/).map(function(r){return KEe(r,t)}).join(" ")}function KEe(e,t){var r=t.loose?xt[U.TILDELOOSE]:xt[U.TILDE];return e.replace(r,function(n,s,i,a,o){Pt("tilde",e,n,s,i,a,o);var l;return Ur(s)?l="":Ur(i)?l=">="+s+".0.0 <"+(+s+1)+".0.0":Ur(a)?l=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":o?(Pt("replaceTilde pr",o),l=">="+s+"."+i+"."+a+"-"+o+" <"+s+"."+(+i+1)+".0"):l=">="+s+"."+i+"."+a+" <"+s+"."+(+i+1)+".0",Pt("tilde return",l),l})}function GEe(e,t){return e.trim().split(/\s+/).map(function(r){return HEe(r,t)}).join(" ")}function HEe(e,t){Pt("caret",e,t);var r=t.loose?xt[U.CARETLOOSE]:xt[U.CARET];return e.replace(r,function(n,s,i,a,o){Pt("caret",e,n,s,i,a,o);var l;return Ur(s)?l="":Ur(i)?l=">="+s+".0.0 <"+(+s+1)+".0.0":Ur(a)?s==="0"?l=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":l=">="+s+"."+i+".0 <"+(+s+1)+".0.0":o?(Pt("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"):(Pt("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"),Pt("caret return",l),l})}function XEe(e,t){return Pt("replaceXRanges",e,t),e.split(/\s+/).map(function(r){return YEe(r,t)}).join(" ")}function YEe(e,t){e=e.trim();var r=t.loose?xt[U.XRANGELOOSE]:xt[U.XRANGE];return e.replace(r,function(n,s,i,a,o,l){Pt("xRange",e,n,s,i,a,o,l);var u=Ur(i),c=u||Ur(a),f=c||Ur(o),p=f;return s==="="&&p&&(s=""),l=t.includePrerelease?"-0":"",u?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&p?(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:f&&(n=">="+i+"."+a+".0"+l+" <"+i+"."+(+a+1)+".0"+l),Pt("xRange return",n),n})}function JEe(e,t){return Pt("replaceStars",e,t),e.trim().replace(xt[U.STAR],"")}function zEe(e,t,r,n,s,i,a,o,l,u,c,f,p){return Ur(r)?t="":Ur(n)?t=">="+r+".0.0":Ur(s)?t=">="+r+"."+n+".0":t=">="+t,Ur(l)?o="":Ur(u)?o="<"+(+l+1)+".0.0":Ur(c)?o="<"+l+"."+(+u+1)+".0":f?o="<="+l+"."+u+"."+c+"-"+f:o="<="+o,(t+" "+o).trim()}qt.prototype.test=function(e){if(!e)return!1;if(typeof e=="string")try{e=new Ye(e,this.options)}catch{return!1}for(var t=0;t<this.set.length;t++)if(QEe(this.set[t],e,this.options))return!0;return!1};function QEe(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(Pt(e[n].semver),e[n].semver!==co&&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}Me.satisfies=Hp;function Hp(e,t,r){try{t=new qt(t,r)}catch{return!1}return t.test(e)}Me.maxSatisfying=ZEe;function ZEe(e,t,r){var n=null,s=null;try{var i=new qt(t,r)}catch{return null}return e.forEach(function(a){i.test(a)&&(!n||s.compare(a)===-1)&&(n=a,s=new Ye(n,r))}),n}Me.minSatisfying=e1e;function e1e(e,t,r){var n=null,s=null;try{var i=new qt(t,r)}catch{return null}return e.forEach(function(a){i.test(a)&&(!n||s.compare(a)===1)&&(n=a,s=new Ye(n,r))}),n}Me.minVersion=t1e;function t1e(e,t){e=new qt(e,t);var r=new Ye("0.0.0");if(e.test(r)||(r=new Ye("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 Ye(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!r||nu(r,a))&&(r=a);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+i.operator)}})}return r&&e.test(r)?r:null}Me.validRange=r1e;function r1e(e,t){try{return new qt(e,t).range||"*"}catch{return null}}Me.ltr=n1e;function n1e(e,t,r){return x1(e,t,"<",r)}Me.gtr=s1e;function s1e(e,t,r){return x1(e,t,">",r)}Me.outside=x1;function x1(e,t,r,n){e=new Ye(e,n),t=new qt(t,n);var s,i,a,o,l;switch(r){case">":s=nu,i=S1,a=Kp,o=">",l=">=";break;case"<":s=Kp,i=T1,a=nu,o="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Hp(e,t,n))return!1;for(var u=0;u<t.set.length;++u){var c=t.set[u],f=null,p=null;if(c.forEach(function(h){h.semver===co&&(h=new bn(">=0.0.0")),f=f||h,p=p||h,s(h.semver,f.semver,n)?f=h:a(h.semver,p.semver,n)&&(p=h)}),f.operator===o||f.operator===l||(!p.operator||p.operator===o)&&i(e,p.semver))return!1;if(p.operator===l&&a(e,p.semver))return!1}return!0}Me.prerelease=i1e;function i1e(e,t){var r=ra(e,t);return r&&r.prerelease.length?r.prerelease:null}Me.intersects=a1e;function a1e(e,t,r){return e=new qt(e,r),t=new qt(t,r),e.intersects(t)}Me.coerce=o1e;function o1e(e,t){if(e instanceof Ye)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(xt[U.COERCE]);else{for(var n;(n=xt[U.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),xt[U.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;xt[U.COERCERTL].lastIndex=-1}return r===null?null:ra(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}});var A1=E(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});iu.buildDecoratedClass=h1e;iu.hasDecorators=u1e;iu.hasOwnDecorators=P1;var Ot=Qt(),l1e=Rp();function P1(e){var t;return!!((t=e.decorators)!=null&&t.length)}function u1e(e){return P1(e)||e.body.body.some(P1)}function fo(e,t){return t?Ot.types.objectProperty(Ot.types.identifier(e),t):null}function c1e(e,t){return Ot.types.objectMethod("method",Ot.types.identifier(e),[],Ot.types.blockStatement(t))}function mN(e){let t;return e.decorators&&e.decorators.length>0&&(t=Ot.types.arrayExpression(e.decorators.map(r=>r.expression))),e.decorators=void 0,t}function f1e(e){return e.computed?e.key:Ot.types.isIdentifier(e.key)?Ot.types.stringLiteral(e.key.name):Ot.types.stringLiteral(String(e.key.value))}function p1e(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 l1e.default({methodPath:n,objectRef:t,superRef:r,file:e,refToPreserve:t}).replace();let o=[fo("kind",Ot.types.stringLiteral(Ot.types.isClassMethod(i)?i.kind:"field")),fo("decorators",mN(i)),fo("static",i.static&&Ot.types.booleanLiteral(!0)),fo("key",f1e(i))].filter(Boolean);if(s){{var l;(l=n.ensureFunctionName)!=null||(n.ensureFunctionName=rr().NodePath.prototype.ensureFunctionName)}n.ensureFunctionName(!1),o.push(fo("value",Ot.types.toExpression(n.node)))}else Ot.types.isClassProperty(i)&&i.value?o.push(c1e("value",Ot.template.statements.ast`return ${i.value}`)):o.push(fo("value",a.buildUndefinedNode()));return n.remove(),Ot.types.objectExpression(o)}function d1e(e){return e.addHelper("decorate")}function h1e(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=Ot.types.cloneNode(e));let c;u&&(c=i.generateUidIdentifierBasedOnNode(s.superClass,"super"),s.superClass=c);let f=mN(s),p=Ot.types.arrayExpression(r.filter(y=>!y.node.abstract&&y.node.type!=="TSIndexSignature").map(y=>p1e(n,s.id,c,y))),h=Ot.template.expression.ast`
303
- ${d1e(n)}(
304
- ${f||Ot.types.nullLiteral()},
305
- function (${a}, ${u?Ot.types.cloneNode(c):null}) {
306
- ${s}
307
- return { F: ${Ot.types.cloneNode(s.id)}, d: ${p} };
308
- },
309
- ${u}
310
- )
311
- `;l||h.arguments[1].body.directives.push(Ot.types.directive(Ot.types.directiveLiteral("use strict")));let b=h,d="arguments.1.body.body.0";return o&&(b=Ot.template.statement.ast`let ${e} = ${h}`,d="declarations.0.init."+d),{instanceNodes:[Ot.template.statement.ast`
312
- ${Ot.types.cloneNode(a)}(this)
313
- `],wrapClass(y){return y.replaceWith(b),y.get(d)}}}});var EN=E(na=>{"use strict";Object.defineProperty(na,"__esModule",{value:!0});na.FEATURES=void 0;na.enableFeature=m1e;na.isLoose=D1;na.shouldTransform=y1e;var yN=A1(),Is=na.FEATURES=Object.freeze({fields:2,privateMethods:4,decorators:8,privateIn:16,staticBlocks:32}),gN=new Map([[Is.fields,"@babel/plugin-transform-class-properties"],[Is.privateMethods,"@babel/plugin-transform-private-methods"],[Is.privateIn,"@babel/plugin-transform-private-property-in-object"]]),C1="@babel/plugin-class-features/featuresKey",au="@babel/plugin-class-features/looseKey";ci="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing";var ci;w1=function(e,t){return!!(e.get(ci)&t)};var w1;function m1e(e,t,r){(!Os(e,t)||w1(e,t))&&(e.set(C1,e.get(C1)|t),r==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"?(Xp(e,t,!0),e.set(ci,e.get(ci)|t)):r==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"?(Xp(e,t,!1),e.set(ci,e.get(ci)|t)):Xp(e,t,r));let n;for(let[i,a]of gN){if(!Os(e,i)||w1(e,i))continue;let o=D1(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).
314
-
315
- `+bN(e));n=o;var s=a}if(n!==void 0)for(let[i,a]of gN)Os(e,i)&&D1(e,i)!==n&&(Xp(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}.
316
- 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
317
- ["${a}", { "loose": ${n} }]
318
- to the "plugins" section of your Babel config.
319
-
320
- `+bN(e)))}function bN(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.
321
- You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:
322
- npx cross-env BABEL_SHOW_CONFIG_FOR=${t} <your build command>
323
- See https://babeljs.io/docs/configuration#print-effective-configs for more info.`}function Os(e,t){return!!(e.get(C1)&t)}function D1(e,t){return!!(e.get(au)&t)}function Xp(e,t,r){r?e.set(au,e.get(au)|t):e.set(au,e.get(au)&~t),e.set(ci,e.get(ci)&~t)}function y1e(e,t){let r=null,n=null,s=null,i=null,a=null;(0,yN.hasOwnDecorators)(e.node)&&(r=e.get("decorators.0"));for(let o of e.get("body.body"))!r&&(0,yN.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&&!Os(t,Is.decorators))throw e.buildCodeFrameError(`Decorators are not enabled.
324
- 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:
325
- ["@babel/plugin-proposal-decorators", { "version": "legacy" }]
326
- ["@babel/plugin-transform-class-properties", { "loose": true }]`);if(i&&!Os(t,Is.privateMethods))throw i.buildCodeFrameError("Class private methods are not enabled. Please add `@babel/plugin-transform-private-methods` to your configuration.");if((n||s)&&!Os(t,Is.fields)&&!Os(t,Is.privateMethods))throw e.buildCodeFrameError("Class fields are not enabled. Please add `@babel/plugin-transform-class-properties` to your configuration.");if(a&&!Os(t,Is.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)&&Os(t,Is.fields))}});var vN=E(ia=>{"use strict";Object.defineProperty(ia,"__esModule",{value:!0});Object.defineProperty(ia,"FEATURES",{enumerable:!0,get:function(){return po.FEATURES}});Object.defineProperty(ia,"buildCheckInRHS",{enumerable:!0,get:function(){return ou.buildCheckInRHS}});ia.createClassFeaturePlugin=v1e;Object.defineProperty(ia,"enableFeature",{enumerable:!0,get:function(){return po.enableFeature}});Object.defineProperty(ia,"injectInitialization",{enumerable:!0,get:function(){return _1.injectInitialization}});var I1=Qt(),g1e=lN(),b1e=hN(),ou=l1(),O1=A1(),_1=u1(),po=EN(),E1e=n1(),sa="@babel/plugin-class-features/version";function v1e({name:e,feature:t,loose:r,manipulateOptions:n,api:s,inherits:i,decoratorVersion:a}){var o;if(t&po.FEATURES.decorators&&(a==="2023-11"||a==="2023-05"||a==="2023-01"||a==="2022-03"||a==="2021-12"))return(0,g1e.default)(s,{loose:r},a,i);{var l;(l=s)!=null||(s={assumption:()=>{}})}let u=s.assumption("setPublicClassFields"),c=s.assumption("privateFieldsAsSymbols"),f=s.assumption("privateFieldsAsProperties"),p=(o=s.assumption("noUninitializedPrivateFieldAccess"))!=null?o:!1,h=s.assumption("constantSuper"),b=s.assumption("noDocumentAll");if(f&&c)throw new Error('Cannot enable both the "privateFieldsAsProperties" and "privateFieldsAsSymbols" assumptions as the same time.');let d=f||c;if(r===!0){let y=[];u!==void 0&&y.push('"setPublicClassFields"'),f!==void 0&&y.push('"privateFieldsAsProperties"'),c!==void 0&&y.push('"privateFieldsAsSymbols"'),y.length!==0&&console.warn(`[${e}]: You are using the "loose: true" option and you are explicitly setting a value for the ${y.join(" and ")} assumption${y.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:
327
- "assumptions": {
328
- "setPublicClassFields": true,
329
- "privateFieldsAsSymbols": true
330
- }`)}return{name:e,manipulateOptions:n,inherits:i,pre(y){if((0,po.enableFeature)(y,t,r),typeof y.get(sa)=="number"){y.set(sa,"7.25.4");return}(!y.get(sa)||b1e.lt(y.get(sa),"7.25.4"))&&y.set(sa,"7.25.4")},visitor:{Class(y,{file:P}){var D;if(P.get(sa)!=="7.25.4"||!(0,po.shouldTransform)(y,P))return;let N=y.isClassDeclaration();N&&(0,E1e.assertFieldTransformed)(y);let B=(0,po.isLoose)(P,t),F,j=(0,O1.hasDecorators)(y.node),W=[],re=[],G=[],V=new Set,R=y.get("body");for(let we of R.get("body")){if((we.isClassProperty()||we.isClassMethod())&&we.node.computed&&G.push(we),we.isPrivate()){let{name:Dt}=we.node.key.id,Ut=`get ${Dt}`,Yt=`set ${Dt}`;if(we.isClassPrivateMethod()){if(we.node.kind==="get"){if(V.has(Ut)||V.has(Dt)&&!V.has(Yt))throw we.buildCodeFrameError("Duplicate private field");V.add(Ut).add(Dt)}else if(we.node.kind==="set"){if(V.has(Yt)||V.has(Dt)&&!V.has(Ut))throw we.buildCodeFrameError("Duplicate private field");V.add(Yt).add(Dt)}}else{if(V.has(Dt)&&!V.has(Ut)&&!V.has(Yt)||V.has(Dt)&&(V.has(Ut)||V.has(Yt)))throw we.buildCodeFrameError("Duplicate private field");V.add(Dt)}}we.isClassMethod({kind:"constructor"})?F=we:(re.push(we),(we.isProperty()||we.isPrivate()||we.isStaticBlock!=null&&we.isStaticBlock())&&W.push(we))}if(!W.length&&!j)return;let H=y.node.id,ge;if(!H||!N){{var fe;(fe=y.ensureFunctionName)!=null||(y.ensureFunctionName=rr().NodePath.prototype.ensureFunctionName)}y.ensureFunctionName(!1),ge=y.scope.generateUidIdentifier(H?.name||"Class")}let ne=(D=ge)!=null?D:I1.types.cloneNode(H),te=(0,ou.buildPrivateNamesMap)(ne.name,d??B,W,P),ue=(0,ou.buildPrivateNamesNodes)(te,f??B,c??!1,P);(0,ou.transformPrivateNamesUsage)(ne,y,te,{privateFieldsAsProperties:d??B,noUninitializedPrivateFieldAccess:p,noDocumentAll:b,innerBinding:H},P);let pe,xe,Ie,ke,be,qe,Lt;j?(xe=be=pe=[],{instanceNodes:Ie,wrapClass:Lt}=(0,O1.buildDecoratedClass)(ne,y,re,P)):(pe=(0,_1.extractComputedKeys)(y,G,P),{staticNodes:xe,pureStaticNodes:be,instanceNodes:Ie,lastInstanceNodeReturnsThis:ke,classBindingNode:qe,wrapClass:Lt}=(0,ou.buildFieldsInitNodes)(ge,y.node.superClass,W,te,P,u??B,d??B,p,h??B,H)),Ie.length>0&&(0,_1.injectInitialization)(y,F,Ie,(we,Dt)=>{if(!j)for(let Ut of W)I1.types.isStaticBlock!=null&&I1.types.isStaticBlock(Ut.node)||Ut.node.static||Ut.traverse(we,Dt)},ke);let wt=Lt(y);wt.insertBefore([...ue,...pe]),xe.length>0&&wt.insertAfter(xe),be.length>0&&wt.find(we=>we.isStatement()||we.isDeclaration()).insertAfter(be),qe!=null&&N&&wt.insertAfter(qe)},ExportDefaultDeclaration(y,{file:P}){{if(P.get(sa)!=="7.25.4")return;let N=y.get("declaration");if(N.isClassDeclaration()&&(0,O1.hasDecorators)(N.node))if(N.node.id){{var D;(D=y.splitExportDeclaration)!=null||(y.splitExportDeclaration=rr().NodePath.prototype.splitExportDeclaration)}y.splitExportDeclaration()}else N.node.type="ClassExpression"}}}}}});var B1=E(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});lu.default=A1e;lu.isSyntacticallyString=Yp;lu.translateEnumValues=SN;var ho=Qt(),T1e=me("assert"),S1e=t1(),x1e=jp(),N1=new WeakMap,P1e=ho.template.expression(`
331
- (function (ID) {
332
- ASSIGNMENTS;
333
- return ID;
334
- })(INIT)
335
- `);function A1e(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}=I1e(e,t,r.id);switch(n.type){case"BlockStatement":case"ExportNamedDeclaration":case"Program":{let u=t.isProgram(e.parent),c=l(n),f=t.objectExpression([]);(c||u)&&(f=t.logicalExpression("||",t.cloneNode(i.ID),f));let p=P1e(Object.assign({},i,{INIT:f}));o&&(0,S1e.default)(p),c?(n.isExportDeclaration()?n:e).replaceWith(t.expressionStatement(t.assignmentExpression("=",t.cloneNode(r.id),p))):e.scope.registerDeclaration(e.replaceWith(t.variableDeclaration(u?"var":"let",[t.variableDeclarator(r.id,p)]))[0]),N1.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 C1e=(0,ho.template)(`
336
- ENUM["NAME"] = VALUE;
337
- `),w1e=(0,ho.template)(`
338
- ENUM[ENUM["NAME"] = VALUE] = "NAME";
339
- `),D1e=(e,t)=>(e?C1e:w1e)(t);function I1e(e,t,r){let{enumValues:n,data:s,isPure:i}=SN(e,t),a=n.map(([o,l])=>D1e(Yp(l),{ENUM:t.cloneNode(r),NAME:o,VALUE:l}));return{fill:{ID:t.cloneNode(r),ASSIGNMENTS:a},data:s,isPure:i}}function Yp(e){switch(e=(0,x1e.skipTransparentExprWrapperNodes)(e),e.type){case"BinaryExpression":{let t=e.left,r=e.right;return e.operator==="+"&&(Yp(t)||Yp(r))}case"TemplateLiteral":case"StringLiteral":return!0}return!1}function TN(e,t){let{seen:r,path:n,t:s}=t,i=e.node.name;r.has(i)&&!e.scope.hasOwnBinding(i)&&(e.replaceWith(s.memberExpression(s.cloneNode(n.node.id),s.cloneNode(e.node))),e.skip())}var O1e={ReferencedIdentifier:TN};function SN(e,t){var r;let n=e.scope.getBindingIdentifier(e.node.id.name),s=(r=N1.get(n))!=null?r:new Map,i=-1,a,o=!0,l=e.get("members").map(u=>{let c=u.node,f=t.isIdentifier(c.id)?c.id.name:c.id.value,p=u.get("initializer"),h=c.initializer,b;if(h)i=xN(p,s),i!==void 0?(s.set(f,i),T1e(typeof i=="number"||typeof i=="string"),i===1/0||Number.isNaN(i)?b=t.identifier(String(i)):i===-1/0?b=t.unaryExpression("-",t.identifier("Infinity")):b=t.valueToNode(i)):(o&&(o=p.isPure()),p.isReferencedIdentifier()?TN(p,{t,seen:s,path:e}):p.traverse(O1e,{t,seen:s,path:e}),b=p.node,s.set(f,void 0));else if(typeof i=="number")i+=1,b=t.numericLiteral(i),s.set(f,i);else{if(typeof i=="string")throw e.buildCodeFrameError("Enum member must have initializer.");{let d=t.memberExpression(t.cloneNode(e.node.id),t.stringLiteral(a),!0);b=t.binaryExpression("+",t.numericLiteral(1),d),s.set(f,void 0)}}return a=f,[f,b]});return{isPure:o,data:s,enumValues:l}}function xN(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,f="";for(let p=0;p<c.length;p++)if(f+=c[p].value.cooked,p+1<c.length){let h=s(u[p],t,r);if(h===void 0)return;f+=h}return f}default:return}}function s(o,l,u){if(o.isMemberExpression()){let c=o.node,f=c.object,p=c.property;if(!ho.types.isIdentifier(f)||(c.computed?!ho.types.isStringLiteral(p):!ho.types.isIdentifier(p)))return;let h=o.scope.getBindingIdentifier(f.name),b=N1.get(h);return b?b.get(p.computed?p.value:p.name):void 0}else if(o.isIdentifier()){let c=o.node.name;if(["Infinity","NaN"].includes(c))return Number(c);let f=l?.get(c);return f!==void 0?f:u.has(o.node)?void 0:(u.add(o.node),f=xN(o.resolve(),l,u),l?.set(c,f),f)}}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 PN=E(F1=>{"use strict";Object.defineProperty(F1,"__esModule",{value:!0});F1.default=N1e;var _1e=B1();function N1e(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,_1e.translateEnumValues)(e,t);if(s){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 k1=E(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.GLOBAL_TYPES=void 0;mo.isGlobalType=B1e;mo.registerGlobalType=F1e;var AN=mo.GLOBAL_TYPES=new WeakMap;function B1e({scope:e},t){return e.hasBinding(t)?!1:AN.get(e).has(t)?!0:(console.warn(`The exported identifier "${t}" is not declared in Babel's scope tracker
340
- as a JavaScript value binding, and "@babel/plugin-transform-typescript"
341
- never encountered it as a TypeScript type declaration.
342
- It will be treated as a JavaScript value.
343
-
344
- This problem is likely caused by another plugin injecting
345
- "${t}" without registering it in the scope tracker. If you are the author
346
- of that plugin, please use "scope.registerDeclaration(declarationPath)".`),!1)}function F1e(e,t){AN.get(e).add(t)}});var wN=E(M1=>{"use strict";Object.defineProperty(M1,"__esModule",{value:!0});M1.default=L1e;var pt=Qt(),k1e=k1();function L1e(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=e.node.id.name,n=j1(e,pt.types.cloneNode(e.node,!0));if(n===null){let s=e.findParent(i=>i.isProgram());(0,k1e.registerGlobalType)(s.scope,r),e.remove()}else e.scope.hasOwnBinding(r)?e.replaceWith(n):e.scope.registerDeclaration(e.replaceWithMultiple([L1(r),n])[0])}function L1(e){return pt.types.variableDeclaration("let",[pt.types.variableDeclarator(pt.types.identifier(e))])}function R1(e,t){return pt.types.memberExpression(pt.types.identifier(e),pt.types.identifier(t))}function R1e(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=>pt.types.isIdentifier(a.id))){for(let a of n)a.init=pt.types.assignmentExpression("=",R1(t,a.id.name),a.init);return[e]}let s=pt.types.getBindingIdentifiers(e),i=[];for(let a in s)i.push(pt.types.assignmentExpression("=",R1(t,a),pt.types.cloneNode(s[a])));return[e,pt.types.expressionStatement(pt.types.sequenceExpression(i))]}function CN(e,t){return e.hub.buildError(t,"Ambient modules cannot be nested in other modules or namespaces.",Error)}function j1(e,t,r){let n=new Set,s=t.id;pt.types.assertIdentifier(s);let i=e.scope.generateUid(s.name),a=pt.types.isTSModuleBlock(t.body)?t.body.body:[pt.types.exportNamedDeclaration(t.body)],o=!0;for(let u=0;u<a.length;u++){let c=a[u];switch(c.type){case"TSModuleDeclaration":{if(!pt.types.isIdentifier(c.id))throw CN(e,c);let f=j1(e,c);if(f!==null){o=!1;let p=c.id.name;n.has(p)?a[u]=f:(n.add(p),a.splice(u++,1,L1(p),f))}continue}case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":o=!1,n.add(c.id.name);continue;case"VariableDeclaration":{o=!1;for(let f in pt.types.getBindingIdentifiers(c))n.add(f);continue}default:o&&(o=pt.types.isTypeScript(c));continue;case"ExportNamedDeclaration":}if(!("declare"in c.declaration&&c.declaration.declare))switch(c.declaration.type){case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":{o=!1;let f=c.declaration.id.name;n.add(f),a.splice(u++,1,c.declaration,pt.types.expressionStatement(pt.types.assignmentExpression("=",R1(i,f),pt.types.identifier(f))));break}case"VariableDeclaration":{o=!1;let f=R1e(c.declaration,i,e.hub);a.splice(u,f.length,...f),u+=f.length-1;break}case"TSModuleDeclaration":{if(!pt.types.isIdentifier(c.declaration.id))throw CN(e,c.declaration);let f=j1(e,c.declaration,pt.types.identifier(i));if(f!==null){o=!1;let p=c.declaration.id.name;n.has(p)?a[u]=f:(n.add(p),a.splice(u++,1,L1(p),f))}else a.splice(u,1),u--}}}if(o)return null;let l=pt.types.objectExpression([]);if(r){let u=pt.types.memberExpression(r,s);l=pt.template.expression.ast`
347
- ${pt.types.cloneNode(u)} ||
348
- (${pt.types.cloneNode(u)} = ${l})
349
- `}return pt.template.statement.ast`
350
- (function (${pt.types.identifier(i)}) {
351
- ${a}
352
- })(${s} || (${pt.types.cloneNode(s)} = ${l}));
353
- `}});var ON=E(zp=>{"use strict";Object.defineProperty(zp,"__esModule",{value:!0});zp.default=void 0;var j1e=io(),M1e=x_(),q1e=vN(),U1e=PN(),V1e=B1(),_s=k1(),$1e=wN();function W1e(e){switch(e.parent.type){case"TSTypeReference":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,DN=new WeakSet;function Jp(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 IN(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.
354
- Please consider using \`${n}\`${s}, or add @babel/plugin-transform-modules-commonjs to your Babel config.`)}var JDe=zp.default=(0,j1e.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 f={field(d){let{node:y}=d;if(!c&&y.declare)throw d.buildCodeFrameError("The 'declare' modifier is only allowed when the 'allowDeclareFields' option of @babel/plugin-transform-typescript or @babel/preset-typescript is enabled.");if(y.declare){if(y.value)throw d.buildCodeFrameError("Fields with the 'declare' modifier cannot be initialized here, but only in the constructor");y.decorators||d.remove()}else if(y.definite){if(y.value)throw d.buildCodeFrameError("Definitely assigned fields cannot be initialized here, but only in the constructor");!c&&!y.decorators&&!r.isClassPrivateProperty(y)&&d.remove()}else(y.abstract||!c&&!y.value&&!y.decorators&&!r.isClassPrivateProperty(y))&&d.remove();y.accessibility&&(y.accessibility=null),y.abstract&&(y.abstract=null),y.readonly&&(y.readonly=null),y.optional&&(y.optional=null),y.typeAnnotation&&(y.typeAnnotation=null),y.definite&&(y.definite=null),y.declare&&(y.declare=null),y.override&&(y.override=null)},method({node:d}){d.accessibility&&(d.accessibility=null),d.abstract&&(d.abstract=null),d.optional&&(d.optional=null),d.override&&(d.override=null)},constructor(d,y){d.node.accessibility&&(d.node.accessibility=null);let P=[],{scope:D}=d;for(let N of d.get("params")){let B=N.node;if(B.type==="TSParameterProperty"){let F=B.parameter;if(DN.has(F))continue;DN.add(F);let j;if(r.isIdentifier(F))j=F;else if(r.isAssignmentPattern(F)&&r.isIdentifier(F.left))j=F.left;else throw N.buildCodeFrameError("Parameter properties can not be destructuring patterns.");P.push(n.statement.ast`
355
- this.${r.cloneNode(j)} = ${r.cloneNode(j)}
356
- `),N.replaceWith(N.get("parameter")),D.registerBinding("param",N)}}(0,q1e.injectInitialization)(y,d,P)}};return{name:"transform-typescript",inherits:M1e.default,visitor:{Pattern:h,Identifier:h,RestElement:h,Program:{enter(d,y){let{file:P}=y,D=null,N=null,B=d.scope;if(_s.GLOBAL_TYPES.has(B)||_s.GLOBAL_TYPES.set(B,new Set),P.ast.comments)for(let W of P.ast.comments){let re=s.exec(W.value);re&&(re[1]?N=re[2]:D=re[2])}let F=D||a;F&&([F]=F.split("."));let j=N||o;j&&([j]=j.split("."));for(let W of d.get("body")){if(W.isImportDeclaration()){if(En.has(y.file.ast.program)||En.set(y.file.ast.program,!0),W.node.importKind==="type"){for(let R of W.node.specifiers)(0,_s.registerGlobalType)(B,R.local.name);W.remove();continue}let re=new Set,G=W.node.specifiers.length,V=()=>G>0&&G===re.size;for(let R of W.node.specifiers)if(R.type==="ImportSpecifier"&&R.importKind==="type"){(0,_s.registerGlobalType)(B,R.local.name);let H=W.scope.getBinding(R.local.name);H&&re.add(H.path)}if(l)En.set(d.node,!1);else{if(W.node.specifiers.length===0){En.set(d.node,!1);continue}for(let R of W.node.specifiers){let H=W.scope.getBinding(R.local.name);H&&!re.has(H.path)&&(b({binding:H,programPath:d,pragmaImportName:F,pragmaFragImportName:j})?re.add(H.path):En.set(d.node,!1))}}if(V()&&!l)W.remove();else for(let R of re)R.remove();continue}if(W.isExportDeclaration()&&(W=W.get("declaration")),W.isVariableDeclaration({declare:!0}))for(let re of Object.keys(W.getBindingIdentifiers()))(0,_s.registerGlobalType)(B,re);else(W.isTSTypeAliasDeclaration()||W.isTSDeclareFunction()&&W.get("id").isIdentifier()||W.isTSInterfaceDeclaration()||W.isClassDeclaration({declare:!0})||W.isTSEnumDeclaration({declare:!0})||W.isTSModuleDeclaration({declare:!0})&&W.get("id").isIdentifier())&&(0,_s.registerGlobalType)(B,W.node.id.name)}},exit(d){d.node.sourceType==="module"&&En.get(d.node)&&d.pushContainer("body",r.exportNamedDeclaration())}},ExportNamedDeclaration(d,y){if(En.has(y.file.ast.program)||En.set(y.file.ast.program,!0),d.node.exportKind==="type"){d.remove();return}if(d.node.source&&d.node.specifiers.length>0&&d.node.specifiers.every(P=>P.type==="ExportSpecifier"&&P.exportKind==="type")){d.remove();return}if(!d.node.source&&d.node.specifiers.length>0&&d.node.specifiers.every(P=>r.isExportSpecifier(P)&&(0,_s.isGlobalType)(d,P.local.name))){d.remove();return}if(r.isTSModuleDeclaration(d.node.declaration)){let P=d.node.declaration,{id:D}=P;if(r.isIdentifier(D))if(d.scope.hasOwnBinding(D.name))d.replaceWith(P);else{let[N]=d.replaceWithMultiple([r.exportNamedDeclaration(r.variableDeclaration("let",[r.variableDeclarator(r.cloneNode(D))])),P]);d.scope.registerDeclaration(N)}}En.set(y.file.ast.program,!1)},ExportAllDeclaration(d){d.node.exportKind==="type"&&d.remove()},ExportSpecifier(d){(!d.parent.source&&(0,_s.isGlobalType)(d,d.node.local.name)||d.node.exportKind==="type")&&d.remove()},ExportDefaultDeclaration(d,y){if(En.has(y.file.ast.program)||En.set(y.file.ast.program,!0),r.isIdentifier(d.node.declaration)&&(0,_s.isGlobalType)(d,d.node.declaration.name)){d.remove();return}En.set(y.file.ast.program,!1)},TSDeclareFunction(d){Jp(d)},TSDeclareMethod(d){Jp(d)},VariableDeclaration(d){d.node.declare&&Jp(d)},VariableDeclarator({node:d}){d.definite&&(d.definite=null)},TSIndexSignature(d){d.remove()},ClassDeclaration(d){let{node:y}=d;y.declare&&Jp(d)},Class(d){let{node:y}=d;y.typeParameters&&(y.typeParameters=null),y.superTypeParameters&&(y.superTypeParameters=null),y.implements&&(y.implements=null),y.abstract&&(y.abstract=null),d.get("body.body").forEach(P=>{P.isClassMethod()||P.isClassPrivateMethod()?P.node.kind==="constructor"?f.constructor(P,d):f.method(P):(P.isClassProperty()||P.isClassPrivateProperty()||P.isClassAccessorProperty())&&f.field(P)})},Function(d){let{node:y}=d;y.typeParameters&&(y.typeParameters=null),y.returnType&&(y.returnType=null);let P=y.params;P.length>0&&r.isIdentifier(P[0],{name:"this"})&&P.shift()},TSModuleDeclaration(d){(0,$1e.default)(d,i)},TSInterfaceDeclaration(d){d.remove()},TSTypeAliasDeclaration(d){d.remove()},TSEnumDeclaration(d){u&&d.node.const?(0,U1e.default)(d,r):(0,V1e.default)(d,r)},TSImportEqualsDeclaration(d,y){let{id:P,moduleReference:D,isExport:N}=d.node,B,F;r.isTSExternalModuleReference(D)?(IN(d,y,`import ${P.name} = require(...);`,`import ${P.name} from '...';`," alongside Typescript's --allowSyntheticDefaultImports option"),B=r.callExpression(r.identifier("require"),[D.expression]),F="const"):(B=p(D),F="var");let j=r.variableDeclaration(F,[r.variableDeclarator(P,B)]);d.replaceWith(N?r.exportNamedDeclaration(j):j),d.scope.registerDeclaration(d)},TSExportAssignment(d,y){IN(d,y,"export = <value>;","export default <value>;"),d.replaceWith(n.statement.ast`module.exports = ${d.node.expression}`)},TSTypeAssertion(d){d.replaceWith(d.node.expression)},[`TSAsExpression${r.tsSatisfiesExpression?"|TSSatisfiesExpression":""}`](d){let{node:y}=d;do y=y.expression;while(r.isTSAsExpression(y)||r.isTSSatisfiesExpression!=null&&r.isTSSatisfiesExpression(y));d.replaceWith(y)},[e.types.tsInstantiationExpression?"TSNonNullExpression|TSInstantiationExpression":"TSNonNullExpression"](d){d.replaceWith(d.node.expression)},CallExpression(d){d.node.typeParameters=null},OptionalCallExpression(d){d.node.typeParameters=null},NewExpression(d){d.node.typeParameters=null},JSXOpeningElement(d){d.node.typeParameters=null},TaggedTemplateExpression(d){d.node.typeParameters=null}}};function p(d){return r.isTSQualifiedName(d)?r.memberExpression(p(d.left),d.right):d}function h({node:d}){d.typeAnnotation&&(d.typeAnnotation=null),r.isIdentifier(d)&&d.optional&&(d.optional=null)}function b({binding:d,programPath:y,pragmaImportName:P,pragmaFragImportName:D}){for(let B of d.referencePaths)if(!W1e(B))return!1;if(d.identifier.name!==P&&d.identifier.name!==D)return!0;let N=!1;return y.traverse({"JSXElement|JSXFragment"(B){N=!0,B.stop()}}),!N}})});var _N=E(Qp=>{"use strict";Object.defineProperty(Qp,"__esModule",{value:!0});Qp.default=void 0;var K1e=io(),QDe=Qp.default=(0,K1e.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 FN=E(q1=>{"use strict";Object.defineProperty(q1,"__esModule",{value:!0});q1.transformDynamicImport=X1e;var NN=Qt(),G1e=Pl(),BN=e=>NN.template.expression.ast`require(${e})`,H1e=(e,t)=>NN.types.callExpression(t.addHelper("interopRequireWildcard"),[BN(e)]);function X1e(e,t,r){let n=t?BN:H1e;e.replaceWith((0,G1e.buildDynamicImport)(e.node,!0,!1,s=>n(s,r)))}});var LN=E(Zp=>{"use strict";Object.defineProperty(Zp,"__esModule",{value:!0});Zp.lazyImportsHook=void 0;var kN=Qt(),Y1e=Pl(),J1e=e=>({name:"@babel/plugin-transform-modules-commonjs/lazy",version:"7.24.8",getWrapperPayload(t,r){if((0,Y1e.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?kN.template.statement.ast`
357
- function ${t}() {
358
- const data = ${r};
359
- ${t} = function(){ return data; };
360
- return data;
361
- }
362
- `:!1},wrapReference(t,r){if(r==="lazy/function")return kN.types.callExpression(t,[])}});Zp.lazyImportsHook=J1e});var RN=E(ed=>{"use strict";Object.defineProperty(ed,"__esModule",{value:!0});ed.defineCommonJSHook=z1e;ed.makeInvokers=Q1e;var V1="@babel/plugin-transform-modules-commonjs/customWrapperPlugin";function z1e(e,t){let r=e.get(V1);r||e.set(V1,r=[]),r.push(t)}function U1(e,t){if(e)for(let r of e){let n=t(r);if(n!=null)return n}}function Q1e(e){let t=e.get(V1);return{getWrapperPayload(...r){return U1(t,n=>n.getWrapperPayload==null?void 0:n.getWrapperPayload(...r))},wrapReference(...r){return U1(t,n=>n.wrapReference==null?void 0:n.wrapReference(...r))},buildRequireWrapper(...r){return U1(t,n=>n.buildRequireWrapper==null?void 0:n.buildRequireWrapper(...r))}}}});var W1=E(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});uu.default=void 0;Object.defineProperty(uu,"defineCommonJSHook",{enumerable:!0,get:function(){return $1.defineCommonJSHook}});var Z1e=io(),aa=Pl(),eve=gg(),Bn=Qt(),tve=FN(),rve=LN(),$1=RN(),nIe=uu.default=(0,Z1e.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:f,lazy:p=!1,allowCommonJSExports:h=!0,loose:b=!1}=t,d=(r=e.assumption("constantReexports"))!=null?r:b,y=(n=e.assumption("enumerableModuleMeta"))!=null?n:b,P=(s=e.assumption("noIncompleteNsImportDetection"))!=null?s:!1;if(typeof p!="boolean"&&typeof p!="function"&&(!Array.isArray(p)||!p.every(B=>typeof B=="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 D=B=>Bn.template.expression.ast`
363
- (function(){
364
- throw new Error(
365
- "The CommonJS '" + "${B}" + "' variable is not available in ES6 modules." +
366
- "Consider setting setting sourceType:script or sourceType:unambiguous in your " +
367
- "Babel config for this file.");
368
- })()
369
- `,N={ReferencedIdentifier(B){let F=B.node.name;if(F!=="module"&&F!=="exports")return;let j=B.scope.getBinding(F);this.scope.getBinding(F)!==j||B.parentPath.isObjectProperty({value:B.node})&&B.parentPath.parentPath.isObjectPattern()||B.parentPath.isAssignmentExpression({left:B.node})||B.isAssignmentExpression({left:B.node})||B.replaceWith(D(F))},UpdateExpression(B){let F=B.get("argument");if(!F.isIdentifier())return;let j=F.node.name;if(j!=="module"&&j!=="exports")return;let W=B.scope.getBinding(j);this.scope.getBinding(j)===W&&B.replaceWith(Bn.types.assignmentExpression(B.node.operator[0]+"=",F.node,D(j)))},AssignmentExpression(B){let F=B.get("left");if(F.isIdentifier()){let j=F.node.name;if(j!=="module"&&j!=="exports")return;let W=B.scope.getBinding(j);if(this.scope.getBinding(j)!==W)return;let G=B.get("right");G.replaceWith(Bn.types.sequenceExpression([G.node,D(j)]))}else if(F.isPattern()){let j=F.getOuterBindingIdentifiers(),W=Object.keys(j).find(re=>re!=="module"&&re!=="exports"?!1:this.scope.getBinding(re)===B.scope.getBinding(re));if(W){let re=B.get("right");re.replaceWith(Bn.types.sequenceExpression([re.node,D(W)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs"),p&&(0,$1.defineCommonJSHook)(this.file,(0,rve.lazyImportsHook)(p))},visitor:{["CallExpression"+(e.types.importExpression?"|ImportExpression":"")](B){if(!this.file.has("@babel/plugin-proposal-dynamic-import")||B.isCallExpression()&&!Bn.types.isImport(B.node.callee))return;let{scope:F}=B;do F.rename("require");while(F=F.parent);(0,tve.transformDynamicImport)(B,c,this.file)},Program:{exit(B,F){if(!(0,aa.isModule)(B))return;B.scope.rename("exports"),B.scope.rename("module"),B.scope.rename("require"),B.scope.rename("__filename"),B.scope.rename("__dirname"),h||((0,eve.default)(B,new Set(["module","exports"]),!1),B.traverse(N,{scope:B.scope}));let j=(0,aa.getModuleName)(this.file.opts,t);j&&(j=Bn.types.stringLiteral(j));let W=(0,$1.makeInvokers)(this.file),{meta:re,headers:G}=(0,aa.rewriteModuleStatementsAndPrepareHeader)(B,{exportName:"exports",constantReexports:d,enumerableModuleMeta:y,strict:l,strictMode:u,allowTopLevelThis:o,noInterop:c,importInterop:f,wrapReference:W.wrapReference,getWrapperPayload:W.getWrapperPayload,esNamespaceOnly:typeof F.filename=="string"&&/\.mjs$/.test(F.filename)?a:i,noIncompleteNsImportDetection:P,filename:this.file.opts.filename});for(let[R,H]of re.source){let ge=Bn.types.callExpression(Bn.types.identifier("require"),[Bn.types.stringLiteral(R)]),fe;if((0,aa.isSideEffectImport)(H)){if(p&&H.wrap==="function")throw new Error("Assertion failure");fe=Bn.types.expressionStatement(ge)}else{var V;let ne=(0,aa.wrapInterop)(B,ge,H.interop)||ge;if(H.wrap){let te=W.buildRequireWrapper(H.name,ne,H.wrap,H.referenced);if(te===!1)continue;fe=te}(V=fe)!=null||(fe=Bn.template.statement.ast`
370
- var ${H.name} = ${ne};
371
- `)}fe.loc=H.loc,G.push(fe),G.push(...(0,aa.buildNamespaceInitStatements)(re,H,d,W.wrapReference))}(0,aa.ensureStatementsHoisted)(G),B.unshiftContainer("body",G),B.get("body").forEach(R=>{G.includes(R.node)&&R.isVariableDeclaration()&&R.scope.registerDeclaration(R)})}}}}})});var G1=E(K1=>{"use strict";Object.defineProperty(K1,"__esModule",{value:!0});var MN=io(),nve=ON();_N();var sve=W1(),ive=zf();function qN(e){return e&&e.__esModule?e:{default:e}}var jN=qN(nve),ave=qN(sve),Ns=new ive.OptionValidator("@babel/preset-typescript");function ove(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=Ns.validateStringOption(s.jsxPragmaFrag,e.jsxPragmaFrag,"React.Fragment");{var a=Ns.validateBooleanOption(s.allExtensions,e.allExtensions,!1),o=Ns.validateBooleanOption(s.isTSX,e.isTSX,!1);o&&Ns.invariant(a,"isTSX:true requires allExtensions:true")}let l=Ns.validateBooleanOption(s.ignoreExtensions,e.ignoreExtensions,!1),u=Ns.validateBooleanOption(s.disallowAmbiguousJSXLike,e.disallowAmbiguousJSXLike,!1);u&&Ns.invariant(a,"disallowAmbiguousJSXLike:true requires allExtensions:true");let c=Ns.validateBooleanOption(s.optimizeConstEnums,e.optimizeConstEnums,!1),f=Ns.validateBooleanOption(s.rewriteImportExtensions,e.rewriteImportExtensions,!1),p={ignoreExtensions:l,allowNamespaces:t,disallowAmbiguousJSXLike:u,jsxPragma:r,jsxPragmaFrag:i,onlyRemoveTypeImports:n,optimizeConstEnums:c,rewriteImportExtensions:f};return p.allExtensions=a,p.isTSX=o,p}var lve=MN.declare(function({types:e}){return{name:"preset-typescript/plugin-rewrite-ts-imports",visitor:{"ImportDeclaration|ExportAllDeclaration|ExportNamedDeclaration"({node:t}){let{source:r}=t;(e.isImportDeclaration(t)?t.importKind:t.exportKind)==="value"&&r&&/[\\/]/.test(r.value)&&(r.value=r.value.replace(/(\.[mc]?)ts$/,"$1js").replace(/\.tsx$/,".js"))}}}}),uve=MN.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:f}=ove(t),p=d=>({allowDeclareFields:t.allowDeclareFields,allowNamespaces:s,disallowAmbiguousJSXLike:d,jsxPragma:o,jsxPragmaFrag:l,onlyRemoveTypeImports:u,optimizeConstEnums:c}),h=(d,y)=>[[jN.default,Object.assign({isTSX:d},p(y))]];return{plugins:f?[lve]:[],overrides:r||n?[{plugins:h(a,i)}]:[{test:/\.ts$/,plugins:h(!1,!1)},{test:/\.mts$/,sourceType:"module",plugins:h(!1,!0)},{test:/\.cts$/,sourceType:"unambiguous",plugins:[[ave.default,{allowTopLevelThis:!0}],[jN.default,p(!0)]]},{test:/\.tsx$/,plugins:h(!0,!1)}]}});K1.default=uve});var Z1=E(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.default=hve;cu.supportsESM=void 0;var UN=Ua();function J1(){let e=me("path");return J1=function(){return e},e}function $N(){let e=me("url");return $N=function(){return e},e}function z1(){let e=nf();return z1=function(){return e},e}function WN(){let e=Pi();return WN=function(){return e},e}var KN=bs(),Q1=Vi(),cve=UE();function VN(e,t,r,n,s,i,a){try{var o=e[i](a),l=o.value}catch(u){r(u);return}o.done?t(l):Promise.resolve(l).then(n,s)}function fve(e){return function(){var t=this,r=arguments;return new Promise(function(n,s){var i=e.apply(t,r);function a(l){VN(i,n,s,a,o,"next",l)}function o(l){VN(i,n,s,a,o,"throw",l)}a(void 0)})}}var pve=WN()("babel:config:loading:files:module-types");try{X1=v_()}catch{}var X1,aIe=cu.supportsESM=z1().satisfies(process.versions.node,"^12.17 || >=13.2"),H1=new Set;function Y1(e){if(H1.has(e))return pve("Auto-ignoring usage of config %o.",e),{};let t;try{H1.add(e),t=(0,KN.endHiddenCallStack)(me)(e)}finally{H1.delete(e)}{var r;return(r=t)!=null&&r.__esModule?t.default||(arguments[1]?t:void 0):t}}var dve=(0,KN.endHiddenCallStack)(function(){var e=fve(function*(r){let n=(0,$N().pathToFileURL)(r).toString();{if(!X1)throw new Q1.default(`Internal error: Native ECMAScript modules aren't supported by this platform.
372
- `,r);return(yield X1(n)).default}});function t(r){return e.apply(this,arguments)}return t}());function*hve(e,t){switch(J1().extname(e)){case".cjs":return Y1(e,arguments[2]);case".mjs":break;case".cts":return mve(e);default:try{return Y1(e,arguments[2])}catch(r){if(r.code!=="ERR_REQUIRE_ESM")throw r}}if(yield*(0,UN.isAsync)())return yield*(0,UN.waitFor)(dve(e));throw new Q1.default(t,e)}function mve(e){let t=".cts",r=!!(me.extensions[".ts"]||me.extensions[".cts"]||me.extensions[".mts"]),n;if(!r){let s={babelrc:!1,configFile:!1,sourceType:"unambiguous",sourceMaps:"inline",sourceFileName:J1().basename(e),presets:[[yve(e),Object.assign({onlyRemoveTypeImports:!0,optimizeConstEnums:!0},{allowDeclareFields:!0})]]};n=function(i,a){if(n&&a.endsWith(t))try{return i._compile((0,cve.transformFileSync)(a,Object.assign({},s,{filename:a})).code,a)}catch(o){if(!r){let l=T_();z1().lt(l.version,"7.21.4")&&console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`.")}throw o}return me.extensions[".js"](i,a)},me.extensions[t]=n}try{return Y1(e)}finally{r||(me.extensions[t]===n&&delete me.extensions[t],n=void 0)}}function yve(e){try{return G1()}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+=`
373
- If you are using Yarn Plug'n'Play, you may also need to add the following configuration to your .yarnrc.yml file:
374
-
375
- packageExtensions:
376
- "@babel/core@*":
377
- peerDependencies:
378
- "@babel/preset-typescript": "*"
379
- `),new Q1.default(r,e)}}});var t3=E(Bs=>{"use strict";Object.defineProperty(Bs,"__esModule",{value:!0});Bs.ROOT_CONFIG_FILENAMES=void 0;Bs.findConfigUpwards=Ove;Bs.findRelativeConfig=_ve;Bs.findRootConfig=Nve;Bs.loadConfig=Bve;Bs.resolveShowConfigPath=Fve;function HN(){let e=Pi();return HN=function(){return e},e}function ev(){let e=me("fs");return ev=function(){return e},e}function en(){let e=me("path");return en=function(){return e},e}function XN(){let e=Qw();return XN=function(){return e},e}function YN(){let e=Jr();return YN=function(){return e},e}var JN=Ui(),gve=eb(),zN=Vg(),bve=Z1(),Eve=Xb(),Fn=Vi(),vve=Af(),Tve=bs(),tv=HN()("babel:config:loading:files:configuration"),QN=Bs.ROOT_CONFIG_FILENAMES=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts"],Sve=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"],xve=".babelignore",Pve=(0,JN.makeWeakCache)(function*(t,r){return yield*[],{options:(0,Tve.endHiddenCallStack)(t)((0,gve.makeConfigAPI)(r)),cacheNeedsConfiguration:!r.configured()}});function*Ave(e,t){if(!ev().existsSync(e))return null;let r=yield*(0,bve.default)(e,"You appear to be using a native ECMAScript module configuration file, which is only supported when running Babel asynchronously."),n=!1;if(typeof r=="function"&&({options:r,cacheNeedsConfiguration:n}=yield*Pve(r,t)),!r||typeof r!="object"||Array.isArray(r))throw new Fn.default("Configuration should be an exported JavaScript object.",e);if(typeof r.then=="function")throw r.catch==null||r.catch(()=>{}),new Fn.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&&kve(e),Cve(r,e)}var GN=new WeakMap;function Cve(e,t){let r=GN.get(e);r||GN.set(e,r=new Map);let n=r.get(t);return n||(n={filepath:t,dirname:en().dirname(t),options:e},r.set(t,n)),n}var wve=(0,JN.makeWeakCacheSync)(e=>{let t=e.options.babel;if(typeof t>"u")return null;if(typeof t!="object"||Array.isArray(t)||t===null)throw new Fn.default(".babel property must be an object",e.filepath);return{filepath:e.filepath,dirname:e.dirname,options:t}}),Dve=(0,zN.makeStaticFileCache)((e,t)=>{let r;try{r=XN().parse(t)}catch(n){throw new Fn.default(`Error while parsing config - ${n.message}`,e)}if(!r)throw new Fn.default("No config detected",e);if(typeof r!="object")throw new Fn.default(`Config returned typeof ${typeof r}`,e);if(Array.isArray(r))throw new Fn.default("Expected config object but found array",e);return delete r.$schema,{filepath:e,dirname:en().dirname(e),options:r}}),Ive=(0,zN.makeStaticFileCache)((e,t)=>{let r=en().dirname(e),n=t.split(`
380
- `).map(s=>s.replace(/#.*$/,"").trim()).filter(s=>!!s);for(let s of n)if(s[0]==="!")throw new Fn.default("Negation of file paths is not supported.",e);return{filepath:e,dirname:en().dirname(e),ignore:n.map(s=>(0,Eve.default)(s,r))}});function Ove(e){let t=e;for(;;){for(let n of QN)if(ev().existsSync(en().join(t,n)))return t;let r=en().dirname(t);if(t===r)break;t=r}return null}function*_ve(e,t,r){let n=null,s=null,i=en().dirname(e.filepath);for(let o of e.directories){if(!n){var a;n=yield*ZN(Sve,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?wve(e.pkg):null)}if(!s){let l=en().join(o,xve);s=yield*Ive(l),s&&tv("Found ignore %o from %o.",s.filepath,i)}}return{config:n,ignore:s}}function Nve(e,t,r){return ZN(QN,e,t,r)}function*ZN(e,t,r,n,s=null){let a=(yield*YN().all(e.map(o=>e3(en().join(t,o),r,n)))).reduce((o,l)=>{if(l&&o)throw new Fn.default(`Multiple configuration files found. Please remove one:
381
- - ${en().basename(o.filepath)}
382
- - ${l.filepath}
383
- from ${t}`);return l||o},s);return a&&tv("Found configuration %o from %o.",a.filepath,t),a}function*Bve(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")?me.resolve:(a,{paths:[o]},l=me("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*e3(s,r,n);if(!i)throw new Fn.default("Config file contains no configuration data",s);return tv("Loaded config %o from %o.",e,t),i}function e3(e,t,r){switch(en().extname(e)){case".js":case".cjs":case".mjs":case".cts":return Ave(e,{envName:t,caller:r});default:return Dve(e)}}function*Fve(e){let t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){let r=en().resolve(e,t);if(!(yield*vve.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 kve(e){throw new Fn.default(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured
384
- for various types of caching, using the first param of their handler functions:
385
-
386
- module.exports = function(api) {
387
- // The API exposes the following:
388
-
389
- // Cache the returned value forever and don't call this function again.
390
- api.cache(true);
391
-
392
- // Don't cache at all. Not recommended because it will be very slow.
393
- api.cache(false);
394
-
395
- // Cached based on the value of some function. If this function returns a value different from
396
- // a previously-encountered value, the plugins will re-evaluate.
397
- var env = api.cache(() => process.env.NODE_ENV);
398
-
399
- // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for
400
- // any possible NODE_ENV value that might come up during plugin execution.
401
- var isProd = api.cache(() => process.env.NODE_ENV === "production");
402
-
403
- // .cache(fn) will perform a linear search though instances to find the matching plugin based
404
- // based on previous instantiated plugins. If you want to recreate the plugin and discard the
405
- // previous instance whenever something changes, you may use:
406
- var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");
407
-
408
- // Note, we also expose the following more-verbose versions of the above examples:
409
- api.cache.forever(); // api.cache(true)
410
- api.cache.never(); // api.cache(false)
411
- api.cache.using(fn); // api.cache(fn)
412
-
413
- // Return the value that will be cached.
414
- return { };
415
- };`,e)}});var C3=E(ad=>{"use strict";Object.defineProperty(ad,"__esModule",{value:!0});ad.moduleResolve=A3;ad.resolve=wTe;function Zn(){let e=me("assert");return Zn=function(){return e},e}function hu(){let e=Lve(me("fs"),!0);return hu=function(){return e},e}function fi(){let e=me("process");return fi=function(){return e},e}function Ce(){let e=me("url");return Ce=function(){return e},e}function nd(){let e=me("path");return nd=function(){return e},e}function sd(){let e=me("module");return sd=function(){return e},e}function h3(){let e=me("v8");return h3=function(){return e},e}function du(){let e=me("util");return du=function(){return e},e}function m3(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(m3=function(n){return n?r:t})(e)}function Lve(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=m3(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&{}.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}var Rve={}.hasOwnProperty,jve=/^([A-Z][a-z\d]*)+$/,Mve=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),br={};function rv(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}var y3=new Map,qve="__node_internal_",r3;br.ERR_INVALID_ARG_TYPE=vn("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"),Mve.has(o)?s.push(o.toLowerCase()):jve.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"} ${rv(s,"or")}`,(i.length>0||a.length>0)&&(n+=" or ")),i.length>0&&(n+=`an instance of ${rv(i,"or")}`,a.length>0&&(n+=" or ")),a.length>0&&(a.length>1?n+=`one of ${rv(a,"or")}`:(a[0].toLowerCase()!==a[0]&&(n+="an "),n+=`${a[0]}`)),n+=`. Received ${Kve(r)}`,n},TypeError);br.ERR_INVALID_MODULE_SPECIFIER=vn("ERR_INVALID_MODULE_SPECIFIER",(e,t,r=void 0)=>`Invalid module "${e}" ${t}${r?` imported from ${r}`:""}`,TypeError);br.ERR_INVALID_PACKAGE_CONFIG=vn("ERR_INVALID_PACKAGE_CONFIG",(e,t,r)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${r?`. ${r}`:""}`,Error);br.ERR_INVALID_PACKAGE_TARGET=vn("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);br.ERR_MODULE_NOT_FOUND=vn("ERR_MODULE_NOT_FOUND",(e,t,r=!1)=>`Cannot find ${r?"module":"package"} '${e}' imported from ${t}`,Error);br.ERR_NETWORK_IMPORT_DISALLOWED=vn("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error);br.ERR_PACKAGE_IMPORT_NOT_DEFINED=vn("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);br.ERR_PACKAGE_PATH_NOT_EXPORTED=vn("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);br.ERR_UNSUPPORTED_DIR_IMPORT=vn("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error);br.ERR_UNSUPPORTED_RESOLVE_REQUEST=vn("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError);br.ERR_UNKNOWN_FILE_EXTENSION=vn("ERR_UNKNOWN_FILE_EXTENSION",(e,t)=>`Unknown file extension "${e}" for ${t}`,TypeError);br.ERR_INVALID_ARG_VALUE=vn("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let n=(0,du().inspect)(t);return n.length>128&&(n=`${n.slice(0,128)}...`),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`},TypeError);function vn(e,t,r){return y3.set(e,t),Uve(r,e)}function Uve(e,t){return r;function r(...n){let s=Error.stackTraceLimit;av()&&(Error.stackTraceLimit=0);let i=new e;av()&&(Error.stackTraceLimit=s);let a=Wve(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}}),$ve(i),i.code=t,i}}function av(){try{if(h3().startupSnapshot.isBuildingSnapshot())return!1}catch{}let e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return e===void 0?Object.isExtensible(Error):Rve.call(e,"writable")&&e.writable!==void 0?e.writable:e.set!==void 0}function Vve(e){let t=qve+e.name;return Object.defineProperty(e,"name",{value:t}),e}var $ve=Vve(function(e){let t=av();return t&&(r3=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=r3),e});function Wve(e,t,r){let n=y3.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(du().format,null,t))}function Kve(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,du().inspect)(e,{depth:-1})}`;let t=(0,du().inspect)(e,{colors:!1});return t.length>28&&(t=`${t.slice(0,25)}...`),`type ${typeof e} (${t})`}var fu={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:Gve}=br,n3=new Map;function g3(e,{base:t,specifier:r}){let n=n3.get(e);if(n)return n;let s;try{s=hu().default.readFileSync(nd().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 Gve(e,(t?`"${r}" from `:"")+(0,Ce().fileURLToPath)(t||r),l.message);throw u.cause=l,u}i.exists=!0,fu.call(a,"name")&&typeof a.name=="string"&&(i.name=a.name),fu.call(a,"main")&&typeof a.main=="string"&&(i.main=a.main),fu.call(a,"exports")&&(i.exports=a.exports),fu.call(a,"imports")&&(i.imports=a.imports),fu.call(a,"type")&&(a.type==="commonjs"||a.type==="module")&&(i.type=a.type)}return n3.set(e,i),i}function ov(e){let t=new URL("package.json",e);for(;!t.pathname.endsWith("node_modules/package.json");){let s=g3((0,Ce().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,Ce().fileURLToPath)(t),exists:!1,type:"none"}}function s3(e){return ov(e).type}var{ERR_UNKNOWN_FILE_EXTENSION:Hve}=br,Xve={}.hasOwnProperty,Yve={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};function Jve(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":e==="application/json"?"json":null}var i3={__proto__:null,"data:":zve,"file:":Zve,"http:":a3,"https:":a3,"node:"(){return"builtin"}};function zve(e){let{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return Jve(t)}function Qve(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 Zve(e,t,r){let n=Qve(e);if(n===".js"){let a=s3(e);return a!=="none"?a:"commonjs"}if(n===""){let a=s3(e);return a==="none"||a==="commonjs"?"commonjs":"module"}let s=Yve[n];if(s)return s;if(r)return;let i=(0,Ce().fileURLToPath)(e);throw new Hve(n,i)}function a3(){}function b3(e,t){let r=e.protocol;return Xve.call(i3,r)&&i3[r](e,t,!0)||null}var{ERR_INVALID_ARG_VALUE:eTe}=br,E3=Object.freeze(["node","import"]),tTe=new Set(E3);function rTe(){return E3}function nTe(){return tTe}function sTe(e){if(e!==void 0&&e!==rTe()){if(!Array.isArray(e))throw new eTe("conditions",e,"expected an array");return new Set(e)}return nTe()}var td=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:nv,ERR_INVALID_MODULE_SPECIFIER:id,ERR_INVALID_PACKAGE_CONFIG:v3,ERR_INVALID_PACKAGE_TARGET:iTe,ERR_MODULE_NOT_FOUND:lv,ERR_PACKAGE_IMPORT_NOT_DEFINED:aTe,ERR_PACKAGE_PATH_NOT_EXPORTED:oTe,ERR_UNSUPPORTED_DIR_IMPORT:lTe,ERR_UNSUPPORTED_RESOLVE_REQUEST:o3}=br,T3={}.hasOwnProperty,l3=/(^|\\|\/)((\.|%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,u3=/(^|\\|\/)((\.|%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,uTe=/^\.|%|\\/,rd=/\*/g,cTe=/%2f|%5c/i,c3=new Set,fTe=/[/\\]{2}/;function f3(e,t,r,n,s,i,a){if(fi().noDeprecation)return;let o=(0,Ce().fileURLToPath)(n),l=fTe.exec(a?e:t)!==null;fi().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,Ce().fileURLToPath)(i)}`:""}.`,"DeprecationWarning","DEP0166")}function p3(e,t,r,n){if(fi().noDeprecation||b3(e,{parentURL:r.href})!=="module")return;let i=(0,Ce().fileURLToPath)(e.href),a=(0,Ce().fileURLToPath)(new(Ce()).URL(".",t)),o=(0,Ce().fileURLToPath)(r);n?nd().resolve(a,n)!==i&&fi().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}.
416
- Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):fi().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}.
417
- Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function S3(e){try{return(0,hu().statSync)(e)}catch{}}function sv(e){let t=(0,hu().statSync)(e,{throwIfNoEntry:!1}),r=t?t.isFile():void 0;return r??!1}function pTe(e,t,r){let n;if(t.main!==void 0){if(n=new(Ce()).URL(t.main,e),sv(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(Ce()).URL(a[o],e),!sv(n));)n=void 0;if(n)return p3(n,e,r,t.main),n}let s=["./index.js","./index.json","./index.node"],i=-1;for(;++i<s.length&&(n=new(Ce()).URL(s[i],e),!sv(n));)n=void 0;if(n)return p3(n,e,r,t.main),n;throw new lv((0,Ce().fileURLToPath)(new(Ce()).URL(".",e)),(0,Ce().fileURLToPath)(r))}function dTe(e,t,r){if(cTe.exec(e.pathname)!==null)throw new id(e.pathname,'must not include encoded "/" or "\\" characters',(0,Ce().fileURLToPath)(t));let n;try{n=(0,Ce().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=S3(n.endsWith("/")?n.slice(-1):n);if(s&&s.isDirectory()){let i=new lTe(n,(0,Ce().fileURLToPath)(t));throw i.url=String(e),i}if(!s||!s.isFile()){let i=new lv(n||e.pathname,t&&(0,Ce().fileURLToPath)(t),!0);throw i.url=String(e),i}if(!r){let i=(0,hu().realpathSync)(n),{search:a,hash:o}=e;e=(0,Ce().pathToFileURL)(i+(n.endsWith(nd().sep)?"/":"")),e.search=a,e.hash=o}return e}function hTe(e,t,r){return new aTe(e,t&&(0,Ce().fileURLToPath)(new(Ce()).URL(".",t)),(0,Ce().fileURLToPath)(r))}function iv(e,t,r){return new oTe((0,Ce().fileURLToPath)(new(Ce()).URL(".",t)),e,r&&(0,Ce().fileURLToPath)(r))}function mTe(e,t,r,n,s){let i=`request is not a valid match in pattern "${t}" for the "${n?"imports":"exports"}" resolution of ${(0,Ce().fileURLToPath)(r)}`;throw new id(e,i,s&&(0,Ce().fileURLToPath)(s))}function pu(e,t,r,n,s){return t=typeof t=="object"&&t!==null?JSON.stringify(t,null,""):`${t}`,new iTe((0,Ce().fileURLToPath)(new(Ce()).URL(".",r)),e,t,n,s&&(0,Ce().fileURLToPath)(s))}function yTe(e,t,r,n,s,i,a,o,l){if(t!==""&&!i&&e[e.length-1]!=="/")throw pu(r,e,n,a,s);if(!e.startsWith("./")){if(a&&!e.startsWith("../")&&!e.startsWith("/")){let p=!1;try{new(Ce()).URL(e),p=!0}catch{}if(!p){let h=i?td.call(rd,e,()=>t):e+t;return P3(h,n,l)}}throw pu(r,e,n,a,s)}if(l3.exec(e.slice(2))!==null)if(u3.exec(e.slice(2))===null){if(!o){let p=i?r.replace("*",()=>t):r+t,h=i?td.call(rd,e,()=>t):e;f3(h,p,r,n,a,s,!0)}}else throw pu(r,e,n,a,s);let u=new(Ce()).URL(e,n),c=u.pathname,f=new(Ce()).URL(".",n).pathname;if(!c.startsWith(f))throw pu(r,e,n,a,s);if(t==="")return u;if(l3.exec(t)!==null){let p=i?r.replace("*",()=>t):r+t;if(u3.exec(t)===null){if(!o){let h=i?td.call(rd,e,()=>t):e;f3(h,p,r,n,a,s,!1)}}else mTe(p,r,n,a,s)}return i?new(Ce()).URL(td.call(rd,u.href,()=>t)):new(Ce()).URL(t,u)}function gTe(e){let t=Number(e);return`${t}`!==e?!1:t>=0&&t<4294967295}function yo(e,t,r,n,s,i,a,o,l){if(typeof t=="string")return yTe(t,r,n,e,s,i,a,o,l);if(Array.isArray(t)){let u=t;if(u.length===0)return null;let c,f=-1;for(;++f<u.length;){let p=u[f],h;try{h=yo(e,p,r,n,s,i,a,o,l)}catch(b){let d=b;if(c=d,d.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw b}if(h!==void 0){if(h===null){c=null;continue}return h}}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 f=u[c];if(gTe(f))throw new v3((0,Ce().fileURLToPath)(e),s,'"exports" cannot contain numeric property keys.')}for(c=-1;++c<u.length;){let f=u[c];if(f==="default"||l&&l.has(f)){let p=t[f],h=yo(e,p,r,n,s,i,a,o,l);if(h===void 0)continue;return h}}return null}if(t===null)return null;throw pu(n,t,e,a,s)}function bTe(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 v3((0,Ce().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 ETe(e,t,r){if(fi().noDeprecation)return;let n=(0,Ce().fileURLToPath)(t);c3.has(n+"|"+e)||(c3.add(n+"|"+e),fi().emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${n}${r?` imported from ${(0,Ce().fileURLToPath)(r)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function d3(e,t,r,n,s){let i=r.exports;if(bTe(i,e,n)&&(i={".":i}),T3.call(i,t)&&!t.includes("*")&&!t.endsWith("/")){let c=i[t],f=yo(e,c,"",t,n,!1,!1,!1,s);if(f==null)throw iv(t,e,n);return f}let a="",o="",l=Object.getOwnPropertyNames(i),u=-1;for(;++u<l.length;){let c=l[u],f=c.indexOf("*");if(f!==-1&&t.startsWith(c.slice(0,f))){t.endsWith("/")&&ETe(t,e,n);let p=c.slice(f+1);t.length>=c.length&&t.endsWith(p)&&x3(a,c)===1&&c.lastIndexOf("*")===f&&(a=c,o=t.slice(f,t.length-p.length))}}if(a){let c=i[a],f=yo(e,c,o,a,n,!0,!1,t.endsWith("/"),s);if(f==null)throw iv(t,e,n);return f}throw iv(t,e,n)}function x3(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 vTe(e,t,r){if(e==="#"||e.startsWith("#/")||e.endsWith("/")){let i="is not a valid internal imports specifier name";throw new id(e,i,(0,Ce().fileURLToPath)(t))}let n,s=ov(t);if(s.exists){n=(0,Ce().pathToFileURL)(s.pjsonPath);let i=s.imports;if(i)if(T3.call(i,e)&&!e.includes("*")){let a=yo(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],f=c.indexOf("*");if(f!==-1&&e.startsWith(c.slice(0,-1))){let p=c.slice(f+1);e.length>=c.length&&e.endsWith(p)&&x3(a,c)===1&&c.lastIndexOf("*")===f&&(a=c,o=e.slice(f,e.length-p.length))}}if(a){let c=i[a],f=yo(n,c,o,a,t,!0,!0,!1,r);if(f!=null)return f}}}throw hTe(e,n,t)}function TTe(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(uTe.exec(i)!==null&&(n=!1),!n)throw new id(e,"is not a valid package name",(0,Ce().fileURLToPath)(t));let a="."+(r===-1?"":e.slice(r));return{packageName:i,packageSubpath:a,isScoped:s}}function P3(e,t,r){if(sd().builtinModules.includes(e))return new(Ce()).URL("node:"+e);let{packageName:n,packageSubpath:s,isScoped:i}=TTe(e,t),a=ov(t);if(a.exists){let c=(0,Ce().pathToFileURL)(a.pjsonPath);if(a.name===n&&a.exports!==void 0&&a.exports!==null)return d3(c,s,a,t,r)}let o=new(Ce()).URL("./node_modules/"+n+"/package.json",t),l=(0,Ce().fileURLToPath)(o),u;do{let c=S3(l.slice(0,-13));if(!c||!c.isDirectory()){u=l,o=new(Ce()).URL((i?"../../../../node_modules/":"../../../node_modules/")+n+"/package.json",o),l=(0,Ce().fileURLToPath)(o);continue}let f=g3(l,{base:t,specifier:e});return f.exports!==void 0&&f.exports!==null?d3(o,s,f,t,r):s==="."?pTe(o,f,t):new(Ce()).URL(s,o)}while(l.length!==u.length);throw new lv(n,(0,Ce().fileURLToPath)(t),!1)}function STe(e){return e[0]==="."&&(e.length===1||e[1]==="/"||e[1]==="."&&(e.length===2||e[2]==="/"))}function uv(e){return e===""?!1:e[0]==="/"?!0:STe(e)}function A3(e,t,r,n){let s=t.protocol,a=s==="data:"||s==="http:"||s==="https:",o;if(uv(e))try{o=new(Ce()).URL(e,t)}catch(l){let u=new o3(e,t);throw u.cause=l,u}else if(s==="file:"&&e[0]==="#")o=vTe(e,t,r);else try{o=new(Ce()).URL(e)}catch(l){if(a&&!sd().builtinModules.includes(e)){let u=new o3(e,t);throw u.cause=l,u}o=P3(e,t,r)}return Zn()(o!==void 0,"expected to be defined"),o.protocol!=="file:"?o:dTe(o,t,n)}function xTe(e,t,r){if(r){let n=r.protocol;if(n==="http:"||n==="https:"){if(uv(e)){let s=t?.protocol;if(s&&s!=="https:"&&s!=="http:")throw new nv(e,r,"remote imports cannot import from a local location.");return{url:t?.href||""}}throw sd().builtinModules.includes(e)?new nv(e,r,"remote imports cannot import from a local location."):new nv(e,r,"only relative and absolute specifiers are supported.")}}}function PTe(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 ATe(e){if(e!==void 0&&typeof e!="string"&&!PTe(e))throw new br.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],e)}function CTe(e,t={}){let{parentURL:r}=t;Zn()(r!==void 0,"expected `parentURL` to be defined"),ATe(r);let n;if(r)try{n=new(Ce()).URL(r)}catch{}let s,i;try{if(s=uv(e)?new(Ce()).URL(e,n):new(Ce()).URL(e),i=s.protocol,i==="data:")return{url:s.href,format:null}}catch{}let a=xTe(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=sTe(t.conditions),l=A3(e,new(Ce()).URL(r),o,!1);return{url:l.href,format:b3(l,{parentURL:r})}}function wTe(e,t){if(!t)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return CTe(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 k3=E(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.loadPlugin=MTe;pi.loadPreset=qTe;pi.resolvePreset=pi.resolvePlugin=void 0;function D3(){let e=Pi();return D3=function(){return e},e}function pv(){let e=me("path");return pv=function(){return e},e}var dv=Ua(),I3=Z1();function fv(){let e=me("url");return fv=function(){return e},e}var DTe=C3();function O3(){let e=me("fs");return O3=function(){return e},e}var _3=D3()("babel:config:loading:files:plugins"),ITe=/^module:/,OTe=/^(?!@|module:|[^/]+\/|babel-plugin-)/,_Te=/^(?!@|module:|[^/]+\/|babel-preset-)/,NTe=/^(@babel\/)(?!plugin-|[^/]+\/)/,BTe=/^(@babel\/)(?!preset-|[^/]+\/)/,FTe=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/,kTe=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/,LTe=/^(@(?!babel$)[^/]+)$/,RTe=pi.resolvePlugin=B3.bind(null,"plugin"),jTe=pi.resolvePreset=B3.bind(null,"preset");function*MTe(e,t){let r=RTe(e,t,yield*(0,dv.isAsync)()),n=yield*F3("plugin",r);return _3("Loaded plugin %o from %o.",e,t),{filepath:r,value:n}}function*qTe(e,t){let r=jTe(e,t,yield*(0,dv.isAsync)()),n=yield*F3("preset",r);return _3("Loaded preset %o from %o.",e,t),{filepath:r,value:n}}function cv(e,t){if(pv().isAbsolute(t))return t;let r=e==="preset";return t.replace(r?_Te:OTe,`babel-${e}-`).replace(r?BTe:NTe,`$1${e}-`).replace(r?kTe:FTe,`$1babel-${e}-`).replace(LTe,`$1/babel-${e}`).replace(ITe,"")}function*N3(e,t){let r=cv(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+=`
418
- - If you want to resolve "${t}", use "module:${t}"`),(yield cv(e,"@babel/"+t)).error||(n.message+=`
419
- - Did you mean "@babel/${t}"?`);let i=e==="preset"?"plugin":"preset";if((yield cv(i,t)).error||(n.message+=`
420
- - Did you accidentally pass a ${i} as a ${e}?`),e==="plugin"){let a=r.replace("-proposal-","-transform-");a!==r&&!(yield a).error&&(n.message+=`
421
- - Did you mean "${a}"?`)}throw n.message+=`
422
-
423
- Make sure that all the Babel plugins and presets you are using
424
- are defined as dependencies or devDependencies in your package.json
425
- file. It's possible that the missing plugin is loaded by a preset
426
- you are using that forgot to add the plugin to its dependencies: you
427
- can workaround this problem by explicitly adding the missing package
428
- to your top-level package.json.
429
- `,n}function UTe(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")?me.resolve:(r,{paths:[n]},s=me("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:me.resolve(e)}}catch(r){return{error:r,value:null}}}function VTe(e,t){try{return{error:null,value:(0,DTe.resolve)(e,t)}}catch(r){return{error:r,value:null}}}function w3(e,t,r){let n=N3(e,t),s=n.next();for(;!s.done;)s=n.next(UTe(s.value,r));return s.value}function $Te(e,t,r){let n=(0,fv().pathToFileURL)(pv().join(r,"./babel-virtual-resolve-base.js")).href,s=N3(e,t),i=s.next();for(;!i.done;)i=s.next(VTe(i.value,n));return(0,fv().fileURLToPath)(i.value)}function B3(e,t,r,n){if(!I3.supportsESM||!n)return w3(e,t,r);try{let s=$Te(e,t,r);if(!(0,O3().existsSync)(s))throw Object.assign(new Error(`Could not resolve "${t}" in file ${r}.`),{type:"MODULE_NOT_FOUND"});return s}catch(s){try{return w3(e,t,r)}catch(i){throw s.type==="MODULE_NOT_FOUND"?s:i.type==="MODULE_NOT_FOUND"?i:s}}}od=new Set;var od;function*F3(e,t){if(!(yield*(0,dv.isAsync)())&&od.has(t))throw new Error(`Reentrant ${e} detected trying to load "${t}". 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 od.add(t),yield*(0,I3.default)(t,`You appear to be using a native ECMAScript module ${e}, which is only supported when running Babel asynchronously.`,!0)}catch(r){throw r.message=`[BABEL]: ${r.message} (While processing: ${t})`,r}finally{od.delete(t)}}});var Vl=E(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});Object.defineProperty(tn,"ROOT_CONFIG_FILENAMES",{enumerable:!0,get:function(){return go.ROOT_CONFIG_FILENAMES}});Object.defineProperty(tn,"findConfigUpwards",{enumerable:!0,get:function(){return go.findConfigUpwards}});Object.defineProperty(tn,"findPackageData",{enumerable:!0,get:function(){return WTe.findPackageData}});Object.defineProperty(tn,"findRelativeConfig",{enumerable:!0,get:function(){return go.findRelativeConfig}});Object.defineProperty(tn,"findRootConfig",{enumerable:!0,get:function(){return go.findRootConfig}});Object.defineProperty(tn,"loadConfig",{enumerable:!0,get:function(){return go.loadConfig}});Object.defineProperty(tn,"loadPlugin",{enumerable:!0,get:function(){return ld.loadPlugin}});Object.defineProperty(tn,"loadPreset",{enumerable:!0,get:function(){return ld.loadPreset}});Object.defineProperty(tn,"resolvePlugin",{enumerable:!0,get:function(){return ld.resolvePlugin}});Object.defineProperty(tn,"resolvePreset",{enumerable:!0,get:function(){return ld.resolvePreset}});Object.defineProperty(tn,"resolveShowConfigPath",{enumerable:!0,get:function(){return go.resolveShowConfigPath}});var WTe=Uw(),go=t3(),ld=k3()});var R3=E(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.transform=void 0;bo.transformAsync=XTe;bo.transformSync=HTe;function L3(){let e=Jr();return L3=function(){return e},e}var KTe=so(),GTe=Op(),ud=bs(),cd=L3()(function*(t,r){let n=yield*(0,KTe.default)(r);return n===null?null:yield*(0,GTe.run)(n,t)}),mIe=bo.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,ud.beginHiddenCallStack)(cd.sync)(t,s);(0,ud.beginHiddenCallStack)(cd.errback)(t,s,i)};function HTe(...e){return(0,ud.beginHiddenCallStack)(cd.sync)(...e)}function XTe(...e){return(0,ud.beginHiddenCallStack)(cd.async)(...e)}});var M3=E(Eo=>{"use strict";Object.defineProperty(Eo,"__esModule",{value:!0});Eo.transformFromAst=void 0;Eo.transformFromAstAsync=QTe;Eo.transformFromAstSync=zTe;function j3(){let e=Jr();return j3=function(){return e},e}var YTe=so(),JTe=Op(),fd=bs(),pd=j3()(function*(e,t,r){let n=yield*(0,YTe.default)(r);if(n===null)return null;if(!e)throw new Error("No AST given");return yield*(0,JTe.run)(n,t,e)}),gIe=Eo.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,fd.beginHiddenCallStack)(pd.sync)(t,r,i);(0,fd.beginHiddenCallStack)(pd.errback)(t,r,i,a)};function zTe(...e){return(0,fd.beginHiddenCallStack)(pd.sync)(...e)}function QTe(...e){return(0,fd.beginHiddenCallStack)(pd.async)(...e)}});var U3=E(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.parse=void 0;vo.parseAsync=nSe;vo.parseSync=rSe;function q3(){let e=Jr();return q3=function(){return e},e}var ZTe=so(),eSe=CE(),tSe=TE(),dd=bs(),hd=q3()(function*(t,r){let n=yield*(0,ZTe.default)(r);return n===null?null:yield*(0,eSe.default)(n.passes,(0,tSe.default)(n),t)}),EIe=vo.parse=function(t,r,n){if(typeof r=="function"&&(n=r,r=void 0),n===void 0)return(0,dd.beginHiddenCallStack)(hd.sync)(t,r);(0,dd.beginHiddenCallStack)(hd.errback)(t,r,n)};function rSe(...e){return(0,dd.beginHiddenCallStack)(hd.sync)(...e)}function nSe(...e){return(0,dd.beginHiddenCallStack)(hd.async)(...e)}});var Qt=E(Qe=>{"use strict";Object.defineProperty(Qe,"__esModule",{value:!0});Qe.DEFAULT_EXTENSIONS=void 0;Object.defineProperty(Qe,"File",{enumerable:!0,get:function(){return sSe.default}});Object.defineProperty(Qe,"buildExternalHelpers",{enumerable:!0,get:function(){return iSe.default}});Object.defineProperty(Qe,"createConfigItem",{enumerable:!0,get:function(){return es.createConfigItem}});Object.defineProperty(Qe,"createConfigItemAsync",{enumerable:!0,get:function(){return es.createConfigItemAsync}});Object.defineProperty(Qe,"createConfigItemSync",{enumerable:!0,get:function(){return es.createConfigItemSync}});Object.defineProperty(Qe,"getEnv",{enumerable:!0,get:function(){return aSe.getEnv}});Object.defineProperty(Qe,"loadOptions",{enumerable:!0,get:function(){return es.loadOptions}});Object.defineProperty(Qe,"loadOptionsAsync",{enumerable:!0,get:function(){return es.loadOptionsAsync}});Object.defineProperty(Qe,"loadOptionsSync",{enumerable:!0,get:function(){return es.loadOptionsSync}});Object.defineProperty(Qe,"loadPartialConfig",{enumerable:!0,get:function(){return es.loadPartialConfig}});Object.defineProperty(Qe,"loadPartialConfigAsync",{enumerable:!0,get:function(){return es.loadPartialConfigAsync}});Object.defineProperty(Qe,"loadPartialConfigSync",{enumerable:!0,get:function(){return es.loadPartialConfigSync}});Object.defineProperty(Qe,"parse",{enumerable:!0,get:function(){return gv.parse}});Object.defineProperty(Qe,"parseAsync",{enumerable:!0,get:function(){return gv.parseAsync}});Object.defineProperty(Qe,"parseSync",{enumerable:!0,get:function(){return gv.parseSync}});Object.defineProperty(Qe,"resolvePlugin",{enumerable:!0,get:function(){return V3.resolvePlugin}});Object.defineProperty(Qe,"resolvePreset",{enumerable:!0,get:function(){return V3.resolvePreset}});Object.defineProperty(Qe,"template",{enumerable:!0,get:function(){return G3().default}});Object.defineProperty(Qe,"tokTypes",{enumerable:!0,get:function(){return W3().tokTypes}});Object.defineProperty(Qe,"transform",{enumerable:!0,get:function(){return hv.transform}});Object.defineProperty(Qe,"transformAsync",{enumerable:!0,get:function(){return hv.transformAsync}});Object.defineProperty(Qe,"transformFile",{enumerable:!0,get:function(){return mv.transformFile}});Object.defineProperty(Qe,"transformFileAsync",{enumerable:!0,get:function(){return mv.transformFileAsync}});Object.defineProperty(Qe,"transformFileSync",{enumerable:!0,get:function(){return mv.transformFileSync}});Object.defineProperty(Qe,"transformFromAst",{enumerable:!0,get:function(){return yv.transformFromAst}});Object.defineProperty(Qe,"transformFromAstAsync",{enumerable:!0,get:function(){return yv.transformFromAstAsync}});Object.defineProperty(Qe,"transformFromAstSync",{enumerable:!0,get:function(){return yv.transformFromAstSync}});Object.defineProperty(Qe,"transformSync",{enumerable:!0,get:function(){return hv.transformSync}});Object.defineProperty(Qe,"traverse",{enumerable:!0,get:function(){return K3().default}});Qe.version=Qe.types=void 0;var sSe=wg(),iSe=hw(),V3=Vl(),aSe=uE();function $3(){let e=Be();return $3=function(){return e},e}Object.defineProperty(Qe,"types",{enumerable:!0,get:function(){return $3()}});function W3(){let e=Jo();return W3=function(){return e},e}function K3(){let e=rr();return K3=function(){return e},e}function G3(){let e=nl();return G3=function(){return e},e}var es=so(),hv=R3(),mv=UE(),yv=M3(),gv=U3(),TIe=Qt(),SIe=Qe.version="7.25.2",xIe=Qe.DEFAULT_EXTENSIONS=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);Qe.OptionManager=class{init(t){return(0,es.loadOptionsSync)(t)}},Qe.Plugin=function(t){throw new Error(`The (${t}) Babel 5 plugin is being run with an unsupported Babel version.`)}});import{existsSync as oa,readFileSync as cSe}from"node:fs";import{access as fSe,lstat as pSe,readFile as dSe}from"node:fs/promises";import{extname as hSe,join as di}from"node:path";var H3=yd(Qt(),1),X3=yd(W1(),1),Y3=yd(G1(),1);import{defineConfig as oSe,defineConsoleConfig as lSe,defineDevConfig as uSe}from"@junobuild/config";var J3=({id:e,extension:t})=>{delete me.cache[e];let r=me("module"),n=r._load;try{return me.extensions[t]=(s,i)=>{let a=(0,H3.transformFileSync)(i,{presets:[Y3.default],plugins:[X3.default]}).code;s._compile(a,i)},r._load=function(s){return s==="@junobuild/config"?{defineConfig:i=>oSe(i),defineDevConfig:i=>uSe(i),defineConsoleConfig:i=>lSe(i)}:n.apply(this,arguments)},me(e)}finally{me.extensions[t]=void 0,r._load=n}};var BIe=async e=>{try{let{configPath:t}=Q3(e);return await fSe(t),(await pSe(t)).isFile()}catch(t){if(t instanceof Error&&"code"in t&&t.code==="ENOENT")return!1;throw t}},bv=e=>di(process.cwd(),`${e}.ts`),mSe=e=>di(process.cwd(),`${e}.js`),z3=e=>di(process.cwd(),`${e}.mjs`),Q3=({filename:e})=>{let t=bv(e);if(oa(t))return{configPath:t,configType:"ts"};let r=mSe(e);if(oa(r))return{configPath:r,configType:"js"};let n=z3(e);if(oa(n))return{configPath:n,configType:"js"};let s=di(process.cwd(),`${e}.cjs`);if(oa(s))return{configPath:s,configType:"js"};let i=di(process.cwd(),`${e.replace(".config","")}.json`);return oa(i)?{configPath:i,configType:"json"}:{configPath:di(process.cwd(),`${e}.json`),configType:"json"}},FIe=({filename:e})=>{let t=di(process.cwd(),"tsconfig.json");if(oa(t))return{configPath:bv(e),configType:"ts"};try{let r=di(process.cwd(),"package.json");if(oa(r)){let n=JSON.parse(cSe(r,"utf8"));if("typescript"in(n.dependencies??{})||"typescript"in(n.devDependencies??{}))return{configPath:bv(e),configType:"ts"};if(n.type==="module")return{configPath:z3(e),configType:"js"}}}catch{}},kIe=async({config:e,...t})=>{let{configPath:r,configType:n}=Q3({...t});switch(n){case"ts":case"js":{let{default:s}=J3({id:r,extension:hSe(r)});return e(s)}default:{let s=await dSe(r);return JSON.parse(s.toString("utf-8"))}}};export{FIe as detectJunoConfigType,BIe as junoConfigExist,Q3 as junoConfigFile,kIe as readJunoConfig};
3
+ var f=(n=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(n,{get:(o,e)=>(typeof require<"u"?require:o)[e]}):n)(function(n){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+n+'" is not supported')});import{existsSync as c,readFileSync as F}from"node:fs";import{access as T,lstat as h,readFile as x}from"node:fs/promises";import{extname as O,join as r}from"node:path";import{transformFileSync as j}from"@babel/core";import*as u from"@babel/plugin-transform-modules-commonjs";import*as a from"@babel/preset-typescript";import{defineConfig as m,defineConsoleConfig as y,defineDevConfig as J}from"@junobuild/config";var d=({id:n,extension:o})=>{delete f.cache[n];let e=f("module"),t=e._load;try{return f.extensions[o]=(i,s)=>{let l=j(s,{presets:[a.default],plugins:[u.default]}).code;i._compile(l,s)},e._load=function(i){return i==="@junobuild/config"?{defineConfig:s=>m(s),defineDevConfig:s=>J(s),defineConsoleConfig:s=>y(s)}:t.apply(this,arguments)},f(n)}finally{f.extensions[o]=void 0,e._load=t}};var E=async n=>{try{let{configPath:o}=C(n);return await T(o),(await h(o)).isFile()}catch(o){if(o instanceof Error&&"code"in o&&o.code==="ENOENT")return!1;throw o}},g=n=>r(process.cwd(),`${n}.ts`),w=n=>r(process.cwd(),`${n}.js`),p=n=>r(process.cwd(),`${n}.mjs`),C=({filename:n})=>{let o=g(n);if(c(o))return{configPath:o,configType:"ts"};let e=w(n);if(c(e))return{configPath:e,configType:"js"};let t=p(n);if(c(t))return{configPath:t,configType:"js"};let i=r(process.cwd(),`${n}.cjs`);if(c(i))return{configPath:i,configType:"js"};let s=r(process.cwd(),`${n.replace(".config","")}.json`);return c(s)?{configPath:s,configType:"json"}:{configPath:r(process.cwd(),`${n}.json`),configType:"json"}},_=({filename:n})=>{let o=r(process.cwd(),"tsconfig.json");if(c(o))return{configPath:g(n),configType:"ts"};try{let e=r(process.cwd(),"package.json");if(c(e)){let t=JSON.parse(F(e,"utf8"));if("typescript"in(t.dependencies??{})||"typescript"in(t.devDependencies??{}))return{configPath:g(n),configType:"ts"};if(t.type==="module")return{configPath:p(n),configType:"js"}}}catch{}},$=async({config:n,...o})=>{let{configPath:e,configType:t}=C({...o});switch(t){case"ts":case"js":{let{default:i}=d({id:e,extension:O(e)});return n(i)}default:{let i=await x(e);return JSON.parse(i.toString("utf-8"))}}};export{_ as detectJunoConfigType,E as junoConfigExist,C as junoConfigFile,$ as readJunoConfig};
430
4
  //# sourceMappingURL=index.mjs.map